[EMAIL PROTECTED] wrote:

Quote:
I think the problem is that the static { } block is too large
(end of quote)




That's very probably the cause -  there is definitely a limit (64K if I recall 
correctly and if it hasn't changed since JDK 1.3) on the size of the bytecode 
for a single method/constructor/initializer block. I've encountered this 
problem in another code generator (XMLC, generates presentation layer Java code 
from plain HTML/XML pages), and solved it by splitting large methods into 
multiple smaller ones which were then called in sequence.



[/b]
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3588#3588
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to