gcc/libjava/java
Mark Wielaard 9c1180ea42 JarFile.java (manifest): Not final.
* java/util/jar/JarFile.java (manifest): Not final.
        (manifestRead): New field.
        (JarFile): Don't read Manifest in constructor.
        (getManifest): New method.
        (JarEnumeration.nextElement): Use new method.
        (getEntry): Likewise.
        * java/util/zip/ZipFile.java (name): Final.
        (raf): Likewsie.
        (entries): Change type to Hashtable.
        (closed): New field.
        (ZipFile): Don't read enties in constructor.
        (readEntries): Use Hashtable.
        (close): Set new close flag and set entries to null inside
        synchronized block.
        (entries): Contruct enumeration using new getEntries() method and
        entries Hashtable.
        (getEntryIndex): Removed.
        (getEntries): New method.
        (getEntry): Use new getEntries() method and entries Hastable.
        (getInputStream): Likewise.
        (size): Return getEntries().size().
        (ZipEntryEnumeration): Wrap entries Hashtable elements.
        * java/util/zip/ZipEntry.java (cal): Don't initialize.
        (time): Removed
        (dostime): New field.
        (zipFileIndex): Removed.
        (ZipEntry(ZipEntry)): Copy dostime.
        (setDOSTime): Now final and doesn't convert dos time.
        (getDOSTime): Likewise.
        (setTime): Convert dos time.
        (getTime): Likewise.
        (getCalendar): New method.
        (setExtra): Use setTime().
        * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.

From-SVN: r59785
2002-12-03 22:06:31 +00:00
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt ColorModel.java (getUnnormalizedComponents, [...]): Fix calculation which was using one too many bits in the unnormalized format. 2002-11-30 04:51:11 +00:00
beans For PR libgcj/8759: 2002-11-30 04:41:59 +00:00
io Bug compatibility, for PR libgcj/8738: 2002-12-02 21:30:13 +00:00
lang * java/lang/Character.java (forDigit): Formatting fix. 2002-12-03 20:13:43 +00:00
math [multiple changes] 2002-02-14 23:16:11 +00:00
net natPlainDatagramSocketImpl.cc (socklen_t): Don't define. 2002-11-26 20:09:28 +00:00
nio 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 12:32:17 +00:00
rmi backport: MarshalledObject.java (equals): Check hashcode first. 2002-11-07 18:01:05 +00:00
security DSAParameterSpec.java (getP): Return p, not q. 2002-12-03 18:46:59 +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 JarFile.java (manifest): Not final. 2002-12-03 22:06:31 +00:00