Michael Koch
ff6e1bc0aa
Socket.java (getPort): Return 0 in error case.
...
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java (getPort): Return 0 in error case.
From-SVN: r90805
2004-11-17 12:08:31 +00:00
Michael Koch
4dbbd945e0
2004-11-17 Michael Koch <konqueror@gmx.de>
...
* java/nio/DirectByteBufferImpl.java
(owner): Updated comment.
(allocate): New method.
From-SVN: r90804
2004-11-17 11:57:55 +00:00
Michael Koch
f6bf324df0
URL.java (URL): Handle case when argument is null.
...
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/URL.java (URL): Handle case when argument is null.
From-SVN: r90800
2004-11-17 08:40:53 +00:00
Michael Koch
866212e722
Beans.java, [...]: Fixed javadocs.
...
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/beans/Beans.java,
java/beans/PropertyChangeEvent.java,
java/beans/PropertyEditorSupport.java:
Fixed javadocs.
From-SVN: r90799
2004-11-17 08:17:20 +00:00
Michael Koch
2cc07ffcf1
Timer.java (DEFAULT_SIZE): Made static.
...
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/util/Timer.java (DEFAULT_SIZE): Made static.
From-SVN: r90798
2004-11-17 08:11:22 +00:00
Michael Koch
879245b6b2
InetAddress.java (getCanonicalHostName): Support IPv6 addresses.
...
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java (getCanonicalHostName):
Support IPv6 addresses.
From-SVN: r90793
2004-11-17 07:09:57 +00:00
Michael Koch
0b43493272
Object.java: Added javadocs all over (merged from GNU classpath).
...
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/lang/Object.java: Added javadocs all over (merged from GNU
classpath).
From-SVN: r90766
2004-11-16 21:37:29 +00:00
Andreas Tobler
fd9065b2ef
Security.java (Security): Silence the warning about no providers found in the no debug case.
...
2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
* java/security/Security.java (Security): Silence the warning about no
providers found in the no debug case.
From-SVN: r90765
2004-11-16 22:31:55 +01:00
Michael Koch
0a56af0b24
2004-11-16 Michael Koch <konqueror@gmx.de>
...
* java/net/InetAddress.java
(toString): Merged from GNU classpath.
From-SVN: r90743
2004-11-16 15:33:49 +00:00
Michael Koch
c1d36a8934
Area-1.png, [...]: New files.
...
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/awt/geom/doc-files/Area-1.png,
java/awt/geom/doc-files/Ellipse-1.png,
java/awt/geom/doc-files/GeneralPath-1.png:
New files.
From-SVN: r90742
2004-11-16 15:28:57 +00:00
Michael Koch
83e620bbe2
Currency.java (cache): Fix modifier order.
...
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/util/Currency.java (cache): Fix modifier order.
From-SVN: r90741
2004-11-16 15:24:55 +00:00
Michael Koch
be06f47bc1
BufferedReader.java, [...]: Fixed javadocs all over.
...
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/FileWriter.java,
java/io/OutputStreamWriter.java,
java/io/PipedInputStream.java,
java/io/PipedOutputStream.java,
java/io/PipedReader.java,
java/io/PipedWriter.java,
java/io/PrintStream.java,
java/io/PushbackInputStream.java,
java/io/RandomAccessFile.java,
java/io/Reader.java,
java/io/StreamTokenizer.java,
java/io/StringReader.java,
java/net/NetworkInterface.java,
java/net/URLClassLoader.java,
java/nio/ByteOrder.java,
java/nio/channels/Channel.java:
Fixed javadocs all over.
From-SVN: r90727
2004-11-16 11:30:14 +00:00
Andreas Tobler
6917e65713
[multiple changes]
...
2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-10-24 Casey Marshall <csm@gnu.org>
* javax/security/auth/login/LoginContext.java: Implemented.
* javax/security/auth/login/Configuration.java (getConfig): New method.
* javax/security/auth/spi/LoginModule.java,
* gnu/java/security/action/GetSecurityPropertyAction.java: New files.
From-SVN: r90718
2004-11-16 08:42:43 +01:00
Andreas Tobler
507148866c
004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
...
Import/Merge the X.509 certificate code from Classpath.
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/provider/Gnu.java(<init>): Add entries in a
priviliged action. Add new algorithms.
* gnu/java/security/provider/X509CertificateFactory.java
(engineGenerateCertificate): Chain exceptions.
(engineGenerateCertificates): Likewise.
(engineGenerateCRL): Likewise.
(engineGenerateCRLs): Likewise.
(engineGenerateCertPath): New methods.
(generateCert): Throw exception if 'inStream' is null.
(generateCRL): Likewise.
* gnu/java/security/x509/X500DistinguishedName.java: Replaced with
version from GNU Crypto CVS.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/X509Certificate.java: Likewise.
* java/security/cert/TrustAnchor.java: Call 'toString' and not
toRFC2253.
* gnu/java/security/provider/CollectionCertStoreImpl.java,
* gnu/java/security/provider/EncodedKeyFactory.java,
* gnu/java/security/provider/GnuDHPublicKey.java,
* gnu/java/security/provider/GnuRSAPrivateKey.java,
* gnu/java/security/provider/GnuRSAPublicKey.java,
* gnu/java/security/provider/MD2withRSA.java,
* gnu/java/security/provider/MD4withRSA.java,
* gnu/java/security/provider/MD5withRSA.java,
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
* gnu/java/security/provider/RSA.java,
* gnu/java/security/provider/RSAKeyFactory.java,
* gnu/java/security/provider/SHA1withRSA.java,
* gnu/java/security/x509/GnuPKIExtension.java,
* gnu/java/security/x509/PolicyNodeImpl.java,
* gnu/java/security/x509/Util.java,
* gnu/java/security/x509/X509CRLSelectorImpl.java,
* gnu/java/security/x509/X509CertPath.java,
* gnu/java/security/x509/X509CertSelectorImpl.java,
* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
* gnu/java/security/x509/ext/BasicConstraints.java,
* gnu/java/security/x509/ext/CRLNumber.java,
* gnu/java/security/x509/ext/CertificatePolicies.java,
* gnu/java/security/x509/ext/ExtendedKeyUsage.java,
* gnu/java/security/x509/ext/Extension.java,
* gnu/java/security/x509/ext/GeneralNames.java,
* gnu/java/security/x509/ext/IssuerAlternativeNames.java,
* gnu/java/security/x509/ext/KeyUsage.java,
* gnu/java/security/x509/ext/PolicyConstraint.java,
* gnu/java/security/x509/ext/PolicyMappings.java,
* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
* gnu/java/security/x509/ext/ReasonCode.java,
* gnu/java/security/x509/ext/SubjectAlternativeNames.java,
* gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CRL.java:
Missed import statements in previous checkin.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
to 'X509CertificateImpl' from previous checkin.
From-SVN: r90682
2004-11-15 21:02:08 +01:00
Andrew Pinski
690e11b8f5
re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
...
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* lib/g++.exp: Set LC_ALL and LANG to C.
* lib/gcc-dg.exp: Likewise.
* lib/gfortran.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/treelang.exp: Likewise.
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
From-SVN: r90539
2004-11-12 11:43:57 -08:00
Casey Marshall
2941ddc40c
FileLock.java (isValid): locks are valid if the channel is open.
...
2004-11-11 Casey Marshall <csm@gnu.org>
* gnu/java/nio/FileLock.java (isValid): locks are valid if the
channel is open.
* gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
From-SVN: r90538
2004-11-12 19:15:27 +00:00
Robert Schuster
5fd4020042
Fixed regression:
...
2004-11-11 Robert Schuster <thebohemian@gmx.net>
Fixed regression:
* gnu/java/beans/IntrospectionIncubator.java:
(addMethod): corrected classification of normal and property methods
(capitalize): added documentation
(DoubleKey): [class] added documentation
From-SVN: r90527
2004-11-12 13:17:42 +00:00
Tom Tromey
cdf87ecb60
* include/jni.h: Added FIXME.
...
From-SVN: r90370
2004-11-09 22:42:01 +00:00
Tom Tromey
763f47eec9
GregorianCalendar.java: Removed unused imports.
...
* java/util/GregorianCalendar.java: Removed unused imports.
* java/util/Vector.java: Removed unused import.
From-SVN: r90316
2004-11-08 23:04:34 +00:00
Mark Wielaard
d060a30bf8
[multiple changes]
...
2004-11-07 Michael Koch <konqueror@gmx.de>
* java/lang/Process.java:
Import cleanups.
2004-11-07 Jeroen Frijters <jeroen@frijters.net>
* java/util/zip/ZipEntry.java
(KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
From-SVN: r90231
2004-11-07 13:05:53 +00:00
Robert Schuster
c2914ce5bf
Fixes bug #10908
...
2004-11-07 Robert Schuster <theBohemian@gmx.net>
Fixes bug #10908
* gnu/java/beans/IntrospectionIncubator.java:
(addMethod): static methods are discarded now, too.
From-SVN: r90230
2004-11-07 12:38:03 +00:00
Andrew John Hughes
43962ff925
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
...
* java/util/GregorianCalendar.java
Added/amended documentation.
From-SVN: r90228
2004-11-07 11:55:09 +00:00
Andrew John Hughes
70c67ff596
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
...
* java/util/Collections.java
Added documentation.
* java/util/SortedMap.java
Clarified some method examples.
* java/util/SortedSet.java
Clarified some method examples.
From-SVN: r90227
2004-11-07 11:42:22 +00:00
Andrew John Hughes
bfda8308a5
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
...
* java/util/Currency.java
Documented variables and methods more fully.
Caches the currency instances, so that a request
for a locale, l, only ever returns the same
instance (i.e. successive calls to getInstance(l)
are reference equivalent (==)).
From-SVN: r90226
2004-11-07 11:29:03 +00:00
Andrew John Hughes
6dd70904fb
2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
...
* java/util/Date.java
Added missing documentation.
From-SVN: r90225
2004-11-07 11:17:46 +00:00
Michael Koch
d56ab5d287
CheckedInputStream.java, [...]: Import cleanups.
...
2004-11-06 Michael Koch <konqueror@gmx.de>
* java/util/zip/CheckedInputStream.java,
java/util/zip/InflaterInputStream.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java:
Import cleanups.
From-SVN: r90220
2004-11-07 01:25:48 +00:00
Tom Tromey
9ec0f3c8f5
UnicastConnectionManager.java (clients): Now package-private.
...
* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
package-private.
(connections): Likewise.
(scavenger): Likewise.
* gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
package-private.
* gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
package-private.
(ptr): Likewise.
* gnu/classpath/ServiceFactory.java (log): Now package-private.
From-SVN: r90206
2004-11-06 23:38:51 +00:00
Tom Tromey
ab6036c8fb
BasicAttributes.java (attributes): Now package-private.
...
* javax/naming/directory/BasicAttributes.java (attributes): Now
package-private.
* javax/imageio/spi/ServiceRegistry.java (categories): Now
package-private.
From-SVN: r90204
2004-11-06 23:29:12 +00:00
Tom Tromey
92002f50bd
URLClassLoader.java (URLClassLoader): Now package-private.
...
* java/net/URLClassLoader.java (URLClassLoader): Now
package-private.
* java/nio/charset/CoderResult.java (CoderResult): Now
package-private.
(get): Likewise.
(Cache): Likewise. Don't synchronize on `this'.
* java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
package-private.
* java/util/TimeZone.java (timezones): Now package-private.
From-SVN: r90203
2004-11-06 23:22:05 +00:00
Tom Tromey
96859aa470
Permissions.java (perms): Now package-private.
...
* java/security/Permissions.java (perms): Now package-private.
* java/security/UnresolvedPermission.java (permissions): Now
package-private.
From-SVN: r90202
2004-11-06 23:11:47 +00:00
Tom Tromey
d28f307870
* java/io/FilePermission.java: Reindented.
...
From-SVN: r90201
2004-11-06 23:07:45 +00:00
Tom Tromey
7771b8da33
ObjectOutputStream.java (currentObjectStreamClass): Now package-private.
...
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
package-private.
(setBlockDataMode): Likewise.
From-SVN: r90198
2004-11-06 22:56:38 +00:00
Tom Tromey
91229668e3
ISO_8859_1.java (Decoder): Now package-private.
...
* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
package-private.
(Encoder): Likewise.
* gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
(Encoder): Likewise.
* gnu/java/nio/charset/US_ASCII.java (Decoder): Now
package-private.
(Encoder): Likewise.
From-SVN: r90196
2004-11-06 22:44:47 +00:00
Mark Wielaard
6c56bdc2fa
[multiple changes]
...
2004-11-06 Mark Wielaard <mark@klomp.org>
* Makefile.am: Add new javax.imageio files.
* Makefile.in: Regenerated.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/event/IIOReadProgressListener.java,
javax/imageio/event/IIOReadUpdateListener.java,
javax/imageio/event/IIOReadWarningListener.java,
javax/imageio/event/IIOWriteProgressListener.java,
javax/imageio/event/IIOWriteWarningListener.java,
javax/imageio/metadata/IIOMetadataFormat.java,
javax/imageio/stream/FileCacheImageInputStream.java,
javax/imageio/stream/FileCacheImageOutputStream.java,
javax/imageio/stream/ImageInputStreamImpl.java:
Import cleanup.
* javax/imageio/metadata/package.html: New file.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/ImageReaderSpi.java
(isOwnReader): New method.
* javax/imageio/spi/ImageWriterSpi.java
(isOwnWriter): Likewise.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageWriter.java
(convertImageMetadata): New abstract method.
(convertStreamMetadata): Likewise.
(write): Likewise.
* javax/imageio/stream/FileCacheImageInputStream.java
(close): Fixed setting of stream to null.
(checkStreamClosed): Throws IOException.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/stream/FileCacheImageInputStream.java,
javax/imageio/stream/FileCacheImageOutputStream.java,
javax/imageio/stream/FileImageInputStream.java,
javax/imageio/stream/FileImageOutputStream.java,
javax/imageio/stream/MemoryCacheImageInputStream.java,
javax/imageio/stream/MemoryCacheImageOutputStream.java:
New files.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/metadata/IIOInvalidTreeException.java,
javax/imageio/metadata/IIOMetadataFormatImpl.java,
javax/imageio/metadata/IIOMetadataNode.java:
New stub files.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/stream/ImageInputStreamImpl.java,
javax/imageio/stream/ImageOutputStreamImpl.java:
New files.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageIO.java:
Added much new methods.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageReader.java,
javax/imageio/ImageWriter.java,
javax/imageio/spi/ImageWriterSpi.java:
Add SOME new methods.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/IIOParam.java,
javax/imageio/ImageReadParam.java,
javax/imageio/ImageReader.java,
javax/imageio/ImageWriter.java:
Mostly implemented.
* javax/imageio/spi/ImageReaderSpi.java,
javax/imageio/spi/ImageWriterSpi.java:
New files.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageWriteParam.java,
javax/imageio/metadata/IIOMetadataFormat.java:
Implemented.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageTypeSpecifier.java:
Mostly implemented.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/metadata/IIOMetadata.java:
Mostly implemented.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/IIOImage.java,
javax/imageio/ImageReadParam.java,
javax/imageio/metadata/IIOMetadataController.java,
javax/imageio/metadata/IIOMetadataFormat.java:
New files.
* javax/imageio/stream/ImageOutputStream.java:
Implemented.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/IIOParam.java,
javax/imageio/IIOParamController.java,
javax/imageio/ImageTypeSpecifier.java,
javax/imageio/ImageWriteParam.java,
javax/imageio/metadata/IIOMetadata.java:
New files.
* javax/imageio/ImageTranscoder.java:
Implemented.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/ImageInputStreamSpi.java,
javax/imageio/spi/ImageOutputStreamSpi.java:
Reworked import startments.
* javax/imageio/spi/ServiceRegistry.java:
Reworked import startments. Fixed XHTML in javadocs.
(ServiceRegistry): Added @param tag to javadoc.
* javax/imageio/stream/ImageInputStream.java
(mark): Doesn't throws IOException;
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageIO.java:
New file.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/IIORegistry.java
(static): Don't register ImageReaderSpi.class and
ImageWriterSpi.class yet.
2004-11-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/IIORegistry.java:
New file.
From-SVN: r90181
2004-11-06 18:09:00 +00:00
Noa Resare
8d43449bee
Socket.java (getPort): Return 0 instead of -1 on unconnected sockets.
...
2004-11-06 Noa Resare <noa@resare.com>
* java/net/Socket.java (getPort): Return 0 instead of -1 on
unconnected sockets.
From-SVN: r90178
2004-11-06 16:49:56 +00:00
Michael Koch
c2e999dfeb
StringBuffer.java, [...]: Removed redundant and reordered modifiers.
...
2004-11-06 Michael Koch <konqueror@gmx.de>
* java/lang/StringBuffer.java,
java/lang/Throwable.java,
java/security/spec/DSAParameterSpec.java,
java/util/zip/ZipEntry.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java,
java/util/zip/ZipOutputStream.java:
Removed redundant and reordered modifiers.
From-SVN: r90177
2004-11-06 16:32:56 +00:00
Mattias Rehnberg
03e9b84966
2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
...
* java/io/Vector.java
(writeObject): New function to serialized output thread safe.
* java/io/ObjectOutputStream.java
(writeObject): Move the assignment of the class handle to after
the assignment of class descriptor handle.
From-SVN: r90175
2004-11-06 15:52:00 +00:00
Robert Schuster
6ea123cec7
Fixes documentation and indentation
...
2004-11-06 Robert Schuster <thebohemian@gmx.net>
Fixes documentation and indentation
* java/beans/PropertyEditorSupport.java:
reworked initial API doc
(value): changed name from val
2004-11-06 Robert Schuster <thebohemian@gmx.net>
Updates to 1.5
* java/beans/PropertyEditorSupport.java
(PropertyEditorSupport()): Changed modifier to public
(PropertyEditorSupport(Object): Changed modifier to public
(setSource): New method
(getSource): New method
2004-11-06 Robert Schuster <thebohemian@gmx.net>
Fixes bug #10799
* java/beans/PropertyEditorSupport.java
(setValue): Fire property change event
From-SVN: r90170
2004-11-06 13:22:13 +00:00
Tom Tromey
cb0be2e79f
jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
...
* jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
* include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
returns jobjectArray.
(_Jv_JNIEnv::NewObjectArray): Likewise.
From-SVN: r90041
2004-11-03 22:53:20 +00:00
Tom Tromey
939347bb51
verify.cc (state::check_no_uninitialized_objects): Removed.
...
* verify.cc (state::check_no_uninitialized_objects): Removed.
(push_jump): Updated.
(push_exception_jump): Likewise.
(handle_ret_insn): Likewise.
(handle_jsr_insn): Likewise.
From-SVN: r90040
2004-11-03 22:44:30 +00:00
Mark Wielaard
5dc8952e24
re PR libgcj/18234 (System property java.library.path doesn't get used by System.loadLibrary())
...
PR libgcj/18234
* java/lang/Runtime.java (static): Call init().
(Runtime): Remove call to init().
(init): Make static.
From-SVN: r89902
2004-10-30 23:58:26 +00:00
David Daney
86ce0e3d22
Output_UnicodeLittleUnmarked.java: New file.
...
2004-10-28 David Daney <ddaney@avtrex.com>
* gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
* Makefile.am: Build it.
* Makefile.in: Regenerate.
From-SVN: r89763
2004-10-28 15:22:44 +00:00
Aaron W. LaFramboise
349e19d4e8
re PR libgcj/18104 (Incorrect CLASSPATH separator in libjava breaks bootstrap)
...
PR libgcj/18104
* Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
colon.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (CLASSPATH_SEPARATOR): Define.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libjava.exp (libjava_arguments): Fix
CLASSPATH separator handling for Windows.
----------------------------------------------------------------------
From-SVN: r89628
2004-10-26 20:43:43 -06:00
Michael Koch
8db8c940f1
2004-10-26 Michael Koch <konqueror@gmx.de>
...
* gnu/java/net/protocol/http/Connection.java
(getOutputStream): Implicitely switch to POST method.
From-SVN: r89581
2004-10-26 11:48:42 +00:00
Kriang Lerdsuwanakij
ea0ffdd260
* libjava/java/lang/Class.h
...
(java::lang::Class): Correct friend class declaration.
From-SVN: r89578
2004-10-26 10:43:56 +00:00
Geoffrey Keating
f1a6626519
Index: gcc/gcc/ChangeLog
...
2004-10-25 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h (LINK_SPEC): Default weak_reference_mismatches
to 'non-weak'.
(MAKE_DECL_ONE_ONLY): Set DECL_WEAK.
(ASM_MAKE_LABEL_LINKONCE): Delete.
(ASM_WEAKEN_DECL): New.
(ASM_DECLARE_OBJECT_NAME): Look at DECL_WEAK not DECL_ONE_ONLY.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(TEXT_SECTION_ASM_OP): Add a tab.
(DATA_SECTION_ASM_OP): Likewise.
(SECTION_FUNCTION): Add a tab. Use fputs. Don't call
data_section on every section change.
(EXTRA_SECTIONS): Add a bunch of new extra sections.
(EXTRA_SECTION_FUNCTIONS): Likewise.
(USE_SELECT_SECTION_FOR_FUNCTIONS): Define.
(JCR_SECTION_NAME): Define.
(TARGET_SECTION_TYPE_FLAGS): Don't define.
* config/darwin.c (darwin_encode_section_info): A symbol is defined
in this file if it is not weak.
(textcoal_section): Delete.
(datacoal_section): Delete.
(darwin_make_decl_one_only): Delete.
(machopic_select_section): Handle functions.
(darwin_asm_named_section): Add a tab.
(darwin_section_type_flags): Delete.
(darwin_unique_section): Delete contents.
(darwin_emit_unwind_label): Add a tab. Make decls weak if
DECL_WEAK is set.
* config/darwin-protos.h (darwin_section_type_flags): Delete.
(darwin_make_decl_one_only): Delete.
(text_coal_section): New.
(text_unlikely_section): New.
(text_unlikely_coal_section): New.
(const_coal_section): New.
(data_coal_section): New.
(const_data_coal_section): New.
* varasm.c (function_section): Honour
USE_SELECT_SECTION_FOR_FUNCTIONS.
* dwarf2out.c (output_call_frame_info): Look at DECL_WEAK when
TARGET_USES_WEAK_UNWIND_INFO is in effect.
* dbxout.c (dbxout_source_file): Don't change sections while
a function is being output.
Index: gcc/testsuite/ChangeLog
2004-10-25 Geoffrey Keating <geoffk@apple.com>
* objc.dg/image-info.m: Update for changes to section selection.
Index: libjava/ChangeLog
2004-10-25 Geoffrey Keating <geoffk@apple.com>
* Makefile.am (DARWIN_CRT_SRC): New.
(libgcj_la_SOURCES): Use it.
* configure.ac: Define USING_DARWIN_CRT when on Darwin.
* darwin.cc: New file.
* include/jvm.h (_Jv_RegisterClasses): Constify.
(_Jv_RegisterClasses_Counted): New prototype.
* java/lang/Class.h: Include stddef.h.
(_Jv_RegisterClasses): Constify.
(_Jv_RegisterClasses_Counted): New prototype.
(Object): Make '_Jv_RegisterClasses_Counted' a friend.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
(_Jv_RegisterClasses_Counted): New function.
* configure: Regenerate.
* Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
Index: libstdc++-v3/ChangeLog
2004-10-25 Geoffrey Keating <geoffk@apple.com>
* libsupc++/new_op.cc (new): Make weak.
* libsupc++/new_opnt.cc (new): Make weak.
* libsupc++/new_opv.cc (new): Make weak.
* libsupc++/new_opvnt.cc (new): Make weak.
* libsupc++/delete_op.cc (delete): Make weak.
* libsupc++/delete_opnt.cc (delete): Make weak.
* libsupc++/delete_opv.cc (delete): Make weak.
* libsupc++/delete_opvnt.cc (delete): Make weak.
From-SVN: r89572
2004-10-26 06:09:05 +00:00
Tom Tromey
4cd26879f7
ResourceBundle.java (tryBundle): Use Class.isAssignableFrom rather than catching ClassCastException.
...
* java/util/ResourceBundle.java (tryBundle): Use
Class.isAssignableFrom rather than catching ClassCastException.
From-SVN: r89542
2004-10-25 17:09:46 +00:00
Tom Tromey
6fc058da98
WordBreakIterator.java (WordBreakIterator): Don't initialize `iter'.
...
* gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
initialize `iter'.
* gnu/java/text/SentenceBreakIterator.java
(SentenceBreakIterator): Don't initialize `iter'.
* gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
initialize `iter'.
* gnu/java/text/CharacterBreakIterator.java
(CharacterBreakIterator): Don't initialize `iter'.
* gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
constructor.
* java/text/BreakIterator.java: Updated documentation.
From-SVN: r89539
2004-10-25 16:56:00 +00:00
Eric Botcazou
1e02510f05
re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite)
...
gcc/testsuite:
PR other/18138
* lib/g++.exp: Accept more than one multilib libgcc.
* lib/gcc-dg.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/treelang.exp: Likewise.
* lib/gfortran.exp: Likewise.
libffi:
PR other/18138
* testsuite/lib/libffi-dg.exp: Accept more than one multilib
libgcc.
libjava:
PR other/18138
* testsuite/lib/libjava.exp: Accept more than one multilib
libgcc.
libmudflap!:
PR other/18138
* testsuite/lib/libmudflap.exp: Accept more than one multilib
libgcc.
libstdc++-v3:
PR other/18138
* testsuite/lib/libstdc++.exp: Accept more than one multilib
libgcc.
From-SVN: r89528
2004-10-25 09:01:15 +00:00
Michael Koch
b1a70a1a82
DocFlavor.java, [...]: Added missing constants.
...
2004-10-23 Michael Koch <konqueror@gmx.de>
* javax/print/DocFlavor.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/MultipleDocumentHandling.java:
Added missing constants.
From-SVN: r89494
2004-10-23 20:06:12 +00:00
Tom Tromey
aced40e999
Connection.java (sendRequest): Fix typo.
...
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
typo.
From-SVN: r89477
2004-10-22 21:15:38 +00:00
Michael Koch
7758f90a45
re PR libgcj/14009 (libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.)
...
2004-10-22 Michael Koch <konqueror@gmx.de>
PR libjava/14009
* gnu/java/net/protocol/http/Connection.java
(sendRequest): Handle case when url.getFile() returns an empty string.
From-SVN: r89476
2004-10-22 20:23:21 +00:00
Michael Koch
7651d1b89e
Fixed ChangeLog entry of my last commit.
...
From-SVN: r89455
2004-10-22 17:16:28 +00:00
Michael Koch
0460023ee2
2004-10-22 Michael Koch <konqueror@gmx.de>
...
* java/lang/Math.java
* java/lang/StackTraceElement.java
* java/nio/Buffer.java
* java/nio/ByteBuffer.java
* java/nio/CharBuffer.java
* java/nio/DoubleBuffer.java
* java/nio/FloatBuffer.java
* java/nio/IntBuffer.java
* java/nio/LongBuffer.java
* java/nio/ShortBuffer.java
* java/nio/charset/Charset.java
* java/rmi/server/RMIClassLoader.java
* java/rmi/server/RMISocketFactory.java
* java/security/Policy.java
* java/text/ChoiceFormat.java
* java/text/CollationElementIterator.java
* java/text/DateFormat.java
* java/text/DecimalFormat.java
* java/text/DecimalFormatSymbols.java
* java/text/MessageFormat.java
* java/text/NumberFormat.java
* java/text/RuleBasedCollator.java
* java/text/SimpleDateFormat.java
* java/util/BitSet.java
* java/util/Calendar.java
* java/util/Collections.java
* java/util/IdentityHashMap.java
* java/util/Locale.java
* java/util/TreeMap.java
* java/util/logging/LogRecord.java
* java/util/logging/XMLFormatter.java
* java/util/prefs/AbstractPreferences.java
* java/util/prefs/Preferences.java
* javax/crypto/interfaces/DHPrivateKey.java
* javax/crypto/interfaces/DHPublicKey.java
* javax/crypto/interfaces/PBEKey.java
* javax/net/ssl/HandshakeCompletedEvent.java
* javax/security/auth/Subject.java
From-SVN: r89454
2004-10-22 17:14:29 +00:00
Ulrich Weigand
969def5539
* gnu/java/net/natPlainSocketImplPosix.cc
...
(gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
with 'int *' argument instead of 'long *'.
From-SVN: r89450
2004-10-22 15:27:04 +00:00
Michael Koch
8265f93117
NetworkInterface.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java,
java/text/Format.java,
javax/security/auth/x500/X500Principal.java,
javax/security/auth/x500/X500PrivateCredential.java,
javax/security/cert/X509CertBridge.java,
javax/security/sasl/Sasl.java,
javax/sql/XAConnection.java:
Import cleanup.
From-SVN: r89401
2004-10-21 21:00:07 +00:00
Michael Koch
875dc6aa0e
HandshakeCompletedEvent.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* javax/net/ssl/HandshakeCompletedEvent.java,
javax/net/ssl/KeyManagerFactory.java,
javax/net/ssl/SSLContext.java,
javax/net/ssl/SSLServerSocketFactory.java,
javax/net/ssl/SSLSession.java,
javax/net/ssl/SSLSocketFactory.java,
javax/net/ssl/TrustManagerFactory.java:
Import cleanup.
From-SVN: r89400
2004-10-21 20:54:37 +00:00
Michael Koch
2c69d1e0f2
BasicAttribute.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/BasicAttribute.java,
javax/naming/directory/BasicAttributes.java,
javax/naming/directory/InitialDirContext.java,
javax/naming/event/NamingEvent.java,
javax/naming/ldap/ControlFactory.java,
javax/naming/ldap/ExtendedRequest.java,
javax/naming/ldap/InitialLdapContext.java,
javax/naming/ldap/LdapReferralException.java,
javax/naming/spi/DirObjectFactory.java,
javax/naming/spi/DirStateFactory.java,
javax/naming/spi/DirectoryManager.java,
javax/naming/spi/InitialContextFactory.java,
javax/naming/spi/InitialContextFactoryBuilder.java,
javax/naming/spi/NamingManager.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ObjectFactoryBuilder.java,
javax/naming/spi/StateFactory.java:
Import cleanup.
From-SVN: r89399
2004-10-21 20:50:13 +00:00
Michael Koch
d69201f46e
Cipher.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* javax/crypto/Cipher.java,
javax/crypto/EncryptedPrivateKeyInfo.java,
javax/crypto/ExemptionMechanism.java,
javax/crypto/KeyAgreement.java,
javax/crypto/KeyGenerator.java,
javax/crypto/Mac.java,
javax/crypto/SecretKeyFactory.java,
javax/crypto/SecretKeyFactorySpi.java,
javax/crypto/spec/SecretKeySpec.java:
Import cleanup.
From-SVN: r89398
2004-10-21 20:38:29 +00:00
Michael Koch
78fe42c391
AlgorithmParameterGenerator.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/AlgorithmParametersSpi.java,
java/security/AllPermission.java,
java/security/BasicPermission.java,
java/security/Certificate.java,
java/security/CodeSource.java,
java/security/DigestInputStream.java,
java/security/DigestOutputStream.java,
java/security/GuardedObject.java,
java/security/KeyFactory.java,
java/security/KeyFactorySpi.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/KeyStoreSpi.java,
java/security/Permissions.java,
java/security/Security.java,
java/security/Signature.java,
java/security/UnresolvedPermission.java,
java/security/cert/CertPathBuilder.java,
java/security/cert/CertPathValidator.java,
java/security/cert/CertStore.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateFactory.java,
java/security/cert/PolicyQualifierInfo.java,
java/security/cert/TrustAnchor.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLSelector.java,
java/security/cert/X509CertSelector.java:
Import cleanup.
From-SVN: r89397
2004-10-21 20:21:04 +00:00
Michael Koch
02db0fc1ce
MarshalledObject.java, [...]: Import cleanup.
...
2004-10-21 Michael Koch <konqueror@gmx.de>
* java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/activation/Activatable.java,
java/rmi/activation/ActivationGroup.java,
java/rmi/activation/ActivationGroupDesc.java,
java/rmi/activation/ActivationInstantiator.java,
java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
java/rmi/activation/Activator.java,
java/rmi/registry/LocateRegistry.java,
java/rmi/registry/Registry.java,
java/rmi/server/LogStream.java,
java/rmi/server/ObjID.java,
java/rmi/server/RMIClientSocketFactory.java,
java/rmi/server/RMIServerSocketFactory.java,
java/rmi/server/RMISocketFactory.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteServer.java,
java/rmi/server/ServerRef.java,
java/rmi/server/UID.java,
java/rmi/server/UnicastRemoteObject.java:
Import cleanup.
From-SVN: r89396
2004-10-21 20:14:03 +00:00
Tom Tromey
c28fdf712f
InflaterInputStream.java (fill): Don't throw an exception if we hit EOF of `in'.
...
* java/util/zip/InflaterInputStream.java (fill): Don't throw an
exception if we hit EOF of `in'.
(read): Handle case where inflating returns -1.
From-SVN: r89395
2004-10-21 19:32:51 +00:00
Ulrich Weigand
b228bf7fd2
* gnu/java/nio/channels/natFileChannelPosix.cc
...
(FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
argument instead of 'long *'.
From-SVN: r89391
2004-10-21 18:21:00 +00:00
Tom Tromey
5303e3d7d7
ResourceBundle.java (tryBundle): Also ignore ClassCastException.
...
* java/util/ResourceBundle.java (tryBundle): Also ignore
ClassCastException.
From-SVN: r89379
2004-10-21 15:55:09 +00:00
Kaz Kojima
be3d702cc4
configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h for all sh*-*-linux* targets.
...
* configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
for all sh*-*-linux* targets.
* configure: Regenerate.
* include/sh-signal.h: New file.
From-SVN: r89368
2004-10-21 10:44:39 +00:00
Kazuhiro Inaoka
2989a2f55b
Add m32r support.
...
From-SVN: r89367
2004-10-21 09:36:47 +00:00
Andreas Schwab
b3a450236a
natClass.cc (_Jv_LayoutVTableMethods): Cast pointers to uaddr, not int.
...
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
to uaddr, not int.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
Likewise.
From-SVN: r89346
2004-10-20 21:42:33 +00:00
Michael Koch
a904937b63
ColorSupported.java, [...]: Reorganized imports and removed redundant final modifiers.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/ColorSupported.java,
javax/print/attribute/standard/Compression.java,
javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/CopiesSupported.java,
javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/Fidelity.java,
javax/print/attribute/standard/Finishings.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobImpressionsSupported.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobKOctetsSupported.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobMediaSheetsSupported.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/JobPrioritySupported.java,
javax/print/attribute/standard/JobSheets.java,
javax/print/attribute/standard/JobState.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/print/attribute/standard/Media.java,
javax/print/attribute/standard/MultipleDocumentHandling.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/NumberUpSupported.java,
javax/print/attribute/standard/OrientationRequested.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PDLOverrideSupported.java,
javax/print/attribute/standard/PageRanges.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/PagesPerMinuteColor.java,
javax/print/attribute/standard/PrintQuality.java,
javax/print/attribute/standard/PrinterInfo.java,
javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
javax/print/attribute/standard/PrinterLocation.java,
javax/print/attribute/standard/PrinterMakeAndModel.java,
javax/print/attribute/standard/PrinterMessageFromOperator.java,
javax/print/attribute/standard/PrinterMoreInfo.java,
javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
javax/print/attribute/standard/PrinterName.java,
javax/print/attribute/standard/PrinterStateReason.java,
javax/print/attribute/standard/PrinterStateReasons.java,
javax/print/attribute/standard/PrinterURI.java,
javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
javax/print/attribute/standard/RequestingUserName.java:
Reorganized imports and removed redundant final modifiers.
From-SVN: r89330
2004-10-20 12:03:40 +00:00
Michael Koch
ccc893838d
SaslClient.java, [...]: Remvoed CVS tags.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* javax/security/sasl/SaslClient.java,
javax/security/sasl/SaslClientFactory.java,
javax/security/sasl/SaslException.java,
javax/security/sasl/SaslServer.java,
javax/security/sasl/SaslServerFactory.java:
Remvoed CVS tags.
From-SVN: r89329
2004-10-20 10:50:31 +00:00
Michael Koch
b99bf96ac3
NullConfiguration.java, [...]: Cleaned up import statements and copyright notices.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* javax/security/auth/login/NullConfiguration.java,
javax/security/auth/x500/X500Principal.java,
javax/security/cert/X509Certificate.java,
javax/security/sasl/AuthenticationException.java,
javax/security/sasl/AuthorizeCallback.java,
javax/security/sasl/RealmCallback.java,
javax/security/sasl/RealmChoiceCallback.java,
javax/security/sasl/Sasl.java,
javax/security/sasl/SaslClient.java,
javax/security/sasl/SaslClientFactory.java,
javax/security/sasl/SaslException.java,
javax/security/sasl/SaslServer.java,
javax/security/sasl/SaslServerFactory.java:
Cleaned up import statements and copyright notices.
From-SVN: r89328
2004-10-20 10:42:13 +00:00
Michael Koch
659d8f1a4a
RMIC.java: Reformatted.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/rmic/RMIC.java: Reformatted.
From-SVN: r89327
2004-10-20 08:45:33 +00:00
Michael Koch
724c25170e
Timestamp.java, [...]: Reorganized imports and fixed copyright headers.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* java/sql/Timestamp.java,
java/text/AttributedCharacterIterator.java,
java/text/AttributedString.java,
java/util/zip/CheckedOutputStream.java,
java/util/zip/DeflaterOutputStream.java,
java/util/zip/ZipFile.java,
javax/crypto/Cipher.java,
javax/crypto/ExemptionMechanismException.java,
javax/crypto/SecretKey.java,
javax/crypto/SecretKeyFactory.java,
javax/naming/directory/ModificationItem.java,
javax/naming/directory/SearchControls.java,
javax/naming/event/NamingListener.java,
javax/naming/ldap/Control.java,
javax/naming/ldap/ExtendedResponse.java,
javax/net/ssl/SSLSocketFactory.java:
Reorganized imports and fixed copyright headers.
From-SVN: r89324
2004-10-20 08:09:27 +00:00
Michael Koch
fd460b7740
ConsoleHandler.java, [...]: Standardized copyrigth header.
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* java/util/logging/ConsoleHandler.java,
java/util/logging/ErrorManager.java,
java/util/logging/FileHandler.java,
java/util/logging/Filter.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Level.java,
java/util/logging/LogManager.java,
java/util/logging/LogRecord.java,
java/util/logging/Logger.java,
java/util/logging/LoggingPermission.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/SocketHandler.java,
java/util/logging/StreamHandler.java,
java/util/logging/XMLFormatter.java:
Standardized copyrigth header.
From-SVN: r89322
2004-10-20 07:53:27 +00:00
Michael Koch
242b11bd65
AlgorithmParameterGenerator.java, [...]: Import statements reorganized...
...
2004-10-20 Michael Koch <konqueror@gmx.de>
* java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/DigestInputStream.java,
java/security/Identity.java,
java/security/KeyFactory.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/MessageDigest.java,
java/security/MessageDigestSpi.java,
java/security/Policy.java,
java/security/SecureRandom.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/cert/CertPathBuilder.java,
java/security/cert/CertPathValidator.java,
java/security/cert/CertStore.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateFactory.java,
java/security/cert/PolicyQualifierInfo.java,
java/security/cert/TrustAnchor.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
Import statements reorganized, some little formatting issues,
used java-style array declarations, added comments in empty catch
blocks.
From-SVN: r89319
2004-10-20 07:21:49 +00:00
Jeroen Frijters
2ddfd02523
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
...
* java/security/Security.java
(static): Use AccessController.doPrivileged to get system property.
From-SVN: r89225
2004-10-18 15:07:04 +00:00
Sven de Marothy
691e8c0f15
2004-10-18 Sven de Marothy <sven@physto.se>
...
* java/nio/ByteBufferHelper.java
(putDouble): Use Double.toRawLongBits instead.
From-SVN: r89224
2004-10-18 14:41:45 +00:00
Mark Wielaard
bc2fed82b5
ExtraClassLoader.java: New.
...
2004-10-18 Mark Wielaard <mark@klomp.org>
Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/ExtraClassLoader.java: New.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r89222
2004-10-18 14:13:18 +00:00
Andrew Haley
963ebe78d4
re PR libgcj/18036 (Bad interaction between interpreter and Class.forName())
...
2004-10-18 Andrew Haley <aph@redhat.com>
PR java/18036:
* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
and correct logic used to find interpreter.
From-SVN: r89221
2004-10-18 14:07:42 +00:00
Jeroen Frijters
e5871096f0
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
...
* java/util/logging/LogManager.java
(findAncestor): Fixed IndexOutOfBoundsException.
From-SVN: r89220
2004-10-18 14:05:04 +00:00
Michael Koch
0736f19f4e
BufferedInputStream.java: Fixed @author tag.
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/io/BufferedInputStream.java: Fixed @author tag.
(read): Simplified expression.
(read): Merged javadoc a bit more.
(read): Renamed 'remain' to 'totalBytesRead'.
* java/io/DataInputStream.java,
java/io/DataOutputStream.java,
java/io/ObjectInputStream.java,
java/io/ObjectOutputStream.java:
Reworked modifier order.
From-SVN: r89218
2004-10-18 13:40:05 +00:00
Michael Koch
df397ce2bd
Inet4Address.java: Merged file header and javadocs.
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/net/Inet4Address.java: Merged file header and javadocs.
* java/net/Inet6Address.java: Likewise.
* java/net/InetAddress.java
(getCanonicalHostName): Create Inet4Address object instead of
InetAddress and add comment regarding IPv6.
(toString): Simplified.
From-SVN: r89211
2004-10-18 12:36:27 +00:00
Michael Koch
2c661756f4
[multiple changes]
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java,
java/nio/MappedByteBufferImpl.java,
java/text/RuleBasedCollator.java,
java/util/ResourceBundle.java:
Reworked import statements.
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/security/IdentityScope.java
(systemScope): Removed useless initializer.
* java/security/Policy.java
(currentPolicy): Likewise.
From-SVN: r89210
2004-10-18 12:22:51 +00:00
Michael Koch
3330802695
System.java: Revert accidential change.
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/System.java: Revert accidential change.
From-SVN: r89208
2004-10-18 11:09:11 +00:00
Michael Koch
2047d8e479
Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders.
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java,
java/lang/Package.java,
java/lang/Runtime.java,
java/lang/StrictMath.java,
java/lang/System.java,
java/lang/Thread.java,
java/lang/ThreadLocal.java,
java/lang/Void.java:
Reworked import statements, HTML in javadocs and modifier orders.
From-SVN: r89207
2004-10-18 10:41:56 +00:00
Jeroen Frijters
36071b5cbe
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
...
* java/util/Timer.java
(nr): Removed useless initializer.
* java/util/logging/LogRecord.java
(lastSeqNum): Likewise.
* javax/naming/spi/NamingManager.java
(icfb, ofb): Likewise.
From-SVN: r89206
2004-10-18 10:23:59 +00:00
Michael Koch
73aab3dec3
PlainDatagramSocketImpl.java: Reworked import statements.
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* gnu/java/net/PlainDatagramSocketImpl.java:
Reworked import statements.
* gnu/java/security/provider/DSAParameters.java:
Fixed copyrigth years.
* java/net/JarURLConnection.java:
Fixed HTML in @author tags.
From-SVN: r89205
2004-10-18 10:14:24 +00:00
Michael Koch
4e2721c3f3
2004-10-18 Michael Koch <konqueror@gmx.de>
...
* java/rmi/activation/ActivationSystem.java
(SYSTEM_PORT): Initialize with correct port number.
From-SVN: r89202
2004-10-18 09:49:16 +00:00
Michael Koch
7b040d4c07
[multiple changes]
...
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Proxy.java: Improved javadocs.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/AccessibleObject.java
(checkPermission): Removed redundant final modifier.
(secureSetAccessible): Likewise.
* java/lang/reflect/Proxy.java:
Reworked import statements.
(generate): Removed redundant final modifier.
* java/lang/reflect/ReflectPermission.java:
Reorder package declaration and import statement.
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/lang/reflect/Proxy.java
(count): Removed useless initializer.
From-SVN: r89201
2004-10-18 09:46:48 +00:00
Michael Koch
05dfb0b0e3
BindException.java, [...]: Big import statement and @author tag cleanup.
...
2004-10-17 Michael Koch <konqueror@gmx.de>
* java/net/BindException.java,
java/net/ConnectException.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/MalformedURLException.java,
java/net/MulticastSocket.java,
java/net/NetworkInterface.java,
java/net/NoRouteToHostException.java,
java/net/PasswordAuthentication.java,
java/net/PortUnreachableException.java,
java/net/ProtocolException.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/SocketException.java,
java/net/SocketImpl.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/SocketPermission.java,
java/net/SocketTimeoutException.java,
java/net/URI.java,
java/net/URISyntaxException.java,
java/net/URL.java,
java/net/URLDecoder.java,
java/net/URLEncoder.java,
java/net/URLStreamHandler.java,
java/net/URLStreamHandlerFactory.java,
java/net/UnknownHostException.java,
java/net/UnknownServiceException.java:
Big import statement and @author tag cleanup.
From-SVN: r89168
2004-10-17 08:29:57 +00:00
Michael Koch
3238d4f99a
OID.java, [...]: Import statements cleaned up.
...
2004-10-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/OID.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/x509/X500DistinguishedName.java,
gnu/java/security/x509/X509CRL.java:
Import statements cleaned up.
From-SVN: r89166
2004-10-17 08:00:11 +00:00
Michael Koch
410c47a4d1
NIODatagramSocket.java, [...]: Reorganized import statements.
...
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/NIODatagramSocket.java,
gnu/java/nio/ServerSocketChannelImpl.java:
Reorganized import statements.
From-SVN: r89154
2004-10-16 18:32:21 +00:00
Michael Koch
86b28213d4
RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up.
...
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
gnu/java/rmi/rmic/RMIC.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/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RMISecurityManager.java,
java/rmi/Remote.java,
java/rmi/activation/Activatable.java,
java/rmi/activation/ActivationDesc.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/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/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/RMIClassLoaderSpi.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/ServerRef.java,
java/rmi/server/Skeleton.java,
java/rmi/server/SkeletonMismatchException.java,
java/rmi/server/UID.java,
java/rmi/server/UnicastRemoteObject.java,
java/rmi/server/Unreferenced.java:
File headers and import statements cleaned up.
From-SVN: r89153
2004-10-16 18:27:51 +00:00
Michael Koch
d8d3480a29
UTF_16.java, [...]: Cleanup.
...
2004-10-16 Michael Koch <konqueror@gmx.de>
* libjava/gnu/java/nio/charset/UTF_16.java,
libjava/gnu/java/nio/charset/UTF_16BE.java,
libjava/gnu/java/nio/charset/UTF_16LE.java,
libjava/java/nio/ByteOrder.java,
libjava/java/nio/MappedByteBuffer.java,
libjava/java/nio/channels/Channels.java,
libjava/java/nio/channels/spi/SelectorProvider.java,
libjava/java/nio/charset/Charset.java:
Cleanup.
From-SVN: r89151
2004-10-16 18:06:03 +00:00
Michael Koch
752ef8732d
2004-10-16 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/charset/UTF_16Encoder.java
(UTF_16Encoder): Fixed maxBytesPerChar handling.
From-SVN: r89150
2004-10-16 17:58:01 +00:00
Michael Koch
7af8968e98
BigDecimal.java, [...]: Reorganized import statements, removed redundant and reorganized modifiers.
...
2004-10-16 Michael Koch <konqueror@gmx.de>
* java/math/BigDecimal.java, java/math/BigInteger.java:
Reorganized import statements, removed redundant and
reorganized modifiers.
From-SVN: r89149
2004-10-16 17:51:45 +00:00
Michael Koch
f3bf84759c
ExplicitBeanInfo.java: Explicitely import java.awt.Image.
...
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/beans/ExplicitBeanInfo.java:
Explicitely import java.awt.Image.
(getIcon): Fixed off-by-one error.
From-SVN: r89148
2004-10-16 17:48:57 +00:00
Andrew Haley
b08fd659ae
Makefile.am (nat_files, [...]): New.
...
2004-10-15 Andrew Haley <aph@redhat.com>
* Makefile.am (nat_files, xlib_nat_files): New.
* Makefile.in: Regenerate.
From-SVN: r89104
2004-10-15 17:01:19 +00:00
Ulrich Weigand
ed67425158
jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
...
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
From-SVN: r89051
2004-10-14 20:36:37 +00:00
Andrew Haley
180a373d0d
interpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter.
...
2004-10-13 Andrew Haley <aph@redhat.com>
* interpret.cc (_Jv_InterpMethod::run): Initialize
_Jv_StartOfInterpreter.
(_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
(_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
_Unwind_FindEnclosingFunction to discover whether PC is within the
interpreter.
From-SVN: r89037
2004-10-14 15:21:13 +00:00
Rutger Ovidius
2abb138b79
re PR libgcj/17903 (Incorrect SHA result)
...
2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
PR libgcj/17903:
* testsuite/libjava.lang/md5test.java: New file.
* testsuite/libjava.lang/md5test.out: Likewise.
* testsuite/libjava.lang/shatest.java: Likewise.
* testsuite/libjava.lang/shatest.out: Likewise.
From-SVN: r88922
2004-10-12 12:13:39 +02:00