aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2002-12-07InetAddress.java (toString): Use hostname when not null, don't do an ↵Mark Wielaard2-7/+11
explicit reverse getHostName() lookup. * java/net/InetAddress.java (toString): Use hostname when not null, don't do an explicit reverse getHostName() lookup. * java/net/Socket.java (setSocketImplFactory): When fac == null throw NullPointerException. From-SVN: r59902
2002-12-05Class.h (_Jv_SetVTableEntries): Updated declaration.Tom Tromey2-23/+50
* java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration. * resolve.cc: Don't include AbstractMethodError.h. (_Jv_abstractMethodError): Removed. * defineclass.cc (handleMethodsBegin): Initialize method index to -1. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set method index for "new" final method. (_Jv_SetVTableEntries): Compare index against -1 instead of using isVirtualMethod. Added `flags' argument. (_Jv_MakeVTable): Throw exception for abstract method in concrete class. From-SVN: r59847
2002-12-05* java/net/SocketPermission.java (hashCode): Rewrote.Tom Tromey1-7/+6
From-SVN: r59843
2002-12-05Makefile.in: Rebuilt.Tom Tromey4-48/+93
* Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natVMSecurityManager, natResourceBundle. * java/util/ResourceBundle.java (Security): Removed. (getCallingClassLoader): Now native. * java/util/natResourceBundle.cc: New file. * java/lang/natVMSecurityManager.cc: New file. * java/lang/VMSecurityManager.java (getClassContext): Now native. From-SVN: r59840
2002-12-03JarFile.java (manifest): Not final.Mark Wielaard4-128/+180
* 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* java/lang/Character.java (forDigit): Formatting fix.Tom Tromey1-2/+2
From-SVN: r59781
2002-12-03DSAParameterSpec.java (getP): Return p, not q.Raif Naffah3-3/+3
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. From-SVN: r59779
2002-12-03natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.Andrew Haley1-97/+0
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. From-SVN: r59770
2002-12-03natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.Andrew Haley4-9/+88
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. 2002-12-03 Andrew Haley <aph@redhat.com> * class.c (make_class_data): New field, "chain". * decl.c (java_init_decl_processing): Likewise. From-SVN: r59769
2002-12-02Bug compatibility, for PR libgcj/8738:Tom Tromey1-28/+5
* 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. From-SVN: r59743
2002-12-01SecurityManager.java: Remerge comments, indenting and checkXXX methods with ↵Mark Wielaard1-688/+951
Classpath. * java/lang/SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath. From-SVN: r59685
2002-11-30ColorModel.java (getUnnormalizedComponents, [...]): Fix calculation which ↵Scott Gilbertson1-2/+2
was using one too many bits in the unnormalized format. 2002-11-29 Scott Gilbertson <scottg@mantatest.com> * java/awt/image/ColorModel.java (getUnnormalizedComponents, getNormalizedComponents): Fix calculation which was using one too many bits in the unnormalized format. From-SVN: r59651
2002-11-30For PR libgcj/8759:Gary Benson1-1/+27
2002-11-29 Gary Benson <gbenson@redhat.com> For PR libgcj/8759: * java/beans/Introspector.java (flushCaches): New method. (flushFromCaches): Likewise. From-SVN: r59650
2002-11-292002-11-29 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+109
* java/nio/channels/DatagramChannel.java (open): Added exception documentation. (write): Added exception documentation. (connect): Added exception documentation. (disconnect): Added exception documentation. (isConnected): Added exception documentation. (read): Added exception documentation. (receive): Added exception documentation. (send): Added exception documentation. (validOps): 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. From-SVN: r59633
2002-11-27Locale.java (toString): Improve efficiency if country and variant are both ↵Julian Dolby1-0/+2
empty. 2002-11-27 Julian Dolby <dolby@us.ibm.com> * java/util/Locale.java (toString): Improve efficiency if country and variant are both empty. From-SVN: r59590
2002-11-26natPlainDatagramSocketImpl.cc (socklen_t): Don't define.Andreas Tobler2-6/+0
2002-11-26 Andreas Tobler <a.tobler@schweiz.ch> * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't define. * java/net/natPlainSocketImpl.cc (socklen_t): Don't define. * include/posix.h (socklen_t): Define if not already defined. From-SVN: r59533
2002-11-22URL.java: Merge with Classpath (partly).Mark Wielaard2-165/+469
* java/net/URL.java: Merge with Classpath (partly). * java/net/URLStreamHandler: Merge with Classpath. From-SVN: r59378
2002-11-21AsynchronousCloseException.java, [...]: New files.Michael Koch14-0/+730
2002-11-21 Michael Koch <konqueror@gmx.de> * java/nio/channels/AsynchronousCloseException.java, java/nio/channels/CancelledKeyException.java, java/nio/channels/ClosedByInterruptException.java, java/nio/channels/ConnectionPendingException.java, java/nio/channels/FileLockInterruptionException.java, java/nio/channels/IllegalSelectorException.java, java/nio/channels/NoConnectionPendingException.java, java/nio/channels/NonReadableChannelException.java, java/nio/channels/NonWritableChannelException.java, java/nio/channels/NotYetBoundException.java, java/nio/channels/NotYetConnectedException.java, java/nio/channels/OverlappingFileLockException.java, java/nio/channels/UnresolvedAddressException.java, java/nio/channels/UnsupportedAddressTypeException.java: New files. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r59341
2002-11-21Forgot to add to cvs command lineMichael Koch2-85/+35
From-SVN: r59340
2002-11-212002-11-21 Michael Koch <konqueror@gmx.de>Michael Koch1-7/+6
* include/posix.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_platform_close_on_exec): Prefixed system function with "::". (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * include/win32.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * java/net/natNetworkInterface.cc: Include platform.h, removed inclusion of socket.h (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and ::close() by _Jv_close(). * java/net/natPlainDatagramSocketImpl.cc: Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, added some new lines to make code more readable. (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). * java/net/natPlainSocketImpl.cc: Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, removed include of socket.h, removed some windows defines (now in include/win32.h). (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). (write): Replaced ::read by _Jv_write(). (read): Replaced ::read by _Jv_read(). From-SVN: r59338
2002-11-202002-11-20 Michael Koch <konqueror@gmx.de>Michael Koch6-25/+47
* java/io/FileInputStream.java (getChannel): New method. * java/io/FileOutputStream.java (getChannel): New method. * java/net/ServerSocket.java (bind): Removed duplicate code and called another bind method instead. * java/nio/channels/SelectionKey.java (isValid): Removed wrong exception documentation. * java/nio/channels/ServerSocketChannel.java (accept): Added exception documentation. (open): Fixed typo, added exception documentation. * java/nio/channels/spi/AbstractSelectableChannel.java (implCloseChannel): Added exception documentation. (add): Reformated. (register): Added exception documentation. From-SVN: r59307
2002-11-19natReference.cc (add_to_hash): Look at `copy', not `referent'.Tom Tromey2-12/+7
* java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not `referent'. (finalize_referred_to_object): Don't modify `referent' or `copy' fields. (add_to_hash): Correctly set `n->next' when updating list. * java/lang/ref/Reference.java (enqueue): Return false if already enqueued. From-SVN: r59278
2002-11-18CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be ↵Jesse Rosenstock1-1/+1
cached... 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu> * java/nio/charset/CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be cached, not WeakReferences to CoderResults. From-SVN: r59233
2002-11-18KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException ↵Joerg Brunsmann1-6/+39
if given provider is null. 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de> * java/security/KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException if given provider is null. (getInstance): New method for jdk1.4 compatibility. From-SVN: r59226
2002-11-18PlainSocketImpl.java: Fix imports.Michael Koch1-0/+2
2002-11-18 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Fix imports. From-SVN: r59221
2002-11-182002-11-18 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+3
* java/nio/channels/SelectionKey.java (isValid): Added exception documentation. * java/nio/channels/Selector.java (open): Declare "throws IOException". From-SVN: r59219
2002-11-182002-11-17 Jesse Rosenstock <jmr@ugcs.caltech.edu>Jesse Rosenstock1-9/+43
* java/nio/charset/Charset.java (<clinit>): New method. (encode): Synchronize use of cached encoder object. (decode): Synchronize use of cached encoder object. From-SVN: r59218
2002-11-18ByteBufferImpl.java, [...]: New files.Michael Koch6-0/+1261
2002-11-18 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ByteBufferImpl.java, gnu/java/nio/CharBufferImpl.java, gnu/java/nio/DatagramChannelImpl.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/PipeImpl.java, gnu/java/nio/SelectionKeyImpl.java, gnu/java/nio/SelectorImpl.java, gnu/java/nio/SelectorProviderImpl.java, gnu/java/nio/ServerSocketChannelImpl.java, gnu/java/nio/ShortBufferImpl.java, gnu/java/nio/SocketChannelImpl.java, java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java, java/nio/channels/FileChannel.java: New files. From-SVN: r59216
2002-11-18PlainSocketImpl.java: Reworked imports.Michael Koch7-235/+378
2002-11-18 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Reworked imports. * java/net/ServerSocket.java (ServerSocket): Create socket. * java/net/SocketAddress.java: Documentation added. * java/net/natPlainSocketImpl.cc: Reindented. * java/nio/ReadOnlyBufferException.java: New file * java/nio/channels/ClosedChannelException.java: Documentation added. * java/nio/channels/ClosedSelectorException.java: New file. From-SVN: r59214
2002-11-17HttpURLConnection.java ((getPermission): Take port into consideration.Mark Wielaard1-5/+50
* java/net/HttpURLConnection.java ((getPermission): Take port into consideration. (getErrorStream): Implement. From-SVN: r59196
2002-11-17* java/net/HttpURLConnection.java: Merge with GNU Classpath.Mark Wielaard1-53/+323
From-SVN: r59195
2002-11-17Integrate work by Raif S.Mark Wielaard9-117/+316
Integrate work by Raif S. Naffah (raif@fl.net.au) * java/security/DummyKeyPairGenerator.java (clone): New method. * java/security/DummyMessageDigest.java (clone): New method. (engineUpdate): Now public. (engineReset): Likewise. (engineDigest): Likewise. (engineGetDigestLength): New method. * java/security/DummySignature.java (clone): New method. * java/security/KeyPairGenerator.java (provider): Now package private. (getInstance(String)): Use getInstance(String,Provider). (getInstance(String,String): Use getInstance(String,Provider) (getInstance(String,Provider): New method. (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator. * java/security/KeyPairGeneratorSpi.java (clone): New method. * java/security/MessageDigest.java (provider): Now package private. (getInstance(String): Use getInstance(String,Provider). (getInstance(String,String): Use getInstance(String,Provider) (getInstance(String,Provider): New method. * java/security/Provider.java (toCanonicalKey): New method. (get): New method that uses toCanonicalKey(). (put): Use toCanonicalKey(). (remove): Likewise. * java/security/Security.java (insertProviderAt): Provider index is one based, not zero based. (addProvider): Likewise. (removeProvider): Likewise. * java/security/Signature.java (provider): Now package private. (getInstance(String)): Use getInstance(String,Provider). (getInstance(String,String): Use getInstance(String,Provider) (getInstance(String,Provider): New method. (getInstance(String,String,Provider): Don't cast DummySignature. From-SVN: r59179
2002-11-16For PR libgcj/8593:Tom Tromey1-15/+21
* java/util/zip/GZIPInputStream.java (read): Check file size. Look in inflater for remaining input bytes. (read4): Added buf and offset arguments. From-SVN: r59145
2002-11-14AppletContext.java: Fix typo and remove redundant modifiers.Eric Blake1-4/+4
2002-11-12 Eric Blake <ebb9@email.byu.edu> * java/applet/AppletContext.java: Fix typo and remove redundant modifiers. From-SVN: r59112
2002-11-14natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.Tom Tromey1-1/+2
* java/lang/natRuntime.cc (insertSystemProperties): Set gnu.classpath.home. From-SVN: r59108
2002-11-132002-11-13 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+37
* java/nio/ByteBuffer.java (allocate): New method. (wrap): New method. (put): New method. (get): New method. From-SVN: r59082
2002-11-13AlreadyConnectedException.java: Removed unneeded import.Michael Koch9-134/+367
2002-11-13 Michael Koch <konqueror@gmx.de> * java/nio/channels/AlreadyConnectedException.java: Removed unneeded import. (AlreadyConnectedException): Documentation added. * java/nio/channels/Pipe.java (SinkChannel.SinkChannel): Documentation added. (SinkChannel.validOps): New method. (SourceChannel.SourceChannel): Documentation added. (SourceChannel.validOps): New method. (Pipe): Documentation added. (open): Documentation added. (SinkChannel.channel): Documentation added. (SourceChannel.channel): Documentation added. * java/nio/channel/SelectableChannel.java (SelectableChannel): Documentation added. (blockingLock): Documentation added. (configureBlocking):Documentation added. (isBlocking):Documentation added. (isRegistered):Documentation added. (keyFor):Documentation added. (provider):Documentation added. (register): Documentation added. (validOps): Documentation added. * jaba/nio/channels/SelectionKey.java (SelectionKey): Documentation added. (attach): Documentation added. (attachment): Documentation added. (isAcceptable): Documentation added. (isConnetable): Documentation added. (isReadable): Documentation added. (isWritable): Documentation added. (cancel): Documentation added. (channel): Documentation added. (interestOps): Documentation added. (isValid): Documentation added. (readyOps): Documentation added. (selector): Documentation added. * jaba/nio/channels/Selector.java (Selector): Documentation added. (open): Documentation added. (close): Documentation added. (isOpen): Documentation added. (keys): Documentation added. (provider): Documentation added. (select): Documentation added. (selectedKeys): Documentation added. (selectNow): Documentation added. (wakeup): Documentation added. * java/nio/channels/spi/AbstractInterruptibleChannel.java (AbstractInterruptibleChannel): Documentation added. (opened): Default to true; (begin): Documentation added. (close): Set opened to false, documentation added. (isOpen): Documentation added. * java/nio/channels/spi/AbstractSelectionKey.java (AbstractSelectionKey): Documentation added. (cancel): Documentation added. (isValid): Documentation added. * java/nio/channels/spi/AbstractSelector.java (AbstractSelector): Documentation added. (begin): Documentation added. (close): Documentation added. (isOpen): Documentation added. (deregister): Documentation added. (end): Documentation added. (provider): Documentation added. (implCloseSelector): Documentation added. (register): Documentation added. * java/nio/channels/spi/SelectorProvider.java (SelectorProvider): Documentation added. (openDatagramChannel): Documentation added. (openPipe): Documentation added. (openSelector): Documentation added. (openServerSocketChannel): Documentation added. (openSocketChannel): Documentation added. (provider): Documentation added. From-SVN: r59077
2002-11-13Buffer.java: Implemented.Michael Koch11-73/+1944
2002-11-13 Michael Koch <konqueror@gmx.de> * java/nio/Buffer.java: Implemented. * java/nio/CharBuffer.java: New file. * java/nio/InvalidMarkException.java: New file. * java/nio/channels/DatagramChannel.java: Implemented. * java/nio/channels/ServerSocketChannel.java: Implemented. * java/nio/channels/SocketChannel.java: Implemented. * java/nio/channels/spi/AbstractChannel.java: Removed. * java/nio/channels/spi/AbstractSelectableChannel.java: Implemented. * java/nio/charset/Charset.java: Merge from Classpath. * java/nio/charset/CharsetDecoder.java: New file. * java/nio/charset/CharsetEncoder.java: New file. * java/nio/charset/CoderResult.java: New file. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r59075
2002-11-11CharacterCodingException.java: This class must be public.Michael Koch7-27/+46
2002-11-11 Michael Koch <konqueror@gmx.de> * java/nio/charset/CharacterCodingException.java: This class must be public. * java/nio/charset/CoderMalfunctionError.java: This class must be public. * java/nio/charset/CodingErrorAction.java: This class must be public. * java/nio/charset/IllegalCharsetNameException.java: This class must be public, better implementation. * java/nio/charset/MalformedInputException.java: This class must be public, better implementation. * java/nio/charset/UnmappableCharacterException.java: This class must be public, better implementation. * java/nio/charset/UnsupportedCharsetException.java: This class must be public, better implementation. From-SVN: r59012
2002-11-11BufferOverflowException.java, [...]: New file.Michael Koch2-0/+102
2002-11-11 Michael Koch <konqueror@gmx.de> * java/nio/BufferOverflowException.java, java/nio/BufferUnderflowException.java: New file. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r59011
2002-11-11Container.java (validate): Use tree lock.Tom Tromey1-213/+262
* java/awt/Container.java (validate): Use tree lock. (getComponent): Likewise. (getComponents): Likewise. (addImpl): Likewise. (remove): Likewise. (removeAll): Likewise. (processEvent): Fixed indentation. (getComponentAt): Use tree lock. (findComponentAt): Likewise. (removeNotify): Likewise. (isAncestorOf): Likewise. (list): Likewise. (visitChildren): Likewise. (findNextFocusComponent): Likewise. (addNotifyContainerChildren): Likewise. (getAccessibleChildrenCount): Likewise. (getAccessibleChild): Likewise. From-SVN: r59009
2002-11-10GridLayout.java (layoutContainer): Use tree lock.Tom Tromey4-354/+381
* java/awt/GridLayout.java (layoutContainer): Use tree lock. (getSize): Likewise. * java/awt/FlowLayout.java (layoutContainer): Use tree lock. (getSize): Likewise. * java/awt/BorderLayout.java (layoutContainer): Use tree lock. (calcSize): Likewise. * java/awt/CardLayout.java (getSize): Use tree lock. (gotoComponent): Likewise. (layoutContainer): Likewise. From-SVN: r58998
2002-11-10natFileDescriptorWin32.cc (read): Handle case where count is 0.Tom Tromey2-0/+9
* java/io/natFileDescriptorWin32.cc (read): Handle case where count is 0. * java/io/natFileDescriptorPosix.cc (read): Handle case where count is 0. From-SVN: r58997
2002-11-10Externalizable.java, [...]: New versions from Classpath.Tom Tromey9-138/+166
* java/io/Externalizable.java, java/io/FilePermission.java, java/io/ObjectStreamConstants.java, java/io/Serializable.java, java/io/SerializablePermission.java, java/text/Format.java, java/util/AbstractMap.java, java/util/HashMap.java, java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New versions from Classpath. From-SVN: r58996
2002-11-10Attributes.java (Name): Fix name check.Anthony Green1-1/+2
2002-11-10 Anthony Green <green@redhat.com> * java/util/jar/Attributes.java (Name): Fix name check. From-SVN: r58992
2002-11-10natClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as ↵Mark Wielaard2-3/+8
message. * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as message. (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array type as message. * java/lang/natVMThrowable.cc: Don't declare parameter t, it is unused. From-SVN: r58991
2002-11-10GridLayout.java (setColumns): Check newCols, not cols.Tom Tromey1-2/+2
* java/awt/GridLayout.java (setColumns): Check newCols, not cols. (setRows): Check newRows, not rows. From-SVN: r58984
2002-11-10Applet.java, [...]: New versions from Classpath.Tom Tromey22-497/+1121
* java/applet/Applet.java, java/applet/AppletContext.java, java/applet/AppletStub.java, java/applet/AudioClip.java, java/awt/CardLayout.java, java/awt/ContainerOrderFocusTraversalPolicy.java, java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java, java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java, java/awt/GridLayout.java, java/awt/color/ColorSpace.java, java/awt/color/ICC_ColorSpace.java, java/awt/color/ICC_Profile.java, java/awt/color/ICC_ProfileGray.java, java/awt/color/ICC_ProfileRGB.java, java/awt/datatransfer/DataFlavor.java, java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java, java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java: New versions from Classpath. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and ICC_ProfileRGB. From-SVN: r58964
2002-11-09ScrollPane.java (ScrollPane): Fixed test for valid display policy.Tom Tromey1-4/+4
* java/awt/ScrollPane.java (ScrollPane): Fixed test for valid display policy. From-SVN: r58963
2002-11-09List.java (processEvent): Added missing `else's.Tom Tromey2-7/+15
* java/awt/List.java (processEvent): Added missing `else's. * java/awt/Window.java (show): validate() before showing. Make parent displayable. (isDisplayable): New method. From-SVN: r58961