[kaffe] Kaffe CVS: kaffe stack

Kaffe CVS cvs-commits at kaffe.org
Tue Jul 8 16:50:02 PDT 2003


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	stack	03/07/08 16:48:27

Modified files:
	.              : ChangeLog 
	include        : Makefile.am Makefile.in 
	kaffe/kaffevm  : thread.c 
	kaffe/kaffevm/systems/unix-jthreads: jthread.c 
	libraries/clib/native: Makefile.am Makefile.in Runtime.c 
	libraries/javalib: essential.files 
	libraries/javalib/java/lang: Runtime.java System.java 
	                             Thread.java 
	test/regression: Makefile.am Makefile.in 
Added files:
	test/regression: ShutdownHookTest.java 
Removed files:
	libraries/clib/native: Application.c 
	libraries/javalib/kaffe/lang: Application.java 

Log message:
2003-07-08  Guilhem Lavaux <guilhem.lavaux at free.fr>

* include/Makefile.am:
Removed kaffe_lang_Application.h

* libraries/clib/native/Makefile.am:
Removed Application.c

* libraries/clib/native/Application.c,
libraries/javalib/kaffe/lang/Application.java:
removed

* libraries/clib/native/Runtime.c:
renamed exitInternal() into exit0()

* libraries/javalib/java/lang/Runtime.java:
(exitInternal, addShutdownHook, removeShutdownHook,
exitJavaCleanup, runShutdownHooks) implement the Shutdown hook
Java 1.3 feature, removed kaffe/lang/Application.

* libraries/javalib/java/lang/System.java:
(exitJavaCleanup) Added a hook for
java.lang.Runtime.exitJavaCleanup.

* libraries/javalib/java/lang/Thread.java:
(hasDied) Added to detect when a thread has run to completion.

* kaffe/kaffevm/threads.c:
Call System.exitJavaCleanup() before final exit.

* kaffe/kaffevm/systems/unix-jthreads/jthread.c:
Execute runOnExit with interrupts enabled.

* test/regression/Makefile.am:
Added ShutdownHookTest.java

* test/regression/ShutdownHookTest.java:
Test for shutdown hooks.





More information about the kaffe mailing list