Compile a method named class$ Permanently deleted user Created May 03, 2004 12:10 Dear all, is it possible to compile an auto-generated method like that: ? thanx in advance
Sun's 1.4.2_02 compiler for Windows won't do it. It will compile a method named $class.
class$ also fails as an identifier used for a local variable.
According to section 3.8 on Identifiers of the Java Language Specification[/url], class$ should be allowed.
It looks like you've uncovered a bug.