gcc/libjava/java
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
..
applet backport: Applet.java: New file. 2000-07-12 05:52:04 +01:00
awt Makefile.am: Added rules for libgcjx library. 2000-10-22 17:46:09 +00:00
beans PropertyChangeSupport.java (propertyListeners): Made transient. 2000-11-16 21:34:48 +00:00
io System.java (setProperties): Only call init_properties() if properties is null. 2000-11-26 01:48:04 +00:00
lang prims.cc (_Jv_NewObjectArray): Undo placement change. 2000-11-26 03:58:56 +00:00
math Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
net prims.cc (_Jv_NewObjectArray): Undo placement change. 2000-11-26 03:58:56 +00:00
security Makefile.am: Removed java/io/Replaceable.java and java/io/Resolvable.java. 2000-10-05 23:57:16 +00:00
sql LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
text natString.cc: Include Locale.h. 2000-11-18 02:29:13 +00:00
util Vector.java: Improve exception messages. 2000-11-23 05:18:41 +00:00