[kaffe] Kaffe CVS: kaffe hkraemer

Kaffe CVS kaffe@kaffe.org
Sat Jun 28 11:08:01 2003


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	hkraemer	03/06/28 11:06:43

Modified files:
	.              : ChangeLog 
	libraries/javalib/java/lang: Class.java Package.java 
	                             Runtime.java System.java 
	libraries/javalib/java/util: ResourceBundle.java 
	libraries/javalib/kaffe/lang: ThreadStack.java 
	libraries/javalib: bootstrap.classlist essential.files 
	                   Makefile.in Makefile.am Klasses.jar.bootstrap 
	test/regression: ProcessClassInst.java ProcessClassStop.java 
Removed files:
	libraries/javalib/kaffe/lang: DummyClassLoader.java 

Log message:
2003-06-28  Helmer Kraemer  <hkraemer@freenet.de>

* libraries/javalib/kaffe/lang/ThreadStack:
(getCallersClassLoader): new method

* libraries/javalib/java/lang/Class.java
(CallStack): removed
(forName): use ThreadStack.getCallersClassLoader

* libraries/javalib/java/lang/Package.java,
libraries/javalib/java/lang/System.java,
libraries/javalib/java/lang/Runtime.java:
use ThreadStack.getCallersClassLoader instead of
Class.CallStack.getCallersClassLoader

* libraries/javalib/java/util/ResourceBundle.java:
(getBundle): use ThreadStack.getCallersClassLoader if loader
is null
(getSpecificBundle): throw NPE if loader is null

* libraries/javalib/bootstrap.classlist,
libraries/javalib/Klasses.jar.bootstrap:
removed java/lang/Class$CallStack.class and
kaffe/lang/DummyClassLoader.class

* libraries/javalib/essential.files:
remove kaffe/lang/DummyClassLoader.java

* libraries/javalib/kaffe/lang/DummyClassLoader.java:
removed

* libraries/javalib/Makefile.am,
libraries/javalib/Makefile.in:
regenerated

* test/regression/ProcessClassInst.java,
test/regression/ProcessClassStop.java:
adjusted line numbers in expected output