gcc/libjava/java/net
Kresten Krab Thorup eb4534a636 natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
	from _Jv_InternClassStrings.

	* prims.cc (_Jv_RunMain): New function.
	(JvRunMain): Remove gij-support.

	* gij.cc (main): Use _Jv_RunMain.

	* java/util/zip/ZipFile.java: Call readDirectory in constructor.

	* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
	argument in temp variable.
	(continue1): For all op_x2y insns, use temp variable for
	intermediate value.  Also remove some comments.

	* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
	(forName): Don't call _Jv_InitClass.

	* java/lang/Class.java (getResource,getResourceAsStream): Implement.

	* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.

	* java/util/jar/JarInputStream.java: New file.

	* java/util/jar/JarEntry.java: New file.

	* java/util/jar/JarFile.java: New file.

	* java/net/URLClassLoader.java: New file.

	* java/net/JarURLConnection.java: New file.

	* gnu/gcj/protocol/jar/Handler.java: New file.

	* gnu/gcj/protocol/jar/Connection.java: New file.

	* java/security/SecureClassLoader.java: New file.

	* java/lang/ClassLoader.java (parent): New variable.
	(ClassLoader (ClassLoader)): new constructor.
	(findClass): New method.
	(loadClass): Add default 1.2 implementation.
	(getSystemResourceAsBytes, getResourceAsBytes): Removed.
	(readfully): Removed.

	* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
	(findSystemClass): New method.
	(VMClassLoader): Constructor rewritten.
	(init): New method.
	All other methods removed.

	* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
	to gnu::gcj::runtime::VMClassLoader.
	(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
	class entries.
	(VMClassLoader::findSystemClass): renamed from findBootClass.

	* Makefile.am: Add new files.
	(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.

	* Makefile.in: Rebuilt.

From-SVN: r28748
1999-08-18 14:16:42 +00:00
..
BindException.java
ConnectException.java
ContentHandler.java
ContentHandlerFactory.java
DatagramPacket.java Makefile.am (ordinary_java_source_files): Added DatagramPacket.java... 1999-05-18 18:02:01 +00:00
DatagramSocket.java ServerSocket.java: Define ANY_IF. 1999-08-03 01:30:53 +01:00
DatagramSocketImpl.java DatagramSocketImpl.java (localPort): Fixed typo to match JDK. 1999-06-23 12:24:59 +00:00
FileNameMap.java
HttpURLConnection.java
InetAddress.java natInetAddress.cc (lookup): Preserve caller-supplied hostname in returned InetAddress objects. 1999-06-18 02:17:28 +01:00
JarURLConnection.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
MalformedURLException.java
MulticastSocket.java DatagramSocket.java (laddr): Removed. 1999-05-28 19:29:53 +00:00
natInetAddress.cc configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r... 1999-08-01 00:14:32 +00:00
natPlainDatagramSocketImpl.cc ServerSocket.java: Define ANY_IF. 1999-08-03 01:30:53 +01:00
natPlainSocketImpl.cc [multiple changes] 1999-08-10 05:32:23 +00:00
NoRouteToHostException.java
PlainDatagramSocketImpl.java DatagramSocket.java (DatagramSocket(int, InetAddress)): Default to using PlainDatagramSocketImpl. 1999-07-20 20:30:42 +00:00
PlainSocketImpl.java natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL. 1999-06-17 01:21:26 +01:00
ProtocolException.java
ServerSocket.java ServerSocket.java: Define ANY_IF. 1999-08-03 01:30:53 +01:00
Socket.java natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL. 1999-06-17 01:21:26 +01:00
SocketException.java
SocketImpl.java [multiple changes] 1999-05-26 17:00:06 +00:00
SocketImplFactory.java
SocketOptions.java [multiple changes] 1999-05-26 17:00:06 +00:00
UnknownHostException.java
UnknownServiceException.java
URL.java URL.java (equals): Compare strings using String.equals. 1999-07-05 13:35:21 +00:00
URLClassLoader.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
URLConnection.java
URLDecoder.java Makefile.am: Added URLDecoder and URLEncoder. 1999-04-23 16:36:22 +00:00
URLEncoder.java Makefile.am: Added URLDecoder and URLEncoder. 1999-04-23 16:36:22 +00:00
URLStreamHandler.java [multiple changes] 1999-06-03 22:29:12 +00:00
URLStreamHandlerFactory.java