Tuesday, October 04, 2005

Max method size breached

I have to admit that I only learnt the existence of the 64KB size cap for a java method last night.

Thanks to someone who managed to write a WTF worthy JSP with a whopping 8000 plus lines.

1 comment:

Tom Hawtin said...

The format does support more than 64K, provided you have no try or synchronized blocks, no line number or source file information and your compiler supports it. I believe Java SE 6 will remove those restrictions.