aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java
AgeCommit message (Collapse)AuthorFilesLines
2003-02-11SHA1PRNG.java (ensureIsSeeded): new method used to ensure seeding has ↵Raif S. Naffah1-11/+21
occurred and that a specific seed can be... 2003-02-10 Raif S. Naffah <raif@fl.net.au> * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new method used to ensure seeding has occurred and that a specific seed can be set and used. From-SVN: r62660
2003-01-31Window.java (Window(Window,GraphicsConfiguration)): Don't try to find ↵Tom Tromey39-0/+5308
graphics configuration. * java/awt/Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. * java/awt/Toolkit.java (default_toolkit_name): Use new Configuration entry. * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit): New global. * configure: Rebuilt. * configure.in (TOOLKIT): New subst. (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required. Do AWT tests much earlier. Run Gtk tests. Make jniinclude directory. Make output directories for .c files. * Makefile.in: Rebuilt. * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro. (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary. (all_java_source_files): Added new sources. ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target. (gtk_c_files): New macro. (gtk_c_source_files): New macro. (cond_gtk_ltlibrary): New macro. ($(gtk_c_files)): New target. (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro. (gtk_awt_peer_sources): New macro. (gtk_c_headers): New macro. ($(gtk_c_headers)): New target. (ACLOCAL_AMFLAGS): New macro. * gtk.m4, glib.m4, libart.m4: New files. * gnu/java/awt/peer/gtk/GdkFontMetrics.java, gnu/java/awt/peer/gtk/GdkGraphics.java, gnu/java/awt/peer/gtk/GtkArg.java, gnu/java/awt/peer/gtk/GtkArgList.java, gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkCanvasPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkClipboard.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkDialogPeer.java, gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, gnu/java/awt/peer/gtk/GtkFontPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkGenericPeer.java, gnu/java/awt/peer/gtk/GtkImage.java, gnu/java/awt/peer/gtk/GtkImagePainter.java, gnu/java/awt/peer/gtk/GtkLabelPeer.java, gnu/java/awt/peer/gtk/GtkListPeer.java, gnu/java/awt/peer/gtk/GtkMainThread.java, gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkMenuPeer.java, gnu/java/awt/peer/gtk/GtkOffScreenImage.java, gnu/java/awt/peer/gtk/GtkPanelPeer.java, gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, gnu/java/awt/peer/gtk/GtkToolkit.java, gnu/java/awt/peer/gtk/GtkWindowPeer.java, gnu/java/awt/peer/gtk/TestAWT.java, gnu/java/awt/peer/gtk/Test.java: New files from Classpath. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h, jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h, jni/classpath/jnilink.c, jni/classpath/jnilink.h, jni/classpath/native_state.c, jni/classpath/native_state.h, jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise. From-SVN: r62187
2003-01-03UnicastServerRef.java (unexportObject): Don't throw RemoteException.Dhek Bhun Kho1-2/+2
2003-01-03 Dhek Bhun Kho <bhun@chello.nl> * gnu/java/rmi/server/UnicastServerRef.java (unexportObject): Don't throw RemoteException. * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't throw RemoteException. From-SVN: r60854
2002-11-292002-11-29 Michael Koch <konqueror@gmx.de>Michael Koch5-64/+153
* gnu/java/nio/DatagramChannelImpl: (fd): New member variable to store file descriptor of socket. * gnu/java/nio/SelectionKeyImpl.java: (ops): Removed. (readyOps): New member variable. (interestOps): New member variable. (readyOps): Implemented. (readyOps): New method to set member variable readyOps. (interestOps): Replaced ops by interestOps. * gnu/java/nio/SelectorImpl.java: (SelectorImpl): Initialize key sets. (select): Call select with -1 instead of Long.MAX_VALUE). (java_do_select): Make it a native method. (getFDsAsArray): New helper method. (select): Remove canceled keys, give only interested file discriptors to java_do_select, set ready ops. (add): No need to initialize keys set here. (add_selected): No need to initialize selected set here. (deregisterCanceledKeys): New helper method. (register): Set interest ops, set attachments, added handling of datagram channels. * gnu/java/nio/ServerSocketChannelImpl: (SocketAccept): Renamed from NioSocketAccept. (implConfigureBlocking): Implemented. (accept): Use SocketAccept instead of NioSocketAccept. * gnu/java/nio/SocketChannelImpl: Reactivate native methods. From-SVN: r59632
2002-11-29natByteBufferImpl.cc, [...]: New files that implement native functionalities.Michael Koch10-0/+1208
2002-11-29 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natByteBufferImpl.cc, gnu/java/nio/natCharBufferImpl.cc, gnu/java/nio/natDoubleBufferImpl.cc, gnu/java/nio/natFloatBufferImpl.cc, gnu/java/nio/natIntBufferImpl.cc, gnu/java/nio/natLongBufferImpl.cc, gnu/java/nio/natSelectorImpl.cc, gnu/java/nio/natServerSocketChannelImpl.cc, gnu/java/nio/natShortBufferImpl.cc, gnu/java/nio/natSocketChannelImpl.cc: New files that implement native functionalities. From-SVN: r59625
2002-11-292002-11-29 Michael Koch <konqueror@gmx.de>Michael Koch7-471/+335
* gnu/java/nio/ByteBufferImpl.java (ByteBufferImpl): Moved position() after limit. (nio_*): Use native implementation. * gnu/java/nio/CharBufferImpl.java: Reformated. (endian): New member variable string endianess of buffer. (CharBufferImpl): Moved position() after limit. (nio_*): Use native implementation. (subSequence): Implemented. * gnu/java/nio/DoubleBufferImpl.java (DoubleBufferImpl): Moved position() after limit. (nio_*): Use native implementation. * gnu/java/nio/FloatBufferImpl.java Reformated. (FloatBufferImpl): Moved position() after limit. (nio_*): Use native implementation. * gnu/java/nio/IntBufferImpl.java Added needed imports, Reformated. (IntBufferImpl): Moved position() after limit. (nio_*): Use native implementation. * gnu/java/nio/LongBufferImpl.java Reformated. (LongBufferImpl): Moved position() after limit. (nio_*): Use native implementation. * gnu/java/nio/ShortBufferImpl.java Reformated. (ShortBufferImpl): Moved position() after limit. (nio_*): Use native implementation. From-SVN: r59624
2002-11-18ByteBufferImpl.java, [...]: New files.Michael Koch15-0/+2614
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-11ISO_8859_1.java, [...]: New files.Jesse Rosenstock9-0/+1230
2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu> * gnu/java/nio/charset/ISO_8859_1.java, gnu/java/nio/charset/Provider.java, gnu/java/nio/charset/US_ASCII.java, gnu/java/nio/charset/UTF_16.java, gnu/java/nio/charset/UTF_16BE.java, gnu/java/nio/charset/UTF_16Decoder.java, gnu/java/nio/charset/UTF_16Encoder.java, gnu/java/nio/charset/UTF_16LE.java, gnu/java/nio/charset/UTF_8.java: New files. * Makefile.am (): Added new files. * Makefile.in: Regenerated. From-SVN: r59013
2002-11-07backport: MarshalledObject.java (equals): Check hashcode first.Mark Wielaard13-124/+458
Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com> * java/rmi/MarshalledObject.java (equals): Check hashcode first. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use annotation. (loadClass): Take String as codebases. (getClassAnnotation): Use MyClassLoader annotations. * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject): call exportObject(this). * gnu/java/rmi/RMIMarshalledObjectOutputStream.java (RMIMarshalledObjectOutputStream): set locBytesStream and locStream. (setAnnotation): Don't set locBytesStream and locStream. (replaceObject): Removed. (flush): Don't test locStream. (getLocBytes): LikeWise. * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef. (leaseCache): New field. (dirty): Use leaseCache. (LeaseRecord): New inner class. * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't explicitly call exportObject(). * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to false to communicate with Sun JDK130. * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment. * gnu/java/rmi/server/RMIObjectInputStream.java (UnicastConnectionManager): Removed field. * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject): Use UnicastServer.getExportedRef(). * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field. (expireTime): Likewise. (CONNECTION_TIMEOUT): Likewise. (disconnect): Call sock.close(). (isExpired): New method. (resetTime): Likewise. (run): Use do while loop and catch Exception for discardConnection(). * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections. * gnu/java/rmi/server/UnicastRef.java: Lots of changes. * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes. * gnu/java/rmi/server/UnicastServer.java (refcache): New field. (exportObject): Use refcache. (unexportObject): Likewise. (getExportedRef): New method. * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New constructor. (exportObject): Save manager.serverobj. (getStub): New method. From-SVN: r58900
2002-11-05SHA.java (engineGetDigestLength): Return 20.R. A. Rivas Diaz2-3/+3
2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com> * gnu/java/security/provider/SHA.java (engineGetDigestLength): Return 20. * gnu/java/security/provider/MD5.java (engineGetDigestLength): Return 16. From-SVN: r58807
2002-10-01ObjectInputStream.java (resolveProxyClass): New method from Classpath.Tom Tromey16-47/+798
* java/io/ObjectInputStream.java (resolveProxyClass): New method from Classpath. * Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): Added new files. * gnu/java/rmi/RMIMarshalledObjectInputStream.java, gnu/java/rmi/RMIMarshalledObjectOutputStream.java, gnu/java/rmi/server/ConnectionRunnerPool.java: New files from Classpath. * gnu/java/rmi/dgc/DGCImpl.java, gnu/java/rmi/dgc/DGCImpl_Skel.java, gnu/java/rmi/dgc/DGCImpl_Stub.java, gnu/java/rmi/registry/RegistryImpl_Skel.java, gnu/java/rmi/registry/RegistryImpl_Stub.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/RMIObjectOutputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRef.java, gnu/java/rmi/server/UnicastServer.java, gnu/java/rmi/server/UnicastServerRef.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/rmi/server/RemoteObject.java, java/rmi/server/UnicastRemoteObject.java, java/security/SecureClassLoader.java: Merged from Classpath. From-SVN: r57675
2002-09-30Add Proxy support.Anthony Green1-198/+186
From-SVN: r57635
2002-08-18Thanks to Vladimir Puskas <vpuskas@eunet.yu>Mark Wielaard1-4/+4
Thanks to Vladimir Puskas <vpuskas@eunet.yu> * gnu/java/security/provider/MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783). From-SVN: r56425
2002-08-11Resurrect from Attic as should have been done in original commit.Mark Wielaard2-0/+217
From-SVN: r56207
2002-08-11Reenable patch since shared library troubles on powerpc are solved:Mark Wielaard12-21/+1509
* gnu/java/security/provider/Gnu.java: Reference all implementation classes by using Class.getName(). * gnu/java/security/der/DEREncodingException.java, gnu/java/security/provider/DERReader.java, gnu/java/security/provider/DERWriter.java, gnu/java/security/provider/DSAKeyPairGenerator.java, gnu/java/security/provider/DSAParameterGenerator.java, gnu/java/security/provider/DSAParameters.java, gnu/java/security/provider/DSASignature.java, gnu/java/security/provider/GnuDSAPrivateKey.java, gnu/java/security/provider/GnuDSAPublicKey.java, gnu/java/security/provider/MD5.java, gnu/java/security/util/Prime.java: New classes * Makefile.am (ordinary_java_source_files): Add above files. * Makefile.in: Regenerate. * gnu/java/security/provider/DefaultPolicy.java (getPermissions): Don't maintain static class variable of Permissions. * gnu/java/security/provider/SHA.java (engineUpdate): algorithm change. (engineDigest): algorithm change. From-SVN: r56203
2002-08-09More AWT/Swing merge from GNU Classpath.Bryce McKinlay3-0/+369
From-SVN: r56149
2002-08-01Revert patch that breaks libgcj shared library on powerpc:Mark Wielaard14-1726/+21
* gnu/java/security/provider/Gnu.java: Reverse referencing all implementation classes by using Class.getName(). Uses Strings again. * gnu/java/security/der/DEREncodingException.java, gnu/java/security/provider/DERReader.java, gnu/java/security/provider/DERWriter.java, gnu/java/security/provider/DSAKeyPairGenerator.java, gnu/java/security/provider/DSAParameterGenerator.java, gnu/java/security/provider/DSAParameters.java, gnu/java/security/provider/DSASignature.java, gnu/java/security/provider/GnuDSAPrivateKey.java, gnu/java/security/provider/GnuDSAPublicKey.java, gnu/java/security/provider/MD5.java, gnu/java/security/util/Prime.java: Removed. * Makefile.am (ordinary_java_source_files): Remove above files. * Makefile.in: Regenerate. * gnu/java/security/provider/DefaultPolicy.java (getPermissions): Revert to maintaining static class variable of Permissions. * gnu/java/security/provider/SHA.java (engineUpdate): Revert algorithm change. (engineDigest): Revert algorithm change. From-SVN: r55935
2002-07-22MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug ↵Mark Wielaard1-4/+4
#783). * gnu/java/security/provider/MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783). From-SVN: r55661
2002-07-22Gnu.java: Reference all implementation classes by using Class.getName().Mark Wielaard1-9/+17
* gnu/java/security/provider/Gnu.java: Reference all implementation classes by using Class.getName(). From-SVN: r55660
2002-07-142002-07-14� Mark Wielaard� <mark@klomp.org>Mark Wielaard13-15/+1720
* gnu/java/security/der/DEREncodingException.java, gnu/java/security/provider/DERReader.java, gnu/java/security/provider/DERWriter.java, gnu/java/security/provider/DSAKeyPairGenerator.java, gnu/java/security/provider/DSAParameterGenerator.java, gnu/java/security/provider/DSAParameters.java, gnu/java/security/provider/DSASignature.java, gnu/java/security/provider/GnuDSAPrivateKey.java, gnu/java/security/provider/GnuDSAPublicKey.java, gnu/java/security/provider/MD5.java, gnu/java/security/util/Prime.java: New files from Classpath. * Makefile.am (ordinary_java_source_files): Add new files. * Makefile.in: Regenerate. 2002-07-14� C. Brian Jones <cbj@gnu.org> * gnu/java/security/provider/DefaultPolicy.java (getPermissions): do not maintain static class variable of Permissions * gnu/java/security/provider/SHA.java (engineUpdate): algorithm change (engineDigest): algorithm change From-SVN: r55444
2002-05-24Merge JDK 1.4 java.security changes from classpath.Bryce McKinlay1-0/+96
* java/security/AccessControlException.java: Merge from Classpath. * java/security/AccessController.java: Likewise. * java/security/AllPermission.java: Likewise. * java/security/BasicPermission.java: Likewise. * java/security/Certificate.java: Likewise. * java/security/CodeSource.java: Likewise. * java/security/DigestException.java: Likewise. * java/security/DigestOutputStream.java: Likewise. * java/security/DomainCombiner.java: Likewise. * java/security/GeneralSecurityException.java: Likewise. * java/security/Guard.java: Likewise. * java/security/GuardedObject.java: Likewise. * java/security/InvalidAlgorithmParameterException.java: Likewise. * java/security/InvalidKeyException.java: Likewise. * java/security/InvalidParameterException.java: Likewise. * java/security/Key.java: Likewise. * java/security/KeyException.java: Likewise. * java/security/KeyManagementException.java: Likewise. * java/security/KeyStoreException.java: Likewise. * java/security/MessageDigest.java: Likewise. * java/security/NoSuchAlgorithmException.java: Likewise. * java/security/NoSuchProviderException.java: Likewise. * java/security/Permission.java: Likewise. * java/security/PermissionCollection.java: Likewise. * java/security/Permissions.java: Likewise. * java/security/Policy.java: Likewise. * java/security/Principal.java: Likewise. * java/security/PrivateKey.java: Likewise. * java/security/PrivilegedAction.java: Likewise. * java/security/PrivilegedActionException.java: Likewise. * java/security/PrivilegedExceptionAction.java: Likewise. * java/security/ProtectionDomain.java: Likewise. * java/security/ProviderException.java: Likewise. * java/security/PublicKey.java: Likewise. * java/security/SecureClassLoader.java: Likewise. * java/security/SecurityPermission.java: Likewise. * java/security/SignatureException.java: Likewise. * java/security/UnrecoverableKeyException.java: Likewise. * java/security/UnresolvedPermission.java: Likewise. * java/security/acl/AclNotFoundException.java: Likewise. * java/security/acl/LastOwnerException.java: Likewise. * java/security/acl/NotOwnerException.java: Likewise. * java/security/cert/CRLException.java: Likewise. * java/security/cert/CertificateEncodingException.java: Likewise. * java/security/cert/CertificateException.java: Likewise. * java/security/cert/CertificateExpiredException.java: Likewise. * java/security/cert/CertificateFactory.java: Likewise. * java/security/cert/CertificateNotYetValidException.java: Likewise. * java/security/cert/CertificateParsingException.java: Likewise. * java/security/spec/InvalidKeySpecException.java: Likewise. * java/security/spec/InvalidParameterSpecException.java: Likewise. * java/security/cert/CertPath.java: New file. * java/security/cert/CertPathBuilderException.java: New file. * java/security/cert/CertPathValidatorException.java: New file. * java/security/cert/CertStoreException.java: New file. * Makefile.am: Add new CertPath classes. * Makefile.in: Rebuilt. * gnu/java/util/EmptyEnumeration: New file from classpath. From-SVN: r53837
2002-05-12SentenceBreakIterator.java (next): Skip all java white space characters.Mark Wielaard1-19/+14
* gnu/java/text/SentenceBreakIterator.java (next): Skip all java white space characters. (previous_internal): Likewise. From-SVN: r53389
2002-03-25For PR libgcj/5303:Tom Tromey2-2/+28
* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help and --version. (help): New method. (version): Likewise. * gnu/gcj/convert/Convert.java (version): Removed extraneous "GNU". * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous "GNU". From-SVN: r51343
2002-03-24[multiple changes]Mark Wielaard2-13/+17
2002-03-24 Eric Blake <ebb9@email.byu.edu> * java/beans/IntrospectionException.java: Update to 1.4. * java/beans/PropertyVetoException.java: Ditto. 2002-03-24 Eric Blake <ebb9@email.byu.edu> * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use Arrays.equals instead of ArrayHelper.equalsArray. 2002-03-24 C. Brian Jones <cbj@gnu.org> * java/beans/Introspector.java: added new static final fields introduced in 1.2, lots of other updates remain to be done 2002-03-24 C. Brian Jones <cbj@gnu.org> * java/beans/Introspector.java: reformatting 2002-03-24 C. Brian Jones <cbj@gnu.org> * java/beans/Introspector.java: default beanInfoSearchPath will not include sun.beans.infos given we provide no such package and the API doesn't really require it; gnu.java.beans.info is the default. 2002-03-24 Mark Wielaard <mark@klomp.org> Thanks to Orp developers * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)): switch TRUE and FALSE return values. From-SVN: r51273
2002-03-06unicode-decomp.pl: Move from chartables.pl...Eric Blake1-0/+936
2002-03-04 Eric Blake <ebb9@email.byu.edu> * scripts/unicode-decomp.pl: Move from chartables.pl, and remove the code for generating include/java-chartables.h. * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and merge with Classpath. * scripts/unicode-muncher.pl: Copy from Classpath. * scritps/MakeCharTables.java: New file. * gnu/gcj/convert/Blocks-3.txt: New file. * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. * gnu/java/lang/CharData.java: Copy from Classpath. * Makefile.am (ordinary_java_source_files): Add gnu/java/lang/CharData.java. * configure.in: Remove --enable-fast-character option. * java/lang/Character.java: Merge algorithms and Javadoc with Classpath. * java/lang/natCharacter.cc: Implement Unicode lookup table more efficiently. * include/java-chardecomp.h: Regenerate. * include/java-chartables.h: Regenerate. From-SVN: r50368
2002-02-22natSystem.cc (init_properties): Include the `Inc.' in java.vendor and ↵Tom Tromey1-1/+1
java.vm.vendor. * java/lang/natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most recent copyright date. * gnu/gcj/convert/Convert.java (version): Print `Inc'. * gij.cc (version): Print `Inc'. From-SVN: r49975
2002-02-14[multiple changes]Mark Wielaard1-265/+329
2002-02-14 Mark Wielaard <mark@klomp.org> * java/math/BigInteger.java: import gnu.java.math.MPN not the whole package as a workaround for gcj 3.0.x 2002-02-14 Mark Wielaard <mark@klomp.org> * java/security/BasicPermission.java: extends with fully qualified classname as workaround for gcj 3.0.4. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java (setOption, getOption): Work around gcj bug of wrong emitted qualifier for inherited method. * java/net/SocketImpl.java (setOption, getOption): Ditto. * java/util/WeakHashMap.java (WeakEntrySet): Add non-private constructor to reduce amount of emitted bytecode. While this happens to work around a jikes 1.15 bug, it is still a useful patch even for correct compilers. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java (DummyObjectOutputStream, DummyObjectInputStream): Ditto. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java: Reformat (no code changes). * java/net/SocketImpl.java: Ditto. * java/rmi/server/RMIClassLoader.java: Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto. 2002-02-14 Mark Wielaard <mark@klomp.org> Thanks to Takashi Okamoto * java/util/Arrays.java (ArrayList.indexOf()): this.equals(). * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise. * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get(). From-SVN: r49778
2002-01-22Add license clarification.Mark Wielaard63-334/+1008
From-SVN: r49104
2002-01-16Start of AWT merge with Classpath:Tom Tromey4-0/+549
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Reference files in gnu/java/awt, not gnu/gcj/awt. * java/awt/image/BufferedImage.java: Updated copyright. * java/awt/image/ComponentColorModel.java: Updated copyright. * java/awt/image/ComponentSampleModel.java: Updated copyright. * java/awt/image/DataBuffer.java: Updated copyright. * java/awt/image/DataBufferByte.java: Updated copyright. * java/awt/image/DataBufferInt.java: Updated copyright. * java/awt/image/DataBufferUShort.java: Updated copyright. * java/awt/image/IndexColorModel.java: Updated copyright. * java/awt/image/PackedColorModel.java: Updated copyright. * java/awt/image/Raster.java: Updated copyright. * java/awt/image/RasterOp.java: Updated copyright. * java/awt/image/SampleModel.java: Updated copyright. * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright. * java/awt/image/WritableRaster.java: Updated copyright. * java/awt/color/ColorSpace.java: Updated copyright. * java/awt/color/ICC_ColorSpace.java: Updated copyright * java/awt/color/ICC_Profile.java: Updated copyright. * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright. * java/awt/event/HierarchyBoundsListener.java: Updated copyright. * java/awt/event/HierarchyEvent.java: Updated copyright. * java/awt/event/HierarchyListener.java: Updated copyright. * java/awt/geom/AffineTransform.java: Updated copyright. * java/awt/geom/Dimension2D.java: Updated copyright. * java/awt/geom/Ellipse2D.java: Updated copyright. * java/awt/geom/IllegalPathStateException.java: Updated copyright. * java/awt/geom/Line2D.java: Updated copyright. * java/awt/geom/NoninvertibleTransformException.java: Updated copyright. * java/awt/geom/PathIterator.java: Updated copyright. * java/awt/geom/Point2D.java: Updated copyright. * java/awt/geom/Rectangle2D.java: Updated copyright. * java/awt/geom/RectangularShape.java: Updated copyright. * java/awt/geom/RoundRectangle2D.java: Updated copyright. * java/awt/Toolkit.java: Updated import for file moves. * java/awt/Rectangle.java: Updated copyright; added javadoc from Classpath. (hashCode): New method from Classpath. * java/awt/Graphics2D.java: Updated copyright. * java/awt/Transparency.java: Updated copyright. * java/awt/Paint.java: Updated copyright. * java/awt/Graphics.java: New version from Classpath. * java/awt/EventDispatchThread.java: Updated copyright. * java/awt/CardLayout.java (layoutContainer): Don't skip invisible children. (gotoComponent): Wrap around on next/previous. * gnu/gcj/awt/BitMaskExtent.java: Removed. * gnu/gcj/awt/Buffers.java: Removed. * gnu/gcj/awt/ComponentDataBlitOp.java: Removed. * gnu/gcj/awt/GLightweightPeer.java: Removed. * gnu/java/awt/BitMaskExtent.java: Added. * gnu/java/awt/Buffers.java: Added. * gnu/java/awt/ComponentDataBlitOp.java: Added. * gnu/java/awt/GLightweightPeer.java: Added. * java/awt/geom/Line2D.java (clone): Ignore CloneNotSupportedException. * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method. * java/awt/Frame.java: Merged with Classpath. * java/awt/RenderingHints.java: Copyright update. * java/awt/Paint.java: Copyright update. * java/awt/image/DirectColorModel.java: Merged with Classpath. * java/awt/image/ColorModel.java: Merged with Classpath. * java/awt/Window.java (show): New Implementation from Classpath. (isShowing): Use super.isShowing(). * java/awt/EventQueue.java: Merged with Classpath. * java/awt/AWTEventMulticaster.java (save): Throw RuntimeException. (saveInternal): Likewise. * java/awt/AWTEvent.java: Now implements Serializable. * java/awt/Event.java: Copyright update. * java/awt/peer/ComponentPeer.java: Merged with Classpath. * java/awt/image/BufferedImage.java: Copyright update. * java/awt/GraphicsConfiguration.java: Copyright update. * java/awt/Component.java: (addNotify): Don't call addNotifyContainerChildren(). (addNotifyContainerChildren): Removed. (setPeer): New method from Classpath. (setTreeLock): Likewise. (setVisible): Rewrote. (show): Use it. (hide): Likewise. (validate): Set `valid'. (checkImage(Image,ImageObserver)): Implementation from Classpath. (createImage(ImageProducer)): Likewise. (prepareImage): Likewise. * java/awt/Container.java (addImpl): Handle case where constraint is not a String. Post event via system event queue. (remove): Post event via system event queue. (validateTree): Only validate child if it is invalid. (getAlignmentX): Call super method as default. (getAlignmentY): Likewise. (addContainerListener): Now synchronized. (removeContainerListener): Likewise. (addNotifyContainerChildren): Now private. * java/awt/ComponentOrientation.java: Updated copyright. Added @author. * java/awt/FlowLayout.java (serialVersionUID): New field. (setAlignment): Better exception message. (layoutContainer): Don't compute component's preferred size unless we're going to use it. * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS, BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants. (firstLine, lastLine, firstItem, lastItem): New fields. (addLayoutComponent): Handle case where constraints is null. Also, handle relative locations. (removeLayoutComponent): Handle relative locations. (MIN, MAX, PREF): New constants. (calcCompSize): New method. (calcSize): New method. (minimumLayoutSize): Use it. (preferredLayoutSize): Likewise. (maximumLayoutSize): Likewise. (toString): Include more information. (setBounds): New method. (layoutContainer): Use libgcj implementation; extended to handle relative locations. From-SVN: r48896
2002-01-10For PR libgcj/5303:Tom Tromey1-7/+37
* gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and --version. Recognize GNU-style long options. Print GNU-style error messages. (usage): Print GNU-style help. Exit with status 0. (error): New method. (run): Print error message if no class names found. (main): Don't print usage on error. From-SVN: r48740
2002-01-08Makefile.in: Rebuilt.Tom Tromey133-101/+6320
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added new files. * gnu/java/locale/LocaleInformation.java: Extend LocaleInformation_en. * gnu/java/locale/LocaleInformation_en.java: Added zone strings and time/date formats. * gnu/java/locale/LocaleInformation_en_US.java: Now automatically generated. * gnu/java/locale/LocaleInformation_af_ZA.java: New file. * gnu/java/locale/LocaleInformation_ar_AE.java: New file. * gnu/java/locale/LocaleInformation_ar_BH.java: New file. * gnu/java/locale/LocaleInformation_ar_DZ.java: New file. * gnu/java/locale/LocaleInformation_ar_EG.java: New file. * gnu/java/locale/LocaleInformation_ar_IN.java: New file. * gnu/java/locale/LocaleInformation_ar_IQ.java: New file. * gnu/java/locale/LocaleInformation_ar_JO.java: New file. * gnu/java/locale/LocaleInformation_ar_KW.java: New file. * gnu/java/locale/LocaleInformation_ar_LB.java: New file. * gnu/java/locale/LocaleInformation_ar_LY.java: New file. * gnu/java/locale/LocaleInformation_ar_MA.java: New file. * gnu/java/locale/LocaleInformation_ar_OM.java: New file. * gnu/java/locale/LocaleInformation_ar_QA.java: New file. * gnu/java/locale/LocaleInformation_ar_SD.java: New file. * gnu/java/locale/LocaleInformation_ar_SY.java: New file. * gnu/java/locale/LocaleInformation_ar_TN.java: New file. * gnu/java/locale/LocaleInformation_ar_YE.java: New file. * gnu/java/locale/LocaleInformation_be_BY.java: New file. * gnu/java/locale/LocaleInformation_bn_IN.java: New file. * gnu/java/locale/LocaleInformation_br_FR.java: New file. * gnu/java/locale/LocaleInformation_bs_BA.java: New file. * gnu/java/locale/LocaleInformation_ca_ES.java: New file. * gnu/java/locale/LocaleInformation_cs_CZ.java: New file. * gnu/java/locale/LocaleInformation_cy_GB.java: New file. * gnu/java/locale/LocaleInformation_da_DK.java: New file. * gnu/java/locale/LocaleInformation_de_AT.java: New file. * gnu/java/locale/LocaleInformation_de_BE.java: New file. * gnu/java/locale/LocaleInformation_de_CH.java: New file. * gnu/java/locale/LocaleInformation_de_DE.java: New file. * gnu/java/locale/LocaleInformation_de_LU.java: New file. * gnu/java/locale/LocaleInformation_el_GR.java: New file. * gnu/java/locale/LocaleInformation_en_AU.java: New file. * gnu/java/locale/LocaleInformation_en_BW.java: New file. * gnu/java/locale/LocaleInformation_en_CA.java: New file. * gnu/java/locale/LocaleInformation_en_DK.java: New file. * gnu/java/locale/LocaleInformation_en_GB.java: New file. * gnu/java/locale/LocaleInformation_en_HK.java: New file. * gnu/java/locale/LocaleInformation_en_IE.java: New file. * gnu/java/locale/LocaleInformation_en_IN.java: New file. * gnu/java/locale/LocaleInformation_en_NZ.java: New file. * gnu/java/locale/LocaleInformation_en_PH.java: New file. * gnu/java/locale/LocaleInformation_en_SG.java: New file. * gnu/java/locale/LocaleInformation_en_ZA.java: New file. * gnu/java/locale/LocaleInformation_en_ZW.java: New file. * gnu/java/locale/LocaleInformation_es_AR.java: New file. * gnu/java/locale/LocaleInformation_es_BO.java: New file. * gnu/java/locale/LocaleInformation_es_CL.java: New file. * gnu/java/locale/LocaleInformation_es_CO.java: New file. * gnu/java/locale/LocaleInformation_es_CR.java: New file. * gnu/java/locale/LocaleInformation_es_DO.java: New file. * gnu/java/locale/LocaleInformation_es_EC.java: New file. * gnu/java/locale/LocaleInformation_es_ES.java: New file. * gnu/java/locale/LocaleInformation_es_GT.java: New file. * gnu/java/locale/LocaleInformation_es_HN.java: New file. * gnu/java/locale/LocaleInformation_es_MX.java: New file. * gnu/java/locale/LocaleInformation_es_NI.java: New file. * gnu/java/locale/LocaleInformation_es_PA.java: New file. * gnu/java/locale/LocaleInformation_es_PE.java: New file. * gnu/java/locale/LocaleInformation_es_PR.java: New file. * gnu/java/locale/LocaleInformation_es_PY.java: New file. * gnu/java/locale/LocaleInformation_es_SV.java: New file. * gnu/java/locale/LocaleInformation_es_US.java: New file. * gnu/java/locale/LocaleInformation_es_UY.java: New file. * gnu/java/locale/LocaleInformation_es_VE.java: New file. * gnu/java/locale/LocaleInformation_et_EE.java: New file. * gnu/java/locale/LocaleInformation_eu_ES.java: New file. * gnu/java/locale/LocaleInformation_fa_IR.java: New file. * gnu/java/locale/LocaleInformation_fi_FI.java: New file. * gnu/java/locale/LocaleInformation_fo_FO.java: New file. * gnu/java/locale/LocaleInformation_fr_BE.java: New file. * gnu/java/locale/LocaleInformation_fr_CA.java: New file. * gnu/java/locale/LocaleInformation_fr_CH.java: New file. * gnu/java/locale/LocaleInformation_fr_FR.java: New file. * gnu/java/locale/LocaleInformation_fr_LU.java: New file. * gnu/java/locale/LocaleInformation_ga_IE.java: New file. * gnu/java/locale/LocaleInformation_gd_GB.java: New file. * gnu/java/locale/LocaleInformation_gl_ES.java: New file. * gnu/java/locale/LocaleInformation_gv_GB.java: New file. * gnu/java/locale/LocaleInformation_he_IL.java: New file. * gnu/java/locale/LocaleInformation_hi_IN.java: New file. * gnu/java/locale/LocaleInformation_hr_HR.java: New file. * gnu/java/locale/LocaleInformation_hu_HU.java: New file. * gnu/java/locale/LocaleInformation_id_ID.java: New file. * gnu/java/locale/LocaleInformation_it_CH.java: New file. * gnu/java/locale/LocaleInformation_it_IT.java: New file. * gnu/java/locale/LocaleInformation_iw_IL.java: New file. * gnu/java/locale/LocaleInformation_ja_JP.java: New file. * gnu/java/locale/LocaleInformation_ka_GE.java: New file. * gnu/java/locale/LocaleInformation_kl_GL.java: New file. * gnu/java/locale/LocaleInformation_ko_KR.java: New file. * gnu/java/locale/LocaleInformation_kw_GB.java: New file. * gnu/java/locale/LocaleInformation_lt_LT.java: New file. * gnu/java/locale/LocaleInformation_lv_LV.java: New file. * gnu/java/locale/LocaleInformation_mi_NZ.java: New file. * gnu/java/locale/LocaleInformation_mk_MK.java: New file. * gnu/java/locale/LocaleInformation_mr_IN.java: New file. * gnu/java/locale/LocaleInformation_mt_MT.java: New file. * gnu/java/locale/LocaleInformation_nl_BE.java: New file. * gnu/java/locale/LocaleInformation_nl_NL.java: New file. * gnu/java/locale/LocaleInformation_nn_NO.java: New file. * gnu/java/locale/LocaleInformation_no_NO.java: New file. * gnu/java/locale/LocaleInformation_oc_FR.java: New file. * gnu/java/locale/LocaleInformation_pl_PL.java: New file. * gnu/java/locale/LocaleInformation_pt_BR.java: New file. * gnu/java/locale/LocaleInformation_pt_PT.java: New file. * gnu/java/locale/LocaleInformation_ro_RO.java: New file. * gnu/java/locale/LocaleInformation_ru_RU.java: New file. * gnu/java/locale/LocaleInformation_ru_UA.java: New file. * gnu/java/locale/LocaleInformation_se_NO.java: New file. * gnu/java/locale/LocaleInformation_sk_SK.java: New file. * gnu/java/locale/LocaleInformation_sl_SI.java: New file. * gnu/java/locale/LocaleInformation_sq_AL.java: New file. * gnu/java/locale/LocaleInformation_sr_YU.java: New file. * gnu/java/locale/LocaleInformation_sv_FI.java: New file. * gnu/java/locale/LocaleInformation_sv_SE.java: New file. * gnu/java/locale/LocaleInformation_ta_IN.java: New file. * gnu/java/locale/LocaleInformation_te_IN.java: New file. * gnu/java/locale/LocaleInformation_tg_TJ.java: New file. * gnu/java/locale/LocaleInformation_tl_PH.java: New file. * gnu/java/locale/LocaleInformation_tr_TR.java: New file. * gnu/java/locale/LocaleInformation_uk_UA.java: New file. * gnu/java/locale/LocaleInformation_ur_PK.java: New file. * gnu/java/locale/LocaleInformation_uz_UZ.java: New file. * gnu/java/locale/LocaleInformation_vi_VN.java: New file. * gnu/java/locale/LocaleInformation_yi_US.java: New file. * gnu/java/locale/LocaleInformation_zh_CN.java: New file. * gnu/java/locale/LocaleInformation_zh_HK.java: New file. * gnu/java/locale/LocaleInformation_zh_SG.java: New file. * gnu/java/locale/LocaleInformation_zh_TW.java: New file. From-SVN: r48668
2001-12-16Makefile.in: Rebuilt.Tom Tromey1-0/+757
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Removed old file; added new file. * gnu/java/math/MPN.java: New file. * gnu/gcj/math/MPN.java: Removed. * java/math/BigInteger.java: Merged with Classpath. From-SVN: r48080
2001-10-31HACKING, [...]: Fix spelling errors.Joseph Myers1-1/+1
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java, gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java, java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java, java/io/CharConversionException.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/WriteAbortedException.java, java/io/natFileWin32.cc, java/lang/Class.h, java/lang/natClassLoader.cc, java/lang/natObject.cc, java/lang/Package.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ProtocolException.java, java/net/SocketException.java, java/net/UnknownServiceException.java, java/security/cert/X509Certificate.java, java/security/interfaces/DSAKey.java, java/security/SecureRandom.java, java/security/SignedObject.java, java/sql/DatabaseMetaData.java, java/text/DecimalFormatSymbols.java, java/util/jar/Attributes.java, java/util/jar/JarEntry.java, java/util/jar/JarInputStream.java, java/util/jar/JarOutputStream.java, java/util/Calendar.java, java/util/Collections.java, java/util/GregorianCalendar.java, java/util/HashMap.java, java/util/List.java, java/util/Properties.java, java/util/Timer.java, java/util/Vector.java, java/util/WeakHashMap.java, javax/naming/NamingException.java, testsuite/libjava.lang/Thread_Wait.java, org/xml/sax/helpers/DefaultHandler.java, org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java, ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix spelling errors. * configure: Regenerate. From-SVN: r46665
2001-10-18SHA1PRNG.java (engineNextBytes): Rewrote.Tom Tromey1-23/+20
* gnu/java/security/provider/SHA1PRNG.java (engineNextBytes): Rewrote. * java/security/SecureRandom.java (setSeed(long)): Don't set seed if secureRandomSpi is not initialized. From-SVN: r46327
2001-10-12Makefile.in: Rebuilt.Tom Tromey4-12/+193
* Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): Added new files. * gnu/java/rmi/rmic/RMIC.java (compile): Uncommented; fixed to use new Compiler class. * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Updated. * gnu/java/rmi/rmic/Compile_gcj.java: New file. * gnu/java/rmi/rmic/CompilerProcess.java: New file. * gnu/java/rmi/rmic/Compiler.java: New file. From-SVN: r46235
2001-09-23old fixAnthony Green1-1/+1
From-SVN: r45759
2001-09-23misc fixesAnthony Green1-5/+4
From-SVN: r45758
2001-09-05SimpleDateFormat.java: Re-merged with Classpath.Tom Tromey9-331/+1206
* java/text/SimpleDateFormat.java: Re-merged with Classpath. * gnu/gcj/text/LocaleData.java, gnu/gcj/text/LocaleData_en.java, gnu/gcj/text/LocaleData_en_US.java: Removed. * java/text/DateFormatSymbols.java (clone): Use Classpath implementation. (equals): Simplified. (DateFormatSymbols): Look in gnu.java.locale for information. (DateFormatSymbols(DateFormatSymbols)): Removed. (safeGetResource): Removed. (DateFormatSymbols): Throws MissingResourceException. (ampmsDefault, erasDefault, localPatternCharsDefault, monthsDefault, shortMonthsDefault, shortWeekdaysDefault, weekdaysDefault, zoneStringsDefault): Removed. * java/text/Collator.java (getAvailableLocales): Use modified Classpath implementation. (getInstance): Look in gnu.java.locale for information. (clone): Rewrote. * java/text/MessageFormat.java: Reindented. (clone): Rewrote. * java/text/FieldPosition.java: Merged with Classpath. * java/text/ParsePosition.java: Merged with Classpath. * java/text/Format.java: Merged with Classpath. * java/text/StringCharacterIterator.java (StringCharacterIterator(StringCharacterIterator,int,int)): New constructor from Classpath. * java/text/Annotation.java, java/text/AttributedCharacterIterator.java, java/text/AttributedString.java, java/text/AttributedStringIterator.java: New from Classpath. * java/text/CharacterIterator.java: Copied from Classpath. * java/text/ChoiceFormat.java: Reindented. (clone): Removed. * gnu/java/text/BaseBreakIterator.java, gnu/java/text/CharacterBreakIterator.java, gnu/java/text/LineBreakIterator.java, gnu/java/text/LocaleData_en.java, gnu/java/text/LocaleData_en_US.java, gnu/java/text/SentenceBreakIterator.java, gnu/java/text/WordBreakIterator.java: Renamed from gnu/gcj/text/*. * gnu/gcj/text/BaseBreakIterator.java (last): Advance past final character. * java/text/BreakIterator.java (getAvailableLocales): Use Classpath implementation. (getInstance): Look in gnu.java.locale for information. (getCharacterInstance, getLineInstance, getSentenceInstance, getWordInstance): Look in gnu.java.text for implementations. * java/text/DecimalFormatSymbols.java: Reindented (clone): Use Classpath implementation. (DecimalFormatSymbols(DecimalFormatSymbols)): Removed. (DecimalFormatSymbols(Locale)): Look in gnu.java.locale for information. * java/text/DateFormat.java: Merged with Classpath. (getAvailableLocales): Use Classpath implementation. (format(Object,StringBuffer,FieldPosition)): Minor cleanup. (computeInstance): Look in gnu.java.locale for information. * java/text/NumberFormat.java: Reindented. (computeInstance): Look in gnu.java.locale for information. (getAvailableLocales): Use implementation from Classpath. (setMaximumIntegerDigits): Likewise. (setMinimumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. (clone): Removed. * java/text/DecimalFormat.java: Reindented. * gnu/java/locale/LocaleInformation_en.java: Copied from Classpath. * gnu/java/locale/LocaleInformation_en_US.java: Copied from Classpath. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added all new files. (ordinary_java_source_files): Renamed or removed gnu/gcj/text/*. * java/security/spec/AlgorithmParameterSpec.java, java/security/spec/KeySpec.java: Re-merged with Classpath. From-SVN: r45390
2001-08-31Makefile.in: Rebuilt.Tom Tromey1-0/+128
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Removed EnumerationChain, added DoubleEnumeration. (nat_source_files): Added natResourceBundle.cc. * java/util/natResourceBundle.cc: New file. * gnu/java/util/DoubleEnumeration.java: New file. * gnu/gcj/util/EnumerationChain.java: Removed. * java/beans/VetoableChangeSupport.java: Merged with Classpath. * java/util/ResourceBundle.java: Merged with Classpath. * java/util/StringTokenizer.java: Merged with Classpath. * java/util/Locale.java: Merged with Classpath. * java/util/Random.java: Merged with Classpath. * java/util/PropertyResourceBundle.java: Merged with Classpath. * java/util/ListResourceBundle.java: Merged with Classpath. * java/util/ConcurrentModificationException.java: Re-merged with Classpath. * java/util/EmptyStackException.java: Likewise. * java/util/MissingResourceException.java: Likewise. * java/util/NoSuchElementException.java: Likewise. * java/util/TooManyListenersException.java: Likewise. From-SVN: r45335
2001-08-28Activatable.java, [...]: RMI implementation from Kaffe.Tom Tromey20-0/+3472
* java/rmi/activation/Activatable.java, java/rmi/activation/ActivateFailedException.java, java/rmi/activation/ActivationDesc.java, java/rmi/activation/ActivationException.java, java/rmi/activation/ActivationGroup.java, java/rmi/activation/ActivationGroupDesc.java, java/rmi/activation/ActivationGroupID.java, java/rmi/activation/ActivationID.java, java/rmi/activation/ActivationInstantiator.java, java/rmi/activation/ActivationMonitor.java, java/rmi/activation/ActivationSystem.java, java/rmi/activation/Activator.java, java/rmi/activation/UnknownGroupException.java, java/rmi/activation/UnknownObjectException.java, java/rmi/AccessException.java, java/rmi/AlreadyBoundException.java, java/rmi/ConnectException.java, java/rmi/ConnectIOException.java, java/rmi/MarshalException.java, java/rmi/MarshalledObject.java, java/rmi/Naming.java, java/rmi/NoSuchObjectException.java, java/rmi/NotBoundException.java, java/rmi/RMISecurityException.java, java/rmi/RMISecurityManager.java, java/rmi/Remote.java, java/rmi/RemoteException.java, java/rmi/ServerError.java, java/rmi/ServerException.java, java/rmi/ServerRuntimeException.java, java/rmi/StubNotFoundException.java, java/rmi/UnexpectedException.java, java/rmi/UnknownHostException.java, java/rmi/UnmarshalException.java, java/rmi/dgc/DGC.java, java/rmi/dgc/Lease.java, java/rmi/dgc/VMID.java, java/rmi/registry/LocateRegistry.java, java/rmi/registry/Registry.java, java/rmi/registry/RegistryHandler.java, java/rmi/server/ExportException.java, java/rmi/server/LoaderHandler.java, java/rmi/server/LogStream.java, java/rmi/server/ObjID.java, java/rmi/server/Operation.java, java/rmi/server/RMIClassLoader.java, java/rmi/server/RMIClientSocketFactory.java, java/rmi/server/RMIFailureHandler.java, java/rmi/server/RMIServerSocketFactory.java, java/rmi/server/RMISocketFactory.java, java/rmi/server/RemoteCall.java, java/rmi/server/RemoteObject.java, java/rmi/server/RemoteRef.java, java/rmi/server/RemoteServer.java, java/rmi/server/RemoteStub.java, java/rmi/server/ServerCloneException.java, java/rmi/server/ServerNotActiveException.java, java/rmi/server/ServerRef.java, java/rmi/server/Skeleton.java, java/rmi/server/SkeletonMismatchException.java, java/rmi/server/SkeletonNotFoundException.java, java/rmi/server/SocketSecurityException.java, java/rmi/server/UID.java, java/rmi/server/UnicastRemoteObject.java, java/rmi/server/Unreferenced.java, gnu/java/rmi/dgc/DGCImpl.java, gnu/java/rmi/dgc/DGCImpl_Skel.java, gnu/java/rmi/dgc/DGCImpl_Stub.java, gnu/java/rmi/registry/RegistryImpl.java, gnu/java/rmi/registry/RegistryImpl_Skel.java, gnu/java/rmi/registry/RegistryImpl_Stub.java, gnu/java/rmi/rmic/RMIC.java, gnu/java/rmi/rmic/TabbedWriter.java, gnu/java/rmi/server/ProtocolConstants.java, gnu/java/rmi/server/RMIDefaultSocketFactory.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/RMIObjectOutputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRef.java, gnu/java/rmi/server/UnicastRemoteCall.java, gnu/java/rmi/server/UnicastRemoteStub.java, gnu/java/rmi/server/UnicastServer.java, gnu/java/rmi/server/UnicastServerRef.java: RMI implementation from Kaffe. Relabelled classes to fit into Classpath tree. * Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): New macro. (ordinary_java_source_files): Reference it. (bin_PROGRAMS): Added rmic and rmiregistry. (rmic_SOURCES): New macro. (EXTRA_rmic_SOURCES): Likewise. (rmic_LDFLAGS): Likewise. (rmic_LINK): Likewise. (rmic_LDADD): Likewise. (rmic_DEPENDENCIES): Likewise. (rmiregistry_SOURCES): New macro. (EXTRA_rmiregistry_SOURCES): Likewise. (rmiregistry_LDFLAGS): Likewise. (rmiregistry_LINK): Likewise. (rmiregistry_LDADD): Likewise. (rmiregistry_DEPENDENCIES): Likewise. From-SVN: r45218
2001-05-10[multiple changes]Tom Tromey4-0/+927
2001-05-10 Tom Tromey <tromey@redhat.com> * java/util/GregorianCalendar.java: Imported from Classpath. * gnu/java/locale/LocaleInformation_nl.java: New file from Classpath. * gnu/java/locale/LocaleInformation_en.java: Likewise. * gnu/java/locale/LocaleInformation_de.java: Likewise. * gnu/java/locale/LocaleInformation.java: Likewise. * natGregorianCalendar.cc: Removed. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Removed natGregorianCalendar.cc. 2001-05-10 Tom Tromey <tromey@redhat.com> * java/text/SimpleDateFormat.java (computeCenturyStart): New method. (defaultCenturyStart): Use it. (readObject): Likewise. (SimpleDateFormat): Clear the calendar. Set the grouping on the number format. (parse): Copy the calendar before modifying it. Correctly handle the time zone. * java/util/Calendar.java (clear): Set field value(s) to 0. 2001-05-10 Jeff Sturm <jsturm@one-point.com> * Calendar.java (get): Clear areFieldsSet if requested field is not set. (set): Unset fields that depend on new value. From-SVN: r41942
2001-04-25decl.c (init_decl_processing): Add new class "protectionDomain" field.Bryce McKinlay1-0/+55
gcc/java: 2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * decl.c (init_decl_processing): Add new class "protectionDomain" field. * class.c (make_class_data): Set initial value for "protectionDomain". libjava: 2001-04-25 Bryce McKinlay <bryce@albatross.co.nz> java.security merge and ClassLoader compliance fixes. * java/lang/Class.h (Class): Include ProtectionDomain.h. New protectionDomain field. (forName): Add initialize parameter. Fixes declaration to comply with JDK spec. * java/lang/natClass.cc (forName): Correct declaration of the three-arg variant. Honour "initialize" flag. (getProtectionDomain0): New method. * java/lang/Class.java: Fix forName() declaration. (getPackage): New method based on Classpath implementation. (getProtectionDomain0): New native method decl. (getProtectionDomain): New method. * java/lang/ClassLoader.java (getParent): Now final. (definedPackages): New field. (getPackage): New. (defineClass): New variant with protectionDomain argument. (definePackage): New. (getPackages): New. (findSystemClass): Now final. (getSystemResourceAsStream): Remove redundant "final" modifier. (getSystemResource): Remove redundant "final" modifier. (getResources): Now final. (protectionDomainPermission): New static field. (unknownProtectionDomain): Ditto. (defaultProtectionDomain): Ditto. (getSystemClassLoader): Now non-native. * java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct arguments for Class.forName(). * java/lang/Package.java: New file. * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed. (instance): Static initialize singleton. (findClass): Override this, not findSystemClass. * java/lang/natClassLoader.cc (defineClass0): Set class's protectionDomain field as specified. (getSystemClassLoader): Removed. (findClass): Renamed from findSystemClass. Call the interpreter via URLClassLoader.findClass if loading class via dlopen fails. * java/security/*.java: java.security import/merge with Classpath. * java/security/acl/*.java: Likewise. * java/security/interfaces/*.java: Likewise. * java/security/spec/*.java: Likewise. * java/net/NetPermission.java: Likewise. * java/net/SocketPermission.java: Likewise. * gnu/java/security/provider/DefaultPolicy.java: Likewise. * Makefile.am: Add new classes. * Makefile.in: Rebuilt. * gcj/javaprims.h: CNI namespace rebuild. From-SVN: r41543
2000-10-27Makefile.am: Added locale files from Classpath.Warren Levy4-0/+294
* Makefile.am: Added locale files from Classpath. * Makefile.in: Rebuilt. * gnu/java/locale/Calendar.java: New file. * gnu/java/locale/Calendar_de.java: New file. * gnu/java/locale/Calendar_en.java: New file. * gnu/java/locale/Calendar_nl.java: New file. * java/lang/ClassNotFoundException.java: Replaced with Classpath file. * java/math/BigDecimal.java (intVal): Renamed from 'num' for serialization compatibility. (scale): Made private. (serialVersionUID): New field. * java/math/BigInteger.java (ival): Made transient. (words): Made transient. (bitCount): New serialization field. (bitLength): Ditto. (firstNonzeroByteNum): Ditto. (lowestSetBit): Ditto. (magnitude): Ditto. (signum): Ditto. (serialVersionUID): New field. (readObject): New method. (writeObject): New method. * java/util/BitSet.java (serialVersionUID): New field. * java/util/Calendar.java: Replaced with Classpath file. * java/util/GregorianCalendar.java (GregorianCalendar): Pass result of getDefault() for TimeZone or Locale instead of passing nulls. * java/util/Locale.java (serialVersionUID): New field. (writeObject): New method. (readObject): New method. * java/util/SimpleTimeZone.java: Replaced with Classpath file. Serialization mods. From-SVN: r37080
2000-07-27mauve-libgcj: Activated serialization tests.Warren Levy1-1/+5
* mauve-libgcj: Activated serialization tests. * gcj/field.h (getModifiers): Mask off unknown flags. * gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so spurious bits don't cause discrepancies. * java/io/ObjectOutputStream.java: Fixed typo in comment. * java/io/ObjectStreamClass.java: Fixed typos in comments. (lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize. (hasClassInitializer): Call getDeclaredMethod instead of getMethod. * java/lang/Throwable.java (serialVersionUID): New field. * java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used. * java/lang/reflect/natConstructor.cc (getModifiers): Mask off unknown flags. * java/lang/reflect/natMethod.cc: Ditto. * java/security/Key.java (serialVersionUID): Removed field for now. * java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto. * java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto. Serialization mods. From-SVN: r35302
2000-06-28Gnu.java: New file.Warren Levy3-0/+415
* gnu/java/security/provider/Gnu.java: New file. * gnu/java/security/provider/SHA.java: New file. * gnu/java/security/provider/SHA1PRNG.java: New file. * Makefile.am: Added the above files. * Makefile.in: Rebuilt. * java/io/ObjectStreamClass.java (setUID): Use Gnu SHA instead of SHS. From-SVN: r34753
2000-05-19Jumbo patch:Tom Tromey21-0/+2062
* Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes From-SVN: r34028