"Code too large" error
843810Jun 26 2006 — edited Jul 4 2006Dear All,
When I'm using one file which is generated by some code generation tool then javac is giving following error:
"code too large".
This code contains definition of 2 dimensional static array. This array is initialized with near about 2700 lines. while I use javac, it gives this error. If I delete some initialization lines then it get compiled.
The .class file generated after compilation is of near about 200KB.
I'm not able to find out, what's the issue.
Please help.
thanks
sushil
Dear All,
I'm using the J2SDK1.4.2_10.
I checked lots of sites, but unable to find out about the limit of number of rows java put for Array initialization.
waiting for reply.
thanks
Message was edited by:
Sushil_Naresh