This week's book giveaway is in the Flex forum. We're giving away four copies of Flex 4 in Action and have Tariq Ahmed, Dan Orlando, John C. Bland II & Joel Hooks on-line! See this thread for details.
In my application, we are generating java code in which method size is increasing more than 65k. I am trying to divide it in sub routines, but not very successful in my attempt.
Looking here for suggestions/code to overcome the issue, or is there a way to compile method with size more than 65k.
Thanks for response and correction. The method is getting generated to create mapping for xml elements , and xml file feeded is quite large. We use recursion to take care of multi level parent child, siblings relationship. Now any thoughts to overcome this issue?
This issue has been on Sun enhancement request list, since... well, for as long as I can remember. I think that it is safe to not depend on Sun to fix this limitation.
Your only work-around is to modify your code generator, to generate code using many methods, instead of one big method.