Forums Register Login

java class file size

+Pie Number of slices to send: Send
Hi all,
I have read some where that the max size of a compiled java class file is 64KB. Is it true? If true, why is there a file size limitation.
Thanks in advance.
--------
+Pie Number of slices to send: Send
Pradeep
As far as I know there is no u[ward limit on the total size of the compiled class file. There are however severalo other things that make up the byte code that are limited to 64k. The value of the code_length (the number of bytes in a method), might be what you heard of that is confusing you.
For all of the details check out the virtual machine specification.
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1325 times.
Similar Threads
Boolean method linked to an array? Please help!!
run time error: could not find or load main class
does import statement increase the size
Regarding big java files...
Find File Size
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 21:45:13.