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
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
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
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
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
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
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
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
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
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
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
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
Bryce McKinlay
0ba09d8fc6
Calendar.java (set): Invalidate DST_OFFSET field as a DST boundary may have been crossed.
...
2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
* java/util/Calendar.java (set): Invalidate DST_OFFSET
field as a DST boundary may have been crossed.
* java/util/GregorianCalendar.java (add): Throw
IllegalArgumentException on attempt to add to DST_OFFSET or
ZONE_OFFSET fields. Update javadoc.
From-SVN: r88847
2004-10-10 17:19:37 +01:00
Michael Koch
0d2e6ffef6
2004-10-09 Michael Koch <konqueror@gmx.de>
...
* java/io/CharArrayWriter.java
(resize): Removed redundant 'final' modifier.
* java/io/DataInputStream.java
(readFully): Throw IndexOutOfBoundsException of len < 0.
* java/io/FileDescriptor.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/ObjectOutputStream.java,
java/io/ObjectStreamClass.java,
java/io/PipedInputStream.java,
java/io/RandomAccessFile.java:
Reorganized import statements.
From-SVN: r88817
2004-10-09 10:22:25 +00:00
Tom Tromey
02164889d5
2004-09-30 Tom Tromey <tromey@redhat.com>
...
i * java/text/MessageFormat.java (Field): Constructor now
protected.
From-SVN: r88346
2004-09-30 18:27:53 +00:00
Michael Koch
0aa3602654
InetAddress.java: Reformatted.
...
2004-09-30 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java: Reformatted.
(loopback): Initialize with Inet4Address object.
(static): Initialize ANY_IF with Inet4Address object.
(InetAddress): Removed unused package-private constructor.
From-SVN: r88336
2004-09-30 15:22:08 +00:00
Michael Koch
57da15a410
Beans.java, [...]: Reordered import statements and removed redundant modifiers.
...
2004-09-30 Michael Koch <konqueror@gmx.de>
* java/beans/Beans.java,
java/beans/EventHandler.java,
java/beans/EventSetDescriptor.java,
java/beans/Introspector.java,
java/beans/PropertyEditorManager.java,
java/beans/beancontext/BeanContext.java,
java/beans/beancontext/BeanContextChild.java,
java/beans/beancontext/BeanContextChildSupport.java,
java/beans/beancontext/BeanContextMembershipEvent.java:
Reordered import statements and removed redundant modifiers.
From-SVN: r88335
2004-09-30 14:54:13 +00:00
Michael Koch
95b88040e2
URLConnection.java: Reformatted.
...
2004-09-28 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java: Reformatted.
* java/net/URLClassLoader.java: Reformatted.
(getContent): Reordered return of content.
(getContentHandler): Don't check for null explicitely.
From-SVN: r88226
2004-09-28 11:02:35 +00:00
Michael Koch
2c11433f20
2004-09-27 Michael Koch <konqueror@gmx.de>
...
* java/io/BufferedInputStream.java
(BufferedInputStream): Added Jeroen Frijters to authors.
(count): Don't explicitely initialize with default value.
(pos): Likewise.
(marklimit): Likewise.
(read): Changed boolean expression to match GNU classpath' version.
(reset): Add proper message to exception.
(skip): Check for closed stream.
(refill): Likewise.
From-SVN: r88167
2004-09-27 09:27:28 +00:00
Per Bothner
a22478ced1
Collections.java (sort): Copy from array in forwards order...
...
* java/util/Collections.java (sort): Copy from array in forwards
order, rather than reverse order which may be much less efficient.
From-SVN: r88146
2004-09-26 13:14:26 -07:00
Mark Wielaard
3bd2680ed5
System.java (properties): Make package private.
...
2004-09-26 Mark Wielaard <mark@klomp.org>
* java/lang/System.java (properties): Make package private.
* java/lang/Throwable.java (StaticData.nl): Initialize through
directly accessing System.properties.getProperty().
* java/lang/Throwable.java (nl): Remove static field.
(StaticData): New private static inner class.
(stackTraceStringBuffer): Use StaticData.nl.
From-SVN: r88133
2004-09-26 17:11:14 +00:00
Casey Marshall
59c86e4b88
2004-09-26 Casey Marshall <csm@gnu.org>
...
* java/security/ProtectionDomain.java
(<init>(CodeSource,PermissionCollection)): set `staticBinding' to
`true'.
* java/security/SecureClassLoader.java
(defineClass): make protection domain dynamically bound.
(getPermissions): call `getCurrentPolicy' to avoid permission
check.
From-SVN: r88127
2004-09-26 14:47:41 +00:00
Mark Wielaard
ffe2e220bd
[multiple changes]
...
2004-09-25 Mark Wielaard <mark@klomp.org>
* Makefile.am (core_java_source_files): Add VMTimeZone.java.
(nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
* Makefile.in: Regenerated.
* gcj/javaprims.h: Regenerated.
* java/util/TimeZone.java (defaultZone): Use VMTimeZone.
(getDefaultTimeZone): Make package private. Check that GMToffset
contains at least one digit.
(getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
VMTimeZone.
* util/VMTimeZone.java: New file with above methods.
* java/util/natTimeZone.cc: Removed (renamed).
* java/util/natVMTimeZone.cc: Added (renamed).
2004-09-25 Jeroen Frijters <jeroen@frijters.net>
* java/util/TimeZone.java
(getDefaultTimeZone): Fixed test to distinguish between hours and
minutes in specified timezone.
From-SVN: r88112
2004-09-25 22:21:51 +00:00
Jeroen Frijters
9b2b6c0f33
Proxy.java (getPackage, [...]): Fixed handling of default package.
...
2004-09-25 Jeroen Frijters <jeroen@frijters.net>
* java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
handling of default package. (generate): Removed confused comments
and code about making Method and Field accessible.
From-SVN: r88109
2004-09-25 19:46:21 +00:00
Michael Koch
20319d321a
ObjectStreamField.java: Removed unused import statement.
...
2004-09-25 Michael Koch <konqueror@gmx.de>
* java/io/ObjectStreamField.java:
Removed unused import statement.
From-SVN: r88091
2004-09-25 09:47:45 +00:00
Casey Marshall
c80a4b7eec
2004-09-24 Casey Marshall <csm@gnu.org>
...
* java/util/PropertyPermissionCollection.java
(implies): avoid infinite loop.
From-SVN: r88033
2004-09-24 13:27:57 +00:00
Tom Tromey
667196047f
ClassLoader.java (loadedClasses): Declare as HashMap.
...
2004-09-24 Tom Tromey <tromey@redhat.com>
* java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
(definedPackages): Likewise.
From-SVN: r88027
2004-09-24 11:25:42 +00:00
Michael Koch
28c23a8cd3
ObjectInputStream.java: Re-ordered imports.
...
2004-09-24 Michael Koch <konqueror@gmx.de>
* java/io/ObjectInputStream.java:
Re-ordered imports.
From-SVN: r88025
2004-09-24 10:48:12 +00:00