summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-12-23 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-2336-417/+920
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-12-23 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-233-0/+70
| | | | | * java/rmi/server/RMIClassLoaderSpi.java: New abstract class.
* 2002-12-23 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-235-4/+16
| | | | | | | | | | | * 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.
* * java/net/URLClassLoader.java (getCanonicalFileURL): Make sure thatMark Wielaard2002-12-232-2/+22
| | | | | if the original file part of the URL ended with a separator that the canonical version also ends with a separator.
* 2002-12-21 Eric Blake <ebb9@email.byu.edu>Eric Blake2002-12-212-3/+9
| | | | | | * java/util/TreeMap.java (fabricateTree): Fix off-by-one error. (TreeIterator.remove): Prefer IllegalStateException over ConcurrentModificationException, to match Sun.
* 2002-12-21 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-212-1/+6
| | | | | * java/nio/channels/FileChannel.java (force): Added throws IOException.
* 2002-12-21 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-214-3/+17
| | | | | | | | | * java/net/URI.java (create): Doesnt throw URISyntaxException. * java/net/URLConnection.java (guessContentTypeFromName): Made public. * java/nio/MappedByteBuffer.java (MappedByteBuffer): added @author and @since.
* 2002-12-21 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-214-61/+72
| | | | | | | | | * java/net/SocketPermission.java: Reindented. * java/net/URLDecoder.java (decode): Added throws IOException. * java/nio/channels/FileLock.java (release): Added throws IOException.
* 2002-12-21 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-2113-35/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * BUGS: updated Savannah URLBrian Jones2002-12-2114-2/+1573
| | | | | | | | | | | | | | | | | | | | * 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
* 2002-12-20 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-202-0/+20
| | | | | | * gnu/java/nio/FileChannelImpl.java (read): New method. (write): New method.
* 2002-12-20 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-208-832/+66
| | | | | | | | | | | | | | | * 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.
* 2002-12-29 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-208-189/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Compile fixMichael Koch2002-12-191-4/+0
|
* 2002-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-192-13/+37
| | | | | | | | | | | | | * 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.
* 2002-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-194-15/+298
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-193-31/+118
| | | | | | | | | | | | | | | | | | * 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.
* * java/lang/System.java: delegated native calls to VMSystemJohn Leuner2002-12-187-79/+144
| | | | | | | | | | | 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/reflect/Method.java: Fixed javadocJohn Leuner2002-12-184-45/+58
| | | | | | | | | * 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/license.wml: link->createlink conversion.Brian Jones2002-12-1713-75/+254
| | | | | | | | | | | | | | | | | | * 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
* *** empty log message ***Sascha Brawer2002-12-171-0/+8
|
* Fix a dependency on the order in which the JVM chooses to initializeSascha Brawer2002-12-171-7/+19
| | | | | | | | 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/home.wml: link to docs directoryBrian Jones2002-12-175-4/+100
| | | | | | * 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
* * java/math/BigInteger.java (euclidInv): Make sure quot and rem are inMark Wielaard2002-12-152-0/+12
| | | | | canonical form after divide(). (modInverse): Likewise.
* 2002-12-13 Casey Marshall <rsdio@metastatic.org>Mark Wielaard2002-12-132-87/+121
| | | | | | | | | | | | | 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.
* 2002-12-13 Casey Marshall <rsdio@metastatic.org>Mark Wielaard2002-12-133-4/+12
| | | | | | | | * 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/home.wml: point doc URLs to docsBrian Jones2002-12-132-3/+4
|
* * doc/www.gnu.org/docs/Makefile: publish to docs directoryBrian Jones2002-12-132-1/+2
|
* * doc/www.gnu.org/doc: moved to doc/www.gnu.org/docsBrian Jones2002-12-135-2/+8
| | | | | | * doc/www.gnu.org/docs: new directory * doc/www.gnu.org/Makefile: SUBDIRS reflect new docs directory, copy texi2html output to the correct directory
* * java/lang/ClassLoader.java (defineClass): Now synchronized.Tom Tromey2002-12-122-3/+9
| | | | (findLoadedClass): Likewise.
* 2002-12-10 Mark Wielaard <mark@klomp.org>Tom Tromey2002-12-112-21/+55
| | | | | | | | | | | | 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.
* * java/net/URLClassLoader.java: Reindent and other formatting fixes.Mark Wielaard2002-12-082-37/+55
|
* * java/util/ResourceBundle.java (resourceBundleCache): Not final.Mark Wielaard2002-12-082-5/+24
| | | | | | (lastDefaultLocale): New field. (getBundle): When Locale.getDefault != lastDefaultLocale reset resourceBundleCache.
* 2002-12-05 Dalibor Topic <robilad@yahoo.com>Tom Tromey2002-12-052-1/+4
| | | | * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
* * gnu/java/net/protocol/file/Handler.java (toExternalForm): make URL format ↵John Leuner2002-12-053-5/+13
| | | | | | | | like that produced by SUN JVM * java/net/URLStreamHandler.java: ditto Changes from Julian Dolby
* 2002-12-03 Jeroen Frijters <jeroen@sumatra.nl>Mark Wielaard2002-12-056-8/+26
| | | | | | | | | | | | | | | | | * 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.
* 2002-12-01 Julian Dolby <dolby@us.ibm.com>Tom Tromey2002-12-052-2/+6
| | | | * java/text/CollationElementIterator.java (next):
* * java/net/SocketPermission.java (hashCode): Rewrote.Tom Tromey2002-12-052-7/+10
|
* 2002-12-03 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-034-14/+79
| | | | | | | | | | | | | | | * 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.
* 2002-12-03 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-038-113/+1001
| | | | | | | | | | | | | | | | | * 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.
* * native/jni/classpath/native_state.c (add_node): Never create aTom Tromey2002-12-035-21/+31
| | | | | | | | | | 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.
* 2002-12-01 Mark Wielaard <mark@klomp.org>Mark Wielaard2002-12-026-11/+91
| | | | | | | | | | | | | | | | | | * 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.
* Bug compatibility:Tom Tromey2002-12-012-28/+16
| | | | | | | | | | * 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.
* 2002-11-29 Scott Gilbertson <scottg@mantatest.com>Tom Tromey2002-11-302-2/+8
| | | | | | * java/awt/image/ColorModel.java (getUnnormalizedComponents, getNormalizedComponents): Fix calculation which was using one too many bits in the unnormalized format.
* 2002-11-29 Gary Benson <gbenson@redhat.com>Tom Tromey2002-11-302-1/+32
| | | | | * java/beans/Introspector.java (flushCaches): New method. (flushFromCaches): Likewise.
* * java/net/InetAddress.java (toString): Convert signed byte toMark Wielaard2002-11-293-2/+12
| | | | | | | unsigned int. * native/jni/java-net/java_net_InetAddress.c (getHostByName): FindClass "[B", not "[I".
* Merge patches from Julian Dolby <dolby@us.ibm.com>Mark Wielaard2002-11-297-34/+76
| | | | | | | | | | | | | | | | | | * 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.
* * java/util/jar/JarFile.java (manifest): Not final.Mark Wielaard2002-11-295-127/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * javax/transaction/Makefile.am (SUBDIRS): Add transaction.Mark Wielaard2002-11-291-1/+1
|
* 2002-11-27 Julian Dolby <dolby@us.ibm.com>Tom Tromey2002-11-271-0/+5
| | | | | * java/util/Locale.java (toString): Improve efficiency if country and variant are both empty.