<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I wrote an extension to Soot. Now, when I try to compile one of the Dacapo benchmarks (for e.g, Avrora) with my extended version of soot, I run into the below error.<br>
</p>
<p><br>
</p>
<p>jasmin:257871: Jasmin: exception - <java.lang.RuntimeException> PC great than<br>
65535, the token is label868 : 467999</p>
<p><br>
</p>
<p>It seems the exception is being thrown when writing out one of my own classes that I wrote as an exception to soot.</p>
<p><br>
</p>
<p>From a similar question, here: <a id="LPlnk158385" href="https://mailman.cs.mcgill.ca/pipermail/soot-list/2007-February/001031.html">
https://mailman.cs.mcgill.ca/pipermail/soot-list/2007-February/001031.html</a> </p>
<p><br>
</p>
<p>It seems the error comes from a method exceeding the 64K bytecode size. However, as I understand it, this might only be true for really long methods? The longest method in the class in question is only 10 lines long.</p>
<p><br>
</p>
<p>It should also be noted that I do NOT run into this error when compiling own of my own test programs (which are pretty small ~ 200 lines of code) with the Soot extension.</p>
<p><br>
</p>
<p>Could anyone give me a pointer on how to go about debugging this? I see the error is being thrown at the jas.CodeAttributeDecoder.decode method. Would it help if I modified the source at CodeAttr to print out the PC value it is getting at line 142?</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Naveen <br>
</p>
</div>
</body>
</html>