gcc/libjava/java/lang
Tom Tromey 3af9ac15a9 re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if thread is already dead)
PR libgcj/22211:
	* testsuite/libjava.lang/pr22211.java: New file.
	* java/lang/natThread.cc (finish_): Synchronize when updating
	alive_flag.
	(_Jv_AttachCurrentThread): Likewise.
	(interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
	* java/lang/Thread.java (isAlive): Now synchronized.

From-SVN: r101430
2005-06-29 17:36:16 +00:00
..
ref re PR libgcj/21703 (hang when rapidly calling String.intern()) 2005-05-25 15:23:56 +00:00
reflect jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException. 2005-04-05 22:26:26 +00:00
AbstractMethodError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ArithmeticException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ArrayIndexOutOfBoundsException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ArrayStoreException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
AssertionError.java AssertionError.java: Typo fix. 2005-04-21 20:41:32 +00:00
Boolean.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Byte.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Character.java Character.java, [...]: Reorder "final static" to "static final". 2004-11-24 13:33:01 +00:00
CharSequence.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
Class.h Class.java (getClasses): New method. 2005-06-14 18:51:54 +00:00
Class.java Class.java (getClasses): New method. 2005-06-14 18:51:54 +00:00
ClassCastException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ClassCircularityError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ClassFormatError.java
ClassLoader.java bytearray.java: New file. 2005-04-06 22:30:01 +00:00
ClassNotFoundException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Cloneable.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
CloneNotSupportedException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Comparable.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Compiler.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Double.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
dtoa.c dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 08:47:58 +01:00
e_acos.c
e_asin.c dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 08:47:58 +01:00
e_atan2.c
e_exp.c dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 08:47:58 +01:00
e_fmod.c
e_log.c
e_pow.c cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
e_rem_pio2.c dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 08:47:58 +01:00
e_remainder.c
e_scalb.c
e_sqrt.c
EcosProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Error.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Exception.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ExceptionInInitializerError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
fdlibm.h fdlibm.h: Merge an AIX define from GNU Classpath. 2005-03-09 21:57:25 +01:00
Float.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ieeefp.h posix.h: .dylib is used on all Apple MACH platforms. 2005-03-22 20:10:16 +00:00
IllegalAccessError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IllegalAccessException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IllegalArgumentException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IllegalMonitorStateException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IllegalStateException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IllegalThreadStateException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IncompatibleClassChangeError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
IndexOutOfBoundsException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InheritableThreadLocal.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InstantiationError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InstantiationException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Integer.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InternalError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InterruptedException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Long.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Math.java 2004-10-22 Michael Koch <konqueror@gmx.de> 2004-10-22 17:14:29 +00:00
mprec.c mprec.c (mult, [...]): Add parenthesis to avoid warnings. 2005-05-22 08:55:21 +02:00
mprec.h fdlibm.h: Merge an AIX define from GNU Classpath. 2005-03-09 21:57:25 +01:00
natCharacter.cc
natClass.cc Class.java (getClasses): New method. 2005-06-14 18:51:54 +00:00
natClassLoader.cc natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL. 2005-06-24 22:48:33 +00:00
natDouble.cc natDouble.cc (parseDouble): Handle NaN, Infinity and -Infinity as parameters. 2005-04-02 01:18:45 +00:00
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc re PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang) 2005-05-14 01:42:46 +01:00
natPosixProcess.cc natPosixProcess.cc (waitForSignal): Ignore return value of sigsuspend. 2004-09-14 13:09:31 -07:00
natRuntime.cc [multiple changes] 2005-04-25 19:48:35 +00:00
natString.cc re PR libgcj/21753 (String.substring sharing heuristic should be improved) 2005-06-01 15:52:45 +00:00
natStringBuffer.cc natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
natStringBuilder.cc javaprims.h: Updated. 2005-05-10 18:28:31 +00:00
natSystem.cc [multiple changes] 2005-04-25 19:48:35 +00:00
natThread.cc re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if thread is already dead) 2005-06-29 17:36:16 +00:00
natVMClassLoader.cc natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL. 2005-06-24 22:48:33 +00:00
natVMSecurityManager.cc natVMSecurityManager.cc (getClassContext): Add new arg: klass. 2005-03-21 14:50:14 +00:00
natVMThrowable.cc New Stack Trace infrastructure. 2005-03-10 19:02:21 +00:00
natWin32Process.cc natPosixProcess.cc (startProcess): Implement standard streams using FileChannelImpl, not FileDescriptor. 2004-02-29 11:14:20 -08:00
NegativeArraySizeException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NoClassDefFoundError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NoSuchFieldError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NoSuchFieldException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NoSuchMethodError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NoSuchMethodException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NullPointerException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Number.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
NumberFormatException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Object.h * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java". 2005-02-22 18:29:43 +00:00
Object.java Object.java: Added javadocs all over (merged from GNU classpath). 2004-11-16 21:37:29 +00:00
OutOfMemoryError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Package.java natVMSecurityManager.cc (getClassContext): Add new arg: klass. 2005-03-21 14:50:14 +00:00
PosixProcess.java re PR libgcj/11801 (Problems with Process.waitFor() and exitValue()) 2004-08-12 16:20:11 +00:00
Process.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Runnable.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Runtime.java Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current... 2005-04-25 20:35:17 +00:00
RuntimeException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
RuntimePermission.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
s_atan.c
s_ceil.c
s_copysign.c
s_cos.c
s_fabs.c
s_floor.c
s_rint.c
s_scalbn.c
s_sin.c
s_tan.c
SecurityException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
SecurityManager.java Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current... 2005-04-25 20:35:17 +00:00
sf_fabs.c
sf_rint.c
Short.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StackOverflowError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StackTraceElement.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StrictMath.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
String.java * java/lang/String.java (startsWith): Fixed javadoc. 2005-05-15 21:09:45 +00:00
StringBuffer.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StringBuilder.java javaprims.h: Updated. 2005-05-10 18:28:31 +00:00
StringIndexOutOfBoundsException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
strtod.c dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 08:47:58 +01:00
System.java 2005-04-26 Michael Koch <konqueror@gmx.de> 2005-04-26 05:09:35 +00:00
Thread.java re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if thread is already dead) 2005-06-29 17:36:16 +00:00
ThreadDeath.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ThreadGroup.java Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current... 2005-04-25 20:35:17 +00:00
ThreadLocal.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
Throwable.java [multiple changes] 2005-04-25 19:48:35 +00:00
UnknownError.java
UnsatisfiedLinkError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
UnsupportedClassVersionError.java
UnsupportedOperationException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
VerifyError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
VirtualMachineError.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
VMClassLoader.java VMClassLoader.java (transformException): Removed. 2005-04-21 17:20:36 +00:00
VMCompiler.java VMCompiler.java (static block): Also catch BufferUnderflowException. 2005-03-21 20:59:18 +00:00
VMSecurityManager.java VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly. 2005-05-03 22:15:01 +00:00
VMThrowable.java New Stack Trace infrastructure. 2005-03-10 19:02:21 +00:00
Void.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
w_acos.c
w_asin.c
w_atan2.c
w_exp.c w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined. 2003-06-06 03:34:36 +00:00
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c
Win32Process.java re PR libgcj/12231 ([win32] Console applications spawned via Runtime.exec( ) in a GUI application flash console window) 2003-11-07 03:16:49 +00:00