gcc/libjava/java/lang
Andrew Haley 71292a0540 re PR libgcj/35020 (Class.getSimpleName() differs from Sun Java)
2008-05-28  Andrew Haley  <aph@redhat.com>

	* java/lang/Class.java (getSimpleName): Use getEnclosingClass().	
	* testsuite/libjava.lang/PR35020.java: New cases.
	* testsuite/libjava.lang/PR35020.out: New cases.

From-SVN: r136103
2008-05-28 15:12:47 +00:00
..
annotation Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
instrument Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
management libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
ref Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
reflect Import GNU Classpath (libgcj-import-20070727). 2007-08-04 10:53:49 +00:00
AbstractMethodError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Appendable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ArithmeticException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ArrayIndexOutOfBoundsException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ArrayStoreException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AssertionError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Boolean.h libjava 2007-04-19 00:24:09 +00:00
Byte.h libjava 2007-04-19 00:24:09 +00:00
Character.h libjava 2007-04-19 00:24:09 +00:00
Character.java libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
Character$Subset.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Character$UnicodeBlock.h Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
Character$UnicodeBlock$NameType.h Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
CharSequence.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Class.h configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
Class.java re PR libgcj/35020 (Class.getSimpleName() differs from Sun Java) 2008-05-28 15:12:47 +00:00
Class$1.h libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
ClassCastException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ClassCircularityError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ClassFormatError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ClassLoader.h natClassLoader.cc (_Jv_RegisterInitiatingLoader): Check loading constraints. 2008-03-13 16:43:54 +00:00
ClassLoader.java natClassLoader.cc (_Jv_RegisterInitiatingLoader): Check loading constraints. 2008-03-13 16:43:54 +00:00
ClassLoader$AnnotationsKey.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ClassNotFoundException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Cloneable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
CloneNotSupportedException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Comparable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Compiler.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Deprecated.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Double.h libjava 2007-04-19 00:24:09 +00:00
EcosProcess.h sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
EcosProcess.java sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
Enum.h libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
EnumConstantNotPresentException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Error.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Exception.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ExceptionInInitializerError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Float.h libjava 2007-04-19 00:24:09 +00:00
IllegalAccessError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalAccessException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalArgumentException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalMonitorStateException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalStateException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalThreadStateException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IncompatibleClassChangeError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IndexOutOfBoundsException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
InheritableThreadLocal.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
InstantiationError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
InstantiationException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Integer.h libjava 2007-04-19 00:24:09 +00:00
InternalError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
InterruptedException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Iterable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LinkageError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Long.h libjava 2007-04-19 00:24:09 +00:00
Math.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Math.java re PR libgcj/27731 (Math cbrt(), cosh(), expm1(), hypot(), log1p(), sinh() and tanh() not implemented) 2006-05-24 17:14:45 +00:00
natCharacter.cc natCharacter.cc (Character::getType): Handle negative code points. 2007-05-02 23:27:03 +00:00
natClass.cc re PR libgcj/34444 (Class.getEnclosingClass() returns null on enclosed class) 2008-01-04 17:18:56 +00:00
natClassLoader.cc natClassLoader.cc (_Jv_RegisterInitiatingLoader): Check loading constraints. 2008-03-13 16:43:54 +00:00
natEcosProcess.cc Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
natMath.cc re PR libgcj/27731 (Math cbrt(), cosh(), expm1(), hypot(), log1p(), sinh() and tanh() not implemented) 2006-05-24 17:14:45 +00:00
natObject.cc
natPosixProcess.cc natPosixProcess.cc (sigchld_handler): Remove 'si' and 'third' parameters. 2007-08-15 08:19:32 +00:00
natRuntime.cc sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
natString.cc re PR libgcj/36252 (OutOfMemoryError on simple text conversion.) 2008-05-21 03:49:03 +00:00
natStringBuffer.cc
natStringBuilder.cc
natSystem.cc
natThread.cc configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
natThreadLocal.cc Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
natVMClassLoader.cc natClass.cc (initializeClass): Re-throw SecurityExceptions. 2007-01-29 13:14:38 +00:00
natVMDouble.cc natVMPipeEcos.cc: Renamed from gnu/java/nio/natPipeImplEcos.cc. 2007-01-18 11:32:40 +00:00
natVMFloat.cc natVMPipeEcos.cc: Renamed from gnu/java/nio/natPipeImplEcos.cc. 2007-01-18 11:32:40 +00:00
natVMProcess.cc re PR libgcj/31084 (TRUE or FALSE defined) 2007-04-25 01:24:47 +00:00
natVMThrowable.cc prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start to the end of the function. 2006-07-28 07:40:17 +00:00
natWin32Process.cc Win32Process.java: Added nested class EOFInputStream. 2007-03-07 18:05:39 +00:00
NegativeArraySizeException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NoClassDefFoundError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NoSuchFieldError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NoSuchFieldException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NoSuchMethodError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NoSuchMethodException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NullPointerException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Number.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
NumberFormatException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Object.h
Object.java LogManager.java (loggers): Genericized. 2007-02-01 21:36:01 +00:00
OutOfMemoryError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Override.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Package.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PosixProcess.h re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
PosixProcess.java re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
PosixProcess$EOFInputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PosixProcess$ProcessManager.h re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
Process.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ProcessBuilder.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Readable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Runnable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Runtime.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Runtime.java re PR classpath/26990 (SecurityManager.checkExit() problem) 2006-04-04 23:25:09 +00:00
RuntimeException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
RuntimePermission.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
SecurityException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
SecurityManager.h Updating header files. Earlier change here seems to have been in error. 2007-03-05 14:29:47 +00:00
SecurityManager$1.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Short.h libjava 2007-04-19 00:24:09 +00:00
StackOverflowError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
StackTraceElement.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
StrictMath.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
String.h libjava 2007-04-19 00:24:09 +00:00
String.java Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
String$CaseInsensitiveComparator.h libjava 2007-04-19 00:24:09 +00:00
StringBuffer.h libjava 2007-04-19 00:24:09 +00:00
StringBuffer.java Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
StringBuilder.h libjava 2007-04-19 00:24:09 +00:00
StringBuilder.java Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
StringIndexOutOfBoundsException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
SuppressWarnings.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
System.h libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
System.java libjava/classpath/ChangeLog.gcj: 2007-06-03 23:18:43 +00:00
System$EnvironmentCollection.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
System$EnvironmentMap.h libjava 2007-04-19 00:24:09 +00:00
System$EnvironmentSet.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Thread.h Updating header files. Earlier change here seems to have been in error. 2007-03-05 14:29:47 +00:00
Thread.java Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor. 2007-02-16 21:23:10 +00:00
Thread$State.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Thread$UncaughtExceptionHandler.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ThreadDeath.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ThreadGroup.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ThreadLocal.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ThreadLocal.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Throwable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Throwable$StaticData.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
TypeNotPresentException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
UnknownError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
UnsatisfiedLinkError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
UnsupportedClassVersionError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
UnsupportedOperationException.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VerifyError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VirtualMachineError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VMClassLoader.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VMClassLoader.java VMClassLoader.java (initialize): Set default library control to LIB_NEVER. 2006-05-31 17:47:44 +00:00
VMCompiler.h DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency. 2007-04-05 00:15:16 +00:00
VMCompiler.java 2007-02-23 Gary Benson <gbenson@redhat.com> 2007-02-23 15:15:58 +00:00
VMDouble.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VMDouble.java
VMFloat.h Import GNU Classpath (libgcj-import-20070727). 2007-08-04 10:53:49 +00:00
VMFloat.java Import GNU Classpath (libgcj-import-20070727). 2007-08-04 10:53:49 +00:00
VMProcess.h sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
VMProcess.java sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
VMThrowable.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
VMThrowable.java prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start to the end of the function. 2006-07-28 07:40:17 +00:00
Void.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Win32Process.h sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
Win32Process.java Win32Process.java: Added nested class EOFInputStream. 2007-03-07 18:05:39 +00:00
Win32Process$EOFInputStream.h Win32Process.java: Added nested class EOFInputStream. 2007-03-07 18:05:39 +00:00