gcc/libjava/classpath/lib/java/lang
David Daney 8c0dbf3490 re PR libgcj/29324 (add wait handling hook)
PR libgcj/29324
	* include/posix-threads.h (_Jv_BlockSigchld): Declare.
	(_Jv_UnBlockSigchld): Same.
	* posix-threads.cc: Include posix-threads.h.
	(block_sigchld) Rename to...
	(_Jv_BlockSigchld) ... this.
	(_Jv_UnBlockSigchld): New function.
	(_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
	(_Jv_ThreadStart): Same.
	* java/lang/PosixProcess$ProcessManager.h: Regenerate.
	* java/lang/PosixProcess.java: Clean up imports.
	(ProcessManager): Make final.
	(ProcessManager.queue): Genericise and make private.
	(ProcessManager.pidToProcess): Remove.
	(ProcessManager.liveProcesses): New field.
	(ProcessManager.reaperPID): Remove.
	(ProcessManager.nativeData): New field.
	(ProcessManager.removeProcessFromMap): Remove.
	(ProcessManager.addProcessToMap):Remove.
	(ProcessManager.addToLiveProcesses): New method.
	(ProcessManager.run): Rewritten.
	(ProcessManager.reap): Change method signature,
	(getErrorStream): Correct formatting.
	(getInputStream): Same.
	(spawn): Add process to liveProcesses list.
	(pid): Make package private.
	* java/lang/PosixProcess.h: Regenerate.
	* java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
	Add useing namespace java::lang.
	(ProcessManagerInternal): New struct.
	(sigchld_handler): Rewritten.
	(init): Rewritten.
	(waitForSignal): Same.
	(reap): Same.
	(signalReaper): Same.
	(nativeDestroy): Call kill as ::kill.
	(nativeSpawn): Correct formatting.
	* classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
	* classpath/lib/java/lang/PosixProcess.class: Same.
	* classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.

From-SVN: r124638
2007-05-12 17:37:55 +00:00
..
annotation
instrument
management [multiple changes] 2007-02-16 13:51:04 +00:00
ref
reflect natVMProxy.cc (ncode_closure.meth): Delete. 2007-03-05 16:06:27 +00:00
AbstractMethodError.class
Appendable.class
ArithmeticException.class
ArrayIndexOutOfBoundsException.class
ArrayStoreException.class
AssertionError.class
Boolean.class
Byte.class
Character$Subset.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
Character$UnicodeBlock$NameType.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
Character$UnicodeBlock.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
Character.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
CharSequence.class
Class.class Calendar.java: Implement Comparable<Calendar>. 2007-02-01 20:34:08 +00:00
ClassCastException.class
ClassCircularityError.class
ClassFormatError.class
ClassLoader$AnnotationsKey.class Calendar.java: Implement Comparable<Calendar>. 2007-02-01 20:34:08 +00:00
ClassLoader.class * java/lang/ClassLoader.java (getResources): No longer final. 2007-02-01 23:00:01 +00:00
ClassNotFoundException.class
Cloneable.class
CloneNotSupportedException.class
Comparable.class
Compiler.class
Deprecated.class
Double.class
EcosProcess.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
Enum.class
EnumConstantNotPresentException.class
Error.class
Exception.class
ExceptionInInitializerError.class
Float.class
IllegalAccessError.class
IllegalAccessException.class
IllegalArgumentException.class
IllegalMonitorStateException.class
IllegalStateException.class
IllegalThreadStateException.class
IncompatibleClassChangeError.class
IndexOutOfBoundsException.class
InheritableThreadLocal.class
InstantiationError.class
InstantiationException.class
Integer.class
InternalError.class
InterruptedException.class
Iterable.class
LinkageError.class
Long.class
Math.class
NegativeArraySizeException.class
NoClassDefFoundError.class
NoSuchFieldError.class
NoSuchFieldException.class
NoSuchMethodError.class
NoSuchMethodException.class
NullPointerException.class
Number.class
NumberFormatException.class
Object.class LogManager.java (loggers): Genericized. 2007-02-01 21:36:01 +00:00
OutOfMemoryError.class
Override.class
Package.class
PosixProcess$EOFInputStream.class re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
PosixProcess$ProcessManager.class re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
PosixProcess.class re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
Process.class
ProcessBuilder.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
Readable.class
Runnable.class
Runtime.class
RuntimeException.class
RuntimePermission.class
SecurityException.class
SecurityManager$1.class Checking in updated class file 2007-01-29 18:31:27 +00:00
SecurityManager.class SecurityManager.java: Load and initialize java.security.Security. 2007-01-29 13:43:22 +00:00
Short.class
StackOverflowError.class
StackTraceElement.class
StrictMath.class
String$CaseInsensitiveComparator.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
String.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
StringBuffer.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
StringBuilder.class Character.java: Re-merged with Classpath. 2007-03-05 17:27:44 +00:00
StringIndexOutOfBoundsException.class
SuppressWarnings.class
System$EnvironmentCollection.class re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-23 15:13:18 +00:00
System$EnvironmentMap.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
System$EnvironmentSet.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
System.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
Thread$State.class Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor. 2007-02-16 21:23:10 +00:00
Thread$UncaughtExceptionHandler.class
Thread.class Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor. 2007-02-16 21:23:10 +00:00
ThreadDeath.class
ThreadGroup.class
ThreadLocal.class
Throwable$StaticData.class
Throwable.class
TypeNotPresentException.class
UnknownError.class
UnsatisfiedLinkError.class
UnsupportedClassVersionError.class
UnsupportedOperationException.class
VerifyError.class
VirtualMachineError.class
VMClassLoader.class
VMCompiler.class 2007-02-23 Gary Benson <gbenson@redhat.com> 2007-02-23 15:34:19 +00:00
VMDouble.class
VMFloat.class
VMProcess.class sources.am, [...]: Rebuilt. 2007-03-05 15:57:13 +00:00
VMThrowable.class
Void.class
Win32Process$EOFInputStream.class Win32Process.java: Added nested class EOFInputStream. 2007-03-07 18:05:39 +00:00
Win32Process.class Win32Process.java: Added nested class EOFInputStream. 2007-03-07 18:05:39 +00:00