gcc/libjava/java
Artur Biesiadowski 1a82c94bde ZipFile.java (entries): Now HashMap.
* java/util/zip/ZipFile.java (entries): Now HashMap.
	(readLeShort(DataInput, byte[])): Read from given byte array.
	(readLeInt(DataInput, byte[]): Likewise.
	(readLeShort(byte[] b, int off)): New method.
	(readLeInt(byte[] b, int off)): Likewise.
	(readEntries): Use byte arrays to read info in bigger chunks.
	(getEntries): Return HashMap.
	(getEntry): Use HashMap.
	(locBuf): New private field.
	(checkLocalHeader): Use locBuf to read info in one chunk.
	(getInputStream): Use entries HashMap, wrap PartialInputStream
	in BufferedInputStream.
	(ZipEntryEnumeration): Use HashMap and Interator.

Co-Authored-By: Mark Wielaard <mark@klomp.org>

From-SVN: r60803
2003-01-02 21:01:24 +00:00
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
beans For PR libgcj/8759: 2002-11-30 04:41:59 +00:00
io Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
lang re PR libgcj/7416 (java.security startup refs "GNU libgcj.security") 2002-12-31 22:50:10 +00:00
math BigInteger.java (euclidInv): Make sure quot and rem are in canonical form after divide(). 2002-12-19 06:59:46 +00:00
net URLClassLoader.java (Resource.getCodeSource): Fix check certs == null. 2003-01-02 09:34:34 +00:00
nio 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 12:32:17 +00:00
rmi Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
security re PR libgcj/7416 (java.security startup refs "GNU libgcj.security") 2002-12-31 22:50:10 +00:00
sql Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
text Externalizable.java, [...]: New versions from Classpath. 2002-11-10 22:06:49 +00:00
util ZipFile.java (entries): Now HashMap. 2003-01-02 21:01:24 +00:00