gcc/libjava/java/net
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
..
BindException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
ConnectException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
ContentHandler.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
ContentHandlerFactory.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
DatagramPacket.java Locale.java (Locale): Don't explicitly check for null. 2000-05-04 15:50:34 +00:00
DatagramSocket.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
DatagramSocketImpl.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FileNameMap.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
HttpURLConnection.java Connection.java (gotHeaders): Removed. 2000-08-10 10:10:25 +01:00
InetAddress.java InetAddress.java (addr): Renamed from 'address'. 2000-11-03 07:43:06 +00:00
JarURLConnection.java URLClassLoader.java: Find the JarEntry via the JarFile. 2000-08-20 17:49:12 +00:00
MalformedURLException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
MulticastSocket.java Locale.java (Locale): Don't explicitly check for null. 2000-05-04 15:50:34 +00:00
NoRouteToHostException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
PlainDatagramSocketImpl.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
PlainSocketImpl.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
ProtocolException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
ServerSocket.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Socket.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
SocketException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
SocketImpl.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
SocketImplFactory.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
SocketOptions.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
URL.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
URLClassLoader.java prims.cc (_Jv_NewObjectArray): Undo placement change. 2000-11-26 03:58:56 +00:00
URLConnection.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
URLDecoder.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
URLEncoder.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
URLStreamHandler.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
URLStreamHandlerFactory.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
UnknownHostException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
UnknownServiceException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
natInetAddress.cc InetAddress.java (addr): Renamed from 'address'. 2000-11-03 07:43:06 +00:00
natPlainDatagramSocketImpl.cc InetAddress.java (addr): Renamed from 'address'. 2000-11-03 07:43:06 +00:00
natPlainSocketImpl.cc InetAddress.java (addr): Renamed from 'address'. 2000-11-03 07:43:06 +00:00