diff options
author | Mark Wielaard <mark@klomp.org> | 2002-12-03 22:06:31 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2002-12-03 22:06:31 +0000 |
commit | 9c1180ea42444a74342889f3322d38cbbd08ae2e (patch) | |
tree | 730056898d88a253ce543c7b06b7c20328b734b8 /gcc/config | |
parent | 6e1be6b19c65ea41fa3772c835477d59429f94a3 (diff) | |
download | gcc-9c1180ea42444a74342889f3322d38cbbd08ae2e.zip gcc-9c1180ea42444a74342889f3322d38cbbd08ae2e.tar.gz gcc-9c1180ea42444a74342889f3322d38cbbd08ae2e.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
0 files changed, 0 insertions, 0 deletions