M
MattC
Can anyone tell me the maximum length of a Java class name?
Thanks,
MattC
Thanks,
MattC
MattC said:> Can anyone tell me the maximum length of a Java class name?
MattC said:Can anyone tell me the maximum length of a Java class name?
MattC said:Can anyone tell me the maximum length of a Java class name?
Piotr said:For current JVMs it is a maximum of 65536 characters for fully qualified
class name.
Chris said:Occurs to me that there's a nice little obfuscation technique there -- rename
all classes to so that their names start with, say, about 10 thousand spaces,
and there aren't too mamy bytecode tools that will be usuable with the
resulting classfiles ;-)
Can anyone tell me the maximum length of a Java class name?
Well, I think the bytecode verifier will prevent against spaces in
names, but with other char, say 'x', or simply with randomly generated
long name, why not?... ;-)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.