gcc/libjava/gcj
Anthony Green 31280fb7c4 prims.cc (_Jv_NewObjectArray): Undo placement change.
2000-11-25  Anthony Green  <green@redhat.com>

	* prims.cc (_Jv_NewObjectArray): Undo placement change.
	(_Jv_NewPrimArray): Likewise.
	* gcj/array.h (__JArray): Undo const change.  Removed constructor.
	(class JArray): Removed constructor.

	* java/lang/Thread.java (context_class_loader): New private data.
	(getContextClassLoader): New method.
	(setContextClassLoader): New method.
	(Thread): Initialize context_class_loader.

	* java/net/URLClassLoader.java: Import java.util.Enumeration.
	(getResource): Rename to findResource.
	(findResource): New method.  Used to be getResource.
	(getResourceAsStream): Deleted.
	(jarFileize): Extracted logic from URLClassLoader constructor into
	this new private method.
	(addURL): New protected method.
	(URLClassLoader): Call jarFileize.  Use addElement instead of
	insertElementAt.
	(findResources): New method.

	* java/lang/ClassLoader.java: Import java.util.Enumeration.
	(getResource): Implement correct logic.
	(findResource): New method.
	(getResources): New method.
	(findClass): Create a ClassNotFoundException with the name of the
	class rather than nothing at all.
	(defineClass) Only throw ClassFormatError.

	* java/lang/Class.java (forName): New method.
	* java/lang/Class.h (forName): New method.
	* java/lang/natClass.cc (forName): New method.

From-SVN: r37751
2000-11-26 03:58:56 +00:00
..
Makefile.am configure: Rebuilt. 1999-09-10 22:03:10 +00:00
Makefile.in Rebuilt Makefile.ins 2000-10-06 01:57:45 +00:00
array.h prims.cc (_Jv_NewObjectArray): Undo placement change. 2000-11-26 03:58:56 +00:00
cni.h cni.h: Include <string.h>. 2000-05-31 23:49:19 +01:00
field.h natField.cc (BooleanClass): Don't define. 2000-10-06 01:49:32 +00:00
javaprims.h jni.cc: Added include of java/lang/ThreadGroup.h. 2000-11-01 00:18:03 +00:00
method.h All files: Updated copyright information. 2000-03-07 19:55:28 +00:00