* doc/install.texi (Prerequisites): Mention GNU make requirement.
[official-gcc.git] / libjava / ChangeLog
blob2520e701f3b64c17cfdacf032bd1aa21a27068f9
1 2003-08-26  Tom Tromey  <tromey@redhat.com>
3         * java/lang/ref/Reference.java (get): Indentation fix.
4         (clear): Comment fix.
5         (enqueue): Likewise.
6         (lock): Likewise.
7         (referent): Likewise.
9 2003-08-26  Tom Tromey  <tromey@redhat.com>
11         PR java/12058:
12         * java/lang/reflect/natArray.cc (set): Allow null as argument.
14         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
15         (ProxyData.getPackage): New method.
16         (ProxyData.getProxyData): Use package name, not Package.
17         (ClassFactory.ClassFactory): Updated.
19 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
20         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
21         * Makefile.in: re-generated.
22         * gnu/awt/j2d/IntegerGraphicsState.java
23         (ScreenCoupledImage): new interface.
24         (drawImage): detect ScreenCoupledImage instances.
25         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
26         * gnu/awt/xlib/XEventLoop.java
27         (createEvent): re-formatted, and rearranged to avoid null pointer.
28         * gnu/awt/xlib/XGraphics.java
29         (drawImage): added XOffScreenImage handling.
30         * gnu/awt/xlib/XOffScreenImage.java: new file.
31         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
32         * gnu/gcj/xlib/GC.java (copyArea): new native method.
33         * gnu/gcj/xlib/XAnyEvent.java
34         (TYPE_KEY_PRESS): new constant.
35         (TYPE_KEY_RELEASE): new constant.
36         (TYPE_MOTION_NOTIFY): new constant.
37         (TYPE_ENTER_NOTIFY): new constant.
38         (TYPE_LEAVE_NOTIFY): new constant.
39         (TYPE_FOCUS_IN): new constant.
40         (TYPE_FOCUS_OUT): new constant.
41         (TYPE_KEYMAP_NOTIFY): new constant.
42         (TYPE_GRAPHICS_EXPOSE): new constant.
43         (TYPE_NO_EXPOSE): new constant.
44         (TYPE_VISIBILITY_NOTIFY): new constant.
45         (TYPE_CREATE_NOTIFY): new constant.
46         (TYPE_DESTROY_NOTIFY): new constant.
47         (TYPE_MAP_REQUEST): new constant.
48         (TYPE_CONFIGURE_REQUEST): new constant.
49         (TYPE_GRAVITY_NOTIFY): new constant.
50         (TYPE_RESIZE_REQUEST): new constant.
51         (TYPE_CIRCULATE_NOTIFY): new constant.
52         (TYPE_CIRCULATE_REQUEST): new constant.
53         (TYPE_PROPERTY_NOTIFY): new constant.
54         (TYPE_SELECTION_CLEAR): new constant.
55         (TYPE_SELECTION_REQUEST): new constant.
56         (TYPE_SELECTION_NOTIFY): new constant.
57         (TYPE_COLORMAP_NOTIFY): new constant.
58         (TYPE_MAPPING_NOTIFY): new constant.
59         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
60         * gnu/gcj/xlib/natGC.cc (copyArea): new method
61         * java/awt/Component.java (createImage): changed to use peer method.
63 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
65         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
66         name, not XLFD, to native drawString.
67         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
68         Replace XLFD-based implementation with Pango-based
69         implementation.
71 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
73         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
74         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
76 2003-08-21  David Daney  <ddaney@avtrex.com>
78         Fix for PR libgcj/12013:
79         * java/lang/ref/natReference.cc (finalize_referred_to_object):
80         Check `cleared' field.
81         * java/lang/ref/Reference.java (copy): Updated comments.
82         (cleared): New field.
83         (clear): Rewrote.
85 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
86             Thomas Fitzsimmons  <fitzsim@redhat.com>
88         * Makefile.am (gtk_awt_peer_sources): Add
89         gnu/java/awt/peer/GLightweightPeer.java.  Remove
90         gnu/java/awt/GLightweightPeer.java.
91         * gnu/java/awt/GLightweightPeer.java: Remove file.
92         * gnu/java/awt/peer/GLightweightPeer.java: New file.
93         * java/awt/Component.java (getToolkit): Add comment about
94         lightweight components.
95         * java/awt/Toolkit.java (createComponent): Return
96         gnu.java.awt.peer.GLightweightPeer.
98 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
100         * configure.in: Fix detection of gcj when building with newlib.
101         * configure: Regenerated.
103 2003-08-20  Graydon Hoare  <graydon@redhat.com>
105         * jni.cc: Replace "cheating" pointer-casting code with
106         extract_from_jvalue<> template.
108 2003-08-20  Andrew Haley  <aph@redhat.com>
110         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
111         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
112         (classAt): Break out class lookup function into getClass().
113         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
114         handlers when using -fno-assume-compiled.
116 2003-08-20  Tom Tromey  <tromey@redhat.com>
118         Fix for PR libgcj/9125:
119         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
120         object outside of loop.  Respect lib_control setting.
121         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
122         field.
123         (lib_control): New field.
124         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
125         (VMClassLoader): Initialize new field.
127         * java/lang/ref/natReference.cc (finalize_referred_to_object):
128         Set `list->reference' to DELETED_REFERENCE when removing dead
129         object.
130         (find_slot): Added an assert.
131         (DELETED_REFERENCE): New define.
132         (add_to_hash): Check for DELETED_REFERENCE.
133         (remove_from_hash): Just return if found slot isn't ours.
135 2003-08-19  Andrew Haley  <aph@redhat.com>
137         * prims.cc (unblock_signal): New function.
138         (catch_segv): Use it.
139         (catch_fpe): Likewise.
141 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
143         PR libgcj/11575
144         * java/io/natFileDescriptorWin32.cc (open): Set create
145         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
146         Honor EXCL when openning with WRITE flag. 
148 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
150         * include/jvm.h: New class _Jv_TempUTFString (helper class for
151         getting a temporary C string from a jstring)
152         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
153         but uses a stack buffer if the string length is less than 256
154         bytes.
156 2003-08-18  Tom Tromey  <tromey@redhat.com>
158         PR libgcj/11951:
159         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
160         void.  Throw VirtualMachineError if ffi fails.  Initialize return
161         value.  Added is_jni_call argument; only wrap exception if not a
162         JNI call.  Use descriptive message if operation not supported.
163         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
164         array class.
165         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
166         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
167         _Jv_CallAnyMethodA.
168         (_Jv_JNI_CallAnyMethodA): Likewise.
169         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
170         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
172 2003-08-13  Tom Tromey  <tromey@redhat.com>
174         * gij.cc (help): Document -? and -X.
176 2003-08-12  Graydon Hoare  <graydon@redhat.com>
178         * java/awt/Font.java: 
179         Stub out more recent API. 
181 2003-08-12  Graydon Hoare  <graydon@redhat.com>
183         * java/awt/Color.java (getAlpha): 
184         Prevent sign-extended alpha values.
186 2003-08-12  Tom Tromey  <tromey@redhat.com>
188         * gij.cc (main): Handle -? and -X.
190 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
192         * java/awt/Container.java
193         (getPreferredSize): Call preferredSize.
194         (preferredSize): Moved body of getPreferredSize here.
195         (getMinimumSize): Call minimumSize.
196         (minimumSize): Moved body of getMinimumSize here.
198 2003-08-11  Tom Tromey  <tromey@redhat.com>
200         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
201         (postEvent): Removed FIXME comment.
202         (isDispatchThread): Documented.
203         (getCurrentEvent): New method.
204         (dispatchEvent): Set currentEvent and lastWhen.
205         (getMostRecentEventTime): Rewrote.
206         (invokeLater): Documented.
208 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
210         * java/io/PrintStream.java (print): Always flush if auto_flush is
211         set. Don't check for newline characters.
212         (write (int)): Implement without using a temporary array.
213         (write (byte[], int, int): Always flush if auto_flush is set. Don't
214         check for newline characters.
215         Fixes PR libgcj/11778.
217 2003-08-08  Andrew Haley  <aph@redhat.com>
219         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
220         * Makefile.in: Rebuild.
221         * java/lang/natRuntime.cc (insertSystemProperties): Add
222         "sun.boot.class.path".
224 2003-08-07  Andrew Haley  <aph@redhat.com>
226         * java/io/PrintStream.java: Don't crash on a null string.
227         
228 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
230         * configure.in: Don't initialize GCINCS to boehm-gc/include.
231         * configure: Regenerate.
233 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
235         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
236         SocketImpl. Update Javadoc.
237         (bind): Call close() not impl.close() in event of exception.
238         (connect): Likewise.
239         Remove superfluous null checks throughout.
240         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
241         Don't create an extra socket. Fix for PR libgcj/10868.
242         (bind): Clean up exception handling.
243         Remove superfluous null checks throughout.
245 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
246             Bryce McKinlay  <bryce@mckinlay.net.nz>
248         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
249         ready-to-write argument to _Jv_Select. Reset the socket back to 
250         non-blocking state after connecting.
251         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
252         Throw SocketTimeoutException not InterruptedIOException.
253         (read): Throw SocketTimeoutException not InterruptedIOException.
255 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
257         * java/lang/Thread.java (Thread): Check for null "name" from
258         start of private constructor, not after calling the private
259         constructor.
261 2003-08-06  Tom Tromey  <tromey@redhat.com>
263         * java/io/FilePermission.java (equals): Use correct index for
264         last character of path.
266 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
268         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
269         * configure.in: Compare with_cross_host to build_alias, not build.
270         * aclocal.m4: Regenerate.
271         * configure: Regenerate.
273 2003-08-05  Tom Tromey  <tromey@redhat.com>
275         Fix for PR libgcj/11779:
276         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
277         class.
279         * java/lang/reflect/Method.java: Updated status comment.
280         Imported javadoc from Classpath and re-ordered methods.
281         * java/lang/reflect/Constructor.java: Reindented.  Updated
282         status comment.  Imported javadoc from Classpath and re-ordered
283         methods.
285 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
287         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
288         Add keyLocation parameter.
289         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
290         string.
291         (paramString): Generate keyChar string according to keyChar, not
292         keyCode.
293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
294         (state_to_awt_mods): Handle ALT key.
295         (keyevent_state_to_awt_mods): New function.
296         (get_first_keyval_from_keymap): New function.
297         (keysym_to_awt_keycode): Get virtual key code from keymap.
298         Handle missing VK_ values.
299         (keysym_to_awt_keylocation): New function.
300         (keyevent_to_awt_keychar): New function.
301         (generates_key_typed_event): Handle non-text-component case.
302         Handle GDK_KP_Delete and GDK_KP_Enter.
303         (awt_event_handler): Call new functions to get postKeyEvent
304         parameters.
305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
306         Update postKeyEvent method signature.
307         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
308         VK_ defines.
310 2003-08-05  Matthias Klose  <doko@debian.org>
312         * aclocal.m4: check for libart-config binary
313           under the name libart2-config as well.
314         * configure: regenerated.
316 2003-08-04  David P Grove  <groved@us.ibm.com>
318         * java/text/DecimalFormat.java (format): avoid ArithmeticException
319         when groupingSize is 0.
320         (parse): Likewise.
322 2003-08-04  Matthias Klose  <doko@debian.org>
324         * libart.m4: check for libart-config binary
325           under the name libart2-config as well.
326         * configure, aclocal.m4: regenerated.
328 2003-08-02  Michael Koch  <konqueror@gmx.de>
330         * java/nio/ByteBufferImpl.java
331         (getChar): Check remaining bytes, fixed comment about endianess.
332         (putChar): Likewise.
333         (getShort): Likewise.
334         (putShort): Likewise.
335         (getInt): Check remaining bytes, fixed conversion, fixed comment about
336         endianess.
337         (putInt): Likewise.
338         (getLong): Likewise.
339         (putLong): Likewise.
340         (getFloat): Likewise.
341         (putFloat): Likewise.
342         (getDouble): Likewise.
343         (putDouble): Likewise.
344         * java/nio/DirectByteBufferImpl.java
345         (getChar): Wrapped code, fixed comment about endianess.
346         (putchar): Likewise.
347         (getShort): Likewise.
348         (putShort): Likewise.
349         (getInt): Fixed conversion, fixed comment about endianess.
350         (putInt): Likewise.
351         (getLong): Likewise.
352         (putLong): Likewise.
353         (getFloat): Likewise.
354         (putFloat): Likewise.
355         (getDouble): Likewise.
356         (putDouble): Likewise.
357         * java/nio/MappedByteBufferImpl.java
358         (compact): Implemented.
359         (getChar): Implemented.
360         (putChar): Implemented.
361         (getDouble): Implemented.
362         (putdouble): Implemented.
363         (getFloat): Implemented.
364         (putFloat): Implemented.
365         (getInt): Implemented.
366         (putInt): Implemented.
367         (getLong): Implemented.
368         (putLong): Implemented.
369         (getShort): Implemented.
370         (putShort): Implemented.
371         * java/nio/channels/FileChannelImpl.java
372         (read): Set position where to access file.
373         (write): Likewise.
374         (transferTo): Flip buffer after read and before write.
375         (transferFrom): Likewise.
377 2003-08-02  Michael Koch  <konqueror@gmx.de>
379         * gnu/java/lang/ArrayHelper.java
380         (equalsArray): Reformated, added method documentation.
382 2003-08-02  Michael Koch  <konqueror@gmx.de>
384         * java/net/URL.java
385         (URL): Added paragraph about the
386         gnu.java.net.nocache_protocol_handlers property.
387         (ph_cache): Renamed from handlers to match classpath's implementation.
388         Reordered it with factory and serialVersionUID member variables.
389         (cache_handlers): New member variable.
390         (static): New static initializer to initialize cache_handlers from
391         gnu.java.net.nocache_protocol_handlers property.
392         (URL): Use ph_cache instead of handlers, reformatted some code to
393         match classpath's implementation.
395 2003-08-01  Tom Tromey  <tromey@redhat.com>
397         Fix for PR libgcj/11241:
398         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
399         initialCapacity is 0, set it to 1.
401 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
403         * java/net/SocketImpl.java (toString): Display the remote address
404         of an unconnected server socket as "0.0.0.0/0.0.0.0".
406 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
408         * javax/swing/border/BevelBorder.java,
409         javax/swing/border/EtchedBorder.java,
410         javax/swing/border/LineBorder.java,
411         javax/swing/border/MatteBorder.java,
412         javax/swing/border/SoftBevelBorder.java,
413         javax/swing/plaf/BorderUIResource.java,
414         javax/swing/plaf/ComponentUI.java,
415         javax/swing/plaf/TreeUI.java,
416         javax/swing/plaf/basic/BasicBorders.java,
417         javax/swing/plaf/basic/BasicGraphicsUtils.java,
418         javax/swing/plaf/basic/BasicTreeUI.java:
419         Prepend "doc-files" to all paths to embedded Javadoc images, so
420         that the generated documentation contains the correct URL.
422 2003-08-01  Tom Tromey  <tromey@redhat.com>
424         * configure: Rebuilt.
425         * configure.in (tool_include_dir): Redefine to match gcc.
427 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
428             Mark Wielaard  <mark@klomp.org>
429             
430         * java/math/BigDecimal (divide): Correctly handle
431         ROUND_HALF_EVEN when amount is greater than 0.5.
432         Simplify and optimize code.
434 2003-07-31  Tom Tromey  <tromey@redhat.com>
436         More for PR libgcj/11737:
437         * java/io/ObjectInputStream.java (processResolution): Use
438         getMethod.
439         (getMethod): Make method accessible.
440         (getField): Make field accessible.
441         (setBooleanField): Don't call setAccessible here.
442         (setByteField, setCharField, setDoubleField, setFloatField,
443         setIntField, setLongField, setShortField, setObjectField):
444         Likewise.
445         (callReadMethod): Don't check whether method is null.  Catch
446         NoSuchMethodException.
447         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
448         cause on thrown exceptions.
450 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
452         Fix for PR libgcj/11728:
453         * java/util/HashMap.java (readObject): Set size.
455 2003-07-31  Tom Tromey  <tromey@redhat.com>
457         Fix for PR libgcj/11737:
458         * java/io/ObjectOutputStream.java (getMethod): Make method
459         accessible.
460         (getField): Likewise.
461         (writeObject): Use getMethod.
462         Import PrivilegedAction and AccessController.
463         (callWriteMethod): Don't check whether m is null.  Catch
464         NoSuchMethodException.
466         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
467         (containsAngle): Likewise.
468         (getStartPoint): Rewrote.
469         (getEndPoint): Likewise.
470         (setAngleStart(Point2D)): Likewise.
472 2003-07-31  Roger Sayle  <roger@eyesopen.com>
473             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
475         * configure.in: Add new THREADCXXFLAGS variable.
476         Handle POSIX threads on alpha*-dec-osf*.
477         * configure: Regenerate.
478         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
479         * Makefile.in: Regenerate.
481 2003-07-08  Andrew Haley  <aph@redhat.com>
483         * include/i386-signal.h (RESTORE): New.
484         (INIT_SEGV): Set restorer.
485         (INIT_FPE): Likewise.
487 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
489         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
490         than getXLFD.
491         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
492         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
494         (gtkSetFont): Scale size parameter by PANGO_SCALE.
495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
496         Likewise.
497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
498         Likewise.
500 2003-07-29  Tom Tromey  <tromey@redhat.com>
502         * defineclass.cc (handleField): Throw exception if field name is
503         duplicated.
504         (handleMethod): Throw exception for duplicate method.
506 2003-07-29  Tom Tromey  <tromey@redhat.com>
508         * gnu/gcj/convert/natIconv.cc (write): Handle case where
509         output buffer is too small.
511 2003-07-28  Tom Tromey  <tromey@redhat.com>
513         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
514         New method.
515         Include gnu/gcj/runtime/StringBuffer.h.
516         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
517         native method.
518         (String(gnu.gcj.runtime.StringBuffer)): Use it.
520 2003-07-27  Anthony Green  <green@redhat.com>
522         * configure.in: Fix newlib check.
523         * configure: Rebuilt.
525 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
528         Create vbox and layout for GtkPlug.
530 2003-07-27  Michael Koch  <konqueror@gmx.de>
532         * java/awt/Window.java
533         (Window): Removed now unused constructor. It became oboslete with the
534         new embedded window patch.
536 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
537             Michael Koch  <konqueror@gmx.de>
539         * gnu/java/awt/EmbeddedWindow.java
540         (EmbeddedWindow): Extends Frame instead of Window.
541         (window_id): New member variable to store the native window handle.
542         (create): Removed.
543         (EmbeddedWindow): New constructor.
544         (addNotify): New method.
545         (getHandler): Likewise.
546         (setWindowPeer): New native method.
547         * gnu/java/awt/EmbeddedWindowSupport.java
548         (EmbeddedWindowSupport): Fixed documentation.
549         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
550         WindowPeer, give it an EmbeddedWindow instance instead of the raw
551         window data.
552         * gnu/java/awt/natEmbeddedWindow.cc
553         (create): Removed.
554         (setWindowPeer): New method.
555         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
556         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
557         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
558         New files
559         * gnu/java/awt/peer/gtk/GtkToolkit.java
560         (GtkToolkit): Implements EmbeddedWindowSupport.
561         (createEmbeddedWindow): New method.
562         * java/awt/Window.java
563         (Window): Removed.
564         * Makefile.am
565         (java_source_files): Added EmbeddedWindowPeer.java.
566         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
567         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
568         * Makefile.in: Regenerated.
570 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
572         * java/lang/Win32Process.java (ConcreteProcess): Surround
573         a command line element with quotes if it contains an
574         embedded space or tab.
575         * java/lang/natWin32Process.cc (startProcess): Do not
576         surround command line elements with quotes here.
578         * configure.host: Use -fcheck-references and 
579         -fuse-divide-subroutine for MinGW until we fix
580         win32_exception_handler( ) in win32.cc w.r.t. Win32 
581         Structured Exception Handling (SEH).
583         * win32.cc (_Jv_platform_initProperties): Use generic names
584         like "x86" for the "os.arch" property to be consistent with
585         what Sun's JDK produces. Use the wProcessorArchitecture
586         member of the Win32 SYSTEM_INFO structure, filled in a call 
587         to GetSystemInfo( ), instead of dwProcessorType.
589 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
590             Ranjit Mathew  <rmathew@hotmail.com>
592         * Makefile.am: Use cross-compiling gcjh from the path for
593         a crossed-native build.
594         * Makefile.in: Rebuilt.
595         * configure.in: Include libltdl in non-newlib builds.
596         Moved determination of gcj used to build libraries to
597         its own section. Fixed cross-compilation issues for
598         non-newlib builds.
599         * configure: Rebuilt.
601 2003-07-25  Tom Tromey  <tromey@redhat.com>
603         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
604         (write): Likewise.
605         (read): Likewise.
606         (read): Likewise.
608 2003-07-25  Mark Wielaard  <mark@klomp.org>
610         * java/lang/natRuntime.cc (_load): Add library name to
611         UnsatisfiedLinkError when thrown.
613 2003-07-25  Mark Wielaard  <mark@klomp.org>
615         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
616         added.
617         * Makefile.in: Likewise.
619 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
621         * java/awt/Component.java
622         (getPreferredSize): Call preferredSize.
623         (preferredSize): Moved body of getPreferredSize here.
624         (getMinimumSize): Call minimumSize.
625         (minimumSize): Moved body of getMinimumSize here.
626         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
627         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
628         pass -1
629         * java/awt/Container.java
630         (validate): Don't validate if there is no peer.
631         (update): Clear background before calling paint.
632         * java/awt/GridBagLayout.java
633         Completed the implementation and fixed several bugs.
634         * java/awt/MediaTracker.java
635         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
636         combine flags.
637         * java/awt/Window.java
638         (Window): Don't call setVisible(false). Windows are invisible by
639         default and calling virtual methods from constructor causes
640         compatibility problems (e.g. subclasses may assume that the peer
641         already exists).
643 2003-07-25  Michael Koch  <konqueror@gmx.de>
645         * java/awt/GridBagLayout.java:
646         Totally reworked and partly implemented.
647         * java/awt/GridBagLayoutInfo.java:
648         New file.
650 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
653         Don't pack label in an event box.
655 2003-07-24  Tom Tromey  <tromey@redhat.com>
657         For PR libgcj/7482:
658         * verify.cc (ref_intersection): New class.
659         (type_val): Removed unresolved_reference_type,
660         uninitialized_unresolved_reference_type.
661         (is_assignable_from_slow): Rewrote.
662         (type::data): Removed.
663         (type::klass): New field.
664         (type::type): Added verifier argument.
665         (type::resolve): Removed.
666         (type::set_uninitialized): Updated for change to type_val.
667         (type::set_initialized): Likewise.
668         (type::isinitialized): Likewise.
669         (type::print): Likewise.
670         (construct_primitive_array_type): Likewise.
671         (type::compatible): Updated for change to type_val and to use
672         ref_intersection.
673         (type::isarray): Updated to use ref_intersection.
674         (type::isinterface): Likewise.
675         (type::element_type): Likewise.
676         (type::to_array): Likewise.
677         (type::verify_dimensions): Rewrote.
678         (type::merge): Likewise.
679         (check_class_constant): Updated for type constructor change.
680         (check_constant): Likewise.
681         (check_field_constant): Likewise.
682         (get_one_type): Likewise.
683         (initialize_stack): Likewise.
684         (verify_instructions_0): Likewise.
685         (verify_instructions_0) [op_invokeinterface]: Removed special
686         case.
687         (isect_list): New field.
688         (_Jv_BytecodeVerifier): Initialize it.
689         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
691 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
693         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
694         unless field size is 2.
696 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
698         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
699         (connectHooks): New method.
700         (handleEvent): Remove.
701         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
702         (createHooks): Remove declaration.
703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
704         (generates_key_typed_event): Change to handle only certain
705         keyvals.
706         (awt_event_handler): Add special handling for GtkTextView.
707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
708         (textcomponent_commit_cb): New function.
709         (textcomponent_changed_cb): Likewise.
710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
711         (connectHooks): Remove.
713 2003-07-23  Tom Tromey  <tromey@redhat.com>
715         * java/lang/natSystem.cc (arraycopy): Check for overflow.
717         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
719 2003-07-22  Tom Tromey  <tromey@redhat.com>
721         * boehm.cc (_Jv_BuildGCDescr): Wrote.
722         Include limits.h.
724 2003-07-22  Tom Tromey  <tromey@redhat.com>
726         * java/awt/Window.java (getWarningString): Just return the
727         string.
728         (Window): Set warningString; check with security manager.
730 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
732         * gnu/awt/xlib/XGraphicsConfiguration.java
733         (FontMetricsCache): Made static.
735 2003-07-22  Tom Tromey  <tromey@redhat.com>
737         * java/net/URLEncoder.java (encode(String)): Use platform default
738         encoding.
739         (encode(String,String)): Convert to 2-digit upper-case hex
740         number.
741         (hex): New field.
743 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
746         (create): Remove unused method implementation.
747         (connectHooks): Remove debug messages.
749 2003-07-20  Anthony Green  <green@redhat.com>
751         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
752         CloneNotSupportedException.
753         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
754         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
755         * gnu/gcj/xlib/GC.java (clone): Ditto.
756         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
757         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
759         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
760         handler.
761         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
763 2003-07-20  Steve Pribyl <steve@netfuel.com.>
765         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
766         String.  Put dlerror() message into exception.
767         Include UnsatisfiedLinkError.
768         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
769         String.  Now native.
771 2003-07-20  Tom Tromey  <tromey@redhat.com>
773         * java/lang/Runtime.java: Comment fix.
774         * java/lang/ClassLoader.java (isAncestorOf): New method.
775         (getParent): Uncommented security check.  Use isAncestorOf.
776         * include/jvm.h (_Jv_CheckAccess): Declare.
777         * java/lang/reflect/natConstructor.cc (newInstance): Perform
778         access check.
779         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
780         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
781         class loader to _Jv_GetArrayClass.
782         Include ArrayIndexOutOfBoundsException.h.
783         * java/lang/reflect/Field.java: Update comment to reflect status.
784         (equals): Fixed indentation.
785         * java/lang/Class.h (Class): Declare memberAccessCheck, not
786         checkMemberAccess.  Make _Jv_CheckAccess a friend.
787         * java/lang/Class.java (memberAccessCheck): New method from
788         Classpath.
789         (checkMemberAccess): Removed.
790         (getDeclaredMethod): Use memberAccessCheck.
791         (getField): Likewise.
792         (getMethod): Likewise.
793         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
794         (_Jv_SearchMethodInClass): Likewise.
795         * prims.cc (_Jv_CheckAccess): New function.
796         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
797         (_Jv_JNI_GetAnyFieldID): Likewise.
798         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
799         (getClassLoader): Added security check.
800         (getConstructor): Call memberAccessCheck.
801         (getDeclaredClasses): Likewise.
802         (getDeclaredField): Likewise.
803         (getDeclaredFields): Likewise.
804         (_getConstructors): Likewise.
805         (getDeclaredConstructor): Likewise.
806         (getDeclaredMethods): Likewise.
807         (getFields): Likewise.
808         (getMethods): Likewise.
809         (newInstance): Likewise.
810         (_Jv_MakeVTable): Put method name in exception.
811         * java/lang/reflect/natMethod.cc (getType): Use
812         getClassLoaderInternal.
813         (_Jv_GetTypesFromSignature): Likewise.
814         (invoke): Perform access check.
815         (_Jv_CallAnyMethodA): Removed old FIXME comments.
816         Include ArrayIndexOutOfBoundsException.h.
817         * java/lang/reflect/natField.cc (getType): Use
818         getClassLoaderInternal.
819         (_Jv_CheckFieldAccessibility): Removed.
820         (getAddr): Use _Jv_CheckAccess; find caller.
821         Include ArrayIndexOutOfBoundsException.h.
823 2003-07-20  Michael Koch  <konqueror@gmx.de>
825         * java/net/URL.java
826         (URL): Fixed documentation to name an argument correcty, Reformatted
827         one method declaration.
828         (getURLStreamHandler): Added documentation from classpath.
830 2003-07-19  Tom Tromey  <tromey@redhat.com>
832         * mauve-libgcj: Don't run CollationElementIterator tests.
834 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
836         * java/net/URLClassLoader.java (addURL): Moved implementation to
837         private addURLImpl() to avoid calling addURL from the constructor.
838         (addURLImpl): Contains the code that was previously in addURL.
839         (addURLs): Call addURLImpl(), not addURL().
841 2003-07-18  Graydon Hoare  <graydon@redhat.com>
843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
844         Handle missing event cases, connect to "value-changed" signal.
846 2003-07-18  Graydon Hoare  <graydon@redhat.com>
848         * java/awt/geom/CubicCurve2D.java,
849         java/awt/geom/Line2D.java,
850         java/awt/geom/QuadCurve2D.java,
851         java/awt/geom/Rectangle2D.java: 
852         Fix path some calculations, make path iterators follow
853         a consistent style.
855 2003-07-18  Mark Wielaard  <mark@klomp.org>
857         * java/util/logging/Handler.java (isLoggable): Check record level
858         smaller or equal.
860 2003-07-17  Michael Koch  <konqueror@gmx.de>
862         * gnu/java/awt/peer/gtk/GtkToolkit.java:
863         Reworked imports.
865 2003-07-14  Michael Koch  <konqueror@gmx.de>
867         * gnu/java/rmi/server/UnicastServerRef.java:
868         New version from classpath.
870 2003-07-14  Michael Koch  <konqueror@gmx.de>
872         * java/awt/image/MemoryImageSource.java,
873         java/beans/PropertyEditorManager.java,
874         javax/naming/CompoundName.java,
875         javax/naming/spi/NamingManager.java,
876         javax/swing/AbstractButton.java,
877         javax/swing/ButtonModel.java,
878         javax/swing/SwingUtilities.java,
879         javax/swing/UIManager.java,
880         javax/swing/colorchooser/DefaultColorSelectionModel.java,
881         javax/swing/event/AncestorEvent.java,
882         javax/swing/event/InternalFrameEvent.java,
883         java/util/zip/ZipFile.java:
884         New versions from classpath.
886 2003-07-13  Michael Koch  <konqueror@gmx.de>
888         * gnu/java/nio/FileChannelImpl.java,
889         gnu/java/nio/natFileChannelImpl.cc: Removed.
890         * java/io/FileInputStream.java,
891         java/io/FileOutputStream.java,
892         java/io/RandomAccessFile.java,
893         java/nio/MappedByteBufferImpl.java:
894         Import java.nio.channels.FileChannelImpl instead of
895         gnu.java.nio.FileChannelImpl.
896         * java/nio/channels/FileChannelImpl.java,
897         java/nio/channels/natFileChannelImpl.cc:
898         New files.
899         * Makefile.am
900         (ordinary_java_source_files):
901         Removed gnu/java/nio/FileChannelImpl.java and added
902         java/nio/channels/FileChannelImpl.java.
903         (nat source_files):
904         Removed gnu/java/nio/natFileChannelImpl.cc and added
905         java/nio/channels/natFileChannelImpl.cc.
906         * Makefile.in: Regenerated.
908 2003-07-13  Michael Koch  <konqueror@gmx.de>
910         * javax/swing/plaf/basic/BasicBorders.java,
911         javax/swing/plaf/basic/BasicLabelUI.java,
912         javax/swing/plaf/basic/BasicLookAndFeel.java,
913         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
914         javax/swing/plaf/basic/BasicTextUI.java,
915         javax/swing/plaf/metal/MetalLookAndFeel.java:
916         New versions from classpath.
918 2003-07-13  Michael Koch  <konqueror@gmx.de>
920         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
921         * gnu/java/awt/peer/gtk/GdkGraphics.java
922         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
923         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
924         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
925         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
926         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
927         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
928         * gnu/java/awt/peer/gtk/GtkClipboard.java
929         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
930         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
931         * gnu/java/awt/peer/gtk/GtkFramePeer.java
932         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
933         * gnu/java/awt/peer/gtk/GtkImage.java
934         * gnu/java/awt/peer/gtk/GtkImagePainter.java
935         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
936         * gnu/java/awt/peer/gtk/GtkListPeer.java
937         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
938         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
939         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
940         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
941         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
942         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
943         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
944         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
945         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
946         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
947         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
948         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
950 2003-07-13  Michael Koch  <konqueror@gmx.de>
952         * gnu/java/locale/LocaleInformation_de.java
953         * gnu/java/locale/LocaleInformation_en.java
954         * gnu/java/locale/LocaleInformation_nl.java
956 2003-07-13  Michael Koch  <konqueror@gmx.de>
958         * gnu/java/awt/EmbeddedWindow.java,
959         gnu/java/awt/EmbeddedWindowSupport.java,
960         gnu/java/awt/natEmbeddedWindow.cc:
961         New files.
962         * java/awt/Window.java
963         (Window): New constructor to support embedded windows.
964         * Makefile.am
965         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
966         gnu/java/awt/EmbeddedWindowSupport.java.
967         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
968         * Makefile.in: Regenerated.
970 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
972         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
973         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
974         * java/awt/im/InputContext.java: Remove a redundant
975         partial line.
977 2003-07-09  Tom Tromey  <tromey@redhat.com>
979         * Makefile.in: Rebuilt.
980         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
982 2003-07-09  Mark Wielaard  <mark@klomp.org>
984         * java/io/ObjectOutputStream.java (writeObject): break after
985         calling writeClassDescriptor().
987 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
989         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
991 2003-07-09  Michael Koch  <konqueror@gmx.de>
993         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
994         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
995         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
996         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
997         Explicitly import used classes.
998         * java/awt/Container.java: New version from classpath.
1000 2003-07-09  Michael Koch  <konqueror@gmx.de>
1002         * libgcj.pc.in: New file.
1003         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1004         * Makefile.in: Regenerated.
1005         * configure: Regenrated.
1006         * configure.in: Create libgcj.pc from libgcj.pc.in.
1008 2003-07-08  Mark Wielaard <mark@klomp.org>
1010         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1012         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1013         * java/lang/fdlibm.h: Likewise.
1015 2003-07-07  Adam Megacz <adam@xwt.org>
1017         * posix.cc: added #include<stdio.h>
1018                 
1019 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1022         formatting.
1024         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1025         (setCaretPosition, setEditable): Rely entirely on native
1026         implementation.
1027         (getArgs): Remove.
1028         (postTextEvent): New method.
1029         (handleEvent): New method.
1030         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1031         method.
1032         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1034         (keysym_to_awt_keycode): Fix range checks.
1035         (generates_key_typed_event): New function.
1036         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1037         queue.
1038         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1039         (gtkInit): Store TextComponent's postTextEvent method ID.
1040         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1041         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1043 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1045         * configure.in: Check for usleep declaration.
1046         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1047         * configure: Regenerate.
1048         * include/config.h.in: Likewise.
1049         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1051 2003-07-01  Michael Koch  <konqueror@gmx.de>
1053         * gnu/gcj/convert/natIconv.cc
1054         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1055         handle.
1057 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1059         * glib-2.0.m4: New file.
1060         * gtk-2.0.m4: New file.
1061         * glib.m4: Remove.
1062         * gtk.m4: Remove.
1063         * configure.in: Update AM_PATH_GTK macro call to
1064         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1066         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1067         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1071         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1072         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1073         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1074         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1075         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1076         jni/gtk-peer/gthread-jni.c,
1077         jni/gtk-peer/gthread-jni.h:
1078         New versions from classpath.
1079         * aclocal.m4: Regenerate.
1080         * configure: Regenerate.
1081         * Makefile.in: Regenerate.
1082         * gcj/Makefile.in: Regenerate.
1083         * include/Makefile.in: Regenerate.
1084         * testsuite/Makefile.in: Regenerate.
1086 2003-06-30  Gary Benson  <gbenson@redhat.com>
1088         For PR libgcj/11349:
1089         * javax/naming/spi/NamingManager.java (getURLContext): Use
1090         correct name for factory class.
1092 2003-06-28  Michael Koch  <konqueror@gmx.de>
1094         * java/io/PrintStream.java
1095         (checkError): Call flush() instead of direct flushing of the Writer
1096         object.
1097         (print): Call print(String) instead of direct print method of the
1098         Writer Object.
1099         (println): Call println(String) instead of direct println method of the
1100         Writer Object.
1101         (write): Simplified.
1103 2003-06-28  Michael Koch  <konqueror@gmx.de>
1105         * java/net/ServerSocket.java
1106         (setChannel): New method.
1107         * java/net/Socket.java
1108         (setChannel): New method.
1110 2003-06-27  Michael Koch  <konqueror@gmx.de>
1112         * java/beans/beancontext/BeanContextSupport.java:
1113         New version from classpath.
1115 2003-06-27  Michael Koch  <konqueror@gmx.de>
1117         * java/awt/Window.java,
1118         java/awt/font/GraphicAttribute.java,
1119         java/awt/font/ImageGraphicAttribute.java,
1120         java/awt/image/DataBufferByte.java,
1121         java/awt/image/DataBufferInt.java,
1122         java/awt/image/DataBufferUShort.java,
1123         java/awt/image/DirectColorModel.java,
1124         java/awt/image/PixelGrabber.java:
1125         New versions from classpath.
1127 2003-06-27  Michael Koch  <konqueror@gmx.de>
1129         * java/security/Certificate.java
1130         (getGuarantor): Removed wrong @deprecated tag.
1131         (getPrincipal): Likewise.
1132         (getPublicKey): Likewise.
1133         (encode): Likewise.
1134         (decode): Likewise.
1135         (getFormat): Likewise.
1136         (toString): Likewise.
1137         * java/security/cert/PolicyQualifierInfo.java
1138         (PolicyQualifierInfo): Made final.
1139         * javax/security/auth/x500/X500Principal.java
1140         (serialVersionUID): New member variable.
1142 2003-06-27  Michael Koch  <konqueror@gmx.de>
1144         * java/text/Format.java
1145         (serialVersionUID): Fixed value.
1147 2003-06-27  Michael Koch  <konqueror@gmx.de>
1149         * java/net/Inet4Address.java
1150         (Inet4Address): Made package-private.
1151         * java/net/Inet6Address.java
1152         (Inet4Address): Made package-private.
1154 2003-06-27  Michael Koch  <konqueror@gmx.de>
1156         * java/io/RandomAccessFile.java
1157         (readLine): Removed wrong @deprecated tag.
1158         (getChannel): Made final.
1160 2003-06-27  Michael Koch  <konqueror@gmx.de>
1162         * gnu/java/nio/FileChannelImpl.java
1163         (write): Removed.
1165 2003-06-27  Michael Koch  <konqueror@gmx.de>
1167         * java/nio/ByteBufferImpl.java
1168         (ByteBufferImpl): Made it a package-private class
1169         * java/nio/CharBufferImpl.java
1170         (CharBufferImpl): Made it a package-private class
1171         * java/nio/DirectByteBufferImpl.java
1172         (DirectByteBufferImpl): Made it a package-private class
1173         * java/nio/DoubleBufferImpl.java
1174         (DoubleBufferImpl): Made it a package-private class
1175         * java/nio/FloatBufferImpl.java
1176         (FloatBufferImpl): Made it a package-private class
1177         * java/nio/IntBufferImpl.java
1178         (IntBufferImpl): Made it a package-private class
1179         * java/nio/LongBufferImpl.java
1180         (LongBufferImpl): Made it a package-private class
1181         * java/nio/ShortBufferImpl.java
1182         (ShortBufferImpl): Made it a package-private class
1183         * java/nio/channels/FileChannel.java
1184         (write): Made final.
1185         * java/nio/channels/ServerSocketChannel.java
1186         (ServerSocketChanne): Made protected.
1188 2003-06-27  Michael Koch  <konqueror@gmx.de>
1190         * javax/naming/CompositeName.java
1191         (serialVersionUID): New member variable.
1192         * javax/naming/CompoundName.java
1193         (serialVersionUID): New member variable.
1194         * javax/naming/InitialContext.java
1195         (InitialContext): Throws NamingException.
1196         (init): Likewise.
1197         * javax/naming/LinkRef.java
1198         (serialVersionUID): New member variable.
1199         (gteLinkName): Throws NamingException.
1200         * javax/naming/NamingException.java
1201         (serialVersionUID): New member variable.
1202         * javax/naming/NamingSecurityException.java
1203         (NamingSecurityException): Made abstract.
1204         (serialVersionUID): New member variable.
1205         * javax/naming/ReferralException.java
1206         (serialVersionUID): New member variable.
1207         * javax/naming/StringRefAddr.java
1208         (serialVersionUID): New member variable.
1209         * javax/naming/directory/BasicAttribute.java:
1210         Reworked imports.
1211         (serialVersionUID): New member variable.
1212         (get): Throws NamingException.
1213         (getAll): Throws NamingException.
1214         * javax/naming/directory/BasicAttributes.java:
1215         Reworked imports.
1216         (serialVersionUID): New member variable.
1217         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1218         (serialVersionUID): New member variable.
1220 2003-06-27  Michael Koch  <konqueror@gmx.de>
1222         * Makefile.am
1223         (awt_java_source_files): Added new files:
1224         javax/swing/Popup.java,
1225         javax/swing/PopupFactory.java
1226         * Makefile.in: Regenerated.
1228 2003-06-27  Michael Koch  <konqueror@gmx.de>
1230         * javax/swing/JWindow.java,
1231         javax/swing/event/AncestorEvent.java,
1232         javax/swing/event/HyperlinkEvent.java,
1233         javax/swing/event/InternalFrameEvent.java,
1234         javax/swing/event/ListDataEvent.java,
1235         javax/swing/event/TableModelEvent.java,
1236         javax/swing/plaf/PopupMenuUI.java,
1237         javax/swing/plaf/SplitPaneUI.java,
1238         javax/swing/plaf/TabbedPaneUI.java,
1239         javax/swing/plaf/TextUI.java,
1240         javax/swing/plaf/TreeUI.java,
1241         javax/swing/plaf/basic/BasicTextUI.java,
1242         javax/swing/plaf/basic/BasicTreeUI.java:
1243         New versions from classpath.
1244         * javax/swing/Popup.java,
1245         javax/swing/PopupFactory.jav:
1246         New source files from classpath.
1247         * javax/swing/plaf/doc-files/TreeUI-1.png:
1248         New binary files from classpath.
1250 2003-06-25  Michael Koch  <konqueror@gmx.de>
1252         * Makefile.am
1253         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1254         * Makefile.in: Regenerated.
1256 2003-06-25  Michael Koch  <konqueror@gmx.de>
1258         * javax/swing/plaf/ActionMapUIResource.java,
1259         javax/swing/plaf/BorderUIResource.java,
1260         javax/swing/plaf/ButtonUI.java,
1261         javax/swing/plaf/ColorChooserUI.java,
1262         javax/swing/plaf/ColorUIResource.java,
1263         javax/swing/plaf/ComboBoxUI.java,
1264         javax/swing/plaf/ComponentInputMapUIResource.java,
1265         javax/swing/plaf/ComponentUI.java,
1266         javax/swing/plaf/DesktopIconUI.java,
1267         javax/swing/plaf/DesktopPaneUI.java,
1268         javax/swing/plaf/DimensionUIResource.java,
1269         javax/swing/plaf/FileChooserUI.java,
1270         javax/swing/plaf/FontUIResource.java,
1271         javax/swing/plaf/IconUIResource.java,
1272         javax/swing/plaf/InputMapUIResource.java,
1273         javax/swing/plaf/InsetsUIResource.java,
1274         javax/swing/plaf/InternalFrameUI.java,
1275         javax/swing/plaf/LabelUI.java,
1276         javax/swing/plaf/ListUI.java,
1277         javax/swing/plaf/MenuBarUI.java,
1278         javax/swing/plaf/MenuItemUI.java,
1279         javax/swing/plaf/OptionPaneUI.java,
1280         javax/swing/plaf/PanelUI.java,
1281         javax/swing/plaf/ProgressBarUI.java,
1282         javax/swing/plaf/RootPaneUI.java,
1283         javax/swing/plaf/ScrollBarUI.java,
1284         javax/swing/plaf/ScrollPaneUI.java,
1285         javax/swing/plaf/SeparatorUI.java,
1286         javax/swing/plaf/SliderUI.java,
1287         javax/swing/plaf/TableHeaderUI.java,
1288         javax/swing/plaf/TableUI.java,
1289         javax/swing/plaf/ToolBarUI.java,
1290         javax/swing/plaf/ToolTipUI.java,
1291         javax/swing/plaf/ViewportUI.java:
1292         New versions from classpath.
1293         * javax/swing/plaf/SpinnerUI.java: 
1294         New file from classpath
1296 2003-06-25  Michael Koch  <konqueror@gmx.de>
1298         * java/awt/image/ColorModel.java:
1299         New version from classpath.
1301 2003-06-25  Michael Koch  <konqueror@gmx.de>
1303         * java/net/PlainDatagramSocketImpl.java:
1304         Partly merged with classpath, this mainly adds documentation.
1306 2003-06-25  Michael Koch  <konqueror@gmx.de>
1308         * java/io/ObjectInputStream.java
1309         (readClassDescriptor): New method.
1310         (readObject): Moved functionality to readClassDescriptor().
1311         * java/io/ObjectOutputStream.java
1312         (writeClassDescriptor): New method.
1313         (writeObject): Moved functionality to writeClassDescriptor().
1315 2003-06-25  Michael Koch  <konqueror@gmx.de>
1317         * javax/swing/plaf/basic/BasicListUI.java,
1318         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1319         Added missing methods.
1321 2003-06-25  Michael Koch  <konqueror@gmx.de>
1323         * javax/swing/event/AncestorEvent.java
1324         javax/swing/event/HyperlinkEvent.java
1325         javax/swing/event/InternalFrameEvent.java
1326         javax/swing/event/ListDataEvent.java
1327         javax/swing/event/TableModelEvent.java:
1328         Compile fixes.
1330 2003-06-24  Michael Koch  <konqueror@gmx.de>
1332         * java/net/URL.java:
1333         Renamed "handler" to "ph" in the whole file to match classpaths
1334         version.
1335         * java/net/URLStreamHandler.java:
1336         (equals): Renamed "handler" to "ph".
1338 2003-06-24  Michael Koch  <konqueror@gmx.de>
1340         * javax/swing/event/AncestorEvent.java,
1341         javax/swing/event/HyperlinkEvent.java,
1342         javax/swing/event/InternalFrameEvent.java,
1343         javax/swing/event/ListDataEvent.java,
1344         javax/swing/event/TableModelEvent.java,
1345         javax/swing/event/TreeWillExpandListener.java,
1346         javax/swing/plaf/ComponentUI.java,
1347         javax/swing/plaf/DesktopIconUI.java,
1348         javax/swing/plaf/DesktopPaneUI.java,
1349         javax/swing/plaf/DimensionUIResource.java,
1350         javax/swing/plaf/FileChooserUI.java,
1351         javax/swing/plaf/FontUIResource.java,
1352         javax/swing/plaf/IconUIResource.java,
1353         javax/swing/plaf/InputMapUIResource.java,
1354         javax/swing/plaf/InsetsUIResource.java,
1355         javax/swing/plaf/InternalFrameUI.java,
1356         javax/swing/plaf/LabelUI.java,
1357         javax/swing/plaf/ListUI.java,
1358         javax/swing/plaf/MenuBarUI.java,
1359         javax/swing/plaf/MenuItemUI.java,
1360         javax/swing/plaf/OptionPaneUI.java,
1361         javax/swing/plaf/PanelUI.java,
1362         javax/swing/plaf/ProgressBarUI.java,
1363         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1364         javax/swing/plaf/doc-files/ComponentUI-1.png:
1365         New versions from classpath.
1367 2003-06-24  Michael Koch  <konqueror@gmx.de>
1369         * java/nio/Buffer.java
1370         (cap): Made package-private.
1371         (pos): Likewise.
1372         (limit): Likewise.
1373         (mark): Likewise.
1375 2003-06-24  Michael Koch  <konqueror@gmx.de>
1377         * java/net/SocketImpl.java
1378         (shutdownInput): Made it non-abstract method throwing an exception
1379         like in SUNs JRE.
1380         (shutdownOutput): Likewise.
1381         * java/net/SocketInputStream.java,
1382         java/net/SocketOutputStream.java:
1383         New files from classpath.
1385 2003-06-24  Michael Koch  <konqueror@gmx.de>
1387         * java/awt/Font.java,
1388         java/awt/Window.java,
1389         java/awt/color/ColorSpace.java,
1390         java/awt/datatransfer/StringSelection.java,
1391         java/awt/image/ColorModel.java:
1392         New versions from classpath.
1394 2003-06-24  Michael Koch  <konqueror@gmx.de>
1396         * Makefile.am
1397         (awt_java_source_files): Added new files:
1398         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1399         javax/swing/plaf/basic/BasicSplitPaneUI.java
1400         * Makefile.in: Regenerated.
1402 2003-06-24  Michael Koch  <konqueror@gmx.de>
1404         * javax/swing/text/JTextComponent.java:
1405         New version from classpath.
1407 2003-06-24  Michael Koch  <konqueror@gmx.de>
1409         * javax/swing/Timer.java,
1410         javax/swing/plaf/ActionMapUIResource.java,
1411         javax/swing/plaf/ButtonUI.java,
1412         javax/swing/plaf/ColorChooserUI.java,
1413         javax/swing/plaf/ColorUIResource.java,
1414         javax/swing/plaf/ComboBoxUI.java,
1415         javax/swing/plaf/ComponentInputMapUIResource.java,
1416         javax/swing/plaf/basic/BasicBorders.java:
1417         New versions from classpath.
1418         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1419         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1420         New file from classpath.
1421         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1422         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1423         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1424         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1425         javax/swing/plaf/doc-files/ComponentUI-1.png:
1426         New binary files from classpath.
1428 2003-06-24  Michael Koch  <konqueror@gmx.de>
1430         * java/io/LineNumberReader.java
1431         (skip): Dont do line number accounting here as this is already done in
1432         read(), simplified.
1434 2003-06-21  Michael Koch  <konqueror@gmx.de>
1436         * java/io/File.java
1437         (static): Load javaio lib if existing (only in classpath).
1438         (File): Revised documentation to show the correct argument name.
1439         (createTempFile): Partly merged with classpath.
1440         (compareTo): Simplified.
1441         (lastModified): Throw exception if time < 0.
1442         (deleteOnExit): Revised documentation.
1444 2003-06-21  Michael Koch  <konqueror@gmx.de>
1446         * java/net/PlainSocketImpl.java:
1447         Reformatted.
1448         (PlainSocketImpl): Merged class documentaion with classpath.
1449         (in): Moved.
1450         (out): Moved.
1451         (PlainSocketImpl): New empty constructor.
1452         (finalize): Moved.
1453         (setOption): Merged documentation from classpath.
1454         (getOption): Likewise.
1455         (create): Likewise.
1456         (connect): Likewise.
1457         (bind): Likewise.
1458         (listen): Likewise.
1459         (accept): Likewise.
1460         (available): Likewise.
1461         (close): Likewise.
1462         (read): Likewise.
1463         (write): Likewise.
1464         (getInputStream): Made synchronozed to get sure that only one stream
1465         object can be created for this socket, merged documentation from
1466         classpath.
1467         (getOutputStream): Likewise.
1469 2003-06-21  Michael Koch  <konqueror@gmx.de>
1471         * java/net/PlainSocketImpl.java:
1472         Reformatting.
1473         (static): New implicit method.
1474         (read): Made package private.
1475         (write): Likewise.
1477 2003-06-21  Michael Koch  <konqueror@gmx.de>
1479         * java/util/SimpleTimeZone.java:
1480         Removed unneeded import, reformatting.
1482 2003-06-21  Michael Koch  <konqueror@gmx.de>
1484         * java/text/DateFormat.java,
1485         java/text/SimpleDateFormat.java,
1486         java/util/Locale.java:
1487         New versions from classpath.
1489 2003-06-21  Michael Koch  <konqueror@gmx.de>
1491         * javax/swing/SpinnerModel.java:
1492         New file from classpath.
1493         * javax/swing/border/LineBorder.java,
1494         javax/swing/border/SoftBevelBorder.java,
1495         javax/swing/plaf/BorderUIResource.java,
1496         javax/swing/plaf/basic/BasicBorders.java:
1497         New versions from classpath.
1498         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1499         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1500         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1501         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1502         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1503         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1504         New binary files from classpath.
1506 2003-06-21  Michael Koch  <konqueror@gmx.de>
1508         * java/util/logging/LogRecord.java,
1509         java/util/logging/Logger.java,
1510         java/util/logging/SocketHandler.java,
1511         java/util/logging/SimpleFormatter.java,
1512         java/util/logging/Formatter.java,
1513         java/util/logging/ErrorManager.java,
1514         java/util/logging/Handler.java,
1515         java/util/logging/FileHandler.java,
1516         java/util/logging/LogManager.java,
1517         java/util/logging/Level.java,
1518         java/util/logging/ConsoleHandler.java,
1519         java/util/logging/StreamHandler.java,
1520         java/util/logging/LoggingPermission.java,
1521         java/util/logging/Filter.java,
1522         java/util/logging/MemoryHandler.java,
1523         java/util/logging/XMLFormatter.java:
1524         New files from classpath.
1526 2003-06-20  Michael Koch  <konqueror@gmx.de>
1528         * java/io/ObjectStreamField.java
1529         (unshared): new member variable.
1530         (ObjectStreamField): New constructor.
1531         (isUnshared): New method.
1533 2003-06-20  Michael Koch  <konqueror@gmx.de>
1535         * java/net/URLStreamHandler.java
1536         (hostsEqual): Rewritten.
1538 2003-06-20  Michael Koch  <konqueror@gmx.de>
1540         * gnu/java/nio/MappedByteFileBuffer.java,
1541         gnu/java/nio/natMappedByteFileBuffer.cc:
1542         Removed
1543         * java/nio/MappedByteBufferImpl.java:
1544         New file.
1545         * gnu/java/nio/FileChannelImpl.java:
1546         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1547         * Makefile.am
1548         (ordinary_java_source_files): Removed
1549         gnu/java/nio/MappedByteFileBuffer.java and added
1550         java/nio/MappedByteBufferImpl.java.
1551         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1552         * Makefile.in: Regenerated.
1554 2003-06-19  Michael Koch  <konqueror@gmx.de>
1556         * gnu/java/nio/DatagramChannelImpl.java
1557         (fd): Removed.
1558         (blocking): New member variable.
1559         (socket): Likewise.
1560         (DatagramChannelImpl): Throws IOException, initialize socket.
1561         (socket):Implemented.
1562         (implCloseSelectableChannel): Throws IOException, implemented.
1563         (implConfigureBlocking): Likewise.
1564         (connect): Likewise.
1565         (disconnect): Likewise.
1566         (isConnected): Likewise.
1567         (write): Likewise.
1568         (read): Likewise.
1569         (receive): Throws IOException.
1570         (send): Likewise.
1571         * gnu/java/nio/SocketChannelImpl.java
1572         (read): Implemented.
1573         (write): Implemented.
1575 2003-06-19  Michael Koch  <konqueror@gmx.de>
1577         * javax/swing/JComponent.java,
1578         javax/swing/JInternalFrame.java,
1579         javax/swing/MenuSelectionManager.java,
1580         javax/swing/SwingUtilities.java,
1581         javax/swing/ToggleButtonModel.java:
1582         New versions from classpath.
1584 2003-06-19  Michael Koch  <konqueror@gmx.de>
1586         * java/text/CollationElementIterator.java
1587         (NULLORDER): Initialize with -1 as JDK documentation says.
1589 2003-06-19  Michael Koch  <konqueror@gmx.de>
1591         * java/net/HttpURLConnection.java,
1592         java/net/Inet4Address.java,
1593         java/net/Inet6Address.java,
1594         java/net/SocketImpl.java,
1595         java/net/URLClassLoader.java:
1596         Reworked import statements.
1597         * java/net/InetAddress.java
1598         (getByAddress): Simplified.
1599         * java/net/ServerSocket.java
1600         (ServerSocket): Moved special handling during bind operation to
1601         bind().
1602         (bind): Handle different cases when trying to bind a socket.
1603         * java/net/URLConnection.java
1604         (getHeaderFieldDate): Merged with classpath.
1605         (getHeaderFieldInt): Likewise.
1607 2003-06-19  Michael Koch  <konqueror@gmx.de>
1609         * java/util/zip/InflaterInputStream.java
1610         (InflaterInputStream): Throw NullPointerException if in is null (as
1611         JDK does).
1613 2003-06-19  Michael Koch  <konqueror@gmx.de>
1615         * java/awt/Font.java
1616         javax/swing/UIManager.java
1617         javax/swing/border/AbstractBorder.java
1618         javax/swing/border/BevelBorder.java
1619         javax/swing/border/Border.java
1620         javax/swing/border/CompoundBorder.java
1621         javax/swing/border/EmptyBorder.java
1622         javax/swing/border/EtchedBorder.java
1623         javax/swing/border/LineBorder.java
1624         javax/swing/border/MatteBorder.java
1625         javax/swing/border/TitledBorder.java
1626         javax/swing/plaf/BorderUIResource.java
1627         javax/swing/plaf/basic/BasicBorders.java
1628         javax/swing/plaf/basic/BasicButtonUI.java
1629         javax/swing/plaf/basic/BasicCheckBoxUI.java
1630         javax/swing/plaf/basic/BasicGraphicsUtils.java
1631         javax/swing/plaf/basic/BasicLabelUI.java
1632         javax/swing/plaf/basic/BasicRadioButtonUI.java
1633         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1634         New versions from classpath.
1635         * javax/swing/border/SoftBevelBorder.java:
1636         New file from classpath.
1637         * javax/swing/border/doc-files/LineBorder-1.png,
1638         javax/swing/border/doc-files/BevelBorder-1.png,
1639         javax/swing/border/doc-files/BevelBorder-2.png,
1640         javax/swing/border/doc-files/BevelBorder-3.png,
1641         javax/swing/border/doc-files/EmptyBorder-1.png,
1642         javax/swing/border/doc-files/EtchedBorder-1.png,
1643         javax/swing/border/doc-files/EtchedBorder-2.png,
1644         javax/swing/border/doc-files/MatteBorder-1.png,
1645         javax/swing/border/doc-files/MatteBorder-2.png,
1646         javax/swing/border/doc-files/MatteBorder-3.png,
1647         javax/swing/border/doc-files/MatteBorder-4.png,
1648         javax/swing/border/doc-files/MatteBorder-5.png,
1649         javax/swing/border/doc-files/MatteBorder-6.png,
1650         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1651         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1652         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1653         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1654         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1655         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1656         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1657         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1658         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1659         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1660         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1661         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1662         New binary files from classpath.
1663         * Makefile.am
1664         (awt_java_source_files): Added
1665         javax/swing/border/SoftBevelBorder.java.
1666         * Makefile.in: Regenerated.
1668 2003-06-19  Michael Koch  <konqueror@gmx.de>
1670         * gnu/java/security/x509/X509Certificate.java
1671         (writeReplace): Merged from classpath.
1673 2003-06-19  Michael Koch  <konqueror@gmx.de>
1675         * gnu/java/nio/FileChannelImpl.java
1676         (map_address): Made public.
1677         (FileChannelImpl): Merged with classpath.
1678         * gnu/java/nio/natFileChannelImpl.cc
1679         (nio_mmap_file): Commented out unused arguments.
1680         (nio_unmmap_file): Likewise.
1681         (niu_msync): Likewise.
1683 2003-06-19  Michael Koch  <konqueror@gmx.de>
1685         * java/awt/image/IndexColorModel.java:
1686         New version from classpath.
1688 2003-06-18  Tom Tromey  <tromey@redhat.com>
1690         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1691         on arrays.
1692         (isLoopbackAddress): Likewise.
1693         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1694         on arrays.
1696 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1698         * java/lang/natVMSecurityManager.cc (getClassContext):
1699         Use maxlen instead of len for loop bound.
1701 2003-06-18  Michael Koch  <konqueror@gmx.de>
1703         * gnu/java/nio/SelectorImpl.java
1704         (register): Use fd with value 0 for now, will be fixed later.
1705         * gnu/java/nio/ServerSocketChannelImpl.java
1706         (fd): Removed.
1707         (local_port): Removed.
1708         (InetSocketAddress): Removed.
1709         (ServerSocketChannelImpl): Just initialize internal socket object.
1710         (implCloseSelectableChannel): Close internal socket object.
1711         (implConfigureBlocking): Added comment.
1712         (accept): Use jaba.net stuff to accept socket.
1713         * gnu/java/nio/SocketChannelImpl.java
1714         (fd): Removed.
1715         (local_port): Removed.
1716         (InetSocketAddress): Removed.
1717         (SocketCreate): Removed.
1718         (SocketConnect): Removed.
1719         (SocketBind): Removed.
1720         (SocketListen): Removed.
1721         (SocketAvailable): Removed.
1722         (SocketClose): Removed.
1723         (SocketRead): Removed.
1724         (SocketWrite): Removed.
1725         (SocketChannelImpl): Just initialize internal socket object.
1726         (implCloseSelectableChannel): Close internal socket object.
1727         (implConfigureBlocking): Fixed implementation, added comment.
1728         (connect): Use internal socket object to connect.
1729         (socket): No need for sanity checks.
1730         (read): Comment out some stuff, this will be reimplemented in the next
1731         commit.
1732         (write): Likewise.
1733         * gnu/java/nio/natFileChannelImpl.cc
1734         (nio_mmap_file): Line wrapped.
1735         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1736         * Makefile.am
1737         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1738         * Makefile.in: Regenerated.
1740 2003-06-18  Michael Koch  <konqueror@gmx.de>
1742         * java/util/Locale.java
1743         (equals): Merged from classpath.
1745 2003-06-18  Michael Koch  <konqueror@gmx.de>
1747         * java/net/InetAddress.java:
1748         Reformatted to better match classpath's version.
1749         * java/net/URL.java
1750         (equals): Simplified.
1751         * java/net/URLConnection.java
1752         (setDoInput): Revised documentation.
1753         (getDefaultUseCaches): Likewise.
1754         (setRequestProperty): Added @since tag.
1756 2003-06-17  Michael Koch  <konqueror@gmx.de>
1758         * java/net/InetSocketAddress.java
1759         (InetSocketAddress): Use wildcard address if addr is null.
1760         (InetSocketAddress): Dont duplicate implementation.
1761         (InetSocketAddress): Throw exception when hostname is null.
1762         * java/net/Socket.java:
1763         Reworked imports.
1764         (Socket): Throw exception when raddr is null, handle case when laddr
1765         is null.
1767 2003-06-17  Michael Koch  <konqueror@gmx.de>
1769         * java/nio/DirectByteBufferImpl.java
1770         (address): Made package private.
1771         (DirectByteBufferImpl): New constructor.
1772         * java/nio/natDirectByteBufferImpl.cc
1773         (allocateImpl): Moved to java.nio namespace, implemented.
1774         (freeImpl): Likewise.
1775         (getImpl): Likewise.
1776         (putImpl): Likewise.
1777         * jni.cc
1778         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1779         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1780         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1782 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1784         * include/powerpc-signal.h: New File.
1785         * configure.in: Use it.
1786         * configure: Regenerated.
1788 2003-06-17  Michael Koch  <konqueror@gmx.de>
1790         * java/util/Locale.java
1791         (getDisplayLanguage): Made it final.
1792         (getDisplayCountry): Likewise.
1793         (getDisplayVariant): Likewise.
1794         (getDisplayName): Likewise.
1796 2003-06-17  Michael Koch  <konqueror@gmx.de>
1798         * java/util/PropertyResourceBundle.java:
1799         Removed unneeded import.
1801 2003-06-17  Michael Koch  <konqueror@gmx.de>
1803         * java/util/prefs/AbstractPreferences.java,
1804         java/util/prefs/PreferencesFactory.java:
1805         Reworked imports, removed unused imports.
1806         * java/util/prefs/Preferences.java
1807         (systemNodeForPackage): Method takes a Class not an Object.
1808         (userNodeForPackage): Likewise.
1809         (nodeForPackage): Likewise.
1811 2003-06-17  Michael Koch  <konqueror@gmx.de>
1813         * gnu/java/security/x509/X509Certificate.java:
1814         Explicitely import used classes.
1816 2003-06-17  Michael Koch  <konqueror@gmx.de>
1818         * java/util/zip/ZipEntry.java,
1819         java/util/zip/ZipFile.java,
1820         java/util/zip/ZipInputStream.java,
1821         java/util/zip/ZipOutputStream.java:
1822         Reworked imports, only import used classes.
1824 2003-06-17  Michael Koch  <konqueror@gmx.de>
1826         * gnu/java/lang/ArrayHelper.java,
1827         gnu/java/lang/ClassHelper.java:
1828         Reformatted to match classpath's versions.
1830 2003-06-14  Michael Koch  <konqueror@gmx.de>
1832         * gnu/java/nio/FileChannelImpl.java
1833         (map_address): Removed incorrect comment.        
1834         * gnu/java/nio/SelectorImpl.java
1835         (register): Remove code duplication and code for file channel handling.        
1836         * gnu/java/nio/ServerSocketChannelImpl.java
1837         (serverSocket): Renamed from sock_object.
1838         (ServerSocketChannel): Initialize serverSocket.
1839         (socket): Return serverSocket.
1840         * gnu/java/nio/SocketChannelImpl.java
1841         (socket): Renamed from sock_object.
1842         (isConnectionPenging): Simplified.
1843         (socket): Return socket.
1844 2003-06-14  Michael Koch  <konqueror@gmx.de>
1846         * java/security/BasicPermission.java:
1847         New version from classpath.
1849 2003-06-14  Michael Koch  <konqueror@gmx.de>
1851         * javax/naming/directory/Attribute.java:
1852         New version from classpath.
1854 2003-06-14  Michael Koch  <konqueror@gmx.de>
1856         * java/io/BufferedReader.java,
1857         java/io/FileOutputStream.java:
1858         New versions from classpath.
1860 2003-06-12  Andrew Haley  <aph@redhat.com>
1862         * prims.cc (catch_segv): Create exception in handler.
1863         (catch_fpe): Likewise.  
1864         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1865         (_Jv_ThrowSignal): Remove.
1867         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1868         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1869         to nullp and arithexception.
1870         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1871         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1872         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1873         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1874         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1876 2003-06-11  Andrew Haley  <aph@redhat.com>
1878         * jni.cc (_Jv_JNI_check_types): New.
1879         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1880         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1881         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1882         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1883         
1884         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1885         infinite loop.
1887 2003-06-11  Tom Tromey  <tromey@redhat.com>
1889         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1890         * java/io/PrintStream.java: Not deprecated.
1892 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1894         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1895         (fillOval): implemented
1896         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1897         (fillArc): implemented.
1898         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1899         (fillArc): added native method.
1900         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1901         (fillArc): added native method.
1903 2003-06-11  Michael Koch  <konqueror@gmx.de>
1905         * java/awt/im/InputSubset.java:
1906         New version from classpath.
1908 2003-06-11  Michael Koch  <konqueror@gmx.de>
1910         * javax/swing/AbstractAction.java,
1911         javax/swing/AbstractButton.java,
1912         javax/swing/AbstractCellEditor.java,
1913         javax/swing/AbstractListModel.java,
1914         javax/swing/BorderFactory.java,
1915         javax/swing/Box.java,
1916         javax/swing/BoxLayout.java,
1917         javax/swing/ButtonGroup.java,
1918         javax/swing/DefaultButtonModel.java,
1919         javax/swing/DefaultListModel.java,
1920         javax/swing/DefaultListSelectionModel.java,
1921         javax/swing/FocusManager.java,
1922         javax/swing/ImageIcon.java,
1923         javax/swing/InputMap.java,
1924         javax/swing/JApplet.java,
1925         javax/swing/JButton.java,
1926         javax/swing/JCheckBox.java,
1927         javax/swing/JCheckBoxMenuItem.java,
1928         javax/swing/JColorChooser.java,
1929         javax/swing/JComboBox.java,
1930         javax/swing/JComponent.java,
1931         javax/swing/JDesktopPane.java,
1932         javax/swing/JDialog.java,
1933         javax/swing/JEditorPane.java,
1934         javax/swing/JFileChooser.java,
1935         javax/swing/JFormattedTextField.java,
1936         javax/swing/JFrame.java,
1937         javax/swing/JLabel.java,
1938         javax/swing/JLayeredPane.java,
1939         javax/swing/JList.java,
1940         javax/swing/JMenuBar.java,
1941         javax/swing/JMenuItem.java,
1942         javax/swing/JOptionPane.java,
1943         javax/swing/JPanel.java,
1944         javax/swing/JPasswordField.java,
1945         javax/swing/JPopupMenu.java,
1946         javax/swing/JProgressBar.java,
1947         javax/swing/JRadioButton.java,
1948         javax/swing/JRadioButtonMenuItem.java,
1949         javax/swing/JRootPane.java,
1950         javax/swing/JScrollBar.java,
1951         javax/swing/JScrollPane.java,
1952         javax/swing/JSeparator.java,
1953         javax/swing/JSlider.java,
1954         javax/swing/JTabbedPane.java,
1955         javax/swing/JTable.java,
1956         javax/swing/JTextField.java,
1957         javax/swing/JToggleButton.java,
1958         javax/swing/JToolBar.java,
1959         javax/swing/JToolTip.java,
1960         javax/swing/JTree.java,
1961         javax/swing/JViewport.java,
1962         javax/swing/JWindow.java,
1963         javax/swing/KeyStroke.java,
1964         javax/swing/ListSelectionModel.java,
1965         javax/swing/LookAndFeel.java,
1966         javax/swing/RepaintManager.java,
1967         javax/swing/ScrollPaneLayout.java,
1968         javax/swing/SizeRequirements.java,
1969         javax/swing/SwingConstants.java,
1970         javax/swing/Timer.java,
1971         javax/swing/UIDefaults.java,
1972         javax/swing/UIManager.java,
1973         javax/swing/border/AbstractBorder.java,
1974         javax/swing/border/CompoundBorder.java,
1975         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1976         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1977         javax/swing/colorchooser/ColorSelectionModel.java,
1978         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1979         javax/swing/event/AncestorEvent.java,
1980         javax/swing/event/HyperlinkEvent.java,
1981         javax/swing/event/InternalFrameAdapter.java,
1982         javax/swing/event/InternalFrameEvent.java,
1983         javax/swing/event/ListDataEvent.java,
1984         javax/swing/event/MouseInputAdapter.java,
1985         javax/swing/event/SwingPropertyChangeSupport.java,
1986         javax/swing/event/TableModelEvent.java,
1987         javax/swing/event/TreeWillExpandListener.java,
1988         javax/swing/event/UndoableEditEvent.java,
1989         javax/swing/filechooser/FileFilter.java,
1990         javax/swing/filechooser/FileSystemView.java,
1991         javax/swing/filechooser/FileView.java,
1992         javax/swing/plaf/BorderUIResource.java,
1993         javax/swing/plaf/basic/BasicDefaults.java,
1994         javax/swing/table/AbstractTableModel.java,
1995         javax/swing/table/DefaultTableCellRenderer.java,
1996         javax/swing/table/DefaultTableColumnModel.java,
1997         javax/swing/table/DefaultTableModel.java,
1998         javax/swing/table/TableColumn.java,
1999         javax/swing/text/JTextComponent.java,
2000         javax/swing/tree/AbstractLayoutCache.java,
2001         javax/swing/tree/DefaultMutableTreeNode.java,
2002         javax/swing/tree/DefaultTreeCellEditor.java,
2003         javax/swing/tree/DefaultTreeCellRenderer.java,
2004         javax/swing/tree/DefaultTreeModel.java,
2005         javax/swing/tree/DefaultTreeSelectionModel.java,
2006         javax/swing/tree/FixedHeightLayoutCache.java,
2007         javax/swing/tree/TreeCellEditor.java,
2008         javax/swing/tree/TreeModel.java,
2009         javax/swing/tree/TreeNode.java,
2010         javax/swing/tree/TreePath.java,
2011         javax/swing/tree/TreeSelectionModel.java,
2012         javax/swing/tree/VariableHeightLayoutCache.java,
2013         javax/swing/undo/AbstractUndoableEdit.java,
2014         javax/swing/undo/CompoundEdit.java,
2015         javax/swing/undo/StateEdit.java,
2016         javax/swing/undo/UndoManager.java,
2017         javax/swing/undo/UndoableEditSupport.java:
2018         New versions from classpath.
2019         * javax/swing/table/JTableHeader.java:
2020         New file from classpath.
2021         * Makefile.am
2022         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2023         * Makefile.in: Regenerated.
2025 2003-06-11  Michael Koch  <konqueror@gmx.de>
2027         * java/nio/MappedByteBuffer.java,
2028         java/nio/channels/Channels.java,
2029         java/nio/channels/ServerSocketChannel.java,
2030         java/nio/channels/spi/AbstractSelector.java:
2031         Removed unneeded imports.
2033 2003-06-11  Michael Koch  <konqueror@gmx.de>
2035         * java/net/DatagramSocket.java:
2036         Partly merged with classpath.
2038 2003-06-11  Michael Koch  <konqueror@gmx.de>
2040         * java/awt/Frame.java,
2041         java/awt/Graphics.java,
2042         java/awt/Menu.java,
2043         java/awt/Robot.java,
2044         java/awt/image/ColorModel.java:
2045         New versions from classpath.
2047 2003-06-10  Michael Koch  <konqueror@gmx.de>
2049         * java/io/PrintStream.java:
2050         Merged version from classpath.
2051         (close): Removed sychronized keyword. This class is not garantied to
2052         be thread-safe.
2053         (write): Likewise.
2055 2003-06-09  Tom Tromey  <tromey@redhat.com>
2057         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2058         field.
2059         (getDescent): Likewise, for "descent".
2061 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2063         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2064         (getMaxDescent): adjusted return value.
2065         (getAscent): modified to use metrics for 'O'.
2066         (getDescent): modified to use metrics for 'y'.
2068 2003-06-08  Anthony Green  <green@redhat.com>
2070         * java/net/URLStreamHandler.java (sameFile): Fix port value
2071         comparison.
2072         * java/net/URL.java (handler): Make package private.
2073         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2075 2003-06-07  Tom Tromey  <tromey@redhat.com>
2077         For PR libgcj/11085:
2078         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2079         Limit number of characters in numeric field when required.
2080         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2081         Respect maximumIntegerDigits.
2083 2003-06-08  Michael Koch  <konqueror@gmx.de>
2085         * java/net/Socket.java
2086         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2087         call bind() and connect() to actually do the bind and connect tasks.
2088         (bind): Connect to canonical address if bindpoint is null, create
2089         socket and bind it to bindpoint.
2090         (connect): Check for exceptions.
2092 2003-06-08  Michael Koch  <konqueror@gmx.de>
2094         * java/net/DatagramSocket.java
2095         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2096         into the Multicast constructors.
2097         * java/net/DatagramSocketImpl.java
2098         (getOption): Removed.
2099         (setOption): Removed.
2100         * java/net/MulticastSocket.java
2101         (MulticastSocket): Call setReuseAddress (true).
2102         * java/net/SocketImpl.java
2103         (getOption): Removed.
2104         (setOption): Removed.
2106 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2108         PR libgcj/10886:
2109         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2110         Test for empty vector.
2112 2003-06-06  Mark Wielaard  <mark@klomp.org>
2114         * java/security/Security.java (secprops): Initialize.
2115         (loadProviders): Return boolean.
2116         (static): Check result of loadProvider calls. If necessary
2117         display WARNING and fallback to Gnu provider.
2119 2002-06-06  James Clark  <jjc@jclark.com>
2121         Fix for PR libgcj/8738:
2122         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2123         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2124         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2125         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2126         (write): Always decrease avail when count is increased.
2127         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2128         and whether output buffer is full before increasing size.
2130 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2132         * java/io/PrintStream.java (writeChars(char[],int, int)):
2133         Check converter.havePendingBytes().
2134         (writeChars(String,int,int)): Likewise.
2135         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2136         Check converter.havePendingBytes() and flush buffer when stalled.
2138 2003-06-07  Michael Koch  <konqueror@gmx.de>
2140         * include/posix.h
2141         (O_DSYNC): Define O_DSYNC on platforms not
2142         supporting O_FSYNC (newlib).
2144 2003-06-06  Mark Wielaard  <mark@klomp.org>
2146         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2147         AWTError.
2149 2003-06-06  Michael Koch  <konqueror@gmx.de>
2151         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2152         More compile fixes from my stupid work yesterday.
2154 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2156         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2157         if _IEEE_LIBM is undefined.
2159 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2161         * libjava/include/posix.h (O_SYNC): Define if not available
2162         and a reasonable, perhaps more conservative, replacement exists.
2163         (O_DSYNC): Likewise.
2164         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2166 2003-06-05  Michael Koch  <konqueror@gmx.de>
2168         * javax/swing/plaf/BorderUIResource.java,
2169         javax/swing/plaf/basic/BasicDefaults.java,
2170         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2171         More compile fixes for latest Border commit. I should not commit
2172         something in this heat here ...
2174 2003-06-05  Michael Koch  <konqueror@gmx.de>
2176         * javax/swing/border/BevelBorder.java
2177         (BevelBorder): Removed.
2178         * javax/swing/border/EmptyBorder.java:
2179         Reformatted.
2180         (EmptyBorder): Removed.
2181         (getBorderInsets): Dont use l, r, t and b.
2182         * javax/swing/border/EtchedBorder.java
2183         (EtchedBorder): Removed.
2184         * javax/swing/border/LineBorder.java
2185         (LineBorder): Removed.
2186         * javax/swing/border/MatteBorder.java
2187         (MatteBorder): Removed.
2188         * javax/swing/border/TitledBorder.java
2189         (defaultBorder): Use other default for now.
2190         (defaultFont): Likewise.
2191         (defaultColor): Likewise.
2193 2003-06-05  Michael Koch  <konqueror@gmx.de>
2195         * javax/swing/border/Border.java:
2196         New version from classpath.
2198 2003-06-05  Michael Koch  <konqueror@gmx.de>
2200         * javax/swing/border/AbstractBorder.java,
2201         javax/swing/border/BevelBorder.java,
2202         javax/swing/border/CompoundBorder.java,
2203         javax/swing/border/EmptyBorder.java,
2204         javax/swing/border/EtchedBorder.java,
2205         javax/swing/border/LineBorder.java,
2206         javax/swing/border/MatteBorder.java,
2207         javax/swing/border/TitledBorder.java:
2208         New versions from Classpath.
2210 2003-06-05  Michael Koch  <konqueror@gmx.de>
2212         * java/awt/Button.java,
2213         java/awt/Checkbox.java,
2214         java/awt/CheckboxMenuItem.java,
2215         java/awt/Choice.java,
2216         java/awt/Container.java,
2217         java/awt/Dialog.java,
2218         java/awt/EventQueue.java,
2219         java/awt/FileDialog.java,
2220         java/awt/Frame.java,
2221         java/awt/Label.java,
2222         java/awt/List.java,
2223         java/awt/Menu.java,
2224         java/awt/MenuItem.java,
2225         java/awt/Panel.java,
2226         java/awt/PopupMenu.java,
2227         java/awt/Rectangle.java,
2228         java/awt/ScrollPane.java,
2229         java/awt/Scrollbar.java,
2230         java/awt/TextArea.java,
2231         java/awt/TextField.java,
2232         java/awt/Window.java,
2233         java/awt/datatransfer/DataFlavor.java,
2234         java/awt/dnd/DragSource.java,
2235         java/awt/dnd/DragSourceContext.java,
2236         java/awt/event/HierarchyEvent.java,
2237         java/awt/event/MouseWheelEvent.java,
2238         java/awt/im/InputContext.java,
2239         java/awt/image/BufferedImage.java,
2240         java/awt/image/ComponentColorModel.java,
2241         java/awt/image/Raster.java,
2242         java/awt/image/WritableRaster.java,
2243         java/awt/peer/ComponentPeer.java,
2244         java/awt/print/PageFormat.java,
2245         java/awt/print/PrinterJob.java:
2246         New versions from Classpath.
2248 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2250         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2251         numberFormat.setParseIntegerOnly(true).
2253 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2255         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2257 2003-06-03  Andrew Haley  <aph@redhat.com>
2259         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2260         stack volatile to prevent optimization from removing it.
2262 2003-05-27  Michael Koch  <konqueror@gmx.de>
2264         * java/util/zip/Deflater.java
2265         (FILTERED): Merged documentation from classpath.
2266         * java/util/zip/DeflaterOutputStream.java
2267         (DeflaterOutputStream): Merged documentation and argument validity
2268         check from classpath.
2269         (deflate): Merged documentation from classpath.
2270         (finish): Likewise.
2271         * java/util/zip/Inflater.java
2272         (Inflater): Merged class documentation from classpath.
2273         (zstream): Reordered.
2274         (is_finished): Reordered.
2275         (dict_needed): Reordered.
2276         (Inflater): Reordered, merged documentation from classpath.
2277         (end): Likewise.
2278         (finalize): Merged documentation from classpath.
2279         (finished): Likewise.
2280         (getAdler): Likewise.
2281         (getRemaining): Likewise.
2282         (getTotalIn): Likewise.
2283         (getTotalOut): Likewise.
2284         (inflate): Likewise.
2285         (needsDictionary): Likewise.
2286         (needsInput): Likewise.
2287         (reset): Likewise.
2288         (setDictionary): Likewise.
2289         (setInput): Likewise.
2291 2003-05-27  Michael Koch  <konqueror@gmx.de>
2293         * java/net/URLConnection.java
2294         (getHeaderFieldInt): Merged with classpath.
2296 2003-05-27  Michael Koch  <konqueror@gmx.de>
2298         * java/io/PrintStream.java
2299         (PrintStream): Reformatted.
2300         (PrintStream): New method, merged from classpath.
2301         (write): Reformatted.
2303 2003-05-27  Michael Koch  <konqueror@gmx.de>
2305         * java/lang/System.java:
2306         Explicitely import needed classes.
2308 2003-05-26  Michael Koch  <konqueror@gmx.de>
2310         * java/net/NetPermission.java,
2311         java/net/NetworkInterface.java,
2312         java/net/PasswordAuthentication.java,
2313         java/net/SocketPermission.java:
2314         New versions from classpath.
2316 2003-05-25  Michael Koch  <konqueror@gmx.de>
2318         * java/io/PushbackInputStream.java,
2319         java/net/Authenticator.java,
2320         java/net/ContentHandler.java,
2321         java/net/ContentHandlerFactory.java,
2322         java/net/DatagramSocket.java,
2323         java/net/DatagramSocketImpl.java,
2324         java/net/DatagramSocketImplFactory.java,
2325         java/net/FileNameMap.java,
2326         java/net/SocketImplFactory.java,
2327         java/net/SocketOptions.java,
2328         java/net/URLStreamHandlerFactory.java:
2329         Merged new versions from classpath.
2331 2003-05-25  Michael Koch  <konqueror@gmx.de>
2333         * java/awt/Checkbox.java,
2334         java/awt/Dialog.java,
2335         java/awt/Font.java,
2336         java/awt/Frame.java,
2337         java/awt/ScrollPaneAdjustable.java,
2338         java/awt/Scrollbar.java,
2339         java/awt/Window.java:
2340         New versions from classpath.
2342 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2344         PR libgcj/10838:
2345         * java/io/ObjectInputStream (enableResolveObject):
2346         Fixed spelling of permission name.
2348 2003-05-20  Michael Koch  <konqueror@gmx.de>
2350         * java/io/DataInputStream.java
2351         (convertFromUTF): Merged comment from classpath.
2352         * java/io/PrintStream.java
2353         (error_occured): Renamed from error, merged comment from classpath.
2354         (PrintStream): No need to initialized error.
2355         (checkError): Replace error with error_occurred.
2356         (setError): Likewise.
2358 2003-05-20  Michael Koch  <konqueror@gmx.de>
2360         * java/io/DataInputStream.java:
2361         Reformatted, Replaced < and & with html entitites in documentation.
2362         * java/io/File.java:
2363         Reformatted.
2364         * java/io/PrintWriter.java:
2365         Moved class documentation.
2367 2003-05-20  Michael Koch  <konqueror@gmx.de>
2369         * gnu/java/nio/ByteBufferImpl.java,
2370         gnu/java/nio/CharBufferImpl.java,
2371         gnu/java/nio/CharViewBufferImpl.java,
2372         gnu/java/nio/DirectByteBufferImpl.java,
2373         gnu/java/nio/DoubleBufferImpl.java,
2374         gnu/java/nio/DoubleViewBufferImpl.java,
2375         gnu/java/nio/FloatBufferImpl.java,
2376         gnu/java/nio/FloatViewBufferImpl.java,
2377         gnu/java/nio/IntBufferImpl.java,
2378         gnu/java/nio/IntViewBufferImpl.java,
2379         gnu/java/nio/LongBufferImpl.java,
2380         gnu/java/nio/LongViewBufferImpl.java,
2381         gnu/java/nio/natDirectByteBufferImpl.cc,
2382         gnu/java/nio/ShortBufferImpl.java,
2383         gnu/java/nio/ShortViewBufferImpl.java:
2384         Moved files to java/nio.
2385         * gnu/java/nio/SocketChannelImpl.java
2386         
2387         * java/nio/ByteBuffer.java,
2388         java/nio/CharBuffer.java,
2389         java/nio/DoubleBuffer.java,
2390         java/nio/FloatBuffer.java,
2391         java/nio/IntBuffer.java,
2392         java/nio/LongBuffer.java,
2393         java/nio/ShortBuffer.java:
2394         Dont import anything.
2395         * java/nio/ByteBufferImpl.java,
2396         java/nio/CharBufferImpl.java,
2397         java/nio/CharViewBufferImpl.java,
2398         java/nio/DirectByteBufferImpl.java,
2399         java/nio/DoubleBufferImpl.java,
2400         java/nio/DoubleViewBufferImpl.java,
2401         java/nio/FloatBufferImpl.java,
2402         java/nio/FloatViewBufferImpl.java,
2403         java/nio/IntBufferImpl.java,
2404         java/nio/IntViewBufferImpl.java,
2405         java/nio/LongBufferImpl.java,
2406         java/nio/LongViewBufferImpl.java,
2407         java/nio/natDirectByteBufferImpl.cc,
2408         java/nio/ShortBufferImpl.java,
2409         java/nio/ShortViewBufferImpl.java:
2410         Moved from gnu/java/nio.
2411         * Makefile.am
2412         (ordinary_java_source_files): Moved files from gnu/java/nio to
2413         java/nio.
2414         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2415         to java/nio.
2416         * Makefile.in: Regenerated.
2418 2003-05-19  Michael Koch  <konqueror@gmx.de>
2420         * java/util/Calendar.java
2421         (get): Not final anymore since JDK 1.4
2422         (set): Likewise.
2424 2003-05-19  Michael Koch  <konqueror@gmx.de>
2426         * java/text/CollationKey.java:
2427         Merged copyright and dat from classpath.
2428         * java/text/RuleBasedCollator.java:
2429         Merged class documentation from classpath.
2431 2003-05-19  Michael Koch  <konqueror@gmx.de>
2433         * java/nio/CharBuffer.java
2434         (toString): Compile fix.
2436 2003-05-19  Michael Koch  <konqueror@gmx.de>
2438         * gnu/java/nio/ByteBufferImpl.java
2439         (putLong): Fixed conversion to bytes.
2440         (putDouble): Fixed conversion to bytes.
2441         * gnu/java/nio/DirectByteBufferImpl.java
2442         (putLong): Fixed conversion to bytes.
2443         (putDouble): Fixed conversion to bytes.
2444         * gnu/java/nio/FileLockImpl.java
2445         (isValid): Reformatted.
2446         * java/nio/Buffer.java
2447         (Buffer): Fixed off-by-one bug in handling mark.
2448         * java/nio/ByteBuffer.java:
2449         Added newline.
2450         * java/nio/CharBuffer.java
2451         (toString): Don't use relative get to get string data.
2453 2003-05-16  Michael Koch  <konqueror@gmx.de>
2455         * java/io/natFileDescriptorPosix.cc
2456         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2457         tested.
2459 2003-05-14  Michael Koch  <konqueror@gmx.de>
2461         * gnu/java/nio/FileLockImpl.java
2462         (released): New member variable.
2463         (FileLockImpl): Initialize released.
2464         (releaseImpl): New native method.
2465         (release): Implemented.
2466         * gnu/java/nio/SelectorImpl.java: Reformatted.
2467         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2468         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2469         (accept): Throws IOException.
2470         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2471         (implConfigureBlocking): Throws IOException.
2472         (connect): Likewise.
2473         (read): Likewise.
2474         (write): Likewise.
2475         * gnu/java/nio/natFileLockImpl.cc: New file.
2476         * java/nio/channels/FileLock.java: Reformatted.
2477         * Makefile.am:
2478         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2479         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2480         * Makefile.in: Regenerated.
2482 2003-05-13  Michael Koch  <konqueror@gmx.de>
2484         * gnu/java/nio/CharViewBufferImpl.java
2485         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2486         (get): Shift bits to the right direction.
2487         (put): Likewise.
2488         * gnu/java/nio/DoubleViewBufferImpl.java
2489         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2490         (get): Shift bits to the right direction.
2491         (put): Likewise.
2492         * gnu/java/nio/FloatViewBufferImpl.java
2493         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2494         (get): Shift bits to the right direction.
2495         (put): Likewise.
2496         * gnu/java/nio/IntViewBufferImpl.java
2497         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2498         (get): Shift bits to the right direction.
2499         (put): Likewise.
2500         * gnu/java/nio/LongViewBufferImpl.java
2501         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2502         (get): Shift bits to the right direction.
2503         (put): Likewise.
2504         * gnu/java/nio/ShortViewBufferImpl.java
2505         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2506         (get): Shift bits to the right direction.
2507         (put): Likewise.
2509 2003-05-13  Michael Koch  <konqueror@gmx.de>
2511         * gnu/java/nio/natDirectByteBufferImpl.cc
2512         (allocateImpl): jlong -> RawData*.
2513         (freeImpl): Likewise.
2515 2003-05-13  Michael Koch  <konqueror@gmx.de>
2517         * java/nio/channels/FileChannel.java
2518         (MapMode.m): Made it package-private to match JDK 1.4.
2519         * java/nio/charset/Charset.java
2520         (decode): Made it final to match JDK 1.4.
2522 2003-05-13  Michael Koch  <konqueror@gmx.de>
2524        * java/io/FileDescriptor.java
2525        (SYNC): New constant.
2526        (DSYNC): Likewise.
2527        (getLength): Renamed from lenght() to match classpath's
2528        FileDescriptor.java.
2529        * java/io/RandomAccessFile.java
2530        (RandomAccessFile): Removed unneeded mode check, implemented mode
2531        "rws" and "rwd", merged documentation from classpath.
2532        (setLength): Reformatted.
2533        (length): Use new getLength() of FileDescriptor.
2534        * java/io/natFileDescriptorEcos.cc
2535        (getLength): Renamed from length().
2536        * java/io/natFileDescriptorPosix.cc
2537        (open): Implemented support for SYNC and DSYNC.
2538        (seek): Use getLength() instead of length().
2539        (getLength): Renamed from length().
2540        * java/io/natFileDescriptorWin32.cc
2541        (getLength): Renamed from length().
2542        (seek): Use getLength() instead of length().
2543        (available): Likewise.
2544        * gnu/java/nio/natFileChannelImpl.cc
2545        (size): Use getLength() instead of length().
2547 2003-05-13  Michael Koch  <konqueror@gmx.de>
2549         * gnu/java/nio/ByteBufferImpl.java
2550         (ByteBufferImpl): All constructors revised.
2551         (slice): Reimplemented.
2552         (duplicate): Reimplemented.
2553         (asReadOnlyBuffer): Reimplemented.
2554         * java/nio/ByteBuffer.java:
2555         Reformatted.
2556         (array_offset): Renamed from "offset" to match all other buffer
2557         classes.
2558         (ByteBuffer): All constructors revised.
2559         (allocateDirect): Implemented.
2560         (allocate): New implementation, documentation reworked.
2561         (wrap): Likewise.
2562         (get): Documentation reworked.
2563         (put): New implementation, documentation reworked.
2564         (hasArray): Documentation reworked.
2565         (arrayOffset): Likewise.
2566         (hashCode): Likewise.
2567         (equals): Likewise.
2568         (compareTo): Likewise.
2569         (order): Likewise.
2570         (compact): Likewise.
2571         (isDirect): Likewise.
2572         (slice): Likewise.
2573         (duplicate): Likewise.
2574         (asReadOnlyBuffer): Likewise.
2575         * Makefile.am
2576         (ordinary_java_source_files):
2577         Added gnu/java/nio/DirectByteBufferImpl.java.
2578         (nat_source_files):
2579         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2580         * Makefile.in: Regenerated.
2582 2003-05-12  Michael Koch  <konqueror@gmx.de>
2584         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2585         (nio_get_*): Removed.
2586         (nio_put_*): Removed.
2587         (as*Buffer): Implemented.
2588         (compact): Implemented.
2589         (get): Documentation added.
2590         (put): Documentation added.
2591         (get*): Newly implemented.
2592         (put*): Newly implemented.
2593         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2594         (CharBufferImpl): Revised.
2595         (slice): New implementation.
2596         (duplicate): New implementation.
2597         (compact): New implementation.
2598         (asReadOnlyBuffer): New implementation.
2599         (get): Documentation revised.
2600         (order): Return native byte order.
2601         * gnu/java/nio/DirectByteBufferImpl.java
2602         (allocateDirect): objects can be null not 0.
2603         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2604         (DoubleBufferImpl): Revised.
2605         (slice): New implementation.
2606         (duplicate): New implementation.
2607         (compact): New implementation.
2608         (asReadOnlyBuffer): New implementation.
2609         (get): Documentation revised.
2610         (order): Return native byte order.
2611         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2612         (FloatBufferImpl): Revised.
2613         (slice): New implementation.
2614         (duplicate): New implementation.
2615         (compact): New implementation.
2616         (asReadOnlyBuffer): New implementation.
2617         (get): Documentation revised.
2618         (order): Return native byte order.
2619         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2620         (IntBufferImpl): Revised.
2621         (slice): New implementation.
2622         (duplicate): New implementation.
2623         (compact): New implementation.
2624         (asReadOnlyBuffer): New implementation.
2625         (get): Documentation revised.
2626         (order): Return native byte order.
2627         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2628         (LongBufferImpl): Revised.
2629         (slice): New implementation.
2630         (duplicate): New implementation.
2631         (compact): New implementation.
2632         (asReadOnlyBuffer): New implementation.
2633         (get): Documentation revised.
2634         (order): Return native byte order.
2635         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2636         (ShortBufferImpl): Revised.
2637         (slice): New implementation.
2638         (duplicate): New implementation.
2639         (compact): New implementation.
2640         (asReadOnlyBuffer): New implementation.
2641         (get): Documentation revised.
2642         (order): Return native byte order.
2643         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2644         (CharBuffer): Revised.
2645         (order): Removed.
2646         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2647         (DoubleBuffer): Revised.
2648         (allocateDirect): Removed.
2649         (order): Removed.
2650         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2651         (FloatBuffer): Revised.
2652         (allocateDirect): Removed.
2653         (order): Removed.
2654         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2655         (IntBuffer): Revised.
2656         (allocateDirect): Removed.
2657         (order): Removed.
2658         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2659         (LongBuffer): Revised.
2660         (allocateDirect): Removed.
2661         (order): Removed.
2662         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2663         (ShortBuffer): Revised.
2664         (allocateDirect): Removed.
2665         (order): Removed.
2666         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2667         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2668         * Makefile.am
2669         (ordinary_java_source_files): Added the following files:
2670         gnu/java/nio/CharViewBufferImpl.java,
2671         gnu/java/nio/DoubleViewBufferImpl.java,
2672         gnu/java/nio/FloatViewBufferImpl.java,
2673         gnu/java/nio/IntViewBufferImpl.java,
2674         gnu/java/nio/LongViewBufferImpl.java,
2675         gnu/java/nio/ShortViewBufferImpl.java
2676         (nat_source_files): Removed the following files:
2677         gnu/java/nio/natByteBufferImpl.cc,
2678         gnu/java/nio/natCharBufferImpl.cc
2679         * Makefile.in: Regenerated.
2681 2003-05-12  Michael Koch  <konqueror@gmx.de>
2683         * gnu/java/nio/CharViewBufferImpl.java,
2684         gnu/java/nio/DirectByteBufferImpl.java,
2685         gnu/java/nio/DoubleViewBufferImpl.java,
2686         gnu/java/nio/FloatViewBufferImpl.java,
2687         gnu/java/nio/IntViewBufferImpl.java,
2688         gnu/java/nio/LongViewBufferImpl.java,
2689         gnu/java/nio/ShortViewBufferImpl.java,
2690         gnu/java/nio/natDirectByteBufferImpl.cc:
2691         New files, not yet to be compiled.
2693 2003-05-10  Michael Koch  <konqueror@gmx.de>
2695         * javax/swing/plaf/ButtonUI.java,
2696         javax/swing/plaf/ColorUIResource.java,
2697         javax/swing/plaf/ComponentUI.java,
2698         javax/swing/plaf/DimensionUIResource.java,
2699         javax/swing/plaf/FontUIResource.java,
2700         javax/swing/plaf/IconUIResource.java,
2701         javax/swing/plaf/InsetsUIResource.java,
2702         javax/swing/plaf/LabelUI.java,
2703         javax/swing/plaf/ListUI.java,
2704         javax/swing/plaf/OptionPaneUI.java,
2705         javax/swing/plaf/PanelUI.java,
2706         javax/swing/plaf/TabbedPaneUI.java,
2707         javax/swing/plaf/TextUI.java,
2708         javax/swing/plaf/TreeUI.java,
2709         javax/swing/plaf/ViewportUI.java,
2710         javax/swing/plaf/basic/BasicBorders.java,
2711         javax/swing/plaf/basic/BasicButtonUI.java,
2712         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2713         javax/swing/plaf/basic/BasicDefaults.java,
2714         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2715         javax/swing/plaf/basic/BasicIconFactory.java,
2716         javax/swing/plaf/basic/BasicLabelUI.java,
2717         javax/swing/plaf/basic/BasicListUI.java,
2718         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2719         javax/swing/plaf/basic/BasicPanelUI.java,
2720         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2721         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2722         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2723         javax/swing/plaf/basic/BasicTextUI.java,
2724         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2725         javax/swing/plaf/basic/BasicTreeUI.java,
2726         javax/swing/plaf/basic/BasicViewportUI.java,
2727         javax/swing/plaf/metal/MetalLookAndFeel.java:
2728         New versions from classpath. This adds copyrights to all files and
2729         some serialVersionUIDs.
2731 2003-05-10  Michael Koch  <konqueror@gmx.de>
2733         * java/nio/CharBuffer.java
2734         (offset): Make it package-private.
2735         (backing_buffer): Likewise.
2736         * java/nio/DoubleBuffer.java
2737         (offset): Make it package-private.
2738         (backing_buffer): Likewise.
2739         (put): Reformatted.
2740         * java/nio/FloatBuffer.java
2741         (offset): Make it package-private.
2742         (backing_buffer): Likewise.
2743         * java/nio/IntBuffer.java
2744         (offset): Make it package-private.
2745         (backing_buffer): Likewise.
2746         * java/nio/LongBuffer.java
2747         (offset): Make it package-private.
2748         (backing_buffer): Likewise.
2749         * java/nio/ShortBuffer.java
2750         (offset): Make it package-private.
2751         (backing_buffer): Likewise.
2753 2003-05-10  Michael Koch  <konqueror@gmx.de>
2755         * java/nio/CharBuffer.java
2756         (put): Fixed precondtion check.
2757         (toString): Make it work without backing array.
2758         (put): Skip one level of method calling.
2760 2003-05-10  Michael Koch  <konqueror@gmx.de>
2762         * java/security/Identity.java,
2763         java/security/IdentityScope.java,
2764         java/security/Key.java,
2765         java/security/KeyPair.java,
2766         java/security/PrivateKey.java,
2767         java/security/Provider.java,
2768         java/security/PublicKey.java,
2769         java/security/SecureRandom.java,
2770         java/security/SecureRandomSpi.java,
2771         java/security/SignedObject.java,
2772         java/security/Signer.java,
2773         java/security/cert/Certificate.java,
2774         java/security/cert/PKIXCertPathBuilderResult.java,
2775         java/security/cert/X509Certificate.java:
2776         New versions from classpath.
2778 2003-05-09  Tom Tromey  <tromey@redhat.com>
2780         * Makefile.in: Rebuilt.
2781         * Makefile.am (nat_source_files): Removed old files.
2782         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2783         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2784         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2785         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2786         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2788 2003-05-09  Michael Koch  <konqueror@gmx.de>
2790         * gnu/java/nio/ByteBufferImpl.java
2791         (nio_cast): Removed.
2792         (ByteBufferImpl): Removed.
2793         (nio_get_Byte): Removed.
2794         (nio_put_Byte): Removed.
2795         (asByteBuffer): Removed.
2796         (asCharBuffer): Removed implementation and throw exception.
2797         (asShortBuffer): Likewise.
2798         (asIntBuffer): Likewise.
2799         (asLongBuffer): Likewise.
2800         (asFloatBuffer): Likewise.
2801         (asDoubleBuffer): Likewise.
2802         * gnu/java/nio/CharBufferImpl.java
2803         (CharBufferImpl): Removed.
2804         (nio_get_Byte): Removed.
2805         (nio_put_Byte): Removed.
2806         (asByteBuffer): Removed.
2807         * gnu/java/nio/DoubleBufferImpl.java
2808         (DoubleBufferImpl): Removed.
2809         (nio_get_Byte): Removed.
2810         (nio_put_Byte): Removed.
2811         (asByteBuffer): Removed.
2812         * gnu/java/nio/FloatBufferImpl.java
2813         (FloatBufferImpl): Removed.
2814         (nio_get_Byte): Removed.
2815         (nio_put_Byte): Removed.
2816         (asByteBuffer): Removed.
2817         * gnu/java/nio/IntBufferImpl.java
2818         (IntBufferImpl): Removed.
2819         (nio_get_Byte): Removed.
2820         (nio_put_Byte): Removed.
2821         (asByteBuffer): Removed.
2822         * gnu/java/nio/LongBufferImpl.java
2823         (LongBufferImpl): Removed.
2824         (nio_get_Byte): Removed.
2825         (nio_put_Byte): Removed.
2826         (asByteBuffer): Removed.
2827         * gnu/java/nio/ShortBufferImpl.java
2828         (ShortBufferImpl): Removed.
2829         (nio_get_Byte): Removed.
2830         (nio_put_Byte): Removed.
2831         (asByteBuffer): Removed.
2832         * gnu/java/nio/natByteBufferImpl.cc
2833         (nio_cast): Removed.
2834         (nio_get_Byte): Removed.
2835         (nio_put_Byte): Removed.
2836         * gnu/java/nio/natCharBufferImpl.cc
2837         (nio_get_Byte): Removed.
2838         (nio_put_Byte): Removed.
2840 2003-05-09  Michael Koch  <konqueror@gmx.de>
2842         * java/net/JarURLConnection.java
2843         (getJarEntry): Merged documentation from classpath.
2844         (getJarFile): Likewise.
2845         (getMainAttributes): Likewise.
2846         (getAttributes): Likewise.
2847         (getManifest): Likewise.
2848         (getCertificates): Reformatted.
2849         * java/net/URLConnection.java:
2850         Little classpath merge.
2852 2003-05-09  Michael Koch  <konqueror@gmx.de>
2854         * java/io/DataOutputStream.java
2855         (writeShort): Made it synchronized.
2856         (writeChar): Likewise.
2857         (writeInt): Likewise.
2858         (writeLong): Liekwise.
2859         (writeUTF): Made it synchronized, renamed argument to match classpath.
2860         * java/io/InputStreamReader.java
2861         (converter): Added documentation.
2862         (read): Merged documentation from classpath.
2863         * java/io/OutputStreamWriter.java
2864         (OutputStreamWriter): Merged documentation from classpath.
2865         (close): Reformatted.
2866         (getEncoding): Likewise.
2867         (flush): Likewise.
2868         (write): Merged documentation from classpath, reformatted.
2870 2003-05-08  Tom Tromey  <tromey@redhat.com>
2872         * configure.host <powerpc64*-*>: Set with_libffi_default and
2873         libgcj_interpreter to "yes".
2875 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2877         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2878         
2879 2003-05-06  Tom Tromey  <tromey@redhat.com>
2881         * verify.cc: Reverted previous patch.
2883 2003-05-06  Michael Koch  <konqueror@gmx.de>
2885         * java/io/DataOutputStream.java
2886         (write): Renamed argument to "value", merged documentation from
2887         classpath.
2888         (writeBoolean): Likewise.
2889         (writeByte): Likewise.
2890         (writeShort): Likewise.
2891         (writeChar): Likewise.
2892         (writeInt): Likewise.
2893         (writeLong): Likewise.
2894         (writeFloat): Likewise.
2895         (writeDouble): Likewise.
2896         (writeBytes): Likewise.
2897         (writeChars): Likewise.
2898         (writeUTF): Likewise.
2899         * java/io/File.java
2900         (performDelete): Added documentation.
2901         (performList): Likewise.
2902         (performMkdir): Likewise.
2903         (performSetReadOnly): Likewise.
2904         (performRenameTo): Likewise.
2905         (performSetLastModified): Likewise.
2906         (delete): Made it sychronized.
2907         (renameTo): Made it sychronized.
2908         (equals): Reformatted.
2909         (isHidden): Likewise.
2910         (listFiles): Likewise.
2911         (setReadOnly): Likewise.
2912         (listRoots): Likewise.
2913         (setLastModified): Likewise.
2914         (checkRead): Likewise.
2915         (checkWrite): Likewise.
2916         * java/io/FileInputStream.java
2917         (skip): Made it sychronized, merged from classpath.
2918         * java/io/FileOutputStream.java
2919         (write): Merged from classpath.
2920         * java/io/InputStreamReader.java:
2921         (InputStreamReader): Merged documentation from classpath.
2923 2003-05-05  Michael Koch  <konqueror@gmx.de>
2925         * java/net/NetworkInterface.java
2926         (networkInterfaces): Removed.
2927         (getByName): Use getRealNetworkInterfaces() instead of
2928         networkInterfaces.
2929         (getByInetAddress): Likewise.
2930         (getNetworkInterfaces): Likewise.
2931         (toString): Fix output of addresses of an interface.
2933 2003-05-05  Michael Koch  <konqueror@gmx.de>
2935         * java/io/DataInputStream.java:
2936         Merged new documentation from classpath.
2938 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2940         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2941         "version".
2942         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2943         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2944         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2945         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2946         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2947         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2948         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2949         * java/security/Key.java: Likewise.
2950         * java/security/PrivateKey.java: Likewise.
2951         * java/security/Provider.java: Likewise.
2952         * java/security/PublicKey.java: Likewise.
2954 2003-05-02  Michael Koch  <konqueror@gmx.de>
2956         * java/net/URI.java
2957         (create): Doesnt throws any exceptions.
2958         * java/net/URLConnection.java
2959         (URLConnection): Commend added.
2960         (getExpiration): The header field is called "expires" not
2961         "expiration".
2962         (getHeaderField): Merged documentation with classpath.
2963         (getHeaderFieldInt): Likewise.
2964         (getHeaderFieldDate): Likewise.
2965         (getHeaderFieldKey): Likewise.
2966         (getPermission): Likewise.
2967         (setDefaultUseCaches): Likewise.
2968         (setRequestProperty): Likewise.
2969         (addRequestProperty): Likewise.
2970         (getRequestProperty): Likewise.
2971         (getRequestProperties): Likewise.
2972         (setDefaultRequestProperty): Likewise.
2973         (getDefaultRequestProperty): Likewise.
2974         (guessContentTypeFromStream): Likewise.
2975         (getFileNameMap): Likewise.
2976         (setFileNameMap): Likewise.
2977         (setDoInput): Merged implementation and documentation with classpath.
2978         (setDoOutput): Likewise.
2979         (setAllowUserInteraction): Likewise.
2980         (setDefaultAllowUserInteraction): Likewise.
2981         (setContentHandlerFactory): Made it synchronized, merged documentation
2982         with classpath.
2983         (guessContentTypeFromName): Renamed argument fname to filename to
2984         match classpath, merged documentation with classpath.
2986 2003-05-02  Michael Koch  <konqueror@gmx.de>
2988         * java/net/JarURLConnection.java
2989         (JarURLConnection): Class documentation merged with classpath.
2990         (getJarFileURL): Moved and documentation merged with classpath.
2991         (getEntryName): Likewise.
2992         (JarURLConnection): Documentation merged with classpath.
2993         (getJarEntry): Likewise.
2994         (getJarFile): Likewise.
2995         * java/net/PlainDatagramSocketImpl.java:
2996         Class documentation moved.
2997         * java/net/URLConnection.java
2998         (fileNameMap): Moved and documentation merged with classpath.
2999         (factory): Likewise.
3000         (defaultAllowUserInteraction): Likewis.
3001         (defaultUseCaches): Likewise.
3002         (allowUserInteraction): Likewise.
3003         (connected): Likewise.
3004         (url): Likewise.
3005         (connect): Documentation merged with classpath.
3006         (getURL): Likewise.
3007         (getContentLength): Likewise.
3008         (getContentType): Likewise.
3009         (getContentEncoding): Likewise.
3010         (getExpiration): Likewise.
3011         (getDate): Likewise.
3012         (getLastModified): Likewise.
3013         (getHeaderField): Likewise.
3014         (getContent): Likewise.
3015         (getPermission): Likewise.
3016         (getInputStream): Likewise.
3017         (getOutputStream): Likewise.
3018         (toString): Likewise.
3019         (getDoInput): Likewise.
3020         (getDoOutput): Likewise.
3021         (setAllowUserInteraction): Likewise.
3022         (getAllowUserInteraction): Likewise.
3023         (setDefaultAllowUserInteraction): Likewise.
3024         (getDefaultAllowUserInteraction): Likewise.
3025         (setUseCaches): Likewise.
3026         (getUseCaches): Likewise.
3027         (setIfModifiedSince): Likewise.
3028         (getIfModifiedSince): Likewise.
3029         (setDefaultRequestProperty): Likewise.
3030         (getDefaultRequestProperty): Likewise.
3031         (setContentHandlerFactory): Likewise.
3032         (setFileNameMap): Likewise.
3034 2003-05-02  Michael Koch  <konqueror@gmx.de>
3036         * java/net/InetAddress.java:
3037         Merged class documentation with classpath.
3038         * java/net/JarURLConnection.java:
3039         Explicitely import all used classes.
3040         * java/net/URL.java:
3041         Reformatting.
3042         * java/net/ServerSocket.java,
3043         java/net/Socket.java:
3044         New versions from classpath.
3046 2003-05-02  Michael Koch  <konqueror@gmx.de>
3048         * gnu/java/nio/FileChannelImpl.java
3049         (read): New implementation.
3050         (implRead): New methods.
3051         (write): New implementation, call other write insteal of read method.
3052         (implWrite): New methods.
3053         (map): Added comment.
3054         (transferFrom): Implemented.
3055         (transferTo): Implemented.
3056         (lock): Added checks to throw exceptions.
3057         (truncate): Added check to throw exception.
3058         * gnu/java/nio/natFileChannelImpl.cc
3059         (implRead): New method.
3060         (implWrite): New method.
3061         * java/nio/ByteBuffer.java
3062         (hashCode): Fixed comment.
3063         (get): Fixed exception documentation.
3064         (put): Fixed exception documentation.
3065         * java/nio/CharBuffer.java:
3066         Added comment for later optimizations.
3068 2003-04-30  Tom Tromey  <tromey@redhat.com>
3070         PR libgcj/10582:
3071         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3072         Removed.
3073         (type::compatible): Use _Jv_IsAssignableFrom.
3074         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3075         (_Jv_IsAssignableFrom): Work even when source or target class is
3076         not prepared.
3078 2003-04-30  Michael Koch  <konqueror@gmx.de>
3080         * java/text/BreakIterator.java
3081         (clone): New method.
3083 2003-04-30  Michael Koch  <konqueror@gmx.de>
3085         * java/text/CollationElementIterator.java,
3086         java/text/CollationKey.java,
3087         java/text/RuleBasedCollator.java:
3088         Merged copyright and documentation from classpath and
3089         rearranged some code. No code changes done.
3091 2003-04-30  Michael Koch  <konqueror@gmx.de>
3093         * java/util/regex/Matcher.java
3094         (pattern): New member variable.
3095         (appendReplacement): New method.
3096         (appendTail): New method.
3097         (end): New method.
3098         (find): New method.
3099         (group): New method.
3100         (replaceFirst): Added documentation.
3101         (replaceAll): Added documentation.
3102         (groupCount): New method.
3103         (lookingAt): New method.
3104         (matches): New method.
3105         (reset): New method.
3106         (start): New method.
3107         * java/util/regex/Pattern.java
3108         (serialVersionUID): New constant.
3109         (CANON_EQ): New constant.
3110         (CASE_INSENSITIVE): New constant.
3111         (COMMENTS): New constant.
3112         (DOTALL): New constant.
3113         (MULTILINE): New constant.
3114         (UNICODE_CASE): New constant.
3115         (UNIX_LINES): New constant.
3116         (regex): New member variable.
3117         (flags): New member variable.
3118         (Pattern): New method.
3119         (compile): Documentation added.
3120         (flags): New method.
3121         (matches): Documentation added.
3122         (matcher): Documentation added.
3123         (split): Documentation added.
3124         (pattern): New method.
3126 2003-04-30  Michael Koch  <konqueror@gmx.de>
3128         * gnu/java/security/Engine.java,
3129         gnu/java/security/OID.java,
3130         gnu/java/security/der/BitString.java,
3131         gnu/java/security/der/DER.java,
3132         gnu/java/security/der/DERReader.java,
3133         gnu/java/security/der/DERValue.java,
3134         gnu/java/security/der/DERWriter.java,
3135         gnu/java/security/provider/DSAKeyFactory.java,
3136         gnu/java/security/provider/X509CertificateFactory.java,
3137         gnu/java/security/x509/X500DistinguishedName.java,
3138         gnu/java/security/x509/X509CRL.java,
3139         gnu/java/security/x509/X509CRLEntry.java,
3140         gnu/java/security/x509/X509Certificate.java,
3141         java/security/cert/CRLSelector.java,
3142         java/security/cert/CertPathBuilder.java,
3143         java/security/cert/CertPathBuilderResult.java,
3144         java/security/cert/CertPathBuilderSpi.java,
3145         java/security/cert/CertPathParameters.java,
3146         java/security/cert/CertPathValidator.java,
3147         java/security/cert/CertPathValidatorResult.java,
3148         java/security/cert/CertPathValidatorSpi.java,
3149         java/security/cert/CertSelector.java,
3150         java/security/cert/CertStore.java,
3151         java/security/cert/CertStoreParameters.java,
3152         java/security/cert/CertStoreSpi.java,
3153         java/security/cert/CollectionCertStoreParameters.java,
3154         java/security/cert/LDAPCertStoreParameters.java,
3155         java/security/cert/PKIXBuilderParameters.java,
3156         java/security/cert/PKIXCertPathBuilderResult.java,
3157         java/security/cert/PKIXCertPathChecker.java,
3158         java/security/cert/PKIXCertPathValidatorResult.java,
3159         java/security/cert/PKIXParameters.java,
3160         java/security/cert/PolicyNode.java,
3161         java/security/cert/PolicyQualifierInfo.java,
3162         java/security/cert/TrustAnchor.java,
3163         javax/security/auth/x500/X500Principal.java:
3164         New files from classpath.
3165         * gnu/java/io/ASN1ParsingException.java,
3166         gnu/java/io/Base64InputStream.java,
3167         gnu/java/security/der/DEREncodingException.java,
3168         gnu/java/security/provider/DSAParameters.java,
3169         gnu/java/security/provider/DSASignature.java,
3170         gnu/java/security/provider/Gnu.java,
3171         gnu/java/security/provider/GnuDSAPrivateKey.java,
3172         gnu/java/security/provider/GnuDSAPublicKey.java,
3173         java/security/AlgorithmParameterGenerator.java,
3174         java/security/AlgorithmParameters.java,
3175         java/security/KeyFactory.java,
3176         java/security/KeyPairGenerator.java,
3177         java/security/KeyStore.java,
3178         java/security/MessageDigest.java,
3179         java/security/SecureClassLoader.java,
3180         java/security/SecureRandom.java,
3181         java/security/Security.java,
3182         java/security/Signature.java,
3183         java/security/cert/Certificate.java,
3184         java/security/cert/CertificateFactory.java,
3185         java/security/cert/CertificateFactorySpi.java,
3186         java/security/cert/X509CRL.java,
3187         java/security/cert/X509Certificate.java,
3188         java/security/spec/DSAPublicKeySpec.java:
3189         New versions from classpath.
3190         * gnu/java/security/provider/DERReader.java,
3191         gnu/java/security/provider/DERWriter.java,
3192         java/security/Engine.java: Removed.
3193         * Makefile.am
3194         (java_source_files, javax_source_files): Added new files.
3195         * Makefile.in: Regenerated.
3197 2003-04-29  Michael Koch  <konqueror@gmx.de>
3199         * javax/swing/JTable.java
3200         (AUTO_RESIZE_ALL_COLUMNS): New constant.
3201         (AUTO_RESIZE_LAST_COLUMN): New constant.
3202         (AUTO_RESIZE_NEXT_COLUMN): New constant.
3203         (AUTO_RESIZE_OFF): New constant.
3204         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3205         (JTable): New method.
3206         (columnAdded): New method.
3207         (columnMarginChanged): New method.
3208         (columnMoved): New method.
3209         (columnRemoved): New method.
3210         (columnSelectionChanged): New method.
3211         (editingCanceled): New method.
3212         (editingStopped): New method.
3213         (getColumnModel): New method.
3214         (getPreferredScrollableViewportSize): New method.
3215         (getScrollableBlockIncrement): New method.
3216         (getScrollableTracksViewportHeight): New method.
3217         (getScrollableTracksViewportWidth): New method.
3218         (getScrollableUnitIncrement): New method.
3219         (getSelectedRow): New method.
3220         (getSelectionModel): New method.
3221         (tableChanged): New method.
3222         (setModel): New method.
3223         (setSelectionMode): New method.
3224         (setSelectionModel): New method.
3225         (setShowGrid): New method.
3226         (valueChanged): New method.
3227         * javax/swing/text/DefaultEditorKit.java
3228         (backwardAction): New constant.
3229         (beepAction): New constant.
3230         (beginAction): New constant.
3231         (beginLineAction): New constant.
3232         (beginParagraphAction): New constant.
3233         (beginWordAction): New constant.
3234         (copyAction): New constant.
3235         (cutAction): New constant.
3236         (defaultKeyTypedAction): New constant.
3237         (deleteNextCharAction): New constant.
3238         (deletePrevCharAction): New constant.
3239         (downAction): New constant.
3240         (endAction): New constant.
3241         (endLineAction): New constant.
3242         (endOfLineStringProperty): New constant.
3243         (endParagraphAction): New constant.
3244         (endWordAction): New constant.
3245         (forwardAction): New constant.
3246         (insertBreakAction): New constant.
3247         (insertContentAction): New constant.
3248         (insertTabAction): New constant.
3249         (nextWordAction): New constant.
3250         (pageDownAction): New constant.
3251         (pageUpAction): New constant.
3252         (pasteAction): New constant.
3253         (previousWordAction): New constant.
3254         (readOnlyAction): New constant.
3255         (selectAllAction): New constant.
3256         (selectionBackwardAction): New constant.
3257         (selectionBeginAction): New constant.
3258         (selectionBeginLineAction): New constant.
3259         (selectionBeginParagraphAction): New constant.
3260         (selectionBeginWordAction): New constant.
3261         (selectionDownAction): New constant.
3262         (selectionEndAction): New constant.
3263         (selectionEndLineAction): New constant.
3264         (selectionEndParagraphAction): New constant.
3265         (selectionEndWordAction): New constant.
3266         (selectionForwardAction): New constant.
3267         (selectionNextWordAction): New constant.
3268         (selectionPreviousWordAction): New constant.
3269         (selectionUpAction): New constant.
3270         (selectLineAction): New constant.
3271         (selectParagraphAction): New constant.
3272         (selectWordAction): New constant.
3273         (upAction): New constant.
3274         (writableAction): New constant.
3276 2003-04-29  Michael Koch  <konqueror@gmx.de>
3278         * java/util/PropertyPermission.java:
3279         New version from classpath
3280         * java/util/ResourceBundle.java:
3281         Partly merged from classpath
3282         (getObject): Reformated.
3283         (tryBundle): Set foundBundle = null if no bundle found.
3285 2003-04-29  Michael Koch  <konqueror@gmx.de>
3287         * javax/swing/AbstractListModel.java,
3288         javax/swing/DefaultBoundedRangeModel.java,
3289         javax/swing/DefaultSingleSelectionModel.java:
3290         New Versions from classpath.
3292 2003-04-29  Michael Koch  <konqueror@gmx.de>
3294         * java/awt/Window.java
3295         (show): Call super.show() instead of setVisible() to avoid endless
3296         loop.
3297         (hide): Call super.hide() instead of setVisible() to avoid endless
3298         loop.
3300 2003-04-29  Michael Koch  <konqueror@gmx.de>
3302         * java/util/zip/Deflater.java,
3303         java/util/zip/DeflaterOutputStream.java:
3304         Partly merged with classpath.
3306 2003-04-27  Tom Tromey  <tromey@redhat.com>
3308         * java/lang/natString.cc (_Jv_AllocString): Initialize
3309         cachedHashCode.
3310         (init): Likewise.
3311         (_Jv_NewStringUtf8Const): Likewise.
3313 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
3315         * include/jvm.h: (_Jv_GetNbArgs) added
3316         (_Jv_GetSafeArg) added
3317         (_Jv_SetArgs) added
3318         * prims.cc: (_Jv_GetNbArgs) implemented
3319         (_Jv_GetSafeArg) implemented
3320         (_Jv_SetArgs) implemented
3321         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3322         setting _Jv_argc and _Jv_argv
3323         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3324         instead of _Jv_argv
3325         * java/lang/natRuntime.cc: (insertSystemProperties) use
3326         _Jv_GetSafeArg() instead of _Jv_argv
3328 2003-04-23  Tom Tromey  <tromey@redhat.com>
3330         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3331         required by this object.  Search superclasses to find required
3332         alignment.
3333         (get_alignment_from_class): Use alignment of type as it appears
3334         in a struct.
3335         (ALIGNOF): New macro.
3336         (struct aligner): New helper structure.
3338 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
3340         * java/awt/Container.java (addImpl): Enable paint events if adding
3341         a lightweight to a heavyweight.
3342         (addNotify): Ensure that peer is created before
3343         addNotifyContainerChildren.
3344         (addNotifyContainerChildren): Enable paint events if a heavyweight
3345         container contains a lightweight.
3347 2003-04-20  Tom Tromey  <tromey@redhat.com>
3349         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3350         java/io/DataInput.java, java/io/DataOutput.java: Imports from
3351         Classpath.
3353 2003-04-19  Tom Tromey  <tromey@redhat.com>
3355         * java/sql/Date.java, java/sql/DriverManager.java,
3356         java/sql/Time.java, java/sql/Timestamp.java: New versions from
3357         Classpath.
3359         * Makefile.in: Rebuilt.
3360         * Makefile.am (ordinary_java_source_files): Added new files.
3361         * java/security/AlgorithmParameterGenerator.java,
3362         java/security/AlgorithmParameters.java, java/security/Engine.java,
3363         java/security/Identity.java, java/security/IdentityScope.java,
3364         java/security/KeyFactory.java,
3365         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3366         java/security/MessageDigest.java, java/security/Policy.java,
3367         java/security/ProtectionDomain.java,
3368         java/security/SecureRandom.java, java/security/Security.java,
3369         java/security/Signature.java, java/security/SignatureSpi.java,
3370         java/security/SignedObject.java, java/security/Signer.java,
3371         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3372         java/security/spec/PSSParameterSpec.java,
3373         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3374         java/security/spec/RSAOtherPrimeInfo.java: New versions from
3375         Classpath.
3377 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3379         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3380         (dispose): Null metrics.
3381         * gnu/awt/xlib/XToolkit.java (sync): Implement.
3382         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3383         finalize.
3384         (finalize): Call dispose.
3385         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3386         (gcCachedCount): New field.
3387         (finalize): New method.
3388         (putGCInCache): New method.
3389         (getGCFromCache): New method.
3390         * gnu/gcj/xlib/GC.java (GC): Make protected.
3391         (clone): Get new GC from cache if possible.
3392         (create): New static method.
3393         (dispose): Save old GC in cache.
3394         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3395         deleting.
3396         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3397         is null.
3398         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3399         * java/awt/Container.java (visitChild): Dispose gfx2 when
3400         finished.
3402 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
3404         * java/math/BigInteger.java (probablePrime): New.
3405         * java/math/BigDecimal.java (unscaledValue): New.
3407 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
3409         * java/io/File.java (getAbsolutePath): On Windows, take care
3410         of paths like "C:", "G:foo\bar", etc.
3411         (getName): Make it work correctly on Windows.
3412         (getParent): Make it work correctly on Windows. For UNIX,
3413         fix bug that causes "/" to be returned as the parent of "/",
3414         instead of null as returned by Sun's JRE.
3416         * java/io/natFileWin32.cc: Change copyright owner to FSF.
3418 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3420         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3421         inner class.
3422         (CACHE_SIZE_PER_DISPLAY): New field
3423         (fontMetricsCache): New field
3424         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3425         loading ISO10646-1 fonts.
3427 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3429         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3430         characters.
3431         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3432         characters.
3434 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
3436         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3437         floating point.
3439 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3441         * configure.host (*-linux*): Don't set slow_pthread_self if primary
3442         installed libpthread is either linuxthreads with floating stacks or
3443         NPTL.
3445 2003-04-14  Tom Tromey  <tromey@redhat.com>
3447         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3448         of alignment.
3450 2003-04-10  Tom Tromey  <tromey@redhat.com>
3452         * verify.cc (pop64): Removed.
3453         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
3454         exception if top-of-stack is narrow.
3455         (initialize_stack): Check to ensure that <init> is not static and
3456         <clinit> is.
3458 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
3460         * java/io/ObjectStreamException
3461         * java/io/FileFilter
3462         * java/io/FilenameFilter
3463         * java/io/ObjectInput
3464         * java/io/ObjectOutput
3465         * java/io/ObjectStreamConstants
3466         Minor doc fixes, format fixes, spelling corrections, etc.
3467         * java/io/DataInput
3468         Corrected code samples in Javadocs to match reality
3469         * java/io/DataOutput
3470         * java/io/ObjectInputValidation
3471         Major documentation fixes - all Javadocs re-written or updated
3473 2003-04-06  Michael Koch  <konqueror@gmx.de>
3475         * java/net/URLConnection.java:
3476         Import classes directly.
3477         (URLConnection): Merged class documentation with classpath.
3478         (url): Moved, documentation from classpath added.
3479         (doInput): Moved, documentation from classpath added.
3480         (doOutput): Moved, documentation from classpath added.
3481         (allowUserInteraction): Moved.
3482         (useCaches): Moved, documentation from classpath added.
3483         (ifModifiedSince): Moved, documentation from classpath added.
3484         (connected): Moved, documentation from classpath added.
3486 2003-04-06  Michael Koch  <konqueror@gmx.de>
3488         * java/io/FileInputStream.java
3489         (skip): Renamed some variables to match classpath, added
3490         checks from classpath.
3492 2003-03-31  Michael Koch  <konqueror@gmx.de>
3494         * javax/swing/AbstractAction.java
3495         (AbstractAction): Reformatted.
3496         (serialVersionUID): New private member variable.
3497         * javax/swing/plaf/BorderUIResource.java
3498         (serialVersionUID): New private member variable.
3499         * javax/swing/plaf/basic/BasicLookAndFeel.java
3500         (serialVersionUID): New private member variable.
3502 2003-03-31  Michael Koch  <konqueror@gmx.de>
3504         * java/sql/Date.java
3505         (valueOf): Deprecated, reformatted.
3506         (toString): Deprecated, reformatted.
3507         * java/sql/Time.java
3508         (valueOf): Deprecated, reformatted.
3509         (toString): Deprecated, reformatted.
3511 2003-03-31  Michael Koch  <konqueror@gmx.de>
3513         * java/rmi/dgc/VMID.java
3514         (isUnique): Deprecated.
3516 2003-03-31  Michael Koch  <konqueror@gmx.de>
3518         * java/io/File.java
3519         (separator): Merged documentation from classpath.
3520         (separatorChar): Merged documentation from classpath.
3521         (pathSeparator): Merged documentation from classpath.
3522         (pathSeparatorChar): Merged documentation from classpath.
3523         (path): Merged documentation from classpath.
3524         (canRead): Merged documentation from classpath.
3525         (canWrite): Merged documentation from classpath.
3526         (createNewFile): Merged documentation from classpath.
3527         (delete): Merged documentation from classpath.
3528         (equals): Merged documentation from classpath.
3529         (exists): Merged documentation from classpath.
3530         (File): Renamed p to name to match classpath, merged documentation
3531         from classpath.
3532         (getAbsolutePath): Merged documentation from classpath.
3533         (getCanonicalPath): Merged documentation from classpath.
3534         (getCanonicalFile): Merged documentation from classpath.
3535         (getName): Merged documentation from classpath.
3536         (getParent): Merged documentation from classpath.
3537         (getParentFile): Merged documentation from classpath.
3538         (getPath): Merged documentation from classpath.
3539         (hashCode): Merged documentation from classpath.
3540         (isAbsolute): Merged documentation from classpath.
3541         (isDirectory): Merged documentation from classpath.
3542         (isFile): Merged documentation from classpath.
3543         (isHidden): Merged documentation from classpath.
3544         (lastModified): Merged documentation from classpath.
3545         (length): Merged documentation from classpath.
3546         (list): Merged documentation from classpath.
3547         (listFiles): Merged documentation from classpath.
3548         (toString): Merged documentation from classpath.
3549         (toURL): Merged documentation from classpath.
3550         (mkdir): Merged documentation from classpath.
3551         (mkdirs): Merged documentation from classpath.
3552         (createTempFile): Merged documentation from classpath.
3553         (setReadOnly): Merged documentation from classpath.
3554         (listRoots): Merged documentation from classpath.
3555         (compareTo): Merged documentation from classpath.
3556         (renameTo): Merged documentation from classpath.
3557         (setLastModified): Merged documentation from classpath.
3558         * java/io/PrintStream.java
3559         (auto_flush): Merged documentation from classpath.
3560         (PrintStream): Merged documentation from classpath.
3561         (checkError): Merged documentation from classpath.
3562         (setError): Merged documentation from classpath.
3563         (close): Merged documentation from classpath.
3564         (flush): Merged documentation from classpath.
3565         (print): Merged documentation from classpath.
3566         (println):  Merged documentation from classpath.
3567         (write): Renamed count to len to match classpath,
3568         merged documentation from classpath.
3569         * java/io/RandomAccessFile.java
3570         (readShort): Merged documentation from classpath.
3571         (readUnsignedByte): Merged documentation from classpath.
3572         (readUnsignedShort): Merged documentation from classpath.
3573         (readUTF): Merged documentation from classpath.
3574         (seek): Reformatted, merged documentation from classpath.
3575         (skipBytes): Renamed some variables to match classpath, reformatted,
3576         merged documentation from classpath.
3577         (write): Merged documentation from classpath.
3578         (writeBoolean): Merged documentation from classpath.
3579         (writeByte): Merged documentation from classpath.
3580         (writeShort): Merged documentation from classpath.
3581         (writeChar): Merged documentation from classpath.
3582         (writeInt): Merged documentation from classpath.
3583         (writeLong): Merged documentation from classpath.
3584         (writeFloat): Merged documentation from classpath.
3585         (writeDouble): Merged documentation from classpath.
3586         (writeBytes): Merged documentation from classpath.
3587         (writeChars): Merged documentation from classpath.
3588         (writeUTF): Reformatted.
3589         (getChannel): Reformatted.
3591 2003-03-31  Michael Koch  <konqueror@gmx.de>
3593         * java/awt/font/TextAttribute.java
3594         (readResolve): Throws java.io.InvalidObjectException.
3596 2003-03-31  Michael Koch  <konqueror@gmx.de>
3598         * java/rmi/server/LoaderHandler.java
3599         (loadClass): Deprecated.
3600         (getSecurityContext): Deprecated.
3601         * java/rmi/server/LogStream.java
3602         (getDefaultStream): Deprecated.
3603         (setDefaultStream): Deprecated.
3604         (getOutputStream): Deprecated.
3605         (setOutputStream): Deprecated.
3606         (write): Deprecated.
3607         (toString): Deprecated.
3608         (parseLevel): Deprecated.
3609         * java/rmi/server/Operation.java
3610         (Operation): Deprecated.
3611         (getOperation): Deprecated.
3612         (toString): Deprecated.
3613         * java/rmi/server/RemoteCall.java
3614         (getOutputStream): Deprecated.
3615         (releaseOutputStream): Deprecated.
3616         (getInputStream): Deprecated.
3617         (releaseInputStream): Deprecated.
3618         (getResultStream): Deprecated.
3619         (executeCall): Deprecated.
3620         (done): Deprecated.
3621         * java/rmi/server/RemoteRef.java
3622         (invoke): Deprecated.
3623         (newCall): Deprecated.
3624         (done): Deprecated.
3625         * java/rmi/server/RemoteStub.java
3626         (setRef): Deprecated.
3627         * java/rmi/server/Skeleton.java:
3628         No need to import java.lang.Exception explicitly.
3629         (dispatch): Deprecated.
3630         (getOperations): Deprecated.
3632 2003-03-31  Michael Koch  <konqueror@gmx.de>
3634         * java/rmi/dgc/VMID.java,
3635         java/rmi/registry/RegistryHandler.java,
3636         java/rmi/server/LogStream.java,
3637         java/rmi/server/Operation.java,
3638         java/rmi/server/RemoteCall.java,
3639         java/rmi/server/RemoteRef.java,
3640         java/rmi/server/RemoteStub.java:
3641         Reformatted.
3643 2003-03-31  Michael Koch  <konqueror@gmx.de>
3645         * javax/swing/AbstractCellEditor.java,
3646         javax/swing/AbstractListModel.java,
3647         javax/swing/ActionMap.java,
3648         javax/swing/BorderFactory.java,
3649         javax/swing/ButtonGroup.java,
3650         javax/swing/DefaultBoundedRangeModel.java,
3651         javax/swing/DefaultButtonModel.java,
3652         javax/swing/DefaultCellEditor.java,
3653         javax/swing/DefaultComboBoxModel.java,
3654         javax/swing/DefaultDesktopManager.java,
3655         javax/swing/DefaultListCellRenderer.java,
3656         javax/swing/DefaultSingleSelectionModel.java,
3657         javax/swing/InputMap.java,
3658         javax/swing/JComponent.java,
3659         javax/swing/JMenu.java,
3660         javax/swing/JSlider.java,
3661         javax/swing/KeyStroke.java,
3662         javax/swing/OverlayLayout.java,
3663         javax/swing/ScrollPaneLayout.java,
3664         javax/swing/SizeRequirements.java,
3665         javax/swing/UIManager.java,
3666         javax/swing/ViewportLayout.java,
3667         javax/swing/border/AbstractBorder.java,
3668         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3669         javax/swing/event/EventListenerList.java,
3670         javax/swing/table/AbstractTableModel.java,
3671         javax/swing/table/DefaultTableCellRenderer.java,
3672         javax/swing/table/DefaultTableColumnModel.java,
3673         javax/swing/table/DefaultTableModel.java,
3674         javax/swing/table/TableColumn.java,
3675         javax/swing/text/StyledEditorKit.java,
3676         javax/swing/tree/DefaultMutableTreeNode.java,
3677         javax/swing/tree/DefaultTreeModel.java,
3678         javax/swing/tree/DefaultTreeSelectionModel.java,
3679         javax/swing/tree/TreePath.java,
3680         javax/swing/undo/AbstractUndoableEdit.java,
3681         javax/swing/undo/StateEdit.java,
3682         javax/swing/undo/StateEditable.java,
3683         javax/swing/undo/UndoableEditSupport.java:
3684         Merges from classpath.
3686 2003-03-30  Tom Tromey  <tromey@redhat.com>
3688         * java/lang/String.java (data, boffset, count): Documented.
3689         (String(byte[],String)): Reformatted.
3690         (String(byte[])): Likewise.
3691         (lastIndexOf(int)): Likewise.
3692         (lastIndexOf(String)): Likewise.
3693         (substring(int)): Renamed argument to match Classpath.
3694         (String(StringBuffer)): Don't share buffer if it is nearly empty.
3696         * java/lang/String.java: Miscellaneous minor formatting changes
3697         to match Classpath more closely.
3699 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
3700             Tom Tromey  <tromey@redhat.com>
3702         * java/lang/natString.cc (hashCode): Use cachedHashCode.
3703         (init()): Removed.
3704         (charAt): Put index in exception.
3705         (contentEquals): New method.
3706         Include StringBuffer.h.
3707         * java/lang/String.java (cachedHashCode): New field.
3708         (String()): Follow classpath implementation.
3709         (init()): Removed.
3710         (contentEquals): Declare.
3711         (subSequence): Don't declare IndexOutIfBoundsException in throws
3712         clause.
3713         (matches, replaceFirst, replaceAll, split): New methods from
3714         Classpath.
3716 2003-03-29  Tom Tromey  <tromey@redhat.com>
3718         * java/lang/String.java: Reordered to follow Classpath; merged in
3719         javadoc.
3721         * java/text/MessageFormat.java: Removed some whitespace.
3723         * Makefile.in: Rebuilt.
3724         * Makefile.am (awt_java_source_files): Added new files.
3725         * gnu/javax/rmi/PortableServer.java,
3726         gnu/javax/rmi/CORBA/DelegateFactory.java,
3727         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3728         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3729         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3730         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3731         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3732         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3733         javax/rmi/PortableRemoteObject.java,
3734         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3735         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3736         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3737         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3738         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3739         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3741         * java/lang/natClass.cc (newInstance): Put method name in
3742         exception.
3743         (getConstructor): Likewise.
3744         (getDeclaredConstructor): Likewise.
3745         (getPrivateMethod): Likewise.
3747 2003-03-28  Tom Tromey  <tromey@redhat.com>
3749         * java/lang/reflect/Proxy.java: New version from Classpath.
3750         * java/lang/Package.java: New version from Classpath.
3752 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3754         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3755         * configure: Regenerate.
3757 2003-03-28  Michael Koch  <konqueror@gmx.de>
3759         * java/io/File.java:
3760         Import needed classes instead of whole packages, merged class
3761         documentation with classpath, moved constants and variables to top of
3762         class.
3763         * java/io/PrintStream.java:
3764         Merged class documentation with classpath, moved constants and
3765         variables to top of class.
3766         * java/io/RandomAccessFile.java
3767         (RandomAccessFile): Merged with classpath.
3768         (read): Merged with classpath).
3769         (read*): Reformatted.
3771 2003-03-28  Michael Koch  <konqueror@gmx.de>
3773         * java/io/FileDescriptor.java
3774         (finalize): Throws Throwable, not IOException.
3775         * java/io/ObjectOutputStream.java
3776         (PutField.put): Doesnt throws anything.
3778 2003­03-28  Michael Koch  <konqueror@gmx.de>
3780         * java/io/FileOutputStream.java:
3781         Merged class documentation and authors with classpath.
3782         (FileOutputStream): Partly merged with classpath.
3783         (write): Merged with classpath.
3784         (getChannel): Make it synchronized instead of explicit block in this
3785         method.
3786         * java/io/RandomAccessFile.java:
3787         Merged class documentation and authors with classpath.
3789 2003-03-26  Tom Tromey  <tromey@redhat.com>
3791         * java/lang/natRuntime.cc (insertSystemProperties): Set
3792         gnu.classpath.home.url.
3793         * Makefile.in: Rebuilt.
3794         * Makefile.am: Define LIBDIR.
3796 2003-03-25  Michael Koch  <konqueror@gmx.de>
3798         * java/io/FileInputStream.java
3799         (read): Renamed b to buf and off to offset.
3800         * java/io/FileOutputStream.java
3801         (ch): Documentation added.
3802         (FileOutputStream): Documentation added.
3803         (getFD): Documentation added.
3804         (write): Documentation added.
3805         (close): Documentation added.
3806         (getChannel): Documentation added.
3808 2003-03-24  Michael Koch  <konqueror@gmx.de>
3810         * java/io/DataOutputStream.java
3811         (write): Merged from classpath.
3812         * java/io/File.java:
3813         Merged copyrigth with classpath.
3814         * java/io/FileInputStream.java
3815         (getChannel): Made it synchronized instead of using a synchronized
3816         block.
3817         * java/io/FileOutputStream.java: Reformatted.
3818         * java/io/InputStreamReader.java
3819         (InputStreamReader): Renamed enc to encoding_name.
3820         (close): Merged documentation from classpath.
3821         (getEncoding): Merged documentation from classpath.
3822         (ready): Merged documentation from classpath.
3823         (read): Merged documentation from classpath.
3824         * java/io/LineNumberReader.java
3825         (lineNumber): Made it private.
3826         (LineNumberReader): Use Constant instead of a direct value.
3827         * java/io/OutputStreamWriter.java
3828         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3829         documentation from classpath.
3830         (close): Merged documentation from classpath.
3831         (flush): Merged documentation from classpath.
3832         (write): Merged documentation from classpath.
3833         * java/io/PrintStream.java: Reformatted.
3835 2003-03-24  Michael Koch  <konqueror@gmx.de>
3837         * javax/swing/text/ComponentView.java
3838         (getComponent): Must be final.
3839         * javax/swing/tree/DefaultTreeCellRenderer.java:
3840         Reformatted.
3841         * javax/swing/undo/StateEditable.java:
3842         Reformatted.
3844 2003-03-24  Michael Koch  <konqueror@gmx.de>
3846         * java/rmi/activation/ActivationInstantiator.java:
3847         Reformatted.
3848         * java/rmi/activation/Activator.java:
3849         Reformatted.
3850         * java/rmi/registry/RegistryHandler.java:
3851         Remerged from classpath.
3853 2003-03-24  Michael Koch  <konqueror@gmx.de>
3855         * java/util/Date.java:
3856         Fixed documentation starting tag to make javadoc happy.
3857         * java/util/regex/Pattern.java
3858         (Pattern): Implements Serializable.
3859         * java/util/PatternSyntaxException.java
3860         (serialVersionUID): New member variable.
3862 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3864         * java/awt/ContainerOrderFocusTraversalPolicy.java
3865         (getFirstComponent): Implemented.
3866         (getLastComponent): Implemented.
3867         (getDefaultComponent): Implemented.
3868         (setImplicitDownCycleTraversal): Fixed implementation.
3869         * java/awt/Robot.java
3870         (Robot): Added documentation.
3871         * java/awt/Toolkit.java
3872         (getFontList): Deprecated.
3873         (getFontMetrics): Deprecated.
3874         (getPrintJob): Added documentation.
3875         (getSystemSelection): Added documentation.
3876         (getLockingKeyState): Added documentation.
3877         (setLockingKeyState): Added documentation.
3878         (createCustomCursor): Added documentation.
3879         (getBestCursorSize): Added documentation.
3880         (getMaximumCursorColors): Added documentation.
3881         (isFrameStateSupported): Added documentation.
3883 2003-03-24  Michael Koch  <konqueror@gmx.de>
3885         * java/io/RandomAccessFile.java:
3886         More little merges with classpath. No code changes.
3888 2003-03-24  Michael Koch  <konqueror@gmx.de>
3890         * java/net/natInetAddressNoNet.cc:
3891         Include stddef.h.
3892         * java/net/natPlainDatagramSocketImplNoNet.cc:
3893         Fixed inlcude of java/net/DatagramPacket.h.
3894         * java/net/natPlainSocketImplNoNet.cc:
3895         Include some missing classes.
3897 2003-03-24  Michael Koch  <konqueror@gmx.de>
3899         * java/awt/dnd/DropTarget.java
3900         (DropTargetAutoScroller): According to the online documentation, this
3901         is protected, but in reality it is public.
3902         * java/awt/dnd/DropTargetContext.java
3903         (TransferableProxy): According to the online documentation, this
3904         is protected, but in reality it is public.
3906 2003-03-24  Michael Koch  <konqueror@gmx.de>
3908         * java/io/DataInputStream.java
3909         (): Wrapped documentation line.
3910         (): Fixed @return tag.
3911         * java/io/DataOutputStream.java
3912         (written): Moved to top of class.
3913         (all methods): Merged documentation from classpath.
3914         * java/io/File.java:
3915         Merged copyright year with classpath.
3916         * java/io/FileInputStream.java
3917         (all methods): Merged documentation from classpath.
3918         * java/io/LineNumberReader.java
3919         (getLineNumber): Fixed @return tag.
3920         * java/io/ObjectInputStream.java.
3921         Reformatted.
3922         * java/io/ObjectOutputStream.java:
3923         Reformatted, fixed some @see tags.
3924         * java/io/OutputStreamWriter.java:
3925         Deleted empty line.
3926         * java/io/Writer.java:
3927         Reformatted.
3929 2003-03-24  Michael Koch  <konqueror@gmx.de>
3931         * java/awt/Frame.java
3932         (DEFAULT_CURSOR): Fixed @deprecated tag.
3933         (setCursor): Fixed @deprecated tag.
3935 2003-03-24  Michael Koch  <konqueror@gmx.de>
3937         * java/beans/beancontext/BeanContextEvent.java:
3938         Reformated.
3940 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3942         * java/lang/natStringBuffer.cc (regionMatches): New function.
3943         * java/lang/String.java (count): Now package-private.
3944         * java/lang/StringBuffer.java: Merged with Classpath.
3946 2003-03-23  Michael Koch  <konqueror@gmx.de>
3948         * java/io/BufferedOutputStream.java:
3949         Reformated.
3950         * java/io/BufferedReader.java:
3951         Reformated.
3952         * java/io/ByteArrayOutputStream.java
3953         (size): Fixed @see tag.
3954         * java/io/CharArrayWriter.java
3955         (size): Fixed @see tag.
3956         * java/io/DataInput.java:
3957         Reformated.
3958         * java/io/DataOutput.java:
3959         Reformated.
3960         * java/io/DataOutputStream.java:
3961         Merged copyright years with classpath.
3962         * java/io/Externalizable.java:
3963         Reformated.
3964         * java/io/FileFilter.java:
3965         Reformated.
3966         * java/io/FileInputStream.java:
3967         Merged copyright years with classpath.
3968         * java/io/FileOutputStream.java:
3969         Merged copyright years with classpath.
3970         * java/io/FilePermission.java
3971         (FilePermission): Replaced @XXX with FIXME:.
3972         * java/io/FileWriter.java:
3973         Reformated.
3974         * java/io/FilenameFilter.java:
3975         Reformated.
3976         * java/io/FilterInputStream.java:
3977         Reformated.
3978         * java/io/FilterOutputStream.java:
3979         Reformated.
3980         * java/io/FilterReader.java:
3981         Reformated.
3982         * java/io/FilterWriter.java:
3983         Reformated.
3984         * java/io/LineNumberInputStream.java
3985         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3986         happy.
3987         (getLineNumber): Fixed @return tag.
3988         * java/io/ObjectInput.java:
3989         Reformated.
3990         * java/io/ObjectOutput.java:
3991         Reformated.
3992         * java/io/ObjectStreamClass.java:
3993         Reformated.
3994         * java/io/PrintStream.java:
3995         Merged copyright years with classpath.
3996         * java/io/PushbackReader.java
3997         (PushbackReader): Replaced @code with @param.
3998         * java/io/SerializablePermission.java:
3999         Reformated.
4000         * java/io/StreamTokenizer.java
4001         (resetSyntax): Fixed @see tag.
4003 2003-03-22  Richard Henderson  <rth@redhat.com>
4005         * sysdep/ia64/locks.h: Include ia64intrin.h.
4006         (compare_and_swap): Use __sync_bool_compare_and_swap.
4007         (compare_and_swap_release): Expose ar.ccv assignment.
4009 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
4011         * include/posix.h: Add suffix for darwin dynamic libraries.
4013 2003-03-21  Michael Koch  <konqueror@gmx.de>
4015         * javax/swing/Action.java
4016         (ACCELERATOR_KEY): New constant.
4017         (ACTION_COMMAND_KEY): Likewise.
4018         (MNEMONIC_KEY): Likewise.
4019         * javax/swing/UnsupportedLookAndFeelException.java
4020         (UnsupportedLookAndFeelException): Must be public.
4021         * javax/swing/WindowConstants.java
4022         (EXIT_ON_CLOSE): New constant.
4023         * javax/swing/text/BadLocationException.java
4024         (offset): New member variable.
4025         (BadLocationException): New implementation, documentation added.
4026         (offsetRequested): New method.
4027         * javax/swing/text/Caret.java:
4028         Reformated.
4029         * javax/swing/text/Document.java:
4030         Reformated.
4032 2003-03-21  Michael Koch  <konqueror@gmx.de>
4034         * java/rmi/activation/Activatable.java
4035         (serialVersionUID): New member variable.
4036         * java/rmi/activation/ActivationGroup.java
4037         (serialVersionUID): New member variable.
4038         * java/rmi/activation/ActivationGroupDesc.java
4039         (serialVersionUID): New member variable.
4040         * java/rmi/registry/Registry.java:
4041         Reformated.
4042         (Registry): Deprecated.
4043         * java/rmi/server/LoaderHandler.java
4044         Reformated.
4045         (LoaderHandler): Deprecated.
4046         * java/rmi/server/LogStream.java
4047         Reformated.
4048         (LogStream): Deprecated.
4049         * java/rmi/server/Operation.java
4050         (Operation): Deprecated.
4051         * java/rmi/server/RMIFailureHandler.java:
4052         Reformated.
4053         * java/rmi/server/RMISocketFactory.java:
4054         Reformated.
4055         * java/rmi/server/RemoteCall.java
4056         (RemoteCall): Deprecated.
4057         * java/rmi/server/RemoteStub.java:
4058         Reformated.
4059         * java/rmi/server/Skeleton.java
4060         Reformated.
4061         (Skeleton): Deprecated.
4063 2003-03-21  Michael Koch  <konqueror@gmx.de>
4065         * java/io/LineNumberReader.java
4066         (LineNumberReader): Merged documentation with classpath.
4067         (getLineNumber): Likewise.
4068         (setLineNumber): Likewise.
4069         (mark): Likewise.
4070         (reset): Likewise.
4071         (read): Likewise.
4072         (readLine): Likewise.
4073         (skip): Likewise.
4075 2003-03-21  Michael Koch  <konqueror@gmx.de>
4077         * java/rmi/RMISecurityManager.java
4078         (checkAccept): Removed.
4079         (checkAccess): Likewise.
4080         (checkAccess): Likewise.
4081         (checkAwtEventQueueAccess): Likewise.
4082         (checkConnect): Likewise.
4083         (checkCreateClassLoader): Likewise.
4084         (checkDelete): Likewise.
4085         (checkExec): Likewise.
4086         (checkExit): Likewise.
4087         (checkLink): Likewise.
4088         (checkListen): Likewise.
4089         (checkMemberAccess): Likewise.
4090         (checkMulticast): Likewise.
4091         (checkPackageAccess): Likewise.
4092         (checkPackageDefinition): Likewise.
4093         (checkPermission): Likewise.
4094         (checkPrintJobAccess): Likewise.
4095         (checkPropertiesAccess): Likewise.
4096         (checkPropertyAccess): Likewise.
4097         (checkRead): Likewise.
4098         (checkSecurityAccess): Likewise.
4099         (checkSetFactory): Likewise.
4100         (checkSystemClipboardAccess): Likewise.
4101         (checkTopLevelWindow): Likewise.
4102         (checkWrite): Likewise.
4104 2003-03-20  Michael Koch  <konqueror@gmx.de>
4106         * gnu/java/nio/FileChannelImpl.java
4107         (address): Removed.
4108         (map_address): New member variable.
4109         (length): Make it package private.
4110         (fd): Make it package private.
4111         (buf): Make it package private.
4112         (file_obj): Make it package private.
4113         (FileChannelImpl): New constructor.
4114         (nio_mmap_file): Use RawData instead of long.
4115         (nio_munmap_file): Use RawData instead of long.
4116         (nio_msync): Use RawData instead of long.
4117         (implCloseChannel): New implementation using map_address.
4118         (read): Reformated.
4119         (map): Implemented.
4120         (create_direct_mapped_buffer): Implemented, use RawData, throws
4121         IOException.
4122         (force): Use map_address instead of address.
4123         * gnu/java/nio/MappedByteFileBuffer.java
4124         (address): Removed.
4125         (map_address): New member variable.
4126         (MappedByteFileBuffer): Use map_address instead of address, reformated.
4127         (several methods): Use map_address instead of address, replaced long
4128         with RawData where appropriate.
4129         * gnu/java/nio/natFileChannelImpl.cc
4130         (nio_mmap_file): Replaced long with RawData.
4131         (nio_munmap_file): Replaced long with RawData.
4132         (nio_msync): Replaced long with RawData.
4133         * gnu/java/nio/natMappedByteFileBuffer.cc
4134         (several methods): Replaced long with RawData where appropriate.
4136 2003-03-20  Michael Koch  <konqueror@gmx.de>
4138         * java/net/InetAddress.java,
4139         java/net/JarURLConnection.java,
4140         java/net/PlainDatagramSocketImpl.java,
4141         java/net/PlainSocketImpl.java,
4142         java/net/URLConnection.java:
4143         Merged copyright statements with classpath for easier merging.
4145 2003-03-20  Michael Koch  <konqueror@gmx.de>
4147         * java/io/FileInputStream.java
4148         (getChannel): New implementation.
4149         * java/io/FileOutputStream.java
4150         (ch): New member variable.
4151         (getChannel): Implemented.
4152         * java/io/RandomAccessFile.java
4153         (RandomAccessFile): Throws FileNotFoundException instead of
4154         IOException.
4155         (getChannel): New method.
4156         (ch): New member variable.
4158 2003-03-20  Michael Koch  <konqueror@gmx.de>
4160         * java/io/DataOutputStream.java,
4161         java/io/File.java,
4162         java/io/FileInputStream.java,
4163         java/io/FileOutputStream.java,
4164         java/io/InputStreamReader.java,
4165         java/io/LineNumberReader.java,
4166         java/io/OutputStreamWriter.java,
4167         java/io/PrintStream.java,
4168         java/io/RandomAccessFile.java:
4169         Merged copyright statements with classpath for easier merging.
4171 2003-03-19  Michael Koch  <konqueror@gmx.de>
4173         * java/lang/Process.java:
4174         Merged from classpath.
4176 2003-03-19  Michael Koch  <konqueror@gmx.de>
4178         * java/io/FileOutputStream.java
4179         (FileOutputStream): New constructor, merged from classpath.
4180         * java/io/FileWriter.java
4181         (FileWriter): New constructor, merged from classpath.
4183 2003-03-18  Michael Koch  <konqueror@gmx.de>
4185         * java/awt/ScrollPane.java
4186         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4187         (getViewportSize): Likewise.
4188         (addNotify): Likewise.
4189         (removeNotify): Likewise.
4190         * java/awt/ScrollPaneAdjustable.java
4191         (ScrollPaneAdjustable): No longer extends Scrollbar.
4192         * java/beans/beancontext/BeanContextServices.java:
4193         Reformated.
4194         (getService): Added throws TooManyListenersException;
4195         * java/beans/beancontext/BeanContextServicesSupport.java:
4196         Reformated.
4198 2003-03-18  Michael Koch  <konqueror@gmx.de>
4200         * java/io/BufferedOutputStream.java,
4201         java/io/DataInput.java,
4202         java/io/DataInputStream.java,
4203         java/io/DataOutput.java,
4204         java/io/Externalizable.java:
4205         More merges from classpath.
4207 2003-03-18  Michael Koch  <konqueror@gmx.de>
4209         * configure.in: Fixed links to platform dependant java.net files.
4210         * configure: Regenerated.
4211         * java/net/natInetAddress.cc,
4212         java/net/natNetworkInterface.cc,
4213         java/net/natPlainDatagramSocketImpl.cc,
4214         java/net/natPlainSocketImpl.cc:
4215         Removed.
4217 2003-03-18  Michael Koch  <konqueror@gmx.de>
4219         * configure.in: Create links to architecture dependent files,
4220         introduced PLATFORMNET variable (set to NoNet for newlib usage).
4221         * configure: Regenerated.
4222         * java/net/natInetAddressNoNet.cc,
4223         java/net/natInetAddressPosix.cc,
4224         java/net/natInetAddressWin32.cc,
4225         java/net/natNetworkInterfaceNoNet.cc,
4226         java/net/natNetworkInterfacePosix.cc,
4227         java/net/natNetworkInterfaceWin32.cc,
4228         java/net/natPlainDatagramSocketImplNoNet.cc,
4229         java/net/natPlainDatagramSocketImplPosix.cc,
4230         java/net/natPlainDatagramSocketImplWin32.cc,
4231         java/net/natPlainSocketImplNoNet.cc,
4232         java/net/natPlainSocketImplPosix.cc,
4233         java/net/natPlainSocketImplWin32.cc: New files.
4235 2003-03-18  Michael Koch  <konqueror@gmx.de>
4237         * java/io/BufferedReader.java,
4238         java/io/BufferedWriter.java,
4239         java/io/ByteArrayOutputStream.java,
4240         java/io/FileFilter.java,
4241         java/io/FilePermission.java,
4242         java/io/FileReader.java,
4243         java/io/FileWriter.java,
4244         java/io/FilenameFilter.java,
4245         java/io/FilterInputStream.java,
4246         java/io/FilterOutputStream.java,
4247         java/io/FilterReader.java,
4248         java/io/FilterWriter.java,
4249         java/io/ObjectInput.java,
4250         java/io/ObjectInputValidation.java,
4251         java/io/ObjectOutput.java,
4252         java/io/ObjectStreamField.java,
4253         java/io/PipedInputStream.java,
4254         java/io/PipedReader.java,
4255         java/io/PrintWriter.java,
4256         java/io/PushbackReader.java,
4257         java/io/Reader.java,
4258         java/io/SerializablePermission.java,
4259         java/io/StringReader.java,
4260         java/io/Writer.java:
4261         Merged from classpath.
4263 2003-03-17  Michael Koch  <konqueror@gmx.de>
4265         * java/awt/ScrollPaneAdjustable.java:
4266         Compile fixes.
4267         
4268 2003-03-17  Michael Koch  <konqueror@gmx.de>
4270         * java/net/DatagramSocket.java
4271         (connect): Fixed comment.
4272         * java/nio/ByteBuffer.java
4273         (hasArray): Fixed comment.
4275 2003-03-17  Michael Koch  <konqueror@gmx.de>
4277         * java/beans/Beans.java:
4278         Explicitely import classes not packages.
4279         * java/beans/FeatureDescriptor.java
4280         (preferred): New member variable.
4281         (isPreferred): New method.
4282         (setPreferred): New method.
4283         * java/beans/PropertyEditorManager.java:
4284         Explicitely import used classes.
4285         * java/beans/beancontext/BeanContextChild.java:
4286         Added line wrapping.
4287         * java/beans/beancontext/BeanContextChildSupport.java:
4288         Reindented.
4289         * java/beans/beancontext/BeanContextEvent.java:
4290         Reindented.
4292 2003-03-17  Michael Koch  <konqueror@gmx.de>
4294         * java/awt/Dialog.java
4295         (Dialog): New constructor, changed implementations, added
4296         documentation.
4297         * java/awt/ScrollPaneAdjustable.java
4298         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4299         Serializable.
4300         (serialVersionUID): New member variable.
4301         (sp): New member variable.
4302         (orientation): New member variable.
4303         (value): New member variable.
4304         (minimum): New member variable.
4305         (maximum): New member variable.
4306         (visibleAmount): New member variable.
4307         (unitIncrement): New member variable.
4308         (blockIncrement): New member variable.
4309         (AdjustmentListener): New member variable.
4310         (ScrollPaneAdjustable): New implementation.
4311         (addAdjustmentListener): New method.
4312         (removeAdjustmentListener): New method.
4313         (getAdjustmentListeners): New method.
4314         (getBlockIncrement): New method.
4315         (getMaximum): New method.
4316         (getMinimum): New method.
4317         (getOrientation): New method.
4318         (getUnitIncrement): New method.
4319         (getValue): New method.
4320         (getVisibleAmount): New method.
4321         (setBlockIncrement): New method.
4322         (setMaximum): Implemented.
4323         (setMinimum): Implemented.
4324         (setUnitIncrement): New method.
4325         (setValue): New method.
4326         (setVisibleAmount): Implemented. 
4327         (paramString): New stubbed method.
4328         * java/awt/Window.java
4329         (show): Call setVisible().
4330         (hide): Call setVisible().
4331         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4332         and WINDOW_STATE_CHANGED.
4333         (processWindowFocusEvent): New method.
4334         (processWindowStateEvent): New method.
4335         (postEvent): Deprecated.
4336         (applyResourceBundle): Deprecated.
4337         * java/awt/datatransfer/DataFlavor.java
4338         (DataFlavor): Doesn't thow ClassNotFoundException.
4340 2003-03-17  Michael Koch
4342         * javax/print/attribute/Attribute.java,
4343         javax/print/attribute/AttributeSet.java,
4344         javax/print/attribute/PrintRequestAttributeSet.java:
4345         New files.
4346         * Makefile.am
4347         (javax_source_files): Added new files:
4348         javax/print/attribute/Attribute.java
4349         javax/print/attribute/AttributeSet.java
4350         javax/print/attribute/PrintRequestAttributeSet.java
4351         * Makefile.in: Regenerated.
4353 2003-03-17  Michael Koch
4355         * javax/print/attribute/Attribute.java,
4356         javax/print/attribute/AttributeSet.java,
4357         javax/print/attribute/PrintRequestAttributeSet.java:
4358         New files.
4359         * Makefile.am
4360         (awt_java_source_files): Added new files:
4361         javax/print/attribute/Attribute.java
4362         javax/print/attribute/AttributeSet.java
4363         javax/print/attribute/PrintRequestAttributeSet.java
4364         * Makefile.in: Regenerated.
4366 2003-03-16  Tom Tromey  <tromey@redhat.com>
4368         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4369         Include platform.h.
4370         * java/lang/natRuntime.cc (insertSystemProperties): Use
4371         _Jv_platform_path_separator.
4372         (nativeGetLibname): Use _Jv_platform_file_separator.
4373         (_load): Use _Jv_platform_onload_names.
4374         (onload_names): New global.
4375         * include/win32.h (_Jv_platform_file_separator): New define.
4376         (_Jv_platform_path_separator): Likewise.
4377         (_Jv_platform_onload_names): Likewise.
4378         (_Jv_platform_ffi_abi): Likewise.
4379         * include/posix.h (_Jv_platform_file_separator): New define.
4380         (_Jv_platform_path_separator): Likewise.
4381         (_Jv_platform_onload_names): Likewise.
4382         (_Jv_platform_ffi_abi): Likewise.
4384 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
4386         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4388 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
4390         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4391         hierarchy loop.
4392         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4393         list to Object,ObjectStreamClass, moved callReadMethod code up into
4394         readObject and added Class argument to all setXxxField calls.
4395         (callReadMethod): Changed Class argument to ObjectStreamClass to be
4396         consistent with ObjectOutputStream and to facilitate caching the
4397         Method in the future.
4398         (setBooleanField): Added Class argument.
4399         (setByteField): Likewise.
4400         (setCharField): Likewise.
4401         (setDoubleField): Likewise.
4402         (setFloatField): Likewise.
4403         (setIntField): Likewise.
4404         (setLongField): Likewise.
4405         (setShortField): Likewise.
4406         (setObjectField): Likewise.
4407         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4408         class hierarchy loop.
4409         (defaultWriteObject): Call writeFields with new argument list.
4410         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4411         list to Object,ObjectStreamClass, moved callWriteMethod up into
4412         writeObject and added Class argument to all getXxxField calls.
4413         (callWriteMethod): Added ObjectStreamClass argument to be able to
4414         get the proper class to call getMethod on (each class can have (or
4415         not have) its own writeObject method).
4416         (getBooleanField): Added Class argument.
4417         (getByteField): Likewise.
4418         (getCharField): Likewise.
4419         (getDoubleField): Likewise.
4420         (getFloatField): Likewise.
4421         (getIntField): Likewise.
4422         (getLongField): Likewise.
4423         (getShortField): Likewise.
4424         (getObjectField): Likewise.
4425         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4426         facilitate caching the Method object in the future.
4428 2003-03-12  Andreas Schwab  <schwab@suse.de>
4430         * configure.in: Avoid trailing /. in toolexeclibdir.
4431         * configure: Rebuilt.
4433 2003-03-11  Michael Koch  <konqueror@gmx.de>
4435         * gnu/java/nio/ByteBufferImpl.java
4436         (putInt): Use limit() instead of limit.
4437         * gnu/java/nio/CharBufferImpl.java
4438         (slice): Fixed implementation.
4439         (subSequence): Better bounds checking.
4440         * gnu/java/nio/MappedByteFileBuffer.java:
4441         Import all needed classes directly.
4442         * java/nio/ByteBuffer.java
4443         (hashCode): New dummy method.
4444         * java/nio/CharBuffer.java
4445         (array_offset): New member variable.
4446         (hasArray): Fixed documentation.
4447         (arrayOffset): Return array_offset.
4449 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
4451         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4452         setter; made return value of getter const char* instead of char*
4453         * prims.cc: removed all references to _Jv_ThisExecutable().
4454         These are in the platform-specific sections now.
4455         * posix.cc: define platform-specific _Jv_ThisExecutable().
4456         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4457         * win32.cc: define platform-specific _Jv_ThisExecutable()
4458         using GetModuleFilename()
4459         * java/lang/natRuntime.cc: set gnu.gcj.progname property
4460         to argv[0] instead of _Jv_ThisExecutable()
4462 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4464         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4465         that is set if we are using addr2name.awk instead of addr2line.
4466         (NameFinder): Set usingAddr2name if using addr2name.awk.
4467         (getExternalLabel): New native method to convert a method 
4468         name to an external label.
4469         (lookup): Convert name given by addr2line to an external label
4470         before demangling.
4472         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4473         constant representing the prefix attached to method names to
4474         convert them to an external label.
4475         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
4476         using LABEL_PREFIX.
4478 2003-03-10  Tom Tromey  <tromey@redhat.com>
4480         * Makefile.in: Rebuilt.
4481         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4482         (JC1FLAGS): Removed -Wno-deprecated.
4484 2003-03-10  Michael Koch  <konqueror@gmx.de>
4486         * java/nio/ByteOrder.java
4487         (nativeOrder): Working implementation, added documentation.
4488         (toString): Added documentation.
4490 2003-03-10  Michael Koch  <konqueror@gmx.de>
4492         * java/net/DatagramSocket.java,
4493         java/net/MulticastSocket.java,
4494         java/net/Socket.java,
4495         java/net/URL.java,
4496         java/net/URLConnection.java:
4497         Fixed some documentation tags to make javadoc and friends happy.
4499 2003-03-10  Michael Koch  <koqnueror@gmx.de>
4501         * java/beans/beancontext/BeanContextServicesSupport.java,
4502         java/beans/beancontext/BeanContextSupport.java: New files.
4503         * Makefile.am
4504         (awt_source_files): Added new files.
4505         * Makefile.in: Regenerated.
4507 2003-03-10  Michael Koch  <konqueror@gmx.de>
4509         * java/awt/FocusTraversalPolicy.java
4510         (FocusTraversalPolicy): Documentation added.
4511         (getComponentAfter): Documentation added.
4512         (getComponentBefore): Documentation added.
4513         (getFirstComponent): Documentation added.
4514         (getLastComponent): Documentation added.
4515         (getDefaultComponent): Documentation added.
4516         (getInitialComponent): Documentation added.
4517         * java/awt/ScrollPaneAdjustable.java
4518         (sp): New member variable.
4519         (orientation): New member variable.
4520         (value): New member variable.
4521         (minimum): New member variable.
4522         (maximum): New member variable.
4523         (visibleAmount): New member variable.
4524         (unitIncrement): New member variable.
4525         (blockIncrement): New member variable.
4526         (adjustmentListener): New member variable.
4527         (ScrollPaneAdjustable): Rewrote.
4528         (addAdjustmentListener): New method.
4529         (removeAdjustmentListener): New method.
4530         (getAdjustmentListeners): New method.
4531         (getBlockIncrement): New method.
4532         (getMaximum): New method.
4533         (getMinimum): New method.
4534         (getOrientation): New method.
4535         (getUnitIncrement): New method.
4536         (getValue): New method.
4537         (getVisibleAmount): New method.
4538         (setBlockIncrement): New method.
4539         (setUnitIncrement): New method.
4540         (setMaximum): Implemented.
4541         (setMinimum): Implemented.
4542         (setValue): New method.
4543         (setVisibleAmount): Implemented.
4544         (paramString): New method.
4545         * java/awt/Window.java
4546         (show): Use setVisible(true) instead of super.show().
4547         (hide): Use sevVisible(false) instead of super.hide().
4548         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4549         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4550         (postEvent): Deprecated.
4551         (applyResourceBundle): Deprecated.
4552         (processWindowFocusEvent): New method.
4553         (processWindowStateEvent): New method.
4554         * java/awt/datatransfer/DataFlavor.java: Reindented.
4555         * java/awt/font/TextHitInfo.java
4556         (charIndex): New member variable.
4557         (leadingEdge): New member variable.
4558         (TextHitInfo): New constructor.
4559         (getCharIndex): Implemented.
4560         (isLeadingEdge): Implemented.
4561         (getInsertionIndex): Implemented.
4562         (hashCode): Access charIndex directly.
4563         (equals): Reformated.
4564         (leading): Implemented.
4565         (trailing): Implemented.
4566         (beforeOffset): Implemented.
4567         (afterOffset): Implemented.
4568         (getOtherHit): Implemented.
4569         (getOffsetHit): Implemented.
4570         (toString): Implemented.
4571         * java/awt/image/BufferedImage.java
4572         (BufferedImage): Implements WritableRenderedImage.
4573         (observers): New member variable.
4574         (addTileObserver): New method.
4575         (removeTileObserver): New method.
4577 2003-03-09  Tom Tromey  <tromey@redhat.com>
4579         PR libgcj/9934:
4580         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4581         to lseek.  Return 0 if we can't compute the value.
4583 2003-03-03  Michael Koch  <konqueror@gmx.de>
4585         * java/net/NetworkInterface.java: Merged with classpath.
4587 2003-03-03  Tom Tromey  <tromey@redhat.com>
4589         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4590         of bytecode.
4591         (handle_ret_insn): Fail if returning to jsr that appears at end of
4592         bytecode.
4594 2003-03-03  Michael Koch  <konqueror@gmx.de>
4596         * Makefile.am
4597         (ordinary_java_source_files):
4598         Added gnu/java/nio/MappedByteFileBuffer.java.
4599         (nat_source_files):
4600         Added gnu/java/nio/natMappedByteFileBuffer.cc.
4601         * Makefile.in: Regenerated.
4603 2003-03-03  Michael Koch  <konqueror@gmx.de>
4605         * java/net/DatagramSocket.java
4606         (connect): Merged comment from classpath.
4607         (receive): Merged documentation from classpath.
4608         * java/net/Socket.java
4609         (setSoTimeout): Clarified documentation.
4610         * java/net/URL.java
4611         (getPath): Merged from classpath.
4612         (getUserInfo): Merged from classpath.
4613         (getQuery): Merged from classpath.
4614         * java/net/URLStreamHandler.java
4615         (toExternalForm): Merged from classpath.
4617 2003-03-02  Mark Wielaard  <mark@klomp.org>
4619         * java/util/Properties.java (load): Only skip line if the first
4620         character is a comment, whitespaces don't count.
4622 2003-03-02  Michael Koch  <konqueror@gmx.de>
4624         * java/net/NetPermission.java:
4625         Merged copyright with classpath.
4627 2003-03-02  Michael Koch  <konqueror@gmx.de>
4629         * java/lang/Package.java:
4630         Remerged from classpath.
4632 2003-03-02  Michael Koch  <konqueror@gmx.de>
4634         * java/net/HttpURLConnection.java
4635         (HTTP_SERVER_ERROR): Deprecated.
4636         * java/net/MulticastSocket.java
4637         (send): Replaced checkMulticast with appropriate checkPermission call,
4638         deprecated.
4639         * java/net/URLDecoder.java
4640         (decode): Deprecated.
4641         * java/net/URLEncoder.java
4642         (encode): Deprecated.
4644 2003-03-02  Michael Koch  <konqueror@gmx.de>
4646         * javax/swing/text/Caret.java
4647         (getMagicCaretPosition): Fixed typo in method name.
4648         * javax/swing/text/DefaultCaret.java
4649         (getMagicCaretPosition): Fixed typo in method name.
4651 2003-03-02  Michael Koch  <konqueror@gmx.de>
4653         * java/awt/List.java
4654         (setMultipleSelections): Deprecated.
4655         (delItem): Deprecated.
4656         * java/awt/MenuComponent.java
4657         (getPeer): Deprecated.
4658         * java/awt/ScrollPane.java
4659         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4660         * java/awt/dnd/MouseDragGestureRecognizer.java
4661         (mouseClicked): Added comment.
4662         (mousePressed): Added comment.
4663         (mouseReleased): Added comment.
4664         (mouseEntered): Added comment.
4665         (mouseExited): Added comment.
4666         (mouseDragged): Added comment.
4667         (mouseMoved): Added comment.
4668         * java/awt/event/KeyEvent.java
4669         (KeyEvent): Deprecated.
4670         (setModifiers): Deprecated.
4671         
4672 2003-03-02  Michael Koch  <konqueror@gmx.de>
4674         * gnu/java/nio/FileChannelImpl.java
4675         (fd): Type FileDescriptor instead of int.
4676         (lengthInternal): Removed.
4677         (FileChannelImpl): Fixed arguments, check type of file object.
4678         (size): Made it native.
4679         (implPosition): New native method.
4680         (implTruncate): New native method.
4681         (position): Implemented.
4682         (truncate): Implemented.
4683         (nio_mmap_file): Changed arguments.
4684         (nio_munmap_file): Changed arguments.
4685         (nio_msync): Changed arguments.
4686         * gnu/java/nio/natFileChannelImpl.cc
4687         (lengthInternal): Removed.
4688         (size): New method.
4689         (implPosition): New method.
4690         (implTruncate): New method.
4691         (nio_mmap_file): Changed arguments.
4692         (nio_munmap_file): Changed arguments.
4693         (nio_msync): Changed arguments.
4695 2003-03-02  Michael Koch  <konqueror@gmx.de>
4697         * java/awt/dnd/DropTargetContext.java:
4698         Compile fix: Forgot to commit import.
4699         
4700 2003-03-02  Michael Koch  <konqueror@gmx.de>
4702         * java/awt/Component.java,
4703         java/awt/ScrollPane.java:
4704         Fixed typos.
4706 2003-03-02  Michael Koch  <konqueror@gmx.de>
4708         * java/awt/dnd/DnDEventMulticaster.java: New file.
4709         * java/awt/dnd/DragSource.java
4710         (flavorMap): New member variable.
4711         (dragSourceListener): New member variable.
4712         (dragSourceMotionListener): New member variable.
4713         (getFlavorMap): Implemented.
4714         (createDragGestureRecognizer): Implemented.
4715         (addDragSourceListener): Implemented.
4716         (removeDragSourceListener): Implemented.
4717         (getDragSourceListeners): Implemented.
4718         (addDragSourceMotionListener): Implemented.
4719         (removeDragSourceMotionListener): Implemented.
4720         (getDragSourceMotionListeners): Implemented.
4721         (getListeners): Implemented.
4722         * java/awt/dnd/DragSourceContext.java
4723         (peer): New member variable.
4724         (cursor): New member variable.
4725         (transferable): New member variable.
4726         (trigger): New member variable.
4727         (dragSourceListener): New member variable.
4728         (image): New member variable.
4729         (offset): New member variable.
4730         (DragSourceContext): Implemented.
4731         (getDragSource): Implemented.
4732         (getComponent): Implemented.
4733         (getTrigger): Implemented.
4734         (getSourceActions): Implemented.
4735         (setCursor): Implemented.
4736         (getCursor): Implemented.
4737         (addDragSourceListener): Implemented.
4738         (removeDragSourceListener): Implemented.
4739         (getTransferable): Implemented.
4740         * java/awt/dnd/DropTarget.java
4741         (DropTargetAutoScroller.component): New member variable.
4742         (DropTargetAutoScroller.point): New member variable.
4743         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4744         (DropTargetAutoScroller.updateLocation): Implemented.
4745         (active): Renamed from isActive, defaults to true now.
4746         (component): New member variable.
4747         (flavorMap): New member variable.
4748         (actions): New member variable.
4749         (dropTargetContext): New member variable.
4750         (dropTargetListener): New member variable.
4751         (DropTarget): Implemented.
4752         (getComponent): Implemented.
4753         (setComponent): Implemented.
4754         (setDefaultActions): Implemented.
4755         (getDefaultActions): Implemented.
4756         (setActive): Use active instead of isActive.
4757         (isActive): Use active instead of isActive.
4758         (addDropTargetListener): Implemented.
4759         (removeDropTargetListener): Implemented.
4760         (getFlavorMap): Implemented.
4761         (setFlavorMap): Implemented.
4762         (getDropTargetContext): Implemented.
4763         (createDropTargetContext): Implemented.
4764         (createDropTargetAutoScroller): Implemented.
4765         * java/awt/dnd/DropTargetContext.java
4766         (TransferableProxy.getTransferDataFlavors): Implemented.
4767         (TransferableProxy.isDataFlavorSupported): Implemented.
4768         (TransferableProxy.getTransferData): Implemented.
4769         (dropTarget):  New member variable.
4770         (dtcp): New member variable.
4771         (DropTargetContext): New package private constructor.
4772         (getDropTarget): Implemented.
4773         (getComponent): Implemented.
4774         (addNotify): Implemented.
4775         (removeNotify): Implemented.
4776         (getCurrentDataFlavorsAsList): Implemented.
4777         (isDataFlavorSupported): Implemented.
4778         * java/awt/dnd/MouseDragGestureRecognizer.java
4779         (registerListeners): Implemented.
4780         (unregisterListeners): Implemented.
4781         * Makefile.am
4782         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4783         * Makefile.in: Regenerated.
4785 2003-03-02  Michael Koch  <konqueror@gmx.de>
4787         * java/awt/Component.java
4788         (eventTypeEnabled): New method.
4789         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4790         * java/awt/Container.java
4791         (changeSupport): New member variable.
4792         (addPropertyChangeListener): New methods.
4793         * java/awt/ContainerOrderFocusTraversalPolicy.java
4794         (ContainerOrderFocusTraversalPolicy): Added comment.
4795         (getComponentAfter): Throw exception, documentation added.
4796         (getComponentBefore): Throw exception, documentation added.
4797         (getFirstComponent): Throw exception, documentation added.
4798         (getLastComponent): Throw exception, documentation added.
4799         (getDefaultComponent): Throw exception, documentation added.
4800         * java/awt/EventQueue.java: Reindented.
4801         * java/awt/FocusTraversalPolicy.java:
4802         (FocusTraversalPolicy): Added comment.
4803         (getComponentAfter): Documentation added.
4804         (getComponentBefore): Documentation added.
4805         (getFirstComponent): Documentation added.
4806         (getLastComponent): Documentation added.
4807         (getDefaultComponent): Documentation added.
4808         (getInitialComponent): Documentation added.
4809         * java/awt/ScrollPane.java
4810         (wheelScrollingEnabled): New member variable.
4811         (ScrollPane): Initialize wheelScollingEnabled.
4812         (eventTypeEnabled): New method.
4813         (isWheelScrollingEnabled): New method.
4814         (setWheelScrollingEnabled): New method.
4816 2003-03-02  Michael Koch  <konqueror@gmx.de>
4818         * java/net/DatagramSocket.java
4819         (closed): New member variable.
4820         (close): Use closed variable.
4821         (getInetAddress): No need to call isConnected().
4822         (getPort): No need to call isConnected().
4823         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4824         (isClosed): Reimplemented.
4825         
4826 2003-03-02  Michael Koch  <konqueror@gmx.de>
4828         * configure.in: Added check for memory mapping of files.
4829         * configure: Regenerated.
4830         * config.h.in: Regenerated.
4832 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4834         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4835         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4837 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4839         * java/io/File.java (normalizePath): Remove trailing separator
4840         on Windows only if path is not of the form "x:\".
4842         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4843         (java::io::File::attr): Change formatting a bit and use
4844         WIN32_EPOCH_MILLIS instead of magic numbers.
4845         (java::io::File::isAbsolute): Path must have at least 3 
4846         characters for a UNC network path.
4847         (java::io::File::init_native): Define.
4848         (java::io::File::performCreate): Likewise.
4849         (java::io::File::performSetReadOnly): Likewise.
4850         (java::io::File::performSetLastModified): Likewise.
4851         (java::io::File::performListRoots): Likewise.
4853 2003-03-01  Tom Tromey  <tromey@redhat.com>
4855         * java/lang/natObject.cc: Don't include assert.h.
4856         (heavy_lock_obj_finalization_proc): Use JvAssert.
4857         (remove_all_heavy): Likewise.
4858         (_Jv_MonitorEnter): Likewise.
4859         (_Jv_MonitorExit): Likewise.
4860         (wait): Likewise.
4862 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4864         * java/io/File (getAbsolutePath): Prefix drive specifier on
4865         Windows for paths starting with a '\'.
4866         (toURL): Make URL more consistent with what Sun's JDK returns.
4868         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4869         true only if the path is a UNC network path or it starts with a
4870         drive specifier.
4872         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4873         Be prepared to handle either '/' or '\\' in the file path for
4874         Windows if using the "file" protocol.
4875         Canonicalise the file path if using a relative path in the given
4876         context and the "file" protocol.
4878 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4880         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4881         program array element passed to CreateProcess.
4883 2003-03-01  Tom Tromey  <tromey@redhat.com>
4885         * java/rmi/registry/RegistryHandler.java: Deprecate.
4887 2003-03-01  Tom Tromey  <tromey@redhat.com>
4889         * javax/accessibility/AccessibleEditableText.java,
4890         javax/accessibility/AccessibleHyperlink.java: New versions from
4891         Classpath.
4893         * gnu/java/locale/LocaleInformation_af_ZA.java,
4894         gnu/java/locale/LocaleInformation_ar_AE.java,
4895         gnu/java/locale/LocaleInformation_ar_BH.java,
4896         gnu/java/locale/LocaleInformation_ar_DZ.java,
4897         gnu/java/locale/LocaleInformation_ar_EG.java,
4898         gnu/java/locale/LocaleInformation_ar_IN.java,
4899         gnu/java/locale/LocaleInformation_ar_IQ.java,
4900         gnu/java/locale/LocaleInformation_ar_JO.java,
4901         gnu/java/locale/LocaleInformation_ar_KW.java,
4902         gnu/java/locale/LocaleInformation_ar_LB.java,
4903         gnu/java/locale/LocaleInformation_ar_LY.java,
4904         gnu/java/locale/LocaleInformation_ar_MA.java,
4905         gnu/java/locale/LocaleInformation_ar_OM.java,
4906         gnu/java/locale/LocaleInformation_ar_QA.java,
4907         gnu/java/locale/LocaleInformation_ar_SD.java,
4908         gnu/java/locale/LocaleInformation_ar_SY.java,
4909         gnu/java/locale/LocaleInformation_ar_TN.java,
4910         gnu/java/locale/LocaleInformation_ar_YE.java,
4911         gnu/java/locale/LocaleInformation_be_BY.java,
4912         gnu/java/locale/LocaleInformation_bn_IN.java,
4913         gnu/java/locale/LocaleInformation_br_FR.java,
4914         gnu/java/locale/LocaleInformation_bs_BA.java,
4915         gnu/java/locale/LocaleInformation_ca_ES.java,
4916         gnu/java/locale/LocaleInformation_cs_CZ.java,
4917         gnu/java/locale/LocaleInformation_cy_GB.java,
4918         gnu/java/locale/LocaleInformation_da_DK.java,
4919         gnu/java/locale/LocaleInformation_de_AT.java,
4920         gnu/java/locale/LocaleInformation_de_BE.java,
4921         gnu/java/locale/LocaleInformation_de_CH.java,
4922         gnu/java/locale/LocaleInformation_de_DE.java,
4923         gnu/java/locale/LocaleInformation_de_LU.java,
4924         gnu/java/locale/LocaleInformation_el_GR.java,
4925         gnu/java/locale/LocaleInformation_en_AU.java,
4926         gnu/java/locale/LocaleInformation_en_BW.java,
4927         gnu/java/locale/LocaleInformation_en_CA.java,
4928         gnu/java/locale/LocaleInformation_en_DK.java,
4929         gnu/java/locale/LocaleInformation_en_GB.java,
4930         gnu/java/locale/LocaleInformation_en_HK.java,
4931         gnu/java/locale/LocaleInformation_en_IE.java,
4932         gnu/java/locale/LocaleInformation_en_IN.java,
4933         gnu/java/locale/LocaleInformation_en_NZ.java,
4934         gnu/java/locale/LocaleInformation_en_PH.java,
4935         gnu/java/locale/LocaleInformation_en_SG.java,
4936         gnu/java/locale/LocaleInformation_en_US.java,
4937         gnu/java/locale/LocaleInformation_en_ZA.java,
4938         gnu/java/locale/LocaleInformation_en_ZW.java,
4939         gnu/java/locale/LocaleInformation_es_AR.java,
4940         gnu/java/locale/LocaleInformation_es_BO.java,
4941         gnu/java/locale/LocaleInformation_es_CL.java,
4942         gnu/java/locale/LocaleInformation_es_CO.java,
4943         gnu/java/locale/LocaleInformation_es_CR.java,
4944         gnu/java/locale/LocaleInformation_es_DO.java,
4945         gnu/java/locale/LocaleInformation_es_EC.java,
4946         gnu/java/locale/LocaleInformation_es_ES.java,
4947         gnu/java/locale/LocaleInformation_es_GT.java,
4948         gnu/java/locale/LocaleInformation_es_HN.java,
4949         gnu/java/locale/LocaleInformation_es_MX.java,
4950         gnu/java/locale/LocaleInformation_es_NI.java,
4951         gnu/java/locale/LocaleInformation_es_PA.java,
4952         gnu/java/locale/LocaleInformation_es_PE.java,
4953         gnu/java/locale/LocaleInformation_es_PR.java,
4954         gnu/java/locale/LocaleInformation_es_PY.java,
4955         gnu/java/locale/LocaleInformation_es_SV.java,
4956         gnu/java/locale/LocaleInformation_es_US.java,
4957         gnu/java/locale/LocaleInformation_es_UY.java,
4958         gnu/java/locale/LocaleInformation_es_VE.java,
4959         gnu/java/locale/LocaleInformation_et_EE.java,
4960         gnu/java/locale/LocaleInformation_eu_ES.java,
4961         gnu/java/locale/LocaleInformation_fa_IR.java,
4962         gnu/java/locale/LocaleInformation_fi_FI.java,
4963         gnu/java/locale/LocaleInformation_fo_FO.java,
4964         gnu/java/locale/LocaleInformation_fr_BE.java,
4965         gnu/java/locale/LocaleInformation_fr_CA.java,
4966         gnu/java/locale/LocaleInformation_fr_CH.java,
4967         gnu/java/locale/LocaleInformation_fr_FR.java,
4968         gnu/java/locale/LocaleInformation_fr_LU.java,
4969         gnu/java/locale/LocaleInformation_ga_IE.java,
4970         gnu/java/locale/LocaleInformation_gd_GB.java,
4971         gnu/java/locale/LocaleInformation_gl_ES.java,
4972         gnu/java/locale/LocaleInformation_gv_GB.java,
4973         gnu/java/locale/LocaleInformation_he_IL.java,
4974         gnu/java/locale/LocaleInformation_hi_IN.java,
4975         gnu/java/locale/LocaleInformation_hr_HR.java,
4976         gnu/java/locale/LocaleInformation_hu_HU.java,
4977         gnu/java/locale/LocaleInformation_id_ID.java,
4978         gnu/java/locale/LocaleInformation_it_CH.java,
4979         gnu/java/locale/LocaleInformation_it_IT.java,
4980         gnu/java/locale/LocaleInformation_iw_IL.java,
4981         gnu/java/locale/LocaleInformation_ja_JP.java,
4982         gnu/java/locale/LocaleInformation_ka_GE.java,
4983         gnu/java/locale/LocaleInformation_kl_GL.java,
4984         gnu/java/locale/LocaleInformation_ko_KR.java,
4985         gnu/java/locale/LocaleInformation_kw_GB.java,
4986         gnu/java/locale/LocaleInformation_lt_LT.java,
4987         gnu/java/locale/LocaleInformation_lv_LV.java,
4988         gnu/java/locale/LocaleInformation_mi_NZ.java,
4989         gnu/java/locale/LocaleInformation_mk_MK.java,
4990         gnu/java/locale/LocaleInformation_mr_IN.java,
4991         gnu/java/locale/LocaleInformation_mt_MT.java,
4992         gnu/java/locale/LocaleInformation_nl_BE.java,
4993         gnu/java/locale/LocaleInformation_nl_NL.java,
4994         gnu/java/locale/LocaleInformation_nn_NO.java,
4995         gnu/java/locale/LocaleInformation_no_NO.java,
4996         gnu/java/locale/LocaleInformation_oc_FR.java,
4997         gnu/java/locale/LocaleInformation_pl_PL.java,
4998         gnu/java/locale/LocaleInformation_pt_BR.java,
4999         gnu/java/locale/LocaleInformation_pt_PT.java,
5000         gnu/java/locale/LocaleInformation_ro_RO.java,
5001         gnu/java/locale/LocaleInformation_ru_RU.java,
5002         gnu/java/locale/LocaleInformation_ru_UA.java,
5003         gnu/java/locale/LocaleInformation_se_NO.java,
5004         gnu/java/locale/LocaleInformation_sk_SK.java,
5005         gnu/java/locale/LocaleInformation_sl_SI.java,
5006         gnu/java/locale/LocaleInformation_sq_AL.java,
5007         gnu/java/locale/LocaleInformation_sr_YU.java,
5008         gnu/java/locale/LocaleInformation_sv_FI.java,
5009         gnu/java/locale/LocaleInformation_sv_SE.java,
5010         gnu/java/locale/LocaleInformation_ta_IN.java,
5011         gnu/java/locale/LocaleInformation_te_IN.java,
5012         gnu/java/locale/LocaleInformation_tg_TJ.java,
5013         gnu/java/locale/LocaleInformation_tl_PH.java,
5014         gnu/java/locale/LocaleInformation_tr_TR.java,
5015         gnu/java/locale/LocaleInformation_uk_UA.java,
5016         gnu/java/locale/LocaleInformation_ur_PK.java,
5017         gnu/java/locale/LocaleInformation_uz_UZ.java,
5018         gnu/java/locale/LocaleInformation_vi_VN.java,
5019         gnu/java/locale/LocaleInformation_yi_US.java,
5020         gnu/java/locale/LocaleInformation_zh_CN.java,
5021         gnu/java/locale/LocaleInformation_zh_HK.java,
5022         gnu/java/locale/LocaleInformation_zh_SG.java,
5023         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5024         info; from Classpath.
5026         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5027         isPaintPending): New methods.
5028         * gnu/awt/xlib/XFramePeer.java (getState, setState,
5029         setMaximizedBounds): New methods.
5030         (beginLayout, endLayout, isPaintPending): Likewise.
5031         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5032         (requestFocus): Likewise.
5033         (isObscured): Likewise.
5034         (canDetermineObscurity): Likewise.
5035         (coalescePaintEvent): Likewise.
5036         (updateCursorImmediately): Likewise.
5037         (createVolatileImage): Likewise.
5038         (handlesWheelScrolling): Likewise.
5039         (createBuffers): Likewise.
5040         (getBackBuffer): Likewise.
5041         (flip): Likewise.
5042         (destroyBuffers): Likewise.
5044         * Makefile.in: Rebuilt.
5045         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5046         RobotPeer.java.
5047         * gnu/java/awt/GLightweightPeer.java,
5048         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5049         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5050         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5051         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5052         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5053         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5054         java/awt/dnd/peer/DragSourceContextPeer.java,
5055         java/awt/dnd/peer/DropTargetContextPeer.java,
5056         java/awt/peer/ButtonPeer.java,
5057         java/awt/peer/CheckboxMenuItemPeer.java,
5058         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5059         java/awt/peer/ComponentPeer.java,
5060         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5061         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5062         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5063         java/awt/peer/MenuBarPeer.java,
5064         java/awt/peer/MenuComponentPeer.java,
5065         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5066         java/awt/peer/PopupMenuPeer.java,
5067         java/awt/peer/ScrollPanePeer.java,
5068         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5069         java/awt/peer/TextComponentPeer.java,
5070         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5071         New versions from Classpath.
5072         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5073         * java/awt/peer/RobotPeer.java: Likewise.
5075 2003-03-01  Mark Wielaard  <mark@klomp.org>
5077         * java/io/ObjectInputStream.java: Reindent.
5078         * java/io/ObjectOutputStream.java: Likewise.
5080 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
5082         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5083         jvalue for each argument. Simplify.
5084         * testsuite/libjava.jni/calls.c (docall),
5085         testsuite/libjava.jni/calls.java (longpb_f): check for argument
5086         misalignment.
5088 2003-02-28  Mark Wielaard  <mark@klomp.org>
5090         * Makefile.am (nat_source_files): Remove
5091         java/io/natObjectOutputStream.cc.
5092         * Makefile.in: Regenerated.
5093         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5094         * java/io/ObjectStreamField.java (typename): New field.
5095         (ObjectStreamField(String, Class)): Initialize new field.
5096         (ObjectStreamField(String, String)): New Constructor.
5097         (getTypeCode): Use new field.
5098         (getTypeString): Use new field.
5099         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5100         ObjectStreamExceptions. Remember and reset old BlockDataMode.
5101         Handle reading of Proxy classes. Never drain(), just write
5102         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5103         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5104         (flush): Call flush(), not just drain().
5105         (writeBoolean): Always use blockDataOutput.
5106         (writeByte): Likewise.
5107         (writeShort): Likewise.
5108         (writeChar): Likewise.
5109         (writeInt): Likewise.
5110         (writeLong): Likewise.
5111         (writeFloat): Likewise.
5112         (writeDouble): Likewise.
5113         (writeBytes): Likewise.
5114         (putfield (put(String,Object))): Throw IllegalArgumentException if
5115         field cannot be found.
5116         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5117         (writeArraySizeAndElements): Write byte[] in one go.
5118         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5119         set BlockDataMode to false.
5120         (annotateProxyClass): New method.
5121         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5122         (getField): No longer native.
5123         (getMethod): Likewise.
5124         (setBlockDataMode): Always drain() on switch, return old mode.
5125         (static): New static code block.
5126         * java/io/natObjectOutputStream.cc: Removed.
5127         * java/io/ObjectInputStream.java (getField): No longer native.
5128         (getMethod): Likewise.
5129         (readObject): Remember and reset old BlockDataMode. Track whether
5130         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5131         TC_LONGSTRING.
5132         (defaultReadObject): Set BlockDataMode to false during readFields.
5133         (resolveClass): Create new SecurityManager if necessary.
5134         Use Class.forName() if null ClassLoader found.
5135         (read(byte[],int,int): Copy remaining bytes to data before calling
5136         readNextBlock().
5137         (readFields): Set and reset BlockDataMode on call_read_method.
5138         Catch NoSuchFieldErrors.
5139         (setBlockDataMode): Return old mode.
5140         (static): New static code block.
5141         * java/io/natObjectInputStream.cc (getField): Removed.
5142         (getMethod): Likewise.
5144 2003-02-27  Michael Koch  <konqueror@gmx.de>
5146         * java/beans/Beans.java,
5147         java/beans/FeatureDescriptor.java
5148         java/beans/PropertyEditorManager.java:
5149         Reformated to GNU style.
5151 2003-02-25  Michael Koch  <konqueror@gmx.de>
5153         * gnu/java/nio/MappedByteFileBuffer.java,
5154         gnu/java/nio/natMappedByteFileBuffer.cc:
5155         New files, both are not compiled yet to get not noncompiling CVS.
5157 2003-02-24  Tom Tromey  <tromey@redhat.com>
5159         * java/util/prefs/AbstractPreferences.java (isUserNode):
5160         Implemented.
5162 2003-02-24  Tom Tromey  <tromey@redhat.com>
5164         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5165         Deprecate.
5166         * java/lang/Thread.java (resume): Deprecate.
5167         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5168         in @deprecated.
5170 2003-02-23  Tom Tromey  <tromey@redhat.com>
5172         * Makefile.in: Rebuilt.
5173         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5175 2003-02-23  Tom Tromey  <tromey@redhat.com>
5177         * java/lang/natRuntime.cc (libraries_size, libraries_count,
5178         libraries): Removed.
5179         (add_library): Removed.
5180         (_load): Don't call add_library.
5181         (loadLibraryInternal): Likewise.
5182         (init): Likewise.
5183         (lookup_data): New struct.
5184         (find_symbol): New function.
5185         (_Jv_FindSymbolInExecutable): Use it.
5187 2002-02-21  Anthony Green  <green@redhat.com>
5189         * java/lang/Thread.java (Thread): New constructor taking stack
5190         size parameter (ignored for now).
5191         * Many methods: Merged GNU Classpath documentation.
5193         * java/lang/Class.java (finalize): throws a Throwable.
5195 2003-02-21  Mark Wielaard  <mark@klomp.org>
5197         * java/util/zip/ZipEntry.java (setComment): Don't check length when
5198         argument is null.
5200 2003-02-21  Mark Wielaard  <mark@klomp.org>
5202         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5203         then 65535 chars throw IllegalArgumentException.
5205 2003-02-21  Mark Wielaard  <mark@klomp.org>
5207         * java/util/zip/ZipFile.java (finalize): New method.
5209 2003-02-21  Michael Koch  <konqueror@gmx.de>
5211         * gnu/java/nio/natSocketChannelImpl.cc:
5212         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5213         <cato@df.lth.se> for pointing to it.
5215 2003-02-20  Raif S. Naffah <raif@fl.net.au>
5217         * java/math/BigInteger.java (euclidInv): Take result array as an
5218         argument.  Updated all callers.
5219         (modInverse): Removed unused variables.
5221 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5223         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5224         config.status.
5225         * configure: Rebuilt.
5227 2003-02-19  Michael Koch  <konqueror@gmx.de>
5229         * gnu/java/nio/natSocketChannelImpl.cc:
5230         Added support for platforms without network support.
5232 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5234         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5235         after config.h.  Use <> for consistency.
5236         * java/lang/natObject.cc: Likewise.
5237         * java/lang/natRuntime.cc: Likewise.
5238         * java/lang/natSystem.cc: Likewise.
5239         * java/util/natTimeZone.cc: Likewise.
5240         * win32.cc: Likewise.
5241         * include/posix.h (fcntl, socket, connect, close, bind, accept,
5242         listen, write, read): Undef to avoid interference from OS macros.
5244 2003-02-19  Michael Koch  <konqueror@gmx.de>
5246         * gnu/java/nio/ByteBufferImpl.java
5247         (ByteBufferImpl): Renamed two variables.
5248         * gnu/java/nio/CharBufferImpl.java
5249         (CharBufferImpl): Renamed two variables.
5250         * gnu/java/nio/DoubleBufferImpl.java
5251         (DoubleBufferImpl): Renamed two variables.
5252         * gnu/java/nio/FloatBufferImpl.java
5253         (FloatBufferImpl): Renamed two variables.
5254         * gnu/java/nio/IntBufferImpl.java
5255         (IntBufferImpl): Renamed two variables.
5256         * gnu/java/nio/LongBufferImpl.java
5257         (LongBufferImpl): Renamed two variables.
5258         * gnu/java/nio/ShortBufferImpl.java
5259         (ShortBufferImpl): Renamed two variables.
5260         * java/nio/CharBuffer.java
5261         (wrap): Fixed arguments to CharBufferImpl constructor.
5262         (hasArray): Only not read-only buffers have backing arrays.
5263         (length): Documentation added.
5264         (subSequence): Documentation added.
5265         * java/nio/DoubleBuffer.java
5266         (hasArray): Only not read-only buffers have backing arrays.
5267         * java/nio/FloatBuffer.java
5268         (hasArray): Only not read-only buffers have backing arrays.
5269         * java/nio/IntBuffer.java
5270         (hasArray): Only not read-only buffers have backing arrays.
5271         * java/nio/LongBuffer.java
5272         (hasArray): Only not read-only buffers have backing arrays.
5273         * java/nio/ShortBuffer.java
5274         (hasArray): Only not read-only buffers have backing arrays.
5275         
5276 2003-02-19  Michael Koch  <konqueror@gmx.de>
5278         * javax/accessibility/AccessibleContext.java
5279         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5281 2003-02-19  Michael Koch  <konqueror@gmx.de>
5283         * java/awt/ScrollPaneAdjustable.java: Reformated.
5285 2003-02-19  Michael Koch <konqueror@gmx.de>
5287         * gnu/awt/j2d/Graphics2DImpl.java
5288         (getFontRenderContext): New method.
5289         (drawGlyphVector): New method.
5290         * java/awt/Graphics2D.java
5291         (getFontRenderContext): New abstract method.
5292         (drawGlyphVector): New abstract method.
5293         
5294 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
5296         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5297         if necessary.
5298         
5299         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5300         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5301         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5304         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5305         (setFont, gtkSetFont): add.
5306         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5307         Propagate font to peer.  (setFont): add FIXME comment.
5309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5310         (gtkTextGetSize): fix height, width computation.
5312         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5313         Make X font name a bit less bogus.
5315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5316         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5318         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5319         (processAdjustmentEvent): Adjust value.
5321         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5322         logic errors.
5324         * java/awt/Component.java (setVisible, show, hide): Call show and
5325         hide methods in subclasses.
5326         (getPreferredSize): don't set prefSize before we have peer.
5328         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5329         Guess (0,0) if we don't have peer.
5332 2003-02-18  Michael Koch  <konqueror@gmx.de>
5334         * java/nio/channels/FileChannel.java
5335         (toString): New implementation, added documentation.
5336         (map): Added exception documentation.
5337         (size): Added exception documentation.
5338         (write): New methods, documentation work.
5339         (read): New methods, documentation work.
5340         (implCloseChannel): Rewrote exception documentation.
5341         (force): Throws IOException, added documentation.
5342         (lock): New methods.
5343         (tryLock): New methods.
5344         (position): New methods.
5345         (transferTo): New method.
5346         (transferFrom): New method.
5347         (truncate): New method.
5348         * java/nio/channels/spi/SelectorProvider.java
5349         (provider): Implemented.
5350         * Makefile.am
5351         (ordinary_java_source_files): Added the following files:
5352         gnu/java/nio/DatagramChannelImpl.java
5353         gnu/java/nio/FileChannelImpl.java
5354         gnu/java/nio/PipeImpl.java
5355         gnu/java/nio/SelectionKeyImpl.java
5356         gnu/java/nio/SelectorImpl.java
5357         gnu/java/nio/SelectorProviderImpl.java
5358         gnu/java/nio/ServerSocketChannelImpl.java
5359         gnu/java/nio/SocketChannelImpl.java
5360         java/nio/channels/FileLock.java
5361         (nat_java_source_files): Added the following files:
5362         gnu/java/nio/natFileChannelImpl.cc
5363         gnu/java/nio/natSelectorImpl.cc
5364         gnu/java/nio/natSocketChannelImpl.cc
5365         * Makefile.in: Regenerated.
5367 2003-02-17  Tom Tromey  <tromey@redhat.com>
5369         * java/awt/image/ColorModel.java: Re-merged with Classpath.
5370         * java/awt/image/ImageFilter.java: Likewise.
5372 2003-02-17  Raif S. Naffah <raif@fl.net.au>
5374         * java/math/BigInteger.java (euclidInv): Return array of
5375         `BigInteger's.  Changed all callers.
5377 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
5379         * java/util/Properties.java (store): Move the code formerly in
5380         list(), into this method.
5381         (list (PrintStream)): Just call list (PrintWriter) with a 
5382         PrintWriter object constructed from the given PrintStream object.
5383         (list (PrintWriter)): Emulate the output of Properties.list()
5384         as found in JDK 1.3/1.4.
5386 2003-02-17  Michael Koch  <konqueror@gmx.de>
5388         * java/net/DatagramSocket.java
5389         (connect): Merged with classpath.
5390         (disconnect): Merged documentation with classpath.
5391         (receice): Merged documentation with classpath.
5392         (send): Merged documentation with classpath.
5393         
5394 2003-02-17  Michael Koch  <konqueror@gmx.de>
5396         * java/awt/dnd/DragSourceContext.java
5397         (addDragSourceListener): Added documentation.
5398         * java/awt/dnd/DragSourceDragEvent.java
5399         (serialVersionUID): New member variable.
5400         (getDropAction): Reformated.
5401         * java/awt/dnd/DragSourceDropEvent.java
5402         (serialVersionUID): New member variable.
5403         (dropSuccess): Renamed from success for serialization issues.
5404         * java/awt/dnd/DragSourceEvent.java
5405         (serialVersionUID): New member variable.
5406         * java/awt/dnd/DropTarget.java
5407         (serialVersionUID): New member variable.
5408         (DropTarget): Implemented, documentation reworked.
5409         (setComponent): Documentation added.
5410         (getComponent): Documentation added.
5411         (setDefaultActions): Documentation added.
5412         (getDefaultActions): Documentation added.
5413         (addDropTargetListener): Documentation added.
5414         * java/awt/dnd/DropTargetContext.java
5415         (DropTargetContext): Documentation added.
5416         (TransferableProxy.TransferableProxy): New method.
5417         (dropComplete): Fixed documentation.
5418         (getTransferable): Fixed documentation.
5419         (createTransferableProxy): Implemented.
5420         * java/awt/dnd/DropTargetDragEvent.java
5421         (DropTargetDragEvent): Documentation added.
5422         (serialVersionUID): New member variable.
5423         (DropTargetDragEvent): Throw exceptions, documentation added.
5424         (acceptDrag): Implemented.
5425         (getCurrentDataFlavors): Implemented.3yy
5426         (getCurrentDataFlavorsAsList): Implemented.
5427         (isDataFlavorSupported): Implemented.
5428         (rejectDrag): Implemented.
5429         * java/awt/dnd/DropTargetDropEvent.java
5430         (DropTargetDropEvent): Documentation added.
5431         (serialVersionUID): New member variable.
5432         (actions): Renamed from srcActions for serialization issues.
5433         (isLocalTx): Renamed from isLocalTx for serialization issues.
5434         (DropTargetDropEvent): New implementation, throw exceptions,
5435         documentation added.
5436         (getCurrentDataFlavors): Implemented.
5437         (getCurrentDataFlavorsAsList): Implemented.
5438         (isDataFlavorSupported): Implemented.
5439         (getSourceActions): Implemented.
5440         (getDropAction): Implemented.
5441         (getTransferable): Implemented.
5442         (acceptDrop): Implemented.
5443         (rejectDrop): Implemented.
5444         * java/awt/dnd/DropTargetListener.java
5445         (drop): Fixed documentation.
5446         * java/awt/dnd/MouseDragGestureRecognizer.java
5447         (MouseDragGestureRecognizer): Documentation added.
5449 2003-02-17  Michael Koch  <konqueror@gmx.de>
5451         * java/awt/font/FontRenderContext.java,
5452         java/awt/font/ShapeGraphicAttribute.java,
5453         java/awt/font/MultipleMaster.java,
5454         java/awt/font/TransformAttribute.java,
5455         java/awt/font/GlyphJustificationInfo.java,
5456         java/awt/font/LineBreakMeasurer.java,
5457         java/awt/font/TextMeasurer.java,
5458         java/awt/font/TextLayout.java,
5459         java/awt/font/LineMetrics.java,
5460         java/awt/font/TextAttribute.java,
5461         java/awt/font/GlyphMetrics.java,
5462         java/awt/font/OpenType.java,
5463         java/awt/font/GlyphVector.java,
5464         java/awt/font/GraphicAttribute.java,
5465         java/awt/font/ImageGraphicAttribute.java,
5466         java/awt/font/NumericShaper.java: New files.
5467         * Makefile.am
5468         (awt_java_source_files): Added the following files:
5469         java/awt/font/FontRenderContext.java
5470         java/awt/font/ShapeGraphicAttribute.java
5471         java/awt/font/MultipleMaster.java
5472         java/awt/font/TransformAttribute.java
5473         java/awt/font/GlyphJustificationInfo.java
5474         java/awt/font/LineBreakMeasurer.java
5475         java/awt/font/TextMeasurer.java
5476         java/awt/font/TextLayout.java
5477         java/awt/font/LineMetrics.java
5478         java/awt/font/TextAttribute.java
5479         java/awt/font/GlyphMetrics.java
5480         java/awt/font/OpenType.java
5481         java/awt/font/GlyphVector.java
5482         java/awt/font/GraphicAttribute.java
5483         java/awt/font/ImageGraphicAttribute.java
5484         java/awt/font/NumericShaper.java
5485         * Makefile.in: Regenerated.
5487 2003-02-17  Michael Koch  <konqueror@gmx.de>
5489         * java/awt/print/Paper.java
5490         (Paper): Implements Cloneable.
5491         * java/awt/print/PrinterJob.java
5492         (setJobName): Return value must be void.
5493         (print): Throws PrinterException.
5494         
5495 2003-02-16  Tom Tromey  <tromey@redhat.com>
5497         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5498         variable.
5500 2003-02-15  Michael Koch  <konqueror@gmx.de>
5502         * java/awt/datatransfer/DataFlavor.java
5503         (isRepresentationClassByteBuffer): Removed try-catch block.
5504         (isRepresentationClassCharBuffer): Removed try-catch block.
5505         (isRepresentationClassReader): Removed try-catch block.
5507 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5509         * java/nio/charset/Charset.java
5510         (isRegistered): Fixed method args and implementation.
5511         * java/nio/charset/CharsetEncoder.java
5512         (unmappableCharacterAction): New method.
5514 2003-02-15  Michael Koch  <konqueror@gmx.de>
5516         * java/awt/CheckboxMenuItem.java
5517         (CheckBoxMenuItem): Dont implement Serializable.
5518         (getListeners): New method,
5519         (getItemListeners): New method.
5520         * java/awt/Choice.java
5521         (getListeners): New method,
5522         (getItemListeners): New method.
5523         * java/awt/Container.java
5524         (getListeners): Added exception documentation.
5525         (setFocusTraversalKeys): Throw exceptions, added documentattion.
5526         (getFocusTraversalKeys): Added documentation.
5527         (areFocusTraversalKeysSet): Added documentation.
5528         (applyComponentOrientation): Added documentation.
5529         * java/awt/ContainerOrderFocusTraversalPolicy.java
5530         (implicitDownCycleTraversal): Renamed from downCycle for
5531         serialization.
5532         (ContainerOrderFocusTraversalPolicy): Added documentation.
5533         (accept): Reformated.
5534         * java/awt/Dialog.java
5535         (Dialog): Dont implement Serializable.
5536         (Dialog): Added documentation.
5537         * java/awt/Font.java
5538         (Font): Dont use absolute class name.
5539         * java/awt/Frame.java
5540         (Frame): Font implement Serializable.
5541         * java/awt/List.java
5542         (getListeners): New method,
5543         (getActionListeners): New method.       
5544         (getItemListeners): New method.
5545         * java/awt/Menu.java
5546         (countItems): New deprecated method.
5547         * java/awt/Scrollbar.java
5548         (getListeners): New method,
5549         (getAdjustmentListeners): New method,
5550         * java/awt/TextComponent.java
5551         (getListeners): New method,
5552         (getTextListeners): New method,
5553         * java/awt/TextField.java
5554         (getListeners): New method,
5555         (getActionListeners): New method.       
5556         * java/awt/Window.java
5557         (windowFocusListener): New member variable.
5558         (windowStateListener): New member variable.
5559         (getWindowFocusListeners): New method.
5560         (getWindowStateListeners): New method.
5561         (addWindowFocusListener): New method.
5562         (addWindowStateListener): New method.
5563         (removeWindowFocusListener): New method.
5564         (removeWindowStateListener): New method.
5565         * java/awt/datatransfer/DataFlavor.java
5566         (isRepresentationClassByteBuffer): New method.
5567         (isRepresentationClassCharBuffer): New method.
5568         (isRepresentationClassReader): New method.
5570 2003-02-14  Mark Wielaard  <mark@klomp.org>
5572         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5573         zero when there is an exponent and the significant is zero.
5574         (divide): Always set scale to newScale even in special ZERO case.
5576 2003-02-14  Tom Tromey  <tromey@redhat.com>
5578         * java/lang/System.java (properties): Use Properties.clone.
5579         (setProperties): Likewise.
5581 2003-02-14  Michael Koch  <konqueror@gmx.de>
5583         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5584         * gnu/java/nio/ServerSocketChannelImpl.java
5585         (SocketAccept): Removed.
5586         (accept): Commented out use of SocketAccept.
5588 2003-02-13  Tom Tromey  <tromey@redhat.com>
5590         * verify.cc (state::seen_subrs): New field.
5591         (state::state): Initialize it.
5592         (state::clean_subrs): New method.
5593         (state::~state): Call it.
5594         (state::copy): Copy subroutine list.
5595         (state::add_subr): New method.
5596         (state::merge): Only register a change if the current subroutine
5597         hasn't yet been noted.
5599 2003-02-13  Mark Wielaard  <mark@klomp.org>
5601         * java/io/InputStreamReader.java (getEncoding): Return null when
5602         closed.
5603         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5605 2003-02-13  Mark Wielaard  <mark@klomp.org>
5607         * java/util/zip/InflaterInputStream.java (read): Return zero when len
5608         is zero.
5610 2003-02-13  Mark Wielaard  <mark@klomp.org>
5612         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5613         next byte cannot be buffered.
5615 2003-02-13  Michael Koch  <konqueror@gmx.de>
5617         * java/awt/Label.java
5618         (Label): Don't implement Serializable directly.
5619         (addNotify): Fixed typo in documentation.
5620         * java/awt/List.java
5621         (List): Don't implement Serializable directly.
5622         * java/awt/PopupMenu.java
5623         (PopupMenu): Don't implement Serializable directly.
5624         * java/awt/ScrollPane.java
5625         (ScrollPane): Don't implement Serializable directly.
5626         * java/awt/Scrollbar.java
5627         (Scrollbar): Don't implement Serializable directly.
5628         * java/awt/TextArea.java
5629         (preferredSize): Fixed method arguments.
5630         * java/awt/TextField.java
5631         (TextField): Don't implement Serializable directly.
5632         * java/awt/color/ICC_ColorSpace.java
5633         (fromCIOXYZ): Documentation added.
5634         (getMinValue): Documentation added.
5635         (getMaxValue): Documentation added.
5636         * java/awt/datatransfer/DataFlavor.java
5637         (isMimeTypeEqual): May not be final.
5638         (clone): Throws CloneNotSupportedException.
5639         (getReaderForText): Don't throws UnsupportedEncodingException.
5641 2003-02-13  Michael Koch  <konqueror@gmx.de>
5643         * gnu/java/awt/peer/gtk/GdkGraphics.java
5644         (drawString): New stubbed method.
5645         * java/awt/Graphics.java
5646         (drawString): New method.
5648 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5650         PR libgcj/9271:
5651         * java/security/SecureRandom.java (next): Avoid bias in results.
5653 2003-02-13  Michael  <konqueror@gmx.de>
5655         * gnu/java/nio/FileChannelImpl.java
5656         (lengthInternal): Must be native.
5657         (size): Check if channel is already closed.
5658         (implCloseChannel): Reformated.
5659         (read): w was unused, removed it.
5660         (read): Removed.
5661         (read): New method.
5662         (write): New method.
5663         (map): Check arguments.
5664         (force): Throws IOException, check if channel is closed.
5665         (transferTo): New method.
5666         (transferFrom): New method.
5667         (lock): New method.
5668         (tryLock): New method.
5669         (position): New method.
5670         (truncate): New method.
5671         (nio_mmap_file): Uncommented.
5672         (nio_munmap_file): Uncommented.
5673         (nio_msync): Uncommented.
5674         * gnu/java/nio/natFileChannelImpl.cc: New file.
5675         
5676 2003-02-13  Michael Koch  <konqueror@gmx.de>
5678         * java/nio/ByteBuffer.java
5679         (endian): New member variable.
5680         (get): New methods.
5681         (equals): New method.
5682         (compareTo): New method.
5683         (order): New methods.
5684         (compact): New method.
5685         (isDirect): New method.
5686         (slice): New method.
5687         (duplicate): New method.
5688         (asReadOnlyBuffer): New method.
5689         (asCharBuffer): New method.
5690         (asDoubleBuffer): New method.
5691         (asFloatBuffer): New method.
5692         (asIntBuffer): New method.
5693         (asLongBuffer): New method.
5694         (asShortBuffer): New method.
5695         (get*): New methods.
5696         (put*): New methods.
5697         (toString): New method.
5698         * java/nio/CharBuffer.java
5699         (CharBuffer): Implement Comparable instead of Cloneable.
5700         (get): May not be final.
5701         (put): May not be final.
5702         
5703 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
5705         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5706         lastIndexOf( ) instead of indexOf( ) to find the colon before
5707         the line number, because Win32 file names might contain a 
5708         drive letter and a colon at the start of an absolute path.
5710 2003-02-13  Michael Koch  <konqueror@gmx.de>
5712         * gnu/java/nio/natSocketChannelImpl.cc
5713         (SocketConnect): This is not implemented yet.
5714         (SocketBind): This is not implemented yet.
5716 2003-02-13  Michael Koch  <konqueror@gmx.de>
5718         * gnu/java/nio/natByteBufferImpl.cc,
5719         gnu/java/nio/natCharBufferImpl.cc,
5720         gnu/java/nio/natDoubleBufferImpl.cc,
5721         gnu/java/nio/natFloatBufferImpl.cc,
5722         gnu/java/nio/natIntBufferImpl.cc,
5723         gnu/java/nio/natLongBufferImpl.cc,
5724         gnu/java/nio/natShortBufferImpl.cc:
5725         Added copyright and license.
5726         * java/nio/DoubleBuffer.java,
5727         java/nio/FloatBuffer.java,
5728         java/nio/IntBuffer.java,
5729         java/nio/LongBuffer.java,
5730         java/nio/ShortBuffer.java
5731         (array): Throw exceptions.
5732         (arrayOffset): Throw exceptions.
5734 2003-02-13  Michael Koch  <konqueror@gmx.de>
5736         * gnu/java/util/prefs/FileBasedFactory.java,
5737         gnu/java/util/prefs/MemmoryBasedFactory.java,
5738         gnu/java/util/prefs/MemoryBasedPreferences.java,
5739         gnu/java/util/prefs/NodeReader.java,
5740         gnu/java/util/prefs/NodeWriter.java,
5741         java/util/prefs/AbstractPreferences.java,
5742         java/util/prefs/BackingStoreException.java,
5743         java/util/prefs/InvalidPreferencesFormatException.java,
5744         java/util/prefs/NodeChangeEvent.java,
5745         java/util/prefs/NodeChangeListener.java,
5746         java/util/prefs/PreferenceChangeEvent.java,
5747         java/util/prefs/PreferenceChangeListener.java,
5748         java/util/prefs/Preferences.java,
5749         java/util/prefs/PreferencesFactory.java:
5750         New files, all merged from classpath.
5751         * Makefile.am
5752         (ordinary_java_source_files): Added the following files:
5753         gnu/java/util/prefs/FileBasedFactory.java,
5754         gnu/java/util/prefs/MemmoryBasedFactory.java,
5755         gnu/java/util/prefs/MemoryBasedPreferences.java,
5756         gnu/java/util/prefs/NodeReader.java,
5757         gnu/java/util/prefs/NodeWriter.java,
5758         (core_java_source_files): Added the following files:
5759         java/util/prefs/AbstractPreferences.java,
5760         java/util/prefs/BackingStoreException.java,
5761         java/util/prefs/InvalidPreferencesFormatException.java,
5762         java/util/prefs/NodeChangeEvent.java,
5763         java/util/prefs/NodeChangeListener.java,
5764         java/util/prefs/PreferenceChangeEvent.java,
5765         java/util/prefs/PreferenceChangeListener.java,
5766         java/util/prefs/Preferences.java,
5767         java/util/prefs/PreferencesFactory.java
5768         * Makefile.in: Regenerated.
5770 2003-02-13  Michael Koch  <konqueror@gmx.de>
5772         * java/net/NetPermission.java
5773         (NetPermission): Make doucmentation match the method declaration.
5774         * java/net/NetworkInterface.java
5775         (equals): Reformated for GNU coding style.
5776         * java/net/ServerSocket.java: Merged with classpath.
5777         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5778         * java/net/SocketImpl.java
5779         (localPort): Merged with classpath (initialize with -1).
5780         * java/net/SocketPermission.java: Merged with classpath (reindented).
5781         * java/net/URLDecoder.java: Merged with classpath (reindented).
5783 2003-02-13  Michael Koch  <konqueror@gmx.de>
5785         * java/awt/GridBagConstraints.java
5786         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5787         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5788         * java/awt/KeyboardFocusManager.java
5789         (setGlobalCurrentFocusCycleRoot): Must be public.
5790         * java/awt/MenuComponent.java
5791         (MenuComponent): Must be public.
5792         * java/awt/Toolkit.java:
5793         Added some empty lines to make documentation more readable.
5794         (getFontPeer): Added @deprecated.
5795         (getColorModel): Added exception documentation.
5796         (getProperty): Fixed documentation.
5798 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5800         * configure.host (alpha*-*): Default to -mieee.
5801         * configure.in (IEEESPEC): New.
5802         * libgcj.spec.in (jc1): Add IEEESPEC.
5803         * configure: Rebuild.
5805 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5807         * include/win32.h: Include ws2tcpip.h instead of
5808         winsock.h to obtain definition of the socklen_t type.
5809         Remove IP_TOS definition - not needed with ws2tcpip.h
5810         (_Jv_connect): Correct slight formatting error.
5812 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5814         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5815         size of the arguments for a JNI function. For Win32,
5816         modify to search for all forms of possible exported
5817         names of an stdcall JNI function.
5818         (_Jv_JNIMethod::call): Modify to calculate the size
5819         of the arguments passed to a JNI function and pass
5820         it to _Jv_LookupJNIMethod.
5822 2003-02-12  Michael Koch  <konqueror@gmx.de>
5824         * java/nio/channels/Channels.java: New file.
5825         * Makefile.am
5826         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5827         * Makefile.in: Regenerated.
5829 2003-02-12  Michael Koch  <konqueror@gmx.de>
5831         * java/nio/ByteBuffer.java
5832         (allocate): Implemented.
5833         (wrap): Implemented.
5834         * java/nio/CharBuffer.java:
5835         Some documentation added and reworked.
5836         (endian): Removed.
5837         (allocate): Implemented.
5838         (wrap): Implemented.
5839         (array): Throw exceptions.
5840         (arrayOffset): Throw exceptions.
5841         (toString): Implemented.
5842         (length): Implemented.
5843         (put): Implemented.
5844         (charAt): Implemented.
5846 2003-02-11  John Leuner  <jewel@debian.org>
5848         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5849         reads from end of file.
5851 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5853         * java/io/natFileDescriptorWin32.cc 
5854         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5855         returns with Win32 error code ERROR_BROKEN_PIPE.
5857 2003-02-11  Michael Koch  <konqueror@gmx.de>
5859         * Makefile.in
5860         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5862 2003-02-11  Michael Koch  <konqueror@gmx.de>
5864         * gnu/java/nio/ByteBufferImpl.java:
5865         Reformated and removed some code.
5866         (backing_buffer): Removed.      
5867         (array_offset): Removed.
5868         (ro): Renamed to readOnly.
5869         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5870         * gnu/java/nio/CharBufferImpl.java:
5871         Reformated and removed some code.
5872         (array_offset): Removed.
5873         (ro): Renamed to readOnly.
5874         (CharBufferImpl): Use parent constructor, initialize readOnly.
5875         (inc_pos): Removed.
5876         (order): New method.
5877         * gnu/java/nio/DoubleBufferImpl.java:
5878         Reformated and removed some code.
5879         (array_offset): Removed.
5880         (ro): Renamed to readOnly.
5881         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5882         (inc_pos): Removed.
5883         (order): New method.
5884         * gnu/java/nio/FloatBufferImpl.java:
5885         Reformated and removed some code.
5886         (array_offset): Removed.
5887         (ro): Renamed to readOnly.
5888         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5889         (inc_pos): Removed.
5890         (order): New method.
5891         * gnu/java/nio/IntBufferImpl.java:
5892         Reformated and removed some code.
5893         (array_offset): Removed.
5894         (ro): Renamed to readOnly.
5895         (IntBufferImpl): Use parent constructor, initialize readOnly.
5896         (inc_pos): Removed.
5897         (order): New method.
5898         * gnu/java/nio/LongBufferImpl.java:
5899         Reformated and removed some code.
5900         (array_offset): Removed.
5901         (ro): Renamed to readOnly.
5902         (LongBufferImpl): Use parent constructor, initialize readOnly.
5903         (inc_pos): Removed.
5904         (order): New method.
5905         * gnu/java/nio/ShortBufferImpl.java:
5906         Reformated and removed some code.
5907         (array_offset): Removed.
5908         (ro): Renamed to readOnly.
5909         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5910         (inc_pos): Removed.
5911         (order): New method.
5912         * Makefile.am
5913         (ordinary_java_source_files): Added the following files:
5914         gnu/java/nio/ByteBufferImpl.java
5915         gnu/java/nio/CharBufferImpl.java
5916         gnu/java/nio/DoubleBufferImpl.java
5917         gnu/java/nio/FloatBufferImpl.java
5918         gnu/java/nio/IntBufferImpl.java
5919         gnu/java/nio/LongBufferImpl.java
5920         gnu/java/nio/ShortBufferImpl.java
5921         java/nio/DoubleBuffer.java
5922         java/nio/FloatBuffer.java
5923         java/nio/IntBuffer.java
5924         java/nio/LongBuffer.java
5925         java/nio/ShortBuffer.java
5926         (nat_source_files): Added the following files:
5927         gnu/java/nio/natByteBufferImpl.cc
5928         gnu/java/nio/natCharBufferImpl.cc
5929         gnu/java/nio/natDoubleBufferImpl.cc
5930         gnu/java/nio/natFloatBufferImpl.cc
5931         gnu/java/nio/natIntBufferImpl.cc
5932         gnu/java/nio/natLongBufferImpl.cc
5933         gnu/java/nio/natShortBufferImpl.cc
5934         * Makefile.in: Regenerated.
5936 2003-02-11  Michael Koch  <konqueror@gmx.de>
5938         * gnu/java/nio/natCharBufferImpl.cc
5939         (nio_cast): Removed.
5940         (nio_put_*): Removed.
5941         (nio_get_*): Removed.
5942         * gnu/java/nio/natDoubleBufferImpl.cc
5943         (nio_cast): Removed.
5944         (nio_put_*): Removed.
5945         (nio_get_*): Removed.
5946         * gnu/java/nio/natFloatBufferImpl.cc
5947         (nio_cast): Removed.
5948         (nio_put_*): Removed.
5949         (nio_get_*): Removed.
5950         * gnu/java/nio/natIntBufferImpl.cc
5951         (nio_cast): Removed.
5952         (nio_put_*): Removed.
5953         (nio_get_*): Removed.
5954         * gnu/java/nio/natLongBufferImpl.cc
5955         (nio_cast): Removed.
5956         (nio_put_*): Removed.
5957         (nio_get_*): Removed.
5958         * gnu/java/nio/natShortBufferImpl.cc
5959         (nio_cast): Removed.
5960         (nio_put_*): Removed.
5961         (nio_get_*): Removed.
5962         * gnu/java/nio/SelectorProviderImpl.java
5963         (openDatagramChannel): Throws IOException.
5964         (openPipe): Throws IOException.
5965         (openSelector): Throws IOException.
5966         (openServerSocketChannel): Throws IOException.
5967         (openSocketChannel): Throws IOException.
5968         * gnu/java/nio/ServerSocketChannelImpl.java
5969         (ServerSocketChannelImpl): Throws IOException.
5970         (implCloseSelectableChannel): Throws IOException.
5971         (implConfigureBlocking): Throws IOException.
5972         * java/nio/ByteBuffer.java
5973         (readOnly): Removed.
5974         (hasArray): Use isReadOnly() instead of readOnly.
5975         (array): Use isReadOnly() instead of readOnly.
5976         (arrayOffset): Use isReadOnly() instead of readOnly.
5977         * java/nio/CharBuffer.java
5978         (CharBuffer): Implements Cloneable and CharSequence.
5980 2003-02-11  Michael Koch  <konqueror@gmx.de>
5982         * java/nio/DoubleBuffer.java
5983         (DoubleBuffer): Implements Comparable.
5984         (endian): Removed.
5985         (array_offset): New member variable.
5986         (DoubleBuffer): New constuctor.
5987         (get): May not be final.
5988         (put): May not be final.
5989         (arrayOffset): Implemented.
5990         (order): Made abstract.
5991         (order): Removed.
5992         (as*Buffer): Removed.
5993         (get*): Removed.
5994         (put*): Removed.
5995         * java/nio/FloatBuffer.java
5996         (FloatBuffer): Implements Comparable.
5997         (endian): Removed.
5998         (array_offset): New member variable.
5999         (FloatBuffer): New constuctor.
6000         (get): May not be final.
6001         (put): May not be final.
6002         (arrayOffset): Implemented.
6003         (order): Made abstract.
6004         (order): Removed.
6005         (as*Buffer): Removed.
6006         (get*): Removed.
6007         (put*): Removed.
6008         * java/nio/IntBuffer.java
6009         (IntBuffer): Implements Comparable.
6010         (endian): Removed.
6011         (array_offset): New member variable.
6012         (IntBuffer): New constuctor.
6013         (get): May not be final.
6014         (put): May not be final.
6015         (arrayOffset): Implemented.
6016         (order): Made abstract.
6017         (order): Removed.
6018         (as*Buffer): Removed.
6019         (get*): Removed.
6020         (put*): Removed.
6021         * java/nio/LongBuffer.java
6022         (LongBuffer): Implements Comparable.
6023         (endian): Removed.
6024         (array_offset): New member variable.
6025         (LongBuffer): New constuctor.
6026         (get): May not be final.
6027         (put): May not be final.
6028         (arrayOffset): Implemented.
6029         (order): Made abstract.
6030         (order): Removed.
6031         (as*Buffer): Removed.
6032         (get*): Removed.
6033         (put*): Removed.
6034         * java/nio/ShortBuffer.java
6035         (ShortBuffer): Implements Comparable.
6036         (endian): Removed.
6037         (array_offset): New member variable.
6038         (ShortBuffer): New constuctor.
6039         (get): May not be final.
6040         (put): May not be final.
6041         (arrayOffset): Implemented.
6042         (order): Made abstract.
6043         (order): Removed.
6044         (as*Buffer): Removed.
6045         (get*): Removed.
6046         (put*): Removed.
6048 2003-02-11   Michael Koch  <konqueror@gmx.de>
6050         * java/nio/channels/SelectionKey.java
6051         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6052         values.
6054 2003-02-11  Michael Koch  <konqueror@gmx.de>
6056         * java/nio/channels/DatagramChannel.java
6057         (write): Throws IOException.
6058         (connect): Throws IOException.
6059         (disconnect): Throws IOException.
6060         (read): Throws IOException.
6061         (receive): Throws IOException.
6062         (send): Throws IOException.
6063         * java/nio/channels/Pipe.java
6064         (open): Throws IOException.
6065         * java/nio/channels/SelectableChannel.java
6066         (configureBlocking): Throws IOException.
6067         * java/nio/channels/ServerSocketChannel.java
6068         (accept): Throws IOException.
6069         * java/nio/channels/SocketChannel.java
6070         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6071         GatheringByteChannel.
6072         (read): Throws IOException.
6073         (write): Throws IOException.
6074         (finishConnect): Throws IOException.
6075         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6076         (end): Throws AsynchronousCloseException.
6077         * java/nio/channels/spi/AbstractSelectableChannel.java
6078         (configureBlocking): Throws IOException.
6079         (implCloseChannel): Throws IOException.
6080         (implCloseSelectableChannel): Throws IOException.
6081         (implConfigureBlocking): Throws IOException.
6082         * java/nio/channels/spi/SelectorProvider.java
6083         (openDatagramChannel): Throws IOException.
6084         (openPipe): Throws IOException.
6085         (openSelector): Throws IOException.
6086         (openServerSocketChannel): Throws IOException.
6087         (openSocketChannel): Throws IOException.
6089 2003-02-11  Michael Koch  <konqueror@gmx.de>
6091         * gnu/java/nio/FileLockImpl.java,
6092         java/nio/channels/FileLock.java: New files.
6094 2003-02-11  Michael Koch  <konqueror@gmx.de>
6096         * java/nio/charset/IllegalCharsetNameException.java
6097         (serialVersionUID): New member variable.
6098         (charsetName): New member variable.
6099         (IllegalCharsetException): New implementation.
6100         (getCharsetName): New implementation.
6101         * java/nio/charset/UnsupportedCharsetException.java
6102         (serialVersionUID): New member variable.
6103         (charsetName): New member variable.
6104         (UnsupportedCharsetException): New implementation.
6105         (getCharsetName): New implementation.
6107 2003-02-10  Tom Tromey  <tromey@redhat.com>
6109         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6110         (ex): Renamed from sqlException.
6112 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
6114         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
6115         method used to ensure seeding has occurred and that a specific 
6116         seed can be set and used.
6118 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
6120         * java/lang/Win32Process.java (destroy): Declare as native.
6121         (hasExited): New native method.
6122         (exitValue): Define.
6123         (getErrorStream): Likewise.
6124         (getInputStream): Likewise.
6125         (getOutputStream): Likewise.
6126         (waitFor): Declare as native.
6127         (startProcess): New native method.
6128         (cleanup): Likewise.
6129         (ConcreteProcess): Define.
6130         (outputStream, inputStream, errorStream): New members.
6131         (procHandle, exitCode): Likewise.
6133         * java/lang/natWin32Process.cc
6134         (java::lang::ConcreteProcess::cleanup): Define.
6135         (java::lang::ConcreteProcess::destroy): Likewise.
6136         (java::lang::ConcreteProcess::hasExited): Likewise.
6137         (java::lang::ConcreteProcess::waitFor): Likewise.
6138         (new_string): Likewise.
6139         (java::lang::ConcreteProcess::startProcess): Likewise.
6141 2003-02-10  Raif S. Naffah <raif@fl.net.au>
6143         * java/math/BigInteger.java:
6144         Updated notice to include years 2002 and 3.
6145         Added 2 private (int) arrays with values from the HAC (Handbook of
6146         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6147         and t[] that contains nbr. of tests --used in isProbablePrime().
6149         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6151         * java/math/BigInteger.java (make(int[],int), add(int,int),
6152         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6153         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6154         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6155         make(long).
6157         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6158         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6159         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6160         BIs and returns void.
6161         (modInverse(BI)): Use new signatures of euclidInv().
6163         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6164         static small primes instead of remainder().
6165         Use pre-computed max nbr of trials based on bitlength of BI to test.
6166         Use pre-computed small primes for the trial tests instead of random
6167         numbers.
6169         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6170         not used.
6172         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6173         invoacation of MPN.chars_per_word().  not used.
6175         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6176         local var and used where needed.
6178         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6179         Combined declaration with initialisation of locals.
6180         Removed unused var.
6182         * java/math/BigInteger.java: Style changes
6183         (pow(int)): Removed 'else' keyword.
6184         (toString(int)): idem.
6185         (doubleValue()): idem.
6186         (bitLength()): idem.
6187         (equals(Object)): Use static methods name in same class w/o prepending
6188         class name.
6189         (doubleValue()): idem.
6190         (setNegative(BI)): idem.
6191         (negate()): idem.
6192         (and(BI,int)): idem.
6193         (and(BI)): idem.
6194         (gcd(BI)): idem.
6195         (byteArrayToIntArray()): Removed casting to (int). this is
6196         std. behaviour.
6197         (canonicalize()): idem.
6198         (alloc(int)): Always instantiate a new BI.
6200 2003-02-10  Tom Tromey  <tromey@redhat.com>
6202         * java/sql/Timestamp.java (compareTo(Object)): New method.
6203         (compareTo(Timestamp)): Likewise.
6204         (serialVersionUID): Updated.
6206 2003-02-07  Mark Wielaard  <mark@klomp.org>
6208         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6209         when verify is true.
6210         (JarFile(File, boolean)): Likewise.
6211         (manifestRead): Set manifestRead field correctly.
6213 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6215         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6216         tests; see patch #1016 on Savannah.
6218 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6220         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6221         (toString): do not return Strings starting with . and - erroneously.
6222         Improves Mauve results to 12 of 600 instead of 16 of 338 on
6223         DiagBigDecimal.
6225 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6227         * java/beans/PropertyDescriptor.java
6228         (PropertyDescriptor(String, Class)): Sanity check getter and setter
6229         methods.
6230         (PropertyDescriptor(String, Class, String, String)): Likewise.
6231         (PropertyDescriptor(String, Method, Method): Factor out getter and
6232         setter method sanity checks into new method.
6233         (findMethods): Don't do parameter sanity checking of get method here.
6234         (checkMethods): New method.
6236 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6238         * java/beans/PropertyDescriptor.java: Reformat.
6240 2003-02-04  Tom Tromey  <tromey@redhat.com>
6242         * java/io/PipedOutputStream.java (flush): Declare as throwing
6243         IOException.
6244         (close): Likewise.
6245         * java/io/PipedWriter.java (close): Declare as throwing
6246         IOException.
6247         * java/io/StringWriter.java (close): Declare as throwing
6248         IOException.
6250 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6252         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6253         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6254         could also have been exported as "JNI_OnLoad@8" (MinGW) or
6255         "_JNI_OnLoad@8" (MSVC).
6257 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6259         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6260         convention on Win32 to invoke native JNI methods.
6262 2003-02-03  Andrew Haley  <aph@redhat.com>
6264         * configure.host (x86_64): Enable interpreter.
6266 2003-02-03  Andrew Haley  <aph@redhat.com>
6268         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6269         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6270         * configure.in (BACKTRACESPEC): New.
6271         * configure: Regenerate.
6273 2003-02-02  Tom Tromey  <tromey@redhat.com>
6275         * configure: Rebuilt.
6276         * configure.in (TOOLKIT) [xlib]: Set correctly.
6278         * Makefile.in: Rebuilt.
6279         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6280         libstdc++.
6282 2003-01-31  Mark WIelaard  <mark@klomp.org>
6284         * Makefile.in: Rebuilt.
6285         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6287 2003-01-31  Tom Tromey  <tromey@redhat.com>
6289         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6290         cast to element type.
6291         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6292         (_Jv_JNI_GetObjectArrayElement): Likewise.
6294         * Makefile.in: Rebuilt.
6295         * Makefile.am (cond_x_ltlibrary): Renamed library to
6296         lib-gnu-awt-xlib.la.
6297         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6298         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6299         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6300         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6301         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6302         (lib_gnu_awt_xlib_la_LINK): Likewise.
6303         (install-exec-hook): Removed.
6304         (lib-gnu-awt-xlib.la): Renamed.
6306 2003-01-31  Tom Tromey  <tromey@redhat.com>
6308         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6309         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6310         aclocal.m4 and lost in some merge.
6312         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6313         Don't try to find graphics configuration.
6314         * java/awt/Toolkit.java (default_toolkit_name): Use new
6315         Configuration entry.
6316         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6317         New global.
6318         * configure: Rebuilt.
6319         * configure.in (TOOLKIT): New subst.
6320         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6321         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
6322         directory.  Make output directories for .c files.
6323         * Makefile.in: Rebuilt.
6324         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6325         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6326         (all_java_source_files): Added new sources.
6327         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6328         (gtk_c_files): New macro.
6329         (gtk_c_source_files): New macro.
6330         (cond_gtk_ltlibrary): New macro.
6331         ($(gtk_c_files)): New target.
6332         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6333         (gtk_awt_peer_sources): New macro.
6334         (gtk_c_headers): New macro.
6335         ($(gtk_c_headers)): New target.
6336         (ACLOCAL_AMFLAGS): New macro.
6337         * gtk.m4, glib.m4, libart.m4: New files.
6338         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6339         gnu/java/awt/peer/gtk/GdkGraphics.java,
6340         gnu/java/awt/peer/gtk/GtkArg.java,
6341         gnu/java/awt/peer/gtk/GtkArgList.java,
6342         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6343         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6344         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6345         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6346         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6347         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6348         gnu/java/awt/peer/gtk/GtkClipboard.java,
6349         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6350         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6351         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6352         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6353         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6354         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6355         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6356         gnu/java/awt/peer/gtk/GtkImage.java,
6357         gnu/java/awt/peer/gtk/GtkImagePainter.java,
6358         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6359         gnu/java/awt/peer/gtk/GtkListPeer.java,
6360         gnu/java/awt/peer/gtk/GtkMainThread.java,
6361         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6362         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6363         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6364         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6365         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6366         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6367         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6368         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6369         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6370         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6371         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6372         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6373         gnu/java/awt/peer/gtk/GtkToolkit.java,
6374         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6375         gnu/java/awt/peer/gtk/TestAWT.java,
6376         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6378         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6381         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6382         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6383         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6384         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6404         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6405         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6406         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6407         jni/classpath/native_state.c, jni/classpath/native_state.h,
6408         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6410 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
6412         * java/util/Properties.java (load): Ignore backslash before EOF.
6414 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
6416         * java/lang/natClass.cc (initializeClass): Check tables when
6417         (state == JV_STATE_IN_PROGRESS).
6418         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6419         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6420         interpreted classes.
6421         (linkClass0): Use _Jv_WaitForState.
6423 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
6425         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6426         object when finished.
6428 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
6430         * libjava/configure.host: Disable can_unwind_signal on darwin.
6432 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
6434         Fixes PR java/9254:
6435         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6436         additionally containing id of the owner thread as well as
6437         the number of nested times the thread has acquired the mutex.
6438         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6439         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6440         (_Jv_MutexUnlock): Check if really the owner thread, reset
6441         owner thread id to 0 before leaving, if leaving for the last
6442         time.
6443         (_Jv_MutexLock): Set owner thread id in the mutex and increment
6444         refcount.
6445         (_Jv_ThreadYield): Yield using a call to Sleep(0).
6446         * win32-threads.cc (_Jv_CondWait): Check if really owner of
6447         the passed mutex.
6448         Pass handle of the broadcast event, instead of a pointer to it
6449         in Win32 ResetEvent( ) call.
6450         Remove incorrect return values.
6451         (_Jv_CondDestroy): Close both event handles and delete
6452         critical section.
6453         (_Jv_CondNotify): Check if really the owner thread.
6454         (_Jv_CondNotifyAll): Check if really the owner thread.
6455         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6456         (really_start): Use SetEvent( ) to signal daemon_cond.
6457         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6458         WaitForSingleObject( ) instead to wait for daemon_cond to be
6459         signalled.
6461 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
6463         * configure.in: Specifically define HAVE_BACKTRACE if building
6464         for MinGW.
6465         * include/win32.h: Remove HAVE_BACKTRACE definition.
6466         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6467         * configure: Rebuilt.
6469 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
6471         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6472         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
6473         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6474         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6475         * Makefile.in, configure: Rebuilt.
6477 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
6479         Fixes PR java/9253:
6480         * java/io/natFileWin32.cc (performList): Append only "*.*"
6481         if the canonical file path already has a "\" at the end.
6483 2003-01-24  Tom Tromey  <tromey@redhat.com>
6485         * defineclass.cc (handleMethodsEnd): Precompute code for static
6486         method.
6487         (handleCodeAttribute): Likewise.
6488         * resolve.cc (ncode): Use run_class for unsynchronized static
6489         methods.
6490         * include/java-interp.h (class _Jv_InterpMethod): Declare
6491         run_class.
6492         * interpret.cc (run_synch_class): Initialize class.
6493         (run) [insn_invokestatic]: Don't initialize class.
6494         [insn_anewarray]: Likewise.
6495         [insn_multianewarray]: Likewise.
6496         (run_class): New function.
6498 2003-01-24  Tom Tromey  <tromey@redhat.com>
6500         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6501         comment.
6503 2003-01-22  Andrew Haley  <aph@redhat.com>
6505         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6506         * configure.host (CHECKREFSPEC): Define for x86_64.
6508 2003-01-21  Tom Tromey  <tromey@redhat.com>
6510         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6511         search at 2, not 3.
6513 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
6515         * java/io/natFileWin32.cc (isAbsolute): Check path length before
6516         looking at any characters.
6517         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6518         be used.
6519         (isAbsolute): Check path's length as well.
6521 2003-01-17  Mark Wielaard  <mark@klomp.org>
6523         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6524         (nat_source_files): Add natVMObjectStreamClass.cc.
6525         * Makefile.in: Regenerated.
6526         * gcj/javaprims.h (namespace java): Regenerated.
6527         * java/io/ObjectStreamClass.java (getClassUID): Call
6528         VMObjectStreamClass.hasClassInitializer().
6529         (hasClassInitializer): Removed.
6530         * java/io/VMObjectStreamClass.java: New class.
6531         * java/io/natVMObjectStreamClass.cc: New file.
6532         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6534 2003-01-16  Mark Wielaard  <mark@klomp.org>
6536         * java/net/SocketImpl.java (toString): Don't explicitly call
6537         toString() on possible null address.
6539 2003-01-16  Michael Koch  <konqueror@gmx.de>
6541         * java/net/MulticastSocket.java
6542         (setInterface): Reindented.
6544 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6546         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6547         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6548         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6549         translateY arguments.  Implement.
6550         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6551         down translation arguments.
6552         (drawPolyline, drawPolygon): Fix incorrect tests.
6553         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6554         translateX and translateY arguments.
6556 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6558         * Makefile.in: Rebuilt.
6559         * Makefile.am (xlib_includes): New macro.
6560         (INCLUDES): Use it.
6562 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6564         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6565         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6566         16-bit display mode.
6568 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6570         * java/awt/CardLayout.java (show): Rewrote.
6571         (gotoComponent): Removed `target' argument.  Simplified code.
6572         Don't pre-compute `choice' unless `what' is FIRST or LAST.
6573         Changed all callers.
6574         (NONE): Removed.
6575         
6576 2003-01-14  Michael Koch  <konqueror@gmx.de>
6578         * java/net/InetSocketAddress.java
6579         (serialVersionUID): New member variable.
6580         * java/net/NetPermission.java
6581         (NetPermission): Dont implement java.io.Serialization directly.
6582         * java/net/SocketAddress.java:
6583         (serialVersionUID): Documentation added.
6584         
6585 2003-01-14  Michael Koch  <konqueror@gmx.de>
6587         * java/awt/Label.java
6588         (Label): Implements javax.accessibility.Accessible;
6589         * java/awt/List.java
6590         (List): Implements javax.accessibility.Accessible;
6591         * java/awt/ScrollPane.java
6592         (ScrollPane): Implements javax.accessibility.Accessible;
6593         * java/awt/Scrollbar.java
6594         (Scrollbar): Implements javax.accessibility.Accessible;
6595         * java/awt/TextComponent.java
6596         (setCaretPosition): Throw exception, documentation added.
6597         * java/awt/Toolkit.java:
6598         Added some newlines in method documentations.
6599         (createButton): Exception documentation added.
6600         (createTextField): Exception documentation added.
6601         (createLabel): Exception documentation added.
6602         (createList): Exception documentation added.
6603         (createCheckbox): Exception documentation added.
6604         (createScrollbar): Exception documentation added.
6605         (createScrollPane): Exception documentation added.
6606         (createTextArea): Exception documentation added.
6607         (createChoice): Exception documentation added.
6608         (createFrame): Exception documentation added.
6609         (createWindow): Exception documentation added.
6610         (createDialog): Exception documentation added.
6611         (createMenuBar): Exception documentation added.
6612         (createMenu): Exception documentation added.
6613         (createMenuItem): Exception documentation added.
6614         (createFileDialog): Exception documentation added.
6615         (createCheckboxMenuItem): Exception documentation added.
6616         (loadSystemColors): Exception documentation added.
6617         (setDynamicLayout): Exception documentation added.
6618         (isDynamicLayoutSet): Exception documentation added.
6619         (isDynamicLayoutActive): Exception documentation added.
6620         (getScreenSize): Exception documentation added.
6621         (getScreenResolution): Exception documentation added.
6622         (getScreenInsets): Exception documentation added.
6623         (getColorModel): Exception documentation added.
6624         (getSystemClipboard): Exception documentation added.
6625         (getSystemSelection): Exception documentation added.
6626         (getMenuShortcutKeyMask): Exception documentation added.
6627         (getSystemEventQueue): Exception documentation added.
6628         * java/awt/Window.java:
6629         Reindented some code.
6630         (Window): Centralized implementation, documentation added.
6631         (finalize): Documentation added.
6632         (hide): Fixed typo in comment.
6633         (getWindowListeners): Documentation added.
6634         * java/awt/color/ColorSpace.java
6635         (toRGB): Documentation added.
6636         * java/awt/color/ICC_ColorSpace.java
6637         (ICC_ColorSpace): Documentation added.
6638         (toRGB): Throw exception, documentation added.
6639         (fromRGB): Throw exception, documentation added.
6640         (toCIEXYZ): Documentation added.
6641         (fromCIEXYZ): Documentation added.
6642         (getMinValue): Documentation added.
6643         (getMaxValue): Documentation added.
6644         * java/awt/geom/Dimension2D.java
6645         (clone): Documentation added.
6646         * java/awt/geom/GeneralPath.java
6647         (clone): Documentation added.
6648         * java/awt/geom/Line2D.java
6649         (clone): Documentation added.
6650         * java/awt/geom/QuadCurve2D.java
6651         (clone): Documentation added.
6652         * java/awt/image/ColorModel.java
6653         (ColorModel): Throw exception, documentation added.
6654         * java/awt/image/ImageFilter.java
6655         (clone): Doesnt throw CloneNotSupportedException.
6657 2003-01-14  Andrew Haley  <aph@redhat.com>
6659         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6660         in a try block.
6662 2003-01-10  Andrew Haley  <aph@redhat.com>
6664         * include/dwarf2-signal.h: Remove x86_64.
6665         * configure.host (x86_64 DIVIDESPEC): Remove.
6666         * include/x86_64-signal.h: New file.
6667         * configure.in: Regenerate.
6669 2003-01-10  Michael Koch  <konqueror@gmx.de>
6671         * java/net/DatagramSocket.java
6672         (ch): Description added.
6673         (remotePort): Initialize with -1.
6674         (connect): Doesnt throws SocketException.
6675         * java/net/MulticastSocket.java
6676         (setInterface): Merge with Classpath.
6677         * java/net/ServerSocket.java
6678         (closed): New member variable.
6679         (bind): Check if socket is closed.
6680         (close): Close an associated channel too, set new value to closed.
6681         (isBound): Reindented.
6682         (isClosed): Implemented.
6683         * java/net/Socket.java
6684         (closed): New member variable.
6685         (bind): Check if socket is closed.
6686         (connect): Check if socket is closed.
6687         (close): Close an associated channel too, set new value to closed.
6688         (isClosed): Implemented.
6690 2003-01-10  Michael Koch  <konqueror@gmx.de>
6692         * java/awt/DisplayMode.java
6693         (equals): Fixed argument type and implementation.
6695 2003-01-07  Tom Tromey  <tromey@redhat.com>
6697         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6698         JV_HASH_SYNCHRONIZATION.
6699         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6700         JV_HASH_SYNCHRONIZATION.
6702 2003-01-07  Michael Koch  <konqueror@gmx.de>
6704         * java/net/DatagramSocket.java:
6705         Added classpath license info.
6706         (DatagramSocket): Merged description with classpath.
6707         (close): Merged description with classpath.
6708         (getChannel): Merged description with classpath.
6709         (getInetAddress): Merged description with classpath.
6710         (getPort): Merged description with classpath.
6711         (getLocalAddress): Merged description with classpath.
6712         (getLocalPort): Merged description with classpath.
6713         (getSoTimeout): Merged description with classpath.
6714         (setSoTimeout): Merged description with classpath.
6715         (getSendBufferSize): Merged description with classpath.
6716         (setSendBufferSize): Merged description with classpath.
6717         (getReceiveBufferSize): Merged description with classpath.
6718         (setReceiveBufferSize): Merged description with classpath.
6719         
6720 2003-01-04  Tom Tromey  <tromey@redhat.com>
6722         * java/awt/List.java: Merged with Classpath.
6724 2003-01-03  Mark Wielaard  <mark@klomp.org>
6726         * java/io/FileDescriptor.java (position): New private field.
6727         * java/io/natFileDescriptorPosix.cc (write): Up position.
6728         (setLength): Use and set position.
6729         (seek): Set position.
6730         (getFilePointer): Return position.
6731         (read): Up position.
6733 2003-01-03  Mark Wielaard  <mark@klomp.org>
6735         Merge with Classpath:
6736         * java/io/ObjectStreamClass.java (lookup): Split method and call
6737         lookupForClassObject().
6738         (lookupForClassObject): New method.
6739         (isProxyClass): New field.
6740         (setClass): Set isProxyClass, add object to classLookupTable, set
6741         superClass and calculateOffsets.
6742         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6743         and not a proxy class.
6744         (setFields): Set accessible true for serialPersistentFields.
6745         (getClassUID): Same for suid. And check if suid is of type long.
6746         (hasClassInitializer): Don't throw NoSuchMethodError.
6748 2003-01-03  Mark Wielaard  <mark@klomp.org>
6750         * java/io/FileInputStream.java (finalize): Don't explicitly
6751         finalize FileDescriptor.
6753 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6755         * configure.host (sparc*-*): Enable bytecode interpreter.
6757 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6759         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6760         Don't throw RemoteException.
6761         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6762         throw RemoteException.
6764 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6766         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6767         proxyHost): New static fields.
6768         (<clinit>): Initialize new fields.
6769         (connect): Use proxy if necessary.
6770         (usingProxy): Implement.
6772 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6774         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6775         (TreeIterator.remove): Prefer IllegalStateException over
6776         ConcurrentModificationException, to match Sun.
6778 2002-12-22  Anthony Green  <green@redhat.com>
6780         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6782 2003-01-02  Mark Wielaard  <mark@klomp.org>
6784         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6785         public.
6786         (HTTP_USE_PROXY): Add field.
6787         (getResponseVals): Only set responseCode when not yet explicitly
6788         set by subclass.
6790 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6791             Mark Wielaard  <mark@klomp.org>
6793         * java/util/zip/ZipFile.java (entries): Now HashMap.
6794         (readLeShort(DataInput, byte[])): Read from given byte array.
6795         (readLeInt(DataInput, byte[]): Likewise.
6796         (readLeShort(byte[] b, int off)): New method.
6797         (readLeInt(byte[] b, int off)): Likewise.
6798         (readEntries): Use byte arrays to read info in bigger chunks.
6799         (getEntries): Return HashMap.
6800         (getEntry): Use HashMap.
6801         (locBuf): New private field.
6802         (checkLocalHeader): Use locBuf to read info in one chunk.
6803         (getInputStream): Use entries HashMap, wrap PartialInputStream
6804         in BufferedInputStream.
6805         (ZipEntryEnumeration): Use HashMap and Interator.
6807 2003-01-02  Mark Wielaard  <mark@klomp.org>
6808             Jeroen Frijters  <jeroen@sumatra.nl>
6810         * java/net/URLClassLoader.java (Resource.getCodeSource):
6811         Fix check certs == null.
6812         (getCanonicalFileURL): Removed method.
6813         (JarURLLoader): Don't call removed method.
6814         (FileURLLoader): Likewise.
6815         (FileURLLoader.getResource): Don't canonicalize file name.
6817 2003-01-01  Tom Tromey  <tromey@redhat.com>
6819         * Makefile.in: Rebuilt.
6820         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6821         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6822         java/awt/BufferCapabilities.java, java/awt/Button.java,
6823         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6824         java/awt/Container.java, java/awt/Cursor.java,
6825         java/awt/EventQueue.java, java/awt/FileDialog.java,
6826         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6827         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6828         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6829         java/awt/Scrollbar.java, java/awt/TextArea.java,
6830         java/awt/TextField.java, java/awt/color/CMMException.java,
6831         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6832         java/awt/color/ProfileDataException.java,
6833         java/awt/datatransfer/Clipboard.java,
6834         java/awt/datatransfer/DataFlavor.java,
6835         java/awt/datatransfer/FlavorMap.java,
6836         java/awt/datatransfer/SystemFlavorMap.java,
6837         java/awt/dnd/DragGestureEvent.java,
6838         java/awt/dnd/DragGestureRecognizer.java,
6839         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6840         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6841         java/awt/im/InputMethodHighlight.java,
6842         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6843         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6845         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6846         `op' to BufferedImageOp.
6848 2002-12-31  Tom Tromey  <tromey@redhat.com>
6850         Fix for PR libgcj/7416:
6851         * javax/naming/InitialContext.java (init): Use
6852         gnu.classpath.home.url.
6853         * java/security/Security.java: Use new properties.
6854         (loadProviders): Accept base url; use it.
6855         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6856         gnu.classpath.home.url.
6857         (gnu.classpath.home.url): Define.
6858         (gnu.classpath.vm.shortname): Likewise.
6860 2002-12-31  Tom Tromey  <tromey@redhat.com>
6861             Ranjit Mathew  <rmathew@hotmail.com>
6863         Fix for PR libgcj/8997:
6864         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6865         Include platform.h.
6866         * include/posix.h (_Jv_platform_usleep): New function.
6867         * include/win32.h (_Jv_platform_usleep): New function.
6869 2002-12-29  Tom Tromey  <tromey@redhat.com>
6871         * gcj/javaprims.h: Updated.
6872         * scripts/classes.pl (scan): Removed stray semicolon.
6874 2002-12-30  Mark Wielaard  <mark@klomp.org>
6876         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6877         if zero or smaller.
6879 2002-12-30  Mark Wielaard  <mark@klomp.org>
6881         * java/util/Properties (formatForOutput): Don't fall through to
6882         default case after escaping character.
6884 2002-12-30  Mark Wielaard  <mark@klomp.org>
6886         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6887         against count.
6889 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6891         * boehm.cc: Remove stray semicolon.
6892         * interpret.cc: Likewise.
6893         * prims.cc: Likewise.
6894         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6895         earlier to ensure default arguments are processed.
6896         * gcj/array.h (JArray): Add forward declaration.
6897         (elements): Likewise.
6898         * gcj/javaprim.h: Remove stray semicolons.
6899         * include/bohm-gc.h: Likewise.
6900         * include/jni.h: Likewise.
6901         * include/jvm.h: Likewise.
6902         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6903         
6904 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6906         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6907         of catch_type.
6908         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6909         idt tables after initializing superclass.
6910         * java/lang/natClassLoader.cc (uaddr): New typedef.
6911         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6912         if they are constant pool indicies.  Don't link vtable, otable yet.
6914 2002-12-21  Anthony Green  <green@redhat.com>
6916         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6917         libraries.
6918         * Makefile.in: Rebuilt.
6920 2002-12-19  Anthony Green  <green@redhat.com>
6922         * Makefile.am (ordinary_java_source_files): Add
6923         org/xml/sax/helpers/NewInstance.java.
6924         * Makefile.in: Rebuilt.
6925         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6926         org/xml/sax/helpers/package.html: New files.
6927         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6928         http://www.saxproject.org.
6930 2002-12-19  Andrew Haley  <aph@redhat.com>
6932         * java/util/natResourceBundle.cc: Include
6933         ArrayIndexOutOfBoundsException.h.
6934         (getCallingClassLoader): Don't put upper bound on stack search.
6935         Catch ArrayIndexOutOfBoundsException.
6937 2002-12-19  Tom Tromey  <tromey@redhat.com>
6939         * libtool-version: Increased `current'.
6941 2002-12-19  Tom Tromey  <tromey@redhat.com>
6943         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6944         comment.
6945         * java/lang/ClassLoader.java (defineClass): Use chained
6946         exception when rethrowing.
6947         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6948         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6949         constants.
6950         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6951         (_Jv_PrepareClass): Use it.
6952         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6953         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6954         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6955         (Class): _Jv_PrepareMissingMethods now friend.
6956         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6957         Record `NULL' for system class loader.
6958         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6959         system class loader.
6960         (_Jv_FindClassInCache): Likewise.
6961         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6962         (_Jv_FindClass): Special case system class loader.
6963         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6964         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6965         vtable slots.
6966         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6967         in a final class.
6968         (_getDeclaredMethod): Don't return synthetic methods.
6969         (getDeclaredMethods): Likewise.
6970         (_getMethod): Likewise.
6971         (_getMethods): Likewise.
6973 2002-12-18  Raif Naffah  <raif@fl.net.au>
6975         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6976         canonical form after divide().
6977         (modInverse): Likewise.
6979 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6980             Mark Wielaard  <mark@klomp.org>
6982         * java/security/SecurityRandom (digest): Removed field.
6983         (SecureRandom): Check all providers for case-insensitive SecureRandom
6984         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6985         if necessary.
6986         (getInstance(String,Provider,boolean): New method.
6987         (getInstance(String)): Use new method.
6988         (getInstance(String,String)): Likewise.
6989         (getInstance(String,Provider)): Likewise.
6991 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6993         * java/security/Security.java (loadProviders): Increment i only once.
6995 2002-12-12  Mark Wielaard  <mark@klomp.org>
6997         * java/lang/ClassLoader.java (resolveClass0): Transform
6998         ClassNotFoundException to NoClassDefFoundError. Transform all other
6999         throwables to LinkageError.
7001 2002-12-11  Tom Tromey  <tromey@redhat.com>
7003         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7005         * java/lang/ClassLoader.java (loadedClasses): New field.
7006         (defineClass): Fixed indentation.  Put new class in
7007         loadedClasses.
7008         (findLoadedClass): Implement here.
7009         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7011 2002-12-10  Tom Tromey  <tromey@redhat.com>
7013         * Makefile.in: Rebuilt.
7014         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7015         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7016         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7017         * java/lang/natClassLoader.cc
7018         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7020 2002-12-10  Mark Wielaard  <mark@klomp.org>
7021             Tom Tromey  <tromey@redhat.com>
7023         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7024         (JarURLLoader): Use it.
7025         (FileURLLoader): Likewise.
7026         (JarURLResource.getURL): Use chained exception.
7027         (FileResource.getURL): Likewise.
7028         (FileURLLoader.getResource): Use canonical file name.
7029         (addURL): Indentation fix.
7031 2002-12-10  Tom Tromey  <tromey@redhat.com>
7033         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7034         From Laurent Bardet <l.bardet@magic.fr>.
7036 2002-12-09  Tom Tromey  <tromey@redhat.com>
7038         * include/win32.h (_Jv_platform_solib_prefix): New define.
7039         (_Jv_platform_solib_suffix): Likewise.
7040         * include/posix.h (_Jv_platform_solib_prefix): New define.
7041         (_Jv_platform_solib_suffix): Likewise.
7042         * java/lang/natRuntime.cc: Include StackTrace.h.
7043         (_load): Use findLibrary and new platform defines.
7044         (nativeGetLibname): Use new platform defines.
7046         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7047         `t' won't be null.
7049 2002-12-08  Mark Wielaard  <mark@klomp.org>
7051         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7052         cache remote jar files.
7053         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7054         add File.separator to URL when it is a directory.
7055         * java/lang/ClassLoader.java: Add Classpath javadoc.
7056         (parent): final.
7057         (getParent): Add (disabled) security check.
7058         (findLibrary): New default method.
7059         * java/net/JarURLConnection.java (getManifest): Implement.
7060         (getInputStream): Only create InputStream when entry exists.
7061         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7062         when they exist.
7063         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7065 2002-12-08  Mark Wielaard  <mark@klomp.org>
7067         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7068         (lastDefaultLocale): New field.
7069         (getBundle): When Locale.getDefault != lastDefaultLocale reset
7070         resourceBundleCache.
7072 2002-12-06  Mark Wielaard  <mark@klomp.org>
7074         * java/net/InetAddress.java (toString): Use hostname when not null,
7075         don't do an explicit reverse getHostName() lookup.
7076         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7077         NullPointerException.
7079 2002-12-06  Tom Tromey  <tromey@redhat.com>
7081         * include/java-interp.h (class _Jv_InterpMethod): Added
7082         JV_MARKOBJ_DECL.
7083         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
7084         mark `prepared' field of interpreted method.
7085         * interpret.cc (compile): Use _Jv_AllocBytes.
7087 2002-12-05  Andrew Haley  <aph@redhat.com>
7089         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7090         #ifdef (HAVE_BACKTRACE) around the whole function body.
7092 2002-12-05  Tom Tromey  <tromey@redhat.com>
7094         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7095         * resolve.cc: Don't include AbstractMethodError.h.
7096         (_Jv_abstractMethodError): Removed.
7097         * defineclass.cc (handleMethodsBegin): Initialize method index to
7098         -1.
7099         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7100         method index for "new" final method.
7101         (_Jv_SetVTableEntries): Compare index against -1 instead of using
7102         isVirtualMethod.  Added `flags' argument.
7103         (_Jv_MakeVTable): Throw exception for abstract method in concrete
7104         class.
7106 2002-12-04  Tom Tromey  <tromey@redhat.com>
7108         * java/net/SocketPermission.java (hashCode): Rewrote.
7110 2002-12-04  Tom Tromey  <tromey@redhat.com>
7112         * Makefile.in: Rebuilt.
7113         * Makefile.am (nat_source_files): Added natVMSecurityManager,
7114         natResourceBundle.
7115         * java/util/ResourceBundle.java (Security): Removed.
7116         (getCallingClassLoader): Now native.
7117         * java/util/natResourceBundle.cc: New file.
7118         * java/lang/natVMSecurityManager.cc: New file.
7119         * java/lang/VMSecurityManager.java (getClassContext): Now native.
7121 2002-12-03  Mark Wielaard  <mark@klomp.org>
7123         * java/util/jar/JarFile.java (manifest): Not final.
7124         (manifestRead): New field.
7125         (JarFile): Don't read Manifest in constructor.
7126         (getManifest): New method.
7127         (JarEnumeration.nextElement): Use new method.
7128         (getEntry): Likewise.
7129         * java/util/zip/ZipFile.java (name): Final.
7130         (raf): Likewsie.
7131         (entries): Change type to Hashtable.
7132         (closed): New field.
7133         (ZipFile): Don't read enties in constructor.
7134         (readEntries): Use Hashtable.
7135         (close): Set new close flag and set entries to null inside
7136         synchronized block.
7137         (entries): Contruct enumeration using new getEntries() method and
7138         entries Hashtable.
7139         (getEntryIndex): Removed.
7140         (getEntries): New method.
7141         (getEntry): Use new getEntries() method and entries Hastable.
7142         (getInputStream): Likewise.
7143         (size): Return getEntries().size().
7144         (ZipEntryEnumeration): Wrap entries Hashtable elements.
7145         * java/util/zip/ZipEntry.java (cal): Don't initialize.
7146         (time): Removed
7147         (dostime): New field.
7148         (zipFileIndex): Removed.
7149         (ZipEntry(ZipEntry)): Copy dostime.
7150         (setDOSTime): Now final and doesn't convert dos time.
7151         (getDOSTime): Likewise.
7152         (setTime): Convert dos time.
7153         (getTime): Likewise.
7154         (getCalendar): New method.
7155         (setExtra): Use setTime().
7156         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7158 2002-12-03  Tom Tromey  <tromey@redhat.com>
7160         * java/lang/Character.java (forDigit): Formatting fix.
7162 2002-12-03  Raif Naffah  <raif@fl.net.au>
7164         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7165         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7166         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7168 2002-12-03  Andrew Haley  <aph@redhat.com>
7170         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7171         _Jv_PushClass.
7172         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7173         (_Jv_PopClass): New.
7174         (_Jv_PushClass): New.
7175         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7176         discover the ClassLoader of our caller.
7177         (_Jv_CheckArrayStore): Don't check that a class is assignment
7178         compatible with Object.
7179         * java/lang/natVMTHrowable.cc: Delete.
7180         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7181         java.lang.VMThrowable.
7182         (StackTrace(), StackTrace(int)): New constructors.
7183         (classAt, methodAt, update, methodAtAddress): New methods.
7184         (map): New field.
7185         * java/lang/VMThrowable.java: Use StackTrace instead of
7186         natVMTHrowable.
7187         * java/lang/Class.h (getClassLoaderInternal): New.
7188         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7189         Be friendly with gnu::gcj::runtime::StackTrace.
7190         (Object.chain): New field.
7191         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7192         gnu::gcj::runtime::StackTrace.
7193         * gnu/gcj/runtime/natStackTrace.cc: New file.
7194         * gnu/gcj/runtime/MethodRef.java: New file.
7195         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7196         instead of getClassLoader().
7197         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7198         java::lang::VMThrowable.
7199         * Makefile.am (core_java_source_files): Add MethodRef.java,
7200         StackTrace.java.
7201         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7202         * Makefile.in: Rebuild.
7204 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
7206         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7207         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7208         yes also for sh-linux* and sh[34]*-linux*.
7209         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7210         set SIGNAL_HANDLER to use DWARF2 exception for them.
7211         * configure: Regenerate.
7213 2002-12-02  Tom Tromey  <tromey@redhat.com>
7215         * jni.cc: Added `name' argument.
7216         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7217         `const char *' argument.
7218         (class _Jv_JNIEnv) [DefineClass]: Likewise.
7220 2002-12-01  Tom Tromey  <tromey@redhat.com>
7222         Bug compatibility, for PR libgcj/8738:
7223         * java/io/CharArrayWriter.java (close): Do nothing.
7224         (flush): Likewise.
7225         (reset): Don't touch `closed'.
7226         (write(int)): Don't throw IOException.
7227         (write(char[],int,int)): Likewise.
7228         (write(String,int,int)): Likewise.
7229         (closed): Removed.
7231 2002-12-01  Mark Wielaard  <mark@klomp.org>
7233         * java/lang/SecurityManager.java: Remerge comments, indenting and
7234         checkXXX methods with Classpath.
7236 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
7238         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7239         getNormalizedComponents): Fix calculation which was using one too
7240         many bits in the unnormalized format.
7242 2002-11-29  Gary Benson  <gbenson@redhat.com>
7244         For PR libgcj/8759:
7245         * java/beans/Introspector.java (flushCaches): New method.
7246         (flushFromCaches): Likewise.
7248 2002-11-29  Michael Koch <konqueror@gmx.de>
7250         * java/nio/channels/DatagramChannel.java
7251         (open): Added exception documentation.
7252         (write): Added exception documentation.
7253         (connect): Added exception documentation.
7254         (disconnect): Added exception documentation.
7255         (isConnected): Added exception documentation.
7256         (read): Added exception documentation.
7257         (receive): Added exception documentation.
7258         (send): Added exception documentation.
7259         (validOps): Added exception documentation.
7260         * java/nio/channels/SocketChannel.java
7261         (open): Added exception documentation.
7262         (read): Added exception documentation.
7263         (write): Added exception documentation.
7264         (connect): Added exception documentation.
7265         (finishConnect): Added exception documentation.
7267 2002-11-29  Michael Koch <konqueror@gmx.de>
7269         * gnu/java/nio/DatagramChannelImpl:
7270         (fd): New member variable to store file descriptor of socket.
7271         * gnu/java/nio/SelectionKeyImpl.java:
7272         (ops): Removed.
7273         (readyOps): New member variable.
7274         (interestOps): New member variable.
7275         (readyOps): Implemented.
7276         (readyOps): New method to set member variable readyOps.
7277         (interestOps): Replaced ops by interestOps.
7278         * gnu/java/nio/SelectorImpl.java:
7279         (SelectorImpl): Initialize key sets.
7280         (select): Call select with -1 instead of Long.MAX_VALUE).
7281         (java_do_select): Make it a native method.
7282         (getFDsAsArray): New helper method.
7283         (select): Remove canceled keys, give only interested file discriptors
7284         to java_do_select, set ready ops.
7285         (add): No need to initialize keys set here.
7286         (add_selected): No need to initialize selected set here.
7287         (deregisterCanceledKeys): New helper method.
7288         (register): Set interest ops, set attachments, added handling of datagram
7289         channels.
7290         * gnu/java/nio/ServerSocketChannelImpl:
7291         (SocketAccept): Renamed from NioSocketAccept.
7292         (implConfigureBlocking): Implemented.
7293         (accept): Use SocketAccept instead of NioSocketAccept.
7294         * gnu/java/nio/SocketChannelImpl:
7295         Reactivate native methods.
7297 2002-11-29  Michael Koch <konqueror@gmx.de>
7299         * gnu/java/nio/natByteBufferImpl.cc,
7300         gnu/java/nio/natCharBufferImpl.cc,
7301         gnu/java/nio/natDoubleBufferImpl.cc,
7302         gnu/java/nio/natFloatBufferImpl.cc,
7303         gnu/java/nio/natIntBufferImpl.cc,
7304         gnu/java/nio/natLongBufferImpl.cc,
7305         gnu/java/nio/natSelectorImpl.cc,
7306         gnu/java/nio/natServerSocketChannelImpl.cc,
7307         gnu/java/nio/natShortBufferImpl.cc,
7308         gnu/java/nio/natSocketChannelImpl.cc:
7309         New files that implement native functionalities.
7311 2002-11-29  Michael Koch <konqueror@gmx.de>
7313         * gnu/java/nio/ByteBufferImpl.java
7314         (ByteBufferImpl): Moved position() after limit.
7315         (nio_*): Use native implementation.
7316         * gnu/java/nio/CharBufferImpl.java:
7317         Reformated.
7318         (endian): New member variable string endianess of buffer.
7319         (CharBufferImpl): Moved position() after limit.
7320         (nio_*): Use native implementation.
7321         (subSequence): Implemented.
7322         * gnu/java/nio/DoubleBufferImpl.java
7323         (DoubleBufferImpl): Moved position() after limit.
7324         (nio_*): Use native implementation.
7325         * gnu/java/nio/FloatBufferImpl.java
7326         Reformated.
7327         (FloatBufferImpl): Moved position() after limit.
7328         (nio_*): Use native implementation.
7329         * gnu/java/nio/IntBufferImpl.java
7330         Added needed imports, Reformated.
7331         (IntBufferImpl): Moved position() after limit.
7332         (nio_*): Use native implementation.
7333         * gnu/java/nio/LongBufferImpl.java
7334         Reformated.
7335         (LongBufferImpl): Moved position() after limit.
7336         (nio_*): Use native implementation.
7337         * gnu/java/nio/ShortBufferImpl.java
7338         Reformated.
7339         (ShortBufferImpl): Moved position() after limit.
7340         (nio_*): Use native implementation.
7342 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
7344         * java/util/Locale.java (toString): Improve efficiency if country
7345         and variant are both empty.
7347 2002-11-26  Tom Tromey  <tromey@redhat.com>
7349         * verify.cc (pop_init_ref): New method.
7350         (verify_instructions_0) [op_iaload, op_laload, op_faload,
7351         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7352         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7353         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7354         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7355         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7356         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
7357         let `this' argument be uninitialized.  Don't let `null' be passed
7358         as `this' to construtor.
7360 2002-11-26  Mark Wielaard  <mark@klomp.org>
7362         * javax/transaction/HeuristicCommitException.java: Classpath merge.
7363         * javax/transaction/HeuristicMixedException.java: Likewise.
7364         * javax/transaction/HeuristicRollbackException.java: Likewise.
7365         * javax/transaction/InvalidTransactionException.java: Likewise.
7366         * javax/transaction/NotSupportedException.java: Likewise.
7367         * javax/transaction/RollbackException.java: Likewise.
7368         * javax/transaction/Status.java: Likewise.
7369         * javax/transaction/Synchronization.java: Likewise.
7370         * javax/transaction/SystemException.java: Likewise.
7371         * javax/transaction/Transaction.java: Likewise.
7372         * javax/transaction/TransactionManager.java: Likewise.
7373         * javax/transaction/TransactionRequiredException.java: Likewise.
7374         * javax/transaction/TransactionRolledbackException.java: Likewise.
7375         * javax/transaction/UserTransaction.java: Likewise.
7376         * javax/transaction/xa/XAException.java: Likewise.
7377         * javax/transaction/xa/XAResource.java: Likewise.
7378         * javax/transaction/xa/Xid.java: Likewise.
7380 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
7382         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7383         define.
7384         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7385         * include/posix.h (socklen_t): Define if not already defined.
7387 2002-11-25  Tom Tromey  <tromey@redhat.com>
7389         * verify.cc (type::compatible): Backed out broken change.
7391         * verify.cc (type::compatible): Check initialization status
7392         first.
7393         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7394         Don't use NULLCHECK.
7396 2002-11-23  H.J. Lu <hjl@gnu.org>
7398         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7399         Include ../config/accross.m4.
7400         * aclocal.m4; Rebuild.
7401         * configure: Likewise.
7403 2002-11-23  Mark Wielaard  <mark@klomp.org>
7405         * javax/naming/AuthenticationException.java: Update copyright header.
7406         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7407         * javax/naming/Binding.java: Likewise.
7408         * javax/naming/CannotProceedException.java: Likewise.
7409         * javax/naming/CommunicationException.java: Likewise.
7410         * javax/naming/CompositeName.java: Likewise.
7411         * javax/naming/CompoundName.java: Likewise.
7412         * javax/naming/ConfigurationException.java: Likewise.
7413         * javax/naming/Context.java: Likewise.
7414         * javax/naming/ContextNotEmptyException.java: Likewise.
7415         * javax/naming/InitialContext.java: Likewise.
7416         * javax/naming/InsufficientResourcesException.java: Likewise.
7417         * javax/naming/InterruptedNamingException.java: Likewise.
7418         * javax/naming/LimitExceededException.java: Likewise.
7419         * javax/naming/LinkException.java: Likewise.
7420         * javax/naming/LinkLoopException.java: Likewise.
7421         * javax/naming/LinkRef.java: Likewise.
7422         * javax/naming/MalformedLinkException.java: Likewise.
7423         * javax/naming/NameAlreadyBoundException.java: Likewise.
7424         * javax/naming/NameClassPair.java: Likewise.
7425         * javax/naming/NameNotFoundException.java: Likewise.
7426         * javax/naming/NameParser.java: Likewise.
7427         * javax/naming/NamingEnumeration.java: Likewise.
7428         * javax/naming/NamingSecurityException.java: Likewise.
7429         * javax/naming/NoInitialContextException.java: Likewise.
7430         * javax/naming/NoPermissionException.java: Likewise.
7431         * javax/naming/NotContextException.java: Likewise.
7432         * javax/naming/OperationNotSupportedException.java: Likewise.
7433         * javax/naming/PartialResultException.java: Likewise.
7434         * javax/naming/Reference.java: Likewise.
7435         * javax/naming/Referenceable.java: Likewise.
7436         * javax/naming/ReferralException.java: Likewise.
7437         * javax/naming/ServiceUnavailableException.java: Likewise.
7438         * javax/naming/SizeLimitExceededException.java: Likewise.
7439         * javax/naming/TimeLimitExceededException.java: Likewise.
7440         * javax/naming/directory/Attribute.java: Likewise.
7441         * javax/naming/directory/AttributeInUseException.java: Likewise.
7442         * javax/naming/directory/AttributeModificationException.java: Likewise.
7443         * javax/naming/directory/Attributes.java: Likewise.
7444         * javax/naming/directory/BasicAttribute.java: Likewise.
7445         * javax/naming/directory/BasicAttributes.java: Likewise.
7446         * javax/naming/directory/DirContext.java: Likewise.
7447         * javax/naming/directory/InitialDirContext.java: Likewise.
7448         * javax/naming/directory/InvalidAttributeIdentifierException.java:
7449         Likewise.
7450         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7451         * javax/naming/directory/InvalidAttributesException.java: Likewise.
7452         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7453         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7454         * javax/naming/directory/ModificationItem.java: Likewise.
7455         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7456         * javax/naming/directory/SchemaViolationException.java: Likewise.
7457         * javax/naming/directory/SearchControls.java: Likewise.
7458         * javax/naming/directory/SearchResult.java: Likewise.
7459         * javax/naming/event/EventContext.java: Likewise.
7460         * javax/naming/event/EventDirContext.java: Likewise.
7461         * javax/naming/event/NamespaceChangeListener.java: Likewise.
7462         * javax/naming/event/NamingEvent.java: Likewise.
7463         * javax/naming/event/NamingExceptionEvent.java: Likewise.
7464         * javax/naming/event/NamingListener.java: Likewise.
7465         * javax/naming/event/ObjectChangeListener.java: Likewise.
7466         * javax/naming/ldap/Control.java: Likewise.
7467         * javax/naming/ldap/ControlFactory.java: Likewise.
7468         * javax/naming/ldap/ExtendedRequest.java: Likewise.
7469         * javax/naming/ldap/ExtendedResponse.java: Likewise.
7470         * javax/naming/ldap/HasControls.java: Likewise.
7471         * javax/naming/ldap/InitialLdapContext.java: Likewise.
7472         * javax/naming/ldap/LdapContext.java: Likewise.
7473         * javax/naming/ldap/LdapReferralException.java: Likewise.
7474         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7475         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7476         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7477         * javax/naming/spi/DirObjectFactory.java: Likewise.
7478         * javax/naming/spi/DirStateFactory.java: Likewise.
7479         * javax/naming/spi/DirectoryManager.java: Likewise.
7480         * javax/naming/spi/InitialContextFactory.java: Likewise.
7481         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7482         * javax/naming/spi/NamingManager.java: Likewise.
7483         * javax/naming/spi/ObjectFactory.java: Likewise.
7484         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7485         * javax/naming/spi/ResolveResult.java: Likewise.
7486         * javax/naming/spi/Resolver.java: Likewise.
7487         * javax/naming/spi/StateFactory.java: Likewise.
7489         * javax/naming/spi/NamingManager.java (ofb): Package private.
7491 2002-11-21  Mark Wielaard  <mark@klomp.org>
7493         * java/net/URL.java: Merge with Classpath (partly).
7494         * java/net/URLStreamHandler: Merge with Classpath.
7496 2002-11-22  Michael Koch <konqueror@gmx.de>
7498         * include/posix.h:
7499         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7500         * include/win32.h:
7501         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7502         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7504 2002-11-21  Michael Koch <konqueror@gmx.de>
7506         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7507         Only the new network functions should be in it.
7509 2002-11-21  Michael Koch <konqueror@gmx.de>
7511         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7512         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7514 2002-11-21  Michael Koch <konqueror@gmx.de>
7516         * java/nio/channels/AsynchronousCloseException.java,
7517         java/nio/channels/CancelledKeyException.java,
7518         java/nio/channels/ClosedByInterruptException.java,
7519         java/nio/channels/ConnectionPendingException.java,
7520         java/nio/channels/FileLockInterruptionException.java,
7521         java/nio/channels/IllegalSelectorException.java,
7522         java/nio/channels/NoConnectionPendingException.java,
7523         java/nio/channels/NonReadableChannelException.java,
7524         java/nio/channels/NonWritableChannelException.java,
7525         java/nio/channels/NotYetBoundException.java,
7526         java/nio/channels/NotYetConnectedException.java,
7527         java/nio/channels/OverlappingFileLockException.java,
7528         java/nio/channels/UnresolvedAddressException.java,
7529         java/nio/channels/UnsupportedAddressTypeException.java:
7530         New files.
7531         * Makefile.am (ordinary_java_source_files): Added new files.
7532         * Makefile.in: Regenerated.
7534 2002-11-21  Michael Koch <konqueror@gmx.de>
7536         * include/posix.h
7537         (_Jv_socket): New method.
7538         (_Jv_connect): New method.
7539         (_Jv_close): New method.
7540         (_Jv_platform_close_on_exec): Prefixed system function with "::".
7541         (_Jv_bind): New method.
7542         (_Jv_listen): New method.
7543         (_Jv_write): New method.
7544         (_Jv_read): New method.
7545         * include/win32.h
7546         (_Jv_socket): New method.
7547         (_Jv_connect): New method.
7548         (_Jv_close): New method.
7549         (_Jv_bind): New method.
7550         (_Jv_listen): New method.
7551         (_Jv_write): New method.
7552         (_Jv_read): New method.
7553         * java/net/natNetworkInterface.cc:
7554         Include platform.h, removed inclusion of socket.h
7555         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7556         ::close() by _Jv_close().
7557         * java/net/natPlainDatagramSocketImpl.cc:
7558         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7559         added some new lines to make code more readable.
7560         (create): Replaced ::socket() by _Jv_socket().
7561         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7562         * java/net/natPlainSocketImpl.cc:
7563         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7564         removed include of socket.h, removed some windows defines
7565         (now in include/win32.h).
7566         (create): Replaced ::socket() by _Jv_socket().
7567         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7568         (write): Replaced ::read by _Jv_write().
7569         (read): Replaced ::read by _Jv_read().
7571 2002-11-20  Michael Koch <konqueror@gmx.de>
7573         * Makefile.am (ordinary_java_source_files):
7574         Added java/nio/channels/FileChannel.java.
7575         * Makefile.in: Regenerated.
7577 2002-11-20  Michael Koch <konqueror@gmx.de>
7579         * java/io/FileInputStream.java
7580         (getChannel): New method.
7581         * java/io/FileOutputStream.java
7582         (getChannel): New method.
7583         * java/net/ServerSocket.java
7584         (bind): Removed duplicate code and called another bind method instead.
7585         * java/nio/channels/SelectionKey.java
7586         (isValid): Removed wrong exception documentation.
7587         * java/nio/channels/ServerSocketChannel.java
7588         (accept): Added exception documentation.
7589         (open): Fixed typo, added exception documentation.
7590         * java/nio/channels/spi/AbstractSelectableChannel.java
7591         (implCloseChannel): Added exception documentation.
7592         (add): Reformated.
7593         (register): Added exception documentation.
7595 2002-11-20  Andreas Jaeger  <aj@suse.de>
7597         * configure: Regenerated with new libtool.m4.
7599 2002-11-19  Tom Tromey  <tromey@redhat.com>
7601         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7602         `referent'.
7603         (finalize_referred_to_object): Don't modify `referent' or `copy'
7604         fields.
7605         (add_to_hash): Correctly set `n->next' when updating list.
7606         * java/lang/ref/Reference.java (enqueue): Return false if already
7607         enqueued.
7609 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
7611         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7612         to function and function pointer declarations in accordance with
7613         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7614         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7615         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7616         JNI function definitions.
7618 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7620         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7621         that was causing CoderResults to be cached, not WeakReferences
7622         to CoderResults.
7624 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7626         * java/security/KeyStore.java (getInstance): Fix
7627         comment and throw IllegalArgumentException if
7628         given provider is null.
7629         (getInstance): New method for jdk1.4 compatibility.
7631 2002-11-18  Michael Koch <konqueror@gmx.de>
7633         * java/net/PlainSocketImpl.java: Fix imports.
7635 2002-11-18  Michael Koch <konqueror@gmx.de>
7637         * java/nio/channels/SelectionKey.java
7638         (isValid): Added exception documentation.
7639         * java/nio/channels/Selector.java
7640         (open): Declare "throws IOException".
7642 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7644         * java/nio/charset/Charset.java
7645         (<clinit>): New method.
7646         (encode): Synchronize use of cached encoder object.
7647         (decode): Synchronize use of cached encoder object.
7649 2002-11-18  Michael Koch <konqueror@gmx.de>
7651         * gnu/java/nio/ByteBufferImpl.java,
7652         gnu/java/nio/CharBufferImpl.java,
7653         gnu/java/nio/DatagramChannelImpl.java,
7654         gnu/java/nio/DoubleBufferImpl.java,
7655         gnu/java/nio/FileChannelImpl.java,
7656         gnu/java/nio/FloatBufferImpl.java,
7657         gnu/java/nio/IntBufferImpl.java,
7658         gnu/java/nio/LongBufferImpl.java,
7659         gnu/java/nio/PipeImpl.java,
7660         gnu/java/nio/SelectionKeyImpl.java,
7661         gnu/java/nio/SelectorImpl.java,
7662         gnu/java/nio/SelectorProviderImpl.java,
7663         gnu/java/nio/ServerSocketChannelImpl.java,
7664         gnu/java/nio/ShortBufferImpl.java,
7665         gnu/java/nio/SocketChannelImpl.java,
7666         java/nio/DoubleBuffer.java,
7667         java/nio/FloatBuffer.java,
7668         java/nio/IntBuffer.java,
7669         java/nio/LongBuffer.java,
7670         java/nio/ShortBuffer.java,
7671         java/nio/channels/FileChannel.java: New files.
7673 2002-11-18  Michael Koch <konqueror@gmx.de>
7675         * Makefile.am (ordinary_java_source_files):
7676         Added java/nio/ReadOnlyBufferException.java and
7677         java/nio/channels/ClosedSelectorException.java.
7678         * Makefile.in: Regenerated.
7680 2002-11-18  Michael Koch <konqueror@gmx.de>
7682         * java/net/PlainSocketImpl.java: Reworked imports.
7683         * java/net/ServerSocket.java
7684         (ServerSocket): Create socket.
7685         * java/net/SocketAddress.java: Documentation added.
7686         * java/net/natPlainSocketImpl.cc: Reindented.
7687         * java/nio/ReadOnlyBufferException.java: New file
7688         * java/nio/channels/ClosedChannelException.java: Documentation added.
7689         * java/nio/channels/ClosedSelectorException.java: New file.
7691 2002-11-17  Mark Wielaard  <mark@klomp.org>
7693         * java/net/HttpURLConnection.java ((getPermission): Take port
7694         into consideration.
7695         (getErrorStream): Implement.
7697 2002-11-17  Mark Wielaard  <mark@klomp.org>
7699         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7701 2002-11-16  Mark Wielaard  <mark@klomp.org>
7703         Integrate work by Raif S. Naffah (raif@fl.net.au)
7704         * java/security/DummyKeyPairGenerator.java (clone): New method.
7705         * java/security/DummyMessageDigest.java (clone): New method.
7706         (engineUpdate): Now public.
7707         (engineReset): Likewise.
7708         (engineDigest): Likewise.
7709         (engineGetDigestLength): New method.
7710         * java/security/DummySignature.java (clone): New method.
7711         * java/security/KeyPairGenerator.java (provider): Now package private.
7712         (getInstance(String)): Use getInstance(String,Provider).
7713         (getInstance(String,String): Use getInstance(String,Provider)
7714         (getInstance(String,Provider): New method.
7715         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7716         * java/security/KeyPairGeneratorSpi.java (clone): New method.
7717         * java/security/MessageDigest.java (provider): Now package private.
7718         (getInstance(String): Use getInstance(String,Provider).
7719         (getInstance(String,String): Use getInstance(String,Provider)
7720         (getInstance(String,Provider): New method.
7721         * java/security/Provider.java (toCanonicalKey): New method.
7722         (get): New method that uses toCanonicalKey().
7723         (put): Use toCanonicalKey().
7724         (remove): Likewise.
7725         * java/security/Security.java (insertProviderAt): Provider index is one
7726         based, not zero based.
7727         (addProvider): Likewise.
7728         (removeProvider): Likewise.
7729         * java/security/Signature.java (provider): Now package private.
7730         (getInstance(String)): Use getInstance(String,Provider).
7731         (getInstance(String,String): Use getInstance(String,Provider)
7732         (getInstance(String,Provider): New method.
7733         (getInstance(String,String,Provider): Don't cast DummySignature.
7735 2002-11-15  Tom Tromey  <tromey@redhat.com>
7737         For PR libgcj/8593:
7738         * java/util/zip/GZIPInputStream.java (read): Check file size.
7739         Look in inflater for remaining input bytes.
7740         (read4): Added buf and offset arguments.
7742 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7744         * java/applet/AppletContext.java: Fix typo and remove redundant
7745         modifiers.
7747 2002-11-14  Tom Tromey  <tromey@redhat.com>
7749         * java/lang/natRuntime.cc (insertSystemProperties): Set
7750         gnu.classpath.home.
7752 2002-11-13  Michael Koch <konqueror@gmx.de>
7754         * java/nio/ByteBuffer.java
7755         (allocate): New method.
7756         (wrap): New method.
7757         (put): New method.
7758         (get): New method.
7760 2002-11-13  Michael Koch <konqueror@gmx.de>
7762         * java/nio/channels/AlreadyConnectedException.java:
7763         Removed unneeded import.
7764         (AlreadyConnectedException): Documentation added.
7765         * java/nio/channels/Pipe.java
7766         (SinkChannel.SinkChannel): Documentation added.
7767         (SinkChannel.validOps): New method.
7768         (SourceChannel.SourceChannel): Documentation added.
7769         (SourceChannel.validOps): New method.
7770         (Pipe): Documentation added.
7771         (open): Documentation added.
7772         (SinkChannel.channel): Documentation added.
7773         (SourceChannel.channel): Documentation added.
7774         * java/nio/channel/SelectableChannel.java
7775         (SelectableChannel): Documentation added.
7776         (blockingLock): Documentation added.
7777         (configureBlocking):Documentation added.
7778         (isBlocking):Documentation added.
7779         (isRegistered):Documentation added.
7780         (keyFor):Documentation added.
7781         (provider):Documentation added.
7782         (register): Documentation added.
7783         (validOps): Documentation added.
7784         * jaba/nio/channels/SelectionKey.java
7785         (SelectionKey): Documentation added.
7786         (attach): Documentation added.
7787         (attachment): Documentation added.
7788         (isAcceptable): Documentation added.
7789         (isConnetable): Documentation added.
7790         (isReadable): Documentation added.
7791         (isWritable): Documentation added.
7792         (cancel): Documentation added.
7793         (channel): Documentation added.
7794         (interestOps): Documentation added.
7795         (isValid): Documentation added.
7796         (readyOps): Documentation added.
7797         (selector): Documentation added.
7798         * jaba/nio/channels/Selector.java
7799         (Selector): Documentation added.
7800         (open): Documentation added.
7801         (close): Documentation added.
7802         (isOpen): Documentation added.
7803         (keys): Documentation added.
7804         (provider): Documentation added.
7805         (select): Documentation added.
7806         (selectedKeys): Documentation added.
7807         (selectNow): Documentation added.
7808         (wakeup): Documentation added.
7809         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7810         (AbstractInterruptibleChannel): Documentation added.
7811         (opened): Default to true;
7812         (begin): Documentation added.
7813         (close): Set opened to false, documentation added.
7814         (isOpen): Documentation added.
7815         * java/nio/channels/spi/AbstractSelectionKey.java
7816         (AbstractSelectionKey): Documentation added.
7817         (cancel): Documentation added.
7818         (isValid): Documentation added.
7819         * java/nio/channels/spi/AbstractSelector.java
7820         (AbstractSelector): Documentation added.
7821         (begin): Documentation added.
7822         (close): Documentation added.
7823         (isOpen): Documentation added.
7824         (deregister): Documentation added.
7825         (end): Documentation added.
7826         (provider): Documentation added.
7827         (implCloseSelector): Documentation added.
7828         (register): Documentation added.
7829         * java/nio/channels/spi/SelectorProvider.java
7830         (SelectorProvider): Documentation added.
7831         (openDatagramChannel): Documentation added.
7832         (openPipe): Documentation added.
7833         (openSelector): Documentation added.
7834         (openServerSocketChannel): Documentation added.
7835         (openSocketChannel): Documentation added.
7836         (provider): Documentation added.
7838 2002-11-12  Michael Koch <konqueror@gmx.de>
7840         * java/nio/Buffer.java: Implemented.
7841         * java/nio/CharBuffer.java: New file.
7842         * java/nio/InvalidMarkException.java: New file.
7843         * java/nio/channels/DatagramChannel.java: Implemented.
7844         * java/nio/channels/ServerSocketChannel.java: Implemented.
7845         * java/nio/channels/SocketChannel.java: Implemented.
7846         * java/nio/channels/spi/AbstractChannel.java: Removed.
7847         * java/nio/channels/spi/AbstractSelectableChannel.java:
7848         Implemented.
7849         * java/nio/charset/Charset.java:
7850         Merge from Classpath.
7851         * java/nio/charset/CharsetDecoder.java: New file.
7852         * java/nio/charset/CharsetEncoder.java: New file.
7853         * java/nio/charset/CoderResult.java: New file.
7854         * Makefile.am (ordinary_java_source_files): Added new files.
7855         * Makefile.in: Regenerated.
7857 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7859         * gnu/java/nio/charset/ISO_8859_1.java,
7860         gnu/java/nio/charset/Provider.java,
7861         gnu/java/nio/charset/US_ASCII.java,
7862         gnu/java/nio/charset/UTF_16.java,
7863         gnu/java/nio/charset/UTF_16BE.java,
7864         gnu/java/nio/charset/UTF_16Decoder.java,
7865         gnu/java/nio/charset/UTF_16Encoder.java,
7866         gnu/java/nio/charset/UTF_16LE.java,
7867         gnu/java/nio/charset/UTF_8.java: New files.
7869 2002-11-11  Michael Koch <konqueror@gmx.de>
7871         * java/nio/charset/CharacterCodingException.java:
7872         This class must be public.
7873         * java/nio/charset/CoderMalfunctionError.java:
7874         This class must be public.
7875         * java/nio/charset/CodingErrorAction.java:
7876         This class must be public.
7877         * java/nio/charset/IllegalCharsetNameException.java:
7878         This class must be public, better implementation.
7879         * java/nio/charset/MalformedInputException.java:
7880         This class must be public, better implementation.
7881         * java/nio/charset/UnmappableCharacterException.java:
7882         This class must be public, better implementation.
7883         * java/nio/charset/UnsupportedCharsetException.java:
7884         This class must be public, better implementation.
7886 2002-11-11  Michael Koch <konqueror@gmx.de>
7888         * java/nio/BufferOverflowException.java,
7889         java/nio/BufferUnderflowException.java: New file.
7890         * Makefile.am (ordinary_java_source_files):
7891         Added new files.
7892         * Makefile.in: Regenerated.
7894 2002-11-10  Tom Tromey  <tromey@redhat.com>
7896         * java/awt/Container.java (validate): Use tree lock.
7897         (getComponent): Likewise.
7898         (getComponents): Likewise.
7899         (addImpl): Likewise.
7900         (remove): Likewise.
7901         (removeAll): Likewise.
7902         (processEvent): Fixed indentation.
7903         (getComponentAt): Use tree lock.
7904         (findComponentAt): Likewise.
7905         (removeNotify): Likewise.
7906         (isAncestorOf): Likewise.
7907         (list): Likewise.
7908         (visitChildren): Likewise.
7909         (findNextFocusComponent): Likewise.
7910         (addNotifyContainerChildren): Likewise.
7911         (getAccessibleChildrenCount): Likewise.
7912         (getAccessibleChild): Likewise.
7914         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7915         (getSize): Likewise.
7916         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7917         (getSize): Likewise.
7918         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7919         (calcSize): Likewise.
7920         * java/awt/CardLayout.java (getSize): Use tree lock.
7921         (gotoComponent): Likewise.
7922         (layoutContainer): Likewise.
7924         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7925         count is 0.
7926         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7927         count is 0.
7929         * java/io/Externalizable.java, java/io/FilePermission.java,
7930         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7931         java/io/SerializablePermission.java, java/text/Format.java,
7932         java/util/AbstractMap.java, java/util/HashMap.java,
7933         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7934         versions from Classpath.
7936 2002-11-10  Anthony Green  <green@redhat.com>
7938         * java/util/jar/Attributes.java (Name): Fix name check.
7940 2002-11-10  Mark Wielaard  <mark@klomp.org>
7942         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7943         with getName() as message.
7944         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7945         type as message.
7947         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7948         unused.
7950 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7952         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7953         for Win32. JNICALL has been defined to __stdcall to be compatible
7954         with Sun's JDKs.
7956 2002-11-10  Tom Tromey  <tromey@redhat.com>
7958         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7959         (setRows): Check newRows, not rows.
7961         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7963 2002-11-09  Tom Tromey  <tromey@redhat.com>
7965         * java/applet/Applet.java, java/applet/AppletContext.java,
7966         java/applet/AppletStub.java, java/applet/AudioClip.java,
7967         java/awt/CardLayout.java,
7968         java/awt/ContainerOrderFocusTraversalPolicy.java,
7969         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7970         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7971         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7972         java/awt/color/ICC_ColorSpace.java,
7973         java/awt/color/ICC_Profile.java,
7974         java/awt/color/ICC_ProfileGray.java,
7975         java/awt/color/ICC_ProfileRGB.java,
7976         java/awt/datatransfer/DataFlavor.java,
7977         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7978         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7979         New versions from Classpath.
7980         * Makefile.in: Rebuilt.
7981         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7982         ICC_ProfileRGB.
7984         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7985         display policy.
7987         * java/awt/List.java (processEvent): Added missing `else's.
7989         * java/awt/Window.java (show): validate() before showing.  Make
7990         parent displayable.
7991         (isDisplayable): New method.
7993 2002-11-07  Mark Wielaard  <mark@klomp.org>
7995         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7996         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7998         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7999         annotation.
8000         (loadClass): Take String as codebases.
8001         (getClassAnnotation): Use MyClassLoader annotations.
8002         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8003         call exportObject(this).
8005         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8006         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8007         (setAnnotation): Don't set locBytesStream and locStream.
8008         (replaceObject): Removed.
8009         (flush): Don't test locStream.
8010         (getLocBytes): LikeWise.
8011         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8012         (leaseCache): New field.
8013         (dirty): Use leaseCache.
8014         (LeaseRecord): New inner class.
8015         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8016         explicitly call exportObject().
8017         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8018         false to communicate with Sun JDK130.
8019         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8020         * gnu/java/rmi/server/RMIObjectInputStream.java
8021         (UnicastConnectionManager): Removed field.
8022         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8023         Use UnicastServer.getExportedRef().
8024         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8025         (expireTime): Likewise.
8026         (CONNECTION_TIMEOUT): Likewise.
8027         (disconnect): Call sock.close().
8028         (isExpired): New method.
8029         (resetTime): Likewise.
8030         (run): Use do while loop and catch Exception for discardConnection().
8031         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8032         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8033         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8034         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8035         (exportObject): Use refcache.
8036         (unexportObject): Likewise.
8037         (getExportedRef): New method.
8038         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8039         constructor.
8040         (exportObject): Save manager.serverobj.
8041         (getStub): New method.
8043 2002-11-07  Mark Wielaard  <mark@klomp.org>
8045         * java/lang/reflect/natField.cc (getBoolean): Use getType().
8046         (getByte): Likewise.
8047         (getShort): Likewise.
8048         (getInt): Likewise.
8049         (getLong): Likewise.
8050         (getFloat): Likewise.
8051         (getDouble): Likewise.
8052         (get): Likewise.
8053         (setChar): Likewise.
8054         (setByte): Likewise.
8055         (setShort): Likewise.
8056         (setInt): Likewise.
8057         (setLong): Likewise.
8058         (setFloat): Likewise.
8059         (setDouble): Likewise.
8061 2002-11-07  Michael Koch <konqueror@gmx.de>
8063         * java/awt/Choice.java,
8064         java/awt/Container.java,
8065         java/awt/GridBagLayout.java:
8066         Fixed documentation.
8067         * java/awt/peer/ContainerPeer.java:
8068         Reindented.
8070 2002-11-07  Michael Koch <konqueror@gmx.de>
8072         * java/awt/color/ICC_Profile.java:
8073         Added missing constants.
8074         * java/awt/color/ICC_ColorSpace.java
8075         (getMinValue): Added dummy implementation.
8076         (getMaxValue): Added dummy implementation.
8077         * java/awt/datatransfer/DataFlavor.java
8078         (imageFlavor): Added.
8079         (isMimeTypeEqual): Must be final.
8080         (getDefaultRepresentationClass): Must be non-static.
8081         (getDefaultRepresentationClassAsString): Must be non-static.
8082         * java/awt/dnd/DragSourceContext.java
8083         (dragExit): Corrected argument.
8084         (dragDropEnd): Corrected argument.
8085         * java/awt/dnd/DragSourceListener.java.java
8086         (dragExit): Corrected argument.
8087         (dragDropEnd): Corrected argument.
8088         * java/awt/font/TextHitInfo.java
8089         (toString): Added stubbed implementation.
8090         * java/awt/geom/PathIterator.java:
8091         The constants must be static.
8092         * java/awt/image/VolatileImage.java
8093         (IMAGE_INCOMPATIBLE): Fixed typo.
8094         * java/awt/image/renderable/RenderableImage.java
8095         (HINTS_OBSERVED): Must be static.
8096         * java/beans/BeanInfo.java:
8097         Constants must be final.
8099 2002-11-06  Tom Tromey  <tromey@redhat.com>
8101         From svens@it.uu.se.  For PR libgcj/8481.
8102         * java/util/Random.java (nextInt(int)): Only use 31 bits.
8104 2002-11-06  Tom Tromey  <tromey@redhat.com>
8106         * jni.cc (array_from_valist): Assume that jlong won't be
8107         promoted.
8109 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
8111         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8112         Return 20.
8113         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8114         Return 16.
8116 2002-11-03  Tom Tromey  <tromey@redhat.com>
8118         * java/lang/ClassLoader.java (loadClass): Call loadClass on
8119         VMClassLoader, not findClass.
8121 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
8123         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8124         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8125         _Jv_DetermineVTableIndex, to determine vtable offset.
8126         (_Jv_DetermineVTableIndex): Remove.
8127         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
8129         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8131 2002-11-03  Tom Tromey  <tromey@redhat.com>
8133         * java/nio/channels/AlreadyConnectedException.java: Extend
8134         IllegalStateException, per spec.
8136 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
8138         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8140 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8142         * java/util/ArrayList.java (readObject, writeObject): Only read/write
8143         size items.
8145 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8147         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8148         initial estimated size to avoid enlarge buffer frequently.
8150 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8152         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8153         ClassLoader when null.
8154         (ProxyType.hashCode): Loader null check no longer needed.
8155         (ProxyType.sameTypes): New method.
8156         (ProxyType.equals): Use new method.
8158 2002-10-31  Mark Wielaard  <mark@klomp.org>
8160         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8161         length of String.
8162         * java/net/URLEncoder.java (encode): Likewise.
8164 2002-10-31  Mark Wielaard  <mark@klomp.org>
8166         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8167         when stream is closed.
8168         (closeEntry): Likewise.
8169         (read): Likewise.
8170         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8171         ZipException when no entry active.
8172         (closeEntry): Likewise.
8173         (write): Likewise.
8175 2002-11-02  Tom Tromey  <tromey@redhat.com>
8177         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8178         * java/lang/natClass.cc (initializeClass): Don't return just
8179         because self==thread.
8181         For PR java/8415:
8182         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8183         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8185 2002-11-02  Andreas Schwab  <schwab@suse.de>
8187         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8188         pass GCJFLAGS.
8189         (FLAGS_TO_PASS): Define.
8190         * Makefile.in: Regenerated.
8192 2002-11-01  Michael Koch  <konqueror@gmx.de>
8194         * java/nio/ByteOrder.java: New file.
8195         * java/nio/channels/DatagramChannel.java:
8196         (DatagramChannel): New constructor.
8197         * java/nio/channels/Pipe.java: New file.
8198         * java/nio/channels/SelectableChannel.java: New file.
8199         * java/nio/channels/SelectionKey.java: New file.
8200         * java/nio/channels/Selector.java: New file.
8201         * java/nio/channels/ServerSocketChannel.java
8202         (ServerSocketChannel): New constructor.
8203         * java/nio/channels/SocketChannel.java
8204         (SocketChannel): New constructor.
8205         * java/nio/channels/Pipe.java: New file.
8206         * java/nio/channels/spi/AbstractChannel.java: New file.
8207         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8208         * java/nio/channels/spi/AbstractSelectableChannel.java:
8209         License added
8210         (AbstractSelectableChannel): New stubbed method.
8211         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8212         * java/nio/channels/spi/AbstractSelector.java: New file.
8213         * java/nio/channels/spi/SelectorProvider.java: New file.
8214         * java/nio/charset/Charset.java: New file.
8215         * java/nio/charset/CoderMalfunctionError.java: New file.
8216         * java/nio/charset/CodingErrorAction.java: New file.
8217         * java/nio/charset/spi/CharsetProvider.java
8218         (charsetForName): Uncommented.
8219         * Makefile.am (java_native_source_files): Added new files.
8220         * Makefile.in: Regenerated.
8222 2002-11-01  Michael Koch  <konqueror@gmx.de>
8224         * java/net/InetAddress.java:
8225         (isAnyLocalAddress): Implemented.
8226         (isLoopbackAddress): Implemented, comment added.
8227         (isLinkLocalAddress): Implemented, documentation added.
8228         (isSiteLocalAddress): Implemented, documentation added.
8229         (isMCGlobal): Implemented, documentation added.
8230         (isMCNodeLocal): Implemented, documentation added.
8231         (isMCLinkLocal): Implemented, documentation added.
8232         (isMCSiteLocal): Implemented, documentation added.
8233         (isMCOrgLocal): Implemented, documentation added.
8234         (getHostName): Documentation added.
8235         (getCanonicalHostName): Implemented, documentation added.
8236         (getAddress): Documentation added.
8237         (hashCode): Documentation added.
8238         (equals): Documentation added.
8239         (toString): Fixed implementation.
8240         (getByAddress): Use Inet4Address and Inet6Address.
8241         (lookup): New linewrap.
8242         (getByName): SecurityManager check added, support Inet4Address and
8243         Inet6address, comments added.
8244         (getAllByName): SecurityManager check added, comments added.
8245         * java/net/Inet6Address.java:
8246         (Inet6Address): Initialize parent class with addr instead of null.
8247         * java/net/URL.java
8248         (equals): Documentation added.
8249         (getFile): Documentation added.
8250         (hashCode): Documentation added.
8251         * java/net/natInetAddress.cc:
8252         (aton): Fix IPv6 support.
8253         * java/net/natPlainDatagramSocketImpl.cc:
8254         (peek): Throw PortUnreachableException when suitable.
8255         (peekData): Throw PortUnreachableException when suitable.
8256         (send): Throw PortUnreachableException when suitable.
8257         (receive): Throw PortUnreachableException when suitable.
8259 2002-10-27  Mark Wielaard  <mark@klomp.org>
8261         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8262         argument.
8263         (readLeShort): Likewise and use byte[].
8264         (readLeInt): Likewise.
8265         (readEntries): Use new versions of methods and use byte[] for reading
8266         a complete zip entry. Add ZipFile name to exceptions.
8267         (entries): Add ZipFile name to exceptions.
8268         (getEntry): Likewise.
8269         (checkLocalHeader): Use new versions of methods and add ZipFile name
8270         to exceptions.
8272 2002-10-31  Mark Anderson  <mark@panonet.net>
8274         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8275         added
8277 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
8279         * configure.in: Disable hash sync when not using threads.
8280         * configure: Regenerated.
8282 2002-10-24  Tom Tromey  <tromey@redhat.com>
8284         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8285         (_Jv_FindSymbolInExecutable): Removed argument name.
8286         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8287         java.library.path is set.
8289         * gij.cc (help): Document --showversion.
8290         (version): Don't exit.
8291         (main): Handle --showversion.  Exit if --version given.
8293 2002-10-23  Tom Tromey  <tromey@redhat.com>
8295         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8296         (array_from_valist): Correctly handle promotion for jint, jlong,
8297         jfloat, and jdouble.
8299 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
8301         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8302         GetFileAttributesEx( ) to find file length and modification times,
8303         as the latter is not present on Windows 95.
8305 2002-10-21  Michael Koch  <konqueror@gmx.de>
8307         * java/net/URL.java
8308         (URL): Activate SecurityManager checks.
8309         (equals): Use URLStreamHandler implementation instead of doing it
8310         alone. This allows special protocol stream handlers to change default
8311         behaviour.
8312         (hashCode): Use URLStreamHandler implementation instead of doing it
8313         alone. This allows special protocol stream handlers to change default
8314         behaviour.
8315         * java/net/URLStreamHandler.java
8316         (equals): Implemented default URL equality check.
8317         (hostsEqual): Implemented default URL equality check.
8318         (hashCode): Implemented default URL hashCode algorithm.
8319         * java/net/natPlainDatagramSocketImpl.cc:
8320         No lines longer then 80 characters.
8322 2002-10-20  Adam Megacz <adam@xwt.org>
8324         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8325         * configure.in: enabled hash sync on Win32
8326         * include/win32-threads.h (_Jv_ThreadId_t): added.
8327         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8328         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8329         removed some posix-isms, use Thread::sleep() instead of usleep,
8330         added code to clear bottom three bits if platform has a broken
8331         linker.
8332         * include/win32-threads.h (_Jv_ThreadId_t): added.
8334 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
8336         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8337         runtime property "gnu.gcj.progname" containing the name used to
8338         invoke the current Java program (similar to argv[0] for C
8339         programs).
8341 2002-10-15  Tom Tromey  <tromey@redhat.com>
8343         Fix for PR libgcj/8234:
8344         * java/util/zip/natInflater.cc (reset): Reset avail_in.
8345         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8347 2002-10-13  Mark Wielaard  <mark@klomp.org>
8349         * mauve-libgcj: Enable Mauve tests that compile now.
8351 2002-10-11  Mark Wielaard  <mark@klomp.org>
8353         Fix for PR libgcj/8142
8354         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8355         loading native modules.
8357 2002-10-10  Michael Koch  <konqueror@gmx.de>
8359         * javax/swing/AbstractListModel.java
8360         (getListDataListeners): New stubbed method.
8361         javax/swing/DefaultBoundedRangeModel.java
8362         (getChangeListeners): New stubbed method.
8363         javax/swing/DefaultSingleSelectionModel.java
8364         (getChangeListeners): New stubbed method.
8366 2002-10-10  Michael Koch  <konqueror@gmx.de>
8368         * gcj/.cvsignore: New file to ignore files generated during build.
8369         * include/.cvsignore: New file to ignore files generated during build.
8371 2002-10-10  Michael Koch  <konqueror@gmx.de>
8373         * java/net/HttpURLConnection.java
8374         (getPermission): New method.
8375         (getErrorStream): New stub method.
8376         (getHeaderFieldDate): New stub method.
8377         * java/net/Inet4Address.java:
8378         (isLinkLocalAddress): Typo fixed.
8379         * java/net/InetAddress.java:
8380         (readResolve): New stubbed method (for serialization).
8381         (isAnyLocalAddress): New stubbed method.
8382         (isLoopbackAddress): New stubbed method.
8383         (isLinkLocalAddress): New stubbed method.
8384         (isSiteLocalAddress): New stubbed method.
8385         (isMCGlobal): New stubbed method.
8386         (isMCNodeGlobal): New stubbed method.
8387         (isMCLinkLocal): New stubbed method.
8388         (isMCSiteLocal): New stubbed method.
8389         (isMCOrgLocal): New stubbed method.
8390         (getCanonicalHostName): New stubbed method.
8391         (getByAddress): Create instances of Inet4Address/Inet6Address,
8392         instead of InetAddress, documentation added.
8393         * java/net/MulticastSocket.java
8394         (getInterface): Removed FIXME.
8395         (getNetworkInterface): New method.
8396         (setNetworkInterface): New method.
8397         * java/net/NetworkInterface.java:
8398         (toString): Use property "line.separator" instead of "\n".
8399         * java/net/URLConnection.java
8400         (getContent): New stubbed method.
8401         * java/net/URLStreamHandler.java:
8402         (equals): New stubbed method.
8403         (hostsEqual): New stubbed method.
8404         (hashCode): New stubbed method.
8405         * java/net/natNetworkInterface.cc:
8406         (getRealNetworkInterfaces): Create Inet4Address object
8407         instead of InetAddress.
8409 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8411         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8412         unsigned long temporary to implement insn_iushr shifts.
8414 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8416         * configure.host [s390*-*]: Enable Java interpreter.
8417         Enable hash synchronization.  Add sysdeps dir.
8418         * sysdep/s390/locks.h: New file.
8420 2002-10-06  Mark Wielaard  <mark@klomp.org>
8422         * java/lang/Thread.java (setDaemon): Check startable_flag,
8423         not isAlive().
8425 2002-10-07  Michael Koch  <konqueror@gmx.de>
8427         * java/nio/Buffer.java: New stub file.
8428         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8429         of class Charset.
8430         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8431         * Makefile.in: Regenerated.
8433 2002-10-07  Michael Koch  <konqueror@gmx.de>
8435         * java/nio/ByteBuffer.java:
8436         removed import of not commited class.
8438 2002-10-07  Michael Koch  <konqueror@gmx.de>
8440         * java/nio/ByteBuffer.java,
8441         java/nio/MappedByteBuffer.java:
8442         New files, forgot to add these dummies.
8443         * Makefile.am (java_native_source_files): Added new files.
8444         * Makefile.in: Regenerated.
8446 2002-10-07  Michael Koch  <konqueror@gmx.de>
8448         * java/nio/channels/AlreadyConnectedException.java,
8449         java/nio/channels/ClosedChannelException.java,
8450         java/nio/channels/ReadableByteChannel.java,
8451         java/nio/channels/InterruptibleChannel.java,
8452         java/nio/channels/Channel.java,
8453         java/nio/channels/ByteChannel.java,
8454         java/nio/channels/GatheringByteChannel.java,
8455         java/nio/channels/ScatteringByteChannel.java,
8456         java/nio/channels/WritableByteChannel.java,
8457         java/nio/charset/CharacterCodingException.java,
8458         java/nio/charset/IllegalCharsetNameException.java,
8459         java/nio/charset/MalformedInputException.java,
8460         java/nio/charset/UnmappableCharacterException.java,
8461         java/nio/charset/UnsupportedCharsetException.java,
8462         java/nio/charset/spi/CharsetProvider.java: New file.
8463         These files are exceptions or interfaces,
8464         no real or abstract classes.
8465         * Makefile.am (java_native_source_files): Added new files.
8466         * Makefile.in: Regenerated.
8468 2002-10-05  Michael Koch  <konqueror@gmx.de>
8470         * java/net/InetAddress.java
8471         (getByAddress): Fixed documentation.
8472         (getByAddress): New method.
8473         * java/net/Inet4Address.java: New file.
8474         * java/net/URL.java
8475         (URL): Documentation added.
8476         (getContent): Documentation added.
8477         (getContent): New stubbed method.
8478         (getQuery): New method.
8479         (openConnection): Documentation added.
8480         (openStream): Documentation added.
8481         (setURLStreamHandlerFactory): Documentation added.
8482         * java/net/URI.java: New stub file.
8483         * Makefile.am
8484         (java_native_source_files): Added java/net/Inet4Address.java,
8485         java/net/Inet6Address.java and java/net/URI.java.
8486         * Makefile.in: Regenerated.
8488 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8490         * java/lang/ProtectionDomain.java (linesep): Remove field.
8491         (toString): Use System.getProperty("line.separator").
8493 2002-10-04  Michael Koch  <konqueror@gmx.de>
8495         * java/security/Identity.java: Added serialVersionUID.
8496         * java/security/KeyPair.java: Added serialVersionUID.
8497         * java/security/Provider.java: Added serialVersionUID.
8498         * java/security/SecureRandom.java: Added serialVersionUID.
8499         * java/security/SecureRandomSpi.java: Added serialVersionUID.
8500         * java/security/SignedObject.java: Added serialVersionUID.
8501         * java/security/cert/Certificate.java: Added serialVersionUID.
8503 2002-10-04  Mark Wielaard <mark@klomp.org>
8505         * java/security/Security.java: Use java.home or gnu.classpath.home
8506         to load providers.
8507         (loadProviders): Extra dir argument.
8508         (getProvider): Return null when not found.
8510 2002-10-04  Mark Wielaard  <mark@klomp.org>
8512         * java/lang/Throwable.java: Remerge with Classpath.
8514 2002-10-04  Michael Koch  <konqueror@gmx.de>
8516         * java/net/InetAddress.java:
8517         (isMulticastAddress): Added documentation.
8518         (getHostAddress): Added documentation.
8519         (toString): Added documentation.
8520         (getByAddress): Fixed documentation.
8521         (getByName): Added documentation.
8522         (getAllByName): Added documentation.
8523         (getLocalHost): Added documentation.
8525 2002-10-04  Michael Koch  <konqueror@gmx.de>
8527         * java/beans/beancontext/BeanContextChildSupport.java:
8528         Added serialVersionUID.
8529         * java/text/Collator.java: (compare): Made documentation HTML-aware.
8530         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8531         * javax/naming/Name.java: Added serialVersionUID.
8533 2002-10-03  Adam Megacz <adam@xwt.org>
8535         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8536         some functionality that isn't supported yet on WIN32.
8538 2002-10-03  Tom Tromey  <tromey@redhat.com>
8540         * Makefile.in: Rebuilt.
8541         * Makefile.am (awt_java_source_files): Added new files.
8543 2002-10-03  Michael Koch  <konqueror@gmx.de>
8545         * java/net/InetAddress.java
8546         (class InetAddress): Removed final keyword.
8547         (equals): Fixed typo.
8548         (getByAddress): New method.
8550 2002-10-03  Michael Koch  <konqueror@gmx.de>
8552         * java/awt/dnd/Autoscroll.java:
8553         New file, merge from Classpath.
8554         * java/awt/dnd/DragSourceAdapter.java:
8555         (dragExit): Fixed typos in argument type.
8556         (dragDropEnd): Fixed typos in argument type.
8557         * java/awt/dnd/DragSourceDropEvent.java:
8558         New file, merge from Classpath.
8559         * java/awt/dnd/DropTarget.java:
8560         Added stubs, merge from Classpath.
8561         * java/awt/dnd/DropTargetAdapter.java:
8562         New file, merge from Classpath.
8563         * java/awt/dnd/DropTargetContext.java:
8564         New file, merge from Classpath.
8565         * java/awt/dnd/DropTargetDragEvent.java:
8566         New file, merge from Classpath.
8567         * java/awt/dnd/DropTargetDropEvent.java:
8568         New file, merge from Classpath.
8569         * java/awt/dnd/DropTargetEvent.java:
8570         New file, merge from Classpath.
8571         * java/awt/dnd/DropTargetListener.java:
8572         New file, merge from Classpath.
8573         * java/awt/dnd/MouseDragGestureRecognizer.java:
8574         New file, merge from Classpath.
8575         * java/awt/dnd/peer/DropTargetContextPeer.java:
8576         New file, merge from Classpath.
8578 2002-10-03  Michael Koch  <konqueror@gmx.de>
8580         * java/net/DatagramPacket.java
8581         (setLength): Fixed typo and be HTML-aware.
8582         * java/net/InetSocketAddress.java
8583         (InetSocketAddress): Correct initialization of hostname, fixed typo.
8584         (equals): Added comment about equality of InetSocketAddress objects.
8585         * java/net/ServerSocket.java
8586         (accept): Added checks.
8587         (isClosed): New stubbed method.
8588         * java/net/SocketOptions.java: Reindention.
8589         * java/net/SocketPermission
8590         (SocketPermission): Documentation fixed.
8592 2002-10-03  Michael Koch  <konqueror@gmx.de>
8594         * java/net/DatagramSocket.java
8595         (receive): Check with SecurityManager AFTER the packet is received,
8596         check if connected to multicast address, documentation added.
8597         (send): Only check SecurityManager if connected, check address of
8598         packet to send.
8599         (connect): Implemented, documentation added.
8600         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8601         * java/net/InetSocketAddress.java
8602         (whole file): Reindented.
8603         (hostname): New attribute.
8604         (InetSocketAddress): Initialize new attribute.
8605         (getAddress): Documentation added.
8606         (getHostName): Documentation added.
8607         (getPort): Documentation added.
8608         (hashCode): Documentation added.
8609         (isUnresolved): Documentation added.
8610         (toString): Conform to output of JDK 1.4.1, documentation added.
8611         * java/net/MulticastSocket.java
8612         (joinGroup): Removed FIXME, documentation added.
8613         (leaveGroup): Removed FIXME, documentation added.
8614         (send): Documentation added.
8615         * java/net/Socket.java
8616         (inputShutdown): New variable.
8617         (outputShutdown): New variable.
8618         (Socket): Initialize new variables.
8619         (getRemoteSocketAddress): Check if connected.
8620         (shutdownInput): Set new variable.
8621         (shutdownOutput): Set new variable.
8622         (isConnected): New method.
8623         (isClosed): New method.
8624         (isInputShutdown): New method.
8625         (isOutputShutdown): New method.
8626         * java/net/URLStreamHandler.java
8627         (URLStreamHandler): New method.
8628         (openConnection): Added documentation.
8629         (parseURL): Added documentation.
8630         (getHostAddress): New method.
8631         (getDefaultPort): New method.
8633 2002-10-02  Tom Tromey  <tromey@redhat.com>
8635         * java/rmi/activation/ActivationDesc.java,
8636         java/rmi/activation/ActivationGroupDesc.java,
8637         java/rmi/activation/ActivationGroupID.java,
8638         java/rmi/activation/ActivationID.java: New versions from
8639         Classpath.
8641 2002-09-30  Bo Thorsen  <bo@suse.de>
8643         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8645 2002-09-30  Tom Tromey  <tromey@redhat.com>
8647         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8648         from Classpath.
8649         * Makefile.in: Rebuilt.
8650         * Makefile.am (rmi_java_source_files): Added new files.
8651         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8652         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8653         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8654         Classpath.
8655         * gnu/java/rmi/dgc/DGCImpl.java,
8656         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8657         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8658         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8659         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8660         gnu/java/rmi/server/RMIHashes.java,
8661         gnu/java/rmi/server/RMIObjectInputStream.java,
8662         gnu/java/rmi/server/RMIObjectOutputStream.java,
8663         gnu/java/rmi/server/UnicastConnection.java,
8664         gnu/java/rmi/server/UnicastConnectionManager.java,
8665         gnu/java/rmi/server/UnicastRef.java,
8666         gnu/java/rmi/server/UnicastServer.java,
8667         gnu/java/rmi/server/UnicastServerRef.java,
8668         java/rmi/MarshalledObject.java,
8669         java/rmi/server/RMIClassLoader.java,
8670         java/rmi/server/RemoteObject.java,
8671         java/rmi/server/UnicastRemoteObject.java,
8672         java/security/SecureClassLoader.java: Merged from Classpath.
8674 2002-09-29  Anthony Green  <green@redhat.com>
8676         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8677         Imported from GNU Classpath.
8678         * java/lang/reflect/natProxy.cc: New file.
8679         * java/lang/reflect/InvocationHandler.java: New file.  Imported
8680         from GNU Classpath.
8681         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
8682         Classpath.
8683         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8684         Classpath.
8685         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8686         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8687         New statics.
8688         * gcj/javaprims.h ("Java"): Add new classes.
8689         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8690         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8691         java/lang/reflect/Proxy$$ProxyType.h): And this.
8692         (inner_nat_headers): Add these new headers.
8693         (ordinary_java_source_files): Add new files.
8694         (nat_source_files): Add new file.
8695         * Makefile.in: Rebuilt.
8697 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
8699         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8700         a single configuration.
8702 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8704         * java/util/TimeZone.java (getDSTSavings): New method.
8705         Fixes PR libgcj/7786.
8707 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8709         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8710         to see if `the_method == 0' before looking up vtable index.
8711         Fixes PR libgcj/7709.
8713 2002-09-25  Tom Tromey  <tromey@redhat.com>
8715         * java/lang/natClassLoader.cc:
8716         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8717         * resolve.cc: Include NoClassDefFoundError.h, not
8718         ClassNotFoundException.h.
8719         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8721         * defineclass.cc: Don't include ClassNotFoundException.h.
8723         * resolve.cc: Include StringBuffer.
8724         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8726         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8727         allocated but not initialized.
8729 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8731         Fix for PR libgcj/7766:
8732         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8733         (getNextEntry): Set it.
8734         (closeEntry): Likewise.
8735         (read): Likewise.
8736         (close): Likewise.
8737         (available): Use it.
8739 2002-09-25  Michael Koch  <konqueror@gmx.de>
8741         * java/net/DatagramSocket.java
8742         (DatagramSocket): Initialize new instance variables.
8743         (close): Reset new instance variables.
8744         (getLocalAddress): Remove unneeded SecurityManager usage.
8745         (getLocalPort): Check if socket is already bound.
8746         (isConnected): New method.
8747         (getInetAddress): Implemented.
8748         (getPort): Better Implementation, documentation fixed.
8749         (getRemoteSocketAddress): New method.
8750         * java/net/JarURLConnection.java
8751         (element): Typo fixed.
8752         (getMainAttributes): New method.
8753         (getAttributes): New method (stub only).
8754         (getManifest): New method (stub only).
8755         * java/net/NetPermission.java: Added serialVersionsUID.
8756         * java/net/Socket.java
8757         (connect): Check blocking mode of associated channel,
8758         documentation added.
8759         (getLocalSocketAddress): Better implementation.
8760         (getRemoteSocketAddress): Implemented.
8761         (isBound): New method.
8762         (setSendBufferSize): Documentation added.
8763         * java/net/SocketAddress.java: Added serialVersionsUID.
8764         * java/net/SocketPermission.java: Added serialVersionsUID.
8765         * java/net/URL.java
8766         (URL): Wrap for shorter lines, initialize new instance variables,
8767         documentation added.
8768         (equals): Check new instance variables too.
8769         (getContent): Documentation added.
8770         (getPath): Documentation added.
8771         (getAuthority): New method.
8772         (getHost): Documentation added.
8773         (getPort): Documentation added.
8774         (getDefaultPort): New method.
8775         (getProtocol): Documentation added.
8776         (getUserInfo): Documentation added.
8777         (set): Initialize new instance variables, documentation added.
8778         * java/net/URLStreamHandler.java
8779         (setURL): New method.
8780         * java/net/natPlainDatagramSocketImpl.cc
8781         (connect): Fix exception name.
8782         (disconnect): Fix exception name.
8784 2002-09-25  Michael Koch  <konqueror@gmx.de>
8786         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8787         * java/nio/channels/DatagramChannel.java:
8788         extends AbstractSelectableChannel
8789         * java/nio/channels/ServerSocketChannel.java:
8790         extends AbstractSelectableChannel
8791         * java/nio/channels/SocketChannel.java:
8792         extends AbstractSelectableChannel
8793         * Makefile.am (ordinary_java_source_files):
8794         java/nio/channels/spi/AbstractSelectableChannel.java added.
8795         * Makefile.in: Regenerated.
8797 2002-09-25  Michael Koch  <konqueror@gmx.de>
8799         * java/net/DatagramSocket.java
8800         (DatagramSocket): Exception documentation added.
8801         (bind): Exception documentation added, addded SecurityManager check,
8802         added SocketAddress type check.
8803         (getSoTimeout): Check impl.
8804         (receive): Fix SecurityManager check, check impl, documentation added.
8805         (send): Check channel mode, documentation added.
8806         (connect): New method.
8807         (disconnect): Implemented.
8808         (getLocalSocketAddress): New method.
8809         (getReceiveBufferSize): Check impl.
8810         (setReuseAddress): Check impl.
8811         (getReuseAddress): Check impl.
8812         (setBroadcast): Check impl.
8813         (getBroadcast): Check impl.
8814         (setTrafficClass): Check impl, Documentation cleared.
8815         (getTrafficClass): Check impl.
8816         (getSendBufferSize): Check impl.
8817         (setReceiveBufferSize): Check impl, documentation added.
8818         (setSendBufferSize): Documentation added.
8819         (setDatagramSocketImplFactory): New method.
8820         * java/net/HttpURLConnection.java
8821         (HTTP_INTERNAL_ERROR): The correct code is 500.
8822         (HTTP_NOT_IMPLEMENTED): Added new constant.
8823         (setFollowRedirects): Documentation added.
8824         (getInstanceFollowRedirects): New method.
8825         (setInstanceFollowRedirects): New method.
8826         (setRequestMethod): Documentation added.
8827         (getResponseCode): Documentation added.
8828         (getResponseMessage): Documentation added.
8829         * java/net/JarURLConnection.java
8830         (JarURLConnection): protected since JDK 1.4.
8831         (getJarEntry): java.io.IOException to IOException, documentation added.
8832         (getJarFile): Documentation added.
8833         * java/net/ServerSocket.java
8834         (ServerSocket): Private to public, exception added.
8835         (ServerSocket): java.io.IOException to IOException, documentation added.
8836         (bind): Check socket address type, documentation added.
8837         (bind): java.io.IOException to IOException, documentation added.
8838         (accept): Documentation added.
8839         (implAccept): Check ch is not non-blocking, documentation added.
8840         (setSoTimeout): Documentation fixed.
8841         (setReceiveBufferSize): Documentation added.
8842         * java/net/Socket.java
8843         (Socket): Documentation added.
8844         (bind): Documentation added.
8845         (connect): Check socket address type, documentation added.
8846         (getRemoteSocketAddress): New method.
8847         (getLocalSocketAddress): New method.
8848         (setSoLinger): Documentation added.
8849         (getReuseAddress): New method.
8850         (setReuseAddress): New method.
8851         (getTrafficClass): New method.
8852         (setTrafficClass): New method.
8853         * java/net/URLStreamHandler.java
8854         (openConnection): java.io.IOException to IOException.
8855         (parseURL): Documentation added.
8856         (sameFile): public to protected, documentation added.
8857         (setURL): Documentation added.
8858         * java/nio/IllegalBlockingModeException.java: New file.
8859         * Makefile.am (ordinary_java_source_files):
8860         added java/nio/IllegalBlockingModeException.java
8861         * Makefile.in: Regenerated.
8863 2002-09-25  Michael Koch  <konqueror@gmx.de>
8865         * java/net/DatagramPacket
8866         (DatagramPacket): Exception documentation added.
8867         (setData): Likewise.
8868         (setSocketAddress): Likewise.
8869         * java/net/DatagramSocketImpl.java
8870         (peek): Documentation addded.
8871         (peekData): Documentation addded.
8872         (send): Documentation addded.
8873         (receive): Documentation addded.
8874         (connect): New method.
8875         (disconnect): New method.
8876         (joinGroup): New abstract method.
8877         (leaveGroup): New abstract method.
8878         * java/net/InetSocketAddress.java
8879         (InetSocketAddress): Documentation added.
8880         (equals): final keyword added.
8881         (getAddress): final keyword added.
8882         (getHostName): final keyword added.
8883         (getPort): final keyword added.
8884         (hashCode): final keyword added.
8885         (isUnresolved): final keyword added.
8886         * java/net/MulticastSocket.java
8887         (MulticastSocket): Documentation added.
8888         (MulticastSocket): New method.
8889         (joinGroup): Documentation added.
8890         (joinGroup): New method.
8891         (leaveGroup): Documentation added.
8892         (leaveGroup): New method.
8893         (send): Documentation added.
8894         * java/net/NetworkInterface.java
8895         (getByName): Documentation added.
8896         (getByInetAddress): Documentation added.
8897         (getNetworkInterfaces): Documentation added.
8898         * java/net/PlainDatagramSocketImpl.java
8899         (connect): New method.
8900         (disconnect): New method.
8901         * java/net/SocketImpl.java
8902         (create): Documentation added.
8903         (shutdownInput): Convert public to protected, as it always was.
8904         (shutdownOutput): Convert public to protected, as it always was.
8905         * java/net/SocketOptions.java
8906         (whole file): Reintented.
8907         * java/net/URLClassLoader.java
8908         (URLClassLoader): SecurityManager check added, documentation added.
8909         (findResources): Documentation added.
8910         (findClass): Documentation added.
8911         (newInstance): More correct method arguments.
8912         * java/net/URLConnection.java
8913         (connect): Documentation added.
8914         (getContent): Documentation added.
8915         (getPermission): Documentation added.
8916         (getInputStream): Documentation added.
8917         (getOutputStream): Documentation added.
8918         (setDoInput): Throw correct exception, documentation added.
8919         (setDoOutput): Throw correct exception, documentation added.
8920         (setAllowUserInteraction): Throw correct exception, documentation added.
8921         (setUseCaches): Throw correct exception, documentation added.
8922         (setIfModifiedSince): Throw correct exception, documentation added.
8923         (setRequestProperty): Throw exception, documentation added.
8924         (addRequestProperty): Throw exception, documentation added.
8925         (getRequestProperty): Throw exception, documentation added.
8926         (getRequestProperties): Documentation added.
8927         (setContentHandlerFactory): Documentation added.
8928         (guessContentTypeFromName): protected to public.
8929         (setFileNameMap): Documentation added.
8930         * java/net/URLDecoder.java
8931         (URLDecoder): New method.
8932         (decode): Documentation added.
8933         (whole file): Reindented.
8934         * java/net/URLEncoder.java
8935         (encode): Documentation added.
8936         * java/net/natPlainDatagramSocketImpl.cc
8937         (connect): New method.
8938         (disconnect): New method.
8939         * javax/naming/RefAddr:
8940         (addrType): addrType was never final.
8941         (equals): Fix typo in method name.
8942         * javax/naming/BinaryRefAddr:
8943         (equals): Fix typo in method name.
8945 2002-09-22  Tom Tromey  <tromey@redhat.com>
8947         Fix for PR libgcj/6576:
8948         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8949         didn't find a given bundle.
8950         (getBundle): Don't require base bundle.
8951         (setParent): Removed old comment.
8952         (tryLocalBundle): Try components even if preceding components were
8953         empty.
8955 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8957         * Makefile.am (all-multi): Fix multilib parallel build.
8959 2002-09-21  Michael Koch  <konqueror@gmx.de>
8961         * java/net/Socket.java
8962         (sendUrgentData): New method.
8963         (getChannel): New method.
8964         * java/net/ServerSocket.java
8965         (getChannel): New method.
8966         (isBound): New method.
8967         * java/net/DatagramSocket.java
8968         (DatagramSocket): Two new methods.
8969         (bind): New method.
8970         (getChannel): New method.
8971         (isBound): New method.
8972         (send): Added newline to to make shorter lines.
8973         * java/net/PlainDatagramSocketImpl.java
8974         (mcastGrp): Added argument.
8975         (join): Use new mcastGrp.
8976         (leave): Use new mcastGrp.
8977         (joinGroup): New method.
8978         (leaveGroup): New method.
8979         * java/net/natPlainDatagramSocketImpl.cc
8980         (mcastGrp): Added argument, no yet really implemented.
8981         (getOption): Added newline for shorter lines.
8982         * java/net/natPlainSocketImpl.cc
8983         (read, setOption, getOption): Added newline for shorter lines.
8985 2002-09-19  Tom Tromey  <tromey@redhat.com>
8987        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8988        newly-created exception.
8990 2002-09-18  Michael Koch  <konqueror@gmx.de>
8992         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8993         java/util/regex/PatternSyntaxException.java:
8994         Merge with classpath, new files.
8995         * Makefile.am (core_java_source_files):
8996         Added java/util/regex/Matcher.java,
8997         java/util/regex/Pattern.java,
8998         java/util/regex/PatternSyntaxException.java
8999         * Makefile.in: Regenerated.
9000         * include/config.h.in: Added HAVE_NET_IF_H.
9001         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9002         Removed #if 0 ... #endif.
9004 2002-09-17  Michael Koch  <konqueror@gmx.de>
9006         * java/net/natNetworkInterface.cc:
9007         Removed unneed and yet wrong includes.
9009 2002-09-17  Michael Koch  <konqueror@gmx.de>
9011         * java/net/NetworkInterface.java: New file.
9012         * java/net/natNetworkInterface.java: New file.
9013         * configure.in: Added check for net/if.h.
9014         * configure: Regenerated.
9015         * Makefile.am
9016         (ordinary_java_source_files): Added NetworkInterface.java.
9017         (nat_source_files): Added natNetworkInterface.cc.
9018         * Makefile.in: Regenerated.
9020 2002-09-16  Tom Tromey  <tromey@redhat.com>
9022         * java/net/URLClassLoader.java (findClass): Code source for a
9023         class from a jar is not necessarily a jar: URL.
9025 2002-09-16  Michael Koch  <konqueror@gmx.de>
9027         * java/lang/AssertionError.java:
9028         Merge with classpath, fixes HTML.
9029         * java/rmi/server/LogStream.java:
9030         Merge with classpath, fixes some constants.
9031         * java/net/server/RemoteServer.java:
9032         Merge with classpath, adds serialVersionUID.
9033         * javax/naming/BinaryRefAddr.java:
9034         Merge with classpath, s/equal/equals/.
9035         * javax/naming/NamingException.java:
9036         Merge with classpath, fixed typo.
9037         * javax/naming/RefAddr.java:
9038         Merge with classpath, s/equal/equals/.
9039         * java/awt/Toolkit.java:
9040         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9041         and typo fixed.
9043 2002-09-15  Adam Megacz <adam@xwt.org>
9045         * java/net/natPlainSocketImpl.cc: fixed typo.
9047 2002-09-15  Adam Megacz <adam@xwt.org>
9049         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9050         which don't work on Win32 (yet).
9052 2002-09-14  Adam Megacz <adam@xwt.org>
9054         * java/net/natPlainDatagramSocket.cc: removed #include
9055         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9056         * include/win32.h: included definition for IP_TOS to satisfy
9057         natPlainDatagramSocket.cc
9059 2002-09-13  Michael Koch  <konqueror@gmx.de>
9061         * java/net/DatagramPacket.java (DatagramPacket):
9062         Added linebreak for 80 chars per line.
9063         * java/net/JarURLConection.java
9064         (getInputStreami, getJarEntry): Likewise.
9065         * java/net/SocketPErmission.java
9066         (SocketPermission class docu, implies): Likewise.
9067         * java/net/URLClassLoader.java (findResources): Likewise.
9068         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9070 2002-09-13  Michael Koch  <konqueror@gmx.de>
9072         * java/nio/channels/DatagramChannel.java,
9073         java/nio/channels/ServerSocketChannel.java
9074         java/nio/channels/SocketChannel.java:
9075         New dummy files to make java.net fully JDK 1.4 compatible
9076         * Makefile.am (ordinary_java_source_files): Added
9077         java/net/DatagramSocketImplFactory.java (long forgotten),
9078         java/nio/SocketChannel.java,
9079         java/nio/ServerSocketChannel.java,
9080         java/nio/DatagramChannel.java
9081         * Makefile.in: Regenrated.
9083 2002-09-12  Michael Koch  <konqueror@gmx.de>
9085         * java/net/DatagramSocketImpl.java
9086         (peekData): New method.
9087         * java/net/PlainDatagramSocketImpl.java
9088         (peekData): New method.
9089         * java/net/natPlainDatagramSocketImpl.cc
9090         (peekData): New method.
9091         * java/net/URLConnection
9092         (getPermission): New method.
9093         (addRequestProperty): New method.
9094         (getRequestProperties): New method.
9095         (guessContentTypeFromStream): New method, not really implemented.
9096         (URLConnection): Added/updated documentation.
9097         (connect): Added/updated documentation.
9098         (getURL): Added/updated documentation.
9099         (getContentLength): Added/updated documentation.
9100         (getContentType: Added/updated documentation.
9101         (getContentEncoding): Added/updated documentation.
9102         (getExpiration): Added/updated documentation.
9103         (getDate): Added/updated documentation.
9104         (getLastModified): Added/updated documentation.
9105         (getHeaderField): Added/updated documentation.
9106         (getHeaderFields): Added/updated documentation.
9107         (getHeaderFieldInt): Added/updated documentation.
9108         (getHeaderFieldDate): Added/updated documentation.
9109         (getHeaderFieldKey): Added/updated documentation.
9110         (getContent): Added/updated documentation.
9111         (getInputStream): Added/updated documentation.
9112         (getOutputStream): Added/updated documentation.
9113         (toString): Added/updated documentation.
9114         (setDoInput): Added/updated documentation.
9115         (getDoInput): Added/updated documentation.
9116         (setDoOutput): Added/updated documentation.
9117         (getDoOutput): Added/updated documentation.
9118         (setAllowUserInteraction): Added/updated documentation.
9119         (getAllowUserInteraction): Added/updated documentation.
9120         (setDefaultAllowUserInteraction): Added/updated documentation.
9121         (getDefaultAllowUserInteraction): Added/updated documentation.
9122         (setUseCaches): Added/updated documentation.
9123         (getUseCaches): Added/updated documentation.
9124         (setIfModifiedSince): Added/updated documentation.
9125         (getIfModifiedSince): Added/updated documentation.
9126         (getDefaultUseCaches): Added/updated documentation.
9127         (setDefaultUseCaches): Added/updated documentation.
9128         (setRequestProperty): Added/updated documentation.
9129         (getRequestProperty): Added/updated documentation.
9130         (setDefaultRequestProperty): Added/updated documentation.
9131         (getDefaultRequestProperty): Added/updated documentation.
9132         (setContentHandlerFactory): Added/updated documentation.
9133         (guessContentTypeFromName): Added/updated documentation.
9134         (getFileNameMap): Added/updated documentation.
9135         (setFileNameMap): Added/updated documentation.
9137 2002-09-11  Michael Koch  <konqueror@gmx.de>
9139         * java/net/Socket.java
9140         (Socket): protected to public (since JDK 1.4). Added @specnote.
9141         (bind): New method.
9142         (connect): Two new methods.
9143         (getKeepalive): Get correct socket option.
9144         (setKeepalive): Set correct socket option.
9145         (getOOBInline): New method.
9146         (setOOBInline): New method.
9147         * java/net/ServerSocket.java
9148         (bind): Two new methods.
9149         (getInetAddress): Reimplemented, catch exception.
9150         (getLocalSocketAddress): New method.
9151         (setReuseAddress): New method.
9152         (getReuseAdress): New method.
9153         (setReceiveBufferSize): New method.
9154         (getReceiveBufferSize): New method.
9155         (toString): Made string JDK 1.4 compliant.
9157 2002-09-10  Michael Koch  <konqueror@gmx.de>
9159         * java/net/SocketImpl.java
9160         (connect): New method.
9161         (supportsUrgentData): New method.
9162         (sendUrgentData): New method.
9163         * java/net/PlainSocketImpl.java
9164         (connect): One new method and two new implementation.
9165         (sendUrgentData): New method.
9166         * java/natPlainSocketImpl.cc
9167         (connect): Arguments changed, added support for timeouts.
9168         (getOption): Another __java_boolean to jboolean.
9170 2002-09-07  Adam Megacz <adam@xwt.org>
9172         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9173         definition of IP_TOS.
9175 2002-09-04  Michael Koch  <konqueror@gmx.de>
9177         * java/net/DatagramSocket.java
9178         (DatagramSocket): Added documentation.
9179         (close): Likewise.
9180         (getLocalAddress): Likewise.
9181         (getLocalPort): Likewise.
9182         (receive): Likewise.
9183         (send): Likewise.
9184         (setSoTimeout): Likewise.
9185         (connect): New method.
9186         (disconnect): New method.
9187         (getInetAddress): New method (FIXME)
9188         (getPort): New method.
9189         (setReuseAddress): New method.
9190         (getReuseAddress): New method.
9191         (setBroadcast): New method.
9192         (getBroadcast): New method.
9193         (setTrafficClass): New method.
9194         (getTrafficClass): New method.
9195         * java/net/MulticastSocket.java):
9196         (getTTL): Added @see in documentation.
9197         (setTTL): Added @see in documentation.
9198         (setLoopbackMode): New method.
9199         (getLoopbackMode): New method.
9200         * java/net/PlainSocketImpl.java:
9201         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9202         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9203         * java/net/PlainDatagramSocketImpl.java
9204         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9205         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9206         * java/net/natPlainSocketImpl.cc
9207         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9208         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9209         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9210         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9211         This should also fix SO_KEEPALIVE
9212         * java/net/natPlainDatagramSocketImpl.cc
9213         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9214         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9215         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9216         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9218 2002-09-04  Michael Koch  <konqueror@gmx.de>
9220         * java/net/SocketOptions.java: added static variables to be JDK 1.4
9221         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9222         IP_MULTICAST_LOOP, IP_TOS
9224 2002-09-03  Tom Tromey  <tromey@redhat.com>
9226         * java/lang/Class.h (_getDeclaredMethod): Declare.
9227         (_getMethod): Now private.
9228         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9229         getDeclaredMethod.  Now returns NULL on failure.
9230         * java/lang/Class.java (_getDeclaredMethod): Declare.
9231         (getDeclaredMethod): No longer native; implements access checks.
9233 2002-09-01  Mark Wielaard  <mark@klomp.org>
9235         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9236         (sanitizeStack): Correctly reset unknown and interpreter counters,
9237         detect interpreter runtime frames.
9238         (demangleInterpreterMethod): New method.
9239         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9240         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9241         filling in addrs[].
9243 2002-09-02  Michael Koch  <konqueror@gmx.de>
9245         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9246         re-indented documentation.
9248 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9250         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9251         public, per 1.4 spec.  Fixes PR libgcj/7785.
9253 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
9255         * Makefile.in: Rebuilt.
9256         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9258 2002-08-29  Tom Tromey  <tromey@redhat.com>
9260         * java/net/JarURLConnection.java (getCertificates): New method
9261         from Classpath.
9262         * java/net/URLClassLoader.java (URLClassLoader): Extends
9263         SecureClassLoader.
9264         (definePackage): New method from Classpath.
9265         (getPermissions): Likewise.
9266         (newInstance): Likewise.
9267         (findClass): Construct CodeSource for new class (from Classpath).
9268         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9269         methods.
9270         * java/net/URL.java (getUserInfo): New method.
9271         (set(String,String,int,String,String,String,String,String)): New
9272         method.
9273         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9274         (shutdownInput, shutdownOutput): Declare.
9275         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9276         Define.
9277         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9278         (getOption): Likewise.
9279         (shutdownInput): New method.
9280         (shutdownOutput): Likewise.
9281         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9282         keepalive.
9283         (getOption): Likewise.
9284         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9285         * java/net/Socket.java (setKeepAlive): New method.
9286         (getKeepAlive): Likewise.
9287         (shutdownInput, shutdownOutput): New methods.
9289 2002-08-29  Michael Koch  <konqueror@gmx.de>
9291         * java/net/DatagramPacket.java: updated to JDK 1.4 API
9292         new methods are:
9293         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9294           address),
9295         DatagramPacket(byte[] buf, int length, SocketAddress address),
9296         void setSocketAddress(SocketAddress address)
9297         public SocketAddress getSocketAddress()
9299 2002-08-29  Tom Tromey  <tromey@redhat.com>
9301         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9302         ftruncate is missing.
9303         * configure, include/config.h.in: Rebuilt.
9304         * acconfig.h (HAVE_FTRUNCATE): Mention.
9305         * configure.in: Check for ftruncate.
9307 2002-08-29  Tom Tromey  <tromey@redhat.com>
9309         * include/jvm.h (struct _Jv_frame_info): New structure.
9310         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9311         java-interp.h.
9312         (lookupInterp): New method.
9313         (getAddrAsString): Use _Jv_frame_info.
9314         (dladdrLookup): Likewise.
9315         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9316         interpreted frame.
9317         (lookupInterp): Declare.
9318         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9319         (fillInStackTrace): Collect information on interpreted frames.
9320         Use _Jv_frame_info.
9321         * interpret.cc: Include Thread.h.
9322         (run): Create and push _Jv_MethodChain object.
9323         (_Jv_EndOfInterpreter): New global.
9324         * java/lang/Thread.java (interp_frame): New field.
9325         * include/java-interp.h (struct _Jv_MethodChain): New structure.
9326         Include NameFinder.h.
9328 2002-08-28  Tom Tromey  <tromey@redhat.com>
9330         * java/lang/Class.h: Include Package.h.
9331         (Class::getProtectionDomain): Declare.
9332         (Class::getPackage): Declare.
9334 2002-08-28  Michael Koch <konqueror@gmx.de>
9336         * java/net/InetSocketAddress.java: Added some documentation and argument
9337         checks for the port numbers.
9338         * java/net/DatagramSocketImplFactory.java: New file.
9340 2002-08-28  Michael Koch <konqueror@gmx.de>
9342         * java/net/Authenticator.java: added some documentation.
9344 2002-08-27  Tom Tromey  <tromey@redhat.com>
9346         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9347         class.
9348         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9350 2002-08-27  Michael Koch <konqueror@gmx.de>
9352         * java/net/BindException.java,
9353         java/net/JarURLConnection.java,
9354         java/net/FileNameMap.java,
9355         java/net/HttpURLConnection.java,
9356         java/net/InetSocketAddress.java,
9357         java/net/DatagramPacket.java,
9358         java/net/DatagramSocket.java,
9359         java/net/DatagramSocketImpl.java,
9360         java/net/MulticastSocket.java,
9361         java/net/PasswordAuthentication.java,
9362         java/net/ServerSocket.java,
9363         java/net/Socket.java,
9364         java/net/URLClassLoader.java,
9365         java/net/URLConnection.java: add/update of some @since/@deprecated
9367 2002-08-27  Tony Kimball <alk@pobox.com>
9368             Tom Tromey  <tromey@redhat.com>
9370         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9371         define.
9372         (::close): Removed.
9373         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9374         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9375         (::close): Removed.
9376         (PlainSocketImpl::close): Use NATIVE_CLOSE.
9377         * include/win32.h (getcwd): Removed declaration.  Include io.h.
9379 2002-08-25  Adam Megacz <adam@xwt.org>
9381         * include/win32.h (getcwd): copied function declaration as
9382         temporary fix for header confusion.
9384 2002-08-24  Mark Wielaard <mark@klomp.org>
9386         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9387         (core_java_source_files): Add VMThrowable.java and NameFinder.java
9388         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9389         and natNameFinder.cc.
9390         * Makefile.in: Regenerate.
9391         * prims.cc: Use trace_enabled from VMThrowable.
9392         * name-finder.cc: Removed.
9393         * gcj/javaprims.h: Add class VMThrowable.
9394         * gnu/gcj/runtime/NameFinder.java: New file.
9395         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9396         * include/name-finder.h: Removed.
9397         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9398         method stackTraceString().
9399         (printStackTrace (PrintWriter)): Likewise.
9400         (stackTraceString): Complete rewrite of old printStackTrace using
9401         StringBuffer.
9402         (stackTraceStringBuffer): New helper method for stackTraceString().
9403         (fillInStackTrace): Delegate to VMTrowable.
9404         (getStackTrace): Likewise.
9405         (getStackTrace0): Removed.
9406         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9407         (setStackTrace): Copy given array.
9408         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9409         * java/lang/VMThrowable.java: New class.
9410         * java/lang/natVMThrowable.cc: New file.
9412 2003-08-23  Michael Koch  <konqueror@gmx.de>
9414         * java/net/URLConnection.java,
9415         java/netJarURLConnection.java,
9416         gnu/gcj/protocol/core/Connection.java,
9417         gnu/gcj/protocol/file/Connection.java,
9418         gnu/gcj/protocol/http/Connection.java: Added implementation of
9419         getHeaderFields().
9421 2002-08-22  Tom Tromey  <tromey@redhat.com>
9423         * gij.cc (help): Document -cp and -classpath.
9424         (main): Handle -classpath.
9426 2002-08-21  Tom Tromey  <tromey@redhat.com>
9428         * Makefile.in: Rebuilt.
9429         * Makefile.am (ordinary_java_source_files): Added
9430         SocketAddress.java, InetSocketAddress.java.
9431         * java/net/PortUnreachableException.java: Merged with Classpath.
9432         * java/net/SocketTimeoutException.java: Likewise.
9433         * java/net/URISyntaxException.java: Likewise.
9434         * java/net/SocketAddress.java: New class from Classpath.
9435         * java/net/InetSocketAddress.java: Likewise.
9437 2003-08-21  Michael Koch  <konqueror@gmx.de>
9439         * java/net/Authenticator.java: updated JDK 1.4
9440         * java/net/ContentHandler.java: updated JDK 1.4
9442 2002-08-20  Michael Koch  <konqueror@gmx.de>
9444         * java/net/URISyntaxException.java: New file.
9445         * java/net/SocketTimeoutException.java: New file.
9446         * java/net/PortUnreachableException.java: New file.
9447         * Makefile.am: Updated.
9448         * Makefile.in: Rebuilt.
9450 2002-08-18  Mark Wielaard  <mark@klomp.org>
9452         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9453         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9454         MessageDigestSpi (fixes Classpath bug #783).
9456 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9458         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9459         (startProcess): Allocate path for chdir in async-signal-safe way.
9461 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9463         Fix for PR libgcj/7570 and PR libgcj/7578:
9464         * java/lang/natPosixProcess.cc: Include java/io/File.h.
9465         (startProcess): Handle new `dir' argument.
9466         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9467         argument.
9468         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9469         argument.
9470         (startProcess): Likewise.
9471         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9472         argument.
9473         * java/lang/Runtime.java (execInternal): Added `dir' argument.
9474         (exec): Don't create new environment if ENV==null.  Pass DIR to
9475         execInternal.
9476         * java/lang/natRuntime.cc: Include java/io/File.h.
9477         (execInternal): Added `dir' argument.
9479 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9481         * java/io/RandomAccessFile.java (skipBytes): Return number of
9482         bytes skipped.
9484 2002-08-01  Mark Wielaard  <mark@klomp.org>
9486         Reenable patch since shared library troubles on powerpc are solved:
9487         * gnu/java/security/provider/Gnu.java: Reference all implementation
9488         classes by using Class.getName().
9489         * gnu/java/security/der/DEREncodingException.java,
9490         gnu/java/security/provider/DERReader.java,
9491         gnu/java/security/provider/DERWriter.java,
9492         gnu/java/security/provider/DSAKeyPairGenerator.java,
9493         gnu/java/security/provider/DSAParameterGenerator.java,
9494         gnu/java/security/provider/DSAParameters.java,
9495         gnu/java/security/provider/DSASignature.java,
9496         gnu/java/security/provider/GnuDSAPrivateKey.java,
9497         gnu/java/security/provider/GnuDSAPublicKey.java,
9498         gnu/java/security/provider/MD5.java,
9499         gnu/java/security/util/Prime.java: New classes
9500         * Makefile.am (ordinary_java_source_files): Add above files.
9501         * Makefile.in: Regenerate.
9502         * gnu/java/security/provider/DefaultPolicy.java
9503         (getPermissions): Don't maintain static class variable of Permissions.
9504         * gnu/java/security/provider/SHA.java
9505         (engineUpdate): algorithm change.
9506         (engineDigest): algorithm change.
9508 2002-08-09  Mark Wielaard  <mark@klomp.org>
9510         * java/awt/image/MemoryImageSource.java: Change constructor to take
9511         int[] not byte[].
9512         * java/awt/Graphics2D.java: Uncomment methods that can now be
9513         compiled.
9514         * java/awt/GridBagLayout.java: New stub implementation.
9515         * javax/swing/text/html/HTML.java: Stub implementation.
9516         * javax/swing/text/html/parser/ParserDelegator.java: New stub
9517         implementation.
9519         * Makefile.am: Add new files.
9520         * Makefile.in: Rebuilt.
9522 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9524         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9525         methods in Graphics2D.
9527 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9529         AWT/Swing merge from GNU Classpath.
9531         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9532         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9533         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9534         java/awt/color/ProfileDataException.java,
9535         java/awt/CompositeContext.java, java/awt/Composite.java,
9536         java/awt/ContainerOrderFocusTraversalPolicy.java,
9537         java/awt/datatransfer/FlavorTable.java,
9538         java/awt/DefaultFocusTraversalPolicy.java,
9539         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9540         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9541         java/awt/dnd/DragGestureListener.java,
9542         java/awt/dnd/DragGestureRecognizer.java,
9543         java/awt/dnd/DragSourceAdapter.java,
9544         java/awt/dnd/DragSourceContext.java,
9545         java/awt/dnd/DragSourceDragEvent.java,
9546         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9547         java/awt/dnd/DragSourceListener.java,
9548         java/awt/dnd/DragSourceMotionListener.java,
9549         java/awt/dnd/DropTarget.java,
9550         java/awt/dnd/InvalidDnDOperationException.java,
9551         java/awt/dnd/peer/DragSourceContextPeer.java,
9552         java/awt/event/AWTEventListenerProxy.java,
9553         java/awt/event/MouseWheelEvent.java,
9554         java/awt/event/MouseWheelListener.java,
9555         java/awt/event/WindowFocusListener.java,
9556         java/awt/event/WindowStateListener.java,
9557         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9558         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9559         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9560         java/awt/geom/FlatteningPathIterator.java,
9561         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9562         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9563         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9564         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9565         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9566         java/awt/image/ImagingOpException.java,
9567         java/awt/image/RasterFormatException.java,
9568         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9569         java/awt/image/VolatileImage.java,
9570         java/awt/image/WritableRenderedImage.java,
9571         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9572         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9573         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9574         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9575         java/awt/PageAttributes.java, java/awt/print/Book.java,
9576         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9577         java/awt/print/Paper.java, java/awt/print/Printable.java,
9578         java/awt/print/PrinterAbortException.java,
9579         java/awt/print/PrinterException.java,
9580         java/awt/print/PrinterGraphics.java,
9581         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9582         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9583         java/awt/Stroke.java, java/awt/TexturePaint.java,
9584         javax/accessibility/AccessibleAction.java,
9585         javax/accessibility/AccessibleBundle.java,
9586         javax/accessibility/AccessibleComponent.java,
9587         javax/accessibility/AccessibleContext.java,
9588         javax/accessibility/AccessibleEditableText.java,
9589         javax/accessibility/AccessibleExtendedComponent.java,
9590         javax/accessibility/AccessibleExtendedTable.java,
9591         javax/accessibility/AccessibleHyperlink.java,
9592         javax/accessibility/AccessibleHypertext.java,
9593         javax/accessibility/AccessibleIcon.java,
9594         javax/accessibility/Accessible.java,
9595         javax/accessibility/AccessibleKeyBinding.java,
9596         javax/accessibility/AccessibleRelation.java,
9597         javax/accessibility/AccessibleRelationSet.java,
9598         javax/accessibility/AccessibleResourceBundle.java,
9599         javax/accessibility/AccessibleRole.java,
9600         javax/accessibility/AccessibleSelection.java,
9601         javax/accessibility/AccessibleState.java,
9602         javax/accessibility/AccessibleStateSet.java,
9603         javax/accessibility/AccessibleTable.java,
9604         javax/accessibility/AccessibleTableModelChange.java,
9605         javax/accessibility/AccessibleText.java,
9606         javax/accessibility/AccessibleValue.java,
9607         javax/swing/AbstractAction.java,
9608         javax/swing/AbstractButton.java,
9609         javax/swing/AbstractCellEditor.java,
9610         javax/swing/AbstractListModel.java,
9611         javax/swing/AbstractSet.java, javax/swing/Action.java,
9612         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9613         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9614         javax/swing/border/CompoundBorder.java,
9615         javax/swing/border/EmptyBorder.java,
9616         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9617         javax/swing/border/LineBorder.java,
9618         javax/swing/border/MatteBorder.java,
9619         javax/swing/border/TitledBorder.java,
9620         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9621         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9622         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9623         javax/swing/CellRendererPane.java,
9624         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9625         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9626         javax/swing/colorchooser/ColorSelectionModel.java,
9627         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9628         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9629         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9630         javax/swing/DefaultBoundedRangeModel.java,
9631         javax/swing/DefaultButtonModel.java,
9632         javax/swing/DefaultCellEditor.java,
9633         javax/swing/DefaultCellRenderer.java,
9634         javax/swing/DefaultComboBoxModel.java,
9635         javax/swing/DefaultDesktopManager.java,
9636         javax/swing/DefaultFocusManager.java,
9637         javax/swing/DefaultListCellRenderer.java,
9638         javax/swing/DefaultListModel.java,
9639         javax/swing/DefaultListSelectionModel.java,
9640         javax/swing/DefaultSingleSelectionModel.java,
9641         javax/swing/DesktopManager.java,
9642         javax/swing/event/AncestorEvent.java,
9643         javax/swing/event/AncestorListener.java,
9644         javax/swing/event/CaretEvent.java,
9645         javax/swing/event/CaretListener.java,
9646         javax/swing/event/CellEditorListener.java,
9647         javax/swing/event/ChangeEvent.java,
9648         javax/swing/event/ChangeListener.java,
9649         javax/swing/event/DocumentEvent.java,
9650         javax/swing/event/DocumentListener.java,
9651         javax/swing/event/EventListenerList.java,
9652         javax/swing/event/HyperlinkEvent.java,
9653         javax/swing/event/HyperlinkListener.java,
9654         javax/swing/event/InternalFrameAdapter.java,
9655         javax/swing/event/InternalFrameEvent.java,
9656         javax/swing/event/InternalFrameListener.java,
9657         javax/swing/event/ListDataEvent.java,
9658         javax/swing/event/ListDataListener.java,
9659         javax/swing/event/ListSelectionEvent.java,
9660         javax/swing/event/ListSelectionListener.java,
9661         javax/swing/event/MenuDragMouseEvent.java,
9662         javax/swing/event/MenuDragMouseListener.java,
9663         javax/swing/event/MenuEvent.java,
9664         javax/swing/event/MenuKeyEvent.java,
9665         javax/swing/event/MenuKeyListener.java,
9666         javax/swing/event/MenuListener.java,
9667         javax/swing/event/MouseInputAdapter.java,
9668         javax/swing/event/MouseInputListener.java,
9669         javax/swing/event/PopupMenuEvent.java,
9670         javax/swing/event/PopupMenuListener.java,
9671         javax/swing/event/SwingPropertyChangeSupport.java,
9672         javax/swing/event/TableColumnModelEvent.java,
9673         javax/swing/event/TableColumnModelListener.java,
9674         javax/swing/event/TableModelEvent.java,
9675         javax/swing/event/TableModelListener.java,
9676         javax/swing/event/TreeExpansionEvent.java,
9677         javax/swing/event/TreeExpansionListener.java,
9678         javax/swing/event/TreeModelEvent.java,
9679         javax/swing/event/TreeModelListener.java,
9680         javax/swing/event/TreeSelectionEvent.java,
9681         javax/swing/event/TreeSelectionListener.java,
9682         javax/swing/event/TreeWillExpandListener.java,
9683         javax/swing/event/UndoableEditEvent.java,
9684         javax/swing/event/UndoableEditListener.java,
9685         javax/swing/filechooser/FileFilter.java,
9686         javax/swing/filechooser/FileSystemView.java,
9687         javax/swing/filechooser/FileView.java,
9688         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9689         javax/swing/Icon.java, javax/swing/ImageIcon.java,
9690         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9691         javax/swing/JApplet.java, javax/swing/JButton.java,
9692         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9693         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9694         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9695         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9696         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9697         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9698         javax/swing/JLayeredPane.java, javax/swing/JList.java,
9699         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9700         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9701         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9702         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9703         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9704         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9705         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9706         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9707         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9708         javax/swing/JTextField.java, javax/swing/JTextPane.java,
9709         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9710         javax/swing/JToolTip.java, javax/swing/JTree.java,
9711         javax/swing/JViewport.java, javax/swing/JWindow.java,
9712         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9713         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9714         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9715         javax/swing/MenuSelectionManager.java,
9716         javax/swing/MutableComboBoxModel.java,
9717         javax/swing/OverlayLayout.java,
9718         javax/swing/plaf/ActionMapUIResource.java,
9719         javax/swing/plaf/basic/BasicBorders.java,
9720         javax/swing/plaf/basic/BasicButtonUI.java,
9721         javax/swing/plaf/basic/BasicCheckBoxUI.java,
9722         javax/swing/plaf/basic/BasicDefaults.java,
9723         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9724         javax/swing/plaf/basic/BasicIconFactory.java,
9725         javax/swing/plaf/basic/BasicLabelUI.java,
9726         javax/swing/plaf/basic/BasicListUI.java,
9727         javax/swing/plaf/basic/BasicLookAndFeel.java,
9728         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9729         javax/swing/plaf/basic/BasicPanelUI.java,
9730         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9731         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9732         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9733         javax/swing/plaf/basic/BasicTextUI.java,
9734         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9735         javax/swing/plaf/basic/BasicTreeUI.java,
9736         javax/swing/plaf/basic/BasicViewportUI.java,
9737         javax/swing/plaf/BorderUIResource.java,
9738         javax/swing/plaf/ButtonUI.java,
9739         javax/swing/plaf/ColorChooserUI.java,
9740         javax/swing/plaf/ColorUIResource.java,
9741         javax/swing/plaf/ComboBoxUI.java,
9742         javax/swing/plaf/ComponentInputMapUIResource.java,
9743         javax/swing/plaf/ComponentUI.java,
9744         javax/swing/plaf/DesktopIconUI.java,
9745         javax/swing/plaf/DesktopPaneUI.java,
9746         javax/swing/plaf/DimensionUIResource.java,
9747         javax/swing/plaf/FileChooserUI.java,
9748         javax/swing/plaf/FontUIResource.java,
9749         javax/swing/plaf/IconUIResource.java,
9750         javax/swing/plaf/InputMapUIResource.java,
9751         javax/swing/plaf/InsetsUIResource.java,
9752         javax/swing/plaf/InternalFrameUI.java,
9753         javax/swing/plaf/LabelUI.java,
9754         javax/swing/plaf/ListUI.java,
9755         javax/swing/plaf/MenuBarUI.java,
9756         javax/swing/plaf/MenuItemUI.java,
9757         javax/swing/plaf/OptionPaneUI.java,
9758         javax/swing/plaf/PanelUI.java,
9759         javax/swing/plaf/PopupMenuUI.java,
9760         javax/swing/plaf/ProgressBarUI.java,
9761         javax/swing/plaf/RootPaneUI.java,
9762         javax/swing/plaf/ScrollBarUI.java,
9763         javax/swing/plaf/ScrollPaneUI.java,
9764         javax/swing/plaf/SeparatorUI.java,
9765         javax/swing/plaf/SliderUI.java,
9766         javax/swing/plaf/SplitPaneUI.java,
9767         javax/swing/plaf/TabbedPaneUI.java,
9768         javax/swing/plaf/TableHeaderUI.java,
9769         javax/swing/plaf/TableUI.java,
9770         javax/swing/plaf/TextUI.java,
9771         javax/swing/plaf/ToolBarUI.java,
9772         javax/swing/plaf/ToolTipUI.java,
9773         javax/swing/plaf/TreeUI.java,
9774         javax/swing/plaf/UIResource.java,
9775         javax/swing/plaf/ViewportUI.java,
9776         javax/swing/ProgressMonitorInputStream.java,
9777         javax/swing/ProgressMonitor.java,
9778         javax/swing/Renderer.java,
9779         javax/swing/RepaintManager.java,
9780         javax/swing/RootPaneContainer.java,
9781         javax/swing/Scrollable.java,
9782         javax/swing/ScrollPaneConstants.java,
9783         javax/swing/ScrollPaneLayout.java,
9784         javax/swing/SingleSelectionModel.java,
9785         javax/swing/SizeRequirements.java,
9786         javax/swing/SizeSequence.java,
9787         javax/swing/SwingConstants.java,
9788         javax/swing/SwingUtilities.java,
9789         javax/swing/table/AbstractTableModel.java,
9790         javax/swing/table/DefaultTableCellRenderer.java,
9791         javax/swing/table/DefaultTableColumnModel.java,
9792         javax/swing/table/DefaultTableModel.java,
9793         javax/swing/table/TableCellEditor.java,
9794         javax/swing/table/TableCellRenderer.java,
9795         javax/swing/table/TableColumn.java,
9796         javax/swing/table/TableColumnModel.java,
9797         javax/swing/table/TableModel.java,
9798         javax/swing/text/AbstractDocument.java,
9799         javax/swing/text/AttributeSet.java,
9800         javax/swing/text/BadLocationException.java,
9801         javax/swing/text/Caret.java,
9802         javax/swing/text/CharacterIterator.java,
9803         javax/swing/text/ComponentView.java,
9804         javax/swing/text/DefaultCaret.java,
9805         javax/swing/text/DefaultEditorKit.java,
9806         javax/swing/text/Document.java,
9807         javax/swing/text/EditorKit.java,
9808         javax/swing/text/Element.java,
9809         javax/swing/text/GapContent.java,
9810         javax/swing/text/JTextComponent.java,
9811         javax/swing/text/Keymap.java,
9812         javax/swing/text/MutableAttributeSet.java,
9813         javax/swing/text/PlainDocument.java,
9814         javax/swing/text/PlainEditorKit.java,
9815         javax/swing/text/Position.java,
9816         javax/swing/text/Segment.java,
9817         javax/swing/text/StyledDocument.java,
9818         javax/swing/text/StyledEditorKit.java,
9819         javax/swing/text/Style.java,
9820         javax/swing/text/TextAction.java,
9821         javax/swing/text/ViewFactory.java,
9822         javax/swing/text/View.java,
9823         javax/swing/Timer.java,
9824         javax/swing/ToggleButtonModel.java,
9825         javax/swing/ToolTipManager.java,
9826         javax/swing/tree/AbstractLayoutCache.java,
9827         javax/swing/tree/DefaultMutableTreeNode.java,
9828         javax/swing/tree/DefaultTreeCellEditor.java,
9829         javax/swing/tree/DefaultTreeCellRenderer.java,
9830         javax/swing/tree/DefaultTreeModel.java,
9831         javax/swing/tree/DefaultTreeSelectionModel.java,
9832         javax/swing/tree/ExpandVetoException.java,
9833         javax/swing/tree/FixedHeightLayoutCache.java,
9834         javax/swing/tree/MutableTreeNode.java,
9835         javax/swing/tree/RowMapper.java,
9836         javax/swing/tree/TreeCellEditor.java,
9837         javax/swing/tree/TreeCellRenderer.java,
9838         javax/swing/tree/TreeModel.java,
9839         javax/swing/tree/TreeNode.java,
9840         javax/swing/tree/TreePath.java,
9841         javax/swing/tree/TreeSelectionModel.java,
9842         javax/swing/tree/VariableHeightLayoutCache.java,
9843         javax/swing/UIDefaults.java,
9844         javax/swing/UIManager.java,
9845         javax/swing/undo/AbstractUndoableEdit.java,
9846         javax/swing/undo/CannotRedoException.java,
9847         javax/swing/undo/CannotUndoException.java,
9848         javax/swing/undo/CompoundEdit.java,
9849         javax/swing/undo/StateEditable.java,
9850         javax/swing/undo/StateEdit.java,
9851         javax/swing/undo/UndoableEdit.java,
9852         javax/swing/undo/UndoableEditSupport.java,
9853         javax/swing/undo/UndoManager.java,
9854         javax/swing/UnsupportedLookAndFeelException.java,
9855         javax/swing/ViewportLayout.java,
9856         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9858         * java/awt/ActiveEvent.java,
9859         java/awt/Adjustable.java, java/awt/AWTError.java,
9860         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9861         java/awt/AWTException.java, java/awt/AWTPermission.java,
9862         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9863         java/awt/Color.java, java/awt/Component.java,
9864         java/awt/ComponentOrientation.java, java/awt/Container.java,
9865         java/awt/datatransfer/MimeTypeParseException.java,
9866         java/awt/datatransfer/Transferable.java,
9867         java/awt/datatransfer/UnsupportedFlavorException.java,
9868         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9869         java/awt/event/ActionListener.java,
9870         java/awt/event/AdjustmentEvent.java,
9871         java/awt/event/AdjustmentListener.java,
9872         java/awt/event/AWTEventListener.java,
9873         java/awt/event/ComponentAdapter.java,
9874         java/awt/event/ComponentEvent.java,
9875         java/awt/event/ComponentListener.java,
9876         java/awt/event/ContainerAdapter.java,
9877         java/awt/event/ContainerEvent.java,
9878         java/awt/event/ContainerListener.java,
9879         java/awt/event/FocusAdapter.java,
9880         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9881         java/awt/event/HierarchyBoundsAdapter.java,
9882         java/awt/event/HierarchyBoundsListener.java,
9883         java/awt/event/HierarchyEvent.java,
9884         java/awt/event/HierarchyListener.java,
9885         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9886         java/awt/event/InputMethodListener.java,
9887         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9888         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9889         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9890         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9891         java/awt/event/MouseListener.java,
9892         java/awt/event/MouseMotionAdapter.java,
9893         java/awt/event/MouseMotionListener.java,
9894         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9895         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9896         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9897         java/awt/event/WindowListener.java, java/awt/Font.java,
9898         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9899         java/awt/geom/Ellipse2D.java,
9900         java/awt/geom/IllegalPathStateException.java,
9901         java/awt/geom/Line2D.java,
9902         java/awt/geom/NoninvertibleTransformException.java,
9903         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9904         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9905         java/awt/geom/RoundRectangle2D.java,
9906         java/awt/GraphicsConfiguration.java,
9907         java/awt/IllegalComponentStateException.java,
9908         java/awt/image/IndexColorModel.java,
9909         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9910         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9911         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9912         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9913         java/awt/MenuItem.java, java/awt/PaintContext.java,
9914         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9915         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9916         java/awt/PrintJob.java, java/awt/Rectangle.java,
9917         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9918         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9919         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9921         * java/awt/im/spi/InputMethod.java,
9922         java/awt/im/spi/InputMethodContext.java,
9923         java/awt/im/spi/InputMethodDescriptor.java,
9924         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9925         java/awt/image/renderable/ParameterBlock.java,
9926         java/awt/image/renderable/RenderContext.java,
9927         java/awt/image/renderable/RenderableImage.java,
9928         java/awt/image/renderable/RenderableImageOp.java,
9929         java/awt/image/renderable/RenderableImageProducer.java,
9930         java/awt/image/renderable/RenderedImageFactory.java: New files from
9931         classpath.
9933         * gnu/java/awt/EventModifier.java,
9934         gnu/java/awt/image/ImageDecoder.java,
9935         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9937         * gnu/awt/xlib/XGraphicsConfiguration.java,
9938         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9939         API.
9941         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9942         GNU Classpath.
9944         * Makefile.am: Add new files.
9945         * Makefile.in: Rebuilt.
9947 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9949         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9950         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9951         findResource, getResources, findResources): Add javadoc from classpath.
9952         (getSystemResources): Implemented.
9954 2002-08-01  Mark Wielaard  <mark@klomp.org>
9956         Revert patch that breaks libgcj shared library on powerpc:
9957         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9958         implementation classes by using Class.getName(). Uses Strings again.
9959         * gnu/java/security/der/DEREncodingException.java,
9960         gnu/java/security/provider/DERReader.java,
9961         gnu/java/security/provider/DERWriter.java,
9962         gnu/java/security/provider/DSAKeyPairGenerator.java,
9963         gnu/java/security/provider/DSAParameterGenerator.java,
9964         gnu/java/security/provider/DSAParameters.java,
9965         gnu/java/security/provider/DSASignature.java,
9966         gnu/java/security/provider/GnuDSAPrivateKey.java,
9967         gnu/java/security/provider/GnuDSAPublicKey.java,
9968         gnu/java/security/provider/MD5.java,
9969         gnu/java/security/util/Prime.java: Removed.
9970         * Makefile.am (ordinary_java_source_files): Remove above files.
9971         * Makefile.in: Regenerate.
9972         * gnu/java/security/provider/DefaultPolicy.java
9973         (getPermissions): Revert to maintaining static class variable of
9974         Permissions.
9975         * gnu/java/security/provider/SHA.java
9976         (engineUpdate): Revert algorithm change.
9977         (engineDigest): Revert algorithm change.
9979 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9981         * configure.host: Add SH support.
9982         * sysdep/sh/locks.h: New file.
9984 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9986         * java/awt/Frame.java (Frame): Remove println calls.
9988 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9990         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9991         * configure: Rebuilt.
9993 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9995         * sysdep/powerpc/locks.h: Formatting.
9996         (_LARX): Define.
9997         (_STCX): Define.
9998         (compare_and_swap): Use _LARX and _STCX.
9999         (compare_and_swap_release): Likewise.
10001 2002-07-26  Tom Tromey  <tromey@redhat.com>
10003         * java/net/Authenticator.java: New version from Classpath.
10004         * java/net/DatagramSocketImpl.java: New version from Classpath.
10006 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10008         * configure.host: Add powerpc64*-* entry.
10010 2002-07-26  Tom Tromey  <tromey@redhat.com>
10012         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10013         fcntl.h.
10015 2002-07-24  Tom Tromey  <tromey@redhat.com>
10017         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10018         argument to _load.
10020 2002-07-24  Tom Tromey  <tromey@redhat.com>
10021             Tony Kimball <alk@pobox.com>
10023         * java/io/natFileDescriptorWin32.cc (setLength): New method.
10024         * java/io/natFileDescriptorPosix.cc (setLength): New method.
10025         * java/io/RandomAccessFile.java (setLength): New method.
10026         * java/io/natFileDescriptorEcos.cc (setLength): New method.
10027         * java/io/FileDescriptor.java (setLength): New method.
10029 2002-07-24  Mark Wielaard  <mark@klomp.org>
10031         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10032         * java/io/ObjectInputStream.java (setBooleanField): Before setting
10033         field call setAccessible(true).
10034         (setByteField): Likewise.
10035         (setCharField): Likewise.
10036         (setDoubleField): Likewise.
10037         (setFloatField): Likewise.
10038         (setIntField): Likewise.
10039         (setLongField): Likewise.
10040         (setShortField): Likewise.
10041         (setObjectField): Likewise.
10043 2002-07-24  Tom Tromey  <tromey@redhat.com>
10045         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10046         use toString() to format array element.
10048 2002-07-23  Mark Wielaard  <mark@klomp.org>
10050         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10051         MessageDigestSpi (fixes Classpath bug #783).
10053 2002-07-21  Mark Wielaard  <mark@klomp.org>
10055         * gnu/java/security/provider/Gnu.java: Reference all implementation
10056         classes by using Class.getName().
10058 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
10060         * java/lang/ieeefp.h: Add x86-64 support.
10061         * configure.in: Likewise.
10062         * configure.host: Likewise.
10063         * configure: Regenerated.
10064         * sysdep/x86-64/locks.h: New file with x86-64 locks.
10066 2002-07-16  Mark Wielaard  <mark@klomp.org>
10068         * java/io/StreamTokenizer.java (pushBack): Update documentation.
10069         (whitespaceChars): call resetChar().
10071 2002-07-15  Tom Tromey  <tromey@redhat.com>
10073         * Makefile.in: Rebuilt.
10074         * Makefile.am (awt_java_source_files): Added new files.
10075         * java/beans/ExceptionListener.java: Merged with Classpath.
10076         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10077         * java/beans/PropertyChangeListener.java: Merged with Classpath.
10078         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10079         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10080         * java/beans/VetoableChangeListener.java: Merged with Classpath.
10081         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10082         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10084 2002-07-14  Mark Wielaard  <mark@klomp.org>
10086         * gnu/java/security/der/DEREncodingException.java,
10087         gnu/java/security/provider/DERReader.java,
10088         gnu/java/security/provider/DERWriter.java,
10089         gnu/java/security/provider/DSAKeyPairGenerator.java,
10090         gnu/java/security/provider/DSAParameterGenerator.java,
10091         gnu/java/security/provider/DSAParameters.java,
10092         gnu/java/security/provider/DSASignature.java,
10093         gnu/java/security/provider/GnuDSAPrivateKey.java,
10094         gnu/java/security/provider/GnuDSAPublicKey.java,
10095         gnu/java/security/provider/MD5.java,
10096         gnu/java/security/util/Prime.java: New files from Classpath.
10097         * Makefile.am (ordinary_java_source_files): Add new files.
10098         * Makefile.in: Regenerate.
10100 2002-07-14  C. Brian Jones <cbj@gnu.org>
10102         * gnu/java/security/provider/DefaultPolicy.java
10103         (getPermissions): do not maintain static class variable of
10104         Permissions
10105         * gnu/java/security/provider/SHA.java
10106         (engineUpdate): algorithm change
10107         (engineDigest): algorithm change
10109 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
10111         For PR libgcj/7292:
10112         * java/lang/Character.java (toString(char)): Now static.
10114 2002-07-12  Mark Wielaard  <mark@klomp.org>
10116         * java/lang/natThrowable.cc (printRawStackTrace): removed.
10117         (getStackTrace0): new method.
10118         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10119         (printStackTrace(PrintWriter)): replace with pure java implementation.
10120         (printRawStackTrace): removed.
10121         (getStackTrace0): new method.
10122         * java/lang/StackTraceElement.java (toString): add extra whitespace.
10123         * gcj/javaprims.h: regenerate class list.
10124         * include/name-finder.h (lookup): new returns StackTraceElement*.
10125         (method_name, file_name): fields removed.
10126         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10127         (~_Jv_name_finder): close new descriptors.
10128         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10129         (createStackTraceElement): new method.
10130         (lookup): returns StackTraceElement*, uses createStackTraceElement().
10132 2002-07-10  Tom Tromey  <tromey@redhat.com>
10134         * configure: Rebuilt.
10135         * configure.in: Use `test' after `&&'.  From Chris Faylor.
10137 2002-07-08  Mark Wielaard  <mark@klomp.org>
10139         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10140         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10141         java.sql.DatabaseMetaData.TestJdbc20
10143 2002-07-05  Tony Kimball  <alk@pobox.com>
10145         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10147 2002-07-04  Tom Tromey  <tromey@redhat.com>
10148             Jeff Sturm  <jsturm@one-point.com>
10150         Fix for PR libgcj/7060:
10151         * java/lang/Class.h (_getMethod): Renamed from getMethod.
10152         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10153         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
10154         * java/lang/Class.java (getMethod): New Java implementation;
10155         complies with spec.
10156         (_getMethod): New native method.
10158 2002-07-02  Tom Tromey  <tromey@redhat.com>
10159             David Hovemeyer  <daveho@cs.umd.edu>
10161         * java/text/ChoiceFormat.java
10162         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10163         in check loop.
10164         * java/text/MessageFormat.java
10165         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10166         to MessageFormat.
10168 2002-07-01  Tom Tromey  <tromey@redhat.com>
10170         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10171         StringTokenizer on null string.  For PR libgcj/7180.
10172         From daveho@cs.umd.edu.
10174 2002-06-24  Tom Tromey  <tromey@redhat.com>
10176         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10177         (IntegerClass): Likewise.
10178         * java/lang/natClass.cc (CloneableClass): Removed.
10179         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10180         ConstructorClass): Likewise.
10181         * java/lang/natClassLoader.cc (CloneableClass): Removed.
10182         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10183         SerializableClass): Likewise.
10184         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10185         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10186         LongClass, FloatClass, DoubleClass): Likewise.
10188         * verify.cc (branch_prepass): Updated for change to exception
10189         handler type.
10190         (verify_instructions_0): Likewise.
10191         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10192         (handleExceptionTableEntry): Updated for change to exception
10193         handler type.
10194         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10195         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10196         (union _Jv_InterpPC): New.
10197         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10198         (class _Jv_InterpMethod): Added new `prepared' field.
10199         (class _Jv_InterpMethod): Added `compile' method.  Removed
10200         `continue1' and `find_exception'.  Changed arguments to `run'.
10201         * interpret.cc (union insn_slot): New.
10202         (find_exception): Removed.
10203         (run_normal): Removed most logic.
10204         (run_synch_object): Likewise; also, use JvSynchronize.
10205         (run_synch_class): Likewise.
10206         (run): Removed.
10207         (continue1): Renamed as `run'.  Compile bytecode if required.
10208         Add new code to allow refinement of direct-threaded code at
10209         runtime.  Handle exceptions.
10210         (SAVE_PC): Removed.
10211         (compile): New method.
10212         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10213         (NULLARRAYCHECK): Don't use SAVE_PC.
10214         (pc_t): New typedef.
10215         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10216         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10218 2002-06-23  Tom Tromey  <tromey@redhat.com>
10220         * configure: Rebuilt.
10221         * configure.in (INTERPRETER): New subst.
10222         (AM_RUNTESTFLAGS): Don't subst.
10224         * Makefile.in: Rebuilt.
10225         * Makefile.am ($(srcdir)/java/lang/Object.h,
10226         $(srcdir)/java/lang/Class.h): Added dummy targets.
10228 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10230         Reformat JDBC classes and add new JDK 1.4 classes and methods.
10232         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10233         java/sql/Savepoint.java: New files.
10234         * java/sql/Array.java, java/sql/BatchUpdateException.java,
10235         java/sql/Blob.java, java/sql/CallableStatement.java,
10236         java/sql/Clob.java, java/sql/Connection.java,
10237         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10238         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10239         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10240         java/sql/Ref.java, java/sql/ResultSet.java,
10241         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10242         java/sql/SQLException.java, java/sql/SQLInput.java,
10243         java/sql/SQLOutput.java, java/sql/SQLWarning.java
10244         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10245         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10246         (JDK 1.4) specification.
10247         * javax/sql/ConnectionEvent.java,
10248         javax/sql/ConnectionEventListener.java,
10249         javax/sql/ConnectionPoolDataSource.java,
10250         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10251         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10252         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10253         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10254         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10255         javax/sql/XADataSource.java: New files.
10256         * Makefile.am: Add new files.
10257         * Makefile.in: Rebuilt.
10259 2002-06-20  Tom Tromey  <tromey@redhat.com>
10261         For PR libgcj/7073:
10262         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10263         exists.
10264         * defineclass.cc (handleClassBegin): Superclass for interface is
10265         `null'.
10267 2002-06-18  Tom Tromey  <tromey@redhat.com>
10269         * gcj/javaprims.h: Updated class declaration list.
10270         * Makefile.in: Rebuilt.
10271         * Makefile.am (core_java_source_files): Removed
10272         BasicMapEntry.java.
10273         * java/util/BasicMapEntry.java: Removed.
10275 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
10277         * java/net/natPlainDatagramSocketImpl.cc (receive):
10278         Check bounds of argument to FD_SET.
10279         (setOption): Throw exception if socket is closed.
10281         * java/net/natPlainSocketImpl.cc (accept, read):
10282         Check bounds of argument to FD_SET.
10283         (setOption): Throw exception if socket is closed.
10285 2002-06-18  Tom Tromey  <tromey@redhat.com>
10287         * gcj/javaprims.h: Updated class declaration list.
10288         * Makefile.in: Rebuilt.
10289         * Makefile.am (core_java_source_files): Added
10290         PropertyPermissionCollection.java.
10291         * java/lang/Thread.java (group, name): Now package-private.
10292         * java/lang/ThreadGroup.java: Re-merge with Classpath.
10293         * java/util/AbstractList.java: Likewise.
10294         * java/util/AbstractMap.java: Likewise.
10295         * java/util/Calendar.java: Likewise.
10296         * java/util/Collections.java: Likewise.
10297         * java/util/HashMap.java: Likewise.
10298         * java/util/Hashtable.java: Likewise.
10299         * java/util/LinkedHashMap.java: Likewise.
10300         * java/util/LinkedList.java: Likewise.
10301         * java/util/List.java: Likewise.
10302         * java/util/ListResourceBundle.java: Likewise.
10303         * java/util/Map.java: Likewise.
10304         * java/util/Observable.java: Likewise.
10305         * java/util/Properties.java: Likewise.
10306         * java/util/PropertyPermission.java: Likewise.
10307         * java/util/PropertyPermissionCollection.java: Likewise.
10308         * java/util/PropertyResourceBundle.java: Likewise.
10309         * java/util/Random.java: Likewise.
10310         * java/util/SimpleTimeZone.java: Likewise.
10311         * java/util/StringTokenizer.java: Likewise.
10312         * java/util/TimerTask.java: Likewise.
10313         * java/util/TreeMap.java: Likewise.
10314         * java/util/WeakHashMap.java: Likewise.
10315         * java/util/jar/Attributes.java: Likewise.
10316         * java/util/jar/JarException.java: Likewise.
10317         * java/util/jar/Manifest.java: Likewise.
10319 2002-06-17  Tom Tromey  <tromey@redhat.com>
10321         * gcj/javaprims.h: Updated class declaration list.
10322         * Makefile.in: Rebuilt.
10323         * Makefile.am (core_java_source_files): Added new file.
10324         * java/util/EventListenerProxy.java: New file.
10325         * java/util/EventListener.java: Re-merge with Classpath.
10326         * java/util/EventObject.java: Re-merge with Classpath.
10328 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10330         * java/lang/ClassNotFoundException.java: New Classpath version.
10332 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10334         * java/rmi/activation/ActivateFailedException.java: Remerge from
10335         Classpath version.
10336         * java/rmi/activation/ActivationException.java: Ditto.
10337         * java/rmi/activation/UnknownGroupException.java: Ditto.
10338         * java/rmi/activation/UnknownObjectException.java: Ditto.
10339         * java/rmi/server/ExportException: Ditto.
10340         * java/rmi/server/ServerCloneException: Ditto.
10341         * java/rmi/server/ServerNotActiveException: Ditto.
10342         * java/rmi/server/SkeletonMismatchException: Ditto.
10343         * java/rmi/server/SkeletonNotFoundException: Ditto.
10344         * java/rmi/server/SocketSecurityException: Ditto.
10346 2002-06-16  Tom Tromey  <tromey@redhat.com>
10348         * gcj/javaprims.h: Updated class declaration list.
10350         * java/io/LineNumberInputStream.java: Merged with Classpath.
10352         * java/lang/RuntimeException.java: Re-merge with Classpath.
10353         * java/util/ArrayList.java: Likewise.
10354         * java/util/Arrays.java: Likewise.
10355         * java/util/BitSet.java: Likewise.
10356         * java/util/Dictionary.java: Likewise.
10357         * java/util/IdentityHashMap.java: Likewise.
10358         * java/util/MissingResourceException.java: Likewise.
10359         * java/util/Observer.java: Likewise.
10360         * java/util/TooManyListenersException.java: Likewise.
10361         * java/util/zip/DataFormatException.java: Likewise.
10362         * java/util/zip/ZipException.java: Likewise.
10364 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
10366         * java/rmi/AccessException.java: Remerge from Classpath.
10367         * java/rmi/AlreadyBoundException.java: Ditto.
10368         * java/rmi/ConnectException.java: Ditto.
10369         * java/rmi/ConnectIOException.java: Ditto.
10370         * java/rmi/MarshalException.java: Ditto.
10371         * java/rmi/NoSuchObjectException.java: Ditto.
10372         * java/rmi/NotBoundException.java: Ditto.
10373         * java/rmi/RemoteException.java: Ditto.
10374         * java/rmi/RMISecurityException.java: Ditto.
10375         * java/rmi/ServerError.java: Ditto.
10376         * java/rmi/ServerException.java: Ditto.
10377         * java/rmi/ServerRuntimeException.java: Ditto.
10378         * java/rmi/StubNotFoundException.java: Ditto.
10379         * java/rmi/UnexpectedExcpetion.java: Ditto.
10380         * java/rmi/UnknownHostException.java: Ditto.
10381         * java/rmi/UnmarshalException.java: Ditto.
10383 2002-06-15  Tom Tromey  <tromey@redhat.com>
10385         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10386         * java/lang/ArithmeticException.java: Likewise.
10387         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10388         * java/lang/ArrayStoreException.java: Likewise.
10389         * java/lang/Byte.java: Likewise.
10390         * java/lang/CharSequence.java: Likewise.
10391         * java/lang/ClassCastException.java: Likewise.
10392         * java/lang/ClassCircularityError.java: Likewise.
10393         * java/lang/ClassFormatError.java: Likewise.
10394         * java/lang/CloneNotSupportedException.java: Likewise.
10395         * java/lang/Cloneable.java: Likewise.
10396         * java/lang/Comparable.java: Likewise.
10397         * java/lang/Compiler.java: Likewise.
10398         * java/lang/Error.java: Likewise.
10399         * java/lang/ExceptionInInitializerError.java: Likewise.
10400         * java/lang/IllegalAccessError.java: Likewise.
10401         * java/lang/IllegalAccessException.java: Likewise.
10402         * java/lang/IllegalArgumentException.java: Likewise.
10403         * java/lang/IllegalMonitorStateException.java: Likewise.
10404         * java/lang/IllegalStateException.java: Likewise.
10405         * java/lang/IllegalThreadStateException.java: Likewise.
10406         * java/lang/IncompatibleClassChangeError.java: Likewise.
10407         * java/lang/IndexOutOfBoundsException.java: Likewise.
10408         * java/lang/InheritableThreadLocal.java: Likewise.
10409         * java/lang/InstantiationError.java: Likewise.
10410         * java/lang/InstantiationException.java: Likewise.
10411         * java/lang/InternalError.java: Likewise.
10412         * java/lang/InterruptedException.java: Likewise.
10413         * java/lang/LinkageError.java: Likewise.
10414         * java/lang/NegativeArraySizeException.java: Likewise.
10415         * java/lang/NoClassDefFoundError.java: Likewise.
10416         * java/lang/NoSuchFieldError.java: Likewise.
10417         * java/lang/NoSuchFieldException.java: Likewise.
10418         * java/lang/NoSuchMethodError.java: Likewise.
10419         * java/lang/NoSuchMethodException.java: Likewise.
10420         * java/lang/NullPointerException.java: Likewise.
10421         * java/lang/NumberFormatException.java: Likewise.
10422         * java/lang/OutOfMemoryError.java: Likewise.
10423         * java/lang/Process.java: Likewise.
10424         * java/lang/Runnable.java: Likewise.
10425         * java/lang/RuntimePermission.java: Likewise.
10426         * java/lang/SecurityException.java: Likewise.
10427         * java/lang/Short.java: Likewise.
10428         * java/lang/StackOverflowError.java: Likewise.
10429         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10430         * java/lang/ThreadDeath.java: Likewise.
10431         * java/lang/ThreadLocal.java: Likewise.
10432         * java/lang/UnknownError.java: Likewise.
10433         * java/lang/UnsatisfiedLinkError.java: Likewise.
10434         * java/lang/UnsupportedClassVersionError.java: Likewise.
10435         * java/lang/UnsupportedOperationException.java: Likewise.
10436         * java/lang/VerifyError.java: Likewise.
10437         * java/lang/VirtualMachineError.java: Likewise.
10438         * java/lang/reflect/InvocationTargetException.java: Likewise.
10439         * java/net/BindException.java: Likewise.
10440         * java/net/ConnectException.java: Likewise.
10441         * java/net/MalformedURLException.java: Likewise.
10442         * java/net/NoRouteToHostException.java: Likewise.
10443         * java/net/ProtocolException.java: Likewise.
10444         * java/net/SocketException.java: Likewise.
10445         * java/net/UnknownHostException.java: Likewise.
10446         * java/net/UnknownServiceException.java: Likewise.
10448         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10449         * java/io/CharConversionException.java: Likewise.
10450         * java/io/EOFException.java: Likewise.
10451         * java/io/FileNotFoundException.java: Likewise.
10452         * java/io/IOException.java: Likewise.
10453         * java/io/InterruptedIOException.java: Likewise.
10454         * java/io/InvalidClassException.java: Likewise.
10455         * java/io/InvalidObjectException.java: Likewise.
10456         * java/io/NotActiveException.java: Likewise.
10457         * java/io/NotSerializableException.java: Likewise.
10458         * java/io/ObjectStreamException.java: Likewise.
10459         * java/io/ObjectStreamConstants.java: Likewise.
10460         * java/io/OptionalDataException.java: Likewise.
10461         * java/io/PipedInputStream.java: Likewise.
10462         * java/io/PushbackInputStream.java: Likewise.
10463         * java/io/StreamCorruptedException.java: Likewise.
10464         * java/io/SyncFailedException.java: Likewise.
10465         * java/io/UTFDataFormatException.java: Likewise.
10466         * java/io/UnsupportedEncodingException.java: Likewise.
10467         * java/io/WriteAbortedException.java: Likewise.
10469 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
10471         * java/text/ChoiceFormat.java: Update comments from Classpath.
10472         * java/text/ParseException.java (serialVersionUID): New
10473         field from Classpath.
10474         * java/text/ParseException.java: Update formatting & comments
10475         from Classpath.
10477 2002-06-15  Tom Tromey  <tromey@redhat.com>
10479         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10480         been read but none output by inflater.
10481         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10482         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10483         is_finished.
10484         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10485         version.
10486         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10487         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10488         * java/util/zip/ZipInputStream.java: Replaced with Classpath
10489         version.
10490         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10492 2002-06-13  Tom Tromey  <tromey@redhat.com>
10494         * java/lang/natString.cc (init): Handle case where DONT_COPY is
10495         true and OFFSET!=0.
10496         * java/lang/String.java (String(char[],int,int,boolean): New
10497         constructor.
10498         * java/lang/Long.java: Imported new version from Classpath.
10499         * java/lang/Number.java: Likewise.
10500         * java/lang/Integer.java: Likewise.
10501         * java/lang/Long.java: Likewise.
10502         * java/lang/Float.java: Likewise.
10503         * java/lang/Boolean.java: Likewise.
10504         * java/lang/Double.java: Likewise.
10505         * java/lang/Void.java: Likewise.
10507 2002-06-12  Tom Tromey  <tromey@redhat.com>
10509         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10510         Fixes PR libgcj/6652.
10512 2002-06-10  Tom Tromey  <tromey@redhat.com>
10514         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10515         (Class::getPackagePortion): Likewise.
10516         * java/lang/Class.java (desiredAssertionStatus): New method from
10517         Classpath.
10518         (getPackagePortion): Likewise.
10519         * java/lang/VMClassLoader.java (defaultAssertionStatus,
10520         packageAssertionStatus, classAssertionStatus): New methods from
10521         Classpath.
10522         * java/lang/ClassLoader.java (defaultAssertionStatus,
10523         systemPackageAssertionStatus, packageAssertionStatus,
10524         systemClassAssertionStatus, classAssertionStatus): New fields from
10525         Classpath.
10526         (setDefaultAssertionStatus, setPackageAssertionStatus,
10527         setClassAssertionStatus, clearAssertionStatus): New methods from
10528         Classpath.
10529         * Makefile.in: Rebuilt.
10530         * Makefile.am (core_java_source_files): Added AssertionError.java.
10531         * java/lang/AssertionError.java: New from Classpath.
10533 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10535         * configure.host: Disable hash synchronization and slow_pthread_self
10536         for cygwin.
10538 2002-06-06  Adam Megacz <adam@xwt.org>
10540         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10541         locking, just like the Sun JVM does.
10543 2002-06-05  H.J. Lu  (hjl@gnu.org)
10545         * Makefile.am (libgcj_convenience.la): Revert the last change.
10546         (libgcj.la): Likewise.
10547         * Makefile.in: Regenerated.
10549 2002-06-04  H.J. Lu  (hjl@gnu.org)
10551         * Makefile.am (libgcj_convenience.la): New target.
10552         (libgcj.la): Depend on libgcj_convenience.la.
10553         * Makefile.in: Regenerated.
10555 2002-06-04  H.J. Lu  (hjl@gnu.org)
10557         * configure.in (--with-newlib): New option:
10558         Check ${with_newlib} instead of ${with_cross_host} for newlib.
10559         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10560         Linux.
10561         * configure: Regenerated.
10563 2002-06-04  Tom Tromey  <tromey@redhat.com>
10565         * java/util/natTimeZone.cc: Include <stdio.h>.
10567 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
10569         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10570         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10571         Set SIGNAL_HANDLER=include/s390-linux.h.
10572         * configure: Regenerate.
10573         * include/s390-linux.h: New file.
10575 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10577         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10578         not "stackTrace".
10580 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10582         Merge JDK 1.4 java.security changes from classpath.
10584         * java/security/AccessControlException.java: Merge from Classpath.
10585         * java/security/AccessController.java: Likewise.
10586         * java/security/AllPermission.java: Likewise.
10587         * java/security/BasicPermission.java: Likewise.
10588         * java/security/Certificate.java: Likewise.
10589         * java/security/CodeSource.java: Likewise.
10590         * java/security/DigestException.java: Likewise.
10591         * java/security/DigestOutputStream.java: Likewise.
10592         * java/security/DomainCombiner.java: Likewise.
10593         * java/security/GeneralSecurityException.java: Likewise.
10594         * java/security/Guard.java: Likewise.
10595         * java/security/GuardedObject.java: Likewise.
10596         * java/security/InvalidAlgorithmParameterException.java: Likewise.
10597         * java/security/InvalidKeyException.java: Likewise.
10598         * java/security/InvalidParameterException.java: Likewise.
10599         * java/security/Key.java: Likewise.
10600         * java/security/KeyException.java: Likewise.
10601         * java/security/KeyManagementException.java: Likewise.
10602         * java/security/KeyStoreException.java: Likewise.
10603         * java/security/MessageDigest.java: Likewise.
10604         * java/security/NoSuchAlgorithmException.java: Likewise.
10605         * java/security/NoSuchProviderException.java: Likewise.
10606         * java/security/Permission.java: Likewise.
10607         * java/security/PermissionCollection.java: Likewise.
10608         * java/security/Permissions.java: Likewise.
10609         * java/security/Policy.java: Likewise.
10610         * java/security/Principal.java: Likewise.
10611         * java/security/PrivateKey.java: Likewise.
10612         * java/security/PrivilegedAction.java: Likewise.
10613         * java/security/PrivilegedActionException.java: Likewise.
10614         * java/security/PrivilegedExceptionAction.java: Likewise.
10615         * java/security/ProtectionDomain.java: Likewise.
10616         * java/security/ProviderException.java: Likewise.
10617         * java/security/PublicKey.java: Likewise.
10618         * java/security/SecureClassLoader.java: Likewise.
10619         * java/security/SecurityPermission.java: Likewise.
10620         * java/security/SignatureException.java: Likewise.
10621         * java/security/UnrecoverableKeyException.java: Likewise.
10622         * java/security/UnresolvedPermission.java: Likewise.
10623         * java/security/acl/AclNotFoundException.java: Likewise.
10624         * java/security/acl/LastOwnerException.java: Likewise.
10625         * java/security/acl/NotOwnerException.java: Likewise.
10626         * java/security/cert/CRLException.java: Likewise.
10627         * java/security/cert/CertificateEncodingException.java: Likewise.
10628         * java/security/cert/CertificateException.java: Likewise.
10629         * java/security/cert/CertificateExpiredException.java: Likewise.
10630         * java/security/cert/CertificateFactory.java: Likewise.
10631         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10632         * java/security/cert/CertificateParsingException.java: Likewise.
10633         * java/security/spec/InvalidKeySpecException.java: Likewise.
10634         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10636         * java/security/cert/CertPath.java: New file.
10637         * java/security/cert/CertPathBuilderException.java: New file.
10638         * java/security/cert/CertPathValidatorException.java: New file.
10639         * java/security/cert/CertStoreException.java: New file.
10641         * Makefile.am: Add new CertPath classes.
10642         * Makefile.in: Rebuilt.
10644         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10646 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10648         Merge JDK 1.4 exception chaining support from classpath.
10650         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10651         (stackTraceBytes): Rename from stackTrace.
10652         * java/lang/Exception.java: Merge from classpath.
10653         * java/lang/StackTraceElement: New file from classpath.
10654         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10655         * Makefile.am: Add StackTraceElement.
10656         * Makefile.in: Rebuilt.
10658 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10660         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10661         they build first.
10662         * Makefile.in: Rebuilt.
10664 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10666         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10667         * configure.in: Likewise.
10668         * aclocal.m4: Regenerate.
10669         * configure: Regenerate.
10671 2002-05-13  Tom Tromey  <tromey@redhat.com>
10673         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10674         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10675         Include platform.h.
10677         Fixes PR libgcj/6389:
10678         * Makefile.in: Rebuilt.
10679         * Makefile.am (nat_source_files): Added natTimeZone.cc.
10680         * java/util/natTimeZone.cc: New file.
10681         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10682         * java/lang/System.java: Merged with Classpath.
10683         * java/lang/Runtime.java: Merged with Classpath.
10684         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10685         security check.
10686         (setIn0): Renamed from setIn; don't run security check.
10687         (setOut0): Renamed from setOut; don't run security check.
10688         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10689         init_properties): Moved to natRuntime.cc.
10690         Moved many includes to natRuntime.cc.
10691         (isWordsBigEndian): New method.
10692         * java/lang/natRuntime.cc: Include Long.h, also other includes
10693         previously in natSystem.cc.
10694         (maxMemory): New function.
10695         (exitInternal): Renamed from `_exit'.
10696         (exit): Removed.
10697         (init): Don't set finalize_on_exit.
10698         (exitInternal): Use `finalizeOnExit'.
10699         (file_encoding, getpwuid_adaptor): New functions from
10700         natSystem.cc.
10701         (insertSystemProperties): New method, renamed from
10702         System::init_properties.  Don't set user.timezone.
10703         (_load): Don't call checkLink.
10704         (execInternal): New method.
10705         (availableProcessors): Likewise.
10706         (nativeGetLibname): Likewise.
10708 2002-05-11  Mark Wielaard  <mark@klomp.org>
10710         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10711         space characters.
10712         (previous_internal): Likewise.
10714 2002-05-09  Tom Tromey  <tromey@redhat.com>
10716         * jni.cc (_Jv_JNIFunctions): Fixed typo.
10718         * java/util/ResourceBundle.java: New version from Classpath.
10719         * java/util/Locale.java: Likewise.
10721 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
10723         * testsuite/lib/libjava.exp (libjava_arguments): Append all
10724         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10725         LD_LIBRARY_PATH.
10727 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
10729         * libjava/Makefile.am (all_java_source_files): New variable.
10730         (all_java_class_files): Likewise.
10731         .java.class: New rule.
10732         (CLEANFILES): Remove tmp-list.
10733         * libjava/Makefile.in: Regenerated.
10735 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10737         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10738         Append .exe to executable names.  Fix for cygwin.
10740 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10742         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10743         script entry, and set LD to it when configuring multilibs.
10744         * configure: Rebuilt.
10746 2002-05-07  Tom Tromey  <tromey@redhat.com>
10748         * java/lang/natString.cc (unintern): Fixed typo.
10750 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10752         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10753         with -no-install on *-*-cygwin*.
10755 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10757         * testsuite/lib/libjava.exp (test_libjava_from_source):
10758         Add comment explaining last patch
10760 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10762         * testsuite/lib/libjava.exp (test_libjava_from_source):
10763         Append .exe to executable names.  If no suffix is present,
10764         then ".exe" is added by default on win32.  Harmless
10765         elsewhere so always do it.
10767 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10768             Tom Tromey  <tromey@redhat.com>
10770         * java/lang/natSystem.cc (getSystemTimeZone): Use
10771         HAVE_UNDERSCORE_TIMEZONE.
10772         * include/config.h.in: Rebuilt.
10773         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10774         * aclocal.m4, configure: Rebuilt.
10775         * acinclude.m4: Run AC_EXEEXT.
10776         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10777         Add test for `_timezone'.
10779 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10781         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10782         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10783         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10784         * Makefile.in: Rebuilt.
10786 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10788         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10789         use sigaction instead of __libc_sigaction.
10791 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10793         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10794         (libjava_init): Use it to find libgcj.spec.
10795         (libjava_arguments): Likewise.
10797 2002-05-02  David S. Miller  <davem@redhat.com>
10799         PR bootstrap/6525
10800         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10801         __libc_sigaction on Sparc.
10803 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10805         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10806         sys/filio.h, if present.
10808 2002-04-30  Tom Tromey  <tromey@redhat.com>
10810         * java/io/BufferedReader.java (fill): Handle case where markPos
10811         point to ignored \n.  Fixes PR libgcj/6301.
10813 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10815         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10817 2002-04-29  Adam King <aking@dreammechanics.com>
10819         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10820         of file in APPEND mode.
10822 2002-04-25  David S. Miller  <davem@redhat.com>
10824         PR target/6422
10825         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10826         program counter to next program counter minus 8.  Update
10827         comments in this macro to explain why.
10829 2002-04-26  Tom Tromey  <tromey@redhat.com>
10831         * verify.cc (construct_primitive_array_type) [void_type]: New
10832         case.
10833         (branch_prepass): Added dummy entries for unused instruction
10834         values.
10835         (verify_instructions_0): Likewise.
10836         * interpret.cc (continue1): Comment fix.
10837         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10838         * Makefile.in: Rebuilt.
10839         * Makefile.am: Added -Wswitch-enum.
10841 2002-04-24  Tom Tromey  <tromey@redhat.com>
10843         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10844         correct length of UTF-8 encoded name.  Strip leading `/'.
10845         (_Jv_RegisterResource): Use _Jv_Malloc.
10847 2002-04-23  Adam Megacz <adam@xwt.org>
10849         * win32.cc, include/win32.cc (backtrace): Added this function
10850         because Win32 does not supply it.
10852 2002-04-21  David S. Miller  <davem@redhat.com>
10854         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10855         magic instruction reading sequence.
10857 2002-04-21  Mark Wielaard  <mark@klomp.org>
10859         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10861 2002-04-19  David S. Miller  <davem@redhat.com>
10863         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10864         arg.
10865         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10866         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10867         on Sparc too.
10868         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10869         for 64-bit sparc.
10870         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10871         * sysdeps/sparc/locks.h: New file.
10872         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10873         on all sparc Solaris configurations.  Set to
10874         include/dwarf2-signal.h on sparc Linux.
10875         * configure: Regenerate
10876         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10878 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10880         * configure: Rebuilt.
10881         * configure.in (backtrace): Function doesn't work on IA-64.
10883 2002-04-17  Adam King <aking@dreammechanics.com>
10885         * java/io/File.java (normalizePath): Add Win32 support for auto
10886         conversion of a '/' path separator to Win32's '\' separator.
10888 2002-04-16  Tom Tromey  <tromey@redhat.com>
10890         Fix for PR libgcj/6081:
10891         * Makefile.in: Rebuilt.
10892         * Makefile.am (install-data-local): Use GNU make trick to avoid
10893         shell limit.
10895 2002-04-16  Adam King <aking@dreammechanics.com>
10896             Tom Tromey  <tromey@redhat.com>
10898         * java/io/natFileWin32.cc (performList): Return the correct array
10899         type.  Don't duplicate the creation of a File since it's already
10900         done earlier in the method and the existing code would cause a
10901         ArrayStoreException.  Don't use fixed-size array.
10902         (_access, _stat, attr, getCanonicalPath, performMkdir,
10903         performRenameTo): Don't use fixed-size array.
10904         (getCanonicalPath): Use throw, not _Jv_Throw.
10906 2002-04-15  DJ Delorie  <dj@redhat.com>
10908         * configure.in: Allow building in $srcdir.
10909         * configure: Regenerated.
10911 2002-04-14  Mark Wielaard <mark@klomp.org>
10913         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10914         * java/net/natSocketImpl.cc (close): Likewise.
10916 2002-04-14  Mark Wielaard <mark@klomp.org>
10918         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10920 2002-04-13  Adam King <aking@dreammechanics.com>
10922         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10923         the f/F/d/D modifiers.
10925 2002-04-12  Anthony Green  <green@redhat.com>
10927         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10928         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10929         * Makefile.in: Rebuilt.
10930         * configure.in: Substitute gcc_version.
10931         * configure: Rebuilt.
10933 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10935         * configure.host: Set can_unwind_signal on hosts which support it.
10936         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10937         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10938         exceptions and can_unwind_signal isn't set.
10939         * configure: Rebuilt.
10941 2002-04-11  Tom Tromey  <tromey@redhat.com>
10943         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10945 2002-04-11  Adam King <aking@dreammechanics.com>
10946             Tom Tromey  <tromey@redhat.com>
10948         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10949         _Jv_ThrowNullPointerException): Mark as noreturn.
10950         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10951         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10952         fixes.
10954 2002-04-10  Tom Tromey  <tromey@redhat.com>
10956         * Makefile.in: Rebuilt.
10957         * Makefile.am (java/lang/Thread.h): Mark
10958         _Jv_AttachCurrentThreadAsDaemon as friend.
10959         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10960         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10961         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10962         function.
10963         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10964         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10965         (_Jv_JNI_InvokeFunctions): Added
10966         _Jv_JNI_AttachCurrentThreadAsDaemon.
10967         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10968         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10969         (JNI_CreateJavaVM): Likewise.
10970         (_Jv_JNI_AttachCurrentThread): Likewise.
10971         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10972         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10973         (_Jv_JNIFunctions): Initialize new fields.
10974         (_Jv_JNI_NewDirectByteBuffer): New function.
10975         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10976         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10977         * include/jni.h (JNI_VERSION_1_4): New macro.
10978         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10979         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10980         (JNINativeInterface::NewDirectByteBuffer): New field.
10981         (JNINativeInterface::GetDirectBufferAddress): New field.
10982         (JNINativeInterface::GetDirectBufferCapacity): New field.
10983         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10984         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10985         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10987 2002-04-09  Tom Tromey  <tromey@redhat.com>
10989         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10991 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10993         Fix for PR libgcj/6187:
10994         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10995         distance.
10997 2002-04-07  Mark Wielaard <mark@klomp.org>
10999         * java/util/AbstractMap.java (putAll): Use entrySet size.
11000         (toString): Explicitly use getKey() and getValue().
11002 2002-04-07  Mark Wielaard <mark@klomp.org>
11004         * java/util/Hashtable.java (contains): Remove NullPointer check.
11005         (containsValue): Add NullPointer check.
11006         (remove): Always throw NullPointerException when key
11007         is null.
11009 2002-04-07  Adam King <aking@dreammechanics.com>
11011         * java/lang/natSystem.cc (init_properties): Call new function
11012         _Jv_platform_initProperties.
11013         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11014         support for the System properties os.name, os.arch, os.version,
11015         user.name, user.home, and user.dir.
11016         * include/posix.h, include/win32.h, posix.cc: New function
11017         _Jv_platform_initProperties.
11019 2002-04-06  Mark Wielaard <mark@klomp.org>
11021         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11023 2002-04-06  Mark Wielaard <mark@klomp.org>
11025         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11026         all of the remaining elements.
11027         * java/util/Vector.java (addAll(int,Collection)): Likewise.
11028         (removeRange): If toIndex == fromIndex do
11029         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11030         (removeAll): Always throw NullPointerException when collection is
11031         null.
11032         (retrainAll): Likewise.
11034 2002-04-05  Mark Wielaard <mark@klomp.org>
11036         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11037         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11039 2002-04-05  Adam Megacz <adam@xwt.org>
11041         * exception.cc (abort): added static modifier
11043 2002-04-04  Adam Megacz <adam@xwt.org>
11045         * include/win32.h (_Jv_platform_close_on_exec): added inline
11046         modifier.
11048 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
11050         * configure.host: Add case statement to support generic port
11051         properties.  Add *-*-freebsd* section.
11053 2002-04-04  Mark Wielaard  <mark@klomp.org>
11055         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11056         test.
11057         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11058         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11059         that depend on awt code and BufferedByteOutputStream.interrupt.
11061 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11063         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11064         incorrect "hi" value when count > 40.
11066 2002-04-03  Mark Wielaard  <mark@klomp.org>
11068         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11069         ordering.
11071 2002-04-02  Tom Tromey  <tromey@redhat.com>
11073         * java/lang/natClassLoader.cc (findClass): Compare against `3',
11074         not `0'.
11076 2002-04-02  Mark Wielaard  <mark@klomp.org>
11078         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11079         list of testsuite crashers.
11081 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11083         * java/util/IdentityHashMap.java (put): Set new threshold correctly
11084         when resizing table.
11086 2002-04-01  Mark Wielaard  <mark@klomp.org>
11088         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11089         NegativeArraySizeException
11090         (clear(int)): Use sign extended shift.
11091         (flip(int)): Likewise.
11092         (get(int)): Likewise.
11093         (nextClearBit(int)): Likewise.
11094         (nextSetBit(int)): Likewise.
11095         (set(int)): Likewise.
11097 2002-04-01  Mark Wielaard  <mark@klomp.org>
11099         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11100         that can be compiled now and add testsuite crashers to ignore list.
11102 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
11104         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11106         * libgcj.spec.in: Override libgcc, not lib.
11107         * libgcj-test.spec.in: Likewise.
11109 2002-03-29  Tom Tromey  <tromey@redhat.com>
11111         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11112         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11114 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
11116         * java/net/PlainDatagramSocketImpl.java
11117         (close): Use native implementation.
11118         (finalize): New method.
11120         * java/net/PlainSocketImpl.java (finalize): New method.
11122         * java/net/natPlainDatagramSocketImpl.cc
11123         (java/io/FileDescriptor.h): Don't include.
11124         (close): Implement method here.
11125         (create): Don't assign fd.
11127         * java/net/natPlainSocketImpl.cc
11128         (java/io/FileDescriptor.h): Don't include.
11129         (create): Don't assign fd.
11130         (accept): Likewise.
11131         (close): Synchronize.
11133 2002-03-27  Richard Henderson  <rth@redhat.com>
11135         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11137 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11139         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11140         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11141         instead of syscall on IA-64.
11142         Add FIXME comment.
11144 2002-03-27  Anthony Green  <green@redhat.com>
11146         * libgcj.spec.in: Add CHECKREFSPEC.
11147         * configure.in: Ditto.
11148         * configure.host: Ditto.  Check references for xscale-elf.
11149         * configure: Rebuilt.
11151 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
11153         * include/dwarf2-signal.h: Temporarily back out last change.
11155 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
11157         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11159 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11161         * configure.in, configure: enable dwarf2-exception-style
11162         exception handling on IA-64.
11163         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11164         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11165         Add FIXME comment.
11167 2002-03-25  Tom Tromey  <tromey@redhat.com>
11169         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11170         (jv_convert_LDFLAGS): Likewise.
11171         (gij_LDFLAGS): Likewise.
11172         (rmic_LDFLAGS): Likewise.
11173         (rmiregistry_LDFLAGS): Likewise.
11174         * configure.in (THREADLDFLAGS): New subst; set correctly for
11175         *BSD.
11177 2002-03-25  Tom Tromey  <tromey@redhat.com>
11179         For PR libgcj/5303:
11180         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11181         and --version.
11182         (help): New method.
11183         (version): Likewise.
11184         * gnu/gcj/convert/Convert.java (version): Removed extraneous
11185         "GNU".
11186         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11187         "GNU".
11189 2002-03-25  Tom Tromey  <tromey@redhat.com>
11191         * java/awt/Component.java (processEvent): Check ComponentEvent
11192         after KeyEvent.
11194 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11196         * java/io/PushbackReader.java: Reformat.
11198         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11199         calculate correct number of bytes skipped.
11201         Based on patch from Intel's ORP team:
11202         * java/io/PushbackInputStream.java (available): Calculate correct
11203         number of bytes in buffer.
11204         (read): Remove redundant bound check. Return bytes from both the
11205         buffer and the stream.
11207 2002-03-24  Tom Tromey  <tromey@redhat.com>
11209         * java/awt/TextComponent.java (TextComponent): Editable by
11210         default.
11212         * java/awt/MenuItem.java (eventMask): No longer private.
11213         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11214         superclass if we didn't handle event.
11215         * java/awt/Checkbox.java (dispatchEventImpl): New method.
11216         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11217         * java/awt/Choice.java (dispatchEventImpl): New method.
11218         * java/awt/List.java (dispatchEventImpl): New method.
11219         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11220         * java/awt/TextComponent.java (dispatchEventImpl): New method.
11221         * java/awt/TextField.java (dispatchEventImpl): New method.
11223 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11225         * java/beans/IntrospectionException.java: Update to 1.4.
11226         * java/beans/PropertyVetoException.java: Ditto.
11228 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11230         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11231         Arrays.equals instead of ArrayHelper.equalsArray.
11233 2002-03-24  C. Brian Jones <cbj@gnu.org>
11235         * java/beans/Introspector.java: added new static final fields
11236         introduced in 1.2, lots of other updates remain to be done
11238 2002-03-24  C. Brian Jones <cbj@gnu.org>
11240         * java/beans/Introspector.java: reformatting
11242 2002-03-24  C. Brian Jones <cbj@gnu.org>
11244         * java/beans/Introspector.java: default beanInfoSearchPath will
11245         not include sun.beans.infos given we provide no such package and
11246         the API doesn't really require it; gnu.java.beans.info is the
11247         default.
11249 2002-03-24  Mark Wielaard  <mark@klomp.org>
11251         Thanks to Orp developers
11252         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11253         switch TRUE and FALSE return values.
11255 2002-03-23  Tom Tromey  <tromey@redhat.com>
11257         * include/name-finder.h (_Jv_name_finder::myclose): New method.
11258         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11260 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
11262         * java/util/GregorianCalendar.java (minimums, maximums): Correct
11263         MONTH entry.  Fixes PR libgcj/6045.
11265 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
11267         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11269 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11271         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11272         not release_set.
11273         * sysdep/powerpc/locks.h (write_barrier): New function.
11274         * sysdep/i386/locks.h (write_barrier): New function.
11276 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
11278         * include/jni.h Use correct C comments.
11280 2002-03-18  Tom Tromey  <tromey@redhat.com>
11282         * include/jni.h (JNIIMPORT): New macro.
11283         (JNIEXPORT): Likewise.
11284         (JNICALL): Likewise.
11286 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11288         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11289         systems.
11291 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
11293         * include/i386-signal.h (old_i386_kernel_sigaction): New.
11294         INIT_SEGV: Use old_i386_kernel_sigaction.
11295         INIT_FP: Likewise.
11297 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11299         * java/lang/natSystem.cc (init_properties): Update VM version
11300         properties.
11301         * configure.in: Set GCJVERSION.
11302         * acconfig.h: Add GCJVERSION.
11303         * configure: Rebuilt.
11304         * include/config.h.in: Rebuilt.
11306 2002-03-17  Anthony Green  <green@redhat.com>
11308         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11310 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11312         Build a single libgcj.so, without separate gc and zlib libraries.
11313         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11314         SYS_ZLIBS if system zlib is used.
11315         * configure: Rebuilt.
11316         * Makefile.am: Use boehm-gc and zlib convenience libraries.
11317         * Makefile.in: Rebuilt.
11318         * libtool-version: Increment .so version number.
11320         * Makefile.am: Escape quotes in echo.
11321         * Makefile.in: Rebuilt.
11323 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11325         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11326         * Makefile.in: Rebuilt.
11328 2002-03-15  Anthony Green  <green@redhat.com>
11330         * configure.host (FILE): New macro for specifing File
11331         implementation.
11332         * configure: Rebuilt.
11333         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
11335 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
11337         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11338         already implicitly brought in from libgcj.la.
11339         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11340         * Makefile.in: Rebuilt.
11342 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
11344         * THANKS: Fix punctuation, alphabetization.
11346 2002-03-15  Tom Tromey  <tromey@redhat.com>
11347             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11349         Fix for PR libgcj/5944.
11350         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11352 2002-03-15  Anthony Green  <green@redhat.com>
11354         * configure.in (tool_include_dir): Define.
11355         * configure: Rebuilt.
11356         * gcj/Makefile.am: Install libgcj-config.h relative to
11357         tool_include_dir.
11358         * gcj/Makefile: Rebuilt.
11359         * gcj/libgcj-config.h: Add warning comment.
11361 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
11363         * configure.host (powerpc*-darwin*): Enable interpreter.
11365 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11367         * include/posix.h: Add multiple include header protection.
11368         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11370 2002-03-10  Adam Megacz <adam@xwt.org>
11372         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11374 2002-03-10  Tom Tromey  <tromey@redhat.com>
11376         * java/awt/GridLayout.java (layoutContainer): Handle case where
11377         there are no items in container.
11379         * java/lang/Win32Process.java: Added comment.
11380         * include/posix.h (_Jv_platform_close_on_exec): New function.
11381         Include fcntl.h.
11382         * include/win32.h (_Jv_platform_close_on_exec): New function.
11383         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11384         flag.
11385         (accept): Likewise.
11386         * java/net/natPlainDatagramSocketImpl.cc (create): Set
11387         close-on-exec flag.
11388         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11389         flag.
11391 2002-03-09  Tom Tromey  <tromey@redhat.com>
11393         * verify.cc (state::NO_STACK): New constant.
11394         (state::is_unmerged_ret_state): Handle case where stacktop is
11395         NO_STACK.
11396         (state::merge): Handle NO_STACK merges.
11397         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11398         for instruction following jsr.
11399         (stacktop, stackdepth): Removed unused variables.
11400         (pop_jump): Ignore case where all remaining states are skipped.
11402 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11404         * java/awt/ImageMediaEntry: Removed.
11405         * java/awt/MediaEntry: Removed.
11407 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11409         Hashtable synchronization for PowerPC.
11410         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11411         slow_pthread_self. Set up symlink for sysdeps directory.
11412         * configure: Rebuild.
11413         * configure.host: Document more shell variables. Set sysdeps_dir
11414         for most platforms. Set slow_pthread_self for i686. Set
11415         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11416         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11417         that memory barrier is emitted where required.
11418         * prims.cc: 64-bit align static primitive class instances.
11419         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11420         read_barrier() to enforce ordering of reads.
11421         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11422         primitives for PowerPC.
11423         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11424         moved from natObject.cc.
11425         * sysdep/alpha/locks.h: Likewise.
11426         * sysdep/ia64/locks.h: Likewise.
11427         * sysdep/generic/locks.h: Likewise.
11428         * java/lang/natObject.cc: Move thread synchronization primitives to
11429         system-dependent headers.
11431 2002-03-09  Adam Megacz  <adam@xwt.org>
11433         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11434         bytes read and no failure code returned.
11436 2002-03-09  Adam Megacz  <adam@xwt.org>
11438         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11439         definitions to simulate -mthreads.
11441 2002-03-09  Adam Megacz  <adam@xwt.org>
11443         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11444         avoid precision loss.
11446 2002-03-09  Per Bothner  <per@bothner.com>
11448         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
11449         * gnu/gcj/xlib/XImage.java:  Likewise.
11450         * gnu/gcj/xlib/XColor.java:  Likewise.
11452 2002-03-09  Adam Megacz  <adam@xwt.org>
11454         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11455         IOException so that Throwable.printStackTrace fails correctly.
11457 2002-03-08  Adam Megacz  <adam@xwt.org>
11459         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11460         fixed.
11462 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11464         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11465         truncated to int.
11467 2002-03-08  Tom Tromey  <tromey@redhat.com>
11469         * include/jni.h: Include stdio.h.
11471 2002-03-08  Tom Tromey  <tromey@redhat.com>
11473         * posix.cc (internal_gettimeofday): New function.
11474         (_Jv_select): Use it.
11476 2002-03-07  Adam Megacz  <adam@xwt.org>
11478         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11479         WIN32, and added thunks for read(), write(), and close().
11480         * java/net/natPlainSocketImpl.cc (accept, read, read):
11481         Disabled timeouts on WIN32 pending discussion.
11483 2002-03-07  Adam Megacz  <adam@xwt.org>
11485         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11486         returns jlong. Added implementation
11487         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11488         returns jlong.
11489         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11490         returns jlong.
11491         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11492         returns jlong.
11493         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11494         _Jv_platform_gettimeofday signature.
11496 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11498         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11499         (read): Call recv() directly, not _Jv_recv().
11501 2002-03-06  Tom Tromey  <tromey@redhat.com>
11503         * java/io/natFileDescriptorEcos.cc (init): Don't use
11504         GetStdHandle.
11505         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11506         is negative.
11507         (init): Don't use GetStdHandle.
11509         * include/config.h.in: Rebuilt.
11510         * configure: Rebuilt.
11511         * Makefile.in: Rebuilt.
11513 2002-03-06  Adam Megacz  <adam@xwt.org>
11515         * java/io/FileDescriptor.java: Initialize in/out/err in init().
11516         * java/io/natFileDescriptorWin32.cc (init()): Added function.
11517         * java/io/natFileDescriptorPosix.cc (init()): Added function.
11518         * java/io/natFileDescriptorEcos.cc (init()): Added function.
11520 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
11522         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11523         the code for generating include/java-chartables.h.
11524         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11525         merge with Classpath.
11526         * scripts/unicode-muncher.pl: Copy from Classpath.
11527         * scritps/MakeCharTables.java: New file.
11528         * gnu/gcj/convert/Blocks-3.txt: New file.
11529         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11530         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11531         * gnu/java/lang/CharData.java: Copy from Classpath.
11532         * Makefile.am (ordinary_java_source_files): Add
11533         gnu/java/lang/CharData.java.
11534         * configure.in: Remove --enable-fast-character option.
11535         * java/lang/Character.java: Merge algorithms and Javadoc with
11536         Classpath.
11537         * java/lang/natCharacter.cc: Implement Unicode lookup table more
11538         efficiently.
11539         * include/java-chardecomp.h: Regenerate.
11540         * include/java-chartables.h: Regenerate.
11542 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11544         * java/awt/MediaTracker.java: Implemented.
11545         * Makefile.am: Add MediaTracker.
11546         * Makefile.in: Rebuilt.
11548 2002-03-05  Tom Tromey  <tromey@redhat.com>
11550         * java/lang/natPosixProcess.cc (fail): Removed.
11551         (startProcess): Simplified error-handling.  Preserve
11552         LD_LIBRARY_PATH across exec.
11554         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11555         AbstractMethodError.
11557 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11559         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11560         * Makefile.in: Rebuilt.
11562 2002-03-03 Mark Wielaard <mark@klomp.org>
11564         * java/util/Timer (TaskQueue.stop): set elements to zero.
11566 2002-02-28  Anthony Green  <green@redhat.com>
11568         * java/lang/reflect/natMethod.cc (result): Add void* element.
11569         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
11570         constructor test.
11572 2002-02-27  Adam Megacz <adam@xwt.org>
11574         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11575         '#undef STRICT'.
11577 2002-02-26  Tom Tromey  <tromey@redhat.com>
11579         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11580         * gij.cc (version): Use __VERSION__.
11581         * include/config.h.in: Rebuilt.
11582         * acconfig.h (GCJVERSION): Removed.
11583         * configure: Rebuilt.
11584         * configure.in (GCJVERSION): Removed.
11586 2002-02-26  Andreas Schwab  <schwab@suse.de>
11588         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11589         glibcpp_CXX, since libjava uses even another CXX.
11590         * aclocal.m4, configure: Regenerated.
11592 2002-02-26  Tom Tromey  <tromey@redhat.com>
11594         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11595         `1'.
11597 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11599         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11600         dependency tracking for .java files.
11601         * Makefile.in: Rebuilt.
11603 2002-02-24  Adam Megacz  <adam@xwt.org>
11605         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11606         typo. Sorry.
11608 2002-02-24  Adam Megacz  <adam@xwt.org>
11610         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11611         for Win32, changed #ifdefs to check WIN32 instead of the
11612         (now-obsolete) USE_WINSOCK, and removed support for socket
11613         timeouts on Win32 pending further discussion.
11615 2002-02-24  Adam Megacz  <adam@xwt.org>
11617         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11618         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11619         delete
11621 2002-02-24  Adam Megacz  <adam@xwt.org>
11623         * java/lang/Win32Process.java: Created a dummy class to allow
11624         build process to run to completion.
11626 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11628         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11629         Define ffi_result union for ffi_call result.  Cast
11630         ffi_result members to jvalue.
11632 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11634         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11635         * testsuite/Makefile.in: Likewise.
11637 2002-02-20  Per Bothner  <per@bothner.com>
11639         * java/net/URL.java (getPath):  New JDK 1.3 method.
11641         * java/net/URLStreamHandler.java (parseURL):
11642         It is wrong to prepend '/' to the file part of a relative url.
11644         * java/net/URLStreamHandler.java (parseURL):
11645         Minor optizations - append '/' rather than "/".
11647         * java/net/URLStreamHandler.java (parseURL):
11648         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11649         We probably should canonicalize for a context-relative url, though.
11650         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11651         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11652         (sameFile):  New method.  Uses canonicalizeFilename.
11654 2002-02-22  Tom Tromey  <tromey@redhat.com>
11656         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11657         java.vendor and java.vm.vendor.
11658         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11659         recent copyright date.
11660         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11661         * gij.cc (version): Print `Inc'.
11663 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11665         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11666         * aclocal.m4, configure: Rebuilt.
11668 2002-02-20  Per Bothner  <per@bothner.com>
11670         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11671         and/or output streams immediately here, instead of using File.exists.
11672         (inputStream, outputStream):  New fields to save open streams.
11673         (getInputStream, getOutputStream):  Use already-opened streams.
11675 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11677         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11678         Use it.
11679         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11680         * aclocal.m4, configure, Makefile.in: Rebuilt.
11682 2002-02-19  Tom Tromey  <tromey@redhat.com>
11684         Fix for PR libgcj/5696:
11685         * verify.cc (is_assignable_from_slow): Never call
11686         _Jv_IsAssignableFrom.
11687         (verify_instructions_0): Added new debug statement.
11688         (state::print): Print information about whether local has
11689         changed.
11690         (state::merge): Don't call note_variable when merging locals.
11691         (state::set_exception): Removed old FIXME comment.
11693 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11695         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11696         enable SO_BROADCAST.
11698 2002-02-18  Jason Merrill  <jason@redhat.com>
11700         * name-finder.cc (toHex): Use word mode, not long long.
11702         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11704 2002-02-15  Tom Tromey  <tromey@redhat.com>
11706         Fix for PR libgcj/5695:
11707         * verify.cc (is_assignable_from_slow): Check to see if target is
11708         an Object before checking to see if source is an interface.
11709         (verify_instructions_0) [op_invokeinterface]: Handle case where
11710         we're making an interface call on Object.
11712 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11714         * Makefile.in: Rebuilt with Eric's change below.
11716         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11717         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11718         Removed functions which are now implemented in Math.java.
11720 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11722         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11723         * Makefile.am (core_java_source_files): Add
11724         java/lang/StrictMath.java.
11725         * java/lang/Math.java: Merge with Classpath.
11726         * java/lang/StrictMath.java: New file - merge with Classpath.
11728 2002-02-14  Mark Wielaard  <mark@klomp.org>
11730         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11731         package as a workaround for gcj 3.0.x
11733 2002-02-14  Mark Wielaard <mark@klomp.org>
11735         * java/security/BasicPermission.java: extends with fully qualified
11736         classname as workaround for gcj 3.0.4.
11738 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11740         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11741         around gcj bug of wrong emitted qualifier for inherited method.
11742         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11743         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11744         constructor to reduce amount of emitted bytecode. While this
11745         happens to work around a jikes 1.15 bug, it is still a useful
11746         patch even for correct compilers.
11747         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11748         * gnu/java/rmi/server/UnicastRemoteCall.java
11749         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11751 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11753         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11754         * java/net/SocketImpl.java: Ditto.
11755         * java/rmi/server/RMIClassLoader.java: Ditto.
11756         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11758 2002-02-14  Mark Wielaard <mark@klomp.org>
11760         Thanks to Takashi Okamoto
11761         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11762         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11763         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11765 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11767         Fix for PR libgcj/5670:
11768         * verify.cc (is_assignable_from_slow): If `source' is interface,
11769         recursively look for merge with `target'.
11771 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11773         * include/jni.h: Fix typo.
11775 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11777         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11778         correctly.
11780 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11782         Fix for PR libgcj/5671:
11783         * verify.cc (state::merge): Handle case where we're merging
11784         against an interface.
11786 2002-02-12  Tom Tromey  <tromey@redhat.com>
11788         * exception.cc (std::abort): Mark as noreturn.
11790 2002-02-12  Adam Megacz <adam@xwt.org>
11792         * java/lang/Win32Process.java: Filled in a placeholder
11793         implementation so Win32 will build.
11795 2002-02-12  Adam Megacz <adam@xwt.org>
11797         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11798         * java/io/natFile.cc: Removed from repository.
11799         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11801 2002-02-12  Adam Megacz <adam@xwt.org>
11803         * win32.cc: Added two #includes to make win32.cc compile.
11805 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11807         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11808         declarations.
11809         (_Jv_InitGC): Don't bother locking, as this is always called from a
11810         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11812 2002-02-11  Adam Megacz <adam@xwt.org>
11814         * include/win32.h: Added _Jv_platform_gettimeofday.
11815         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11817 2002-02-11  Adam Megacz <adam@xwt.org>
11819         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11820         Added #undef STRICT to make windows.h and
11821         java/lang/reflect/Modifier.h cooperate.
11823 2002-02-11  Adam Megacz <adam@xwt.org>
11825         * java/io/natFileWin32.cc: Created a placeholder class with lots
11826         of FIXMEs.
11828 2002-02-11  Adam Megacz <adam@xwt.org>
11830         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11831         std::abort() to simply abort(). Also added "fake" std::abort() so
11832         we can #include unwind-pe.h without having to link against
11833         libstdc++-v3.
11835 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11837         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11839 2002-02-08  Tom Tromey  <tromey@redhat.com>
11841         * interpret.cc (convert): New function.
11842         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11843         convert.
11844         Include Long.h.
11846 2002-02-08  Anthony Green  <green@redhat.com>
11848         * configure.host: Add support for xscale-elf embedded target.
11850 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11852         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11853         dereferenced.
11854         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11855         frame.
11857 2002-02-07  Tom Tromey  <tromey@redhat.com>
11859         * java/io/natFile.cc (_access): Use __builtin_alloca.
11860         (_stat): Likewise.
11861         (attr): Likewise.
11862         (getCanonicalPath): Likewise.
11863         (performList): Likewise.
11864         (performMkdir): Likewise.
11865         (performSetReadOnly): Likewise.
11866         (performRenameTo): Likewise.
11867         (performSetLastModified): Likewise.
11868         (performCreate): Likewise.
11869         (performDelete): Likewise.
11871 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11873         * HACKING: Fix URL for the automake-gcj.
11875 2002-02-07  Tom Tromey  <tromey@redhat.com>
11877         * java/lang/natThrowable.cc: Updated copyright.
11878         * java/io/natFileWin32.cc: Updated copyright.
11879         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11880         * win32-threads.cc: Updated copyright.
11881         * name-finder.cc: Updated copyright.
11882         * include/name-finder.h: Updated copyright.
11884         * include/name-finder.h: Conditionally include sys/wait.h.
11885         * include/config.h.in: Rebuilt.
11887         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11888         Size buffer based on real size of string.
11889         (_stat): Likewise.
11890         (attr): Likewise.
11891         (getCanonicalPath): Likewise.
11892         (performList): Likewise.
11893         (performMkdir): Likewise.
11894         (performSetReadOnly): Likewise.
11895         (unixroot): Removed.
11896         (performRenameTo): Likewise.
11897         (performSetLastModified): Likewise.
11898         (performCreate): Likewise.
11899         (performDelete): Likewise.
11900         (performListRoots): Always return new array.
11902         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11903         * win32.cc (win32_exception_handler): Now static.
11904         * include/win32.h (_Jv_platform_initialize): Declare.
11905         (win32_exception_handler): Don't declare.
11906         * java/lang/natSystem.cc (currentTimeMillis): Use
11907         _Jv_platform_gettimeofday.
11908         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11909         (_Jv_select): Use new name.
11910         (_Jv_platform_initialize): New function.
11911         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11912         _Jv_gettimeofday.
11913         (_Jv_platform_initialize): Declare.
11915         * configure: Rebuilt.
11916         * configure.in: Removed unnecessary parens.
11918 2002-02-06  Adam Megacz <adam@xwt.org>
11920        * configure.in: Changed mingw) to *mingw*).
11921        * win32.cc: Created this file.
11922        * win32.h: Created this file.
11923        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11924        win32_exception_handler from prims.cc to win32.cc, added
11925        header in win32.h.
11926        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11927        longer needed now that we have platform.h
11929 2002-02-06  Adam Megacz <adam@xwt.org>
11931         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11932         use uint<n>_t instead of LONG and BYTE
11934 2002-02-06  Adam Megacz <adam@xwt.org>
11936         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11938 2002-02-06  Anthony Green  <green@redhat.com>
11940         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11941         Implement missing method stubs.
11942         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11943         targets.
11944         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11945         concept of timezones.
11946         (init_properties): Don't refer to _Jv_Environment_Properties
11947         when this feature is not available.
11948         * include/config.h.in: Rebuilt.
11949         * acconfig.h: Add DISABLE_MAIN_ARGS.
11950         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11951         * configure: Rebuilt.
11952         * configure.in: Add --disable-main-args option.  Test for
11953           opendir function.  Replace AC_CHECK_SIZEOF with
11954           AC_COMPILE_CHECK_SIZEOF.
11955         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11956         * aclocal.m4: Rebuilt.
11957         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11959 2002-02-06  Tom Tromey  <tromey@redhat.com>
11961         * verify.cc (require_array_type): If argument is a null array of
11962         references, return null as the element type.
11964 2002-02-06  Mark Wielaard  <mark@klomp.org>
11966         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11967         duplicate of a wide type.
11969 2002-02-06  Tom Tromey  <tromey@redhat.com>
11971         * verify.cc (type::isnull): New method.
11972         (require_array_type): Handle case where array is null.
11973         (verify_instructions_0) [op_arraylength]: Likewise.
11975 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11977         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11978         Symlink PLATFORMH to platform.h.
11979         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11980         PLATFORMOBJS.
11981         * java/lang/natSystem.cc: #include platform.h not posix.h.
11982         * Makefile.in: Rebuilt with libgcj automake.
11983         * configure: Rebuilt.
11985 2002-02-05  Richard Henderson  <rth@redhat.com>
11987         * Makefile.in: Undo munging last change.
11989 2002-02-04  Adam Megacz <adam@xwt.org>
11991         * win32.cc: Created it.
11992         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11993         which is set to posix.cc or win32.cc.
11994         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11996 2002-02-04  Adam Megacz <adam@xwt.org>
11998         * configure.in: Corrected mingw case branches; added * before
11999         and after.
12001 2002-02-04  Adam Megacz <adam@xwt.org>
12003         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12004         if compiling for win32
12006 2002-02-04  Adam Megacz <adam@xwt.org>
12008         * win32-threads.cc: #undef STRICT after gc.h inclusion
12010 2002-02-02  Tom Tromey  <tromey@redhat.com>
12012         * Makefile.in: Rebuilt.
12014 2002-02-02  Jason Merrill  <jason@redhat.com>
12016         * Makefile.am (clean-nat): New target.
12018 2002-02-02  Tom Tromey  <tromey@redhat.com>
12020         * java/io/natFile.cc: Removed old "FIXME" comments.
12022 2002-02-01  Tom Tromey  <tromey@redhat.com>
12024         * java/lang/natPosixProcess.cc (myclose): New function.
12025         (fail): Use it.
12026         (startProcess): Likewise.
12028 2002-02-01  Adam Megacz <adam@xwt.org>
12030         * prims.cc: Added #undef STRICT after #include<windows.h>.
12032 2002-02-01  Adam Megacz <adam@xwt.org>
12034         * prims.cc
12035         (_Jv_CreateJavaVM): We now use WIN32 instead of
12036         USE_WIN32_SIGNALLING and USE_WINSOCK.
12037         (win32_exception_handler): Now throws an exception out of
12038         the signal handler; assumes SJLJ.
12040 2002-02-01  Adam Megacz <adam@xwt.org>
12042         * win32-threads.cc:
12043         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12044         wait() algorithm to make it safe.
12045         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12046         Added lazy creation of Win32 Events for better performance
12047         (really_start): This now uses GC_CreateThread so boehm-gc
12048         knows about new threads even when statically linked.
12050 2002-02-01  Adam Megacz <adam@xwt.org>
12052         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12053         enable safer wait() algorithm.
12054         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12055         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12056         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12057         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12058         instead of mutex.
12059         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12061 2002-02-01  Adam Megacz <adam@xwt.org>
12063         * configure.in: Added support for mingw.
12064         * java/lang/Win32Process.java: Created as empty file.
12065         * java/lang/natWin32Process.cc: Created as empty file.
12067 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12069         PR java/4972
12070         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12071         for libiconv in LIBICONV variable.
12072         * configure: Regenerated.
12074 2002-01-31  Tom Tromey  <tromey@redhat.com>
12076         * verify.cc (state::enter_subroutine): New method.
12077         (handle_jsr_insn): Use it.
12078         (state::merge): When processing a `ret', correctly use
12079         subroutine's state to determine which local variables have
12080         changed.
12081         (push_exception_jump): Don't let stack overflow.
12083 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12085         * gnu/gcj/convert/Convert.java: Only include one copyright year in
12086         --version output.
12088 2002-01-30  Tom Tromey  <tromey@redhat.com>
12090         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12091         parameter for `recv' return type.
12093         * verify.cc (handle_ret_insn): Check for subroutine merge here...
12094         (state::merge): ... not here.
12095         (subr_entry_info): New structure.
12096         (entry_points): New field.
12097         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
12098         entry_points.
12100 2002-01-29  Tom Tromey  <tromey@redhat.com>
12102         * java/awt/List.java (addNotify): Correctly check to see if peer
12103         does not exist.
12105         * java/awt/GridLayout.java (layoutContainer): Use number of rows
12106         to compute height of each cell, and number of columns to compute
12107         width of each cell.
12108         * java/awt/Window.java (getOwnedWindows): Don't return null.
12109         * java/awt/FlowLayout.java (layoutContainer): Set width and height
12110         of component.  Increment x using horizontal gap, not vertical
12111         gap.
12113 2002-01-28  Tom Tromey  <tromey@redhat.com>
12115         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12116         `nargs' byte is number of words, not number of arguments.
12118 2002-01-27  Tom Tromey  <tromey@redhat.com>
12120         * java/awt/event/MouseEvent.java (modifiers): Removed field.
12121         (when): Likewise.
12122         * java/awt/event/InputEvent.java (modifiers, when): Now
12123         package-private.
12125         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12126         and to-do list.
12127         (state::merge): Use current class' class loader.
12128         (state::print): Print subroutine.
12129         (state::merge): Don't look at subroutine of unmerged `ret'.
12131 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12133         * nogc.cc: Remove warnings.
12134         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12135         New functions.
12137 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12139         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12140         int, int):  Remove empty "if" statement to work around compiler bug.
12141         (newPixels(int[], ColorModel, int, int): Likewise.
12143 2002-01-25  Per Bothner  <per@bothner.com>
12145         * verify.cc (verify_fail):  Change from being a top-level function
12146         to e method of _Jv_BytecodeVerifier.  Emit current method name.
12147         Pass the current verifier to type: and state: methods as needed,
12148         for better error messages, and for resolve.
12149         (resolve):  Pass current class's loader for Class.forName and
12150         _Jv_FindClassFromSignature, rather than using the default loader.
12151         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
12152         (get_type_val_for_signature):  Make non-static.
12153         (various methods):  Pass start_PC implicitly, not explicitly.
12155 2002-01-25  Tom Tromey  <tromey@redhat.com>
12157         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12158         loop termination condition.
12159         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12160         width.
12162 2002-01-24  Tom Tromey  <tromey@redhat.com>
12164         * java/awt/Shape.java: Merged with Classpath.
12165         * java/awt/Scrollbar.java: Merged with Classpath.
12167         * java/awt/Container.java (addNotify): Unconditionally call
12168         addNotifyContainerChildren and superclass addNotify.
12170         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12171         getAlpha, not getBlue.
12173 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12175         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12177         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12178         (grabPixels(long)): Wait to be notified that the ImageProducer has
12179         completed.
12181 2002-01-24  Per Bothner  <per@bothner.com>
12183         * verify.cc (is_assignable_from_slow): If target is an interface,
12184         we must still check the source's superclass before giving up.
12186 2002-01-24  Tom Tromey  <tromey@redhat.com>
12188         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12190 2002-01-23  Tom Tromey  <tromey@redhat.com>
12192         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12193         `else'.
12195         * Makefile.in: Rebuilt.
12196         * Makefile.am (awt_java_source_files): Added new files.
12197         * java/awt/Toolkit.java: Merged with Classpath.
12198         * java/awt/PrintGraphics.java: New file from Classpath.
12199         * java/awt/PrintJob.java: New file from Classpath.
12200         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12201         * java/awt/datatransfer/ClipboardOwner.java: New file from
12202         Classpath.
12203         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12204         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12205         * java/awt/datatransfer/MimeTypeParseException.java: New file from
12206         Classpath.
12207         * java/awt/datatransfer/StringSelection.java: New file from
12208         Classpath.
12209         * java/awt/datatransfer/SystemFlavorMap.java: New file from
12210         Classpath.
12211         * java/awt/datatransfer/Transferable.java: New file from
12212         Classpath.
12213         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12214         from Classpath.
12216         * Makefile.in: Rebuilt.
12217         * Makefile.am (awt_java_source_files): Added new files.
12218         * java/awt/image/AreaAveragingScaleFilter.java: New file from
12219         Classpath.
12220         * java/awt/image/CropImageFilter.java: New file from Classpath.
12221         * java/awt/image/FilteredImageSource.java: New file from
12222         Classpath.
12223         * java/awt/image/ImageFilter.java: New file from Classpath.
12224         * java/awt/image/MemoryImageSource.java: New file from Classpath.
12225         * java/awt/image/PixelGrabber.java: New file from Classpath.
12226         * java/awt/image/RGBImageFilter.java: New file from Classpath.
12227         * java/awt/image/ReplicateScaleFilter.java: New file from
12228         Classpath.
12229         * java/awt/image/ImageProducer.java: Replaced with Classpath
12230         version.
12231         * java/awt/image/ImageObserver.java: Replaced with Classpath
12232         version.
12233         * java/awt/image/ImageConsumer.java: Replaced with Classpath
12234         version.
12235         * java/awt/GridBagConstraints.java (clone): Catch
12236         CloneNotSupportedException.
12238 2002-01-23  Per Bothner  <per@bothner.com>
12240         * java/lang/reflect/natField.cc (setAddr):  New function.
12241         Calls getAddr and then checks that the field isn't final.
12242         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12243         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
12244         (set):  Call setAddr before check that new value has right type,
12245         to better match specified semantics.
12247 2002-01-22  Tom Tromey  <tromey@redhat.com>
12249         * java/awt/TextField.java: Replaced with Classpath version.
12250         * java/awt/TextArea.java: Replaced with Classpath version.
12251         * java/awt/TextComponent.java: Replaced with Classpath version.
12253         * java/awt/GridBagConstraints.java: Updated copyright.
12255 2002-01-22  Mark Wielaard <mark@klomp.org>
12257         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12258         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12259         java/awt/Dialog.java java/awt/FileDialog.java
12260         java/awt/Font.java java/awt/FontMetrics.java
12261         java/awt/Image.java java/awt/ImageMediaEntry.java
12262         java/awt/Insets.java java/awt/List.java
12263         java/awt/MediaEntry.java java/awt/MediaTracker.java
12264         java/awt/Menu.java java/awt/MenuBar.java
12265         java/awt/MenuContainer.java java/awt/MenuShortcut.java
12266         java/awt/PaintContext.java java/awt/Panel.java
12267         java/awt/PopupMenu.java java/awt/SystemColor.java
12268         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12269         java/awt/peer/CheckboxMenuItemPeer.java
12270         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12271         java/awt/peer/ComponentPeer.java
12272         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12273         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12274         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12275         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12276         java/awt/peer/MenuBarPeer.java
12277         java/awt/peer/MenuComponentPeer.java
12278         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12279         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12280         java/awt/peer/ScrollPanePeer.java
12281         java/awt/peer/ScrollbarPeer.java
12282         java/awt/peer/TextAreaPeer.java
12283         java/awt/peer/TextComponentPeer.java
12284         java/awt/peer/TextFieldPeer.java
12285         java/awt/peer/WindowPeer.java: Add license clarification.
12287 2002-01-22  Mark Wielaard <mark@klomp.org>
12289         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12290         gnu/gcj/runtime/StringBuffer.java
12291         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12292         gnu/java/awt/ComponentDataBlitOp.java
12293         gnu/java/awt/GLightweightPeer.java
12294         gnu/java/beans/BeanInfoEmbryo.java
12295         gnu/java/beans/EmptyBeanInfo.java
12296         gnu/java/beans/ExplicitBeanInfo.java
12297         gnu/java/beans/IntrospectionIncubator.java
12298         gnu/java/beans/editors/ColorEditor.java
12299         gnu/java/beans/editors/FontEditor.java
12300         gnu/java/beans/editors/NativeBooleanEditor.java
12301         gnu/java/beans/editors/NativeByteEditor.java
12302         gnu/java/beans/editors/NativeDoubleEditor.java
12303         gnu/java/beans/editors/NativeFloatEditor.java
12304         gnu/java/beans/editors/NativeIntEditor.java
12305         gnu/java/beans/editors/NativeLongEditor.java
12306         gnu/java/beans/editors/NativeShortEditor.java
12307         gnu/java/beans/editors/StringEditor.java
12308         gnu/java/beans/info/ComponentBeanInfo.java
12309         gnu/java/io/ClassLoaderObjectInputStream.java
12310         gnu/java/io/NullOutputStream.java
12311         gnu/java/io/ObjectIdentityWrapper.java
12312         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12313         gnu/java/lang/reflect/TypeSignature.java
12314         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12315         gnu/java/locale/Calendar_en.java
12316         gnu/java/locale/Calendar_nl.java
12317         gnu/java/locale/LocaleInformation.java
12318         gnu/java/locale/LocaleInformation_de.java
12319         gnu/java/locale/LocaleInformation_en.java
12320         gnu/java/locale/LocaleInformation_nl.java
12321         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12322         gnu/java/rmi/registry/RegistryImpl.java
12323         gnu/java/rmi/rmic/Compile_gcj.java
12324         gnu/java/rmi/rmic/Compiler.java
12325         gnu/java/rmi/rmic/CompilerProcess.java
12326         gnu/java/rmi/rmic/RMIC.java
12327         gnu/java/rmi/rmic/TabbedWriter.java
12328         gnu/java/rmi/server/ProtocolConstants.java
12329         gnu/java/rmi/server/RMIDefaultSocketFactory.java
12330         gnu/java/rmi/server/RMIHashes.java
12331         gnu/java/rmi/server/RMIObjectInputStream.java
12332         gnu/java/rmi/server/RMIObjectOutputStream.java
12333         gnu/java/rmi/server/UnicastConnection.java
12334         gnu/java/rmi/server/UnicastConnectionManager.java
12335         gnu/java/rmi/server/UnicastRef.java
12336         gnu/java/rmi/server/UnicastRemoteCall.java
12337         gnu/java/rmi/server/UnicastRemoteStub.java
12338         gnu/java/rmi/server/UnicastServer.java
12339         gnu/java/rmi/server/UnicastServerRef.java
12340         gnu/java/security/provider/DefaultPolicy.java
12341         gnu/java/security/provider/Gnu.java
12342         gnu/java/security/provider/SHA.java
12343         gnu/java/security/provider/SHA1PRNG.java
12344         gnu/java/text/BaseBreakIterator.java
12345         gnu/java/text/CharacterBreakIterator.java
12346         gnu/java/text/LineBreakIterator.java
12347         gnu/java/text/SentenceBreakIterator.java
12348         gnu/java/text/WordBreakIterator.java
12349         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12350         java/applet/AppletContext.java java/applet/AppletStub.java
12351         java/applet/AudioClip.java java/awt/AWTError.java
12352         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12353         java/awt/AWTException.java java/awt/AWTPermission.java
12354         java/awt/ActiveEvent.java java/awt/BorderLayout.java
12355         java/awt/Button.java java/awt/Canvas.java
12356         java/awt/CardLayout.java java/awt/Checkbox.java
12357         java/awt/CheckboxGroup.java java/awt/Component.java
12358         java/awt/ComponentOrientation.java java/awt/Container.java
12359         java/awt/Dimension.java java/awt/Event.java
12360         java/awt/EventDispatchThread.java java/awt/EventQueue.java
12361         java/awt/FlowLayout.java java/awt/Frame.java
12362         java/awt/Graphics.java java/awt/Graphics2D.java
12363         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12364         java/awt/IllegalComponentStateException.java
12365         java/awt/ItemSelectable.java java/awt/Label.java
12366         java/awt/LayoutManager.java java/awt/LayoutManager2.java
12367         java/awt/MenuComponent.java java/awt/MenuItem.java
12368         java/awt/Paint.java java/awt/Point.java
12369         java/awt/Rectangle.java java/awt/RenderingHints.java
12370         java/awt/Transparency.java java/awt/Window.java
12371         java/awt/color/ColorSpace.java
12372         java/awt/color/ICC_ColorSpace.java
12373         java/awt/color/ICC_Profile.java
12374         java/awt/event/HierarchyBoundsAdapter.java
12375         java/awt/event/HierarchyBoundsListener.java
12376         java/awt/event/HierarchyEvent.java
12377         java/awt/event/HierarchyListener.java
12378         java/awt/geom/AffineTransform.java
12379         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12380         java/awt/geom/IllegalPathStateException.java
12381         java/awt/geom/Line2D.java
12382         java/awt/geom/NoninvertibleTransformException.java
12383         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12384         java/awt/geom/Rectangle2D.java
12385         java/awt/geom/RectangularShape.java
12386         java/awt/geom/RoundRectangle2D.java
12387         java/awt/image/BufferedImage.java
12388         java/awt/image/ColorModel.java
12389         java/awt/image/ComponentColorModel.java
12390         java/awt/image/ComponentSampleModel.java
12391         java/awt/image/DataBuffer.java
12392         java/awt/image/DataBufferByte.java
12393         java/awt/image/DataBufferInt.java
12394         java/awt/image/DataBufferUShort.java
12395         java/awt/image/DirectColorModel.java
12396         java/awt/image/PackedColorModel.java
12397         java/awt/image/Raster.java java/awt/image/RasterOp.java
12398         java/awt/image/SampleModel.java
12399         java/awt/image/SinglePixelPackedSampleModel.java
12400         java/awt/image/WritableRaster.java
12401         java/beans/AppletInitializer.java
12402         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12403         java/beans/Beans.java java/beans/Customizer.java
12404         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12405         java/beans/FeatureDescriptor.java
12406         java/beans/IndexedPropertyDescriptor.java
12407         java/beans/IntrospectionException.java
12408         java/beans/Introspector.java java/beans/MethodDescriptor.java
12409         java/beans/ParameterDescriptor.java
12410         java/beans/PropertyChangeEvent.java
12411         java/beans/PropertyChangeListener.java
12412         java/beans/PropertyChangeSupport.java
12413         java/beans/PropertyDescriptor.java
12414         java/beans/PropertyEditor.java
12415         java/beans/PropertyEditorManager.java
12416         java/beans/PropertyEditorSupport.java
12417         java/beans/PropertyVetoException.java
12418         java/beans/SimpleBeanInfo.java
12419         java/beans/VetoableChangeListener.java
12420         java/beans/VetoableChangeSupport.java
12421         java/beans/Visibility.java
12422         java/beans/beancontext/BeanContext.java
12423         java/beans/beancontext/BeanContextChild.java
12424         java/beans/beancontext/BeanContextChildComponentProxy.java
12425         java/beans/beancontext/BeanContextChildSupport.java
12426         java/beans/beancontext/BeanContextContainerProxy.java
12427         java/beans/beancontext/BeanContextEvent.java
12428         java/beans/beancontext/BeanContextMembershipEvent.java
12429         java/beans/beancontext/BeanContextMembershipListener.java
12430         java/beans/beancontext/BeanContextProxy.java
12431         java/beans/beancontext/BeanContextServiceAvailableEvent.java
12432         java/beans/beancontext/BeanContextServiceProvider.java
12433         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12434         java/beans/beancontext/BeanContextServiceRevokedEvent.java
12435         java/beans/beancontext/BeanContextServiceRevokedListener.java
12436         java/beans/beancontext/BeanContextServices.java
12437         java/beans/beancontext/BeanContextServicesListener.java
12438         java/io/BufferedInputStream.java
12439         java/io/BufferedOutputStream.java java/io/BufferedReader.java
12440         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12441         java/io/ByteArrayOutputStream.java
12442         java/io/CharArrayReader.java java/io/CharArrayWriter.java
12443         java/io/CharConversionException.java java/io/DataInput.java
12444         java/io/DataInputStream.java java/io/DataOutput.java
12445         java/io/EOFException.java java/io/Externalizable.java
12446         java/io/FileFilter.java java/io/FileNotFoundException.java
12447         java/io/FilePermission.java java/io/FileReader.java
12448         java/io/FileWriter.java java/io/FilenameFilter.java
12449         java/io/FilterInputStream.java java/io/FilterOutputStream.java
12450         java/io/FilterReader.java java/io/FilterWriter.java
12451         java/io/IOException.java java/io/InputStream.java
12452         java/io/InterruptedIOException.java
12453         java/io/InvalidClassException.java
12454         java/io/InvalidObjectException.java
12455         java/io/NotActiveException.java
12456         java/io/NotSerializableException.java java/io/ObjectInput.java
12457         java/io/ObjectInputStream.java
12458         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12459         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12460         java/io/ObjectStreamConstants.java
12461         java/io/ObjectStreamException.java
12462         java/io/ObjectStreamField.java
12463         java/io/OptionalDataException.java java/io/OutputStream.java
12464         java/io/PipedInputStream.java java/io/PipedOutputStream.java
12465         java/io/PipedReader.java java/io/PipedWriter.java
12466         java/io/PrintWriter.java java/io/PushbackInputStream.java
12467         java/io/PushbackReader.java java/io/Reader.java
12468         java/io/SequenceInputStream.java java/io/Serializable.java
12469         java/io/SerializablePermission.java
12470         java/io/StreamCorruptedException.java
12471         java/io/StreamTokenizer.java
12472         java/io/StringBufferInputStream.java java/io/StringReader.java
12473         java/io/StringWriter.java java/io/SyncFailedException.java
12474         java/io/UTFDataFormatException.java
12475         java/io/UnsupportedEncodingException.java
12476         java/io/WriteAbortedException.java java/io/Writer.java
12477         java/lang/AbstractMethodError.java
12478         java/lang/ArithmeticException.java
12479         java/lang/ArrayIndexOutOfBoundsException.java
12480         java/lang/ArrayStoreException.java java/lang/Boolean.java
12481         java/lang/Byte.java java/lang/CharSequence.java
12482         java/lang/ClassCastException.java
12483         java/lang/ClassCircularityError.java
12484         java/lang/ClassFormatError.java
12485         java/lang/ClassNotFoundException.java
12486         java/lang/CloneNotSupportedException.java
12487         java/lang/Cloneable.java java/lang/Comparable.java
12488         java/lang/Compiler.java java/lang/Double.java
12489         java/lang/Error.java java/lang/Exception.java
12490         java/lang/ExceptionInInitializerError.java
12491         java/lang/Float.java java/lang/IllegalAccessError.java
12492         java/lang/IllegalAccessException.java
12493         java/lang/IllegalArgumentException.java
12494         java/lang/IllegalMonitorStateException.java
12495         java/lang/IllegalStateException.java
12496         java/lang/IllegalThreadStateException.java
12497         java/lang/IncompatibleClassChangeError.java
12498         java/lang/IndexOutOfBoundsException.java
12499         java/lang/InheritableThreadLocal.java
12500         java/lang/InstantiationError.java
12501         java/lang/InstantiationException.java java/lang/Integer.java
12502         java/lang/InternalError.java
12503         java/lang/InterruptedException.java
12504         java/lang/LinkageError.java java/lang/Long.java
12505         java/lang/NegativeArraySizeException.java
12506         java/lang/NoClassDefFoundError.java
12507         java/lang/NoSuchFieldError.java
12508         java/lang/NoSuchFieldException.java
12509         java/lang/NoSuchMethodError.java
12510         java/lang/NoSuchMethodException.java
12511         java/lang/NullPointerException.java java/lang/Number.java
12512         java/lang/NumberFormatException.java
12513         java/lang/OutOfMemoryError.java java/lang/Package.java
12514         java/lang/Process.java java/lang/Runnable.java
12515         java/lang/RuntimeException.java
12516         java/lang/RuntimePermission.java
12517         java/lang/SecurityException.java
12518         java/lang/SecurityManager.java java/lang/Short.java
12519         java/lang/StackOverflowError.java java/lang/StringBuffer.java
12520         java/lang/StringIndexOutOfBoundsException.java
12521         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12522         java/lang/ThreadLocal.java java/lang/UnknownError.java
12523         java/lang/UnsatisfiedLinkError.java
12524         java/lang/UnsupportedClassVersionError.java
12525         java/lang/UnsupportedOperationException.java
12526         java/lang/VerifyError.java java/lang/VirtualMachineError.java
12527         java/lang/Void.java java/lang/ref/PhantomReference.java
12528         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12529         java/lang/ref/SoftReference.java
12530         java/lang/ref/WeakReference.java
12531         java/lang/reflect/AccessibleObject.java
12532         java/lang/reflect/InvocationTargetException.java
12533         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12534         java/lang/reflect/ReflectPermission.java
12535         java/math/BigDecimal.java java/math/BigInteger.java
12536         java/net/Authenticator.java java/net/BindException.java
12537         java/net/ConnectException.java java/net/ContentHandler.java
12538         java/net/ContentHandlerFactory.java
12539         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12540         java/net/FileNameMap.java java/net/MalformedURLException.java
12541         java/net/MulticastSocket.java java/net/NetPermission.java
12542         java/net/NoRouteToHostException.java
12543         java/net/PasswordAuthentication.java
12544         java/net/ProtocolException.java java/net/ServerSocket.java
12545         java/net/Socket.java java/net/SocketException.java
12546         java/net/SocketImpl.java java/net/SocketImplFactory.java
12547         java/net/SocketOptions.java java/net/SocketPermission.java
12548         java/net/URLDecoder.java java/net/URLEncoder.java
12549         java/net/URLStreamHandlerFactory.java
12550         java/net/UnknownHostException.java
12551         java/net/UnknownServiceException.java
12552         java/rmi/AccessException.java
12553         java/rmi/AlreadyBoundException.java
12554         java/rmi/ConnectException.java
12555         java/rmi/ConnectIOException.java
12556         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12557         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12558         java/rmi/NotBoundException.java
12559         java/rmi/RMISecurityException.java
12560         java/rmi/RMISecurityManager.java java/rmi/Remote.java
12561         java/rmi/RemoteException.java java/rmi/ServerError.java
12562         java/rmi/ServerException.java
12563         java/rmi/ServerRuntimeException.java
12564         java/rmi/StubNotFoundException.java
12565         java/rmi/UnexpectedException.java
12566         java/rmi/UnknownHostException.java
12567         java/rmi/UnmarshalException.java
12568         java/rmi/activation/Activatable.java
12569         java/rmi/activation/ActivateFailedException.java
12570         java/rmi/activation/ActivationDesc.java
12571         java/rmi/activation/ActivationException.java
12572         java/rmi/activation/ActivationGroup.java
12573         java/rmi/activation/ActivationGroupDesc.java
12574         java/rmi/activation/ActivationGroupID.java
12575         java/rmi/activation/ActivationID.java
12576         java/rmi/activation/ActivationInstantiator.java
12577         java/rmi/activation/ActivationMonitor.java
12578         java/rmi/activation/ActivationSystem.java
12579         java/rmi/activation/Activator.java
12580         java/rmi/activation/UnknownGroupException.java
12581         java/rmi/activation/UnknownObjectException.java
12582         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12583         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12584         java/rmi/registry/Registry.java
12585         java/rmi/registry/RegistryHandler.java
12586         java/rmi/server/ExportException.java
12587         java/rmi/server/LoaderHandler.java
12588         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12589         java/rmi/server/Operation.java
12590         java/rmi/server/RMIClassLoader.java
12591         java/rmi/server/RMIClientSocketFactory.java
12592         java/rmi/server/RMIFailureHandler.java
12593         java/rmi/server/RMIServerSocketFactory.java
12594         java/rmi/server/RMISocketFactory.java
12595         java/rmi/server/RemoteCall.java
12596         java/rmi/server/RemoteObject.java
12597         java/rmi/server/RemoteRef.java
12598         java/rmi/server/RemoteServer.java
12599         java/rmi/server/RemoteStub.java
12600         java/rmi/server/ServerCloneException.java
12601         java/rmi/server/ServerNotActiveException.java
12602         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12603         java/rmi/server/SkeletonMismatchException.java
12604         java/rmi/server/SkeletonNotFoundException.java
12605         java/rmi/server/SocketSecurityException.java
12606         java/rmi/server/UID.java
12607         java/rmi/server/UnicastRemoteObject.java
12608         java/rmi/server/Unreferenced.java
12609         java/security/AccessControlContext.java
12610         java/security/AccessControlException.java
12611         java/security/AccessController.java
12612         java/security/AlgorithmParameterGenerator.java
12613         java/security/AlgorithmParameterGeneratorSpi.java
12614         java/security/AlgorithmParameters.java
12615         java/security/AlgorithmParametersSpi.java
12616         java/security/AllPermission.java
12617         java/security/BasicPermission.java
12618         java/security/Certificate.java java/security/CodeSource.java
12619         java/security/DigestException.java
12620         java/security/DigestInputStream.java
12621         java/security/DigestOutputStream.java
12622         java/security/DomainCombiner.java
12623         java/security/DummyKeyPairGenerator.java
12624         java/security/DummyMessageDigest.java
12625         java/security/DummySignature.java
12626         java/security/GeneralSecurityException.java
12627         java/security/Guard.java java/security/GuardedObject.java
12628         java/security/Identity.java java/security/IdentityScope.java
12629         java/security/InvalidAlgorithmParameterException.java
12630         java/security/InvalidKeyException.java
12631         java/security/InvalidParameterException.java
12632         java/security/Key.java java/security/KeyException.java
12633         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12634         java/security/KeyManagementException.java
12635         java/security/KeyPair.java java/security/KeyPairGenerator.java
12636         java/security/KeyPairGeneratorSpi.java
12637         java/security/KeyStore.java
12638         java/security/KeyStoreException.java
12639         java/security/KeyStoreSpi.java
12640         java/security/MessageDigest.java
12641         java/security/MessageDigestSpi.java
12642         java/security/NoSuchAlgorithmException.java
12643         java/security/NoSuchProviderException.java
12644         java/security/Permission.java
12645         java/security/PermissionCollection.java
12646         java/security/Permissions.java java/security/Policy.java
12647         java/security/Principal.java java/security/PrivateKey.java
12648         java/security/PrivilegedAction.java
12649         java/security/PrivilegedActionException.java
12650         java/security/PrivilegedExceptionAction.java
12651         java/security/ProtectionDomain.java
12652         java/security/Provider.java
12653         java/security/ProviderException.java
12654         java/security/PublicKey.java
12655         java/security/SecureClassLoader.java
12656         java/security/SecureRandom.java
12657         java/security/SecureRandomSpi.java java/security/Security.java
12658         java/security/SecurityPermission.java
12659         java/security/Signature.java
12660         java/security/SignatureException.java
12661         java/security/SignatureSpi.java
12662         java/security/SignedObject.java java/security/Signer.java
12663         java/security/UnrecoverableKeyException.java
12664         java/security/UnresolvedPermission.java
12665         java/security/acl/Acl.java java/security/acl/AclEntry.java
12666         java/security/acl/AclNotFoundException.java
12667         java/security/acl/Group.java
12668         java/security/acl/LastOwnerException.java
12669         java/security/acl/NotOwnerException.java
12670         java/security/acl/Owner.java java/security/acl/Permission.java
12671         java/security/cert/CRL.java
12672         java/security/cert/CRLException.java
12673         java/security/cert/Certificate.java
12674         java/security/cert/CertificateEncodingException.java
12675         java/security/cert/CertificateException.java
12676         java/security/cert/CertificateExpiredException.java
12677         java/security/cert/CertificateFactory.java
12678         java/security/cert/CertificateFactorySpi.java
12679         java/security/cert/CertificateNotYetValidException.java
12680         java/security/cert/CertificateParsingException.java
12681         java/security/cert/X509CRL.java
12682         java/security/cert/X509CRLEntry.java
12683         java/security/cert/X509Certificate.java
12684         java/security/cert/X509Extension.java
12685         java/security/interfaces/DSAKey.java
12686         java/security/interfaces/DSAKeyPairGenerator.java
12687         java/security/interfaces/DSAParams.java
12688         java/security/interfaces/DSAPrivateKey.java
12689         java/security/interfaces/DSAPublicKey.java
12690         java/security/interfaces/RSAKey.java
12691         java/security/interfaces/RSAPrivateCrtKey.java
12692         java/security/interfaces/RSAPrivateKey.java
12693         java/security/interfaces/RSAPublicKey.java
12694         java/security/spec/AlgorithmParameterSpec.java
12695         java/security/spec/DSAParameterSpec.java
12696         java/security/spec/DSAPrivateKeySpec.java
12697         java/security/spec/DSAPublicKeySpec.java
12698         java/security/spec/EncodedKeySpec.java
12699         java/security/spec/InvalidKeySpecException.java
12700         java/security/spec/InvalidParameterSpecException.java
12701         java/security/spec/KeySpec.java
12702         java/security/spec/PKCS8EncodedKeySpec.java
12703         java/security/spec/RSAKeyGenParameterSpec.java
12704         java/security/spec/RSAPrivateCrtKeySpec.java
12705         java/security/spec/RSAPrivateKeySpec.java
12706         java/security/spec/RSAPublicKeySpec.java
12707         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12708         java/sql/BatchUpdateException.java java/sql/Blob.java
12709         java/sql/CallableStatement.java java/sql/Clob.java
12710         java/sql/Connection.java java/sql/DataTruncation.java
12711         java/sql/DatabaseMetaData.java java/sql/Date.java
12712         java/sql/Driver.java java/sql/DriverManager.java
12713         java/sql/DriverPropertyInfo.java
12714         java/sql/PreparedStatement.java java/sql/Ref.java
12715         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12716         java/sql/SQLData.java java/sql/SQLException.java
12717         java/sql/SQLInput.java java/sql/SQLOutput.java
12718         java/sql/SQLWarning.java java/sql/Statement.java
12719         java/sql/Struct.java java/sql/Time.java
12720         java/sql/Timestamp.java java/sql/Types.java
12721         java/text/Annotation.java
12722         java/text/AttributedCharacterIterator.java
12723         java/text/AttributedString.java
12724         java/text/AttributedStringIterator.java
12725         java/text/BreakIterator.java java/text/CharacterIterator.java
12726         java/text/ChoiceFormat.java java/text/Collator.java
12727         java/text/DateFormat.java java/text/DateFormatSymbols.java
12728         java/text/DecimalFormat.java
12729         java/text/DecimalFormatSymbols.java
12730         java/text/FieldPosition.java java/text/Format.java
12731         java/text/MessageFormat.java java/text/NumberFormat.java
12732         java/text/ParseException.java java/text/ParsePosition.java
12733         java/text/SimpleDateFormat.java
12734         java/text/StringCharacterIterator.java
12735         java/util/AbstractCollection.java java/util/AbstractList.java
12736         java/util/AbstractMap.java
12737         java/util/AbstractSequentialList.java
12738         java/util/AbstractSet.java java/util/ArrayList.java
12739         java/util/Arrays.java java/util/BasicMapEntry.java
12740         java/util/BitSet.java java/util/Calendar.java
12741         java/util/Collection.java java/util/Collections.java
12742         java/util/Comparator.java
12743         java/util/ConcurrentModificationException.java
12744         java/util/Date.java java/util/Dictionary.java
12745         java/util/EmptyStackException.java java/util/Enumeration.java
12746         java/util/EventListener.java java/util/EventObject.java
12747         java/util/GregorianCalendar.java java/util/HashMap.java
12748         java/util/HashSet.java java/util/Hashtable.java
12749         java/util/IdentityHashMap.java java/util/Iterator.java
12750         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12751         java/util/LinkedList.java java/util/List.java
12752         java/util/ListIterator.java java/util/ListResourceBundle.java
12753         java/util/Locale.java java/util/Map.java
12754         java/util/MissingResourceException.java
12755         java/util/NoSuchElementException.java
12756         java/util/Observable.java java/util/Observer.java
12757         java/util/Properties.java java/util/PropertyPermission.java
12758         java/util/PropertyResourceBundle.java java/util/Random.java
12759         java/util/RandomAccess.java java/util/ResourceBundle.java
12760         java/util/Set.java java/util/SimpleTimeZone.java
12761         java/util/SortedMap.java java/util/SortedSet.java
12762         java/util/Stack.java java/util/StringTokenizer.java
12763         java/util/TimeZone.java java/util/Timer.java
12764         java/util/TimerTask.java
12765         java/util/TooManyListenersException.java
12766         java/util/TreeMap.java java/util/TreeSet.java
12767         java/util/Vector.java java/util/WeakHashMap.java
12768         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12769         java/util/jar/JarException.java java/util/jar/JarFile.java
12770         java/util/jar/JarInputStream.java
12771         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12772         java/util/zip/Adler32.java java/util/zip/CRC32.java
12773         java/util/zip/CheckedInputStream.java
12774         java/util/zip/CheckedOutputStream.java
12775         java/util/zip/Checksum.java
12776         java/util/zip/DataFormatException.java
12777         java/util/zip/Deflater.java
12778         java/util/zip/DeflaterOutputStream.java
12779         java/util/zip/GZIPInputStream.java
12780         java/util/zip/GZIPOutputStream.java
12781         java/util/zip/Inflater.java
12782         java/util/zip/InflaterInputStream.java
12783         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12784         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12785         java/util/zip/ZipInputStream.java
12786         java/util/zip/ZipOutputStream.java
12787         javax/naming/BinaryRefAddr.java
12788         javax/naming/InvalidNameException.java javax/naming/Name.java
12789         javax/naming/NamingException.java javax/naming/RefAddr.java
12790         javax/naming/StringRefAddr.java: Add license clarification.
12792 2002-01-22  Tom Tromey  <tromey@redhat.com>
12794         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12795         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12796         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12797         version.
12798         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12799         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12800         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12801         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12802         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12803         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12804         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12805         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12806         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12807         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12808         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12809         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12810         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12811         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12812         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12813         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12814         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12815         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12816         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12817         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12818         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12819         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12820         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12821         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12822         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12823         (minimumSize, preferredSize, reshape): Likewise.
12824         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12825         getColorModel): New methods.
12826         * java/awt/PopupMenu.java: Merged with Classpath.
12827         * java/awt/MenuBar.java: Merged with Classpath.
12828         * java/awt/SystemColor.java: Replace with Classpath version.
12829         * java/awt/Panel.java: Merged with Classpath.
12830         * java/awt/PaintContext.java: Updated copyright.
12831         * java/awt/MenuShortcut.java: Merged with Classpath.
12832         * java/awt/MenuContainer.java: Merged with Classpath.
12833         * java/awt/Menu.java: Merged with Classpath.
12834         * java/awt/MediaEntry.java: New file from Classpath.
12835         * java/awt/MediaTracker.java: New file from Classpath.
12836         * java/awt/List.java: Merged with Classpath version.
12837         * java/awt/Insets.java: Merged with Classpath version.
12838         * java/awt/ImageMediaEntry.java: New file from Classpath.
12839         * java/awt/Image.java: Replaced with Classpath version.
12840         * java/awt/FontMetrics.java: Merged with Classpath version.
12841         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12842         constant.
12843         * java/awt/Font.java: Merged with Classpath version.
12844         * java/awt/Dialog.java: Merged with Classpath version.
12845         * java/awt/Color.java: Merged with Classpath version.
12846         * java/awt/Choice.java: Merged with Classpath version.
12847         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12848         * java/awt/Adjustable.java: Replace with Classpath version.
12849         * java/awt/MenuItem.java (paramString): Don't include class name
12850         or brackets.  Call superclass paramString.
12851         * java/awt/MenuComponent.java (toString): Call paramString.
12852         (paramString): Compute string; don't call toString.
12853         * java/awt/Label.java (paramString): Don't include class name
12854         or brackets.  Call superclass paramString.
12855         * java/awt/Checkbox.java (paramString): Don't include class name
12856         or brackets.  Call superclass paramString.
12857         * java/awt/Button.java (paramString): Don't include class name or
12858         brackets.  Call superclass paramString.
12859         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12861 2002-01-20  Andreas Schwab  <schwab@suse.de>
12863         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12864         function and of parameter recv_func to ssize_t, as specified by
12865         POSIX.
12867 2002-01-19  Per Bothner  <per@bothner.com>
12869         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12870         uncompressed_size in readiness for next entry.
12872 2002-01-18  Tom Tromey  <tromey@redhat.com>
12874         * java/net/natPlainSocketImpl.cc: Include
12875         IllegalArgumentException.h.
12876         (_Jv_recv): New template function.
12877         (BooleanClass): Removed.
12878         (read): Use _Jv_recv.
12879         (setOption): Use Boolean::class$.  Throw exception if object is
12880         not Boolean or Integer.
12882 2002-01-17  Tom Tromey  <tromey@redhat.com>
12884         * java/awt/MenuComponent.java: Merged with Classpath.
12885         * java/awt/MenuItem.java: Merged with Classpath.
12886         * java/awt/Button.java: Merged with Classpath.
12888         * java/awt/ActiveEvent.java: Updated copyright.
12890         * java/awt/AWTError.java: Replaced with Classpath version.
12891         * java/awt/AWTException.java: Replaced with Classpath version.
12892         * java/awt/IllegalComponentStateException.java: Replaced with
12893         Classpath version.
12895 2002-01-16  Tom Tromey  <tromey@redhat.com>
12897         * java/awt/Canvas.java (serialVersionUID): New constant.
12898         Updated copyright.  Added javadoc from Classpath.
12899         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12901         * java/awt/CheckboxGroup.java: Merged with Classpath.
12902         * java/awt/Checkbox.java: Merged with Classpath.
12904         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12905         Classpath.
12906         * java/awt/Point.java: Updated copyright.
12908         * java/awt/Point.java (toString): Use getClass().getName().
12909         Added javadoc.
12911         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12912         commented code.
12913         (hash): Correctly compute initial value for `h'.
12915         * java/awt/Label.java: Merged with Classpath.
12917 2002-01-15  Tom Tromey  <tromey@redhat.com>
12919         * java/awt/AWTPermission.java: Updated copyright.
12921         * java/awt/LayoutManager2.java: Merged with Classpath.
12922         * java/awt/LayoutManager.java: Merged with Classpath.
12923         * java/awt/GridLayout.java: Updated copyright and javadoc.
12924         (getSize): Use `parent.ncomponents'.  Handle insets.
12925         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12926         there are fewer children than columns.  Correctly compute size of
12927         each cell in the grid.  Handle case where there isn't enough
12928         space.
12929         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12930         all users.
12931         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12932         before calling setVisible() on it.  Last item is `num - 1', not
12933         `num'.
12934         (layoutContainer): Hoist invariants out of loop.
12936         Start of AWT merge with Classpath:
12937         * Makefile.in: Rebuilt.
12938         * Makefile.am (awt_java_source_files): Reference files in
12939         gnu/java/awt, not gnu/gcj/awt.
12940         * java/awt/image/BufferedImage.java: Updated copyright.
12941         * java/awt/image/ComponentColorModel.java: Updated copyright.
12942         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12943         * java/awt/image/DataBuffer.java: Updated copyright.
12944         * java/awt/image/DataBufferByte.java: Updated copyright.
12945         * java/awt/image/DataBufferInt.java: Updated copyright.
12946         * java/awt/image/DataBufferUShort.java: Updated copyright.
12947         * java/awt/image/IndexColorModel.java: Updated copyright.
12948         * java/awt/image/PackedColorModel.java: Updated copyright.
12949         * java/awt/image/Raster.java: Updated copyright.
12950         * java/awt/image/RasterOp.java: Updated copyright.
12951         * java/awt/image/SampleModel.java: Updated copyright.
12952         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12953         * java/awt/image/WritableRaster.java: Updated copyright.
12954         * java/awt/color/ColorSpace.java: Updated copyright.
12955         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12956         * java/awt/color/ICC_Profile.java: Updated copyright.
12957         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12958         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12959         * java/awt/event/HierarchyEvent.java: Updated copyright.
12960         * java/awt/event/HierarchyListener.java: Updated copyright.
12961         * java/awt/geom/AffineTransform.java: Updated copyright.
12962         * java/awt/geom/Dimension2D.java: Updated copyright.
12963         * java/awt/geom/Ellipse2D.java: Updated copyright.
12964         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12965         * java/awt/geom/Line2D.java: Updated copyright.
12966         * java/awt/geom/NoninvertibleTransformException.java: Updated
12967         copyright.
12968         * java/awt/geom/PathIterator.java: Updated copyright.
12969         * java/awt/geom/Point2D.java: Updated copyright.
12970         * java/awt/geom/Rectangle2D.java: Updated copyright.
12971         * java/awt/geom/RectangularShape.java: Updated copyright.
12972         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12973         * java/awt/Toolkit.java: Updated import for file moves.
12974         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12975         Classpath.
12976         (hashCode): New method from Classpath.
12977         * java/awt/Graphics2D.java: Updated copyright.
12978         * java/awt/Transparency.java: Updated copyright.
12979         * java/awt/Paint.java: Updated copyright.
12980         * java/awt/Graphics.java: New version from Classpath.
12981         * java/awt/EventDispatchThread.java: Updated copyright.
12982         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12983         children.
12984         (gotoComponent): Wrap around on next/previous.
12985         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12986         * gnu/gcj/awt/Buffers.java: Removed.
12987         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12988         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12989         * gnu/java/awt/BitMaskExtent.java: Added.
12990         * gnu/java/awt/Buffers.java: Added.
12991         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12992         * gnu/java/awt/GLightweightPeer.java: Added.
12993         * java/awt/geom/Line2D.java (clone): Ignore
12994         CloneNotSupportedException.
12995         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12996         * java/awt/Frame.java: Merged with Classpath.
12997         * java/awt/RenderingHints.java: Copyright update.
12998         * java/awt/Paint.java: Copyright update.
12999         * java/awt/image/DirectColorModel.java: Merged with Classpath.
13000         * java/awt/image/ColorModel.java: Merged with Classpath.
13001         * java/awt/Window.java (show): New Implementation from Classpath.
13002         (isShowing): Use super.isShowing().
13003         * java/awt/EventQueue.java: Merged with Classpath.
13004         * java/awt/AWTEventMulticaster.java (save): Throw
13005         RuntimeException.
13006         (saveInternal): Likewise.
13007         * java/awt/AWTEvent.java: Now implements Serializable.
13008         * java/awt/Event.java: Copyright update.
13009         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13010         * java/awt/image/BufferedImage.java: Copyright update.
13011         * java/awt/GraphicsConfiguration.java: Copyright update.
13012         * java/awt/Component.java: (addNotify): Don't call
13013         addNotifyContainerChildren().
13014         (addNotifyContainerChildren): Removed.
13015         (setPeer): New method from Classpath.
13016         (setTreeLock): Likewise.
13017         (setVisible): Rewrote.
13018         (show): Use it.
13019         (hide): Likewise.
13020         (validate): Set `valid'.
13021         (checkImage(Image,ImageObserver)): Implementation from Classpath.
13022         (createImage(ImageProducer)): Likewise.
13023         (prepareImage): Likewise.
13024         * java/awt/Container.java (addImpl): Handle case where constraint
13025         is not a String.  Post event via system event queue.
13026         (remove): Post event via system event queue.
13027         (validateTree): Only validate child if it is invalid.
13028         (getAlignmentX): Call super method as default.
13029         (getAlignmentY): Likewise.
13030         (addContainerListener): Now synchronized.
13031         (removeContainerListener): Likewise.
13032         (addNotifyContainerChildren): Now private.
13033         * java/awt/ComponentOrientation.java: Updated copyright.  Added
13034         @author.
13035         * java/awt/FlowLayout.java (serialVersionUID): New field.
13036         (setAlignment): Better exception message.
13037         (layoutContainer): Don't compute component's preferred size unless
13038         we're going to use it.
13039         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13040         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13041         (firstLine, lastLine, firstItem, lastItem): New fields.
13042         (addLayoutComponent): Handle case where constraints is null.
13043         Also, handle relative locations.
13044         (removeLayoutComponent): Handle relative locations.
13045         (MIN, MAX, PREF): New constants.
13046         (calcCompSize): New method.
13047         (calcSize): New method.
13048         (minimumLayoutSize): Use it.
13049         (preferredLayoutSize): Likewise.
13050         (maximumLayoutSize): Likewise.
13051         (toString): Include more information.
13052         (setBounds): New method.
13053         (layoutContainer): Use libgcj implementation; extended to handle
13054         relative locations.
13056 2002-01-15  Tom Tromey  <tromey@redhat.com>
13058         * java/lang/Float.java (equals): Preserve old code.
13059         * java/lang/Double.java (equals): Preserve old code.
13061 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
13063         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13064         * java/lang/Float.java (equals, compare): Ditto.
13066 2002-01-13  Mark Wielaard  <mark@klomp.org>
13068         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13069         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13070         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13071         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13073 2002-01-11  Mark Wielaard  <mark@klomp.org>
13075         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13076         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13077         InetAddress.
13078         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13079         * java/net/Socket.java: Merge with Classpath.
13080         * java/net/ServerSocket.java: Likewise.
13082 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
13084         * interpret.cc (NULLARRAYCHECK): New macro.
13085         (SAVE_PC): Just store `pc'.
13086         (find_exception): Subtract one from `pc' here.
13087         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13088         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13089         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13090         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13091         don't call SAVE_PC.
13092         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13093         call SAVE_PC.
13095 2002-01-11  Tom Tromey  <tromey@redhat.com>
13097         * java/lang/natSystem.cc (init_properties): Only look for default
13098         locale if LC_MESSAGES is defined.
13099         * aclocal.m4, configure, include/config.h.in: Rebuilt.
13100         * configure.in: Call AM_LC_MESSAGES.
13101         * acinclude.m4 (AM_LC_MESSAGES): New macro.
13103 2002-01-10  Tom Tromey  <tromey@redhat.com>
13105         For PR libgcj/5303:
13106         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13107         --version.  Recognize GNU-style long options.  Print GNU-style
13108         error messages.
13109         (usage): Print GNU-style help.  Exit with status 0.
13110         (error): New method.
13111         (run): Print error message if no class names found.
13112         (main): Don't print usage on error.
13114 2002-01-09  Tom Tromey  <tromey@redhat.com>
13116         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13117         property.
13118         (help, version): Use println(), not println("").
13120         For PR libgcj/5303:
13121         * gnu/gcj/convert/Convert.java (error): Program is called
13122         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
13123         -1.
13124         (main): Handle --help and --version.
13125         (help): New method.
13126         (version): Likewise.
13128 2002-01-08  Tom Tromey  <tromey@redhat.com>
13130         * Makefile.in: Rebuilt.
13131         * Makefile.am (ordinary_java_source_files): Added new files.
13132         * gnu/java/locale/LocaleInformation.java: Extend
13133         LocaleInformation_en.
13134         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13135         and time/date formats.
13136         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13137         generated.
13138         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13139         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13140         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13141         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13142         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13143         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13144         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13145         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13146         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13147         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13148         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13149         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13150         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13151         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13152         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13153         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13154         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13155         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13156         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13157         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13158         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13159         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13160         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13161         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13162         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13163         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13164         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13165         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13166         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13167         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13168         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13169         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13170         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13171         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13172         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13173         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13174         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13175         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13176         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13177         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13178         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13179         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13180         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13181         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13182         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13183         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13184         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13185         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13186         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13187         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13188         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13189         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13190         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13191         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13192         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13193         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13194         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13195         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13196         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13197         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13198         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13199         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13200         * gnu/java/locale/LocaleInformation_es_US.java: New file.
13201         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13202         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13203         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13204         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13205         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13206         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13207         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13208         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13209         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13210         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13211         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13212         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13213         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13214         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13215         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13216         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13217         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13218         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13219         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13220         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13221         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13222         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13223         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13224         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13225         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13226         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13227         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13228         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13229         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13230         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13231         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13232         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13233         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13234         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13235         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13236         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13237         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13238         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13239         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13240         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13241         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13242         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13243         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13244         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13245         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13246         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13247         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13248         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13249         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13250         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13251         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13252         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13253         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13254         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13255         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13256         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13257         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13258         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13259         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13260         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13261         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13262         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13263         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13264         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13265         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13266         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13267         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13269         For PR libgcj/5031:
13270         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13271         choose default locale.
13273         * Makefile.in: Rebuilt.
13274         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13276 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
13278         * java/net/natPlainSocketImpl.cc: Added timeout handling for
13279         sockets.
13280         (close): New function closes the socket.
13281         (write): New functions for output to socket.
13282         (read): New functions for reading from socket.
13283         * java/net/PlainSocketImpl.java: Glue for new timeout
13284         implementation.
13285         (write): Call the native impl.
13286         (read): Likewise.
13287         (getInputStream): Get a stream to read from the socket.
13288         (getOutputStream): Get a stream to write to the socket.
13290 2002-01-08  Tom Tromey  <tromey@redhat.com>
13292         * resolve.cc (_Jv_PrepareClass): Enable verifier.
13294 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
13296         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13297         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13299 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
13301         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13302         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13303         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13304         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13305         insn_bastore, insn_castore, insn_sastore]: Use it.
13306         (continue1) [insn_arraylength]: Check for null array.
13308 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13310         * configure, include/config.h.in: Rebuilt.
13311         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13312         * configure.in: Call AC_STRUCT_TIMEZONE.
13314 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13316         * configure.host: Disable the interpreter for Darwin.
13318 2002-01-04  Tom Tromey  <tromey@redhat.com>
13320         * java/lang/Thread.java (stop): No longer synchronized.
13321         (start): Likewise.
13323 2002-01-02  Tom Tromey  <tromey@redhat.com>
13325         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13326         patch.
13328 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
13330         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13331         PPC Darwin, not for all of Darwin.