Does Java have a limit on the class name length?
This question came up in Spring class, which has some rather long class names. Is there a limit in the language for class name lengths? Robert Munteanu The Java Language Specification states that identifiers are unlimited in length. In practice though, the filesystem will limit the length of the resulting file name. Jon 65535 characters I believe. From the Java virtual machine specification: The length of field and method names, field and method descriptors, and other constant string values is limited to 65535 characters by the 16-bit unsigned length item of the CONSTANT_Utf8_info structure (