OSDN Git Service

2003-12-18 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-18  Michael Koch  <konqueror@gmx.de>
2
3         * java/util/prefs/AbstractPreferences.java
4         (cachedChildren): New method.
5
6 2003-12-18  Michael Koch  <konqueror@gmx.de>
7
8         * java/util/TimeZone.java (getOffset): New method.
9
10 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
11  
12         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
13         of ActionEvents for mouse double-clicks.
14
15 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
16
17         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
18         null Graphics pointer returned by FileDialogPeer.
19
20 2003-12-17  Michael Koch  <konqueror@gmx.de>
21
22         * libltdl/stamp-h.in: Removed, not used anymore.
23
24 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
25
26         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
27         Removed unused InterruptedIOException.h include.
28         * gnu/java/net/natPlainSocketImplWin32.cc
29         (connect): Reset and ignore our thread's interrupted
30         flag instead of testing and throwing an InterruptedIOException
31         if set.
32         (accept): Likewise + changed case of SocketTimeoutException
33         text.
34         (write): Likewise (for both overloads).
35         (doRead): Likewise.
36
37 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
38
39         * win32.cc (WSAEventWrapper): Implemented default
40         constructor and init() methods.
41         (_Jv_select): Removed.
42         * gnu/java/nio/natSelectorImplWin32.cc
43         (helper_put_filedescriptors): Removed.
44         (helper_get_filedescriptors): Removed.
45         (implSelect): Implemented in terms of WSAEventWrapper
46         and WSAWaitForMultipleEvents instead of _Jv_select().
47         Added support for thread interruption.
48         * include/win32.h (WSAEventWrapper): Minor formatting
49         changes; added default constructor declaration, init(),
50         getFD() and getEventHandle() methods.
51         (_Jv_select): Removed.
52
53 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
54
55         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
56         (peekData): Throw SocketTimeoutException instead of
57         InterruptedIOException on timeout.
58         (receive): Likewise.
59         * gnu/java/net/natPlainSocketImplPosix.cc
60         (read): Made a minor exception text case change.
61
62 2003-12-16  Michael Koch  <konqueror@gmx.de>
63
64         Fix for PR libgcj/13056.
65         * libltdl/configure.in,
66         libltdl/config.h.in: Removed.
67         * libltdl/configure.ac,
68         libltdl/config-h.in,
69         libltdl/install-sh,
70         libltdl/config.guess,
71         libltdl/config.sub,
72         libltdl/missing,
73         libltdl/mkinstalldirs,
74         libltdl/ltmain.sh: New files.
75         * libltdl/Makefile.am,
76         libltdl/acinclude.m4,
77         libltdl/aclocal.m4,
78         libltdl/ltdl.c,
79         libltdl/ltdl.h,
80         libltdl/README: Update to versions from libtool 1.5.
81         libltdl/configure,
82         * libltdl/Makefile.in: Regenerated.
83         * java/lang/natRuntime.cc (find_symbol):
84         Use type 'lt_ptr' instead of 'lt_ptr_t'.
85
86 2003-12-16  Michael Koch  <konqueror@gmx.de>
87
88         * java/awt/MenuComponent.java
89         (serialVersionUID): Fixed value.
90
91 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
92
93         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
94         (pre_event_handler): Handle GtkButton widgets differently as events
95         go to its event_window.
96         (connect_awt_hook): Remove compiler warning.
97
98 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
99
100         * java/io/ObjectInputStream.java
101         (lookupClass): New method.
102         (currentLoader): New method.
103         (inputGetObjectStreamClasses): New method.
104         (assignNewHandle): Documented.
105         (currentClassLoader): Documented.
106         * java/io/ObjectStreamClass.java
107         (setClass): Changed API. Better handling of the imported/exported
108         fields.
109         (getSerialPersistentFields): Make it throw previously caught exceptions
110         so they can handled in setClass.
111
112 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
113  
114         * java/io/ObjectStreamField.java: A few methods were added in prevision
115         of the upcoming upgrade of the serialization code. This also adds
116         some missing documentation.
117         (ObjectStreamField): We should throw a NullPointerException when 'name'
118         is null.
119
120  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
121   
122         * java/io/ObjectInputStream.java (setBooleanField):
123         Throw an InvalidClassException if the field hasn't the required type,
124         documentation added.
125         (setByteField) Likewise.
126         (setCharField) Likewise.
127         (setDoubleField) Likewise.
128         (setFloatField) Likewise.
129         (setIntField) Likewise.
130         (setShortField) Likewise.
131         (setLongField) Likewise.
132         (setObjectField) Likewise.
133
134 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
135            Helmer Kraemer <hkraemer@freenet.de>
136  
137         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
138         Splitted the method so we can specify an explicit boot loader.
139
140 2003-12-15  Graydon Hoare  <graydon@redhat.com>
141
142         * jni/gtk-peer/gdkfont.h: New file.
143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
144         include of cairo-xlib.h, add extra gdk_flush().
145
146 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
147
148         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
149         native state table -- native_global_ref_table.
150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
151         native_global_ref_table pointer.
152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
153         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
154         global reference is deleted and memory allocated for pointer freed.
155         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
156         JNI global reference instead of JNI local reference.
157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
158         (pre_event_handler): Remove compilation warning.
159         (connect_awt_hook): Use saved JNI global reference instead of creating
160         a new one.
161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
162         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
163         reference to the Java object.
164         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
165         unused variable declaration and add comment.
166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
167         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
168         reference to the Java object.
169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
170         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
172         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
173         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
174         JNI global reference instead of JNI local reference.
175         (item_toggled): Add debug statement.
176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
177         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
178         reference to the Java object.
179         (connect_choice_item_selectable_hook): Use saved JNI global references
180         instead of JNI local reference.
181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
182         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
183         global reference to the Java object.
184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
185         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
186         reference to the Java object.
187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
188         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
190         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
192         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
194         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
196         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
198         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
200         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
201         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
202         JNI global reference instead of JNI local reference.
203         (item_selected): Add debug statement.
204         (item_unselected): Add debug statement.
205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
206         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
207         reference to the Java object.
208         Connect "activate" signal handler using global JNI reference.
209         (connect_activate_hook): Removed in favor of inline code.
210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
211         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
212         reference to the Java object.
213         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
214         JNI global reference instead of JNI local reference.  Add FIXME comment.
215         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
216         reference to the Java object.  Add FIXME comment.
217         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
218         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
219         reference to the Java object.
220         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
221         JNI global reference instead of JNI local reference.
222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
223         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
224         saved JNI global reference instead of JNI local reference.
225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
226         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
227         reference to the Java object.
228         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
229         JNI global reference instead of JNI local reference.
230
231 2003-12-11  Michael Koch  <konqueror@gmx.de>
232
233         * java/text/Format.java (serialVersionUID): Fixed value.
234
235 2003-12-11  Michael Koch  <konqueror@gmx.de>
236
237         * javax/naming/event/EventDirContext.java: Jalopied.
238         (addNamingListener): Fixed typo in method name.
239         
240
241 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
242
243         * gnu/java/nio/SocketChannelImpl.java
244         (write): Removed diagnostic trace.
245         * gnu/java/nio/natSelectorImplPosix.cc: Added
246         includes for java.lang.Thread and java.io.InterruptedIOException.
247         (helper_put_filedescriptors): Don't put invalid file descriptors
248         in select set.
249         (helper_get_filedescriptors): Clear invalid file descriptors
250         from select set.
251         (helper_reset): New method for clearing our file descriptor
252         array.
253         (implSelect): Correctly calculate timeout if specified and
254         legal.
255         Intercept and deal with any java.io.InterruptedIOException
256         thrown by _Jv_select().
257
258 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
259
260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
261         Most coded moved to pre_event_handler, with the modifications
262         mentioned below.
263         (pre_event_handler): New function.  Called on the Gtk "event" signal.
264         Do not retrieve the jobject from the window property as it is already
265         available as user data in the signal.
266         Do not try and find the grab widget as it is already done by Gtk at
267         this point.
268         Do not search for Window ancestor as Gtk already sends the signal to it.
269         Do not meddle with the activation state of peer widgets on each
270         key press or release.
271         Add CList to the special handling when looking for the focused widget.
272         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
274         New function.
275         (connectSignals): New function.
276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
277         Rename to...
278         (connectSignals): New name.  Get rid of NewGlobalRef call.
279         Use g_signal_connect instead of deprecated gtk_signal_connect.
280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
281         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
282         deprecated gtk_signal_connect.
283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
286         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
288         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
289         function.
290         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
291         function.
292         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
293         function.
294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
295         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
296         function.
297         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
298         function.
299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
300         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
301         function.
302         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
303         function.
304         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
305         function.
306         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
307         code.
308         (item_select): Remove indirection.
309         (item_unselect): Ditto.
310         (connect_selectable_hook): Folded into connectSignals.
311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
312         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
313         function.
314         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
315         function.
316         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
317         function.
318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
321         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
322         function.
323         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
324         function.
325         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
326         connectJObject and connectSignals instead of connectHooks.
327         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
328         connectSignals.
329         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
330         and not connectHooks.
331         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
332         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
333         and not connectHooks.
334         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
335         connectSignals instead of connectHooks.
336         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
337         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
338         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
339
340 2003-12-09  Michael Koch  <konqueror@gmx.de>
341
342         * Makefile.am (nat_headers_install): New variable with header files to
343         install automatically.
344         (install-data-local): Install all headers listed in
345         nat_headers_install. Install innert nat headers explicitely.
346         * Makefile.in: Regenerated.
347
348 2003-12-09  Michael Koch  <konqueror@gmx.de>
349
350         * java/util/Calendar.java,
351         java/util/IdentityHashMap.java,
352         java/util/prefs/Preferences.java:
353         Import used classes explicitely.
354
355 2003-12-09  Michael Koch  <konqueror@gmx.de>
356
357         * java/net/DatagramSocket.java
358         (close): Directly return if socket is closed.
359         * java/net/ServerSocket.java
360         (close): Directly return if socket is closed.
361         * java/net/Socket.java
362         (close): Directly return if socket is closed.
363
364 2003-12-09  Michael Koch  <konqueror@gmx.de>
365
366         * gnu/java/nio/SelectorImpl.java
367         (implSelect): Throws IOException.
368         (select): Likewise.
369
370 2003-12-08  Kim Ho  <kho@redhat.com>
371
372         Fix for Checkbox states.
373         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
374         (currentState): New field.
375         (nativeCreate): Add initial state parameter.
376         (create): Changed to reflect new parameter.
377         (setState): Fire only on changed states.
378         (postItemEvent): Fire only on changed states. Also change the 
379         Java Checkbox to reflect new state.
380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
381         (nativeCreate): Add parameter and set active state.
382
383 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
384  
385         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
386         object of type expected by specified DataFlavor.
387
388 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
389  
390         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
391         error which was clipping off the first character of a parameter value.
392
393 2003-12-08  Olga Rodimina <rodimina@redhat.com>
394
395         * java/awt/Polygon.java
396         (translate): Fixed error that caused polygon 
397         to move right/left when up/down translation was required.
398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
399         (getSelectionStart): Initialized start position to 0. 
400         (getSelectionEnd): Initialized end position to 0.
401         (getCaretPosition): Initialized caret position to 0.
402         (getText): Initialized selected text to NULL 
403
404 2003-12-08  Michael Koch  <konqueror@gmx.de>
405
406         Fix for PR libgcj/13176.
407         * java/io/PrintStream.java: Partly revert my previous patches to get
408         (line_separator): New field.
409         (converter): New field.
410         (work): New field.
411         (work_bytes): New field.
412         (pw): Removed.
413         (closed): Removed.
414         (PrintStrean): Initialize converter and not pw.
415         (checkError): Flush always, pw doesn't exist anymore.
416         (close): Close underlying out stream.
417         (print): New method.
418         (writeChars): New method.
419         (print): Use new internal print method.
420         (println): Likewise.
421
422 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
423
424         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
425         putAllInternal.
426         (putAllInternal): Correct comment.
427         * java/util/HashMap.java (HashMap(Map)): As above.
428         (putAllInternal): As above.
429
430 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
431
432         * java/util/Hashtable.java (internalContainsValue): Removed.
433         (containsValue): Don't delegate to internalContainsValue.
434
435 2003-12-06  Michael Koch  <konqueror@gmx.de>
436
437         * javax/naming/directory/Attribute.java,
438         javax/naming/directory/Attributes.java,
439         javax/naming/directory/DirContext.java,
440         javax/naming/directory/InitialDirContext.java,
441         javax/naming/directory/SearchResult.java,
442         javax/naming/event/EventContext.java,
443         javax/naming/event/NamingEvent.java,
444         javax/naming/event/NamingExceptionEvent.java,
445         javax/naming/ldap/ControlFactory.java,
446         javax/naming/ldap/ExtendedRequest.java,
447         javax/naming/ldap/HasControls.java,
448         javax/naming/ldap/InitialLdapContext.java,
449         javax/naming/ldap/LdapContext.java,
450         javax/naming/ldap/LdapReferralException.java,
451         javax/naming/ldap/UnsolicitedNotification.java,
452         javax/naming/ldap/UnsolicitedNotificationListener.java,
453         javax/naming/spi/DirObjectFactory.java,
454         javax/naming/spi/DirStateFactory.java,
455         javax/naming/spi/DirectoryManager.java,
456         javax/naming/spi/NamingManager.java,
457         javax/naming/spi/ObjectFactoryBuilder.java,
458         javax/naming/spi/ResolveResult.java,
459         javax/naming/spi/Resolver.java,
460         javax/naming/spi/StateFactory.java:
461         Import used classes explicitely.
462
463 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
464
465         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
466         (clip): Removed field
467         (clipRectangles): New field.
468         (clone): Use new updateClip.
469         (setClipRectangles): Use new updateClip.
470         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
471
472 2003-12-04  Michael Koch  <konqueror@gmx.de>
473
474         * java/io/FilePermission.java:
475         Import used classes explicitely.
476
477 2003-12-04  Michael Koch  <konqueror@gmx.de>
478
479         * java/beans/BeanDescriptor.java,
480         java/beans/EventSetDescriptor.java,
481         java/beans/FeatureDescriptor.java,
482         java/beans/IndexedPropertyDescriptor.java,
483         java/beans/Introspector.java,
484         java/beans/MethodDescriptor.java,
485         java/beans/PropertyDescriptor.java,
486         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
487         * java/beans/beancontext/BeanContextServicesSupport.java
488         (serialVersionUID): New field.
489
490 2003-12-04  Michael Koch  <konqueror@gmx.de>
491
492         * java/awt/MenuComponent.java: Import java.io.Serialization.
493         * java/awt/MenuItem.java: Likewise.
494         * java/awt/TextComponent.java: Likewise.
495         * java/awt/image/ImagingOpException.java
496         (serialVersionUID): Fixed.
497
498 2003-12-04  Michael Koch  <konqueror@gmx.de>
499
500         * gnu/java/net/protocol/http/Connection.java
501         (sendRequest): Merged writing http headers with classpath.
502         (getInputStream): Merged documentation from classpath.
503         (getHeaderField): Likewise.
504         (getHeaderFieldKey): Likewise.
505
506 2003-12-04  Michael Koch  <konqueror@gmx.de>
507
508         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
509
510 2003-12-04  Michael Koch  <konqueror@gmx.de>
511
512         * java/net/DatagramPacket.java
513         (length): Made packge-private to make it accessible via CNI.
514         (maxlen): New field.
515         (DatagramPacket): Cleaned up.
516         (setSocketAddress): Add message to exception.
517         (setData): Call other setData().
518         (setData): Call setLength().
519         (setLength): Initialize maxlen too.
520         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
521         Get maximal length from maxlen field, set length field directly.
522         (receive): Likewise.
523         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
524         Get maximal length from maxlen field, set length field directly.
525         (receive): Likewise.
526
527 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
528
529         * gnu/java/nio/natSelectorImplPosix.cc
530         (implSelect): A timeout of 0 means an infinite
531         timeout.
532
533 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
534  
535         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
536         of ActionEvents.
537
538 2003-12-03  Michael Koch  <konqueror@gmx.de>
539
540         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
541         * java/lang/natClass.cc (getSigners): Likewise.
542         (setSigners): Likewise.
543
544 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
545
546         * configure.in: Added new MinGW-specific configure flag
547         --with-win32-nlsapi.
548         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
549         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
550         is set to unicows.
551         * configure: Rebuilt.
552         * include/config.h.in: Rebuilt.
553         * win32.cc (_Jv_Win32NewString): Implemented.
554         (nativeToUnicode): New helper function defined only for
555         non-UNICODE builds.
556         (unicodeToNative): Likewise.
557         (_Jv_Win32TempString): Implemented.
558         (lots): Refactored using tchar.h macros.
559         (WSAEventWrapper): Use _Jv_Win32NewString.
560         (_Jv_platform_initialize): Use GetModuleFileNameA instead
561         of GetModuleFileName.
562         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
563         Use temporary stack buffer instead of a heap buffer.
564         * include/win32.h
565         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
566         defined; added tchar.h include.
567         (_Jv_Win32TempString): Declared new helper class.
568         (JV_TEMP_STRING_WIN32): New helper macro.
569         (_Jv_Win32NewString): Declared new helper method.
570         * java/io/natFileDescriptorWin32.cc (open): Use
571         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
572         (write): Reformatted slightly.
573         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
574         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
575         (getCanonicalPath): Use _Jv_Win32NewString instead of
576         JvNewStringUTF.
577         (performList): Likewise.
578         * java/lang/natWin32Process.cc (ChildProcessPipe):
579         Use tchar.h macros.
580         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
581         and UNICODE environment flag for CreateProcess.
582         * java/net/natNetworkInterfaceWin32.cc
583         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
584         _Jv_Win32NewString.
585
586 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
587
588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
589         (initState): Mark obj parameter as unused.
590         (stringWidth): Mark obj parameter as unused.  Initialize
591         font_name properly.
592
593         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
594         BufferedImageBuilder class static.
595
596 2003-12-02  Mark Wielaard  <mark@klomp.org>
597
598         * java/security/Security.java: Don't use &nbsp; in the api doc.
599
600 2003-12-02  Dalibor Topic <robilad@kaffe.org>
601
602         Reported by: Jim Pick <jim@kaffe.org>
603         * libraries/javalib/java/util/Hashtable.java
604         (internalcontainsValue): New method.
605         (contains): Delegate to internalContainsValue.
606         
607         Reported by: Mark Wielaard  <mark@klomp.org>
608         * libraries/javalib/java/util/Hashtable.java
609         (contains): Improved comment.
610         
611         Reported by: Jeroen Frijters  <jeroen@frijters.net>
612         * libraries/javalib/java/util/Hashtable.java
613         (containsValue): Delegate to contains(Object) to make sure older
614         code overwriting it continues to work.
615
616 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
617
618         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
619         method. Handle mouse and key events that must generate
620         ActionEvents.
621         * java/awt/List.java (getSelectedIndex): Return -1
622         if no list element is selected.
623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
624         Correct handling of mouse and key events so that List receives them.
625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
626         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
627         multiple list elements. 
628
629 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
630
631         * java/text/SimpleDateFormat.java (compileFormat):
632         isLowerCase() and isUpperCase() allow too many characters.
633         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
634
635 2003-12-02  Dalibor Topic <robilad@kaffe.org>
636
637         * java/text/FieldPosition.java (equals): Fixed comment.
638
639 2003-12-02  Mark Wielaard  <mark@klomp.org>
640
641         Reported by Archie Cobbs:
642         * java/security/DigestInputStream.java (read(byte[], int, int): Call
643         digest.update() with temp, not len as lenght.
644
645 2003-12-02  Michael Koch  <konqueror@gmx.de>
646
647         * java/net/DatagramSocket.java
648         (close): Close associated DatagramChannel object.
649         * java/net/ServerSocket.java
650         * java/net/Socket.java
651         (close): Reset impl and bound before calling getChannel().close() to
652         prevent from loops.
653
654 2003-12-02  Michael Koch  <konqueror@gmx.de>
655
656         * java/nio/channels/spi/AbstractInterruptibleChannel.java
657         (opened): Removed.
658         (closed): New field.
659         (close): Check of channel is closed already.
660         (isOpen): Return !closed.
661
662 2003-12-02  Michael Koch  <konqueror@gmx.de>
663
664         * gnu/java/nio/DatagramChannelImpl.java
665         (blocking): Initialize with true by default.
666         * gnu/java/nio/ServerSocketChannelImpl.java
667         (serverSocket): Made private.
668         (blocking): Likewise.
669         (connected): Likewise.
670         * gnu/java/nio/SocketChannelImpl.java
671         (connectionPending): Made private.
672         * gnu/java/nio/FileLockImpl.java
673         (static): Load native library (needed for classpath).
674         * gnu/java/nio/SelectorImpl.java
675         (static): Load native library (needed for classpath).
676
677 2003-12-02  Michael Koch  <konqueror@gmx.de>
678
679         * gnu/java/net/protocol/file/Connection.java
680         (getLastModified): Implement for file connections.
681         (getContentLength): Likewise.
682
683 2003-12-02  Michael Koch  <konqueror@gmx.de>
684
685         * gnu/java/net/protocol/file/Connection.java:
686         Some reformating.
687         (file): Renamed from fileIn.
688         (getPermission): Moved around.
689
690 2003-12-02  Michael Koch  <konqueror@gmx.de>
691
692         * gnu/java/net/protocol/jar/Connection.java
693         (Connection): Made class final, merged documentation with classpath.
694         (file_cache): Made private.
695         (jar_file): Renamed from jarfile.
696
697 2003-12-02  Michael Koch  <konqueror@gmx.de>
698
699         * gnu/java/net/protocol/http/Connection.java
700         (Connection): Initialize doOutput to false;
701         (connect): Initialize inputStream, moved "send request" code to new
702         method.
703         (sendRequest): New method.
704         (getHttpHeaders): Don't reinitialize inputStream.
705
706 2003-12-02  Michael Koch  <konqueror@gmx.de>
707
708         * gnu/java/net/protocol//http/Connection.java
709         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
710         (requestProperties): Initialize, documentation added.
711         (inputStream): Renamed from bufferedIn.
712         (Connection): Dont initialize requestProperties.
713         (setDefaultRequestProperty): Removed.
714         (getDefaultRequestProperty): Removed.
715         (usingProxy): Documentation added.
716         (getHttpHeaders): Likewise.
717
718 2003-12-02  Michael Koch  <konqueror@gmx.de>
719
720         * java/text/DateFormat.java:
721         Explicitely import used classes.
722
723 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
724
725         * verify.cc (state::clean_subrs): Clear seen_subrs.
726         (state::copy): Walk seen_subrs from copy, not `this'.
727         Don't clear seen_subrs.
728
729 2003-12-01  Kim Ho <kho@redhat.com>
730
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
732         Disable wrapping if TextArea has horizontal scroll bars.
733
734 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
735
736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
737         (awt_event_handler): Hard-code inset values.
738
739         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
740         Pass font name, not XLFD, to initState.
741         (stringWidth(String, int, String)): New method.
742         (stringWidth(String)): Call new stringWidth.
743         (getLeading): Always return 0.
744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
745         (initState): New Pango implementation.
746         (stringWidth): Likewise.
747
748 2003-12-01  Olga Rodimina <rodimina@redhat.com>
749
750         * java/awt/TextComponent.java:
751         (getSelectionStart): Updated javadocs.
752         (getSelectionEnd): Ditto.
753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
754         (getSelectionStart): Changed to return caret position if no
755         text is selected
756         (getSelectionEnd): Ditto.
757
758 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
759
760         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
761         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
762         gnu/awt/gtk/GtkContainerPeer.java,
763         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
764         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
765         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
766         gnu/awt/gtk/natGtkComponentPeer.cc,
767         gnu/awt/gtk/natGtkContainerPeer.cc,
768         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
769         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
770         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
771
772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
773         (closed): Mark loader parameter as unused.
774
775 2003-12-01  Michael Koch  <konqueror@gmx.de>
776
777         * gnu/java/net/protocol/http/Connection.java
778         (Connection): Merged class documentation.
779         (socket): Renamed from sock.
780         (Connection): Made protected, documentation added.
781         (connect): Give URL'S host instead of InetAddress to Socket
782         constructor.
783         (disconnect): Documentation added.
784         (getOutputStream): Rewrapped.
785
786 2003-12-01  Michael Koch  <konqueror@gmx.de>
787
788         * gnu/java/net/protocol/file/Connection.java
789         (fileIn): Documentation added.
790         (inputStream): Likewise.
791         (outputStream): Likewise.
792         (Connection): Likewise.
793         (connect): Simplified.
794
795 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
796
797         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
798         setProperties): Check that io is not null before calling
799         io.imageUpdate.
800         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
801         Update javadocs.
802         * java/awt/image/PixelGrabber.java: Fix implementation and
803         update javadocs.
804
805 2003-12-01  Michael Koch  <konqueror@gmx.de>
806
807         * gnu/java/net/natPlainSocketImplPosix.cc
808         bind(): Dont set SockedImpl.address field on succesful bind.
809         * gnu/java/net/natPlainSocketImplWin32.cc
810         bind(): Likewise.
811
812 2003-11-30  Jeff Sturm <jsturm@one-point.com>
813
814         * java/net/InetAddress.java:
815         (static): Don'f force DNS request for ANY_IF address.
816
817 2003-11-30  Michael Koch  <konqueror@gmx.de>
818
819         * java/net/InetAddress.java,
820         java/net/natInetAddressNoNet.cc,
821         java/net/natInetAddressPosix.cc,
822         java/net/natInetAddressWin32.cc:
823         Reverted my last patch.
824
825 2003-11-28  Michael Koch  <konqueror@gmx.de>
826
827         * java/net/InetAddress.java
828         (lookup): New method that doesnt lookup "0.0.0.0".
829         (ImplLookup): Renamed from lookup.
830         * java/net/natInetAddressNoNet.cc
831         (ImplLookup): Renamed from lookup.
832         * java/net/natInetAddressPosix.cc
833         (ImplLookup): Renamed from lookup.
834         * java/net/natInetAddressWin32.cc
835         (ImplLookup): Renamed from lookup.
836
837 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
838
839         * configure: Rebuilt.
840         * configure.in: Require gtk and glib 2.2.0.
841
842 2003-11-27  Dalibor Topic <robilad@kaffe.org>
843
844         * java/text/FieldPosition.java (equals): Adapted to handle
845         field_attribute. Added fast-circuit check for comparison to self.
846         Replaced use of instanceof by getClass to fix symmetry for derived
847         types.
848         (toString): Adapted to handle field_attribute. Improved readability.
849         (hashCode): New method.
850
851 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
852
853         * java/text/FieldPosition.java (field_attribute): New field.
854         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
855         getFieldAttribute): New methods.
856
857 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
858
859         * java/text/DecimalFormatSymbols.java (locale): New field.
860         (DecimalFormatSymbols (Locale)): Set locale.
861         (serialVersionOnStream): Upgraded to number 2.
862         (readObject): Assign locale if it wasn't by the serializer.
863
864 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
865
866         * java/text/FormatCharacterIterator.java: Documented the class and
867
868 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
869
870         * java/text/FormatCharacterIterator.java: Fixed some typos.
871
872 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
873
874         * java/text/NumberFormat.java:
875         (getIntegerInstance) Added the java version in the comments.
876
877 2003-11-27  Mark Wielaard  <mark@klomp.org>
878
879         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
880         (readResolve): Reformat.
881
882 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
883
884         * java/text/NumberFormat.java
885         (NumberFormat.Field): New implemented class to match Java 1.4. 
886         (getIntegerInstance): Two new Java 1.4 methods.o
887
888 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
889
890         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
891         the leap day of the leap year twice.
892         (computeFields): First week of month is 1 not 0.
893
894 2003-11-27  Mark Wielaard  <mark@klomp.org>
895
896         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
897         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
898
899 2003-11-27  Michael Koch  <konqueror@gmx.de>
900
901         * javax/swing/UIDefaults.java:
902         Reformated to match classpath's version.
903
904 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
905
906         * javax/swing/UIManager.java (getDefaults, getDimension,
907         getIcon, getInsets, getInstalledLookAndFeels, getInt,
908         getLookAndFeel, getString, getSystemLookAndFeelClassName):
909         Declare as public.
910
911 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
912
913         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
914         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
915         isSignificant): Likewise.
916
917 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
918
919         * javax/swing/undo/CompoundEdit.java: Re-format, document.
920         (inProgress): Set initial value to true.
921         (undo, redo, die, canUndo, canRedo): Also call inherited
922         implementation; simplify code structure.
923         (getPresentationName, getUndoPresentationName,
924         getRedoPresentationName): Make behavior dependent on lastEdit.
925         (addEdit, isSignificant): Completely re-written.
926
927 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
928
929         * javax/swing/undo/StateEdit.java: Re-format, document.
930         (undo, redo): Also call inherited implementation.
931
932 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
933
934         * javax/swing/undo/StateEditable.java: Re-format, document.
935
936 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
937
938         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
939         (AbstractUndoableEdit): Initialize hasBeenDone to true.
940         (canUndo, canRedo): Simplify.
941         (getUndoPresentationName, getRedoPresentationName): Support
942         localized message; call getPresentationName() only once.
943
944 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
945
946         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
947         (ZipFile(File,int)): Likewise.
948
949 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
950
951         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
952         (putAllInternal): Likewise.
953         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
954         (putAllInternal): Likewise.
955
956 2003-11-26  Michael Koch  <konqueror@gmx.de>
957
958         * java/net/URLStreamHandler.java
959         (parseURL): Added comment in catch statement.
960         (canonicalizeFilename): Add documentation.
961         (sameURL): Completed documentation.
962         (equals): Likewise.
963         (hostsEqual): Likewise.
964         (getDefaulPort): Likewise.
965         (hashCode): Likewise.
966         (toExternalForm): Likewise.
967         (getHostName): Fix empty hostname check, completed documentation.
968
969 2003-11-26  Tom Tromey  <tromey@redhat.com>
970
971         * java/lang/natDouble.cc (parseDouble): Reverted patch of
972         2003-11-13.
973
974 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
975             Mark Wielaard  <mark@klomp.org>
976
977         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
978         ('@' should be checked to distinguish port from userinfo).
979         (toExternalForm): Add @ userInfo if necessary.
980
981
982 2003-11-26  Michael Koch  <konqueror@gmx.de>
983
984         * java/net/DatagramSocket.java
985         (DategramSocket, bind): Moved binding code from DatagramSocket
986         constructor to bind method.
987
988 2003-11-26  Michael Koch  <konqueror@gmx.de>
989
990         * java/net/DatagramSocket.java
991         (impl): Made private.
992         (bound): New private member variable.
993         (DatagramSocket): Fixed documentation, use getImpl().
994         (getImpl): New package-private method.
995         (isClosed): Use getImpl().
996         (getLocalAddress): Completed documentation, use getImpl().
997         (getLocalPort): Use getImpl().
998         (getSoTimeout): Likewise.
999         (setSoTimeout): Likewise.
1000         (getSendBufferSize): Likewise.
1001         (setSendBufferSize): Likewise.
1002         (getReceiveBufferSize): Likewise.
1003         (setReceiveBufferSize): Likewise.
1004         (connect): Likewise.
1005         (disconnect): Likewise.
1006         (receive): Likewise.
1007         (send): Likewise.
1008         (setReuseAddress): Likewise.
1009         (setTrafficClass): Likewise.
1010         (bind): Added message to exception.
1011         (isClosed): Completed documentation.
1012         (getChannel): Likewise.
1013         (connect): Added missing exception, refined exception message.
1014         (isBound): Completed documentation, just return bound.
1015         (isConnected): Completed documentation.
1016         (getRemoteSocketAddress): Likewise.
1017         (getReuseAddress): Completed documentation, use getImpl().
1018         (setSoBroadcast): Likewise.
1019         (getSoBroadcast): Likewise.
1020         (getTrafficClass): Likewise.
1021         (getLocalSocketAddress): Simplified.
1022         * java/net/MulticastSocket.java
1023         (MulticastSocket): Removed comment not applying anymore.
1024         (getInterface): Use getImpl().
1025         (getTTL): Likewise.
1026         (getTimeToLive): Likewise.
1027         (setInterface): Likewise.
1028         (setNetworkInterface): Likewise.
1029         (getNetworkInterface): Likewise.
1030         (setLoopback): Likewise.
1031         (getLoopback): Likewise.
1032         (setTTL): Likewise.
1033         (setTimeToLive): Likewise.
1034         (joinGroup): Likewise.
1035         (leaveGroup): Likewise.
1036         (send): Likewise.
1037
1038 2003-11-26  Michael Koch  <konqueror@gmx.de>
1039
1040         * java/net/Socket.java
1041         (implCreated): Dont set default value explicitely, added
1042         documentation.
1043         (inputShutdown): Likewise.
1044         (outputShutdown): Likewise.
1045         (bound): New private member variable.
1046         (bind): Set bound to true.
1047         (close): Set bound to false.
1048         (isBound): Return bound.
1049         * java/net/ServerSocket.java
1050         (bound): New private member variable.
1051         (bind): Set bound to true.
1052         (close): Set bound to false.
1053         (isBound): Return bound.
1054
1055 2003-11-26  Michael Koch  <konqueror@gmx.de>
1056
1057         * java/net/URL.java
1058         (URL): Fixed documentation to be HTML compliant.
1059         (getContent): Completed documentation.
1060         (getFile): Likewise.
1061         (getPath): Likewise.
1062         (getAuthority): Likewise.
1063         (getHost): Likewise.
1064         (getDefaultPort): Likewise.
1065         (getProtocol): Likewise.
1066         (hashCode): Likewise.
1067         (openConnection): Likewise.
1068         (openStream): Likewise.
1069         (set): Likewise.
1070         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1071
1072 2003-11-26  Michael Koch  <konqueror@gmx.de>
1073
1074         * java/net/InetSocketAddress.java
1075         (hostname): Made private, added documentation.
1076         (addr): Likewise.
1077         (port): Likewise.
1078         (equals): Completed documentation.
1079         (getAddress): Likewise.
1080         (getHostName): Likewise.
1081         (getPort): Likewise.
1082         (hashCode): Likewise.
1083         (isUnresolved): Likewise.
1084         (toString): Likewise.
1085
1086 2003-11-26  Michael Koch  <konqueror@gmx.de>
1087
1088         * gnu/java/net/protocol/file/Handler.java
1089         (Handler): New explicit constructor.
1090         (openConnection): Added documentation.
1091         * gnu/java/net/protocol/jar/Handler.java
1092         (Handler): New explicit constructor.
1093         (openConnection): Added documentation.
1094
1095 2003-11-26  Michael Koch  <konqueror@gmx.de>
1096
1097         * java/net/DatagramPacket.java
1098         (DatagramPacket): Fixed documentation to become legal HTML.
1099
1100 2003-11-25  Michael Koch  <konqueror@gmx.de>
1101
1102         * gcj/javaprims.h: Added missing java.util.Currency.
1103
1104 2003-11-25  Michael Koch  <konqueror@gmx.de>
1105
1106         * testsuite/libjava.mauve/xfails:
1107         Removed these two tests, they mystically pass now:
1108         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1109         test_params failed - 5getInetAddress did not return proper values
1110         (number 1)
1111         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1112         test_BasicServer failed - 11 exception was thrown :Illegal seek
1113         (number 1)
1114
1115 2003-11-25  Michael Koch  <konqueror@gmx.de>
1116
1117         * java/net/DatagramSocket.java
1118         (factory): Made private.
1119         (closed): Removed.
1120         (DatagramSocket): Check impl argument, use constructor with
1121         SocketAddress argument.
1122         (close): Set impl to null, use isClosed().
1123         (isClosed): Check for impl == null.
1124         (getLocalAddress): Use isClosed().
1125         (getLocalPort): Check if socket is closed.
1126         (getSoTimeout): Likewise.
1127         (setSoTimeout): Likewise.
1128         (getSendBufferSize): Likewise.
1129         (setSendBufferSize): Likewise.
1130         (getReceiveBufferSize): Likewise.
1131         (setReceiveBufferSize): Likewise.
1132         (receive): Likewise.
1133         (send): Likewise.
1134         (bind): Likewise.
1135         (connect): Likewise.
1136         (setReuseAddress): Likewise.
1137         (getReuseAddress): Likewise.
1138         (setBroadcast): Likewise.
1139         (getBroadcast): Likewise.
1140         (setTrafficClass): Likewise.
1141         (getTrafficClass): Likewise.
1142         * java/net/MulticastSocket.java
1143         (getInterface): Check if socket is closed.
1144         (getTTL): Likewise.
1145         (getTimeToLive): Likewise.
1146         (setInterface): Likewise.
1147         (setNetworkInterface): Likewise.
1148         (getNetworkInterface): Likewise.
1149         (setLoopbackMode): Likewise.
1150         (setTTL): Likewise.
1151         (setTimeToLive): Likewise.
1152         (joinGroup): Likewise.
1153         (leaveGroup): Likewise.
1154         (send): Likewise.
1155         * java/net/ServerSocket.java
1156         (closed): Removed.
1157         (close): Check if socket is closed, set impl to null.
1158         (isClosed): Check impl == null;
1159         (ServerSocket): Check impl argument.
1160         (getInetAddress): Check if socket is bound.
1161         (getLocalPort): Likewise.
1162         (getLocalSocketAddress): Likewise.
1163         (bind): Check if socket is closed.
1164         (implAccept): Likewise.
1165         (setSoTimeout): Likewise.
1166         (getSoTimeout): Likewise.
1167         (setReuseAddress): Likewise.
1168         (getReuseAddress): Likewise.
1169         (setReceiveBufferSize): Likewise.
1170         (getReceiveBufferSize): Likewise.
1171         (toString): Make output compliant to JDK 1.4.2.
1172         * java/net/Socket.java
1173         (closed): Removed.
1174         (Socket): Fixed documentation.
1175         (connect): Check if socket is closed, changed exception text,
1176         fixed documentation.
1177         (getInputStream): Check of socket is closed  and connected.
1178         (getOutputStream): Likewise.
1179         (bind): Check if socket is closed.
1180         (setTcpNoDelay): Likewise.
1181         (getTcpNoDelay): Likewise.
1182         (setSoLinger): Likewise.
1183         (getSoLinger): Likewise.
1184         (sendUrgentData): Likewise.
1185         (setOOBInline): Likewise.
1186         (getOOBInline): Likewise.
1187         (setSoTimeout): Likewise.
1188         (getSoTimeout): Likewise.
1189         (setSendBufferSize): Likewise.
1190         (getSendBufferSize): Likewise.
1191         (setReceiveBufferSize): Likewise.
1192         (getReceiveBufferSize): Likewise.
1193         (setKeepAlive): Likewise.
1194         (getKeepAlive): Likewise.
1195         (close): Likewise.
1196         (shutdownInput): Likewise.
1197         (shutdownOutput): Likewise.
1198         (getReuseAddress): Likewise.
1199         (getTrafficClass): Likewise.
1200         (setTrafficClass): Likewise.
1201         (isClosed): Check impl == null.
1202         (toString): Added missing ']'.
1203
1204 2003-11-24  Tom Tromey  <tromey@redhat.com>
1205
1206         * Makefile.in: Rebuilt.
1207         * Makefile.am (propdir): New macro.
1208         (install-data-local): Install logging.properties.
1209         (core_java_source_files): Added java.util.logging.*.
1210         * java/util/logging/logging.properties: New file.
1211
1212 2003-11-25  Michael Koch  <konqueror@gmx.de>
1213
1214         * java/net/DatagramSocket.java
1215         (DatagramSocket): Move binding code to bind(), simplify constructors.
1216         * java/net/MulticastSocket.java
1217         (MulticastSocket): Call parent constructor with null argument,
1218         bind socket after setReuseAddress is called, simplify constructors.
1219
1220 2003-11-24  Michael Koch  <konqueror@gmx.de>
1221
1222         * javax/swing/BoxLayout.java
1223         (serialVersionUIR): New member variable.
1224         (X_AXIS, Y_AXIS): Documentation added.
1225         (LINE_AXIS, PAGE_AXIS): New constants.
1226         (grid): Renamed from gridbag.
1227         (BoxLayout): Use new constants, throw exception if invalid value for
1228         way, added documentation.
1229         (BoxLayout): Removed.
1230         (addLayoutComponent): Use new constants, added documentation.
1231         (removeLayoutComponent): Likewise.
1232         (addLayoutContainer): Added documentation.
1233         (preferredLayoutSize): Added documentation, check given argument.
1234         (minimumLayoutSize): Likewise.
1235         (layoutContainer): Likewise.
1236         (getLayoutAlignmentX): Likewise.
1237         (getLayoutAlignmentY): Likewise.
1238         (invalidateLayout): Likewise.
1239         (maximumLayoutSize): Likewise.
1240
1241 2003-11-22  Michael Koch  <konqueror@gmx.de>
1242
1243         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1244         (peekData): Use offset and maximal free space in datagram packet.
1245         (receive): Likewise.
1246         (send): Use offset in datagram packet.
1247
1248 2003-11-22  Michael Koch  <konqueror@gmx.de>
1249
1250         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1251         (peekData): Use offset and maximal free space in datagram packet.
1252         (receive): Likewise.
1253         (send): Use offset in datagram packet.
1254
1255 2003-11-22  Michael Koch  <konqueror@gmx.de>
1256
1257         * gnu/java/nio/DatagramChannelImpl.java
1258         (getNativeFD): Use getPlainDatagramSocketImpl().
1259         * gnu/java/nio/NIODatagramSocket.java
1260         (getPlainDatagramSocketImpl): Renamed from getImpl().
1261         * gnu/java/nio/NIOSocket.java
1262         (getPlainSocketImpl): Renamed from getImpl().
1263         (setChannel): Use getPlainSocketImpl().
1264         * gnu/java/nio/SocketChannelImpl.java
1265         (SocketChannelImpl): Use getPlainSocketImpl().
1266         (getPlainSocketImpl): Renamed from getImpl().
1267         (getNativeFD): Use getPlainSocketImpl().
1268
1269 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1270
1271         * javax/swing/JLayeredPane.java: Implement.
1272         * javax/swing/JFrame.java (getContentPane): Make public
1273         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1274         Use JLayeredPane.FRAME_CONTENT_LAYER.
1275
1276 2003-11-21  Mark Wielaard  <mark@klomp.org>
1277
1278         * java/lang/Float.java (static): Removed.
1279
1280 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1281
1282         * java/awt/font/TextLayout.java: Implement simple layouts
1283         using attributed strings and glyph vectors.
1284
1285 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1286
1287         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1288         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1289         (GdkFontLineMetrics): New inner class.
1290         (getLineMetrics): Return new GdkFontLineMetrics.
1291         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1292         (layoutGlyphVector): Create GdkGlyphVector.
1293         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1294         (GdkGraphics2D): Initialize state via mathod calls.
1295         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1296         (cairoTranslate, cairoScale, cairoRotate): Remove.
1297         (various methods): use setTransform for special transform cases.
1298         (DrawState): New inner class.
1299         (stateSave): New method.
1300         (stateRestore): New method.
1301         (various methods): use stateSave, stateRestore.
1302         (getClipInDevSpace): New method.
1303         (clip, clipRect, setClip, getClip, getClipBounds): 
1304         Follow spec more closely.
1305         (getTransform): Return clone of transform.
1306         (setStroke): Set linewidth to passed width / 2.0.
1307         (setPaintMode): Set SrcOver rather than Xor.
1308         (setColor): Set paint to passed color.
1309         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1310         transform from image to user space.
1311         (drawRenderedImage, drawRenderableImage): Implement.
1312         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1313         Implement
1314         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1315         Implement.
1316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1317         Match changes to java side.
1318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1319         Release resources.
1320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1321         Don't use pango for metrics.
1322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1323         New file.
1324
1325 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1326             Jim Pick  <jim@kaffe.org>
1327
1328         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1329         methods.
1330
1331 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1332
1333         * java/text/DecimalFormatSymbols.java (getCurrency,
1334         setCurrency): New methods.
1335
1336 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1337
1338         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1339         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1340         Describe how the implementation works.
1341
1342 2003-11-19  Michael Koch  <konqueror@gmx.de>
1343
1344         * java/net/Socket.java
1345         (implCreated): New variable that indicates created impl.
1346         (getImpl): New method.
1347         (toString): Return more SUN compliant string representation.
1348         (various): Use getImpl() instead of impl.
1349
1350 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1351
1352         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1353         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1354         flags.
1355
1356 2003-11-18  Tom Tromey  <tromey@redhat.com>
1357
1358         PR libgcj/13026:
1359         * verify.cc (state::copy): Only set local_changed if we're in a
1360         subroutine.  Correctly copy local variables which were modified
1361         by the subroutine.
1362         (push_jump_merge): Added more debugging output.
1363
1364         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1365         is null.
1366
1367 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1368
1369         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1370         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1371
1372 2003-11-16  Tom Tromey  <tromey@redhat.com>
1373
1374         PR libgcj/13062:
1375         * java/io/StreamTokenizer.java (commentChar): Clear other
1376         attributes for character.
1377         (quoteChar): Likewise.
1378
1379 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1380
1381         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1382         zero-length int arrays when layoutInfo is null.
1383         (getLayoutWeights): Return array of two zero-length double arrays when
1384         layoutInfo is null.
1385
1386 2003-11-13  Tom Tromey  <tromey@redhat.com>
1387
1388         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1389         JvGetStringUTFRegion.
1390         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1391         to JvGetStringUTFRegion.
1392         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1393         JvGetStringUTFRegion.
1394         * java/lang/natWin32Process.cc (startProcess): Pass length of
1395         string to JvGetStringUTFRegion.
1396         * java/lang/natClass.cc (forName): Pass length of string to
1397         JvGetStringUTFRegion.
1398         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1399         of string to JvGetStringUTFRegion.
1400         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1401         JvGetStringUTFRegion.
1402         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1403         to JvGetStringUTFRegion.
1404         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1405         string to JvGetStringUTFRegion.
1406
1407 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1408
1409         * gnu/java/nio/natSelectorImplPosix.cc
1410         (helper_put_filedescriptors): Change to static linkage.
1411         (helper_get_filedescriptors): Likewise.
1412
1413 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1414
1415         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1416         null check.
1417         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1418         * java/awt/Component.java (prepareImage): Likewise.
1419
1420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1421         Rename to nativeSetAlignment.
1422
1423 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1424
1425         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1426         (JNI_GetCreatedJavaVMs): Likewise.
1427         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1428         * include/jni.h (JNIIMPEXP): Remove definition
1429         and replace with...
1430         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1431         symbols,
1432         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1433
1434 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1435
1436         * Makefile.am: Add GdkPixbufDecoder.java and
1437         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1438         * Makefile.in: Regenerate.
1439         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1440         New constructor.
1441         (startProduction): Create ByteArrayInputStream when url and filename are
1442         null.
1443         (produce): Declare stream parameter as InputStream.
1444         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1445         as InputStream.
1446         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1447         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1448         (produce): Declare stream parameter as InputStream.
1449         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1450         if image is null.  Set image's observer before running PrepareImage
1451         thread.  Pass image to startProduction.
1452         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1453         source's member functions.
1454         (observer): New field.
1455         (setObserver): New method.
1456         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1457         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1458         new GtkImage.
1459         (prepareImage): Implement.
1460         * java/awt/Component.java: Add static fields incrementalDraw and
1461         redrawRate.
1462         (imageUpdate): Implement.
1463         (createImage): Call Toolkit's createImage if peer is null.
1464         (prepareImage): Throw NPE if image is null.
1465         * java/awt/MediaTracker.java: Fix return value.
1466
1467 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1468
1469         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1470         (create(String, float)): New method.
1471         (setText): Make native.
1472         (nativeSetAlignment): New method.
1473         (setAlignment): Call nativeSetAlignment.
1474         (getArgs): Remove method.
1475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1476         (find_fg_color_widget, find_bg_color_widget): New functions.
1477         (gtkWidgetSetForeground): Call find_fg_color_widget.
1478         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1479         prelight colors.
1480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1481         widget in event box.
1482         (setText, setAlignment): Implement new native methods.
1483
1484 2003-11-11  Michael Koch  <konqueror@gmx.de>
1485
1486         * java/awt/Font.java,
1487         java/awt/datatransfer/DataFlavor.java,
1488         java/math/BigInteger.java,
1489         java/net/Inet4Address.java,
1490         java/net/Inet6Address.java,
1491         java/rmi/MarshalledObject.java,
1492         java/rmi/server/RMIClassLoader.java,
1493         java/security/cert/CertStore.java,
1494         java/sql/Timestamp.java,
1495         java/text/SimpleDateFormat.java,
1496         javax/naming/CompoundName.java:
1497         Removed some redundant obj == null checks.
1498
1499 2003-11-11  Michael Koch  <konqueror@gmx.de>
1500
1501         * java/nio/ByteBuffer.java
1502         (equals): Remove redundant obj == null check.
1503
1504 2003-11-11  Michael Koch  <konqueror@gmx.de>
1505
1506         * gnu/java/nio/natPipeImpl.cc,
1507         gnu/java/nio/natSelectorImpl.cc: Removed
1508         * gnu/java/nio/natPipeImplEcos.cc,
1509         gnu/java/nio/natPipeImplPosix.cc,
1510         gnu/java/nio/natPipeImplWin32.cc,
1511         gnu/java/nio/natSelectorImplEcos.cc,
1512         gnu/java/nio/natSelectorImplPosix.cc,
1513         gnu/java/nio/natSelectorImplWin32.cc: New files
1514         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1515         gnu/java/nio/natSelectorImpl.cc
1516         * configure: Regenerated.
1517
1518 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1519
1520         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1521         if host is printed too and port was really given to URL.
1522
1523 2003-11-10  Gary Benson  <gbenson@redhat.com>
1524
1525         * java/sql/Timestamp.java (valueOf): Correctly handle
1526         nanoseconds.
1527
1528 2003-11-09  Tom Tromey  <tromey@redhat.com>
1529
1530         * java/net/Inet4Address.java (serialVersionUID): Updated.
1531
1532 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1533
1534         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1535         New fields.
1536
1537 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1538
1539         * java/io/ByteArrayOutputStream.java (resize):
1540         Fix off-by-one error.
1541
1542 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1543
1544         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1545         public.
1546
1547 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1548
1549         PR libgcj/12231
1550         * java/lang/Win32Process.java (hasExited) Changed from
1551         public to private.
1552         (startProcess): Likewise.
1553         (cleanup): Likewise.
1554         * java/lang/natWin32Process.cc (cleanup) Don't close
1555         input, output and error streams.
1556         (ChildProcessPipe): New helper class.
1557         (startProcess): Refactored to use ChildProcessPipe.
1558         Use CREATE_NO_WINDOW when launching child process.
1559
1560 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1561
1562         * include/win32.h (_Jv_platform_close_on_exec): Changed
1563         signature and declared extern.
1564         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1565         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1566         (create): Use new signature of _Jv_platform_close_on_exec.
1567         * gnu/java/net/natPlainSocketImplWin32.cc 
1568         (create): Eliminated a few typecasts
1569         Use new signature of _Jv_platform_close_on_exec.
1570         (accept): Eliminated a few typecasts
1571         Use new signature of _Jv_platform_close_on_exec.
1572         * java/io/natFileDescriptorWin32.cc (open): Use
1573         _Jv_platform_close_on_exec.
1574
1575 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1576
1577         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1578         if class has no null-argument constructor.
1579
1580 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1581
1582         PR libgcj/12647:
1583         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1584         refcount when releasing and reacquiring it.
1585
1586 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1587
1588         * win32.cc: (dirExists) Internal helper function to
1589         test for directory existence.
1590         (getUserHome) New helper function refactored out
1591         of _Jv_platform_initProperties. Uses USERPROFILE
1592         instead of HOMEDIR and attempts to support Win9X and NT.
1593         (_Jv_platform_initProperties) Use getUserHome.
1594
1595 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1596
1597         PR libgcj/11521:
1598         * gnu/java/net/natPlainSocketImplWin32.cc
1599         (bind): Don't use SO_REUSEADDR
1600
1601 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1602
1603         PR libgcj/6652:
1604         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1605
1606 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1607
1608         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1609         dispatch for final methods.
1610
1611 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1612
1613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1614         word wrapping.
1615
1616 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1617
1618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1619         scrolled window's size request.
1620
1621 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1622
1623         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1624         * java/awt/geom/QuadCurve2D.java: Likewise.
1625
1626 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1627
1628         * java/awt/geom/CubicCurve2D.java: Added documentation.
1629         * java/awt/geom/QuadCurve2D.java: Likewise.
1630
1631         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1632         java/awt/geom/doc-files/QuadCurve2D-5.png,
1633         java/awt/geom/doc-files/CubicCurve2D-4.png,
1634         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1635
1636 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1637
1638         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1639         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1640         (subdivide(double[],int,double[],int,double[],int)): Implement.
1641
1642 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1643
1644         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1645         java/awt/geom/doc-files/CubicCurve2D-2.png,
1646         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1647
1648 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1649
1650         * java/text/DecimalFormat.java
1651         (scanFormat) corrected so that '%' may appear in a pattern.
1652
1653 2003-10-29  Mark Wielaard  <mark@klomp.org>
1654
1655         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1656         * java/text/DateFormat.java (Field): New public static inner class.
1657         * java/text/Format.java (Field): Likewise.
1658         (formatToCharacterIterator): New method.
1659         * java/text/FormatCharacterIterator.java: New file.
1660
1661 2003-10-29  Mark Wielaard  <mark@klomp.org>
1662
1663         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1664         * java/util/Currency.java: New file.
1665
1666 2003-10-29  Michael Koch  <konqueror@gmx.de>
1667
1668         * Makefile.am (ordinary_java_source_files): Added
1669         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1670         * Makefile.in: Regenerated.
1671
1672 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1673
1674         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1675         static methods.
1676
1677 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1678
1679         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1680         getObjectInstance() with Object, Name, Context and environment
1681         Hashtable from exception. Call fillInStackTrace() on exception when
1682         rethrown.
1683         * javax/naming/InitialContext.java (lookup(Name)): When a
1684         CannotProceedException is thrown use the ContinuationContext.
1685         (lookup(String)): Likewise.
1686         (close): Clear myProps and defaultInitCtx.
1687
1688 2003-10-29  Michael Koch  <konqueror@gmx.de>
1689
1690         * java/net/InetAddress.java
1691         (equals): Remove redundant obj == null check.
1692         * java/net/SocketPermission.java
1693         (equals): Likewise.
1694         * java/net/URL.java
1695         (equals): Likewise.
1696         (getURLStreamHandler): Likewise.
1697
1698 2003-10-29  Michael Koch  <konqueror@gmx.de>
1699
1700         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1701         (setOption): Directly return if no error occured.
1702         * gnu/java/net/natPlainSocketImplPosix.cc
1703         (setOption): Likewise.
1704
1705 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1706
1707         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1708         vtable slot for final methods. Add FIXME comment.
1709
1710 2003-10-28  David S. Miller  <davem@redhat.com>
1711
1712         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1713
1714 2003-10-26  Mark Wielaard  <mark@klomp.org>
1715
1716         Reported by Helmer Kraemer <hkraemer@freenet.de>
1717         * java/util/jar/JarInputStream.java (readManifest): Don't call
1718         closeEntry().
1719
1720         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1721         (finish): Use inbufWrite().
1722         (write(int)): Likewise.
1723         (write(byte[],int,int)): Likewise.
1724
1725 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1726
1727         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1728         Don't check for AccessibleObject. Update javadocs.
1729         
1730         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1731
1732 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1733
1734         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1735         whitespace on constructor with no modifiers.
1736         * java/lang/reflect/natConstructor.java (newInstance): Look up
1737         caller and perform accessibility check only if constructor is
1738         non-public and accessible flag is not set.
1739
1740 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1741
1742         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1743         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1744         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1745         is_virtual_call argument.
1746         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1747         natClass.cc.
1748         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1749         _Jv_isVirtualMethod.
1750         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1751         _Jv_LookupDeclaredMethod.
1752         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1753         look up method in target object's vtable.
1754
1755 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1756
1757         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1758         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1759         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1760         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1761         New concrete implementation of ClasspathFontPeer, with native part.
1762         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1763         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1764         New class, with native part.
1765         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1766         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1767         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1768
1769 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1770
1771         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1772         on method with no modifiers.
1773
1774 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1775
1776         PR libgcj/11780:
1777         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1778         accessibility check only if target is non-public and accessible flag
1779         is not set.
1780         * java/lang/reflect/natField.cc (getAddr): Likewise.
1781
1782 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1783
1784         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1785         Remove method.
1786         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1787         New method.
1788         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1789         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1790         (dispose): Post WINDOW_CLOSED event.
1791         (addWindowFocusListener, addWindowStateListener): Assign result
1792         of multicaster add back to window listener.
1793         (removeWindowFocusListener, removeWindowStateListener): Assign
1794         result of multicaster remove back to window listener.
1795         (dispatchEventImpl): Add null checks for focus and state
1796         listeners.
1797         (processWindowEvent): Handle case where windowListener is null
1798         but state or focus listeners exist.
1799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1800         glue for postWindowEvent.
1801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1802         (window_delete_cb, window_destroy_cb, window_show_cb,
1803         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1804         window_get_new_state): New functions.
1805         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1806         macros.  Declare postWindowEventID.
1807
1808 2003-10-24  Anthony Green  <green@redhat.com>
1809
1810         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1811         we have no interpreter.
1812
1813 2003-10-22  Andrew Haley  <aph@redhat.com>
1814
1815         * java/lang/natClass.cc (initializeClass): Call
1816         _Jv_linkExceptionClassTable.
1817         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1818         _Jv_Defer_Resolution on a method whose ncode is NULL.
1819         (_Jv_linkExceptionClassTable): New function.
1820         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1821         entry, look it up.
1822         * java/lang/Class.h (struct _Jv_CatchClass): New.
1823         (_Jv_linkExceptionClassTable): New friend.
1824         (_Jv_Defer_Resolution): New friend.
1825         (class Class.catch_classes): New field.
1826         * include/java-interp.h (Jv_Defer_Resolution): New method.
1827         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1828         (_Jv_MethodBase.deferred): New field.
1829         (_Jv_Defer_Resolution): New function.
1830         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1831         * exception.cc (get_ttype_entry): Change return type to void**.
1832         (PERSONALITY_FUNCTION): Remove all code related to using a
1833         Utf8Const* for a match type.  Change match type to be a pointer to
1834         a pointer, rather than a pointer to a Class.
1835         * defineclass.cc (handleCodeAttribute): Initialize
1836         method->deferred.
1837         (handleMethodsEnd): Likewise.
1838
1839 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1840
1841         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1842         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1843
1844 2003-10-22  Tom Tromey  <tromey@redhat.com>
1845
1846         PR libgcj/12416:
1847         * java/lang/Class.h: Updated.
1848         * java/lang/natClass.cc (_getFields): Removed.
1849         (getFields): Likewise.
1850         (getDeclaredFields): Added `public_only' parameter.
1851         * java/lang/Class.java (getFields): Now implemented in java; from
1852         Classpath.
1853         (getDeclaredFields): Likewise.
1854         (getDeclaredFields(boolean)): Declare.
1855         (_getFields): Removed.
1856         (internalGetFields): New method, from Classpath.
1857
1858         PR libgcj/12656:
1859         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1860         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1861
1862 2003-10-22  David Daney  <ddaney@avtrex.com)
1863
1864         * include/mips-signal.h: New file.
1865         * sysdep/dwarf2-backtrace.cc: New file.
1866         * sysdep/mips: New directory.
1867         * sysdep/mips/locks.h: New file.
1868         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1869         added to libgcj.
1870         (extra_cc_source_files): Ditto.
1871         * configure.host(disable_dladdr):  New shell variable passed to
1872         configure.
1873         (mips*-*-linux*): sysdeps_dir=mips,
1874         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1875         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1876         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1877         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1878         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1879         (EXTRA_CC_FILES): New, to support conditional addition of
1880         sysdep/dwarf2-backtrace.cc.
1881         * configure: Regenerated.
1882         * Makefile.in: Regenerated.
1883         * gcj/Makefile.in: Regenerated.
1884         * include/config.h.in: Regenerated.
1885         * include/Makefile.in: Regenerated.
1886         * testsuite/Makefile.in: Regenerated.
1887         
1888 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1889
1890         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1891         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1892
1893 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1894
1895         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1896         * java/awt/geom/doc-files: New directory.
1897         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1898         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1899         
1900 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1901
1902         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1903
1904 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1905
1906         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1907
1908 2003-10-22  Michael Koch  <konqueror@gmx.de>
1909
1910         * java/io/File.java
1911         (equals): Removed redundant obj == null check.
1912         (createTempFile): Merged comments from classpath.
1913
1914 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1915
1916         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1917         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1918         (error): Synchronize on instance, not class.
1919
1920 2003-10-21  Mark Wielaard  <mark@klomp.org>
1921
1922         Reported by M.Negovanovic
1923         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1924         method.
1925         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1926
1927 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1928
1929         Fix for Classpath bug #6076.
1930         * java/awt/geom/GeneralPath.java (append): Re-written.
1931
1932 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1933
1934         Fix for Classpath bug #6089.
1935         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1936         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1937
1938 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1939
1940         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1941         point, not start of subpath.  Fixes Classpath bug #6075.
1942
1943 2003-10-21  Michael Koch  <konqueror@gmx.de>
1944
1945         * java/nio/ByteOrder.java,
1946         java/nio/DirectByteBufferImpl.java,
1947         java/nio/channels/FileChannelImpl.java:
1948         Add code to load library with code for native methods if needed.
1949
1950 2003-10-21  Michael Koch  <konqueror@gmx.de>
1951
1952         * gnu/java/net/PlainDatagramSocketImpl.java,
1953         gnu/java/net/PlainSocketImpl.java,
1954         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1955         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1956         gnu/java/net/natPlainSocketImplPosix.cc,
1957         gnu/java/net/natPlainSocketImplWin32.cc:
1958         Renamed fnum to native_fd to match classpath more.
1959
1960 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1961
1962         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1963         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1964         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1965         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1966         _Jv_PthreadCheckMonitor.  Simplify code.
1967         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1968         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1969         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1970         * java/lang/Thread.java (holdsLock): New.
1971         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1972         without JV_HASH_SYNCHRONIZATION.
1973         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1974
1975 2003-10-20  Michael Koch  <konqueror@gmx.de>
1976
1977         * java/text/RuleBasedCollator.java
1978         (RuleBasedCollator): Check rules not empty, fixed search in already
1979         existing collation elements.
1980         (is_special): Removed common whitespace characters.
1981         (text_argument): Dont return on whitespaces, add characters between
1982         two ' to string buffer.
1983
1984 2003-10-18  Michael Koch  <konqueror@gmx.de>
1985
1986         * gnu/java/net/protocol/file/Connection.java,
1987         gnu/java/net/protocol/file/Handler.java,
1988         gnu/java/net/protocol/http/Connection.java,
1989         gnu/java/net/protocol/http/Handler.java,
1990         gnu/java/net/protocol/jar/Connection.java,
1991         gnu/java/net/protocol/jar/Handler.java:
1992         Merged copyright text from classpath to make
1993         it possible to merge the classes.
1994
1995 2003-10-18  Mark Wielaard  <mark@klomp.org>
1996
1997         Reported by M.Negovanovic
1998         * java/beans/IndexedPropertyDescriptor.java
1999         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2000
2001 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2002
2003         * win32.cc (_Jv_pipe): Implemented.
2004         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2005         _Jv_pipe instead of ::pipe.
2006         * include/posix.h (_Jv_pipe): New inline.
2007         * include/win32.h (_Jv_pipe): New declaration.
2008         
2009 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2010
2011         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2012         (append, substring, insert): Likewise.
2013         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2014         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2015         
2016 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2017
2018         * java/lang/natString.cc (getChars):
2019         Fix validation of array indexes.
2020         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2021         * testsuite/libjava.lang/String_overflow.java: New file.
2022         * testsuite/libjava.lang/String_overflow.out: New file.
2023
2024 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2025
2026         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2027         overflow a jint.
2028         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2029         check for overflowing size_t, since the lower level functions
2030         take a jint.
2031         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2032         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2033         
2034 2003-10-15  Michael Koch  <konqueror@gmx.de>
2035
2036         * java/text/RuleBasedCollator.java
2037         (RuleBasedCollator): Moved around, documentation added.
2038         (compare): Documentation added.
2039         (equals): Likewise.
2040         (getCollationElementIterator): Likewise.
2041         (getCollationKey): Likewise.
2042         (getRules): Likewise.
2043         (hashCode): Likewise.
2044
2045 2003-10-15  Michael Koch  <konqueror@gmx.de>
2046
2047         * java/text/RuleBasedCollator.java
2048         (CollationElement): Renamed from RBCElement and moved into
2049         RuledBasedCollator as inner class.
2050
2051 2003-10-15  Michael Koch  <konqueror@gmx.de>
2052
2053         * java/text/CollationElementIterator.java
2054         (CollationElementIterator): Moved, documenatation added, call setText.
2055         (next): Reformated.
2056         (reset): Reformated.
2057         (setText): New method.
2058         (getOffset): New method.
2059         * java/text/CollationKey.java
2060         (getSourceString): Reformated.
2061         (hashCode): Reformated.
2062         (toByteArray): Reformated.
2063
2064 2003-10-15  Michael Koch  <konqueror@gmx.de>
2065
2066         * java/util/zip/InflaterInputStream.java
2067         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2068         added description to exception, check for inf == null and size < 0.
2069
2070 2003-10-15  Michael Koch  <konqueror@gmx.de>
2071
2072         * java/text/AttributedCharacterIterator.java,
2073         java/text/CharacterIterator.java: Reformated.
2074
2075 2003-10-15  Michael Koch  <konqueror@gmx.de>
2076
2077         * javax/swing/UIDefaults.java (putDefaults):
2078         Readded accidently removed "public" modifier.
2079
2080 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2081
2082         * interpret.cc (_Jv_InterpMethod::run): Don't
2083         use libffi types, they were meant to be internal.
2084         * gcj/javaprims.h (_Jv_ulong): New typedef.
2085
2086 2003-10-13  Tom Tromey  <tromey@redhat.com>
2087
2088         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2089         (defineClass): Updated.
2090         (_Jv_NewClass): Likewise.
2091         * prims.cc (_Jv_InitPrimClass): Don't call
2092         _Jv_InitNewClassFields.
2093
2094 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2095
2096         PR libgcj/12592
2097         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2098         not just \n.
2099
2100 2003-10-13  Michael Koch  <konqueror@gmx.de>
2101
2102         * java/io/File.java: Reformated.
2103         (equals): Check for obj == null.
2104
2105 2003-10-13  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/net/JarURLConnection.java
2108         (jarFileURL): Added dcoumentation.
2109         (jarFileURLConnection): Reformated documentation.
2110         (entryName): Renamed from "element", documentation rewritten.
2111         (connectionCache): Renamed from "conn_cache", documentation
2112         reformated.
2113         (JarURLConnection): Check URL protocol.
2114         (getEntryName): Use entryName.
2115         (connect): Use connectionCache.
2116         (getInputStream): Use entryName, fixed comment.
2117         (getJarEntry): Use entryName.
2118         (getHeaders): Use entryName.
2119         * java/net/URLConnection.java
2120         (addRequestProperty): Fixed documentation.
2121         (setDefaultRequestProptery): Added comment that it does nothing since
2122         JDK 1.3.
2123         (getDefaultRequestProperty): Likewise.
2124
2125 2003-10-13  Michael Koch  <konqueror@gmx.de>
2126
2127         * java/net/java/net/URLStreamHandlerFactory.java
2128         (createURLStreamHandler): Removed redundant "public" modifier.
2129         * java/sql/DatabaseMetaData.java:
2130         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2131         * java/sql/ParameterMetaData.java:
2132         (ParameterMetaData): Readded accidently removed "public" modifier.
2133         * java/sql/PreparedStatement.java:
2134         (PreparedStatement): Readded accidently removed "public" modifier.
2135         * java/sql/Ref.java:
2136         (Ref): Readded accidently removed "public" modifier.
2137
2138 2003-10-13  Michael Koch  <konqueror@gmx.de>
2139
2140         * java/nio/Buffer.java
2141         (hasRemaining): Made implementation more clear.
2142         * java/nio/MappedByteBuffer.java
2143         (loaded): New member variable.
2144         (force): Added comment.
2145         (isLoaded): Return value of loaded.
2146         (load): Set loaded to true, added comment.
2147
2148 2003-10-12  Michael Koch  <konqueror@gmx.de>
2149
2150         * gnu/java/nio/PipeImpl.java
2151         (SourceChannelImpl): New inner class.
2152         (SinkChannelImpl): New inner class.
2153         (sink): New member variable.
2154         (source): New member variable.
2155         (PipeImpl): Add SelectorProvider argument, implemented.
2156         (nativeInit): New method.
2157         (sink): Return sink channel.
2158         (source): Return source channel.
2159         * gnu/java/nio/SelectorProviderImpl.java
2160         (openPipe): Give provider as argument to PipeImpl constructor.
2161         * java/nio/channels/spi/SelectorProvider.java
2162         (pr): Removed.
2163         (systemDefaultProvider): New member variable.
2164         (provider): Made it synchronized, use property
2165         java.nio.channels.spi.SelectorProvider.
2166         * gnu/java/nio/natPipeImpl.cc: New file.
2167         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2168         * Makefile.in: Regenerated.
2169
2170 2003-10-12  Michael Koch  <konqueror@gmx.de>
2171
2172         * javax/swing/table/DefaultTableModel.java,
2173         javax/swing/table/TableCellEditor.java,
2174         javax/swing/table/TableCellRenderer.java,
2175         javax/swing/table/TableColumnModel.java,
2176         javax/swing/table/TableModel.java,
2177         javax/swing/text/AbstractDocument.java,
2178         javax/swing/text/Document.java,
2179         javax/swing/text/MutableAttributeSet.java,
2180         javax/swing/text/StyledDocument.java,
2181         javax/swing/text/ViewFactory.java,
2182         javax/swing/tree/DefaultMutableTreeNode.java,
2183         javax/swing/tree/MutableTreeNode.java,
2184         javax/swing/tree/RowMapper.java,
2185         javax/swing/tree/TreeCellEditor.java,
2186         javax/swing/tree/TreeCellRenderer.java,
2187         javax/swing/tree/TreeModel.java,
2188         javax/swing/tree/TreeNode.java,
2189         javax/swing/tree/TreeSelectionModel.java,
2190         javax/swing/undo/StateEditable.java,
2191         javax/swing/undo/UndoableEdit.java:
2192         Removed redundant modifiers.
2193
2194 2003-10-12  Michael Koch  <konqueror@gmx.de>
2195
2196         * javax/swing/event/AncestorListener.java,
2197         javax/swing/event/CaretListener.java,
2198         javax/swing/event/CellEditorListener.java,
2199         javax/swing/event/ChangeListener.java,
2200         javax/swing/event/DocumentEvent.java,
2201         javax/swing/event/DocumentListener.java,
2202         javax/swing/event/HyperlinkListener.java,
2203         javax/swing/event/InternalFrameListener.java,
2204         javax/swing/event/ListDataListener.java,
2205         javax/swing/event/ListSelectionListener.java,
2206         javax/swing/event/MenuDragMouseListener.java,
2207         javax/swing/event/MenuKeyListener.java,
2208         javax/swing/event/MenuListener.java,
2209         javax/swing/event/MouseInputListener.java,
2210         javax/swing/event/PopupMenuListener.java,
2211         javax/swing/event/TableColumnModelListener.java,
2212         javax/swing/event/TableModelListener.java,
2213         javax/swing/event/TreeExpansionListener.java,
2214         javax/swing/event/TreeModelListener.java,
2215         javax/swing/event/TreeSelectionListener.java,
2216         javax/swing/event/TreeWillExpandListener.java,
2217         javax/swing/event/UndoableEditListener.java,
2218         javax/swing/plaf/UIResource.java,
2219         javax/swing/plaf/metal/MetalLookAndFeel.java:
2220         Removed redundant modifiers.
2221
2222 2003-10-12  Michael Koch  <konqueror@gmx.de>
2223
2224         * javax/swing/Action.java,
2225         javax/swing/BoundedRangeModel.java,
2226         javax/swing/CellEditor.java,
2227         javax/swing/ComboBoxEditor.java,
2228         javax/swing/ComboBoxModel.java,
2229         javax/swing/DesktopManager.java,
2230         javax/swing/JComboBox.java,
2231         javax/swing/ListCellRenderer.java,
2232         javax/swing/ListSelectionModel.java,
2233         javax/swing/MenuElement.java,
2234         javax/swing/MutableComboBoxModel.java,
2235         javax/swing/Renderer.java,
2236         javax/swing/RootPaneContainer.java,
2237         javax/swing/ScrollPaneConstants.java,
2238         javax/swing/SingleSelectionModel.java,
2239         javax/swing/SpinnerModel.java,
2240         javax/swing/SwingConstants.java,
2241         javax/swing/UIDefaults.java,
2242         javax/swing/WindowConstants.java,
2243         javax/swing/border/Border.java,
2244         javax/swing/colorchooser/ColorSelectionModel.java:
2245         Removed redundant modifiers.
2246
2247 2003-10-11  Michael Koch  <konqueror@gmx.de>
2248
2249         * javax/transaction/Status.java,
2250         javax/transaction/Synchronization.java,
2251         javax/transaction/Transaction.java,
2252         javax/transaction/TransactionManager.java,
2253         javax/transaction/UserTransaction.java,
2254         javax/transaction/xa/XAResource.java,
2255         javax/transaction/xa/Xid.java:
2256         Removing redundant modifiers.
2257
2258 2003-10-11  Michael Koch  <konqueror@gmx.de>
2259
2260         * javax/print/attribute/Attribute.java,
2261         javax/print/attribute/AttributeSet.java,
2262         javax/print/attribute/PrintRequestAttributeSet.java:
2263         Removing redundant modifiers.
2264
2265 2003-10-11  Michael Koch  <konqueror@gmx.de>
2266
2267         * javax/sql/ConnectionEventListener.java,
2268         javax/sql/ConnectionPoolDataSource.java,
2269         javax/sql/DataSource.java,
2270         javax/sql/PooledConnection.java,
2271         javax/sql/RowSet.java,
2272         javax/sql/RowSetInternal.java,
2273         javax/sql/RowSetListener.java,
2274         javax/sql/RowSetMetaData.java,
2275         javax/sql/RowSetReader.java,
2276         javax/sql/RowSetWriter.java,
2277         javax/sql/XAConnection.java,
2278         javax/sql/XADataSource.java:
2279         Removing redundant modifiers.
2280
2281 2003-10-11  Michael Koch  <konqueror@gmx.de>
2282
2283         * javax/naming/Context.java,
2284         javax/naming/Name.java,
2285         javax/naming/NameParser.java,
2286         javax/naming/NamingEnumeration.java,
2287         javax/naming/Referenceable.java,
2288         javax/naming/directory/Attribute.java,
2289         javax/naming/directory/Attributes.java,
2290         javax/naming/directory/DirContext.java,
2291         javax/naming/event/EventContext.java,
2292         javax/naming/event/EventDirContext.java,
2293         javax/naming/event/NamespaceChangeListener.java,
2294         javax/naming/event/NamingListener.java,
2295         javax/naming/event/ObjectChangeListener.java,
2296         javax/naming/ldap/Control.java,
2297         javax/naming/ldap/ExtendedRequest.java,
2298         javax/naming/ldap/ExtendedResponse.java,
2299         javax/naming/ldap/HasControls.java,
2300         javax/naming/ldap/LdapContext.java,
2301         javax/naming/ldap/UnsolicitedNotification.java,
2302         javax/naming/ldap/UnsolicitedNotificationListener.java,
2303         javax/naming/spi/DirObjectFactory.java,
2304         javax/naming/spi/DirStateFactory.java,
2305         javax/naming/spi/InitialContextFactory.java,
2306         javax/naming/spi/InitialContextFactoryBuilder.java,
2307         javax/naming/spi/ObjectFactory.java,
2308         javax/naming/spi/ObjectFactoryBuilder.java,
2309         javax/naming/spi/Resolver.java,
2310         javax/naming/spi/StateFactory.java:
2311         Removing redundant modifiers.
2312
2313 2003-10-11  Michael Koch  <konqueror@gmx.de>
2314
2315         * java/security/Key.java,
2316         * java/security/PrivateKey.java,
2317         * java/security/PublicKey.java,
2318         * java/security/acl/Acl.java,
2319         * java/security/acl/AclEntry.java,
2320         * java/security/acl/Group.java,
2321         * java/security/acl/Owner.java,
2322         * java/security/acl/Permission.java,
2323         * java/security/cert/X509Extension.java,
2324         * java/security/interfaces/DSAKey.java,
2325         * java/security/interfaces/DSAKeyPairGenerator.java,
2326         * java/security/interfaces/DSAParams.java,
2327         * java/security/interfaces/DSAPrivateKey.java,
2328         * java/security/interfaces/DSAPublicKey.java,
2329         * java/security/interfaces/RSAKey.java,
2330         * java/security/interfaces/RSAPrivateCrtKey.java,
2331         * java/security/interfaces/RSAPrivateKey.java,
2332         * java/security/interfaces/RSAPublicKey.java:
2333         Removed redundant modifiers.
2334
2335 2003-10-11  Michael Koch  <konqueror@gmx.de>
2336
2337         * gnu/java/rmi/server/ProtocolConstants.java,
2338         gnu/java/security/der/DER.java:
2339         Removing redundant modifiers.
2340
2341 2003-10-11  Michael Koch  <konqueror@gmx.de>
2342
2343         * java/util/Map.java,
2344         java/util/Observer.java,
2345         java/util/zip/Checksum.java,
2346         java/util/zip/ZipConstants.java:
2347         Removed redundant modifiers.
2348
2349 2003-10-11  Michael Koch  <konqueror@gmx.de>
2350
2351         * java/text/AttributedCharacterIterator.java,
2352         java/text/CharacterIterator.java:
2353         Removed redundant modifiers.
2354
2355 2003-10-11  Michael Koch  <konqueror@gmx.de>
2356
2357         * java/sql/Array.java,
2358         java/sql/Blob.java,
2359         java/sql/CallableStatement.java,
2360         java/sql/Clob.java,
2361         java/sql/Connection.java,
2362         java/sql/DatabaseMetaData.java,
2363         java/sql/Driver.java,
2364         java/sql/ParameterMetaData.java,
2365         java/sql/PreparedStatement.java,
2366         java/sql/Ref.java,
2367         java/sql/ResultSet.java,
2368         java/sql/ResultSetMetaData.java,
2369         java/sql/SQLData.java,
2370         java/sql/SQLInput.java,
2371         java/sql/SQLOutput.java,
2372         java/sql/Savepoint.java,
2373         java/sql/Statement.java,
2374         java/sql/Struct.java:
2375         Removed redundant modifiers.
2376
2377 2003-10-11  Michael Koch  <konqueror@gmx.de>
2378
2379         * java/nio/channels/Channel.java,
2380         java/nio/channels/GatheringByteChannel.java,
2381         java/nio/channels/ReadableByteChannel.java,
2382         java/nio/channels/ScatteringByteChannel.java,
2383         java/nio/channels/WritableByteChannel.java:
2384         Removed redundant modifiers.
2385
2386 2003-10-11  Michael Koch  <konqueror@gmx.de>
2387
2388         * java/rmi/activation/ActivationInstantiator.java,
2389         java/rmi/activation/ActivationMonitor.java,
2390         java/rmi/activation/ActivationSystem.java,
2391         java/rmi/activation/Activator.java,
2392         java/rmi/dgc/DGC.java,
2393         java/rmi/registry/Registry.java,
2394         java/rmi/registry/RegistryHandler.java,
2395         java/rmi/server/LoaderHandler.java,
2396         java/rmi/server/RMIClientSocketFactory.java,
2397         java/rmi/server/RMIFailureHandler.java,
2398         java/rmi/server/RMIServerSocketFactory.java,
2399         java/rmi/server/RemoteCall.java,
2400         java/rmi/server/RemoteRef.java,
2401         java/rmi/server/ServerRef.java,
2402         java/rmi/server/Skeleton.java,
2403         java/rmi/server/Unreferenced.java:
2404         Removed redundant modifiers.
2405
2406 2003-10-11  Michael Koch  <konqueror@gmx.de>
2407
2408         * java/net/ContentHandlerFactory.java,
2409         java/net/DatagramSocketImplFactory.java,
2410         java/net/FileNameMap.java,
2411         java/net/SocketImplFactory.java,
2412         java/net/SocketOptions.java,
2413         java/net/URLStreamHandlerFactory.java:
2414         Removed redundant modifiers.
2415
2416 2003-10-11  Michael Koch  <konqueror@gmx.de>
2417
2418         * java/io/Externalizable.java,
2419         java/io/FileFilter.java,
2420         java/io/FilePermission.java,
2421         java/io/ObjectInput.java,
2422         java/io/ObjectInputValidation.java,
2423         java/io/ObjectOutput.java,
2424         java/io/ObjectStreamClass.java,
2425         java/io/ObjectStreamConstants.java,
2426         java/io/Serializable.java:
2427         Removed redundant modifiers.
2428
2429 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2430
2431         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2432         codebase and context classloader.
2433
2434 2003-10-11  Michael Koch  <konqueror@gmx.de>
2435
2436         * java/beans/beancontext/BeanContext.java,
2437         java/beans/beancontext/BeanContextChild.java,
2438         java/beans/beancontext/BeanContextChildComponentProxy.java,
2439         java/beans/beancontext/BeanContextChildSupport.java,
2440         java/beans/beancontext/BeanContextContainerProxy.java,
2441         java/beans/beancontext/BeanContextMembershipListener.java,
2442         java/beans/beancontext/BeanContextProxy.java,
2443         java/beans/beancontext/BeanContextServiceProvider.java,
2444         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2445         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2446         java/beans/beancontext/BeanContextServices.java,
2447         java/beans/beancontext/BeanContextServicesListener.java:
2448         Removed redundant modifiers.
2449
2450 2003-10-11  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/beans/AppletInitializer.java,
2453         java/beans/BeanInfo.java,
2454         java/beans/Customizer.java,
2455         java/beans/DesignMode.java,
2456         java/beans/PropertyEditor.java,
2457         java/beans/Visibility.java:
2458         Removed redundant modifiers.
2459
2460 2003-10-11  Michael Koch  <konqueror@gmx.de>
2461
2462         * java/awt/print/Pageable.java,
2463         * java/awt/print/Printable.java,
2464         java/awt/print/PrinterGraphics.java:
2465         Removed redundant modifiers.
2466
2467 2003-10-11  Michael Koch  <konqueror@gmx.de>
2468
2469         * java/awt/peer/ButtonPeer.java,
2470         java/awt/peer/CheckboxMenuItemPeer.java,
2471         java/awt/peer/CheckboxPeer.java,
2472         java/awt/peer/ChoicePeer.java,
2473         java/awt/peer/ComponentPeer.java,
2474         java/awt/peer/ContainerPeer.java,
2475         java/awt/peer/DialogPeer.java,
2476         java/awt/peer/FileDialogPeer.java,
2477         java/awt/peer/FramePeer.java,
2478         java/awt/peer/LabelPeer.java,
2479         java/awt/peer/ListPeer.java,
2480         java/awt/peer/MenuBarPeer.java,
2481         java/awt/peer/MenuComponentPeer.java,
2482         java/awt/peer/MenuItemPeer.java,
2483         java/awt/peer/MenuPeer.java,
2484         java/awt/peer/PopupMenuPeer.java,
2485         java/awt/peer/RobotPeer.java,
2486         java/awt/peer/ScrollPanePeer.java,
2487         java/awt/peer/ScrollbarPeer.java,
2488         java/awt/peer/TextAreaPeer.java,
2489         java/awt/peer/TextComponentPeer.java,
2490         java/awt/peer/TextFieldPeer.java,
2491         java/awt/peer/WindowPeer.java:
2492         Removed redundant modifiers.
2493
2494 2003-10-11  Michael Koch  <konqueror@gmx.de>
2495
2496         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2497         * gnu/java/nio/ServerSocketChannelImpl.java
2498         (serverSocket): Made it a NIOServerSocket.
2499         (impl): Removed.
2500         (ServerSocketChannelImpl): Initialize only serverSocket.
2501         (initServerSocket): Removed.
2502         (getNativeFD): Rewritten.
2503         (implConfigureBlocking): Set socket timeout and removed comment.
2504         (accept): Rewritten.
2505         * gnu/java/nio/SocketChannelImpl.java
2506         (impl): New variable.
2507         (connected): Removed.
2508         (SocketChannelImpl): Initialize impl too.
2509         (getImpl): New method.
2510         (isConnected): Rewritten.
2511         (read): Rewritten, set position in buffer correctly.
2512         (write): Set position in buffer correctly.
2513         * java/net/ServerSocket.java (getImpl): New method.
2514         * gnu/java/nio/NIOServerSocket.java,
2515         gnu/java/nio/natNIOServerSocket.cc: New files.
2516         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2517         * Makefile.am
2518         (ordinary_java_source_files):
2519         Added gnu/java/nio/NIOServerSocket.java.
2520         (nat_source_files):
2521         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2522         and added gnu/java/nio/natNIOServerSocket.cc.
2523         * Makefile.in: Regenerated.
2524
2525 2003-10-11  Michael Koch  <konqueror@gmx.de>
2526
2527         * java/awt/ActiveEvent.java,
2528         java/awt/datatransfer/ClipboardOwner.java,
2529         java/awt/datatransfer/FlavorMap.java,
2530         java/awt/datatransfer/Transferable.java,
2531         java/awt/dnd/Autoscroll.java,
2532         java/awt/dnd/peer/DragSourceContextPeer.java,
2533         java/awt/dnd/peer/DropTargetContextPeer.java,
2534         java/awt/dnd/peer/DropTargetPeer.java,
2535         java/awt/font/MultipleMaster.java,
2536         java/awt/font/OpenType.java,
2537         java/awt/im/spi/InputMethodDescriptor.java,
2538         java/awt/image/ImageObserver.java,
2539         java/awt/image/ImageConsumer.java,
2540         java/awt/image/ImageProducer.java,
2541         java/awt/image/RGBImageFilter.java,
2542         java/awt/image/RasterOp.java,
2543         java/awt/image/renderable/RenderableImage.java:
2544         Removed redundant modifiers.
2545
2546 2003-10-11  Michael Koch  <konqueror@gmx.de>
2547
2548         * gnu/awt/j2d/DirectRasterGraphics.java,
2549         gnu/java/awt/EmbeddedWindowSupport.java:
2550         Removed redundant modifiers.
2551
2552 2003-10-09  Michael Koch  <konqueror@gmx.de>
2553
2554         * gnu/java/nio/SelectorImpl.java (register):
2555         Use ServerSocketChannelSelectionKey for server socket channels,
2556         removed unneeded comments.
2557         * gnu/java/nio/ServerSocketChannelImpl.java
2558         (ServerSocketChannelImpl): Made class public final.
2559         (impl): New member variable.
2560         (ServerSocketChannelImpl): Initialize member variables correctly.
2561         (initServerSocket): New method.
2562         (getNativeFD): Likewise.
2563         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2564         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2565         * Makefile.am (ordinary_java_source_files):
2566         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2567         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2568         * Makefile.in: Regenrated.
2569
2570 2003-10-09  Michael Koch  <konqueror@gmx.de>
2571
2572         * java/nio/channels/spi/AbstractSelectableChannel.java
2573         (registered): Made private.
2574         (blocking): Likewise.
2575         (LOCK): Likewise.
2576         (provider): Likewise.
2577         (keys): Made it a private LinkedList.
2578         (AbstractSelectableChannel): Initialize keys.
2579         (isRegistered): New implementation.
2580         (locate): Rewritten.
2581         (register): Rewritten.
2582         * java/nio/channels/spi/AbstractSelectionKey.java
2583         (ok): Removed.
2584         (cancelled): New member variable.
2585         (cancel): Rewritten.
2586         (isValid): Rewritten.
2587         * java/nio/channels/spi/AbstractSelector.java:
2588         Some methods moved.
2589         (closed): Make private.
2590         (provider): Likewise.
2591         (cancelledKeys): New member variable.
2592         (AbstractSelector): Initialize cancelledKeys.
2593         (cancelKey): New method.
2594
2595 2003-10-09  Tom Tromey  <tromey@redhat.com>
2596
2597         * java/lang/ClassLoader.java (setSigners): Implemented.
2598         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2599         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2600         Initialize new fields.
2601         * java/lang/Class.java (getSigners): Now native.
2602         (setSigners): Declare.
2603         * java/lang/natClass.cc (getSigners): New method.
2604         (getSigners): Likewise.
2605         * java/lang/Class.h (Class::signers): New field.
2606         (Class::setSigners): New method.
2607
2608 2003-10-09  Michael Koch  <konqueror@gmx.de>
2609
2610         * java/rmi/server/RMIClassLoader.java:
2611         Removed unused imports, little reformatings.
2612         (getClassLoader): New method, implementation was part of old loadCLass
2613         method.
2614         (loadClass): Simplified by moving functionality to new method and
2615         reworking the code a bit.
2616         (getClassAnnotation): Merged documentation from classpath.
2617
2618 2003-10-09  Michael Koch  <konqueror@gmx.de>
2619
2620         * java/math/BigInteger.java
2621         (add): Removed unused local variable len.
2622
2623 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2624
2625         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2626         modality check.
2627         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2628         Initialize insets to use latest insets.
2629         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2630         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2631         field.
2632         (postConfigureEvent): Update latestInsets field when insets
2633         change.  Remove call to setSize.  Move validate call outside of
2634         if blocks.
2635         (setVisible): Call setBounds before showing window.
2636         (nativeSetVisible): New native method.
2637         * java/awt/Window.java (show): Show visible owned windows.
2638         (hide): Hide visible owned windows.
2639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2640         (awt_event_handler): Implement modality using GTK grabs.
2641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2642         (global_gtk_window_group): New global variable.
2643         (gtkInit): Initialize global_gtk_window_group.
2644         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2645         Clamp width and height values to at least 1.  Add this window to
2646         the global GTK window group.
2647         (setVisible): Rename to nativeSetVisible.
2648         (setup_window): Remove function.
2649         (setSize): Clamp width and height values to at least 1.
2650         (nativeSetBounds): Likewise.
2651         (gdk_window_get_root_geometry): Remove function.
2652         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2653         and setup_window declarations.  Declare global_gtk_window_group.
2654
2655         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2657         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2658         (gtkWidgetSetForeground): New method.
2659         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2661         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2662         (setBackground, setForeground): Implement.
2663         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2665         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2666         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2669         Position PangoLayout relative to text's baseline.
2670         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2671
2672         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2673         for CENTER and RIGHT alignments.
2674
2675 2003-10-08  Michael Koch  <konqueror@gmx.de>
2676
2677         * java/security/Security.java: Reformated.
2678
2679 2003-10-08  Michael Koch  <konqueror@gmx.de>
2680
2681         * java/text/SimpleDateFormat.java
2682         (compileFormat): Replace Character.isLetter() test with
2683         Character.isLowerCase() || Character.isUpperCase().
2684
2685 2003-10-08  Tom Tromey  <tromey@redhat.com>
2686
2687         * java/lang/StrictMath.java (toDegrees): Multiply before
2688         dividing.
2689         (toRadians): Likewise.
2690
2691 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2692
2693         * java/lang/Math.java
2694         (toRadians): multiply before dividing to reduce decimal error
2695         (toDegrees): ditto
2696
2697 2003-10-08  Michael Koch  <konqueror@gmx.de>
2698
2699         * gnu/gcj/protocol/core/Connection.java,
2700         gnu/gcj/protocol/core/CoreInputStream.java,
2701         gnu/gcj/protocol/core/Handler.java,
2702         gnu/gcj/protocol/core/natCoreInputStream.cc,
2703         gnu/gcj/protocol/file/Connection.java,
2704         gnu/gcj/protocol/file/Handler.java,
2705         gnu/gcj/protocol/gcjlib/Connection.java,
2706         gnu/gcj/protocol/gcjlib/Handler.java,
2707         gnu/gcj/protocol/http/Connection.java,
2708         gnu/gcj/protocol/http/Handler.java,
2709         gnu/gcj/protocol/jar/Connection.java,
2710         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2711         * gnu/java/net/protocol/core/Connection.java,
2712         gnu/java/net/protocol/core/CoreInputStream.java,
2713         gnu/java/net/protocol/core/Handler.java,
2714         gnu/java/net/protocol/core/natCoreInputStream.cc,
2715         gnu/java/net/protocol/file/Connection.java,
2716         gnu/java/net/protocol/file/Handler.java,
2717         gnu/java/net/protocol/gcjlib/Connection.java,
2718         gnu/java/net/protocol/gcjlib/Handler.java,
2719         gnu/java/net/protocol/http/Connection.java,
2720         gnu/java/net/protocol/http/Handler.java,
2721         gnu/java/net/protocol/jar/Connection.java,
2722         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2723         * gnu/gcj/runtime/FirstThread.java,
2724         java/net/URL.java: Use moved protocol handlers.
2725         * Makefile.am
2726         (ordinary_java_source_files): Moved files.
2727         (nat_source_files): Likewise.
2728         * Makefile.in: Regenerated.
2729
2730 2003-10-08  Michael Koch  <konqueror@gmx.de>
2731
2732         * gnu/java/nio/SocketChannelImpl.java
2733         (read): Write only read data to buffer.
2734
2735 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2736
2737         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2738         out.
2739         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2740         (JCL_free): Attach "unused" attribute to env parameter.
2741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2742         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2743         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2744         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2745         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2746         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2747         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2748         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2749         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2750         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2751         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2752         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2753         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2754         parameters.
2755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2756         (initNativeState): Pass 0 as info argument to
2757         gtk_selection_add_target.
2758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2759         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2760         unused method implementations.
2761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2762         (awt_event_handler): Add break statement after default label.
2763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2764         (drawPixels): Remove unused variable i.
2765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2766         (setEnabled): Remove method implementation.
2767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2768         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2769         argument.
2770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2771         unused function.
2772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2773         (menu_pos): Assign TRUE to push_in.
2774         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2775         argument.
2776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2777         (create): Remove unused variable layout.
2778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2779         Pass window_widget, rather than window, to
2780         gtk_widget_set_size_request.
2781         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2782         structure initialization with NULL values.
2783         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2784
2785 2003-10-08  Michael Koch  <konqueror@gmx.de>
2786
2787         * java/util/LinkedList.java:
2788         Removed whitespace to match classpath's version again.
2789
2790 2003-10-08  Michael Koch  <konqueror@gmx.de>
2791
2792         * java/util/prefs/Preferences.java
2793         (defaultFactoryClass): Fixed class name.
2794         (getFactory): Create instance of class returned by Class.forName(),
2795         reformated code.
2796
2797 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2798
2799         * javax/swing/table/AbstractTableModel.java
2800         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2801         helped stop pulling my hair on this +1 then -1 tricky thing!
2802
2803 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2804
2805         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2806         Remove unused parameters.
2807         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2808         Likewise.
2809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2810         (keyevent_state_to_awt_mods): Export function.
2811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2812         (getCaretPosition): Fix TextArea case.
2813         (textcomponent_commit_cb): Get exact event time and modifier
2814         state.
2815         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2816
2817 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2818
2819         * java/net/InetSocketAddress.java
2820         (InetSocketAddress): Made exception more clear.
2821         (equals): Handle case when addr is null.
2822         (toString): Likewise.
2823         * java/net/NetworkInterface.java
2824         (static): Load native library.
2825         (getNetworkInterfaces): Rewritten.
2826
2827 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2828
2829         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2830         field.
2831         (initializeInsets): New method.
2832         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2833         setBounds unconditionally.
2834         (setBounds): Convert coordinates if parent is a Window.
2835         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2836         field to GtkComponentPeer.
2837         (GtkContainerPeer): Don't initialize insets.
2838         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2839         New method.
2840         (create): Call new GtkWindowPeer create method.
2841         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2842         New method.
2843         (create): Call new GtkWindowPeer create method.
2844         (setBounds): Remove method.
2845         (postConfigureEvent): Likewise.
2846         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2847         type constants with GDK window type constants.
2848         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2849         (create(int,boolean)): Likewise.
2850         (create()): Call create(int,boolean).
2851         (nativeSetBounds): New native method declaration.
2852         (setBounds): Call native method declaration.
2853         (setSize): New native method declaration.
2854         (setBoundsCallback): Likewise.
2855         (postConfigureEvent): Handle change in insets.  Call setSize and
2856         setBoundsCallback methods.
2857         * java/awt/Window.java (Window): Set visible to false.
2858         (setBoundsCallback): New method.
2859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2860         (gtkWidgetGetLocationOnScreen): If this component is not a
2861         container, adjust the location returned based on the peer's
2862         allocation.
2863         (set(String,boolean)): Revert change from 2003-09-19.
2864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2865         (awt_event_handler): Fix inset calculation.
2866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2867         glue for Window.setBoundsCallback.
2868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2869         Set up stacking order, window decorations and window manager
2870         hints.
2871         (setBoundsCallback): New method.
2872         (setSize): New method.
2873         (nativeSetBounds): New method.
2874         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2875
2876 2003-10-02  Tom Tromey  <tromey@redhat.com>
2877
2878         * java/lang/VMClassLoader.java (loadClass): Now native.
2879         * java/lang/natClassLoader.cc (loadClass): Implement.
2880         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2881
2882 2003-10-02  Michael Koch  <konqueror@gmx.de>
2883
2884         * java/net/InetAddress.java
2885         (zeros): Removed.
2886         (ANY_IF): Initalizie in static block.
2887         (static): Load library with native methods here and initialize ANY_IF.
2888         (isAnyLocalAddress): Check if equal to ANY_IF.
2889         (equals): Use addr directly instead of addr1. Simplify for loop.
2890         (toString): Rename "result" to "host" and add IP address allways.
2891         (getLocalHost): Merged documentation from classpath.
2892         * java/net/ServerSocket.java
2893         (ServerSocket): New package-private constructor used by java.nio.
2894         * java/net/URLConnection.java
2895         (getRequestProperties): Check if already connected.
2896
2897 2003-10-02  Michael Koch  <konqueror@gmx.de>
2898
2899         * java/nio/ByteBufferHelper.java:
2900         Rewrote all methods by suggestions from Eric Blake.
2901
2902 2003-10-02  Michael Koch  <konqueror@gmx.de>
2903
2904         * java/net/URL.java
2905         (DEFAULT_SEARCH_PATH): New static variable.
2906         (ph_cache): Made it a HashMap.
2907         (getURLStreamHandler): Rename propVal to ph_search_path and use
2908         DEFAULT_SEARCH_PATH.
2909
2910 2003-10-02  Michael Koch  <konqueror@gmx.de>
2911
2912         * javax/swing/table/AbstractTableModel.java
2913         (findColumnName): Prevent from NullPointerException if argument
2914         columnName is null.
2915
2916 2003-10-02  Michael Koch  <konqueror@gmx.de>
2917
2918         * javax/swing/table/AbstractTableModel.java:
2919         This patch is based on a patch done by Arnaud Vandyck
2920         <arnaud.vandyck@ulg.ac.be>.
2921         (getColumnName): Fixed method documentation.
2922         (findColumn): Likewise.
2923         (getColumnClass): Likewise.
2924         (isCellEditable): Likewise.
2925         (setValueAt): Likewise.
2926         (addTableModelListener): Likewise.
2927         (removeTableModelListener): Likewise.
2928         (getTableModelListeners): New method.
2929
2930 2003-10-02  Michael Koch  <konqueror@gmx.de>
2931
2932         * javax/swing/table/AbstractTableModel.java:
2933         Reformated.
2934
2935 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2936
2937         Fix PR libgcj/12475
2938         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2939         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2940
2941 2003-10-01  Tom Tromey  <tromey@redhat.com>
2942
2943         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2944
2945 2003-10-01  Andrew Haley  <aph@redhat.com>
2946
2947         * java/lang/natClass.cc (initializeClass): Check for otable and
2948         atable.
2949         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2950         loops using for().  Search superinterfaces.  Check for fields as
2951         well as methods.  Initialize atable as well as otable: check for
2952         static methods as well as virtual methods.
2953         * java/lang/Class.h (struct _Jv_AddressTable): New.
2954         (atable): New.
2955         (atable_syms): New.
2956         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2957         * prims.cc (_Jv_equalUtf8Consts): constify.
2958
2959 2003-09-29  Tom Tromey  <tromey@redhat.com>
2960
2961         PR libgcj/10596:
2962         * include/jvm.h (_Jv_FinalizeString,
2963         _Jv_RegisterStringFinalizer): Declare.
2964         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2965         unintern.
2966         (intern): Updated.
2967         (_Jv_NewStringUtf8Const): Likewise.
2968         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2969         Add special case when finalizing a String.
2970         (in_hash): New function.
2971         (_Jv_RegisterStringFinalizer): Likewise.
2972         (maybe_add_finalize): Likewise.
2973
2974 2003-09-29  Michael Koch  <konqueror@gmx.de>
2975
2976         * java/net/InetAddress.java:
2977         (isMulticastAddress): Dont use local variable to store address length.
2978         Let the compiler optimize this.
2979         (getHostName): Merged dcoumentation from classpath.
2980         (getAddress): Likewise.
2981         (getHostAddress): Likewise.
2982         (hashCode): Likewise.
2983         (equals): Likewise.
2984         (toString): Likewise.
2985         (getByName): Likewise.
2986         (getAllByName): Likewise.
2987
2988 2003-09-29  Michael Koch  <konqueror@gmx.de>
2989
2990         * java/awt/image/IndexColorModel.java: Reformated.
2991
2992 2003-09-29  Michael Koch  <konqueror@gmx.de>
2993
2994         * java/net/InetAddress.java,
2995         java/net/URL.java: Reformated.
2996
2997 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2998
2999         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3000         significant bit of descriptor. Include the vtable and sync_info 
3001         fields.
3002
3003 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3004
3005         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3006         if `obj' is not a Number or Date instance.
3007         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3008         instead of Vector.
3009
3010 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3011
3012         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3013         Don't call setTimeZone on calendar.
3014
3015 2003-09-27  Michael Koch  <konqueror@gmx.de>
3016
3017         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3018
3019 2003-09-27  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/net/URL.java (getURLStreamHandler):
3022         Check if we have to use cache before trying to retrieve handler from
3023         cache. Rename facName to clsName to match classpath more. Reformated
3024         some little pieces.
3025
3026 2003-09-27  Michael Koch  <konqueror@gmx.de>
3027
3028         * gnu/java/nio/SelectionKeyImpl.java
3029         (ch): Make package-private again. Jikes found this bug.
3030         Jeff Sturm submitted PR12426 for this to bugzilla
3031         to fix this bug in gcj.
3032
3033 2003-09-26  Michael Koch  <konqueror@gmx.de>
3034
3035         * java/rmi/server/RMIClassLoader.java:
3036         Reformatted file, no functional code changes.
3037
3038 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3039
3040         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3041         Save space for some pixels at the buffer end.  Added Javadoc.
3042
3043 2003-09-26  Tom Tromey  <tromey@redhat.com>
3044
3045         * java/io/ObjectOutputStream.java (writeFields): Fixed
3046         indentation.
3047         (putFields): Likewise.
3048
3049 2003-09-26  Michael Koch  <konqueror@gmx.de>
3050
3051         * java/nio/ByteBufferHelper.java:
3052         Totally reworked with help from Eric Blake.
3053
3054 2003-09-26  Tom Tromey  <tromey@redhat.com>
3055
3056         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3057         * java/awt/geom/PathIterator.java: Documentation fixes.
3058
3059 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3060
3061         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3062         (select): Likewise.
3063         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3064
3065 2003-09-25  Michael Koch  <konqueror@gmx.de>
3066
3067         * gnu/java/nio/DatagramChannelImpl.java
3068         (getNativeFD): New method.
3069         * gnu/java/nio/SelectionKeyImpl.java
3070         (SelectionKeyImpl): Class made abstract.
3071         (fd): Removed.
3072         (SelectionKeyImpl): Remove fd argument.
3073         (getNativeFD): New method.
3074         * gnu/java/nio/SocketChannelImpl.java
3075         (getNativeFD): New method.
3076         gnu/java/nio/DatagramChannelSelectionKey.java,
3077         * gnu/java/nio/SocketChannelSelectionKey.java:
3078         New files.
3079         * Makefile.am (ordinary_java_source_files):
3080         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3081         gnu/java/nio/SocketChannelSelectionKey.java.
3082         * Makefile.in: Regenerated.
3083
3084 2003-09-25  Michael Koch  <konqueror@gmx.de>
3085
3086         * java/lang/reflect/Proxy.java
3087         (getProxyClass): Remove workaround for gcj 3.0.x.
3088
3089 2003-09-25  Michael Koch  <konqueror@gmx.de>
3090
3091         * gnu/java/net/PlainDatagramSocketImpl.java
3092         (finalize): Moved to directly after constructor.
3093         (getNativeFD): New method.
3094         * gnu/java/net/PlainSocketImpl.java
3095         (getNativeFD): New method.
3096
3097 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3098
3099         * java/io/ObjectOutputStream.java:
3100         Allow putFields be called more than once.
3101
3102 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3103
3104         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3105         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3106         * java/awt/image/BufferedImage.java (toString): Implement.
3107
3108 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3109
3110         * aclocal.m4: Rebuilt.
3111         * configure: Rebuilt.
3112
3113 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3114
3115         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3116         field.
3117
3118 2003-09-25  Michael Koch  <konqueror@gmx.de>
3119
3120         * gnu/java/nio/SelectorImpl.java
3121         (implSelect): Renamed from java_do_select.
3122         (select): Call native implSelect() and add support for Thread
3123         interruption.
3124         * gnu/java/nio/natSelectorImpl.cc
3125         (implSelect): Renamed from java_do_select.
3126
3127 2003-09-25  Michael Koch  <konqueror@gmx.de>
3128
3129         * gnu/java/nio/SelectorImpl.java
3130         (selectNow): Made final, throws IOException.
3131         (select): Likewise.
3132         (getFDsAsArray): Made final.
3133         (selectedKeys): Likewise.
3134         (wakeup): Likewise.
3135         (deregisterCancelledKeys): Likewise.
3136         (register): Likewise.
3137         (ass): Removed.
3138         (add_selected): Removed.
3139         * gnu/java/nio/natSelectorImpl.cc:
3140         No need to include bstring.h or gcj/cni.h.
3141         (helper_put_filedescriptors): Rewritten.
3142         (helper_get_filedescriptors): Rewritten.
3143
3144 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3145
3146         * java/awt/font/FontRenderContext.java (getTransform): Return
3147         copy of internal transform object. Add Javadoc.
3148         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3149         winding rule as Sun J2SE.
3150         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3151
3152 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3153
3154         * java/rmi/Naming.java:
3155         Added comments, now accepts pseudo protocol "rmi".
3156
3157 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3158
3159         * java/text/DecimalFormat.java (format): Don't immediatly round
3160         baseNumber to long.
3161         (setMinimumIntegerDigits): Call super.
3162         (setMinimumFractionDigits): Likewise.
3163         (setMaximumIntegerDigits): Likewise.
3164         (setMaximumFractionDigits): Likewise.
3165
3166 2003-09-25  Michael Koch  <konqueror@gmx.de>
3167
3168         * gnu/java/nio/DatagramChannelImpl.java
3169         (DatagramChannelImpl): Made class final.
3170         (blocking): Made private.
3171         (socket): Made it a NIODatagramSocket and private.
3172         (DatagramChannelImpl): create NIODatagramSocket instead of
3173         DatagramSocket.
3174         (implConfigureBlocking): Set socket timeout.
3175         (connect): Check that channel is not closed.
3176         (write): Implemented.
3177         (write): Rewritten.
3178         (read): Implemented.
3179         (read): Rewritten.
3180         (receive): Implemented.
3181         (send): Implemented.
3182         * gnu/java/nio/SelectionKeyImpl.java
3183         (readyOps): Made private.
3184         (interestOps): Made private.
3185         (impl): Made private.
3186         (ch): Made private.
3187         (readyOps): Check if selection key is valid.
3188         (interestOps): Likewise.
3189         * gnu/java/nio/SelectorImpl.java
3190         (closed): Removed.
3191         (keys): Made private.
3192         (selected): Made private.
3193         (finalize): New method.
3194         (implCloseSelector): Rewritten.
3195         (keys): Return unmodifiable Set.
3196         (deregisterCancelledKeys): Fixed typo in method name.
3197         * gnu/java/nio/SocketChannelImpl.java
3198         (SocketChannelImpl): Made class final.
3199         (socket): Made it a NIOSocket and private.
3200         (blocking): Made private.
3201         (connected): Made private.
3202         (connectionPending): New member variable.
3203         (SocketChannelImpl): New implementation.
3204         (finalizer): Use isConnected().
3205         (connect): Rewritten.
3206         (finishConnect): Throws IOException, implemented.
3207         (isConnectionPending): Return connectionPending.
3208         (read): Rewritten.
3209         (write): Rewritten.
3210         * gnu/java/nio/NIOConstants.java: New file.
3211         * Makefile.am (ordinary_java_source_files):
3212         Added gnu/java/nio/NIOConstants.java.
3213         * Makefile.in: Regenerated.
3214
3215 2003-09-25  Michael Koch  <konqueror@gmx.de>
3216
3217         * java/net/InetAddress.java:
3218         Reorder imports, remove implementation comment.
3219         (isMulticastAddress): Merged documentation from classpath.
3220         * java/net/URLConnection.java
3221         (setRequestProperty): Check key for null, fix documentation.
3222         (adREquestProperty): Check key for null, remove wrong implementation
3223         and replace it with comment to overwrite this method in subclasses,
3224         fix documentation.
3225
3226 2003-09-25  Tom Tromey  <tromey@redhat.com>
3227
3228         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3229         domain code.
3230         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3231         argument.
3232         (linkClass0): Now in VMClassLoader.
3233         (markClassErrorState0): Likewise.
3234         (getSystemClassLoaderInternal): New method.
3235         * java/lang/natClass.cc (initializeClass): Use
3236         VMClassLoader::resolveClass.
3237         * java/lang/ClassLoader.java: New version, from Classpath.
3238         * java/lang/Class.java (getProtectionDomain):
3239         protectionDomainPermission and unknownProtectionDomain now in
3240         VMClassLoader.
3241         * java/lang/Class.h: VMClassLoader now a friend class.
3242         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3243         package-private.
3244         * gcj/javaprims.h: Regenerated class list.
3245         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3246         * java/lang/VMClassLoader.java: New version from Classpath;
3247         modified for libgcj use.
3248
3249 2003-09-25  Michael Koch  <konqueror@gmx.de>
3250
3251         * java/nio/ByteBufferHelper.java:
3252         New file.
3253         * java/nio/ByteBufferImpl.java,
3254         java/nio/DirectByteBufferImpl.java,
3255         java/nio/MappedByteBufferImpl.java
3256         (getType,putType): Use new helper class ByteBufferHelper.
3257         * Makefile.am (ordinary_java_source_files):
3258         Added java/nio/ByteBufferHelper.java.
3259         * Makefile.in: Regenerated.
3260
3261 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3262
3263         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3264         PR libgcj/12388.
3265
3266 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3267
3268         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3269         Strings, even if buffer is already shared.
3270
3271 2003-09-24  Michael Koch  <konqueror@gmx.de>
3272
3273         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3274
3275 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3276
3277         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3278         (write): Likewise.
3279         (SocketInputStream): Declare `read' and `write' methods native.
3280         Remove implementations which called back into PlainSocketImpl.
3281         Remove unneccessary overridden methods.
3282         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3283         to inner class PlainSocketImpl.SocketInputStream.
3284         (write): Likewise.
3285         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3286         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3287         * gnu/java/net/SocketInputStream.java: Remove unused file.
3288         * gnu/java/net/SocketOutputStream.java: Likewise.
3289         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3290         and SocketOutputStream.
3291         * Makefile.in: Rebuilt.
3292
3293 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3294
3295         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3296
3297         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3298         markers.
3299
3300 2003-09-22  Anthony Green  <green@redhat.com>
3301
3302         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3303         * configure: Rebuilt.
3304
3305 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3306
3307         PR java/12350:
3308         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3309
3310 2003-09-22  Michael Koch  <konqueror@gmx.de>
3311
3312         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3313         compiler warning but produces a different one now.
3314
3315 2003-09-22  Michael Koch  <konqueror@gmx.de>
3316
3317         * java/net/InetAddress.java:
3318         Moves around some code, reformats and adds documentation.
3319         No functional changes.
3320
3321 2003-09-22  Michael Koch  <konqueror@gmx.de>
3322
3323         * java/net/JarURLConnection.java
3324         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3325         (getCertificates): Made it more error prone.
3326         (getMainAttributes): Likewise.
3327         (getAttributes): Implemented.
3328         (getManifest): Reformatted code.
3329
3330 2003-09-20  Tom Tromey  <tromey@redhat.com>
3331
3332         * java/awt/Component.java: Indentation cleanup from Classpath.
3333
3334 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3335
3336        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3337        checking to follow 1.4.2 spec.
3338
3339 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3340
3341         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3342         is compatible in case client and server are running in the same VM
3343         (remerged from Classpath on 2003-09-20)
3344
3345 2003-09-19  David Daney <ddaney@avtrex.com>
3346
3347         * java/lang/ref/Reference.java (clear): Set referent to null and
3348         synchronize.
3349
3350 2003-09-19  Michael Koch  <konqueror@gmx.de>
3351
3352         * gnu/java/nio/NIODatagramSocket.java,
3353         gnu/java/nio/NIOSocket.java: New files.
3354         * Makefile.am (ordinary_java_source_files):
3355         Added gnu/java/nio/NIODatagramSocket.java and
3356         gnu/java/nio/NIOSocket.java.
3357         * Makefile.in: Regenerated.
3358
3359 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3360
3361         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3362         top-level GTK window.
3363         (getArgs): Add "title" property.
3364         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3365         "allow_shrink" and "allow_grow" properties.
3366         * java/awt/Dialog.java: Initialize resizable to true and change
3367         comments accordingly.  Initialize visible to false in
3368         constructors.
3369         * java/awt/Frame.java (dispose): Remove method.
3370         * java/awt/Window.java (ownedWindows): New field.
3371         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3372         owner's ownedWindows vector.
3373         (finalize): Remove method.
3374         (hide): Hide owned windows.
3375         (dispose): Dispose of owned windows.
3376         (getOwnedWindows): Implement.
3377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3378         unused GtkArg code.
3379         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3380         to TRUE or FALSE.
3381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3382         (create): Set window's size requisition.
3383         (connectHooks): Fix indentation.
3384         (setResizable): Remove function.
3385         (static setBounds): Likewise.
3386         (setBounds): Replace call to setBounds with GTK size requisition
3387         and resize calls.
3388
3389 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3390
3391         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3392         function for lazy initialization of an auto-reset event.
3393         (_Jv_CondWait) Added thread interrupt support.
3394         (_Jv_ThreadInitData) Added initialization of interrupt support
3395         members.
3396         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3397         (_Jv_ThreadStart) Removed unused code.
3398         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3399         to an external caller.
3400         (_Jv_ThreadInterrupt) Implemented.
3401         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3402         event for interrupt support as well as a mutex which regulates
3403         access to this.
3404         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3405         event to an external caller.
3406         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3407         process.
3408         (waitFor) Added interrupt support.
3409
3410 2003-09-19  Michael Koch  <konqueror@gmx.de>
3411
3412         * java/net/DatagramSocket.java (getLocalAddress):
3413         Renamed result variable to localAddr.
3414         * java/net/MulticastSocket.java:
3415         No need to import gnu.java.net.PlainDatagramSocketImpl.
3416
3417 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3418
3419         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3420         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3421
3422 2003-09-18  Tom Tromey  <tromey@redhat.com>
3423
3424         * javax/naming/InitialContext.java: Reindented.
3425
3426 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3427             Helmer Kraemer <hkraemer@freenet.de>
3428
3429         * javax/naming/spi/NamingManager.java (getURLContext,
3430         getObjectInstance, getStateToBind): Always use current thread's
3431         context class loader when calling Class.forName.
3432
3433 2003-09-18  Michael Koch  <konqueror@gmx.de>
3434
3435         * java/util/Timer.java (finalize): Added "throws Throwable".
3436
3437 2003-09-18  Michael Koch  <konqueror@gmx.de>
3438
3439         * java/net/DatagramSocket.java
3440         (ch): Removed.
3441         (receive): Use getChannel() instead of ch.
3442         (send): Likewise.
3443         (getChannel): Return null.
3444         * java/net/ServerSocket.java
3445         (ch): Removed.
3446         (setChannel): Removed.
3447         (implAccept): Use getChannel() instead of ch.
3448         (close): Likewise.
3449         (getChannel): Return null.
3450         * java/net/Socket.java
3451         (ch): Removed.
3452         (connect): Use getChannel() instead of ch.
3453         (setChannel): Removed.
3454         (getChannel): Return null.
3455
3456 2003-09-18  Mark Wielaard  <mark@klomp.org>
3457
3458         Reported by Guilhem Lavaux and Julian Dolby
3459         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3460         field "serialPersistentFields", not "getSerialPersistentFields".
3461
3462 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3463
3464         * java/util/TimeZone.java: Initialize lazily.
3465         * java/util/Locale.java (readManifest): Fix check for country.
3466         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3467         traceable 
3468         * java/util/Calendar.java: Make use of ResourceBundle better
3469         traceable.
3470
3471 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3472
3473         * java/sql/Timestamp.java
3474         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3475
3476 2003-09-18  David P Grove  <groved@us.ibm.com>
3477
3478         * java/io/LineNumberReader (read): Don't reset pos & limit when
3479         markPos is 0.
3480
3481 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3482
3483         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3484         constant.
3485         (computeArguments): use computeTypicalArguments.
3486
3487         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3488         Compile_jikes.java and RMICException.java.
3489         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3490         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3491         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3492  
3493         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3494  
3495         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3496         (computeTypicalArguments): New method.
3497         (compile): Print compiler output to System.out. Collect compiler
3498         error output and use it in exception message.
3499  
3500         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3501         (destination): Initialize to null.
3502         (run): Replace file separator with '.' when processing class.
3503         (processClass): Replace '.' with file separator when compiling
3504         classes.
3505         (findClass): Use SystemClassLoader to load class.
3506         (generateStub): Use full class name for generated stub, that puts
3507         it in right path.  Replace '.' with file separator when generating
3508         stub file name. Write just the stub class name without package
3509         information as class name, and constructor name. Write only
3510         interface names for interfaces extending java.rmi.Remote as
3511         implemented.
3512         (generateSkel): Use full class name for generated skel, that puts
3513         it in right path.  Replace '.' with file separator when generating
3514         stub file name. Write just the stub class name without package
3515         information as class name.
3516
3517 2003-09-18  Michael Koch  <konqueror@gmx.de>
3518
3519         * Makefile.am (rmi_java_source_files):
3520         Added gnu/java/rmi/rmic/Compile_kjc.java,
3521         gnu/java/rmi/rmic/Compile_jikes.java and
3522         gnu/java/rmi/rmic/RMICException.java
3523         * Makefile.in: Regenerated.
3524
3525 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3526
3527         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3528         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3529         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3530         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3531         New files.
3532
3533 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3534
3535         * java/awt/BufferedImage.java (setData): Support non-component
3536         sample models.
3537         (getData): Same.
3538
3539 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3540
3541         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3542         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3543
3544 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3545
3546         * configure.in: Standardized help text case of
3547         --enable-hash-synchronization
3548         New configure switch --enable-libgcj-multifile and corresponding
3549         automake conditional ONESTEP.
3550         * configure: Rebuilt.
3551         * Makefile.am: Use automake conditional ONESTEP to determine
3552         whether classfiles should be compiled individually or all
3553         at once.
3554         * Makefile.in: Rebuilt.
3555
3556 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3557
3558         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3559         Remove method declaration.
3560         (create()): Call native create.
3561         (create(int)): New method.
3562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3563         (create): Add window_id parameter.  Call gtk_plug_new with
3564         window_id parameter.
3565         (construct): Remove method implementation.
3566
3567 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3568
3569         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3570         (mostlyclean-local): New target patterned after clean-local
3571         which recursively deletes all libtool objects using 'libtool rm'.
3572         (clean-local): Slightly modified comment to alleviate monotony.
3573         (distclean-local): New target patterned after clean-local
3574         which recursively deletes all .d files.
3575         * Makefile.in: Rebuilt.
3576
3577 2003-09-11  Tom Tromey  <tromey@redhat.com>
3578
3579         * java/net/URLStreamHandler.java (parseURL): If original file
3580         ends with "/", so must canonical result.
3581         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3582         with nul-termination and finding previous "/".
3583
3584 2003-09-11  Michael Koch  <konqueror@gmx.de>
3585
3586         * acconfig.h: Removed most items.
3587         * configure.in: Added descriptions to AC_DEFINE macros that where in
3588         acconfig.h before.
3589         * include/config.h.in: Regenerated.
3590
3591 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3592
3593         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3594         if one is installed. Improve Javadoc.
3595         (getSystemEventQueueImpl): Improve Javadoc.
3596
3597 2003-09-11  Tom Tromey  <tromey@redhat.com>
3598
3599         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3600         file does not exist.
3601
3602 2003-09-10  Anthony Green  <green@redhat.com>
3603
3604         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3605         Specify full name when referencing ::java::net::InetAddress.
3606         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3607         Fix argument type.
3608
3609 2003-09-10  Michael Koch  <konqueror@gmx.de>
3610
3611         * acconfig.h (__NO_MATH_INLINES): Removed.
3612         * configure.in: Removed check for g++ math inlining bug from 2000.
3613         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3614         libgcj_cxxflags.
3615         * configure: Regenerated.
3616
3617 2003-09-10  David Daney <ddaney@avtrex.com>
3618
3619         * java/util/Arrays.java (equals(all variants)): Quit using
3620         NullPointerException catching to detect null valued parameters.
3621
3622 2003-09-10  Michael Koch  <konqueror@gmx.de>
3623
3624         * java/net/DatagramSocket.java,
3625         java/net/MulticastSocket.java,
3626         java/net/ServerSocket.java,
3627         java/net/Socket.java:
3628         Use gnu.java.net.Plain*SocketImpl instead of
3629         java.net.PlainSocketImpl.
3630         * java/net/PlainDatagramSocketImpl.java,
3631         java/net/PlainSocketImpl.java,
3632         java/net/SocketInputStream.java,
3633         java/net/SocketOutputStream.java,
3634         java/net/natPlainDatagramSocketImplNoNet.cc,
3635         java/net/natPlainDatagramSocketImplPosix.cc,
3636         java/net/natPlainDatagramSocketImplWin32.cc,
3637         java/net/natPlainSocketImplNoNet.cc,
3638         java/net/natPlainSocketImplPosix.cc,
3639         java/net/natPlainSocketImplWin32.cc:
3640         Removed.
3641         * gnu/java/net/PlainDatagramSocketImpl.java,
3642         gnu/java/net/PlainSocketImpl.java,
3643         gnu/java/net/SocketInputStream.java,
3644         gnu/java/net/SocketOutputStream.java,
3645         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3646         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3647         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3648         gnu/java/net/natPlainSocketImplNoNet.cc,
3649         gnu/java/net/natPlainSocketImplPosix.cc,
3650         gnu/java/net/natPlainSocketImplWin32.cc:
3651         New files (moved from java/net).
3652         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3653         instead of java/net/natPlain*SocketImpl.cc.
3654         * configure: Regenerated.
3655         * Makefile.am: Moved files from java/net to gnu/java/net.
3656         * Makefile.in: Regenerated.
3657
3658 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3659
3660         * configure: Regenerate.
3661
3662 2003-09-04  Tom Tromey  <tromey@redhat.com>
3663
3664         * configure.host: Removed erroneous comment.
3665
3666         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3667         lvalue cast; use correct rvalue cast.
3668
3669 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3670
3671         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3672         and height arguments to GtkWindowPeer.create method call.
3673         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3674         (create(int,int,int)): New method.
3675         (create(int)): Add call to new create method.
3676         (create()): Add width and height arguments to create method
3677         call.
3678         (GtkWindowPeer): Remove call to setBounds.
3679         * java/awt/Frame.java (Frame(String)): Initialize visible field
3680         to false.
3681         (Frame(GraphicsConfiguration)): Likewise.
3682         (Frame(String,GraphicsConfiguration)): Likewise.
3683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3684         Add width and height parameters.  Call
3685         gtk_window_set_default_size.
3686         (connectHooks): Remove unused name variable.
3687         (static setBounds): Call gtk_window_resize not
3688         gtk_widget_set_usize.
3689         (setBounds): Remove unused nchildren variable.
3690
3691 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3692
3693         * java/util/logging/Logger.java: provide class and method information
3694         * java/util/logging/LogManager.java: create handlers
3695         * java/util/logging/SimpleFormatter.java: print souceClassName and
3696         sourceMethodName
3697
3698 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3699
3700         * win32.cc: fixed tab, indentation and whitespace
3701         inconsistencies
3702         removed jvm.h include
3703         added includes java/lang/UnsupportedOperationException.h,
3704         java/io/IOException.h, java/net/SocketException.h
3705         (WSAEventWrapper): class implementation
3706         (_Jv_WinStrError): implemented both overloads
3707         (_Jv_ThrowIOException): implemented both overloads
3708         (_Jv_ThrowSocketException): implemented both overloads
3709         (_Jv_select): implemented
3710         * include/win32.h: fixed tab, indentation and whitespace
3711         inconsistencies
3712         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3713         added jvm.h include
3714         (WSAEventWrapper): added class declaration
3715         (_Jv_WinStrError): added both overload declarations
3716         (_Jv_ThrowIOException): added both overload declarations
3717         (_Jv_ThrowSocketException): added both overload declarations
3718         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3719         (_Jv_select): added declaration
3720         (_Jv_socket): removed
3721         (_Jv_connect): removed
3722         (_Jv_close): removed
3723         (_Jv_bind): removed
3724         (_Jv_accept): removed
3725         (_Jv_listen): removed
3726         (_Jv_write): removed
3727         (_Jv_read): removed
3728         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3729         whitespace inconsistencies
3730         replaced <windows.h> #include with <platform.h>
3731         removed jvm.h include
3732         (testCanUseGetHandleInfo): new function which tests whether Win32
3733         GetHandleInformation() call can be used with console buffer handles
3734         (only supported on >=WinNT 5.0)
3735         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3736         (valid): rewrote implementation using GetHandleInformation()
3737         (sync):         changed exception throwing to use error string and exception
3738         helper methods declared in include/win32.h
3739         (open): likewise
3740         (write): likewise
3741         (setLength): likewise
3742         (close): likewise
3743         (seek): likewise
3744         (getFilePointer): likewise
3745         (read): likewise
3746         * java/io/natFileWin32.cc: fixed tab, indentation and
3747         whitespace inconsistencies
3748         replaced <windows.h> #include with <platform.h>
3749         removed jvm.h include
3750         (_access): use JV_TEMP_UTF_STRING
3751         (_stat): likewise
3752         (performMkDir): use JV_TEMP_UTF_STRING
3753         (performRenameTo): likewise
3754         (performDelete): likewise
3755         (performCreate): likewise
3756         (performSetReadOnly): likewise
3757         (performSetLastModified): likewise
3758         * java/lang/natWin32Process.cc: fixed tab, indentation and
3759         whitespace inconsistencies
3760         replaced <windows.h> #include with <platform.h>
3761         removed includes gcj/cni.h, jvm.h
3762         (new_string): removed
3763         (startProcess): use JV_TEMP_UTF_STRING,
3764         changed exception throwing to use error string and exception
3765         helper methods declared in include/win32.h
3766         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3767         whitespace inconsistencies
3768         replaced <windows.h> #include with <platform.h>
3769         removed jvm.h include
3770         removed DISABLE_JAVA_NET conditional code
3771         removed POSIX conditional code not relevant to Win32
3772         (aton): use JV_TEMP_UTF_STRING
3773         removed POSIX conditional code not relevant to Win32
3774         (lookup): likewise
3775         (getLocalHostName): likewise
3776         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3777         whitespace inconsistencies
3778         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3779         removed DISABLE_JAVA_NET conditional code
3780         removed POSIX conditional code not relevant to Win32
3781         (winsock2GetRealNetworkInterfaces): new function to compute network
3782         interfaces via Winsock2 API
3783         (determineGetRealNetworkInterfacesFN): new function for returning
3784         a function pointer to the function used to compute network interfaces.
3785         (getRealNetworkInterfaces): implemented
3786         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3787         whitespace inconsistencies
3788         removed gcj/cni.h include
3789         removed DISABLE_JAVA_NET conditional code
3790         removed POSIX conditional code not relevant to Win32
3791         changed net POSIXisms to Win32isms
3792         replaced _Jv socket-related calls with their real Win32 equivalents
3793         changed exception throwing to use error string and exception
3794         helper methods declared in include/win32.h
3795         (peekData): implemented timeout support
3796         (receive): likewise
3797         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3798         whitespace inconsistencies
3799         removed gcj/cni.h and gcj/javaprims.h includes
3800         removed DISABLE_JAVA_NET conditional code
3801         removed POSIX conditional code not relevant to Win32
3802         changed net POSIXisms to Win32isms
3803         replaced _Jv socket-related calls with their real Win32
3804         equivalents
3805         changed exception throwing to use error string and exception
3806         helper methods declared in include/win32.h
3807         (throwConnectException): helper function for connect()
3808         (connect): implemented timeout support
3809         (accept): likewise
3810         (doRead): new helper function common to both read() method overloads,
3811         includes timeout support
3812         (read): implemented both overloads in terms of doRead()
3813         (available): implemented using ioctlsocket()
3814
3815 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3816
3817         * java/net/natInetAddressWin32.cc,
3818         java/net/natNetworkInterfaceWin32.cc,
3819         java/net/natPlainDatagramSocketImplWin32.cc,
3820         java/net/natPlainSocketImplWin32.cc:
3821         Readded code enclosed in DISABLE_JAVA_NET defines
3822         in preparation for MinGW cleanup / networking
3823         patch
3824
3825 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3826
3827         * Makefile.am: Fixed problems with parallel makes.
3828         (all_java_class_files): Readded definition.
3829         (all_java_class_files): New target which depends on
3830         libgcj-@gcc_version@.jar
3831         * Makefile.in: Rebuilt
3832
3833 2003-08-28  Tom Tromey  <tromey@redhat.com>
3834
3835         * Makefile.in: Rebuilt.
3836         * Makefile.am (ordinary_java_source_files): Added new files.
3837         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3838         friend.
3839         * java/net/URLClassLoader.java (findClass): Don't use
3840         findURLResource.  Use loader's getClass method.
3841         (URLLoader.getClass): New method.
3842         (addURL): Handle `gcjlib' URLs.
3843         (SoURLLoader): New class.
3844         (SoResource): Likewise.
3845         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3846         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3847         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3848         (_Jv_RegisterCoreHook): Declare.
3849         (_Jv_FindCore): Declare.
3850         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3851         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3852         typedef.
3853         (core_hook): New function.
3854         (struct SharedLibDummy) [saved_core]: New field.
3855         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3856         (register_hook): Set protection domain and class loader on new
3857         class.
3858         (finalize): Free core chain.
3859         * gnu/gcj/Core.java (Core): New constructor.
3860         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3861         SharedLibHelper.
3862         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3863         (_Jv_create_core): New function.
3864         (create): Use it.
3865         (default_register_resource): New function.
3866         (_Jv_RegisterCoreHook): New global.
3867         (_Jv_RegisterResource): Use it.
3868         (core_chain_struct): Removed.
3869         (_Jv_FindCore): New function.
3870         (_Jv_FreeCoreChain): New function.
3871
3872 2003-08-29  Michael Koch  <konqueror@gmx.de>
3873
3874         * java/net/natInetAddressWin32.cc,
3875         java/net/natNetworkInterfaceWin32.cc,
3876         java/net/natPlainDatagramSocketImplWin32.cc,
3877         java/net/natPlainSocketImplWin32.cc:
3878         Removed code enclosed in DISABLE_JAVA_NET defines.
3879
3880 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3881
3882         * Makefile.am: (write_entries_to_file) New parameterized
3883         function for writing entries to a file one line at a time.
3884         (all_java_class_files): Removed definition.
3885         (.java.class) Removed.target.
3886         (libgcj-@gcc_version@.jar): Changed dependency to
3887         $(all_java_source_files); added compilation step which compiles
3888         all changed source files in one pass.
3889         (libgcj.la) Refactored to use write_entries_to_file.
3890         (lib-gnu-awt-xlib.la) Likewise.
3891         (install-data-local) Likewise.
3892         (write-entries-to-file-check) New target which tests write_entries_to_file.
3893         (all-recursive): Changed dependency from $(all_java_class_files)
3894         to libgcj-@gcc_version@.jar
3895         * Makefile.in: Rebuilt.
3896
3897 2003-08-26  Tom Tromey  <tromey@redhat.com>
3898
3899         * java/lang/StrictMath.java: Typo fix.
3900         * java/lang/Math.java: Typo fix.
3901
3902 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3903
3904         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3905         of the removed Thread.
3906
3907 2003-08-26  Mark Wielaard  <mark@klomp.org>
3908
3909         Reported by David Holmes <dholmes@dltech.com.au>.
3910         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3911         Collections.synchronizedMap.
3912         * java/lang/ThreadLocal.java (valueMap): Likewise.
3913
3914 2003-08-26  Mark Wielaard  <mark@klomp.org>
3915
3916         * java/security/acl/Acl.java: Fix broken p tag.
3917         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3918         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3919         * javax/swing/plaf/TreeUI.java: Likewise.
3920         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3921         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3922         documentation.
3923         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3924         tag.
3925
3926 2003-08-26  Tom Tromey  <tromey@redhat.com>
3927
3928         * Makefile.in: Rebuilt.
3929         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3930
3931         * java/lang/ref/Reference.java (get): Indentation fix.
3932         (clear): Comment fix.
3933         (enqueue): Likewise.
3934         (lock): Likewise.
3935         (referent): Likewise.
3936
3937 2003-08-26  Tom Tromey  <tromey@redhat.com>
3938
3939         PR java/12058:
3940         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3941
3942         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3943         (ProxyData.getPackage): New method.
3944         (ProxyData.getProxyData): Use package name, not Package.
3945         (ClassFactory.ClassFactory): Updated.
3946
3947 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3948         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3949         * Makefile.in: re-generated.
3950         * gnu/awt/j2d/IntegerGraphicsState.java
3951         (ScreenCoupledImage): new interface.
3952         (drawImage): detect ScreenCoupledImage instances.
3953         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3954         * gnu/awt/xlib/XEventLoop.java
3955         (createEvent): re-formatted, and rearranged to avoid null pointer.
3956         * gnu/awt/xlib/XGraphics.java
3957         (drawImage): added XOffScreenImage handling.
3958         * gnu/awt/xlib/XOffScreenImage.java: new file.
3959         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3960         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3961         * gnu/gcj/xlib/XAnyEvent.java
3962         (TYPE_KEY_PRESS): new constant.
3963         (TYPE_KEY_RELEASE): new constant.
3964         (TYPE_MOTION_NOTIFY): new constant.
3965         (TYPE_ENTER_NOTIFY): new constant.
3966         (TYPE_LEAVE_NOTIFY): new constant.
3967         (TYPE_FOCUS_IN): new constant.
3968         (TYPE_FOCUS_OUT): new constant.
3969         (TYPE_KEYMAP_NOTIFY): new constant.
3970         (TYPE_GRAPHICS_EXPOSE): new constant.
3971         (TYPE_NO_EXPOSE): new constant.
3972         (TYPE_VISIBILITY_NOTIFY): new constant.
3973         (TYPE_CREATE_NOTIFY): new constant.
3974         (TYPE_DESTROY_NOTIFY): new constant.
3975         (TYPE_MAP_REQUEST): new constant.
3976         (TYPE_CONFIGURE_REQUEST): new constant.
3977         (TYPE_GRAVITY_NOTIFY): new constant.
3978         (TYPE_RESIZE_REQUEST): new constant.
3979         (TYPE_CIRCULATE_NOTIFY): new constant.
3980         (TYPE_CIRCULATE_REQUEST): new constant.
3981         (TYPE_PROPERTY_NOTIFY): new constant.
3982         (TYPE_SELECTION_CLEAR): new constant.
3983         (TYPE_SELECTION_REQUEST): new constant.
3984         (TYPE_SELECTION_NOTIFY): new constant.
3985         (TYPE_COLORMAP_NOTIFY): new constant.
3986         (TYPE_MAPPING_NOTIFY): new constant.
3987         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3988         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3989         * java/awt/Component.java (createImage): changed to use peer method.
3990
3991 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3992
3993         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3994         name, not XLFD, to native drawString.
3995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3996         Replace XLFD-based implementation with Pango-based
3997         implementation.
3998
3999 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4000
4001         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4002         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4003
4004 2003-08-21  David Daney  <ddaney@avtrex.com>
4005
4006         Fix for PR libgcj/12013:
4007         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4008         Check `cleared' field.
4009         * java/lang/ref/Reference.java (copy): Updated comments.
4010         (cleared): New field.
4011         (clear): Rewrote.
4012
4013 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4014             Thomas Fitzsimmons  <fitzsim@redhat.com>
4015
4016         * Makefile.am (gtk_awt_peer_sources): Add
4017         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4018         gnu/java/awt/GLightweightPeer.java.
4019         * gnu/java/awt/GLightweightPeer.java: Remove file.
4020         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4021         * java/awt/Component.java (getToolkit): Add comment about
4022         lightweight components.
4023         * java/awt/Toolkit.java (createComponent): Return
4024         gnu.java.awt.peer.GLightweightPeer.
4025
4026 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4027
4028         * configure.in: Fix detection of gcj when building with newlib.
4029         * configure: Regenerated.
4030
4031 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4032
4033         * jni.cc: Replace "cheating" pointer-casting code with
4034         extract_from_jvalue<> template.
4035
4036 2003-08-20  Andrew Haley  <aph@redhat.com>
4037
4038         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4039         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4040         (classAt): Break out class lookup function into getClass().
4041         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4042         handlers when using -fno-assume-compiled.
4043
4044 2003-08-20  Tom Tromey  <tromey@redhat.com>
4045
4046         Fix for PR libgcj/9125:
4047         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4048         object outside of loop.  Respect lib_control setting.
4049         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4050         field.
4051         (lib_control): New field.
4052         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4053         (VMClassLoader): Initialize new field.
4054
4055         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4056         Set `list->reference' to DELETED_REFERENCE when removing dead
4057         object.
4058         (find_slot): Added an assert.
4059         (DELETED_REFERENCE): New define.
4060         (add_to_hash): Check for DELETED_REFERENCE.
4061         (remove_from_hash): Just return if found slot isn't ours.
4062
4063 2003-08-19  Andrew Haley  <aph@redhat.com>
4064
4065         * prims.cc (unblock_signal): New function.
4066         (catch_segv): Use it.
4067         (catch_fpe): Likewise.
4068
4069 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4070
4071         PR libgcj/11575
4072         * java/io/natFileDescriptorWin32.cc (open): Set create
4073         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4074         Honor EXCL when openning with WRITE flag. 
4075
4076 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4077
4078         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4079         getting a temporary C string from a jstring)
4080         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4081         but uses a stack buffer if the string length is less than 256
4082         bytes.
4083
4084 2003-08-18  Tom Tromey  <tromey@redhat.com>
4085
4086         PR libgcj/11951:
4087         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4088         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4089         value.  Added is_jni_call argument; only wrap exception if not a
4090         JNI call.  Use descriptive message if operation not supported.
4091         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4092         array class.
4093         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4094         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4095         _Jv_CallAnyMethodA.
4096         (_Jv_JNI_CallAnyMethodA): Likewise.
4097         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4098         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4099
4100 2003-08-13  Tom Tromey  <tromey@redhat.com>
4101
4102         * gij.cc (help): Document -? and -X.
4103
4104 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4105
4106         * java/awt/Font.java: 
4107         Stub out more recent API. 
4108
4109 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4110
4111         * java/awt/Color.java (getAlpha): 
4112         Prevent sign-extended alpha values.
4113
4114 2003-08-12  Tom Tromey  <tromey@redhat.com>
4115
4116         * gij.cc (main): Handle -? and -X.
4117
4118 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4119
4120         * java/awt/Container.java
4121         (getPreferredSize): Call preferredSize.
4122         (preferredSize): Moved body of getPreferredSize here.
4123         (getMinimumSize): Call minimumSize.
4124         (minimumSize): Moved body of getMinimumSize here.
4125
4126 2003-08-11  Tom Tromey  <tromey@redhat.com>
4127
4128         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4129         (postEvent): Removed FIXME comment.
4130         (isDispatchThread): Documented.
4131         (getCurrentEvent): New method.
4132         (dispatchEvent): Set currentEvent and lastWhen.
4133         (getMostRecentEventTime): Rewrote.
4134         (invokeLater): Documented.
4135
4136 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4137
4138         * java/io/PrintStream.java (print): Always flush if auto_flush is
4139         set. Don't check for newline characters.
4140         (write (int)): Implement without using a temporary array.
4141         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4142         check for newline characters.
4143         Fixes PR libgcj/11778.
4144
4145 2003-08-08  Andrew Haley  <aph@redhat.com>
4146
4147         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4148         * Makefile.in: Rebuild.
4149         * java/lang/natRuntime.cc (insertSystemProperties): Add
4150         "sun.boot.class.path".
4151
4152 2003-08-07  Andrew Haley  <aph@redhat.com>
4153
4154         * java/io/PrintStream.java: Don't crash on a null string.
4155         
4156 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4157
4158         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4159         * configure: Regenerate.
4160
4161 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4162
4163         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4164         SocketImpl. Update Javadoc.
4165         (bind): Call close() not impl.close() in event of exception.
4166         (connect): Likewise.
4167         Remove superfluous null checks throughout.
4168         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4169         Don't create an extra socket. Fix for PR libgcj/10868.
4170         (bind): Clean up exception handling.
4171         Remove superfluous null checks throughout.
4172
4173 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4174             Bryce McKinlay  <bryce@mckinlay.net.nz>
4175
4176         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4177         ready-to-write argument to _Jv_Select. Reset the socket back to 
4178         non-blocking state after connecting.
4179         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4180         Throw SocketTimeoutException not InterruptedIOException.
4181         (read): Throw SocketTimeoutException not InterruptedIOException.
4182
4183 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4184
4185         * java/lang/Thread.java (Thread): Check for null "name" from
4186         start of private constructor, not after calling the private
4187         constructor.
4188
4189 2003-08-06  Tom Tromey  <tromey@redhat.com>
4190
4191         * java/io/FilePermission.java (equals): Use correct index for
4192         last character of path.
4193
4194 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4195
4196         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4197         * configure.in: Compare with_cross_host to build_alias, not build.
4198         * aclocal.m4: Regenerate.
4199         * configure: Regenerate.
4200
4201 2003-08-05  Tom Tromey  <tromey@redhat.com>
4202
4203         Fix for PR libgcj/11779:
4204         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4205         class.
4206
4207         * java/lang/reflect/Method.java: Updated status comment.
4208         Imported javadoc from Classpath and re-ordered methods.
4209         * java/lang/reflect/Constructor.java: Reindented.  Updated
4210         status comment.  Imported javadoc from Classpath and re-ordered
4211         methods.
4212
4213 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4214
4215         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4216         Add keyLocation parameter.
4217         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4218         string.
4219         (paramString): Generate keyChar string according to keyChar, not
4220         keyCode.
4221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4222         (state_to_awt_mods): Handle ALT key.
4223         (keyevent_state_to_awt_mods): New function.
4224         (get_first_keyval_from_keymap): New function.
4225         (keysym_to_awt_keycode): Get virtual key code from keymap.
4226         Handle missing VK_ values.
4227         (keysym_to_awt_keylocation): New function.
4228         (keyevent_to_awt_keychar): New function.
4229         (generates_key_typed_event): Handle non-text-component case.
4230         Handle GDK_KP_Delete and GDK_KP_Enter.
4231         (awt_event_handler): Call new functions to get postKeyEvent
4232         parameters.
4233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4234         Update postKeyEvent method signature.
4235         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4236         VK_ defines.
4237
4238 2003-08-05  Matthias Klose  <doko@debian.org>
4239
4240         * aclocal.m4: check for libart-config binary
4241           under the name libart2-config as well.
4242         * configure: regenerated.
4243
4244 2003-08-04  David P Grove  <groved@us.ibm.com>
4245
4246         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4247         when groupingSize is 0.
4248         (parse): Likewise.
4249
4250 2003-08-04  Matthias Klose  <doko@debian.org>
4251
4252         * libart.m4: check for libart-config binary
4253           under the name libart2-config as well.
4254         * configure, aclocal.m4: regenerated.
4255
4256 2003-08-02  Michael Koch  <konqueror@gmx.de>
4257
4258         * java/nio/ByteBufferImpl.java
4259         (getChar): Check remaining bytes, fixed comment about endianess.
4260         (putChar): Likewise.
4261         (getShort): Likewise.
4262         (putShort): Likewise.
4263         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4264         endianess.
4265         (putInt): Likewise.
4266         (getLong): Likewise.
4267         (putLong): Likewise.
4268         (getFloat): Likewise.
4269         (putFloat): Likewise.
4270         (getDouble): Likewise.
4271         (putDouble): Likewise.
4272         * java/nio/DirectByteBufferImpl.java
4273         (getChar): Wrapped code, fixed comment about endianess.
4274         (putchar): Likewise.
4275         (getShort): Likewise.
4276         (putShort): Likewise.
4277         (getInt): Fixed conversion, fixed comment about endianess.
4278         (putInt): Likewise.
4279         (getLong): Likewise.
4280         (putLong): Likewise.
4281         (getFloat): Likewise.
4282         (putFloat): Likewise.
4283         (getDouble): Likewise.
4284         (putDouble): Likewise.
4285         * java/nio/MappedByteBufferImpl.java
4286         (compact): Implemented.
4287         (getChar): Implemented.
4288         (putChar): Implemented.
4289         (getDouble): Implemented.
4290         (putdouble): Implemented.
4291         (getFloat): Implemented.
4292         (putFloat): Implemented.
4293         (getInt): Implemented.
4294         (putInt): Implemented.
4295         (getLong): Implemented.
4296         (putLong): Implemented.
4297         (getShort): Implemented.
4298         (putShort): Implemented.
4299         * java/nio/channels/FileChannelImpl.java
4300         (read): Set position where to access file.
4301         (write): Likewise.
4302         (transferTo): Flip buffer after read and before write.
4303         (transferFrom): Likewise.
4304
4305 2003-08-02  Michael Koch  <konqueror@gmx.de>
4306
4307         * gnu/java/lang/ArrayHelper.java
4308         (equalsArray): Reformated, added method documentation.
4309
4310 2003-08-02  Michael Koch  <konqueror@gmx.de>
4311
4312         * java/net/URL.java
4313         (URL): Added paragraph about the
4314         gnu.java.net.nocache_protocol_handlers property.
4315         (ph_cache): Renamed from handlers to match classpath's implementation.
4316         Reordered it with factory and serialVersionUID member variables.
4317         (cache_handlers): New member variable.
4318         (static): New static initializer to initialize cache_handlers from
4319         gnu.java.net.nocache_protocol_handlers property.
4320         (URL): Use ph_cache instead of handlers, reformatted some code to
4321         match classpath's implementation.
4322
4323 2003-08-01  Tom Tromey  <tromey@redhat.com>
4324
4325         Fix for PR libgcj/11241:
4326         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4327         initialCapacity is 0, set it to 1.
4328
4329 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4330
4331         * java/net/SocketImpl.java (toString): Display the remote address
4332         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4333
4334 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4335
4336         * javax/swing/border/BevelBorder.java,
4337         javax/swing/border/EtchedBorder.java,
4338         javax/swing/border/LineBorder.java,
4339         javax/swing/border/MatteBorder.java,
4340         javax/swing/border/SoftBevelBorder.java,
4341         javax/swing/plaf/BorderUIResource.java,
4342         javax/swing/plaf/ComponentUI.java,
4343         javax/swing/plaf/TreeUI.java,
4344         javax/swing/plaf/basic/BasicBorders.java,
4345         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4346         javax/swing/plaf/basic/BasicTreeUI.java:
4347         Prepend "doc-files" to all paths to embedded Javadoc images, so
4348         that the generated documentation contains the correct URL.
4349
4350 2003-08-01  Tom Tromey  <tromey@redhat.com>
4351
4352         * configure: Rebuilt.
4353         * configure.in (tool_include_dir): Redefine to match gcc.
4354
4355 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4356             Mark Wielaard  <mark@klomp.org>
4357             
4358         * java/math/BigDecimal (divide): Correctly handle
4359         ROUND_HALF_EVEN when amount is greater than 0.5.
4360         Simplify and optimize code.
4361
4362 2003-07-31  Tom Tromey  <tromey@redhat.com>
4363
4364         More for PR libgcj/11737:
4365         * java/io/ObjectInputStream.java (processResolution): Use
4366         getMethod.
4367         (getMethod): Make method accessible.
4368         (getField): Make field accessible.
4369         (setBooleanField): Don't call setAccessible here.
4370         (setByteField, setCharField, setDoubleField, setFloatField,
4371         setIntField, setLongField, setShortField, setObjectField):
4372         Likewise.
4373         (callReadMethod): Don't check whether method is null.  Catch
4374         NoSuchMethodException.
4375         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4376         cause on thrown exceptions.
4377
4378 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4379
4380         Fix for PR libgcj/11728:
4381         * java/util/HashMap.java (readObject): Set size.
4382
4383 2003-07-31  Tom Tromey  <tromey@redhat.com>
4384
4385         Fix for PR libgcj/11737:
4386         * java/io/ObjectOutputStream.java (getMethod): Make method
4387         accessible.
4388         (getField): Likewise.
4389         (writeObject): Use getMethod.
4390         Import PrivilegedAction and AccessController.
4391         (callWriteMethod): Don't check whether m is null.  Catch
4392         NoSuchMethodException.
4393
4394         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4395         (containsAngle): Likewise.
4396         (getStartPoint): Rewrote.
4397         (getEndPoint): Likewise.
4398         (setAngleStart(Point2D)): Likewise.
4399
4400 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4401             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4402
4403         * configure.in: Add new THREADCXXFLAGS variable.
4404         Handle POSIX threads on alpha*-dec-osf*.
4405         * configure: Regenerate.
4406         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4407         * Makefile.in: Regenerate.
4408
4409 2003-07-08  Andrew Haley  <aph@redhat.com>
4410
4411         * include/i386-signal.h (RESTORE): New.
4412         (INIT_SEGV): Set restorer.
4413         (INIT_FPE): Likewise.
4414
4415 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4416
4417         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4418         than getXLFD.
4419         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4420         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4422         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4424         Likewise.
4425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4426         Likewise.
4427
4428 2003-07-29  Tom Tromey  <tromey@redhat.com>
4429
4430         * defineclass.cc (handleField): Throw exception if field name is
4431         duplicated.
4432         (handleMethod): Throw exception for duplicate method.
4433
4434 2003-07-29  Tom Tromey  <tromey@redhat.com>
4435
4436         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4437         output buffer is too small.
4438
4439 2003-07-28  Tom Tromey  <tromey@redhat.com>
4440
4441         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4442         New method.
4443         Include gnu/gcj/runtime/StringBuffer.h.
4444         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4445         native method.
4446         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4447
4448 2003-07-27  Anthony Green  <green@redhat.com>
4449
4450         * configure.in: Fix newlib check.
4451         * configure: Rebuilt.
4452
4453 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4454
4455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4456         Create vbox and layout for GtkPlug.
4457
4458 2003-07-27  Michael Koch  <konqueror@gmx.de>
4459
4460         * java/awt/Window.java
4461         (Window): Removed now unused constructor. It became oboslete with the
4462         new embedded window patch.
4463
4464 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4465             Michael Koch  <konqueror@gmx.de>
4466
4467         * gnu/java/awt/EmbeddedWindow.java
4468         (EmbeddedWindow): Extends Frame instead of Window.
4469         (window_id): New member variable to store the native window handle.
4470         (create): Removed.
4471         (EmbeddedWindow): New constructor.
4472         (addNotify): New method.
4473         (getHandler): Likewise.
4474         (setWindowPeer): New native method.
4475         * gnu/java/awt/EmbeddedWindowSupport.java
4476         (EmbeddedWindowSupport): Fixed documentation.
4477         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4478         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4479         window data.
4480         * gnu/java/awt/natEmbeddedWindow.cc
4481         (create): Removed.
4482         (setWindowPeer): New method.
4483         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4484         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4485         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4486         New files
4487         * gnu/java/awt/peer/gtk/GtkToolkit.java
4488         (GtkToolkit): Implements EmbeddedWindowSupport.
4489         (createEmbeddedWindow): New method.
4490         * java/awt/Window.java
4491         (Window): Removed.
4492         * Makefile.am
4493         (java_source_files): Added EmbeddedWindowPeer.java.
4494         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4495         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4496         * Makefile.in: Regenerated.
4497
4498 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4499
4500         * java/lang/Win32Process.java (ConcreteProcess): Surround
4501         a command line element with quotes if it contains an
4502         embedded space or tab.
4503         * java/lang/natWin32Process.cc (startProcess): Do not
4504         surround command line elements with quotes here.
4505
4506         * configure.host: Use -fcheck-references and 
4507         -fuse-divide-subroutine for MinGW until we fix
4508         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4509         Structured Exception Handling (SEH).
4510
4511         * win32.cc (_Jv_platform_initProperties): Use generic names
4512         like "x86" for the "os.arch" property to be consistent with
4513         what Sun's JDK produces. Use the wProcessorArchitecture
4514         member of the Win32 SYSTEM_INFO structure, filled in a call 
4515         to GetSystemInfo( ), instead of dwProcessorType.
4516
4517 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4518             Ranjit Mathew  <rmathew@hotmail.com>
4519
4520         * Makefile.am: Use cross-compiling gcjh from the path for
4521         a crossed-native build.
4522         * Makefile.in: Rebuilt.
4523         * configure.in: Include libltdl in non-newlib builds.
4524         Moved determination of gcj used to build libraries to
4525         its own section. Fixed cross-compilation issues for
4526         non-newlib builds.
4527         * configure: Rebuilt.
4528
4529 2003-07-25  Tom Tromey  <tromey@redhat.com>
4530
4531         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4532         (write): Likewise.
4533         (read): Likewise.
4534         (read): Likewise.
4535
4536 2003-07-25  Mark Wielaard  <mark@klomp.org>
4537
4538         * java/lang/natRuntime.cc (_load): Add library name to
4539         UnsatisfiedLinkError when thrown.
4540
4541 2003-07-25  Mark Wielaard  <mark@klomp.org>
4542
4543         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4544         added.
4545         * Makefile.in: Likewise.
4546
4547 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4548
4549         * java/awt/Component.java
4550         (getPreferredSize): Call preferredSize.
4551         (preferredSize): Moved body of getPreferredSize here.
4552         (getMinimumSize): Call minimumSize.
4553         (minimumSize): Moved body of getMinimumSize here.
4554         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4555         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4556         pass -1
4557         * java/awt/Container.java
4558         (validate): Don't validate if there is no peer.
4559         (update): Clear background before calling paint.
4560         * java/awt/GridBagLayout.java
4561         Completed the implementation and fixed several bugs.
4562         * java/awt/MediaTracker.java
4563         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4564         combine flags.
4565         * java/awt/Window.java
4566         (Window): Don't call setVisible(false). Windows are invisible by
4567         default and calling virtual methods from constructor causes
4568         compatibility problems (e.g. subclasses may assume that the peer
4569         already exists).
4570
4571 2003-07-25  Michael Koch  <konqueror@gmx.de>
4572
4573         * java/awt/GridBagLayout.java:
4574         Totally reworked and partly implemented.
4575         * java/awt/GridBagLayoutInfo.java:
4576         New file.
4577
4578 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4579
4580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4581         Don't pack label in an event box.
4582
4583 2003-07-24  Tom Tromey  <tromey@redhat.com>
4584
4585         For PR libgcj/7482:
4586         * verify.cc (ref_intersection): New class.
4587         (type_val): Removed unresolved_reference_type,
4588         uninitialized_unresolved_reference_type.
4589         (is_assignable_from_slow): Rewrote.
4590         (type::data): Removed.
4591         (type::klass): New field.
4592         (type::type): Added verifier argument.
4593         (type::resolve): Removed.
4594         (type::set_uninitialized): Updated for change to type_val.
4595         (type::set_initialized): Likewise.
4596         (type::isinitialized): Likewise.
4597         (type::print): Likewise.
4598         (construct_primitive_array_type): Likewise.
4599         (type::compatible): Updated for change to type_val and to use
4600         ref_intersection.
4601         (type::isarray): Updated to use ref_intersection.
4602         (type::isinterface): Likewise.
4603         (type::element_type): Likewise.
4604         (type::to_array): Likewise.
4605         (type::verify_dimensions): Rewrote.
4606         (type::merge): Likewise.
4607         (check_class_constant): Updated for type constructor change.
4608         (check_constant): Likewise.
4609         (check_field_constant): Likewise.
4610         (get_one_type): Likewise.
4611         (initialize_stack): Likewise.
4612         (verify_instructions_0): Likewise.
4613         (verify_instructions_0) [op_invokeinterface]: Removed special
4614         case.
4615         (isect_list): New field.
4616         (_Jv_BytecodeVerifier): Initialize it.
4617         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4618
4619 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4620
4621         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4622         unless field size is 2.
4623
4624 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4625
4626         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4627         (connectHooks): New method.
4628         (handleEvent): Remove.
4629         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4630         (createHooks): Remove declaration.
4631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4632         (generates_key_typed_event): Change to handle only certain
4633         keyvals.
4634         (awt_event_handler): Add special handling for GtkTextView.
4635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4636         (textcomponent_commit_cb): New function.
4637         (textcomponent_changed_cb): Likewise.
4638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4639         (connectHooks): Remove.
4640
4641 2003-07-23  Tom Tromey  <tromey@redhat.com>
4642
4643         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4644
4645         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4646
4647 2003-07-22  Tom Tromey  <tromey@redhat.com>
4648
4649         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4650         Include limits.h.
4651
4652 2003-07-22  Tom Tromey  <tromey@redhat.com>
4653
4654         * java/awt/Window.java (getWarningString): Just return the
4655         string.
4656         (Window): Set warningString; check with security manager.
4657
4658 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4659
4660         * gnu/awt/xlib/XGraphicsConfiguration.java
4661         (FontMetricsCache): Made static.
4662  
4663 2003-07-22  Tom Tromey  <tromey@redhat.com>
4664
4665         * java/net/URLEncoder.java (encode(String)): Use platform default
4666         encoding.
4667         (encode(String,String)): Convert to 2-digit upper-case hex
4668         number.
4669         (hex): New field.
4670
4671 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4672
4673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4674         (create): Remove unused method implementation.
4675         (connectHooks): Remove debug messages.
4676
4677 2003-07-20  Anthony Green  <green@redhat.com>
4678
4679         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4680         CloneNotSupportedException.
4681         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4682         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4683         * gnu/gcj/xlib/GC.java (clone): Ditto.
4684         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4685         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4686
4687         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4688         handler.
4689         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4690
4691 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4692
4693         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4694         String.  Put dlerror() message into exception.
4695         Include UnsatisfiedLinkError.
4696         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4697         String.  Now native.
4698
4699 2003-07-20  Tom Tromey  <tromey@redhat.com>
4700
4701         * java/lang/Runtime.java: Comment fix.
4702         * java/lang/ClassLoader.java (isAncestorOf): New method.
4703         (getParent): Uncommented security check.  Use isAncestorOf.
4704         * include/jvm.h (_Jv_CheckAccess): Declare.
4705         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4706         access check.
4707         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4708         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4709         class loader to _Jv_GetArrayClass.
4710         Include ArrayIndexOutOfBoundsException.h.
4711         * java/lang/reflect/Field.java: Update comment to reflect status.
4712         (equals): Fixed indentation.
4713         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4714         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4715         * java/lang/Class.java (memberAccessCheck): New method from
4716         Classpath.
4717         (checkMemberAccess): Removed.
4718         (getDeclaredMethod): Use memberAccessCheck.
4719         (getField): Likewise.
4720         (getMethod): Likewise.
4721         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4722         (_Jv_SearchMethodInClass): Likewise.
4723         * prims.cc (_Jv_CheckAccess): New function.
4724         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4725         (_Jv_JNI_GetAnyFieldID): Likewise.
4726         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4727         (getClassLoader): Added security check.
4728         (getConstructor): Call memberAccessCheck.
4729         (getDeclaredClasses): Likewise.
4730         (getDeclaredField): Likewise.
4731         (getDeclaredFields): Likewise.
4732         (_getConstructors): Likewise.
4733         (getDeclaredConstructor): Likewise.
4734         (getDeclaredMethods): Likewise.
4735         (getFields): Likewise.
4736         (getMethods): Likewise.
4737         (newInstance): Likewise.
4738         (_Jv_MakeVTable): Put method name in exception.
4739         * java/lang/reflect/natMethod.cc (getType): Use
4740         getClassLoaderInternal.
4741         (_Jv_GetTypesFromSignature): Likewise.
4742         (invoke): Perform access check.
4743         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4744         Include ArrayIndexOutOfBoundsException.h.
4745         * java/lang/reflect/natField.cc (getType): Use
4746         getClassLoaderInternal.
4747         (_Jv_CheckFieldAccessibility): Removed.
4748         (getAddr): Use _Jv_CheckAccess; find caller.
4749         Include ArrayIndexOutOfBoundsException.h.
4750
4751 2003-07-20  Michael Koch  <konqueror@gmx.de>
4752
4753         * java/net/URL.java
4754         (URL): Fixed documentation to name an argument correcty, Reformatted
4755         one method declaration.
4756         (getURLStreamHandler): Added documentation from classpath.
4757
4758 2003-07-19  Tom Tromey  <tromey@redhat.com>
4759
4760         * mauve-libgcj: Don't run CollationElementIterator tests.
4761
4762 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4763
4764         * java/net/URLClassLoader.java (addURL): Moved implementation to
4765         private addURLImpl() to avoid calling addURL from the constructor.
4766         (addURLImpl): Contains the code that was previously in addURL.
4767         (addURLs): Call addURLImpl(), not addURL().
4768
4769 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4770
4771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4772         Handle missing event cases, connect to "value-changed" signal.
4773
4774 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4775
4776         * java/awt/geom/CubicCurve2D.java,
4777         java/awt/geom/Line2D.java,
4778         java/awt/geom/QuadCurve2D.java,
4779         java/awt/geom/Rectangle2D.java: 
4780         Fix path some calculations, make path iterators follow
4781         a consistent style.
4782
4783 2003-07-18  Mark Wielaard  <mark@klomp.org>
4784
4785         * java/util/logging/Handler.java (isLoggable): Check record level
4786         smaller or equal.
4787
4788 2003-07-17  Michael Koch  <konqueror@gmx.de>
4789
4790         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4791         Reworked imports.
4792
4793 2003-07-14  Michael Koch  <konqueror@gmx.de>
4794
4795         * gnu/java/rmi/server/UnicastServerRef.java:
4796         New version from classpath.
4797
4798 2003-07-14  Michael Koch  <konqueror@gmx.de>
4799
4800         * java/awt/image/MemoryImageSource.java,
4801         java/beans/PropertyEditorManager.java,
4802         javax/naming/CompoundName.java,
4803         javax/naming/spi/NamingManager.java,
4804         javax/swing/AbstractButton.java,
4805         javax/swing/ButtonModel.java,
4806         javax/swing/SwingUtilities.java,
4807         javax/swing/UIManager.java,
4808         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4809         javax/swing/event/AncestorEvent.java,
4810         javax/swing/event/InternalFrameEvent.java,
4811         java/util/zip/ZipFile.java:
4812         New versions from classpath.
4813
4814 2003-07-13  Michael Koch  <konqueror@gmx.de>
4815
4816         * gnu/java/nio/FileChannelImpl.java,
4817         gnu/java/nio/natFileChannelImpl.cc: Removed.
4818         * java/io/FileInputStream.java,
4819         java/io/FileOutputStream.java,
4820         java/io/RandomAccessFile.java,
4821         java/nio/MappedByteBufferImpl.java:
4822         Import java.nio.channels.FileChannelImpl instead of
4823         gnu.java.nio.FileChannelImpl.
4824         * java/nio/channels/FileChannelImpl.java,
4825         java/nio/channels/natFileChannelImpl.cc:
4826         New files.
4827         * Makefile.am
4828         (ordinary_java_source_files):
4829         Removed gnu/java/nio/FileChannelImpl.java and added
4830         java/nio/channels/FileChannelImpl.java.
4831         (nat source_files):
4832         Removed gnu/java/nio/natFileChannelImpl.cc and added
4833         java/nio/channels/natFileChannelImpl.cc.
4834         * Makefile.in: Regenerated.
4835
4836 2003-07-13  Michael Koch  <konqueror@gmx.de>
4837
4838         * javax/swing/plaf/basic/BasicBorders.java,
4839         javax/swing/plaf/basic/BasicLabelUI.java,
4840         javax/swing/plaf/basic/BasicLookAndFeel.java,
4841         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4842         javax/swing/plaf/basic/BasicTextUI.java,
4843         javax/swing/plaf/metal/MetalLookAndFeel.java:
4844         New versions from classpath.
4845
4846 2003-07-13  Michael Koch  <konqueror@gmx.de>
4847
4848         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4849         * gnu/java/awt/peer/gtk/GdkGraphics.java
4850         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4851         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4852         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4853         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4854         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4855         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4856         * gnu/java/awt/peer/gtk/GtkClipboard.java
4857         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4858         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4859         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4860         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4861         * gnu/java/awt/peer/gtk/GtkImage.java
4862         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4863         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4864         * gnu/java/awt/peer/gtk/GtkListPeer.java
4865         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4866         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4867         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4868         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4869         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4870         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4871         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4872         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4873         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4874         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4875         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4876         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4877
4878 2003-07-13  Michael Koch  <konqueror@gmx.de>
4879
4880         * gnu/java/locale/LocaleInformation_de.java
4881         * gnu/java/locale/LocaleInformation_en.java
4882         * gnu/java/locale/LocaleInformation_nl.java
4883
4884 2003-07-13  Michael Koch  <konqueror@gmx.de>
4885
4886         * gnu/java/awt/EmbeddedWindow.java,
4887         gnu/java/awt/EmbeddedWindowSupport.java,
4888         gnu/java/awt/natEmbeddedWindow.cc:
4889         New files.
4890         * java/awt/Window.java
4891         (Window): New constructor to support embedded windows.
4892         * Makefile.am
4893         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4894         gnu/java/awt/EmbeddedWindowSupport.java.
4895         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4896         * Makefile.in: Regenerated.
4897
4898 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4899
4900         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4901         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4902         * java/awt/im/InputContext.java: Remove a redundant
4903         partial line.
4904
4905 2003-07-09  Tom Tromey  <tromey@redhat.com>
4906
4907         * Makefile.in: Rebuilt.
4908         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4909
4910 2003-07-09  Mark Wielaard  <mark@klomp.org>
4911
4912         * java/io/ObjectOutputStream.java (writeObject): break after
4913         calling writeClassDescriptor().
4914
4915 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4916
4917         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4918
4919 2003-07-09  Michael Koch  <konqueror@gmx.de>
4920
4921         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4922         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4923         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4924         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4925         Explicitly import used classes.
4926         * java/awt/Container.java: New version from classpath.
4927
4928 2003-07-09  Michael Koch  <konqueror@gmx.de>
4929
4930         * libgcj.pc.in: New file.
4931         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4932         * Makefile.in: Regenerated.
4933         * configure: Regenrated.
4934         * configure.in: Create libgcj.pc from libgcj.pc.in.
4935
4936 2003-07-08  Mark Wielaard <mark@klomp.org>
4937
4938         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4939
4940         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4941         * java/lang/fdlibm.h: Likewise.
4942
4943 2003-07-07  Adam Megacz <adam@xwt.org>
4944
4945         * posix.cc: added #include<stdio.h>
4946                 
4947 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4948
4949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4950         formatting.
4951
4952         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4953         (setCaretPosition, setEditable): Rely entirely on native
4954         implementation.
4955         (getArgs): Remove.
4956         (postTextEvent): New method.
4957         (handleEvent): New method.
4958         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4959         method.
4960         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4962         (keysym_to_awt_keycode): Fix range checks.
4963         (generates_key_typed_event): New function.
4964         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4965         queue.
4966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4967         (gtkInit): Store TextComponent's postTextEvent method ID.
4968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4969         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4970
4971 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4972
4973         * configure.in: Check for usleep declaration.
4974         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4975         * configure: Regenerate.
4976         * include/config.h.in: Likewise.
4977         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4978
4979 2003-07-01  Michael Koch  <konqueror@gmx.de>
4980
4981         * gnu/gcj/convert/natIconv.cc
4982         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4983         handle.
4984
4985 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4986
4987         * glib-2.0.m4: New file.
4988         * gtk-2.0.m4: New file.
4989         * glib.m4: Remove.
4990         * gtk.m4: Remove.
4991         * configure.in: Update AM_PATH_GTK macro call to
4992         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4994         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4995         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4996         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4997         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5000         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5002         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5004         jni/gtk-peer/gthread-jni.c,
5005         jni/gtk-peer/gthread-jni.h:
5006         New versions from classpath.
5007         * aclocal.m4: Regenerate.
5008         * configure: Regenerate.
5009         * Makefile.in: Regenerate.
5010         * gcj/Makefile.in: Regenerate.
5011         * include/Makefile.in: Regenerate.
5012         * testsuite/Makefile.in: Regenerate.
5013
5014 2003-06-30  Gary Benson  <gbenson@redhat.com>
5015
5016         For PR libgcj/11349:
5017         * javax/naming/spi/NamingManager.java (getURLContext): Use
5018         correct name for factory class.
5019
5020 2003-06-28  Michael Koch  <konqueror@gmx.de>
5021
5022         * java/io/PrintStream.java
5023         (checkError): Call flush() instead of direct flushing of the Writer
5024         object.
5025         (print): Call print(String) instead of direct print method of the
5026         Writer Object.
5027         (println): Call println(String) instead of direct println method of the
5028         Writer Object.
5029         (write): Simplified.
5030
5031 2003-06-28  Michael Koch  <konqueror@gmx.de>
5032
5033         * java/net/ServerSocket.java
5034         (setChannel): New method.
5035         * java/net/Socket.java
5036         (setChannel): New method.
5037
5038 2003-06-27  Michael Koch  <konqueror@gmx.de>
5039
5040         * java/beans/beancontext/BeanContextSupport.java:
5041         New version from classpath.
5042
5043 2003-06-27  Michael Koch  <konqueror@gmx.de>
5044
5045         * java/awt/Window.java,
5046         java/awt/font/GraphicAttribute.java,
5047         java/awt/font/ImageGraphicAttribute.java,
5048         java/awt/image/DataBufferByte.java,
5049         java/awt/image/DataBufferInt.java,
5050         java/awt/image/DataBufferUShort.java,
5051         java/awt/image/DirectColorModel.java,
5052         java/awt/image/PixelGrabber.java:
5053         New versions from classpath.
5054
5055 2003-06-27  Michael Koch  <konqueror@gmx.de>
5056
5057         * java/security/Certificate.java
5058         (getGuarantor): Removed wrong @deprecated tag.
5059         (getPrincipal): Likewise.
5060         (getPublicKey): Likewise.
5061         (encode): Likewise.
5062         (decode): Likewise.
5063         (getFormat): Likewise.
5064         (toString): Likewise.
5065         * java/security/cert/PolicyQualifierInfo.java
5066         (PolicyQualifierInfo): Made final.
5067         * javax/security/auth/x500/X500Principal.java
5068         (serialVersionUID): New member variable.
5069
5070 2003-06-27  Michael Koch  <konqueror@gmx.de>
5071
5072         * java/text/Format.java
5073         (serialVersionUID): Fixed value.
5074
5075 2003-06-27  Michael Koch  <konqueror@gmx.de>
5076
5077         * java/net/Inet4Address.java
5078         (Inet4Address): Made package-private.
5079         * java/net/Inet6Address.java
5080         (Inet4Address): Made package-private.
5081
5082 2003-06-27  Michael Koch  <konqueror@gmx.de>
5083
5084         * java/io/RandomAccessFile.java
5085         (readLine): Removed wrong @deprecated tag.
5086         (getChannel): Made final.
5087
5088 2003-06-27  Michael Koch  <konqueror@gmx.de>
5089
5090         * gnu/java/nio/FileChannelImpl.java
5091         (write): Removed.
5092
5093 2003-06-27  Michael Koch  <konqueror@gmx.de>
5094
5095         * java/nio/ByteBufferImpl.java
5096         (ByteBufferImpl): Made it a package-private class
5097         * java/nio/CharBufferImpl.java
5098         (CharBufferImpl): Made it a package-private class
5099         * java/nio/DirectByteBufferImpl.java
5100         (DirectByteBufferImpl): Made it a package-private class
5101         * java/nio/DoubleBufferImpl.java
5102         (DoubleBufferImpl): Made it a package-private class
5103         * java/nio/FloatBufferImpl.java
5104         (FloatBufferImpl): Made it a package-private class
5105         * java/nio/IntBufferImpl.java
5106         (IntBufferImpl): Made it a package-private class
5107         * java/nio/LongBufferImpl.java
5108         (LongBufferImpl): Made it a package-private class
5109         * java/nio/ShortBufferImpl.java
5110         (ShortBufferImpl): Made it a package-private class
5111         * java/nio/channels/FileChannel.java
5112         (write): Made final.
5113         * java/nio/channels/ServerSocketChannel.java
5114         (ServerSocketChanne): Made protected.
5115
5116 2003-06-27  Michael Koch  <konqueror@gmx.de>
5117
5118         * javax/naming/CompositeName.java
5119         (serialVersionUID): New member variable.
5120         * javax/naming/CompoundName.java
5121         (serialVersionUID): New member variable.
5122         * javax/naming/InitialContext.java
5123         (InitialContext): Throws NamingException.
5124         (init): Likewise.
5125         * javax/naming/LinkRef.java
5126         (serialVersionUID): New member variable.
5127         (gteLinkName): Throws NamingException.
5128         * javax/naming/NamingException.java
5129         (serialVersionUID): New member variable.
5130         * javax/naming/NamingSecurityException.java
5131         (NamingSecurityException): Made abstract.
5132         (serialVersionUID): New member variable.
5133         * javax/naming/ReferralException.java
5134         (serialVersionUID): New member variable.
5135         * javax/naming/StringRefAddr.java
5136         (serialVersionUID): New member variable.
5137         * javax/naming/directory/BasicAttribute.java:
5138         Reworked imports.
5139         (serialVersionUID): New member variable.
5140         (get): Throws NamingException.
5141         (getAll): Throws NamingException.
5142         * javax/naming/directory/BasicAttributes.java:
5143         Reworked imports.
5144         (serialVersionUID): New member variable.
5145         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5146         (serialVersionUID): New member variable.
5147
5148 2003-06-27  Michael Koch  <konqueror@gmx.de>
5149
5150         * Makefile.am
5151         (awt_java_source_files): Added new files:
5152         javax/swing/Popup.java,
5153         javax/swing/PopupFactory.java
5154         * Makefile.in: Regenerated.
5155
5156 2003-06-27  Michael Koch  <konqueror@gmx.de>
5157
5158         * javax/swing/JWindow.java,
5159         javax/swing/event/AncestorEvent.java,
5160         javax/swing/event/HyperlinkEvent.java,
5161         javax/swing/event/InternalFrameEvent.java,
5162         javax/swing/event/ListDataEvent.java,
5163         javax/swing/event/TableModelEvent.java,
5164         javax/swing/plaf/PopupMenuUI.java,
5165         javax/swing/plaf/SplitPaneUI.java,
5166         javax/swing/plaf/TabbedPaneUI.java,
5167         javax/swing/plaf/TextUI.java,
5168         javax/swing/plaf/TreeUI.java,
5169         javax/swing/plaf/basic/BasicTextUI.java,
5170         javax/swing/plaf/basic/BasicTreeUI.java:
5171         New versions from classpath.
5172         * javax/swing/Popup.java,
5173         javax/swing/PopupFactory.jav:
5174         New source files from classpath.
5175         * javax/swing/plaf/doc-files/TreeUI-1.png:
5176         New binary files from classpath.
5177
5178 2003-06-25  Michael Koch  <konqueror@gmx.de>
5179
5180         * Makefile.am
5181         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5182         * Makefile.in: Regenerated.
5183
5184 2003-06-25  Michael Koch  <konqueror@gmx.de>
5185
5186         * javax/swing/plaf/ActionMapUIResource.java,
5187         javax/swing/plaf/BorderUIResource.java,
5188         javax/swing/plaf/ButtonUI.java,
5189         javax/swing/plaf/ColorChooserUI.java,
5190         javax/swing/plaf/ColorUIResource.java,
5191         javax/swing/plaf/ComboBoxUI.java,
5192         javax/swing/plaf/ComponentInputMapUIResource.java,
5193         javax/swing/plaf/ComponentUI.java,
5194         javax/swing/plaf/DesktopIconUI.java,
5195         javax/swing/plaf/DesktopPaneUI.java,
5196         javax/swing/plaf/DimensionUIResource.java,
5197         javax/swing/plaf/FileChooserUI.java,
5198         javax/swing/plaf/FontUIResource.java,
5199         javax/swing/plaf/IconUIResource.java,
5200         javax/swing/plaf/InputMapUIResource.java,
5201         javax/swing/plaf/InsetsUIResource.java,
5202         javax/swing/plaf/InternalFrameUI.java,
5203         javax/swing/plaf/LabelUI.java,
5204         javax/swing/plaf/ListUI.java,
5205         javax/swing/plaf/MenuBarUI.java,
5206         javax/swing/plaf/MenuItemUI.java,
5207         javax/swing/plaf/OptionPaneUI.java,
5208         javax/swing/plaf/PanelUI.java,
5209         javax/swing/plaf/ProgressBarUI.java,
5210         javax/swing/plaf/RootPaneUI.java,
5211         javax/swing/plaf/ScrollBarUI.java,
5212         javax/swing/plaf/ScrollPaneUI.java,
5213         javax/swing/plaf/SeparatorUI.java,
5214         javax/swing/plaf/SliderUI.java,
5215         javax/swing/plaf/TableHeaderUI.java,
5216         javax/swing/plaf/TableUI.java,
5217         javax/swing/plaf/ToolBarUI.java,
5218         javax/swing/plaf/ToolTipUI.java,
5219         javax/swing/plaf/ViewportUI.java:
5220         New versions from classpath.
5221         * javax/swing/plaf/SpinnerUI.java: 
5222         New file from classpath
5223
5224 2003-06-25  Michael Koch  <konqueror@gmx.de>
5225
5226         * java/awt/image/ColorModel.java:
5227         New version from classpath.
5228
5229 2003-06-25  Michael Koch  <konqueror@gmx.de>
5230
5231         * java/net/PlainDatagramSocketImpl.java:
5232         Partly merged with classpath, this mainly adds documentation.
5233
5234 2003-06-25  Michael Koch  <konqueror@gmx.de>
5235
5236         * java/io/ObjectInputStream.java
5237         (readClassDescriptor): New method.
5238         (readObject): Moved functionality to readClassDescriptor().
5239         * java/io/ObjectOutputStream.java
5240         (writeClassDescriptor): New method.
5241         (writeObject): Moved functionality to writeClassDescriptor().
5242
5243 2003-06-25  Michael Koch  <konqueror@gmx.de>
5244
5245         * javax/swing/plaf/basic/BasicListUI.java,
5246         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5247         Added missing methods.
5248
5249 2003-06-25  Michael Koch  <konqueror@gmx.de>
5250
5251         * javax/swing/event/AncestorEvent.java
5252         javax/swing/event/HyperlinkEvent.java
5253         javax/swing/event/InternalFrameEvent.java
5254         javax/swing/event/ListDataEvent.java
5255         javax/swing/event/TableModelEvent.java:
5256         Compile fixes.
5257
5258 2003-06-24  Michael Koch  <konqueror@gmx.de>
5259
5260         * java/net/URL.java:
5261         Renamed "handler" to "ph" in the whole file to match classpaths
5262         version.
5263         * java/net/URLStreamHandler.java:
5264         (equals): Renamed "handler" to "ph".
5265
5266 2003-06-24  Michael Koch  <konqueror@gmx.de>
5267
5268         * javax/swing/event/AncestorEvent.java,
5269         javax/swing/event/HyperlinkEvent.java,
5270         javax/swing/event/InternalFrameEvent.java,
5271         javax/swing/event/ListDataEvent.java,
5272         javax/swing/event/TableModelEvent.java,
5273         javax/swing/event/TreeWillExpandListener.java,
5274         javax/swing/plaf/ComponentUI.java,
5275         javax/swing/plaf/DesktopIconUI.java,
5276         javax/swing/plaf/DesktopPaneUI.java,
5277         javax/swing/plaf/DimensionUIResource.java,
5278         javax/swing/plaf/FileChooserUI.java,
5279         javax/swing/plaf/FontUIResource.java,
5280         javax/swing/plaf/IconUIResource.java,
5281         javax/swing/plaf/InputMapUIResource.java,
5282         javax/swing/plaf/InsetsUIResource.java,
5283         javax/swing/plaf/InternalFrameUI.java,
5284         javax/swing/plaf/LabelUI.java,
5285         javax/swing/plaf/ListUI.java,
5286         javax/swing/plaf/MenuBarUI.java,
5287         javax/swing/plaf/MenuItemUI.java,
5288         javax/swing/plaf/OptionPaneUI.java,
5289         javax/swing/plaf/PanelUI.java,
5290         javax/swing/plaf/ProgressBarUI.java,
5291         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5292         javax/swing/plaf/doc-files/ComponentUI-1.png:
5293         New versions from classpath.
5294
5295 2003-06-24  Michael Koch  <konqueror@gmx.de>
5296
5297         * java/nio/Buffer.java
5298         (cap): Made package-private.
5299         (pos): Likewise.
5300         (limit): Likewise.
5301         (mark): Likewise.
5302
5303 2003-06-24  Michael Koch  <konqueror@gmx.de>
5304
5305         * java/net/SocketImpl.java
5306         (shutdownInput): Made it non-abstract method throwing an exception
5307         like in SUNs JRE.
5308         (shutdownOutput): Likewise.
5309         * java/net/SocketInputStream.java,
5310         java/net/SocketOutputStream.java:
5311         New files from classpath.
5312
5313 2003-06-24  Michael Koch  <konqueror@gmx.de>
5314
5315         * java/awt/Font.java,
5316         java/awt/Window.java,
5317         java/awt/color/ColorSpace.java,
5318         java/awt/datatransfer/StringSelection.java,
5319         java/awt/image/ColorModel.java:
5320         New versions from classpath.
5321
5322 2003-06-24  Michael Koch  <konqueror@gmx.de>
5323
5324         * Makefile.am
5325         (awt_java_source_files): Added new files:
5326         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5327         javax/swing/plaf/basic/BasicSplitPaneUI.java
5328         * Makefile.in: Regenerated.
5329
5330 2003-06-24  Michael Koch  <konqueror@gmx.de>
5331
5332         * javax/swing/text/JTextComponent.java:
5333         New version from classpath.
5334
5335 2003-06-24  Michael Koch  <konqueror@gmx.de>
5336
5337         * javax/swing/Timer.java,
5338         javax/swing/plaf/ActionMapUIResource.java,
5339         javax/swing/plaf/ButtonUI.java,
5340         javax/swing/plaf/ColorChooserUI.java,
5341         javax/swing/plaf/ColorUIResource.java,
5342         javax/swing/plaf/ComboBoxUI.java,
5343         javax/swing/plaf/ComponentInputMapUIResource.java,
5344         javax/swing/plaf/basic/BasicBorders.java:
5345         New versions from classpath.
5346         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5347         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5348         New file from classpath.
5349         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5350         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5351         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5352         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5353         javax/swing/plaf/doc-files/ComponentUI-1.png:
5354         New binary files from classpath.
5355
5356 2003-06-24  Michael Koch  <konqueror@gmx.de>
5357
5358         * java/io/LineNumberReader.java
5359         (skip): Dont do line number accounting here as this is already done in
5360         read(), simplified.
5361
5362 2003-06-21  Michael Koch  <konqueror@gmx.de>
5363
5364         * java/io/File.java
5365         (static): Load javaio lib if existing (only in classpath).
5366         (File): Revised documentation to show the correct argument name.
5367         (createTempFile): Partly merged with classpath.
5368         (compareTo): Simplified.
5369         (lastModified): Throw exception if time < 0.
5370         (deleteOnExit): Revised documentation.
5371
5372 2003-06-21  Michael Koch  <konqueror@gmx.de>
5373
5374         * java/net/PlainSocketImpl.java:
5375         Reformatted.
5376         (PlainSocketImpl): Merged class documentaion with classpath.
5377         (in): Moved.
5378         (out): Moved.
5379         (PlainSocketImpl): New empty constructor.
5380         (finalize): Moved.
5381         (setOption): Merged documentation from classpath.
5382         (getOption): Likewise.
5383         (create): Likewise.
5384         (connect): Likewise.
5385         (bind): Likewise.
5386         (listen): Likewise.
5387         (accept): Likewise.
5388         (available): Likewise.
5389         (close): Likewise.
5390         (read): Likewise.
5391         (write): Likewise.
5392         (getInputStream): Made synchronozed to get sure that only one stream
5393         object can be created for this socket, merged documentation from
5394         classpath.
5395         (getOutputStream): Likewise.
5396
5397 2003-06-21  Michael Koch  <konqueror@gmx.de>
5398
5399         * java/net/PlainSocketImpl.java:
5400         Reformatting.
5401         (static): New implicit method.
5402         (read): Made package private.
5403         (write): Likewise.
5404
5405 2003-06-21  Michael Koch  <konqueror@gmx.de>
5406
5407         * java/util/SimpleTimeZone.java:
5408         Removed unneeded import, reformatting.
5409
5410 2003-06-21  Michael Koch  <konqueror@gmx.de>
5411
5412         * java/text/DateFormat.java,
5413         java/text/SimpleDateFormat.java,
5414         java/util/Locale.java:
5415         New versions from classpath.
5416
5417 2003-06-21  Michael Koch  <konqueror@gmx.de>
5418
5419         * javax/swing/SpinnerModel.java:
5420         New file from classpath.
5421         * javax/swing/border/LineBorder.java,
5422         javax/swing/border/SoftBevelBorder.java,
5423         javax/swing/plaf/BorderUIResource.java,
5424         javax/swing/plaf/basic/BasicBorders.java:
5425         New versions from classpath.
5426         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5427         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5428         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5429         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5430         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5431         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5432         New binary files from classpath.
5433
5434 2003-06-21  Michael Koch  <konqueror@gmx.de>
5435
5436         * java/util/logging/LogRecord.java,
5437         java/util/logging/Logger.java,
5438         java/util/logging/SocketHandler.java,
5439         java/util/logging/SimpleFormatter.java,
5440         java/util/logging/Formatter.java,
5441         java/util/logging/ErrorManager.java,
5442         java/util/logging/Handler.java,
5443         java/util/logging/FileHandler.java,
5444         java/util/logging/LogManager.java,
5445         java/util/logging/Level.java,
5446         java/util/logging/ConsoleHandler.java,
5447         java/util/logging/StreamHandler.java,
5448         java/util/logging/LoggingPermission.java,
5449         java/util/logging/Filter.java,
5450         java/util/logging/MemoryHandler.java,
5451         java/util/logging/XMLFormatter.java:
5452         New files from classpath.
5453
5454 2003-06-20  Michael Koch  <konqueror@gmx.de>
5455
5456         * java/io/ObjectStreamField.java
5457         (unshared): new member variable.
5458         (ObjectStreamField): New constructor.
5459         (isUnshared): New method.
5460
5461 2003-06-20  Michael Koch  <konqueror@gmx.de>
5462
5463         * java/net/URLStreamHandler.java
5464         (hostsEqual): Rewritten.
5465
5466 2003-06-20  Michael Koch  <konqueror@gmx.de>
5467
5468         * gnu/java/nio/MappedByteFileBuffer.java,
5469         gnu/java/nio/natMappedByteFileBuffer.cc:
5470         Removed
5471         * java/nio/MappedByteBufferImpl.java:
5472         New file.
5473         * gnu/java/nio/FileChannelImpl.java:
5474         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5475         * Makefile.am
5476         (ordinary_java_source_files): Removed
5477         gnu/java/nio/MappedByteFileBuffer.java and added
5478         java/nio/MappedByteBufferImpl.java.
5479         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5480         * Makefile.in: Regenerated.
5481
5482 2003-06-19  Michael Koch  <konqueror@gmx.de>
5483
5484         * gnu/java/nio/DatagramChannelImpl.java
5485         (fd): Removed.
5486         (blocking): New member variable.
5487         (socket): Likewise.
5488         (DatagramChannelImpl): Throws IOException, initialize socket.
5489         (socket):Implemented.
5490         (implCloseSelectableChannel): Throws IOException, implemented.
5491         (implConfigureBlocking): Likewise.
5492         (connect): Likewise.
5493         (disconnect): Likewise.
5494         (isConnected): Likewise.
5495         (write): Likewise.
5496         (read): Likewise.
5497         (receive): Throws IOException.
5498         (send): Likewise.
5499         * gnu/java/nio/SocketChannelImpl.java
5500         (read): Implemented.
5501         (write): Implemented.
5502
5503 2003-06-19  Michael Koch  <konqueror@gmx.de>
5504
5505         * javax/swing/JComponent.java,
5506         javax/swing/JInternalFrame.java,
5507         javax/swing/MenuSelectionManager.java,
5508         javax/swing/SwingUtilities.java,
5509         javax/swing/ToggleButtonModel.java:
5510         New versions from classpath.
5511
5512 2003-06-19  Michael Koch  <konqueror@gmx.de>
5513
5514         * java/text/CollationElementIterator.java
5515         (NULLORDER): Initialize with -1 as JDK documentation says.
5516
5517 2003-06-19  Michael Koch  <konqueror@gmx.de>
5518
5519         * java/net/HttpURLConnection.java,
5520         java/net/Inet4Address.java,
5521         java/net/Inet6Address.java,
5522         java/net/SocketImpl.java,
5523         java/net/URLClassLoader.java:
5524         Reworked import statements.
5525         * java/net/InetAddress.java
5526         (getByAddress): Simplified.
5527         * java/net/ServerSocket.java
5528         (ServerSocket): Moved special handling during bind operation to
5529         bind().
5530         (bind): Handle different cases when trying to bind a socket.
5531         * java/net/URLConnection.java
5532         (getHeaderFieldDate): Merged with classpath.
5533         (getHeaderFieldInt): Likewise.
5534
5535 2003-06-19  Michael Koch  <konqueror@gmx.de>
5536
5537         * java/util/zip/InflaterInputStream.java
5538         (InflaterInputStream): Throw NullPointerException if in is null (as
5539         JDK does).
5540
5541 2003-06-19  Michael Koch  <konqueror@gmx.de>
5542
5543         * java/awt/Font.java
5544         javax/swing/UIManager.java
5545         javax/swing/border/AbstractBorder.java
5546         javax/swing/border/BevelBorder.java
5547         javax/swing/border/Border.java
5548         javax/swing/border/CompoundBorder.java
5549         javax/swing/border/EmptyBorder.java
5550         javax/swing/border/EtchedBorder.java
5551         javax/swing/border/LineBorder.java
5552         javax/swing/border/MatteBorder.java
5553         javax/swing/border/TitledBorder.java
5554         javax/swing/plaf/BorderUIResource.java
5555         javax/swing/plaf/basic/BasicBorders.java
5556         javax/swing/plaf/basic/BasicButtonUI.java
5557         javax/swing/plaf/basic/BasicCheckBoxUI.java
5558         javax/swing/plaf/basic/BasicGraphicsUtils.java
5559         javax/swing/plaf/basic/BasicLabelUI.java
5560         javax/swing/plaf/basic/BasicRadioButtonUI.java
5561         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5562         New versions from classpath.
5563         * javax/swing/border/SoftBevelBorder.java:
5564         New file from classpath.
5565         * javax/swing/border/doc-files/LineBorder-1.png,
5566         javax/swing/border/doc-files/BevelBorder-1.png,
5567         javax/swing/border/doc-files/BevelBorder-2.png,
5568         javax/swing/border/doc-files/BevelBorder-3.png,
5569         javax/swing/border/doc-files/EmptyBorder-1.png,
5570         javax/swing/border/doc-files/EtchedBorder-1.png,
5571         javax/swing/border/doc-files/EtchedBorder-2.png,
5572         javax/swing/border/doc-files/MatteBorder-1.png,
5573         javax/swing/border/doc-files/MatteBorder-2.png,
5574         javax/swing/border/doc-files/MatteBorder-3.png,
5575         javax/swing/border/doc-files/MatteBorder-4.png,
5576         javax/swing/border/doc-files/MatteBorder-5.png,
5577         javax/swing/border/doc-files/MatteBorder-6.png,
5578         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5579         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5580         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5581         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5582         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5583         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5584         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5585         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5586         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5587         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5588         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5589         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5590         New binary files from classpath.
5591         * Makefile.am
5592         (awt_java_source_files): Added
5593         javax/swing/border/SoftBevelBorder.java.
5594         * Makefile.in: Regenerated.
5595
5596 2003-06-19  Michael Koch  <konqueror@gmx.de>
5597
5598         * gnu/java/security/x509/X509Certificate.java
5599         (writeReplace): Merged from classpath.
5600
5601 2003-06-19  Michael Koch  <konqueror@gmx.de>
5602
5603         * gnu/java/nio/FileChannelImpl.java
5604         (map_address): Made public.
5605         (FileChannelImpl): Merged with classpath.
5606         * gnu/java/nio/natFileChannelImpl.cc
5607         (nio_mmap_file): Commented out unused arguments.
5608         (nio_unmmap_file): Likewise.
5609         (niu_msync): Likewise.
5610
5611 2003-06-19  Michael Koch  <konqueror@gmx.de>
5612
5613         * java/awt/image/IndexColorModel.java:
5614         New version from classpath.
5615
5616 2003-06-18  Tom Tromey  <tromey@redhat.com>
5617
5618         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5619         on arrays.
5620         (isLoopbackAddress): Likewise.
5621         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5622         on arrays.
5623
5624 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5625
5626         * java/lang/natVMSecurityManager.cc (getClassContext):
5627         Use maxlen instead of len for loop bound.
5628
5629 2003-06-18  Michael Koch  <konqueror@gmx.de>
5630
5631         * gnu/java/nio/SelectorImpl.java
5632         (register): Use fd with value 0 for now, will be fixed later.
5633         * gnu/java/nio/ServerSocketChannelImpl.java
5634         (fd): Removed.
5635         (local_port): Removed.
5636         (InetSocketAddress): Removed.
5637         (ServerSocketChannelImpl): Just initialize internal socket object.
5638         (implCloseSelectableChannel): Close internal socket object.
5639         (implConfigureBlocking): Added comment.
5640         (accept): Use jaba.net stuff to accept socket.
5641         * gnu/java/nio/SocketChannelImpl.java
5642         (fd): Removed.
5643         (local_port): Removed.
5644         (InetSocketAddress): Removed.
5645         (SocketCreate): Removed.
5646         (SocketConnect): Removed.
5647         (SocketBind): Removed.
5648         (SocketListen): Removed.
5649         (SocketAvailable): Removed.
5650         (SocketClose): Removed.
5651         (SocketRead): Removed.
5652         (SocketWrite): Removed.
5653         (SocketChannelImpl): Just initialize internal socket object.
5654         (implCloseSelectableChannel): Close internal socket object.
5655         (implConfigureBlocking): Fixed implementation, added comment.
5656         (connect): Use internal socket object to connect.
5657         (socket): No need for sanity checks.
5658         (read): Comment out some stuff, this will be reimplemented in the next
5659         commit.
5660         (write): Likewise.
5661         * gnu/java/nio/natFileChannelImpl.cc
5662         (nio_mmap_file): Line wrapped.
5663         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5664         * Makefile.am
5665         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5666         * Makefile.in: Regenerated.
5667
5668 2003-06-18  Michael Koch  <konqueror@gmx.de>
5669
5670         * java/util/Locale.java
5671         (equals): Merged from classpath.
5672
5673 2003-06-18  Michael Koch  <konqueror@gmx.de>
5674
5675         * java/net/InetAddress.java:
5676         Reformatted to better match classpath's version.
5677         * java/net/URL.java
5678         (equals): Simplified.
5679         * java/net/URLConnection.java
5680         (setDoInput): Revised documentation.
5681         (getDefaultUseCaches): Likewise.
5682         (setRequestProperty): Added @since tag.
5683
5684 2003-06-17  Michael Koch  <konqueror@gmx.de>
5685
5686         * java/net/InetSocketAddress.java
5687         (InetSocketAddress): Use wildcard address if addr is null.
5688         (InetSocketAddress): Dont duplicate implementation.
5689         (InetSocketAddress): Throw exception when hostname is null.
5690         * java/net/Socket.java:
5691         Reworked imports.
5692         (Socket): Throw exception when raddr is null, handle case when laddr
5693         is null.
5694
5695 2003-06-17  Michael Koch  <konqueror@gmx.de>
5696
5697         * java/nio/DirectByteBufferImpl.java
5698         (address): Made package private.
5699         (DirectByteBufferImpl): New constructor.
5700         * java/nio/natDirectByteBufferImpl.cc
5701         (allocateImpl): Moved to java.nio namespace, implemented.
5702         (freeImpl): Likewise.
5703         (getImpl): Likewise.
5704         (putImpl): Likewise.
5705         * jni.cc
5706         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5707         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5708         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5709
5710 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5711
5712         * include/powerpc-signal.h: New File.
5713         * configure.in: Use it.
5714         * configure: Regenerated.
5715
5716 2003-06-17  Michael Koch  <konqueror@gmx.de>
5717
5718         * java/util/Locale.java
5719         (getDisplayLanguage): Made it final.
5720         (getDisplayCountry): Likewise.
5721         (getDisplayVariant): Likewise.
5722         (getDisplayName): Likewise.
5723
5724 2003-06-17  Michael Koch  <konqueror@gmx.de>
5725
5726         * java/util/PropertyResourceBundle.java:
5727         Removed unneeded import.
5728
5729 2003-06-17  Michael Koch  <konqueror@gmx.de>
5730
5731         * java/util/prefs/AbstractPreferences.java,
5732         java/util/prefs/PreferencesFactory.java:
5733         Reworked imports, removed unused imports.
5734         * java/util/prefs/Preferences.java
5735         (systemNodeForPackage): Method takes a Class not an Object.
5736         (userNodeForPackage): Likewise.
5737         (nodeForPackage): Likewise.
5738
5739 2003-06-17  Michael Koch  <konqueror@gmx.de>
5740
5741         * gnu/java/security/x509/X509Certificate.java:
5742         Explicitely import used classes.
5743
5744 2003-06-17  Michael Koch  <konqueror@gmx.de>
5745
5746         * java/util/zip/ZipEntry.java,
5747         java/util/zip/ZipFile.java,
5748         java/util/zip/ZipInputStream.java,
5749         java/util/zip/ZipOutputStream.java:
5750         Reworked imports, only import used classes.
5751
5752 2003-06-17  Michael Koch  <konqueror@gmx.de>
5753
5754         * gnu/java/lang/ArrayHelper.java,
5755         gnu/java/lang/ClassHelper.java:
5756         Reformatted to match classpath's versions.
5757
5758 2003-06-14  Michael Koch  <konqueror@gmx.de>
5759
5760         * gnu/java/nio/FileChannelImpl.java
5761         (map_address): Removed incorrect comment.        
5762         * gnu/java/nio/SelectorImpl.java
5763         (register): Remove code duplication and code for file channel handling.        
5764         * gnu/java/nio/ServerSocketChannelImpl.java
5765         (serverSocket): Renamed from sock_object.
5766         (ServerSocketChannel): Initialize serverSocket.
5767         (socket): Return serverSocket.
5768         * gnu/java/nio/SocketChannelImpl.java
5769         (socket): Renamed from sock_object.
5770         (isConnectionPenging): Simplified.
5771         (socket): Return socket.
5772 2003-06-14  Michael Koch  <konqueror@gmx.de>
5773
5774         * java/security/BasicPermission.java:
5775         New version from classpath.
5776
5777 2003-06-14  Michael Koch  <konqueror@gmx.de>
5778
5779         * javax/naming/directory/Attribute.java:
5780         New version from classpath.
5781
5782 2003-06-14  Michael Koch  <konqueror@gmx.de>
5783
5784         * java/io/BufferedReader.java,
5785         java/io/FileOutputStream.java:
5786         New versions from classpath.
5787
5788 2003-06-12  Andrew Haley  <aph@redhat.com>
5789
5790         * prims.cc (catch_segv): Create exception in handler.
5791         (catch_fpe): Likewise.  
5792         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5793         (_Jv_ThrowSignal): Remove.
5794
5795         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5796         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5797         to nullp and arithexception.
5798         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5799         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5800         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5801         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5802         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5803
5804 2003-06-11  Andrew Haley  <aph@redhat.com>
5805
5806         * jni.cc (_Jv_JNI_check_types): New.
5807         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5808         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5809         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5810         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5811         
5812         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5813         infinite loop.
5814
5815 2003-06-11  Tom Tromey  <tromey@redhat.com>
5816
5817         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5818         * java/io/PrintStream.java: Not deprecated.
5819
5820 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5821
5822         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5823         (fillOval): implemented
5824         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5825         (fillArc): implemented.
5826         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5827         (fillArc): added native method.
5828         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5829         (fillArc): added native method.
5830
5831 2003-06-11  Michael Koch  <konqueror@gmx.de>
5832
5833         * java/awt/im/InputSubset.java:
5834         New version from classpath.
5835
5836 2003-06-11  Michael Koch  <konqueror@gmx.de>
5837
5838         * javax/swing/AbstractAction.java,
5839         javax/swing/AbstractButton.java,
5840         javax/swing/AbstractCellEditor.java,
5841         javax/swing/AbstractListModel.java,
5842         javax/swing/BorderFactory.java,
5843         javax/swing/Box.java,
5844         javax/swing/BoxLayout.java,
5845         javax/swing/ButtonGroup.java,
5846         javax/swing/DefaultButtonModel.java,
5847         javax/swing/DefaultListModel.java,
5848         javax/swing/DefaultListSelectionModel.java,
5849         javax/swing/FocusManager.java,
5850         javax/swing/ImageIcon.java,
5851         javax/swing/InputMap.java,
5852         javax/swing/JApplet.java,
5853         javax/swing/JButton.java,
5854         javax/swing/JCheckBox.java,
5855         javax/swing/JCheckBoxMenuItem.java,
5856         javax/swing/JColorChooser.java,
5857         javax/swing/JComboBox.java,
5858         javax/swing/JComponent.java,
5859         javax/swing/JDesktopPane.java,
5860         javax/swing/JDialog.java,
5861         javax/swing/JEditorPane.java,
5862         javax/swing/JFileChooser.java,
5863         javax/swing/JFormattedTextField.java,
5864         javax/swing/JFrame.java,
5865         javax/swing/JLabel.java,
5866         javax/swing/JLayeredPane.java,
5867         javax/swing/JList.java,
5868         javax/swing/JMenuBar.java,
5869         javax/swing/JMenuItem.java,
5870         javax/swing/JOptionPane.java,
5871         javax/swing/JPanel.java,
5872         javax/swing/JPasswordField.java,
5873         javax/swing/JPopupMenu.java,
5874         javax/swing/JProgressBar.java,
5875         javax/swing/JRadioButton.java,
5876         javax/swing/JRadioButtonMenuItem.java,
5877         javax/swing/JRootPane.java,
5878         javax/swing/JScrollBar.java,
5879         javax/swing/JScrollPane.java,
5880         javax/swing/JSeparator.java,
5881         javax/swing/JSlider.java,
5882         javax/swing/JTabbedPane.java,
5883         javax/swing/JTable.java,
5884         javax/swing/JTextField.java,
5885         javax/swing/JToggleButton.java,
5886         javax/swing/JToolBar.java,
5887         javax/swing/JToolTip.java,
5888         javax/swing/JTree.java,
5889         javax/swing/JViewport.java,
5890         javax/swing/JWindow.java,
5891         javax/swing/KeyStroke.java,
5892         javax/swing/ListSelectionModel.java,
5893         javax/swing/LookAndFeel.java,
5894         javax/swing/RepaintManager.java,
5895         javax/swing/ScrollPaneLayout.java,
5896         javax/swing/SizeRequirements.java,
5897         javax/swing/SwingConstants.java,
5898         javax/swing/Timer.java,
5899         javax/swing/UIDefaults.java,
5900         javax/swing/UIManager.java,
5901         javax/swing/border/AbstractBorder.java,
5902         javax/swing/border/CompoundBorder.java,
5903         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5904         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5905         javax/swing/colorchooser/ColorSelectionModel.java,
5906         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5907         javax/swing/event/AncestorEvent.java,
5908         javax/swing/event/HyperlinkEvent.java,
5909         javax/swing/event/InternalFrameAdapter.java,
5910         javax/swing/event/InternalFrameEvent.java,
5911         javax/swing/event/ListDataEvent.java,
5912         javax/swing/event/MouseInputAdapter.java,
5913         javax/swing/event/SwingPropertyChangeSupport.java,
5914         javax/swing/event/TableModelEvent.java,
5915         javax/swing/event/TreeWillExpandListener.java,
5916         javax/swing/event/UndoableEditEvent.java,
5917         javax/swing/filechooser/FileFilter.java,
5918         javax/swing/filechooser/FileSystemView.java,
5919         javax/swing/filechooser/FileView.java,
5920         javax/swing/plaf/BorderUIResource.java,
5921         javax/swing/plaf/basic/BasicDefaults.java,
5922         javax/swing/table/AbstractTableModel.java,
5923         javax/swing/table/DefaultTableCellRenderer.java,
5924         javax/swing/table/DefaultTableColumnModel.java,
5925         javax/swing/table/DefaultTableModel.java,
5926         javax/swing/table/TableColumn.java,
5927         javax/swing/text/JTextComponent.java,
5928         javax/swing/tree/AbstractLayoutCache.java,
5929         javax/swing/tree/DefaultMutableTreeNode.java,
5930         javax/swing/tree/DefaultTreeCellEditor.java,
5931         javax/swing/tree/DefaultTreeCellRenderer.java,
5932         javax/swing/tree/DefaultTreeModel.java,
5933         javax/swing/tree/DefaultTreeSelectionModel.java,
5934         javax/swing/tree/FixedHeightLayoutCache.java,
5935         javax/swing/tree/TreeCellEditor.java,
5936         javax/swing/tree/TreeModel.java,
5937         javax/swing/tree/TreeNode.java,
5938         javax/swing/tree/TreePath.java,
5939         javax/swing/tree/TreeSelectionModel.java,
5940         javax/swing/tree/VariableHeightLayoutCache.java,
5941         javax/swing/undo/AbstractUndoableEdit.java,
5942         javax/swing/undo/CompoundEdit.java,
5943         javax/swing/undo/StateEdit.java,
5944         javax/swing/undo/UndoManager.java,
5945         javax/swing/undo/UndoableEditSupport.java:
5946         New versions from classpath.
5947         * javax/swing/table/JTableHeader.java:
5948         New file from classpath.
5949         * Makefile.am
5950         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5951         * Makefile.in: Regenerated.
5952
5953 2003-06-11  Michael Koch  <konqueror@gmx.de>
5954
5955         * java/nio/MappedByteBuffer.java,
5956         java/nio/channels/Channels.java,
5957         java/nio/channels/ServerSocketChannel.java,
5958         java/nio/channels/spi/AbstractSelector.java:
5959         Removed unneeded imports.
5960
5961 2003-06-11  Michael Koch  <konqueror@gmx.de>
5962
5963         * java/net/DatagramSocket.java:
5964         Partly merged with classpath.
5965
5966 2003-06-11  Michael Koch  <konqueror@gmx.de>
5967
5968         * java/awt/Frame.java,
5969         java/awt/Graphics.java,
5970         java/awt/Menu.java,
5971         java/awt/Robot.java,
5972         java/awt/image/ColorModel.java:
5973         New versions from classpath.
5974
5975 2003-06-10  Michael Koch  <konqueror@gmx.de>
5976
5977         * java/io/PrintStream.java:
5978         Merged version from classpath.
5979         (close): Removed sychronized keyword. This class is not garantied to
5980         be thread-safe.
5981         (write): Likewise.
5982
5983 2003-06-09  Tom Tromey  <tromey@redhat.com>
5984
5985         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5986         field.
5987         (getDescent): Likewise, for "descent".
5988
5989 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5990
5991         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5992         (getMaxDescent): adjusted return value.
5993         (getAscent): modified to use metrics for 'O'.
5994         (getDescent): modified to use metrics for 'y'.
5995
5996 2003-06-08  Anthony Green  <green@redhat.com>
5997
5998         * java/net/URLStreamHandler.java (sameFile): Fix port value
5999         comparison.
6000         * java/net/URL.java (handler): Make package private.
6001         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6002
6003 2003-06-07  Tom Tromey  <tromey@redhat.com>
6004
6005         For PR libgcj/11085:
6006         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6007         Limit number of characters in numeric field when required.
6008         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6009         Respect maximumIntegerDigits.
6010
6011 2003-06-08  Michael Koch  <konqueror@gmx.de>
6012
6013         * java/net/Socket.java
6014         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6015         call bind() and connect() to actually do the bind and connect tasks.
6016         (bind): Connect to canonical address if bindpoint is null, create
6017         socket and bind it to bindpoint.
6018         (connect): Check for exceptions.
6019
6020 2003-06-08  Michael Koch  <konqueror@gmx.de>
6021
6022         * java/net/DatagramSocket.java
6023         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6024         into the Multicast constructors.
6025         * java/net/DatagramSocketImpl.java
6026         (getOption): Removed.
6027         (setOption): Removed.
6028         * java/net/MulticastSocket.java
6029         (MulticastSocket): Call setReuseAddress (true).
6030         * java/net/SocketImpl.java
6031         (getOption): Removed.
6032         (setOption): Removed.
6033
6034 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6035
6036         PR libgcj/10886:
6037         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6038         Test for empty vector.
6039
6040 2003-06-06  Mark Wielaard  <mark@klomp.org>
6041
6042         * java/security/Security.java (secprops): Initialize.
6043         (loadProviders): Return boolean.
6044         (static): Check result of loadProvider calls. If necessary
6045         display WARNING and fallback to Gnu provider.
6046
6047 2002-06-06  James Clark  <jjc@jclark.com>
6048
6049         Fix for PR libgcj/8738:
6050         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6051         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6052         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6053         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6054         (write): Always decrease avail when count is increased.
6055         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6056         and whether output buffer is full before increasing size.
6057
6058 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6059
6060         * java/io/PrintStream.java (writeChars(char[],int, int)):
6061         Check converter.havePendingBytes().
6062         (writeChars(String,int,int)): Likewise.
6063         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6064         Check converter.havePendingBytes() and flush buffer when stalled.
6065
6066 2003-06-07  Michael Koch  <konqueror@gmx.de>
6067
6068         * include/posix.h
6069         (O_DSYNC): Define O_DSYNC on platforms not
6070         supporting O_FSYNC (newlib).
6071
6072 2003-06-06  Mark Wielaard  <mark@klomp.org>
6073
6074         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6075         AWTError.
6076
6077 2003-06-06  Michael Koch  <konqueror@gmx.de>
6078
6079         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6080         More compile fixes from my stupid work yesterday.
6081
6082 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6083
6084         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6085         if _IEEE_LIBM is undefined.
6086
6087 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6088
6089         * libjava/include/posix.h (O_SYNC): Define if not available
6090         and a reasonable, perhaps more conservative, replacement exists.
6091         (O_DSYNC): Likewise.
6092         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6093
6094 2003-06-05  Michael Koch  <konqueror@gmx.de>
6095
6096         * javax/swing/plaf/BorderUIResource.java,
6097         javax/swing/plaf/basic/BasicDefaults.java,
6098         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6099         More compile fixes for latest Border commit. I should not commit
6100         something in this heat here ...
6101
6102 2003-06-05  Michael Koch  <konqueror@gmx.de>
6103
6104         * javax/swing/border/BevelBorder.java
6105         (BevelBorder): Removed.
6106         * javax/swing/border/EmptyBorder.java:
6107         Reformatted.
6108         (EmptyBorder): Removed.
6109         (getBorderInsets): Dont use l, r, t and b.
6110         * javax/swing/border/EtchedBorder.java
6111         (EtchedBorder): Removed.
6112         * javax/swing/border/LineBorder.java
6113         (LineBorder): Removed.
6114         * javax/swing/border/MatteBorder.java
6115         (MatteBorder): Removed.
6116         * javax/swing/border/TitledBorder.java
6117         (defaultBorder): Use other default for now.
6118         (defaultFont): Likewise.
6119         (defaultColor): Likewise.
6120
6121 2003-06-05  Michael Koch  <konqueror@gmx.de>
6122
6123         * javax/swing/border/Border.java:
6124         New version from classpath.
6125
6126 2003-06-05  Michael Koch  <konqueror@gmx.de>
6127
6128         * javax/swing/border/AbstractBorder.java,
6129         javax/swing/border/BevelBorder.java,
6130         javax/swing/border/CompoundBorder.java,
6131         javax/swing/border/EmptyBorder.java,
6132         javax/swing/border/EtchedBorder.java,
6133         javax/swing/border/LineBorder.java,
6134         javax/swing/border/MatteBorder.java,
6135         javax/swing/border/TitledBorder.java:
6136         New versions from Classpath.
6137
6138 2003-06-05  Michael Koch  <konqueror@gmx.de>
6139
6140         * java/awt/Button.java,
6141         java/awt/Checkbox.java,
6142         java/awt/CheckboxMenuItem.java,
6143         java/awt/Choice.java,
6144         java/awt/Container.java,
6145         java/awt/Dialog.java,
6146         java/awt/EventQueue.java,
6147         java/awt/FileDialog.java,
6148         java/awt/Frame.java,
6149         java/awt/Label.java,
6150         java/awt/List.java,
6151         java/awt/Menu.java,
6152         java/awt/MenuItem.java,
6153         java/awt/Panel.java,
6154         java/awt/PopupMenu.java,
6155         java/awt/Rectangle.java,
6156         java/awt/ScrollPane.java,
6157         java/awt/Scrollbar.java,
6158         java/awt/TextArea.java,
6159         java/awt/TextField.java,
6160         java/awt/Window.java,
6161         java/awt/datatransfer/DataFlavor.java,
6162         java/awt/dnd/DragSource.java,
6163         java/awt/dnd/DragSourceContext.java,
6164         java/awt/event/HierarchyEvent.java,
6165         java/awt/event/MouseWheelEvent.java,
6166         java/awt/im/InputContext.java,
6167         java/awt/image/BufferedImage.java,
6168         java/awt/image/ComponentColorModel.java,
6169         java/awt/image/Raster.java,
6170         java/awt/image/WritableRaster.java,
6171         java/awt/peer/ComponentPeer.java,
6172         java/awt/print/PageFormat.java,
6173         java/awt/print/PrinterJob.java:
6174         New versions from Classpath.
6175
6176 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6177
6178         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6179         numberFormat.setParseIntegerOnly(true).
6180
6181 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6182
6183         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6184
6185 2003-06-03  Andrew Haley  <aph@redhat.com>
6186
6187         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6188         stack volatile to prevent optimization from removing it.
6189
6190 2003-05-27  Michael Koch  <konqueror@gmx.de>
6191
6192         * java/util/zip/Deflater.java
6193         (FILTERED): Merged documentation from classpath.
6194         * java/util/zip/DeflaterOutputStream.java
6195         (DeflaterOutputStream): Merged documentation and argument validity
6196         check from classpath.
6197         (deflate): Merged documentation from classpath.
6198         (finish): Likewise.
6199         * java/util/zip/Inflater.java
6200         (Inflater): Merged class documentation from classpath.
6201         (zstream): Reordered.
6202         (is_finished): Reordered.
6203         (dict_needed): Reordered.
6204         (Inflater): Reordered, merged documentation from classpath.
6205         (end): Likewise.
6206         (finalize): Merged documentation from classpath.
6207         (finished): Likewise.
6208         (getAdler): Likewise.
6209         (getRemaining): Likewise.
6210         (getTotalIn): Likewise.
6211         (getTotalOut): Likewise.
6212         (inflate): Likewise.
6213         (needsDictionary): Likewise.
6214         (needsInput): Likewise.
6215         (reset): Likewise.
6216         (setDictionary): Likewise.
6217         (setInput): Likewise.
6218
6219 2003-05-27  Michael Koch  <konqueror@gmx.de>
6220
6221         * java/net/URLConnection.java
6222         (getHeaderFieldInt): Merged with classpath.
6223
6224 2003-05-27  Michael Koch  <konqueror@gmx.de>
6225
6226         * java/io/PrintStream.java
6227         (PrintStream): Reformatted.
6228         (PrintStream): New method, merged from classpath.
6229         (write): Reformatted.
6230
6231 2003-05-27  Michael Koch  <konqueror@gmx.de>
6232
6233         * java/lang/System.java:
6234         Explicitely import needed classes.
6235
6236 2003-05-26  Michael Koch  <konqueror@gmx.de>
6237
6238         * java/net/NetPermission.java,
6239         java/net/NetworkInterface.java,
6240         java/net/PasswordAuthentication.java,
6241         java/net/SocketPermission.java:
6242         New versions from classpath.
6243
6244 2003-05-25  Michael Koch  <konqueror@gmx.de>
6245
6246         * java/io/PushbackInputStream.java,
6247         java/net/Authenticator.java,
6248         java/net/ContentHandler.java,
6249         java/net/ContentHandlerFactory.java,
6250         java/net/DatagramSocket.java,
6251         java/net/DatagramSocketImpl.java,
6252         java/net/DatagramSocketImplFactory.java,
6253         java/net/FileNameMap.java,
6254         java/net/SocketImplFactory.java,
6255         java/net/SocketOptions.java,
6256         java/net/URLStreamHandlerFactory.java:
6257         Merged new versions from classpath.
6258
6259 2003-05-25  Michael Koch  <konqueror@gmx.de>
6260
6261         * java/awt/Checkbox.java,
6262         java/awt/Dialog.java,
6263         java/awt/Font.java,
6264         java/awt/Frame.java,
6265         java/awt/ScrollPaneAdjustable.java,
6266         java/awt/Scrollbar.java,
6267         java/awt/Window.java:
6268         New versions from classpath.
6269
6270 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6271
6272         PR libgcj/10838:
6273         * java/io/ObjectInputStream (enableResolveObject):
6274         Fixed spelling of permission name.
6275
6276 2003-05-20  Michael Koch  <konqueror@gmx.de>
6277
6278         * java/io/DataInputStream.java
6279         (convertFromUTF): Merged comment from classpath.
6280         * java/io/PrintStream.java
6281         (error_occured): Renamed from error, merged comment from classpath.
6282         (PrintStream): No need to initialized error.
6283         (checkError): Replace error with error_occurred.
6284         (setError): Likewise.
6285
6286 2003-05-20  Michael Koch  <konqueror@gmx.de>
6287
6288         * java/io/DataInputStream.java:
6289         Reformatted, Replaced < and & with html entitites in documentation.
6290         * java/io/File.java:
6291         Reformatted.
6292         * java/io/PrintWriter.java:
6293         Moved class documentation.
6294
6295 2003-05-20  Michael Koch  <konqueror@gmx.de>
6296
6297         * gnu/java/nio/ByteBufferImpl.java,
6298         gnu/java/nio/CharBufferImpl.java,
6299         gnu/java/nio/CharViewBufferImpl.java,
6300         gnu/java/nio/DirectByteBufferImpl.java,
6301         gnu/java/nio/DoubleBufferImpl.java,
6302         gnu/java/nio/DoubleViewBufferImpl.java,
6303         gnu/java/nio/FloatBufferImpl.java,
6304         gnu/java/nio/FloatViewBufferImpl.java,
6305         gnu/java/nio/IntBufferImpl.java,
6306         gnu/java/nio/IntViewBufferImpl.java,
6307         gnu/java/nio/LongBufferImpl.java,
6308         gnu/java/nio/LongViewBufferImpl.java,
6309         gnu/java/nio/natDirectByteBufferImpl.cc,
6310         gnu/java/nio/ShortBufferImpl.java,
6311         gnu/java/nio/ShortViewBufferImpl.java:
6312         Moved files to java/nio.
6313         * gnu/java/nio/SocketChannelImpl.java
6314         
6315         * java/nio/ByteBuffer.java,
6316         java/nio/CharBuffer.java,
6317         java/nio/DoubleBuffer.java,
6318         java/nio/FloatBuffer.java,
6319         java/nio/IntBuffer.java,
6320         java/nio/LongBuffer.java,
6321         java/nio/ShortBuffer.java:
6322         Dont import anything.
6323         * java/nio/ByteBufferImpl.java,
6324         java/nio/CharBufferImpl.java,
6325         java/nio/CharViewBufferImpl.java,
6326         java/nio/DirectByteBufferImpl.java,
6327         java/nio/DoubleBufferImpl.java,
6328         java/nio/DoubleViewBufferImpl.java,
6329         java/nio/FloatBufferImpl.java,
6330         java/nio/FloatViewBufferImpl.java,
6331         java/nio/IntBufferImpl.java,
6332         java/nio/IntViewBufferImpl.java,
6333         java/nio/LongBufferImpl.java,
6334         java/nio/LongViewBufferImpl.java,
6335         java/nio/natDirectByteBufferImpl.cc,
6336         java/nio/ShortBufferImpl.java,
6337         java/nio/ShortViewBufferImpl.java:
6338         Moved from gnu/java/nio.
6339         * Makefile.am
6340         (ordinary_java_source_files): Moved files from gnu/java/nio to
6341         java/nio.
6342         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6343         to java/nio.
6344         * Makefile.in: Regenerated.
6345
6346 2003-05-19  Michael Koch  <konqueror@gmx.de>
6347
6348         * java/util/Calendar.java
6349         (get): Not final anymore since JDK 1.4
6350         (set): Likewise.
6351
6352 2003-05-19  Michael Koch  <konqueror@gmx.de>
6353
6354         * java/text/CollationKey.java:
6355         Merged copyright and dat from classpath.
6356         * java/text/RuleBasedCollator.java:
6357         Merged class documentation from classpath.
6358
6359 2003-05-19  Michael Koch  <konqueror@gmx.de>
6360
6361         * java/nio/CharBuffer.java
6362         (toString): Compile fix.
6363
6364 2003-05-19  Michael Koch  <konqueror@gmx.de>
6365
6366         * gnu/java/nio/ByteBufferImpl.java
6367         (putLong): Fixed conversion to bytes.
6368         (putDouble): Fixed conversion to bytes.
6369         * gnu/java/nio/DirectByteBufferImpl.java
6370         (putLong): Fixed conversion to bytes.
6371         (putDouble): Fixed conversion to bytes.
6372         * gnu/java/nio/FileLockImpl.java
6373         (isValid): Reformatted.
6374         * java/nio/Buffer.java
6375         (Buffer): Fixed off-by-one bug in handling mark.
6376         * java/nio/ByteBuffer.java:
6377         Added newline.
6378         * java/nio/CharBuffer.java
6379         (toString): Don't use relative get to get string data.
6380
6381 2003-05-16  Michael Koch  <konqueror@gmx.de>
6382
6383         * java/io/natFileDescriptorPosix.cc
6384         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6385         tested.
6386
6387 2003-05-14  Michael Koch  <konqueror@gmx.de>
6388
6389         * gnu/java/nio/FileLockImpl.java
6390         (released): New member variable.
6391         (FileLockImpl): Initialize released.
6392         (releaseImpl): New native method.
6393         (release): Implemented.
6394         * gnu/java/nio/SelectorImpl.java: Reformatted.
6395         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6396         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6397         (accept): Throws IOException.
6398         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6399         (implConfigureBlocking): Throws IOException.
6400         (connect): Likewise.
6401         (read): Likewise.
6402         (write): Likewise.
6403         * gnu/java/nio/natFileLockImpl.cc: New file.
6404         * java/nio/channels/FileLock.java: Reformatted.
6405         * Makefile.am:
6406         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6407         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6408         * Makefile.in: Regenerated.
6409
6410 2003-05-13  Michael Koch  <konqueror@gmx.de>
6411
6412         * gnu/java/nio/CharViewBufferImpl.java
6413         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6414         (get): Shift bits to the right direction.
6415         (put): Likewise.
6416         * gnu/java/nio/DoubleViewBufferImpl.java
6417         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6418         (get): Shift bits to the right direction.
6419         (put): Likewise.
6420         * gnu/java/nio/FloatViewBufferImpl.java
6421         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6422         (get): Shift bits to the right direction.
6423         (put): Likewise.
6424         * gnu/java/nio/IntViewBufferImpl.java
6425         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6426         (get): Shift bits to the right direction.
6427         (put): Likewise.
6428         * gnu/java/nio/LongViewBufferImpl.java
6429         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6430         (get): Shift bits to the right direction.
6431         (put): Likewise.
6432         * gnu/java/nio/ShortViewBufferImpl.java
6433         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6434         (get): Shift bits to the right direction.
6435         (put): Likewise.
6436
6437 2003-05-13  Michael Koch  <konqueror@gmx.de>
6438
6439         * gnu/java/nio/natDirectByteBufferImpl.cc
6440         (allocateImpl): jlong -> RawData*.
6441         (freeImpl): Likewise.
6442
6443 2003-05-13  Michael Koch  <konqueror@gmx.de>
6444
6445         * java/nio/channels/FileChannel.java
6446         (MapMode.m): Made it package-private to match JDK 1.4.
6447         * java/nio/charset/Charset.java
6448         (decode): Made it final to match JDK 1.4.
6449
6450 2003-05-13  Michael Koch  <konqueror@gmx.de>
6451
6452        * java/io/FileDescriptor.java
6453        (SYNC): New constant.
6454        (DSYNC): Likewise.
6455        (getLength): Renamed from lenght() to match classpath's
6456        FileDescriptor.java.
6457        * java/io/RandomAccessFile.java
6458        (RandomAccessFile): Removed unneeded mode check, implemented mode
6459        "rws" and "rwd", merged documentation from classpath.
6460        (setLength): Reformatted.
6461        (length): Use new getLength() of FileDescriptor.
6462        * java/io/natFileDescriptorEcos.cc
6463        (getLength): Renamed from length().
6464        * java/io/natFileDescriptorPosix.cc
6465        (open): Implemented support for SYNC and DSYNC.
6466        (seek): Use getLength() instead of length().
6467        (getLength): Renamed from length().
6468        * java/io/natFileDescriptorWin32.cc
6469        (getLength): Renamed from length().
6470        (seek): Use getLength() instead of length().
6471        (available): Likewise.
6472        * gnu/java/nio/natFileChannelImpl.cc
6473        (size): Use getLength() instead of length().
6474
6475 2003-05-13  Michael Koch  <konqueror@gmx.de>
6476
6477         * gnu/java/nio/ByteBufferImpl.java
6478         (ByteBufferImpl): All constructors revised.
6479         (slice): Reimplemented.
6480         (duplicate): Reimplemented.
6481         (asReadOnlyBuffer): Reimplemented.
6482         * java/nio/ByteBuffer.java:
6483         Reformatted.
6484         (array_offset): Renamed from "offset" to match all other buffer
6485         classes.
6486         (ByteBuffer): All constructors revised.
6487         (allocateDirect): Implemented.
6488         (allocate): New implementation, documentation reworked.
6489         (wrap): Likewise.
6490         (get): Documentation reworked.
6491         (put): New implementation, documentation reworked.
6492         (hasArray): Documentation reworked.
6493         (arrayOffset): Likewise.
6494         (hashCode): Likewise.
6495         (equals): Likewise.
6496         (compareTo): Likewise.
6497         (order): Likewise.
6498         (compact): Likewise.
6499         (isDirect): Likewise.
6500         (slice): Likewise.
6501         (duplicate): Likewise.
6502         (asReadOnlyBuffer): Likewise.
6503         * Makefile.am
6504         (ordinary_java_source_files):
6505         Added gnu/java/nio/DirectByteBufferImpl.java.
6506         (nat_source_files):
6507         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6508         * Makefile.in: Regenerated.
6509
6510 2003-05-12  Michael Koch  <konqueror@gmx.de>
6511
6512         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6513         (nio_get_*): Removed.
6514         (nio_put_*): Removed.
6515         (as*Buffer): Implemented.
6516         (compact): Implemented.
6517         (get): Documentation added.
6518         (put): Documentation added.
6519         (get*): Newly implemented.
6520         (put*): Newly implemented.
6521         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6522         (CharBufferImpl): Revised.
6523         (slice): New implementation.
6524         (duplicate): New implementation.
6525         (compact): New implementation.
6526         (asReadOnlyBuffer): New implementation.
6527         (get): Documentation revised.
6528         (order): Return native byte order.
6529         * gnu/java/nio/DirectByteBufferImpl.java
6530         (allocateDirect): objects can be null not 0.
6531         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6532         (DoubleBufferImpl): Revised.
6533         (slice): New implementation.
6534         (duplicate): New implementation.
6535         (compact): New implementation.
6536         (asReadOnlyBuffer): New implementation.
6537         (get): Documentation revised.
6538         (order): Return native byte order.
6539         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6540         (FloatBufferImpl): Revised.
6541         (slice): New implementation.
6542         (duplicate): New implementation.
6543         (compact): New implementation.
6544         (asReadOnlyBuffer): New implementation.
6545         (get): Documentation revised.
6546         (order): Return native byte order.
6547         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6548         (IntBufferImpl): Revised.
6549         (slice): New implementation.
6550         (duplicate): New implementation.
6551         (compact): New implementation.
6552         (asReadOnlyBuffer): New implementation.
6553         (get): Documentation revised.
6554         (order): Return native byte order.
6555         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6556         (LongBufferImpl): Revised.
6557         (slice): New implementation.
6558         (duplicate): New implementation.
6559         (compact): New implementation.
6560         (asReadOnlyBuffer): New implementation.
6561         (get): Documentation revised.
6562         (order): Return native byte order.
6563         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6564         (ShortBufferImpl): Revised.
6565         (slice): New implementation.
6566         (duplicate): New implementation.
6567         (compact): New implementation.
6568         (asReadOnlyBuffer): New implementation.
6569         (get): Documentation revised.
6570         (order): Return native byte order.
6571         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6572         (CharBuffer): Revised.
6573         (order): Removed.
6574         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6575         (DoubleBuffer): Revised.
6576         (allocateDirect): Removed.
6577         (order): Removed.
6578         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6579         (FloatBuffer): Revised.
6580         (allocateDirect): Removed.
6581         (order): Removed.
6582         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6583         (IntBuffer): Revised.
6584         (allocateDirect): Removed.
6585         (order): Removed.
6586         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6587         (LongBuffer): Revised.
6588         (allocateDirect): Removed.
6589         (order): Removed.
6590         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6591         (ShortBuffer): Revised.
6592         (allocateDirect): Removed.
6593         (order): Removed.
6594         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6595         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6596         * Makefile.am
6597         (ordinary_java_source_files): Added the following files:
6598         gnu/java/nio/CharViewBufferImpl.java,
6599         gnu/java/nio/DoubleViewBufferImpl.java,
6600         gnu/java/nio/FloatViewBufferImpl.java,
6601         gnu/java/nio/IntViewBufferImpl.java,
6602         gnu/java/nio/LongViewBufferImpl.java,
6603         gnu/java/nio/ShortViewBufferImpl.java
6604         (nat_source_files): Removed the following files:
6605         gnu/java/nio/natByteBufferImpl.cc,
6606         gnu/java/nio/natCharBufferImpl.cc
6607         * Makefile.in: Regenerated.
6608
6609 2003-05-12  Michael Koch  <konqueror@gmx.de>
6610
6611         * gnu/java/nio/CharViewBufferImpl.java,
6612         gnu/java/nio/DirectByteBufferImpl.java,
6613         gnu/java/nio/DoubleViewBufferImpl.java,
6614         gnu/java/nio/FloatViewBufferImpl.java,
6615         gnu/java/nio/IntViewBufferImpl.java,
6616         gnu/java/nio/LongViewBufferImpl.java,
6617         gnu/java/nio/ShortViewBufferImpl.java,
6618         gnu/java/nio/natDirectByteBufferImpl.cc:
6619         New files, not yet to be compiled.
6620
6621 2003-05-10  Michael Koch  <konqueror@gmx.de>
6622
6623         * javax/swing/plaf/ButtonUI.java,
6624         javax/swing/plaf/ColorUIResource.java,
6625         javax/swing/plaf/ComponentUI.java,
6626         javax/swing/plaf/DimensionUIResource.java,
6627         javax/swing/plaf/FontUIResource.java,
6628         javax/swing/plaf/IconUIResource.java,
6629         javax/swing/plaf/InsetsUIResource.java,
6630         javax/swing/plaf/LabelUI.java,
6631         javax/swing/plaf/ListUI.java,
6632         javax/swing/plaf/OptionPaneUI.java,
6633         javax/swing/plaf/PanelUI.java,
6634         javax/swing/plaf/TabbedPaneUI.java,
6635         javax/swing/plaf/TextUI.java,
6636         javax/swing/plaf/TreeUI.java,
6637         javax/swing/plaf/ViewportUI.java,
6638         javax/swing/plaf/basic/BasicBorders.java,
6639         javax/swing/plaf/basic/BasicButtonUI.java,
6640         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6641         javax/swing/plaf/basic/BasicDefaults.java,
6642         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6643         javax/swing/plaf/basic/BasicIconFactory.java,
6644         javax/swing/plaf/basic/BasicLabelUI.java,
6645         javax/swing/plaf/basic/BasicListUI.java,
6646         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6647         javax/swing/plaf/basic/BasicPanelUI.java,
6648         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6649         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6650         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6651         javax/swing/plaf/basic/BasicTextUI.java,
6652         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6653         javax/swing/plaf/basic/BasicTreeUI.java,
6654         javax/swing/plaf/basic/BasicViewportUI.java,
6655         javax/swing/plaf/metal/MetalLookAndFeel.java:
6656         New versions from classpath. This adds copyrights to all files and
6657         some serialVersionUIDs.
6658
6659 2003-05-10  Michael Koch  <konqueror@gmx.de>
6660
6661         * java/nio/CharBuffer.java
6662         (offset): Make it package-private.
6663         (backing_buffer): Likewise.
6664         * java/nio/DoubleBuffer.java
6665         (offset): Make it package-private.
6666         (backing_buffer): Likewise.
6667         (put): Reformatted.
6668         * java/nio/FloatBuffer.java
6669         (offset): Make it package-private.
6670         (backing_buffer): Likewise.
6671         * java/nio/IntBuffer.java
6672         (offset): Make it package-private.
6673         (backing_buffer): Likewise.
6674         * java/nio/LongBuffer.java
6675         (offset): Make it package-private.
6676         (backing_buffer): Likewise.
6677         * java/nio/ShortBuffer.java
6678         (offset): Make it package-private.
6679         (backing_buffer): Likewise.
6680
6681 2003-05-10  Michael Koch  <konqueror@gmx.de>
6682
6683         * java/nio/CharBuffer.java
6684         (put): Fixed precondtion check.
6685         (toString): Make it work without backing array.
6686         (put): Skip one level of method calling.
6687
6688 2003-05-10  Michael Koch  <konqueror@gmx.de>
6689
6690         * java/security/Identity.java,
6691         java/security/IdentityScope.java,
6692         java/security/Key.java,
6693         java/security/KeyPair.java,
6694         java/security/PrivateKey.java,
6695         java/security/Provider.java,
6696         java/security/PublicKey.java,
6697         java/security/SecureRandom.java,
6698         java/security/SecureRandomSpi.java,
6699         java/security/SignedObject.java,
6700         java/security/Signer.java,
6701         java/security/cert/Certificate.java,
6702         java/security/cert/PKIXCertPathBuilderResult.java,
6703         java/security/cert/X509Certificate.java:
6704         New versions from classpath.
6705
6706 2003-05-09  Tom Tromey  <tromey@redhat.com>
6707
6708         * Makefile.in: Rebuilt.
6709         * Makefile.am (nat_source_files): Removed old files.
6710         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6711         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6712         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6713         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6714         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6715
6716 2003-05-09  Michael Koch  <konqueror@gmx.de>
6717
6718         * gnu/java/nio/ByteBufferImpl.java
6719         (nio_cast): Removed.
6720         (ByteBufferImpl): Removed.
6721         (nio_get_Byte): Removed.
6722         (nio_put_Byte): Removed.
6723         (asByteBuffer): Removed.
6724         (asCharBuffer): Removed implementation and throw exception.
6725         (asShortBuffer): Likewise.
6726         (asIntBuffer): Likewise.
6727         (asLongBuffer): Likewise.
6728         (asFloatBuffer): Likewise.
6729         (asDoubleBuffer): Likewise.
6730         * gnu/java/nio/CharBufferImpl.java
6731         (CharBufferImpl): Removed.
6732         (nio_get_Byte): Removed.
6733         (nio_put_Byte): Removed.
6734         (asByteBuffer): Removed.
6735         * gnu/java/nio/DoubleBufferImpl.java
6736         (DoubleBufferImpl): Removed.
6737         (nio_get_Byte): Removed.
6738         (nio_put_Byte): Removed.
6739         (asByteBuffer): Removed.
6740         * gnu/java/nio/FloatBufferImpl.java
6741         (FloatBufferImpl): Removed.
6742         (nio_get_Byte): Removed.
6743         (nio_put_Byte): Removed.
6744         (asByteBuffer): Removed.
6745         * gnu/java/nio/IntBufferImpl.java
6746         (IntBufferImpl): Removed.
6747         (nio_get_Byte): Removed.
6748         (nio_put_Byte): Removed.
6749         (asByteBuffer): Removed.
6750         * gnu/java/nio/LongBufferImpl.java
6751         (LongBufferImpl): Removed.
6752         (nio_get_Byte): Removed.
6753         (nio_put_Byte): Removed.
6754         (asByteBuffer): Removed.
6755         * gnu/java/nio/ShortBufferImpl.java
6756         (ShortBufferImpl): Removed.
6757         (nio_get_Byte): Removed.
6758         (nio_put_Byte): Removed.
6759         (asByteBuffer): Removed.
6760         * gnu/java/nio/natByteBufferImpl.cc
6761         (nio_cast): Removed.
6762         (nio_get_Byte): Removed.
6763         (nio_put_Byte): Removed.
6764         * gnu/java/nio/natCharBufferImpl.cc
6765         (nio_get_Byte): Removed.
6766         (nio_put_Byte): Removed.
6767
6768 2003-05-09  Michael Koch  <konqueror@gmx.de>
6769
6770         * java/net/JarURLConnection.java
6771         (getJarEntry): Merged documentation from classpath.
6772         (getJarFile): Likewise.
6773         (getMainAttributes): Likewise.
6774         (getAttributes): Likewise.
6775         (getManifest): Likewise.
6776         (getCertificates): Reformatted.
6777         * java/net/URLConnection.java:
6778         Little classpath merge.
6779
6780 2003-05-09  Michael Koch  <konqueror@gmx.de>
6781
6782         * java/io/DataOutputStream.java
6783         (writeShort): Made it synchronized.
6784         (writeChar): Likewise.
6785         (writeInt): Likewise.
6786         (writeLong): Liekwise.
6787         (writeUTF): Made it synchronized, renamed argument to match classpath.
6788         * java/io/InputStreamReader.java
6789         (converter): Added documentation.
6790         (read): Merged documentation from classpath.
6791         * java/io/OutputStreamWriter.java
6792         (OutputStreamWriter): Merged documentation from classpath.
6793         (close): Reformatted.
6794         (getEncoding): Likewise.
6795         (flush): Likewise.
6796         (write): Merged documentation from classpath, reformatted.
6797
6798 2003-05-08  Tom Tromey  <tromey@redhat.com>
6799
6800         * configure.host <powerpc64*-*>: Set with_libffi_default and
6801         libgcj_interpreter to "yes".
6802
6803 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6804
6805         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6806         
6807 2003-05-06  Tom Tromey  <tromey@redhat.com>
6808
6809         * verify.cc: Reverted previous patch.
6810
6811 2003-05-06  Michael Koch  <konqueror@gmx.de>
6812
6813         * java/io/DataOutputStream.java
6814         (write): Renamed argument to "value", merged documentation from
6815         classpath.
6816         (writeBoolean): Likewise.
6817         (writeByte): Likewise.
6818         (writeShort): Likewise.
6819         (writeChar): Likewise.
6820         (writeInt): Likewise.
6821         (writeLong): Likewise.
6822         (writeFloat): Likewise.
6823         (writeDouble): Likewise.
6824         (writeBytes): Likewise.
6825         (writeChars): Likewise.
6826         (writeUTF): Likewise.
6827         * java/io/File.java
6828         (performDelete): Added documentation.
6829         (performList): Likewise.
6830         (performMkdir): Likewise.
6831         (performSetReadOnly): Likewise.
6832         (performRenameTo): Likewise.
6833         (performSetLastModified): Likewise.
6834         (delete): Made it sychronized.
6835         (renameTo): Made it sychronized.
6836         (equals): Reformatted.
6837         (isHidden): Likewise.
6838         (listFiles): Likewise.
6839         (setReadOnly): Likewise.
6840         (listRoots): Likewise.
6841         (setLastModified): Likewise.
6842         (checkRead): Likewise.
6843         (checkWrite): Likewise.
6844         * java/io/FileInputStream.java
6845         (skip): Made it sychronized, merged from classpath.
6846         * java/io/FileOutputStream.java
6847         (write): Merged from classpath.
6848         * java/io/InputStreamReader.java:
6849         (InputStreamReader): Merged documentation from classpath.
6850
6851 2003-05-05  Michael Koch  <konqueror@gmx.de>
6852
6853         * java/net/NetworkInterface.java
6854         (networkInterfaces): Removed.
6855         (getByName): Use getRealNetworkInterfaces() instead of
6856         networkInterfaces.
6857         (getByInetAddress): Likewise.
6858         (getNetworkInterfaces): Likewise.
6859         (toString): Fix output of addresses of an interface.
6860
6861 2003-05-05  Michael Koch  <konqueror@gmx.de>
6862
6863         * java/io/DataInputStream.java:
6864         Merged new documentation from classpath.
6865
6866 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6867
6868         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6869         "version".
6870         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6871         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6872         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6873         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6874         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6875         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6876         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6877         * java/security/Key.java: Likewise.
6878         * java/security/PrivateKey.java: Likewise.
6879         * java/security/Provider.java: Likewise.
6880         * java/security/PublicKey.java: Likewise.
6881
6882 2003-05-02  Michael Koch  <konqueror@gmx.de>
6883
6884         * java/net/URI.java
6885         (create): Doesnt throws any exceptions.
6886         * java/net/URLConnection.java
6887         (URLConnection): Commend added.
6888         (getExpiration): The header field is called "expires" not
6889         "expiration".
6890         (getHeaderField): Merged documentation with classpath.
6891         (getHeaderFieldInt): Likewise.
6892         (getHeaderFieldDate): Likewise.
6893         (getHeaderFieldKey): Likewise.
6894         (getPermission): Likewise.
6895         (setDefaultUseCaches): Likewise.
6896         (setRequestProperty): Likewise.
6897         (addRequestProperty): Likewise.
6898         (getRequestProperty): Likewise.
6899         (getRequestProperties): Likewise.
6900         (setDefaultRequestProperty): Likewise.
6901         (getDefaultRequestProperty): Likewise.
6902         (guessContentTypeFromStream): Likewise.
6903         (getFileNameMap): Likewise.
6904         (setFileNameMap): Likewise.
6905         (setDoInput): Merged implementation and documentation with classpath.
6906         (setDoOutput): Likewise.
6907         (setAllowUserInteraction): Likewise.
6908         (setDefaultAllowUserInteraction): Likewise.
6909         (setContentHandlerFactory): Made it synchronized, merged documentation
6910         with classpath.
6911         (guessContentTypeFromName): Renamed argument fname to filename to
6912         match classpath, merged documentation with classpath.
6913
6914 2003-05-02  Michael Koch  <konqueror@gmx.de>
6915
6916         * java/net/JarURLConnection.java
6917         (JarURLConnection): Class documentation merged with classpath.
6918         (getJarFileURL): Moved and documentation merged with classpath.
6919         (getEntryName): Likewise.
6920         (JarURLConnection): Documentation merged with classpath.
6921         (getJarEntry): Likewise.
6922         (getJarFile): Likewise.
6923         * java/net/PlainDatagramSocketImpl.java:
6924         Class documentation moved.
6925         * java/net/URLConnection.java
6926         (fileNameMap): Moved and documentation merged with classpath.
6927         (factory): Likewise.
6928         (defaultAllowUserInteraction): Likewis.
6929         (defaultUseCaches): Likewise.
6930         (allowUserInteraction): Likewise.
6931         (connected): Likewise.
6932         (url): Likewise.
6933         (connect): Documentation merged with classpath.
6934         (getURL): Likewise.
6935         (getContentLength): Likewise.
6936         (getContentType): Likewise.
6937         (getContentEncoding): Likewise.
6938         (getExpiration): Likewise.
6939         (getDate): Likewise.
6940         (getLastModified): Likewise.
6941         (getHeaderField): Likewise.
6942         (getContent): Likewise.
6943         (getPermission): Likewise.
6944         (getInputStream): Likewise.
6945         (getOutputStream): Likewise.
6946         (toString): Likewise.
6947         (getDoInput): Likewise.
6948         (getDoOutput): Likewise.
6949         (setAllowUserInteraction): Likewise.
6950         (getAllowUserInteraction): Likewise.
6951         (setDefaultAllowUserInteraction): Likewise.
6952         (getDefaultAllowUserInteraction): Likewise.
6953         (setUseCaches): Likewise.
6954         (getUseCaches): Likewise.
6955         (setIfModifiedSince): Likewise.
6956         (getIfModifiedSince): Likewise.
6957         (setDefaultRequestProperty): Likewise.
6958         (getDefaultRequestProperty): Likewise.
6959         (setContentHandlerFactory): Likewise.
6960         (setFileNameMap): Likewise.
6961
6962 2003-05-02  Michael Koch  <konqueror@gmx.de>
6963
6964         * java/net/InetAddress.java:
6965         Merged class documentation with classpath.
6966         * java/net/JarURLConnection.java:
6967         Explicitely import all used classes.
6968         * java/net/URL.java:
6969         Reformatting.
6970         * java/net/ServerSocket.java,
6971         java/net/Socket.java:
6972         New versions from classpath.
6973
6974 2003-05-02  Michael Koch  <konqueror@gmx.de>
6975
6976         * gnu/java/nio/FileChannelImpl.java
6977         (read): New implementation.
6978         (implRead): New methods.
6979         (write): New implementation, call other write insteal of read method.
6980         (implWrite): New methods.
6981         (map): Added comment.
6982         (transferFrom): Implemented.
6983         (transferTo): Implemented.
6984         (lock): Added checks to throw exceptions.
6985         (truncate): Added check to throw exception.
6986         * gnu/java/nio/natFileChannelImpl.cc
6987         (implRead): New method.
6988         (implWrite): New method.
6989         * java/nio/ByteBuffer.java
6990         (hashCode): Fixed comment.
6991         (get): Fixed exception documentation.
6992         (put): Fixed exception documentation.
6993         * java/nio/CharBuffer.java:
6994         Added comment for later optimizations.
6995
6996 2003-04-30  Tom Tromey  <tromey@redhat.com>
6997
6998         PR libgcj/10582:
6999         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7000         Removed.
7001         (type::compatible): Use _Jv_IsAssignableFrom.
7002         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7003         (_Jv_IsAssignableFrom): Work even when source or target class is
7004         not prepared.
7005
7006 2003-04-30  Michael Koch  <konqueror@gmx.de>
7007
7008         * java/text/BreakIterator.java
7009         (clone): New method.
7010
7011 2003-04-30  Michael Koch  <konqueror@gmx.de>
7012
7013         * java/text/CollationElementIterator.java,
7014         java/text/CollationKey.java,
7015         java/text/RuleBasedCollator.java:
7016         Merged copyright and documentation from classpath and
7017         rearranged some code. No code changes done.
7018
7019 2003-04-30  Michael Koch  <konqueror@gmx.de>
7020
7021         * java/util/regex/Matcher.java
7022         (pattern): New member variable.
7023         (appendReplacement): New method.
7024         (appendTail): New method.
7025         (end): New method.
7026         (find): New method.
7027         (group): New method.
7028         (replaceFirst): Added documentation.
7029         (replaceAll): Added documentation.
7030         (groupCount): New method.
7031         (lookingAt): New method.
7032         (matches): New method.
7033         (reset): New method.
7034         (start): New method.
7035         * java/util/regex/Pattern.java
7036         (serialVersionUID): New constant.
7037         (CANON_EQ): New constant.
7038         (CASE_INSENSITIVE): New constant.
7039         (COMMENTS): New constant.
7040         (DOTALL): New constant.
7041         (MULTILINE): New constant.
7042         (UNICODE_CASE): New constant.
7043         (UNIX_LINES): New constant.
7044         (regex): New member variable.
7045         (flags): New member variable.
7046         (Pattern): New method.
7047         (compile): Documentation added.
7048         (flags): New method.
7049         (matches): Documentation added.
7050         (matcher): Documentation added.
7051         (split): Documentation added.
7052         (pattern): New method.
7053
7054 2003-04-30  Michael Koch  <konqueror@gmx.de>
7055
7056         * gnu/java/security/Engine.java,
7057         gnu/java/security/OID.java,
7058         gnu/java/security/der/BitString.java,
7059         gnu/java/security/der/DER.java,
7060         gnu/java/security/der/DERReader.java,
7061         gnu/java/security/der/DERValue.java,
7062         gnu/java/security/der/DERWriter.java,
7063         gnu/java/security/provider/DSAKeyFactory.java,
7064         gnu/java/security/provider/X509CertificateFactory.java,
7065         gnu/java/security/x509/X500DistinguishedName.java,
7066         gnu/java/security/x509/X509CRL.java,
7067         gnu/java/security/x509/X509CRLEntry.java,
7068         gnu/java/security/x509/X509Certificate.java,
7069         java/security/cert/CRLSelector.java,
7070         java/security/cert/CertPathBuilder.java,
7071         java/security/cert/CertPathBuilderResult.java,
7072         java/security/cert/CertPathBuilderSpi.java,
7073         java/security/cert/CertPathParameters.java,
7074         java/security/cert/CertPathValidator.java,
7075         java/security/cert/CertPathValidatorResult.java,
7076         java/security/cert/CertPathValidatorSpi.java,
7077         java/security/cert/CertSelector.java,
7078         java/security/cert/CertStore.java,
7079         java/security/cert/CertStoreParameters.java,
7080         java/security/cert/CertStoreSpi.java,
7081         java/security/cert/CollectionCertStoreParameters.java,
7082         java/security/cert/LDAPCertStoreParameters.java,
7083         java/security/cert/PKIXBuilderParameters.java,
7084         java/security/cert/PKIXCertPathBuilderResult.java,
7085         java/security/cert/PKIXCertPathChecker.java,
7086         java/security/cert/PKIXCertPathValidatorResult.java,
7087         java/security/cert/PKIXParameters.java,
7088         java/security/cert/PolicyNode.java,
7089         java/security/cert/PolicyQualifierInfo.java,
7090         java/security/cert/TrustAnchor.java,
7091         javax/security/auth/x500/X500Principal.java:
7092         New files from classpath.
7093         * gnu/java/io/ASN1ParsingException.java,
7094         gnu/java/io/Base64InputStream.java,
7095         gnu/java/security/der/DEREncodingException.java,
7096         gnu/java/security/provider/DSAParameters.java,
7097         gnu/java/security/provider/DSASignature.java,
7098         gnu/java/security/provider/Gnu.java,
7099         gnu/java/security/provider/GnuDSAPrivateKey.java,
7100         gnu/java/security/provider/GnuDSAPublicKey.java,
7101         java/security/AlgorithmParameterGenerator.java,
7102         java/security/AlgorithmParameters.java,
7103         java/security/KeyFactory.java,
7104         java/security/KeyPairGenerator.java,
7105         java/security/KeyStore.java,
7106         java/security/MessageDigest.java,
7107         java/security/SecureClassLoader.java,
7108         java/security/SecureRandom.java,
7109         java/security/Security.java,
7110         java/security/Signature.java,
7111         java/security/cert/Certificate.java,
7112         java/security/cert/CertificateFactory.java,
7113         java/security/cert/CertificateFactorySpi.java,
7114         java/security/cert/X509CRL.java,
7115         java/security/cert/X509Certificate.java,
7116         java/security/spec/DSAPublicKeySpec.java:
7117         New versions from classpath.
7118         * gnu/java/security/provider/DERReader.java,
7119         gnu/java/security/provider/DERWriter.java,
7120         java/security/Engine.java: Removed.
7121         * Makefile.am
7122         (java_source_files, javax_source_files): Added new files.
7123         * Makefile.in: Regenerated.
7124
7125 2003-04-29  Michael Koch  <konqueror@gmx.de>
7126
7127         * javax/swing/JTable.java
7128         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7129         (AUTO_RESIZE_LAST_COLUMN): New constant.
7130         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7131         (AUTO_RESIZE_OFF): New constant.
7132         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7133         (JTable): New method.
7134         (columnAdded): New method.
7135         (columnMarginChanged): New method.
7136         (columnMoved): New method.
7137         (columnRemoved): New method.
7138         (columnSelectionChanged): New method.
7139         (editingCanceled): New method.
7140         (editingStopped): New method.
7141         (getColumnModel): New method.
7142         (getPreferredScrollableViewportSize): New method.
7143         (getScrollableBlockIncrement): New method.
7144         (getScrollableTracksViewportHeight): New method.
7145         (getScrollableTracksViewportWidth): New method.
7146         (getScrollableUnitIncrement): New method.
7147         (getSelectedRow): New method.
7148         (getSelectionModel): New method.
7149         (tableChanged): New method.
7150         (setModel): New method.
7151         (setSelectionMode): New method.
7152         (setSelectionModel): New method.
7153         (setShowGrid): New method.
7154         (valueChanged): New method.
7155         * javax/swing/text/DefaultEditorKit.java
7156         (backwardAction): New constant.
7157         (beepAction): New constant.
7158         (beginAction): New constant.
7159         (beginLineAction): New constant.
7160         (beginParagraphAction): New constant.
7161         (beginWordAction): New constant.
7162         (copyAction): New constant.
7163         (cutAction): New constant.
7164         (defaultKeyTypedAction): New constant.
7165         (deleteNextCharAction): New constant.
7166         (deletePrevCharAction): New constant.
7167         (downAction): New constant.
7168         (endAction): New constant.
7169         (endLineAction): New constant.
7170         (endOfLineStringProperty): New constant.
7171         (endParagraphAction): New constant.
7172         (endWordAction): New constant.
7173         (forwardAction): New constant.
7174         (insertBreakAction): New constant.
7175         (insertContentAction): New constant.
7176         (insertTabAction): New constant.
7177         (nextWordAction): New constant.
7178         (pageDownAction): New constant.
7179         (pageUpAction): New constant.
7180         (pasteAction): New constant.
7181         (previousWordAction): New constant.
7182         (readOnlyAction): New constant.
7183         (selectAllAction): New constant.
7184         (selectionBackwardAction): New constant.
7185         (selectionBeginAction): New constant.
7186         (selectionBeginLineAction): New constant.
7187         (selectionBeginParagraphAction): New constant.
7188         (selectionBeginWordAction): New constant.
7189         (selectionDownAction): New constant.
7190         (selectionEndAction): New constant.
7191         (selectionEndLineAction): New constant.
7192         (selectionEndParagraphAction): New constant.
7193         (selectionEndWordAction): New constant.
7194         (selectionForwardAction): New constant.
7195         (selectionNextWordAction): New constant.
7196         (selectionPreviousWordAction): New constant.
7197         (selectionUpAction): New constant.
7198         (selectLineAction): New constant.
7199         (selectParagraphAction): New constant.
7200         (selectWordAction): New constant.
7201         (upAction): New constant.
7202         (writableAction): New constant.
7203
7204 2003-04-29  Michael Koch  <konqueror@gmx.de>
7205
7206         * java/util/PropertyPermission.java:
7207         New version from classpath
7208         * java/util/ResourceBundle.java:
7209         Partly merged from classpath
7210         (getObject): Reformated.
7211         (tryBundle): Set foundBundle = null if no bundle found.
7212
7213 2003-04-29  Michael Koch  <konqueror@gmx.de>
7214
7215         * javax/swing/AbstractListModel.java,
7216         javax/swing/DefaultBoundedRangeModel.java,
7217         javax/swing/DefaultSingleSelectionModel.java:
7218         New Versions from classpath.
7219
7220 2003-04-29  Michael Koch  <konqueror@gmx.de>
7221
7222         * java/awt/Window.java
7223         (show): Call super.show() instead of setVisible() to avoid endless
7224         loop.
7225         (hide): Call super.hide() instead of setVisible() to avoid endless
7226         loop.
7227
7228 2003-04-29  Michael Koch  <konqueror@gmx.de>
7229
7230         * java/util/zip/Deflater.java,
7231         java/util/zip/DeflaterOutputStream.java:
7232         Partly merged with classpath.
7233
7234 2003-04-27  Tom Tromey  <tromey@redhat.com>
7235
7236         * java/lang/natString.cc (_Jv_AllocString): Initialize
7237         cachedHashCode.
7238         (init): Likewise.
7239         (_Jv_NewStringUtf8Const): Likewise.
7240
7241 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7242
7243         * include/jvm.h: (_Jv_GetNbArgs) added
7244         (_Jv_GetSafeArg) added
7245         (_Jv_SetArgs) added
7246         * prims.cc: (_Jv_GetNbArgs) implemented
7247         (_Jv_GetSafeArg) implemented
7248         (_Jv_SetArgs) implemented
7249         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7250         setting _Jv_argc and _Jv_argv
7251         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7252         instead of _Jv_argv
7253         * java/lang/natRuntime.cc: (insertSystemProperties) use
7254         _Jv_GetSafeArg() instead of _Jv_argv
7255
7256 2003-04-23  Tom Tromey  <tromey@redhat.com>
7257
7258         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7259         required by this object.  Search superclasses to find required
7260         alignment.
7261         (get_alignment_from_class): Use alignment of type as it appears
7262         in a struct.
7263         (ALIGNOF): New macro.
7264         (struct aligner): New helper structure.
7265
7266 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7267
7268         * java/awt/Container.java (addImpl): Enable paint events if adding
7269         a lightweight to a heavyweight.
7270         (addNotify): Ensure that peer is created before
7271         addNotifyContainerChildren.
7272         (addNotifyContainerChildren): Enable paint events if a heavyweight
7273         container contains a lightweight.
7274
7275 2003-04-20  Tom Tromey  <tromey@redhat.com>
7276
7277         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7278         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7279         Classpath.
7280
7281 2003-04-19  Tom Tromey  <tromey@redhat.com>
7282
7283         * java/sql/Date.java, java/sql/DriverManager.java,
7284         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7285         Classpath.
7286
7287         * Makefile.in: Rebuilt.
7288         * Makefile.am (ordinary_java_source_files): Added new files.
7289         * java/security/AlgorithmParameterGenerator.java,
7290         java/security/AlgorithmParameters.java, java/security/Engine.java,
7291         java/security/Identity.java, java/security/IdentityScope.java,
7292         java/security/KeyFactory.java,
7293         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7294         java/security/MessageDigest.java, java/security/Policy.java,
7295         java/security/ProtectionDomain.java,
7296         java/security/SecureRandom.java, java/security/Security.java,
7297         java/security/Signature.java, java/security/SignatureSpi.java,
7298         java/security/SignedObject.java, java/security/Signer.java,
7299         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7300         java/security/spec/PSSParameterSpec.java,
7301         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7302         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7303         Classpath.
7304
7305 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7306
7307         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7308         (dispose): Null metrics.
7309         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7310         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7311         finalize.
7312         (finalize): Call dispose.
7313         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7314         (gcCachedCount): New field.
7315         (finalize): New method.
7316         (putGCInCache): New method.
7317         (getGCFromCache): New method.
7318         * gnu/gcj/xlib/GC.java (GC): Make protected.
7319         (clone): Get new GC from cache if possible.
7320         (create): New static method.
7321         (dispose): Save old GC in cache.
7322         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7323         deleting.
7324         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7325         is null.
7326         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7327         * java/awt/Container.java (visitChild): Dispose gfx2 when
7328         finished.
7329
7330 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7331
7332         * java/math/BigInteger.java (probablePrime): New.
7333         * java/math/BigDecimal.java (unscaledValue): New.
7334
7335 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7336
7337         * java/io/File.java (getAbsolutePath): On Windows, take care
7338         of paths like "C:", "G:foo\bar", etc.
7339         (getName): Make it work correctly on Windows.
7340         (getParent): Make it work correctly on Windows. For UNIX,
7341         fix bug that causes "/" to be returned as the parent of "/",
7342         instead of null as returned by Sun's JRE.
7343
7344         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7345
7346 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7347
7348         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7349         inner class.
7350         (CACHE_SIZE_PER_DISPLAY): New field
7351         (fontMetricsCache): New field
7352         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7353         loading ISO10646-1 fonts.
7354
7355 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7356
7357         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7358         characters.
7359         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7360         characters.
7361
7362 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7363
7364         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7365         floating point.
7366
7367 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7368
7369         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7370         installed libpthread is either linuxthreads with floating stacks or
7371         NPTL.
7372
7373 2003-04-14  Tom Tromey  <tromey@redhat.com>
7374
7375         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7376         of alignment.
7377
7378 2003-04-10  Tom Tromey  <tromey@redhat.com>
7379
7380         * verify.cc (pop64): Removed.
7381         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7382         exception if top-of-stack is narrow.
7383         (initialize_stack): Check to ensure that <init> is not static and
7384         <clinit> is.
7385
7386 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7387
7388         * java/io/ObjectStreamException
7389         * java/io/FileFilter
7390         * java/io/FilenameFilter
7391         * java/io/ObjectInput
7392         * java/io/ObjectOutput
7393         * java/io/ObjectStreamConstants
7394         Minor doc fixes, format fixes, spelling corrections, etc.
7395         * java/io/DataInput
7396         Corrected code samples in Javadocs to match reality
7397         * java/io/DataOutput
7398         * java/io/ObjectInputValidation
7399         Major documentation fixes - all Javadocs re-written or updated
7400
7401 2003-04-06  Michael Koch  <konqueror@gmx.de>
7402
7403         * java/net/URLConnection.java:
7404         Import classes directly.
7405         (URLConnection): Merged class documentation with classpath.
7406         (url): Moved, documentation from classpath added.
7407         (doInput): Moved, documentation from classpath added.
7408         (doOutput): Moved, documentation from classpath added.
7409         (allowUserInteraction): Moved.
7410         (useCaches): Moved, documentation from classpath added.
7411         (ifModifiedSince): Moved, documentation from classpath added.
7412         (connected): Moved, documentation from classpath added.
7413
7414 2003-04-06  Michael Koch  <konqueror@gmx.de>
7415
7416         * java/io/FileInputStream.java
7417         (skip): Renamed some variables to match classpath, added
7418         checks from classpath.
7419
7420 2003-03-31  Michael Koch  <konqueror@gmx.de>
7421
7422         * javax/swing/AbstractAction.java
7423         (AbstractAction): Reformatted.
7424         (serialVersionUID): New private member variable.
7425         * javax/swing/plaf/BorderUIResource.java
7426         (serialVersionUID): New private member variable.
7427         * javax/swing/plaf/basic/BasicLookAndFeel.java
7428         (serialVersionUID): New private member variable.
7429
7430 2003-03-31  Michael Koch  <konqueror@gmx.de>
7431
7432         * java/sql/Date.java
7433         (valueOf): Deprecated, reformatted.
7434         (toString): Deprecated, reformatted.
7435         * java/sql/Time.java
7436         (valueOf): Deprecated, reformatted.
7437         (toString): Deprecated, reformatted.
7438
7439 2003-03-31  Michael Koch  <konqueror@gmx.de>
7440
7441         * java/rmi/dgc/VMID.java
7442         (isUnique): Deprecated.
7443
7444 2003-03-31  Michael Koch  <konqueror@gmx.de>
7445
7446         * java/io/File.java
7447         (separator): Merged documentation from classpath.
7448         (separatorChar): Merged documentation from classpath.
7449         (pathSeparator): Merged documentation from classpath.
7450         (pathSeparatorChar): Merged documentation from classpath.
7451         (path): Merged documentation from classpath.
7452         (canRead): Merged documentation from classpath.
7453         (canWrite): Merged documentation from classpath.
7454         (createNewFile): Merged documentation from classpath.
7455         (delete): Merged documentation from classpath.
7456         (equals): Merged documentation from classpath.
7457         (exists): Merged documentation from classpath.
7458         (File): Renamed p to name to match classpath, merged documentation
7459         from classpath.
7460         (getAbsolutePath): Merged documentation from classpath.
7461         (getCanonicalPath): Merged documentation from classpath.
7462         (getCanonicalFile): Merged documentation from classpath.
7463         (getName): Merged documentation from classpath.
7464         (getParent): Merged documentation from classpath.
7465         (getParentFile): Merged documentation from classpath.
7466         (getPath): Merged documentation from classpath.
7467         (hashCode): Merged documentation from classpath.
7468         (isAbsolute): Merged documentation from classpath.
7469         (isDirectory): Merged documentation from classpath.
7470         (isFile): Merged documentation from classpath.
7471         (isHidden): Merged documentation from classpath.
7472         (lastModified): Merged documentation from classpath.
7473         (length): Merged documentation from classpath.
7474         (list): Merged documentation from classpath.
7475         (listFiles): Merged documentation from classpath.
7476         (toString): Merged documentation from classpath.
7477         (toURL): Merged documentation from classpath.
7478         (mkdir): Merged documentation from classpath.
7479         (mkdirs): Merged documentation from classpath.
7480         (createTempFile): Merged documentation from classpath.
7481         (setReadOnly): Merged documentation from classpath.
7482         (listRoots): Merged documentation from classpath.
7483         (compareTo): Merged documentation from classpath.
7484         (renameTo): Merged documentation from classpath.
7485         (setLastModified): Merged documentation from classpath.
7486         * java/io/PrintStream.java
7487         (auto_flush): Merged documentation from classpath.
7488         (PrintStream): Merged documentation from classpath.
7489         (checkError): Merged documentation from classpath.
7490         (setError): Merged documentation from classpath.
7491         (close): Merged documentation from classpath.
7492         (flush): Merged documentation from classpath.
7493         (print): Merged documentation from classpath.
7494         (println):  Merged documentation from classpath.
7495         (write): Renamed count to len to match classpath,
7496         merged documentation from classpath.
7497         * java/io/RandomAccessFile.java
7498         (readShort): Merged documentation from classpath.
7499         (readUnsignedByte): Merged documentation from classpath.
7500         (readUnsignedShort): Merged documentation from classpath.
7501         (readUTF): Merged documentation from classpath.
7502         (seek): Reformatted, merged documentation from classpath.
7503         (skipBytes): Renamed some variables to match classpath, reformatted,
7504         merged documentation from classpath.
7505         (write): Merged documentation from classpath.
7506         (writeBoolean): Merged documentation from classpath.
7507         (writeByte): Merged documentation from classpath.
7508         (writeShort): Merged documentation from classpath.
7509         (writeChar): Merged documentation from classpath.
7510         (writeInt): Merged documentation from classpath.
7511         (writeLong): Merged documentation from classpath.
7512         (writeFloat): Merged documentation from classpath.
7513         (writeDouble): Merged documentation from classpath.
7514         (writeBytes): Merged documentation from classpath.
7515         (writeChars): Merged documentation from classpath.
7516         (writeUTF): Reformatted.
7517         (getChannel): Reformatted.
7518
7519 2003-03-31  Michael Koch  <konqueror@gmx.de>
7520
7521         * java/awt/font/TextAttribute.java
7522         (readResolve): Throws java.io.InvalidObjectException.
7523
7524 2003-03-31  Michael Koch  <konqueror@gmx.de>
7525
7526         * java/rmi/server/LoaderHandler.java
7527         (loadClass): Deprecated.
7528         (getSecurityContext): Deprecated.
7529         * java/rmi/server/LogStream.java
7530         (getDefaultStream): Deprecated.
7531         (setDefaultStream): Deprecated.
7532         (getOutputStream): Deprecated.
7533         (setOutputStream): Deprecated.
7534         (write): Deprecated.
7535         (toString): Deprecated.
7536         (parseLevel): Deprecated.
7537         * java/rmi/server/Operation.java
7538         (Operation): Deprecated.
7539         (getOperation): Deprecated.
7540         (toString): Deprecated.
7541         * java/rmi/server/RemoteCall.java
7542         (getOutputStream): Deprecated.
7543         (releaseOutputStream): Deprecated.
7544         (getInputStream): Deprecated.
7545         (releaseInputStream): Deprecated.
7546         (getResultStream): Deprecated.
7547         (executeCall): Deprecated.
7548         (done): Deprecated.
7549         * java/rmi/server/RemoteRef.java
7550         (invoke): Deprecated.
7551         (newCall): Deprecated.
7552         (done): Deprecated.
7553         * java/rmi/server/RemoteStub.java
7554         (setRef): Deprecated.
7555         * java/rmi/server/Skeleton.java:
7556         No need to import java.lang.Exception explicitly.
7557         (dispatch): Deprecated.
7558         (getOperations): Deprecated.
7559
7560 2003-03-31  Michael Koch  <konqueror@gmx.de>
7561
7562         * java/rmi/dgc/VMID.java,
7563         java/rmi/registry/RegistryHandler.java,
7564         java/rmi/server/LogStream.java,
7565         java/rmi/server/Operation.java,
7566         java/rmi/server/RemoteCall.java,
7567         java/rmi/server/RemoteRef.java,
7568         java/rmi/server/RemoteStub.java:
7569         Reformatted.
7570
7571 2003-03-31  Michael Koch  <konqueror@gmx.de>
7572
7573         * javax/swing/AbstractCellEditor.java,
7574         javax/swing/AbstractListModel.java,
7575         javax/swing/ActionMap.java,
7576         javax/swing/BorderFactory.java,
7577         javax/swing/ButtonGroup.java,
7578         javax/swing/DefaultBoundedRangeModel.java,
7579         javax/swing/DefaultButtonModel.java,
7580         javax/swing/DefaultCellEditor.java,
7581         javax/swing/DefaultComboBoxModel.java,
7582         javax/swing/DefaultDesktopManager.java,
7583         javax/swing/DefaultListCellRenderer.java,
7584         javax/swing/DefaultSingleSelectionModel.java,
7585         javax/swing/InputMap.java,
7586         javax/swing/JComponent.java,
7587         javax/swing/JMenu.java,
7588         javax/swing/JSlider.java,
7589         javax/swing/KeyStroke.java,
7590         javax/swing/OverlayLayout.java,
7591         javax/swing/ScrollPaneLayout.java,
7592         javax/swing/SizeRequirements.java,
7593         javax/swing/UIManager.java,
7594         javax/swing/ViewportLayout.java,
7595         javax/swing/border/AbstractBorder.java,
7596         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7597         javax/swing/event/EventListenerList.java,
7598         javax/swing/table/AbstractTableModel.java,
7599         javax/swing/table/DefaultTableCellRenderer.java,
7600         javax/swing/table/DefaultTableColumnModel.java,
7601         javax/swing/table/DefaultTableModel.java,
7602         javax/swing/table/TableColumn.java,
7603         javax/swing/text/StyledEditorKit.java,
7604         javax/swing/tree/DefaultMutableTreeNode.java,
7605         javax/swing/tree/DefaultTreeModel.java,
7606         javax/swing/tree/DefaultTreeSelectionModel.java,
7607         javax/swing/tree/TreePath.java,
7608         javax/swing/undo/AbstractUndoableEdit.java,
7609         javax/swing/undo/StateEdit.java,
7610         javax/swing/undo/StateEditable.java,
7611         javax/swing/undo/UndoableEditSupport.java:
7612         Merges from classpath.
7613
7614 2003-03-30  Tom Tromey  <tromey@redhat.com>
7615
7616         * java/lang/String.java (data, boffset, count): Documented.
7617         (String(byte[],String)): Reformatted.
7618         (String(byte[])): Likewise.
7619         (lastIndexOf(int)): Likewise.
7620         (lastIndexOf(String)): Likewise.
7621         (substring(int)): Renamed argument to match Classpath.
7622         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7623
7624         * java/lang/String.java: Miscellaneous minor formatting changes
7625         to match Classpath more closely.
7626
7627 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7628             Tom Tromey  <tromey@redhat.com>
7629
7630         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7631         (init()): Removed.
7632         (charAt): Put index in exception.
7633         (contentEquals): New method.
7634         Include StringBuffer.h.
7635         * java/lang/String.java (cachedHashCode): New field.
7636         (String()): Follow classpath implementation.
7637         (init()): Removed.
7638         (contentEquals): Declare.
7639         (subSequence): Don't declare IndexOutIfBoundsException in throws
7640         clause.
7641         (matches, replaceFirst, replaceAll, split): New methods from
7642         Classpath.
7643
7644 2003-03-29  Tom Tromey  <tromey@redhat.com>
7645
7646         * java/lang/String.java: Reordered to follow Classpath; merged in
7647         javadoc.
7648
7649         * java/text/MessageFormat.java: Removed some whitespace.
7650
7651         * Makefile.in: Rebuilt.
7652         * Makefile.am (awt_java_source_files): Added new files.
7653         * gnu/javax/rmi/PortableServer.java,
7654         gnu/javax/rmi/CORBA/DelegateFactory.java,
7655         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7656         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7657         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7658         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7659         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7660         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7661         javax/rmi/PortableRemoteObject.java,
7662         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7663         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7664         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7665         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7666         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7667         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7668
7669         * java/lang/natClass.cc (newInstance): Put method name in
7670         exception.
7671         (getConstructor): Likewise.
7672         (getDeclaredConstructor): Likewise.
7673         (getPrivateMethod): Likewise.
7674
7675 2003-03-28  Tom Tromey  <tromey@redhat.com>
7676
7677         * java/lang/reflect/Proxy.java: New version from Classpath.
7678         * java/lang/Package.java: New version from Classpath.
7679
7680 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7681
7682         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7683         * configure: Regenerate.
7684
7685 2003-03-28  Michael Koch  <konqueror@gmx.de>
7686
7687         * java/io/File.java:
7688         Import needed classes instead of whole packages, merged class
7689         documentation with classpath, moved constants and variables to top of
7690         class.
7691         * java/io/PrintStream.java:
7692         Merged class documentation with classpath, moved constants and
7693         variables to top of class.
7694         * java/io/RandomAccessFile.java
7695         (RandomAccessFile): Merged with classpath.
7696         (read): Merged with classpath).
7697         (read*): Reformatted.
7698
7699 2003-03-28  Michael Koch  <konqueror@gmx.de>
7700
7701         * java/io/FileDescriptor.java
7702         (finalize): Throws Throwable, not IOException.
7703         * java/io/ObjectOutputStream.java
7704         (PutField.put): Doesnt throws anything.
7705
7706 2003­03-28  Michael Koch  <konqueror@gmx.de>
7707
7708         * java/io/FileOutputStream.java:
7709         Merged class documentation and authors with classpath.
7710         (FileOutputStream): Partly merged with classpath.
7711         (write): Merged with classpath.
7712         (getChannel): Make it synchronized instead of explicit block in this
7713         method.
7714         * java/io/RandomAccessFile.java:
7715         Merged class documentation and authors with classpath.
7716
7717 2003-03-26  Tom Tromey  <tromey@redhat.com>
7718
7719         * java/lang/natRuntime.cc (insertSystemProperties): Set
7720         gnu.classpath.home.url.
7721         * Makefile.in: Rebuilt.
7722         * Makefile.am: Define LIBDIR.
7723
7724 2003-03-25  Michael Koch  <konqueror@gmx.de>
7725
7726         * java/io/FileInputStream.java
7727         (read): Renamed b to buf and off to offset.
7728         * java/io/FileOutputStream.java
7729         (ch): Documentation added.
7730         (FileOutputStream): Documentation added.
7731         (getFD): Documentation added.
7732         (write): Documentation added.
7733         (close): Documentation added.
7734         (getChannel): Documentation added.
7735
7736 2003-03-24  Michael Koch  <konqueror@gmx.de>
7737
7738         * java/io/DataOutputStream.java
7739         (write): Merged from classpath.
7740         * java/io/File.java:
7741         Merged copyrigth with classpath.
7742         * java/io/FileInputStream.java
7743         (getChannel): Made it synchronized instead of using a synchronized
7744         block.
7745         * java/io/FileOutputStream.java: Reformatted.
7746         * java/io/InputStreamReader.java
7747         (InputStreamReader): Renamed enc to encoding_name.
7748         (close): Merged documentation from classpath.
7749         (getEncoding): Merged documentation from classpath.
7750         (ready): Merged documentation from classpath.
7751         (read): Merged documentation from classpath.
7752         * java/io/LineNumberReader.java
7753         (lineNumber): Made it private.
7754         (LineNumberReader): Use Constant instead of a direct value.
7755         * java/io/OutputStreamWriter.java
7756         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7757         documentation from classpath.
7758         (close): Merged documentation from classpath.
7759         (flush): Merged documentation from classpath.
7760         (write): Merged documentation from classpath.
7761         * java/io/PrintStream.java: Reformatted.
7762
7763 2003-03-24  Michael Koch  <konqueror@gmx.de>
7764
7765         * javax/swing/text/ComponentView.java
7766         (getComponent): Must be final.
7767         * javax/swing/tree/DefaultTreeCellRenderer.java:
7768         Reformatted.
7769         * javax/swing/undo/StateEditable.java:
7770         Reformatted.
7771
7772 2003-03-24  Michael Koch  <konqueror@gmx.de>
7773
7774         * java/rmi/activation/ActivationInstantiator.java:
7775         Reformatted.
7776         * java/rmi/activation/Activator.java:
7777         Reformatted.
7778         * java/rmi/registry/RegistryHandler.java:
7779         Remerged from classpath.
7780
7781 2003-03-24  Michael Koch  <konqueror@gmx.de>
7782
7783         * java/util/Date.java:
7784         Fixed documentation starting tag to make javadoc happy.
7785         * java/util/regex/Pattern.java
7786         (Pattern): Implements Serializable.
7787         * java/util/PatternSyntaxException.java
7788         (serialVersionUID): New member variable.
7789
7790 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7791
7792         * java/awt/ContainerOrderFocusTraversalPolicy.java
7793         (getFirstComponent): Implemented.
7794         (getLastComponent): Implemented.
7795         (getDefaultComponent): Implemented.
7796         (setImplicitDownCycleTraversal): Fixed implementation.
7797         * java/awt/Robot.java
7798         (Robot): Added documentation.
7799         * java/awt/Toolkit.java
7800         (getFontList): Deprecated.
7801         (getFontMetrics): Deprecated.
7802         (getPrintJob): Added documentation.
7803         (getSystemSelection): Added documentation.
7804         (getLockingKeyState): Added documentation.
7805         (setLockingKeyState): Added documentation.
7806         (createCustomCursor): Added documentation.
7807         (getBestCursorSize): Added documentation.
7808         (getMaximumCursorColors): Added documentation.
7809         (isFrameStateSupported): Added documentation.
7810
7811 2003-03-24  Michael Koch  <konqueror@gmx.de>
7812
7813         * java/io/RandomAccessFile.java:
7814         More little merges with classpath. No code changes.
7815
7816 2003-03-24  Michael Koch  <konqueror@gmx.de>
7817
7818         * java/net/natInetAddressNoNet.cc:
7819         Include stddef.h.
7820         * java/net/natPlainDatagramSocketImplNoNet.cc:
7821         Fixed inlcude of java/net/DatagramPacket.h.
7822         * java/net/natPlainSocketImplNoNet.cc:
7823         Include some missing classes.
7824
7825 2003-03-24  Michael Koch  <konqueror@gmx.de>
7826
7827         * java/awt/dnd/DropTarget.java
7828         (DropTargetAutoScroller): According to the online documentation, this
7829         is protected, but in reality it is public.
7830         * java/awt/dnd/DropTargetContext.java
7831         (TransferableProxy): According to the online documentation, this
7832         is protected, but in reality it is public.
7833
7834 2003-03-24  Michael Koch  <konqueror@gmx.de>
7835
7836         * java/io/DataInputStream.java
7837         (): Wrapped documentation line.
7838         (): Fixed @return tag.
7839         * java/io/DataOutputStream.java
7840         (written): Moved to top of class.
7841         (all methods): Merged documentation from classpath.
7842         * java/io/File.java:
7843         Merged copyright year with classpath.
7844         * java/io/FileInputStream.java
7845         (all methods): Merged documentation from classpath.
7846         * java/io/LineNumberReader.java
7847         (getLineNumber): Fixed @return tag.
7848         * java/io/ObjectInputStream.java.
7849         Reformatted.
7850         * java/io/ObjectOutputStream.java:
7851         Reformatted, fixed some @see tags.
7852         * java/io/OutputStreamWriter.java:
7853         Deleted empty line.
7854         * java/io/Writer.java:
7855         Reformatted.
7856
7857 2003-03-24  Michael Koch  <konqueror@gmx.de>
7858
7859         * java/awt/Frame.java
7860         (DEFAULT_CURSOR): Fixed @deprecated tag.
7861         (setCursor): Fixed @deprecated tag.
7862
7863 2003-03-24  Michael Koch  <konqueror@gmx.de>
7864
7865         * java/beans/beancontext/BeanContextEvent.java:
7866         Reformated.
7867
7868 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7869
7870         * java/lang/natStringBuffer.cc (regionMatches): New function.
7871         * java/lang/String.java (count): Now package-private.
7872         * java/lang/StringBuffer.java: Merged with Classpath.
7873
7874 2003-03-23  Michael Koch  <konqueror@gmx.de>
7875
7876         * java/io/BufferedOutputStream.java:
7877         Reformated.
7878         * java/io/BufferedReader.java:
7879         Reformated.
7880         * java/io/ByteArrayOutputStream.java
7881         (size): Fixed @see tag.
7882         * java/io/CharArrayWriter.java
7883         (size): Fixed @see tag.
7884         * java/io/DataInput.java:
7885         Reformated.
7886         * java/io/DataOutput.java:
7887         Reformated.
7888         * java/io/DataOutputStream.java:
7889         Merged copyright years with classpath.
7890         * java/io/Externalizable.java:
7891         Reformated.
7892         * java/io/FileFilter.java:
7893         Reformated.
7894         * java/io/FileInputStream.java:
7895         Merged copyright years with classpath.
7896         * java/io/FileOutputStream.java:
7897         Merged copyright years with classpath.
7898         * java/io/FilePermission.java
7899         (FilePermission): Replaced @XXX with FIXME:.
7900         * java/io/FileWriter.java:
7901         Reformated.
7902         * java/io/FilenameFilter.java:
7903         Reformated.
7904         * java/io/FilterInputStream.java:
7905         Reformated.
7906         * java/io/FilterOutputStream.java:
7907         Reformated.
7908         * java/io/FilterReader.java:
7909         Reformated.
7910         * java/io/FilterWriter.java:
7911         Reformated.
7912         * java/io/LineNumberInputStream.java
7913         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7914         happy.
7915         (getLineNumber): Fixed @return tag.
7916         * java/io/ObjectInput.java:
7917         Reformated.
7918         * java/io/ObjectOutput.java:
7919         Reformated.
7920         * java/io/ObjectStreamClass.java:
7921         Reformated.
7922         * java/io/PrintStream.java:
7923         Merged copyright years with classpath.
7924         * java/io/PushbackReader.java
7925         (PushbackReader): Replaced @code with @param.
7926         * java/io/SerializablePermission.java:
7927         Reformated.
7928         * java/io/StreamTokenizer.java
7929         (resetSyntax): Fixed @see tag.
7930
7931 2003-03-22  Richard Henderson  <rth@redhat.com>
7932
7933         * sysdep/ia64/locks.h: Include ia64intrin.h.
7934         (compare_and_swap): Use __sync_bool_compare_and_swap.
7935         (compare_and_swap_release): Expose ar.ccv assignment.
7936
7937 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7938
7939         * include/posix.h: Add suffix for darwin dynamic libraries.
7940
7941 2003-03-21  Michael Koch  <konqueror@gmx.de>
7942
7943         * javax/swing/Action.java
7944         (ACCELERATOR_KEY): New constant.
7945         (ACTION_COMMAND_KEY): Likewise.
7946         (MNEMONIC_KEY): Likewise.
7947         * javax/swing/UnsupportedLookAndFeelException.java
7948         (UnsupportedLookAndFeelException): Must be public.
7949         * javax/swing/WindowConstants.java
7950         (EXIT_ON_CLOSE): New constant.
7951         * javax/swing/text/BadLocationException.java
7952         (offset): New member variable.
7953         (BadLocationException): New implementation, documentation added.
7954         (offsetRequested): New method.
7955         * javax/swing/text/Caret.java:
7956         Reformated.
7957         * javax/swing/text/Document.java:
7958         Reformated.
7959
7960 2003-03-21  Michael Koch  <konqueror@gmx.de>
7961
7962         * java/rmi/activation/Activatable.java
7963         (serialVersionUID): New member variable.
7964         * java/rmi/activation/ActivationGroup.java
7965         (serialVersionUID): New member variable.
7966         * java/rmi/activation/ActivationGroupDesc.java
7967         (serialVersionUID): New member variable.
7968         * java/rmi/registry/Registry.java:
7969         Reformated.
7970         (Registry): Deprecated.
7971         * java/rmi/server/LoaderHandler.java
7972         Reformated.
7973         (LoaderHandler): Deprecated.
7974         * java/rmi/server/LogStream.java
7975         Reformated.
7976         (LogStream): Deprecated.
7977         * java/rmi/server/Operation.java
7978         (Operation): Deprecated.
7979         * java/rmi/server/RMIFailureHandler.java:
7980         Reformated.
7981         * java/rmi/server/RMISocketFactory.java:
7982         Reformated.
7983         * java/rmi/server/RemoteCall.java
7984         (RemoteCall): Deprecated.
7985         * java/rmi/server/RemoteStub.java:
7986         Reformated.
7987         * java/rmi/server/Skeleton.java
7988         Reformated.
7989         (Skeleton): Deprecated.
7990
7991 2003-03-21  Michael Koch  <konqueror@gmx.de>
7992
7993         * java/io/LineNumberReader.java
7994         (LineNumberReader): Merged documentation with classpath.
7995         (getLineNumber): Likewise.
7996         (setLineNumber): Likewise.
7997         (mark): Likewise.
7998         (reset): Likewise.
7999         (read): Likewise.
8000         (readLine): Likewise.
8001         (skip): Likewise.
8002
8003 2003-03-21  Michael Koch  <konqueror@gmx.de>
8004
8005         * java/rmi/RMISecurityManager.java
8006         (checkAccept): Removed.
8007         (checkAccess): Likewise.
8008         (checkAccess): Likewise.
8009         (checkAwtEventQueueAccess): Likewise.
8010         (checkConnect): Likewise.
8011         (checkCreateClassLoader): Likewise.
8012         (checkDelete): Likewise.
8013         (checkExec): Likewise.
8014         (checkExit): Likewise.
8015         (checkLink): Likewise.
8016         (checkListen): Likewise.
8017         (checkMemberAccess): Likewise.
8018         (checkMulticast): Likewise.
8019         (checkPackageAccess): Likewise.
8020         (checkPackageDefinition): Likewise.
8021         (checkPermission): Likewise.
8022         (checkPrintJobAccess): Likewise.
8023         (checkPropertiesAccess): Likewise.
8024         (checkPropertyAccess): Likewise.
8025         (checkRead): Likewise.
8026         (checkSecurityAccess): Likewise.
8027         (checkSetFactory): Likewise.
8028         (checkSystemClipboardAccess): Likewise.
8029         (checkTopLevelWindow): Likewise.
8030         (checkWrite): Likewise.
8031
8032 2003-03-20  Michael Koch  <konqueror@gmx.de>
8033
8034         * gnu/java/nio/FileChannelImpl.java
8035         (address): Removed.
8036         (map_address): New member variable.
8037         (length): Make it package private.
8038         (fd): Make it package private.
8039         (buf): Make it package private.
8040         (file_obj): Make it package private.
8041         (FileChannelImpl): New constructor.
8042         (nio_mmap_file): Use RawData instead of long.
8043         (nio_munmap_file): Use RawData instead of long.
8044         (nio_msync): Use RawData instead of long.
8045         (implCloseChannel): New implementation using map_address.
8046         (read): Reformated.
8047         (map): Implemented.
8048         (create_direct_mapped_buffer): Implemented, use RawData, throws
8049         IOException.
8050         (force): Use map_address instead of address.
8051         * gnu/java/nio/MappedByteFileBuffer.java
8052         (address): Removed.
8053         (map_address): New member variable.
8054         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8055         (several methods): Use map_address instead of address, replaced long
8056         with RawData where appropriate.
8057         * gnu/java/nio/natFileChannelImpl.cc
8058         (nio_mmap_file): Replaced long with RawData.
8059         (nio_munmap_file): Replaced long with RawData.
8060         (nio_msync): Replaced long with RawData.
8061         * gnu/java/nio/natMappedByteFileBuffer.cc
8062         (several methods): Replaced long with RawData where appropriate.
8063
8064 2003-03-20  Michael Koch  <konqueror@gmx.de>
8065
8066         * java/net/InetAddress.java,
8067         java/net/JarURLConnection.java,
8068         java/net/PlainDatagramSocketImpl.java,
8069         java/net/PlainSocketImpl.java,
8070         java/net/URLConnection.java:
8071         Merged copyright statements with classpath for easier merging.
8072
8073 2003-03-20  Michael Koch  <konqueror@gmx.de>
8074
8075         * java/io/FileInputStream.java
8076         (getChannel): New implementation.
8077         * java/io/FileOutputStream.java
8078         (ch): New member variable.
8079         (getChannel): Implemented.
8080         * java/io/RandomAccessFile.java
8081         (RandomAccessFile): Throws FileNotFoundException instead of
8082         IOException.
8083         (getChannel): New method.
8084         (ch): New member variable.
8085
8086 2003-03-20  Michael Koch  <konqueror@gmx.de>
8087
8088         * java/io/DataOutputStream.java,
8089         java/io/File.java,
8090         java/io/FileInputStream.java,
8091         java/io/FileOutputStream.java,
8092         java/io/InputStreamReader.java,
8093         java/io/LineNumberReader.java,
8094         java/io/OutputStreamWriter.java,
8095         java/io/PrintStream.java,
8096         java/io/RandomAccessFile.java:
8097         Merged copyright statements with classpath for easier merging.
8098
8099 2003-03-19  Michael Koch  <konqueror@gmx.de>
8100
8101         * java/lang/Process.java:
8102         Merged from classpath.
8103
8104 2003-03-19  Michael Koch  <konqueror@gmx.de>
8105
8106         * java/io/FileOutputStream.java
8107         (FileOutputStream): New constructor, merged from classpath.
8108         * java/io/FileWriter.java
8109         (FileWriter): New constructor, merged from classpath.
8110
8111 2003-03-18  Michael Koch  <konqueror@gmx.de>
8112
8113         * java/awt/ScrollPane.java
8114         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8115         (getViewportSize): Likewise.
8116         (addNotify): Likewise.
8117         (removeNotify): Likewise.
8118         * java/awt/ScrollPaneAdjustable.java
8119         (ScrollPaneAdjustable): No longer extends Scrollbar.
8120         * java/beans/beancontext/BeanContextServices.java:
8121         Reformated.
8122         (getService): Added throws TooManyListenersException;
8123         * java/beans/beancontext/BeanContextServicesSupport.java:
8124         Reformated.
8125
8126 2003-03-18  Michael Koch  <konqueror@gmx.de>
8127
8128         * java/io/BufferedOutputStream.java,
8129         java/io/DataInput.java,
8130         java/io/DataInputStream.java,
8131         java/io/DataOutput.java,
8132         java/io/Externalizable.java:
8133         More merges from classpath.
8134
8135 2003-03-18  Michael Koch  <konqueror@gmx.de>
8136
8137         * configure.in: Fixed links to platform dependant java.net files.
8138         * configure: Regenerated.
8139         * java/net/natInetAddress.cc,
8140         java/net/natNetworkInterface.cc,
8141         java/net/natPlainDatagramSocketImpl.cc,
8142         java/net/natPlainSocketImpl.cc:
8143         Removed.
8144
8145 2003-03-18  Michael Koch  <konqueror@gmx.de>
8146
8147         * configure.in: Create links to architecture dependent files,
8148         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8149         * configure: Regenerated.
8150         * java/net/natInetAddressNoNet.cc,
8151         java/net/natInetAddressPosix.cc,
8152         java/net/natInetAddressWin32.cc,
8153         java/net/natNetworkInterfaceNoNet.cc,
8154         java/net/natNetworkInterfacePosix.cc,
8155         java/net/natNetworkInterfaceWin32.cc,
8156         java/net/natPlainDatagramSocketImplNoNet.cc,
8157         java/net/natPlainDatagramSocketImplPosix.cc,
8158         java/net/natPlainDatagramSocketImplWin32.cc,
8159         java/net/natPlainSocketImplNoNet.cc,
8160         java/net/natPlainSocketImplPosix.cc,
8161         java/net/natPlainSocketImplWin32.cc: New files.
8162
8163 2003-03-18  Michael Koch  <konqueror@gmx.de>
8164
8165         * java/io/BufferedReader.java,
8166         java/io/BufferedWriter.java,
8167         java/io/ByteArrayOutputStream.java,
8168         java/io/FileFilter.java,
8169         java/io/FilePermission.java,
8170         java/io/FileReader.java,
8171         java/io/FileWriter.java,
8172         java/io/FilenameFilter.java,
8173         java/io/FilterInputStream.java,
8174         java/io/FilterOutputStream.java,
8175         java/io/FilterReader.java,
8176         java/io/FilterWriter.java,
8177         java/io/ObjectInput.java,
8178         java/io/ObjectInputValidation.java,
8179         java/io/ObjectOutput.java,
8180         java/io/ObjectStreamField.java,
8181         java/io/PipedInputStream.java,
8182         java/io/PipedReader.java,
8183         java/io/PrintWriter.java,
8184         java/io/PushbackReader.java,
8185         java/io/Reader.java,
8186         java/io/SerializablePermission.java,
8187         java/io/StringReader.java,
8188         java/io/Writer.java:
8189         Merged from classpath.
8190
8191 2003-03-17  Michael Koch  <konqueror@gmx.de>
8192
8193         * java/awt/ScrollPaneAdjustable.java:
8194         Compile fixes.
8195         
8196 2003-03-17  Michael Koch  <konqueror@gmx.de>
8197
8198         * java/net/DatagramSocket.java
8199         (connect): Fixed comment.
8200         * java/nio/ByteBuffer.java
8201         (hasArray): Fixed comment.
8202
8203 2003-03-17  Michael Koch  <konqueror@gmx.de>
8204
8205         * java/beans/Beans.java:
8206         Explicitely import classes not packages.
8207         * java/beans/FeatureDescriptor.java
8208         (preferred): New member variable.
8209         (isPreferred): New method.
8210         (setPreferred): New method.
8211         * java/beans/PropertyEditorManager.java:
8212         Explicitely import used classes.
8213         * java/beans/beancontext/BeanContextChild.java:
8214         Added line wrapping.
8215         * java/beans/beancontext/BeanContextChildSupport.java:
8216         Reindented.
8217         * java/beans/beancontext/BeanContextEvent.java:
8218         Reindented.
8219
8220 2003-03-17  Michael Koch  <konqueror@gmx.de>
8221
8222         * java/awt/Dialog.java
8223         (Dialog): New constructor, changed implementations, added
8224         documentation.
8225         * java/awt/ScrollPaneAdjustable.java
8226         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8227         Serializable.
8228         (serialVersionUID): New member variable.
8229         (sp): New member variable.
8230         (orientation): New member variable.
8231         (value): New member variable.
8232         (minimum): New member variable.
8233         (maximum): New member variable.
8234         (visibleAmount): New member variable.
8235         (unitIncrement): New member variable.
8236         (blockIncrement): New member variable.
8237         (AdjustmentListener): New member variable.
8238         (ScrollPaneAdjustable): New implementation.
8239         (addAdjustmentListener): New method.
8240         (removeAdjustmentListener): New method.
8241         (getAdjustmentListeners): New method.
8242         (getBlockIncrement): New method.
8243         (getMaximum): New method.
8244         (getMinimum): New method.
8245         (getOrientation): New method.
8246         (getUnitIncrement): New method.
8247         (getValue): New method.
8248         (getVisibleAmount): New method.
8249         (setBlockIncrement): New method.
8250         (setMaximum): Implemented.
8251         (setMinimum): Implemented.
8252         (setUnitIncrement): New method.
8253         (setValue): New method.
8254         (setVisibleAmount): Implemented. 
8255         (paramString): New stubbed method.
8256         * java/awt/Window.java
8257         (show): Call setVisible().
8258         (hide): Call setVisible().
8259         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8260         and WINDOW_STATE_CHANGED.
8261         (processWindowFocusEvent): New method.
8262         (processWindowStateEvent): New method.
8263         (postEvent): Deprecated.
8264         (applyResourceBundle): Deprecated.
8265         * java/awt/datatransfer/DataFlavor.java
8266         (DataFlavor): Doesn't thow ClassNotFoundException.
8267
8268 2003-03-17  Michael Koch
8269
8270         * javax/print/attribute/Attribute.java,
8271         javax/print/attribute/AttributeSet.java,
8272         javax/print/attribute/PrintRequestAttributeSet.java:
8273         New files.
8274         * Makefile.am
8275         (javax_source_files): Added new files:
8276         javax/print/attribute/Attribute.java
8277         javax/print/attribute/AttributeSet.java
8278         javax/print/attribute/PrintRequestAttributeSet.java
8279         * Makefile.in: Regenerated.
8280
8281 2003-03-17  Michael Koch
8282
8283         * javax/print/attribute/Attribute.java,
8284         javax/print/attribute/AttributeSet.java,
8285         javax/print/attribute/PrintRequestAttributeSet.java:
8286         New files.
8287         * Makefile.am
8288         (awt_java_source_files): Added new files:
8289         javax/print/attribute/Attribute.java
8290         javax/print/attribute/AttributeSet.java
8291         javax/print/attribute/PrintRequestAttributeSet.java
8292         * Makefile.in: Regenerated.
8293
8294 2003-03-16  Tom Tromey  <tromey@redhat.com>
8295
8296         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8297         Include platform.h.
8298         * java/lang/natRuntime.cc (insertSystemProperties): Use
8299         _Jv_platform_path_separator.
8300         (nativeGetLibname): Use _Jv_platform_file_separator.
8301         (_load): Use _Jv_platform_onload_names.
8302         (onload_names): New global.
8303         * include/win32.h (_Jv_platform_file_separator): New define.
8304         (_Jv_platform_path_separator): Likewise.
8305         (_Jv_platform_onload_names): Likewise.
8306         (_Jv_platform_ffi_abi): Likewise.
8307         * include/posix.h (_Jv_platform_file_separator): New define.
8308         (_Jv_platform_path_separator): Likewise.
8309         (_Jv_platform_onload_names): Likewise.
8310         (_Jv_platform_ffi_abi): Likewise.
8311
8312 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8313
8314         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8315
8316 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8317
8318         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8319         hierarchy loop.
8320         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8321         list to Object,ObjectStreamClass, moved callReadMethod code up into
8322         readObject and added Class argument to all setXxxField calls.
8323         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8324         consistent with ObjectOutputStream and to facilitate caching the
8325         Method in the future.
8326         (setBooleanField): Added Class argument.
8327         (setByteField): Likewise.
8328         (setCharField): Likewise.
8329         (setDoubleField): Likewise.
8330         (setFloatField): Likewise.
8331         (setIntField): Likewise.
8332         (setLongField): Likewise.
8333         (setShortField): Likewise.
8334         (setObjectField): Likewise.
8335         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8336         class hierarchy loop.
8337         (defaultWriteObject): Call writeFields with new argument list.
8338         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8339         list to Object,ObjectStreamClass, moved callWriteMethod up into
8340         writeObject and added Class argument to all getXxxField calls.
8341         (callWriteMethod): Added ObjectStreamClass argument to be able to
8342         get the proper class to call getMethod on (each class can have (or
8343         not have) its own writeObject method).
8344         (getBooleanField): Added Class argument.
8345         (getByteField): Likewise.
8346         (getCharField): Likewise.
8347         (getDoubleField): Likewise.
8348         (getFloatField): Likewise.
8349         (getIntField): Likewise.
8350         (getLongField): Likewise.
8351         (getShortField): Likewise.
8352         (getObjectField): Likewise.
8353         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8354         facilitate caching the Method object in the future.
8355
8356 2003-03-12  Andreas Schwab  <schwab@suse.de>
8357
8358         * configure.in: Avoid trailing /. in toolexeclibdir.
8359         * configure: Rebuilt.
8360
8361 2003-03-11  Michael Koch  <konqueror@gmx.de>
8362
8363         * gnu/java/nio/ByteBufferImpl.java
8364         (putInt): Use limit() instead of limit.
8365         * gnu/java/nio/CharBufferImpl.java
8366         (slice): Fixed implementation.
8367         (subSequence): Better bounds checking.
8368         * gnu/java/nio/MappedByteFileBuffer.java:
8369         Import all needed classes directly.
8370         * java/nio/ByteBuffer.java
8371         (hashCode): New dummy method.
8372         * java/nio/CharBuffer.java
8373         (array_offset): New member variable.
8374         (hasArray): Fixed documentation.
8375         (arrayOffset): Return array_offset.
8376
8377 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8378
8379         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8380         setter; made return value of getter const char* instead of char*
8381         * prims.cc: removed all references to _Jv_ThisExecutable().
8382         These are in the platform-specific sections now.
8383         * posix.cc: define platform-specific _Jv_ThisExecutable().
8384         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8385         * win32.cc: define platform-specific _Jv_ThisExecutable()
8386         using GetModuleFilename()
8387         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8388         to argv[0] instead of _Jv_ThisExecutable()
8389
8390 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8391
8392         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8393         that is set if we are using addr2name.awk instead of addr2line.
8394         (NameFinder): Set usingAddr2name if using addr2name.awk.
8395         (getExternalLabel): New native method to convert a method 
8396         name to an external label.
8397         (lookup): Convert name given by addr2line to an external label
8398         before demangling.
8399
8400         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8401         constant representing the prefix attached to method names to
8402         convert them to an external label.
8403         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8404         using LABEL_PREFIX.
8405
8406 2003-03-10  Tom Tromey  <tromey@redhat.com>
8407
8408         * Makefile.in: Rebuilt.
8409         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8410         (JC1FLAGS): Removed -Wno-deprecated.
8411
8412 2003-03-10  Michael Koch  <konqueror@gmx.de>
8413
8414         * java/nio/ByteOrder.java
8415         (nativeOrder): Working implementation, added documentation.
8416         (toString): Added documentation.
8417
8418 2003-03-10  Michael Koch  <konqueror@gmx.de>
8419
8420         * java/net/DatagramSocket.java,
8421         java/net/MulticastSocket.java,
8422         java/net/Socket.java,
8423         java/net/URL.java,
8424         java/net/URLConnection.java:
8425         Fixed some documentation tags to make javadoc and friends happy.
8426
8427 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8428
8429         * java/beans/beancontext/BeanContextServicesSupport.java,
8430         java/beans/beancontext/BeanContextSupport.java: New files.
8431         * Makefile.am
8432         (awt_source_files): Added new files.
8433         * Makefile.in: Regenerated.
8434
8435 2003-03-10  Michael Koch  <konqueror@gmx.de>
8436
8437         * java/awt/FocusTraversalPolicy.java
8438         (FocusTraversalPolicy): Documentation added.
8439         (getComponentAfter): Documentation added.
8440         (getComponentBefore): Documentation added.
8441         (getFirstComponent): Documentation added.
8442         (getLastComponent): Documentation added.
8443         (getDefaultComponent): Documentation added.
8444         (getInitialComponent): Documentation added.
8445         * java/awt/ScrollPaneAdjustable.java
8446         (sp): New member variable.
8447         (orientation): New member variable.
8448         (value): New member variable.
8449         (minimum): New member variable.
8450         (maximum): New member variable.
8451         (visibleAmount): New member variable.
8452         (unitIncrement): New member variable.
8453         (blockIncrement): New member variable.
8454         (adjustmentListener): New member variable.
8455         (ScrollPaneAdjustable): Rewrote.
8456         (addAdjustmentListener): New method.
8457         (removeAdjustmentListener): New method.
8458         (getAdjustmentListeners): New method.
8459         (getBlockIncrement): New method.
8460         (getMaximum): New method.
8461         (getMinimum): New method.
8462         (getOrientation): New method.
8463         (getUnitIncrement): New method.
8464         (getValue): New method.
8465         (getVisibleAmount): New method.
8466         (setBlockIncrement): New method.
8467         (setUnitIncrement): New method.
8468         (setMaximum): Implemented.
8469         (setMinimum): Implemented.
8470         (setValue): New method.
8471         (setVisibleAmount): Implemented.
8472         (paramString): New method.
8473         * java/awt/Window.java
8474         (show): Use setVisible(true) instead of super.show().
8475         (hide): Use sevVisible(false) instead of super.hide().
8476         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8477         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8478         (postEvent): Deprecated.
8479         (applyResourceBundle): Deprecated.
8480         (processWindowFocusEvent): New method.
8481         (processWindowStateEvent): New method.
8482         * java/awt/datatransfer/DataFlavor.java: Reindented.
8483         * java/awt/font/TextHitInfo.java
8484         (charIndex): New member variable.
8485         (leadingEdge): New member variable.
8486         (TextHitInfo): New constructor.
8487         (getCharIndex): Implemented.
8488         (isLeadingEdge): Implemented.
8489         (getInsertionIndex): Implemented.
8490         (hashCode): Access charIndex directly.
8491         (equals): Reformated.
8492         (leading): Implemented.
8493         (trailing): Implemented.
8494         (beforeOffset): Implemented.
8495         (afterOffset): Implemented.
8496         (getOtherHit): Implemented.
8497         (getOffsetHit): Implemented.
8498         (toString): Implemented.
8499         * java/awt/image/BufferedImage.java
8500         (BufferedImage): Implements WritableRenderedImage.
8501         (observers): New member variable.
8502         (addTileObserver): New method.
8503         (removeTileObserver): New method.
8504
8505 2003-03-09  Tom Tromey  <tromey@redhat.com>
8506
8507         PR libgcj/9934:
8508         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8509         to lseek.  Return 0 if we can't compute the value.
8510
8511 2003-03-03  Michael Koch  <konqueror@gmx.de>
8512
8513         * java/net/NetworkInterface.java: Merged with classpath.
8514
8515 2003-03-03  Tom Tromey  <tromey@redhat.com>
8516
8517         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8518         of bytecode.
8519         (handle_ret_insn): Fail if returning to jsr that appears at end of
8520         bytecode.
8521
8522 2003-03-03  Michael Koch  <konqueror@gmx.de>
8523
8524         * Makefile.am
8525         (ordinary_java_source_files):
8526         Added gnu/java/nio/MappedByteFileBuffer.java.
8527         (nat_source_files):
8528         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8529         * Makefile.in: Regenerated.
8530
8531 2003-03-03  Michael Koch  <konqueror@gmx.de>
8532
8533         * java/net/DatagramSocket.java
8534         (connect): Merged comment from classpath.
8535         (receive): Merged documentation from classpath.
8536         * java/net/Socket.java
8537         (setSoTimeout): Clarified documentation.
8538         * java/net/URL.java
8539         (getPath): Merged from classpath.
8540         (getUserInfo): Merged from classpath.
8541         (getQuery): Merged from classpath.
8542         * java/net/URLStreamHandler.java
8543         (toExternalForm): Merged from classpath.
8544
8545 2003-03-02  Mark Wielaard  <mark@klomp.org>
8546
8547         * java/util/Properties.java (load): Only skip line if the first
8548         character is a comment, whitespaces don't count.
8549
8550 2003-03-02  Michael Koch  <konqueror@gmx.de>
8551
8552         * java/net/NetPermission.java:
8553         Merged copyright with classpath.
8554
8555 2003-03-02  Michael Koch  <konqueror@gmx.de>
8556
8557         * java/lang/Package.java:
8558         Remerged from classpath.
8559
8560 2003-03-02  Michael Koch  <konqueror@gmx.de>
8561
8562         * java/net/HttpURLConnection.java
8563         (HTTP_SERVER_ERROR): Deprecated.
8564         * java/net/MulticastSocket.java
8565         (send): Replaced checkMulticast with appropriate checkPermission call,
8566         deprecated.
8567         * java/net/URLDecoder.java
8568         (decode): Deprecated.
8569         * java/net/URLEncoder.java
8570         (encode): Deprecated.
8571
8572 2003-03-02  Michael Koch  <konqueror@gmx.de>
8573
8574         * javax/swing/text/Caret.java
8575         (getMagicCaretPosition): Fixed typo in method name.
8576         * javax/swing/text/DefaultCaret.java
8577         (getMagicCaretPosition): Fixed typo in method name.
8578
8579 2003-03-02  Michael Koch  <konqueror@gmx.de>
8580
8581         * java/awt/List.java
8582         (setMultipleSelections): Deprecated.
8583         (delItem): Deprecated.
8584         * java/awt/MenuComponent.java
8585         (getPeer): Deprecated.
8586         * java/awt/ScrollPane.java
8587         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8588         * java/awt/dnd/MouseDragGestureRecognizer.java
8589         (mouseClicked): Added comment.
8590         (mousePressed): Added comment.
8591         (mouseReleased): Added comment.
8592         (mouseEntered): Added comment.
8593         (mouseExited): Added comment.
8594         (mouseDragged): Added comment.
8595         (mouseMoved): Added comment.
8596         * java/awt/event/KeyEvent.java
8597         (KeyEvent): Deprecated.
8598         (setModifiers): Deprecated.
8599         
8600 2003-03-02  Michael Koch  <konqueror@gmx.de>
8601
8602         * gnu/java/nio/FileChannelImpl.java
8603         (fd): Type FileDescriptor instead of int.
8604         (lengthInternal): Removed.
8605         (FileChannelImpl): Fixed arguments, check type of file object.
8606         (size): Made it native.
8607         (implPosition): New native method.
8608         (implTruncate): New native method.
8609         (position): Implemented.
8610         (truncate): Implemented.
8611         (nio_mmap_file): Changed arguments.
8612         (nio_munmap_file): Changed arguments.
8613         (nio_msync): Changed arguments.
8614         * gnu/java/nio/natFileChannelImpl.cc
8615         (lengthInternal): Removed.
8616         (size): New method.
8617         (implPosition): New method.
8618         (implTruncate): New method.
8619         (nio_mmap_file): Changed arguments.
8620         (nio_munmap_file): Changed arguments.
8621         (nio_msync): Changed arguments.
8622
8623 2003-03-02  Michael Koch  <konqueror@gmx.de>
8624
8625         * java/awt/dnd/DropTargetContext.java:
8626         Compile fix: Forgot to commit import.
8627         
8628 2003-03-02  Michael Koch  <konqueror@gmx.de>
8629
8630         * java/awt/Component.java,
8631         java/awt/ScrollPane.java:
8632         Fixed typos.
8633
8634 2003-03-02  Michael Koch  <konqueror@gmx.de>
8635
8636         * java/awt/dnd/DnDEventMulticaster.java: New file.
8637         * java/awt/dnd/DragSource.java
8638         (flavorMap): New member variable.
8639         (dragSourceListener): New member variable.
8640         (dragSourceMotionListener): New member variable.
8641         (getFlavorMap): Implemented.
8642         (createDragGestureRecognizer): Implemented.
8643         (addDragSourceListener): Implemented.
8644         (removeDragSourceListener): Implemented.
8645         (getDragSourceListeners): Implemented.
8646         (addDragSourceMotionListener): Implemented.
8647         (removeDragSourceMotionListener): Implemented.
8648         (getDragSourceMotionListeners): Implemented.
8649         (getListeners): Implemented.
8650         * java/awt/dnd/DragSourceContext.java
8651         (peer): New member variable.
8652         (cursor): New member variable.
8653         (transferable): New member variable.
8654         (trigger): New member variable.
8655         (dragSourceListener): New member variable.
8656         (image): New member variable.
8657         (offset): New member variable.
8658         (DragSourceContext): Implemented.
8659         (getDragSource): Implemented.
8660         (getComponent): Implemented.
8661         (getTrigger): Implemented.
8662         (getSourceActions): Implemented.
8663         (setCursor): Implemented.
8664         (getCursor): Implemented.
8665         (addDragSourceListener): Implemented.
8666         (removeDragSourceListener): Implemented.
8667         (getTransferable): Implemented.
8668         * java/awt/dnd/DropTarget.java
8669         (DropTargetAutoScroller.component): New member variable.
8670         (DropTargetAutoScroller.point): New member variable.
8671         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8672         (DropTargetAutoScroller.updateLocation): Implemented.
8673         (active): Renamed from isActive, defaults to true now.
8674         (component): New member variable.
8675         (flavorMap): New member variable.
8676         (actions): New member variable.
8677         (dropTargetContext): New member variable.
8678         (dropTargetListener): New member variable.
8679         (DropTarget): Implemented.
8680         (getComponent): Implemented.
8681         (setComponent): Implemented.
8682         (setDefaultActions): Implemented.
8683         (getDefaultActions): Implemented.
8684         (setActive): Use active instead of isActive.
8685         (isActive): Use active instead of isActive.
8686         (addDropTargetListener): Implemented.
8687         (removeDropTargetListener): Implemented.
8688         (getFlavorMap): Implemented.
8689         (setFlavorMap): Implemented.
8690         (getDropTargetContext): Implemented.
8691         (createDropTargetContext): Implemented.
8692         (createDropTargetAutoScroller): Implemented.
8693         * java/awt/dnd/DropTargetContext.java
8694         (TransferableProxy.getTransferDataFlavors): Implemented.
8695         (TransferableProxy.isDataFlavorSupported): Implemented.
8696         (TransferableProxy.getTransferData): Implemented.
8697         (dropTarget):  New member variable.
8698         (dtcp): New member variable.
8699         (DropTargetContext): New package private constructor.
8700         (getDropTarget): Implemented.
8701         (getComponent): Implemented.
8702         (addNotify): Implemented.
8703         (removeNotify): Implemented.
8704         (getCurrentDataFlavorsAsList): Implemented.
8705         (isDataFlavorSupported): Implemented.
8706         * java/awt/dnd/MouseDragGestureRecognizer.java
8707         (registerListeners): Implemented.
8708         (unregisterListeners): Implemented.
8709         * Makefile.am
8710         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8711         * Makefile.in: Regenerated.
8712
8713 2003-03-02  Michael Koch  <konqueror@gmx.de>
8714
8715         * java/awt/Component.java
8716         (eventTypeEnabled): New method.
8717         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8718         * java/awt/Container.java
8719         (changeSupport): New member variable.
8720         (addPropertyChangeListener): New methods.
8721         * java/awt/ContainerOrderFocusTraversalPolicy.java
8722         (ContainerOrderFocusTraversalPolicy): Added comment.
8723         (getComponentAfter): Throw exception, documentation added.
8724         (getComponentBefore): Throw exception, documentation added.
8725         (getFirstComponent): Throw exception, documentation added.
8726         (getLastComponent): Throw exception, documentation added.
8727         (getDefaultComponent): Throw exception, documentation added.
8728         * java/awt/EventQueue.java: Reindented.
8729         * java/awt/FocusTraversalPolicy.java:
8730         (FocusTraversalPolicy): Added comment.
8731         (getComponentAfter): Documentation added.
8732         (getComponentBefore): Documentation added.
8733         (getFirstComponent): Documentation added.
8734         (getLastComponent): Documentation added.
8735         (getDefaultComponent): Documentation added.
8736         (getInitialComponent): Documentation added.
8737         * java/awt/ScrollPane.java
8738         (wheelScrollingEnabled): New member variable.
8739         (ScrollPane): Initialize wheelScollingEnabled.
8740         (eventTypeEnabled): New method.
8741         (isWheelScrollingEnabled): New method.
8742         (setWheelScrollingEnabled): New method.
8743
8744 2003-03-02  Michael Koch  <konqueror@gmx.de>
8745
8746         * java/net/DatagramSocket.java
8747         (closed): New member variable.
8748         (close): Use closed variable.
8749         (getInetAddress): No need to call isConnected().
8750         (getPort): No need to call isConnected().
8751         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8752         (isClosed): Reimplemented.
8753         
8754 2003-03-02  Michael Koch  <konqueror@gmx.de>
8755
8756         * configure.in: Added check for memory mapping of files.
8757         * configure: Regenerated.
8758         * config.h.in: Regenerated.
8759
8760 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8761
8762         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8763         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8764
8765 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8766
8767         * java/io/File.java (normalizePath): Remove trailing separator
8768         on Windows only if path is not of the form "x:\".
8769
8770         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8771         (java::io::File::attr): Change formatting a bit and use
8772         WIN32_EPOCH_MILLIS instead of magic numbers.
8773         (java::io::File::isAbsolute): Path must have at least 3 
8774         characters for a UNC network path.
8775         (java::io::File::init_native): Define.
8776         (java::io::File::performCreate): Likewise.
8777         (java::io::File::performSetReadOnly): Likewise.
8778         (java::io::File::performSetLastModified): Likewise.
8779         (java::io::File::performListRoots): Likewise.
8780
8781 2003-03-01  Tom Tromey  <tromey@redhat.com>
8782
8783         * java/lang/natObject.cc: Don't include assert.h.
8784         (heavy_lock_obj_finalization_proc): Use JvAssert.
8785         (remove_all_heavy): Likewise.
8786         (_Jv_MonitorEnter): Likewise.
8787         (_Jv_MonitorExit): Likewise.
8788         (wait): Likewise.
8789
8790 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8791
8792         * java/io/File (getAbsolutePath): Prefix drive specifier on
8793         Windows for paths starting with a '\'.
8794         (toURL): Make URL more consistent with what Sun's JDK returns.
8795
8796         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8797         true only if the path is a UNC network path or it starts with a
8798         drive specifier.
8799
8800         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8801         Be prepared to handle either '/' or '\\' in the file path for
8802         Windows if using the "file" protocol.
8803         Canonicalise the file path if using a relative path in the given
8804         context and the "file" protocol.
8805
8806 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8807
8808         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8809         program array element passed to CreateProcess.
8810
8811 2003-03-01  Tom Tromey  <tromey@redhat.com>
8812
8813         * java/rmi/registry/RegistryHandler.java: Deprecate.
8814
8815 2003-03-01  Tom Tromey  <tromey@redhat.com>
8816
8817         * javax/accessibility/AccessibleEditableText.java,
8818         javax/accessibility/AccessibleHyperlink.java: New versions from
8819         Classpath.
8820
8821         * gnu/java/locale/LocaleInformation_af_ZA.java,
8822         gnu/java/locale/LocaleInformation_ar_AE.java,
8823         gnu/java/locale/LocaleInformation_ar_BH.java,
8824         gnu/java/locale/LocaleInformation_ar_DZ.java,
8825         gnu/java/locale/LocaleInformation_ar_EG.java,
8826         gnu/java/locale/LocaleInformation_ar_IN.java,
8827         gnu/java/locale/LocaleInformation_ar_IQ.java,
8828         gnu/java/locale/LocaleInformation_ar_JO.java,
8829         gnu/java/locale/LocaleInformation_ar_KW.java,
8830         gnu/java/locale/LocaleInformation_ar_LB.java,
8831         gnu/java/locale/LocaleInformation_ar_LY.java,
8832         gnu/java/locale/LocaleInformation_ar_MA.java,
8833         gnu/java/locale/LocaleInformation_ar_OM.java,
8834         gnu/java/locale/LocaleInformation_ar_QA.java,
8835         gnu/java/locale/LocaleInformation_ar_SD.java,
8836         gnu/java/locale/LocaleInformation_ar_SY.java,
8837         gnu/java/locale/LocaleInformation_ar_TN.java,
8838         gnu/java/locale/LocaleInformation_ar_YE.java,
8839         gnu/java/locale/LocaleInformation_be_BY.java,
8840         gnu/java/locale/LocaleInformation_bn_IN.java,
8841         gnu/java/locale/LocaleInformation_br_FR.java,
8842         gnu/java/locale/LocaleInformation_bs_BA.java,
8843         gnu/java/locale/LocaleInformation_ca_ES.java,
8844         gnu/java/locale/LocaleInformation_cs_CZ.java,
8845         gnu/java/locale/LocaleInformation_cy_GB.java,
8846         gnu/java/locale/LocaleInformation_da_DK.java,
8847         gnu/java/locale/LocaleInformation_de_AT.java,
8848         gnu/java/locale/LocaleInformation_de_BE.java,
8849         gnu/java/locale/LocaleInformation_de_CH.java,
8850         gnu/java/locale/LocaleInformation_de_DE.java,
8851         gnu/java/locale/LocaleInformation_de_LU.java,
8852         gnu/java/locale/LocaleInformation_el_GR.java,
8853         gnu/java/locale/LocaleInformation_en_AU.java,
8854         gnu/java/locale/LocaleInformation_en_BW.java,
8855         gnu/java/locale/LocaleInformation_en_CA.java,
8856         gnu/java/locale/LocaleInformation_en_DK.java,
8857         gnu/java/locale/LocaleInformation_en_GB.java,
8858         gnu/java/locale/LocaleInformation_en_HK.java,
8859         gnu/java/locale/LocaleInformation_en_IE.java,
8860         gnu/java/locale/LocaleInformation_en_IN.java,
8861         gnu/java/locale/LocaleInformation_en_NZ.java,
8862         gnu/java/locale/LocaleInformation_en_PH.java,
8863         gnu/java/locale/LocaleInformation_en_SG.java,
8864         gnu/java/locale/LocaleInformation_en_US.java,
8865         gnu/java/locale/LocaleInformation_en_ZA.java,
8866         gnu/java/locale/LocaleInformation_en_ZW.java,
8867         gnu/java/locale/LocaleInformation_es_AR.java,
8868         gnu/java/locale/LocaleInformation_es_BO.java,
8869         gnu/java/locale/LocaleInformation_es_CL.java,
8870         gnu/java/locale/LocaleInformation_es_CO.java,
8871         gnu/java/locale/LocaleInformation_es_CR.java,
8872         gnu/java/locale/LocaleInformation_es_DO.java,
8873         gnu/java/locale/LocaleInformation_es_EC.java,
8874         gnu/java/locale/LocaleInformation_es_ES.java,
8875         gnu/java/locale/LocaleInformation_es_GT.java,
8876         gnu/java/locale/LocaleInformation_es_HN.java,
8877         gnu/java/locale/LocaleInformation_es_MX.java,
8878         gnu/java/locale/LocaleInformation_es_NI.java,
8879         gnu/java/locale/LocaleInformation_es_PA.java,
8880         gnu/java/locale/LocaleInformation_es_PE.java,
8881         gnu/java/locale/LocaleInformation_es_PR.java,
8882         gnu/java/locale/LocaleInformation_es_PY.java,
8883         gnu/java/locale/LocaleInformation_es_SV.java,
8884         gnu/java/locale/LocaleInformation_es_US.java,
8885         gnu/java/locale/LocaleInformation_es_UY.java,
8886         gnu/java/locale/LocaleInformation_es_VE.java,
8887         gnu/java/locale/LocaleInformation_et_EE.java,
8888         gnu/java/locale/LocaleInformation_eu_ES.java,
8889         gnu/java/locale/LocaleInformation_fa_IR.java,
8890         gnu/java/locale/LocaleInformation_fi_FI.java,
8891         gnu/java/locale/LocaleInformation_fo_FO.java,
8892         gnu/java/locale/LocaleInformation_fr_BE.java,
8893         gnu/java/locale/LocaleInformation_fr_CA.java,
8894         gnu/java/locale/LocaleInformation_fr_CH.java,
8895         gnu/java/locale/LocaleInformation_fr_FR.java,
8896         gnu/java/locale/LocaleInformation_fr_LU.java,
8897         gnu/java/locale/LocaleInformation_ga_IE.java,
8898         gnu/java/locale/LocaleInformation_gd_GB.java,
8899         gnu/java/locale/LocaleInformation_gl_ES.java,
8900         gnu/java/locale/LocaleInformation_gv_GB.java,
8901         gnu/java/locale/LocaleInformation_he_IL.java,
8902         gnu/java/locale/LocaleInformation_hi_IN.java,
8903         gnu/java/locale/LocaleInformation_hr_HR.java,
8904         gnu/java/locale/LocaleInformation_hu_HU.java,
8905         gnu/java/locale/LocaleInformation_id_ID.java,
8906         gnu/java/locale/LocaleInformation_it_CH.java,
8907         gnu/java/locale/LocaleInformation_it_IT.java,
8908         gnu/java/locale/LocaleInformation_iw_IL.java,
8909         gnu/java/locale/LocaleInformation_ja_JP.java,
8910         gnu/java/locale/LocaleInformation_ka_GE.java,
8911         gnu/java/locale/LocaleInformation_kl_GL.java,
8912         gnu/java/locale/LocaleInformation_ko_KR.java,
8913         gnu/java/locale/LocaleInformation_kw_GB.java,
8914         gnu/java/locale/LocaleInformation_lt_LT.java,
8915         gnu/java/locale/LocaleInformation_lv_LV.java,
8916         gnu/java/locale/LocaleInformation_mi_NZ.java,
8917         gnu/java/locale/LocaleInformation_mk_MK.java,
8918         gnu/java/locale/LocaleInformation_mr_IN.java,
8919         gnu/java/locale/LocaleInformation_mt_MT.java,
8920         gnu/java/locale/LocaleInformation_nl_BE.java,
8921         gnu/java/locale/LocaleInformation_nl_NL.java,
8922         gnu/java/locale/LocaleInformation_nn_NO.java,
8923         gnu/java/locale/LocaleInformation_no_NO.java,
8924         gnu/java/locale/LocaleInformation_oc_FR.java,
8925         gnu/java/locale/LocaleInformation_pl_PL.java,
8926         gnu/java/locale/LocaleInformation_pt_BR.java,
8927         gnu/java/locale/LocaleInformation_pt_PT.java,
8928         gnu/java/locale/LocaleInformation_ro_RO.java,
8929         gnu/java/locale/LocaleInformation_ru_RU.java,
8930         gnu/java/locale/LocaleInformation_ru_UA.java,
8931         gnu/java/locale/LocaleInformation_se_NO.java,
8932         gnu/java/locale/LocaleInformation_sk_SK.java,
8933         gnu/java/locale/LocaleInformation_sl_SI.java,
8934         gnu/java/locale/LocaleInformation_sq_AL.java,
8935         gnu/java/locale/LocaleInformation_sr_YU.java,
8936         gnu/java/locale/LocaleInformation_sv_FI.java,
8937         gnu/java/locale/LocaleInformation_sv_SE.java,
8938         gnu/java/locale/LocaleInformation_ta_IN.java,
8939         gnu/java/locale/LocaleInformation_te_IN.java,
8940         gnu/java/locale/LocaleInformation_tg_TJ.java,
8941         gnu/java/locale/LocaleInformation_tl_PH.java,
8942         gnu/java/locale/LocaleInformation_tr_TR.java,
8943         gnu/java/locale/LocaleInformation_uk_UA.java,
8944         gnu/java/locale/LocaleInformation_ur_PK.java,
8945         gnu/java/locale/LocaleInformation_uz_UZ.java,
8946         gnu/java/locale/LocaleInformation_vi_VN.java,
8947         gnu/java/locale/LocaleInformation_yi_US.java,
8948         gnu/java/locale/LocaleInformation_zh_CN.java,
8949         gnu/java/locale/LocaleInformation_zh_HK.java,
8950         gnu/java/locale/LocaleInformation_zh_SG.java,
8951         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8952         info; from Classpath.
8953
8954         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8955         isPaintPending): New methods.
8956         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8957         setMaximizedBounds): New methods.
8958         (beginLayout, endLayout, isPaintPending): Likewise.
8959         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8960         (requestFocus): Likewise.
8961         (isObscured): Likewise.
8962         (canDetermineObscurity): Likewise.
8963         (coalescePaintEvent): Likewise.
8964         (updateCursorImmediately): Likewise.
8965         (createVolatileImage): Likewise.
8966         (handlesWheelScrolling): Likewise.
8967         (createBuffers): Likewise.
8968         (getBackBuffer): Likewise.
8969         (flip): Likewise.
8970         (destroyBuffers): Likewise.
8971
8972         * Makefile.in: Rebuilt.
8973         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8974         RobotPeer.java.
8975         * gnu/java/awt/GLightweightPeer.java,
8976         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8977         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8978         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8979         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8980         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8981         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8982         java/awt/dnd/peer/DragSourceContextPeer.java,
8983         java/awt/dnd/peer/DropTargetContextPeer.java,
8984         java/awt/peer/ButtonPeer.java,
8985         java/awt/peer/CheckboxMenuItemPeer.java,
8986         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8987         java/awt/peer/ComponentPeer.java,
8988         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8989         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8990         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8991         java/awt/peer/MenuBarPeer.java,
8992         java/awt/peer/MenuComponentPeer.java,
8993         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8994         java/awt/peer/PopupMenuPeer.java,
8995         java/awt/peer/ScrollPanePeer.java,
8996         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8997         java/awt/peer/TextComponentPeer.java,
8998         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8999         New versions from Classpath.
9000         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9001         * java/awt/peer/RobotPeer.java: Likewise.
9002
9003 2003-03-01  Mark Wielaard  <mark@klomp.org>
9004
9005         * java/io/ObjectInputStream.java: Reindent.
9006         * java/io/ObjectOutputStream.java: Likewise.
9007
9008 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9009
9010         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9011         jvalue for each argument. Simplify.
9012         * testsuite/libjava.jni/calls.c (docall),
9013         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9014         misalignment.
9015
9016 2003-02-28  Mark Wielaard  <mark@klomp.org>
9017
9018         * Makefile.am (nat_source_files): Remove
9019         java/io/natObjectOutputStream.cc.
9020         * Makefile.in: Regenerated.
9021         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9022         * java/io/ObjectStreamField.java (typename): New field.
9023         (ObjectStreamField(String, Class)): Initialize new field.
9024         (ObjectStreamField(String, String)): New Constructor.
9025         (getTypeCode): Use new field.
9026         (getTypeString): Use new field.
9027         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9028         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9029         Handle reading of Proxy classes. Never drain(), just write
9030         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9031         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9032         (flush): Call flush(), not just drain().
9033         (writeBoolean): Always use blockDataOutput.
9034         (writeByte): Likewise.
9035         (writeShort): Likewise.
9036         (writeChar): Likewise.
9037         (writeInt): Likewise.
9038         (writeLong): Likewise.
9039         (writeFloat): Likewise.
9040         (writeDouble): Likewise.
9041         (writeBytes): Likewise.
9042         (putfield (put(String,Object))): Throw IllegalArgumentException if
9043         field cannot be found.
9044         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9045         (writeArraySizeAndElements): Write byte[] in one go.
9046         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9047         set BlockDataMode to false.
9048         (annotateProxyClass): New method.
9049         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9050         (getField): No longer native.
9051         (getMethod): Likewise.
9052         (setBlockDataMode): Always drain() on switch, return old mode.
9053         (static): New static code block.
9054         * java/io/natObjectOutputStream.cc: Removed.
9055         * java/io/ObjectInputStream.java (getField): No longer native.
9056         (getMethod): Likewise.
9057         (readObject): Remember and reset old BlockDataMode. Track whether
9058         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9059         TC_LONGSTRING.
9060         (defaultReadObject): Set BlockDataMode to false during readFields.
9061         (resolveClass): Create new SecurityManager if necessary.
9062         Use Class.forName() if null ClassLoader found.
9063         (read(byte[],int,int): Copy remaining bytes to data before calling
9064         readNextBlock().
9065         (readFields): Set and reset BlockDataMode on call_read_method.
9066         Catch NoSuchFieldErrors.
9067         (setBlockDataMode): Return old mode.
9068         (static): New static code block.
9069         * java/io/natObjectInputStream.cc (getField): Removed.
9070         (getMethod): Likewise.
9071
9072 2003-02-27  Michael Koch  <konqueror@gmx.de>
9073
9074         * java/beans/Beans.java,
9075         java/beans/FeatureDescriptor.java
9076         java/beans/PropertyEditorManager.java:
9077         Reformated to GNU style.
9078
9079 2003-02-25  Michael Koch  <konqueror@gmx.de>
9080
9081         * gnu/java/nio/MappedByteFileBuffer.java,
9082         gnu/java/nio/natMappedByteFileBuffer.cc:
9083         New files, both are not compiled yet to get not noncompiling CVS.
9084
9085 2003-02-24  Tom Tromey  <tromey@redhat.com>
9086
9087         * java/util/prefs/AbstractPreferences.java (isUserNode):
9088         Implemented.
9089
9090 2003-02-24  Tom Tromey  <tromey@redhat.com>
9091
9092         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9093         Deprecate.
9094         * java/lang/Thread.java (resume): Deprecate.
9095         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9096         in @deprecated.
9097
9098 2003-02-23  Tom Tromey  <tromey@redhat.com>
9099
9100         * Makefile.in: Rebuilt.
9101         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9102
9103 2003-02-23  Tom Tromey  <tromey@redhat.com>
9104
9105         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9106         libraries): Removed.
9107         (add_library): Removed.
9108         (_load): Don't call add_library.
9109         (loadLibraryInternal): Likewise.
9110         (init): Likewise.
9111         (lookup_data): New struct.
9112         (find_symbol): New function.
9113         (_Jv_FindSymbolInExecutable): Use it.
9114
9115 2002-02-21  Anthony Green  <green@redhat.com>
9116
9117         * java/lang/Thread.java (Thread): New constructor taking stack
9118         size parameter (ignored for now).
9119         * Many methods: Merged GNU Classpath documentation.
9120
9121         * java/lang/Class.java (finalize): throws a Throwable.
9122
9123 2003-02-21  Mark Wielaard  <mark@klomp.org>
9124
9125         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9126         argument is null.
9127
9128 2003-02-21  Mark Wielaard  <mark@klomp.org>
9129
9130         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9131         then 65535 chars throw IllegalArgumentException.
9132
9133 2003-02-21  Mark Wielaard  <mark@klomp.org>
9134
9135         * java/util/zip/ZipFile.java (finalize): New method.
9136
9137 2003-02-21  Michael Koch  <konqueror@gmx.de>
9138
9139         * gnu/java/nio/natSocketChannelImpl.cc:
9140         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9141         <cato@df.lth.se> for pointing to it.
9142
9143 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9144
9145         * java/math/BigInteger.java (euclidInv): Take result array as an
9146         argument.  Updated all callers.
9147         (modInverse): Removed unused variables.
9148
9149 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9150
9151         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9152         config.status.
9153         * configure: Rebuilt.
9154
9155 2003-02-19  Michael Koch  <konqueror@gmx.de>
9156
9157         * gnu/java/nio/natSocketChannelImpl.cc:
9158         Added support for platforms without network support.
9159
9160 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9161
9162         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9163         after config.h.  Use <> for consistency.
9164         * java/lang/natObject.cc: Likewise.
9165         * java/lang/natRuntime.cc: Likewise.
9166         * java/lang/natSystem.cc: Likewise.
9167         * java/util/natTimeZone.cc: Likewise.
9168         * win32.cc: Likewise.
9169         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9170         listen, write, read): Undef to avoid interference from OS macros.
9171
9172 2003-02-19  Michael Koch  <konqueror@gmx.de>
9173
9174         * gnu/java/nio/ByteBufferImpl.java
9175         (ByteBufferImpl): Renamed two variables.
9176         * gnu/java/nio/CharBufferImpl.java
9177         (CharBufferImpl): Renamed two variables.
9178         * gnu/java/nio/DoubleBufferImpl.java
9179         (DoubleBufferImpl): Renamed two variables.
9180         * gnu/java/nio/FloatBufferImpl.java
9181         (FloatBufferImpl): Renamed two variables.
9182         * gnu/java/nio/IntBufferImpl.java
9183         (IntBufferImpl): Renamed two variables.
9184         * gnu/java/nio/LongBufferImpl.java
9185         (LongBufferImpl): Renamed two variables.
9186         * gnu/java/nio/ShortBufferImpl.java
9187         (ShortBufferImpl): Renamed two variables.
9188         * java/nio/CharBuffer.java
9189         (wrap): Fixed arguments to CharBufferImpl constructor.
9190         (hasArray): Only not read-only buffers have backing arrays.
9191         (length): Documentation added.
9192         (subSequence): Documentation added.
9193         * java/nio/DoubleBuffer.java
9194         (hasArray): Only not read-only buffers have backing arrays.
9195         * java/nio/FloatBuffer.java
9196         (hasArray): Only not read-only buffers have backing arrays.
9197         * java/nio/IntBuffer.java
9198         (hasArray): Only not read-only buffers have backing arrays.
9199         * java/nio/LongBuffer.java
9200         (hasArray): Only not read-only buffers have backing arrays.
9201         * java/nio/ShortBuffer.java
9202         (hasArray): Only not read-only buffers have backing arrays.
9203         
9204 2003-02-19  Michael Koch  <konqueror@gmx.de>
9205
9206         * javax/accessibility/AccessibleContext.java
9207         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9208
9209 2003-02-19  Michael Koch  <konqueror@gmx.de>
9210
9211         * java/awt/ScrollPaneAdjustable.java: Reformated.
9212
9213 2003-02-19  Michael Koch <konqueror@gmx.de>
9214
9215         * gnu/awt/j2d/Graphics2DImpl.java
9216         (getFontRenderContext): New method.
9217         (drawGlyphVector): New method.
9218         * java/awt/Graphics2D.java
9219         (getFontRenderContext): New abstract method.
9220         (drawGlyphVector): New abstract method.
9221         
9222 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9223
9224         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9225         if necessary.
9226         
9227         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9228         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9229         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9231         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9232         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9233         (setFont, gtkSetFont): add.
9234         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9235         Propagate font to peer.  (setFont): add FIXME comment.
9236
9237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9238         (gtkTextGetSize): fix height, width computation.
9239
9240         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9241         Make X font name a bit less bogus.
9242
9243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9244         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9245
9246         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9247         (processAdjustmentEvent): Adjust value.
9248
9249         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9250         logic errors.
9251
9252         * java/awt/Component.java (setVisible, show, hide): Call show and
9253         hide methods in subclasses.
9254         (getPreferredSize): don't set prefSize before we have peer.
9255
9256         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9257         Guess (0,0) if we don't have peer.
9258
9259
9260 2003-02-18  Michael Koch  <konqueror@gmx.de>
9261
9262         * java/nio/channels/FileChannel.java
9263         (toString): New implementation, added documentation.
9264         (map): Added exception documentation.
9265         (size): Added exception documentation.
9266         (write): New methods, documentation work.
9267         (read): New methods, documentation work.
9268         (implCloseChannel): Rewrote exception documentation.
9269         (force): Throws IOException, added documentation.
9270         (lock): New methods.
9271         (tryLock): New methods.
9272         (position): New methods.
9273         (transferTo): New method.
9274         (transferFrom): New method.
9275         (truncate): New method.
9276         * java/nio/channels/spi/SelectorProvider.java
9277         (provider): Implemented.
9278         * Makefile.am
9279         (ordinary_java_source_files): Added the following files:
9280         gnu/java/nio/DatagramChannelImpl.java
9281         gnu/java/nio/FileChannelImpl.java
9282         gnu/java/nio/PipeImpl.java
9283         gnu/java/nio/SelectionKeyImpl.java
9284         gnu/java/nio/SelectorImpl.java
9285         gnu/java/nio/SelectorProviderImpl.java
9286         gnu/java/nio/ServerSocketChannelImpl.java
9287         gnu/java/nio/SocketChannelImpl.java
9288         java/nio/channels/FileLock.java
9289         (nat_java_source_files): Added the following files:
9290         gnu/java/nio/natFileChannelImpl.cc
9291         gnu/java/nio/natSelectorImpl.cc
9292         gnu/java/nio/natSocketChannelImpl.cc
9293         * Makefile.in: Regenerated.
9294
9295 2003-02-17  Tom Tromey  <tromey@redhat.com>
9296
9297         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9298         * java/awt/image/ImageFilter.java: Likewise.
9299
9300 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9301
9302         * java/math/BigInteger.java (euclidInv): Return array of
9303         `BigInteger's.  Changed all callers.
9304
9305 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9306
9307         * java/util/Properties.java (store): Move the code formerly in
9308         list(), into this method.
9309         (list (PrintStream)): Just call list (PrintWriter) with a 
9310         PrintWriter object constructed from the given PrintStream object.
9311         (list (PrintWriter)): Emulate the output of Properties.list()
9312         as found in JDK 1.3/1.4.
9313
9314 2003-02-17  Michael Koch  <konqueror@gmx.de>
9315
9316         * java/net/DatagramSocket.java
9317         (connect): Merged with classpath.
9318         (disconnect): Merged documentation with classpath.
9319         (receice): Merged documentation with classpath.
9320         (send): Merged documentation with classpath.
9321         
9322 2003-02-17  Michael Koch  <konqueror@gmx.de>
9323
9324         * java/awt/dnd/DragSourceContext.java
9325         (addDragSourceListener): Added documentation.
9326         * java/awt/dnd/DragSourceDragEvent.java
9327         (serialVersionUID): New member variable.
9328         (getDropAction): Reformated.
9329         * java/awt/dnd/DragSourceDropEvent.java
9330         (serialVersionUID): New member variable.
9331         (dropSuccess): Renamed from success for serialization issues.
9332         * java/awt/dnd/DragSourceEvent.java
9333         (serialVersionUID): New member variable.
9334         * java/awt/dnd/DropTarget.java
9335         (serialVersionUID): New member variable.
9336         (DropTarget): Implemented, documentation reworked.
9337         (setComponent): Documentation added.
9338         (getComponent): Documentation added.
9339         (setDefaultActions): Documentation added.
9340         (getDefaultActions): Documentation added.
9341         (addDropTargetListener): Documentation added.
9342         * java/awt/dnd/DropTargetContext.java
9343         (DropTargetContext): Documentation added.
9344         (TransferableProxy.TransferableProxy): New method.
9345         (dropComplete): Fixed documentation.
9346         (getTransferable): Fixed documentation.
9347         (createTransferableProxy): Implemented.
9348         * java/awt/dnd/DropTargetDragEvent.java
9349         (DropTargetDragEvent): Documentation added.
9350         (serialVersionUID): New member variable.
9351         (DropTargetDragEvent): Throw exceptions, documentation added.
9352         (acceptDrag): Implemented.
9353         (getCurrentDataFlavors): Implemented.3yy
9354         (getCurrentDataFlavorsAsList): Implemented.
9355         (isDataFlavorSupported): Implemented.
9356         (rejectDrag): Implemented.
9357         * java/awt/dnd/DropTargetDropEvent.java
9358         (DropTargetDropEvent): Documentation added.
9359         (serialVersionUID): New member variable.
9360         (actions): Renamed from srcActions for serialization issues.
9361         (isLocalTx): Renamed from isLocalTx for serialization issues.
9362         (DropTargetDropEvent): New implementation, throw exceptions,
9363         documentation added.
9364         (getCurrentDataFlavors): Implemented.
9365         (getCurrentDataFlavorsAsList): Implemented.
9366         (isDataFlavorSupported): Implemented.
9367         (getSourceActions): Implemented.
9368         (getDropAction): Implemented.
9369         (getTransferable): Implemented.
9370         (acceptDrop): Implemented.
9371         (rejectDrop): Implemented.
9372         * java/awt/dnd/DropTargetListener.java
9373         (drop): Fixed documentation.
9374         * java/awt/dnd/MouseDragGestureRecognizer.java
9375         (MouseDragGestureRecognizer): Documentation added.
9376
9377 2003-02-17  Michael Koch  <konqueror@gmx.de>
9378
9379         * java/awt/font/FontRenderContext.java,
9380         java/awt/font/ShapeGraphicAttribute.java,
9381         java/awt/font/MultipleMaster.java,
9382         java/awt/font/TransformAttribute.java,
9383         java/awt/font/GlyphJustificationInfo.java,
9384         java/awt/font/LineBreakMeasurer.java,
9385         java/awt/font/TextMeasurer.java,
9386         java/awt/font/TextLayout.java,
9387         java/awt/font/LineMetrics.java,
9388         java/awt/font/TextAttribute.java,
9389         java/awt/font/GlyphMetrics.java,
9390         java/awt/font/OpenType.java,
9391         java/awt/font/GlyphVector.java,
9392         java/awt/font/GraphicAttribute.java,
9393         java/awt/font/ImageGraphicAttribute.java,
9394         java/awt/font/NumericShaper.java: New files.
9395         * Makefile.am
9396         (awt_java_source_files): Added the following files:
9397         java/awt/font/FontRenderContext.java
9398         java/awt/font/ShapeGraphicAttribute.java
9399         java/awt/font/MultipleMaster.java
9400         java/awt/font/TransformAttribute.java
9401         java/awt/font/GlyphJustificationInfo.java
9402         java/awt/font/LineBreakMeasurer.java
9403         java/awt/font/TextMeasurer.java
9404         java/awt/font/TextLayout.java
9405         java/awt/font/LineMetrics.java
9406         java/awt/font/TextAttribute.java
9407         java/awt/font/GlyphMetrics.java
9408         java/awt/font/OpenType.java
9409         java/awt/font/GlyphVector.java
9410         java/awt/font/GraphicAttribute.java
9411         java/awt/font/ImageGraphicAttribute.java
9412         java/awt/font/NumericShaper.java
9413         * Makefile.in: Regenerated.
9414
9415 2003-02-17  Michael Koch  <konqueror@gmx.de>
9416
9417         * java/awt/print/Paper.java
9418         (Paper): Implements Cloneable.
9419         * java/awt/print/PrinterJob.java
9420         (setJobName): Return value must be void.
9421         (print): Throws PrinterException.
9422         
9423 2003-02-16  Tom Tromey  <tromey@redhat.com>
9424
9425         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9426         variable.
9427
9428 2003-02-15  Michael Koch  <konqueror@gmx.de>
9429
9430         * java/awt/datatransfer/DataFlavor.java
9431         (isRepresentationClassByteBuffer): Removed try-catch block.
9432         (isRepresentationClassCharBuffer): Removed try-catch block.
9433         (isRepresentationClassReader): Removed try-catch block.
9434
9435 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9436
9437         * java/nio/charset/Charset.java
9438         (isRegistered): Fixed method args and implementation.
9439         * java/nio/charset/CharsetEncoder.java
9440         (unmappableCharacterAction): New method.
9441
9442 2003-02-15  Michael Koch  <konqueror@gmx.de>
9443
9444         * java/awt/CheckboxMenuItem.java
9445         (CheckBoxMenuItem): Dont implement Serializable.
9446         (getListeners): New method,
9447         (getItemListeners): New method.
9448         * java/awt/Choice.java
9449         (getListeners): New method,
9450         (getItemListeners): New method.
9451         * java/awt/Container.java
9452         (getListeners): Added exception documentation.
9453         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9454         (getFocusTraversalKeys): Added documentation.
9455         (areFocusTraversalKeysSet): Added documentation.
9456         (applyComponentOrientation): Added documentation.
9457         * java/awt/ContainerOrderFocusTraversalPolicy.java
9458         (implicitDownCycleTraversal): Renamed from downCycle for
9459         serialization.
9460         (ContainerOrderFocusTraversalPolicy): Added documentation.
9461         (accept): Reformated.
9462         * java/awt/Dialog.java
9463         (Dialog): Dont implement Serializable.
9464         (Dialog): Added documentation.
9465         * java/awt/Font.java
9466         (Font): Dont use absolute class name.
9467         * java/awt/Frame.java
9468         (Frame): Font implement Serializable.
9469         * java/awt/List.java
9470         (getListeners): New method,
9471         (getActionListeners): New method.       
9472         (getItemListeners): New method.
9473         * java/awt/Menu.java
9474         (countItems): New deprecated method.
9475         * java/awt/Scrollbar.java
9476         (getListeners): New method,
9477         (getAdjustmentListeners): New method,
9478         * java/awt/TextComponent.java
9479         (getListeners): New method,
9480         (getTextListeners): New method,
9481         * java/awt/TextField.java
9482         (getListeners): New method,
9483         (getActionListeners): New method.       
9484         * java/awt/Window.java
9485         (windowFocusListener): New member variable.
9486         (windowStateListener): New member variable.
9487         (getWindowFocusListeners): New method.
9488         (getWindowStateListeners): New method.
9489         (addWindowFocusListener): New method.
9490         (addWindowStateListener): New method.
9491         (removeWindowFocusListener): New method.
9492         (removeWindowStateListener): New method.
9493         * java/awt/datatransfer/DataFlavor.java
9494         (isRepresentationClassByteBuffer): New method.
9495         (isRepresentationClassCharBuffer): New method.
9496         (isRepresentationClassReader): New method.
9497
9498 2003-02-14  Mark Wielaard  <mark@klomp.org>
9499
9500         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9501         zero when there is an exponent and the significant is zero.
9502         (divide): Always set scale to newScale even in special ZERO case.
9503
9504 2003-02-14  Tom Tromey  <tromey@redhat.com>
9505
9506         * java/lang/System.java (properties): Use Properties.clone.
9507         (setProperties): Likewise.
9508
9509 2003-02-14  Michael Koch  <konqueror@gmx.de>
9510
9511         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9512         * gnu/java/nio/ServerSocketChannelImpl.java
9513         (SocketAccept): Removed.
9514         (accept): Commented out use of SocketAccept.
9515
9516 2003-02-13  Tom Tromey  <tromey@redhat.com>
9517
9518         * verify.cc (state::seen_subrs): New field.
9519         (state::state): Initialize it.
9520         (state::clean_subrs): New method.
9521         (state::~state): Call it.
9522         (state::copy): Copy subroutine list.
9523         (state::add_subr): New method.
9524         (state::merge): Only register a change if the current subroutine
9525         hasn't yet been noted.
9526
9527 2003-02-13  Mark Wielaard  <mark@klomp.org>
9528
9529         * java/io/InputStreamReader.java (getEncoding): Return null when
9530         closed.
9531         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9532
9533 2003-02-13  Mark Wielaard  <mark@klomp.org>
9534  
9535         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9536         is zero.
9537
9538 2003-02-13  Mark Wielaard  <mark@klomp.org>
9539
9540         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9541         next byte cannot be buffered.
9542
9543 2003-02-13  Michael Koch  <konqueror@gmx.de>
9544  
9545         * java/awt/Label.java
9546         (Label): Don't implement Serializable directly.
9547         (addNotify): Fixed typo in documentation.
9548         * java/awt/List.java
9549         (List): Don't implement Serializable directly.
9550         * java/awt/PopupMenu.java
9551         (PopupMenu): Don't implement Serializable directly.
9552         * java/awt/ScrollPane.java
9553         (ScrollPane): Don't implement Serializable directly.
9554         * java/awt/Scrollbar.java
9555         (Scrollbar): Don't implement Serializable directly.
9556         * java/awt/TextArea.java
9557         (preferredSize): Fixed method arguments.
9558         * java/awt/TextField.java
9559         (TextField): Don't implement Serializable directly.
9560         * java/awt/color/ICC_ColorSpace.java
9561         (fromCIOXYZ): Documentation added.
9562         (getMinValue): Documentation added.
9563         (getMaxValue): Documentation added.
9564         * java/awt/datatransfer/DataFlavor.java
9565         (isMimeTypeEqual): May not be final.
9566         (clone): Throws CloneNotSupportedException.
9567         (getReaderForText): Don't throws UnsupportedEncodingException.
9568
9569 2003-02-13  Michael Koch  <konqueror@gmx.de>
9570  
9571         * gnu/java/awt/peer/gtk/GdkGraphics.java
9572         (drawString): New stubbed method.
9573         * java/awt/Graphics.java
9574         (drawString): New method.
9575
9576 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9577
9578         PR libgcj/9271:
9579         * java/security/SecureRandom.java (next): Avoid bias in results.
9580
9581 2003-02-13  Michael  <konqueror@gmx.de>
9582
9583         * gnu/java/nio/FileChannelImpl.java
9584         (lengthInternal): Must be native.
9585         (size): Check if channel is already closed.
9586         (implCloseChannel): Reformated.
9587         (read): w was unused, removed it.
9588         (read): Removed.
9589         (read): New method.
9590         (write): New method.
9591         (map): Check arguments.
9592         (force): Throws IOException, check if channel is closed.
9593         (transferTo): New method.
9594         (transferFrom): New method.
9595         (lock): New method.
9596         (tryLock): New method.
9597         (position): New method.
9598         (truncate): New method.
9599         (nio_mmap_file): Uncommented.
9600         (nio_munmap_file): Uncommented.
9601         (nio_msync): Uncommented.
9602         * gnu/java/nio/natFileChannelImpl.cc: New file.
9603         
9604 2003-02-13  Michael Koch  <konqueror@gmx.de>
9605
9606         * java/nio/ByteBuffer.java
9607         (endian): New member variable.
9608         (get): New methods.
9609         (equals): New method.
9610         (compareTo): New method.
9611         (order): New methods.
9612         (compact): New method.
9613         (isDirect): New method.
9614         (slice): New method.
9615         (duplicate): New method.
9616         (asReadOnlyBuffer): New method.
9617         (asCharBuffer): New method.
9618         (asDoubleBuffer): New method.
9619         (asFloatBuffer): New method.
9620         (asIntBuffer): New method.
9621         (asLongBuffer): New method.
9622         (asShortBuffer): New method.
9623         (get*): New methods.
9624         (put*): New methods.
9625         (toString): New method.
9626         * java/nio/CharBuffer.java
9627         (CharBuffer): Implement Comparable instead of Cloneable.
9628         (get): May not be final.
9629         (put): May not be final.
9630         
9631 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9632
9633         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9634         lastIndexOf( ) instead of indexOf( ) to find the colon before
9635         the line number, because Win32 file names might contain a 
9636         drive letter and a colon at the start of an absolute path.
9637
9638 2003-02-13  Michael Koch  <konqueror@gmx.de>
9639
9640         * gnu/java/nio/natSocketChannelImpl.cc
9641         (SocketConnect): This is not implemented yet.
9642         (SocketBind): This is not implemented yet.
9643
9644 2003-02-13  Michael Koch  <konqueror@gmx.de>
9645
9646         * gnu/java/nio/natByteBufferImpl.cc,
9647         gnu/java/nio/natCharBufferImpl.cc,
9648         gnu/java/nio/natDoubleBufferImpl.cc,
9649         gnu/java/nio/natFloatBufferImpl.cc,
9650         gnu/java/nio/natIntBufferImpl.cc,
9651         gnu/java/nio/natLongBufferImpl.cc,
9652         gnu/java/nio/natShortBufferImpl.cc:
9653         Added copyright and license.
9654         * java/nio/DoubleBuffer.java,
9655         java/nio/FloatBuffer.java,
9656         java/nio/IntBuffer.java,
9657         java/nio/LongBuffer.java,
9658         java/nio/ShortBuffer.java
9659         (array): Throw exceptions.
9660         (arrayOffset): Throw exceptions.
9661
9662 2003-02-13  Michael Koch  <konqueror@gmx.de>
9663  
9664         * gnu/java/util/prefs/FileBasedFactory.java,
9665         gnu/java/util/prefs/MemmoryBasedFactory.java,
9666         gnu/java/util/prefs/MemoryBasedPreferences.java,
9667         gnu/java/util/prefs/NodeReader.java,
9668         gnu/java/util/prefs/NodeWriter.java,
9669         java/util/prefs/AbstractPreferences.java,
9670         java/util/prefs/BackingStoreException.java,
9671         java/util/prefs/InvalidPreferencesFormatException.java,
9672         java/util/prefs/NodeChangeEvent.java,
9673         java/util/prefs/NodeChangeListener.java,
9674         java/util/prefs/PreferenceChangeEvent.java,
9675         java/util/prefs/PreferenceChangeListener.java,
9676         java/util/prefs/Preferences.java,
9677         java/util/prefs/PreferencesFactory.java:
9678         New files, all merged from classpath.
9679         * Makefile.am
9680         (ordinary_java_source_files): Added the following files:
9681         gnu/java/util/prefs/FileBasedFactory.java,
9682         gnu/java/util/prefs/MemmoryBasedFactory.java,
9683         gnu/java/util/prefs/MemoryBasedPreferences.java,
9684         gnu/java/util/prefs/NodeReader.java,
9685         gnu/java/util/prefs/NodeWriter.java,
9686         (core_java_source_files): Added the following files:
9687         java/util/prefs/AbstractPreferences.java,
9688         java/util/prefs/BackingStoreException.java,
9689         java/util/prefs/InvalidPreferencesFormatException.java,
9690         java/util/prefs/NodeChangeEvent.java,
9691         java/util/prefs/NodeChangeListener.java,
9692         java/util/prefs/PreferenceChangeEvent.java,
9693         java/util/prefs/PreferenceChangeListener.java,
9694         java/util/prefs/Preferences.java,
9695         java/util/prefs/PreferencesFactory.java
9696         * Makefile.in: Regenerated.
9697  
9698 2003-02-13  Michael Koch  <konqueror@gmx.de>
9699
9700         * java/net/NetPermission.java
9701         (NetPermission): Make doucmentation match the method declaration.
9702         * java/net/NetworkInterface.java
9703         (equals): Reformated for GNU coding style.
9704         * java/net/ServerSocket.java: Merged with classpath.
9705         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9706         * java/net/SocketImpl.java
9707         (localPort): Merged with classpath (initialize with -1).
9708         * java/net/SocketPermission.java: Merged with classpath (reindented).
9709         * java/net/URLDecoder.java: Merged with classpath (reindented).
9710
9711 2003-02-13  Michael Koch  <konqueror@gmx.de>
9712
9713         * java/awt/GridBagConstraints.java
9714         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9715         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9716         * java/awt/KeyboardFocusManager.java
9717         (setGlobalCurrentFocusCycleRoot): Must be public.
9718         * java/awt/MenuComponent.java
9719         (MenuComponent): Must be public.
9720         * java/awt/Toolkit.java:
9721         Added some empty lines to make documentation more readable.
9722         (getFontPeer): Added @deprecated.
9723         (getColorModel): Added exception documentation.
9724         (getProperty): Fixed documentation.
9725  
9726 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9727
9728         * configure.host (alpha*-*): Default to -mieee.
9729         * configure.in (IEEESPEC): New.
9730         * libgcj.spec.in (jc1): Add IEEESPEC.
9731         * configure: Rebuild.
9732
9733 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9734
9735         * include/win32.h: Include ws2tcpip.h instead of
9736         winsock.h to obtain definition of the socklen_t type.
9737         Remove IP_TOS definition - not needed with ws2tcpip.h
9738         (_Jv_connect): Correct slight formatting error.
9739
9740 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9741
9742         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9743         size of the arguments for a JNI function. For Win32,
9744         modify to search for all forms of possible exported
9745         names of an stdcall JNI function.
9746         (_Jv_JNIMethod::call): Modify to calculate the size
9747         of the arguments passed to a JNI function and pass
9748         it to _Jv_LookupJNIMethod.
9749
9750 2003-02-12  Michael Koch  <konqueror@gmx.de>
9751
9752         * java/nio/channels/Channels.java: New file.
9753         * Makefile.am
9754         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9755         * Makefile.in: Regenerated.
9756
9757 2003-02-12  Michael Koch  <konqueror@gmx.de>
9758
9759         * java/nio/ByteBuffer.java
9760         (allocate): Implemented.
9761         (wrap): Implemented.
9762         * java/nio/CharBuffer.java:
9763         Some documentation added and reworked.
9764         (endian): Removed.
9765         (allocate): Implemented.
9766         (wrap): Implemented.
9767         (array): Throw exceptions.
9768         (arrayOffset): Throw exceptions.
9769         (toString): Implemented.
9770         (length): Implemented.
9771         (put): Implemented.
9772         (charAt): Implemented.
9773
9774 2003-02-11  John Leuner  <jewel@debian.org>
9775
9776         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9777         reads from end of file.
9778
9779 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9780
9781         * java/io/natFileDescriptorWin32.cc 
9782         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9783         returns with Win32 error code ERROR_BROKEN_PIPE.
9784
9785 2003-02-11  Michael Koch  <konqueror@gmx.de>
9786
9787         * Makefile.in
9788         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9789
9790 2003-02-11  Michael Koch  <konqueror@gmx.de>
9791
9792         * gnu/java/nio/ByteBufferImpl.java:
9793         Reformated and removed some code.
9794         (backing_buffer): Removed.      
9795         (array_offset): Removed.
9796         (ro): Renamed to readOnly.
9797         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9798         * gnu/java/nio/CharBufferImpl.java:
9799         Reformated and removed some code.
9800         (array_offset): Removed.
9801         (ro): Renamed to readOnly.
9802         (CharBufferImpl): Use parent constructor, initialize readOnly.
9803         (inc_pos): Removed.
9804         (order): New method.
9805         * gnu/java/nio/DoubleBufferImpl.java:
9806         Reformated and removed some code.
9807         (array_offset): Removed.
9808         (ro): Renamed to readOnly.
9809         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9810         (inc_pos): Removed.
9811         (order): New method.
9812         * gnu/java/nio/FloatBufferImpl.java:
9813         Reformated and removed some code.
9814         (array_offset): Removed.
9815         (ro): Renamed to readOnly.
9816         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9817         (inc_pos): Removed.
9818         (order): New method.
9819         * gnu/java/nio/IntBufferImpl.java:
9820         Reformated and removed some code.
9821         (array_offset): Removed.
9822         (ro): Renamed to readOnly.
9823         (IntBufferImpl): Use parent constructor, initialize readOnly.
9824         (inc_pos): Removed.
9825         (order): New method.
9826         * gnu/java/nio/LongBufferImpl.java:
9827         Reformated and removed some code.
9828         (array_offset): Removed.
9829         (ro): Renamed to readOnly.
9830         (LongBufferImpl): Use parent constructor, initialize readOnly.
9831         (inc_pos): Removed.
9832         (order): New method.
9833         * gnu/java/nio/ShortBufferImpl.java:
9834         Reformated and removed some code.
9835         (array_offset): Removed.
9836         (ro): Renamed to readOnly.
9837         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9838         (inc_pos): Removed.
9839         (order): New method.
9840         * Makefile.am
9841         (ordinary_java_source_files): Added the following files:
9842         gnu/java/nio/ByteBufferImpl.java
9843         gnu/java/nio/CharBufferImpl.java
9844         gnu/java/nio/DoubleBufferImpl.java
9845         gnu/java/nio/FloatBufferImpl.java
9846         gnu/java/nio/IntBufferImpl.java
9847         gnu/java/nio/LongBufferImpl.java
9848         gnu/java/nio/ShortBufferImpl.java
9849         java/nio/DoubleBuffer.java
9850         java/nio/FloatBuffer.java
9851         java/nio/IntBuffer.java
9852         java/nio/LongBuffer.java
9853         java/nio/ShortBuffer.java
9854         (nat_source_files): Added the following files:
9855         gnu/java/nio/natByteBufferImpl.cc
9856         gnu/java/nio/natCharBufferImpl.cc
9857         gnu/java/nio/natDoubleBufferImpl.cc
9858         gnu/java/nio/natFloatBufferImpl.cc
9859         gnu/java/nio/natIntBufferImpl.cc
9860         gnu/java/nio/natLongBufferImpl.cc
9861         gnu/java/nio/natShortBufferImpl.cc
9862         * Makefile.in: Regenerated.
9863
9864 2003-02-11  Michael Koch  <konqueror@gmx.de>
9865
9866         * gnu/java/nio/natCharBufferImpl.cc
9867         (nio_cast): Removed.
9868         (nio_put_*): Removed.
9869         (nio_get_*): Removed.
9870         * gnu/java/nio/natDoubleBufferImpl.cc
9871         (nio_cast): Removed.
9872         (nio_put_*): Removed.
9873         (nio_get_*): Removed.
9874         * gnu/java/nio/natFloatBufferImpl.cc
9875         (nio_cast): Removed.
9876         (nio_put_*): Removed.
9877         (nio_get_*): Removed.
9878         * gnu/java/nio/natIntBufferImpl.cc
9879         (nio_cast): Removed.
9880         (nio_put_*): Removed.
9881         (nio_get_*): Removed.
9882         * gnu/java/nio/natLongBufferImpl.cc
9883         (nio_cast): Removed.
9884         (nio_put_*): Removed.
9885         (nio_get_*): Removed.
9886         * gnu/java/nio/natShortBufferImpl.cc
9887         (nio_cast): Removed.
9888         (nio_put_*): Removed.
9889         (nio_get_*): Removed.
9890         * gnu/java/nio/SelectorProviderImpl.java
9891         (openDatagramChannel): Throws IOException.
9892         (openPipe): Throws IOException.
9893         (openSelector): Throws IOException.
9894         (openServerSocketChannel): Throws IOException.
9895         (openSocketChannel): Throws IOException.
9896         * gnu/java/nio/ServerSocketChannelImpl.java
9897         (ServerSocketChannelImpl): Throws IOException.
9898         (implCloseSelectableChannel): Throws IOException.
9899         (implConfigureBlocking): Throws IOException.
9900         * java/nio/ByteBuffer.java
9901         (readOnly): Removed.
9902         (hasArray): Use isReadOnly() instead of readOnly.
9903         (array): Use isReadOnly() instead of readOnly.
9904         (arrayOffset): Use isReadOnly() instead of readOnly.
9905         * java/nio/CharBuffer.java
9906         (CharBuffer): Implements Cloneable and CharSequence.
9907
9908 2003-02-11  Michael Koch  <konqueror@gmx.de>
9909
9910         * java/nio/DoubleBuffer.java
9911         (DoubleBuffer): Implements Comparable.
9912         (endian): Removed.
9913         (array_offset): New member variable.
9914         (DoubleBuffer): New constuctor.
9915         (get): May not be final.
9916         (put): May not be final.
9917         (arrayOffset): Implemented.
9918         (order): Made abstract.
9919         (order): Removed.
9920         (as*Buffer): Removed.
9921         (get*): Removed.
9922         (put*): Removed.
9923         * java/nio/FloatBuffer.java
9924         (FloatBuffer): Implements Comparable.
9925         (endian): Removed.
9926         (array_offset): New member variable.
9927         (FloatBuffer): New constuctor.
9928         (get): May not be final.
9929         (put): May not be final.
9930         (arrayOffset): Implemented.
9931         (order): Made abstract.
9932         (order): Removed.
9933         (as*Buffer): Removed.
9934         (get*): Removed.
9935         (put*): Removed.
9936         * java/nio/IntBuffer.java
9937         (IntBuffer): Implements Comparable.
9938         (endian): Removed.
9939         (array_offset): New member variable.
9940         (IntBuffer): New constuctor.
9941         (get): May not be final.
9942         (put): May not be final.
9943         (arrayOffset): Implemented.
9944         (order): Made abstract.
9945         (order): Removed.
9946         (as*Buffer): Removed.
9947         (get*): Removed.
9948         (put*): Removed.
9949         * java/nio/LongBuffer.java
9950         (LongBuffer): Implements Comparable.
9951         (endian): Removed.
9952         (array_offset): New member variable.
9953         (LongBuffer): New constuctor.
9954         (get): May not be final.
9955         (put): May not be final.
9956         (arrayOffset): Implemented.
9957         (order): Made abstract.
9958         (order): Removed.
9959         (as*Buffer): Removed.
9960         (get*): Removed.
9961         (put*): Removed.
9962         * java/nio/ShortBuffer.java
9963         (ShortBuffer): Implements Comparable.
9964         (endian): Removed.
9965         (array_offset): New member variable.
9966         (ShortBuffer): New constuctor.
9967         (get): May not be final.
9968         (put): May not be final.
9969         (arrayOffset): Implemented.
9970         (order): Made abstract.
9971         (order): Removed.
9972         (as*Buffer): Removed.
9973         (get*): Removed.
9974         (put*): Removed.
9975
9976 2003-02-11   Michael Koch  <konqueror@gmx.de>
9977
9978         * java/nio/channels/SelectionKey.java
9979         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9980         values.
9981
9982 2003-02-11  Michael Koch  <konqueror@gmx.de>
9983
9984         * java/nio/channels/DatagramChannel.java
9985         (write): Throws IOException.
9986         (connect): Throws IOException.
9987         (disconnect): Throws IOException.
9988         (read): Throws IOException.
9989         (receive): Throws IOException.
9990         (send): Throws IOException.
9991         * java/nio/channels/Pipe.java
9992         (open): Throws IOException.
9993         * java/nio/channels/SelectableChannel.java
9994         (configureBlocking): Throws IOException.
9995         * java/nio/channels/ServerSocketChannel.java
9996         (accept): Throws IOException.
9997         * java/nio/channels/SocketChannel.java
9998         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9999         GatheringByteChannel.
10000         (read): Throws IOException.
10001         (write): Throws IOException.
10002         (finishConnect): Throws IOException.
10003         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10004         (end): Throws AsynchronousCloseException.
10005         * java/nio/channels/spi/AbstractSelectableChannel.java
10006         (configureBlocking): Throws IOException.
10007         (implCloseChannel): Throws IOException.
10008         (implCloseSelectableChannel): Throws IOException.
10009         (implConfigureBlocking): Throws IOException.
10010         * java/nio/channels/spi/SelectorProvider.java
10011         (openDatagramChannel): Throws IOException.
10012         (openPipe): Throws IOException.
10013         (openSelector): Throws IOException.
10014         (openServerSocketChannel): Throws IOException.
10015         (openSocketChannel): Throws IOException.
10016
10017 2003-02-11  Michael Koch  <konqueror@gmx.de>
10018
10019         * gnu/java/nio/FileLockImpl.java,
10020         java/nio/channels/FileLock.java: New files.
10021
10022 2003-02-11  Michael Koch  <konqueror@gmx.de>
10023
10024         * java/nio/charset/IllegalCharsetNameException.java
10025         (serialVersionUID): New member variable.
10026         (charsetName): New member variable.
10027         (IllegalCharsetException): New implementation.
10028         (getCharsetName): New implementation.
10029         * java/nio/charset/UnsupportedCharsetException.java
10030         (serialVersionUID): New member variable.
10031         (charsetName): New member variable.
10032         (UnsupportedCharsetException): New implementation.
10033         (getCharsetName): New implementation.
10034
10035 2003-02-10  Tom Tromey  <tromey@redhat.com>
10036
10037         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10038         (ex): Renamed from sqlException.
10039
10040 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10041
10042         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10043         method used to ensure seeding has occurred and that a specific 
10044         seed can be set and used.
10045
10046 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10047
10048         * java/lang/Win32Process.java (destroy): Declare as native.
10049         (hasExited): New native method.
10050         (exitValue): Define.
10051         (getErrorStream): Likewise.
10052         (getInputStream): Likewise.
10053         (getOutputStream): Likewise.
10054         (waitFor): Declare as native.
10055         (startProcess): New native method.
10056         (cleanup): Likewise.
10057         (ConcreteProcess): Define.
10058         (outputStream, inputStream, errorStream): New members.
10059         (procHandle, exitCode): Likewise.
10060
10061         * java/lang/natWin32Process.cc
10062         (java::lang::ConcreteProcess::cleanup): Define.
10063         (java::lang::ConcreteProcess::destroy): Likewise.
10064         (java::lang::ConcreteProcess::hasExited): Likewise.
10065         (java::lang::ConcreteProcess::waitFor): Likewise.
10066         (new_string): Likewise.
10067         (java::lang::ConcreteProcess::startProcess): Likewise.
10068
10069 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10070
10071         * java/math/BigInteger.java:
10072         Updated notice to include years 2002 and 3.
10073         Added 2 private (int) arrays with values from the HAC (Handbook of
10074         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10075         and t[] that contains nbr. of tests --used in isProbablePrime().
10076
10077         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10078
10079         * java/math/BigInteger.java (make(int[],int), add(int,int),
10080         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10081         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10082         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10083         make(long).
10084
10085         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10086         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10087         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10088         BIs and returns void.
10089         (modInverse(BI)): Use new signatures of euclidInv().
10090
10091         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10092         static small primes instead of remainder().
10093         Use pre-computed max nbr of trials based on bitlength of BI to test.
10094         Use pre-computed small primes for the trial tests instead of random
10095         numbers.
10096
10097         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10098         not used.
10099
10100         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10101         invoacation of MPN.chars_per_word().  not used.
10102
10103         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10104         local var and used where needed.
10105
10106         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10107         Combined declaration with initialisation of locals.
10108         Removed unused var.
10109
10110         * java/math/BigInteger.java: Style changes
10111         (pow(int)): Removed 'else' keyword.
10112         (toString(int)): idem.
10113         (doubleValue()): idem.
10114         (bitLength()): idem.
10115         (equals(Object)): Use static methods name in same class w/o prepending
10116         class name.
10117         (doubleValue()): idem.
10118         (setNegative(BI)): idem.
10119         (negate()): idem.
10120         (and(BI,int)): idem.
10121         (and(BI)): idem.
10122         (gcd(BI)): idem.
10123         (byteArrayToIntArray()): Removed casting to (int). this is
10124         std. behaviour.
10125         (canonicalize()): idem.
10126         (alloc(int)): Always instantiate a new BI.
10127
10128 2003-02-10  Tom Tromey  <tromey@redhat.com>
10129
10130         * java/sql/Timestamp.java (compareTo(Object)): New method.
10131         (compareTo(Timestamp)): Likewise.
10132         (serialVersionUID): Updated.
10133
10134 2003-02-07  Mark Wielaard  <mark@klomp.org>
10135
10136         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10137         when verify is true.
10138         (JarFile(File, boolean)): Likewise.
10139         (manifestRead): Set manifestRead field correctly.
10140
10141 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10142
10143         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10144         tests; see patch #1016 on Savannah.
10145
10146 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10147
10148         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10149         (toString): do not return Strings starting with . and - erroneously.
10150         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10151         DiagBigDecimal.
10152
10153 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10154
10155         * java/beans/PropertyDescriptor.java
10156         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10157         methods.
10158         (PropertyDescriptor(String, Class, String, String)): Likewise.
10159         (PropertyDescriptor(String, Method, Method): Factor out getter and
10160         setter method sanity checks into new method.
10161         (findMethods): Don't do parameter sanity checking of get method here.
10162         (checkMethods): New method.
10163
10164 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10165
10166         * java/beans/PropertyDescriptor.java: Reformat.
10167
10168 2003-02-04  Tom Tromey  <tromey@redhat.com>
10169
10170         * java/io/PipedOutputStream.java (flush): Declare as throwing
10171         IOException.
10172         (close): Likewise.
10173         * java/io/PipedWriter.java (close): Declare as throwing
10174         IOException.
10175         * java/io/StringWriter.java (close): Declare as throwing
10176         IOException.
10177
10178 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10179
10180         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10181         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10182         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10183         "_JNI_OnLoad@8" (MSVC).
10184
10185 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10186
10187         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10188         convention on Win32 to invoke native JNI methods.
10189
10190 2003-02-03  Andrew Haley  <aph@redhat.com>
10191
10192         * configure.host (x86_64): Enable interpreter.
10193
10194 2003-02-03  Andrew Haley  <aph@redhat.com>
10195
10196         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10197         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10198         * configure.in (BACKTRACESPEC): New.
10199         * configure: Regenerate.
10200
10201 2003-02-02  Tom Tromey  <tromey@redhat.com>
10202
10203         * configure: Rebuilt.
10204         * configure.in (TOOLKIT) [xlib]: Set correctly.
10205
10206         * Makefile.in: Rebuilt.
10207         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10208         libstdc++.
10209
10210 2003-01-31  Mark WIelaard  <mark@klomp.org>
10211
10212         * Makefile.in: Rebuilt.
10213         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10214
10215 2003-01-31  Tom Tromey  <tromey@redhat.com>
10216
10217         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10218         cast to element type.
10219         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10220         (_Jv_JNI_GetObjectArrayElement): Likewise.
10221
10222         * Makefile.in: Rebuilt.
10223         * Makefile.am (cond_x_ltlibrary): Renamed library to
10224         lib-gnu-awt-xlib.la.
10225         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10226         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10227         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10228         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10229         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10230         (lib_gnu_awt_xlib_la_LINK): Likewise.
10231         (install-exec-hook): Removed.
10232         (lib-gnu-awt-xlib.la): Renamed.
10233
10234 2003-01-31  Tom Tromey  <tromey@redhat.com>
10235
10236         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10237         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10238         aclocal.m4 and lost in some merge.
10239
10240         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10241         Don't try to find graphics configuration.
10242         * java/awt/Toolkit.java (default_toolkit_name): Use new
10243         Configuration entry.
10244         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10245         New global.
10246         * configure: Rebuilt.
10247         * configure.in (TOOLKIT): New subst.
10248         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10249         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10250         directory.  Make output directories for .c files.
10251         * Makefile.in: Rebuilt.
10252         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10253         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10254         (all_java_source_files): Added new sources.
10255         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10256         (gtk_c_files): New macro.
10257         (gtk_c_source_files): New macro.
10258         (cond_gtk_ltlibrary): New macro.
10259         ($(gtk_c_files)): New target.
10260         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10261         (gtk_awt_peer_sources): New macro.
10262         (gtk_c_headers): New macro.
10263         ($(gtk_c_headers)): New target.
10264         (ACLOCAL_AMFLAGS): New macro.
10265         * gtk.m4, glib.m4, libart.m4: New files.
10266         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10267         gnu/java/awt/peer/gtk/GdkGraphics.java,
10268         gnu/java/awt/peer/gtk/GtkArg.java,
10269         gnu/java/awt/peer/gtk/GtkArgList.java,
10270         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10271         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10272         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10273         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10274         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10275         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10276         gnu/java/awt/peer/gtk/GtkClipboard.java,
10277         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10278         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10279         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10280         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10281         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10282         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10283         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10284         gnu/java/awt/peer/gtk/GtkImage.java,
10285         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10286         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10287         gnu/java/awt/peer/gtk/GtkListPeer.java,
10288         gnu/java/awt/peer/gtk/GtkMainThread.java,
10289         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10290         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10291         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10292         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10293         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10294         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10295         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10296         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10297         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10298         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10299         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10300         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10301         gnu/java/awt/peer/gtk/GtkToolkit.java,
10302         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10303         gnu/java/awt/peer/gtk/TestAWT.java,
10304         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10306         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10308         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10309         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10311         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10313         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10315         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10321         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10323         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10325         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10326         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10329         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10332         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10333         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10334         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10335         jni/classpath/native_state.c, jni/classpath/native_state.h,
10336         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10337
10338 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10339
10340         * java/util/Properties.java (load): Ignore backslash before EOF.
10341
10342 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10343
10344         * java/lang/natClass.cc (initializeClass): Check tables when
10345         (state == JV_STATE_IN_PROGRESS).
10346         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10347         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10348         interpreted classes.
10349         (linkClass0): Use _Jv_WaitForState.
10350
10351 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10352
10353         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10354         object when finished.
10355
10356 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10357
10358         * libjava/configure.host: Disable can_unwind_signal on darwin.
10359
10360 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10361
10362         Fixes PR java/9254:
10363         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10364         additionally containing id of the owner thread as well as
10365         the number of nested times the thread has acquired the mutex.
10366         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10367         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10368         (_Jv_MutexUnlock): Check if really the owner thread, reset
10369         owner thread id to 0 before leaving, if leaving for the last
10370         time.
10371         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10372         refcount.
10373         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10374         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10375         the passed mutex.
10376         Pass handle of the broadcast event, instead of a pointer to it
10377         in Win32 ResetEvent( ) call.
10378         Remove incorrect return values.
10379         (_Jv_CondDestroy): Close both event handles and delete
10380         critical section.
10381         (_Jv_CondNotify): Check if really the owner thread.
10382         (_Jv_CondNotifyAll): Check if really the owner thread.
10383         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10384         (really_start): Use SetEvent( ) to signal daemon_cond.
10385         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10386         WaitForSingleObject( ) instead to wait for daemon_cond to be
10387         signalled.
10388
10389 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10390
10391         * configure.in: Specifically define HAVE_BACKTRACE if building
10392         for MinGW.
10393         * include/win32.h: Remove HAVE_BACKTRACE definition.
10394         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10395         * configure: Rebuilt.
10396
10397 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10398
10399         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10400         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10401         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10402         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10403         * Makefile.in, configure: Rebuilt.
10404
10405 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10406
10407         Fixes PR java/9253:
10408         * java/io/natFileWin32.cc (performList): Append only "*.*"
10409         if the canonical file path already has a "\" at the end.
10410
10411 2003-01-24  Tom Tromey  <tromey@redhat.com>
10412
10413         * defineclass.cc (handleMethodsEnd): Precompute code for static
10414         method.
10415         (handleCodeAttribute): Likewise.
10416         * resolve.cc (ncode): Use run_class for unsynchronized static
10417         methods.
10418         * include/java-interp.h (class _Jv_InterpMethod): Declare
10419         run_class.
10420         * interpret.cc (run_synch_class): Initialize class.
10421         (run) [insn_invokestatic]: Don't initialize class.
10422         [insn_anewarray]: Likewise.
10423         [insn_multianewarray]: Likewise.
10424         (run_class): New function.
10425
10426 2003-01-24  Tom Tromey  <tromey@redhat.com>
10427
10428         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10429         comment.
10430
10431 2003-01-22  Andrew Haley  <aph@redhat.com>
10432
10433         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10434         * configure.host (CHECKREFSPEC): Define for x86_64.
10435
10436 2003-01-21  Tom Tromey  <tromey@redhat.com>
10437
10438         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10439         search at 2, not 3.
10440
10441 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10442
10443         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10444         looking at any characters.
10445         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10446         be used.
10447         (isAbsolute): Check path's length as well.
10448
10449 2003-01-17  Mark Wielaard  <mark@klomp.org>
10450
10451         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10452         (nat_source_files): Add natVMObjectStreamClass.cc.
10453         * Makefile.in: Regenerated.
10454         * gcj/javaprims.h (namespace java): Regenerated.
10455         * java/io/ObjectStreamClass.java (getClassUID): Call
10456         VMObjectStreamClass.hasClassInitializer().
10457         (hasClassInitializer): Removed.
10458         * java/io/VMObjectStreamClass.java: New class.
10459         * java/io/natVMObjectStreamClass.cc: New file.
10460         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10461
10462 2003-01-16  Mark Wielaard  <mark@klomp.org>
10463
10464         * java/net/SocketImpl.java (toString): Don't explicitly call
10465         toString() on possible null address.
10466
10467 2003-01-16  Michael Koch  <konqueror@gmx.de>
10468
10469         * java/net/MulticastSocket.java
10470         (setInterface): Reindented.
10471
10472 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10473
10474         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10475         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10476         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10477         translateY arguments.  Implement.
10478         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10479         down translation arguments.
10480         (drawPolyline, drawPolygon): Fix incorrect tests.
10481         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10482         translateX and translateY arguments.
10483
10484 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10485
10486         * Makefile.in: Rebuilt.
10487         * Makefile.am (xlib_includes): New macro.
10488         (INCLUDES): Use it.
10489
10490 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10491
10492         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10493         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10494         16-bit display mode.
10495
10496 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10497
10498         * java/awt/CardLayout.java (show): Rewrote.
10499         (gotoComponent): Removed `target' argument.  Simplified code.
10500         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10501         Changed all callers.
10502         (NONE): Removed.
10503         
10504 2003-01-14  Michael Koch  <konqueror@gmx.de>
10505
10506         * java/net/InetSocketAddress.java
10507         (serialVersionUID): New member variable.
10508         * java/net/NetPermission.java
10509         (NetPermission): Dont implement java.io.Serialization directly.
10510         * java/net/SocketAddress.java:
10511         (serialVersionUID): Documentation added.
10512         
10513 2003-01-14  Michael Koch  <konqueror@gmx.de>
10514
10515         * java/awt/Label.java
10516         (Label): Implements javax.accessibility.Accessible;
10517         * java/awt/List.java
10518         (List): Implements javax.accessibility.Accessible;
10519         * java/awt/ScrollPane.java
10520         (ScrollPane): Implements javax.accessibility.Accessible;
10521         * java/awt/Scrollbar.java
10522         (Scrollbar): Implements javax.accessibility.Accessible;
10523         * java/awt/TextComponent.java
10524         (setCaretPosition): Throw exception, documentation added.
10525         * java/awt/Toolkit.java:
10526         Added some newlines in method documentations.
10527         (createButton): Exception documentation added.
10528         (createTextField): Exception documentation added.
10529         (createLabel): Exception documentation added.
10530         (createList): Exception documentation added.
10531         (createCheckbox): Exception documentation added.
10532         (createScrollbar): Exception documentation added.
10533         (createScrollPane): Exception documentation added.
10534         (createTextArea): Exception documentation added.
10535         (createChoice): Exception documentation added.
10536         (createFrame): Exception documentation added.
10537         (createWindow): Exception documentation added.
10538         (createDialog): Exception documentation added.
10539         (createMenuBar): Exception documentation added.
10540         (createMenu): Exception documentation added.
10541         (createMenuItem): Exception documentation added.
10542         (createFileDialog): Exception documentation added.
10543         (createCheckboxMenuItem): Exception documentation added.
10544         (loadSystemColors): Exception documentation added.
10545         (setDynamicLayout): Exception documentation added.
10546         (isDynamicLayoutSet): Exception documentation added.
10547         (isDynamicLayoutActive): Exception documentation added.
10548         (getScreenSize): Exception documentation added.
10549         (getScreenResolution): Exception documentation added.
10550         (getScreenInsets): Exception documentation added.
10551         (getColorModel): Exception documentation added.
10552         (getSystemClipboard): Exception documentation added.
10553         (getSystemSelection): Exception documentation added.
10554         (getMenuShortcutKeyMask): Exception documentation added.
10555         (getSystemEventQueue): Exception documentation added.
10556         * java/awt/Window.java:
10557         Reindented some code.
10558         (Window): Centralized implementation, documentation added.
10559         (finalize): Documentation added.
10560         (hide): Fixed typo in comment.
10561         (getWindowListeners): Documentation added.
10562         * java/awt/color/ColorSpace.java
10563         (toRGB): Documentation added.
10564         * java/awt/color/ICC_ColorSpace.java
10565         (ICC_ColorSpace): Documentation added.
10566         (toRGB): Throw exception, documentation added.
10567         (fromRGB): Throw exception, documentation added.
10568         (toCIEXYZ): Documentation added.
10569         (fromCIEXYZ): Documentation added.
10570         (getMinValue): Documentation added.
10571         (getMaxValue): Documentation added.
10572         * java/awt/geom/Dimension2D.java
10573         (clone): Documentation added.
10574         * java/awt/geom/GeneralPath.java
10575         (clone): Documentation added.
10576         * java/awt/geom/Line2D.java
10577         (clone): Documentation added.
10578         * java/awt/geom/QuadCurve2D.java
10579         (clone): Documentation added.
10580         * java/awt/image/ColorModel.java
10581         (ColorModel): Throw exception, documentation added.
10582         * java/awt/image/ImageFilter.java
10583         (clone): Doesnt throw CloneNotSupportedException.
10584
10585 2003-01-14  Andrew Haley  <aph@redhat.com>
10586
10587         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10588         in a try block.
10589
10590 2003-01-10  Andrew Haley  <aph@redhat.com>
10591
10592         * include/dwarf2-signal.h: Remove x86_64.
10593         * configure.host (x86_64 DIVIDESPEC): Remove.
10594         * include/x86_64-signal.h: New file.
10595         * configure.in: Regenerate.
10596
10597 2003-01-10  Michael Koch  <konqueror@gmx.de>
10598
10599         * java/net/DatagramSocket.java
10600         (ch): Description added.
10601         (remotePort): Initialize with -1.
10602         (connect): Doesnt throws SocketException.
10603         * java/net/MulticastSocket.java
10604         (setInterface): Merge with Classpath.
10605         * java/net/ServerSocket.java
10606         (closed): New member variable.
10607         (bind): Check if socket is closed.
10608         (close): Close an associated channel too, set new value to closed.
10609         (isBound): Reindented.
10610         (isClosed): Implemented.
10611         * java/net/Socket.java
10612         (closed): New member variable.
10613         (bind): Check if socket is closed.
10614         (connect): Check if socket is closed.
10615         (close): Close an associated channel too, set new value to closed.
10616         (isClosed): Implemented.
10617
10618 2003-01-10  Michael Koch  <konqueror@gmx.de>
10619
10620         * java/awt/DisplayMode.java
10621         (equals): Fixed argument type and implementation.
10622
10623 2003-01-07  Tom Tromey  <tromey@redhat.com>
10624
10625         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10626         JV_HASH_SYNCHRONIZATION.
10627         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10628         JV_HASH_SYNCHRONIZATION.
10629
10630 2003-01-07  Michael Koch  <konqueror@gmx.de>
10631  
10632         * java/net/DatagramSocket.java:
10633         Added classpath license info.
10634         (DatagramSocket): Merged description with classpath.
10635         (close): Merged description with classpath.
10636         (getChannel): Merged description with classpath.
10637         (getInetAddress): Merged description with classpath.
10638         (getPort): Merged description with classpath.
10639         (getLocalAddress): Merged description with classpath.
10640         (getLocalPort): Merged description with classpath.
10641         (getSoTimeout): Merged description with classpath.
10642         (setSoTimeout): Merged description with classpath.
10643         (getSendBufferSize): Merged description with classpath.
10644         (setSendBufferSize): Merged description with classpath.
10645         (getReceiveBufferSize): Merged description with classpath.
10646         (setReceiveBufferSize): Merged description with classpath.
10647         
10648 2003-01-04  Tom Tromey  <tromey@redhat.com>
10649
10650         * java/awt/List.java: Merged with Classpath.
10651
10652 2003-01-03  Mark Wielaard  <mark@klomp.org>
10653
10654         * java/io/FileDescriptor.java (position): New private field.
10655         * java/io/natFileDescriptorPosix.cc (write): Up position.
10656         (setLength): Use and set position.
10657         (seek): Set position.
10658         (getFilePointer): Return position.
10659         (read): Up position.
10660
10661 2003-01-03  Mark Wielaard  <mark@klomp.org>
10662
10663         Merge with Classpath:
10664         * java/io/ObjectStreamClass.java (lookup): Split method and call
10665         lookupForClassObject().
10666         (lookupForClassObject): New method.
10667         (isProxyClass): New field.
10668         (setClass): Set isProxyClass, add object to classLookupTable, set
10669         superClass and calculateOffsets.
10670         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10671         and not a proxy class.
10672         (setFields): Set accessible true for serialPersistentFields.
10673         (getClassUID): Same for suid. And check if suid is of type long.
10674         (hasClassInitializer): Don't throw NoSuchMethodError.
10675
10676 2003-01-03  Mark Wielaard  <mark@klomp.org>
10677
10678         * java/io/FileInputStream.java (finalize): Don't explicitly
10679         finalize FileDescriptor.
10680
10681 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10682
10683         * configure.host (sparc*-*): Enable bytecode interpreter.
10684
10685 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10686
10687         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10688         Don't throw RemoteException.
10689         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10690         throw RemoteException.
10691
10692 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10693
10694         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10695         proxyHost): New static fields.
10696         (<clinit>): Initialize new fields.
10697         (connect): Use proxy if necessary.
10698         (usingProxy): Implement.
10699
10700 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10701
10702         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10703         (TreeIterator.remove): Prefer IllegalStateException over
10704         ConcurrentModificationException, to match Sun.
10705
10706 2002-12-22  Anthony Green  <green@redhat.com>
10707
10708         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10709
10710 2003-01-02  Mark Wielaard  <mark@klomp.org>
10711
10712         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10713         public.
10714         (HTTP_USE_PROXY): Add field.
10715         (getResponseVals): Only set responseCode when not yet explicitly
10716         set by subclass.
10717
10718 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10719             Mark Wielaard  <mark@klomp.org>
10720
10721         * java/util/zip/ZipFile.java (entries): Now HashMap.
10722         (readLeShort(DataInput, byte[])): Read from given byte array.
10723         (readLeInt(DataInput, byte[]): Likewise.
10724         (readLeShort(byte[] b, int off)): New method.
10725         (readLeInt(byte[] b, int off)): Likewise.
10726         (readEntries): Use byte arrays to read info in bigger chunks.
10727         (getEntries): Return HashMap.
10728         (getEntry): Use HashMap.
10729         (locBuf): New private field.
10730         (checkLocalHeader): Use locBuf to read info in one chunk.
10731         (getInputStream): Use entries HashMap, wrap PartialInputStream
10732         in BufferedInputStream.
10733         (ZipEntryEnumeration): Use HashMap and Interator.
10734
10735 2003-01-02  Mark Wielaard  <mark@klomp.org>
10736             Jeroen Frijters  <jeroen@sumatra.nl>
10737
10738         * java/net/URLClassLoader.java (Resource.getCodeSource):
10739         Fix check certs == null.
10740         (getCanonicalFileURL): Removed method.
10741         (JarURLLoader): Don't call removed method.
10742         (FileURLLoader): Likewise.
10743         (FileURLLoader.getResource): Don't canonicalize file name.
10744
10745 2003-01-01  Tom Tromey  <tromey@redhat.com>
10746
10747         * Makefile.in: Rebuilt.
10748         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10749         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10750         java/awt/BufferCapabilities.java, java/awt/Button.java,
10751         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10752         java/awt/Container.java, java/awt/Cursor.java,
10753         java/awt/EventQueue.java, java/awt/FileDialog.java,
10754         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10755         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10756         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10757         java/awt/Scrollbar.java, java/awt/TextArea.java,
10758         java/awt/TextField.java, java/awt/color/CMMException.java,
10759         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10760         java/awt/color/ProfileDataException.java,
10761         java/awt/datatransfer/Clipboard.java,
10762         java/awt/datatransfer/DataFlavor.java,
10763         java/awt/datatransfer/FlavorMap.java,
10764         java/awt/datatransfer/SystemFlavorMap.java,
10765         java/awt/dnd/DragGestureEvent.java,
10766         java/awt/dnd/DragGestureRecognizer.java,
10767         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10768         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10769         java/awt/im/InputMethodHighlight.java,
10770         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10771         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10772
10773         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10774         `op' to BufferedImageOp.
10775
10776 2002-12-31  Tom Tromey  <tromey@redhat.com>
10777
10778         Fix for PR libgcj/7416:
10779         * javax/naming/InitialContext.java (init): Use
10780         gnu.classpath.home.url.
10781         * java/security/Security.java: Use new properties.
10782         (loadProviders): Accept base url; use it.
10783         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10784         gnu.classpath.home.url.
10785         (gnu.classpath.home.url): Define.
10786         (gnu.classpath.vm.shortname): Likewise.
10787
10788 2002-12-31  Tom Tromey  <tromey@redhat.com>
10789             Ranjit Mathew  <rmathew@hotmail.com>
10790
10791         Fix for PR libgcj/8997:
10792         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10793         Include platform.h.
10794         * include/posix.h (_Jv_platform_usleep): New function.
10795         * include/win32.h (_Jv_platform_usleep): New function.
10796
10797 2002-12-29  Tom Tromey  <tromey@redhat.com>
10798
10799         * gcj/javaprims.h: Updated.
10800         * scripts/classes.pl (scan): Removed stray semicolon.
10801
10802 2002-12-30  Mark Wielaard  <mark@klomp.org>
10803
10804         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10805         if zero or smaller.
10806
10807 2002-12-30  Mark Wielaard  <mark@klomp.org>
10808
10809         * java/util/Properties (formatForOutput): Don't fall through to
10810         default case after escaping character.
10811
10812 2002-12-30  Mark Wielaard  <mark@klomp.org>
10813
10814         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10815         against count.
10816
10817 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10818
10819         * boehm.cc: Remove stray semicolon.
10820         * interpret.cc: Likewise.
10821         * prims.cc: Likewise.
10822         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10823         earlier to ensure default arguments are processed.
10824         * gcj/array.h (JArray): Add forward declaration.
10825         (elements): Likewise.
10826         * gcj/javaprim.h: Remove stray semicolons.
10827         * include/bohm-gc.h: Likewise.
10828         * include/jni.h: Likewise.
10829         * include/jvm.h: Likewise.
10830         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10831         
10832 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10833
10834         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10835         of catch_type.
10836         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10837         idt tables after initializing superclass.
10838         * java/lang/natClassLoader.cc (uaddr): New typedef.
10839         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10840         if they are constant pool indicies.  Don't link vtable, otable yet.
10841
10842 2002-12-21  Anthony Green  <green@redhat.com>
10843
10844         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10845         libraries.
10846         * Makefile.in: Rebuilt.
10847
10848 2002-12-19  Anthony Green  <green@redhat.com>
10849
10850         * Makefile.am (ordinary_java_source_files): Add
10851         org/xml/sax/helpers/NewInstance.java.
10852         * Makefile.in: Rebuilt.
10853         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10854         org/xml/sax/helpers/package.html: New files.
10855         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10856         http://www.saxproject.org.
10857
10858 2002-12-19  Andrew Haley  <aph@redhat.com>
10859
10860         * java/util/natResourceBundle.cc: Include
10861         ArrayIndexOutOfBoundsException.h.
10862         (getCallingClassLoader): Don't put upper bound on stack search.
10863         Catch ArrayIndexOutOfBoundsException.
10864
10865 2002-12-19  Tom Tromey  <tromey@redhat.com>
10866
10867         * libtool-version: Increased `current'.
10868
10869 2002-12-19  Tom Tromey  <tromey@redhat.com>
10870
10871         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10872         comment.
10873         * java/lang/ClassLoader.java (defineClass): Use chained
10874         exception when rethrowing.
10875         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10876         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10877         constants.
10878         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10879         (_Jv_PrepareClass): Use it.
10880         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10881         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10882         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10883         (Class): _Jv_PrepareMissingMethods now friend.
10884         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10885         Record `NULL' for system class loader.
10886         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10887         system class loader.
10888         (_Jv_FindClassInCache): Likewise.
10889         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10890         (_Jv_FindClass): Special case system class loader.
10891         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10892         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10893         vtable slots.
10894         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10895         in a final class.
10896         (_getDeclaredMethod): Don't return synthetic methods.
10897         (getDeclaredMethods): Likewise.
10898         (_getMethod): Likewise.
10899         (_getMethods): Likewise.
10900
10901 2002-12-18  Raif Naffah  <raif@fl.net.au>
10902
10903         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10904         canonical form after divide().
10905         (modInverse): Likewise.
10906
10907 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10908             Mark Wielaard  <mark@klomp.org>
10909
10910         * java/security/SecurityRandom (digest): Removed field.
10911         (SecureRandom): Check all providers for case-insensitive SecureRandom
10912         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10913         if necessary.
10914         (getInstance(String,Provider,boolean): New method.
10915         (getInstance(String)): Use new method.
10916         (getInstance(String,String)): Likewise.
10917         (getInstance(String,Provider)): Likewise.
10918
10919 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10920
10921         * java/security/Security.java (loadProviders): Increment i only once.
10922
10923 2002-12-12  Mark Wielaard  <mark@klomp.org>
10924
10925         * java/lang/ClassLoader.java (resolveClass0): Transform
10926         ClassNotFoundException to NoClassDefFoundError. Transform all other
10927         throwables to LinkageError.
10928
10929 2002-12-11  Tom Tromey  <tromey@redhat.com>
10930
10931         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10932
10933         * java/lang/ClassLoader.java (loadedClasses): New field.
10934         (defineClass): Fixed indentation.  Put new class in
10935         loadedClasses.
10936         (findLoadedClass): Implement here.
10937         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10938
10939 2002-12-10  Tom Tromey  <tromey@redhat.com>
10940
10941         * Makefile.in: Rebuilt.
10942         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10943         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10944         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10945         * java/lang/natClassLoader.cc
10946         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10947
10948 2002-12-10  Mark Wielaard  <mark@klomp.org>
10949             Tom Tromey  <tromey@redhat.com>
10950
10951         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10952         (JarURLLoader): Use it.
10953         (FileURLLoader): Likewise.
10954         (JarURLResource.getURL): Use chained exception.
10955         (FileResource.getURL): Likewise.
10956         (FileURLLoader.getResource): Use canonical file name.
10957         (addURL): Indentation fix.
10958
10959 2002-12-10  Tom Tromey  <tromey@redhat.com>
10960
10961         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10962         From Laurent Bardet <l.bardet@magic.fr>.
10963
10964 2002-12-09  Tom Tromey  <tromey@redhat.com>
10965
10966         * include/win32.h (_Jv_platform_solib_prefix): New define.
10967         (_Jv_platform_solib_suffix): Likewise.
10968         * include/posix.h (_Jv_platform_solib_prefix): New define.
10969         (_Jv_platform_solib_suffix): Likewise.
10970         * java/lang/natRuntime.cc: Include StackTrace.h.
10971         (_load): Use findLibrary and new platform defines.
10972         (nativeGetLibname): Use new platform defines.
10973
10974         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10975         `t' won't be null.
10976
10977 2002-12-08  Mark Wielaard  <mark@klomp.org>
10978
10979         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10980         cache remote jar files.
10981         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10982         add File.separator to URL when it is a directory.
10983         * java/lang/ClassLoader.java: Add Classpath javadoc.
10984         (parent): final.
10985         (getParent): Add (disabled) security check.
10986         (findLibrary): New default method.
10987         * java/net/JarURLConnection.java (getManifest): Implement.
10988         (getInputStream): Only create InputStream when entry exists.
10989         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10990         when they exist.
10991         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10992
10993 2002-12-08  Mark Wielaard  <mark@klomp.org>
10994
10995         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10996         (lastDefaultLocale): New field.
10997         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10998         resourceBundleCache.
10999
11000 2002-12-06  Mark Wielaard  <mark@klomp.org>
11001
11002         * java/net/InetAddress.java (toString): Use hostname when not null,
11003         don't do an explicit reverse getHostName() lookup.
11004         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11005         NullPointerException.
11006
11007 2002-12-06  Tom Tromey  <tromey@redhat.com>
11008
11009         * include/java-interp.h (class _Jv_InterpMethod): Added
11010         JV_MARKOBJ_DECL.
11011         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11012         mark `prepared' field of interpreted method.
11013         * interpret.cc (compile): Use _Jv_AllocBytes.
11014
11015 2002-12-05  Andrew Haley  <aph@redhat.com>
11016
11017         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11018         #ifdef (HAVE_BACKTRACE) around the whole function body.
11019
11020 2002-12-05  Tom Tromey  <tromey@redhat.com>
11021
11022         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11023         * resolve.cc: Don't include AbstractMethodError.h.
11024         (_Jv_abstractMethodError): Removed.
11025         * defineclass.cc (handleMethodsBegin): Initialize method index to
11026         -1.
11027         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11028         method index for "new" final method.
11029         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11030         isVirtualMethod.  Added `flags' argument.
11031         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11032         class.
11033
11034 2002-12-04  Tom Tromey  <tromey@redhat.com>
11035
11036         * java/net/SocketPermission.java (hashCode): Rewrote.
11037
11038 2002-12-04  Tom Tromey  <tromey@redhat.com>
11039
11040         * Makefile.in: Rebuilt.
11041         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11042         natResourceBundle.
11043         * java/util/ResourceBundle.java (Security): Removed.
11044         (getCallingClassLoader): Now native.
11045         * java/util/natResourceBundle.cc: New file.
11046         * java/lang/natVMSecurityManager.cc: New file.
11047         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11048
11049 2002-12-03  Mark Wielaard  <mark@klomp.org>
11050
11051         * java/util/jar/JarFile.java (manifest): Not final.
11052         (manifestRead): New field.
11053         (JarFile): Don't read Manifest in constructor.
11054         (getManifest): New method.
11055         (JarEnumeration.nextElement): Use new method.
11056         (getEntry): Likewise.
11057         * java/util/zip/ZipFile.java (name): Final.
11058         (raf): Likewsie.
11059         (entries): Change type to Hashtable.
11060         (closed): New field.
11061         (ZipFile): Don't read enties in constructor.
11062         (readEntries): Use Hashtable.
11063         (close): Set new close flag and set entries to null inside
11064         synchronized block.
11065         (entries): Contruct enumeration using new getEntries() method and
11066         entries Hashtable.
11067         (getEntryIndex): Removed.
11068         (getEntries): New method.
11069         (getEntry): Use new getEntries() method and entries Hastable.
11070         (getInputStream): Likewise.
11071         (size): Return getEntries().size().
11072         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11073         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11074         (time): Removed
11075         (dostime): New field.
11076         (zipFileIndex): Removed.
11077         (ZipEntry(ZipEntry)): Copy dostime.
11078         (setDOSTime): Now final and doesn't convert dos time.
11079         (getDOSTime): Likewise.
11080         (setTime): Convert dos time.
11081         (getTime): Likewise.
11082         (getCalendar): New method.
11083         (setExtra): Use setTime().
11084         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11085
11086 2002-12-03  Tom Tromey  <tromey@redhat.com>
11087
11088         * java/lang/Character.java (forDigit): Formatting fix.
11089
11090 2002-12-03  Raif Naffah  <raif@fl.net.au>
11091
11092         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11093         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11094         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11095
11096 2002-12-03  Andrew Haley  <aph@redhat.com>
11097
11098         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11099         _Jv_PushClass.
11100         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11101         (_Jv_PopClass): New.
11102         (_Jv_PushClass): New.
11103         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11104         discover the ClassLoader of our caller.
11105         (_Jv_CheckArrayStore): Don't check that a class is assignment
11106         compatible with Object.
11107         * java/lang/natVMTHrowable.cc: Delete.
11108         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11109         java.lang.VMThrowable.
11110         (StackTrace(), StackTrace(int)): New constructors.
11111         (classAt, methodAt, update, methodAtAddress): New methods.
11112         (map): New field.
11113         * java/lang/VMThrowable.java: Use StackTrace instead of
11114         natVMTHrowable.
11115         * java/lang/Class.h (getClassLoaderInternal): New.
11116         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11117         Be friendly with gnu::gcj::runtime::StackTrace.
11118         (Object.chain): New field.
11119         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11120         gnu::gcj::runtime::StackTrace.
11121         * gnu/gcj/runtime/natStackTrace.cc: New file.
11122         * gnu/gcj/runtime/MethodRef.java: New file.
11123         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11124         instead of getClassLoader().
11125         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11126         java::lang::VMThrowable.
11127         * Makefile.am (core_java_source_files): Add MethodRef.java,
11128         StackTrace.java.
11129         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11130         * Makefile.in: Rebuild.
11131
11132 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11133
11134         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11135         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11136         yes also for sh-linux* and sh[34]*-linux*.
11137         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11138         set SIGNAL_HANDLER to use DWARF2 exception for them.
11139         * configure: Regenerate.
11140
11141 2002-12-02  Tom Tromey  <tromey@redhat.com>
11142
11143         * jni.cc: Added `name' argument.
11144         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11145         `const char *' argument.
11146         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11147
11148 2002-12-01  Tom Tromey  <tromey@redhat.com>
11149
11150         Bug compatibility, for PR libgcj/8738:
11151         * java/io/CharArrayWriter.java (close): Do nothing.
11152         (flush): Likewise.
11153         (reset): Don't touch `closed'.
11154         (write(int)): Don't throw IOException.
11155         (write(char[],int,int)): Likewise.
11156         (write(String,int,int)): Likewise.
11157         (closed): Removed.
11158
11159 2002-12-01  Mark Wielaard  <mark@klomp.org>
11160
11161         * java/lang/SecurityManager.java: Remerge comments, indenting and
11162         checkXXX methods with Classpath.
11163
11164 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11165
11166         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11167         getNormalizedComponents): Fix calculation which was using one too
11168         many bits in the unnormalized format.
11169
11170 2002-11-29  Gary Benson  <gbenson@redhat.com>
11171
11172         For PR libgcj/8759:
11173         * java/beans/Introspector.java (flushCaches): New method.
11174         (flushFromCaches): Likewise.
11175
11176 2002-11-29  Michael Koch <konqueror@gmx.de>
11177
11178         * java/nio/channels/DatagramChannel.java
11179         (open): Added exception documentation.
11180         (write): Added exception documentation.
11181         (connect): Added exception documentation.
11182         (disconnect): Added exception documentation.
11183         (isConnected): Added exception documentation.
11184         (read): Added exception documentation.
11185         (receive): Added exception documentation.
11186         (send): Added exception documentation.
11187         (validOps): Added exception documentation.
11188         * java/nio/channels/SocketChannel.java
11189         (open): Added exception documentation.
11190         (read): Added exception documentation.
11191         (write): Added exception documentation.
11192         (connect): Added exception documentation.
11193         (finishConnect): Added exception documentation.
11194
11195 2002-11-29  Michael Koch <konqueror@gmx.de>
11196
11197         * gnu/java/nio/DatagramChannelImpl:
11198         (fd): New member variable to store file descriptor of socket.
11199         * gnu/java/nio/SelectionKeyImpl.java:
11200         (ops): Removed.
11201         (readyOps): New member variable.
11202         (interestOps): New member variable.
11203         (readyOps): Implemented.
11204         (readyOps): New method to set member variable readyOps.
11205         (interestOps): Replaced ops by interestOps.
11206         * gnu/java/nio/SelectorImpl.java:
11207         (SelectorImpl): Initialize key sets.
11208         (select): Call select with -1 instead of Long.MAX_VALUE).
11209         (java_do_select): Make it a native method.
11210         (getFDsAsArray): New helper method.
11211         (select): Remove canceled keys, give only interested file discriptors
11212         to java_do_select, set ready ops.
11213         (add): No need to initialize keys set here.
11214         (add_selected): No need to initialize selected set here.
11215         (deregisterCanceledKeys): New helper method.
11216         (register): Set interest ops, set attachments, added handling of datagram
11217         channels.
11218         * gnu/java/nio/ServerSocketChannelImpl:
11219         (SocketAccept): Renamed from NioSocketAccept.
11220         (implConfigureBlocking): Implemented.
11221         (accept): Use SocketAccept instead of NioSocketAccept.
11222         * gnu/java/nio/SocketChannelImpl:
11223         Reactivate native methods.
11224
11225 2002-11-29  Michael Koch <konqueror@gmx.de>
11226
11227         * gnu/java/nio/natByteBufferImpl.cc,
11228         gnu/java/nio/natCharBufferImpl.cc,
11229         gnu/java/nio/natDoubleBufferImpl.cc,
11230         gnu/java/nio/natFloatBufferImpl.cc,
11231         gnu/java/nio/natIntBufferImpl.cc,
11232         gnu/java/nio/natLongBufferImpl.cc,
11233         gnu/java/nio/natSelectorImpl.cc,
11234         gnu/java/nio/natServerSocketChannelImpl.cc,
11235         gnu/java/nio/natShortBufferImpl.cc,
11236         gnu/java/nio/natSocketChannelImpl.cc:
11237         New files that implement native functionalities.
11238
11239 2002-11-29  Michael Koch <konqueror@gmx.de>
11240
11241         * gnu/java/nio/ByteBufferImpl.java
11242         (ByteBufferImpl): Moved position() after limit.
11243         (nio_*): Use native implementation.
11244         * gnu/java/nio/CharBufferImpl.java:
11245         Reformated.
11246         (endian): New member variable string endianess of buffer.
11247         (CharBufferImpl): Moved position() after limit.
11248         (nio_*): Use native implementation.
11249         (subSequence): Implemented.
11250         * gnu/java/nio/DoubleBufferImpl.java
11251         (DoubleBufferImpl): Moved position() after limit.
11252         (nio_*): Use native implementation.
11253         * gnu/java/nio/FloatBufferImpl.java
11254         Reformated.
11255         (FloatBufferImpl): Moved position() after limit.
11256         (nio_*): Use native implementation.
11257         * gnu/java/nio/IntBufferImpl.java
11258         Added needed imports, Reformated.
11259         (IntBufferImpl): Moved position() after limit.
11260         (nio_*): Use native implementation.
11261         * gnu/java/nio/LongBufferImpl.java
11262         Reformated.
11263         (LongBufferImpl): Moved position() after limit.
11264         (nio_*): Use native implementation.
11265         * gnu/java/nio/ShortBufferImpl.java
11266         Reformated.
11267         (ShortBufferImpl): Moved position() after limit.
11268         (nio_*): Use native implementation.
11269
11270 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11271
11272         * java/util/Locale.java (toString): Improve efficiency if country
11273         and variant are both empty.
11274
11275 2002-11-26  Tom Tromey  <tromey@redhat.com>
11276
11277         * verify.cc (pop_init_ref): New method.
11278         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11279         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11280         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11281         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11282         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11283         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11284         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11285         let `this' argument be uninitialized.  Don't let `null' be passed
11286         as `this' to construtor.
11287
11288 2002-11-26  Mark Wielaard  <mark@klomp.org>
11289
11290         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11291         * javax/transaction/HeuristicMixedException.java: Likewise.
11292         * javax/transaction/HeuristicRollbackException.java: Likewise.
11293         * javax/transaction/InvalidTransactionException.java: Likewise.
11294         * javax/transaction/NotSupportedException.java: Likewise.
11295         * javax/transaction/RollbackException.java: Likewise.
11296         * javax/transaction/Status.java: Likewise.
11297         * javax/transaction/Synchronization.java: Likewise.
11298         * javax/transaction/SystemException.java: Likewise.
11299         * javax/transaction/Transaction.java: Likewise.
11300         * javax/transaction/TransactionManager.java: Likewise.
11301         * javax/transaction/TransactionRequiredException.java: Likewise.
11302         * javax/transaction/TransactionRolledbackException.java: Likewise.
11303         * javax/transaction/UserTransaction.java: Likewise.
11304         * javax/transaction/xa/XAException.java: Likewise.
11305         * javax/transaction/xa/XAResource.java: Likewise.
11306         * javax/transaction/xa/Xid.java: Likewise.
11307
11308 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11309
11310         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11311         define.
11312         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11313         * include/posix.h (socklen_t): Define if not already defined.
11314
11315 2002-11-25  Tom Tromey  <tromey@redhat.com>
11316
11317         * verify.cc (type::compatible): Backed out broken change.
11318
11319         * verify.cc (type::compatible): Check initialization status
11320         first.
11321         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11322         Don't use NULLCHECK.
11323
11324 2002-11-23  H.J. Lu <hjl@gnu.org>
11325
11326         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11327         Include ../config/accross.m4.
11328         * aclocal.m4; Rebuild.
11329         * configure: Likewise.
11330
11331 2002-11-23  Mark Wielaard  <mark@klomp.org>
11332
11333         * javax/naming/AuthenticationException.java: Update copyright header.
11334         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11335         * javax/naming/Binding.java: Likewise.
11336         * javax/naming/CannotProceedException.java: Likewise.
11337         * javax/naming/CommunicationException.java: Likewise.
11338         * javax/naming/CompositeName.java: Likewise.
11339         * javax/naming/CompoundName.java: Likewise.
11340         * javax/naming/ConfigurationException.java: Likewise.
11341         * javax/naming/Context.java: Likewise.
11342         * javax/naming/ContextNotEmptyException.java: Likewise.
11343         * javax/naming/InitialContext.java: Likewise.
11344         * javax/naming/InsufficientResourcesException.java: Likewise.
11345         * javax/naming/InterruptedNamingException.java: Likewise.
11346         * javax/naming/LimitExceededException.java: Likewise.
11347         * javax/naming/LinkException.java: Likewise.
11348         * javax/naming/LinkLoopException.java: Likewise.
11349         * javax/naming/LinkRef.java: Likewise.
11350         * javax/naming/MalformedLinkException.java: Likewise.
11351         * javax/naming/NameAlreadyBoundException.java: Likewise.
11352         * javax/naming/NameClassPair.java: Likewise.
11353         * javax/naming/NameNotFoundException.java: Likewise.
11354         * javax/naming/NameParser.java: Likewise.
11355         * javax/naming/NamingEnumeration.java: Likewise.
11356         * javax/naming/NamingSecurityException.java: Likewise.
11357         * javax/naming/NoInitialContextException.java: Likewise.
11358         * javax/naming/NoPermissionException.java: Likewise.
11359         * javax/naming/NotContextException.java: Likewise.
11360         * javax/naming/OperationNotSupportedException.java: Likewise.
11361         * javax/naming/PartialResultException.java: Likewise.
11362         * javax/naming/Reference.java: Likewise.
11363         * javax/naming/Referenceable.java: Likewise.
11364         * javax/naming/ReferralException.java: Likewise.
11365         * javax/naming/ServiceUnavailableException.java: Likewise.
11366         * javax/naming/SizeLimitExceededException.java: Likewise.
11367         * javax/naming/TimeLimitExceededException.java: Likewise.
11368         * javax/naming/directory/Attribute.java: Likewise.
11369         * javax/naming/directory/AttributeInUseException.java: Likewise.
11370         * javax/naming/directory/AttributeModificationException.java: Likewise.
11371         * javax/naming/directory/Attributes.java: Likewise.
11372         * javax/naming/directory/BasicAttribute.java: Likewise.
11373         * javax/naming/directory/BasicAttributes.java: Likewise.
11374         * javax/naming/directory/DirContext.java: Likewise.
11375         * javax/naming/directory/InitialDirContext.java: Likewise.
11376         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11377         Likewise.
11378         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11379         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11380         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11381         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11382         * javax/naming/directory/ModificationItem.java: Likewise.
11383         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11384         * javax/naming/directory/SchemaViolationException.java: Likewise.
11385         * javax/naming/directory/SearchControls.java: Likewise.
11386         * javax/naming/directory/SearchResult.java: Likewise.
11387         * javax/naming/event/EventContext.java: Likewise.
11388         * javax/naming/event/EventDirContext.java: Likewise.
11389         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11390         * javax/naming/event/NamingEvent.java: Likewise.
11391         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11392         * javax/naming/event/NamingListener.java: Likewise.
11393         * javax/naming/event/ObjectChangeListener.java: Likewise.
11394         * javax/naming/ldap/Control.java: Likewise.
11395         * javax/naming/ldap/ControlFactory.java: Likewise.
11396         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11397         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11398         * javax/naming/ldap/HasControls.java: Likewise.
11399         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11400         * javax/naming/ldap/LdapContext.java: Likewise.
11401         * javax/naming/ldap/LdapReferralException.java: Likewise.
11402         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11403         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11404         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11405         * javax/naming/spi/DirObjectFactory.java: Likewise.
11406         * javax/naming/spi/DirStateFactory.java: Likewise.
11407         * javax/naming/spi/DirectoryManager.java: Likewise.
11408         * javax/naming/spi/InitialContextFactory.java: Likewise.
11409         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11410         * javax/naming/spi/NamingManager.java: Likewise.
11411         * javax/naming/spi/ObjectFactory.java: Likewise.
11412         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11413         * javax/naming/spi/ResolveResult.java: Likewise.
11414         * javax/naming/spi/Resolver.java: Likewise.
11415         * javax/naming/spi/StateFactory.java: Likewise.
11416
11417         * javax/naming/spi/NamingManager.java (ofb): Package private.
11418
11419 2002-11-21  Mark Wielaard  <mark@klomp.org>
11420
11421         * java/net/URL.java: Merge with Classpath (partly).
11422         * java/net/URLStreamHandler: Merge with Classpath.
11423
11424 2002-11-22  Michael Koch <konqueror@gmx.de>
11425
11426         * include/posix.h:
11427         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11428         * include/win32.h:
11429         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11430         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11431
11432 2002-11-21  Michael Koch <konqueror@gmx.de>
11433
11434         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11435         Only the new network functions should be in it.
11436
11437 2002-11-21  Michael Koch <konqueror@gmx.de>
11438
11439         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11440         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11441
11442 2002-11-21  Michael Koch <konqueror@gmx.de>
11443
11444         * java/nio/channels/AsynchronousCloseException.java,
11445         java/nio/channels/CancelledKeyException.java,
11446         java/nio/channels/ClosedByInterruptException.java,
11447         java/nio/channels/ConnectionPendingException.java,
11448         java/nio/channels/FileLockInterruptionException.java,
11449         java/nio/channels/IllegalSelectorException.java,
11450         java/nio/channels/NoConnectionPendingException.java,
11451         java/nio/channels/NonReadableChannelException.java,
11452         java/nio/channels/NonWritableChannelException.java,
11453         java/nio/channels/NotYetBoundException.java,
11454         java/nio/channels/NotYetConnectedException.java,
11455         java/nio/channels/OverlappingFileLockException.java,
11456         java/nio/channels/UnresolvedAddressException.java,
11457         java/nio/channels/UnsupportedAddressTypeException.java:
11458         New files.
11459         * Makefile.am (ordinary_java_source_files): Added new files.
11460         * Makefile.in: Regenerated.
11461
11462 2002-11-21  Michael Koch <konqueror@gmx.de>
11463
11464         * include/posix.h
11465         (_Jv_socket): New method.
11466         (_Jv_connect): New method.
11467         (_Jv_close): New method.
11468         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11469         (_Jv_bind): New method.
11470         (_Jv_listen): New method.
11471         (_Jv_write): New method.
11472         (_Jv_read): New method.
11473         * include/win32.h
11474         (_Jv_socket): New method.
11475         (_Jv_connect): New method.
11476         (_Jv_close): New method.
11477         (_Jv_bind): New method.
11478         (_Jv_listen): New method.
11479         (_Jv_write): New method.
11480         (_Jv_read): New method.
11481         * java/net/natNetworkInterface.cc:
11482         Include platform.h, removed inclusion of socket.h
11483         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11484         ::close() by _Jv_close().
11485         * java/net/natPlainDatagramSocketImpl.cc:
11486         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11487         added some new lines to make code more readable.
11488         (create): Replaced ::socket() by _Jv_socket().
11489         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11490         * java/net/natPlainSocketImpl.cc:
11491         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11492         removed include of socket.h, removed some windows defines
11493         (now in include/win32.h).
11494         (create): Replaced ::socket() by _Jv_socket().
11495         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11496         (write): Replaced ::read by _Jv_write().
11497         (read): Replaced ::read by _Jv_read().
11498
11499 2002-11-20  Michael Koch <konqueror@gmx.de>
11500
11501         * Makefile.am (ordinary_java_source_files):
11502         Added java/nio/channels/FileChannel.java.
11503         * Makefile.in: Regenerated.
11504
11505 2002-11-20  Michael Koch <konqueror@gmx.de>
11506
11507         * java/io/FileInputStream.java
11508         (getChannel): New method.
11509         * java/io/FileOutputStream.java
11510         (getChannel): New method.
11511         * java/net/ServerSocket.java
11512         (bind): Removed duplicate code and called another bind method instead.
11513         * java/nio/channels/SelectionKey.java
11514         (isValid): Removed wrong exception documentation.
11515         * java/nio/channels/ServerSocketChannel.java
11516         (accept): Added exception documentation.
11517         (open): Fixed typo, added exception documentation.
11518         * java/nio/channels/spi/AbstractSelectableChannel.java
11519         (implCloseChannel): Added exception documentation.
11520         (add): Reformated.
11521         (register): Added exception documentation.
11522
11523 2002-11-20  Andreas Jaeger  <aj@suse.de>
11524
11525         * configure: Regenerated with new libtool.m4.
11526
11527 2002-11-19  Tom Tromey  <tromey@redhat.com>
11528
11529         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11530         `referent'.
11531         (finalize_referred_to_object): Don't modify `referent' or `copy'
11532         fields.
11533         (add_to_hash): Correctly set `n->next' when updating list.
11534         * java/lang/ref/Reference.java (enqueue): Return false if already
11535         enqueued.
11536
11537 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11538
11539         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11540         to function and function pointer declarations in accordance with
11541         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11542         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11543         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11544         JNI function definitions.
11545
11546 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11547
11548         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11549         that was causing CoderResults to be cached, not WeakReferences
11550         to CoderResults.
11551
11552 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11553
11554         * java/security/KeyStore.java (getInstance): Fix
11555         comment and throw IllegalArgumentException if
11556         given provider is null.
11557         (getInstance): New method for jdk1.4 compatibility.
11558
11559 2002-11-18  Michael Koch <konqueror@gmx.de>
11560
11561         * java/net/PlainSocketImpl.java: Fix imports.
11562
11563 2002-11-18  Michael Koch <konqueror@gmx.de>
11564
11565         * java/nio/channels/SelectionKey.java
11566         (isValid): Added exception documentation.
11567         * java/nio/channels/Selector.java
11568         (open): Declare "throws IOException".
11569
11570 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11571
11572         * java/nio/charset/Charset.java
11573         (<clinit>): New method.
11574         (encode): Synchronize use of cached encoder object.
11575         (decode): Synchronize use of cached encoder object.
11576
11577 2002-11-18  Michael Koch <konqueror@gmx.de>
11578
11579         * gnu/java/nio/ByteBufferImpl.java,
11580         gnu/java/nio/CharBufferImpl.java,
11581         gnu/java/nio/DatagramChannelImpl.java,
11582         gnu/java/nio/DoubleBufferImpl.java,
11583         gnu/java/nio/FileChannelImpl.java,
11584         gnu/java/nio/FloatBufferImpl.java,
11585         gnu/java/nio/IntBufferImpl.java,
11586         gnu/java/nio/LongBufferImpl.java,
11587         gnu/java/nio/PipeImpl.java,
11588         gnu/java/nio/SelectionKeyImpl.java,
11589         gnu/java/nio/SelectorImpl.java,
11590         gnu/java/nio/SelectorProviderImpl.java,
11591         gnu/java/nio/ServerSocketChannelImpl.java,
11592         gnu/java/nio/ShortBufferImpl.java,
11593         gnu/java/nio/SocketChannelImpl.java,
11594         java/nio/DoubleBuffer.java,
11595         java/nio/FloatBuffer.java,
11596         java/nio/IntBuffer.java,
11597         java/nio/LongBuffer.java,
11598         java/nio/ShortBuffer.java,
11599         java/nio/channels/FileChannel.java: New files.
11600
11601 2002-11-18  Michael Koch <konqueror@gmx.de>
11602
11603         * Makefile.am (ordinary_java_source_files):
11604         Added java/nio/ReadOnlyBufferException.java and
11605         java/nio/channels/ClosedSelectorException.java.
11606         * Makefile.in: Regenerated.
11607
11608 2002-11-18  Michael Koch <konqueror@gmx.de>
11609
11610         * java/net/PlainSocketImpl.java: Reworked imports.
11611         * java/net/ServerSocket.java
11612         (ServerSocket): Create socket.
11613         * java/net/SocketAddress.java: Documentation added.
11614         * java/net/natPlainSocketImpl.cc: Reindented.
11615         * java/nio/ReadOnlyBufferException.java: New file
11616         * java/nio/channels/ClosedChannelException.java: Documentation added.
11617         * java/nio/channels/ClosedSelectorException.java: New file.
11618
11619 2002-11-17  Mark Wielaard  <mark@klomp.org>
11620
11621         * java/net/HttpURLConnection.java ((getPermission): Take port
11622         into consideration.
11623         (getErrorStream): Implement.
11624
11625 2002-11-17  Mark Wielaard  <mark@klomp.org>
11626
11627         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11628
11629 2002-11-16  Mark Wielaard  <mark@klomp.org>
11630
11631         Integrate work by Raif S. Naffah (raif@fl.net.au)
11632         * java/security/DummyKeyPairGenerator.java (clone): New method.
11633         * java/security/DummyMessageDigest.java (clone): New method.
11634         (engineUpdate): Now public.
11635         (engineReset): Likewise.
11636         (engineDigest): Likewise.
11637         (engineGetDigestLength): New method.
11638         * java/security/DummySignature.java (clone): New method.
11639         * java/security/KeyPairGenerator.java (provider): Now package private.
11640         (getInstance(String)): Use getInstance(String,Provider).
11641         (getInstance(String,String): Use getInstance(String,Provider)
11642         (getInstance(String,Provider): New method.
11643         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11644         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11645         * java/security/MessageDigest.java (provider): Now package private.
11646         (getInstance(String): Use getInstance(String,Provider).
11647         (getInstance(String,String): Use getInstance(String,Provider)
11648         (getInstance(String,Provider): New method.
11649         * java/security/Provider.java (toCanonicalKey): New method.
11650         (get): New method that uses toCanonicalKey().
11651         (put): Use toCanonicalKey().
11652         (remove): Likewise.
11653         * java/security/Security.java (insertProviderAt): Provider index is one
11654         based, not zero based.
11655         (addProvider): Likewise.
11656         (removeProvider): Likewise.
11657         * java/security/Signature.java (provider): Now package private.
11658         (getInstance(String)): Use getInstance(String,Provider).
11659         (getInstance(String,String): Use getInstance(String,Provider)
11660         (getInstance(String,Provider): New method.
11661         (getInstance(String,String,Provider): Don't cast DummySignature.
11662
11663 2002-11-15  Tom Tromey  <tromey@redhat.com>
11664
11665         For PR libgcj/8593:
11666         * java/util/zip/GZIPInputStream.java (read): Check file size.
11667         Look in inflater for remaining input bytes.
11668         (read4): Added buf and offset arguments.
11669
11670 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11671
11672         * java/applet/AppletContext.java: Fix typo and remove redundant
11673         modifiers.
11674
11675 2002-11-14  Tom Tromey  <tromey@redhat.com>
11676
11677         * java/lang/natRuntime.cc (insertSystemProperties): Set
11678         gnu.classpath.home.
11679
11680 2002-11-13  Michael Koch <konqueror@gmx.de>
11681
11682         * java/nio/ByteBuffer.java
11683         (allocate): New method.
11684         (wrap): New method.
11685         (put): New method.
11686         (get): New method.
11687
11688 2002-11-13  Michael Koch <konqueror@gmx.de>
11689
11690         * java/nio/channels/AlreadyConnectedException.java:
11691         Removed unneeded import.
11692         (AlreadyConnectedException): Documentation added.
11693         * java/nio/channels/Pipe.java
11694         (SinkChannel.SinkChannel): Documentation added.
11695         (SinkChannel.validOps): New method.
11696         (SourceChannel.SourceChannel): Documentation added.
11697         (SourceChannel.validOps): New method.
11698         (Pipe): Documentation added.
11699         (open): Documentation added.
11700         (SinkChannel.channel): Documentation added.
11701         (SourceChannel.channel): Documentation added.
11702         * java/nio/channel/SelectableChannel.java
11703         (SelectableChannel): Documentation added.
11704         (blockingLock): Documentation added.
11705         (configureBlocking):Documentation added.
11706         (isBlocking):Documentation added.
11707         (isRegistered):Documentation added.
11708         (keyFor):Documentation added.
11709         (provider):Documentation added.
11710         (register): Documentation added.
11711         (validOps): Documentation added.
11712         * jaba/nio/channels/SelectionKey.java
11713         (SelectionKey): Documentation added.
11714         (attach): Documentation added.
11715         (attachment): Documentation added.
11716         (isAcceptable): Documentation added.
11717         (isConnetable): Documentation added.
11718         (isReadable): Documentation added.
11719         (isWritable): Documentation added.
11720         (cancel): Documentation added.
11721         (channel): Documentation added.
11722         (interestOps): Documentation added.
11723         (isValid): Documentation added.
11724         (readyOps): Documentation added.
11725         (selector): Documentation added.
11726         * jaba/nio/channels/Selector.java
11727         (Selector): Documentation added.
11728         (open): Documentation added.
11729         (close): Documentation added.
11730         (isOpen): Documentation added.
11731         (keys): Documentation added.
11732         (provider): Documentation added.
11733         (select): Documentation added.
11734         (selectedKeys): Documentation added.
11735         (selectNow): Documentation added.
11736         (wakeup): Documentation added.
11737         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11738         (AbstractInterruptibleChannel): Documentation added.
11739         (opened): Default to true;
11740         (begin): Documentation added.
11741         (close): Set opened to false, documentation added.
11742         (isOpen): Documentation added.
11743         * java/nio/channels/spi/AbstractSelectionKey.java
11744         (AbstractSelectionKey): Documentation added.
11745         (cancel): Documentation added.
11746         (isValid): Documentation added.
11747         * java/nio/channels/spi/AbstractSelector.java
11748         (AbstractSelector): Documentation added.
11749         (begin): Documentation added.
11750         (close): Documentation added.
11751         (isOpen): Documentation added.
11752         (deregister): Documentation added.
11753         (end): Documentation added.
11754         (provider): Documentation added.
11755         (implCloseSelector): Documentation added.
11756         (register): Documentation added.
11757         * java/nio/channels/spi/SelectorProvider.java
11758         (SelectorProvider): Documentation added.
11759         (openDatagramChannel): Documentation added.
11760         (openPipe): Documentation added.
11761         (openSelector): Documentation added.
11762         (openServerSocketChannel): Documentation added.
11763         (openSocketChannel): Documentation added.
11764         (provider): Documentation added.
11765
11766 2002-11-12  Michael Koch <konqueror@gmx.de>
11767
11768         * java/nio/Buffer.java: Implemented.
11769         * java/nio/CharBuffer.java: New file.
11770         * java/nio/InvalidMarkException.java: New file.
11771         * java/nio/channels/DatagramChannel.java: Implemented.
11772         * java/nio/channels/ServerSocketChannel.java: Implemented.
11773         * java/nio/channels/SocketChannel.java: Implemented.
11774         * java/nio/channels/spi/AbstractChannel.java: Removed.
11775         * java/nio/channels/spi/AbstractSelectableChannel.java:
11776         Implemented.
11777         * java/nio/charset/Charset.java:
11778         Merge from Classpath.
11779         * java/nio/charset/CharsetDecoder.java: New file.
11780         * java/nio/charset/CharsetEncoder.java: New file.
11781         * java/nio/charset/CoderResult.java: New file.
11782         * Makefile.am (ordinary_java_source_files): Added new files.
11783         * Makefile.in: Regenerated.
11784
11785 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11786
11787         * gnu/java/nio/charset/ISO_8859_1.java,
11788         gnu/java/nio/charset/Provider.java,
11789         gnu/java/nio/charset/US_ASCII.java,
11790         gnu/java/nio/charset/UTF_16.java,
11791         gnu/java/nio/charset/UTF_16BE.java,
11792         gnu/java/nio/charset/UTF_16Decoder.java,
11793         gnu/java/nio/charset/UTF_16Encoder.java,
11794         gnu/java/nio/charset/UTF_16LE.java,
11795         gnu/java/nio/charset/UTF_8.java: New files.
11796
11797 2002-11-11  Michael Koch <konqueror@gmx.de>
11798
11799         * java/nio/charset/CharacterCodingException.java:
11800         This class must be public.
11801         * java/nio/charset/CoderMalfunctionError.java:
11802         This class must be public.
11803         * java/nio/charset/CodingErrorAction.java:
11804         This class must be public.
11805         * java/nio/charset/IllegalCharsetNameException.java:
11806         This class must be public, better implementation.
11807         * java/nio/charset/MalformedInputException.java:
11808         This class must be public, better implementation.
11809         * java/nio/charset/UnmappableCharacterException.java:
11810         This class must be public, better implementation.
11811         * java/nio/charset/UnsupportedCharsetException.java:
11812         This class must be public, better implementation.
11813
11814 2002-11-11  Michael Koch <konqueror@gmx.de>
11815
11816         * java/nio/BufferOverflowException.java,
11817         java/nio/BufferUnderflowException.java: New file.
11818         * Makefile.am (ordinary_java_source_files):
11819         Added new files.
11820         * Makefile.in: Regenerated.
11821
11822 2002-11-10  Tom Tromey  <tromey@redhat.com>
11823
11824         * java/awt/Container.java (validate): Use tree lock.
11825         (getComponent): Likewise.
11826         (getComponents): Likewise.
11827         (addImpl): Likewise.
11828         (remove): Likewise.
11829         (removeAll): Likewise.
11830         (processEvent): Fixed indentation.
11831         (getComponentAt): Use tree lock.
11832         (findComponentAt): Likewise.
11833         (removeNotify): Likewise.
11834         (isAncestorOf): Likewise.
11835         (list): Likewise.
11836         (visitChildren): Likewise.
11837         (findNextFocusComponent): Likewise.
11838         (addNotifyContainerChildren): Likewise.
11839         (getAccessibleChildrenCount): Likewise.
11840         (getAccessibleChild): Likewise.
11841
11842         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11843         (getSize): Likewise.
11844         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11845         (getSize): Likewise.
11846         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11847         (calcSize): Likewise.
11848         * java/awt/CardLayout.java (getSize): Use tree lock.
11849         (gotoComponent): Likewise.
11850         (layoutContainer): Likewise.
11851
11852         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11853         count is 0.
11854         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11855         count is 0.
11856
11857         * java/io/Externalizable.java, java/io/FilePermission.java,
11858         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11859         java/io/SerializablePermission.java, java/text/Format.java,
11860         java/util/AbstractMap.java, java/util/HashMap.java,
11861         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11862         versions from Classpath.
11863
11864 2002-11-10  Anthony Green  <green@redhat.com>
11865
11866         * java/util/jar/Attributes.java (Name): Fix name check.
11867
11868 2002-11-10  Mark Wielaard  <mark@klomp.org>
11869
11870         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11871         with getName() as message.
11872         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11873         type as message.
11874
11875         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11876         unused.
11877
11878 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11879
11880         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11881         for Win32. JNICALL has been defined to __stdcall to be compatible
11882         with Sun's JDKs.
11883
11884 2002-11-10  Tom Tromey  <tromey@redhat.com>
11885
11886         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11887         (setRows): Check newRows, not rows.
11888
11889         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11890
11891 2002-11-09  Tom Tromey  <tromey@redhat.com>
11892
11893         * java/applet/Applet.java, java/applet/AppletContext.java,
11894         java/applet/AppletStub.java, java/applet/AudioClip.java,
11895         java/awt/CardLayout.java,
11896         java/awt/ContainerOrderFocusTraversalPolicy.java,
11897         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11898         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11899         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11900         java/awt/color/ICC_ColorSpace.java,
11901         java/awt/color/ICC_Profile.java,
11902         java/awt/color/ICC_ProfileGray.java,
11903         java/awt/color/ICC_ProfileRGB.java,
11904         java/awt/datatransfer/DataFlavor.java,
11905         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11906         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11907         New versions from Classpath.
11908         * Makefile.in: Rebuilt.
11909         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11910         ICC_ProfileRGB.
11911
11912         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11913         display policy.
11914
11915         * java/awt/List.java (processEvent): Added missing `else's.
11916
11917         * java/awt/Window.java (show): validate() before showing.  Make
11918         parent displayable.
11919         (isDisplayable): New method.
11920
11921 2002-11-07  Mark Wielaard  <mark@klomp.org>
11922
11923         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11924         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11925
11926         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11927         annotation.
11928         (loadClass): Take String as codebases.
11929         (getClassAnnotation): Use MyClassLoader annotations.
11930         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11931         call exportObject(this).
11932
11933         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11934         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11935         (setAnnotation): Don't set locBytesStream and locStream.
11936         (replaceObject): Removed.
11937         (flush): Don't test locStream.
11938         (getLocBytes): LikeWise.
11939         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11940         (leaseCache): New field.
11941         (dirty): Use leaseCache.
11942         (LeaseRecord): New inner class.
11943         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11944         explicitly call exportObject().
11945         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11946         false to communicate with Sun JDK130.
11947         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11948         * gnu/java/rmi/server/RMIObjectInputStream.java
11949         (UnicastConnectionManager): Removed field.
11950         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11951         Use UnicastServer.getExportedRef().
11952         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11953         (expireTime): Likewise.
11954         (CONNECTION_TIMEOUT): Likewise.
11955         (disconnect): Call sock.close().
11956         (isExpired): New method.
11957         (resetTime): Likewise.
11958         (run): Use do while loop and catch Exception for discardConnection().
11959         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11960         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11961         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11962         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11963         (exportObject): Use refcache.
11964         (unexportObject): Likewise.
11965         (getExportedRef): New method.
11966         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11967         constructor.
11968         (exportObject): Save manager.serverobj.
11969         (getStub): New method.
11970
11971 2002-11-07  Mark Wielaard  <mark@klomp.org>
11972
11973         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11974         (getByte): Likewise.
11975         (getShort): Likewise.
11976         (getInt): Likewise.
11977         (getLong): Likewise.
11978         (getFloat): Likewise.
11979         (getDouble): Likewise.
11980         (get): Likewise.
11981         (setChar): Likewise.
11982         (setByte): Likewise.
11983         (setShort): Likewise.
11984         (setInt): Likewise.
11985         (setLong): Likewise.
11986         (setFloat): Likewise.
11987         (setDouble): Likewise.
11988
11989 2002-11-07  Michael Koch <konqueror@gmx.de>
11990
11991         * java/awt/Choice.java,
11992         java/awt/Container.java,
11993         java/awt/GridBagLayout.java:
11994         Fixed documentation.
11995         * java/awt/peer/ContainerPeer.java:
11996         Reindented.
11997
11998 2002-11-07  Michael Koch <konqueror@gmx.de>
11999
12000         * java/awt/color/ICC_Profile.java:
12001         Added missing constants.
12002         * java/awt/color/ICC_ColorSpace.java
12003         (getMinValue): Added dummy implementation.
12004         (getMaxValue): Added dummy implementation.
12005         * java/awt/datatransfer/DataFlavor.java
12006         (imageFlavor): Added.
12007         (isMimeTypeEqual): Must be final.
12008         (getDefaultRepresentationClass): Must be non-static.
12009         (getDefaultRepresentationClassAsString): Must be non-static.
12010         * java/awt/dnd/DragSourceContext.java
12011         (dragExit): Corrected argument.
12012         (dragDropEnd): Corrected argument.
12013         * java/awt/dnd/DragSourceListener.java.java
12014         (dragExit): Corrected argument.
12015         (dragDropEnd): Corrected argument.
12016         * java/awt/font/TextHitInfo.java
12017         (toString): Added stubbed implementation.
12018         * java/awt/geom/PathIterator.java:
12019         The constants must be static.
12020         * java/awt/image/VolatileImage.java
12021         (IMAGE_INCOMPATIBLE): Fixed typo.
12022         * java/awt/image/renderable/RenderableImage.java
12023         (HINTS_OBSERVED): Must be static.
12024         * java/beans/BeanInfo.java:
12025         Constants must be final.
12026
12027 2002-11-06  Tom Tromey  <tromey@redhat.com>
12028
12029         From svens@it.uu.se.  For PR libgcj/8481.
12030         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12031
12032 2002-11-06  Tom Tromey  <tromey@redhat.com>
12033
12034         * jni.cc (array_from_valist): Assume that jlong won't be
12035         promoted.
12036
12037 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12038
12039         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12040         Return 20.
12041         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12042         Return 16.
12043
12044 2002-11-03  Tom Tromey  <tromey@redhat.com>
12045
12046         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12047         VMClassLoader, not findClass.
12048
12049 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12050
12051         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12052         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12053         _Jv_DetermineVTableIndex, to determine vtable offset.
12054         (_Jv_DetermineVTableIndex): Remove.
12055         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12056
12057         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12058
12059 2002-11-03  Tom Tromey  <tromey@redhat.com>
12060
12061         * java/nio/channels/AlreadyConnectedException.java: Extend
12062         IllegalStateException, per spec.
12063
12064 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12065
12066         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12067
12068 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12069
12070         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12071         size items.
12072
12073 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12074
12075         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12076         initial estimated size to avoid enlarge buffer frequently.
12077
12078 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12079
12080         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12081         ClassLoader when null.
12082         (ProxyType.hashCode): Loader null check no longer needed.
12083         (ProxyType.sameTypes): New method.
12084         (ProxyType.equals): Use new method.
12085
12086 2002-10-31  Mark Wielaard  <mark@klomp.org>
12087
12088         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12089         length of String.
12090         * java/net/URLEncoder.java (encode): Likewise.
12091
12092 2002-10-31  Mark Wielaard  <mark@klomp.org>
12093
12094         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12095         when stream is closed.
12096         (closeEntry): Likewise.
12097         (read): Likewise.
12098         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12099         ZipException when no entry active.
12100         (closeEntry): Likewise.
12101         (write): Likewise.
12102
12103 2002-11-02  Tom Tromey  <tromey@redhat.com>
12104
12105         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12106         * java/lang/natClass.cc (initializeClass): Don't return just
12107         because self==thread.
12108
12109         For PR java/8415:
12110         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12111         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12112
12113 2002-11-02  Andreas Schwab  <schwab@suse.de>
12114
12115         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12116         pass GCJFLAGS.
12117         (FLAGS_TO_PASS): Define.
12118         * Makefile.in: Regenerated.
12119
12120 2002-11-01  Michael Koch  <konqueror@gmx.de>
12121
12122         * java/nio/ByteOrder.java: New file.
12123         * java/nio/channels/DatagramChannel.java:
12124         (DatagramChannel): New constructor.
12125         * java/nio/channels/Pipe.java: New file.
12126         * java/nio/channels/SelectableChannel.java: New file.
12127         * java/nio/channels/SelectionKey.java: New file.
12128         * java/nio/channels/Selector.java: New file.
12129         * java/nio/channels/ServerSocketChannel.java
12130         (ServerSocketChannel): New constructor.
12131         * java/nio/channels/SocketChannel.java
12132         (SocketChannel): New constructor.
12133         * java/nio/channels/Pipe.java: New file.
12134         * java/nio/channels/spi/AbstractChannel.java: New file.
12135         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12136         * java/nio/channels/spi/AbstractSelectableChannel.java:
12137         License added
12138         (AbstractSelectableChannel): New stubbed method.
12139         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12140         * java/nio/channels/spi/AbstractSelector.java: New file.
12141         * java/nio/channels/spi/SelectorProvider.java: New file.
12142         * java/nio/charset/Charset.java: New file.
12143         * java/nio/charset/CoderMalfunctionError.java: New file.
12144         * java/nio/charset/CodingErrorAction.java: New file.
12145         * java/nio/charset/spi/CharsetProvider.java
12146         (charsetForName): Uncommented.
12147         * Makefile.am (java_native_source_files): Added new files.
12148         * Makefile.in: Regenerated.
12149
12150 2002-11-01  Michael Koch  <konqueror@gmx.de>
12151
12152         * java/net/InetAddress.java:
12153         (isAnyLocalAddress): Implemented.
12154         (isLoopbackAddress): Implemented, comment added.
12155         (isLinkLocalAddress): Implemented, documentation added.
12156         (isSiteLocalAddress): Implemented, documentation added.
12157         (isMCGlobal): Implemented, documentation added.
12158         (isMCNodeLocal): Implemented, documentation added.
12159         (isMCLinkLocal): Implemented, documentation added.
12160         (isMCSiteLocal): Implemented, documentation added.
12161         (isMCOrgLocal): Implemented, documentation added.
12162         (getHostName): Documentation added.
12163         (getCanonicalHostName): Implemented, documentation added.
12164         (getAddress): Documentation added.
12165         (hashCode): Documentation added.
12166         (equals): Documentation added.
12167         (toString): Fixed implementation.
12168         (getByAddress): Use Inet4Address and Inet6Address.
12169         (lookup): New linewrap.
12170         (getByName): SecurityManager check added, support Inet4Address and
12171         Inet6address, comments added.
12172         (getAllByName): SecurityManager check added, comments added.
12173         * java/net/Inet6Address.java:
12174         (Inet6Address): Initialize parent class with addr instead of null.
12175         * java/net/URL.java
12176         (equals): Documentation added.
12177         (getFile): Documentation added.
12178         (hashCode): Documentation added.
12179         * java/net/natInetAddress.cc:
12180         (aton): Fix IPv6 support.
12181         * java/net/natPlainDatagramSocketImpl.cc:
12182         (peek): Throw PortUnreachableException when suitable.
12183         (peekData): Throw PortUnreachableException when suitable.
12184         (send): Throw PortUnreachableException when suitable.
12185         (receive): Throw PortUnreachableException when suitable.
12186
12187 2002-10-27  Mark Wielaard  <mark@klomp.org>
12188
12189         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12190         argument.
12191         (readLeShort): Likewise and use byte[].
12192         (readLeInt): Likewise.
12193         (readEntries): Use new versions of methods and use byte[] for reading
12194         a complete zip entry. Add ZipFile name to exceptions.
12195         (entries): Add ZipFile name to exceptions.
12196         (getEntry): Likewise.
12197         (checkLocalHeader): Use new versions of methods and add ZipFile name
12198         to exceptions.
12199
12200 2002-10-31  Mark Anderson  <mark@panonet.net>
12201
12202         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12203         added
12204
12205 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12206
12207         * configure.in: Disable hash sync when not using threads.
12208         * configure: Regenerated.
12209
12210 2002-10-24  Tom Tromey  <tromey@redhat.com>
12211
12212         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12213         (_Jv_FindSymbolInExecutable): Removed argument name.
12214         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12215         java.library.path is set.
12216
12217         * gij.cc (help): Document --showversion.
12218         (version): Don't exit.
12219         (main): Handle --showversion.  Exit if --version given.
12220
12221 2002-10-23  Tom Tromey  <tromey@redhat.com>
12222
12223         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12224         (array_from_valist): Correctly handle promotion for jint, jlong,
12225         jfloat, and jdouble.
12226
12227 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12228
12229         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12230         GetFileAttributesEx( ) to find file length and modification times,
12231         as the latter is not present on Windows 95.
12232
12233 2002-10-21  Michael Koch  <konqueror@gmx.de>
12234
12235         * java/net/URL.java
12236         (URL): Activate SecurityManager checks.
12237         (equals): Use URLStreamHandler implementation instead of doing it
12238         alone. This allows special protocol stream handlers to change default
12239         behaviour.
12240         (hashCode): Use URLStreamHandler implementation instead of doing it
12241         alone. This allows special protocol stream handlers to change default
12242         behaviour.
12243         * java/net/URLStreamHandler.java
12244         (equals): Implemented default URL equality check.
12245         (hostsEqual): Implemented default URL equality check.
12246         (hashCode): Implemented default URL hashCode algorithm.
12247         * java/net/natPlainDatagramSocketImpl.cc:
12248         No lines longer then 80 characters.
12249
12250 2002-10-20  Adam Megacz <adam@xwt.org>
12251
12252         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12253         * configure.in: enabled hash sync on Win32
12254         * include/win32-threads.h (_Jv_ThreadId_t): added.
12255         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12256         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12257         removed some posix-isms, use Thread::sleep() instead of usleep,
12258         added code to clear bottom three bits if platform has a broken
12259         linker.
12260         * include/win32-threads.h (_Jv_ThreadId_t): added.
12261
12262 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12263
12264         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12265         runtime property "gnu.gcj.progname" containing the name used to
12266         invoke the current Java program (similar to argv[0] for C
12267         programs).
12268
12269 2002-10-15  Tom Tromey  <tromey@redhat.com>
12270
12271         Fix for PR libgcj/8234:
12272         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12273         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12274
12275 2002-10-13  Mark Wielaard  <mark@klomp.org>
12276
12277         * mauve-libgcj: Enable Mauve tests that compile now.
12278
12279 2002-10-11  Mark Wielaard  <mark@klomp.org>
12280
12281         Fix for PR libgcj/8142
12282         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12283         loading native modules.
12284
12285 2002-10-10  Michael Koch  <konqueror@gmx.de>
12286
12287         * javax/swing/AbstractListModel.java
12288         (getListDataListeners): New stubbed method.
12289         javax/swing/DefaultBoundedRangeModel.java
12290         (getChangeListeners): New stubbed method.
12291         javax/swing/DefaultSingleSelectionModel.java
12292         (getChangeListeners): New stubbed method.
12293
12294 2002-10-10  Michael Koch  <konqueror@gmx.de>
12295
12296         * gcj/.cvsignore: New file to ignore files generated during build.
12297         * include/.cvsignore: New file to ignore files generated during build.
12298
12299 2002-10-10  Michael Koch  <konqueror@gmx.de>
12300
12301         * java/net/HttpURLConnection.java
12302         (getPermission): New method.
12303         (getErrorStream): New stub method.
12304         (getHeaderFieldDate): New stub method.
12305         * java/net/Inet4Address.java:
12306         (isLinkLocalAddress): Typo fixed.
12307         * java/net/InetAddress.java:
12308         (readResolve): New stubbed method (for serialization).
12309         (isAnyLocalAddress): New stubbed method.
12310         (isLoopbackAddress): New stubbed method.
12311         (isLinkLocalAddress): New stubbed method.
12312         (isSiteLocalAddress): New stubbed method.
12313         (isMCGlobal): New stubbed method.
12314         (isMCNodeGlobal): New stubbed method.
12315         (isMCLinkLocal): New stubbed method.
12316         (isMCSiteLocal): New stubbed method.
12317         (isMCOrgLocal): New stubbed method.
12318         (getCanonicalHostName): New stubbed method.
12319         (getByAddress): Create instances of Inet4Address/Inet6Address,
12320         instead of InetAddress, documentation added.
12321         * java/net/MulticastSocket.java
12322         (getInterface): Removed FIXME.
12323         (getNetworkInterface): New method.
12324         (setNetworkInterface): New method.
12325         * java/net/NetworkInterface.java:
12326         (toString): Use property "line.separator" instead of "\n".
12327         * java/net/URLConnection.java
12328         (getContent): New stubbed method.
12329         * java/net/URLStreamHandler.java:
12330         (equals): New stubbed method.
12331         (hostsEqual): New stubbed method.
12332         (hashCode): New stubbed method.
12333         * java/net/natNetworkInterface.cc:
12334         (getRealNetworkInterfaces): Create Inet4Address object
12335         instead of InetAddress.
12336
12337 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12338
12339         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12340         unsigned long temporary to implement insn_iushr shifts.
12341
12342 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12343
12344         * configure.host [s390*-*]: Enable Java interpreter.
12345         Enable hash synchronization.  Add sysdeps dir.
12346         * sysdep/s390/locks.h: New file.
12347
12348 2002-10-06  Mark Wielaard  <mark@klomp.org>
12349
12350         * java/lang/Thread.java (setDaemon): Check startable_flag,
12351         not isAlive().
12352
12353 2002-10-07  Michael Koch  <konqueror@gmx.de>
12354
12355         * java/nio/Buffer.java: New stub file.
12356         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12357         of class Charset.
12358         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12359         * Makefile.in: Regenerated.
12360
12361 2002-10-07  Michael Koch  <konqueror@gmx.de>
12362
12363         * java/nio/ByteBuffer.java:
12364         removed import of not commited class.
12365
12366 2002-10-07  Michael Koch  <konqueror@gmx.de>
12367
12368         * java/nio/ByteBuffer.java,
12369         java/nio/MappedByteBuffer.java:
12370         New files, forgot to add these dummies.
12371         * Makefile.am (java_native_source_files): Added new files.
12372         * Makefile.in: Regenerated.
12373
12374 2002-10-07  Michael Koch  <konqueror@gmx.de>
12375
12376         * java/nio/channels/AlreadyConnectedException.java,
12377         java/nio/channels/ClosedChannelException.java,
12378         java/nio/channels/ReadableByteChannel.java,
12379         java/nio/channels/InterruptibleChannel.java,
12380         java/nio/channels/Channel.java,
12381         java/nio/channels/ByteChannel.java,
12382         java/nio/channels/GatheringByteChannel.java,
12383         java/nio/channels/ScatteringByteChannel.java,
12384         java/nio/channels/WritableByteChannel.java,
12385         java/nio/charset/CharacterCodingException.java,
12386         java/nio/charset/IllegalCharsetNameException.java,
12387         java/nio/charset/MalformedInputException.java,
12388         java/nio/charset/UnmappableCharacterException.java,
12389         java/nio/charset/UnsupportedCharsetException.java,
12390         java/nio/charset/spi/CharsetProvider.java: New file.
12391         These files are exceptions or interfaces,
12392         no real or abstract classes.
12393         * Makefile.am (java_native_source_files): Added new files.
12394         * Makefile.in: Regenerated.
12395
12396 2002-10-05  Michael Koch  <konqueror@gmx.de>
12397
12398         * java/net/InetAddress.java
12399         (getByAddress): Fixed documentation.
12400         (getByAddress): New method.
12401         * java/net/Inet4Address.java: New file.
12402         * java/net/URL.java
12403         (URL): Documentation added.
12404         (getContent): Documentation added.
12405         (getContent): New stubbed method.
12406         (getQuery): New method.
12407         (openConnection): Documentation added.
12408         (openStream): Documentation added.
12409         (setURLStreamHandlerFactory): Documentation added.
12410         * java/net/URI.java: New stub file.
12411         * Makefile.am
12412         (java_native_source_files): Added java/net/Inet4Address.java,
12413         java/net/Inet6Address.java and java/net/URI.java.
12414         * Makefile.in: Regenerated.
12415
12416 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12417
12418         * java/lang/ProtectionDomain.java (linesep): Remove field.
12419         (toString): Use System.getProperty("line.separator").
12420
12421 2002-10-04  Michael Koch  <konqueror@gmx.de>
12422
12423         * java/security/Identity.java: Added serialVersionUID.
12424         * java/security/KeyPair.java: Added serialVersionUID.
12425         * java/security/Provider.java: Added serialVersionUID.
12426         * java/security/SecureRandom.java: Added serialVersionUID.
12427         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12428         * java/security/SignedObject.java: Added serialVersionUID.
12429         * java/security/cert/Certificate.java: Added serialVersionUID.
12430
12431 2002-10-04  Mark Wielaard <mark@klomp.org>
12432
12433         * java/security/Security.java: Use java.home or gnu.classpath.home
12434         to load providers.
12435         (loadProviders): Extra dir argument.
12436         (getProvider): Return null when not found.
12437
12438 2002-10-04  Mark Wielaard  <mark@klomp.org>
12439
12440         * java/lang/Throwable.java: Remerge with Classpath.
12441
12442 2002-10-04  Michael Koch  <konqueror@gmx.de>
12443
12444         * java/net/InetAddress.java:
12445         (isMulticastAddress): Added documentation.
12446         (getHostAddress): Added documentation.
12447         (toString): Added documentation.
12448         (getByAddress): Fixed documentation.
12449         (getByName): Added documentation.
12450         (getAllByName): Added documentation.
12451         (getLocalHost): Added documentation.
12452
12453 2002-10-04  Michael Koch  <konqueror@gmx.de>
12454
12455         * java/beans/beancontext/BeanContextChildSupport.java:
12456         Added serialVersionUID.
12457         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12458         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12459         * javax/naming/Name.java: Added serialVersionUID.
12460
12461 2002-10-03  Adam Megacz <adam@xwt.org>
12462
12463         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12464         some functionality that isn't supported yet on WIN32.
12465
12466 2002-10-03  Tom Tromey  <tromey@redhat.com>
12467
12468         * Makefile.in: Rebuilt.
12469         * Makefile.am (awt_java_source_files): Added new files.
12470
12471 2002-10-03  Michael Koch  <konqueror@gmx.de>
12472
12473         * java/net/InetAddress.java
12474         (class InetAddress): Removed final keyword.
12475         (equals): Fixed typo.
12476         (getByAddress): New method.
12477
12478 2002-10-03  Michael Koch  <konqueror@gmx.de>
12479
12480         * java/awt/dnd/Autoscroll.java:
12481         New file, merge from Classpath.
12482         * java/awt/dnd/DragSourceAdapter.java:
12483         (dragExit): Fixed typos in argument type.
12484         (dragDropEnd): Fixed typos in argument type.
12485         * java/awt/dnd/DragSourceDropEvent.java:
12486         New file, merge from Classpath.
12487         * java/awt/dnd/DropTarget.java:
12488         Added stubs, merge from Classpath.
12489         * java/awt/dnd/DropTargetAdapter.java:
12490         New file, merge from Classpath.
12491         * java/awt/dnd/DropTargetContext.java:
12492         New file, merge from Classpath.
12493         * java/awt/dnd/DropTargetDragEvent.java:
12494         New file, merge from Classpath.
12495         * java/awt/dnd/DropTargetDropEvent.java:
12496         New file, merge from Classpath.
12497         * java/awt/dnd/DropTargetEvent.java:
12498         New file, merge from Classpath.
12499         * java/awt/dnd/DropTargetListener.java:
12500         New file, merge from Classpath.
12501         * java/awt/dnd/MouseDragGestureRecognizer.java:
12502         New file, merge from Classpath.
12503         * java/awt/dnd/peer/DropTargetContextPeer.java:
12504         New file, merge from Classpath.
12505
12506 2002-10-03  Michael Koch  <konqueror@gmx.de>
12507
12508         * java/net/DatagramPacket.java
12509         (setLength): Fixed typo and be HTML-aware.
12510         * java/net/InetSocketAddress.java
12511         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12512         (equals): Added comment about equality of InetSocketAddress objects.
12513         * java/net/ServerSocket.java
12514         (accept): Added checks.
12515         (isClosed): New stubbed method.
12516         * java/net/SocketOptions.java: Reindention.
12517         * java/net/SocketPermission
12518         (SocketPermission): Documentation fixed.
12519
12520 2002-10-03  Michael Koch  <konqueror@gmx.de>
12521
12522         * java/net/DatagramSocket.java
12523         (receive): Check with SecurityManager AFTER the packet is received,
12524         check if connected to multicast address, documentation added.
12525         (send): Only check SecurityManager if connected, check address of
12526         packet to send.
12527         (connect): Implemented, documentation added.
12528         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12529         * java/net/InetSocketAddress.java
12530         (whole file): Reindented.
12531         (hostname): New attribute.
12532         (InetSocketAddress): Initialize new attribute.
12533         (getAddress): Documentation added.
12534         (getHostName): Documentation added.
12535         (getPort): Documentation added.
12536         (hashCode): Documentation added.
12537         (isUnresolved): Documentation added.
12538         (toString): Conform to output of JDK 1.4.1, documentation added.
12539         * java/net/MulticastSocket.java
12540         (joinGroup): Removed FIXME, documentation added.
12541         (leaveGroup): Removed FIXME, documentation added.
12542         (send): Documentation added.
12543         * java/net/Socket.java
12544         (inputShutdown): New variable.
12545         (outputShutdown): New variable.
12546         (Socket): Initialize new variables.
12547         (getRemoteSocketAddress): Check if connected.
12548         (shutdownInput): Set new variable.
12549         (shutdownOutput): Set new variable.
12550         (isConnected): New method.
12551         (isClosed): New method.
12552         (isInputShutdown): New method.
12553         (isOutputShutdown): New method.
12554         * java/net/URLStreamHandler.java
12555         (URLStreamHandler): New method.
12556         (openConnection): Added documentation.
12557         (parseURL): Added documentation.
12558         (getHostAddress): New method.
12559         (getDefaultPort): New method.
12560
12561 2002-10-02  Tom Tromey  <tromey@redhat.com>
12562
12563         * java/rmi/activation/ActivationDesc.java,
12564         java/rmi/activation/ActivationGroupDesc.java,
12565         java/rmi/activation/ActivationGroupID.java,
12566         java/rmi/activation/ActivationID.java: New versions from
12567         Classpath.
12568
12569 2002-09-30  Bo Thorsen  <bo@suse.de>
12570
12571         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12572
12573 2002-09-30  Tom Tromey  <tromey@redhat.com>
12574
12575         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12576         from Classpath.
12577         * Makefile.in: Rebuilt.
12578         * Makefile.am (rmi_java_source_files): Added new files.
12579         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12580         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12581         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12582         Classpath.
12583         * gnu/java/rmi/dgc/DGCImpl.java,
12584         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12585         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12586         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12587         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12588         gnu/java/rmi/server/RMIHashes.java,
12589         gnu/java/rmi/server/RMIObjectInputStream.java,
12590         gnu/java/rmi/server/RMIObjectOutputStream.java,
12591         gnu/java/rmi/server/UnicastConnection.java,
12592         gnu/java/rmi/server/UnicastConnectionManager.java,
12593         gnu/java/rmi/server/UnicastRef.java,
12594         gnu/java/rmi/server/UnicastServer.java,
12595         gnu/java/rmi/server/UnicastServerRef.java,
12596         java/rmi/MarshalledObject.java,
12597         java/rmi/server/RMIClassLoader.java,
12598         java/rmi/server/RemoteObject.java,
12599         java/rmi/server/UnicastRemoteObject.java,
12600         java/security/SecureClassLoader.java: Merged from Classpath.
12601
12602 2002-09-29  Anthony Green  <green@redhat.com>
12603
12604         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12605         Imported from GNU Classpath.
12606         * java/lang/reflect/natProxy.cc: New file.
12607         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12608         from GNU Classpath.
12609         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12610         Classpath.
12611         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12612         Classpath.
12613         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12614         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12615         New statics.
12616         * gcj/javaprims.h ("Java"): Add new classes.
12617         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12618         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12619         java/lang/reflect/Proxy$$ProxyType.h): And this.
12620         (inner_nat_headers): Add these new headers.
12621         (ordinary_java_source_files): Add new files.
12622         (nat_source_files): Add new file.
12623         * Makefile.in: Rebuilt.
12624
12625 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12626
12627         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12628         a single configuration.
12629
12630 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12631
12632         * java/util/TimeZone.java (getDSTSavings): New method.
12633         Fixes PR libgcj/7786.
12634
12635 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12636
12637         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12638         to see if `the_method == 0' before looking up vtable index.
12639         Fixes PR libgcj/7709.
12640
12641 2002-09-25  Tom Tromey  <tromey@redhat.com>
12642
12643         * java/lang/natClassLoader.cc:
12644         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12645         * resolve.cc: Include NoClassDefFoundError.h, not
12646         ClassNotFoundException.h.
12647         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12648
12649         * defineclass.cc: Don't include ClassNotFoundException.h.
12650
12651         * resolve.cc: Include StringBuffer.
12652         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12653
12654         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12655         allocated but not initialized.
12656
12657 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12658
12659         Fix for PR libgcj/7766:
12660         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12661         (getNextEntry): Set it.
12662         (closeEntry): Likewise.
12663         (read): Likewise.
12664         (close): Likewise.
12665         (available): Use it.
12666
12667 2002-09-25  Michael Koch  <konqueror@gmx.de>
12668
12669         * java/net/DatagramSocket.java
12670         (DatagramSocket): Initialize new instance variables.
12671         (close): Reset new instance variables.
12672         (getLocalAddress): Remove unneeded SecurityManager usage.
12673         (getLocalPort): Check if socket is already bound.
12674         (isConnected): New method.
12675         (getInetAddress): Implemented.
12676         (getPort): Better Implementation, documentation fixed.
12677         (getRemoteSocketAddress): New method.
12678         * java/net/JarURLConnection.java
12679         (element): Typo fixed.
12680         (getMainAttributes): New method.
12681         (getAttributes): New method (stub only).
12682         (getManifest): New method (stub only).
12683         * java/net/NetPermission.java: Added serialVersionsUID.
12684         * java/net/Socket.java
12685         (connect): Check blocking mode of associated channel,
12686         documentation added.
12687         (getLocalSocketAddress): Better implementation.
12688         (getRemoteSocketAddress): Implemented.
12689         (isBound): New method.
12690         (setSendBufferSize): Documentation added.
12691         * java/net/SocketAddress.java: Added serialVersionsUID.
12692         * java/net/SocketPermission.java: Added serialVersionsUID.
12693         * java/net/URL.java
12694         (URL): Wrap for shorter lines, initialize new instance variables,
12695         documentation added.
12696         (equals): Check new instance variables too.
12697         (getContent): Documentation added.
12698         (getPath): Documentation added.
12699         (getAuthority): New method.
12700         (getHost): Documentation added.
12701         (getPort): Documentation added.
12702         (getDefaultPort): New method.
12703         (getProtocol): Documentation added.
12704         (getUserInfo): Documentation added.
12705         (set): Initialize new instance variables, documentation added.
12706         * java/net/URLStreamHandler.java
12707         (setURL): New method.
12708         * java/net/natPlainDatagramSocketImpl.cc
12709         (connect): Fix exception name.
12710         (disconnect): Fix exception name.
12711
12712 2002-09-25  Michael Koch  <konqueror@gmx.de>
12713
12714         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12715         * java/nio/channels/DatagramChannel.java:
12716         extends AbstractSelectableChannel
12717         * java/nio/channels/ServerSocketChannel.java:
12718         extends AbstractSelectableChannel
12719         * java/nio/channels/SocketChannel.java:
12720         extends AbstractSelectableChannel
12721         * Makefile.am (ordinary_java_source_files):
12722         java/nio/channels/spi/AbstractSelectableChannel.java added.
12723         * Makefile.in: Regenerated.
12724
12725 2002-09-25  Michael Koch  <konqueror@gmx.de>
12726
12727         * java/net/DatagramSocket.java
12728         (DatagramSocket): Exception documentation added.
12729         (bind): Exception documentation added, addded SecurityManager check,
12730         added SocketAddress type check.
12731         (getSoTimeout): Check impl.
12732         (receive): Fix SecurityManager check, check impl, documentation added.
12733         (send): Check channel mode, documentation added.
12734         (connect): New method.
12735         (disconnect): Implemented.
12736         (getLocalSocketAddress): New method.
12737         (getReceiveBufferSize): Check impl.
12738         (setReuseAddress): Check impl.
12739         (getReuseAddress): Check impl.
12740         (setBroadcast): Check impl.
12741         (getBroadcast): Check impl.
12742         (setTrafficClass): Check impl, Documentation cleared.
12743         (getTrafficClass): Check impl.
12744         (getSendBufferSize): Check impl.
12745         (setReceiveBufferSize): Check impl, documentation added.
12746         (setSendBufferSize): Documentation added.
12747         (setDatagramSocketImplFactory): New method.
12748         * java/net/HttpURLConnection.java
12749         (HTTP_INTERNAL_ERROR): The correct code is 500.
12750         (HTTP_NOT_IMPLEMENTED): Added new constant.
12751         (setFollowRedirects): Documentation added.
12752         (getInstanceFollowRedirects): New method.
12753         (setInstanceFollowRedirects): New method.
12754         (setRequestMethod): Documentation added.
12755         (getResponseCode): Documentation added.
12756         (getResponseMessage): Documentation added.
12757         * java/net/JarURLConnection.java
12758         (JarURLConnection): protected since JDK 1.4.
12759         (getJarEntry): java.io.IOException to IOException, documentation added.
12760         (getJarFile): Documentation added.
12761         * java/net/ServerSocket.java
12762         (ServerSocket): Private to public, exception added.
12763         (ServerSocket): java.io.IOException to IOException, documentation added.
12764         (bind): Check socket address type, documentation added.
12765         (bind): java.io.IOException to IOException, documentation added.
12766         (accept): Documentation added.
12767         (implAccept): Check ch is not non-blocking, documentation added.
12768         (setSoTimeout): Documentation fixed.
12769         (setReceiveBufferSize): Documentation added.
12770         * java/net/Socket.java
12771         (Socket): Documentation added.
12772         (bind): Documentation added.
12773         (connect): Check socket address type, documentation added.
12774         (getRemoteSocketAddress): New method.
12775         (getLocalSocketAddress): New method.
12776         (setSoLinger): Documentation added.
12777         (getReuseAddress): New method.
12778         (setReuseAddress): New method.
12779         (getTrafficClass): New method.
12780         (setTrafficClass): New method.
12781         * java/net/URLStreamHandler.java
12782         (openConnection): java.io.IOException to IOException.
12783         (parseURL): Documentation added.
12784         (sameFile): public to protected, documentation added.
12785         (setURL): Documentation added.
12786         * java/nio/IllegalBlockingModeException.java: New file.
12787         * Makefile.am (ordinary_java_source_files):
12788         added java/nio/IllegalBlockingModeException.java
12789         * Makefile.in: Regenerated.
12790
12791 2002-09-25  Michael Koch  <konqueror@gmx.de>
12792
12793         * java/net/DatagramPacket
12794         (DatagramPacket): Exception documentation added.
12795         (setData): Likewise.
12796         (setSocketAddress): Likewise.
12797         * java/net/DatagramSocketImpl.java
12798         (peek): Documentation addded.
12799         (peekData): Documentation addded.
12800         (send): Documentation addded.
12801         (receive): Documentation addded.
12802         (connect): New method.
12803         (disconnect): New method.
12804         (joinGroup): New abstract method.
12805         (leaveGroup): New abstract method.
12806         * java/net/InetSocketAddress.java
12807         (InetSocketAddress): Documentation added.
12808         (equals): final keyword added.
12809         (getAddress): final keyword added.
12810         (getHostName): final keyword added.
12811         (getPort): final keyword added.
12812         (hashCode): final keyword added.
12813         (isUnresolved): final keyword added.
12814         * java/net/MulticastSocket.java
12815         (MulticastSocket): Documentation added.
12816         (MulticastSocket): New method.
12817         (joinGroup): Documentation added.
12818         (joinGroup): New method.
12819         (leaveGroup): Documentation added.
12820         (leaveGroup): New method.
12821         (send): Documentation added.
12822         * java/net/NetworkInterface.java
12823         (getByName): Documentation added.
12824         (getByInetAddress): Documentation added.
12825         (getNetworkInterfaces): Documentation added.
12826         * java/net/PlainDatagramSocketImpl.java
12827         (connect): New method.
12828         (disconnect): New method.
12829         * java/net/SocketImpl.java
12830         (create): Documentation added.
12831         (shutdownInput): Convert public to protected, as it always was.
12832         (shutdownOutput): Convert public to protected, as it always was.
12833         * java/net/SocketOptions.java
12834         (whole file): Reintented.
12835         * java/net/URLClassLoader.java
12836         (URLClassLoader): SecurityManager check added, documentation added.
12837         (findResources): Documentation added.
12838         (findClass): Documentation added.
12839         (newInstance): More correct method arguments.
12840         * java/net/URLConnection.java
12841         (connect): Documentation added.
12842         (getContent): Documentation added.
12843         (getPermission): Documentation added.
12844         (getInputStream): Documentation added.
12845         (getOutputStream): Documentation added.
12846         (setDoInput): Throw correct exception, documentation added.
12847         (setDoOutput): Throw correct exception, documentation added.
12848         (setAllowUserInteraction): Throw correct exception, documentation added.
12849         (setUseCaches): Throw correct exception, documentation added.
12850         (setIfModifiedSince): Throw correct exception, documentation added.
12851         (setRequestProperty): Throw exception, documentation added.
12852         (addRequestProperty): Throw exception, documentation added.
12853         (getRequestProperty): Throw exception, documentation added.
12854         (getRequestProperties): Documentation added.
12855         (setContentHandlerFactory): Documentation added.
12856         (guessContentTypeFromName): protected to public.
12857         (setFileNameMap): Documentation added.
12858         * java/net/URLDecoder.java
12859         (URLDecoder): New method.
12860         (decode): Documentation added.
12861         (whole file): Reindented.
12862         * java/net/URLEncoder.java
12863         (encode): Documentation added.
12864         * java/net/natPlainDatagramSocketImpl.cc
12865         (connect): New method.
12866         (disconnect): New method.
12867         * javax/naming/RefAddr:
12868         (addrType): addrType was never final.
12869         (equals): Fix typo in method name.
12870         * javax/naming/BinaryRefAddr:
12871         (equals): Fix typo in method name.
12872
12873 2002-09-22  Tom Tromey  <tromey@redhat.com>
12874
12875         Fix for PR libgcj/6576:
12876         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12877         didn't find a given bundle.
12878         (getBundle): Don't require base bundle.
12879         (setParent): Removed old comment.
12880         (tryLocalBundle): Try components even if preceding components were
12881         empty.
12882
12883 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12884
12885         * Makefile.am (all-multi): Fix multilib parallel build.
12886
12887 2002-09-21  Michael Koch  <konqueror@gmx.de>
12888
12889         * java/net/Socket.java
12890         (sendUrgentData): New method.
12891         (getChannel): New method.
12892         * java/net/ServerSocket.java
12893         (getChannel): New method.
12894         (isBound): New method.
12895         * java/net/DatagramSocket.java
12896         (DatagramSocket): Two new methods.
12897         (bind): New method.
12898         (getChannel): New method.
12899         (isBound): New method.
12900         (send): Added newline to to make shorter lines.
12901         * java/net/PlainDatagramSocketImpl.java
12902         (mcastGrp): Added argument.
12903         (join): Use new mcastGrp.
12904         (leave): Use new mcastGrp.
12905         (joinGroup): New method.
12906         (leaveGroup): New method.
12907         * java/net/natPlainDatagramSocketImpl.cc
12908         (mcastGrp): Added argument, no yet really implemented.
12909         (getOption): Added newline for shorter lines.
12910         * java/net/natPlainSocketImpl.cc
12911         (read, setOption, getOption): Added newline for shorter lines.
12912
12913 2002-09-19  Tom Tromey  <tromey@redhat.com>
12914
12915        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12916        newly-created exception.
12917
12918 2002-09-18  Michael Koch  <konqueror@gmx.de>
12919
12920         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12921         java/util/regex/PatternSyntaxException.java:
12922         Merge with classpath, new files.
12923         * Makefile.am (core_java_source_files):
12924         Added java/util/regex/Matcher.java,
12925         java/util/regex/Pattern.java,
12926         java/util/regex/PatternSyntaxException.java
12927         * Makefile.in: Regenerated.
12928         * include/config.h.in: Added HAVE_NET_IF_H.
12929         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12930         Removed #if 0 ... #endif.
12931
12932 2002-09-17  Michael Koch  <konqueror@gmx.de>
12933
12934         * java/net/natNetworkInterface.cc:
12935         Removed unneed and yet wrong includes.
12936
12937 2002-09-17  Michael Koch  <konqueror@gmx.de>
12938
12939         * java/net/NetworkInterface.java: New file.
12940         * java/net/natNetworkInterface.java: New file.
12941         * configure.in: Added check for net/if.h.
12942         * configure: Regenerated.
12943         * Makefile.am
12944         (ordinary_java_source_files): Added NetworkInterface.java.
12945         (nat_source_files): Added natNetworkInterface.cc.
12946         * Makefile.in: Regenerated.
12947
12948 2002-09-16  Tom Tromey  <tromey@redhat.com>
12949
12950         * java/net/URLClassLoader.java (findClass): Code source for a
12951         class from a jar is not necessarily a jar: URL.
12952
12953 2002-09-16  Michael Koch  <konqueror@gmx.de>
12954
12955         * java/lang/AssertionError.java:
12956         Merge with classpath, fixes HTML.
12957         * java/rmi/server/LogStream.java:
12958         Merge with classpath, fixes some constants.
12959         * java/net/server/RemoteServer.java:
12960         Merge with classpath, adds serialVersionUID.
12961         * javax/naming/BinaryRefAddr.java:
12962         Merge with classpath, s/equal/equals/.
12963         * javax/naming/NamingException.java:
12964         Merge with classpath, fixed typo.
12965         * javax/naming/RefAddr.java:
12966         Merge with classpath, s/equal/equals/.
12967         * java/awt/Toolkit.java:
12968         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12969         and typo fixed.
12970
12971 2002-09-15  Adam Megacz <adam@xwt.org>
12972
12973         * java/net/natPlainSocketImpl.cc: fixed typo.
12974
12975 2002-09-15  Adam Megacz <adam@xwt.org>
12976
12977         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12978         which don't work on Win32 (yet).
12979
12980 2002-09-14  Adam Megacz <adam@xwt.org>
12981
12982         * java/net/natPlainDatagramSocket.cc: removed #include
12983         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12984         * include/win32.h: included definition for IP_TOS to satisfy
12985         natPlainDatagramSocket.cc
12986
12987 2002-09-13  Michael Koch  <konqueror@gmx.de>
12988
12989         * java/net/DatagramPacket.java (DatagramPacket):
12990         Added linebreak for 80 chars per line.
12991         * java/net/JarURLConection.java
12992         (getInputStreami, getJarEntry): Likewise.
12993         * java/net/SocketPErmission.java
12994         (SocketPermission class docu, implies): Likewise.
12995         * java/net/URLClassLoader.java (findResources): Likewise.
12996         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12997
12998 2002-09-13  Michael Koch  <konqueror@gmx.de>
12999
13000         * java/nio/channels/DatagramChannel.java,
13001         java/nio/channels/ServerSocketChannel.java
13002         java/nio/channels/SocketChannel.java:
13003         New dummy files to make java.net fully JDK 1.4 compatible
13004         * Makefile.am (ordinary_java_source_files): Added
13005         java/net/DatagramSocketImplFactory.java (long forgotten),
13006         java/nio/SocketChannel.java,
13007         java/nio/ServerSocketChannel.java,
13008         java/nio/DatagramChannel.java
13009         * Makefile.in: Regenrated.
13010
13011 2002-09-12  Michael Koch  <konqueror@gmx.de>
13012
13013         * java/net/DatagramSocketImpl.java
13014         (peekData): New method.
13015         * java/net/PlainDatagramSocketImpl.java
13016         (peekData): New method.
13017         * java/net/natPlainDatagramSocketImpl.cc
13018         (peekData): New method.
13019         * java/net/URLConnection
13020         (getPermission): New method.
13021         (addRequestProperty): New method.
13022         (getRequestProperties): New method.
13023         (guessContentTypeFromStream): New method, not really implemented.
13024         (URLConnection): Added/updated documentation.
13025         (connect): Added/updated documentation.
13026         (getURL): Added/updated documentation.
13027         (getContentLength): Added/updated documentation.
13028         (getContentType: Added/updated documentation.
13029         (getContentEncoding): Added/updated documentation.
13030         (getExpiration): Added/updated documentation.
13031         (getDate): Added/updated documentation.
13032         (getLastModified): Added/updated documentation.
13033         (getHeaderField): Added/updated documentation.
13034         (getHeaderFields): Added/updated documentation.
13035         (getHeaderFieldInt): Added/updated documentation.
13036         (getHeaderFieldDate): Added/updated documentation.
13037         (getHeaderFieldKey): Added/updated documentation.
13038         (getContent): Added/updated documentation.
13039         (getInputStream): Added/updated documentation.
13040         (getOutputStream): Added/updated documentation.
13041         (toString): Added/updated documentation.
13042         (setDoInput): Added/updated documentation.
13043         (getDoInput): Added/updated documentation.
13044         (setDoOutput): Added/updated documentation.
13045         (getDoOutput): Added/updated documentation.
13046         (setAllowUserInteraction): Added/updated documentation.
13047         (getAllowUserInteraction): Added/updated documentation.
13048         (setDefaultAllowUserInteraction): Added/updated documentation.
13049         (getDefaultAllowUserInteraction): Added/updated documentation.
13050         (setUseCaches): Added/updated documentation.
13051         (getUseCaches): Added/updated documentation.
13052         (setIfModifiedSince): Added/updated documentation.
13053         (getIfModifiedSince): Added/updated documentation.
13054         (getDefaultUseCaches): Added/updated documentation.
13055         (setDefaultUseCaches): Added/updated documentation.
13056         (setRequestProperty): Added/updated documentation.
13057         (getRequestProperty): Added/updated documentation.
13058         (setDefaultRequestProperty): Added/updated documentation.
13059         (getDefaultRequestProperty): Added/updated documentation.
13060         (setContentHandlerFactory): Added/updated documentation.
13061         (guessContentTypeFromName): Added/updated documentation.
13062         (getFileNameMap): Added/updated documentation.
13063         (setFileNameMap): Added/updated documentation.
13064
13065 2002-09-11  Michael Koch  <konqueror@gmx.de>
13066
13067         * java/net/Socket.java
13068         (Socket): protected to public (since JDK 1.4). Added @specnote.
13069         (bind): New method.
13070         (connect): Two new methods.
13071         (getKeepalive): Get correct socket option.
13072         (setKeepalive): Set correct socket option.
13073         (getOOBInline): New method.
13074         (setOOBInline): New method.
13075         * java/net/ServerSocket.java
13076         (bind): Two new methods.
13077         (getInetAddress): Reimplemented, catch exception.
13078         (getLocalSocketAddress): New method.
13079         (setReuseAddress): New method.
13080         (getReuseAdress): New method.
13081         (setReceiveBufferSize): New method.
13082         (getReceiveBufferSize): New method.
13083         (toString): Made string JDK 1.4 compliant.
13084
13085 2002-09-10  Michael Koch  <konqueror@gmx.de>
13086
13087         * java/net/SocketImpl.java
13088         (connect): New method.
13089         (supportsUrgentData): New method.
13090         (sendUrgentData): New method.
13091         * java/net/PlainSocketImpl.java
13092         (connect): One new method and two new implementation.
13093         (sendUrgentData): New method.
13094         * java/natPlainSocketImpl.cc
13095         (connect): Arguments changed, added support for timeouts.
13096         (getOption): Another __java_boolean to jboolean.
13097
13098 2002-09-07  Adam Megacz <adam@xwt.org>
13099
13100         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13101         definition of IP_TOS.
13102
13103 2002-09-04  Michael Koch  <konqueror@gmx.de>
13104
13105         * java/net/DatagramSocket.java
13106         (DatagramSocket): Added documentation.
13107         (close): Likewise.
13108         (getLocalAddress): Likewise.
13109         (getLocalPort): Likewise.
13110         (receive): Likewise.
13111         (send): Likewise.
13112         (setSoTimeout): Likewise.
13113         (connect): New method.
13114         (disconnect): New method.
13115         (getInetAddress): New method (FIXME)
13116         (getPort): New method.
13117         (setReuseAddress): New method.
13118         (getReuseAddress): New method.
13119         (setBroadcast): New method.
13120         (getBroadcast): New method.
13121         (setTrafficClass): New method.
13122         (getTrafficClass): New method.
13123         * java/net/MulticastSocket.java):
13124         (getTTL): Added @see in documentation.
13125         (setTTL): Added @see in documentation.
13126         (setLoopbackMode): New method.
13127         (getLoopbackMode): New method.
13128         * java/net/PlainSocketImpl.java:
13129         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13130         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13131         * java/net/PlainDatagramSocketImpl.java
13132         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13133         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13134         * java/net/natPlainSocketImpl.cc
13135         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13136         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13137         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13138         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13139         This should also fix SO_KEEPALIVE
13140         * java/net/natPlainDatagramSocketImpl.cc
13141         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13142         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13143         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13144         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13145
13146 2002-09-04  Michael Koch  <konqueror@gmx.de>
13147
13148         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13149         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13150         IP_MULTICAST_LOOP, IP_TOS
13151
13152 2002-09-03  Tom Tromey  <tromey@redhat.com>
13153
13154         * java/lang/Class.h (_getDeclaredMethod): Declare.
13155         (_getMethod): Now private.
13156         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13157         getDeclaredMethod.  Now returns NULL on failure.
13158         * java/lang/Class.java (_getDeclaredMethod): Declare.
13159         (getDeclaredMethod): No longer native; implements access checks.
13160
13161 2002-09-01  Mark Wielaard  <mark@klomp.org>
13162
13163         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13164         (sanitizeStack): Correctly reset unknown and interpreter counters,
13165         detect interpreter runtime frames.
13166         (demangleInterpreterMethod): New method.
13167         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13168         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13169         filling in addrs[].
13170
13171 2002-09-02  Michael Koch  <konqueror@gmx.de>
13172
13173         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13174         re-indented documentation.
13175
13176 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13177
13178         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13179         public, per 1.4 spec.  Fixes PR libgcj/7785.
13180
13181 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13182
13183         * Makefile.in: Rebuilt.
13184         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13185
13186 2002-08-29  Tom Tromey  <tromey@redhat.com>
13187
13188         * java/net/JarURLConnection.java (getCertificates): New method
13189         from Classpath.
13190         * java/net/URLClassLoader.java (URLClassLoader): Extends
13191         SecureClassLoader.
13192         (definePackage): New method from Classpath.
13193         (getPermissions): Likewise.
13194         (newInstance): Likewise.
13195         (findClass): Construct CodeSource for new class (from Classpath).
13196         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13197         methods.
13198         * java/net/URL.java (getUserInfo): New method.
13199         (set(String,String,int,String,String,String,String,String)): New
13200         method.
13201         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13202         (shutdownInput, shutdownOutput): Declare.
13203         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13204         Define.
13205         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13206         (getOption): Likewise.
13207         (shutdownInput): New method.
13208         (shutdownOutput): Likewise.
13209         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13210         keepalive.
13211         (getOption): Likewise.
13212         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13213         * java/net/Socket.java (setKeepAlive): New method.
13214         (getKeepAlive): Likewise.
13215         (shutdownInput, shutdownOutput): New methods.
13216
13217 2002-08-29  Michael Koch  <konqueror@gmx.de>
13218
13219         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13220         new methods are:
13221         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13222           address),
13223         DatagramPacket(byte[] buf, int length, SocketAddress address),
13224         void setSocketAddress(SocketAddress address)
13225         public SocketAddress getSocketAddress()
13226
13227 2002-08-29  Tom Tromey  <tromey@redhat.com>
13228
13229         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13230         ftruncate is missing.
13231         * configure, include/config.h.in: Rebuilt.
13232         * acconfig.h (HAVE_FTRUNCATE): Mention.
13233         * configure.in: Check for ftruncate.
13234
13235 2002-08-29  Tom Tromey  <tromey@redhat.com>
13236
13237         * include/jvm.h (struct _Jv_frame_info): New structure.
13238         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13239         java-interp.h.
13240         (lookupInterp): New method.
13241         (getAddrAsString): Use _Jv_frame_info.
13242         (dladdrLookup): Likewise.
13243         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13244         interpreted frame.
13245         (lookupInterp): Declare.
13246         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13247         (fillInStackTrace): Collect information on interpreted frames.
13248         Use _Jv_frame_info.
13249         * interpret.cc: Include Thread.h.
13250         (run): Create and push _Jv_MethodChain object.
13251         (_Jv_EndOfInterpreter): New global.
13252         * java/lang/Thread.java (interp_frame): New field.
13253         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13254         Include NameFinder.h.
13255
13256 2002-08-28  Tom Tromey  <tromey@redhat.com>
13257
13258         * java/lang/Class.h: Include Package.h.
13259         (Class::getProtectionDomain): Declare.
13260         (Class::getPackage): Declare.
13261
13262 2002-08-28  Michael Koch <konqueror@gmx.de>
13263
13264         * java/net/InetSocketAddress.java: Added some documentation and argument
13265         checks for the port numbers.
13266         * java/net/DatagramSocketImplFactory.java: New file.
13267
13268 2002-08-28  Michael Koch <konqueror@gmx.de>
13269
13270         * java/net/Authenticator.java: added some documentation.
13271
13272 2002-08-27  Tom Tromey  <tromey@redhat.com>
13273
13274         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13275         class.
13276         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13277
13278 2002-08-27  Michael Koch <konqueror@gmx.de>
13279
13280         * java/net/BindException.java,
13281         java/net/JarURLConnection.java,
13282         java/net/FileNameMap.java,
13283         java/net/HttpURLConnection.java,
13284         java/net/InetSocketAddress.java,
13285         java/net/DatagramPacket.java,
13286         java/net/DatagramSocket.java,
13287         java/net/DatagramSocketImpl.java,
13288         java/net/MulticastSocket.java,
13289         java/net/PasswordAuthentication.java,
13290         java/net/ServerSocket.java,
13291         java/net/Socket.java,
13292         java/net/URLClassLoader.java,
13293         java/net/URLConnection.java: add/update of some @since/@deprecated
13294
13295 2002-08-27  Tony Kimball <alk@pobox.com>
13296             Tom Tromey  <tromey@redhat.com>
13297
13298         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13299         define.
13300         (::close): Removed.
13301         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13302         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13303         (::close): Removed.
13304         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13305         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13306
13307 2002-08-25  Adam Megacz <adam@xwt.org>
13308
13309         * include/win32.h (getcwd): copied function declaration as
13310         temporary fix for header confusion.
13311
13312 2002-08-24  Mark Wielaard <mark@klomp.org>
13313
13314         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13315         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13316         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13317         and natNameFinder.cc.
13318         * Makefile.in: Regenerate.
13319         * prims.cc: Use trace_enabled from VMThrowable.
13320         * name-finder.cc: Removed.
13321         * gcj/javaprims.h: Add class VMThrowable.
13322         * gnu/gcj/runtime/NameFinder.java: New file.
13323         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13324         * include/name-finder.h: Removed.
13325         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13326         method stackTraceString().
13327         (printStackTrace (PrintWriter)): Likewise.
13328         (stackTraceString): Complete rewrite of old printStackTrace using
13329         StringBuffer.
13330         (stackTraceStringBuffer): New helper method for stackTraceString().
13331         (fillInStackTrace): Delegate to VMTrowable.
13332         (getStackTrace): Likewise.
13333         (getStackTrace0): Removed.
13334         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13335         (setStackTrace): Copy given array.
13336         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13337         * java/lang/VMThrowable.java: New class.
13338         * java/lang/natVMThrowable.cc: New file.
13339
13340 2003-08-23  Michael Koch  <konqueror@gmx.de>
13341
13342         * java/net/URLConnection.java,
13343         java/netJarURLConnection.java,
13344         gnu/gcj/protocol/core/Connection.java,
13345         gnu/gcj/protocol/file/Connection.java,
13346         gnu/gcj/protocol/http/Connection.java: Added implementation of
13347         getHeaderFields().
13348
13349 2002-08-22  Tom Tromey  <tromey@redhat.com>
13350
13351         * gij.cc (help): Document -cp and -classpath.
13352         (main): Handle -classpath.
13353
13354 2002-08-21  Tom Tromey  <tromey@redhat.com>
13355
13356         * Makefile.in: Rebuilt.
13357         * Makefile.am (ordinary_java_source_files): Added
13358         SocketAddress.java, InetSocketAddress.java.
13359         * java/net/PortUnreachableException.java: Merged with Classpath.
13360         * java/net/SocketTimeoutException.java: Likewise.
13361         * java/net/URISyntaxException.java: Likewise.
13362         * java/net/SocketAddress.java: New class from Classpath.
13363         * java/net/InetSocketAddress.java: Likewise.
13364
13365 2003-08-21  Michael Koch  <konqueror@gmx.de>
13366
13367         * java/net/Authenticator.java: updated JDK 1.4
13368         * java/net/ContentHandler.java: updated JDK 1.4
13369
13370 2002-08-20  Michael Koch  <konqueror@gmx.de>
13371
13372         * java/net/URISyntaxException.java: New file.
13373         * java/net/SocketTimeoutException.java: New file.
13374         * java/net/PortUnreachableException.java: New file.
13375         * Makefile.am: Updated.
13376         * Makefile.in: Rebuilt.
13377
13378 2002-08-18  Mark Wielaard  <mark@klomp.org>
13379
13380         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13381         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13382         MessageDigestSpi (fixes Classpath bug #783).
13383
13384 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13385
13386         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13387         (startProcess): Allocate path for chdir in async-signal-safe way.
13388
13389 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13390
13391         Fix for PR libgcj/7570 and PR libgcj/7578:
13392         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13393         (startProcess): Handle new `dir' argument.
13394         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13395         argument.
13396         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13397         argument.
13398         (startProcess): Likewise.
13399         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13400         argument.
13401         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13402         (exec): Don't create new environment if ENV==null.  Pass DIR to
13403         execInternal.
13404         * java/lang/natRuntime.cc: Include java/io/File.h.
13405         (execInternal): Added `dir' argument.
13406
13407 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13408
13409         * java/io/RandomAccessFile.java (skipBytes): Return number of
13410         bytes skipped.
13411
13412 2002-08-01  Mark Wielaard  <mark@klomp.org>
13413
13414         Reenable patch since shared library troubles on powerpc are solved:
13415         * gnu/java/security/provider/Gnu.java: Reference all implementation
13416         classes by using Class.getName().
13417         * gnu/java/security/der/DEREncodingException.java,
13418         gnu/java/security/provider/DERReader.java,
13419         gnu/java/security/provider/DERWriter.java,
13420         gnu/java/security/provider/DSAKeyPairGenerator.java,
13421         gnu/java/security/provider/DSAParameterGenerator.java,
13422         gnu/java/security/provider/DSAParameters.java,
13423         gnu/java/security/provider/DSASignature.java,
13424         gnu/java/security/provider/GnuDSAPrivateKey.java,
13425         gnu/java/security/provider/GnuDSAPublicKey.java,
13426         gnu/java/security/provider/MD5.java,
13427         gnu/java/security/util/Prime.java: New classes
13428         * Makefile.am (ordinary_java_source_files): Add above files.
13429         * Makefile.in: Regenerate.
13430         * gnu/java/security/provider/DefaultPolicy.java
13431         (getPermissions): Don't maintain static class variable of Permissions.
13432         * gnu/java/security/provider/SHA.java
13433         (engineUpdate): algorithm change.
13434         (engineDigest): algorithm change.
13435
13436 2002-08-09  Mark Wielaard  <mark@klomp.org>
13437
13438         * java/awt/image/MemoryImageSource.java: Change constructor to take
13439         int[] not byte[].
13440         * java/awt/Graphics2D.java: Uncomment methods that can now be
13441         compiled.
13442         * java/awt/GridBagLayout.java: New stub implementation.
13443         * javax/swing/text/html/HTML.java: Stub implementation.
13444         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13445         implementation.
13446
13447         * Makefile.am: Add new files.
13448         * Makefile.in: Rebuilt.
13449
13450 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13451
13452         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13453         methods in Graphics2D.
13454
13455 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13456
13457         AWT/Swing merge from GNU Classpath.
13458
13459         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13460         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13461         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13462         java/awt/color/ProfileDataException.java,
13463         java/awt/CompositeContext.java, java/awt/Composite.java,
13464         java/awt/ContainerOrderFocusTraversalPolicy.java,
13465         java/awt/datatransfer/FlavorTable.java,
13466         java/awt/DefaultFocusTraversalPolicy.java,
13467         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13468         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13469         java/awt/dnd/DragGestureListener.java,
13470         java/awt/dnd/DragGestureRecognizer.java,
13471         java/awt/dnd/DragSourceAdapter.java,
13472         java/awt/dnd/DragSourceContext.java,
13473         java/awt/dnd/DragSourceDragEvent.java,
13474         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13475         java/awt/dnd/DragSourceListener.java,
13476         java/awt/dnd/DragSourceMotionListener.java,
13477         java/awt/dnd/DropTarget.java,
13478         java/awt/dnd/InvalidDnDOperationException.java,
13479         java/awt/dnd/peer/DragSourceContextPeer.java,
13480         java/awt/event/AWTEventListenerProxy.java,
13481         java/awt/event/MouseWheelEvent.java,
13482         java/awt/event/MouseWheelListener.java,
13483         java/awt/event/WindowFocusListener.java,
13484         java/awt/event/WindowStateListener.java,
13485         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13486         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13487         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13488         java/awt/geom/FlatteningPathIterator.java,
13489         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13490         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13491         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13492         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13493         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13494         java/awt/image/ImagingOpException.java,
13495         java/awt/image/RasterFormatException.java,
13496         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13497         java/awt/image/VolatileImage.java,
13498         java/awt/image/WritableRenderedImage.java,
13499         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13500         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13501         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13502         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13503         java/awt/PageAttributes.java, java/awt/print/Book.java,
13504         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13505         java/awt/print/Paper.java, java/awt/print/Printable.java,
13506         java/awt/print/PrinterAbortException.java,
13507         java/awt/print/PrinterException.java,
13508         java/awt/print/PrinterGraphics.java,
13509         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13510         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13511         java/awt/Stroke.java, java/awt/TexturePaint.java,
13512         javax/accessibility/AccessibleAction.java,
13513         javax/accessibility/AccessibleBundle.java,
13514         javax/accessibility/AccessibleComponent.java,
13515         javax/accessibility/AccessibleContext.java,
13516         javax/accessibility/AccessibleEditableText.java,
13517         javax/accessibility/AccessibleExtendedComponent.java,
13518         javax/accessibility/AccessibleExtendedTable.java,
13519         javax/accessibility/AccessibleHyperlink.java,
13520         javax/accessibility/AccessibleHypertext.java,
13521         javax/accessibility/AccessibleIcon.java,
13522         javax/accessibility/Accessible.java,
13523         javax/accessibility/AccessibleKeyBinding.java,
13524         javax/accessibility/AccessibleRelation.java,
13525         javax/accessibility/AccessibleRelationSet.java,
13526         javax/accessibility/AccessibleResourceBundle.java,
13527         javax/accessibility/AccessibleRole.java,
13528         javax/accessibility/AccessibleSelection.java,
13529         javax/accessibility/AccessibleState.java,
13530         javax/accessibility/AccessibleStateSet.java,
13531         javax/accessibility/AccessibleTable.java,
13532         javax/accessibility/AccessibleTableModelChange.java,
13533         javax/accessibility/AccessibleText.java,
13534         javax/accessibility/AccessibleValue.java,
13535         javax/swing/AbstractAction.java,
13536         javax/swing/AbstractButton.java,
13537         javax/swing/AbstractCellEditor.java,
13538         javax/swing/AbstractListModel.java,
13539         javax/swing/AbstractSet.java, javax/swing/Action.java,
13540         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13541         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13542         javax/swing/border/CompoundBorder.java,
13543         javax/swing/border/EmptyBorder.java,
13544         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13545         javax/swing/border/LineBorder.java,
13546         javax/swing/border/MatteBorder.java,
13547         javax/swing/border/TitledBorder.java,
13548         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13549         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13550         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13551         javax/swing/CellRendererPane.java,
13552         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13553         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13554         javax/swing/colorchooser/ColorSelectionModel.java,
13555         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13556         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13557         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13558         javax/swing/DefaultBoundedRangeModel.java,
13559         javax/swing/DefaultButtonModel.java,
13560         javax/swing/DefaultCellEditor.java,
13561         javax/swing/DefaultCellRenderer.java,
13562         javax/swing/DefaultComboBoxModel.java,
13563         javax/swing/DefaultDesktopManager.java,
13564         javax/swing/DefaultFocusManager.java,
13565         javax/swing/DefaultListCellRenderer.java,
13566         javax/swing/DefaultListModel.java,
13567         javax/swing/DefaultListSelectionModel.java,
13568         javax/swing/DefaultSingleSelectionModel.java,
13569         javax/swing/DesktopManager.java,
13570         javax/swing/event/AncestorEvent.java,
13571         javax/swing/event/AncestorListener.java,
13572         javax/swing/event/CaretEvent.java,
13573         javax/swing/event/CaretListener.java,
13574         javax/swing/event/CellEditorListener.java,
13575         javax/swing/event/ChangeEvent.java,
13576         javax/swing/event/ChangeListener.java,
13577         javax/swing/event/DocumentEvent.java,
13578         javax/swing/event/DocumentListener.java,
13579         javax/swing/event/EventListenerList.java,
13580         javax/swing/event/HyperlinkEvent.java,
13581         javax/swing/event/HyperlinkListener.java,
13582         javax/swing/event/InternalFrameAdapter.java,
13583         javax/swing/event/InternalFrameEvent.java,
13584         javax/swing/event/InternalFrameListener.java,
13585         javax/swing/event/ListDataEvent.java,
13586         javax/swing/event/ListDataListener.java,
13587         javax/swing/event/ListSelectionEvent.java,
13588         javax/swing/event/ListSelectionListener.java,
13589         javax/swing/event/MenuDragMouseEvent.java,
13590         javax/swing/event/MenuDragMouseListener.java,
13591         javax/swing/event/MenuEvent.java,
13592         javax/swing/event/MenuKeyEvent.java,
13593         javax/swing/event/MenuKeyListener.java,
13594         javax/swing/event/MenuListener.java,
13595         javax/swing/event/MouseInputAdapter.java,
13596         javax/swing/event/MouseInputListener.java,
13597         javax/swing/event/PopupMenuEvent.java,
13598         javax/swing/event/PopupMenuListener.java,
13599         javax/swing/event/SwingPropertyChangeSupport.java,
13600         javax/swing/event/TableColumnModelEvent.java,
13601         javax/swing/event/TableColumnModelListener.java,
13602         javax/swing/event/TableModelEvent.java,
13603         javax/swing/event/TableModelListener.java,
13604         javax/swing/event/TreeExpansionEvent.java,
13605         javax/swing/event/TreeExpansionListener.java,
13606         javax/swing/event/TreeModelEvent.java,
13607         javax/swing/event/TreeModelListener.java,
13608         javax/swing/event/TreeSelectionEvent.java,
13609         javax/swing/event/TreeSelectionListener.java,
13610         javax/swing/event/TreeWillExpandListener.java,
13611         javax/swing/event/UndoableEditEvent.java,
13612         javax/swing/event/UndoableEditListener.java,
13613         javax/swing/filechooser/FileFilter.java,
13614         javax/swing/filechooser/FileSystemView.java,
13615         javax/swing/filechooser/FileView.java,
13616         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13617         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13618         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13619         javax/swing/JApplet.java, javax/swing/JButton.java,
13620         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13621         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13622         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13623         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13624         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13625         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13626         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13627         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13628         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13629         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13630         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13631         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13632         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13633         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13634         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13635         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13636         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13637         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13638         javax/swing/JToolTip.java, javax/swing/JTree.java,
13639         javax/swing/JViewport.java, javax/swing/JWindow.java,
13640         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13641         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13642         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13643         javax/swing/MenuSelectionManager.java,
13644         javax/swing/MutableComboBoxModel.java,
13645         javax/swing/OverlayLayout.java,
13646         javax/swing/plaf/ActionMapUIResource.java,
13647         javax/swing/plaf/basic/BasicBorders.java,
13648         javax/swing/plaf/basic/BasicButtonUI.java,
13649         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13650         javax/swing/plaf/basic/BasicDefaults.java,
13651         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13652         javax/swing/plaf/basic/BasicIconFactory.java,
13653         javax/swing/plaf/basic/BasicLabelUI.java,
13654         javax/swing/plaf/basic/BasicListUI.java,
13655         javax/swing/plaf/basic/BasicLookAndFeel.java,
13656         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13657         javax/swing/plaf/basic/BasicPanelUI.java,
13658         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13659         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13660         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13661         javax/swing/plaf/basic/BasicTextUI.java,
13662         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13663         javax/swing/plaf/basic/BasicTreeUI.java,
13664         javax/swing/plaf/basic/BasicViewportUI.java,
13665         javax/swing/plaf/BorderUIResource.java,
13666         javax/swing/plaf/ButtonUI.java,
13667         javax/swing/plaf/ColorChooserUI.java,
13668         javax/swing/plaf/ColorUIResource.java,
13669         javax/swing/plaf/ComboBoxUI.java,
13670         javax/swing/plaf/ComponentInputMapUIResource.java,
13671         javax/swing/plaf/ComponentUI.java,
13672         javax/swing/plaf/DesktopIconUI.java,
13673         javax/swing/plaf/DesktopPaneUI.java,
13674         javax/swing/plaf/DimensionUIResource.java,
13675         javax/swing/plaf/FileChooserUI.java,
13676         javax/swing/plaf/FontUIResource.java,
13677         javax/swing/plaf/IconUIResource.java,
13678         javax/swing/plaf/InputMapUIResource.java,
13679         javax/swing/plaf/InsetsUIResource.java,
13680         javax/swing/plaf/InternalFrameUI.java,
13681         javax/swing/plaf/LabelUI.java,
13682         javax/swing/plaf/ListUI.java,
13683         javax/swing/plaf/MenuBarUI.java,
13684         javax/swing/plaf/MenuItemUI.java,
13685         javax/swing/plaf/OptionPaneUI.java,
13686         javax/swing/plaf/PanelUI.java,
13687         javax/swing/plaf/PopupMenuUI.java,
13688         javax/swing/plaf/ProgressBarUI.java,
13689         javax/swing/plaf/RootPaneUI.java,
13690         javax/swing/plaf/ScrollBarUI.java,
13691         javax/swing/plaf/ScrollPaneUI.java,
13692         javax/swing/plaf/SeparatorUI.java,
13693         javax/swing/plaf/SliderUI.java,
13694         javax/swing/plaf/SplitPaneUI.java,
13695         javax/swing/plaf/TabbedPaneUI.java,
13696         javax/swing/plaf/TableHeaderUI.java,
13697         javax/swing/plaf/TableUI.java,
13698         javax/swing/plaf/TextUI.java,
13699         javax/swing/plaf/ToolBarUI.java,
13700         javax/swing/plaf/ToolTipUI.java,
13701         javax/swing/plaf/TreeUI.java,
13702         javax/swing/plaf/UIResource.java,
13703         javax/swing/plaf/ViewportUI.java,
13704         javax/swing/ProgressMonitorInputStream.java,
13705         javax/swing/ProgressMonitor.java,
13706         javax/swing/Renderer.java,
13707         javax/swing/RepaintManager.java,
13708         javax/swing/RootPaneContainer.java,
13709         javax/swing/Scrollable.java,
13710         javax/swing/ScrollPaneConstants.java,
13711         javax/swing/ScrollPaneLayout.java,
13712         javax/swing/SingleSelectionModel.java,
13713         javax/swing/SizeRequirements.java,
13714         javax/swing/SizeSequence.java,
13715         javax/swing/SwingConstants.java,
13716         javax/swing/SwingUtilities.java,
13717         javax/swing/table/AbstractTableModel.java,
13718         javax/swing/table/DefaultTableCellRenderer.java,
13719         javax/swing/table/DefaultTableColumnModel.java,
13720         javax/swing/table/DefaultTableModel.java,
13721         javax/swing/table/TableCellEditor.java,
13722         javax/swing/table/TableCellRenderer.java,
13723         javax/swing/table/TableColumn.java,
13724         javax/swing/table/TableColumnModel.java,
13725         javax/swing/table/TableModel.java,
13726         javax/swing/text/AbstractDocument.java,
13727         javax/swing/text/AttributeSet.java,
13728         javax/swing/text/BadLocationException.java,
13729         javax/swing/text/Caret.java,
13730         javax/swing/text/CharacterIterator.java,
13731         javax/swing/text/ComponentView.java,
13732         javax/swing/text/DefaultCaret.java,
13733         javax/swing/text/DefaultEditorKit.java,
13734         javax/swing/text/Document.java,
13735         javax/swing/text/EditorKit.java,
13736         javax/swing/text/Element.java,
13737         javax/swing/text/GapContent.java,
13738         javax/swing/text/JTextComponent.java,
13739         javax/swing/text/Keymap.java,
13740         javax/swing/text/MutableAttributeSet.java,
13741         javax/swing/text/PlainDocument.java,
13742         javax/swing/text/PlainEditorKit.java,
13743         javax/swing/text/Position.java,
13744         javax/swing/text/Segment.java,
13745         javax/swing/text/StyledDocument.java,
13746         javax/swing/text/StyledEditorKit.java,
13747         javax/swing/text/Style.java,
13748         javax/swing/text/TextAction.java,
13749         javax/swing/text/ViewFactory.java,
13750         javax/swing/text/View.java,
13751         javax/swing/Timer.java,
13752         javax/swing/ToggleButtonModel.java,
13753         javax/swing/ToolTipManager.java,
13754         javax/swing/tree/AbstractLayoutCache.java,
13755         javax/swing/tree/DefaultMutableTreeNode.java,
13756         javax/swing/tree/DefaultTreeCellEditor.java,
13757         javax/swing/tree/DefaultTreeCellRenderer.java,
13758         javax/swing/tree/DefaultTreeModel.java,
13759         javax/swing/tree/DefaultTreeSelectionModel.java,
13760         javax/swing/tree/ExpandVetoException.java,
13761         javax/swing/tree/FixedHeightLayoutCache.java,
13762         javax/swing/tree/MutableTreeNode.java,
13763         javax/swing/tree/RowMapper.java,
13764         javax/swing/tree/TreeCellEditor.java,
13765         javax/swing/tree/TreeCellRenderer.java,
13766         javax/swing/tree/TreeModel.java,
13767         javax/swing/tree/TreeNode.java,
13768         javax/swing/tree/TreePath.java,
13769         javax/swing/tree/TreeSelectionModel.java,
13770         javax/swing/tree/VariableHeightLayoutCache.java,
13771         javax/swing/UIDefaults.java,
13772         javax/swing/UIManager.java,
13773         javax/swing/undo/AbstractUndoableEdit.java,
13774         javax/swing/undo/CannotRedoException.java,
13775         javax/swing/undo/CannotUndoException.java,
13776         javax/swing/undo/CompoundEdit.java,
13777         javax/swing/undo/StateEditable.java,
13778         javax/swing/undo/StateEdit.java,
13779         javax/swing/undo/UndoableEdit.java,
13780         javax/swing/undo/UndoableEditSupport.java,
13781         javax/swing/undo/UndoManager.java,
13782         javax/swing/UnsupportedLookAndFeelException.java,
13783         javax/swing/ViewportLayout.java,
13784         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13785
13786         * java/awt/ActiveEvent.java,
13787         java/awt/Adjustable.java, java/awt/AWTError.java,
13788         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13789         java/awt/AWTException.java, java/awt/AWTPermission.java,
13790         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13791         java/awt/Color.java, java/awt/Component.java,
13792         java/awt/ComponentOrientation.java, java/awt/Container.java,
13793         java/awt/datatransfer/MimeTypeParseException.java,
13794         java/awt/datatransfer/Transferable.java,
13795         java/awt/datatransfer/UnsupportedFlavorException.java,
13796         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13797         java/awt/event/ActionListener.java,
13798         java/awt/event/AdjustmentEvent.java,
13799         java/awt/event/AdjustmentListener.java,
13800         java/awt/event/AWTEventListener.java,
13801         java/awt/event/ComponentAdapter.java,
13802         java/awt/event/ComponentEvent.java,
13803         java/awt/event/ComponentListener.java,
13804         java/awt/event/ContainerAdapter.java,
13805         java/awt/event/ContainerEvent.java,
13806         java/awt/event/ContainerListener.java,
13807         java/awt/event/FocusAdapter.java,
13808         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13809         java/awt/event/HierarchyBoundsAdapter.java,
13810         java/awt/event/HierarchyBoundsListener.java,
13811         java/awt/event/HierarchyEvent.java,
13812         java/awt/event/HierarchyListener.java,
13813         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13814         java/awt/event/InputMethodListener.java,
13815         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13816         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13817         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13818         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13819         java/awt/event/MouseListener.java,
13820         java/awt/event/MouseMotionAdapter.java,
13821         java/awt/event/MouseMotionListener.java,
13822         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13823         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13824         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13825         java/awt/event/WindowListener.java, java/awt/Font.java,
13826         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13827         java/awt/geom/Ellipse2D.java,
13828         java/awt/geom/IllegalPathStateException.java,
13829         java/awt/geom/Line2D.java,
13830         java/awt/geom/NoninvertibleTransformException.java,
13831         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13832         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13833         java/awt/geom/RoundRectangle2D.java,
13834         java/awt/GraphicsConfiguration.java,
13835         java/awt/IllegalComponentStateException.java,
13836         java/awt/image/IndexColorModel.java,
13837         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13838         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13839         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13840         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13841         java/awt/MenuItem.java, java/awt/PaintContext.java,
13842         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13843         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13844         java/awt/PrintJob.java, java/awt/Rectangle.java,
13845         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13846         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13847         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13848
13849         * java/awt/im/spi/InputMethod.java,
13850         java/awt/im/spi/InputMethodContext.java,
13851         java/awt/im/spi/InputMethodDescriptor.java,
13852         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13853         java/awt/image/renderable/ParameterBlock.java,
13854         java/awt/image/renderable/RenderContext.java,
13855         java/awt/image/renderable/RenderableImage.java,
13856         java/awt/image/renderable/RenderableImageOp.java,
13857         java/awt/image/renderable/RenderableImageProducer.java,
13858         java/awt/image/renderable/RenderedImageFactory.java: New files from
13859         classpath.
13860
13861         * gnu/java/awt/EventModifier.java,
13862         gnu/java/awt/image/ImageDecoder.java,
13863         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13864
13865         * gnu/awt/xlib/XGraphicsConfiguration.java,
13866         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13867         API.
13868
13869         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13870         GNU Classpath.
13871
13872         * Makefile.am: Add new files.
13873         * Makefile.in: Rebuilt.
13874
13875 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13876
13877         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13878         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13879         findResource, getResources, findResources): Add javadoc from classpath.
13880         (getSystemResources): Implemented.
13881
13882 2002-08-01  Mark Wielaard  <mark@klomp.org>
13883
13884         Revert patch that breaks libgcj shared library on powerpc:
13885         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13886         implementation classes by using Class.getName(). Uses Strings again.
13887         * gnu/java/security/der/DEREncodingException.java,
13888         gnu/java/security/provider/DERReader.java,
13889         gnu/java/security/provider/DERWriter.java,
13890         gnu/java/security/provider/DSAKeyPairGenerator.java,
13891         gnu/java/security/provider/DSAParameterGenerator.java,
13892         gnu/java/security/provider/DSAParameters.java,
13893         gnu/java/security/provider/DSASignature.java,
13894         gnu/java/security/provider/GnuDSAPrivateKey.java,
13895         gnu/java/security/provider/GnuDSAPublicKey.java,
13896         gnu/java/security/provider/MD5.java,
13897         gnu/java/security/util/Prime.java: Removed.
13898         * Makefile.am (ordinary_java_source_files): Remove above files.
13899         * Makefile.in: Regenerate.
13900         * gnu/java/security/provider/DefaultPolicy.java
13901         (getPermissions): Revert to maintaining static class variable of
13902         Permissions.
13903         * gnu/java/security/provider/SHA.java
13904         (engineUpdate): Revert algorithm change.
13905         (engineDigest): Revert algorithm change.
13906
13907 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13908
13909         * configure.host: Add SH support.
13910         * sysdep/sh/locks.h: New file.
13911
13912 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13913
13914         * java/awt/Frame.java (Frame): Remove println calls.
13915
13916 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13917
13918         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13919         * configure: Rebuilt.
13920
13921 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13922
13923         * sysdep/powerpc/locks.h: Formatting.
13924         (_LARX): Define.
13925         (_STCX): Define.
13926         (compare_and_swap): Use _LARX and _STCX.
13927         (compare_and_swap_release): Likewise.
13928
13929 2002-07-26  Tom Tromey  <tromey@redhat.com>
13930
13931         * java/net/Authenticator.java: New version from Classpath.
13932         * java/net/DatagramSocketImpl.java: New version from Classpath.
13933
13934 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13935
13936         * configure.host: Add powerpc64*-* entry.
13937
13938 2002-07-26  Tom Tromey  <tromey@redhat.com>
13939
13940         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13941         fcntl.h.
13942
13943 2002-07-24  Tom Tromey  <tromey@redhat.com>
13944
13945         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13946         argument to _load.
13947
13948 2002-07-24  Tom Tromey  <tromey@redhat.com>
13949             Tony Kimball <alk@pobox.com>
13950
13951         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13952         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13953         * java/io/RandomAccessFile.java (setLength): New method.
13954         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13955         * java/io/FileDescriptor.java (setLength): New method.
13956
13957 2002-07-24  Mark Wielaard  <mark@klomp.org>
13958
13959         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13960         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13961         field call setAccessible(true).
13962         (setByteField): Likewise.
13963         (setCharField): Likewise.
13964         (setDoubleField): Likewise.
13965         (setFloatField): Likewise.
13966         (setIntField): Likewise.
13967         (setLongField): Likewise.
13968         (setShortField): Likewise.
13969         (setObjectField): Likewise.
13970
13971 2002-07-24  Tom Tromey  <tromey@redhat.com>
13972
13973         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13974         use toString() to format array element.
13975
13976 2002-07-23  Mark Wielaard  <mark@klomp.org>
13977
13978         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13979         MessageDigestSpi (fixes Classpath bug #783).
13980
13981 2002-07-21  Mark Wielaard  <mark@klomp.org>
13982
13983         * gnu/java/security/provider/Gnu.java: Reference all implementation
13984         classes by using Class.getName().
13985
13986 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13987
13988         * java/lang/ieeefp.h: Add x86-64 support.
13989         * configure.in: Likewise.
13990         * configure.host: Likewise.
13991         * configure: Regenerated.
13992         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13993
13994 2002-07-16  Mark Wielaard  <mark@klomp.org>
13995
13996         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13997         (whitespaceChars): call resetChar().
13998
13999 2002-07-15  Tom Tromey  <tromey@redhat.com>
14000
14001         * Makefile.in: Rebuilt.
14002         * Makefile.am (awt_java_source_files): Added new files.
14003         * java/beans/ExceptionListener.java: Merged with Classpath.
14004         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14005         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14006         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14007         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14008         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14009         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14010         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14011
14012 2002-07-14  Mark Wielaard  <mark@klomp.org>
14013
14014         * gnu/java/security/der/DEREncodingException.java,
14015         gnu/java/security/provider/DERReader.java,
14016         gnu/java/security/provider/DERWriter.java,
14017         gnu/java/security/provider/DSAKeyPairGenerator.java,
14018         gnu/java/security/provider/DSAParameterGenerator.java,
14019         gnu/java/security/provider/DSAParameters.java,
14020         gnu/java/security/provider/DSASignature.java,
14021         gnu/java/security/provider/GnuDSAPrivateKey.java,
14022         gnu/java/security/provider/GnuDSAPublicKey.java,
14023         gnu/java/security/provider/MD5.java,
14024         gnu/java/security/util/Prime.java: New files from Classpath.
14025         * Makefile.am (ordinary_java_source_files): Add new files.
14026         * Makefile.in: Regenerate.
14027
14028 2002-07-14  C. Brian Jones <cbj@gnu.org>
14029
14030         * gnu/java/security/provider/DefaultPolicy.java
14031         (getPermissions): do not maintain static class variable of
14032         Permissions
14033         * gnu/java/security/provider/SHA.java
14034         (engineUpdate): algorithm change
14035         (engineDigest): algorithm change
14036
14037 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14038
14039         For PR libgcj/7292:
14040         * java/lang/Character.java (toString(char)): Now static.
14041
14042 2002-07-12  Mark Wielaard  <mark@klomp.org>
14043
14044         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14045         (getStackTrace0): new method.
14046         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14047         (printStackTrace(PrintWriter)): replace with pure java implementation.
14048         (printRawStackTrace): removed.
14049         (getStackTrace0): new method.
14050         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14051         * gcj/javaprims.h: regenerate class list.
14052         * include/name-finder.h (lookup): new returns StackTraceElement*.
14053         (method_name, file_name): fields removed.
14054         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14055         (~_Jv_name_finder): close new descriptors.
14056         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14057         (createStackTraceElement): new method.
14058         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14059
14060 2002-07-10  Tom Tromey  <tromey@redhat.com>
14061
14062         * configure: Rebuilt.
14063         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14064
14065 2002-07-08  Mark Wielaard  <mark@klomp.org>
14066
14067         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14068         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14069         java.sql.DatabaseMetaData.TestJdbc20
14070
14071 2002-07-05  Tony Kimball  <alk@pobox.com>
14072
14073         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14074
14075 2002-07-04  Tom Tromey  <tromey@redhat.com>
14076             Jeff Sturm  <jsturm@one-point.com>
14077
14078         Fix for PR libgcj/7060:
14079         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14080         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14081         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14082         * java/lang/Class.java (getMethod): New Java implementation;
14083         complies with spec.
14084         (_getMethod): New native method.
14085
14086 2002-07-02  Tom Tromey  <tromey@redhat.com>
14087             David Hovemeyer  <daveho@cs.umd.edu>
14088
14089         * java/text/ChoiceFormat.java
14090         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14091         in check loop.
14092         * java/text/MessageFormat.java
14093         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14094         to MessageFormat.
14095
14096 2002-07-01  Tom Tromey  <tromey@redhat.com>
14097
14098         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14099         StringTokenizer on null string.  For PR libgcj/7180.
14100         From daveho@cs.umd.edu.
14101
14102 2002-06-24  Tom Tromey  <tromey@redhat.com>
14103
14104         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14105         (IntegerClass): Likewise.
14106         * java/lang/natClass.cc (CloneableClass): Removed.
14107         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14108         ConstructorClass): Likewise.
14109         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14110         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14111         SerializableClass): Likewise.
14112         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14113         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14114         LongClass, FloatClass, DoubleClass): Likewise.
14115
14116         * verify.cc (branch_prepass): Updated for change to exception
14117         handler type.
14118         (verify_instructions_0): Likewise.
14119         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14120         (handleExceptionTableEntry): Updated for change to exception
14121         handler type.
14122         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14123         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14124         (union _Jv_InterpPC): New.
14125         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14126         (class _Jv_InterpMethod): Added new `prepared' field.
14127         (class _Jv_InterpMethod): Added `compile' method.  Removed
14128         `continue1' and `find_exception'.  Changed arguments to `run'.
14129         * interpret.cc (union insn_slot): New.
14130         (find_exception): Removed.
14131         (run_normal): Removed most logic.
14132         (run_synch_object): Likewise; also, use JvSynchronize.
14133         (run_synch_class): Likewise.
14134         (run): Removed.
14135         (continue1): Renamed as `run'.  Compile bytecode if required.
14136         Add new code to allow refinement of direct-threaded code at
14137         runtime.  Handle exceptions.
14138         (SAVE_PC): Removed.
14139         (compile): New method.
14140         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14141         (NULLARRAYCHECK): Don't use SAVE_PC.
14142         (pc_t): New typedef.
14143         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14144         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14145
14146 2002-06-23  Tom Tromey  <tromey@redhat.com>
14147
14148         * configure: Rebuilt.
14149         * configure.in (INTERPRETER): New subst.
14150         (AM_RUNTESTFLAGS): Don't subst.
14151
14152         * Makefile.in: Rebuilt.
14153         * Makefile.am ($(srcdir)/java/lang/Object.h,
14154         $(srcdir)/java/lang/Class.h): Added dummy targets.
14155
14156 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14157
14158         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14159
14160         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14161         java/sql/Savepoint.java: New files.
14162         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14163         java/sql/Blob.java, java/sql/CallableStatement.java,
14164         java/sql/Clob.java, java/sql/Connection.java,
14165         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14166         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14167         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14168         java/sql/Ref.java, java/sql/ResultSet.java,
14169         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14170         java/sql/SQLException.java, java/sql/SQLInput.java,
14171         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14172         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14173         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14174         (JDK 1.4) specification.
14175         * javax/sql/ConnectionEvent.java,
14176         javax/sql/ConnectionEventListener.java,
14177         javax/sql/ConnectionPoolDataSource.java,
14178         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14179         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14180         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14181         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14182         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14183         javax/sql/XADataSource.java: New files.
14184         * Makefile.am: Add new files.
14185         * Makefile.in: Rebuilt.
14186
14187 2002-06-20  Tom Tromey  <tromey@redhat.com>
14188
14189         For PR libgcj/7073:
14190         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14191         exists.
14192         * defineclass.cc (handleClassBegin): Superclass for interface is
14193         `null'.
14194
14195 2002-06-18  Tom Tromey  <tromey@redhat.com>
14196
14197         * gcj/javaprims.h: Updated class declaration list.
14198         * Makefile.in: Rebuilt.
14199         * Makefile.am (core_java_source_files): Removed
14200         BasicMapEntry.java.
14201         * java/util/BasicMapEntry.java: Removed.
14202
14203 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14204
14205         * java/net/natPlainDatagramSocketImpl.cc (receive):
14206         Check bounds of argument to FD_SET.
14207         (setOption): Throw exception if socket is closed.
14208
14209         * java/net/natPlainSocketImpl.cc (accept, read):
14210         Check bounds of argument to FD_SET.
14211         (setOption): Throw exception if socket is closed.
14212
14213 2002-06-18  Tom Tromey  <tromey@redhat.com>
14214
14215         * gcj/javaprims.h: Updated class declaration list.
14216         * Makefile.in: Rebuilt.
14217         * Makefile.am (core_java_source_files): Added
14218         PropertyPermissionCollection.java.
14219         * java/lang/Thread.java (group, name): Now package-private.
14220         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14221         * java/util/AbstractList.java: Likewise.
14222         * java/util/AbstractMap.java: Likewise.
14223         * java/util/Calendar.java: Likewise.
14224         * java/util/Collections.java: Likewise.
14225         * java/util/HashMap.java: Likewise.
14226         * java/util/Hashtable.java: Likewise.
14227         * java/util/LinkedHashMap.java: Likewise.
14228         * java/util/LinkedList.java: Likewise.
14229         * java/util/List.java: Likewise.
14230         * java/util/ListResourceBundle.java: Likewise.
14231         * java/util/Map.java: Likewise.
14232         * java/util/Observable.java: Likewise.
14233         * java/util/Properties.java: Likewise.
14234         * java/util/PropertyPermission.java: Likewise.
14235         * java/util/PropertyPermissionCollection.java: Likewise.
14236         * java/util/PropertyResourceBundle.java: Likewise.
14237         * java/util/Random.java: Likewise.
14238         * java/util/SimpleTimeZone.java: Likewise.
14239         * java/util/StringTokenizer.java: Likewise.
14240         * java/util/TimerTask.java: Likewise.
14241         * java/util/TreeMap.java: Likewise.
14242         * java/util/WeakHashMap.java: Likewise.
14243         * java/util/jar/Attributes.java: Likewise.
14244         * java/util/jar/JarException.java: Likewise.
14245         * java/util/jar/Manifest.java: Likewise.
14246
14247 2002-06-17  Tom Tromey  <tromey@redhat.com>
14248
14249         * gcj/javaprims.h: Updated class declaration list.
14250         * Makefile.in: Rebuilt.
14251         * Makefile.am (core_java_source_files): Added new file.
14252         * java/util/EventListenerProxy.java: New file.
14253         * java/util/EventListener.java: Re-merge with Classpath.
14254         * java/util/EventObject.java: Re-merge with Classpath.
14255
14256 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14257
14258         * java/lang/ClassNotFoundException.java: New Classpath version.
14259
14260 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14261
14262         * java/rmi/activation/ActivateFailedException.java: Remerge from
14263         Classpath version.
14264         * java/rmi/activation/ActivationException.java: Ditto.
14265         * java/rmi/activation/UnknownGroupException.java: Ditto.
14266         * java/rmi/activation/UnknownObjectException.java: Ditto.
14267         * java/rmi/server/ExportException: Ditto.
14268         * java/rmi/server/ServerCloneException: Ditto.
14269         * java/rmi/server/ServerNotActiveException: Ditto.
14270         * java/rmi/server/SkeletonMismatchException: Ditto.
14271         * java/rmi/server/SkeletonNotFoundException: Ditto.
14272         * java/rmi/server/SocketSecurityException: Ditto.
14273
14274 2002-06-16  Tom Tromey  <tromey@redhat.com>
14275
14276         * gcj/javaprims.h: Updated class declaration list.
14277
14278         * java/io/LineNumberInputStream.java: Merged with Classpath.
14279
14280         * java/lang/RuntimeException.java: Re-merge with Classpath.
14281         * java/util/ArrayList.java: Likewise.
14282         * java/util/Arrays.java: Likewise.
14283         * java/util/BitSet.java: Likewise.
14284         * java/util/Dictionary.java: Likewise.
14285         * java/util/IdentityHashMap.java: Likewise.
14286         * java/util/MissingResourceException.java: Likewise.
14287         * java/util/Observer.java: Likewise.
14288         * java/util/TooManyListenersException.java: Likewise.
14289         * java/util/zip/DataFormatException.java: Likewise.
14290         * java/util/zip/ZipException.java: Likewise.
14291
14292 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14293
14294         * java/rmi/AccessException.java: Remerge from Classpath.
14295         * java/rmi/AlreadyBoundException.java: Ditto.
14296         * java/rmi/ConnectException.java: Ditto.
14297         * java/rmi/ConnectIOException.java: Ditto.
14298         * java/rmi/MarshalException.java: Ditto.
14299         * java/rmi/NoSuchObjectException.java: Ditto.
14300         * java/rmi/NotBoundException.java: Ditto.
14301         * java/rmi/RemoteException.java: Ditto.
14302         * java/rmi/RMISecurityException.java: Ditto.
14303         * java/rmi/ServerError.java: Ditto.
14304         * java/rmi/ServerException.java: Ditto.
14305         * java/rmi/ServerRuntimeException.java: Ditto.
14306         * java/rmi/StubNotFoundException.java: Ditto.
14307         * java/rmi/UnexpectedExcpetion.java: Ditto.
14308         * java/rmi/UnknownHostException.java: Ditto.
14309         * java/rmi/UnmarshalException.java: Ditto.
14310
14311 2002-06-15  Tom Tromey  <tromey@redhat.com>
14312
14313         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14314         * java/lang/ArithmeticException.java: Likewise.
14315         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14316         * java/lang/ArrayStoreException.java: Likewise.
14317         * java/lang/Byte.java: Likewise.
14318         * java/lang/CharSequence.java: Likewise.
14319         * java/lang/ClassCastException.java: Likewise.
14320         * java/lang/ClassCircularityError.java: Likewise.
14321         * java/lang/ClassFormatError.java: Likewise.
14322         * java/lang/CloneNotSupportedException.java: Likewise.
14323         * java/lang/Cloneable.java: Likewise.
14324         * java/lang/Comparable.java: Likewise.
14325         * java/lang/Compiler.java: Likewise.
14326         * java/lang/Error.java: Likewise.
14327         * java/lang/ExceptionInInitializerError.java: Likewise.
14328         * java/lang/IllegalAccessError.java: Likewise.
14329         * java/lang/IllegalAccessException.java: Likewise.
14330         * java/lang/IllegalArgumentException.java: Likewise.
14331         * java/lang/IllegalMonitorStateException.java: Likewise.
14332         * java/lang/IllegalStateException.java: Likewise.
14333         * java/lang/IllegalThreadStateException.java: Likewise.
14334         * java/lang/IncompatibleClassChangeError.java: Likewise.
14335         * java/lang/IndexOutOfBoundsException.java: Likewise.
14336         * java/lang/InheritableThreadLocal.java: Likewise.
14337         * java/lang/InstantiationError.java: Likewise.
14338         * java/lang/InstantiationException.java: Likewise.
14339         * java/lang/InternalError.java: Likewise.
14340         * java/lang/InterruptedException.java: Likewise.
14341         * java/lang/LinkageError.java: Likewise.
14342         * java/lang/NegativeArraySizeException.java: Likewise.
14343         * java/lang/NoClassDefFoundError.java: Likewise.
14344         * java/lang/NoSuchFieldError.java: Likewise.
14345         * java/lang/NoSuchFieldException.java: Likewise.
14346         * java/lang/NoSuchMethodError.java: Likewise.
14347         * java/lang/NoSuchMethodException.java: Likewise.
14348         * java/lang/NullPointerException.java: Likewise.
14349         * java/lang/NumberFormatException.java: Likewise.
14350         * java/lang/OutOfMemoryError.java: Likewise.
14351         * java/lang/Process.java: Likewise.
14352         * java/lang/Runnable.java: Likewise.
14353         * java/lang/RuntimePermission.java: Likewise.
14354         * java/lang/SecurityException.java: Likewise.
14355         * java/lang/Short.java: Likewise.
14356         * java/lang/StackOverflowError.java: Likewise.
14357         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14358         * java/lang/ThreadDeath.java: Likewise.
14359         * java/lang/ThreadLocal.java: Likewise.
14360         * java/lang/UnknownError.java: Likewise.
14361         * java/lang/UnsatisfiedLinkError.java: Likewise.
14362         * java/lang/UnsupportedClassVersionError.java: Likewise.
14363         * java/lang/UnsupportedOperationException.java: Likewise.
14364         * java/lang/VerifyError.java: Likewise.
14365         * java/lang/VirtualMachineError.java: Likewise.
14366         * java/lang/reflect/InvocationTargetException.java: Likewise.
14367         * java/net/BindException.java: Likewise.
14368         * java/net/ConnectException.java: Likewise.
14369         * java/net/MalformedURLException.java: Likewise.
14370         * java/net/NoRouteToHostException.java: Likewise.
14371         * java/net/ProtocolException.java: Likewise.
14372         * java/net/SocketException.java: Likewise.
14373         * java/net/UnknownHostException.java: Likewise.
14374         * java/net/UnknownServiceException.java: Likewise.
14375
14376         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14377         * java/io/CharConversionException.java: Likewise.
14378         * java/io/EOFException.java: Likewise.
14379         * java/io/FileNotFoundException.java: Likewise.
14380         * java/io/IOException.java: Likewise.
14381         * java/io/InterruptedIOException.java: Likewise.
14382         * java/io/InvalidClassException.java: Likewise.
14383         * java/io/InvalidObjectException.java: Likewise.
14384         * java/io/NotActiveException.java: Likewise.
14385         * java/io/NotSerializableException.java: Likewise.
14386         * java/io/ObjectStreamException.java: Likewise.
14387         * java/io/ObjectStreamConstants.java: Likewise.
14388         * java/io/OptionalDataException.java: Likewise.
14389         * java/io/PipedInputStream.java: Likewise.
14390         * java/io/PushbackInputStream.java: Likewise.
14391         * java/io/StreamCorruptedException.java: Likewise.
14392         * java/io/SyncFailedException.java: Likewise.
14393         * java/io/UTFDataFormatException.java: Likewise.
14394         * java/io/UnsupportedEncodingException.java: Likewise.
14395         * java/io/WriteAbortedException.java: Likewise.
14396
14397 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14398
14399         * java/text/ChoiceFormat.java: Update comments from Classpath.
14400         * java/text/ParseException.java (serialVersionUID): New
14401         field from Classpath.
14402         * java/text/ParseException.java: Update formatting & comments
14403         from Classpath.
14404
14405 2002-06-15  Tom Tromey  <tromey@redhat.com>
14406
14407         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14408         been read but none output by inflater.
14409         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14410         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14411         is_finished.
14412         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14413         version.
14414         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14415         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14416         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14417         version.
14418         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14419
14420 2002-06-13  Tom Tromey  <tromey@redhat.com>
14421
14422         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14423         true and OFFSET!=0.
14424         * java/lang/String.java (String(char[],int,int,boolean): New
14425         constructor.
14426         * java/lang/Long.java: Imported new version from Classpath.
14427         * java/lang/Number.java: Likewise.
14428         * java/lang/Integer.java: Likewise.
14429         * java/lang/Long.java: Likewise.
14430         * java/lang/Float.java: Likewise.
14431         * java/lang/Boolean.java: Likewise.
14432         * java/lang/Double.java: Likewise.
14433         * java/lang/Void.java: Likewise.
14434
14435 2002-06-12  Tom Tromey  <tromey@redhat.com>
14436
14437         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14438         Fixes PR libgcj/6652.
14439
14440 2002-06-10  Tom Tromey  <tromey@redhat.com>
14441
14442         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14443         (Class::getPackagePortion): Likewise.
14444         * java/lang/Class.java (desiredAssertionStatus): New method from
14445         Classpath.
14446         (getPackagePortion): Likewise.
14447         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14448         packageAssertionStatus, classAssertionStatus): New methods from
14449         Classpath.
14450         * java/lang/ClassLoader.java (defaultAssertionStatus,
14451         systemPackageAssertionStatus, packageAssertionStatus,
14452         systemClassAssertionStatus, classAssertionStatus): New fields from
14453         Classpath.
14454         (setDefaultAssertionStatus, setPackageAssertionStatus,
14455         setClassAssertionStatus, clearAssertionStatus): New methods from
14456         Classpath.
14457         * Makefile.in: Rebuilt.
14458         * Makefile.am (core_java_source_files): Added AssertionError.java.
14459         * java/lang/AssertionError.java: New from Classpath.
14460
14461 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14462
14463         * configure.host: Disable hash synchronization and slow_pthread_self
14464         for cygwin.
14465
14466 2002-06-06  Adam Megacz <adam@xwt.org>
14467
14468         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14469         locking, just like the Sun JVM does.
14470
14471 2002-06-05  H.J. Lu  (hjl@gnu.org)
14472
14473         * Makefile.am (libgcj_convenience.la): Revert the last change.
14474         (libgcj.la): Likewise.
14475         * Makefile.in: Regenerated.
14476
14477 2002-06-04  H.J. Lu  (hjl@gnu.org)
14478
14479         * Makefile.am (libgcj_convenience.la): New target.
14480         (libgcj.la): Depend on libgcj_convenience.la.
14481         * Makefile.in: Regenerated.
14482
14483 2002-06-04  H.J. Lu  (hjl@gnu.org)
14484
14485         * configure.in (--with-newlib): New option:
14486         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14487         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14488         Linux.
14489         * configure: Regenerated.
14490
14491 2002-06-04  Tom Tromey  <tromey@redhat.com>
14492
14493         * java/util/natTimeZone.cc: Include <stdio.h>.
14494
14495 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14496
14497         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14498         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14499         Set SIGNAL_HANDLER=include/s390-linux.h.
14500         * configure: Regenerate.
14501         * include/s390-linux.h: New file.
14502
14503 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14504
14505         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14506         not "stackTrace".
14507
14508 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14509
14510         Merge JDK 1.4 java.security changes from classpath.
14511
14512         * java/security/AccessControlException.java: Merge from Classpath.
14513         * java/security/AccessController.java: Likewise.
14514         * java/security/AllPermission.java: Likewise.
14515         * java/security/BasicPermission.java: Likewise.
14516         * java/security/Certificate.java: Likewise.
14517         * java/security/CodeSource.java: Likewise.
14518         * java/security/DigestException.java: Likewise.
14519         * java/security/DigestOutputStream.java: Likewise.
14520         * java/security/DomainCombiner.java: Likewise.
14521         * java/security/GeneralSecurityException.java: Likewise.
14522         * java/security/Guard.java: Likewise.
14523         * java/security/GuardedObject.java: Likewise.
14524         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14525         * java/security/InvalidKeyException.java: Likewise.
14526         * java/security/InvalidParameterException.java: Likewise.
14527         * java/security/Key.java: Likewise.
14528         * java/security/KeyException.java: Likewise.
14529         * java/security/KeyManagementException.java: Likewise.
14530         * java/security/KeyStoreException.java: Likewise.
14531         * java/security/MessageDigest.java: Likewise.
14532         * java/security/NoSuchAlgorithmException.java: Likewise.
14533         * java/security/NoSuchProviderException.java: Likewise.
14534         * java/security/Permission.java: Likewise.
14535         * java/security/PermissionCollection.java: Likewise.
14536         * java/security/Permissions.java: Likewise.
14537         * java/security/Policy.java: Likewise.
14538         * java/security/Principal.java: Likewise.
14539         * java/security/PrivateKey.java: Likewise.
14540         * java/security/PrivilegedAction.java: Likewise.
14541         * java/security/PrivilegedActionException.java: Likewise.
14542         * java/security/PrivilegedExceptionAction.java: Likewise.
14543         * java/security/ProtectionDomain.java: Likewise.
14544         * java/security/ProviderException.java: Likewise.
14545         * java/security/PublicKey.java: Likewise.
14546         * java/security/SecureClassLoader.java: Likewise.
14547         * java/security/SecurityPermission.java: Likewise.
14548         * java/security/SignatureException.java: Likewise.
14549         * java/security/UnrecoverableKeyException.java: Likewise.
14550         * java/security/UnresolvedPermission.java: Likewise.
14551         * java/security/acl/AclNotFoundException.java: Likewise.
14552         * java/security/acl/LastOwnerException.java: Likewise.
14553         * java/security/acl/NotOwnerException.java: Likewise.
14554         * java/security/cert/CRLException.java: Likewise.
14555         * java/security/cert/CertificateEncodingException.java: Likewise.
14556         * java/security/cert/CertificateException.java: Likewise.
14557         * java/security/cert/CertificateExpiredException.java: Likewise.
14558         * java/security/cert/CertificateFactory.java: Likewise.
14559         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14560         * java/security/cert/CertificateParsingException.java: Likewise.
14561         * java/security/spec/InvalidKeySpecException.java: Likewise.
14562         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14563
14564         * java/security/cert/CertPath.java: New file.
14565         * java/security/cert/CertPathBuilderException.java: New file.
14566         * java/security/cert/CertPathValidatorException.java: New file.
14567         * java/security/cert/CertStoreException.java: New file.
14568
14569         * Makefile.am: Add new CertPath classes.
14570         * Makefile.in: Rebuilt.
14571
14572         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14573
14574 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14575
14576         Merge JDK 1.4 exception chaining support from classpath.
14577
14578         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14579         (stackTraceBytes): Rename from stackTrace.
14580         * java/lang/Exception.java: Merge from classpath.
14581         * java/lang/StackTraceElement: New file from classpath.
14582         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14583         * Makefile.am: Add StackTraceElement.
14584         * Makefile.in: Rebuilt.
14585
14586 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14587
14588         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14589         they build first.
14590         * Makefile.in: Rebuilt.
14591
14592 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14593
14594         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14595         * configure.in: Likewise.
14596         * aclocal.m4: Regenerate.
14597         * configure: Regenerate.
14598
14599 2002-05-13  Tom Tromey  <tromey@redhat.com>
14600
14601         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14602         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14603         Include platform.h.
14604
14605         Fixes PR libgcj/6389:
14606         * Makefile.in: Rebuilt.
14607         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14608         * java/util/natTimeZone.cc: New file.
14609         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14610         * java/lang/System.java: Merged with Classpath.
14611         * java/lang/Runtime.java: Merged with Classpath.
14612         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14613         security check.
14614         (setIn0): Renamed from setIn; don't run security check.
14615         (setOut0): Renamed from setOut; don't run security check.
14616         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14617         init_properties): Moved to natRuntime.cc.
14618         Moved many includes to natRuntime.cc.
14619         (isWordsBigEndian): New method.
14620         * java/lang/natRuntime.cc: Include Long.h, also other includes
14621         previously in natSystem.cc.
14622         (maxMemory): New function.
14623         (exitInternal): Renamed from `_exit'.
14624         (exit): Removed.
14625         (init): Don't set finalize_on_exit.
14626         (exitInternal): Use `finalizeOnExit'.
14627         (file_encoding, getpwuid_adaptor): New functions from
14628         natSystem.cc.
14629         (insertSystemProperties): New method, renamed from
14630         System::init_properties.  Don't set user.timezone.
14631         (_load): Don't call checkLink.
14632         (execInternal): New method.
14633         (availableProcessors): Likewise.
14634         (nativeGetLibname): Likewise.
14635
14636 2002-05-11  Mark Wielaard  <mark@klomp.org>
14637
14638         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14639         space characters.
14640         (previous_internal): Likewise.
14641
14642 2002-05-09  Tom Tromey  <tromey@redhat.com>
14643
14644         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14645
14646         * java/util/ResourceBundle.java: New version from Classpath.
14647         * java/util/Locale.java: Likewise.
14648
14649 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14650
14651         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14652         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14653         LD_LIBRARY_PATH.
14654
14655 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14656
14657         * libjava/Makefile.am (all_java_source_files): New variable.
14658         (all_java_class_files): Likewise.
14659         .java.class: New rule.
14660         (CLEANFILES): Remove tmp-list.
14661         * libjava/Makefile.in: Regenerated.
14662
14663 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14664
14665         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14666         Append .exe to executable names.  Fix for cygwin.
14667
14668 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14669
14670         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14671         script entry, and set LD to it when configuring multilibs.
14672         * configure: Rebuilt.
14673
14674 2002-05-07  Tom Tromey  <tromey@redhat.com>
14675
14676         * java/lang/natString.cc (unintern): Fixed typo.
14677
14678 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14679
14680         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14681         with -no-install on *-*-cygwin*.
14682
14683 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14684
14685         * testsuite/lib/libjava.exp (test_libjava_from_source):
14686         Add comment explaining last patch
14687
14688 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14689
14690         * testsuite/lib/libjava.exp (test_libjava_from_source):
14691         Append .exe to executable names.  If no suffix is present,
14692         then ".exe" is added by default on win32.  Harmless
14693         elsewhere so always do it.
14694
14695 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14696             Tom Tromey  <tromey@redhat.com>
14697
14698         * java/lang/natSystem.cc (getSystemTimeZone): Use
14699         HAVE_UNDERSCORE_TIMEZONE.
14700         * include/config.h.in: Rebuilt.
14701         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14702         * aclocal.m4, configure: Rebuilt.
14703         * acinclude.m4: Run AC_EXEEXT.
14704         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14705         Add test for `_timezone'.
14706
14707 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14708
14709         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14710         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14711         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14712         * Makefile.in: Rebuilt.
14713
14714 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14715
14716         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14717         use sigaction instead of __libc_sigaction.
14718
14719 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14720
14721         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14722         (libjava_init): Use it to find libgcj.spec.
14723         (libjava_arguments): Likewise.
14724
14725 2002-05-02  David S. Miller  <davem@redhat.com>
14726
14727         PR bootstrap/6525
14728         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14729         __libc_sigaction on Sparc.
14730
14731 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14732
14733         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14734         sys/filio.h, if present.
14735
14736 2002-04-30  Tom Tromey  <tromey@redhat.com>
14737
14738         * java/io/BufferedReader.java (fill): Handle case where markPos
14739         point to ignored \n.  Fixes PR libgcj/6301.
14740
14741 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14742
14743         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14744
14745 2002-04-29  Adam King <aking@dreammechanics.com>
14746
14747         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14748         of file in APPEND mode.
14749
14750 2002-04-25  David S. Miller  <davem@redhat.com>
14751
14752         PR target/6422
14753         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14754         program counter to next program counter minus 8.  Update
14755         comments in this macro to explain why.
14756
14757 2002-04-26  Tom Tromey  <tromey@redhat.com>
14758
14759         * verify.cc (construct_primitive_array_type) [void_type]: New
14760         case.
14761         (branch_prepass): Added dummy entries for unused instruction
14762         values.
14763         (verify_instructions_0): Likewise.
14764         * interpret.cc (continue1): Comment fix.
14765         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14766         * Makefile.in: Rebuilt.
14767         * Makefile.am: Added -Wswitch-enum.
14768
14769 2002-04-24  Tom Tromey  <tromey@redhat.com>
14770
14771         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14772         correct length of UTF-8 encoded name.  Strip leading `/'.
14773         (_Jv_RegisterResource): Use _Jv_Malloc.
14774
14775 2002-04-23  Adam Megacz <adam@xwt.org>
14776
14777         * win32.cc, include/win32.cc (backtrace): Added this function
14778         because Win32 does not supply it.
14779
14780 2002-04-21  David S. Miller  <davem@redhat.com>
14781
14782         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14783         magic instruction reading sequence.
14784
14785 2002-04-21  Mark Wielaard  <mark@klomp.org>
14786
14787         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14788
14789 2002-04-19  David S. Miller  <davem@redhat.com>
14790
14791         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14792         arg.
14793         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14794         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14795         on Sparc too.
14796         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14797         for 64-bit sparc.
14798         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14799         * sysdeps/sparc/locks.h: New file.
14800         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14801         on all sparc Solaris configurations.  Set to
14802         include/dwarf2-signal.h on sparc Linux.
14803         * configure: Regenerate
14804         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14805
14806 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14807
14808         * configure: Rebuilt.
14809         * configure.in (backtrace): Function doesn't work on IA-64.
14810
14811 2002-04-17  Adam King <aking@dreammechanics.com>
14812
14813         * java/io/File.java (normalizePath): Add Win32 support for auto
14814         conversion of a '/' path separator to Win32's '\' separator.
14815
14816 2002-04-16  Tom Tromey  <tromey@redhat.com>
14817
14818         Fix for PR libgcj/6081:
14819         * Makefile.in: Rebuilt.
14820         * Makefile.am (install-data-local): Use GNU make trick to avoid
14821         shell limit.
14822
14823 2002-04-16  Adam King <aking@dreammechanics.com>
14824             Tom Tromey  <tromey@redhat.com>
14825
14826         * java/io/natFileWin32.cc (performList): Return the correct array
14827         type.  Don't duplicate the creation of a File since it's already
14828         done earlier in the method and the existing code would cause a
14829         ArrayStoreException.  Don't use fixed-size array.
14830         (_access, _stat, attr, getCanonicalPath, performMkdir,
14831         performRenameTo): Don't use fixed-size array.
14832         (getCanonicalPath): Use throw, not _Jv_Throw.
14833
14834 2002-04-15  DJ Delorie  <dj@redhat.com>
14835
14836         * configure.in: Allow building in $srcdir.
14837         * configure: Regenerated.
14838
14839 2002-04-14  Mark Wielaard <mark@klomp.org>
14840
14841         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14842         * java/net/natSocketImpl.cc (close): Likewise.
14843
14844 2002-04-14  Mark Wielaard <mark@klomp.org>
14845
14846         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14847
14848 2002-04-13  Adam King <aking@dreammechanics.com>
14849
14850         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14851         the f/F/d/D modifiers.
14852
14853 2002-04-12  Anthony Green  <green@redhat.com>
14854
14855         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14856         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14857         * Makefile.in: Rebuilt.
14858         * configure.in: Substitute gcc_version.
14859         * configure: Rebuilt.
14860
14861 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14862
14863         * configure.host: Set can_unwind_signal on hosts which support it.
14864         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14865         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14866         exceptions and can_unwind_signal isn't set.
14867         * configure: Rebuilt.
14868
14869 2002-04-11  Tom Tromey  <tromey@redhat.com>
14870
14871         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14872
14873 2002-04-11  Adam King <aking@dreammechanics.com>
14874             Tom Tromey  <tromey@redhat.com>
14875
14876         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14877         _Jv_ThrowNullPointerException): Mark as noreturn.
14878         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14879         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14880         fixes.
14881
14882 2002-04-10  Tom Tromey  <tromey@redhat.com>
14883
14884         * Makefile.in: Rebuilt.
14885         * Makefile.am (java/lang/Thread.h): Mark
14886         _Jv_AttachCurrentThreadAsDaemon as friend.
14887         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14888         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14889         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14890         function.
14891         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14892         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14893         (_Jv_JNI_InvokeFunctions): Added
14894         _Jv_JNI_AttachCurrentThreadAsDaemon.
14895         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14896         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14897         (JNI_CreateJavaVM): Likewise.
14898         (_Jv_JNI_AttachCurrentThread): Likewise.
14899         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14900         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14901         (_Jv_JNIFunctions): Initialize new fields.
14902         (_Jv_JNI_NewDirectByteBuffer): New function.
14903         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14904         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14905         * include/jni.h (JNI_VERSION_1_4): New macro.
14906         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14907         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14908         (JNINativeInterface::NewDirectByteBuffer): New field.
14909         (JNINativeInterface::GetDirectBufferAddress): New field.
14910         (JNINativeInterface::GetDirectBufferCapacity): New field.
14911         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14912         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14913         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14914
14915 2002-04-09  Tom Tromey  <tromey@redhat.com>
14916
14917         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14918
14919 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14920
14921         Fix for PR libgcj/6187:
14922         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14923         distance.
14924
14925 2002-04-07  Mark Wielaard <mark@klomp.org>
14926
14927         * java/util/AbstractMap.java (putAll): Use entrySet size.
14928         (toString): Explicitly use getKey() and getValue().
14929
14930 2002-04-07  Mark Wielaard <mark@klomp.org>
14931
14932         * java/util/Hashtable.java (contains): Remove NullPointer check.
14933         (containsValue): Add NullPointer check.
14934         (remove): Always throw NullPointerException when key
14935         is null.
14936
14937 2002-04-07  Adam King <aking@dreammechanics.com>
14938
14939         * java/lang/natSystem.cc (init_properties): Call new function
14940         _Jv_platform_initProperties.
14941         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14942         support for the System properties os.name, os.arch, os.version,
14943         user.name, user.home, and user.dir.
14944         * include/posix.h, include/win32.h, posix.cc: New function
14945         _Jv_platform_initProperties.
14946
14947 2002-04-06  Mark Wielaard <mark@klomp.org>
14948
14949         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14950
14951 2002-04-06  Mark Wielaard <mark@klomp.org>
14952
14953         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14954         all of the remaining elements.
14955         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14956         (removeRange): If toIndex == fromIndex do
14957         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14958         (removeAll): Always throw NullPointerException when collection is
14959         null.
14960         (retrainAll): Likewise.
14961
14962 2002-04-05  Mark Wielaard <mark@klomp.org>
14963
14964         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14965         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14966
14967 2002-04-05  Adam Megacz <adam@xwt.org>
14968
14969         * exception.cc (abort): added static modifier
14970
14971 2002-04-04  Adam Megacz <adam@xwt.org>
14972
14973         * include/win32.h (_Jv_platform_close_on_exec): added inline
14974         modifier.
14975
14976 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14977
14978         * configure.host: Add case statement to support generic port
14979         properties.  Add *-*-freebsd* section.
14980
14981 2002-04-04  Mark Wielaard  <mark@klomp.org>
14982
14983         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14984         test.
14985         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14986         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14987         that depend on awt code and BufferedByteOutputStream.interrupt.
14988
14989 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14990
14991         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14992         incorrect "hi" value when count > 40.
14993
14994 2002-04-03  Mark Wielaard  <mark@klomp.org>
14995
14996         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14997         ordering.
14998
14999 2002-04-02  Tom Tromey  <tromey@redhat.com>
15000
15001         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15002         not `0'.
15003
15004 2002-04-02  Mark Wielaard  <mark@klomp.org>
15005
15006         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15007         list of testsuite crashers.
15008
15009 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15010
15011         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15012         when resizing table.
15013
15014 2002-04-01  Mark Wielaard  <mark@klomp.org>
15015
15016         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15017         NegativeArraySizeException
15018         (clear(int)): Use sign extended shift.
15019         (flip(int)): Likewise.
15020         (get(int)): Likewise.
15021         (nextClearBit(int)): Likewise.
15022         (nextSetBit(int)): Likewise.
15023         (set(int)): Likewise.
15024
15025 2002-04-01  Mark Wielaard  <mark@klomp.org>
15026
15027         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15028         that can be compiled now and add testsuite crashers to ignore list.
15029
15030 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15031
15032         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15033
15034         * libgcj.spec.in: Override libgcc, not lib.
15035         * libgcj-test.spec.in: Likewise.
15036
15037 2002-03-29  Tom Tromey  <tromey@redhat.com>
15038
15039         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15040         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15041
15042 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15043
15044         * java/net/PlainDatagramSocketImpl.java
15045         (close): Use native implementation.
15046         (finalize): New method.
15047
15048         * java/net/PlainSocketImpl.java (finalize): New method.
15049
15050         * java/net/natPlainDatagramSocketImpl.cc
15051         (java/io/FileDescriptor.h): Don't include.
15052         (close): Implement method here.
15053         (create): Don't assign fd.
15054
15055         * java/net/natPlainSocketImpl.cc
15056         (java/io/FileDescriptor.h): Don't include.
15057         (create): Don't assign fd.
15058         (accept): Likewise.
15059         (close): Synchronize.
15060
15061 2002-03-27  Richard Henderson  <rth@redhat.com>
15062
15063         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15064
15065 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15066
15067         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15068         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15069         instead of syscall on IA-64.
15070         Add FIXME comment.
15071
15072 2002-03-27  Anthony Green  <green@redhat.com>
15073
15074         * libgcj.spec.in: Add CHECKREFSPEC.
15075         * configure.in: Ditto.
15076         * configure.host: Ditto.  Check references for xscale-elf.
15077         * configure: Rebuilt.
15078
15079 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15080
15081         * include/dwarf2-signal.h: Temporarily back out last change.
15082
15083 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15084
15085         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15086
15087 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15088
15089         * configure.in, configure: enable dwarf2-exception-style
15090         exception handling on IA-64.
15091         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15092         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15093         Add FIXME comment.
15094
15095 2002-03-25  Tom Tromey  <tromey@redhat.com>
15096
15097         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15098         (jv_convert_LDFLAGS): Likewise.
15099         (gij_LDFLAGS): Likewise.
15100         (rmic_LDFLAGS): Likewise.
15101         (rmiregistry_LDFLAGS): Likewise.
15102         * configure.in (THREADLDFLAGS): New subst; set correctly for
15103         *BSD.
15104
15105 2002-03-25  Tom Tromey  <tromey@redhat.com>
15106
15107         For PR libgcj/5303:
15108         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15109         and --version.
15110         (help): New method.
15111         (version): Likewise.
15112         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15113         "GNU".
15114         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15115         "GNU".
15116
15117 2002-03-25  Tom Tromey  <tromey@redhat.com>
15118
15119         * java/awt/Component.java (processEvent): Check ComponentEvent
15120         after KeyEvent.
15121
15122 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15123
15124         * java/io/PushbackReader.java: Reformat.
15125
15126         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15127         calculate correct number of bytes skipped.
15128
15129         Based on patch from Intel's ORP team:
15130         * java/io/PushbackInputStream.java (available): Calculate correct
15131         number of bytes in buffer.
15132         (read): Remove redundant bound check. Return bytes from both the
15133         buffer and the stream.
15134
15135 2002-03-24  Tom Tromey  <tromey@redhat.com>
15136
15137         * java/awt/TextComponent.java (TextComponent): Editable by
15138         default.
15139
15140         * java/awt/MenuItem.java (eventMask): No longer private.
15141         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15142         superclass if we didn't handle event.
15143         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15144         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15145         * java/awt/Choice.java (dispatchEventImpl): New method.
15146         * java/awt/List.java (dispatchEventImpl): New method.
15147         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15148         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15149         * java/awt/TextField.java (dispatchEventImpl): New method.
15150
15151 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15152
15153         * java/beans/IntrospectionException.java: Update to 1.4.
15154         * java/beans/PropertyVetoException.java: Ditto.
15155
15156 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15157
15158         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15159         Arrays.equals instead of ArrayHelper.equalsArray.
15160
15161 2002-03-24  C. Brian Jones <cbj@gnu.org>
15162
15163         * java/beans/Introspector.java: added new static final fields
15164         introduced in 1.2, lots of other updates remain to be done
15165
15166 2002-03-24  C. Brian Jones <cbj@gnu.org>
15167
15168         * java/beans/Introspector.java: reformatting
15169
15170 2002-03-24  C. Brian Jones <cbj@gnu.org>
15171
15172         * java/beans/Introspector.java: default beanInfoSearchPath will
15173         not include sun.beans.infos given we provide no such package and
15174         the API doesn't really require it; gnu.java.beans.info is the
15175         default.
15176
15177 2002-03-24  Mark Wielaard  <mark@klomp.org>
15178
15179         Thanks to Orp developers
15180         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15181         switch TRUE and FALSE return values.
15182
15183 2002-03-23  Tom Tromey  <tromey@redhat.com>
15184
15185         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15186         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15187
15188 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15189
15190         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15191         MONTH entry.  Fixes PR libgcj/6045.
15192
15193 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15194
15195         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15196
15197 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15198
15199         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15200         not release_set.
15201         * sysdep/powerpc/locks.h (write_barrier): New function.
15202         * sysdep/i386/locks.h (write_barrier): New function.
15203
15204 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15205
15206         * include/jni.h Use correct C comments.
15207
15208 2002-03-18  Tom Tromey  <tromey@redhat.com>
15209
15210         * include/jni.h (JNIIMPORT): New macro.
15211         (JNIEXPORT): Likewise.
15212         (JNICALL): Likewise.
15213
15214 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15215
15216         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15217         systems.
15218
15219 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15220
15221         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15222         INIT_SEGV: Use old_i386_kernel_sigaction.
15223         INIT_FP: Likewise.
15224
15225 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15226
15227         * java/lang/natSystem.cc (init_properties): Update VM version
15228         properties.
15229         * configure.in: Set GCJVERSION.
15230         * acconfig.h: Add GCJVERSION.
15231         * configure: Rebuilt.
15232         * include/config.h.in: Rebuilt.
15233
15234 2002-03-17  Anthony Green  <green@redhat.com>
15235
15236         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15237
15238 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15239
15240         Build a single libgcj.so, without separate gc and zlib libraries.
15241         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15242         SYS_ZLIBS if system zlib is used.
15243         * configure: Rebuilt.
15244         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15245         * Makefile.in: Rebuilt.
15246         * libtool-version: Increment .so version number.
15247
15248         * Makefile.am: Escape quotes in echo.
15249         * Makefile.in: Rebuilt.
15250
15251 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15252
15253         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15254         * Makefile.in: Rebuilt.
15255
15256 2002-03-15  Anthony Green  <green@redhat.com>
15257
15258         * configure.host (FILE): New macro for specifing File
15259         implementation.
15260         * configure: Rebuilt.
15261         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15262
15263 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15264
15265         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15266         already implicitly brought in from libgcj.la.
15267         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15268         * Makefile.in: Rebuilt.
15269
15270 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15271
15272         * THANKS: Fix punctuation, alphabetization.
15273
15274 2002-03-15  Tom Tromey  <tromey@redhat.com>
15275             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15276
15277         Fix for PR libgcj/5944.
15278         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15279
15280 2002-03-15  Anthony Green  <green@redhat.com>
15281
15282         * configure.in (tool_include_dir): Define.
15283         * configure: Rebuilt.
15284         * gcj/Makefile.am: Install libgcj-config.h relative to
15285         tool_include_dir.
15286         * gcj/Makefile: Rebuilt.
15287         * gcj/libgcj-config.h: Add warning comment.
15288
15289 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15290
15291         * configure.host (powerpc*-darwin*): Enable interpreter.
15292
15293 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15294
15295         * include/posix.h: Add multiple include header protection.
15296         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15297
15298 2002-03-10  Adam Megacz <adam@xwt.org>
15299
15300         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15301
15302 2002-03-10  Tom Tromey  <tromey@redhat.com>
15303
15304         * java/awt/GridLayout.java (layoutContainer): Handle case where
15305         there are no items in container.
15306
15307         * java/lang/Win32Process.java: Added comment.
15308         * include/posix.h (_Jv_platform_close_on_exec): New function.
15309         Include fcntl.h.
15310         * include/win32.h (_Jv_platform_close_on_exec): New function.
15311         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15312         flag.
15313         (accept): Likewise.
15314         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15315         close-on-exec flag.
15316         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15317         flag.
15318
15319 2002-03-09  Tom Tromey  <tromey@redhat.com>
15320
15321         * verify.cc (state::NO_STACK): New constant.
15322         (state::is_unmerged_ret_state): Handle case where stacktop is
15323         NO_STACK.
15324         (state::merge): Handle NO_STACK merges.
15325         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15326         for instruction following jsr.
15327         (stacktop, stackdepth): Removed unused variables.
15328         (pop_jump): Ignore case where all remaining states are skipped.
15329
15330 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15331
15332         * java/awt/ImageMediaEntry: Removed.
15333         * java/awt/MediaEntry: Removed.
15334
15335 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15336
15337         Hashtable synchronization for PowerPC.
15338         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15339         slow_pthread_self. Set up symlink for sysdeps directory.
15340         * configure: Rebuild.
15341         * configure.host: Document more shell variables. Set sysdeps_dir
15342         for most platforms. Set slow_pthread_self for i686. Set
15343         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15344         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15345         that memory barrier is emitted where required.
15346         * prims.cc: 64-bit align static primitive class instances.
15347         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15348         read_barrier() to enforce ordering of reads.
15349         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15350         primitives for PowerPC.
15351         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15352         moved from natObject.cc.
15353         * sysdep/alpha/locks.h: Likewise.
15354         * sysdep/ia64/locks.h: Likewise.
15355         * sysdep/generic/locks.h: Likewise.
15356         * java/lang/natObject.cc: Move thread synchronization primitives to
15357         system-dependent headers.
15358
15359 2002-03-09  Adam Megacz  <adam@xwt.org>
15360
15361         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15362         bytes read and no failure code returned.
15363
15364 2002-03-09  Adam Megacz  <adam@xwt.org>
15365
15366         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15367         definitions to simulate -mthreads.
15368
15369 2002-03-09  Adam Megacz  <adam@xwt.org>
15370
15371         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15372         avoid precision loss.
15373
15374 2002-03-09  Per Bothner  <per@bothner.com>
15375
15376         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15377         * gnu/gcj/xlib/XImage.java:  Likewise.
15378         * gnu/gcj/xlib/XColor.java:  Likewise.
15379
15380 2002-03-09  Adam Megacz  <adam@xwt.org>
15381
15382         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15383         IOException so that Throwable.printStackTrace fails correctly.
15384
15385 2002-03-08  Adam Megacz  <adam@xwt.org>
15386
15387         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15388         fixed.
15389
15390 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15391
15392         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15393         truncated to int.
15394
15395 2002-03-08  Tom Tromey  <tromey@redhat.com>
15396
15397         * include/jni.h: Include stdio.h.
15398
15399 2002-03-08  Tom Tromey  <tromey@redhat.com>
15400
15401         * posix.cc (internal_gettimeofday): New function.
15402         (_Jv_select): Use it.
15403
15404 2002-03-07  Adam Megacz  <adam@xwt.org>
15405
15406         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15407         WIN32, and added thunks for read(), write(), and close().
15408         * java/net/natPlainSocketImpl.cc (accept, read, read):
15409         Disabled timeouts on WIN32 pending discussion.
15410
15411 2002-03-07  Adam Megacz  <adam@xwt.org>
15412
15413         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15414         returns jlong. Added implementation
15415         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15416         returns jlong.
15417         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15418         returns jlong.
15419         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15420         returns jlong.
15421         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15422         _Jv_platform_gettimeofday signature.
15423
15424 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15425
15426         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15427         (read): Call recv() directly, not _Jv_recv().
15428
15429 2002-03-06  Tom Tromey  <tromey@redhat.com>
15430
15431         * java/io/natFileDescriptorEcos.cc (init): Don't use
15432         GetStdHandle.
15433         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15434         is negative.
15435         (init): Don't use GetStdHandle.
15436
15437         * include/config.h.in: Rebuilt.
15438         * configure: Rebuilt.
15439         * Makefile.in: Rebuilt.
15440
15441 2002-03-06  Adam Megacz  <adam@xwt.org>
15442
15443         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15444         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15445         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15446         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15447
15448 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15449
15450         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15451         the code for generating include/java-chartables.h.
15452         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15453         merge with Classpath.
15454         * scripts/unicode-muncher.pl: Copy from Classpath.
15455         * scritps/MakeCharTables.java: New file.
15456         * gnu/gcj/convert/Blocks-3.txt: New file.
15457         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15458         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15459         * gnu/java/lang/CharData.java: Copy from Classpath.
15460         * Makefile.am (ordinary_java_source_files): Add
15461         gnu/java/lang/CharData.java.
15462         * configure.in: Remove --enable-fast-character option.
15463         * java/lang/Character.java: Merge algorithms and Javadoc with
15464         Classpath.
15465         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15466         efficiently.
15467         * include/java-chardecomp.h: Regenerate.
15468         * include/java-chartables.h: Regenerate.
15469
15470 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15471
15472         * java/awt/MediaTracker.java: Implemented.
15473         * Makefile.am: Add MediaTracker.
15474         * Makefile.in: Rebuilt.
15475
15476 2002-03-05  Tom Tromey  <tromey@redhat.com>
15477
15478         * java/lang/natPosixProcess.cc (fail): Removed.
15479         (startProcess): Simplified error-handling.  Preserve
15480         LD_LIBRARY_PATH across exec.
15481
15482         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15483         AbstractMethodError.
15484
15485 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15486
15487         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15488         * Makefile.in: Rebuilt.
15489
15490 2002-03-03 Mark Wielaard <mark@klomp.org>
15491
15492         * java/util/Timer (TaskQueue.stop): set elements to zero.
15493
15494 2002-02-28  Anthony Green  <green@redhat.com>
15495
15496         * java/lang/reflect/natMethod.cc (result): Add void* element.
15497         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15498         constructor test.
15499
15500 2002-02-27  Adam Megacz <adam@xwt.org>
15501
15502         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15503         '#undef STRICT'.
15504
15505 2002-02-26  Tom Tromey  <tromey@redhat.com>
15506
15507         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15508         * gij.cc (version): Use __VERSION__.
15509         * include/config.h.in: Rebuilt.
15510         * acconfig.h (GCJVERSION): Removed.
15511         * configure: Rebuilt.
15512         * configure.in (GCJVERSION): Removed.
15513
15514 2002-02-26  Andreas Schwab  <schwab@suse.de>
15515
15516         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15517         glibcpp_CXX, since libjava uses even another CXX.
15518         * aclocal.m4, configure: Regenerated.
15519
15520 2002-02-26  Tom Tromey  <tromey@redhat.com>
15521
15522         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15523         `1'.
15524
15525 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15526
15527         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15528         dependency tracking for .java files.
15529         * Makefile.in: Rebuilt.
15530
15531 2002-02-24  Adam Megacz  <adam@xwt.org>
15532
15533         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15534         typo. Sorry.
15535
15536 2002-02-24  Adam Megacz  <adam@xwt.org>
15537
15538         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15539         for Win32, changed #ifdefs to check WIN32 instead of the
15540         (now-obsolete) USE_WINSOCK, and removed support for socket
15541         timeouts on Win32 pending further discussion.
15542
15543 2002-02-24  Adam Megacz  <adam@xwt.org>
15544
15545         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15546         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15547         delete
15548
15549 2002-02-24  Adam Megacz  <adam@xwt.org>
15550
15551         * java/lang/Win32Process.java: Created a dummy class to allow
15552         build process to run to completion.
15553
15554 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15555
15556         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15557         Define ffi_result union for ffi_call result.  Cast
15558         ffi_result members to jvalue.
15559
15560 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15561
15562         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15563         * testsuite/Makefile.in: Likewise.
15564
15565 2002-02-20  Per Bothner  <per@bothner.com>
15566
15567         * java/net/URL.java (getPath):  New JDK 1.3 method.
15568
15569         * java/net/URLStreamHandler.java (parseURL):
15570         It is wrong to prepend '/' to the file part of a relative url.
15571
15572         * java/net/URLStreamHandler.java (parseURL):
15573         Minor optizations - append '/' rather than "/".
15574
15575         * java/net/URLStreamHandler.java (parseURL):
15576         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15577         We probably should canonicalize for a context-relative url, though.
15578         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15579         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15580         (sameFile):  New method.  Uses canonicalizeFilename.
15581
15582 2002-02-22  Tom Tromey  <tromey@redhat.com>
15583
15584         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15585         java.vendor and java.vm.vendor.
15586         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15587         recent copyright date.
15588         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15589         * gij.cc (version): Print `Inc'.
15590
15591 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15592
15593         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15594         * aclocal.m4, configure: Rebuilt.
15595
15596 2002-02-20  Per Bothner  <per@bothner.com>
15597
15598         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15599         and/or output streams immediately here, instead of using File.exists.
15600         (inputStream, outputStream):  New fields to save open streams.
15601         (getInputStream, getOutputStream):  Use already-opened streams.
15602
15603 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15604
15605         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15606         Use it.
15607         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15608         * aclocal.m4, configure, Makefile.in: Rebuilt.
15609
15610 2002-02-19  Tom Tromey  <tromey@redhat.com>
15611
15612         Fix for PR libgcj/5696:
15613         * verify.cc (is_assignable_from_slow): Never call
15614         _Jv_IsAssignableFrom.
15615         (verify_instructions_0): Added new debug statement.
15616         (state::print): Print information about whether local has
15617         changed.
15618         (state::merge): Don't call note_variable when merging locals.
15619         (state::set_exception): Removed old FIXME comment.
15620
15621 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15622
15623         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15624         enable SO_BROADCAST.
15625
15626 2002-02-18  Jason Merrill  <jason@redhat.com>
15627
15628         * name-finder.cc (toHex): Use word mode, not long long.
15629
15630         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15631
15632 2002-02-15  Tom Tromey  <tromey@redhat.com>
15633
15634         Fix for PR libgcj/5695:
15635         * verify.cc (is_assignable_from_slow): Check to see if target is
15636         an Object before checking to see if source is an interface.
15637         (verify_instructions_0) [op_invokeinterface]: Handle case where
15638         we're making an interface call on Object.
15639
15640 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15641
15642         * Makefile.in: Rebuilt with Eric's change below.
15643
15644         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15645         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15646         Removed functions which are now implemented in Math.java.
15647
15648 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15649
15650         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15651         * Makefile.am (core_java_source_files): Add
15652         java/lang/StrictMath.java.
15653         * java/lang/Math.java: Merge with Classpath.
15654         * java/lang/StrictMath.java: New file - merge with Classpath.
15655
15656 2002-02-14  Mark Wielaard  <mark@klomp.org>
15657
15658         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15659         package as a workaround for gcj 3.0.x
15660
15661 2002-02-14  Mark Wielaard <mark@klomp.org>
15662
15663         * java/security/BasicPermission.java: extends with fully qualified
15664         classname as workaround for gcj 3.0.4.
15665
15666 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15667
15668         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15669         around gcj bug of wrong emitted qualifier for inherited method.
15670         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15671         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15672         constructor to reduce amount of emitted bytecode. While this
15673         happens to work around a jikes 1.15 bug, it is still a useful
15674         patch even for correct compilers.
15675         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15676         * gnu/java/rmi/server/UnicastRemoteCall.java
15677         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15678
15679 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15680
15681         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15682         * java/net/SocketImpl.java: Ditto.
15683         * java/rmi/server/RMIClassLoader.java: Ditto.
15684         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15685
15686 2002-02-14  Mark Wielaard <mark@klomp.org>
15687
15688         Thanks to Takashi Okamoto
15689         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15690         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15691         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15692
15693 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15694
15695         Fix for PR libgcj/5670:
15696         * verify.cc (is_assignable_from_slow): If `source' is interface,
15697         recursively look for merge with `target'.
15698
15699 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15700
15701         * include/jni.h: Fix typo.
15702
15703 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15704
15705         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15706         correctly.
15707
15708 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15709
15710         Fix for PR libgcj/5671:
15711         * verify.cc (state::merge): Handle case where we're merging
15712         against an interface.
15713
15714 2002-02-12  Tom Tromey  <tromey@redhat.com>
15715
15716         * exception.cc (std::abort): Mark as noreturn.
15717
15718 2002-02-12  Adam Megacz <adam@xwt.org>
15719
15720         * java/lang/Win32Process.java: Filled in a placeholder
15721         implementation so Win32 will build.
15722
15723 2002-02-12  Adam Megacz <adam@xwt.org>
15724
15725         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15726         * java/io/natFile.cc: Removed from repository.
15727         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15728
15729 2002-02-12  Adam Megacz <adam@xwt.org>
15730
15731         * win32.cc: Added two #includes to make win32.cc compile.
15732
15733 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15734
15735         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15736         declarations.
15737         (_Jv_InitGC): Don't bother locking, as this is always called from a
15738         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15739
15740 2002-02-11  Adam Megacz <adam@xwt.org>
15741
15742         * include/win32.h: Added _Jv_platform_gettimeofday.
15743         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15744
15745 2002-02-11  Adam Megacz <adam@xwt.org>
15746
15747         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15748         Added #undef STRICT to make windows.h and
15749         java/lang/reflect/Modifier.h cooperate.
15750
15751 2002-02-11  Adam Megacz <adam@xwt.org>
15752
15753         * java/io/natFileWin32.cc: Created a placeholder class with lots
15754         of FIXMEs.
15755
15756 2002-02-11  Adam Megacz <adam@xwt.org>
15757
15758         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15759         std::abort() to simply abort(). Also added "fake" std::abort() so
15760         we can #include unwind-pe.h without having to link against
15761         libstdc++-v3.
15762
15763 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15764
15765         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15766
15767 2002-02-08  Tom Tromey  <tromey@redhat.com>
15768
15769         * interpret.cc (convert): New function.
15770         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15771         convert.
15772         Include Long.h.
15773
15774 2002-02-08  Anthony Green  <green@redhat.com>
15775
15776         * configure.host: Add support for xscale-elf embedded target.
15777
15778 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15779
15780         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15781         dereferenced.
15782         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15783         frame.
15784
15785 2002-02-07  Tom Tromey  <tromey@redhat.com>
15786
15787         * java/io/natFile.cc (_access): Use __builtin_alloca.
15788         (_stat): Likewise.
15789         (attr): Likewise.
15790         (getCanonicalPath): Likewise.
15791         (performList): Likewise.
15792         (performMkdir): Likewise.
15793         (performSetReadOnly): Likewise.
15794         (performRenameTo): Likewise.
15795         (performSetLastModified): Likewise.
15796         (performCreate): Likewise.
15797         (performDelete): Likewise.
15798
15799 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15800
15801         * HACKING: Fix URL for the automake-gcj.
15802
15803 2002-02-07  Tom Tromey  <tromey@redhat.com>
15804
15805         * java/lang/natThrowable.cc: Updated copyright.
15806         * java/io/natFileWin32.cc: Updated copyright.
15807         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15808         * win32-threads.cc: Updated copyright.
15809         * name-finder.cc: Updated copyright.
15810         * include/name-finder.h: Updated copyright.
15811
15812         * include/name-finder.h: Conditionally include sys/wait.h.
15813         * include/config.h.in: Rebuilt.
15814
15815         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15816         Size buffer based on real size of string.
15817         (_stat): Likewise.
15818         (attr): Likewise.
15819         (getCanonicalPath): Likewise.
15820         (performList): Likewise.
15821         (performMkdir): Likewise.
15822         (performSetReadOnly): Likewise.
15823         (unixroot): Removed.
15824         (performRenameTo): Likewise.
15825         (performSetLastModified): Likewise.
15826         (performCreate): Likewise.
15827         (performDelete): Likewise.
15828         (performListRoots): Always return new array.
15829
15830         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15831         * win32.cc (win32_exception_handler): Now static.
15832         * include/win32.h (_Jv_platform_initialize): Declare.
15833         (win32_exception_handler): Don't declare.
15834         * java/lang/natSystem.cc (currentTimeMillis): Use
15835         _Jv_platform_gettimeofday.
15836         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15837         (_Jv_select): Use new name.
15838         (_Jv_platform_initialize): New function.
15839         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15840         _Jv_gettimeofday.
15841         (_Jv_platform_initialize): Declare.
15842
15843         * configure: Rebuilt.
15844         * configure.in: Removed unnecessary parens.
15845
15846 2002-02-06  Adam Megacz <adam@xwt.org>
15847
15848        * configure.in: Changed mingw) to *mingw*).
15849        * win32.cc: Created this file.
15850        * win32.h: Created this file.
15851        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15852        win32_exception_handler from prims.cc to win32.cc, added
15853        header in win32.h.
15854        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15855        longer needed now that we have platform.h
15856
15857 2002-02-06  Adam Megacz <adam@xwt.org>
15858
15859         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15860         use uint<n>_t instead of LONG and BYTE
15861
15862 2002-02-06  Adam Megacz <adam@xwt.org>
15863
15864         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15865
15866 2002-02-06  Anthony Green  <green@redhat.com>
15867
15868         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15869         Implement missing method stubs.
15870         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15871         targets.
15872         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15873         concept of timezones.
15874         (init_properties): Don't refer to _Jv_Environment_Properties
15875         when this feature is not available.
15876         * include/config.h.in: Rebuilt.
15877         * acconfig.h: Add DISABLE_MAIN_ARGS.
15878         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15879         * configure: Rebuilt.
15880         * configure.in: Add --disable-main-args option.  Test for
15881           opendir function.  Replace AC_CHECK_SIZEOF with
15882           AC_COMPILE_CHECK_SIZEOF.
15883         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15884         * aclocal.m4: Rebuilt.
15885         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15886
15887 2002-02-06  Tom Tromey  <tromey@redhat.com>
15888
15889         * verify.cc (require_array_type): If argument is a null array of
15890         references, return null as the element type.
15891
15892 2002-02-06  Mark Wielaard  <mark@klomp.org>
15893
15894         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15895         duplicate of a wide type.
15896
15897 2002-02-06  Tom Tromey  <tromey@redhat.com>
15898
15899         * verify.cc (type::isnull): New method.
15900         (require_array_type): Handle case where array is null.
15901         (verify_instructions_0) [op_arraylength]: Likewise.
15902
15903 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15904
15905         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15906         Symlink PLATFORMH to platform.h.
15907         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15908         PLATFORMOBJS.
15909         * java/lang/natSystem.cc: #include platform.h not posix.h.
15910         * Makefile.in: Rebuilt with libgcj automake.
15911         * configure: Rebuilt.
15912
15913 2002-02-05  Richard Henderson  <rth@redhat.com>
15914
15915         * Makefile.in: Undo munging last change.
15916
15917 2002-02-04  Adam Megacz <adam@xwt.org>
15918
15919         * win32.cc: Created it.
15920         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15921         which is set to posix.cc or win32.cc.
15922         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15923
15924 2002-02-04  Adam Megacz <adam@xwt.org>
15925
15926         * configure.in: Corrected mingw case branches; added * before
15927         and after.
15928
15929 2002-02-04  Adam Megacz <adam@xwt.org>
15930
15931         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15932         if compiling for win32
15933
15934 2002-02-04  Adam Megacz <adam@xwt.org>
15935
15936         * win32-threads.cc: #undef STRICT after gc.h inclusion
15937
15938 2002-02-02  Tom Tromey  <tromey@redhat.com>
15939
15940         * Makefile.in: Rebuilt.
15941
15942 2002-02-02  Jason Merrill  <jason@redhat.com>
15943
15944         * Makefile.am (clean-nat): New target.
15945
15946 2002-02-02  Tom Tromey  <tromey@redhat.com>
15947
15948         * java/io/natFile.cc: Removed old "FIXME" comments.
15949
15950 2002-02-01  Tom Tromey  <tromey@redhat.com>
15951
15952         * java/lang/natPosixProcess.cc (myclose): New function.
15953         (fail): Use it.
15954         (startProcess): Likewise.
15955
15956 2002-02-01  Adam Megacz <adam@xwt.org>
15957
15958         * prims.cc: Added #undef STRICT after #include<windows.h>.
15959
15960 2002-02-01  Adam Megacz <adam@xwt.org>
15961
15962         * prims.cc
15963         (_Jv_CreateJavaVM): We now use WIN32 instead of
15964         USE_WIN32_SIGNALLING and USE_WINSOCK.
15965         (win32_exception_handler): Now throws an exception out of
15966         the signal handler; assumes SJLJ.
15967
15968 2002-02-01  Adam Megacz <adam@xwt.org>
15969
15970         * win32-threads.cc:
15971         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15972         wait() algorithm to make it safe.
15973         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15974         Added lazy creation of Win32 Events for better performance
15975         (really_start): This now uses GC_CreateThread so boehm-gc
15976         knows about new threads even when statically linked.
15977
15978 2002-02-01  Adam Megacz <adam@xwt.org>
15979
15980         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15981         enable safer wait() algorithm.
15982         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15983         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15984         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15985         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15986         instead of mutex.
15987         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15988
15989 2002-02-01  Adam Megacz <adam@xwt.org>
15990
15991         * configure.in: Added support for mingw.
15992         * java/lang/Win32Process.java: Created as empty file.
15993         * java/lang/natWin32Process.cc: Created as empty file.
15994
15995 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15996
15997         PR java/4972
15998         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15999         for libiconv in LIBICONV variable.
16000         * configure: Regenerated.
16001
16002 2002-01-31  Tom Tromey  <tromey@redhat.com>
16003
16004         * verify.cc (state::enter_subroutine): New method.
16005         (handle_jsr_insn): Use it.
16006         (state::merge): When processing a `ret', correctly use
16007         subroutine's state to determine which local variables have
16008         changed.
16009         (push_exception_jump): Don't let stack overflow.
16010
16011 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16012
16013         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16014         --version output.
16015
16016 2002-01-30  Tom Tromey  <tromey@redhat.com>
16017
16018         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16019         parameter for `recv' return type.
16020
16021         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16022         (state::merge): ... not here.
16023         (subr_entry_info): New structure.
16024         (entry_points): New field.
16025         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16026         entry_points.
16027
16028 2002-01-29  Tom Tromey  <tromey@redhat.com>
16029
16030         * java/awt/List.java (addNotify): Correctly check to see if peer
16031         does not exist.
16032
16033         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16034         to compute height of each cell, and number of columns to compute
16035         width of each cell.
16036         * java/awt/Window.java (getOwnedWindows): Don't return null.
16037         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16038         of component.  Increment x using horizontal gap, not vertical
16039         gap.
16040
16041 2002-01-28  Tom Tromey  <tromey@redhat.com>
16042
16043         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16044         `nargs' byte is number of words, not number of arguments.
16045
16046 2002-01-27  Tom Tromey  <tromey@redhat.com>
16047
16048         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16049         (when): Likewise.
16050         * java/awt/event/InputEvent.java (modifiers, when): Now
16051         package-private.
16052
16053         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16054         and to-do list.
16055         (state::merge): Use current class' class loader.
16056         (state::print): Print subroutine.
16057         (state::merge): Don't look at subroutine of unmerged `ret'.
16058
16059 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16060
16061         * nogc.cc: Remove warnings.
16062         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16063         New functions.
16064
16065 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16066
16067         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16068         int, int):  Remove empty "if" statement to work around compiler bug.
16069         (newPixels(int[], ColorModel, int, int): Likewise.
16070
16071 2002-01-25  Per Bothner  <per@bothner.com>
16072
16073         * verify.cc (verify_fail):  Change from being a top-level function
16074         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16075         Pass the current verifier to type: and state: methods as needed,
16076         for better error messages, and for resolve.
16077         (resolve):  Pass current class's loader for Class.forName and
16078         _Jv_FindClassFromSignature, rather than using the default loader.
16079         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16080         (get_type_val_for_signature):  Make non-static.
16081         (various methods):  Pass start_PC implicitly, not explicitly.
16082
16083 2002-01-25  Tom Tromey  <tromey@redhat.com>
16084
16085         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16086         loop termination condition.
16087         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16088         width.
16089
16090 2002-01-24  Tom Tromey  <tromey@redhat.com>
16091
16092         * java/awt/Shape.java: Merged with Classpath.
16093         * java/awt/Scrollbar.java: Merged with Classpath.
16094
16095         * java/awt/Container.java (addNotify): Unconditionally call
16096         addNotifyContainerChildren and superclass addNotify.
16097
16098         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16099         getAlpha, not getBlue.
16100
16101 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16102
16103         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16104
16105         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16106         (grabPixels(long)): Wait to be notified that the ImageProducer has
16107         completed.
16108
16109 2002-01-24  Per Bothner  <per@bothner.com>
16110
16111         * verify.cc (is_assignable_from_slow): If target is an interface,
16112         we must still check the source's superclass before giving up.
16113
16114 2002-01-24  Tom Tromey  <tromey@redhat.com>
16115
16116         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16117
16118 2002-01-23  Tom Tromey  <tromey@redhat.com>
16119
16120         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16121         `else'.
16122
16123         * Makefile.in: Rebuilt.
16124         * Makefile.am (awt_java_source_files): Added new files.
16125         * java/awt/Toolkit.java: Merged with Classpath.
16126         * java/awt/PrintGraphics.java: New file from Classpath.
16127         * java/awt/PrintJob.java: New file from Classpath.
16128         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16129         * java/awt/datatransfer/ClipboardOwner.java: New file from
16130         Classpath.
16131         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16132         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16133         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16134         Classpath.
16135         * java/awt/datatransfer/StringSelection.java: New file from
16136         Classpath.
16137         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16138         Classpath.
16139         * java/awt/datatransfer/Transferable.java: New file from
16140         Classpath.
16141         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16142         from Classpath.
16143
16144         * Makefile.in: Rebuilt.
16145         * Makefile.am (awt_java_source_files): Added new files.
16146         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16147         Classpath.
16148         * java/awt/image/CropImageFilter.java: New file from Classpath.
16149         * java/awt/image/FilteredImageSource.java: New file from
16150         Classpath.
16151         * java/awt/image/ImageFilter.java: New file from Classpath.
16152         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16153         * java/awt/image/PixelGrabber.java: New file from Classpath.
16154         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16155         * java/awt/image/ReplicateScaleFilter.java: New file from
16156         Classpath.
16157         * java/awt/image/ImageProducer.java: Replaced with Classpath
16158         version.
16159         * java/awt/image/ImageObserver.java: Replaced with Classpath
16160         version.
16161         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16162         version.
16163         * java/awt/GridBagConstraints.java (clone): Catch
16164         CloneNotSupportedException.
16165
16166 2002-01-23  Per Bothner  <per@bothner.com>
16167
16168         * java/lang/reflect/natField.cc (setAddr):  New function.
16169         Calls getAddr and then checks that the field isn't final.
16170         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16171         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16172         (set):  Call setAddr before check that new value has right type,
16173         to better match specified semantics.
16174
16175 2002-01-22  Tom Tromey  <tromey@redhat.com>
16176
16177         * java/awt/TextField.java: Replaced with Classpath version.
16178         * java/awt/TextArea.java: Replaced with Classpath version.
16179         * java/awt/TextComponent.java: Replaced with Classpath version.
16180
16181         * java/awt/GridBagConstraints.java: Updated copyright.
16182
16183 2002-01-22  Mark Wielaard <mark@klomp.org>
16184
16185         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16186         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16187         java/awt/Dialog.java java/awt/FileDialog.java
16188         java/awt/Font.java java/awt/FontMetrics.java
16189         java/awt/Image.java java/awt/ImageMediaEntry.java
16190         java/awt/Insets.java java/awt/List.java
16191         java/awt/MediaEntry.java java/awt/MediaTracker.java
16192         java/awt/Menu.java java/awt/MenuBar.java
16193         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16194         java/awt/PaintContext.java java/awt/Panel.java
16195         java/awt/PopupMenu.java java/awt/SystemColor.java
16196         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16197         java/awt/peer/CheckboxMenuItemPeer.java
16198         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16199         java/awt/peer/ComponentPeer.java
16200         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16201         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16202         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16203         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16204         java/awt/peer/MenuBarPeer.java
16205         java/awt/peer/MenuComponentPeer.java
16206         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16207         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16208         java/awt/peer/ScrollPanePeer.java
16209         java/awt/peer/ScrollbarPeer.java
16210         java/awt/peer/TextAreaPeer.java
16211         java/awt/peer/TextComponentPeer.java
16212         java/awt/peer/TextFieldPeer.java
16213         java/awt/peer/WindowPeer.java: Add license clarification.
16214
16215 2002-01-22  Mark Wielaard <mark@klomp.org>
16216
16217         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16218         gnu/gcj/runtime/StringBuffer.java
16219         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16220         gnu/java/awt/ComponentDataBlitOp.java
16221         gnu/java/awt/GLightweightPeer.java
16222         gnu/java/beans/BeanInfoEmbryo.java
16223         gnu/java/beans/EmptyBeanInfo.java
16224         gnu/java/beans/ExplicitBeanInfo.java
16225         gnu/java/beans/IntrospectionIncubator.java
16226         gnu/java/beans/editors/ColorEditor.java
16227         gnu/java/beans/editors/FontEditor.java
16228         gnu/java/beans/editors/NativeBooleanEditor.java
16229         gnu/java/beans/editors/NativeByteEditor.java
16230         gnu/java/beans/editors/NativeDoubleEditor.java
16231         gnu/java/beans/editors/NativeFloatEditor.java
16232         gnu/java/beans/editors/NativeIntEditor.java
16233         gnu/java/beans/editors/NativeLongEditor.java
16234         gnu/java/beans/editors/NativeShortEditor.java
16235         gnu/java/beans/editors/StringEditor.java
16236         gnu/java/beans/info/ComponentBeanInfo.java
16237         gnu/java/io/ClassLoaderObjectInputStream.java
16238         gnu/java/io/NullOutputStream.java
16239         gnu/java/io/ObjectIdentityWrapper.java
16240         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16241         gnu/java/lang/reflect/TypeSignature.java
16242         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16243         gnu/java/locale/Calendar_en.java
16244         gnu/java/locale/Calendar_nl.java
16245         gnu/java/locale/LocaleInformation.java
16246         gnu/java/locale/LocaleInformation_de.java
16247         gnu/java/locale/LocaleInformation_en.java
16248         gnu/java/locale/LocaleInformation_nl.java
16249         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16250         gnu/java/rmi/registry/RegistryImpl.java
16251         gnu/java/rmi/rmic/Compile_gcj.java
16252         gnu/java/rmi/rmic/Compiler.java
16253         gnu/java/rmi/rmic/CompilerProcess.java
16254         gnu/java/rmi/rmic/RMIC.java
16255         gnu/java/rmi/rmic/TabbedWriter.java
16256         gnu/java/rmi/server/ProtocolConstants.java
16257         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16258         gnu/java/rmi/server/RMIHashes.java
16259         gnu/java/rmi/server/RMIObjectInputStream.java
16260         gnu/java/rmi/server/RMIObjectOutputStream.java
16261         gnu/java/rmi/server/UnicastConnection.java
16262         gnu/java/rmi/server/UnicastConnectionManager.java
16263         gnu/java/rmi/server/UnicastRef.java
16264         gnu/java/rmi/server/UnicastRemoteCall.java
16265         gnu/java/rmi/server/UnicastRemoteStub.java
16266         gnu/java/rmi/server/UnicastServer.java
16267         gnu/java/rmi/server/UnicastServerRef.java
16268         gnu/java/security/provider/DefaultPolicy.java
16269         gnu/java/security/provider/Gnu.java
16270         gnu/java/security/provider/SHA.java
16271         gnu/java/security/provider/SHA1PRNG.java
16272         gnu/java/text/BaseBreakIterator.java
16273         gnu/java/text/CharacterBreakIterator.java
16274         gnu/java/text/LineBreakIterator.java
16275         gnu/java/text/SentenceBreakIterator.java
16276         gnu/java/text/WordBreakIterator.java
16277         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16278         java/applet/AppletContext.java java/applet/AppletStub.java
16279         java/applet/AudioClip.java java/awt/AWTError.java
16280         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16281         java/awt/AWTException.java java/awt/AWTPermission.java
16282         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16283         java/awt/Button.java java/awt/Canvas.java
16284         java/awt/CardLayout.java java/awt/Checkbox.java
16285         java/awt/CheckboxGroup.java java/awt/Component.java
16286         java/awt/ComponentOrientation.java java/awt/Container.java
16287         java/awt/Dimension.java java/awt/Event.java
16288         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16289         java/awt/FlowLayout.java java/awt/Frame.java
16290         java/awt/Graphics.java java/awt/Graphics2D.java
16291         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16292         java/awt/IllegalComponentStateException.java
16293         java/awt/ItemSelectable.java java/awt/Label.java
16294         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16295         java/awt/MenuComponent.java java/awt/MenuItem.java
16296         java/awt/Paint.java java/awt/Point.java
16297         java/awt/Rectangle.java java/awt/RenderingHints.java
16298         java/awt/Transparency.java java/awt/Window.java
16299         java/awt/color/ColorSpace.java
16300         java/awt/color/ICC_ColorSpace.java
16301         java/awt/color/ICC_Profile.java
16302         java/awt/event/HierarchyBoundsAdapter.java
16303         java/awt/event/HierarchyBoundsListener.java
16304         java/awt/event/HierarchyEvent.java
16305         java/awt/event/HierarchyListener.java
16306         java/awt/geom/AffineTransform.java
16307         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16308         java/awt/geom/IllegalPathStateException.java
16309         java/awt/geom/Line2D.java
16310         java/awt/geom/NoninvertibleTransformException.java
16311         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16312         java/awt/geom/Rectangle2D.java
16313         java/awt/geom/RectangularShape.java
16314         java/awt/geom/RoundRectangle2D.java
16315         java/awt/image/BufferedImage.java
16316         java/awt/image/ColorModel.java
16317         java/awt/image/ComponentColorModel.java
16318         java/awt/image/ComponentSampleModel.java
16319         java/awt/image/DataBuffer.java
16320         java/awt/image/DataBufferByte.java
16321         java/awt/image/DataBufferInt.java
16322         java/awt/image/DataBufferUShort.java
16323         java/awt/image/DirectColorModel.java
16324         java/awt/image/PackedColorModel.java
16325         java/awt/image/Raster.java java/awt/image/RasterOp.java
16326         java/awt/image/SampleModel.java
16327         java/awt/image/SinglePixelPackedSampleModel.java
16328         java/awt/image/WritableRaster.java
16329         java/beans/AppletInitializer.java
16330         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16331         java/beans/Beans.java java/beans/Customizer.java
16332         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16333         java/beans/FeatureDescriptor.java
16334         java/beans/IndexedPropertyDescriptor.java
16335         java/beans/IntrospectionException.java
16336         java/beans/Introspector.java java/beans/MethodDescriptor.java
16337         java/beans/ParameterDescriptor.java
16338         java/beans/PropertyChangeEvent.java
16339         java/beans/PropertyChangeListener.java
16340         java/beans/PropertyChangeSupport.java
16341         java/beans/PropertyDescriptor.java
16342         java/beans/PropertyEditor.java
16343         java/beans/PropertyEditorManager.java
16344         java/beans/PropertyEditorSupport.java
16345         java/beans/PropertyVetoException.java
16346         java/beans/SimpleBeanInfo.java
16347         java/beans/VetoableChangeListener.java
16348         java/beans/VetoableChangeSupport.java
16349         java/beans/Visibility.java
16350         java/beans/beancontext/BeanContext.java
16351         java/beans/beancontext/BeanContextChild.java
16352         java/beans/beancontext/BeanContextChildComponentProxy.java
16353         java/beans/beancontext/BeanContextChildSupport.java
16354         java/beans/beancontext/BeanContextContainerProxy.java
16355         java/beans/beancontext/BeanContextEvent.java
16356         java/beans/beancontext/BeanContextMembershipEvent.java
16357         java/beans/beancontext/BeanContextMembershipListener.java
16358         java/beans/beancontext/BeanContextProxy.java
16359         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16360         java/beans/beancontext/BeanContextServiceProvider.java
16361         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16362         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16363         java/beans/beancontext/BeanContextServiceRevokedListener.java
16364         java/beans/beancontext/BeanContextServices.java
16365         java/beans/beancontext/BeanContextServicesListener.java
16366         java/io/BufferedInputStream.java
16367         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16368         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16369         java/io/ByteArrayOutputStream.java
16370         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16371         java/io/CharConversionException.java java/io/DataInput.java
16372         java/io/DataInputStream.java java/io/DataOutput.java
16373         java/io/EOFException.java java/io/Externalizable.java
16374         java/io/FileFilter.java java/io/FileNotFoundException.java
16375         java/io/FilePermission.java java/io/FileReader.java
16376         java/io/FileWriter.java java/io/FilenameFilter.java
16377         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16378         java/io/FilterReader.java java/io/FilterWriter.java
16379         java/io/IOException.java java/io/InputStream.java
16380         java/io/InterruptedIOException.java
16381         java/io/InvalidClassException.java
16382         java/io/InvalidObjectException.java
16383         java/io/NotActiveException.java
16384         java/io/NotSerializableException.java java/io/ObjectInput.java
16385         java/io/ObjectInputStream.java
16386         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16387         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16388         java/io/ObjectStreamConstants.java
16389         java/io/ObjectStreamException.java
16390         java/io/ObjectStreamField.java
16391         java/io/OptionalDataException.java java/io/OutputStream.java
16392         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16393         java/io/PipedReader.java java/io/PipedWriter.java
16394         java/io/PrintWriter.java java/io/PushbackInputStream.java
16395         java/io/PushbackReader.java java/io/Reader.java
16396         java/io/SequenceInputStream.java java/io/Serializable.java
16397         java/io/SerializablePermission.java
16398         java/io/StreamCorruptedException.java
16399         java/io/StreamTokenizer.java
16400         java/io/StringBufferInputStream.java java/io/StringReader.java
16401         java/io/StringWriter.java java/io/SyncFailedException.java
16402         java/io/UTFDataFormatException.java
16403         java/io/UnsupportedEncodingException.java
16404         java/io/WriteAbortedException.java java/io/Writer.java
16405         java/lang/AbstractMethodError.java
16406         java/lang/ArithmeticException.java
16407         java/lang/ArrayIndexOutOfBoundsException.java
16408         java/lang/ArrayStoreException.java java/lang/Boolean.java
16409         java/lang/Byte.java java/lang/CharSequence.java
16410         java/lang/ClassCastException.java
16411         java/lang/ClassCircularityError.java
16412         java/lang/ClassFormatError.java
16413         java/lang/ClassNotFoundException.java
16414         java/lang/CloneNotSupportedException.java
16415         java/lang/Cloneable.java java/lang/Comparable.java
16416         java/lang/Compiler.java java/lang/Double.java
16417         java/lang/Error.java java/lang/Exception.java
16418         java/lang/ExceptionInInitializerError.java
16419         java/lang/Float.java java/lang/IllegalAccessError.java
16420         java/lang/IllegalAccessException.java
16421         java/lang/IllegalArgumentException.java
16422         java/lang/IllegalMonitorStateException.java
16423         java/lang/IllegalStateException.java
16424         java/lang/IllegalThreadStateException.java
16425         java/lang/IncompatibleClassChangeError.java
16426         java/lang/IndexOutOfBoundsException.java
16427         java/lang/InheritableThreadLocal.java
16428         java/lang/InstantiationError.java
16429         java/lang/InstantiationException.java java/lang/Integer.java
16430         java/lang/InternalError.java
16431         java/lang/InterruptedException.java
16432         java/lang/LinkageError.java java/lang/Long.java
16433         java/lang/NegativeArraySizeException.java
16434         java/lang/NoClassDefFoundError.java
16435         java/lang/NoSuchFieldError.java
16436         java/lang/NoSuchFieldException.java
16437         java/lang/NoSuchMethodError.java
16438         java/lang/NoSuchMethodException.java
16439         java/lang/NullPointerException.java java/lang/Number.java
16440         java/lang/NumberFormatException.java
16441         java/lang/OutOfMemoryError.java java/lang/Package.java
16442         java/lang/Process.java java/lang/Runnable.java
16443         java/lang/RuntimeException.java
16444         java/lang/RuntimePermission.java
16445         java/lang/SecurityException.java
16446         java/lang/SecurityManager.java java/lang/Short.java
16447         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16448         java/lang/StringIndexOutOfBoundsException.java
16449         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16450         java/lang/ThreadLocal.java java/lang/UnknownError.java
16451         java/lang/UnsatisfiedLinkError.java
16452         java/lang/UnsupportedClassVersionError.java
16453         java/lang/UnsupportedOperationException.java
16454         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16455         java/lang/Void.java java/lang/ref/PhantomReference.java
16456         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16457         java/lang/ref/SoftReference.java
16458         java/lang/ref/WeakReference.java
16459         java/lang/reflect/AccessibleObject.java
16460         java/lang/reflect/InvocationTargetException.java
16461         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16462         java/lang/reflect/ReflectPermission.java
16463         java/math/BigDecimal.java java/math/BigInteger.java
16464         java/net/Authenticator.java java/net/BindException.java
16465         java/net/ConnectException.java java/net/ContentHandler.java
16466         java/net/ContentHandlerFactory.java
16467         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16468         java/net/FileNameMap.java java/net/MalformedURLException.java
16469         java/net/MulticastSocket.java java/net/NetPermission.java
16470         java/net/NoRouteToHostException.java
16471         java/net/PasswordAuthentication.java
16472         java/net/ProtocolException.java java/net/ServerSocket.java
16473         java/net/Socket.java java/net/SocketException.java
16474         java/net/SocketImpl.java java/net/SocketImplFactory.java
16475         java/net/SocketOptions.java java/net/SocketPermission.java
16476         java/net/URLDecoder.java java/net/URLEncoder.java
16477         java/net/URLStreamHandlerFactory.java
16478         java/net/UnknownHostException.java
16479         java/net/UnknownServiceException.java
16480         java/rmi/AccessException.java
16481         java/rmi/AlreadyBoundException.java
16482         java/rmi/ConnectException.java
16483         java/rmi/ConnectIOException.java
16484         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16485         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16486         java/rmi/NotBoundException.java
16487         java/rmi/RMISecurityException.java
16488         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16489         java/rmi/RemoteException.java java/rmi/ServerError.java
16490         java/rmi/ServerException.java
16491         java/rmi/ServerRuntimeException.java
16492         java/rmi/StubNotFoundException.java
16493         java/rmi/UnexpectedException.java
16494         java/rmi/UnknownHostException.java
16495         java/rmi/UnmarshalException.java
16496         java/rmi/activation/Activatable.java
16497         java/rmi/activation/ActivateFailedException.java
16498         java/rmi/activation/ActivationDesc.java
16499         java/rmi/activation/ActivationException.java
16500         java/rmi/activation/ActivationGroup.java
16501         java/rmi/activation/ActivationGroupDesc.java
16502         java/rmi/activation/ActivationGroupID.java
16503         java/rmi/activation/ActivationID.java
16504         java/rmi/activation/ActivationInstantiator.java
16505         java/rmi/activation/ActivationMonitor.java
16506         java/rmi/activation/ActivationSystem.java
16507         java/rmi/activation/Activator.java
16508         java/rmi/activation/UnknownGroupException.java
16509         java/rmi/activation/UnknownObjectException.java
16510         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16511         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16512         java/rmi/registry/Registry.java
16513         java/rmi/registry/RegistryHandler.java
16514         java/rmi/server/ExportException.java
16515         java/rmi/server/LoaderHandler.java
16516         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16517         java/rmi/server/Operation.java
16518         java/rmi/server/RMIClassLoader.java
16519         java/rmi/server/RMIClientSocketFactory.java
16520         java/rmi/server/RMIFailureHandler.java
16521         java/rmi/server/RMIServerSocketFactory.java
16522         java/rmi/server/RMISocketFactory.java
16523         java/rmi/server/RemoteCall.java
16524         java/rmi/server/RemoteObject.java
16525         java/rmi/server/RemoteRef.java
16526         java/rmi/server/RemoteServer.java
16527         java/rmi/server/RemoteStub.java
16528         java/rmi/server/ServerCloneException.java
16529         java/rmi/server/ServerNotActiveException.java
16530         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16531         java/rmi/server/SkeletonMismatchException.java
16532         java/rmi/server/SkeletonNotFoundException.java
16533         java/rmi/server/SocketSecurityException.java
16534         java/rmi/server/UID.java
16535         java/rmi/server/UnicastRemoteObject.java
16536         java/rmi/server/Unreferenced.java
16537         java/security/AccessControlContext.java
16538         java/security/AccessControlException.java
16539         java/security/AccessController.java
16540         java/security/AlgorithmParameterGenerator.java
16541         java/security/AlgorithmParameterGeneratorSpi.java
16542         java/security/AlgorithmParameters.java
16543         java/security/AlgorithmParametersSpi.java
16544         java/security/AllPermission.java
16545         java/security/BasicPermission.java
16546         java/security/Certificate.java java/security/CodeSource.java
16547         java/security/DigestException.java
16548         java/security/DigestInputStream.java
16549         java/security/DigestOutputStream.java
16550         java/security/DomainCombiner.java
16551         java/security/DummyKeyPairGenerator.java
16552         java/security/DummyMessageDigest.java
16553         java/security/DummySignature.java
16554         java/security/GeneralSecurityException.java
16555         java/security/Guard.java java/security/GuardedObject.java
16556         java/security/Identity.java java/security/IdentityScope.java
16557         java/security/InvalidAlgorithmParameterException.java
16558         java/security/InvalidKeyException.java
16559         java/security/InvalidParameterException.java
16560         java/security/Key.java java/security/KeyException.java
16561         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16562         java/security/KeyManagementException.java
16563         java/security/KeyPair.java java/security/KeyPairGenerator.java
16564         java/security/KeyPairGeneratorSpi.java
16565         java/security/KeyStore.java
16566         java/security/KeyStoreException.java
16567         java/security/KeyStoreSpi.java
16568         java/security/MessageDigest.java
16569         java/security/MessageDigestSpi.java
16570         java/security/NoSuchAlgorithmException.java
16571         java/security/NoSuchProviderException.java
16572         java/security/Permission.java
16573         java/security/PermissionCollection.java
16574         java/security/Permissions.java java/security/Policy.java
16575         java/security/Principal.java java/security/PrivateKey.java
16576         java/security/PrivilegedAction.java
16577         java/security/PrivilegedActionException.java
16578         java/security/PrivilegedExceptionAction.java
16579         java/security/ProtectionDomain.java
16580         java/security/Provider.java
16581         java/security/ProviderException.java
16582         java/security/PublicKey.java
16583         java/security/SecureClassLoader.java
16584         java/security/SecureRandom.java
16585         java/security/SecureRandomSpi.java java/security/Security.java
16586         java/security/SecurityPermission.java
16587         java/security/Signature.java
16588         java/security/SignatureException.java
16589         java/security/SignatureSpi.java
16590         java/security/SignedObject.java java/security/Signer.java
16591         java/security/UnrecoverableKeyException.java
16592         java/security/UnresolvedPermission.java
16593         java/security/acl/Acl.java java/security/acl/AclEntry.java
16594         java/security/acl/AclNotFoundException.java
16595         java/security/acl/Group.java
16596         java/security/acl/LastOwnerException.java
16597         java/security/acl/NotOwnerException.java
16598         java/security/acl/Owner.java java/security/acl/Permission.java
16599         java/security/cert/CRL.java
16600         java/security/cert/CRLException.java
16601         java/security/cert/Certificate.java
16602         java/security/cert/CertificateEncodingException.java
16603         java/security/cert/CertificateException.java
16604         java/security/cert/CertificateExpiredException.java
16605         java/security/cert/CertificateFactory.java
16606         java/security/cert/CertificateFactorySpi.java
16607         java/security/cert/CertificateNotYetValidException.java
16608         java/security/cert/CertificateParsingException.java
16609         java/security/cert/X509CRL.java
16610         java/security/cert/X509CRLEntry.java
16611         java/security/cert/X509Certificate.java
16612         java/security/cert/X509Extension.java
16613         java/security/interfaces/DSAKey.java
16614         java/security/interfaces/DSAKeyPairGenerator.java
16615         java/security/interfaces/DSAParams.java
16616         java/security/interfaces/DSAPrivateKey.java
16617         java/security/interfaces/DSAPublicKey.java
16618         java/security/interfaces/RSAKey.java
16619         java/security/interfaces/RSAPrivateCrtKey.java
16620         java/security/interfaces/RSAPrivateKey.java
16621         java/security/interfaces/RSAPublicKey.java
16622         java/security/spec/AlgorithmParameterSpec.java
16623         java/security/spec/DSAParameterSpec.java
16624         java/security/spec/DSAPrivateKeySpec.java
16625         java/security/spec/DSAPublicKeySpec.java
16626         java/security/spec/EncodedKeySpec.java
16627         java/security/spec/InvalidKeySpecException.java
16628         java/security/spec/InvalidParameterSpecException.java
16629         java/security/spec/KeySpec.java
16630         java/security/spec/PKCS8EncodedKeySpec.java
16631         java/security/spec/RSAKeyGenParameterSpec.java
16632         java/security/spec/RSAPrivateCrtKeySpec.java
16633         java/security/spec/RSAPrivateKeySpec.java
16634         java/security/spec/RSAPublicKeySpec.java
16635         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16636         java/sql/BatchUpdateException.java java/sql/Blob.java
16637         java/sql/CallableStatement.java java/sql/Clob.java
16638         java/sql/Connection.java java/sql/DataTruncation.java
16639         java/sql/DatabaseMetaData.java java/sql/Date.java
16640         java/sql/Driver.java java/sql/DriverManager.java
16641         java/sql/DriverPropertyInfo.java
16642         java/sql/PreparedStatement.java java/sql/Ref.java
16643         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16644         java/sql/SQLData.java java/sql/SQLException.java
16645         java/sql/SQLInput.java java/sql/SQLOutput.java
16646         java/sql/SQLWarning.java java/sql/Statement.java
16647         java/sql/Struct.java java/sql/Time.java
16648         java/sql/Timestamp.java java/sql/Types.java
16649         java/text/Annotation.java
16650         java/text/AttributedCharacterIterator.java
16651         java/text/AttributedString.java
16652         java/text/AttributedStringIterator.java
16653         java/text/BreakIterator.java java/text/CharacterIterator.java
16654         java/text/ChoiceFormat.java java/text/Collator.java
16655         java/text/DateFormat.java java/text/DateFormatSymbols.java
16656         java/text/DecimalFormat.java
16657         java/text/DecimalFormatSymbols.java
16658         java/text/FieldPosition.java java/text/Format.java
16659         java/text/MessageFormat.java java/text/NumberFormat.java
16660         java/text/ParseException.java java/text/ParsePosition.java
16661         java/text/SimpleDateFormat.java
16662         java/text/StringCharacterIterator.java
16663         java/util/AbstractCollection.java java/util/AbstractList.java
16664         java/util/AbstractMap.java
16665         java/util/AbstractSequentialList.java
16666         java/util/AbstractSet.java java/util/ArrayList.java
16667         java/util/Arrays.java java/util/BasicMapEntry.java
16668         java/util/BitSet.java java/util/Calendar.java
16669         java/util/Collection.java java/util/Collections.java
16670         java/util/Comparator.java
16671         java/util/ConcurrentModificationException.java
16672         java/util/Date.java java/util/Dictionary.java
16673         java/util/EmptyStackException.java java/util/Enumeration.java
16674         java/util/EventListener.java java/util/EventObject.java
16675         java/util/GregorianCalendar.java java/util/HashMap.java
16676         java/util/HashSet.java java/util/Hashtable.java
16677         java/util/IdentityHashMap.java java/util/Iterator.java
16678         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16679         java/util/LinkedList.java java/util/List.java
16680         java/util/ListIterator.java java/util/ListResourceBundle.java
16681         java/util/Locale.java java/util/Map.java
16682         java/util/MissingResourceException.java
16683         java/util/NoSuchElementException.java
16684         java/util/Observable.java java/util/Observer.java
16685         java/util/Properties.java java/util/PropertyPermission.java
16686         java/util/PropertyResourceBundle.java java/util/Random.java
16687         java/util/RandomAccess.java java/util/ResourceBundle.java
16688         java/util/Set.java java/util/SimpleTimeZone.java
16689         java/util/SortedMap.java java/util/SortedSet.java
16690         java/util/Stack.java java/util/StringTokenizer.java
16691         java/util/TimeZone.java java/util/Timer.java
16692         java/util/TimerTask.java
16693         java/util/TooManyListenersException.java
16694         java/util/TreeMap.java java/util/TreeSet.java
16695         java/util/Vector.java java/util/WeakHashMap.java
16696         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16697         java/util/jar/JarException.java java/util/jar/JarFile.java
16698         java/util/jar/JarInputStream.java
16699         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16700         java/util/zip/Adler32.java java/util/zip/CRC32.java
16701         java/util/zip/CheckedInputStream.java
16702         java/util/zip/CheckedOutputStream.java
16703         java/util/zip/Checksum.java
16704         java/util/zip/DataFormatException.java
16705         java/util/zip/Deflater.java
16706         java/util/zip/DeflaterOutputStream.java
16707         java/util/zip/GZIPInputStream.java
16708         java/util/zip/GZIPOutputStream.java
16709         java/util/zip/Inflater.java
16710         java/util/zip/InflaterInputStream.java
16711         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16712         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16713         java/util/zip/ZipInputStream.java
16714         java/util/zip/ZipOutputStream.java
16715         javax/naming/BinaryRefAddr.java
16716         javax/naming/InvalidNameException.java javax/naming/Name.java
16717         javax/naming/NamingException.java javax/naming/RefAddr.java
16718         javax/naming/StringRefAddr.java: Add license clarification.
16719
16720 2002-01-22  Tom Tromey  <tromey@redhat.com>
16721
16722         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16723         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16724         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16725         version.
16726         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16727         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16728         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16729         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16730         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16731         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16732         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16733         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16734         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16735         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16736         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16737         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16738         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16739         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16740         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16741         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16742         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16743         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16744         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16745         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16746         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16747         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16748         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16749         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16750         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16751         (minimumSize, preferredSize, reshape): Likewise.
16752         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16753         getColorModel): New methods.
16754         * java/awt/PopupMenu.java: Merged with Classpath.
16755         * java/awt/MenuBar.java: Merged with Classpath.
16756         * java/awt/SystemColor.java: Replace with Classpath version.
16757         * java/awt/Panel.java: Merged with Classpath.
16758         * java/awt/PaintContext.java: Updated copyright.
16759         * java/awt/MenuShortcut.java: Merged with Classpath.
16760         * java/awt/MenuContainer.java: Merged with Classpath.
16761         * java/awt/Menu.java: Merged with Classpath.
16762         * java/awt/MediaEntry.java: New file from Classpath.
16763         * java/awt/MediaTracker.java: New file from Classpath.
16764         * java/awt/List.java: Merged with Classpath version.
16765         * java/awt/Insets.java: Merged with Classpath version.
16766         * java/awt/ImageMediaEntry.java: New file from Classpath.
16767         * java/awt/Image.java: Replaced with Classpath version.
16768         * java/awt/FontMetrics.java: Merged with Classpath version.
16769         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16770         constant.
16771         * java/awt/Font.java: Merged with Classpath version.
16772         * java/awt/Dialog.java: Merged with Classpath version.
16773         * java/awt/Color.java: Merged with Classpath version.
16774         * java/awt/Choice.java: Merged with Classpath version.
16775         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16776         * java/awt/Adjustable.java: Replace with Classpath version.
16777         * java/awt/MenuItem.java (paramString): Don't include class name
16778         or brackets.  Call superclass paramString.
16779         * java/awt/MenuComponent.java (toString): Call paramString.
16780         (paramString): Compute string; don't call toString.
16781         * java/awt/Label.java (paramString): Don't include class name
16782         or brackets.  Call superclass paramString.
16783         * java/awt/Checkbox.java (paramString): Don't include class name
16784         or brackets.  Call superclass paramString.
16785         * java/awt/Button.java (paramString): Don't include class name or
16786         brackets.  Call superclass paramString.
16787         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16788
16789 2002-01-20  Andreas Schwab  <schwab@suse.de>
16790
16791         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16792         function and of parameter recv_func to ssize_t, as specified by
16793         POSIX.
16794
16795 2002-01-19  Per Bothner  <per@bothner.com>
16796
16797         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16798         uncompressed_size in readiness for next entry.
16799
16800 2002-01-18  Tom Tromey  <tromey@redhat.com>
16801
16802         * java/net/natPlainSocketImpl.cc: Include
16803         IllegalArgumentException.h.
16804         (_Jv_recv): New template function.
16805         (BooleanClass): Removed.
16806         (read): Use _Jv_recv.
16807         (setOption): Use Boolean::class$.  Throw exception if object is
16808         not Boolean or Integer.
16809
16810 2002-01-17  Tom Tromey  <tromey@redhat.com>
16811
16812         * java/awt/MenuComponent.java: Merged with Classpath.
16813         * java/awt/MenuItem.java: Merged with Classpath.
16814         * java/awt/Button.java: Merged with Classpath.
16815
16816         * java/awt/ActiveEvent.java: Updated copyright.
16817
16818         * java/awt/AWTError.java: Replaced with Classpath version.
16819         * java/awt/AWTException.java: Replaced with Classpath version.
16820         * java/awt/IllegalComponentStateException.java: Replaced with
16821         Classpath version.
16822
16823 2002-01-16  Tom Tromey  <tromey@redhat.com>
16824
16825         * java/awt/Canvas.java (serialVersionUID): New constant.
16826         Updated copyright.  Added javadoc from Classpath.
16827         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16828
16829         * java/awt/CheckboxGroup.java: Merged with Classpath.
16830         * java/awt/Checkbox.java: Merged with Classpath.
16831
16832         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16833         Classpath.
16834         * java/awt/Point.java: Updated copyright.
16835
16836         * java/awt/Point.java (toString): Use getClass().getName().
16837         Added javadoc.
16838
16839         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16840         commented code.
16841         (hash): Correctly compute initial value for `h'.
16842
16843         * java/awt/Label.java: Merged with Classpath.
16844
16845 2002-01-15  Tom Tromey  <tromey@redhat.com>
16846
16847         * java/awt/AWTPermission.java: Updated copyright.
16848
16849         * java/awt/LayoutManager2.java: Merged with Classpath.
16850         * java/awt/LayoutManager.java: Merged with Classpath.
16851         * java/awt/GridLayout.java: Updated copyright and javadoc.
16852         (getSize): Use `parent.ncomponents'.  Handle insets.
16853         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16854         there are fewer children than columns.  Correctly compute size of
16855         each cell in the grid.  Handle case where there isn't enough
16856         space.
16857         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16858         all users.
16859         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16860         before calling setVisible() on it.  Last item is `num - 1', not
16861         `num'.
16862         (layoutContainer): Hoist invariants out of loop.
16863
16864         Start of AWT merge with Classpath:
16865         * Makefile.in: Rebuilt.
16866         * Makefile.am (awt_java_source_files): Reference files in
16867         gnu/java/awt, not gnu/gcj/awt.
16868         * java/awt/image/BufferedImage.java: Updated copyright.
16869         * java/awt/image/ComponentColorModel.java: Updated copyright.
16870         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16871         * java/awt/image/DataBuffer.java: Updated copyright.
16872         * java/awt/image/DataBufferByte.java: Updated copyright.
16873         * java/awt/image/DataBufferInt.java: Updated copyright.
16874         * java/awt/image/DataBufferUShort.java: Updated copyright.
16875         * java/awt/image/IndexColorModel.java: Updated copyright.
16876         * java/awt/image/PackedColorModel.java: Updated copyright.
16877         * java/awt/image/Raster.java: Updated copyright.
16878         * java/awt/image/RasterOp.java: Updated copyright.
16879         * java/awt/image/SampleModel.java: Updated copyright.
16880         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16881         * java/awt/image/WritableRaster.java: Updated copyright.
16882         * java/awt/color/ColorSpace.java: Updated copyright.
16883         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16884         * java/awt/color/ICC_Profile.java: Updated copyright.
16885         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16886         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16887         * java/awt/event/HierarchyEvent.java: Updated copyright.
16888         * java/awt/event/HierarchyListener.java: Updated copyright.
16889         * java/awt/geom/AffineTransform.java: Updated copyright.
16890         * java/awt/geom/Dimension2D.java: Updated copyright.
16891         * java/awt/geom/Ellipse2D.java: Updated copyright.
16892         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16893         * java/awt/geom/Line2D.java: Updated copyright.
16894         * java/awt/geom/NoninvertibleTransformException.java: Updated
16895         copyright.
16896         * java/awt/geom/PathIterator.java: Updated copyright.
16897         * java/awt/geom/Point2D.java: Updated copyright.
16898         * java/awt/geom/Rectangle2D.java: Updated copyright.
16899         * java/awt/geom/RectangularShape.java: Updated copyright.
16900         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16901         * java/awt/Toolkit.java: Updated import for file moves.
16902         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16903         Classpath.
16904         (hashCode): New method from Classpath.
16905         * java/awt/Graphics2D.java: Updated copyright.
16906         * java/awt/Transparency.java: Updated copyright.
16907         * java/awt/Paint.java: Updated copyright.
16908         * java/awt/Graphics.java: New version from Classpath.
16909         * java/awt/EventDispatchThread.java: Updated copyright.
16910         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16911         children.
16912         (gotoComponent): Wrap around on next/previous.
16913         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16914         * gnu/gcj/awt/Buffers.java: Removed.
16915         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16916         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16917         * gnu/java/awt/BitMaskExtent.java: Added.
16918         * gnu/java/awt/Buffers.java: Added.
16919         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16920         * gnu/java/awt/GLightweightPeer.java: Added.
16921         * java/awt/geom/Line2D.java (clone): Ignore
16922         CloneNotSupportedException.
16923         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16924         * java/awt/Frame.java: Merged with Classpath.
16925         * java/awt/RenderingHints.java: Copyright update.
16926         * java/awt/Paint.java: Copyright update.
16927         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16928         * java/awt/image/ColorModel.java: Merged with Classpath.
16929         * java/awt/Window.java (show): New Implementation from Classpath.
16930         (isShowing): Use super.isShowing().
16931         * java/awt/EventQueue.java: Merged with Classpath.
16932         * java/awt/AWTEventMulticaster.java (save): Throw
16933         RuntimeException.
16934         (saveInternal): Likewise.
16935         * java/awt/AWTEvent.java: Now implements Serializable.
16936         * java/awt/Event.java: Copyright update.
16937         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16938         * java/awt/image/BufferedImage.java: Copyright update.
16939         * java/awt/GraphicsConfiguration.java: Copyright update.
16940         * java/awt/Component.java: (addNotify): Don't call
16941         addNotifyContainerChildren().
16942         (addNotifyContainerChildren): Removed.
16943         (setPeer): New method from Classpath.
16944         (setTreeLock): Likewise.
16945         (setVisible): Rewrote.
16946         (show): Use it.
16947         (hide): Likewise.
16948         (validate): Set `valid'.
16949         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16950         (createImage(ImageProducer)): Likewise.
16951         (prepareImage): Likewise.
16952         * java/awt/Container.java (addImpl): Handle case where constraint
16953         is not a String.  Post event via system event queue.
16954         (remove): Post event via system event queue.
16955         (validateTree): Only validate child if it is invalid.
16956         (getAlignmentX): Call super method as default.
16957         (getAlignmentY): Likewise.
16958         (addContainerListener): Now synchronized.
16959         (removeContainerListener): Likewise.
16960         (addNotifyContainerChildren): Now private.
16961         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16962         @author.
16963         * java/awt/FlowLayout.java (serialVersionUID): New field.
16964         (setAlignment): Better exception message.
16965         (layoutContainer): Don't compute component's preferred size unless
16966         we're going to use it.
16967         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16968         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16969         (firstLine, lastLine, firstItem, lastItem): New fields.
16970         (addLayoutComponent): Handle case where constraints is null.
16971         Also, handle relative locations.
16972         (removeLayoutComponent): Handle relative locations.
16973         (MIN, MAX, PREF): New constants.
16974         (calcCompSize): New method.
16975         (calcSize): New method.
16976         (minimumLayoutSize): Use it.
16977         (preferredLayoutSize): Likewise.
16978         (maximumLayoutSize): Likewise.
16979         (toString): Include more information.
16980         (setBounds): New method.
16981         (layoutContainer): Use libgcj implementation; extended to handle
16982         relative locations.
16983
16984 2002-01-15  Tom Tromey  <tromey@redhat.com>
16985
16986         * java/lang/Float.java (equals): Preserve old code.
16987         * java/lang/Double.java (equals): Preserve old code.
16988
16989 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16990
16991         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16992         * java/lang/Float.java (equals, compare): Ditto.
16993
16994 2002-01-13  Mark Wielaard  <mark@klomp.org>
16995
16996         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16997         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16998         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16999         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17000
17001 2002-01-11  Mark Wielaard  <mark@klomp.org>
17002
17003         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17004         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17005         InetAddress.
17006         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17007         * java/net/Socket.java: Merge with Classpath.
17008         * java/net/ServerSocket.java: Likewise.
17009
17010 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17011
17012         * interpret.cc (NULLARRAYCHECK): New macro.
17013         (SAVE_PC): Just store `pc'.
17014         (find_exception): Subtract one from `pc' here.
17015         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17016         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17017         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17018         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17019         don't call SAVE_PC.
17020         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17021         call SAVE_PC.
17022
17023 2002-01-11  Tom Tromey  <tromey@redhat.com>
17024
17025         * java/lang/natSystem.cc (init_properties): Only look for default
17026         locale if LC_MESSAGES is defined.
17027         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17028         * configure.in: Call AM_LC_MESSAGES.
17029         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17030
17031 2002-01-10  Tom Tromey  <tromey@redhat.com>
17032
17033         For PR libgcj/5303:
17034         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17035         --version.  Recognize GNU-style long options.  Print GNU-style
17036         error messages.
17037         (usage): Print GNU-style help.  Exit with status 0.
17038         (error): New method.
17039         (run): Print error message if no class names found.
17040         (main): Don't print usage on error.
17041
17042 2002-01-09  Tom Tromey  <tromey@redhat.com>
17043
17044         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17045         property.
17046         (help, version): Use println(), not println("").
17047
17048         For PR libgcj/5303:
17049         * gnu/gcj/convert/Convert.java (error): Program is called
17050         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17051         -1.
17052         (main): Handle --help and --version.
17053         (help): New method.
17054         (version): Likewise.
17055
17056 2002-01-08  Tom Tromey  <tromey@redhat.com>
17057
17058         * Makefile.in: Rebuilt.
17059         * Makefile.am (ordinary_java_source_files): Added new files.
17060         * gnu/java/locale/LocaleInformation.java: Extend
17061         LocaleInformation_en.
17062         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17063         and time/date formats.
17064         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17065         generated.
17066         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17067         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17068         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17069         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17070         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17071         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17072         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17073         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17074         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17075         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17076         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17077         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17078         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17079         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17080         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17081         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17082         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17083         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17084         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17085         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17086         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17087         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17088         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17089         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17090         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17091         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17092         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17093         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17094         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17095         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17096         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17097         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17098         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17099         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17100         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17101         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17102         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17103         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17104         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17105         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17106         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17107         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17108         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17109         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17110         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17111         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17112         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17113         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17114         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17115         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17116         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17117         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17118         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17119         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17120         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17121         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17122         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17123         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17124         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17125         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17126         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17127         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17128         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17129         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17130         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17131         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17132         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17133         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17134         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17135         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17136         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17137         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17138         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17139         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17140         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17141         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17142         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17143         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17144         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17145         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17146         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17147         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17148         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17149         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17150         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17151         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17152         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17153         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17154         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17155         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17156         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17157         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17158         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17159         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17160         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17161         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17162         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17163         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17164         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17165         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17166         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17167         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17168         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17169         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17170         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17171         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17172         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17173         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17174         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17175         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17176         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17177         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17178         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17179         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17180         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17181         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17182         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17183         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17184         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17185         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17186         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17187         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17188         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17189         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17190         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17191         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17192         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17193         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17194         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17195         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17196
17197         For PR libgcj/5031:
17198         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17199         choose default locale.
17200
17201         * Makefile.in: Rebuilt.
17202         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17203
17204 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17205
17206         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17207         sockets.
17208         (close): New function closes the socket.
17209         (write): New functions for output to socket.
17210         (read): New functions for reading from socket.
17211         * java/net/PlainSocketImpl.java: Glue for new timeout
17212         implementation.
17213         (write): Call the native impl.
17214         (read): Likewise.
17215         (getInputStream): Get a stream to read from the socket.
17216         (getOutputStream): Get a stream to write to the socket.
17217
17218 2002-01-08  Tom Tromey  <tromey@redhat.com>
17219
17220         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17221
17222 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17223
17224         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17225         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17226
17227 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17228
17229         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17230         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17231         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17232         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17233         insn_bastore, insn_castore, insn_sastore]: Use it.
17234         (continue1) [insn_arraylength]: Check for null array.
17235
17236 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17237
17238         * configure, include/config.h.in: Rebuilt.
17239         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17240         * configure.in: Call AC_STRUCT_TIMEZONE.
17241
17242 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17243
17244         * configure.host: Disable the interpreter for Darwin.
17245
17246 2002-01-04  Tom Tromey  <tromey@redhat.com>
17247
17248         * java/lang/Thread.java (stop): No longer synchronized.
17249         (start): Likewise.
17250
17251 2002-01-02  Tom Tromey  <tromey@redhat.com>
17252
17253         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17254         patch.
17255
17256 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17257
17258         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17259         PPC Darwin, not for all of Darwin.