[cp-patches] Fix for Class.getSimpleName()

Christian Thalinger twisti at complang.tuwien.ac.at
Wed Apr 16 09:10:32 UTC 2008

On Wed, 2008-04-16 at 10:58 +0200, Sebastian Mancke wrote:
> I saw this patch and think it broke the behaviour, because of the wrong
> usage of fullName.lastIndexOf(".", pos): The pos argument, counted from
> left makes no sense in this method.
> Also, I think, that advancing 'pos', dependent on
> Character.isDigit(fullName.charAt(pos)) make no sense, because we return
> "" for anonymous classes already.

I see.  Can you try the CACAO testcase (I hope this is the right one):


- twisti

More information about the Classpath-patches mailing list