General Java Questions IV
My class name with qualifiers is 44 characters long, I can only imagine that there
must be a limit ....
Answer: From the JVM Spec 2 4.2
Class and interface names...fully qualified name...as
CONSTANT_Utf8_info.
That structure, CONSTANT_Utf8_info, places a limit of 64k on the length. But for a
class this is the fully qualified name, so the maximum length of the name could be
less.
jschell
(c)1999, 2000, 2001 JavaFAQ.nu. All rights reserved worldwide.
This document is free for distribution, you can send it to everybody who is interested in Java.
This document can not be changed, either in whole or in part
without the express written permission of the publisher.
All questions please
mailto:info@javafaq.nu
file:///F|/a_jsite/350_tips/general_java IV.htm (10 of 10) [2001 07 08 11:24:54]
footer
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved