Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: 65535 bytes...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 754 of 843
Post > Topic >>

Re: 65535 bytes method code limit?

by Florian Weimer <fw@[EMAIL PROTECTED] > Mar 2, 2007 at 01:45 PM

* aloha kakuikanu:

> I'm getting:
>
> "The code of method mTokens() is exceeding the 65535 bytes limit"
>
> The method is antlr generated, so I struggle to find any workaround.
> Perhaps I'm missing some magic JVM parameter setting?

Anything that compiles to class files in a straightforward way will
hit this limit, as Chris explained.

There are basically two workarounds: Use a compiler that synthesizes
additional cl***** to work around the limit (I don't know if one
exists), or a compiler that does not compile to class files, such as
an earlier GCJ version.  The latter approach might work if your
intention is to get the code running.  (Nowadays, GCJ uses class files
as well.)
 




 5 Posts in Topic:
65535 bytes method code limit?
"aloha.kakuikanu&quo  2007-03-01 13:24:13 
Re: 65535 bytes method code limit?
"Chris Uppal" &  2007-03-01 22:04:29 
Re: 65535 bytes method code limit?
Florian Weimer <fw@[EM  2007-03-02 13:45:31 
Re: 65535 bytes method code limit?
Roedy Green <see_websi  2007-05-25 08:35:05 
Re: 65535 bytes method code limit?
glen herrmannsfeldt <g  2007-05-31 13:48:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 15:14:29 CST 2008.