This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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
inner


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35020


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]