gcc/libjava/java/util/zip
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
..
Adler32.java Initial revision 1999-04-07 14:42:40 +00:00
CheckedInputStream.java ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. 1999-05-18 15:33:03 +00:00
CheckedOutputStream.java ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. 1999-05-18 15:33:03 +00:00
Checksum.java Initial revision 1999-04-07 14:42:40 +00:00
CRC32.java Initial revision 1999-04-07 14:42:40 +00:00
DataFormatException.java DatagramSocketImpl.java (localPort): Fixed typo to match JDK. 1999-06-23 12:24:59 +00:00
Deflater.java DatagramSocketImpl.java (localPort): Fixed typo to match JDK. 1999-06-23 12:24:59 +00:00
DeflaterOutputStream.java ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. 1999-05-18 15:33:03 +00:00
GZIPInputStream.java ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. 1999-05-18 15:33:03 +00:00
GZIPOutputStream.java GZIPOutputStream.java (write(byte[])): New method. 1999-05-19 12:35:06 +00:00
Inflater.java ZipInputStream.java (fill): New method. 1999-05-22 18:08:46 +00:00
InflaterInputStream.java InflaterInputStream.java (read): Throw ZipException if inflater throws a DataFormatException. 1999-06-23 14:57:14 +00:00
natDeflater.cc ZipInputStream.java (fill): New method. 1999-05-22 18:08:46 +00:00
natInflater.cc ZipInputStream.java (fill): New method. 1999-05-22 18:08:46 +00:00
ZipConstants.java InflaterInputStream.java: New stub class. 1999-05-05 17:15:44 -07:00
ZipEntry.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
ZipException.java Initial revision 1999-04-07 14:42:40 +00:00
ZipFile.java natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. 1999-08-18 14:16:42 +00:00
ZipInputStream.java DatagramSocketImpl.java (localPort): Fixed typo to match JDK. 1999-06-23 12:24:59 +00:00
ZipOutputStream.java ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. 1999-05-18 15:33:03 +00:00