Mark Wielaard
a00d3b3c65
GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth.
...
2004-05-03 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
unused variables hScrollbarHeight and vScrollbarWidth.
(preferredSize): Likewise.
* gnu/java/security/provider/DSAParameters.java (engineToString):
Removed unused call to System.getProperty("line.seperator");
* java/security/Security.java (loadProviders): Return result.
From-SVN: r81451
2004-05-03 20:06:09 +00:00
Tom Tromey
7b68f0bf7e
URLStreamHandler.java (toExternalForm): Removed unused variables.
...
2004-05-03 Tom Tromey <tromey@redhat.com>
* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
unused constructor.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
From-SVN: r81450
2004-05-03 19:52:29 +00:00
Michael Koch
493b3c9c47
re PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() throws exception instead of returning null)
...
2004-05-03 Michael Koch <konqueror@gmx.de>
Fixes PR libgcj/14695:
* java/net/NetworkInterface.java
(getByName): Return null when no interface was found.
From-SVN: r81434
2004-05-03 14:40:59 +00:00
Ranjit Mathew
55ce9c52a2
re PR java/15133 (gcjh generates wrong method signatures)
...
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
additional option "-Wmissing-prototypes" for compiling C sources.
Print actual filename for pass/fail rather than $name.c.
* testsuite/libjava.jni/PR15133.java: New testcase file.
* testsuite/libjava.jni/PR15133.c: Likewise.
* testsuite/libjava.jni/PR15133.out: Likewise.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r81358
2004-04-30 18:19:37 +00:00
Roger Sayle
2d99c042fc
builtins.c (java_builtins): Add acos, asin, ceil and floor.
...
* builtins.c (java_builtins): Add acos, asin, ceil and floor.
(initialize_builtins): Likewise, define acos, asin, ceil and floor.
* testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
ceil and floor.
From-SVN: r81341
2004-04-30 14:15:08 +00:00
Ranjit Mathew
c1fcbbc33b
jacks.exp (gcj_jacks_write): Explicitly limit the maximum heap size to avoid unnecessary thrashing.
...
* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
limit the maximum heap size to avoid unnecessary thrashing.
From-SVN: r81156
2004-04-25 04:19:13 +00:00
Jerry Quinn
6f0b1fa57e
CollationElementIterator.java (reset): Reset lookahead variables.
...
2004-04-24 Jerry Quinn <jlquinn@optonline.net>
* java/text/CollationElementIterator.java (reset): Reset
lookahead variables.
From-SVN: r81142
2004-04-24 16:03:05 +00:00
Mark Wielaard
99a8881684
* jni/classpath/jcl.c: Changed C++ comments into C comments.
...
From-SVN: r81104
2004-04-23 21:05:02 +00:00
Dalibor Topic
b4e7ef8d2b
DriverManager.java: Cleaned up imports.
...
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/sql/DriverManager.java:
Cleaned up imports.
From-SVN: r81081
2004-04-23 07:57:47 +00:00
Michael Koch
e9d3496882
2004-04-23 Michael Koch <konqueror@gmx.de>
...
* java/net/URL.java
(hashcode): Don't initialize with default value explicitely.
(getContent): Removed redundant "final" keyword.
(openStream): Likewise.
(getURLStreamHandler): Fixed coding style.
* java/net/URLConnection.java
(defaultAllowUserInteraction): Don't initialize with default value
explicitely.
(connected): Likewise.
(doOutput): Likewise.
(ifModifiedSince): Likewise.
(dateformats_initialized): Likewise.
(setURLStreamHander): Use StreamTokenizer where it belongs to.
From-SVN: r81080
2004-04-23 07:21:46 +00:00
Michael Koch
87939d70f8
2004-04-23 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/channels/FileChannelImpl.java
(SET, CUR): Unused, removed.
(read): Implement here directly.
(implRead): Removed.
(write): Implement here directly.
(implWrite): Removed.
From-SVN: r81079
2004-04-23 06:56:34 +00:00
Dalibor Topic
5d837a584f
PortableRemoteObjectDelegate.java, [...]: Cleaned up imports.
...
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
javax/rmi/CORBA/Stub.java,
javax/rmi/CORBA/Util.java,
javax/rmi/CORBA/ValueHandler.java,
javax/rmi/CORBA/ValueHandler.java,
javax/rmi/PortableRemoteObject.java:
Cleaned up imports.
From-SVN: r81078
2004-04-23 06:39:30 +00:00
Dalibor Topic
ace7ed7c24
[multiple changes]
...
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java,
java/util/jar/Manifest.java:
Cleaned up imports.
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/util/ArrayList.java,
java/util/Calendar.java,
java/util/Currency.java,
java/util/HashMap.java,
java/util/HashSet.java,
java/util/Hashtable.java,
java/util/LinkedList.java,
java/util/Properties.java,
java/util/PropertyPermission.java,
java/util/TimeZone.java,
java/util/TreeMap.java,
java/util/TreeSet.java,
java/util/Vector.java,
java/util/WeakHashMap.java:
Cleaned up imports.
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/util/logging/FileHandler.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Logger.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/XMLFormatter.java:
Cleaned up imports.
From-SVN: r81077
2004-04-23 06:36:06 +00:00
Mark Wielaard
ae52213905
Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall -Wno-long-long flags variable.
...
* Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
-Wno-long-long flags variable.
(gtk_c_files): Use PEDANTIC_CFLAGS.
* Makefile.in: Regenerated.
From-SVN: r81060
2004-04-22 23:22:23 +00:00
Michael Koch
838a4849fa
[multiple changes]
...
2004-04-22 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Changed C++ comments into C comments.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
Likewise.
2004-04-22 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
Merged copyright year with GNU classpath.
From-SVN: r81042
2004-04-22 18:02:54 +00:00
Dalibor Topic
fe2235d182
X500Principal.java: Cleaned up imports.
...
2004-04-22 Dalibor Topic <robilad@kaffe.org>
* javax/security/auth/x500/X500Principal.java:
Cleaned up imports.
From-SVN: r81010
2004-04-22 07:55:13 +00:00
Dalibor Topic
b7db3d0acf
JSlider.java: Fixed HTML tags in comments.
...
2004-04-22 Dalibor Topic <robilad@kaffe.org>
* javax/swing/JSlider.java:
Fixed HTML tags in comments.
From-SVN: r81009
2004-04-22 07:51:16 +00:00
Dalibor Topic
32bfc77344
AccessibleText.java: Cleaned up imports.
...
2004-04-22 Dalibor Topic <robilad@kaffe.org>
* javax/accessibility/AccessibleText.java:
Cleaned up imports.
From-SVN: r81008
2004-04-22 07:06:15 +00:00
Michael Koch
e930d01a4f
[multiple changes]
...
2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
* java/net/URLStreamHandler.java
(parseURL): Convert the file path to using '/' instead of native
file separator.
2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
* java/net/URL.java
(userInfo): New field.
(URL): Set authority to the right value.
(setURL): Fixed authority and file initialization.
* java/net/URLStreamHandler.java
(parseURL): Take care of the query tag. Build authority.
(toExternalForm): Fixed URL building using authority.
From-SVN: r81006
2004-04-22 07:02:26 +00:00
Michael Koch
5d79367d7a
2004-04-22 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(impl): Made package-private.
* java/net/ServerSocket.java
(implAccept): Access Socket.impl field directly.
From-SVN: r81005
2004-04-22 06:49:53 +00:00
Dalibor Topic
c0dce2359c
Preferences.java, [...]: Cleaned up imports.
...
2004-04-22 Dalibor Topic <robilad@kaffe.org>
* java/util/prefs/Preferences.java,
java/util/prefs/InvalidPreferencesFormatException.java,
java/util/prefs/BackingStoreException.java,
java/util/prefs/AbstractPreferences.java:
Cleaned up imports.
2004-04-22 Dalibor Topic <robilad@kaffe.org>
* java/util/regex/Matcher.java,
java/util/regex/Pattern.java:
Cleaned up imports.
From-SVN: r81004
2004-04-22 06:46:18 +00:00
Michael Koch
5c09d725b1
2004-04-22 Michael Koch <konqueror@gmx.de>
...
* java/nio/charset/IllegalCharsetNameException.java
(charsetName): Made private.
(IllegalCharsetNameException): Added @param tag to javadoc.
(getCharsetName): Added @return tag to javadoc.
* java/nio/charset/MalformedInputException.java
(MalformedInputException): Added @param tag to javadoc.
(getInputLength): Revised method description, added @return tag.
(getMessage): Added @return tag.
From-SVN: r81003
2004-04-22 06:41:36 +00:00
Jerry Quinn
83ef3f2bae
Font.java (deriveFont): Implement missing variants.
...
2004-04-22 Jerry Quinn <jlquinn@optonline.net>
* java/awt/Font.java (deriveFont): Implement missing variants.
* gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
missing variants.
From-SVN: r81002
2004-04-22 05:34:30 +00:00
Bryce McKinlay
746ecc7813
natClass.cc (_Jv_LayoutInterfaceMethods): New method.
...
2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
* java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
Set method->index values for interface methods to their itable
index.
(initializeClass): Call _Jv_LayoutInterfaceMethods.
From-SVN: r80978
2004-04-21 20:26:22 +01:00
Michael Koch
86a80fc352
2004-04-21 Michael Koch <konqueror@gmx.de>
...
* java/nio/DirectByteBufferImpl.java
(shiftDown): Made static, give address as argument and
provide a convenience method that overwrites shiftDown in
ByteBufferImpl and calls the native shiftDown.
* java/nio/MappedByteBufferImpl.java
(): Use optimized method in DirectByteBufferImpl.
* java/nio/natDirectByteBufferImpl.cc
(shiftDown): Changed method signature. Removed usage of array_offset.
From-SVN: r80967
2004-04-21 15:33:53 +00:00
Michael Koch
6e90ed190e
2004-04-21 Michael Koch <konqueror@gmx.de>
...
* gnu/java/net/natPlainSocketImplPosix.cc
(SocketInputStream::read): Make sure returned data is a byte value.
From-SVN: r80959
2004-04-21 12:48:02 +00:00
Michael Koch
96d22b1232
ServiceFactory.java, [...]: New files.
...
2004-04-21 Michael Koch <konqueror@gmx.de>
* gnu/classpath/ServiceFactory.java,
gnu/classpath/ServiceProviderLoadingAction.java,
javax/imageio/ImageReader.java,
javax/imageio/ImageTranscoder.java,
javax/imageio/ImageWriter.java,
javax/imageio/package.html,
javax/imageio/spi/IIOServiceProvider.java,
javax/imageio/spi/ImageInputStreamSpi.java,
javax/imageio/spi/ImageOutputStreamSpi.java,
javax/imageio/spi/ImageReaderWriterSpi.java,
javax/imageio/spi/ImageTranscoderSpi.java,
javax/imageio/spi/RegisterableService.java,
javax/imageio/spi/ServiceRegistry.java,
javax/imageio/spi/package.html,
javax/imageio/stream/IIOByteBuffer.java,
javax/imageio/stream/ImageInputStream.java,
javax/imageio/stream/ImageOutputStream.java,
javax/imageio/stream/package.html:
New files.
* Makefile.am
(ordinary_java_source_files): Added
gnu/classpath/ServiceFactory.java and
gnu/classpath/ServiceProviderLoadingAction.java.
(javax_source_files): Added
javax/imageio/ImageReader.java,
javax/imageio/ImageTranscoder.java,
javax/imageio/ImageWriter.java,
javax/imageio/spi/IIOServiceProvider.java,
javax/imageio/spi/ImageInputStreamSpi.java,
javax/imageio/spi/ImageOutputStreamSpi.java,
javax/imageio/spi/ImageReaderWriterSpi.java,
javax/imageio/spi/ImageTranscoderSpi.java,
javax/imageio/spi/RegisterableService.java,
javax/imageio/spi/ServiceRegistry.java,
javax/imageio/stream/IIOByteBuffer.java,
javax/imageio/stream/ImageInputStream.java and
javax/imageio/stream/ImageOutputStream.java.
* Makefile.in: Regenerated.
From-SVN: r80951
2004-04-21 08:20:31 +00:00
Michael Koch
ca17d211e8
2004-04-21 Michael Koch <konqueror@gmx.de>
...
* java/util/Properties.java
(load): Fix wrongly merged fix.
From-SVN: r80949
2004-04-21 07:25:14 +00:00
Mark Wielaard
60e957d071
gthread-jni.c (maybe_rethrow): Explicitly malloc and free buf.
...
2004-04-21 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
malloc and free buf.
From-SVN: r80948
2004-04-21 07:19:24 +00:00
Dalibor Topic
27dd18cf73
AuthenticationException.java, [...]: Cleaned up imports.
...
2004-04-21 Dalibor Topic <robilad@kaffe.org>
* javax/naming/AuthenticationException.java,
javax/naming/AuthenticationNotSupportedException.java,
javax/naming/CannotProceedException.java,
javax/naming/CommunicationException.java,
javax/naming/CompoundName.java,
javax/naming/ConfigurationException.java,
javax/naming/ContextNotEmptyException.java,
javax/naming/InitialContext.java,
javax/naming/InsufficientResourcesException.java,
javax/naming/InterruptedNamingException.java,
javax/naming/LimitExceededException.java,
javax/naming/LinkException.java,
javax/naming/LinkLoopException.java,
javax/naming/LinkRef.java,
javax/naming/MalformedLinkException.java,
javax/naming/Name.java,
javax/naming/NameAlreadyBoundException.java,
javax/naming/NameNotFoundException.java,
javax/naming/NamingSecurityException.java,
javax/naming/NoInitialContextException.java,
javax/naming/NoPermissionException.java,
javax/naming/NotContextException.java,
javax/naming/PartialResultException.java,
javax/naming/ReferralException.java,
javax/naming/ServiceUnavailableException.java,
javax/naming/SizeLimitExceededException.java,
javax/naming/TimeLimitExceededException.java,
javax/naming/directory/Attribute.java,
javax/naming/directory/Attributes.java,
javax/naming/directory/SearchResult.java,
javax/naming/event/NamingExceptionEvent.java,
javax/naming/spi/ResolveResult.java:
Cleaned up imports.
From-SVN: r80947
2004-04-21 07:18:04 +00:00
Mark Wielaard
2635995aca
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Changed C++ comments into C comments.
...
2004-04-21 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
Changed C++ comments into C comments. Removed commented out code.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
Likewise.
* native/jni/gtk-peer/gthread-jni.c:
Likewise.
From-SVN: r80946
2004-04-21 06:52:26 +00:00
Mark Wielaard
1c3d6bb26f
JFrame.java: Implement WindowConstants.
...
2004-04-21 Mark Wielaard <mark@klomp.org>
* javax/awt/JFrame.java: Implement WindowConstants. Remove final
static fields defined in interface.
* javax/awt/JDialog.java: Likewise.
(JDialog): Make constructors public.
(getDefaultCloseOperation): Make public.
(processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
(setDefaultCloseOperation): Make public. Check argument. Add API doc.
* javax/swing/JViewport.java (JViewport): Make constructor public.
From-SVN: r80945
2004-04-21 05:48:51 +00:00
Michael Koch
387fa012f2
2004-04-21 Michael Koch <konqueror@gmx.de>
...
* java/util/Map.java
(Entry): Removed redundant "static" modifier.
* java/text/AttributedCharacterIterator.java:
Updated copyright year.
From-SVN: r80944
2004-04-21 05:25:11 +00:00
Michael Koch
bf9f06aedc
SearchControls.java: Don't explicitely extend java.lang.Object.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/SearchControls.java:
Don't explicitely extend java.lang.Object.
* javax/naming/spi/DirStateFactory.java:
Merged copyright year with GNU classpath.
From-SVN: r80925
2004-04-20 21:25:15 +00:00
Michael Koch
8a6c1d2951
Channels.java: Merged coding style with GNU classpath.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/nio/channels/Channels.java:
Merged coding style with GNU classpath.
From-SVN: r80923
2004-04-20 20:35:14 +00:00
Michael Koch
f58746340d
2004-04-20 Michael Koch <konqueror@gmx.de>
...
* java/net/ServerSocket.java
Merged coding style from GNU classpath.
From-SVN: r80922
2004-04-20 20:32:41 +00:00
Michael Koch
90cb5151ca
BufferedWriter.java: Reordered variables to be at top of the class.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/io/BufferedWriter.java:
Reordered variables to be at top of the class.
(localFlush): Removed redundant final keyword.
From-SVN: r80916
2004-04-20 18:15:44 +00:00
Ingo Proetel
5ede96a479
MouseEvent.java (<init>): fixed field assignment
...
2004-04-20 Ingo Proetel <proetel@aicas.com>
* java/awt/event/MouseEvent.java (<init>): fixed field assignment
From-SVN: r80915
2004-04-20 18:04:50 +00:00
Michael Koch
391d8ef5e0
[multiple changes]
...
2004-04-20 Jeroen Frijters <jeroen@frijters.net>
* java/text/DecimalFormat.java (scanFix): Removed suffix check
for percent and permill check.
2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/FieldPosition.java
(FieldPosition) Constructor now behaves as it should according
to the java documentation.
2004-04-20 Mark Wielaard <mark@klomp.org>
* java/util/Properties.java: Use the word umlaut, not ä in api
documentation.
From-SVN: r80910
2004-04-20 16:14:25 +00:00
Michael Koch
92e1fe6748
Buffer.java, [...]: Fixed javadocs and jalopied all over java.nio.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/nio/Buffer.java,
java/nio/channels/AlreadyConnectedException.java,
java/nio/channels/AsynchronousCloseException.java,
java/nio/channels/ByteChannel.java,
java/nio/channels/CancelledKeyException.java,
java/nio/channels/Channel.java,
java/nio/channels/Channels.java,
java/nio/channels/ClosedByInterruptException.java,
java/nio/channels/ClosedChannelException.java,
java/nio/channels/ClosedSelectorException.java,
java/nio/channels/ConnectionPendingException.java,
java/nio/channels/DatagramChannel.java,
java/nio/channels/FileChannel.java,
java/nio/channels/FileLock.java,
java/nio/channels/FileLockInterruptionException.java,
java/nio/channels/GatheringByteChannel.java,
java/nio/channels/IllegalBlockingModeException.java,
java/nio/channels/IllegalSelectorException.java,
java/nio/channels/InterruptibleChannel.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/Pipe.java,
java/nio/channels/ReadableByteChannel.java,
java/nio/channels/ScatteringByteChannel.java,
java/nio/channels/SelectableChannel.java,
java/nio/channels/SelectionKey.java,
java/nio/channels/Selector.java,
java/nio/channels/ServerSocketChannel.java,
java/nio/channels/SocketChannel.java,
java/nio/channels/UnresolvedAddressException.java,
java/nio/channels/UnsupportedAddressTypeException.java,
java/nio/channels/WritableByteChannel.java,
java/nio/channels/spi/AbstractInterruptibleChannel.java,
java/nio/channels/spi/AbstractSelectableChannel.java,
java/nio/channels/spi/AbstractSelectionKey.java,
java/nio/channels/spi/AbstractSelector.java,
java/nio/channels/spi/SelectorProvider.java,
java/nio/charset/spi/CharsetProvider.java:
Fixed javadocs and jalopied all over java.nio.
From-SVN: r80909
2004-04-20 15:27:38 +00:00
Michael Koch
08c5d75719
ByteBufferImpl.java, [...]: Made sure all classes are final and removed final keyword from all methods.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/DirectByteBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/MappedByteBufferImpl.java,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java:
Made sure all classes are final and removed final keyword from all
methods.
From-SVN: r80907
2004-04-20 14:54:37 +00:00
Michael Koch
a17c9f2ea1
MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RemoteException.java,
java/rmi/activation/ActivationException.java,
java/rmi/server/ServerCloneException.java,
java/security/AccessController.java,
java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/CodeSource.java,
java/security/Identity.java,
java/security/IdentityScope.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/SignedObject.java,
java/security/spec/DSAParameterSpec.java,
java/security/spec/DSAPrivateKeySpec.java,
java/security/spec/DSAPublicKeySpec.java,
java/sql/Array.java,
java/sql/DatabaseMetaData.java,
java/sql/ResultSet.java,
java/text/ChoiceFormat.java,
java/text/CollationElementIterator.java,
java/text/CollationKey.java,
java/text/Collator.java,
java/text/DateFormat.java,
java/text/DateFormatSymbols.java,
java/text/DecimalFormatSymbols.java,
java/text/Format.java,
java/text/ParsePosition.java,
java/text/RuleBasedCollator.java,
java/text/SimpleDateFormat.java,
java/text/StringCharacterIterator.java,
java/util/Collections.java,
java/util/PropertyResourceBundle.java,
java/util/ResourceBundle.java,
java/util/StringTokenizer.java,
java/util/jar/Attributes.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/LogManager.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SocketHandler.java,
javax/naming/NamingException.java:
Fixed javadoc, coding style and argument names all over.
From-SVN: r80906
2004-04-20 14:45:10 +00:00
Michael Koch
0fc920c8d5
[multiple changes]
...
2004-04-20 Jeroen Frijters <jeroen@frijters.net>
* java/io/FileDescriptor.java: (FileDescriptor) Added public
constructor. (valid) Added null check.
2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
* java/io/FileOutputStream.java
(FileOutputStream) Reorganized constructors. Constructors now
check whether the given path is directory.
From-SVN: r80901
2004-04-20 13:43:35 +00:00
Michael Koch
f6d49f66ec
Authenticator.java, [...]: Fixed javadocs, coding style and argument names all over.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/net/Authenticator.java,
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/Inet4Address.java,
java/net/Inet6Address.java,
java/net/InetAddress.java,
java/net/InetSocketAddress.java,
java/net/JarURLConnection.java,
java/net/MalformedURLException.java,
java/net/MulticastSocket.java,
java/net/NetPermission.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/SocketAddress.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/URLClassLoader.java,
java/net/URLConnection.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:
Fixed javadocs, coding style and argument names all over.
From-SVN: r80900
2004-04-20 13:05:10 +00:00
Michael Koch
cf6f7d5589
Byte.java, [...]: Fixed javadocs, coding style and argument names all over.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/lang/Byte.java,
java/lang/CharSequence.java,
java/lang/ClassLoader.java,
java/lang/Compiler.java,
java/lang/Double.java,
java/lang/Float.java,
java/lang/Integer.java,
java/lang/Long.java,
java/lang/Math.java,
java/lang/Number.java,
java/lang/Package.java,
java/lang/Runtime.java,
java/lang/RuntimePermission.java,
java/lang/SecurityManager.java,
java/lang/Short.java,
java/lang/StringBuffer.java,
java/lang/System.java,
java/lang/ThreadGroup.java,
java/lang/Throwable.java,
java/lang/reflect/InvocationHandler.java,
java/lang/reflect/Proxy.java:
Fixed javadocs, coding style and argument names all over.
From-SVN: r80899
2004-04-20 12:30:19 +00:00
Michael Koch
9f714d5eec
BufferedWriter.java, [...]: Fixed javadocs all over, rename arguments to match javadocs, fixed coding style.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/io/BufferedWriter.java,
java/io/ByteArrayInputStream.java,
java/io/CharArrayWriter.java,
java/io/DataInput.java,
java/io/DataInputStream.java,
java/io/File.java,
java/io/FilterInputStream.java,
java/io/InputStream.java,
java/io/InputStreamReader.java,
java/io/ObjectInputStream.java,
java/io/ObjectStreamClass.java,
java/io/PipedInputStream.java,
java/io/PipedReader.java,
java/io/PushbackInputStream.java,
java/io/PushbackReader.java,
java/io/RandomAccessFile.java,
java/io/SerializablePermission.java,
java/io/StreamTokenizer.java,
java/io/StringWriter.java,
java/io/WriteAbortedException.java,
java/io/Writer.java:
Fixed javadocs all over, rename arguments to match javadocs,
fixed coding style.
From-SVN: r80897
2004-04-20 11:37:41 +00:00
Michael Koch
23f0ecff4a
[multiple changes]
...
2004-04-20 Ingo Proetel <proetel@aicas.com>
* java/awt/FontMetrics.java:
(charsWidth): fixed accumulation of total_width
(getWidth): simple default implementation
* java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
in Rectangle constructor.
* java/awt/image/Raster.java (toString): Added method.
* java/awt/image/SampleModel.java (<init>): Added error cause
information to thrown exception.
* java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
New method.
(setDataElements): New method.
(setPixels): New method.
(toString): New method.
2004-04-20 Sascha Brawer <brawer@dandelis.ch>
* java/awt/image/ComponentColorModel.java
(createCompatibleSampleModel): Return PixelInterleavedSampleModel
for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
Mauve tests on this method. Improved documentation.
From-SVN: r80894
2004-04-20 11:13:09 +00:00
Michael Koch
2c4d54e6d0
JLayeredPane.java, [...]: Fixed HTML tags in javadocs all over.
...
2004-04-20 Michael Koch <konqueror@gmx.de>
* javax/swing/JLayeredPane.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/undo/CompoundEdit.java,
javax/swing/undo/StateEdit.java:
Fixed HTML tags in javadocs all over.
From-SVN: r80893
2004-04-20 10:51:42 +00:00
Michael Koch
5589f3e5a5
2004-04-20 Michael Koch <konqueror@gmx.de>
...
* javax/print/attribute/EnumSyntax.java
(getOffset): Made protected.
* javax/print/attribute/HashAttributeSet.java
(HashAttributeSet): Likewise.
* javax/print/attribute/ResolutionSyntax.java
(getFeedResolution): Fixed typo in exception name.
(getCrossFeedResolution): Likewise.
* javax/print/attribute/SetOfIntegerSyntax.java
(SetOfIntegerSyntax): Fixed HTML entities in javadoc.
* javax/print/attribute/TextSyntax.java
(TextSyntax): Handle locale correctly.
(hashCode): Calc better hashcode value.
(equals): Fixed @return tag.
(toString): New method.
From-SVN: r80892
2004-04-20 10:48:56 +00:00
Michael Koch
0150fc2287
2004-04-20 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileLockImpl.java
(static): Removed, not needed anymore.
* gnu/java/nio/channels/FileChannelImpl.java
(FileChannelImpl): Made final.
(mode): Made private.
(READ, WRITE, APPEND): Made public.
(EXCL, SYNC, DSYNC): Likewise.
(static): Load native JNI library, when needed.
(length): Unused, removed.
(available): Made public.
(implPosition): Throws IOException.
(seek): Likewise.
(implTruncate): Likewise.
(unlock): Likewise.
(lock): Likewise.
From-SVN: r80891
2004-04-20 10:43:48 +00:00