Bryce McKinlay
6ac8b2b187
natClass.cc (_Jv_LayoutVTableMethods): Always assign a vtable slot for final methods.
...
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
vtable slot for final methods. Add FIXME comment.
From-SVN: r73023
2003-10-28 22:45:57 +00:00
Mark Wielaard
57b4edef7d
Reported by Helmer Kraemer <hkraemer@freenet.de>
...
Reported by Helmer Kraemer <hkraemer@freenet.de>
* java/util/jar/JarInputStream.java (readManifest): Don't call
closeEntry().
* java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
(finish): Use inbufWrite().
(write(int)): Likewise.
(write(byte[],int,int)): Likewise.
From-SVN: r72976
2003-10-27 11:02:44 +00:00
Bryce McKinlay
12afcb31e5
* java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
...
From-SVN: r72944
2003-10-26 02:48:31 +00:00
Bryce McKinlay
e0f23fcd49
AccessibleObject.java (secureSetAccessible): Don't check for AccessibleObject.
...
* java/lang/reflect/AccessibleObject.java (secureSetAccessible):
Don't check for AccessibleObject. Update javadocs.
From-SVN: r72943
2003-10-26 02:28:45 +00:00
Bryce McKinlay
b9b5672b49
Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers.
...
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
* java/lang/reflect/Constructor.java (toString): Avoid extra
whitespace on constructor with no modifiers.
* java/lang/reflect/natConstructor.java (newInstance): Look up
caller and perform accessibility check only if constructor is
non-public and accessible flag is not set.
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
* jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
_Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
is_virtual_call argument.
* include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
natClass.cc.
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
_Jv_isVirtualMethod.
* java/lang/reflect/natMethod.cc (invoke): Don't use
_Jv_LookupDeclaredMethod.
(_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
look up method in target object's vtable.
From-SVN: r72942
2003-10-26 02:25:42 +00:00
Bryce McKinlay
8822f4aaf9
Method.java (toString): Avoid extra whitespace on method with no modifiers.
...
* java/lang/reflect/Method.java (toString): Avoid extra whitespace
on method with no modifiers.
From-SVN: r72919
2003-10-25 07:55:21 +01:00
Bryce McKinlay
a10fd35601
re PR libgcj/11780 (Method.invoke() is slow)
...
PR libgcj/11780:
* java/lang/reflect/natMethod.cc (invoke): Look up caller and
perform accessibility check only if target is non-public and
accessible flag is not set.
* java/lang/reflect/natField.cc (getAddr): Likewise.
From-SVN: r72918
2003-10-25 07:49:20 +01:00
Thomas Fitzsimmons
f2d0e05d4e
GtkDialogPeer.java (handleEvent): Remove method.
...
2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
Remove method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
New method.
* java/awt/Window.java (Window(Window,GraphicsConfiguration),
show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
(dispose): Post WINDOW_CLOSED event.
(addWindowFocusListener, addWindowStateListener): Assign result
of multicaster add back to window listener.
(removeWindowFocusListener, removeWindowStateListener): Assign
result of multicaster remove back to window listener.
(dispatchEventImpl): Add null checks for focus and state
listeners.
(processWindowEvent): Handle case where windowListener is null
but state or focus listeners exist.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
glue for postWindowEvent.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_delete_cb, window_destroy_cb, window_show_cb,
window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
window_get_new_state): New functions.
* jni/gtk-peer/gtkpeer.h: Define window event and frame state
macros. Declare postWindowEventID.
From-SVN: r72906
2003-10-24 19:40:30 +00:00
Anthony Green
fe8738988d
Obvious fix for systems with no interpreter.
...
From-SVN: r72903
2003-10-24 18:27:29 +00:00
Andrew Haley
904715853c
lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
...
2003-10-22 Andrew Haley <aph@redhat.com>
* lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
(java_get_callee_fndecl): New.
* jcf-parse.c (java_parse_file): Call emit_catch_table().
* java-tree.h (ctable_decl): New.
(catch_classes): New.
(java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.
* decl.c (java_init_decl_processing): Add catch_class_type.
Add ctable_decl.
Add catch_classes field.
* class.c (build_indirect_class_ref): Break out from
build_class_ref.
(make_field_value): Check flag_indirect_dispatch.
(make_class_data): Ditto.
Tidy uses of PUSH_FIELD_VALUE.
Add field catch_classes.
(make_catch_class_record): New.
* java-tree.h (PUSH_FIELD_VALUE): Tidy.
2003-10-22 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Call
_Jv_linkExceptionClassTable.
(_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
_Jv_Defer_Resolution on a method whose ncode is NULL.
(_Jv_linkExceptionClassTable): New function.
(_Jv_LayoutVTableMethods): If superclass looks like a constant pool
entry, look it up.
* java/lang/Class.h (struct _Jv_CatchClass): New.
(_Jv_linkExceptionClassTable): New friend.
(_Jv_Defer_Resolution): New friend.
(class Class.catch_classes): New field.
* include/java-interp.h (Jv_Defer_Resolution): New method.
(_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
(_Jv_MethodBase.deferred): New field.
(_Jv_Defer_Resolution): New function.
* resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
* exception.cc (get_ttype_entry): Change return type to void**.
(PERSONALITY_FUNCTION): Remove all code related to using a
Utf8Const* for a match type. Change match type to be a pointer to
a pointer, rather than a pointer to a Class.
* defineclass.cc (handleCodeAttribute): Initialize
method->deferred.
(handleMethodsEnd): Likewise.
From-SVN: r72886
2003-10-24 09:29:43 +00:00
Rainer Orth
59407b8361
natObject.cc (_Jv_ObjectCheckMonitor): Use _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
...
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
_Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
From-SVN: r72872
2003-10-23 21:48:36 +00:00
Tom Tromey
eab09cdf1a
re PR libgcj/12416 (java.lang.Class.getFields returns duplicate entries.)
...
PR libgcj/12416:
* java/lang/Class.h: Updated.
* java/lang/natClass.cc (_getFields): Removed.
(getFields): Likewise.
(getDeclaredFields): Added `public_only' parameter.
* java/lang/Class.java (getFields): Now implemented in java; from
Classpath.
(getDeclaredFields): Likewise.
(getDeclaredFields(boolean)): Declare.
(_getFields): Removed.
(internalGetFields): New method, from Classpath.
From-SVN: r72818
2003-10-22 19:29:27 +00:00
Sascha Brawer
12be91a78c
QuadCurve2D.java (subdivide): Added documentation.
...
2003-10-22 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2003-10-22 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
* java/awt/geom/doc-files: New directory.
* java/awt/geom/doc-files/QuadCurve2D-1.png,
java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2003-10-22 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2003-10-22 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
From-SVN: r72791
2003-10-22 08:54:19 +00:00
Michael Koch
8c754b9197
2003-10-22 Michael Koch <konqueror@gmx.de>
...
* java/io/File.java
(equals): Removed redundant obj == null check.
(createTempFile): Merged comments from classpath.
From-SVN: r72790
2003-10-22 08:47:12 +00:00
Sascha Brawer
75a5a481c2
Fix for bug #2944 , reported by David Holmes <dholmes@dltech.com.au>
...
2003-10-21 Sascha Brawer <brawer@dandelis.ch>
Fix for bug #2944 , reported by David Holmes <dholmes@dltech.com.au>
* java/util/logging/ErrorManager.java (everUsed): Made volatile.
(error): Synchronize on instance, not class.
From-SVN: r72750
2003-10-21 13:25:46 +00:00
Mark Wielaard
63d8374488
Reported by M.Negovanovic
...
2003-10-21 Mark Wielaard <mark@klomp.org>
Reported by M.Negovanovic
* java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
method.
(reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
From-SVN: r72749
2003-10-21 13:21:33 +00:00
Sascha Brawer
e62e96e2ae
Fix for Classpath bug #6076 .
...
2003-10-21 Sascha Brawer <brawer@dandelis.ch>
Fix for Classpath bug #6076 .
* java/awt/geom/GeneralPath.java (append): Re-written.
2003-10-21 Sascha Brawer <brawer@dandelis.ch>
Fix for Classpath bug #6089 .
* java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
(getPathIterator, GeneralPathIterator): Re-written from scratch.
2003-10-21 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
point, not start of subpath. Fixes Classpath bug #6075 .
From-SVN: r72748
2003-10-21 13:18:22 +00:00
Michael Koch
c4ff410a6b
ByteOrder.java, [...]: Add code to load library with code for native methods if needed.
...
2003-10-21 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java,
java/nio/DirectByteBufferImpl.java,
java/nio/channels/FileChannelImpl.java:
Add code to load library with code for native methods if needed.
From-SVN: r72747
2003-10-21 12:55:02 +00:00
Jerry Quinn
16a10fb6fc
posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
...
2003-10-21 Jerry Quinn <jlquinn@optonline.net>
* posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
_Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
* include/no-threads.h (_Jv_MutexCheckMonitor): New.
* include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
_Jv_PthreadCheckMonitor. Simplify code.
(_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
* include/win32-threads.h (_Jv_MutexCheckMonitor): New.
* java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
* java/lang/Thread.java (holdsLock): New.
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
without JV_HASH_SYNCHRONIZATION.
* java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
From-SVN: r72741
2003-10-21 04:46:19 +00:00
Michael Koch
c756026608
2003-10-20 Michael Koch <konqueror@gmx.de>
...
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Check rules not empty, fixed search in already
existing collation elements.
(is_special): Removed common whitespace characters.
(text_argument): Dont return on whitespaces, add characters between
two ' to string buffer.
From-SVN: r72716
2003-10-20 20:14:05 +00:00
Mark Wielaard
490ee176e1
Reported by M.Negovanovic
...
2003-10-18 Mark Wielaard <mark@klomp.org>
Reported by M.Negovanovic
* java/beans/IndexedPropertyDescriptor.java
(IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
From-SVN: r72637
2003-10-18 09:00:41 +00:00
Ralph Loader
35e1369c77
StringBuffer.java (getChars): Fix array index checks.
...
* java/lang/StringBuffer.java (getChars): Fix array index checks.
(append, substring, insert): Likewise.
* testsuite/libjava.lang/StringBuffer_overflow.java: New file.
* testsuite/libjava.lang/StringBuffer_overflow.out: New file.
From-SVN: r72579
2003-10-16 21:35:42 +00:00
Ralph Loader
2488a51e82
natString.cc (getChars): Fix validation of array indexes.
...
* java/lang/natString.cc (getChars):
Fix validation of array indexes.
(getBytes, regionMatches, startsWith, valueOf): Likewise.
* testsuite/libjava.lang/String_overflow.java: New file.
* testsuite/libjava.lang/String_overflow.out: New file.
From-SVN: r72578
2003-10-16 21:28:23 +00:00
Michael Koch
55741da6e2
2003-10-15 Michael Koch <konqueror@gmx.de>
...
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Moved around, documentation added.
(compare): Documentation added.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.
(getRules): Likewise.
(hashCode): Likewise.
From-SVN: r72528
2003-10-15 15:50:47 +00:00
Michael Koch
684cab7dbf
2003-10-15 Michael Koch <konqueror@gmx.de>
...
* java/text/RuleBasedCollator.java
(CollationElement): Renamed from RBCElement and moved into
RuledBasedCollator as inner class.
From-SVN: r72525
2003-10-15 15:13:03 +00:00
Michael Koch
12dc3f75be
2003-10-15 Michael Koch <konqueror@gmx.de>
...
* java/text/CollationElementIterator.java
(CollationElementIterator): Moved, documenatation added, call setText.
(next): Reformated.
(reset): Reformated.
(setText): New method.
(getOffset): New method.
* java/text/CollationKey.java
(getSourceString): Reformated.
(hashCode): Reformated.
(toByteArray): Reformated.
From-SVN: r72523
2003-10-15 14:49:30 +00:00
Michael Koch
6c73e9f7f9
2003-10-15 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Renamed infl to inf and bufsize to size,
added description to exception, check for inf == null and size < 0.
From-SVN: r72519
2003-10-15 14:02:37 +00:00
Michael Koch
6d98f7a8d0
AttributedCharacterIterator.java, [...]: Reformated.
...
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/AttributedCharacterIterator.java,
java/text/CharacterIterator.java: Reformated.
From-SVN: r72518
2003-10-15 13:57:00 +00:00
Tom Tromey
b71d486c40
natClassLoader.cc (_Jv_InitNewClassFields): Removed.
...
* java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
(defineClass): Updated.
(_Jv_NewClass): Likewise.
* prims.cc (_Jv_InitPrimClass): Don't call
_Jv_InitNewClassFields.
From-SVN: r72444
2003-10-13 22:08:51 +00:00
Michael Koch
3c94ac3565
File.java: Reformated.
...
2003-10-13 Michael Koch <konqueror@gmx.de>
* java/io/File.java: Reformated.
(equals): Check for obj == null.
From-SVN: r72421
2003-10-13 05:54:42 +00:00
Michael Koch
94f415861c
2003-10-13 Michael Koch <konqueror@gmx.de>
...
* java/net/JarURLConnection.java
(jarFileURL): Added dcoumentation.
(jarFileURLConnection): Reformated documentation.
(entryName): Renamed from "element", documentation rewritten.
(connectionCache): Renamed from "conn_cache", documentation
reformated.
(JarURLConnection): Check URL protocol.
(getEntryName): Use entryName.
(connect): Use connectionCache.
(getInputStream): Use entryName, fixed comment.
(getJarEntry): Use entryName.
(getHeaders): Use entryName.
* java/net/URLConnection.java
(addRequestProperty): Fixed documentation.
(setDefaultRequestProptery): Added comment that it does nothing since
JDK 1.3.
(getDefaultRequestProperty): Likewise.
From-SVN: r72420
2003-10-13 05:34:53 +00:00
Michael Koch
9917dcbafe
2003-10-13 Michael Koch <konqueror@gmx.de>
...
* java/net/java/net/URLStreamHandlerFactory.java
(createURLStreamHandler): Removed redundant "public" modifier.
* java/sql/DatabaseMetaData.java:
(DatabaseMetaData): Readded accidently removed "public" modifier.
* java/sql/ParameterMetaData.java:
(ParameterMetaData): Readded accidently removed "public" modifier.
* java/sql/PreparedStatement.java:
(PreparedStatement): Readded accidently removed "public" modifier.
* java/sql/Ref.java:
(Ref): Readded accidently removed "public" modifier.
From-SVN: r72419
2003-10-13 05:03:39 +00:00
Michael Koch
1adef66864
2003-10-13 Michael Koch <konqueror@gmx.de>
...
* java/nio/Buffer.java
(hasRemaining): Made implementation more clear.
* java/nio/MappedByteBuffer.java
(loaded): New member variable.
(force): Added comment.
(isLoaded): Return value of loaded.
(load): Set loaded to true, added comment.
From-SVN: r72418
2003-10-13 04:45:03 +00:00
Michael Koch
81bc077a39
2003-10-12 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/PipeImpl.java
(SourceChannelImpl): New inner class.
(SinkChannelImpl): New inner class.
(sink): New member variable.
(source): New member variable.
(PipeImpl): Add SelectorProvider argument, implemented.
(nativeInit): New method.
(sink): Return sink channel.
(source): Return source channel.
* gnu/java/nio/SelectorProviderImpl.java
(openPipe): Give provider as argument to PipeImpl constructor.
* java/nio/channels/spi/SelectorProvider.java
(pr): Removed.
(systemDefaultProvider): New member variable.
(provider): Made it synchronized, use property
java.nio.channels.spi.SelectorProvider.
* gnu/java/nio/natPipeImpl.cc: New file.
* Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
* Makefile.in: Regenerated.
From-SVN: r72397
2003-10-12 13:39:07 +00:00
Michael Koch
e3ff2b2bb6
2003-10-11 Michael Koch <konqueror@gmx.de>
...
* java/security/Key.java,
* java/security/PrivateKey.java,
* java/security/PublicKey.java,
* java/security/acl/Acl.java,
* java/security/acl/AclEntry.java,
* java/security/acl/Group.java,
* java/security/acl/Owner.java,
* java/security/acl/Permission.java,
* java/security/cert/X509Extension.java,
* java/security/interfaces/DSAKey.java,
* java/security/interfaces/DSAKeyPairGenerator.java,
* java/security/interfaces/DSAParams.java,
* java/security/interfaces/DSAPrivateKey.java,
* java/security/interfaces/DSAPublicKey.java,
* java/security/interfaces/RSAKey.java,
* java/security/interfaces/RSAPrivateCrtKey.java,
* java/security/interfaces/RSAPrivateKey.java,
* java/security/interfaces/RSAPublicKey.java:
Removed redundant modifiers.
From-SVN: r72360
2003-10-11 19:00:07 +00:00
Michael Koch
9440ae0c09
Map.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/util/Map.java,
java/util/Observer.java,
java/util/zip/Checksum.java,
java/util/zip/ZipConstants.java:
Removed redundant modifiers.
From-SVN: r72358
2003-10-11 18:52:31 +00:00
Michael Koch
af6b79a63c
AttributedCharacterIterator.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/text/AttributedCharacterIterator.java,
java/text/CharacterIterator.java:
Removed redundant modifiers.
From-SVN: r72357
2003-10-11 18:51:14 +00:00
Michael Koch
afe6016980
Array.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/sql/Array.java,
java/sql/Blob.java,
java/sql/CallableStatement.java,
java/sql/Clob.java,
java/sql/Connection.java,
java/sql/DatabaseMetaData.java,
java/sql/Driver.java,
java/sql/ParameterMetaData.java,
java/sql/PreparedStatement.java,
java/sql/Ref.java,
java/sql/ResultSet.java,
java/sql/ResultSetMetaData.java,
java/sql/SQLData.java,
java/sql/SQLInput.java,
java/sql/SQLOutput.java,
java/sql/Savepoint.java,
java/sql/Statement.java,
java/sql/Struct.java:
Removed redundant modifiers.
From-SVN: r72356
2003-10-11 18:49:51 +00:00
Michael Koch
eb0043a057
Channel.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/Channel.java,
java/nio/channels/GatheringByteChannel.java,
java/nio/channels/ReadableByteChannel.java,
java/nio/channels/ScatteringByteChannel.java,
java/nio/channels/WritableByteChannel.java:
Removed redundant modifiers.
From-SVN: r72355
2003-10-11 18:45:10 +00:00
Michael Koch
d5a87c2b1d
ActivationInstantiator.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* 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/registry/Registry.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LoaderHandler.java,
java/rmi/server/RMIClientSocketFactory.java,
java/rmi/server/RMIFailureHandler.java,
java/rmi/server/RMIServerSocketFactory.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/ServerRef.java,
java/rmi/server/Skeleton.java,
java/rmi/server/Unreferenced.java:
Removed redundant modifiers.
From-SVN: r72354
2003-10-11 18:42:07 +00:00
Michael Koch
7afb0eea2b
ContentHandlerFactory.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/net/ContentHandlerFactory.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/URLStreamHandlerFactory.java:
Removed redundant modifiers.
From-SVN: r72353
2003-10-11 18:39:35 +00:00
Michael Koch
cb2446831a
Externalizable.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/io/Externalizable.java,
java/io/FileFilter.java,
java/io/FilePermission.java,
java/io/ObjectInput.java,
java/io/ObjectInputValidation.java,
java/io/ObjectOutput.java,
java/io/ObjectStreamClass.java,
java/io/ObjectStreamConstants.java,
java/io/Serializable.java:
Removed redundant modifiers.
From-SVN: r72352
2003-10-11 18:38:12 +00:00
Ingo Proetel
6a12e65c11
RMIClassLoader.java: Identify cached classloaders by codebase and context classloader.
...
2003-10-11 Ingo Proetel <proetel@aicas.com>
* java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
codebase and context classloader.
From-SVN: r72351
2003-10-11 18:30:22 +00:00
Michael Koch
c7bcb09dcc
BeanContext.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContext.java,
java/beans/beancontext/BeanContextChild.java,
java/beans/beancontext/BeanContextChildComponentProxy.java,
java/beans/beancontext/BeanContextChildSupport.java,
java/beans/beancontext/BeanContextContainerProxy.java,
java/beans/beancontext/BeanContextMembershipListener.java,
java/beans/beancontext/BeanContextProxy.java,
java/beans/beancontext/BeanContextServiceProvider.java,
java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
java/beans/beancontext/BeanContextServiceRevokedListener.java,
java/beans/beancontext/BeanContextServices.java,
java/beans/beancontext/BeanContextServicesListener.java:
Removed redundant modifiers.
From-SVN: r72350
2003-10-11 18:19:44 +00:00
Michael Koch
928366f04f
AppletInitializer.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/beans/AppletInitializer.java,
java/beans/BeanInfo.java,
java/beans/Customizer.java,
java/beans/DesignMode.java,
java/beans/PropertyEditor.java,
java/beans/Visibility.java:
Removed redundant modifiers.
From-SVN: r72349
2003-10-11 18:18:22 +00:00
Michael Koch
e1a5ed6c63
2003-10-11 Michael Koch <konqueror@gmx.de>
...
* java/awt/print/Pageable.java,
* java/awt/print/Printable.java,
java/awt/print/PrinterGraphics.java:
Removed redundant modifiers.
From-SVN: r72348
2003-10-11 18:16:31 +00:00
Michael Koch
4581f1bc78
ButtonPeer.java, [...]: Removed redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/awt/peer/ButtonPeer.java,
java/awt/peer/CheckboxMenuItemPeer.java,
java/awt/peer/CheckboxPeer.java,
java/awt/peer/ChoicePeer.java,
java/awt/peer/ComponentPeer.java,
java/awt/peer/ContainerPeer.java,
java/awt/peer/DialogPeer.java,
java/awt/peer/FileDialogPeer.java,
java/awt/peer/FramePeer.java,
java/awt/peer/LabelPeer.java,
java/awt/peer/ListPeer.java,
java/awt/peer/MenuBarPeer.java,
java/awt/peer/MenuComponentPeer.java,
java/awt/peer/MenuItemPeer.java,
java/awt/peer/MenuPeer.java,
java/awt/peer/PopupMenuPeer.java,
java/awt/peer/RobotPeer.java,
java/awt/peer/ScrollPanePeer.java,
java/awt/peer/ScrollbarPeer.java,
java/awt/peer/TextAreaPeer.java,
java/awt/peer/TextComponentPeer.java,
java/awt/peer/TextFieldPeer.java,
java/awt/peer/WindowPeer.java:
Removed redundant modifiers.
From-SVN: r72347
2003-10-11 18:11:03 +00:00
Michael Koch
51914674f4
NIOSocket.java (setChannel): Initialize impl.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
* gnu/java/nio/ServerSocketChannelImpl.java
(serverSocket): Made it a NIOServerSocket.
(impl): Removed.
(ServerSocketChannelImpl): Initialize only serverSocket.
(initServerSocket): Removed.
(getNativeFD): Rewritten.
(implConfigureBlocking): Set socket timeout and removed comment.
(accept): Rewritten.
* gnu/java/nio/SocketChannelImpl.java
(impl): New variable.
(connected): Removed.
(SocketChannelImpl): Initialize impl too.
(getImpl): New method.
(isConnected): Rewritten.
(read): Rewritten, set position in buffer correctly.
(write): Set position in buffer correctly.
* java/net/ServerSocket.java (getImpl): New method.
* gnu/java/nio/NIOServerSocket.java,
gnu/java/nio/natNIOServerSocket.cc: New files.
* gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
* Makefile.am
(ordinary_java_source_files):
Added gnu/java/nio/NIOServerSocket.java.
(nat_source_files):
Removed gnu/java/nio/natServerSocketChannelImpl.cc
and added gnu/java/nio/natNIOServerSocket.cc.
* Makefile.in: Regenerated.
From-SVN: r72345
2003-10-11 18:01:35 +00:00
Michael Koch
00f4a3fb56
2003-10-11 Michael Koch <konqueror@gmx.de>
...
* java/awt/ActiveEvent.java
* java/awt/datatransfer/ClipboardOwner.java
* java/awt/datatransfer/FlavorMap.java
* java/awt/datatransfer/Transferable.java
* java/awt/dnd/Autoscroll.java
* java/awt/dnd/peer/DragSourceContextPeer.java
* java/awt/dnd/peer/DropTargetContextPeer.java
* java/awt/dnd/peer/DropTargetPeer.java
* java/awt/font/MultipleMaster.java
* java/awt/font/OpenType.java
* java/awt/im/spi/InputMethodDescriptor.java
* java/awt/image/ImageObserver.java
* java/awt/image/ImageConsumer.java
* java/awt/image/ImageProducer.java
* java/awt/image/RGBImageFilter.java
* java/awt/image/RasterOp.java
* java/awt/image/renderable/RenderableImage.java
From-SVN: r72341
2003-10-11 17:19:46 +00:00
Michael Koch
4e3cb200a5
2003-10-09 Michael Koch <konqueror@gmx.de>
...
* java/nio/channels/spi/AbstractSelectableChannel.java
(registered): Made private.
(blocking): Likewise.
(LOCK): Likewise.
(provider): Likewise.
(keys): Made it a private LinkedList.
(AbstractSelectableChannel): Initialize keys.
(isRegistered): New implementation.
(locate): Rewritten.
(register): Rewritten.
* java/nio/channels/spi/AbstractSelectionKey.java
(ok): Removed.
(cancelled): New member variable.
(cancel): Rewritten.
(isValid): Rewritten.
* java/nio/channels/spi/AbstractSelector.java:
Some methods moved.
(closed): Make private.
(provider): Likewise.
(cancelledKeys): New member variable.
(AbstractSelector): Initialize cancelledKeys.
(cancelKey): New method.
From-SVN: r72275
2003-10-09 17:34:10 +00:00