2008-05-22 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2008 13:04:18 +0000 (13:04 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2008 13:04:18 +0000 (13:04 +0000)
commit20bb3346b8014d3f8dbc3c9f480c47b4a096bc31
treede028939d2784b099a5232cd9d023170c9fe58d1
parent480610ccadbe82fc775f1b6cff34af291ebff5a2
2008-05-22  Andrew Haley  <aph@redhat.com>

PR libgcj/35020
* java/lang/Class.java (getSimpleName): Replace incorrect use of
String.lastIndexOf(String, int) with String.substring.
* testsuite/libjava.lang/PR35020.java: New file.
* testsuite/libjava.lang/PR35020.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135801 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/classpath/lib/java/lang/Class$1.class
libjava/classpath/lib/java/lang/Class.class
libjava/java/lang/Class.java
libjava/testsuite/libjava.lang/PR35020.jar [new file with mode: 0644]
libjava/testsuite/libjava.lang/PR35020.java [new file with mode: 0644]
libjava/testsuite/libjava.lang/PR35020.out [new file with mode: 0644]