aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2003-08-20natReference.cc (finalize_referred_to_object): Set `list->reference' to ↵Tom Tromey1-3/+14
DELETED_REFERENCE when removing dead object. * java/lang/ref/natReference.cc (finalize_referred_to_object): Set `list->reference' to DELETED_REFERENCE when removing dead object. (find_slot): Added an assert. (DELETED_REFERENCE): New define. (add_to_hash): Check for DELETED_REFERENCE. (remove_from_hash): Just return if found slot isn't ours. From-SVN: r70599
2003-08-19re PR libgcj/11575 ([win32] Problem with RandomAccessFile)Danny Smith1-8/+13
PR libgcj/11575 * java/io/natFileDescriptorWin32.cc (open): Set create flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag. Honor EXCL when openning with WRITE flag. From-SVN: r70565
2003-08-18re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ↵Tom Tromey1-29/+50
ffi_result before ffi_call) PR libgcj/11951: * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns void. Throw VirtualMachineError if ffi fails. Initialize return value. Added is_jni_call argument; only wrap exception if not a JNI call. Use descriptive message if operation not supported. (_Jv_GetTypesFromSignature): Use declaring class' loader to find array class. * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration. * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of _Jv_CallAnyMethodA. (_Jv_JNI_CallAnyMethodA): Likewise. (_Jv_JNI_CallAnyVoidMethodV): Likewise. (_Jv_JNI_CallAnyVoidMethodA): Likewise. From-SVN: r70544
2003-08-13Font.java: Stub out more recent API.Graydon Hoare1-5/+779
2003-08-12 Graydon Hoare <graydon@redhat.com> * java/awt/Font.java: Stub out more recent API. From-SVN: r70404
2003-08-13Color.java (getAlpha): Prevent sign-extended alpha values.Graydon Hoare1-1/+1
2003-08-12 Graydon Hoare <graydon@redhat.com> * java/awt/Color.java (getAlpha): Prevent sign-extended alpha values. From-SVN: r70401
2003-08-122003-08-10 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters1-10/+10
* java/awt/Container.java (getPreferredSize): Call preferredSize. (preferredSize): Moved body of getPreferredSize here. (getMinimumSize): Call minimumSize. (minimumSize): Moved body of getMinimumSize here. From-SVN: r70386
2003-08-11EventQueue.java (currentEvent, lastWhen): New fields.Tom Tromey1-5/+42
* java/awt/EventQueue.java (currentEvent, lastWhen): New fields. (postEvent): Removed FIXME comment. (isDispatchThread): Documented. (getCurrentEvent): New method. (dispatchEvent): Set currentEvent and lastWhen. (getMostRecentEventTime): Rewrote. (invokeLater): Documented. From-SVN: r70333
2003-08-10re PR libgcj/11778 (System.out PrintStream does too much buffering)Bryce McKinlay1-17/+24
* java/io/PrintStream.java (print): Always flush if auto_flush is set. Don't check for newline characters. (write (int)): Implement without using a temporary array. (write (byte[], int, int): Always flush if auto_flush is set. Don't check for newline characters. Fixes PR libgcj/11778. From-SVN: r70284
2003-08-08[multiple changes]Andrew Haley2-2/+5
2003-08-08 Andrew Haley <aph@redhat.com> * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH. * Makefile.in: Rebuild. * java/lang/natRuntime.cc (insertSystemProperties): Add "sun.boot.class.path". 2003-08-07 Andrew Haley <aph@redhat.com> * java/io/PrintStream.java: Don't crash on a null string. From-SVN: r70250
2003-08-07re PR libgcj/10868 (java.net.ServerSocket's constructors create and leak ↵Bryce McKinlay2-134/+20
extra sockets) * java/net/Socket.java (Socket (SocketImpl)): Don't allow null SocketImpl. Update Javadoc. (bind): Call close() not impl.close() in event of exception. (connect): Likewise. Remove superfluous null checks throughout. * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)): Don't create an extra socket. Fix for PR libgcj/10868. (bind): Clean up exception handling. Remove superfluous null checks throughout. From-SVN: r70219
2003-08-07natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write ↵Jacob Gladish1-15/+16
argument to _Jv_Select. * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write argument to _Jv_Select. Reset the socket back to non-blocking state after connecting. (accept): Pass the FD as a ready-to-write argument to _Jv_Select. Throw SocketTimeoutException not InterruptedIOException. (read): Throw SocketTimeoutException not InterruptedIOException. Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz> From-SVN: r70217
2003-08-07Thread.java (Thread): Check for null "name" from start of private constructor...Bryce McKinlay1-9/+4
* java/lang/Thread.java (Thread): Check for null "name" from start of private constructor, not after calling the private constructor. From-SVN: r70216
2003-08-06FilePermission.java (equals): Use correct index for last character of path.Tom Tromey1-3/+5
* java/io/FilePermission.java (equals): Use correct index for last character of path. From-SVN: r70206
2003-08-05re PR libgcj/11779 (Field reflection incorrectly throws IllegalAccessException)Tom Tromey1-5/+6
Fix for PR libgcj/11779: * java/lang/reflect/natField.cc (getAddr): Skip frames in Field class. From-SVN: r70185
2003-08-05Method.java: Updated status comment.Tom Tromey2-115/+349
* java/lang/reflect/Method.java: Updated status comment. Imported javadoc from Classpath and re-ordered methods. * java/lang/reflect/Constructor.java: Reindented. Updated status comment. Imported javadoc from Classpath and re-ordered methods. From-SVN: r70184
2003-08-05GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter.Thomas Fitzsimmons1-35/+37
2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-" string. (paramString): Generate keyChar string according to keyChar, not keyCode. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (state_to_awt_mods): Handle ALT key. (keyevent_state_to_awt_mods): New function. (get_first_keyval_from_keymap): New function. (keysym_to_awt_keycode): Get virtual key code from keymap. Handle missing VK_ values. (keysym_to_awt_keylocation): New function. (keyevent_to_awt_keychar): New function. (generates_key_typed_event): Handle non-text-component case. Handle GDK_KP_Delete and GDK_KP_Enter. (awt_event_handler): Call new functions to get postKeyEvent parameters. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): Update postKeyEvent method signature. * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing VK_ defines. From-SVN: r70178
2003-08-04DecimalFormat.java (format): avoid ArithmeticException when groupingSize is 0.David P Grove1-4/+6
2003-08-04 David P Grove <groved@us.ibm.com> * java/text/DecimalFormat.java (format): avoid ArithmeticException when groupingSize is 0. (parse): Likewise. From-SVN: r70156
2003-08-022003-08-02 Michael Koch <konqueror@gmx.de>Michael Koch4-138/+251
* java/nio/ByteBufferImpl.java (getChar): Check remaining bytes, fixed comment about endianess. (putChar): Likewise. (getShort): Likewise. (putShort): Likewise. (getInt): Check remaining bytes, fixed conversion, fixed comment about endianess. (putInt): Likewise. (getLong): Likewise. (putLong): Likewise. (getFloat): Likewise. (putFloat): Likewise. (getDouble): Likewise. (putDouble): Likewise. * java/nio/DirectByteBufferImpl.java (getChar): Wrapped code, fixed comment about endianess. (putchar): Likewise. (getShort): Likewise. (putShort): Likewise. (getInt): Fixed conversion, fixed comment about endianess. (putInt): Likewise. (getLong): Likewise. (putLong): Likewise. (getFloat): Likewise. (putFloat): Likewise. (getDouble): Likewise. (putDouble): Likewise. * java/nio/MappedByteBufferImpl.java (compact): Implemented. (getChar): Implemented. (putChar): Implemented. (getDouble): Implemented. (putdouble): Implemented. (getFloat): Implemented. (putFloat): Implemented. (getInt): Implemented. (putInt): Implemented. (getLong): Implemented. (putLong): Implemented. (getShort): Implemented. (putShort): Implemented. * java/nio/channels/FileChannelImpl.java (read): Set position where to access file. (write): Likewise. (transferTo): Flip buffer after read and before write. (transferFrom): Likewise. From-SVN: r70102
2003-08-022003-08-02 Michael Koch <konqueror@gmx.de>Michael Koch1-9/+34
* java/net/URL.java (URL): Added paragraph about the gnu.java.net.nocache_protocol_handlers property. (ph_cache): Renamed from handlers to match classpath's implementation. Reordered it with factory and serialVersionUID member variables. (cache_handlers): New member variable. (static): New static initializer to initialize cache_handlers from gnu.java.net.nocache_protocol_handlers property. (URL): Use ph_cache instead of handlers, reformatted some code to match classpath's implementation. From-SVN: r70098
2003-08-01re PR libgcj/11241 (WeakHashMap throws a "/ zero" ArithmeticException when ↵Tom Tromey1-1/+3
initialCapacity is explicitly zero) Fix for PR libgcj/11241: * java/util/WeakHashMap.java (WeakHashMap(int,float)): If initialCapacity is 0, set it to 1. From-SVN: r70070
2003-08-01SocketImpl.java (toString): Display the remote address of an unconnected ↵Stephen Crawley1-1/+2
server socket as "0.0.0.0/0.0.0.0". 2003-08-01 Stephen Crawley <crawley@dstc.edu.au> * java/net/SocketImpl.java (toString): Display the remote address of an unconnected server socket as "0.0.0.0/0.0.0.0". From-SVN: r70069
2003-08-01BigDecimal (divide): Correctly handle ROUND_HALF_EVEN when amount is greater ↵Jerry Quinn1-35/+38
than 0.5. 2003-08-01 Jerry Quinn <jlquinn@optonline.net> Mark Wielaard <mark@klomp.org> * java/math/BigDecimal (divide): Correctly handle ROUND_HALF_EVEN when amount is greater than 0.5. Simplify and optimize code. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r70049
2003-08-01More for PR libgcj/11737:Tom Tromey2-23/+42
* java/io/ObjectInputStream.java (processResolution): Use getMethod. (getMethod): Make method accessible. (getField): Make field accessible. (setBooleanField): Don't call setAccessible here. (setByteField, setCharField, setDoubleField, setFloatField, setIntField, setLongField, setShortField, setObjectField): Likewise. (callReadMethod): Don't check whether method is null. Catch NoSuchMethodException. * java/io/ObjectOutputStream.java (callWriteMethod): Initialize cause on thrown exceptions. From-SVN: r70038
2003-08-01re PR libgcj/11728 (HashMap serialization does not work)Stepan Koltsov1-1/+2
2003-07-31 Stepan Koltsov <yozh@mx1.ru> Fix for PR libgcj/11728: From-SVN: r70037
2003-08-01re PR libgcj/11737 (java.io.ObjectOutputStream.writeObject does not work ↵Tom Tromey1-13/+41
with HashMap) Fix for PR libgcj/11737: * java/io/ObjectOutputStream.java (getMethod): Make method accessible. (getField): Likewise. (writeObject): Use getMethod. Import PrivilegedAction and AccessController. (callWriteMethod): Don't check whether m is null. Catch NoSuchMethodException. From-SVN: r70035
2003-07-31Arc2D.java (getBounds2D): Implement.Tom Tromey1-22/+63
* java/awt/geom/Arc2D.java (getBounds2D): Implement. (containsAngle): Likewise. (getStartPoint): Rewrote. (getEndPoint): Likewise. (setAngleStart(Point2D)): Likewise. From-SVN: r70002
2003-07-28natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method.Tom Tromey2-1/+9
* java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. Include gnu/gcj/runtime/StringBuffer.h. * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New native method. (String(gnu.gcj.runtime.StringBuffer)): Use it. From-SVN: r69890
2003-07-272003-07-27 Michael Koch <konqueror@gmx.de>Michael Koch1-14/+0
* java/awt/Window.java (Window): Removed now unused constructor. It became oboslete with the new embedded window patch. From-SVN: r69860
2003-07-27Win32Process.java (ConcreteProcess): Surround a command line element with ↵Ranjit Mathew2-3/+9
quotes if it contains an embedded space or tab. 2003-07-26 Ranjit Mathew <rmathew@hotmail.com> * java/lang/Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab. * java/lang/natWin32Process.cc (startProcess): Do not surround command line elements with quotes here. From-SVN: r69844
2003-07-26natFileDescriptorPosix.cc (write): Try again on EINTR.Tom Tromey1-23/+37
* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR. (write): Likewise. (read): Likewise. (read): Likewise. From-SVN: r69807
2003-07-25+ * java/lang/natRuntime.cc (_load): Add library name toMark Wielaard1-1/+2
+ UnsatisfiedLinkError when thrown. From-SVN: r69786
2003-07-25[multiple changes]Mark Wielaard6-73/+725
2003-07-25 Mark Wielaard <mark@klomp.org> * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java added. * Makefile.in: Likewise. 2003-07-25 Jeroen Frijters <jeroen@frijters.net> * java/awt/Component.java (getPreferredSize): Call preferredSize. (preferredSize): Moved body of getPreferredSize here. (getMinimumSize): Call minimumSize. (minimumSize): Moved body of getMinimumSize here. (prepareImage): Fall back on Toolkit.prepareImage if there is no peer (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but pass -1 * java/awt/Container.java (validate): Don't validate if there is no peer. (update): Clear background before calling paint. * java/awt/GridBagLayout.java Completed the implementation and fixed several bugs. * java/awt/MediaTracker.java (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to combine flags. * java/awt/Window.java (Window): Don't call setVisible(false). Windows are invisible by default and calling virtual methods from constructor causes compatibility problems (e.g. subclasses may assume that the peer already exists). 2003-07-25 Michael Koch <konqueror@gmx.de> * java/awt/GridBagLayout.java: Totally reworked and partly implemented. * java/awt/GridBagLayoutInfo.java: New file. From-SVN: r69785
2003-07-24SimpleDateFormat.java (format): Zero pad unless field size is 2.H. Väisänen1-4/+8
2003-07-24 H. V�is�nen <hvaisane@joyx.joensuu.fi> * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad unless field size is 2. From-SVN: r69744
2003-07-23* java/lang/natSystem.cc (arraycopy): Check for overflow.Tom Tromey1-2/+4
From-SVN: r69706
2003-07-23Window.java (getWarningString): Just return the string.Tom Tromey1-17/+5
* java/awt/Window.java (getWarningString): Just return the string. (Window): Set warningString; check with security manager. From-SVN: r69699
2003-07-22URLEncoder.java (encode(String)): Use platform default encoding.Tom Tromey1-7/+20
* java/net/URLEncoder.java (encode(String)): Use platform default encoding. (encode(String,String)): Convert to 2-digit upper-case hex number. (hex): New field. From-SVN: r69678
2003-07-21Runtime.java: Comment fix.Tom Tromey10-126/+204
* java/lang/Runtime.java: Comment fix. * java/lang/ClassLoader.java (isAncestorOf): New method. (getParent): Uncommented security check. Use isAncestorOf. * include/jvm.h (_Jv_CheckAccess): Declare. * java/lang/reflect/natConstructor.cc (newInstance): Perform access check. Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h. * java/lang/reflect/natArray.cc (newInstance): Pass caller's class loader to _Jv_GetArrayClass. Include ArrayIndexOutOfBoundsException.h. * java/lang/reflect/Field.java: Update comment to reflect status. (equals): Fixed indentation. * java/lang/Class.h (Class): Declare memberAccessCheck, not checkMemberAccess. Make _Jv_CheckAccess a friend. * java/lang/Class.java (memberAccessCheck): New method from Classpath. (checkMemberAccess): Removed. (getDeclaredMethod): Use memberAccessCheck. (getField): Likewise. (getMethod): Likewise. * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess. (_Jv_SearchMethodInClass): Likewise. * prims.cc (_Jv_CheckAccess): New function. * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal. (_Jv_JNI_GetAnyFieldID): Likewise. * java/lang/natClass.cc (forName): Use getClassLoaderInternal. (getClassLoader): Added security check. (getConstructor): Call memberAccessCheck. (getDeclaredClasses): Likewise. (getDeclaredField): Likewise. (getDeclaredFields): Likewise. (_getConstructors): Likewise. (getDeclaredConstructor): Likewise. (getDeclaredMethods): Likewise. (getFields): Likewise. (getMethods): Likewise. (newInstance): Likewise. (_Jv_MakeVTable): Put method name in exception. * java/lang/reflect/natMethod.cc (getType): Use getClassLoaderInternal. (_Jv_GetTypesFromSignature): Likewise. (invoke): Perform access check. (_Jv_CallAnyMethodA): Removed old FIXME comments. Include ArrayIndexOutOfBoundsException.h. * java/lang/reflect/natField.cc (getType): Use getClassLoaderInternal. (_Jv_CheckFieldAccessibility): Removed. (getAddr): Use _Jv_CheckAccess; find caller. Include ArrayIndexOutOfBoundsException.h. From-SVN: r69621
2003-07-202003-07-20 Michael Koch <konqueror@gmx.de>Michael Koch1-4/+12
* java/net/URL.java (URL): Fixed documentation to name an argument correcty, Reformatted one method declaration. (getURLStreamHandler): Added documentation from classpath. From-SVN: r69606
2003-07-19URLClassLoader.java (addURL): Moved implementation to private addURLImpl() ↵Jeroen Frijters1-1/+9
to avoid calling addURL from the... 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl> * java/net/URLClassLoader.java (addURL): Moved implementation to private addURLImpl() to avoid calling addURL from the constructor. (addURLImpl): Contains the code that was previously in addURL. (addURLs): Call addURLImpl(), not addURL(). From-SVN: r69591
2003-07-18[ ChangeLog ]Graydon Hoare4-52/+60
2003-07-18 Graydon Hoare <graydon@redhat.com> * java/awt/geom/CubicCurve2D.java, java/awt/geom/Line2D.java, java/awt/geom/QuadCurve2D.java, java/awt/geom/Rectangle2D.java: Fix path some calculations, make path iterators follow a consistent style. From-SVN: r69567
2003-07-18Handler.java (isLoggable): Check record level smaller or equal.Mark Wielaard1-1/+1
2003-07-18 Mark Wielaard <mark@klomp.org> * java/util/logging/Handler.java (isLoggable): Check record level smaller or equal. From-SVN: r69563
2003-07-14MemoryImageSource.java, [...]: New versions from classpath.Michael Koch3-6/+15
2003-07-14 Michael Koch <konqueror@gmx.de> * java/awt/image/MemoryImageSource.java, java/beans/PropertyEditorManager.java, javax/naming/CompoundName.java, javax/naming/spi/NamingManager.java, javax/swing/AbstractButton.java, javax/swing/ButtonModel.java, javax/swing/SwingUtilities.java, javax/swing/UIManager.java, javax/swing/colorchooser/DefaultColorSelectionModel.java, javax/swing/event/AncestorEvent.java, javax/swing/event/InternalFrameEvent.java, java/util/zip/ZipFile.java: New versions from classpath. From-SVN: r69321
2003-07-13FileChannelImpl.java, [...]: Removed.Michael Koch6-4/+490
2003-07-13 Michael Koch <konqueror@gmx.de> * gnu/java/nio/FileChannelImpl.java, gnu/java/nio/natFileChannelImpl.cc: Removed. * java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/RandomAccessFile.java, java/nio/MappedByteBufferImpl.java: Import java.nio.channels.FileChannelImpl instead of gnu.java.nio.FileChannelImpl. * java/nio/channels/FileChannelImpl.java, java/nio/channels/natFileChannelImpl.cc: New files. * Makefile.am (ordinary_java_source_files): Removed gnu/java/nio/FileChannelImpl.java and added java/nio/channels/FileChannelImpl.java. (nat source_files): Removed gnu/java/nio/natFileChannelImpl.cc and added java/nio/channels/natFileChannelImpl.cc. * Makefile.in: Regenerated. From-SVN: r69296
2003-07-13EmbeddedWindow.java, [...]: New files.Michael Koch1-0/+14
2003-07-13 Michael Koch <konqueror@gmx.de> * gnu/java/awt/EmbeddedWindow.java, gnu/java/awt/EmbeddedWindowSupport.java, gnu/java/awt/natEmbeddedWindow.cc: New files. * java/awt/Window.java (Window): New constructor to support embedded windows. * Makefile.am (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and gnu/java/awt/EmbeddedWindowSupport.java. (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc. * Makefile.in: Regenerated. From-SVN: r69288
2003-07-11SharedLibLoader.java: Fix misspelling.Matt Kraai1-2/+1
2003-07-11 Matt Kraai <kraii@alumni.cmu.edu> * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling. * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise. * java/awt/im/InputContext.java: Remove a redundant partial line. From-SVN: r69238
2003-07-09ObjectOutputStream.java (writeObject): break after calling ↵Mark Wielaard1-1/+4
writeClassDescriptor(). * java/io/ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor(). From-SVN: r69135
2003-07-09GtkComponentPeer.java, [...]: Explicitly import used classes.Michael Koch1-1/+3
2003-07-09 Michael Koch <konqueror@gmx.de> * gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkDialogPeer.java, gnu/java/awt/peer/gtk/GtkWindowPeer.java: Explicitly import used classes. * java/awt/Container.java: New version from classpath. From-SVN: r69129
2003-07-08cni.h: CNI now expands to Compiled Native Interface.Mark Wielaard2-2/+2
* gcj/cni.h: CNI now expands to Compiled Native Interface. * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL. * java/lang/fdlibm.h: Likewise. From-SVN: r69104
2003-07-07* gnu/java/awt/peer/gtk/GtkTextComponentPeer.javaThomas Fitzsimmons1-1/+1
(setCaretPosition, setEditable): Rely entirely on native implementation. (getArgs): Remove. (postTextEvent): New method. (handleEvent): New method. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New method. * java/awt/event/ActionEvent.java (paramString): Fix formatting. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (keysym_to_awt_keycode): Fix range checks. (generates_key_typed_event): New function. (awt_event_handler): Post AWT_KEY_RELEASED events to event queue. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): Store TextComponent's postTextEvent method ID. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c (setText): Post TEXT_VALUE_CHANGED event to event queue. From-SVN: r69054
2003-06-282003-06-28 Michael Koch <konqueror@gmx.de>Michael Koch1-55/+18
* java/io/PrintStream.java (checkError): Call flush() instead of direct flushing of the Writer object. (print): Call print(String) instead of direct print method of the Writer Object. (println): Call println(String) instead of direct println method of the Writer Object. (write): Simplified. From-SVN: r68632