| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Adjustable.java
(HORIZONTAL): Made static final.
(VERTICAL): Made static final.
(NO_ORITENTATION): Made static final.
* java/awt/AlphaComposite.java
(getInstance): Documentation added.
* java/awt/BasicStroke.java
(BasicStroke): Documentation added, reformated code.
* java/awt/CheckboxMenuItem.java
(CheckboxMenuItem): Throw HeadlessException,
added exception documentation.
* java/awt/Choice.java
(Choice): Throw exception, added documentation.
(add): Throw NullPointerException instead of IllegalArgumentException,
added some documentation.
(addItem): Added some documentation.
(insert): Throw exception, added documentation.
* java/awt/Container.java:
Made some documentation looking better.
(getListeners): Added documentation.
(setFocusTraversalKeys): Throw exception.
(getFocusTraversalKeys): Throw exception.
(areFocusTraversalKeys): Throw exception.
* java/awt/Cursor.java
(Cursor): Added documentation.
(getSystemCustomCursor): Throw exception, added documentation.
* java/awt/EventQueue.java
(postEvent): Added documentation.
(invodeAndWait): Added documentation.
(push): Added documentation.
(pop): Added documentation.
(dispatchEvent): Added documentation.
* java/awt/FileDialog.java
(FileDialog): Call setMode() instead of code duplication,
added documentation.
(setMode): Added documentation.
* java/awt/Label.java
(Label): Throw exception, added documentation.
* java/awt/List.java
(List): Throw exception, added documentation.
* java/awt/Menu.java
(Menu): Throw exception, added documentation.
* java/awt/MenuBar.java
(MenuBar): Throw exception, added documentation.
* java/awt/MenuComponent.java
(MenuComponent): Throw exception, added documentation.
* java/awt/PopupMenu.java
(PopupMenu): Throw exception, added documentation.
* java/awt/ScrollPane.java
(ScrollPane): Throw exception, added documentation.
* java/awt/Scrollbar.java
(Scrollbar): Throw exception, added documentation.
* java/awt/TextArea.java
(TextArea): Throw exception, added documentation.
* java/awt/TextField.java
(TextField): Throw exception, added documentation.
* java/awt/Transparency.java
(OPAQUE): Made static final.
(BITMASK): Made static final.
(TRANSLUCENT): Made static final.
* java/awt/color/CMMException.java:
(CMMException): Extends RuntimeException not Exception.
* java/awt/color/ColorSpace.java
(ColorSpace): Implements Serializable.
* java/awt/color/ICC_Profile.java
(write): Throws IOException.
* java/awt/color/ProfileDataException.java
(ProfileDataException): Extends RuntimeException not Exception.
* java/awt/datatransfer/Clipboard.java
(getContents): Added documentation.
(setContents): Added documentation.
* java/awt/datatransfer/DataFlavor.java
(DataFlavor): Added documentation.
(isMimeTypeEqual): Added documentation.
(clone): Added documentation.
(readExternal): Added documentation.
(writeExternal): Added documentation.
* java/awt/datatransfer/SystemDataFlavor.java:
Reintented, Reformated.
(SystemDataFlavor): Added implements FlavorTable.
(getFalvorsForNative): New stubbed method.
(getNativesForFlavor): New stubbed method.
* java/awt/dnd/DragGestureEvent.java
(startDrag): Added documentation.
* java/awt/dnd/DragGestureRecognizer.java
(addDragGestureListener): Added documentation.
* java/awt/dnd/DragSource.java
(DragSource): Throw exception, documentation added.
(getDefaultDragSource): Added documentation.
(startDrag): Added documentation.
(createDragSourceContext): Added documentation.
* java/awt/dnd/DropTarget.java
(DropTarget): Implements DropTargetListener, EventListener,
Serializable.
(isActive): New member variable to save state.
(setActive): Implemented.
(isActive): Implemented.
* java/awt/geom/PathIterator.java:
Fixed two documentations to be HTML conform.
|
|
|
|
|
| |
* java/rmi/server/RMIClassLoaderSpi.java:
New abstract class.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/reflect/Proxy.java
(h): This member was never final in any jdk release.
* java/awt/Graphics2D.java
(drawImage): Fixed Arguments.
* java/awt/event/WindowEvent.java
(WINDOW_LAST): Constant value must be 209, not 207.
* java/awt/im/InputMethodHighlight.java
(getStyle): Fixed typo.
|
|
|
|
|
| |
if the original file part of the URL ended with a separator that the
canonical version also ends with a separator.
|
|
|
|
|
|
| |
* java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
(TreeIterator.remove): Prefer IllegalStateException over
ConcurrentModificationException, to match Sun.
|
|
|
|
|
| |
* java/nio/channels/FileChannel.java
(force): Added throws IOException.
|
|
|
|
|
|
|
|
|
| |
* java/net/URI.java
(create): Doesnt throw URISyntaxException.
* java/net/URLConnection.java
(guessContentTypeFromName): Made public.
* java/nio/MappedByteBuffer.java
(MappedByteBuffer): added @author and @since.
|
|
|
|
|
|
|
|
|
| |
* java/net/SocketPermission.java:
Reindented.
* java/net/URLDecoder.java
(decode): Added throws IOException.
* java/nio/channels/FileLock.java
(release): Added throws IOException.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/HttpURLConnection.java
(HTTP_NOT_IMPLEMENTED): Must be public.
* java/net/ServerSocket.java
(closed): New member variable.
(bind): Throw exception if socket is closed.
(close): Set new member variable, close associated channel too.
(isClosed): New method.
* java/net/Socket.java
(closed): New member variable.
(bind): Throw exception if socket is closed.
(connect): Throw exception if socket is closed.
(close): Set new member variable, close associated channel too.
(isClosed): New method.
* java/nio/channels/DatagramChannel.java
(connect): Added throws IOException.
(disconnect): Added throws IOException.
(read): Added throws IOException.
(write): Added throws IOException.
(receive): Added throws IOException.
* java/nio/channels/Pipe.java
(open): Added throws IOException.
* java/nio/channels/SelectableChannel.java
(configureBlocking): Added throws IOException.
* java/nio/channels/SelectionKey.java
(OP_ACCEPT): Fix constant value.
(OP_CONNECT): Fix constant value.
(OP_READ): Fix constant value.
(OP_WRITE): Fix constant value.
* java/nio/channels/ServerSocketChannel.java
(accept): Added throws IOException.
* java/nio/channels/SocketChannel.java
(SocketChannel): Fixed implements.
(read): Added throws IOException.
(write): Added throws IOException.
(finishConnect): Added throws IOException.
* java/nio/channels/spi/AbstractInterruptibleChannel.java
(end): Added throws AsynchronousCloseException.
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Added throws IOException.
(implCloseChannel): Added throws IOException.
(implCloseSelectableChannel): Added throws IOException.
(implConfigureBlocking): Added throws IOException.
* java/nio/channels/spi/SelectorProvider.java
(openDatagramChannel): Added throws IOException.
(openPipe): Added throws IOException.
(openSelector): Added throws IOException.
(openServerSocketChannel): Added throws IOException.
(openSocketChannel): Added throws IOException.
(provider): Merge with libgcj.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/api: new directory
* doc/api/.cvsignore: new file
* doc/api/classpath-copyright.xml: new directory
* doc/api/Makefile.am: new file
* configure.in: added doc/api/Makefile to output, include
CLASSPATH_ENABLE_GJDOC
* acinclude.m4: added function CLASSPATH_ENABLE_GJDOC
* doc/Makefile.am: added api to SUBDIRS
* doc/xslt: new directory
* doc/xslt/gjdocxml2html.xsl: new file
* doc/xslt/common: new directory
* doc/xslt/common/gjdochtml.css: new file
* doc/xslt/common/images: new directory
* doc/xslt/common/images/tree-branch.png: new file
* doc/xslt/common/images/tree-empty.png: new file
* doc/xslt/common/images/tree-final-node.png: new file
* doc/xslt/common/images/tree-node.png: new file
|
|
|
|
|
|
| |
* gnu/java/nio/FileChannelImpl.java
(read): New method.
(write): New method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/nio/CharBufferImpl.java
gnu/java/nio/DoubleBufferImpl.java
gnu/java/nio/FileChannelImpl.java
gnu/java/nio/FloatBufferImpl.java
gnu/java/nio/IntBufferImpl.java
gnu/java/nio/LongBufferImpl.java
gnu/java/nio/ShortBufferImpl.java:
(nio_cast): Removed.
(*BufferImpl): Removed.
(nio_get_*): Removed.
(get_put_*): Removed.
(as*Buffer): Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/nio/ByteBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
* java/nio/CharBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
* java/nio/DoubleBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
(order): Must not be final.
(asShortBuffer): Removed.
(asCharBuffer): Removed.
(asIntBuffer): Removed.
(asLongBuffer): Removed.
(asFloatBuffer): Removed.
(asDoubleBuffer): Removed.
(getChar): Removed.
(putChar): Removed.
(getShort): Removed.
(putShort): Removed.
(getInt): Removed.
(putInt): Removed.
(getLong): Removed.
(putLong): Removed.
(getFloat): Removed.
(putFloat): Removed.
(getDouble): Removed.
(putDouble): Removed.
* java/nio/FloatBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
(order): Must not be final.
(asShortBuffer): Removed.
(asCharBuffer): Removed.
(asIntBuffer): Removed.
(asLongBuffer): Removed.
(asFloatBuffer): Removed.
(asDoubleBuffer): Removed.
(getChar): Removed.
(putChar): Removed.
(getShort): Removed.
(putShort): Removed.
(getInt): Removed.
(putInt): Removed.
(getLong): Removed.
(putLong): Removed.
(getFloat): Removed.
(putFloat): Removed.
(getDouble): Removed.
(putDouble): Removed.
* java/nio/IntBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
(order): Must not be final.
(asShortBuffer): Removed.
(asCharBuffer): Removed.
(asIntBuffer): Removed.
(asLongBuffer): Removed.
(asFloatBuffer): Removed.
(asDoubleBuffer): Removed.
(getChar): Removed.
(putChar): Removed.
(getShort): Removed.
(putShort): Removed.
(getInt): Removed.
(putInt): Removed.
(getLong): Removed.
(putLong): Removed.
(getFloat): Removed.
(putFloat): Removed.
(getDouble): Removed.
(putDouble): Removed.
* java/nio/LongBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
(order): Must not be final.
(asShortBuffer): Removed.
(asCharBuffer): Removed.
(asIntBuffer): Removed.
(asLongBuffer): Removed.
(asFloatBuffer): Removed.
(asDoubleBuffer): Removed.
(getChar): Removed.
(putChar): Removed.
(getShort): Removed.
(putShort): Removed.
(getInt): Removed.
(putInt): Removed.
(getLong): Removed.
(putLong): Removed.
(getFloat): Removed.
(putFloat): Removed.
(getDouble): Removed.
(putDouble): Removed.
* java/nio/ShortBuffer.java:
Implements Comparable.
(get): Must not be final.
(put): Must not be final.
(order): Must not be final.
(asShortBuffer): Removed.
(asCharBuffer): Removed.
(asIntBuffer): Removed.
(asLongBuffer): Removed.
(asFloatBuffer): Removed.
(asDoubleBuffer): Removed.
(getChar): Removed.
(putChar): Removed.
(getShort): Removed.
(putShort): Removed.
(getInt): Removed.
(putInt): Removed.
(getLong): Removed.
(putLong): Removed.
(getFloat): Removed.
(putFloat): Removed.
(getDouble): Removed.
(putDouble): Removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/DatagramSocket.java
(remoteAddress): Renamed from remote_addr.
(remotePort): Renamed from remote_port.
(getSoTimeout): Throw exception
if not initialized socket successfully.
(getSendBufferSize): Throw exception
if not initialized socket successfully.
(getReceiveBufferSize): Throw exception
if not initialized socket successfully.
(receive): Added SecurityManager check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/DatagramSocket.java
(factory): New member to store default DatagramSocketFactory object.
(bind): New method.
(getChannel): New method.
(connect): New method.
(isBound): New method.
(isConnected): New method.
(getRemoteSocketAddress): New method.
(getLocalSocketAddress): New method.
(setReuseAddress): New method.
(getReuseAddress): New method.
(setBroadcast): New method.
(getBroadcast): New method.
(setTrafficClass): New method.
(getTrafficClass): New method.
(setDatagramSocketImplFactory): New method.
* java/net/HttpURLConnection.java
(HTTP_INTERNAL_ERROR): Code number is 500, not 501.
* java/net/ServerSocket.java
(bind): Simply call sister method instead of implementing
it a second time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/DatagramSocket.java
(ch): New member variable to store associated datagram channel.
(DatagramSocket): Added/fixed documentation.
(close): Fixed documentation.
(getPort): Fixed documentation.
(getLocalAddress): Fixed documentation.
(getLocalPort): Fixed documentation.
(getSoTimeout): Fixed documentation, remove unneeded parenthesis.
(setSendBufferSize): Added exception documentation.
(setReceiveBufferSize): Added exception documentation.
(send): Added/fixed documentation.
* java/net/MulticastSocket.java
(setInterface): Moved around, fixed documentation.
(setLoopbackMode): New method.
(getLoopbackMode): New method.
|
|
|
|
|
|
|
|
|
|
|
| |
added three new calls VMSystem.makeStandardxxxStream
* vm/reference/java/lang/VMSystem.java: added 3 methods for default
implementation of makeStandardxxxStream
* native/jni/java-lang/Makefile.am (libjavalang_la_SOURCES): changed System to VMSystem
* native/jni/java-lang/java_lang_VMSystem.c: Added this file (copied from System.c)
* native/jni/java-lang/java_lang_System.c: Deleted this file
* include/java_lang_VMSystem.h: Added this file
* include/java_lang_System.h: Deleted this file
|
|
|
|
|
|
|
|
|
| |
* vm/reference/java/lang/VMClassLoader.java: copied code from ClassLoader
for getSystemClassLoader
* java/lang/ClassLoader.java: Delegate getSystemClassLoader
to VMClassLoader
(From Julian Dolby)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/www.gnu.org/docs/orp.wml: link->createlink conversion.
* doc/www.gnu.org/docs/redistribution.wml: link->createlink conversion.
* doc/www.gnu.org/docs/docs.wml: fix link to hacking doc,
link->createlink conversion.
* doc/www.gnu.org/announce/19990206.wml: link->createlink conversion.
* doc/www.gnu.org/announce/20001120.wml: link->createlink conversion.
* doc/www.gnu.org/announce/20010106.wml: link->createlink conversion.
* doc/www.gnu.org/announce/20020208.wml: link->createlink conversion.
* doc/www.gnu.org/announce/announcements.wml: link->createlink
conversion.
* doc/www.gnu.org/savannah.css: new file
* doc/www.gnu.org/include/macros.wml: rename 'link' tag 'createlink'
* doc/www.gnu.org/home.wml: link to cp-tools sub-project,
link->createlink conversion.
* doc/www.gnu.org/Makefile: copy *.css to webroot when publishing
|
| |
|
|
|
|
|
|
|
|
| |
the mutually dependent classes java.util.logging.LogManager and
java.util.logging.Logger.
Thanks to Sergio Freire <sergio-s-freire@ptinovacao.pt> for reporting
the bug which would only occur on GCJ 3.2, not on the Sun 1.3.1 JVM.
|
|
|
|
|
|
| |
* doc/www.gnu.org/docs/docs.wml: new file
* doc/www.gnu.org/docs/redistribution.wml: new file
* doc/www.gnu.org/docs/license.wml: new file
|
|
|
|
|
| |
canonical form after divide().
(modInverse): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark Wielaard <mark@klomp.org>
* java/security/SecurityRandom (digest): Removed field.
(SecureRandom): Check all providers for case-insensitive SecureRandom
implementation. Don't ignore classname == null. Fallback to SHA1PRNG
if necessary.
(getInstance(String,Provider,boolean): New method.
(getInstance(String)): Use new method.
(getInstance(String,String)): Likewise.
(getInstance(String,Provider)): Likewise.
|
|
|
|
|
|
|
|
| |
* java/security/Security.java (loadProviders): Increment i only once.
2002-12-12 Archie Cobbs <archie@dellroad.org>
* java/io/LineNumberReader.java: Don't use PushbackReader.
|
| |
|
| |
|
|
|
|
|
|
| |
* doc/www.gnu.org/docs: new directory
* doc/www.gnu.org/Makefile: SUBDIRS reflect new docs directory, copy
texi2html output to the correct directory
|
|
|
|
| |
(findLoadedClass): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (getCanonicalFileURL): New method.
(JarURLLoader): Use it.
(FileURLLoader): Likewise.
(JarURLResource.getURL): Use chained exception.
(FileResource.getURL): Likewise.
(FileURLLoader.getResource): Use canonical file name.
(addURL): Indentation fix.
|
| |
|
|
|
|
|
|
| |
(lastDefaultLocale): New field.
(getBundle): When Locale.getDefault != lastDefaultLocale reset
resourceBundleCache.
|
|
|
|
| |
* gnu/java/nio/SocketChannelImpl.java: Removed unused import.
|
|
|
|
|
|
|
|
| |
like that produced by SUN JVM
* java/net/URLStreamHandler.java: ditto
Changes from Julian Dolby
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/SystemClassLoader.java (getResource): Renamed to
findResource and made protected.
(findResource): New protected method renamed from getResource.
(systemGetResource): Renamed to systemFindResource and made private.
(systemFindResource): New private methods renamed from
systemGetResource.
* THANKYOU: Added Jeroen.
2002-12-03 Raif Naffah <raif@fl.net.au>
* java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
* java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
* java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
|
|
|
|
| |
* java/text/CollationElementIterator.java (next):
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/nio/SocketChannelImpl.java:
Use native methods instead of dummy methods.
* java/nio/channels/DatagramChannel.java
(connect): Added exception documentation.
(receive): Added exception documentation.
(send): Added exception documentation.
* java/nio/channels/SocketChannel.java
(open): Added exception documentation.
(read): Added exception documentation.
(write): Added exception documentation.
(connect): Added exception documentation.
(finishConnect): Added exception documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/nio/ByteBufferImpl.java
Reformated.
* gnu/java/nio/CharBufferImpl.java
Reformated.
* gnu/java/nio/DoubleBufferImpl.java
Reformated.
* gnu/java/nio/FloatBufferImpl.java
Reformated.
* gnu/java/nio/IntBufferImpl.java
Reformated.
* gnu/java/nio/LongBufferImpl.java
Reformated.
* gnu/java/nio/ShortBufferImpl.java
Reformated.
|
|
|
|
|
|
|
|
|
|
| |
loop in the linked list.
* gnu/java/awt/peer/gtk/GdkGraphics.java (native_state): Use
GtkGenericPeer.getUniqueInteger.
* gnu/java/awt/peer/gtk/GdkFontMetrics.java (native_state): Use
GtkGenericPeer.getUniqueInteger.
* gnu/java/awt/peer/gtk/GtkGenericPeer.java (getUniqueInteger): No
longer private.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/java-net/java_net_InetAddress.c (getHostByName):
JCL_ThrowException takes hostname, not host.
* native/jni/java-net/javanet.c (_javanet_set_remhost_addr): New
method.
(_javanet_set_remhost): Use new method.
(_javanet_connect): Likewise.
* java/net/InetAddress.java (toString): Include hostname or alias if
known, but don't lookup.
* java/net/Socket.java (setSocketImplFactory): Throw SocketException
when fac == null.
2002-12-01 Julian Dolby <dolby@us.ibm.com>
* native/jni/java-net/java_net_PlainSocketImpl.c (available):
Implement.
|
|
|
|
|
|
|
|
|
|
| |
* java/io/CharArrayWriter.java (close): Do nothing.
(flush): Likewise.
(reset): Don't touch `closed'.
(write(int)): Don't throw IOException.
(write(char[],int,int)): Likewise.
(write(String,int,int)): Likewise.
(closed): Removed.
|
|
|
|
|
|
| |
* java/awt/image/ColorModel.java (getUnnormalizedComponents,
getNormalizedComponents): Fix calculation which was using one too
many bits in the unnormalized format.
|
|
|
|
|
| |
* java/beans/Introspector.java (flushCaches): New method.
(flushFromCaches): Likewise.
|
|
|
|
|
|
|
| |
unsigned int.
* native/jni/java-net/java_net_InetAddress.c (getHostByName):
FindClass "[B", not "[I".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/io/File.java (File(File, String)): Only add separator when
dirpath is not a root dir.
(File(String, String)): Call this(File, String).
(File(String)): Remove all trailing separators when not root dir.
(canWrite): Return null when no separator is found in path.
If a directory then check that we can create and delete temp file.
(list): Return null when file not exists or is not a dir.
Return empty array when listInternal returns null.
* java/io/FileInputStream.java(open): Throws FileNotFoundException.
* java/io/FileOutputStream.java (FileOutputStream): Likewise.
(open): Likewise.
* native/jni/java-io/java_io_FileOutputStream.c (open): Likewise.
* native/jni/java-io/javaio.c (_javaio_close): Check that fd != -1.
* THANKYOU: Add Julian Dolby.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
| |
* java/util/Locale.java (toString): Improve efficiency if country
and variant are both empty.
|