[Bug java/35020] Class.getSimpleName() differs from Sun Java

mark at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 29 20:35:00 GMT 2008

------- Comment #1 from mark at gcc dot gnu dot org  2008-01-29 20:35 -------
GNU Classpath contains:

2007-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>

        * vm/reference/java/lang/VMClass.java:
        (getCanonicalName(Class)): Fix handling of member
        classes so we don't fall out of the if block.
        (getSimpleName(Class)): Handle class names which include
        the $ sign to break up anonymous/inner/member classes.

And with cacao and current classpath CVS you get:

$ cacao test



More information about the Java-prs mailing list