Anthony Green
5e0c4d1995
Makefile.am: Move org.xml.sax and org.w3c.dom into their own libraries.
...
2002-12-21 Anthony Green <green@redhat.com>
* Makefile.am: Move org.xml.sax and org.w3c.dom into their own
libraries.
* Makefile.in: Rebuilt.
From-SVN: r60410
2002-12-22 16:08:40 +00:00
Anthony Green
7a163ec05c
Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java.
...
2002-12-19 Anthony Green <green@redhat.com>
* Makefile.am (ordinary_java_source_files): Add
org/xml/sax/helpers/NewInstance.java.
* Makefile.in: Rebuilt.
* org/xml/sax/package.html, org/xml/sax/ext/package.html,
org/xml/sax/helpers/package.html: New files.
* org/xml/sax/*: Upgrade to SAX 2.0.1 release from
http://www.saxproject.org .
From-SVN: r60350
2002-12-20 03:49:20 +00:00
Tom Tromey
ad1121d10e
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
* gnu/gcj/runtime/natVMClassLoader.cc: New file.
(gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
* java/lang/natClassLoader.cc
(gnu::gcj::runtime::VMClassLoader::findClass): Removed.
From-SVN: r60020
2002-12-11 03:15:14 +00:00
Tom Tromey
76508852a0
Makefile.in: Rebuilt.
...
* 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-05 00:49:30 +00:00
Andrew Haley
421f9e6091
natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.
...
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-03 13:50:05 +00:00
Michael Koch
6315b6cbff
AsynchronousCloseException.java, [...]: New files.
...
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-21 10:45:14 +00:00
Michael Koch
c6de9c29fd
Makefile.am (ordinary_java_source_files): Added java/nio/channels/FileChannel.java.
...
2002-11-20 Michael Koch <konqueror@gmx.de>
* Makefile.am (ordinary_java_source_files):
Added java/nio/channels/FileChannel.java.
* Makefile.in: Regenerated.
From-SVN: r59313
2002-11-20 21:19:26 +00:00
Michael Koch
d812d8211c
Makefile.am (ordinary_java_source_files): Added java/nio/ReadOnlyBufferException.java and...
...
2002-11-18 Michael Koch <konqueror@gmx.de>
* Makefile.am (ordinary_java_source_files):
Added java/nio/ReadOnlyBufferException.java and
java/nio/channels/ClosedSelectorException.java.
* Makefile.in: Regenerated.
From-SVN: r59215
2002-11-18 13:29:29 +00:00
Michael Koch
93f93f9f28
Buffer.java: Implemented.
...
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-13 12:21:26 +00:00
Michael Koch
dba90b0cc6
BufferOverflowException.java, [...]: New file.
...
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-11 07:00:29 +00:00
Tom Tromey
f7aa343f42
Applet.java, [...]: New versions from Classpath.
...
* 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-10 00:16:43 +00:00
Andreas Schwab
bbf6552920
Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.
...
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
pass GCJFLAGS.
(FLAGS_TO_PASS): Define.
* Makefile.in: Regenerated.
From-SVN: r58752
2002-11-02 16:14:50 +00:00
Michael Koch
9dcb1ec813
ByteOrder.java: New file.
...
2002-11-01 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java: New file.
* java/nio/channels/DatagramChannel.java:
(DatagramChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/SelectableChannel.java: New file.
* java/nio/channels/SelectionKey.java: New file.
* java/nio/channels/Selector.java: New file.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChannel): New constructor.
* java/nio/channels/SocketChannel.java
(SocketChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/spi/AbstractChannel.java: New file.
* java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
* java/nio/channels/spi/AbstractSelectableChannel.java:
License added
(AbstractSelectableChannel): New stubbed method.
* java/nio/channels/spi/AbstractSelectionKey.java: New file.
* java/nio/channels/spi/AbstractSelector.java: New file.
* java/nio/channels/spi/SelectorProvider.java: New file.
* java/nio/charset/Charset.java: New file.
* java/nio/charset/CoderMalfunctionError.java: New file.
* java/nio/charset/CodingErrorAction.java: New file.
* java/nio/charset/spi/CharsetProvider.java
(charsetForName): Uncommented.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r58713
2002-11-01 12:03:40 +00:00
Michael Koch
0c59cbfaf6
Buffer.java: New stub file.
...
2002-10-07 Michael Koch <konqueror@gmx.de>
* java/nio/Buffer.java: New stub file.
* java/nio/charset/spi/CharsetProvider.java: Commented out all usages
of class Charset.
* Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
* Makefile.in: Regenerated.
From-SVN: r57901
2002-10-07 13:56:38 +00:00
Michael Koch
7f73f46f93
ByteBuffer.java, [...]: New files, forgot to add these dummies.
...
2002-10-07 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java,
java/nio/MappedByteBuffer.java:
New files, forgot to add these dummies.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r57899
2002-10-07 13:12:42 +00:00
Michael Koch
0b6dfe3b83
AlreadyConnectedException.java, [...]: New file.
...
2002-10-07 Michael Koch <konqueror@gmx.de>
* java/nio/channels/AlreadyConnectedException.java,
java/nio/channels/ClosedChannelException.java,
java/nio/channels/ReadableByteChannel.java,
java/nio/channels/InterruptibleChannel.java,
java/nio/channels/Channel.java,
java/nio/channels/ByteChannel.java,
java/nio/channels/GatheringByteChannel.java,
java/nio/channels/ScatteringByteChannel.java,
java/nio/channels/WritableByteChannel.java,
java/nio/charset/CharacterCodingException.java,
java/nio/charset/IllegalCharsetNameException.java,
java/nio/charset/MalformedInputException.java,
java/nio/charset/UnmappableCharacterException.java,
java/nio/charset/UnsupportedCharsetException.java,
java/nio/charset/spi/CharsetProvider.java: New file.
These files are exceptions or interfaces,
no real or abstract classes.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r57885
2002-10-07 07:59:12 +00:00
Michael Koch
f5b63cb6d7
2002-10-05 Michael Koch <konqueror@gmx.de>
...
* java/net/InetAddress.java
(getByAddress): Fixed documentation.
(getByAddress): New method.
* java/net/Inet4Address.java: New file.
* java/net/URL.java
(URL): Documentation added.
(getContent): Documentation added.
(getContent): New stubbed method.
(getQuery): New method.
(openConnection): Documentation added.
(openStream): Documentation added.
(setURLStreamHandlerFactory): Documentation added.
* java/net/URI.java: New stub file.
* Makefile.am
(java_native_source_files): Added java/net/Inet4Address.java,
java/net/Inet6Address.java and java/net/URI.java.
* Makefile.in: Regenerated.
From-SVN: r57841
2002-10-05 07:49:08 +00:00
Tom Tromey
3db03e43f9
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
From-SVN: r57781
2002-10-03 18:22:40 +00:00
Tom Tromey
d74732f5cd
ObjectInputStream.java (resolveProxyClass): New method from Classpath.
...
* 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-10-01 03:46:43 +00:00
Anthony Green
d3cc3f10da
Add Proxy support.
...
From-SVN: r57635
2002-09-30 05:19:09 +00:00
Michael Koch
1754e35c31
AbstractSelectableChannel.java: New file.
...
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/nio/channels/spi/AbstractSelectableChannel.java: New file.
* java/nio/channels/DatagramChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/ServerSocketChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/SocketChannel.java:
extends AbstractSelectableChannel
* Makefile.am (ordinary_java_source_files):
java/nio/channels/spi/AbstractSelectableChannel.java added.
* Makefile.in: Regenerated.
This commit fixes the CVS build problems, Sorry for the trouble.
From-SVN: r57497
2002-09-25 13:04:58 +00:00
Michael Koch
df79dc1a89
2002-09-25 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(DatagramSocket): Exception documentation added.
(bind): Exception documentation added, addded SecurityManager check,
added SocketAddress type check.
(getSoTimeout): Check impl.
(receive): Fix SecurityManager check, check impl, documentation added.
(send): Check channel mode, documentation added.
(connect): New method.
(disconnect): Implemented.
(getLocalSocketAddress): New method.
(getReceiveBufferSize): Check impl.
(setReuseAddress): Check impl.
(getReuseAddress): Check impl.
(setBroadcast): Check impl.
(getBroadcast): Check impl.
(setTrafficClass): Check impl, Documentation cleared.
(getTrafficClass): Check impl.
(getSendBufferSize): Check impl.
(setReceiveBufferSize): Check impl, documentation added.
(setSendBufferSize): Documentation added.
(setDatagramSocketImplFactory): New method.
* java/net/HttpURLConnection.java
(HTTP_INTERNAL_ERROR): The correct code is 500.
(HTTP_NOT_IMPLEMENTED): Added new constant.
(setFollowRedirects): Documentation added.
(getInstanceFollowRedirects): New method.
(setInstanceFollowRedirects): New method.
(setRequestMethod): Documentation added.
(getResponseCode): Documentation added.
(getResponseMessage): Documentation added.
* java/net/JarURLConnection.java
(JarURLConnection): protected since JDK 1.4.
(getJarEntry): java.io.IOException to IOException, documentation added.
(getJarFile): Documentation added.
* java/net/ServerSocket.java
(ServerSocket): Private to public, exception added.
(ServerSocket): java.io.IOException to IOException, documentation added.
(bind): Check socket address type, documentation added.
(bind): java.io.IOException to IOException, documentation added.
(accept): Documentation added.
(implAccept): Check ch is not non-blocking, documentation added.
(setSoTimeout): Documentation fixed.
(setReceiveBufferSize): Documentation added.
* java/net/Socket.java
(Socket): Documentation added.
(bind): Documentation added.
(connect): Check socket address type, documentation added.
(getRemoteSocketAddress): New method.
From-SVN: r57494
2002-09-25 09:05:53 +00:00
Kaveh R. Ghazi
6c5d742e3b
Makefile.am (all-multi): Fix multilib parallel build.
...
boehm-gc:
* Makefile.am (all-multi): Fix multilib parallel build.
libf2c:
* Makefile.in (all): Fix multilib parallel build.
libffi:
* Makefile.am (all-multi): Fix multilib parallel build.
libiberty:
* Makefile.in (all): Fix multilib parallel build.
libjava:
* Makefile.am (all-multi): Fix multilib parallel build.
libobjc:
* Makefile.in (all): Fix multilib parallel build.
libstdc++-v3:
* Makefile.am (all-multi): Fix multilib parallel build.
zlib:
* Makefile.am (all-multi): Fix multilib parallel build.
From-SVN: r57423
2002-09-23 03:52:55 +00:00
Michael Koch
a2f2457fa4
Matcher.java, [...]: Merge with classpath, new files.
...
2002-09-18 Michael Koch <konqueror@gmx.de>
* java/util/regex/Matcher.java, java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java:
Merge with classpath, new files.
* Makefile.am (core_java_source_files):
Added java/util/regex/Matcher.java,
java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java
* Makefile.in: Regenerated.
* include/config.h.in: Added HAVE_NET_IF_H.
* java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
Removed #if 0 ... #endif.
From-SVN: r57275
2002-09-18 10:15:52 +00:00
Michael Koch
26ad77f173
NetworkInterface.java: New file.
...
2002-09-17 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java: New file.
* java/net/natNetworkInterface.java: New file.
* configure.in: Added check for net/if.h.
* configure: Regenerated.
* Makefile.am
(ordinary_java_source_files): Added NetworkInterface.java.
(nat_source_files): Added natNetworkInterface.cc.
* Makefile.in: Regenerated.
From-SVN: r57234
2002-09-17 06:58:40 +00:00
Michael Koch
8764acde96
DatagramChannel.java, [...]: New dummy files to make java.net fully JDK 1.4 compatible
...
2002-09-13 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java,
java/nio/channels/ServerSocketChannel.java
java/nio/channels/SocketChannel.java:
New dummy files to make java.net fully JDK 1.4 compatible
* Makefile.am (ordinary_java_source_files): Added
java/net/DatagramSocketImplFactory.java (long forgotten),
java/nio/SocketChannel.java,
java/nio/ServerSocketChannel.java,
java/nio/DatagramChannel.java
* Makefile.in: Regenrated.
From-SVN: r57101
2002-09-13 09:02:23 +00:00
Jeff Sturm
03296d1c22
Makefile.in: Rebuilt.
...
2002-08-30 Jeff Sturm <jsturm@one-point.com>
* Makefile.in: Rebuilt.
* Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
From-SVN: r56690
2002-08-30 23:08:52 +00:00
Mark Wielaard
6e0532cdf6
Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
...
* Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
(core_java_source_files): Add VMThrowable.java and NameFinder.java
(nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
and natNameFinder.cc.
* Makefile.in: Regenerate.
* prims.cc: Use trace_enabled from VMThrowable.
* name-finder.cc: Removed.
* gcj/javaprims.h: Add class VMThrowable.
* gnu/gcj/runtime/NameFinder.java: New file.
* gnu/gcj/runtime/natNameFinder.cc: Likewise.
* include/name-finder.h: Removed.
* java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
method stackTraceString().
(printStackTrace (PrintWriter)): Likewise.
(stackTraceString): Complete rewrite of old printStackTrace using
StringBuffer.
(stackTraceStringBuffer): New helper method for stackTraceString().
(fillInStackTrace): Delegate to VMTrowable.
(getStackTrace): Likewise.
(getStackTrace0): Removed.
(trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
(setStackTrace): Copy given array.
* java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
* java/lang/VMThrowable.java: New class.
* java/lang/natVMThrowable.cc: New file.
From-SVN: r56556
2002-08-24 22:46:19 +00:00
Tom Tromey
75c6e5486b
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
SocketAddress.java, InetSocketAddress.java.
* java/net/PortUnreachableException.java: Merged with Classpath.
* java/net/SocketTimeoutException.java: Likewise.
* java/net/URISyntaxException.java: Likewise.
* java/net/SocketAddress.java: New class from Classpath.
* java/net/InetSocketAddress.java: Likewise.
From-SVN: r56494
2002-08-21 18:54:07 +00:00
Michael Koch
9595a7fe2f
URISyntaxException.java: New file.
...
2002-08-20 Michael Koch <konqueror@gmx.de>
* java/net/URISyntaxException.java: New file.
* java/net/SocketTimeoutException.java: New file.
* java/net/PortUnreachableException.java: New file.
* Makefile.am: Updated.
* Makefile.in: Rebuilt.
From-SVN: r56452
2002-08-20 02:33:15 +01:00
Mark Wielaard
caad61a13c
Reenable patch since shared library troubles on powerpc are solved:
...
* 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-11 12:08:03 +00:00
Bryce McKinlay
55202bee3c
[multiple changes]
...
2002-08-09 Mark Wielaard <mark@klomp.org>
* java/awt/image/MemoryImageSource.java: Change constructor to take
int[] not byte[].
* java/awt/Graphics2D.java: Uncomment methods that can now be
compiled.
* java/awt/GridBagLayout.java: New stub implementation.
* javax/swing/text/html/HTML.java: Stub implementation.
* javax/swing/text/html/parser/ParserDelegator.java: New stub
implementation.
2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
methods in Graphics2D.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
From-SVN: r56152
2002-08-09 06:52:52 +01:00
Bryce McKinlay
7bde45b2eb
AWT/Swing merge from GNU Classpath.
...
From-SVN: r56147
2002-08-09 05:26:17 +01:00
Mark Wielaard
fd0ba965b2
Revert patch that breaks libgcj shared library on powerpc:
...
* 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-08-01 16:06:00 +00:00
Tom Tromey
9698ee33f0
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/beans/ExceptionListener.java: Merged with Classpath.
* java/beans/PropertyChangeEvent.java: Merged with Classpath.
* java/beans/PropertyChangeListener.java: Merged with Classpath.
* java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
* java/beans/PropertyChangeSupport.java: Merged with Classpath.
* java/beans/VetoableChangeListener.java: Merged with Classpath.
* java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
* java/beans/VetoableChangeSupport.java: Merged with Classpath.
From-SVN: r55459
2002-07-15 16:05:13 +00:00
Mark Wielaard
df815141ef
2002-07-14� Mark Wielaard� <mark@klomp.org>
...
* 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-07-14 22:18:35 +00:00
Tom Tromey
b2ae5f70a0
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in (INTERPRETER): New subst.
(AM_RUNTESTFLAGS): Don't subst.
From-SVN: r54940
2002-06-24 04:45:46 +00:00
Tom Tromey
17ba19fe45
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.
From-SVN: r54936
2002-06-24 00:16:36 +00:00
Bryce McKinlay
f2390faddf
Reformat JDBC classes and add new JDK 1.4 classes and methods.
...
* java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
java/sql/Savepoint.java: New files.
* java/sql/Array.java, java/sql/BatchUpdateException.java,
java/sql/Blob.java, java/sql/CallableStatement.java,
java/sql/Clob.java, java/sql/Connection.java,
java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
java/sql/Date.java, java/sql/Driver.java,
java/sql/DriverManager.java,
java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
java/sql/Ref.java, java/sql/ResultSet.java,
java/sql/ResultSetMetaData.java, java/sql/SQLData.java
java/sql/SQLException.java, java/sql/SQLInput.java,
java/sql/SQLOutput.java, java/sql/SQLWarning.java
java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
(JDK 1.4) specification.
* javax/sql/ConnectionEvent.java,
javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java, javax/sql/PooledConnection.java,
javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
javax/sql/RowSet.java, javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
javax/sql/XADataSource.java: New files.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
From-SVN: r54871
2002-06-21 06:39:33 +01:00
Tom Tromey
ab928b3241
javaprims.h: Updated class declaration list.
...
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Removed
BasicMapEntry.java.
* java/util/BasicMapEntry.java: Removed.
From-SVN: r54753
2002-06-18 17:06:44 +00:00
Tom Tromey
3831381763
javaprims.h: Updated class declaration list.
...
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added
PropertyPermissionCollection.java.
* java/lang/Thread.java (group, name): Now package-private.
* java/lang/ThreadGroup.java: Re-merge with Classpath.
* java/util/AbstractList.java: Likewise.
* java/util/AbstractMap.java: Likewise.
* java/util/Calendar.java: Likewise.
* java/util/Collections.java: Likewise.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/LinkedHashMap.java: Likewise.
* java/util/LinkedList.java: Likewise.
* java/util/List.java: Likewise.
* java/util/ListResourceBundle.java: Likewise.
* java/util/Map.java: Likewise.
* java/util/Observable.java: Likewise.
* java/util/Properties.java: Likewise.
* java/util/PropertyPermission.java: Likewise.
* java/util/PropertyPermissionCollection.java: Likewise.
* java/util/PropertyResourceBundle.java: Likewise.
* java/util/Random.java: Likewise.
* java/util/SimpleTimeZone.java: Likewise.
* java/util/StringTokenizer.java: Likewise.
* java/util/TimerTask.java: Likewise.
* java/util/TreeMap.java: Likewise.
* java/util/WeakHashMap.java: Likewise.
* java/util/jar/Attributes.java: Likewise.
* java/util/jar/JarException.java: Likewise.
* java/util/jar/Manifest.java: Likewise.
From-SVN: r54743
2002-06-18 15:40:16 +00:00
Tom Tromey
8217640552
javaprims.h: Updated class declaration list.
...
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new file.
* java/util/EventListenerProxy.java: New file.
* java/util/EventListener.java: Re-merge with Classpath.
* java/util/EventObject.java: Re-merge with Classpath.
From-SVN: r54720
2002-06-17 21:32:01 +00:00
Tom Tromey
419831367f
Class.h (Class::desiredAssertionStatus): Declare.
...
* java/lang/Class.h (Class::desiredAssertionStatus): Declare.
(Class::getPackagePortion): Likewise.
* java/lang/Class.java (desiredAssertionStatus): New method from
Classpath.
(getPackagePortion): Likewise.
* java/lang/VMClassLoader.java (defaultAssertionStatus,
packageAssertionStatus, classAssertionStatus): New methods from
Classpath.
* java/lang/ClassLoader.java (defaultAssertionStatus,
systemPackageAssertionStatus, packageAssertionStatus,
systemClassAssertionStatus, classAssertionStatus): New fields from
Classpath.
(setDefaultAssertionStatus, setPackageAssertionStatus,
setClassAssertionStatus, clearAssertionStatus): New methods from
Classpath.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added AssertionError.java.
* java/lang/AssertionError.java: New from Classpath.
From-SVN: r54517
2002-06-11 17:33:22 +00:00
H.J. Lu
5d3dfc3ac1
Makefile.am (libgcj_convenience.la): Revert the last change.
...
2002-06-05 H.J. Lu (hjl@gnu.org )
* Makefile.am (libgcj_convenience.la): Revert the last change.
(libgcj.la): Likewise.
* Makefile.in: Regenerated.
From-SVN: r54295
2002-06-05 15:15:05 -07:00
H.J. Lu
77d2dd29ad
Use ## for comment.
...
From-SVN: r54271
2002-06-04 17:19:30 -07:00
H.J. Lu
622dc71b65
Makefile.am (libgcj_convenience.la): New target.
...
2002-06-04 H.J. Lu (hjl@gnu.org )
* Makefile.am (libgcj_convenience.la): New target.
(libgcj.la): Depend on libgcj_convenience.la.
* Makefile.in: Regenerated.
From-SVN: r54268
2002-06-04 15:52:52 -07:00
Bryce McKinlay
d2f108e266
Merge JDK 1.4 java.security changes from classpath.
...
* 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-24 12:57:40 +01:00
Bryce McKinlay
4fbecd2944
Merge JDK 1.4 exception chaining support from classpath.
...
* java/lang/Throwable.java: Merge 1.4 support from classpath.
(stackTraceBytes): Rename from stackTrace.
* java/lang/Exception.java: Merge from classpath.
* java/lang/StackTraceElement: New file from classpath.
* gcj/javaprims.h: Rebuild CNI namespace declarations.
* Makefile.am: Add StackTraceElement.
* Makefile.in: Rebuilt.
From-SVN: r53836
2002-05-24 11:40:47 +01:00
Bryce McKinlay
a70b54fd56
Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first.
...
* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.
From-SVN: r53760
2002-05-23 05:18:35 +01:00
Tom Tromey
8639786815
re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
...
Fixes PR libgcj/6389:
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natTimeZone.cc.
* java/util/natTimeZone.cc: New file.
* java/util/TimeZone.java (getDefaultTimeZoneId): New method.
* java/lang/System.java: Merged with Classpath.
* java/lang/Runtime.java: Merged with Classpath.
* java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
security check.
(setIn0): Renamed from setIn; don't run security check.
(setOut0): Renamed from setOut; don't run security check.
(file_encoding, getpwuid_adaptor, getSystemTimeZone,
init_properties): Moved to natRuntime.cc.
Moved many includes to natRuntime.cc.
(isWordsBigEndian): New method.
* java/lang/natRuntime.cc: Include Long.h, also other includes
previously in natSystem.cc.
(maxMemory): New function.
(exitInternal): Renamed from `_exit'.
(exit): Removed.
(init): Don't set finalize_on_exit.
(exitInternal): Use `finalizeOnExit'.
(file_encoding, getpwuid_adaptor): New functions from
natSystem.cc.
(insertSystemProperties): New method, renamed from
System::init_properties. Don't set user.timezone.
(_load): Don't call checkLink.
(execInternal): New method.
(availableProcessors): Likewise.
(nativeGetLibname): Likewise.
From-SVN: r53429
2002-05-13 20:10:37 +00:00