OSDN Git Service

c2d017bf0d5475c0482e27383ec81e0160206413
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-19  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/OutputStreamChannel.java: New file.
4         * java/nio/channels/Channels.java (newChannel): Implemented.
5         * Makefile.am (ordinary_java_source_files):
6         Added gnu/java/nio/OutputStreamChannel.java.
7         * Makefile.in: Regenerated.
8
9 2003-12-19  Michael Koch  <konqueror@gmx.de>
10
11         * Makefile.am (ordinary_java_source_files):
12         Added gnu.java.nio.InputStreamChannel. 
13         * Makefile.in: Regenerated.
14
15 2003-12-19  Michael Koch  <konqueror@gmx.de>
16
17         * gnu/java/nio/InputStreamChannel.java: New file.
18         * java/nio/channels/Channels.java (newChannel): Implemented.
19
20 2003-12-19  Michael Koch  <konqueror@gmx.de>
21
22         * java/util/SimpleTimeZone.java
23         (setStartRule): Reformated documentation.
24         (setEndRule): Reworked documentation.
25         (getDSTSavings): Fixed @since tag.
26         (setDSTSavings): New method.
27
28 2003-12-19  Michael Koch  <konqueror@gmx.de>
29
30         * java/text/NumberFormat.java: Sorted imports.
31         (getCurrency): New method.
32         (setCurrency): New method.
33         
34
35 2003-12-19  Michael Koch  <konqueror@gmx.de>
36
37         * java/text/MessageFormat.java
38         (MessageFormat): New constructor.
39
40 2003-12-19  Michael Koch  <konqueror@gmx.de>
41
42         * gnu/java/net/protocol/jar/Handler.java
43         (parseURL): New method.
44         (toExternalForm): New method.
45
46 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
47
48         * java/awt/List.java (replaceItem): Prevent selection to move with
49         replace and minimize flickering.
50  
51 2003-12-18  Michael Koch  <konqueror@gmx.de>
52
53         * libltdl/ltdl.c: Define __private_extern__ if needed.
54
55 2003-12-18  Michael Koch  <konqueror@gmx.de>
56
57         * libltdl/.cvsignore: Ignore autom4te.cache
58         * libltdl/Makefile.in: Regenerated.
59         * libltdl/aclocal.m4: Regenerated.
60         * libltdl/acconfig.h: Removed (obsolete).
61         * libltdl/config-h.in: Regenerated.
62         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
63         * libltdl/configure: Regenerated.
64
65 2003-12-18  Michael Koch  <konqueror@gmx.de>
66
67         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
68         java.text.CollationElementIterator tests as they compile again.
69         * testsuite/libjava.mauve/xfails: Added failing
70         java.text.CollationElementIterator tests.
71
72 2003-12-18  Michael Koch  <konqueror@gmx.de>
73
74         * java/util/prefs/AbstractPreferences.java
75         (cachedChildren): New method.
76
77 2003-12-18  Michael Koch  <konqueror@gmx.de>
78
79         * java/util/TimeZone.java (getOffset): New method.
80
81 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
82  
83         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
84         of ActionEvents for mouse double-clicks.
85
86 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
87
88         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
89         null Graphics pointer returned by FileDialogPeer.
90
91 2003-12-17  Michael Koch  <konqueror@gmx.de>
92
93         * libltdl/stamp-h.in: Removed, not used anymore.
94
95 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
96
97         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
98         Removed unused InterruptedIOException.h include.
99         * gnu/java/net/natPlainSocketImplWin32.cc
100         (connect): Reset and ignore our thread's interrupted
101         flag instead of testing and throwing an InterruptedIOException
102         if set.
103         (accept): Likewise + changed case of SocketTimeoutException
104         text.
105         (write): Likewise (for both overloads).
106         (doRead): Likewise.
107
108 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
109
110         * win32.cc (WSAEventWrapper): Implemented default
111         constructor and init() methods.
112         (_Jv_select): Removed.
113         * gnu/java/nio/natSelectorImplWin32.cc
114         (helper_put_filedescriptors): Removed.
115         (helper_get_filedescriptors): Removed.
116         (implSelect): Implemented in terms of WSAEventWrapper
117         and WSAWaitForMultipleEvents instead of _Jv_select().
118         Added support for thread interruption.
119         * include/win32.h (WSAEventWrapper): Minor formatting
120         changes; added default constructor declaration, init(),
121         getFD() and getEventHandle() methods.
122         (_Jv_select): Removed.
123
124 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
125
126         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
127         (peekData): Throw SocketTimeoutException instead of
128         InterruptedIOException on timeout.
129         (receive): Likewise.
130         * gnu/java/net/natPlainSocketImplPosix.cc
131         (read): Made a minor exception text case change.
132
133 2003-12-16  Michael Koch  <konqueror@gmx.de>
134
135         Fix for PR libgcj/13056.
136         * libltdl/configure.in,
137         libltdl/config.h.in: Removed.
138         * libltdl/configure.ac,
139         libltdl/config-h.in,
140         libltdl/install-sh,
141         libltdl/config.guess,
142         libltdl/config.sub,
143         libltdl/missing,
144         libltdl/mkinstalldirs,
145         libltdl/ltmain.sh: New files.
146         * libltdl/Makefile.am,
147         libltdl/acinclude.m4,
148         libltdl/aclocal.m4,
149         libltdl/ltdl.c,
150         libltdl/ltdl.h,
151         libltdl/README: Update to versions from libtool 1.5.
152         libltdl/configure,
153         * libltdl/Makefile.in: Regenerated.
154         * java/lang/natRuntime.cc (find_symbol):
155         Use type 'lt_ptr' instead of 'lt_ptr_t'.
156
157 2003-12-16  Michael Koch  <konqueror@gmx.de>
158
159         * java/awt/MenuComponent.java
160         (serialVersionUID): Fixed value.
161
162 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
163
164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
165         (pre_event_handler): Handle GtkButton widgets differently as events
166         go to its event_window.
167         (connect_awt_hook): Remove compiler warning.
168
169 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
170
171         * java/io/ObjectInputStream.java
172         (lookupClass): New method.
173         (currentLoader): New method.
174         (inputGetObjectStreamClasses): New method.
175         (assignNewHandle): Documented.
176         (currentClassLoader): Documented.
177         * java/io/ObjectStreamClass.java
178         (setClass): Changed API. Better handling of the imported/exported
179         fields.
180         (getSerialPersistentFields): Make it throw previously caught exceptions
181         so they can handled in setClass.
182
183 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
184  
185         * java/io/ObjectStreamField.java: A few methods were added in prevision
186         of the upcoming upgrade of the serialization code. This also adds
187         some missing documentation.
188         (ObjectStreamField): We should throw a NullPointerException when 'name'
189         is null.
190
191  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
192   
193         * java/io/ObjectInputStream.java (setBooleanField):
194         Throw an InvalidClassException if the field hasn't the required type,
195         documentation added.
196         (setByteField) Likewise.
197         (setCharField) Likewise.
198         (setDoubleField) Likewise.
199         (setFloatField) Likewise.
200         (setIntField) Likewise.
201         (setShortField) Likewise.
202         (setLongField) Likewise.
203         (setObjectField) Likewise.
204
205 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
206            Helmer Kraemer <hkraemer@freenet.de>
207  
208         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
209         Splitted the method so we can specify an explicit boot loader.
210
211 2003-12-15  Graydon Hoare  <graydon@redhat.com>
212
213         * jni/gtk-peer/gdkfont.h: New file.
214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
215         include of cairo-xlib.h, add extra gdk_flush().
216
217 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
218
219         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
220         native state table -- native_global_ref_table.
221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
222         native_global_ref_table pointer.
223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
224         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
225         global reference is deleted and memory allocated for pointer freed.
226         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
227         JNI global reference instead of JNI local reference.
228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
229         (pre_event_handler): Remove compilation warning.
230         (connect_awt_hook): Use saved JNI global reference instead of creating
231         a new one.
232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
233         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
234         reference to the Java object.
235         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
236         unused variable declaration and add comment.
237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
238         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
239         reference to the Java object.
240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
241         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
243         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
244         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
245         JNI global reference instead of JNI local reference.
246         (item_toggled): Add debug statement.
247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
248         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
249         reference to the Java object.
250         (connect_choice_item_selectable_hook): Use saved JNI global references
251         instead of JNI local reference.
252         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
253         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
254         global reference to the Java object.
255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
256         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
257         reference to the Java object.
258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
259         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
261         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
263         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
265         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
267         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
269         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
271         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
272         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
273         JNI global reference instead of JNI local reference.
274         (item_selected): Add debug statement.
275         (item_unselected): Add debug statement.
276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
277         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
278         reference to the Java object.
279         Connect "activate" signal handler using global JNI reference.
280         (connect_activate_hook): Removed in favor of inline code.
281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
282         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
283         reference to the Java object.
284         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
285         JNI global reference instead of JNI local reference.  Add FIXME comment.
286         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
287         reference to the Java object.  Add FIXME comment.
288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
289         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
290         reference to the Java object.
291         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
292         JNI global reference instead of JNI local reference.
293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
294         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
295         saved JNI global reference instead of JNI local reference.
296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
297         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
298         reference to the Java object.
299         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
300         JNI global reference instead of JNI local reference.
301
302 2003-12-11  Michael Koch  <konqueror@gmx.de>
303
304         * java/text/Format.java (serialVersionUID): Fixed value.
305
306 2003-12-11  Michael Koch  <konqueror@gmx.de>
307
308         * javax/naming/event/EventDirContext.java: Jalopied.
309         (addNamingListener): Fixed typo in method name.
310         
311
312 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
313
314         * gnu/java/nio/SocketChannelImpl.java
315         (write): Removed diagnostic trace.
316         * gnu/java/nio/natSelectorImplPosix.cc: Added
317         includes for java.lang.Thread and java.io.InterruptedIOException.
318         (helper_put_filedescriptors): Don't put invalid file descriptors
319         in select set.
320         (helper_get_filedescriptors): Clear invalid file descriptors
321         from select set.
322         (helper_reset): New method for clearing our file descriptor
323         array.
324         (implSelect): Correctly calculate timeout if specified and
325         legal.
326         Intercept and deal with any java.io.InterruptedIOException
327         thrown by _Jv_select().
328
329 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
330
331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
332         Most coded moved to pre_event_handler, with the modifications
333         mentioned below.
334         (pre_event_handler): New function.  Called on the Gtk "event" signal.
335         Do not retrieve the jobject from the window property as it is already
336         available as user data in the signal.
337         Do not try and find the grab widget as it is already done by Gtk at
338         this point.
339         Do not search for Window ancestor as Gtk already sends the signal to it.
340         Do not meddle with the activation state of peer widgets on each
341         key press or release.
342         Add CList to the special handling when looking for the focused widget.
343         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
345         New function.
346         (connectSignals): New function.
347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
348         Rename to...
349         (connectSignals): New name.  Get rid of NewGlobalRef call.
350         Use g_signal_connect instead of deprecated gtk_signal_connect.
351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
352         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
353         deprecated gtk_signal_connect.
354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
357         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
359         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
360         function.
361         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
362         function.
363         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
364         function.
365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
366         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
367         function.
368         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
369         function.
370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
371         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
372         function.
373         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
374         function.
375         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
376         function.
377         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
378         code.
379         (item_select): Remove indirection.
380         (item_unselect): Ditto.
381         (connect_selectable_hook): Folded into connectSignals.
382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
383         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
384         function.
385         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
386         function.
387         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
388         function.
389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
392         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
393         function.
394         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
395         function.
396         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
397         connectJObject and connectSignals instead of connectHooks.
398         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
399         connectSignals.
400         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
401         and not connectHooks.
402         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
403         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
404         and not connectHooks.
405         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
406         connectSignals instead of connectHooks.
407         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
408         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
409         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
410
411 2003-12-09  Michael Koch  <konqueror@gmx.de>
412
413         * Makefile.am (nat_headers_install): New variable with header files to
414         install automatically.
415         (install-data-local): Install all headers listed in
416         nat_headers_install. Install innert nat headers explicitely.
417         * Makefile.in: Regenerated.
418
419 2003-12-09  Michael Koch  <konqueror@gmx.de>
420
421         * java/util/Calendar.java,
422         java/util/IdentityHashMap.java,
423         java/util/prefs/Preferences.java:
424         Import used classes explicitely.
425
426 2003-12-09  Michael Koch  <konqueror@gmx.de>
427
428         * java/net/DatagramSocket.java
429         (close): Directly return if socket is closed.
430         * java/net/ServerSocket.java
431         (close): Directly return if socket is closed.
432         * java/net/Socket.java
433         (close): Directly return if socket is closed.
434
435 2003-12-09  Michael Koch  <konqueror@gmx.de>
436
437         * gnu/java/nio/SelectorImpl.java
438         (implSelect): Throws IOException.
439         (select): Likewise.
440
441 2003-12-08  Kim Ho  <kho@redhat.com>
442
443         Fix for Checkbox states.
444         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
445         (currentState): New field.
446         (nativeCreate): Add initial state parameter.
447         (create): Changed to reflect new parameter.
448         (setState): Fire only on changed states.
449         (postItemEvent): Fire only on changed states. Also change the 
450         Java Checkbox to reflect new state.
451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
452         (nativeCreate): Add parameter and set active state.
453
454 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
455  
456         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
457         object of type expected by specified DataFlavor.
458
459 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
460  
461         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
462         error which was clipping off the first character of a parameter value.
463
464 2003-12-08  Olga Rodimina <rodimina@redhat.com>
465
466         * java/awt/Polygon.java
467         (translate): Fixed error that caused polygon 
468         to move right/left when up/down translation was required.
469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
470         (getSelectionStart): Initialized start position to 0. 
471         (getSelectionEnd): Initialized end position to 0.
472         (getCaretPosition): Initialized caret position to 0.
473         (getText): Initialized selected text to NULL 
474
475 2003-12-08  Michael Koch  <konqueror@gmx.de>
476
477         Fix for PR libgcj/13176.
478         * java/io/PrintStream.java: Partly revert my previous patches to get
479         (line_separator): New field.
480         (converter): New field.
481         (work): New field.
482         (work_bytes): New field.
483         (pw): Removed.
484         (closed): Removed.
485         (PrintStrean): Initialize converter and not pw.
486         (checkError): Flush always, pw doesn't exist anymore.
487         (close): Close underlying out stream.
488         (print): New method.
489         (writeChars): New method.
490         (print): Use new internal print method.
491         (println): Likewise.
492
493 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
494
495         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
496         putAllInternal.
497         (putAllInternal): Correct comment.
498         * java/util/HashMap.java (HashMap(Map)): As above.
499         (putAllInternal): As above.
500
501 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
502
503         * java/util/Hashtable.java (internalContainsValue): Removed.
504         (containsValue): Don't delegate to internalContainsValue.
505
506 2003-12-06  Michael Koch  <konqueror@gmx.de>
507
508         * javax/naming/directory/Attribute.java,
509         javax/naming/directory/Attributes.java,
510         javax/naming/directory/DirContext.java,
511         javax/naming/directory/InitialDirContext.java,
512         javax/naming/directory/SearchResult.java,
513         javax/naming/event/EventContext.java,
514         javax/naming/event/NamingEvent.java,
515         javax/naming/event/NamingExceptionEvent.java,
516         javax/naming/ldap/ControlFactory.java,
517         javax/naming/ldap/ExtendedRequest.java,
518         javax/naming/ldap/HasControls.java,
519         javax/naming/ldap/InitialLdapContext.java,
520         javax/naming/ldap/LdapContext.java,
521         javax/naming/ldap/LdapReferralException.java,
522         javax/naming/ldap/UnsolicitedNotification.java,
523         javax/naming/ldap/UnsolicitedNotificationListener.java,
524         javax/naming/spi/DirObjectFactory.java,
525         javax/naming/spi/DirStateFactory.java,
526         javax/naming/spi/DirectoryManager.java,
527         javax/naming/spi/NamingManager.java,
528         javax/naming/spi/ObjectFactoryBuilder.java,
529         javax/naming/spi/ResolveResult.java,
530         javax/naming/spi/Resolver.java,
531         javax/naming/spi/StateFactory.java:
532         Import used classes explicitely.
533
534 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
535
536         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
537         (clip): Removed field
538         (clipRectangles): New field.
539         (clone): Use new updateClip.
540         (setClipRectangles): Use new updateClip.
541         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
542
543 2003-12-04  Michael Koch  <konqueror@gmx.de>
544
545         * java/io/FilePermission.java:
546         Import used classes explicitely.
547
548 2003-12-04  Michael Koch  <konqueror@gmx.de>
549
550         * java/beans/BeanDescriptor.java,
551         java/beans/EventSetDescriptor.java,
552         java/beans/FeatureDescriptor.java,
553         java/beans/IndexedPropertyDescriptor.java,
554         java/beans/Introspector.java,
555         java/beans/MethodDescriptor.java,
556         java/beans/PropertyDescriptor.java,
557         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
558         * java/beans/beancontext/BeanContextServicesSupport.java
559         (serialVersionUID): New field.
560
561 2003-12-04  Michael Koch  <konqueror@gmx.de>
562
563         * java/awt/MenuComponent.java: Import java.io.Serialization.
564         * java/awt/MenuItem.java: Likewise.
565         * java/awt/TextComponent.java: Likewise.
566         * java/awt/image/ImagingOpException.java
567         (serialVersionUID): Fixed.
568
569 2003-12-04  Michael Koch  <konqueror@gmx.de>
570
571         * gnu/java/net/protocol/http/Connection.java
572         (sendRequest): Merged writing http headers with classpath.
573         (getInputStream): Merged documentation from classpath.
574         (getHeaderField): Likewise.
575         (getHeaderFieldKey): Likewise.
576
577 2003-12-04  Michael Koch  <konqueror@gmx.de>
578
579         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
580
581 2003-12-04  Michael Koch  <konqueror@gmx.de>
582
583         * java/net/DatagramPacket.java
584         (length): Made packge-private to make it accessible via CNI.
585         (maxlen): New field.
586         (DatagramPacket): Cleaned up.
587         (setSocketAddress): Add message to exception.
588         (setData): Call other setData().
589         (setData): Call setLength().
590         (setLength): Initialize maxlen too.
591         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
592         Get maximal length from maxlen field, set length field directly.
593         (receive): Likewise.
594         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
595         Get maximal length from maxlen field, set length field directly.
596         (receive): Likewise.
597
598 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
599
600         * gnu/java/nio/natSelectorImplPosix.cc
601         (implSelect): A timeout of 0 means an infinite
602         timeout.
603
604 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
605  
606         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
607         of ActionEvents.
608
609 2003-12-03  Michael Koch  <konqueror@gmx.de>
610
611         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
612         * java/lang/natClass.cc (getSigners): Likewise.
613         (setSigners): Likewise.
614
615 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
616
617         * configure.in: Added new MinGW-specific configure flag
618         --with-win32-nlsapi.
619         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
620         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
621         is set to unicows.
622         * configure: Rebuilt.
623         * include/config.h.in: Rebuilt.
624         * win32.cc (_Jv_Win32NewString): Implemented.
625         (nativeToUnicode): New helper function defined only for
626         non-UNICODE builds.
627         (unicodeToNative): Likewise.
628         (_Jv_Win32TempString): Implemented.
629         (lots): Refactored using tchar.h macros.
630         (WSAEventWrapper): Use _Jv_Win32NewString.
631         (_Jv_platform_initialize): Use GetModuleFileNameA instead
632         of GetModuleFileName.
633         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
634         Use temporary stack buffer instead of a heap buffer.
635         * include/win32.h
636         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
637         defined; added tchar.h include.
638         (_Jv_Win32TempString): Declared new helper class.
639         (JV_TEMP_STRING_WIN32): New helper macro.
640         (_Jv_Win32NewString): Declared new helper method.
641         * java/io/natFileDescriptorWin32.cc (open): Use
642         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
643         (write): Reformatted slightly.
644         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
645         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
646         (getCanonicalPath): Use _Jv_Win32NewString instead of
647         JvNewStringUTF.
648         (performList): Likewise.
649         * java/lang/natWin32Process.cc (ChildProcessPipe):
650         Use tchar.h macros.
651         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
652         and UNICODE environment flag for CreateProcess.
653         * java/net/natNetworkInterfaceWin32.cc
654         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
655         _Jv_Win32NewString.
656
657 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
658
659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
660         (initState): Mark obj parameter as unused.
661         (stringWidth): Mark obj parameter as unused.  Initialize
662         font_name properly.
663
664         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
665         BufferedImageBuilder class static.
666
667 2003-12-02  Mark Wielaard  <mark@klomp.org>
668
669         * java/security/Security.java: Don't use &nbsp; in the api doc.
670
671 2003-12-02  Dalibor Topic <robilad@kaffe.org>
672
673         Reported by: Jim Pick <jim@kaffe.org>
674         * libraries/javalib/java/util/Hashtable.java
675         (internalcontainsValue): New method.
676         (contains): Delegate to internalContainsValue.
677         
678         Reported by: Mark Wielaard  <mark@klomp.org>
679         * libraries/javalib/java/util/Hashtable.java
680         (contains): Improved comment.
681         
682         Reported by: Jeroen Frijters  <jeroen@frijters.net>
683         * libraries/javalib/java/util/Hashtable.java
684         (containsValue): Delegate to contains(Object) to make sure older
685         code overwriting it continues to work.
686
687 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
688
689         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
690         method. Handle mouse and key events that must generate
691         ActionEvents.
692         * java/awt/List.java (getSelectedIndex): Return -1
693         if no list element is selected.
694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
695         Correct handling of mouse and key events so that List receives them.
696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
697         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
698         multiple list elements. 
699
700 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
701
702         * java/text/SimpleDateFormat.java (compileFormat):
703         isLowerCase() and isUpperCase() allow too many characters.
704         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
705
706 2003-12-02  Dalibor Topic <robilad@kaffe.org>
707
708         * java/text/FieldPosition.java (equals): Fixed comment.
709
710 2003-12-02  Mark Wielaard  <mark@klomp.org>
711
712         Reported by Archie Cobbs:
713         * java/security/DigestInputStream.java (read(byte[], int, int): Call
714         digest.update() with temp, not len as lenght.
715
716 2003-12-02  Michael Koch  <konqueror@gmx.de>
717
718         * java/net/DatagramSocket.java
719         (close): Close associated DatagramChannel object.
720         * java/net/ServerSocket.java
721         * java/net/Socket.java
722         (close): Reset impl and bound before calling getChannel().close() to
723         prevent from loops.
724
725 2003-12-02  Michael Koch  <konqueror@gmx.de>
726
727         * java/nio/channels/spi/AbstractInterruptibleChannel.java
728         (opened): Removed.
729         (closed): New field.
730         (close): Check of channel is closed already.
731         (isOpen): Return !closed.
732
733 2003-12-02  Michael Koch  <konqueror@gmx.de>
734
735         * gnu/java/nio/DatagramChannelImpl.java
736         (blocking): Initialize with true by default.
737         * gnu/java/nio/ServerSocketChannelImpl.java
738         (serverSocket): Made private.
739         (blocking): Likewise.
740         (connected): Likewise.
741         * gnu/java/nio/SocketChannelImpl.java
742         (connectionPending): Made private.
743         * gnu/java/nio/FileLockImpl.java
744         (static): Load native library (needed for classpath).
745         * gnu/java/nio/SelectorImpl.java
746         (static): Load native library (needed for classpath).
747
748 2003-12-02  Michael Koch  <konqueror@gmx.de>
749
750         * gnu/java/net/protocol/file/Connection.java
751         (getLastModified): Implement for file connections.
752         (getContentLength): Likewise.
753
754 2003-12-02  Michael Koch  <konqueror@gmx.de>
755
756         * gnu/java/net/protocol/file/Connection.java:
757         Some reformating.
758         (file): Renamed from fileIn.
759         (getPermission): Moved around.
760
761 2003-12-02  Michael Koch  <konqueror@gmx.de>
762
763         * gnu/java/net/protocol/jar/Connection.java
764         (Connection): Made class final, merged documentation with classpath.
765         (file_cache): Made private.
766         (jar_file): Renamed from jarfile.
767
768 2003-12-02  Michael Koch  <konqueror@gmx.de>
769
770         * gnu/java/net/protocol/http/Connection.java
771         (Connection): Initialize doOutput to false;
772         (connect): Initialize inputStream, moved "send request" code to new
773         method.
774         (sendRequest): New method.
775         (getHttpHeaders): Don't reinitialize inputStream.
776
777 2003-12-02  Michael Koch  <konqueror@gmx.de>
778
779         * gnu/java/net/protocol//http/Connection.java
780         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
781         (requestProperties): Initialize, documentation added.
782         (inputStream): Renamed from bufferedIn.
783         (Connection): Dont initialize requestProperties.
784         (setDefaultRequestProperty): Removed.
785         (getDefaultRequestProperty): Removed.
786         (usingProxy): Documentation added.
787         (getHttpHeaders): Likewise.
788
789 2003-12-02  Michael Koch  <konqueror@gmx.de>
790
791         * java/text/DateFormat.java:
792         Explicitely import used classes.
793
794 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
795
796         * verify.cc (state::clean_subrs): Clear seen_subrs.
797         (state::copy): Walk seen_subrs from copy, not `this'.
798         Don't clear seen_subrs.
799
800 2003-12-01  Kim Ho <kho@redhat.com>
801
802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
803         Disable wrapping if TextArea has horizontal scroll bars.
804
805 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
806
807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
808         (awt_event_handler): Hard-code inset values.
809
810         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
811         Pass font name, not XLFD, to initState.
812         (stringWidth(String, int, String)): New method.
813         (stringWidth(String)): Call new stringWidth.
814         (getLeading): Always return 0.
815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
816         (initState): New Pango implementation.
817         (stringWidth): Likewise.
818
819 2003-12-01  Olga Rodimina <rodimina@redhat.com>
820
821         * java/awt/TextComponent.java:
822         (getSelectionStart): Updated javadocs.
823         (getSelectionEnd): Ditto.
824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
825         (getSelectionStart): Changed to return caret position if no
826         text is selected
827         (getSelectionEnd): Ditto.
828
829 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
830
831         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
832         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
833         gnu/awt/gtk/GtkContainerPeer.java,
834         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
835         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
836         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
837         gnu/awt/gtk/natGtkComponentPeer.cc,
838         gnu/awt/gtk/natGtkContainerPeer.cc,
839         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
840         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
841         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
842
843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
844         (closed): Mark loader parameter as unused.
845
846 2003-12-01  Michael Koch  <konqueror@gmx.de>
847
848         * gnu/java/net/protocol/http/Connection.java
849         (Connection): Merged class documentation.
850         (socket): Renamed from sock.
851         (Connection): Made protected, documentation added.
852         (connect): Give URL'S host instead of InetAddress to Socket
853         constructor.
854         (disconnect): Documentation added.
855         (getOutputStream): Rewrapped.
856
857 2003-12-01  Michael Koch  <konqueror@gmx.de>
858
859         * gnu/java/net/protocol/file/Connection.java
860         (fileIn): Documentation added.
861         (inputStream): Likewise.
862         (outputStream): Likewise.
863         (Connection): Likewise.
864         (connect): Simplified.
865
866 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
867
868         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
869         setProperties): Check that io is not null before calling
870         io.imageUpdate.
871         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
872         Update javadocs.
873         * java/awt/image/PixelGrabber.java: Fix implementation and
874         update javadocs.
875
876 2003-12-01  Michael Koch  <konqueror@gmx.de>
877
878         * gnu/java/net/natPlainSocketImplPosix.cc
879         bind(): Dont set SockedImpl.address field on succesful bind.
880         * gnu/java/net/natPlainSocketImplWin32.cc
881         bind(): Likewise.
882
883 2003-11-30  Jeff Sturm <jsturm@one-point.com>
884
885         * java/net/InetAddress.java:
886         (static): Don'f force DNS request for ANY_IF address.
887
888 2003-11-30  Michael Koch  <konqueror@gmx.de>
889
890         * java/net/InetAddress.java,
891         java/net/natInetAddressNoNet.cc,
892         java/net/natInetAddressPosix.cc,
893         java/net/natInetAddressWin32.cc:
894         Reverted my last patch.
895
896 2003-11-28  Michael Koch  <konqueror@gmx.de>
897
898         * java/net/InetAddress.java
899         (lookup): New method that doesnt lookup "0.0.0.0".
900         (ImplLookup): Renamed from lookup.
901         * java/net/natInetAddressNoNet.cc
902         (ImplLookup): Renamed from lookup.
903         * java/net/natInetAddressPosix.cc
904         (ImplLookup): Renamed from lookup.
905         * java/net/natInetAddressWin32.cc
906         (ImplLookup): Renamed from lookup.
907
908 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
909
910         * configure: Rebuilt.
911         * configure.in: Require gtk and glib 2.2.0.
912
913 2003-11-27  Dalibor Topic <robilad@kaffe.org>
914
915         * java/text/FieldPosition.java (equals): Adapted to handle
916         field_attribute. Added fast-circuit check for comparison to self.
917         Replaced use of instanceof by getClass to fix symmetry for derived
918         types.
919         (toString): Adapted to handle field_attribute. Improved readability.
920         (hashCode): New method.
921
922 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
923
924         * java/text/FieldPosition.java (field_attribute): New field.
925         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
926         getFieldAttribute): New methods.
927
928 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
929
930         * java/text/DecimalFormatSymbols.java (locale): New field.
931         (DecimalFormatSymbols (Locale)): Set locale.
932         (serialVersionOnStream): Upgraded to number 2.
933         (readObject): Assign locale if it wasn't by the serializer.
934
935 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
936
937         * java/text/FormatCharacterIterator.java: Documented the class and
938
939 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
940
941         * java/text/FormatCharacterIterator.java: Fixed some typos.
942
943 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
944
945         * java/text/NumberFormat.java:
946         (getIntegerInstance) Added the java version in the comments.
947
948 2003-11-27  Mark Wielaard  <mark@klomp.org>
949
950         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
951         (readResolve): Reformat.
952
953 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
954
955         * java/text/NumberFormat.java
956         (NumberFormat.Field): New implemented class to match Java 1.4. 
957         (getIntegerInstance): Two new Java 1.4 methods.o
958
959 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
960
961         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
962         the leap day of the leap year twice.
963         (computeFields): First week of month is 1 not 0.
964
965 2003-11-27  Mark Wielaard  <mark@klomp.org>
966
967         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
968         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
969
970 2003-11-27  Michael Koch  <konqueror@gmx.de>
971
972         * javax/swing/UIDefaults.java:
973         Reformated to match classpath's version.
974
975 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
976
977         * javax/swing/UIManager.java (getDefaults, getDimension,
978         getIcon, getInsets, getInstalledLookAndFeels, getInt,
979         getLookAndFeel, getString, getSystemLookAndFeelClassName):
980         Declare as public.
981
982 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
983
984         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
985         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
986         isSignificant): Likewise.
987
988 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
989
990         * javax/swing/undo/CompoundEdit.java: Re-format, document.
991         (inProgress): Set initial value to true.
992         (undo, redo, die, canUndo, canRedo): Also call inherited
993         implementation; simplify code structure.
994         (getPresentationName, getUndoPresentationName,
995         getRedoPresentationName): Make behavior dependent on lastEdit.
996         (addEdit, isSignificant): Completely re-written.
997
998 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
999
1000         * javax/swing/undo/StateEdit.java: Re-format, document.
1001         (undo, redo): Also call inherited implementation.
1002
1003 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1004
1005         * javax/swing/undo/StateEditable.java: Re-format, document.
1006
1007 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1008
1009         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1010         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1011         (canUndo, canRedo): Simplify.
1012         (getUndoPresentationName, getRedoPresentationName): Support
1013         localized message; call getPresentationName() only once.
1014
1015 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1016
1017         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1018         (ZipFile(File,int)): Likewise.
1019
1020 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1021
1022         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1023         (putAllInternal): Likewise.
1024         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1025         (putAllInternal): Likewise.
1026
1027 2003-11-26  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/net/URLStreamHandler.java
1030         (parseURL): Added comment in catch statement.
1031         (canonicalizeFilename): Add documentation.
1032         (sameURL): Completed documentation.
1033         (equals): Likewise.
1034         (hostsEqual): Likewise.
1035         (getDefaulPort): Likewise.
1036         (hashCode): Likewise.
1037         (toExternalForm): Likewise.
1038         (getHostName): Fix empty hostname check, completed documentation.
1039
1040 2003-11-26  Tom Tromey  <tromey@redhat.com>
1041
1042         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1043         2003-11-13.
1044
1045 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1046             Mark Wielaard  <mark@klomp.org>
1047
1048         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1049         ('@' should be checked to distinguish port from userinfo).
1050         (toExternalForm): Add @ userInfo if necessary.
1051
1052
1053 2003-11-26  Michael Koch  <konqueror@gmx.de>
1054
1055         * java/net/DatagramSocket.java
1056         (DategramSocket, bind): Moved binding code from DatagramSocket
1057         constructor to bind method.
1058
1059 2003-11-26  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/net/DatagramSocket.java
1062         (impl): Made private.
1063         (bound): New private member variable.
1064         (DatagramSocket): Fixed documentation, use getImpl().
1065         (getImpl): New package-private method.
1066         (isClosed): Use getImpl().
1067         (getLocalAddress): Completed documentation, use getImpl().
1068         (getLocalPort): Use getImpl().
1069         (getSoTimeout): Likewise.
1070         (setSoTimeout): Likewise.
1071         (getSendBufferSize): Likewise.
1072         (setSendBufferSize): Likewise.
1073         (getReceiveBufferSize): Likewise.
1074         (setReceiveBufferSize): Likewise.
1075         (connect): Likewise.
1076         (disconnect): Likewise.
1077         (receive): Likewise.
1078         (send): Likewise.
1079         (setReuseAddress): Likewise.
1080         (setTrafficClass): Likewise.
1081         (bind): Added message to exception.
1082         (isClosed): Completed documentation.
1083         (getChannel): Likewise.
1084         (connect): Added missing exception, refined exception message.
1085         (isBound): Completed documentation, just return bound.
1086         (isConnected): Completed documentation.
1087         (getRemoteSocketAddress): Likewise.
1088         (getReuseAddress): Completed documentation, use getImpl().
1089         (setSoBroadcast): Likewise.
1090         (getSoBroadcast): Likewise.
1091         (getTrafficClass): Likewise.
1092         (getLocalSocketAddress): Simplified.
1093         * java/net/MulticastSocket.java
1094         (MulticastSocket): Removed comment not applying anymore.
1095         (getInterface): Use getImpl().
1096         (getTTL): Likewise.
1097         (getTimeToLive): Likewise.
1098         (setInterface): Likewise.
1099         (setNetworkInterface): Likewise.
1100         (getNetworkInterface): Likewise.
1101         (setLoopback): Likewise.
1102         (getLoopback): Likewise.
1103         (setTTL): Likewise.
1104         (setTimeToLive): Likewise.
1105         (joinGroup): Likewise.
1106         (leaveGroup): Likewise.
1107         (send): Likewise.
1108
1109 2003-11-26  Michael Koch  <konqueror@gmx.de>
1110
1111         * java/net/Socket.java
1112         (implCreated): Dont set default value explicitely, added
1113         documentation.
1114         (inputShutdown): Likewise.
1115         (outputShutdown): Likewise.
1116         (bound): New private member variable.
1117         (bind): Set bound to true.
1118         (close): Set bound to false.
1119         (isBound): Return bound.
1120         * java/net/ServerSocket.java
1121         (bound): New private member variable.
1122         (bind): Set bound to true.
1123         (close): Set bound to false.
1124         (isBound): Return bound.
1125
1126 2003-11-26  Michael Koch  <konqueror@gmx.de>
1127
1128         * java/net/URL.java
1129         (URL): Fixed documentation to be HTML compliant.
1130         (getContent): Completed documentation.
1131         (getFile): Likewise.
1132         (getPath): Likewise.
1133         (getAuthority): Likewise.
1134         (getHost): Likewise.
1135         (getDefaultPort): Likewise.
1136         (getProtocol): Likewise.
1137         (hashCode): Likewise.
1138         (openConnection): Likewise.
1139         (openStream): Likewise.
1140         (set): Likewise.
1141         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1142
1143 2003-11-26  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/net/InetSocketAddress.java
1146         (hostname): Made private, added documentation.
1147         (addr): Likewise.
1148         (port): Likewise.
1149         (equals): Completed documentation.
1150         (getAddress): Likewise.
1151         (getHostName): Likewise.
1152         (getPort): Likewise.
1153         (hashCode): Likewise.
1154         (isUnresolved): Likewise.
1155         (toString): Likewise.
1156
1157 2003-11-26  Michael Koch  <konqueror@gmx.de>
1158
1159         * gnu/java/net/protocol/file/Handler.java
1160         (Handler): New explicit constructor.
1161         (openConnection): Added documentation.
1162         * gnu/java/net/protocol/jar/Handler.java
1163         (Handler): New explicit constructor.
1164         (openConnection): Added documentation.
1165
1166 2003-11-26  Michael Koch  <konqueror@gmx.de>
1167
1168         * java/net/DatagramPacket.java
1169         (DatagramPacket): Fixed documentation to become legal HTML.
1170
1171 2003-11-25  Michael Koch  <konqueror@gmx.de>
1172
1173         * gcj/javaprims.h: Added missing java.util.Currency.
1174
1175 2003-11-25  Michael Koch  <konqueror@gmx.de>
1176
1177         * testsuite/libjava.mauve/xfails:
1178         Removed these two tests, they mystically pass now:
1179         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1180         test_params failed - 5getInetAddress did not return proper values
1181         (number 1)
1182         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1183         test_BasicServer failed - 11 exception was thrown :Illegal seek
1184         (number 1)
1185
1186 2003-11-25  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/net/DatagramSocket.java
1189         (factory): Made private.
1190         (closed): Removed.
1191         (DatagramSocket): Check impl argument, use constructor with
1192         SocketAddress argument.
1193         (close): Set impl to null, use isClosed().
1194         (isClosed): Check for impl == null.
1195         (getLocalAddress): Use isClosed().
1196         (getLocalPort): Check if socket is closed.
1197         (getSoTimeout): Likewise.
1198         (setSoTimeout): Likewise.
1199         (getSendBufferSize): Likewise.
1200         (setSendBufferSize): Likewise.
1201         (getReceiveBufferSize): Likewise.
1202         (setReceiveBufferSize): Likewise.
1203         (receive): Likewise.
1204         (send): Likewise.
1205         (bind): Likewise.
1206         (connect): Likewise.
1207         (setReuseAddress): Likewise.
1208         (getReuseAddress): Likewise.
1209         (setBroadcast): Likewise.
1210         (getBroadcast): Likewise.
1211         (setTrafficClass): Likewise.
1212         (getTrafficClass): Likewise.
1213         * java/net/MulticastSocket.java
1214         (getInterface): Check if socket is closed.
1215         (getTTL): Likewise.
1216         (getTimeToLive): Likewise.
1217         (setInterface): Likewise.
1218         (setNetworkInterface): Likewise.
1219         (getNetworkInterface): Likewise.
1220         (setLoopbackMode): Likewise.
1221         (setTTL): Likewise.
1222         (setTimeToLive): Likewise.
1223         (joinGroup): Likewise.
1224         (leaveGroup): Likewise.
1225         (send): Likewise.
1226         * java/net/ServerSocket.java
1227         (closed): Removed.
1228         (close): Check if socket is closed, set impl to null.
1229         (isClosed): Check impl == null;
1230         (ServerSocket): Check impl argument.
1231         (getInetAddress): Check if socket is bound.
1232         (getLocalPort): Likewise.
1233         (getLocalSocketAddress): Likewise.
1234         (bind): Check if socket is closed.
1235         (implAccept): Likewise.
1236         (setSoTimeout): Likewise.
1237         (getSoTimeout): Likewise.
1238         (setReuseAddress): Likewise.
1239         (getReuseAddress): Likewise.
1240         (setReceiveBufferSize): Likewise.
1241         (getReceiveBufferSize): Likewise.
1242         (toString): Make output compliant to JDK 1.4.2.
1243         * java/net/Socket.java
1244         (closed): Removed.
1245         (Socket): Fixed documentation.
1246         (connect): Check if socket is closed, changed exception text,
1247         fixed documentation.
1248         (getInputStream): Check of socket is closed  and connected.
1249         (getOutputStream): Likewise.
1250         (bind): Check if socket is closed.
1251         (setTcpNoDelay): Likewise.
1252         (getTcpNoDelay): Likewise.
1253         (setSoLinger): Likewise.
1254         (getSoLinger): Likewise.
1255         (sendUrgentData): Likewise.
1256         (setOOBInline): Likewise.
1257         (getOOBInline): Likewise.
1258         (setSoTimeout): Likewise.
1259         (getSoTimeout): Likewise.
1260         (setSendBufferSize): Likewise.
1261         (getSendBufferSize): Likewise.
1262         (setReceiveBufferSize): Likewise.
1263         (getReceiveBufferSize): Likewise.
1264         (setKeepAlive): Likewise.
1265         (getKeepAlive): Likewise.
1266         (close): Likewise.
1267         (shutdownInput): Likewise.
1268         (shutdownOutput): Likewise.
1269         (getReuseAddress): Likewise.
1270         (getTrafficClass): Likewise.
1271         (setTrafficClass): Likewise.
1272         (isClosed): Check impl == null.
1273         (toString): Added missing ']'.
1274
1275 2003-11-24  Tom Tromey  <tromey@redhat.com>
1276
1277         * Makefile.in: Rebuilt.
1278         * Makefile.am (propdir): New macro.
1279         (install-data-local): Install logging.properties.
1280         (core_java_source_files): Added java.util.logging.*.
1281         * java/util/logging/logging.properties: New file.
1282
1283 2003-11-25  Michael Koch  <konqueror@gmx.de>
1284
1285         * java/net/DatagramSocket.java
1286         (DatagramSocket): Move binding code to bind(), simplify constructors.
1287         * java/net/MulticastSocket.java
1288         (MulticastSocket): Call parent constructor with null argument,
1289         bind socket after setReuseAddress is called, simplify constructors.
1290
1291 2003-11-24  Michael Koch  <konqueror@gmx.de>
1292
1293         * javax/swing/BoxLayout.java
1294         (serialVersionUIR): New member variable.
1295         (X_AXIS, Y_AXIS): Documentation added.
1296         (LINE_AXIS, PAGE_AXIS): New constants.
1297         (grid): Renamed from gridbag.
1298         (BoxLayout): Use new constants, throw exception if invalid value for
1299         way, added documentation.
1300         (BoxLayout): Removed.
1301         (addLayoutComponent): Use new constants, added documentation.
1302         (removeLayoutComponent): Likewise.
1303         (addLayoutContainer): Added documentation.
1304         (preferredLayoutSize): Added documentation, check given argument.
1305         (minimumLayoutSize): Likewise.
1306         (layoutContainer): Likewise.
1307         (getLayoutAlignmentX): Likewise.
1308         (getLayoutAlignmentY): Likewise.
1309         (invalidateLayout): Likewise.
1310         (maximumLayoutSize): Likewise.
1311
1312 2003-11-22  Michael Koch  <konqueror@gmx.de>
1313
1314         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1315         (peekData): Use offset and maximal free space in datagram packet.
1316         (receive): Likewise.
1317         (send): Use offset in datagram packet.
1318
1319 2003-11-22  Michael Koch  <konqueror@gmx.de>
1320
1321         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1322         (peekData): Use offset and maximal free space in datagram packet.
1323         (receive): Likewise.
1324         (send): Use offset in datagram packet.
1325
1326 2003-11-22  Michael Koch  <konqueror@gmx.de>
1327
1328         * gnu/java/nio/DatagramChannelImpl.java
1329         (getNativeFD): Use getPlainDatagramSocketImpl().
1330         * gnu/java/nio/NIODatagramSocket.java
1331         (getPlainDatagramSocketImpl): Renamed from getImpl().
1332         * gnu/java/nio/NIOSocket.java
1333         (getPlainSocketImpl): Renamed from getImpl().
1334         (setChannel): Use getPlainSocketImpl().
1335         * gnu/java/nio/SocketChannelImpl.java
1336         (SocketChannelImpl): Use getPlainSocketImpl().
1337         (getPlainSocketImpl): Renamed from getImpl().
1338         (getNativeFD): Use getPlainSocketImpl().
1339
1340 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1341
1342         * javax/swing/JLayeredPane.java: Implement.
1343         * javax/swing/JFrame.java (getContentPane): Make public
1344         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1345         Use JLayeredPane.FRAME_CONTENT_LAYER.
1346
1347 2003-11-21  Mark Wielaard  <mark@klomp.org>
1348
1349         * java/lang/Float.java (static): Removed.
1350
1351 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1352
1353         * java/awt/font/TextLayout.java: Implement simple layouts
1354         using attributed strings and glyph vectors.
1355
1356 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1357
1358         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1359         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1360         (GdkFontLineMetrics): New inner class.
1361         (getLineMetrics): Return new GdkFontLineMetrics.
1362         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1363         (layoutGlyphVector): Create GdkGlyphVector.
1364         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1365         (GdkGraphics2D): Initialize state via mathod calls.
1366         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1367         (cairoTranslate, cairoScale, cairoRotate): Remove.
1368         (various methods): use setTransform for special transform cases.
1369         (DrawState): New inner class.
1370         (stateSave): New method.
1371         (stateRestore): New method.
1372         (various methods): use stateSave, stateRestore.
1373         (getClipInDevSpace): New method.
1374         (clip, clipRect, setClip, getClip, getClipBounds): 
1375         Follow spec more closely.
1376         (getTransform): Return clone of transform.
1377         (setStroke): Set linewidth to passed width / 2.0.
1378         (setPaintMode): Set SrcOver rather than Xor.
1379         (setColor): Set paint to passed color.
1380         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1381         transform from image to user space.
1382         (drawRenderedImage, drawRenderableImage): Implement.
1383         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1384         Implement
1385         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1386         Implement.
1387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1388         Match changes to java side.
1389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1390         Release resources.
1391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1392         Don't use pango for metrics.
1393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1394         New file.
1395
1396 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1397             Jim Pick  <jim@kaffe.org>
1398
1399         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1400         methods.
1401
1402 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1403
1404         * java/text/DecimalFormatSymbols.java (getCurrency,
1405         setCurrency): New methods.
1406
1407 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1408
1409         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1410         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1411         Describe how the implementation works.
1412
1413 2003-11-19  Michael Koch  <konqueror@gmx.de>
1414
1415         * java/net/Socket.java
1416         (implCreated): New variable that indicates created impl.
1417         (getImpl): New method.
1418         (toString): Return more SUN compliant string representation.
1419         (various): Use getImpl() instead of impl.
1420
1421 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1422
1423         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1424         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1425         flags.
1426
1427 2003-11-18  Tom Tromey  <tromey@redhat.com>
1428
1429         PR libgcj/13026:
1430         * verify.cc (state::copy): Only set local_changed if we're in a
1431         subroutine.  Correctly copy local variables which were modified
1432         by the subroutine.
1433         (push_jump_merge): Added more debugging output.
1434
1435         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1436         is null.
1437
1438 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1439
1440         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1441         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1442
1443 2003-11-16  Tom Tromey  <tromey@redhat.com>
1444
1445         PR libgcj/13062:
1446         * java/io/StreamTokenizer.java (commentChar): Clear other
1447         attributes for character.
1448         (quoteChar): Likewise.
1449
1450 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1451
1452         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1453         zero-length int arrays when layoutInfo is null.
1454         (getLayoutWeights): Return array of two zero-length double arrays when
1455         layoutInfo is null.
1456
1457 2003-11-13  Tom Tromey  <tromey@redhat.com>
1458
1459         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1460         JvGetStringUTFRegion.
1461         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1462         to JvGetStringUTFRegion.
1463         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1464         JvGetStringUTFRegion.
1465         * java/lang/natWin32Process.cc (startProcess): Pass length of
1466         string to JvGetStringUTFRegion.
1467         * java/lang/natClass.cc (forName): Pass length of string to
1468         JvGetStringUTFRegion.
1469         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1470         of string to JvGetStringUTFRegion.
1471         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1472         JvGetStringUTFRegion.
1473         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1474         to JvGetStringUTFRegion.
1475         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1476         string to JvGetStringUTFRegion.
1477
1478 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1479
1480         * gnu/java/nio/natSelectorImplPosix.cc
1481         (helper_put_filedescriptors): Change to static linkage.
1482         (helper_get_filedescriptors): Likewise.
1483
1484 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1485
1486         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1487         null check.
1488         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1489         * java/awt/Component.java (prepareImage): Likewise.
1490
1491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1492         Rename to nativeSetAlignment.
1493
1494 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1495
1496         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1497         (JNI_GetCreatedJavaVMs): Likewise.
1498         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1499         * include/jni.h (JNIIMPEXP): Remove definition
1500         and replace with...
1501         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1502         symbols,
1503         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1504
1505 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1506
1507         * Makefile.am: Add GdkPixbufDecoder.java and
1508         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1509         * Makefile.in: Regenerate.
1510         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1511         New constructor.
1512         (startProduction): Create ByteArrayInputStream when url and filename are
1513         null.
1514         (produce): Declare stream parameter as InputStream.
1515         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1516         as InputStream.
1517         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1518         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1519         (produce): Declare stream parameter as InputStream.
1520         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1521         if image is null.  Set image's observer before running PrepareImage
1522         thread.  Pass image to startProduction.
1523         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1524         source's member functions.
1525         (observer): New field.
1526         (setObserver): New method.
1527         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1528         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1529         new GtkImage.
1530         (prepareImage): Implement.
1531         * java/awt/Component.java: Add static fields incrementalDraw and
1532         redrawRate.
1533         (imageUpdate): Implement.
1534         (createImage): Call Toolkit's createImage if peer is null.
1535         (prepareImage): Throw NPE if image is null.
1536         * java/awt/MediaTracker.java: Fix return value.
1537
1538 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1539
1540         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1541         (create(String, float)): New method.
1542         (setText): Make native.
1543         (nativeSetAlignment): New method.
1544         (setAlignment): Call nativeSetAlignment.
1545         (getArgs): Remove method.
1546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1547         (find_fg_color_widget, find_bg_color_widget): New functions.
1548         (gtkWidgetSetForeground): Call find_fg_color_widget.
1549         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1550         prelight colors.
1551         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1552         widget in event box.
1553         (setText, setAlignment): Implement new native methods.
1554
1555 2003-11-11  Michael Koch  <konqueror@gmx.de>
1556
1557         * java/awt/Font.java,
1558         java/awt/datatransfer/DataFlavor.java,
1559         java/math/BigInteger.java,
1560         java/net/Inet4Address.java,
1561         java/net/Inet6Address.java,
1562         java/rmi/MarshalledObject.java,
1563         java/rmi/server/RMIClassLoader.java,
1564         java/security/cert/CertStore.java,
1565         java/sql/Timestamp.java,
1566         java/text/SimpleDateFormat.java,
1567         javax/naming/CompoundName.java:
1568         Removed some redundant obj == null checks.
1569
1570 2003-11-11  Michael Koch  <konqueror@gmx.de>
1571
1572         * java/nio/ByteBuffer.java
1573         (equals): Remove redundant obj == null check.
1574
1575 2003-11-11  Michael Koch  <konqueror@gmx.de>
1576
1577         * gnu/java/nio/natPipeImpl.cc,
1578         gnu/java/nio/natSelectorImpl.cc: Removed
1579         * gnu/java/nio/natPipeImplEcos.cc,
1580         gnu/java/nio/natPipeImplPosix.cc,
1581         gnu/java/nio/natPipeImplWin32.cc,
1582         gnu/java/nio/natSelectorImplEcos.cc,
1583         gnu/java/nio/natSelectorImplPosix.cc,
1584         gnu/java/nio/natSelectorImplWin32.cc: New files
1585         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1586         gnu/java/nio/natSelectorImpl.cc
1587         * configure: Regenerated.
1588
1589 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1590
1591         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1592         if host is printed too and port was really given to URL.
1593
1594 2003-11-10  Gary Benson  <gbenson@redhat.com>
1595
1596         * java/sql/Timestamp.java (valueOf): Correctly handle
1597         nanoseconds.
1598
1599 2003-11-09  Tom Tromey  <tromey@redhat.com>
1600
1601         * java/net/Inet4Address.java (serialVersionUID): Updated.
1602
1603 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1604
1605         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1606         New fields.
1607
1608 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1609
1610         * java/io/ByteArrayOutputStream.java (resize):
1611         Fix off-by-one error.
1612
1613 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1614
1615         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1616         public.
1617
1618 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1619
1620         PR libgcj/12231
1621         * java/lang/Win32Process.java (hasExited) Changed from
1622         public to private.
1623         (startProcess): Likewise.
1624         (cleanup): Likewise.
1625         * java/lang/natWin32Process.cc (cleanup) Don't close
1626         input, output and error streams.
1627         (ChildProcessPipe): New helper class.
1628         (startProcess): Refactored to use ChildProcessPipe.
1629         Use CREATE_NO_WINDOW when launching child process.
1630
1631 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1632
1633         * include/win32.h (_Jv_platform_close_on_exec): Changed
1634         signature and declared extern.
1635         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1636         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1637         (create): Use new signature of _Jv_platform_close_on_exec.
1638         * gnu/java/net/natPlainSocketImplWin32.cc 
1639         (create): Eliminated a few typecasts
1640         Use new signature of _Jv_platform_close_on_exec.
1641         (accept): Eliminated a few typecasts
1642         Use new signature of _Jv_platform_close_on_exec.
1643         * java/io/natFileDescriptorWin32.cc (open): Use
1644         _Jv_platform_close_on_exec.
1645
1646 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1647
1648         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1649         if class has no null-argument constructor.
1650
1651 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1652
1653         PR libgcj/12647:
1654         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1655         refcount when releasing and reacquiring it.
1656
1657 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1658
1659         * win32.cc: (dirExists) Internal helper function to
1660         test for directory existence.
1661         (getUserHome) New helper function refactored out
1662         of _Jv_platform_initProperties. Uses USERPROFILE
1663         instead of HOMEDIR and attempts to support Win9X and NT.
1664         (_Jv_platform_initProperties) Use getUserHome.
1665
1666 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1667
1668         PR libgcj/11521:
1669         * gnu/java/net/natPlainSocketImplWin32.cc
1670         (bind): Don't use SO_REUSEADDR
1671
1672 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1673
1674         PR libgcj/6652:
1675         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1676
1677 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1678
1679         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1680         dispatch for final methods.
1681
1682 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1683
1684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1685         word wrapping.
1686
1687 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1688
1689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1690         scrolled window's size request.
1691
1692 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1693
1694         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1695         * java/awt/geom/QuadCurve2D.java: Likewise.
1696
1697 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1698
1699         * java/awt/geom/CubicCurve2D.java: Added documentation.
1700         * java/awt/geom/QuadCurve2D.java: Likewise.
1701
1702         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1703         java/awt/geom/doc-files/QuadCurve2D-5.png,
1704         java/awt/geom/doc-files/CubicCurve2D-4.png,
1705         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1706
1707 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1708
1709         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1710         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1711         (subdivide(double[],int,double[],int,double[],int)): Implement.
1712
1713 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1714
1715         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1716         java/awt/geom/doc-files/CubicCurve2D-2.png,
1717         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1718
1719 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1720
1721         * java/text/DecimalFormat.java
1722         (scanFormat) corrected so that '%' may appear in a pattern.
1723
1724 2003-10-29  Mark Wielaard  <mark@klomp.org>
1725
1726         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1727         * java/text/DateFormat.java (Field): New public static inner class.
1728         * java/text/Format.java (Field): Likewise.
1729         (formatToCharacterIterator): New method.
1730         * java/text/FormatCharacterIterator.java: New file.
1731
1732 2003-10-29  Mark Wielaard  <mark@klomp.org>
1733
1734         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1735         * java/util/Currency.java: New file.
1736
1737 2003-10-29  Michael Koch  <konqueror@gmx.de>
1738
1739         * Makefile.am (ordinary_java_source_files): Added
1740         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1741         * Makefile.in: Regenerated.
1742
1743 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1744
1745         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1746         static methods.
1747
1748 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1749
1750         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1751         getObjectInstance() with Object, Name, Context and environment
1752         Hashtable from exception. Call fillInStackTrace() on exception when
1753         rethrown.
1754         * javax/naming/InitialContext.java (lookup(Name)): When a
1755         CannotProceedException is thrown use the ContinuationContext.
1756         (lookup(String)): Likewise.
1757         (close): Clear myProps and defaultInitCtx.
1758
1759 2003-10-29  Michael Koch  <konqueror@gmx.de>
1760
1761         * java/net/InetAddress.java
1762         (equals): Remove redundant obj == null check.
1763         * java/net/SocketPermission.java
1764         (equals): Likewise.
1765         * java/net/URL.java
1766         (equals): Likewise.
1767         (getURLStreamHandler): Likewise.
1768
1769 2003-10-29  Michael Koch  <konqueror@gmx.de>
1770
1771         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1772         (setOption): Directly return if no error occured.
1773         * gnu/java/net/natPlainSocketImplPosix.cc
1774         (setOption): Likewise.
1775
1776 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1777
1778         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1779         vtable slot for final methods. Add FIXME comment.
1780
1781 2003-10-28  David S. Miller  <davem@redhat.com>
1782
1783         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1784
1785 2003-10-26  Mark Wielaard  <mark@klomp.org>
1786
1787         Reported by Helmer Kraemer <hkraemer@freenet.de>
1788         * java/util/jar/JarInputStream.java (readManifest): Don't call
1789         closeEntry().
1790
1791         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1792         (finish): Use inbufWrite().
1793         (write(int)): Likewise.
1794         (write(byte[],int,int)): Likewise.
1795
1796 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1797
1798         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1799         Don't check for AccessibleObject. Update javadocs.
1800         
1801         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1802
1803 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1804
1805         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1806         whitespace on constructor with no modifiers.
1807         * java/lang/reflect/natConstructor.java (newInstance): Look up
1808         caller and perform accessibility check only if constructor is
1809         non-public and accessible flag is not set.
1810
1811 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1812
1813         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1814         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1815         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1816         is_virtual_call argument.
1817         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1818         natClass.cc.
1819         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1820         _Jv_isVirtualMethod.
1821         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1822         _Jv_LookupDeclaredMethod.
1823         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1824         look up method in target object's vtable.
1825
1826 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1827
1828         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1829         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1830         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1831         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1832         New concrete implementation of ClasspathFontPeer, with native part.
1833         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1834         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1835         New class, with native part.
1836         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1837         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1838         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1839
1840 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1841
1842         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1843         on method with no modifiers.
1844
1845 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1846
1847         PR libgcj/11780:
1848         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1849         accessibility check only if target is non-public and accessible flag
1850         is not set.
1851         * java/lang/reflect/natField.cc (getAddr): Likewise.
1852
1853 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1854
1855         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1856         Remove method.
1857         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1858         New method.
1859         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1860         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1861         (dispose): Post WINDOW_CLOSED event.
1862         (addWindowFocusListener, addWindowStateListener): Assign result
1863         of multicaster add back to window listener.
1864         (removeWindowFocusListener, removeWindowStateListener): Assign
1865         result of multicaster remove back to window listener.
1866         (dispatchEventImpl): Add null checks for focus and state
1867         listeners.
1868         (processWindowEvent): Handle case where windowListener is null
1869         but state or focus listeners exist.
1870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1871         glue for postWindowEvent.
1872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1873         (window_delete_cb, window_destroy_cb, window_show_cb,
1874         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1875         window_get_new_state): New functions.
1876         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1877         macros.  Declare postWindowEventID.
1878
1879 2003-10-24  Anthony Green  <green@redhat.com>
1880
1881         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1882         we have no interpreter.
1883
1884 2003-10-22  Andrew Haley  <aph@redhat.com>
1885
1886         * java/lang/natClass.cc (initializeClass): Call
1887         _Jv_linkExceptionClassTable.
1888         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1889         _Jv_Defer_Resolution on a method whose ncode is NULL.
1890         (_Jv_linkExceptionClassTable): New function.
1891         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1892         entry, look it up.
1893         * java/lang/Class.h (struct _Jv_CatchClass): New.
1894         (_Jv_linkExceptionClassTable): New friend.
1895         (_Jv_Defer_Resolution): New friend.
1896         (class Class.catch_classes): New field.
1897         * include/java-interp.h (Jv_Defer_Resolution): New method.
1898         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1899         (_Jv_MethodBase.deferred): New field.
1900         (_Jv_Defer_Resolution): New function.
1901         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1902         * exception.cc (get_ttype_entry): Change return type to void**.
1903         (PERSONALITY_FUNCTION): Remove all code related to using a
1904         Utf8Const* for a match type.  Change match type to be a pointer to
1905         a pointer, rather than a pointer to a Class.
1906         * defineclass.cc (handleCodeAttribute): Initialize
1907         method->deferred.
1908         (handleMethodsEnd): Likewise.
1909
1910 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1911
1912         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1913         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1914
1915 2003-10-22  Tom Tromey  <tromey@redhat.com>
1916
1917         PR libgcj/12416:
1918         * java/lang/Class.h: Updated.
1919         * java/lang/natClass.cc (_getFields): Removed.
1920         (getFields): Likewise.
1921         (getDeclaredFields): Added `public_only' parameter.
1922         * java/lang/Class.java (getFields): Now implemented in java; from
1923         Classpath.
1924         (getDeclaredFields): Likewise.
1925         (getDeclaredFields(boolean)): Declare.
1926         (_getFields): Removed.
1927         (internalGetFields): New method, from Classpath.
1928
1929         PR libgcj/12656:
1930         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1931         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1932
1933 2003-10-22  David Daney  <ddaney@avtrex.com)
1934
1935         * include/mips-signal.h: New file.
1936         * sysdep/dwarf2-backtrace.cc: New file.
1937         * sysdep/mips: New directory.
1938         * sysdep/mips/locks.h: New file.
1939         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1940         added to libgcj.
1941         (extra_cc_source_files): Ditto.
1942         * configure.host(disable_dladdr):  New shell variable passed to
1943         configure.
1944         (mips*-*-linux*): sysdeps_dir=mips,
1945         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1946         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1947         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1948         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1949         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1950         (EXTRA_CC_FILES): New, to support conditional addition of
1951         sysdep/dwarf2-backtrace.cc.
1952         * configure: Regenerated.
1953         * Makefile.in: Regenerated.
1954         * gcj/Makefile.in: Regenerated.
1955         * include/config.h.in: Regenerated.
1956         * include/Makefile.in: Regenerated.
1957         * testsuite/Makefile.in: Regenerated.
1958         
1959 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1960
1961         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1962         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1963
1964 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1965
1966         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1967         * java/awt/geom/doc-files: New directory.
1968         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1969         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1970         
1971 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1972
1973         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1974
1975 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1976
1977         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1978
1979 2003-10-22  Michael Koch  <konqueror@gmx.de>
1980
1981         * java/io/File.java
1982         (equals): Removed redundant obj == null check.
1983         (createTempFile): Merged comments from classpath.
1984
1985 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1986
1987         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1988         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1989         (error): Synchronize on instance, not class.
1990
1991 2003-10-21  Mark Wielaard  <mark@klomp.org>
1992
1993         Reported by M.Negovanovic
1994         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1995         method.
1996         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1997
1998 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1999
2000         Fix for Classpath bug #6076.
2001         * java/awt/geom/GeneralPath.java (append): Re-written.
2002
2003 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2004
2005         Fix for Classpath bug #6089.
2006         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2007         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2008
2009 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2010
2011         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2012         point, not start of subpath.  Fixes Classpath bug #6075.
2013
2014 2003-10-21  Michael Koch  <konqueror@gmx.de>
2015
2016         * java/nio/ByteOrder.java,
2017         java/nio/DirectByteBufferImpl.java,
2018         java/nio/channels/FileChannelImpl.java:
2019         Add code to load library with code for native methods if needed.
2020
2021 2003-10-21  Michael Koch  <konqueror@gmx.de>
2022
2023         * gnu/java/net/PlainDatagramSocketImpl.java,
2024         gnu/java/net/PlainSocketImpl.java,
2025         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2026         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2027         gnu/java/net/natPlainSocketImplPosix.cc,
2028         gnu/java/net/natPlainSocketImplWin32.cc:
2029         Renamed fnum to native_fd to match classpath more.
2030
2031 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2032
2033         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2034         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2035         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2036         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2037         _Jv_PthreadCheckMonitor.  Simplify code.
2038         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2039         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2040         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2041         * java/lang/Thread.java (holdsLock): New.
2042         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2043         without JV_HASH_SYNCHRONIZATION.
2044         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2045
2046 2003-10-20  Michael Koch  <konqueror@gmx.de>
2047
2048         * java/text/RuleBasedCollator.java
2049         (RuleBasedCollator): Check rules not empty, fixed search in already
2050         existing collation elements.
2051         (is_special): Removed common whitespace characters.
2052         (text_argument): Dont return on whitespaces, add characters between
2053         two ' to string buffer.
2054
2055 2003-10-18  Michael Koch  <konqueror@gmx.de>
2056
2057         * gnu/java/net/protocol/file/Connection.java,
2058         gnu/java/net/protocol/file/Handler.java,
2059         gnu/java/net/protocol/http/Connection.java,
2060         gnu/java/net/protocol/http/Handler.java,
2061         gnu/java/net/protocol/jar/Connection.java,
2062         gnu/java/net/protocol/jar/Handler.java:
2063         Merged copyright text from classpath to make
2064         it possible to merge the classes.
2065
2066 2003-10-18  Mark Wielaard  <mark@klomp.org>
2067
2068         Reported by M.Negovanovic
2069         * java/beans/IndexedPropertyDescriptor.java
2070         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2071
2072 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2073
2074         * win32.cc (_Jv_pipe): Implemented.
2075         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2076         _Jv_pipe instead of ::pipe.
2077         * include/posix.h (_Jv_pipe): New inline.
2078         * include/win32.h (_Jv_pipe): New declaration.
2079         
2080 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2081
2082         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2083         (append, substring, insert): Likewise.
2084         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2085         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2086         
2087 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2088
2089         * java/lang/natString.cc (getChars):
2090         Fix validation of array indexes.
2091         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2092         * testsuite/libjava.lang/String_overflow.java: New file.
2093         * testsuite/libjava.lang/String_overflow.out: New file.
2094
2095 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2096
2097         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2098         overflow a jint.
2099         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2100         check for overflowing size_t, since the lower level functions
2101         take a jint.
2102         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2103         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2104         
2105 2003-10-15  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/text/RuleBasedCollator.java
2108         (RuleBasedCollator): Moved around, documentation added.
2109         (compare): Documentation added.
2110         (equals): Likewise.
2111         (getCollationElementIterator): Likewise.
2112         (getCollationKey): Likewise.
2113         (getRules): Likewise.
2114         (hashCode): Likewise.
2115
2116 2003-10-15  Michael Koch  <konqueror@gmx.de>
2117
2118         * java/text/RuleBasedCollator.java
2119         (CollationElement): Renamed from RBCElement and moved into
2120         RuledBasedCollator as inner class.
2121
2122 2003-10-15  Michael Koch  <konqueror@gmx.de>
2123
2124         * java/text/CollationElementIterator.java
2125         (CollationElementIterator): Moved, documenatation added, call setText.
2126         (next): Reformated.
2127         (reset): Reformated.
2128         (setText): New method.
2129         (getOffset): New method.
2130         * java/text/CollationKey.java
2131         (getSourceString): Reformated.
2132         (hashCode): Reformated.
2133         (toByteArray): Reformated.
2134
2135 2003-10-15  Michael Koch  <konqueror@gmx.de>
2136
2137         * java/util/zip/InflaterInputStream.java
2138         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2139         added description to exception, check for inf == null and size < 0.
2140
2141 2003-10-15  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/text/AttributedCharacterIterator.java,
2144         java/text/CharacterIterator.java: Reformated.
2145
2146 2003-10-15  Michael Koch  <konqueror@gmx.de>
2147
2148         * javax/swing/UIDefaults.java (putDefaults):
2149         Readded accidently removed "public" modifier.
2150
2151 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2152
2153         * interpret.cc (_Jv_InterpMethod::run): Don't
2154         use libffi types, they were meant to be internal.
2155         * gcj/javaprims.h (_Jv_ulong): New typedef.
2156
2157 2003-10-13  Tom Tromey  <tromey@redhat.com>
2158
2159         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2160         (defineClass): Updated.
2161         (_Jv_NewClass): Likewise.
2162         * prims.cc (_Jv_InitPrimClass): Don't call
2163         _Jv_InitNewClassFields.
2164
2165 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2166
2167         PR libgcj/12592
2168         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2169         not just \n.
2170
2171 2003-10-13  Michael Koch  <konqueror@gmx.de>
2172
2173         * java/io/File.java: Reformated.
2174         (equals): Check for obj == null.
2175
2176 2003-10-13  Michael Koch  <konqueror@gmx.de>
2177
2178         * java/net/JarURLConnection.java
2179         (jarFileURL): Added dcoumentation.
2180         (jarFileURLConnection): Reformated documentation.
2181         (entryName): Renamed from "element", documentation rewritten.
2182         (connectionCache): Renamed from "conn_cache", documentation
2183         reformated.
2184         (JarURLConnection): Check URL protocol.
2185         (getEntryName): Use entryName.
2186         (connect): Use connectionCache.
2187         (getInputStream): Use entryName, fixed comment.
2188         (getJarEntry): Use entryName.
2189         (getHeaders): Use entryName.
2190         * java/net/URLConnection.java
2191         (addRequestProperty): Fixed documentation.
2192         (setDefaultRequestProptery): Added comment that it does nothing since
2193         JDK 1.3.
2194         (getDefaultRequestProperty): Likewise.
2195
2196 2003-10-13  Michael Koch  <konqueror@gmx.de>
2197
2198         * java/net/java/net/URLStreamHandlerFactory.java
2199         (createURLStreamHandler): Removed redundant "public" modifier.
2200         * java/sql/DatabaseMetaData.java:
2201         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2202         * java/sql/ParameterMetaData.java:
2203         (ParameterMetaData): Readded accidently removed "public" modifier.
2204         * java/sql/PreparedStatement.java:
2205         (PreparedStatement): Readded accidently removed "public" modifier.
2206         * java/sql/Ref.java:
2207         (Ref): Readded accidently removed "public" modifier.
2208
2209 2003-10-13  Michael Koch  <konqueror@gmx.de>
2210
2211         * java/nio/Buffer.java
2212         (hasRemaining): Made implementation more clear.
2213         * java/nio/MappedByteBuffer.java
2214         (loaded): New member variable.
2215         (force): Added comment.
2216         (isLoaded): Return value of loaded.
2217         (load): Set loaded to true, added comment.
2218
2219 2003-10-12  Michael Koch  <konqueror@gmx.de>
2220
2221         * gnu/java/nio/PipeImpl.java
2222         (SourceChannelImpl): New inner class.
2223         (SinkChannelImpl): New inner class.
2224         (sink): New member variable.
2225         (source): New member variable.
2226         (PipeImpl): Add SelectorProvider argument, implemented.
2227         (nativeInit): New method.
2228         (sink): Return sink channel.
2229         (source): Return source channel.
2230         * gnu/java/nio/SelectorProviderImpl.java
2231         (openPipe): Give provider as argument to PipeImpl constructor.
2232         * java/nio/channels/spi/SelectorProvider.java
2233         (pr): Removed.
2234         (systemDefaultProvider): New member variable.
2235         (provider): Made it synchronized, use property
2236         java.nio.channels.spi.SelectorProvider.
2237         * gnu/java/nio/natPipeImpl.cc: New file.
2238         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2239         * Makefile.in: Regenerated.
2240
2241 2003-10-12  Michael Koch  <konqueror@gmx.de>
2242
2243         * javax/swing/table/DefaultTableModel.java,
2244         javax/swing/table/TableCellEditor.java,
2245         javax/swing/table/TableCellRenderer.java,
2246         javax/swing/table/TableColumnModel.java,
2247         javax/swing/table/TableModel.java,
2248         javax/swing/text/AbstractDocument.java,
2249         javax/swing/text/Document.java,
2250         javax/swing/text/MutableAttributeSet.java,
2251         javax/swing/text/StyledDocument.java,
2252         javax/swing/text/ViewFactory.java,
2253         javax/swing/tree/DefaultMutableTreeNode.java,
2254         javax/swing/tree/MutableTreeNode.java,
2255         javax/swing/tree/RowMapper.java,
2256         javax/swing/tree/TreeCellEditor.java,
2257         javax/swing/tree/TreeCellRenderer.java,
2258         javax/swing/tree/TreeModel.java,
2259         javax/swing/tree/TreeNode.java,
2260         javax/swing/tree/TreeSelectionModel.java,
2261         javax/swing/undo/StateEditable.java,
2262         javax/swing/undo/UndoableEdit.java:
2263         Removed redundant modifiers.
2264
2265 2003-10-12  Michael Koch  <konqueror@gmx.de>
2266
2267         * javax/swing/event/AncestorListener.java,
2268         javax/swing/event/CaretListener.java,
2269         javax/swing/event/CellEditorListener.java,
2270         javax/swing/event/ChangeListener.java,
2271         javax/swing/event/DocumentEvent.java,
2272         javax/swing/event/DocumentListener.java,
2273         javax/swing/event/HyperlinkListener.java,
2274         javax/swing/event/InternalFrameListener.java,
2275         javax/swing/event/ListDataListener.java,
2276         javax/swing/event/ListSelectionListener.java,
2277         javax/swing/event/MenuDragMouseListener.java,
2278         javax/swing/event/MenuKeyListener.java,
2279         javax/swing/event/MenuListener.java,
2280         javax/swing/event/MouseInputListener.java,
2281         javax/swing/event/PopupMenuListener.java,
2282         javax/swing/event/TableColumnModelListener.java,
2283         javax/swing/event/TableModelListener.java,
2284         javax/swing/event/TreeExpansionListener.java,
2285         javax/swing/event/TreeModelListener.java,
2286         javax/swing/event/TreeSelectionListener.java,
2287         javax/swing/event/TreeWillExpandListener.java,
2288         javax/swing/event/UndoableEditListener.java,
2289         javax/swing/plaf/UIResource.java,
2290         javax/swing/plaf/metal/MetalLookAndFeel.java:
2291         Removed redundant modifiers.
2292
2293 2003-10-12  Michael Koch  <konqueror@gmx.de>
2294
2295         * javax/swing/Action.java,
2296         javax/swing/BoundedRangeModel.java,
2297         javax/swing/CellEditor.java,
2298         javax/swing/ComboBoxEditor.java,
2299         javax/swing/ComboBoxModel.java,
2300         javax/swing/DesktopManager.java,
2301         javax/swing/JComboBox.java,
2302         javax/swing/ListCellRenderer.java,
2303         javax/swing/ListSelectionModel.java,
2304         javax/swing/MenuElement.java,
2305         javax/swing/MutableComboBoxModel.java,
2306         javax/swing/Renderer.java,
2307         javax/swing/RootPaneContainer.java,
2308         javax/swing/ScrollPaneConstants.java,
2309         javax/swing/SingleSelectionModel.java,
2310         javax/swing/SpinnerModel.java,
2311         javax/swing/SwingConstants.java,
2312         javax/swing/UIDefaults.java,
2313         javax/swing/WindowConstants.java,
2314         javax/swing/border/Border.java,
2315         javax/swing/colorchooser/ColorSelectionModel.java:
2316         Removed redundant modifiers.
2317
2318 2003-10-11  Michael Koch  <konqueror@gmx.de>
2319
2320         * javax/transaction/Status.java,
2321         javax/transaction/Synchronization.java,
2322         javax/transaction/Transaction.java,
2323         javax/transaction/TransactionManager.java,
2324         javax/transaction/UserTransaction.java,
2325         javax/transaction/xa/XAResource.java,
2326         javax/transaction/xa/Xid.java:
2327         Removing redundant modifiers.
2328
2329 2003-10-11  Michael Koch  <konqueror@gmx.de>
2330
2331         * javax/print/attribute/Attribute.java,
2332         javax/print/attribute/AttributeSet.java,
2333         javax/print/attribute/PrintRequestAttributeSet.java:
2334         Removing redundant modifiers.
2335
2336 2003-10-11  Michael Koch  <konqueror@gmx.de>
2337
2338         * javax/sql/ConnectionEventListener.java,
2339         javax/sql/ConnectionPoolDataSource.java,
2340         javax/sql/DataSource.java,
2341         javax/sql/PooledConnection.java,
2342         javax/sql/RowSet.java,
2343         javax/sql/RowSetInternal.java,
2344         javax/sql/RowSetListener.java,
2345         javax/sql/RowSetMetaData.java,
2346         javax/sql/RowSetReader.java,
2347         javax/sql/RowSetWriter.java,
2348         javax/sql/XAConnection.java,
2349         javax/sql/XADataSource.java:
2350         Removing redundant modifiers.
2351
2352 2003-10-11  Michael Koch  <konqueror@gmx.de>
2353
2354         * javax/naming/Context.java,
2355         javax/naming/Name.java,
2356         javax/naming/NameParser.java,
2357         javax/naming/NamingEnumeration.java,
2358         javax/naming/Referenceable.java,
2359         javax/naming/directory/Attribute.java,
2360         javax/naming/directory/Attributes.java,
2361         javax/naming/directory/DirContext.java,
2362         javax/naming/event/EventContext.java,
2363         javax/naming/event/EventDirContext.java,
2364         javax/naming/event/NamespaceChangeListener.java,
2365         javax/naming/event/NamingListener.java,
2366         javax/naming/event/ObjectChangeListener.java,
2367         javax/naming/ldap/Control.java,
2368         javax/naming/ldap/ExtendedRequest.java,
2369         javax/naming/ldap/ExtendedResponse.java,
2370         javax/naming/ldap/HasControls.java,
2371         javax/naming/ldap/LdapContext.java,
2372         javax/naming/ldap/UnsolicitedNotification.java,
2373         javax/naming/ldap/UnsolicitedNotificationListener.java,
2374         javax/naming/spi/DirObjectFactory.java,
2375         javax/naming/spi/DirStateFactory.java,
2376         javax/naming/spi/InitialContextFactory.java,
2377         javax/naming/spi/InitialContextFactoryBuilder.java,
2378         javax/naming/spi/ObjectFactory.java,
2379         javax/naming/spi/ObjectFactoryBuilder.java,
2380         javax/naming/spi/Resolver.java,
2381         javax/naming/spi/StateFactory.java:
2382         Removing redundant modifiers.
2383
2384 2003-10-11  Michael Koch  <konqueror@gmx.de>
2385
2386         * java/security/Key.java,
2387         * java/security/PrivateKey.java,
2388         * java/security/PublicKey.java,
2389         * java/security/acl/Acl.java,
2390         * java/security/acl/AclEntry.java,
2391         * java/security/acl/Group.java,
2392         * java/security/acl/Owner.java,
2393         * java/security/acl/Permission.java,
2394         * java/security/cert/X509Extension.java,
2395         * java/security/interfaces/DSAKey.java,
2396         * java/security/interfaces/DSAKeyPairGenerator.java,
2397         * java/security/interfaces/DSAParams.java,
2398         * java/security/interfaces/DSAPrivateKey.java,
2399         * java/security/interfaces/DSAPublicKey.java,
2400         * java/security/interfaces/RSAKey.java,
2401         * java/security/interfaces/RSAPrivateCrtKey.java,
2402         * java/security/interfaces/RSAPrivateKey.java,
2403         * java/security/interfaces/RSAPublicKey.java:
2404         Removed redundant modifiers.
2405
2406 2003-10-11  Michael Koch  <konqueror@gmx.de>
2407
2408         * gnu/java/rmi/server/ProtocolConstants.java,
2409         gnu/java/security/der/DER.java:
2410         Removing redundant modifiers.
2411
2412 2003-10-11  Michael Koch  <konqueror@gmx.de>
2413
2414         * java/util/Map.java,
2415         java/util/Observer.java,
2416         java/util/zip/Checksum.java,
2417         java/util/zip/ZipConstants.java:
2418         Removed redundant modifiers.
2419
2420 2003-10-11  Michael Koch  <konqueror@gmx.de>
2421
2422         * java/text/AttributedCharacterIterator.java,
2423         java/text/CharacterIterator.java:
2424         Removed redundant modifiers.
2425
2426 2003-10-11  Michael Koch  <konqueror@gmx.de>
2427
2428         * java/sql/Array.java,
2429         java/sql/Blob.java,
2430         java/sql/CallableStatement.java,
2431         java/sql/Clob.java,
2432         java/sql/Connection.java,
2433         java/sql/DatabaseMetaData.java,
2434         java/sql/Driver.java,
2435         java/sql/ParameterMetaData.java,
2436         java/sql/PreparedStatement.java,
2437         java/sql/Ref.java,
2438         java/sql/ResultSet.java,
2439         java/sql/ResultSetMetaData.java,
2440         java/sql/SQLData.java,
2441         java/sql/SQLInput.java,
2442         java/sql/SQLOutput.java,
2443         java/sql/Savepoint.java,
2444         java/sql/Statement.java,
2445         java/sql/Struct.java:
2446         Removed redundant modifiers.
2447
2448 2003-10-11  Michael Koch  <konqueror@gmx.de>
2449
2450         * java/nio/channels/Channel.java,
2451         java/nio/channels/GatheringByteChannel.java,
2452         java/nio/channels/ReadableByteChannel.java,
2453         java/nio/channels/ScatteringByteChannel.java,
2454         java/nio/channels/WritableByteChannel.java:
2455         Removed redundant modifiers.
2456
2457 2003-10-11  Michael Koch  <konqueror@gmx.de>
2458
2459         * java/rmi/activation/ActivationInstantiator.java,
2460         java/rmi/activation/ActivationMonitor.java,
2461         java/rmi/activation/ActivationSystem.java,
2462         java/rmi/activation/Activator.java,
2463         java/rmi/dgc/DGC.java,
2464         java/rmi/registry/Registry.java,
2465         java/rmi/registry/RegistryHandler.java,
2466         java/rmi/server/LoaderHandler.java,
2467         java/rmi/server/RMIClientSocketFactory.java,
2468         java/rmi/server/RMIFailureHandler.java,
2469         java/rmi/server/RMIServerSocketFactory.java,
2470         java/rmi/server/RemoteCall.java,
2471         java/rmi/server/RemoteRef.java,
2472         java/rmi/server/ServerRef.java,
2473         java/rmi/server/Skeleton.java,
2474         java/rmi/server/Unreferenced.java:
2475         Removed redundant modifiers.
2476
2477 2003-10-11  Michael Koch  <konqueror@gmx.de>
2478
2479         * java/net/ContentHandlerFactory.java,
2480         java/net/DatagramSocketImplFactory.java,
2481         java/net/FileNameMap.java,
2482         java/net/SocketImplFactory.java,
2483         java/net/SocketOptions.java,
2484         java/net/URLStreamHandlerFactory.java:
2485         Removed redundant modifiers.
2486
2487 2003-10-11  Michael Koch  <konqueror@gmx.de>
2488
2489         * java/io/Externalizable.java,
2490         java/io/FileFilter.java,
2491         java/io/FilePermission.java,
2492         java/io/ObjectInput.java,
2493         java/io/ObjectInputValidation.java,
2494         java/io/ObjectOutput.java,
2495         java/io/ObjectStreamClass.java,
2496         java/io/ObjectStreamConstants.java,
2497         java/io/Serializable.java:
2498         Removed redundant modifiers.
2499
2500 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2501
2502         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2503         codebase and context classloader.
2504
2505 2003-10-11  Michael Koch  <konqueror@gmx.de>
2506
2507         * java/beans/beancontext/BeanContext.java,
2508         java/beans/beancontext/BeanContextChild.java,
2509         java/beans/beancontext/BeanContextChildComponentProxy.java,
2510         java/beans/beancontext/BeanContextChildSupport.java,
2511         java/beans/beancontext/BeanContextContainerProxy.java,
2512         java/beans/beancontext/BeanContextMembershipListener.java,
2513         java/beans/beancontext/BeanContextProxy.java,
2514         java/beans/beancontext/BeanContextServiceProvider.java,
2515         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2516         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2517         java/beans/beancontext/BeanContextServices.java,
2518         java/beans/beancontext/BeanContextServicesListener.java:
2519         Removed redundant modifiers.
2520
2521 2003-10-11  Michael Koch  <konqueror@gmx.de>
2522
2523         * java/beans/AppletInitializer.java,
2524         java/beans/BeanInfo.java,
2525         java/beans/Customizer.java,
2526         java/beans/DesignMode.java,
2527         java/beans/PropertyEditor.java,
2528         java/beans/Visibility.java:
2529         Removed redundant modifiers.
2530
2531 2003-10-11  Michael Koch  <konqueror@gmx.de>
2532
2533         * java/awt/print/Pageable.java,
2534         * java/awt/print/Printable.java,
2535         java/awt/print/PrinterGraphics.java:
2536         Removed redundant modifiers.
2537
2538 2003-10-11  Michael Koch  <konqueror@gmx.de>
2539
2540         * java/awt/peer/ButtonPeer.java,
2541         java/awt/peer/CheckboxMenuItemPeer.java,
2542         java/awt/peer/CheckboxPeer.java,
2543         java/awt/peer/ChoicePeer.java,
2544         java/awt/peer/ComponentPeer.java,
2545         java/awt/peer/ContainerPeer.java,
2546         java/awt/peer/DialogPeer.java,
2547         java/awt/peer/FileDialogPeer.java,
2548         java/awt/peer/FramePeer.java,
2549         java/awt/peer/LabelPeer.java,
2550         java/awt/peer/ListPeer.java,
2551         java/awt/peer/MenuBarPeer.java,
2552         java/awt/peer/MenuComponentPeer.java,
2553         java/awt/peer/MenuItemPeer.java,
2554         java/awt/peer/MenuPeer.java,
2555         java/awt/peer/PopupMenuPeer.java,
2556         java/awt/peer/RobotPeer.java,
2557         java/awt/peer/ScrollPanePeer.java,
2558         java/awt/peer/ScrollbarPeer.java,
2559         java/awt/peer/TextAreaPeer.java,
2560         java/awt/peer/TextComponentPeer.java,
2561         java/awt/peer/TextFieldPeer.java,
2562         java/awt/peer/WindowPeer.java:
2563         Removed redundant modifiers.
2564
2565 2003-10-11  Michael Koch  <konqueror@gmx.de>
2566
2567         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2568         * gnu/java/nio/ServerSocketChannelImpl.java
2569         (serverSocket): Made it a NIOServerSocket.
2570         (impl): Removed.
2571         (ServerSocketChannelImpl): Initialize only serverSocket.
2572         (initServerSocket): Removed.
2573         (getNativeFD): Rewritten.
2574         (implConfigureBlocking): Set socket timeout and removed comment.
2575         (accept): Rewritten.
2576         * gnu/java/nio/SocketChannelImpl.java
2577         (impl): New variable.
2578         (connected): Removed.
2579         (SocketChannelImpl): Initialize impl too.
2580         (getImpl): New method.
2581         (isConnected): Rewritten.
2582         (read): Rewritten, set position in buffer correctly.
2583         (write): Set position in buffer correctly.
2584         * java/net/ServerSocket.java (getImpl): New method.
2585         * gnu/java/nio/NIOServerSocket.java,
2586         gnu/java/nio/natNIOServerSocket.cc: New files.
2587         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2588         * Makefile.am
2589         (ordinary_java_source_files):
2590         Added gnu/java/nio/NIOServerSocket.java.
2591         (nat_source_files):
2592         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2593         and added gnu/java/nio/natNIOServerSocket.cc.
2594         * Makefile.in: Regenerated.
2595
2596 2003-10-11  Michael Koch  <konqueror@gmx.de>
2597
2598         * java/awt/ActiveEvent.java,
2599         java/awt/datatransfer/ClipboardOwner.java,
2600         java/awt/datatransfer/FlavorMap.java,
2601         java/awt/datatransfer/Transferable.java,
2602         java/awt/dnd/Autoscroll.java,
2603         java/awt/dnd/peer/DragSourceContextPeer.java,
2604         java/awt/dnd/peer/DropTargetContextPeer.java,
2605         java/awt/dnd/peer/DropTargetPeer.java,
2606         java/awt/font/MultipleMaster.java,
2607         java/awt/font/OpenType.java,
2608         java/awt/im/spi/InputMethodDescriptor.java,
2609         java/awt/image/ImageObserver.java,
2610         java/awt/image/ImageConsumer.java,
2611         java/awt/image/ImageProducer.java,
2612         java/awt/image/RGBImageFilter.java,
2613         java/awt/image/RasterOp.java,
2614         java/awt/image/renderable/RenderableImage.java:
2615         Removed redundant modifiers.
2616
2617 2003-10-11  Michael Koch  <konqueror@gmx.de>
2618
2619         * gnu/awt/j2d/DirectRasterGraphics.java,
2620         gnu/java/awt/EmbeddedWindowSupport.java:
2621         Removed redundant modifiers.
2622
2623 2003-10-09  Michael Koch  <konqueror@gmx.de>
2624
2625         * gnu/java/nio/SelectorImpl.java (register):
2626         Use ServerSocketChannelSelectionKey for server socket channels,
2627         removed unneeded comments.
2628         * gnu/java/nio/ServerSocketChannelImpl.java
2629         (ServerSocketChannelImpl): Made class public final.
2630         (impl): New member variable.
2631         (ServerSocketChannelImpl): Initialize member variables correctly.
2632         (initServerSocket): New method.
2633         (getNativeFD): Likewise.
2634         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2635         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2636         * Makefile.am (ordinary_java_source_files):
2637         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2638         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2639         * Makefile.in: Regenrated.
2640
2641 2003-10-09  Michael Koch  <konqueror@gmx.de>
2642
2643         * java/nio/channels/spi/AbstractSelectableChannel.java
2644         (registered): Made private.
2645         (blocking): Likewise.
2646         (LOCK): Likewise.
2647         (provider): Likewise.
2648         (keys): Made it a private LinkedList.
2649         (AbstractSelectableChannel): Initialize keys.
2650         (isRegistered): New implementation.
2651         (locate): Rewritten.
2652         (register): Rewritten.
2653         * java/nio/channels/spi/AbstractSelectionKey.java
2654         (ok): Removed.
2655         (cancelled): New member variable.
2656         (cancel): Rewritten.
2657         (isValid): Rewritten.
2658         * java/nio/channels/spi/AbstractSelector.java:
2659         Some methods moved.
2660         (closed): Make private.
2661         (provider): Likewise.
2662         (cancelledKeys): New member variable.
2663         (AbstractSelector): Initialize cancelledKeys.
2664         (cancelKey): New method.
2665
2666 2003-10-09  Tom Tromey  <tromey@redhat.com>
2667
2668         * java/lang/ClassLoader.java (setSigners): Implemented.
2669         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2670         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2671         Initialize new fields.
2672         * java/lang/Class.java (getSigners): Now native.
2673         (setSigners): Declare.
2674         * java/lang/natClass.cc (getSigners): New method.
2675         (getSigners): Likewise.
2676         * java/lang/Class.h (Class::signers): New field.
2677         (Class::setSigners): New method.
2678
2679 2003-10-09  Michael Koch  <konqueror@gmx.de>
2680
2681         * java/rmi/server/RMIClassLoader.java:
2682         Removed unused imports, little reformatings.
2683         (getClassLoader): New method, implementation was part of old loadCLass
2684         method.
2685         (loadClass): Simplified by moving functionality to new method and
2686         reworking the code a bit.
2687         (getClassAnnotation): Merged documentation from classpath.
2688
2689 2003-10-09  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/math/BigInteger.java
2692         (add): Removed unused local variable len.
2693
2694 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2695
2696         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2697         modality check.
2698         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2699         Initialize insets to use latest insets.
2700         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2701         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2702         field.
2703         (postConfigureEvent): Update latestInsets field when insets
2704         change.  Remove call to setSize.  Move validate call outside of
2705         if blocks.
2706         (setVisible): Call setBounds before showing window.
2707         (nativeSetVisible): New native method.
2708         * java/awt/Window.java (show): Show visible owned windows.
2709         (hide): Hide visible owned windows.
2710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2711         (awt_event_handler): Implement modality using GTK grabs.
2712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2713         (global_gtk_window_group): New global variable.
2714         (gtkInit): Initialize global_gtk_window_group.
2715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2716         Clamp width and height values to at least 1.  Add this window to
2717         the global GTK window group.
2718         (setVisible): Rename to nativeSetVisible.
2719         (setup_window): Remove function.
2720         (setSize): Clamp width and height values to at least 1.
2721         (nativeSetBounds): Likewise.
2722         (gdk_window_get_root_geometry): Remove function.
2723         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2724         and setup_window declarations.  Declare global_gtk_window_group.
2725
2726         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2728         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2729         (gtkWidgetSetForeground): New method.
2730         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2732         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2733         (setBackground, setForeground): Implement.
2734         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2735         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2736         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2737         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2738         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2740         Position PangoLayout relative to text's baseline.
2741         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2742
2743         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2744         for CENTER and RIGHT alignments.
2745
2746 2003-10-08  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/security/Security.java: Reformated.
2749
2750 2003-10-08  Michael Koch  <konqueror@gmx.de>
2751
2752         * java/text/SimpleDateFormat.java
2753         (compileFormat): Replace Character.isLetter() test with
2754         Character.isLowerCase() || Character.isUpperCase().
2755
2756 2003-10-08  Tom Tromey  <tromey@redhat.com>
2757
2758         * java/lang/StrictMath.java (toDegrees): Multiply before
2759         dividing.
2760         (toRadians): Likewise.
2761
2762 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2763
2764         * java/lang/Math.java
2765         (toRadians): multiply before dividing to reduce decimal error
2766         (toDegrees): ditto
2767
2768 2003-10-08  Michael Koch  <konqueror@gmx.de>
2769
2770         * gnu/gcj/protocol/core/Connection.java,
2771         gnu/gcj/protocol/core/CoreInputStream.java,
2772         gnu/gcj/protocol/core/Handler.java,
2773         gnu/gcj/protocol/core/natCoreInputStream.cc,
2774         gnu/gcj/protocol/file/Connection.java,
2775         gnu/gcj/protocol/file/Handler.java,
2776         gnu/gcj/protocol/gcjlib/Connection.java,
2777         gnu/gcj/protocol/gcjlib/Handler.java,
2778         gnu/gcj/protocol/http/Connection.java,
2779         gnu/gcj/protocol/http/Handler.java,
2780         gnu/gcj/protocol/jar/Connection.java,
2781         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2782         * gnu/java/net/protocol/core/Connection.java,
2783         gnu/java/net/protocol/core/CoreInputStream.java,
2784         gnu/java/net/protocol/core/Handler.java,
2785         gnu/java/net/protocol/core/natCoreInputStream.cc,
2786         gnu/java/net/protocol/file/Connection.java,
2787         gnu/java/net/protocol/file/Handler.java,
2788         gnu/java/net/protocol/gcjlib/Connection.java,
2789         gnu/java/net/protocol/gcjlib/Handler.java,
2790         gnu/java/net/protocol/http/Connection.java,
2791         gnu/java/net/protocol/http/Handler.java,
2792         gnu/java/net/protocol/jar/Connection.java,
2793         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2794         * gnu/gcj/runtime/FirstThread.java,
2795         java/net/URL.java: Use moved protocol handlers.
2796         * Makefile.am
2797         (ordinary_java_source_files): Moved files.
2798         (nat_source_files): Likewise.
2799         * Makefile.in: Regenerated.
2800
2801 2003-10-08  Michael Koch  <konqueror@gmx.de>
2802
2803         * gnu/java/nio/SocketChannelImpl.java
2804         (read): Write only read data to buffer.
2805
2806 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2807
2808         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2809         out.
2810         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2811         (JCL_free): Attach "unused" attribute to env parameter.
2812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2821         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2822         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2824         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2825         parameters.
2826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2827         (initNativeState): Pass 0 as info argument to
2828         gtk_selection_add_target.
2829         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2830         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2831         unused method implementations.
2832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2833         (awt_event_handler): Add break statement after default label.
2834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2835         (drawPixels): Remove unused variable i.
2836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2837         (setEnabled): Remove method implementation.
2838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2839         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2840         argument.
2841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2842         unused function.
2843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2844         (menu_pos): Assign TRUE to push_in.
2845         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2846         argument.
2847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2848         (create): Remove unused variable layout.
2849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2850         Pass window_widget, rather than window, to
2851         gtk_widget_set_size_request.
2852         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2853         structure initialization with NULL values.
2854         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2855
2856 2003-10-08  Michael Koch  <konqueror@gmx.de>
2857
2858         * java/util/LinkedList.java:
2859         Removed whitespace to match classpath's version again.
2860
2861 2003-10-08  Michael Koch  <konqueror@gmx.de>
2862
2863         * java/util/prefs/Preferences.java
2864         (defaultFactoryClass): Fixed class name.
2865         (getFactory): Create instance of class returned by Class.forName(),
2866         reformated code.
2867
2868 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2869
2870         * javax/swing/table/AbstractTableModel.java
2871         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2872         helped stop pulling my hair on this +1 then -1 tricky thing!
2873
2874 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2875
2876         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2877         Remove unused parameters.
2878         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2879         Likewise.
2880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2881         (keyevent_state_to_awt_mods): Export function.
2882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2883         (getCaretPosition): Fix TextArea case.
2884         (textcomponent_commit_cb): Get exact event time and modifier
2885         state.
2886         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2887
2888 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2889
2890         * java/net/InetSocketAddress.java
2891         (InetSocketAddress): Made exception more clear.
2892         (equals): Handle case when addr is null.
2893         (toString): Likewise.
2894         * java/net/NetworkInterface.java
2895         (static): Load native library.
2896         (getNetworkInterfaces): Rewritten.
2897
2898 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2899
2900         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2901         field.
2902         (initializeInsets): New method.
2903         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2904         setBounds unconditionally.
2905         (setBounds): Convert coordinates if parent is a Window.
2906         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2907         field to GtkComponentPeer.
2908         (GtkContainerPeer): Don't initialize insets.
2909         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2910         New method.
2911         (create): Call new GtkWindowPeer create method.
2912         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2913         New method.
2914         (create): Call new GtkWindowPeer create method.
2915         (setBounds): Remove method.
2916         (postConfigureEvent): Likewise.
2917         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2918         type constants with GDK window type constants.
2919         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2920         (create(int,boolean)): Likewise.
2921         (create()): Call create(int,boolean).
2922         (nativeSetBounds): New native method declaration.
2923         (setBounds): Call native method declaration.
2924         (setSize): New native method declaration.
2925         (setBoundsCallback): Likewise.
2926         (postConfigureEvent): Handle change in insets.  Call setSize and
2927         setBoundsCallback methods.
2928         * java/awt/Window.java (Window): Set visible to false.
2929         (setBoundsCallback): New method.
2930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2931         (gtkWidgetGetLocationOnScreen): If this component is not a
2932         container, adjust the location returned based on the peer's
2933         allocation.
2934         (set(String,boolean)): Revert change from 2003-09-19.
2935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2936         (awt_event_handler): Fix inset calculation.
2937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2938         glue for Window.setBoundsCallback.
2939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2940         Set up stacking order, window decorations and window manager
2941         hints.
2942         (setBoundsCallback): New method.
2943         (setSize): New method.
2944         (nativeSetBounds): New method.
2945         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2946
2947 2003-10-02  Tom Tromey  <tromey@redhat.com>
2948
2949         * java/lang/VMClassLoader.java (loadClass): Now native.
2950         * java/lang/natClassLoader.cc (loadClass): Implement.
2951         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2952
2953 2003-10-02  Michael Koch  <konqueror@gmx.de>
2954
2955         * java/net/InetAddress.java
2956         (zeros): Removed.
2957         (ANY_IF): Initalizie in static block.
2958         (static): Load library with native methods here and initialize ANY_IF.
2959         (isAnyLocalAddress): Check if equal to ANY_IF.
2960         (equals): Use addr directly instead of addr1. Simplify for loop.
2961         (toString): Rename "result" to "host" and add IP address allways.
2962         (getLocalHost): Merged documentation from classpath.
2963         * java/net/ServerSocket.java
2964         (ServerSocket): New package-private constructor used by java.nio.
2965         * java/net/URLConnection.java
2966         (getRequestProperties): Check if already connected.
2967
2968 2003-10-02  Michael Koch  <konqueror@gmx.de>
2969
2970         * java/nio/ByteBufferHelper.java:
2971         Rewrote all methods by suggestions from Eric Blake.
2972
2973 2003-10-02  Michael Koch  <konqueror@gmx.de>
2974
2975         * java/net/URL.java
2976         (DEFAULT_SEARCH_PATH): New static variable.
2977         (ph_cache): Made it a HashMap.
2978         (getURLStreamHandler): Rename propVal to ph_search_path and use
2979         DEFAULT_SEARCH_PATH.
2980
2981 2003-10-02  Michael Koch  <konqueror@gmx.de>
2982
2983         * javax/swing/table/AbstractTableModel.java
2984         (findColumnName): Prevent from NullPointerException if argument
2985         columnName is null.
2986
2987 2003-10-02  Michael Koch  <konqueror@gmx.de>
2988
2989         * javax/swing/table/AbstractTableModel.java:
2990         This patch is based on a patch done by Arnaud Vandyck
2991         <arnaud.vandyck@ulg.ac.be>.
2992         (getColumnName): Fixed method documentation.
2993         (findColumn): Likewise.
2994         (getColumnClass): Likewise.
2995         (isCellEditable): Likewise.
2996         (setValueAt): Likewise.
2997         (addTableModelListener): Likewise.
2998         (removeTableModelListener): Likewise.
2999         (getTableModelListeners): New method.
3000
3001 2003-10-02  Michael Koch  <konqueror@gmx.de>
3002
3003         * javax/swing/table/AbstractTableModel.java:
3004         Reformated.
3005
3006 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3007
3008         Fix PR libgcj/12475
3009         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3010         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3011
3012 2003-10-01  Tom Tromey  <tromey@redhat.com>
3013
3014         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3015
3016 2003-10-01  Andrew Haley  <aph@redhat.com>
3017
3018         * java/lang/natClass.cc (initializeClass): Check for otable and
3019         atable.
3020         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3021         loops using for().  Search superinterfaces.  Check for fields as
3022         well as methods.  Initialize atable as well as otable: check for
3023         static methods as well as virtual methods.
3024         * java/lang/Class.h (struct _Jv_AddressTable): New.
3025         (atable): New.
3026         (atable_syms): New.
3027         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3028         * prims.cc (_Jv_equalUtf8Consts): constify.
3029
3030 2003-09-29  Tom Tromey  <tromey@redhat.com>
3031
3032         PR libgcj/10596:
3033         * include/jvm.h (_Jv_FinalizeString,
3034         _Jv_RegisterStringFinalizer): Declare.
3035         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3036         unintern.
3037         (intern): Updated.
3038         (_Jv_NewStringUtf8Const): Likewise.
3039         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3040         Add special case when finalizing a String.
3041         (in_hash): New function.
3042         (_Jv_RegisterStringFinalizer): Likewise.
3043         (maybe_add_finalize): Likewise.
3044
3045 2003-09-29  Michael Koch  <konqueror@gmx.de>
3046
3047         * java/net/InetAddress.java:
3048         (isMulticastAddress): Dont use local variable to store address length.
3049         Let the compiler optimize this.
3050         (getHostName): Merged dcoumentation from classpath.
3051         (getAddress): Likewise.
3052         (getHostAddress): Likewise.
3053         (hashCode): Likewise.
3054         (equals): Likewise.
3055         (toString): Likewise.
3056         (getByName): Likewise.
3057         (getAllByName): Likewise.
3058
3059 2003-09-29  Michael Koch  <konqueror@gmx.de>
3060
3061         * java/awt/image/IndexColorModel.java: Reformated.
3062
3063 2003-09-29  Michael Koch  <konqueror@gmx.de>
3064
3065         * java/net/InetAddress.java,
3066         java/net/URL.java: Reformated.
3067
3068 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3069
3070         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3071         significant bit of descriptor. Include the vtable and sync_info 
3072         fields.
3073
3074 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3075
3076         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3077         if `obj' is not a Number or Date instance.
3078         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3079         instead of Vector.
3080
3081 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3082
3083         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3084         Don't call setTimeZone on calendar.
3085
3086 2003-09-27  Michael Koch  <konqueror@gmx.de>
3087
3088         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3089
3090 2003-09-27  Michael Koch  <konqueror@gmx.de>
3091
3092         * java/net/URL.java (getURLStreamHandler):
3093         Check if we have to use cache before trying to retrieve handler from
3094         cache. Rename facName to clsName to match classpath more. Reformated
3095         some little pieces.
3096
3097 2003-09-27  Michael Koch  <konqueror@gmx.de>
3098
3099         * gnu/java/nio/SelectionKeyImpl.java
3100         (ch): Make package-private again. Jikes found this bug.
3101         Jeff Sturm submitted PR12426 for this to bugzilla
3102         to fix this bug in gcj.
3103
3104 2003-09-26  Michael Koch  <konqueror@gmx.de>
3105
3106         * java/rmi/server/RMIClassLoader.java:
3107         Reformatted file, no functional code changes.
3108
3109 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3110
3111         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3112         Save space for some pixels at the buffer end.  Added Javadoc.
3113
3114 2003-09-26  Tom Tromey  <tromey@redhat.com>
3115
3116         * java/io/ObjectOutputStream.java (writeFields): Fixed
3117         indentation.
3118         (putFields): Likewise.
3119
3120 2003-09-26  Michael Koch  <konqueror@gmx.de>
3121
3122         * java/nio/ByteBufferHelper.java:
3123         Totally reworked with help from Eric Blake.
3124
3125 2003-09-26  Tom Tromey  <tromey@redhat.com>
3126
3127         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3128         * java/awt/geom/PathIterator.java: Documentation fixes.
3129
3130 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3131
3132         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3133         (select): Likewise.
3134         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3135
3136 2003-09-25  Michael Koch  <konqueror@gmx.de>
3137
3138         * gnu/java/nio/DatagramChannelImpl.java
3139         (getNativeFD): New method.
3140         * gnu/java/nio/SelectionKeyImpl.java
3141         (SelectionKeyImpl): Class made abstract.
3142         (fd): Removed.
3143         (SelectionKeyImpl): Remove fd argument.
3144         (getNativeFD): New method.
3145         * gnu/java/nio/SocketChannelImpl.java
3146         (getNativeFD): New method.
3147         gnu/java/nio/DatagramChannelSelectionKey.java,
3148         * gnu/java/nio/SocketChannelSelectionKey.java:
3149         New files.
3150         * Makefile.am (ordinary_java_source_files):
3151         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3152         gnu/java/nio/SocketChannelSelectionKey.java.
3153         * Makefile.in: Regenerated.
3154
3155 2003-09-25  Michael Koch  <konqueror@gmx.de>
3156
3157         * java/lang/reflect/Proxy.java
3158         (getProxyClass): Remove workaround for gcj 3.0.x.
3159
3160 2003-09-25  Michael Koch  <konqueror@gmx.de>
3161
3162         * gnu/java/net/PlainDatagramSocketImpl.java
3163         (finalize): Moved to directly after constructor.
3164         (getNativeFD): New method.
3165         * gnu/java/net/PlainSocketImpl.java
3166         (getNativeFD): New method.
3167
3168 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3169
3170         * java/io/ObjectOutputStream.java:
3171         Allow putFields be called more than once.
3172
3173 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3174
3175         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3176         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3177         * java/awt/image/BufferedImage.java (toString): Implement.
3178
3179 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3180
3181         * aclocal.m4: Rebuilt.
3182         * configure: Rebuilt.
3183
3184 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3185
3186         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3187         field.
3188
3189 2003-09-25  Michael Koch  <konqueror@gmx.de>
3190
3191         * gnu/java/nio/SelectorImpl.java
3192         (implSelect): Renamed from java_do_select.
3193         (select): Call native implSelect() and add support for Thread
3194         interruption.
3195         * gnu/java/nio/natSelectorImpl.cc
3196         (implSelect): Renamed from java_do_select.
3197
3198 2003-09-25  Michael Koch  <konqueror@gmx.de>
3199
3200         * gnu/java/nio/SelectorImpl.java
3201         (selectNow): Made final, throws IOException.
3202         (select): Likewise.
3203         (getFDsAsArray): Made final.
3204         (selectedKeys): Likewise.
3205         (wakeup): Likewise.
3206         (deregisterCancelledKeys): Likewise.
3207         (register): Likewise.
3208         (ass): Removed.
3209         (add_selected): Removed.
3210         * gnu/java/nio/natSelectorImpl.cc:
3211         No need to include bstring.h or gcj/cni.h.
3212         (helper_put_filedescriptors): Rewritten.
3213         (helper_get_filedescriptors): Rewritten.
3214
3215 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3216
3217         * java/awt/font/FontRenderContext.java (getTransform): Return
3218         copy of internal transform object. Add Javadoc.
3219         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3220         winding rule as Sun J2SE.
3221         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3222
3223 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3224
3225         * java/rmi/Naming.java:
3226         Added comments, now accepts pseudo protocol "rmi".
3227
3228 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3229
3230         * java/text/DecimalFormat.java (format): Don't immediatly round
3231         baseNumber to long.
3232         (setMinimumIntegerDigits): Call super.
3233         (setMinimumFractionDigits): Likewise.
3234         (setMaximumIntegerDigits): Likewise.
3235         (setMaximumFractionDigits): Likewise.
3236
3237 2003-09-25  Michael Koch  <konqueror@gmx.de>
3238
3239         * gnu/java/nio/DatagramChannelImpl.java
3240         (DatagramChannelImpl): Made class final.
3241         (blocking): Made private.
3242         (socket): Made it a NIODatagramSocket and private.
3243         (DatagramChannelImpl): create NIODatagramSocket instead of
3244         DatagramSocket.
3245         (implConfigureBlocking): Set socket timeout.
3246         (connect): Check that channel is not closed.
3247         (write): Implemented.
3248         (write): Rewritten.
3249         (read): Implemented.
3250         (read): Rewritten.
3251         (receive): Implemented.
3252         (send): Implemented.
3253         * gnu/java/nio/SelectionKeyImpl.java
3254         (readyOps): Made private.
3255         (interestOps): Made private.
3256         (impl): Made private.
3257         (ch): Made private.
3258         (readyOps): Check if selection key is valid.
3259         (interestOps): Likewise.
3260         * gnu/java/nio/SelectorImpl.java
3261         (closed): Removed.
3262         (keys): Made private.
3263         (selected): Made private.
3264         (finalize): New method.
3265         (implCloseSelector): Rewritten.
3266         (keys): Return unmodifiable Set.
3267         (deregisterCancelledKeys): Fixed typo in method name.
3268         * gnu/java/nio/SocketChannelImpl.java
3269         (SocketChannelImpl): Made class final.
3270         (socket): Made it a NIOSocket and private.
3271         (blocking): Made private.
3272         (connected): Made private.
3273         (connectionPending): New member variable.
3274         (SocketChannelImpl): New implementation.
3275         (finalizer): Use isConnected().
3276         (connect): Rewritten.
3277         (finishConnect): Throws IOException, implemented.
3278         (isConnectionPending): Return connectionPending.
3279         (read): Rewritten.
3280         (write): Rewritten.
3281         * gnu/java/nio/NIOConstants.java: New file.
3282         * Makefile.am (ordinary_java_source_files):
3283         Added gnu/java/nio/NIOConstants.java.
3284         * Makefile.in: Regenerated.
3285
3286 2003-09-25  Michael Koch  <konqueror@gmx.de>
3287
3288         * java/net/InetAddress.java:
3289         Reorder imports, remove implementation comment.
3290         (isMulticastAddress): Merged documentation from classpath.
3291         * java/net/URLConnection.java
3292         (setRequestProperty): Check key for null, fix documentation.
3293         (adREquestProperty): Check key for null, remove wrong implementation
3294         and replace it with comment to overwrite this method in subclasses,
3295         fix documentation.
3296
3297 2003-09-25  Tom Tromey  <tromey@redhat.com>
3298
3299         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3300         domain code.
3301         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3302         argument.
3303         (linkClass0): Now in VMClassLoader.
3304         (markClassErrorState0): Likewise.
3305         (getSystemClassLoaderInternal): New method.
3306         * java/lang/natClass.cc (initializeClass): Use
3307         VMClassLoader::resolveClass.
3308         * java/lang/ClassLoader.java: New version, from Classpath.
3309         * java/lang/Class.java (getProtectionDomain):
3310         protectionDomainPermission and unknownProtectionDomain now in
3311         VMClassLoader.
3312         * java/lang/Class.h: VMClassLoader now a friend class.
3313         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3314         package-private.
3315         * gcj/javaprims.h: Regenerated class list.
3316         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3317         * java/lang/VMClassLoader.java: New version from Classpath;
3318         modified for libgcj use.
3319
3320 2003-09-25  Michael Koch  <konqueror@gmx.de>
3321
3322         * java/nio/ByteBufferHelper.java:
3323         New file.
3324         * java/nio/ByteBufferImpl.java,
3325         java/nio/DirectByteBufferImpl.java,
3326         java/nio/MappedByteBufferImpl.java
3327         (getType,putType): Use new helper class ByteBufferHelper.
3328         * Makefile.am (ordinary_java_source_files):
3329         Added java/nio/ByteBufferHelper.java.
3330         * Makefile.in: Regenerated.
3331
3332 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3333
3334         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3335         PR libgcj/12388.
3336
3337 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3338
3339         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3340         Strings, even if buffer is already shared.
3341
3342 2003-09-24  Michael Koch  <konqueror@gmx.de>
3343
3344         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3345
3346 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3347
3348         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3349         (write): Likewise.
3350         (SocketInputStream): Declare `read' and `write' methods native.
3351         Remove implementations which called back into PlainSocketImpl.
3352         Remove unneccessary overridden methods.
3353         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3354         to inner class PlainSocketImpl.SocketInputStream.
3355         (write): Likewise.
3356         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3357         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3358         * gnu/java/net/SocketInputStream.java: Remove unused file.
3359         * gnu/java/net/SocketOutputStream.java: Likewise.
3360         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3361         and SocketOutputStream.
3362         * Makefile.in: Rebuilt.
3363
3364 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3365
3366         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3367
3368         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3369         markers.
3370
3371 2003-09-22  Anthony Green  <green@redhat.com>
3372
3373         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3374         * configure: Rebuilt.
3375
3376 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3377
3378         PR java/12350:
3379         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3380
3381 2003-09-22  Michael Koch  <konqueror@gmx.de>
3382
3383         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3384         compiler warning but produces a different one now.
3385
3386 2003-09-22  Michael Koch  <konqueror@gmx.de>
3387
3388         * java/net/InetAddress.java:
3389         Moves around some code, reformats and adds documentation.
3390         No functional changes.
3391
3392 2003-09-22  Michael Koch  <konqueror@gmx.de>
3393
3394         * java/net/JarURLConnection.java
3395         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3396         (getCertificates): Made it more error prone.
3397         (getMainAttributes): Likewise.
3398         (getAttributes): Implemented.
3399         (getManifest): Reformatted code.
3400
3401 2003-09-20  Tom Tromey  <tromey@redhat.com>
3402
3403         * java/awt/Component.java: Indentation cleanup from Classpath.
3404
3405 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3406
3407        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3408        checking to follow 1.4.2 spec.
3409
3410 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3411
3412         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3413         is compatible in case client and server are running in the same VM
3414         (remerged from Classpath on 2003-09-20)
3415
3416 2003-09-19  David Daney <ddaney@avtrex.com>
3417
3418         * java/lang/ref/Reference.java (clear): Set referent to null and
3419         synchronize.
3420
3421 2003-09-19  Michael Koch  <konqueror@gmx.de>
3422
3423         * gnu/java/nio/NIODatagramSocket.java,
3424         gnu/java/nio/NIOSocket.java: New files.
3425         * Makefile.am (ordinary_java_source_files):
3426         Added gnu/java/nio/NIODatagramSocket.java and
3427         gnu/java/nio/NIOSocket.java.
3428         * Makefile.in: Regenerated.
3429
3430 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3431
3432         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3433         top-level GTK window.
3434         (getArgs): Add "title" property.
3435         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3436         "allow_shrink" and "allow_grow" properties.
3437         * java/awt/Dialog.java: Initialize resizable to true and change
3438         comments accordingly.  Initialize visible to false in
3439         constructors.
3440         * java/awt/Frame.java (dispose): Remove method.
3441         * java/awt/Window.java (ownedWindows): New field.
3442         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3443         owner's ownedWindows vector.
3444         (finalize): Remove method.
3445         (hide): Hide owned windows.
3446         (dispose): Dispose of owned windows.
3447         (getOwnedWindows): Implement.
3448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3449         unused GtkArg code.
3450         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3451         to TRUE or FALSE.
3452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3453         (create): Set window's size requisition.
3454         (connectHooks): Fix indentation.
3455         (setResizable): Remove function.
3456         (static setBounds): Likewise.
3457         (setBounds): Replace call to setBounds with GTK size requisition
3458         and resize calls.
3459
3460 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3461
3462         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3463         function for lazy initialization of an auto-reset event.
3464         (_Jv_CondWait) Added thread interrupt support.
3465         (_Jv_ThreadInitData) Added initialization of interrupt support
3466         members.
3467         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3468         (_Jv_ThreadStart) Removed unused code.
3469         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3470         to an external caller.
3471         (_Jv_ThreadInterrupt) Implemented.
3472         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3473         event for interrupt support as well as a mutex which regulates
3474         access to this.
3475         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3476         event to an external caller.
3477         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3478         process.
3479         (waitFor) Added interrupt support.
3480
3481 2003-09-19  Michael Koch  <konqueror@gmx.de>
3482
3483         * java/net/DatagramSocket.java (getLocalAddress):
3484         Renamed result variable to localAddr.
3485         * java/net/MulticastSocket.java:
3486         No need to import gnu.java.net.PlainDatagramSocketImpl.
3487
3488 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3489
3490         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3491         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3492
3493 2003-09-18  Tom Tromey  <tromey@redhat.com>
3494
3495         * javax/naming/InitialContext.java: Reindented.
3496
3497 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3498             Helmer Kraemer <hkraemer@freenet.de>
3499
3500         * javax/naming/spi/NamingManager.java (getURLContext,
3501         getObjectInstance, getStateToBind): Always use current thread's
3502         context class loader when calling Class.forName.
3503
3504 2003-09-18  Michael Koch  <konqueror@gmx.de>
3505
3506         * java/util/Timer.java (finalize): Added "throws Throwable".
3507
3508 2003-09-18  Michael Koch  <konqueror@gmx.de>
3509
3510         * java/net/DatagramSocket.java
3511         (ch): Removed.
3512         (receive): Use getChannel() instead of ch.
3513         (send): Likewise.
3514         (getChannel): Return null.
3515         * java/net/ServerSocket.java
3516         (ch): Removed.
3517         (setChannel): Removed.
3518         (implAccept): Use getChannel() instead of ch.
3519         (close): Likewise.
3520         (getChannel): Return null.
3521         * java/net/Socket.java
3522         (ch): Removed.
3523         (connect): Use getChannel() instead of ch.
3524         (setChannel): Removed.
3525         (getChannel): Return null.
3526
3527 2003-09-18  Mark Wielaard  <mark@klomp.org>
3528
3529         Reported by Guilhem Lavaux and Julian Dolby
3530         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3531         field "serialPersistentFields", not "getSerialPersistentFields".
3532
3533 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3534
3535         * java/util/TimeZone.java: Initialize lazily.
3536         * java/util/Locale.java (readManifest): Fix check for country.
3537         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3538         traceable 
3539         * java/util/Calendar.java: Make use of ResourceBundle better
3540         traceable.
3541
3542 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3543
3544         * java/sql/Timestamp.java
3545         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3546
3547 2003-09-18  David P Grove  <groved@us.ibm.com>
3548
3549         * java/io/LineNumberReader (read): Don't reset pos & limit when
3550         markPos is 0.
3551
3552 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3553
3554         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3555         constant.
3556         (computeArguments): use computeTypicalArguments.
3557
3558         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3559         Compile_jikes.java and RMICException.java.
3560         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3561         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3562         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3563  
3564         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3565  
3566         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3567         (computeTypicalArguments): New method.
3568         (compile): Print compiler output to System.out. Collect compiler
3569         error output and use it in exception message.
3570  
3571         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3572         (destination): Initialize to null.
3573         (run): Replace file separator with '.' when processing class.
3574         (processClass): Replace '.' with file separator when compiling
3575         classes.
3576         (findClass): Use SystemClassLoader to load class.
3577         (generateStub): Use full class name for generated stub, that puts
3578         it in right path.  Replace '.' with file separator when generating
3579         stub file name. Write just the stub class name without package
3580         information as class name, and constructor name. Write only
3581         interface names for interfaces extending java.rmi.Remote as
3582         implemented.
3583         (generateSkel): Use full class name for generated skel, that puts
3584         it in right path.  Replace '.' with file separator when generating
3585         stub file name. Write just the stub class name without package
3586         information as class name.
3587
3588 2003-09-18  Michael Koch  <konqueror@gmx.de>
3589
3590         * Makefile.am (rmi_java_source_files):
3591         Added gnu/java/rmi/rmic/Compile_kjc.java,
3592         gnu/java/rmi/rmic/Compile_jikes.java and
3593         gnu/java/rmi/rmic/RMICException.java
3594         * Makefile.in: Regenerated.
3595
3596 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3597
3598         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3599         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3600         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3601         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3602         New files.
3603
3604 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3605
3606         * java/awt/BufferedImage.java (setData): Support non-component
3607         sample models.
3608         (getData): Same.
3609
3610 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3611
3612         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3613         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3614
3615 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3616
3617         * configure.in: Standardized help text case of
3618         --enable-hash-synchronization
3619         New configure switch --enable-libgcj-multifile and corresponding
3620         automake conditional ONESTEP.
3621         * configure: Rebuilt.
3622         * Makefile.am: Use automake conditional ONESTEP to determine
3623         whether classfiles should be compiled individually or all
3624         at once.
3625         * Makefile.in: Rebuilt.
3626
3627 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3628
3629         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3630         Remove method declaration.
3631         (create()): Call native create.
3632         (create(int)): New method.
3633         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3634         (create): Add window_id parameter.  Call gtk_plug_new with
3635         window_id parameter.
3636         (construct): Remove method implementation.
3637
3638 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3639
3640         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3641         (mostlyclean-local): New target patterned after clean-local
3642         which recursively deletes all libtool objects using 'libtool rm'.
3643         (clean-local): Slightly modified comment to alleviate monotony.
3644         (distclean-local): New target patterned after clean-local
3645         which recursively deletes all .d files.
3646         * Makefile.in: Rebuilt.
3647
3648 2003-09-11  Tom Tromey  <tromey@redhat.com>
3649
3650         * java/net/URLStreamHandler.java (parseURL): If original file
3651         ends with "/", so must canonical result.
3652         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3653         with nul-termination and finding previous "/".
3654
3655 2003-09-11  Michael Koch  <konqueror@gmx.de>
3656
3657         * acconfig.h: Removed most items.
3658         * configure.in: Added descriptions to AC_DEFINE macros that where in
3659         acconfig.h before.
3660         * include/config.h.in: Regenerated.
3661
3662 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3663
3664         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3665         if one is installed. Improve Javadoc.
3666         (getSystemEventQueueImpl): Improve Javadoc.
3667
3668 2003-09-11  Tom Tromey  <tromey@redhat.com>
3669
3670         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3671         file does not exist.
3672
3673 2003-09-10  Anthony Green  <green@redhat.com>
3674
3675         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3676         Specify full name when referencing ::java::net::InetAddress.
3677         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3678         Fix argument type.
3679
3680 2003-09-10  Michael Koch  <konqueror@gmx.de>
3681
3682         * acconfig.h (__NO_MATH_INLINES): Removed.
3683         * configure.in: Removed check for g++ math inlining bug from 2000.
3684         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3685         libgcj_cxxflags.
3686         * configure: Regenerated.
3687
3688 2003-09-10  David Daney <ddaney@avtrex.com>
3689
3690         * java/util/Arrays.java (equals(all variants)): Quit using
3691         NullPointerException catching to detect null valued parameters.
3692
3693 2003-09-10  Michael Koch  <konqueror@gmx.de>
3694
3695         * java/net/DatagramSocket.java,
3696         java/net/MulticastSocket.java,
3697         java/net/ServerSocket.java,
3698         java/net/Socket.java:
3699         Use gnu.java.net.Plain*SocketImpl instead of
3700         java.net.PlainSocketImpl.
3701         * java/net/PlainDatagramSocketImpl.java,
3702         java/net/PlainSocketImpl.java,
3703         java/net/SocketInputStream.java,
3704         java/net/SocketOutputStream.java,
3705         java/net/natPlainDatagramSocketImplNoNet.cc,
3706         java/net/natPlainDatagramSocketImplPosix.cc,
3707         java/net/natPlainDatagramSocketImplWin32.cc,
3708         java/net/natPlainSocketImplNoNet.cc,
3709         java/net/natPlainSocketImplPosix.cc,
3710         java/net/natPlainSocketImplWin32.cc:
3711         Removed.
3712         * gnu/java/net/PlainDatagramSocketImpl.java,
3713         gnu/java/net/PlainSocketImpl.java,
3714         gnu/java/net/SocketInputStream.java,
3715         gnu/java/net/SocketOutputStream.java,
3716         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3717         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3718         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3719         gnu/java/net/natPlainSocketImplNoNet.cc,
3720         gnu/java/net/natPlainSocketImplPosix.cc,
3721         gnu/java/net/natPlainSocketImplWin32.cc:
3722         New files (moved from java/net).
3723         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3724         instead of java/net/natPlain*SocketImpl.cc.
3725         * configure: Regenerated.
3726         * Makefile.am: Moved files from java/net to gnu/java/net.
3727         * Makefile.in: Regenerated.
3728
3729 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3730
3731         * configure: Regenerate.
3732
3733 2003-09-04  Tom Tromey  <tromey@redhat.com>
3734
3735         * configure.host: Removed erroneous comment.
3736
3737         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3738         lvalue cast; use correct rvalue cast.
3739
3740 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3741
3742         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3743         and height arguments to GtkWindowPeer.create method call.
3744         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3745         (create(int,int,int)): New method.
3746         (create(int)): Add call to new create method.
3747         (create()): Add width and height arguments to create method
3748         call.
3749         (GtkWindowPeer): Remove call to setBounds.
3750         * java/awt/Frame.java (Frame(String)): Initialize visible field
3751         to false.
3752         (Frame(GraphicsConfiguration)): Likewise.
3753         (Frame(String,GraphicsConfiguration)): Likewise.
3754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3755         Add width and height parameters.  Call
3756         gtk_window_set_default_size.
3757         (connectHooks): Remove unused name variable.
3758         (static setBounds): Call gtk_window_resize not
3759         gtk_widget_set_usize.
3760         (setBounds): Remove unused nchildren variable.
3761
3762 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3763
3764         * java/util/logging/Logger.java: provide class and method information
3765         * java/util/logging/LogManager.java: create handlers
3766         * java/util/logging/SimpleFormatter.java: print souceClassName and
3767         sourceMethodName
3768
3769 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3770
3771         * win32.cc: fixed tab, indentation and whitespace
3772         inconsistencies
3773         removed jvm.h include
3774         added includes java/lang/UnsupportedOperationException.h,
3775         java/io/IOException.h, java/net/SocketException.h
3776         (WSAEventWrapper): class implementation
3777         (_Jv_WinStrError): implemented both overloads
3778         (_Jv_ThrowIOException): implemented both overloads
3779         (_Jv_ThrowSocketException): implemented both overloads
3780         (_Jv_select): implemented
3781         * include/win32.h: fixed tab, indentation and whitespace
3782         inconsistencies
3783         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3784         added jvm.h include
3785         (WSAEventWrapper): added class declaration
3786         (_Jv_WinStrError): added both overload declarations
3787         (_Jv_ThrowIOException): added both overload declarations
3788         (_Jv_ThrowSocketException): added both overload declarations
3789         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3790         (_Jv_select): added declaration
3791         (_Jv_socket): removed
3792         (_Jv_connect): removed
3793         (_Jv_close): removed
3794         (_Jv_bind): removed
3795         (_Jv_accept): removed
3796         (_Jv_listen): removed
3797         (_Jv_write): removed
3798         (_Jv_read): removed
3799         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3800         whitespace inconsistencies
3801         replaced <windows.h> #include with <platform.h>
3802         removed jvm.h include
3803         (testCanUseGetHandleInfo): new function which tests whether Win32
3804         GetHandleInformation() call can be used with console buffer handles
3805         (only supported on >=WinNT 5.0)
3806         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3807         (valid): rewrote implementation using GetHandleInformation()
3808         (sync):         changed exception throwing to use error string and exception
3809         helper methods declared in include/win32.h
3810         (open): likewise
3811         (write): likewise
3812         (setLength): likewise
3813         (close): likewise
3814         (seek): likewise
3815         (getFilePointer): likewise
3816         (read): likewise
3817         * java/io/natFileWin32.cc: fixed tab, indentation and
3818         whitespace inconsistencies
3819         replaced <windows.h> #include with <platform.h>
3820         removed jvm.h include
3821         (_access): use JV_TEMP_UTF_STRING
3822         (_stat): likewise
3823         (performMkDir): use JV_TEMP_UTF_STRING
3824         (performRenameTo): likewise
3825         (performDelete): likewise
3826         (performCreate): likewise
3827         (performSetReadOnly): likewise
3828         (performSetLastModified): likewise
3829         * java/lang/natWin32Process.cc: fixed tab, indentation and
3830         whitespace inconsistencies
3831         replaced <windows.h> #include with <platform.h>
3832         removed includes gcj/cni.h, jvm.h
3833         (new_string): removed
3834         (startProcess): use JV_TEMP_UTF_STRING,
3835         changed exception throwing to use error string and exception
3836         helper methods declared in include/win32.h
3837         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3838         whitespace inconsistencies
3839         replaced <windows.h> #include with <platform.h>
3840         removed jvm.h include
3841         removed DISABLE_JAVA_NET conditional code
3842         removed POSIX conditional code not relevant to Win32
3843         (aton): use JV_TEMP_UTF_STRING
3844         removed POSIX conditional code not relevant to Win32
3845         (lookup): likewise
3846         (getLocalHostName): likewise
3847         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3848         whitespace inconsistencies
3849         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3850         removed DISABLE_JAVA_NET conditional code
3851         removed POSIX conditional code not relevant to Win32
3852         (winsock2GetRealNetworkInterfaces): new function to compute network
3853         interfaces via Winsock2 API
3854         (determineGetRealNetworkInterfacesFN): new function for returning
3855         a function pointer to the function used to compute network interfaces.
3856         (getRealNetworkInterfaces): implemented
3857         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3858         whitespace inconsistencies
3859         removed gcj/cni.h include
3860         removed DISABLE_JAVA_NET conditional code
3861         removed POSIX conditional code not relevant to Win32
3862         changed net POSIXisms to Win32isms
3863         replaced _Jv socket-related calls with their real Win32 equivalents
3864         changed exception throwing to use error string and exception
3865         helper methods declared in include/win32.h
3866         (peekData): implemented timeout support
3867         (receive): likewise
3868         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3869         whitespace inconsistencies
3870         removed gcj/cni.h and gcj/javaprims.h includes
3871         removed DISABLE_JAVA_NET conditional code
3872         removed POSIX conditional code not relevant to Win32
3873         changed net POSIXisms to Win32isms
3874         replaced _Jv socket-related calls with their real Win32
3875         equivalents
3876         changed exception throwing to use error string and exception
3877         helper methods declared in include/win32.h
3878         (throwConnectException): helper function for connect()
3879         (connect): implemented timeout support
3880         (accept): likewise
3881         (doRead): new helper function common to both read() method overloads,
3882         includes timeout support
3883         (read): implemented both overloads in terms of doRead()
3884         (available): implemented using ioctlsocket()
3885
3886 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3887
3888         * java/net/natInetAddressWin32.cc,
3889         java/net/natNetworkInterfaceWin32.cc,
3890         java/net/natPlainDatagramSocketImplWin32.cc,
3891         java/net/natPlainSocketImplWin32.cc:
3892         Readded code enclosed in DISABLE_JAVA_NET defines
3893         in preparation for MinGW cleanup / networking
3894         patch
3895
3896 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3897
3898         * Makefile.am: Fixed problems with parallel makes.
3899         (all_java_class_files): Readded definition.
3900         (all_java_class_files): New target which depends on
3901         libgcj-@gcc_version@.jar
3902         * Makefile.in: Rebuilt
3903
3904 2003-08-28  Tom Tromey  <tromey@redhat.com>
3905
3906         * Makefile.in: Rebuilt.
3907         * Makefile.am (ordinary_java_source_files): Added new files.
3908         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3909         friend.
3910         * java/net/URLClassLoader.java (findClass): Don't use
3911         findURLResource.  Use loader's getClass method.
3912         (URLLoader.getClass): New method.
3913         (addURL): Handle `gcjlib' URLs.
3914         (SoURLLoader): New class.
3915         (SoResource): Likewise.
3916         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3917         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3918         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3919         (_Jv_RegisterCoreHook): Declare.
3920         (_Jv_FindCore): Declare.
3921         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3922         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3923         typedef.
3924         (core_hook): New function.
3925         (struct SharedLibDummy) [saved_core]: New field.
3926         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3927         (register_hook): Set protection domain and class loader on new
3928         class.
3929         (finalize): Free core chain.
3930         * gnu/gcj/Core.java (Core): New constructor.
3931         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3932         SharedLibHelper.
3933         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3934         (_Jv_create_core): New function.
3935         (create): Use it.
3936         (default_register_resource): New function.
3937         (_Jv_RegisterCoreHook): New global.
3938         (_Jv_RegisterResource): Use it.
3939         (core_chain_struct): Removed.
3940         (_Jv_FindCore): New function.
3941         (_Jv_FreeCoreChain): New function.
3942
3943 2003-08-29  Michael Koch  <konqueror@gmx.de>
3944
3945         * java/net/natInetAddressWin32.cc,
3946         java/net/natNetworkInterfaceWin32.cc,
3947         java/net/natPlainDatagramSocketImplWin32.cc,
3948         java/net/natPlainSocketImplWin32.cc:
3949         Removed code enclosed in DISABLE_JAVA_NET defines.
3950
3951 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3952
3953         * Makefile.am: (write_entries_to_file) New parameterized
3954         function for writing entries to a file one line at a time.
3955         (all_java_class_files): Removed definition.
3956         (.java.class) Removed.target.
3957         (libgcj-@gcc_version@.jar): Changed dependency to
3958         $(all_java_source_files); added compilation step which compiles
3959         all changed source files in one pass.
3960         (libgcj.la) Refactored to use write_entries_to_file.
3961         (lib-gnu-awt-xlib.la) Likewise.
3962         (install-data-local) Likewise.
3963         (write-entries-to-file-check) New target which tests write_entries_to_file.
3964         (all-recursive): Changed dependency from $(all_java_class_files)
3965         to libgcj-@gcc_version@.jar
3966         * Makefile.in: Rebuilt.
3967
3968 2003-08-26  Tom Tromey  <tromey@redhat.com>
3969
3970         * java/lang/StrictMath.java: Typo fix.
3971         * java/lang/Math.java: Typo fix.
3972
3973 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3974
3975         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3976         of the removed Thread.
3977
3978 2003-08-26  Mark Wielaard  <mark@klomp.org>
3979
3980         Reported by David Holmes <dholmes@dltech.com.au>.
3981         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3982         Collections.synchronizedMap.
3983         * java/lang/ThreadLocal.java (valueMap): Likewise.
3984
3985 2003-08-26  Mark Wielaard  <mark@klomp.org>
3986
3987         * java/security/acl/Acl.java: Fix broken p tag.
3988         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3989         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3990         * javax/swing/plaf/TreeUI.java: Likewise.
3991         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3992         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3993         documentation.
3994         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3995         tag.
3996
3997 2003-08-26  Tom Tromey  <tromey@redhat.com>
3998
3999         * Makefile.in: Rebuilt.
4000         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4001
4002         * java/lang/ref/Reference.java (get): Indentation fix.
4003         (clear): Comment fix.
4004         (enqueue): Likewise.
4005         (lock): Likewise.
4006         (referent): Likewise.
4007
4008 2003-08-26  Tom Tromey  <tromey@redhat.com>
4009
4010         PR java/12058:
4011         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4012
4013         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4014         (ProxyData.getPackage): New method.
4015         (ProxyData.getProxyData): Use package name, not Package.
4016         (ClassFactory.ClassFactory): Updated.
4017
4018 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4019         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4020         * Makefile.in: re-generated.
4021         * gnu/awt/j2d/IntegerGraphicsState.java
4022         (ScreenCoupledImage): new interface.
4023         (drawImage): detect ScreenCoupledImage instances.
4024         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4025         * gnu/awt/xlib/XEventLoop.java
4026         (createEvent): re-formatted, and rearranged to avoid null pointer.
4027         * gnu/awt/xlib/XGraphics.java
4028         (drawImage): added XOffScreenImage handling.
4029         * gnu/awt/xlib/XOffScreenImage.java: new file.
4030         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4031         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4032         * gnu/gcj/xlib/XAnyEvent.java
4033         (TYPE_KEY_PRESS): new constant.
4034         (TYPE_KEY_RELEASE): new constant.
4035         (TYPE_MOTION_NOTIFY): new constant.
4036         (TYPE_ENTER_NOTIFY): new constant.
4037         (TYPE_LEAVE_NOTIFY): new constant.
4038         (TYPE_FOCUS_IN): new constant.
4039         (TYPE_FOCUS_OUT): new constant.
4040         (TYPE_KEYMAP_NOTIFY): new constant.
4041         (TYPE_GRAPHICS_EXPOSE): new constant.
4042         (TYPE_NO_EXPOSE): new constant.
4043         (TYPE_VISIBILITY_NOTIFY): new constant.
4044         (TYPE_CREATE_NOTIFY): new constant.
4045         (TYPE_DESTROY_NOTIFY): new constant.
4046         (TYPE_MAP_REQUEST): new constant.
4047         (TYPE_CONFIGURE_REQUEST): new constant.
4048         (TYPE_GRAVITY_NOTIFY): new constant.
4049         (TYPE_RESIZE_REQUEST): new constant.
4050         (TYPE_CIRCULATE_NOTIFY): new constant.
4051         (TYPE_CIRCULATE_REQUEST): new constant.
4052         (TYPE_PROPERTY_NOTIFY): new constant.
4053         (TYPE_SELECTION_CLEAR): new constant.
4054         (TYPE_SELECTION_REQUEST): new constant.
4055         (TYPE_SELECTION_NOTIFY): new constant.
4056         (TYPE_COLORMAP_NOTIFY): new constant.
4057         (TYPE_MAPPING_NOTIFY): new constant.
4058         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4059         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4060         * java/awt/Component.java (createImage): changed to use peer method.
4061
4062 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4063
4064         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4065         name, not XLFD, to native drawString.
4066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4067         Replace XLFD-based implementation with Pango-based
4068         implementation.
4069
4070 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4071
4072         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4073         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4074
4075 2003-08-21  David Daney  <ddaney@avtrex.com>
4076
4077         Fix for PR libgcj/12013:
4078         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4079         Check `cleared' field.
4080         * java/lang/ref/Reference.java (copy): Updated comments.
4081         (cleared): New field.
4082         (clear): Rewrote.
4083
4084 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4085             Thomas Fitzsimmons  <fitzsim@redhat.com>
4086
4087         * Makefile.am (gtk_awt_peer_sources): Add
4088         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4089         gnu/java/awt/GLightweightPeer.java.
4090         * gnu/java/awt/GLightweightPeer.java: Remove file.
4091         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4092         * java/awt/Component.java (getToolkit): Add comment about
4093         lightweight components.
4094         * java/awt/Toolkit.java (createComponent): Return
4095         gnu.java.awt.peer.GLightweightPeer.
4096
4097 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4098
4099         * configure.in: Fix detection of gcj when building with newlib.
4100         * configure: Regenerated.
4101
4102 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4103
4104         * jni.cc: Replace "cheating" pointer-casting code with
4105         extract_from_jvalue<> template.
4106
4107 2003-08-20  Andrew Haley  <aph@redhat.com>
4108
4109         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4110         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4111         (classAt): Break out class lookup function into getClass().
4112         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4113         handlers when using -fno-assume-compiled.
4114
4115 2003-08-20  Tom Tromey  <tromey@redhat.com>
4116
4117         Fix for PR libgcj/9125:
4118         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4119         object outside of loop.  Respect lib_control setting.
4120         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4121         field.
4122         (lib_control): New field.
4123         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4124         (VMClassLoader): Initialize new field.
4125
4126         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4127         Set `list->reference' to DELETED_REFERENCE when removing dead
4128         object.
4129         (find_slot): Added an assert.
4130         (DELETED_REFERENCE): New define.
4131         (add_to_hash): Check for DELETED_REFERENCE.
4132         (remove_from_hash): Just return if found slot isn't ours.
4133
4134 2003-08-19  Andrew Haley  <aph@redhat.com>
4135
4136         * prims.cc (unblock_signal): New function.
4137         (catch_segv): Use it.
4138         (catch_fpe): Likewise.
4139
4140 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4141
4142         PR libgcj/11575
4143         * java/io/natFileDescriptorWin32.cc (open): Set create
4144         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4145         Honor EXCL when openning with WRITE flag. 
4146
4147 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4148
4149         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4150         getting a temporary C string from a jstring)
4151         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4152         but uses a stack buffer if the string length is less than 256
4153         bytes.
4154
4155 2003-08-18  Tom Tromey  <tromey@redhat.com>
4156
4157         PR libgcj/11951:
4158         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4159         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4160         value.  Added is_jni_call argument; only wrap exception if not a
4161         JNI call.  Use descriptive message if operation not supported.
4162         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4163         array class.
4164         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4165         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4166         _Jv_CallAnyMethodA.
4167         (_Jv_JNI_CallAnyMethodA): Likewise.
4168         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4169         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4170
4171 2003-08-13  Tom Tromey  <tromey@redhat.com>
4172
4173         * gij.cc (help): Document -? and -X.
4174
4175 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4176
4177         * java/awt/Font.java: 
4178         Stub out more recent API. 
4179
4180 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4181
4182         * java/awt/Color.java (getAlpha): 
4183         Prevent sign-extended alpha values.
4184
4185 2003-08-12  Tom Tromey  <tromey@redhat.com>
4186
4187         * gij.cc (main): Handle -? and -X.
4188
4189 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4190
4191         * java/awt/Container.java
4192         (getPreferredSize): Call preferredSize.
4193         (preferredSize): Moved body of getPreferredSize here.
4194         (getMinimumSize): Call minimumSize.
4195         (minimumSize): Moved body of getMinimumSize here.
4196
4197 2003-08-11  Tom Tromey  <tromey@redhat.com>
4198
4199         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4200         (postEvent): Removed FIXME comment.
4201         (isDispatchThread): Documented.
4202         (getCurrentEvent): New method.
4203         (dispatchEvent): Set currentEvent and lastWhen.
4204         (getMostRecentEventTime): Rewrote.
4205         (invokeLater): Documented.
4206
4207 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4208
4209         * java/io/PrintStream.java (print): Always flush if auto_flush is
4210         set. Don't check for newline characters.
4211         (write (int)): Implement without using a temporary array.
4212         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4213         check for newline characters.
4214         Fixes PR libgcj/11778.
4215
4216 2003-08-08  Andrew Haley  <aph@redhat.com>
4217
4218         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4219         * Makefile.in: Rebuild.
4220         * java/lang/natRuntime.cc (insertSystemProperties): Add
4221         "sun.boot.class.path".
4222
4223 2003-08-07  Andrew Haley  <aph@redhat.com>
4224
4225         * java/io/PrintStream.java: Don't crash on a null string.
4226         
4227 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4228
4229         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4230         * configure: Regenerate.
4231
4232 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4233
4234         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4235         SocketImpl. Update Javadoc.
4236         (bind): Call close() not impl.close() in event of exception.
4237         (connect): Likewise.
4238         Remove superfluous null checks throughout.
4239         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4240         Don't create an extra socket. Fix for PR libgcj/10868.
4241         (bind): Clean up exception handling.
4242         Remove superfluous null checks throughout.
4243
4244 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4245             Bryce McKinlay  <bryce@mckinlay.net.nz>
4246
4247         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4248         ready-to-write argument to _Jv_Select. Reset the socket back to 
4249         non-blocking state after connecting.
4250         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4251         Throw SocketTimeoutException not InterruptedIOException.
4252         (read): Throw SocketTimeoutException not InterruptedIOException.
4253
4254 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4255
4256         * java/lang/Thread.java (Thread): Check for null "name" from
4257         start of private constructor, not after calling the private
4258         constructor.
4259
4260 2003-08-06  Tom Tromey  <tromey@redhat.com>
4261
4262         * java/io/FilePermission.java (equals): Use correct index for
4263         last character of path.
4264
4265 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4266
4267         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4268         * configure.in: Compare with_cross_host to build_alias, not build.
4269         * aclocal.m4: Regenerate.
4270         * configure: Regenerate.
4271
4272 2003-08-05  Tom Tromey  <tromey@redhat.com>
4273
4274         Fix for PR libgcj/11779:
4275         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4276         class.
4277
4278         * java/lang/reflect/Method.java: Updated status comment.
4279         Imported javadoc from Classpath and re-ordered methods.
4280         * java/lang/reflect/Constructor.java: Reindented.  Updated
4281         status comment.  Imported javadoc from Classpath and re-ordered
4282         methods.
4283
4284 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4285
4286         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4287         Add keyLocation parameter.
4288         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4289         string.
4290         (paramString): Generate keyChar string according to keyChar, not
4291         keyCode.
4292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4293         (state_to_awt_mods): Handle ALT key.
4294         (keyevent_state_to_awt_mods): New function.
4295         (get_first_keyval_from_keymap): New function.
4296         (keysym_to_awt_keycode): Get virtual key code from keymap.
4297         Handle missing VK_ values.
4298         (keysym_to_awt_keylocation): New function.
4299         (keyevent_to_awt_keychar): New function.
4300         (generates_key_typed_event): Handle non-text-component case.
4301         Handle GDK_KP_Delete and GDK_KP_Enter.
4302         (awt_event_handler): Call new functions to get postKeyEvent
4303         parameters.
4304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4305         Update postKeyEvent method signature.
4306         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4307         VK_ defines.
4308
4309 2003-08-05  Matthias Klose  <doko@debian.org>
4310
4311         * aclocal.m4: check for libart-config binary
4312           under the name libart2-config as well.
4313         * configure: regenerated.
4314
4315 2003-08-04  David P Grove  <groved@us.ibm.com>
4316
4317         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4318         when groupingSize is 0.
4319         (parse): Likewise.
4320
4321 2003-08-04  Matthias Klose  <doko@debian.org>
4322
4323         * libart.m4: check for libart-config binary
4324           under the name libart2-config as well.
4325         * configure, aclocal.m4: regenerated.
4326
4327 2003-08-02  Michael Koch  <konqueror@gmx.de>
4328
4329         * java/nio/ByteBufferImpl.java
4330         (getChar): Check remaining bytes, fixed comment about endianess.
4331         (putChar): Likewise.
4332         (getShort): Likewise.
4333         (putShort): Likewise.
4334         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4335         endianess.
4336         (putInt): Likewise.
4337         (getLong): Likewise.
4338         (putLong): Likewise.
4339         (getFloat): Likewise.
4340         (putFloat): Likewise.
4341         (getDouble): Likewise.
4342         (putDouble): Likewise.
4343         * java/nio/DirectByteBufferImpl.java
4344         (getChar): Wrapped code, fixed comment about endianess.
4345         (putchar): Likewise.
4346         (getShort): Likewise.
4347         (putShort): Likewise.
4348         (getInt): Fixed conversion, fixed comment about endianess.
4349         (putInt): Likewise.
4350         (getLong): Likewise.
4351         (putLong): Likewise.
4352         (getFloat): Likewise.
4353         (putFloat): Likewise.
4354         (getDouble): Likewise.
4355         (putDouble): Likewise.
4356         * java/nio/MappedByteBufferImpl.java
4357         (compact): Implemented.
4358         (getChar): Implemented.
4359         (putChar): Implemented.
4360         (getDouble): Implemented.
4361         (putdouble): Implemented.
4362         (getFloat): Implemented.
4363         (putFloat): Implemented.
4364         (getInt): Implemented.
4365         (putInt): Implemented.
4366         (getLong): Implemented.
4367         (putLong): Implemented.
4368         (getShort): Implemented.
4369         (putShort): Implemented.
4370         * java/nio/channels/FileChannelImpl.java
4371         (read): Set position where to access file.
4372         (write): Likewise.
4373         (transferTo): Flip buffer after read and before write.
4374         (transferFrom): Likewise.
4375
4376 2003-08-02  Michael Koch  <konqueror@gmx.de>
4377
4378         * gnu/java/lang/ArrayHelper.java
4379         (equalsArray): Reformated, added method documentation.
4380
4381 2003-08-02  Michael Koch  <konqueror@gmx.de>
4382
4383         * java/net/URL.java
4384         (URL): Added paragraph about the
4385         gnu.java.net.nocache_protocol_handlers property.
4386         (ph_cache): Renamed from handlers to match classpath's implementation.
4387         Reordered it with factory and serialVersionUID member variables.
4388         (cache_handlers): New member variable.
4389         (static): New static initializer to initialize cache_handlers from
4390         gnu.java.net.nocache_protocol_handlers property.
4391         (URL): Use ph_cache instead of handlers, reformatted some code to
4392         match classpath's implementation.
4393
4394 2003-08-01  Tom Tromey  <tromey@redhat.com>
4395
4396         Fix for PR libgcj/11241:
4397         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4398         initialCapacity is 0, set it to 1.
4399
4400 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4401
4402         * java/net/SocketImpl.java (toString): Display the remote address
4403         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4404
4405 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4406
4407         * javax/swing/border/BevelBorder.java,
4408         javax/swing/border/EtchedBorder.java,
4409         javax/swing/border/LineBorder.java,
4410         javax/swing/border/MatteBorder.java,
4411         javax/swing/border/SoftBevelBorder.java,
4412         javax/swing/plaf/BorderUIResource.java,
4413         javax/swing/plaf/ComponentUI.java,
4414         javax/swing/plaf/TreeUI.java,
4415         javax/swing/plaf/basic/BasicBorders.java,
4416         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4417         javax/swing/plaf/basic/BasicTreeUI.java:
4418         Prepend "doc-files" to all paths to embedded Javadoc images, so
4419         that the generated documentation contains the correct URL.
4420
4421 2003-08-01  Tom Tromey  <tromey@redhat.com>
4422
4423         * configure: Rebuilt.
4424         * configure.in (tool_include_dir): Redefine to match gcc.
4425
4426 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4427             Mark Wielaard  <mark@klomp.org>
4428             
4429         * java/math/BigDecimal (divide): Correctly handle
4430         ROUND_HALF_EVEN when amount is greater than 0.5.
4431         Simplify and optimize code.
4432
4433 2003-07-31  Tom Tromey  <tromey@redhat.com>
4434
4435         More for PR libgcj/11737:
4436         * java/io/ObjectInputStream.java (processResolution): Use
4437         getMethod.
4438         (getMethod): Make method accessible.
4439         (getField): Make field accessible.
4440         (setBooleanField): Don't call setAccessible here.
4441         (setByteField, setCharField, setDoubleField, setFloatField,
4442         setIntField, setLongField, setShortField, setObjectField):
4443         Likewise.
4444         (callReadMethod): Don't check whether method is null.  Catch
4445         NoSuchMethodException.
4446         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4447         cause on thrown exceptions.
4448
4449 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4450
4451         Fix for PR libgcj/11728:
4452         * java/util/HashMap.java (readObject): Set size.
4453
4454 2003-07-31  Tom Tromey  <tromey@redhat.com>
4455
4456         Fix for PR libgcj/11737:
4457         * java/io/ObjectOutputStream.java (getMethod): Make method
4458         accessible.
4459         (getField): Likewise.
4460         (writeObject): Use getMethod.
4461         Import PrivilegedAction and AccessController.
4462         (callWriteMethod): Don't check whether m is null.  Catch
4463         NoSuchMethodException.
4464
4465         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4466         (containsAngle): Likewise.
4467         (getStartPoint): Rewrote.
4468         (getEndPoint): Likewise.
4469         (setAngleStart(Point2D)): Likewise.
4470
4471 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4472             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4473
4474         * configure.in: Add new THREADCXXFLAGS variable.
4475         Handle POSIX threads on alpha*-dec-osf*.
4476         * configure: Regenerate.
4477         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4478         * Makefile.in: Regenerate.
4479
4480 2003-07-08  Andrew Haley  <aph@redhat.com>
4481
4482         * include/i386-signal.h (RESTORE): New.
4483         (INIT_SEGV): Set restorer.
4484         (INIT_FPE): Likewise.
4485
4486 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4487
4488         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4489         than getXLFD.
4490         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4491         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4493         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4495         Likewise.
4496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4497         Likewise.
4498
4499 2003-07-29  Tom Tromey  <tromey@redhat.com>
4500
4501         * defineclass.cc (handleField): Throw exception if field name is
4502         duplicated.
4503         (handleMethod): Throw exception for duplicate method.
4504
4505 2003-07-29  Tom Tromey  <tromey@redhat.com>
4506
4507         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4508         output buffer is too small.
4509
4510 2003-07-28  Tom Tromey  <tromey@redhat.com>
4511
4512         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4513         New method.
4514         Include gnu/gcj/runtime/StringBuffer.h.
4515         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4516         native method.
4517         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4518
4519 2003-07-27  Anthony Green  <green@redhat.com>
4520
4521         * configure.in: Fix newlib check.
4522         * configure: Rebuilt.
4523
4524 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4525
4526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4527         Create vbox and layout for GtkPlug.
4528
4529 2003-07-27  Michael Koch  <konqueror@gmx.de>
4530
4531         * java/awt/Window.java
4532         (Window): Removed now unused constructor. It became oboslete with the
4533         new embedded window patch.
4534
4535 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4536             Michael Koch  <konqueror@gmx.de>
4537
4538         * gnu/java/awt/EmbeddedWindow.java
4539         (EmbeddedWindow): Extends Frame instead of Window.
4540         (window_id): New member variable to store the native window handle.
4541         (create): Removed.
4542         (EmbeddedWindow): New constructor.
4543         (addNotify): New method.
4544         (getHandler): Likewise.
4545         (setWindowPeer): New native method.
4546         * gnu/java/awt/EmbeddedWindowSupport.java
4547         (EmbeddedWindowSupport): Fixed documentation.
4548         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4549         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4550         window data.
4551         * gnu/java/awt/natEmbeddedWindow.cc
4552         (create): Removed.
4553         (setWindowPeer): New method.
4554         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4555         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4556         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4557         New files
4558         * gnu/java/awt/peer/gtk/GtkToolkit.java
4559         (GtkToolkit): Implements EmbeddedWindowSupport.
4560         (createEmbeddedWindow): New method.
4561         * java/awt/Window.java
4562         (Window): Removed.
4563         * Makefile.am
4564         (java_source_files): Added EmbeddedWindowPeer.java.
4565         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4566         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4567         * Makefile.in: Regenerated.
4568
4569 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4570
4571         * java/lang/Win32Process.java (ConcreteProcess): Surround
4572         a command line element with quotes if it contains an
4573         embedded space or tab.
4574         * java/lang/natWin32Process.cc (startProcess): Do not
4575         surround command line elements with quotes here.
4576
4577         * configure.host: Use -fcheck-references and 
4578         -fuse-divide-subroutine for MinGW until we fix
4579         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4580         Structured Exception Handling (SEH).
4581
4582         * win32.cc (_Jv_platform_initProperties): Use generic names
4583         like "x86" for the "os.arch" property to be consistent with
4584         what Sun's JDK produces. Use the wProcessorArchitecture
4585         member of the Win32 SYSTEM_INFO structure, filled in a call 
4586         to GetSystemInfo( ), instead of dwProcessorType.
4587
4588 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4589             Ranjit Mathew  <rmathew@hotmail.com>
4590
4591         * Makefile.am: Use cross-compiling gcjh from the path for
4592         a crossed-native build.
4593         * Makefile.in: Rebuilt.
4594         * configure.in: Include libltdl in non-newlib builds.
4595         Moved determination of gcj used to build libraries to
4596         its own section. Fixed cross-compilation issues for
4597         non-newlib builds.
4598         * configure: Rebuilt.
4599
4600 2003-07-25  Tom Tromey  <tromey@redhat.com>
4601
4602         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4603         (write): Likewise.
4604         (read): Likewise.
4605         (read): Likewise.
4606
4607 2003-07-25  Mark Wielaard  <mark@klomp.org>
4608
4609         * java/lang/natRuntime.cc (_load): Add library name to
4610         UnsatisfiedLinkError when thrown.
4611
4612 2003-07-25  Mark Wielaard  <mark@klomp.org>
4613
4614         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4615         added.
4616         * Makefile.in: Likewise.
4617
4618 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4619
4620         * java/awt/Component.java
4621         (getPreferredSize): Call preferredSize.
4622         (preferredSize): Moved body of getPreferredSize here.
4623         (getMinimumSize): Call minimumSize.
4624         (minimumSize): Moved body of getMinimumSize here.
4625         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4626         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4627         pass -1
4628         * java/awt/Container.java
4629         (validate): Don't validate if there is no peer.
4630         (update): Clear background before calling paint.
4631         * java/awt/GridBagLayout.java
4632         Completed the implementation and fixed several bugs.
4633         * java/awt/MediaTracker.java
4634         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4635         combine flags.
4636         * java/awt/Window.java
4637         (Window): Don't call setVisible(false). Windows are invisible by
4638         default and calling virtual methods from constructor causes
4639         compatibility problems (e.g. subclasses may assume that the peer
4640         already exists).
4641
4642 2003-07-25  Michael Koch  <konqueror@gmx.de>
4643
4644         * java/awt/GridBagLayout.java:
4645         Totally reworked and partly implemented.
4646         * java/awt/GridBagLayoutInfo.java:
4647         New file.
4648
4649 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4650
4651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4652         Don't pack label in an event box.
4653
4654 2003-07-24  Tom Tromey  <tromey@redhat.com>
4655
4656         For PR libgcj/7482:
4657         * verify.cc (ref_intersection): New class.
4658         (type_val): Removed unresolved_reference_type,
4659         uninitialized_unresolved_reference_type.
4660         (is_assignable_from_slow): Rewrote.
4661         (type::data): Removed.
4662         (type::klass): New field.
4663         (type::type): Added verifier argument.
4664         (type::resolve): Removed.
4665         (type::set_uninitialized): Updated for change to type_val.
4666         (type::set_initialized): Likewise.
4667         (type::isinitialized): Likewise.
4668         (type::print): Likewise.
4669         (construct_primitive_array_type): Likewise.
4670         (type::compatible): Updated for change to type_val and to use
4671         ref_intersection.
4672         (type::isarray): Updated to use ref_intersection.
4673         (type::isinterface): Likewise.
4674         (type::element_type): Likewise.
4675         (type::to_array): Likewise.
4676         (type::verify_dimensions): Rewrote.
4677         (type::merge): Likewise.
4678         (check_class_constant): Updated for type constructor change.
4679         (check_constant): Likewise.
4680         (check_field_constant): Likewise.
4681         (get_one_type): Likewise.
4682         (initialize_stack): Likewise.
4683         (verify_instructions_0): Likewise.
4684         (verify_instructions_0) [op_invokeinterface]: Removed special
4685         case.
4686         (isect_list): New field.
4687         (_Jv_BytecodeVerifier): Initialize it.
4688         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4689
4690 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4691
4692         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4693         unless field size is 2.
4694
4695 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4696
4697         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4698         (connectHooks): New method.
4699         (handleEvent): Remove.
4700         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4701         (createHooks): Remove declaration.
4702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4703         (generates_key_typed_event): Change to handle only certain
4704         keyvals.
4705         (awt_event_handler): Add special handling for GtkTextView.
4706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4707         (textcomponent_commit_cb): New function.
4708         (textcomponent_changed_cb): Likewise.
4709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4710         (connectHooks): Remove.
4711
4712 2003-07-23  Tom Tromey  <tromey@redhat.com>
4713
4714         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4715
4716         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4717
4718 2003-07-22  Tom Tromey  <tromey@redhat.com>
4719
4720         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4721         Include limits.h.
4722
4723 2003-07-22  Tom Tromey  <tromey@redhat.com>
4724
4725         * java/awt/Window.java (getWarningString): Just return the
4726         string.
4727         (Window): Set warningString; check with security manager.
4728
4729 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4730
4731         * gnu/awt/xlib/XGraphicsConfiguration.java
4732         (FontMetricsCache): Made static.
4733  
4734 2003-07-22  Tom Tromey  <tromey@redhat.com>
4735
4736         * java/net/URLEncoder.java (encode(String)): Use platform default
4737         encoding.
4738         (encode(String,String)): Convert to 2-digit upper-case hex
4739         number.
4740         (hex): New field.
4741
4742 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4743
4744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4745         (create): Remove unused method implementation.
4746         (connectHooks): Remove debug messages.
4747
4748 2003-07-20  Anthony Green  <green@redhat.com>
4749
4750         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4751         CloneNotSupportedException.
4752         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4753         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4754         * gnu/gcj/xlib/GC.java (clone): Ditto.
4755         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4756         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4757
4758         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4759         handler.
4760         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4761
4762 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4763
4764         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4765         String.  Put dlerror() message into exception.
4766         Include UnsatisfiedLinkError.
4767         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4768         String.  Now native.
4769
4770 2003-07-20  Tom Tromey  <tromey@redhat.com>
4771
4772         * java/lang/Runtime.java: Comment fix.
4773         * java/lang/ClassLoader.java (isAncestorOf): New method.
4774         (getParent): Uncommented security check.  Use isAncestorOf.
4775         * include/jvm.h (_Jv_CheckAccess): Declare.
4776         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4777         access check.
4778         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4779         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4780         class loader to _Jv_GetArrayClass.
4781         Include ArrayIndexOutOfBoundsException.h.
4782         * java/lang/reflect/Field.java: Update comment to reflect status.
4783         (equals): Fixed indentation.
4784         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4785         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4786         * java/lang/Class.java (memberAccessCheck): New method from
4787         Classpath.
4788         (checkMemberAccess): Removed.
4789         (getDeclaredMethod): Use memberAccessCheck.
4790         (getField): Likewise.
4791         (getMethod): Likewise.
4792         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4793         (_Jv_SearchMethodInClass): Likewise.
4794         * prims.cc (_Jv_CheckAccess): New function.
4795         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4796         (_Jv_JNI_GetAnyFieldID): Likewise.
4797         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4798         (getClassLoader): Added security check.
4799         (getConstructor): Call memberAccessCheck.
4800         (getDeclaredClasses): Likewise.
4801         (getDeclaredField): Likewise.
4802         (getDeclaredFields): Likewise.
4803         (_getConstructors): Likewise.
4804         (getDeclaredConstructor): Likewise.
4805         (getDeclaredMethods): Likewise.
4806         (getFields): Likewise.
4807         (getMethods): Likewise.
4808         (newInstance): Likewise.
4809         (_Jv_MakeVTable): Put method name in exception.
4810         * java/lang/reflect/natMethod.cc (getType): Use
4811         getClassLoaderInternal.
4812         (_Jv_GetTypesFromSignature): Likewise.
4813         (invoke): Perform access check.
4814         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4815         Include ArrayIndexOutOfBoundsException.h.
4816         * java/lang/reflect/natField.cc (getType): Use
4817         getClassLoaderInternal.
4818         (_Jv_CheckFieldAccessibility): Removed.
4819         (getAddr): Use _Jv_CheckAccess; find caller.
4820         Include ArrayIndexOutOfBoundsException.h.
4821
4822 2003-07-20  Michael Koch  <konqueror@gmx.de>
4823
4824         * java/net/URL.java
4825         (URL): Fixed documentation to name an argument correcty, Reformatted
4826         one method declaration.
4827         (getURLStreamHandler): Added documentation from classpath.
4828
4829 2003-07-19  Tom Tromey  <tromey@redhat.com>
4830
4831         * mauve-libgcj: Don't run CollationElementIterator tests.
4832
4833 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4834
4835         * java/net/URLClassLoader.java (addURL): Moved implementation to
4836         private addURLImpl() to avoid calling addURL from the constructor.
4837         (addURLImpl): Contains the code that was previously in addURL.
4838         (addURLs): Call addURLImpl(), not addURL().
4839
4840 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4841
4842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4843         Handle missing event cases, connect to "value-changed" signal.
4844
4845 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4846
4847         * java/awt/geom/CubicCurve2D.java,
4848         java/awt/geom/Line2D.java,
4849         java/awt/geom/QuadCurve2D.java,
4850         java/awt/geom/Rectangle2D.java: 
4851         Fix path some calculations, make path iterators follow
4852         a consistent style.
4853
4854 2003-07-18  Mark Wielaard  <mark@klomp.org>
4855
4856         * java/util/logging/Handler.java (isLoggable): Check record level
4857         smaller or equal.
4858
4859 2003-07-17  Michael Koch  <konqueror@gmx.de>
4860
4861         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4862         Reworked imports.
4863
4864 2003-07-14  Michael Koch  <konqueror@gmx.de>
4865
4866         * gnu/java/rmi/server/UnicastServerRef.java:
4867         New version from classpath.
4868
4869 2003-07-14  Michael Koch  <konqueror@gmx.de>
4870
4871         * java/awt/image/MemoryImageSource.java,
4872         java/beans/PropertyEditorManager.java,
4873         javax/naming/CompoundName.java,
4874         javax/naming/spi/NamingManager.java,
4875         javax/swing/AbstractButton.java,
4876         javax/swing/ButtonModel.java,
4877         javax/swing/SwingUtilities.java,
4878         javax/swing/UIManager.java,
4879         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4880         javax/swing/event/AncestorEvent.java,
4881         javax/swing/event/InternalFrameEvent.java,
4882         java/util/zip/ZipFile.java:
4883         New versions from classpath.
4884
4885 2003-07-13  Michael Koch  <konqueror@gmx.de>
4886
4887         * gnu/java/nio/FileChannelImpl.java,
4888         gnu/java/nio/natFileChannelImpl.cc: Removed.
4889         * java/io/FileInputStream.java,
4890         java/io/FileOutputStream.java,
4891         java/io/RandomAccessFile.java,
4892         java/nio/MappedByteBufferImpl.java:
4893         Import java.nio.channels.FileChannelImpl instead of
4894         gnu.java.nio.FileChannelImpl.
4895         * java/nio/channels/FileChannelImpl.java,
4896         java/nio/channels/natFileChannelImpl.cc:
4897         New files.
4898         * Makefile.am
4899         (ordinary_java_source_files):
4900         Removed gnu/java/nio/FileChannelImpl.java and added
4901         java/nio/channels/FileChannelImpl.java.
4902         (nat source_files):
4903         Removed gnu/java/nio/natFileChannelImpl.cc and added
4904         java/nio/channels/natFileChannelImpl.cc.
4905         * Makefile.in: Regenerated.
4906
4907 2003-07-13  Michael Koch  <konqueror@gmx.de>
4908
4909         * javax/swing/plaf/basic/BasicBorders.java,
4910         javax/swing/plaf/basic/BasicLabelUI.java,
4911         javax/swing/plaf/basic/BasicLookAndFeel.java,
4912         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4913         javax/swing/plaf/basic/BasicTextUI.java,
4914         javax/swing/plaf/metal/MetalLookAndFeel.java:
4915         New versions from classpath.
4916
4917 2003-07-13  Michael Koch  <konqueror@gmx.de>
4918
4919         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4920         * gnu/java/awt/peer/gtk/GdkGraphics.java
4921         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4922         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4923         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4924         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4925         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4926         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4927         * gnu/java/awt/peer/gtk/GtkClipboard.java
4928         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4929         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4930         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4931         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4932         * gnu/java/awt/peer/gtk/GtkImage.java
4933         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4934         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4935         * gnu/java/awt/peer/gtk/GtkListPeer.java
4936         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4937         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4938         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4939         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4940         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4941         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4942         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4943         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4944         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4945         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4946         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4947         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4948
4949 2003-07-13  Michael Koch  <konqueror@gmx.de>
4950
4951         * gnu/java/locale/LocaleInformation_de.java
4952         * gnu/java/locale/LocaleInformation_en.java
4953         * gnu/java/locale/LocaleInformation_nl.java
4954
4955 2003-07-13  Michael Koch  <konqueror@gmx.de>
4956
4957         * gnu/java/awt/EmbeddedWindow.java,
4958         gnu/java/awt/EmbeddedWindowSupport.java,
4959         gnu/java/awt/natEmbeddedWindow.cc:
4960         New files.
4961         * java/awt/Window.java
4962         (Window): New constructor to support embedded windows.
4963         * Makefile.am
4964         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4965         gnu/java/awt/EmbeddedWindowSupport.java.
4966         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4967         * Makefile.in: Regenerated.
4968
4969 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4970
4971         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4972         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4973         * java/awt/im/InputContext.java: Remove a redundant
4974         partial line.
4975
4976 2003-07-09  Tom Tromey  <tromey@redhat.com>
4977
4978         * Makefile.in: Rebuilt.
4979         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4980
4981 2003-07-09  Mark Wielaard  <mark@klomp.org>
4982
4983         * java/io/ObjectOutputStream.java (writeObject): break after
4984         calling writeClassDescriptor().
4985
4986 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4987
4988         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4989
4990 2003-07-09  Michael Koch  <konqueror@gmx.de>
4991
4992         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4993         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4994         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4995         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4996         Explicitly import used classes.
4997         * java/awt/Container.java: New version from classpath.
4998
4999 2003-07-09  Michael Koch  <konqueror@gmx.de>
5000
5001         * libgcj.pc.in: New file.
5002         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5003         * Makefile.in: Regenerated.
5004         * configure: Regenrated.
5005         * configure.in: Create libgcj.pc from libgcj.pc.in.
5006
5007 2003-07-08  Mark Wielaard <mark@klomp.org>
5008
5009         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5010
5011         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5012         * java/lang/fdlibm.h: Likewise.
5013
5014 2003-07-07  Adam Megacz <adam@xwt.org>
5015
5016         * posix.cc: added #include<stdio.h>
5017                 
5018 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5019
5020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5021         formatting.
5022
5023         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5024         (setCaretPosition, setEditable): Rely entirely on native
5025         implementation.
5026         (getArgs): Remove.
5027         (postTextEvent): New method.
5028         (handleEvent): New method.
5029         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5030         method.
5031         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5033         (keysym_to_awt_keycode): Fix range checks.
5034         (generates_key_typed_event): New function.
5035         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5036         queue.
5037         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5038         (gtkInit): Store TextComponent's postTextEvent method ID.
5039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5040         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5041
5042 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5043
5044         * configure.in: Check for usleep declaration.
5045         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5046         * configure: Regenerate.
5047         * include/config.h.in: Likewise.
5048         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5049
5050 2003-07-01  Michael Koch  <konqueror@gmx.de>
5051
5052         * gnu/gcj/convert/natIconv.cc
5053         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5054         handle.
5055
5056 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5057
5058         * glib-2.0.m4: New file.
5059         * gtk-2.0.m4: New file.
5060         * glib.m4: Remove.
5061         * gtk.m4: Remove.
5062         * configure.in: Update AM_PATH_GTK macro call to
5063         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5065         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5066         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5067         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5071         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5072         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5073         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5074         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5075         jni/gtk-peer/gthread-jni.c,
5076         jni/gtk-peer/gthread-jni.h:
5077         New versions from classpath.
5078         * aclocal.m4: Regenerate.
5079         * configure: Regenerate.
5080         * Makefile.in: Regenerate.
5081         * gcj/Makefile.in: Regenerate.
5082         * include/Makefile.in: Regenerate.
5083         * testsuite/Makefile.in: Regenerate.
5084
5085 2003-06-30  Gary Benson  <gbenson@redhat.com>
5086
5087         For PR libgcj/11349:
5088         * javax/naming/spi/NamingManager.java (getURLContext): Use
5089         correct name for factory class.
5090
5091 2003-06-28  Michael Koch  <konqueror@gmx.de>
5092
5093         * java/io/PrintStream.java
5094         (checkError): Call flush() instead of direct flushing of the Writer
5095         object.
5096         (print): Call print(String) instead of direct print method of the
5097         Writer Object.
5098         (println): Call println(String) instead of direct println method of the
5099         Writer Object.
5100         (write): Simplified.
5101
5102 2003-06-28  Michael Koch  <konqueror@gmx.de>
5103
5104         * java/net/ServerSocket.java
5105         (setChannel): New method.
5106         * java/net/Socket.java
5107         (setChannel): New method.
5108
5109 2003-06-27  Michael Koch  <konqueror@gmx.de>
5110
5111         * java/beans/beancontext/BeanContextSupport.java:
5112         New version from classpath.
5113
5114 2003-06-27  Michael Koch  <konqueror@gmx.de>
5115
5116         * java/awt/Window.java,
5117         java/awt/font/GraphicAttribute.java,
5118         java/awt/font/ImageGraphicAttribute.java,
5119         java/awt/image/DataBufferByte.java,
5120         java/awt/image/DataBufferInt.java,
5121         java/awt/image/DataBufferUShort.java,
5122         java/awt/image/DirectColorModel.java,
5123         java/awt/image/PixelGrabber.java:
5124         New versions from classpath.
5125
5126 2003-06-27  Michael Koch  <konqueror@gmx.de>
5127
5128         * java/security/Certificate.java
5129         (getGuarantor): Removed wrong @deprecated tag.
5130         (getPrincipal): Likewise.
5131         (getPublicKey): Likewise.
5132         (encode): Likewise.
5133         (decode): Likewise.
5134         (getFormat): Likewise.
5135         (toString): Likewise.
5136         * java/security/cert/PolicyQualifierInfo.java
5137         (PolicyQualifierInfo): Made final.
5138         * javax/security/auth/x500/X500Principal.java
5139         (serialVersionUID): New member variable.
5140
5141 2003-06-27  Michael Koch  <konqueror@gmx.de>
5142
5143         * java/text/Format.java
5144         (serialVersionUID): Fixed value.
5145
5146 2003-06-27  Michael Koch  <konqueror@gmx.de>
5147
5148         * java/net/Inet4Address.java
5149         (Inet4Address): Made package-private.
5150         * java/net/Inet6Address.java
5151         (Inet4Address): Made package-private.
5152
5153 2003-06-27  Michael Koch  <konqueror@gmx.de>
5154
5155         * java/io/RandomAccessFile.java
5156         (readLine): Removed wrong @deprecated tag.
5157         (getChannel): Made final.
5158
5159 2003-06-27  Michael Koch  <konqueror@gmx.de>
5160
5161         * gnu/java/nio/FileChannelImpl.java
5162         (write): Removed.
5163
5164 2003-06-27  Michael Koch  <konqueror@gmx.de>
5165
5166         * java/nio/ByteBufferImpl.java
5167         (ByteBufferImpl): Made it a package-private class
5168         * java/nio/CharBufferImpl.java
5169         (CharBufferImpl): Made it a package-private class
5170         * java/nio/DirectByteBufferImpl.java
5171         (DirectByteBufferImpl): Made it a package-private class
5172         * java/nio/DoubleBufferImpl.java
5173         (DoubleBufferImpl): Made it a package-private class
5174         * java/nio/FloatBufferImpl.java
5175         (FloatBufferImpl): Made it a package-private class
5176         * java/nio/IntBufferImpl.java
5177         (IntBufferImpl): Made it a package-private class
5178         * java/nio/LongBufferImpl.java
5179         (LongBufferImpl): Made it a package-private class
5180         * java/nio/ShortBufferImpl.java
5181         (ShortBufferImpl): Made it a package-private class
5182         * java/nio/channels/FileChannel.java
5183         (write): Made final.
5184         * java/nio/channels/ServerSocketChannel.java
5185         (ServerSocketChanne): Made protected.
5186
5187 2003-06-27  Michael Koch  <konqueror@gmx.de>
5188
5189         * javax/naming/CompositeName.java
5190         (serialVersionUID): New member variable.
5191         * javax/naming/CompoundName.java
5192         (serialVersionUID): New member variable.
5193         * javax/naming/InitialContext.java
5194         (InitialContext): Throws NamingException.
5195         (init): Likewise.
5196         * javax/naming/LinkRef.java
5197         (serialVersionUID): New member variable.
5198         (gteLinkName): Throws NamingException.
5199         * javax/naming/NamingException.java
5200         (serialVersionUID): New member variable.
5201         * javax/naming/NamingSecurityException.java
5202         (NamingSecurityException): Made abstract.
5203         (serialVersionUID): New member variable.
5204         * javax/naming/ReferralException.java
5205         (serialVersionUID): New member variable.
5206         * javax/naming/StringRefAddr.java
5207         (serialVersionUID): New member variable.
5208         * javax/naming/directory/BasicAttribute.java:
5209         Reworked imports.
5210         (serialVersionUID): New member variable.
5211         (get): Throws NamingException.
5212         (getAll): Throws NamingException.
5213         * javax/naming/directory/BasicAttributes.java:
5214         Reworked imports.
5215         (serialVersionUID): New member variable.
5216         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5217         (serialVersionUID): New member variable.
5218
5219 2003-06-27  Michael Koch  <konqueror@gmx.de>
5220
5221         * Makefile.am
5222         (awt_java_source_files): Added new files:
5223         javax/swing/Popup.java,
5224         javax/swing/PopupFactory.java
5225         * Makefile.in: Regenerated.
5226
5227 2003-06-27  Michael Koch  <konqueror@gmx.de>
5228
5229         * javax/swing/JWindow.java,
5230         javax/swing/event/AncestorEvent.java,
5231         javax/swing/event/HyperlinkEvent.java,
5232         javax/swing/event/InternalFrameEvent.java,
5233         javax/swing/event/ListDataEvent.java,
5234         javax/swing/event/TableModelEvent.java,
5235         javax/swing/plaf/PopupMenuUI.java,
5236         javax/swing/plaf/SplitPaneUI.java,
5237         javax/swing/plaf/TabbedPaneUI.java,
5238         javax/swing/plaf/TextUI.java,
5239         javax/swing/plaf/TreeUI.java,
5240         javax/swing/plaf/basic/BasicTextUI.java,
5241         javax/swing/plaf/basic/BasicTreeUI.java:
5242         New versions from classpath.
5243         * javax/swing/Popup.java,
5244         javax/swing/PopupFactory.jav:
5245         New source files from classpath.
5246         * javax/swing/plaf/doc-files/TreeUI-1.png:
5247         New binary files from classpath.
5248
5249 2003-06-25  Michael Koch  <konqueror@gmx.de>
5250
5251         * Makefile.am
5252         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5253         * Makefile.in: Regenerated.
5254
5255 2003-06-25  Michael Koch  <konqueror@gmx.de>
5256
5257         * javax/swing/plaf/ActionMapUIResource.java,
5258         javax/swing/plaf/BorderUIResource.java,
5259         javax/swing/plaf/ButtonUI.java,
5260         javax/swing/plaf/ColorChooserUI.java,
5261         javax/swing/plaf/ColorUIResource.java,
5262         javax/swing/plaf/ComboBoxUI.java,
5263         javax/swing/plaf/ComponentInputMapUIResource.java,
5264         javax/swing/plaf/ComponentUI.java,
5265         javax/swing/plaf/DesktopIconUI.java,
5266         javax/swing/plaf/DesktopPaneUI.java,
5267         javax/swing/plaf/DimensionUIResource.java,
5268         javax/swing/plaf/FileChooserUI.java,
5269         javax/swing/plaf/FontUIResource.java,
5270         javax/swing/plaf/IconUIResource.java,
5271         javax/swing/plaf/InputMapUIResource.java,
5272         javax/swing/plaf/InsetsUIResource.java,
5273         javax/swing/plaf/InternalFrameUI.java,
5274         javax/swing/plaf/LabelUI.java,
5275         javax/swing/plaf/ListUI.java,
5276         javax/swing/plaf/MenuBarUI.java,
5277         javax/swing/plaf/MenuItemUI.java,
5278         javax/swing/plaf/OptionPaneUI.java,
5279         javax/swing/plaf/PanelUI.java,
5280         javax/swing/plaf/ProgressBarUI.java,
5281         javax/swing/plaf/RootPaneUI.java,
5282         javax/swing/plaf/ScrollBarUI.java,
5283         javax/swing/plaf/ScrollPaneUI.java,
5284         javax/swing/plaf/SeparatorUI.java,
5285         javax/swing/plaf/SliderUI.java,
5286         javax/swing/plaf/TableHeaderUI.java,
5287         javax/swing/plaf/TableUI.java,
5288         javax/swing/plaf/ToolBarUI.java,
5289         javax/swing/plaf/ToolTipUI.java,
5290         javax/swing/plaf/ViewportUI.java:
5291         New versions from classpath.
5292         * javax/swing/plaf/SpinnerUI.java: 
5293         New file from classpath
5294
5295 2003-06-25  Michael Koch  <konqueror@gmx.de>
5296
5297         * java/awt/image/ColorModel.java:
5298         New version from classpath.
5299
5300 2003-06-25  Michael Koch  <konqueror@gmx.de>
5301
5302         * java/net/PlainDatagramSocketImpl.java:
5303         Partly merged with classpath, this mainly adds documentation.
5304
5305 2003-06-25  Michael Koch  <konqueror@gmx.de>
5306
5307         * java/io/ObjectInputStream.java
5308         (readClassDescriptor): New method.
5309         (readObject): Moved functionality to readClassDescriptor().
5310         * java/io/ObjectOutputStream.java
5311         (writeClassDescriptor): New method.
5312         (writeObject): Moved functionality to writeClassDescriptor().
5313
5314 2003-06-25  Michael Koch  <konqueror@gmx.de>
5315
5316         * javax/swing/plaf/basic/BasicListUI.java,
5317         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5318         Added missing methods.
5319
5320 2003-06-25  Michael Koch  <konqueror@gmx.de>
5321
5322         * javax/swing/event/AncestorEvent.java
5323         javax/swing/event/HyperlinkEvent.java
5324         javax/swing/event/InternalFrameEvent.java
5325         javax/swing/event/ListDataEvent.java
5326         javax/swing/event/TableModelEvent.java:
5327         Compile fixes.
5328
5329 2003-06-24  Michael Koch  <konqueror@gmx.de>
5330
5331         * java/net/URL.java:
5332         Renamed "handler" to "ph" in the whole file to match classpaths
5333         version.
5334         * java/net/URLStreamHandler.java:
5335         (equals): Renamed "handler" to "ph".
5336
5337 2003-06-24  Michael Koch  <konqueror@gmx.de>
5338
5339         * javax/swing/event/AncestorEvent.java,
5340         javax/swing/event/HyperlinkEvent.java,
5341         javax/swing/event/InternalFrameEvent.java,
5342         javax/swing/event/ListDataEvent.java,
5343         javax/swing/event/TableModelEvent.java,
5344         javax/swing/event/TreeWillExpandListener.java,
5345         javax/swing/plaf/ComponentUI.java,
5346         javax/swing/plaf/DesktopIconUI.java,
5347         javax/swing/plaf/DesktopPaneUI.java,
5348         javax/swing/plaf/DimensionUIResource.java,
5349         javax/swing/plaf/FileChooserUI.java,
5350         javax/swing/plaf/FontUIResource.java,
5351         javax/swing/plaf/IconUIResource.java,
5352         javax/swing/plaf/InputMapUIResource.java,
5353         javax/swing/plaf/InsetsUIResource.java,
5354         javax/swing/plaf/InternalFrameUI.java,
5355         javax/swing/plaf/LabelUI.java,
5356         javax/swing/plaf/ListUI.java,
5357         javax/swing/plaf/MenuBarUI.java,
5358         javax/swing/plaf/MenuItemUI.java,
5359         javax/swing/plaf/OptionPaneUI.java,
5360         javax/swing/plaf/PanelUI.java,
5361         javax/swing/plaf/ProgressBarUI.java,
5362         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5363         javax/swing/plaf/doc-files/ComponentUI-1.png:
5364         New versions from classpath.
5365
5366 2003-06-24  Michael Koch  <konqueror@gmx.de>
5367
5368         * java/nio/Buffer.java
5369         (cap): Made package-private.
5370         (pos): Likewise.
5371         (limit): Likewise.
5372         (mark): Likewise.
5373
5374 2003-06-24  Michael Koch  <konqueror@gmx.de>
5375
5376         * java/net/SocketImpl.java
5377         (shutdownInput): Made it non-abstract method throwing an exception
5378         like in SUNs JRE.
5379         (shutdownOutput): Likewise.
5380         * java/net/SocketInputStream.java,
5381         java/net/SocketOutputStream.java:
5382         New files from classpath.
5383
5384 2003-06-24  Michael Koch  <konqueror@gmx.de>
5385
5386         * java/awt/Font.java,
5387         java/awt/Window.java,
5388         java/awt/color/ColorSpace.java,
5389         java/awt/datatransfer/StringSelection.java,
5390         java/awt/image/ColorModel.java:
5391         New versions from classpath.
5392
5393 2003-06-24  Michael Koch  <konqueror@gmx.de>
5394
5395         * Makefile.am
5396         (awt_java_source_files): Added new files:
5397         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5398         javax/swing/plaf/basic/BasicSplitPaneUI.java
5399         * Makefile.in: Regenerated.
5400
5401 2003-06-24  Michael Koch  <konqueror@gmx.de>
5402
5403         * javax/swing/text/JTextComponent.java:
5404         New version from classpath.
5405
5406 2003-06-24  Michael Koch  <konqueror@gmx.de>
5407
5408         * javax/swing/Timer.java,
5409         javax/swing/plaf/ActionMapUIResource.java,
5410         javax/swing/plaf/ButtonUI.java,
5411         javax/swing/plaf/ColorChooserUI.java,
5412         javax/swing/plaf/ColorUIResource.java,
5413         javax/swing/plaf/ComboBoxUI.java,
5414         javax/swing/plaf/ComponentInputMapUIResource.java,
5415         javax/swing/plaf/basic/BasicBorders.java:
5416         New versions from classpath.
5417         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5418         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5419         New file from classpath.
5420         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5421         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5422         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5423         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5424         javax/swing/plaf/doc-files/ComponentUI-1.png:
5425         New binary files from classpath.
5426
5427 2003-06-24  Michael Koch  <konqueror@gmx.de>
5428
5429         * java/io/LineNumberReader.java
5430         (skip): Dont do line number accounting here as this is already done in
5431         read(), simplified.
5432
5433 2003-06-21  Michael Koch  <konqueror@gmx.de>
5434
5435         * java/io/File.java
5436         (static): Load javaio lib if existing (only in classpath).
5437         (File): Revised documentation to show the correct argument name.
5438         (createTempFile): Partly merged with classpath.
5439         (compareTo): Simplified.
5440         (lastModified): Throw exception if time < 0.
5441         (deleteOnExit): Revised documentation.
5442
5443 2003-06-21  Michael Koch  <konqueror@gmx.de>
5444
5445         * java/net/PlainSocketImpl.java:
5446         Reformatted.
5447         (PlainSocketImpl): Merged class documentaion with classpath.
5448         (in): Moved.
5449         (out): Moved.
5450         (PlainSocketImpl): New empty constructor.
5451         (finalize): Moved.
5452         (setOption): Merged documentation from classpath.
5453         (getOption): Likewise.
5454         (create): Likewise.
5455         (connect): Likewise.
5456         (bind): Likewise.
5457         (listen): Likewise.
5458         (accept): Likewise.
5459         (available): Likewise.
5460         (close): Likewise.
5461         (read): Likewise.
5462         (write): Likewise.
5463         (getInputStream): Made synchronozed to get sure that only one stream
5464         object can be created for this socket, merged documentation from
5465         classpath.
5466         (getOutputStream): Likewise.
5467
5468 2003-06-21  Michael Koch  <konqueror@gmx.de>
5469
5470         * java/net/PlainSocketImpl.java:
5471         Reformatting.
5472         (static): New implicit method.
5473         (read): Made package private.
5474         (write): Likewise.
5475
5476 2003-06-21  Michael Koch  <konqueror@gmx.de>
5477
5478         * java/util/SimpleTimeZone.java:
5479         Removed unneeded import, reformatting.
5480
5481 2003-06-21  Michael Koch  <konqueror@gmx.de>
5482
5483         * java/text/DateFormat.java,
5484         java/text/SimpleDateFormat.java,
5485         java/util/Locale.java:
5486         New versions from classpath.
5487
5488 2003-06-21  Michael Koch  <konqueror@gmx.de>
5489
5490         * javax/swing/SpinnerModel.java:
5491         New file from classpath.
5492         * javax/swing/border/LineBorder.java,
5493         javax/swing/border/SoftBevelBorder.java,
5494         javax/swing/plaf/BorderUIResource.java,
5495         javax/swing/plaf/basic/BasicBorders.java:
5496         New versions from classpath.
5497         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5498         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5499         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5500         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5501         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5502         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5503         New binary files from classpath.
5504
5505 2003-06-21  Michael Koch  <konqueror@gmx.de>
5506
5507         * java/util/logging/LogRecord.java,
5508         java/util/logging/Logger.java,
5509         java/util/logging/SocketHandler.java,
5510         java/util/logging/SimpleFormatter.java,
5511         java/util/logging/Formatter.java,
5512         java/util/logging/ErrorManager.java,
5513         java/util/logging/Handler.java,
5514         java/util/logging/FileHandler.java,
5515         java/util/logging/LogManager.java,
5516         java/util/logging/Level.java,
5517         java/util/logging/ConsoleHandler.java,
5518         java/util/logging/StreamHandler.java,
5519         java/util/logging/LoggingPermission.java,
5520         java/util/logging/Filter.java,
5521         java/util/logging/MemoryHandler.java,
5522         java/util/logging/XMLFormatter.java:
5523         New files from classpath.
5524
5525 2003-06-20  Michael Koch  <konqueror@gmx.de>
5526
5527         * java/io/ObjectStreamField.java
5528         (unshared): new member variable.
5529         (ObjectStreamField): New constructor.
5530         (isUnshared): New method.
5531
5532 2003-06-20  Michael Koch  <konqueror@gmx.de>
5533
5534         * java/net/URLStreamHandler.java
5535         (hostsEqual): Rewritten.
5536
5537 2003-06-20  Michael Koch  <konqueror@gmx.de>
5538
5539         * gnu/java/nio/MappedByteFileBuffer.java,
5540         gnu/java/nio/natMappedByteFileBuffer.cc:
5541         Removed
5542         * java/nio/MappedByteBufferImpl.java:
5543         New file.
5544         * gnu/java/nio/FileChannelImpl.java:
5545         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5546         * Makefile.am
5547         (ordinary_java_source_files): Removed
5548         gnu/java/nio/MappedByteFileBuffer.java and added
5549         java/nio/MappedByteBufferImpl.java.
5550         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5551         * Makefile.in: Regenerated.
5552
5553 2003-06-19  Michael Koch  <konqueror@gmx.de>
5554
5555         * gnu/java/nio/DatagramChannelImpl.java
5556         (fd): Removed.
5557         (blocking): New member variable.
5558         (socket): Likewise.
5559         (DatagramChannelImpl): Throws IOException, initialize socket.
5560         (socket):Implemented.
5561         (implCloseSelectableChannel): Throws IOException, implemented.
5562         (implConfigureBlocking): Likewise.
5563         (connect): Likewise.
5564         (disconnect): Likewise.
5565         (isConnected): Likewise.
5566         (write): Likewise.
5567         (read): Likewise.
5568         (receive): Throws IOException.
5569         (send): Likewise.
5570         * gnu/java/nio/SocketChannelImpl.java
5571         (read): Implemented.
5572         (write): Implemented.
5573
5574 2003-06-19  Michael Koch  <konqueror@gmx.de>
5575
5576         * javax/swing/JComponent.java,
5577         javax/swing/JInternalFrame.java,
5578         javax/swing/MenuSelectionManager.java,
5579         javax/swing/SwingUtilities.java,
5580         javax/swing/ToggleButtonModel.java:
5581         New versions from classpath.
5582
5583 2003-06-19  Michael Koch  <konqueror@gmx.de>
5584
5585         * java/text/CollationElementIterator.java
5586         (NULLORDER): Initialize with -1 as JDK documentation says.
5587
5588 2003-06-19  Michael Koch  <konqueror@gmx.de>
5589
5590         * java/net/HttpURLConnection.java,
5591         java/net/Inet4Address.java,
5592         java/net/Inet6Address.java,
5593         java/net/SocketImpl.java,
5594         java/net/URLClassLoader.java:
5595         Reworked import statements.
5596         * java/net/InetAddress.java
5597         (getByAddress): Simplified.
5598         * java/net/ServerSocket.java
5599         (ServerSocket): Moved special handling during bind operation to
5600         bind().
5601         (bind): Handle different cases when trying to bind a socket.
5602         * java/net/URLConnection.java
5603         (getHeaderFieldDate): Merged with classpath.
5604         (getHeaderFieldInt): Likewise.
5605
5606 2003-06-19  Michael Koch  <konqueror@gmx.de>
5607
5608         * java/util/zip/InflaterInputStream.java
5609         (InflaterInputStream): Throw NullPointerException if in is null (as
5610         JDK does).
5611
5612 2003-06-19  Michael Koch  <konqueror@gmx.de>
5613
5614         * java/awt/Font.java
5615         javax/swing/UIManager.java
5616         javax/swing/border/AbstractBorder.java
5617         javax/swing/border/BevelBorder.java
5618         javax/swing/border/Border.java
5619         javax/swing/border/CompoundBorder.java
5620         javax/swing/border/EmptyBorder.java
5621         javax/swing/border/EtchedBorder.java
5622         javax/swing/border/LineBorder.java
5623         javax/swing/border/MatteBorder.java
5624         javax/swing/border/TitledBorder.java
5625         javax/swing/plaf/BorderUIResource.java
5626         javax/swing/plaf/basic/BasicBorders.java
5627         javax/swing/plaf/basic/BasicButtonUI.java
5628         javax/swing/plaf/basic/BasicCheckBoxUI.java
5629         javax/swing/plaf/basic/BasicGraphicsUtils.java
5630         javax/swing/plaf/basic/BasicLabelUI.java
5631         javax/swing/plaf/basic/BasicRadioButtonUI.java
5632         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5633         New versions from classpath.
5634         * javax/swing/border/SoftBevelBorder.java:
5635         New file from classpath.
5636         * javax/swing/border/doc-files/LineBorder-1.png,
5637         javax/swing/border/doc-files/BevelBorder-1.png,
5638         javax/swing/border/doc-files/BevelBorder-2.png,
5639         javax/swing/border/doc-files/BevelBorder-3.png,
5640         javax/swing/border/doc-files/EmptyBorder-1.png,
5641         javax/swing/border/doc-files/EtchedBorder-1.png,
5642         javax/swing/border/doc-files/EtchedBorder-2.png,
5643         javax/swing/border/doc-files/MatteBorder-1.png,
5644         javax/swing/border/doc-files/MatteBorder-2.png,
5645         javax/swing/border/doc-files/MatteBorder-3.png,
5646         javax/swing/border/doc-files/MatteBorder-4.png,
5647         javax/swing/border/doc-files/MatteBorder-5.png,
5648         javax/swing/border/doc-files/MatteBorder-6.png,
5649         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5650         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5651         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5652         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5653         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5654         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5655         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5656         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5657         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5658         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5659         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5660         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5661         New binary files from classpath.
5662         * Makefile.am
5663         (awt_java_source_files): Added
5664         javax/swing/border/SoftBevelBorder.java.
5665         * Makefile.in: Regenerated.
5666
5667 2003-06-19  Michael Koch  <konqueror@gmx.de>
5668
5669         * gnu/java/security/x509/X509Certificate.java
5670         (writeReplace): Merged from classpath.
5671
5672 2003-06-19  Michael Koch  <konqueror@gmx.de>
5673
5674         * gnu/java/nio/FileChannelImpl.java
5675         (map_address): Made public.
5676         (FileChannelImpl): Merged with classpath.
5677         * gnu/java/nio/natFileChannelImpl.cc
5678         (nio_mmap_file): Commented out unused arguments.
5679         (nio_unmmap_file): Likewise.
5680         (niu_msync): Likewise.
5681
5682 2003-06-19  Michael Koch  <konqueror@gmx.de>
5683
5684         * java/awt/image/IndexColorModel.java:
5685         New version from classpath.
5686
5687 2003-06-18  Tom Tromey  <tromey@redhat.com>
5688
5689         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5690         on arrays.
5691         (isLoopbackAddress): Likewise.
5692         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5693         on arrays.
5694
5695 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5696
5697         * java/lang/natVMSecurityManager.cc (getClassContext):
5698         Use maxlen instead of len for loop bound.
5699
5700 2003-06-18  Michael Koch  <konqueror@gmx.de>
5701
5702         * gnu/java/nio/SelectorImpl.java
5703         (register): Use fd with value 0 for now, will be fixed later.
5704         * gnu/java/nio/ServerSocketChannelImpl.java
5705         (fd): Removed.
5706         (local_port): Removed.
5707         (InetSocketAddress): Removed.
5708         (ServerSocketChannelImpl): Just initialize internal socket object.
5709         (implCloseSelectableChannel): Close internal socket object.
5710         (implConfigureBlocking): Added comment.
5711         (accept): Use jaba.net stuff to accept socket.
5712         * gnu/java/nio/SocketChannelImpl.java
5713         (fd): Removed.
5714         (local_port): Removed.
5715         (InetSocketAddress): Removed.
5716         (SocketCreate): Removed.
5717         (SocketConnect): Removed.
5718         (SocketBind): Removed.
5719         (SocketListen): Removed.
5720         (SocketAvailable): Removed.
5721         (SocketClose): Removed.
5722         (SocketRead): Removed.
5723         (SocketWrite): Removed.
5724         (SocketChannelImpl): Just initialize internal socket object.
5725         (implCloseSelectableChannel): Close internal socket object.
5726         (implConfigureBlocking): Fixed implementation, added comment.
5727         (connect): Use internal socket object to connect.
5728         (socket): No need for sanity checks.
5729         (read): Comment out some stuff, this will be reimplemented in the next
5730         commit.
5731         (write): Likewise.
5732         * gnu/java/nio/natFileChannelImpl.cc
5733         (nio_mmap_file): Line wrapped.
5734         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5735         * Makefile.am
5736         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5737         * Makefile.in: Regenerated.
5738
5739 2003-06-18  Michael Koch  <konqueror@gmx.de>
5740
5741         * java/util/Locale.java
5742         (equals): Merged from classpath.
5743
5744 2003-06-18  Michael Koch  <konqueror@gmx.de>
5745
5746         * java/net/InetAddress.java:
5747         Reformatted to better match classpath's version.
5748         * java/net/URL.java
5749         (equals): Simplified.
5750         * java/net/URLConnection.java
5751         (setDoInput): Revised documentation.
5752         (getDefaultUseCaches): Likewise.
5753         (setRequestProperty): Added @since tag.
5754
5755 2003-06-17  Michael Koch  <konqueror@gmx.de>
5756
5757         * java/net/InetSocketAddress.java
5758         (InetSocketAddress): Use wildcard address if addr is null.
5759         (InetSocketAddress): Dont duplicate implementation.
5760         (InetSocketAddress): Throw exception when hostname is null.
5761         * java/net/Socket.java:
5762         Reworked imports.
5763         (Socket): Throw exception when raddr is null, handle case when laddr
5764         is null.
5765
5766 2003-06-17  Michael Koch  <konqueror@gmx.de>
5767
5768         * java/nio/DirectByteBufferImpl.java
5769         (address): Made package private.
5770         (DirectByteBufferImpl): New constructor.
5771         * java/nio/natDirectByteBufferImpl.cc
5772         (allocateImpl): Moved to java.nio namespace, implemented.
5773         (freeImpl): Likewise.
5774         (getImpl): Likewise.
5775         (putImpl): Likewise.
5776         * jni.cc
5777         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5778         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5779         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5780
5781 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5782
5783         * include/powerpc-signal.h: New File.
5784         * configure.in: Use it.
5785         * configure: Regenerated.
5786
5787 2003-06-17  Michael Koch  <konqueror@gmx.de>
5788
5789         * java/util/Locale.java
5790         (getDisplayLanguage): Made it final.
5791         (getDisplayCountry): Likewise.
5792         (getDisplayVariant): Likewise.
5793         (getDisplayName): Likewise.
5794
5795 2003-06-17  Michael Koch  <konqueror@gmx.de>
5796
5797         * java/util/PropertyResourceBundle.java:
5798         Removed unneeded import.
5799
5800 2003-06-17  Michael Koch  <konqueror@gmx.de>
5801
5802         * java/util/prefs/AbstractPreferences.java,
5803         java/util/prefs/PreferencesFactory.java:
5804         Reworked imports, removed unused imports.
5805         * java/util/prefs/Preferences.java
5806         (systemNodeForPackage): Method takes a Class not an Object.
5807         (userNodeForPackage): Likewise.
5808         (nodeForPackage): Likewise.
5809
5810 2003-06-17  Michael Koch  <konqueror@gmx.de>
5811
5812         * gnu/java/security/x509/X509Certificate.java:
5813         Explicitely import used classes.
5814
5815 2003-06-17  Michael Koch  <konqueror@gmx.de>
5816
5817         * java/util/zip/ZipEntry.java,
5818         java/util/zip/ZipFile.java,
5819         java/util/zip/ZipInputStream.java,
5820         java/util/zip/ZipOutputStream.java:
5821         Reworked imports, only import used classes.
5822
5823 2003-06-17  Michael Koch  <konqueror@gmx.de>
5824
5825         * gnu/java/lang/ArrayHelper.java,
5826         gnu/java/lang/ClassHelper.java:
5827         Reformatted to match classpath's versions.
5828
5829 2003-06-14  Michael Koch  <konqueror@gmx.de>
5830
5831         * gnu/java/nio/FileChannelImpl.java
5832         (map_address): Removed incorrect comment.        
5833         * gnu/java/nio/SelectorImpl.java
5834         (register): Remove code duplication and code for file channel handling.        
5835         * gnu/java/nio/ServerSocketChannelImpl.java
5836         (serverSocket): Renamed from sock_object.
5837         (ServerSocketChannel): Initialize serverSocket.
5838         (socket): Return serverSocket.
5839         * gnu/java/nio/SocketChannelImpl.java
5840         (socket): Renamed from sock_object.
5841         (isConnectionPenging): Simplified.
5842         (socket): Return socket.
5843 2003-06-14  Michael Koch  <konqueror@gmx.de>
5844
5845         * java/security/BasicPermission.java:
5846         New version from classpath.
5847
5848 2003-06-14  Michael Koch  <konqueror@gmx.de>
5849
5850         * javax/naming/directory/Attribute.java:
5851         New version from classpath.
5852
5853 2003-06-14  Michael Koch  <konqueror@gmx.de>
5854
5855         * java/io/BufferedReader.java,
5856         java/io/FileOutputStream.java:
5857         New versions from classpath.
5858
5859 2003-06-12  Andrew Haley  <aph@redhat.com>
5860
5861         * prims.cc (catch_segv): Create exception in handler.
5862         (catch_fpe): Likewise.  
5863         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5864         (_Jv_ThrowSignal): Remove.
5865
5866         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5867         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5868         to nullp and arithexception.
5869         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5870         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5871         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5872         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5873         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5874
5875 2003-06-11  Andrew Haley  <aph@redhat.com>
5876
5877         * jni.cc (_Jv_JNI_check_types): New.
5878         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5879         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5880         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5881         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5882         
5883         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5884         infinite loop.
5885
5886 2003-06-11  Tom Tromey  <tromey@redhat.com>
5887
5888         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5889         * java/io/PrintStream.java: Not deprecated.
5890
5891 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5892
5893         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5894         (fillOval): implemented
5895         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5896         (fillArc): implemented.
5897         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5898         (fillArc): added native method.
5899         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5900         (fillArc): added native method.
5901
5902 2003-06-11  Michael Koch  <konqueror@gmx.de>
5903
5904         * java/awt/im/InputSubset.java:
5905         New version from classpath.
5906
5907 2003-06-11  Michael Koch  <konqueror@gmx.de>
5908
5909         * javax/swing/AbstractAction.java,
5910         javax/swing/AbstractButton.java,
5911         javax/swing/AbstractCellEditor.java,
5912         javax/swing/AbstractListModel.java,
5913         javax/swing/BorderFactory.java,
5914         javax/swing/Box.java,
5915         javax/swing/BoxLayout.java,
5916         javax/swing/ButtonGroup.java,
5917         javax/swing/DefaultButtonModel.java,
5918         javax/swing/DefaultListModel.java,
5919         javax/swing/DefaultListSelectionModel.java,
5920         javax/swing/FocusManager.java,
5921         javax/swing/ImageIcon.java,
5922         javax/swing/InputMap.java,
5923         javax/swing/JApplet.java,
5924         javax/swing/JButton.java,
5925         javax/swing/JCheckBox.java,
5926         javax/swing/JCheckBoxMenuItem.java,
5927         javax/swing/JColorChooser.java,
5928         javax/swing/JComboBox.java,
5929         javax/swing/JComponent.java,
5930         javax/swing/JDesktopPane.java,
5931         javax/swing/JDialog.java,
5932         javax/swing/JEditorPane.java,
5933         javax/swing/JFileChooser.java,
5934         javax/swing/JFormattedTextField.java,
5935         javax/swing/JFrame.java,
5936         javax/swing/JLabel.java,
5937         javax/swing/JLayeredPane.java,
5938         javax/swing/JList.java,
5939         javax/swing/JMenuBar.java,
5940         javax/swing/JMenuItem.java,
5941         javax/swing/JOptionPane.java,
5942         javax/swing/JPanel.java,
5943         javax/swing/JPasswordField.java,
5944         javax/swing/JPopupMenu.java,
5945         javax/swing/JProgressBar.java,
5946         javax/swing/JRadioButton.java,
5947         javax/swing/JRadioButtonMenuItem.java,
5948         javax/swing/JRootPane.java,
5949         javax/swing/JScrollBar.java,
5950         javax/swing/JScrollPane.java,
5951         javax/swing/JSeparator.java,
5952         javax/swing/JSlider.java,
5953         javax/swing/JTabbedPane.java,
5954         javax/swing/JTable.java,
5955         javax/swing/JTextField.java,
5956         javax/swing/JToggleButton.java,
5957         javax/swing/JToolBar.java,
5958         javax/swing/JToolTip.java,
5959         javax/swing/JTree.java,
5960         javax/swing/JViewport.java,
5961         javax/swing/JWindow.java,
5962         javax/swing/KeyStroke.java,
5963         javax/swing/ListSelectionModel.java,
5964         javax/swing/LookAndFeel.java,
5965         javax/swing/RepaintManager.java,
5966         javax/swing/ScrollPaneLayout.java,
5967         javax/swing/SizeRequirements.java,
5968         javax/swing/SwingConstants.java,
5969         javax/swing/Timer.java,
5970         javax/swing/UIDefaults.java,
5971         javax/swing/UIManager.java,
5972         javax/swing/border/AbstractBorder.java,
5973         javax/swing/border/CompoundBorder.java,
5974         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5975         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5976         javax/swing/colorchooser/ColorSelectionModel.java,
5977         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5978         javax/swing/event/AncestorEvent.java,
5979         javax/swing/event/HyperlinkEvent.java,
5980         javax/swing/event/InternalFrameAdapter.java,
5981         javax/swing/event/InternalFrameEvent.java,
5982         javax/swing/event/ListDataEvent.java,
5983         javax/swing/event/MouseInputAdapter.java,
5984         javax/swing/event/SwingPropertyChangeSupport.java,
5985         javax/swing/event/TableModelEvent.java,
5986         javax/swing/event/TreeWillExpandListener.java,
5987         javax/swing/event/UndoableEditEvent.java,
5988         javax/swing/filechooser/FileFilter.java,
5989         javax/swing/filechooser/FileSystemView.java,
5990         javax/swing/filechooser/FileView.java,
5991         javax/swing/plaf/BorderUIResource.java,
5992         javax/swing/plaf/basic/BasicDefaults.java,
5993         javax/swing/table/AbstractTableModel.java,
5994         javax/swing/table/DefaultTableCellRenderer.java,
5995         javax/swing/table/DefaultTableColumnModel.java,
5996         javax/swing/table/DefaultTableModel.java,
5997         javax/swing/table/TableColumn.java,
5998         javax/swing/text/JTextComponent.java,
5999         javax/swing/tree/AbstractLayoutCache.java,
6000         javax/swing/tree/DefaultMutableTreeNode.java,
6001         javax/swing/tree/DefaultTreeCellEditor.java,
6002         javax/swing/tree/DefaultTreeCellRenderer.java,
6003         javax/swing/tree/DefaultTreeModel.java,
6004         javax/swing/tree/DefaultTreeSelectionModel.java,
6005         javax/swing/tree/FixedHeightLayoutCache.java,
6006         javax/swing/tree/TreeCellEditor.java,
6007         javax/swing/tree/TreeModel.java,
6008         javax/swing/tree/TreeNode.java,
6009         javax/swing/tree/TreePath.java,
6010         javax/swing/tree/TreeSelectionModel.java,
6011         javax/swing/tree/VariableHeightLayoutCache.java,
6012         javax/swing/undo/AbstractUndoableEdit.java,
6013         javax/swing/undo/CompoundEdit.java,
6014         javax/swing/undo/StateEdit.java,
6015         javax/swing/undo/UndoManager.java,
6016         javax/swing/undo/UndoableEditSupport.java:
6017         New versions from classpath.
6018         * javax/swing/table/JTableHeader.java:
6019         New file from classpath.
6020         * Makefile.am
6021         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6022         * Makefile.in: Regenerated.
6023
6024 2003-06-11  Michael Koch  <konqueror@gmx.de>
6025
6026         * java/nio/MappedByteBuffer.java,
6027         java/nio/channels/Channels.java,
6028         java/nio/channels/ServerSocketChannel.java,
6029         java/nio/channels/spi/AbstractSelector.java:
6030         Removed unneeded imports.
6031
6032 2003-06-11  Michael Koch  <konqueror@gmx.de>
6033
6034         * java/net/DatagramSocket.java:
6035         Partly merged with classpath.
6036
6037 2003-06-11  Michael Koch  <konqueror@gmx.de>
6038
6039         * java/awt/Frame.java,
6040         java/awt/Graphics.java,
6041         java/awt/Menu.java,
6042         java/awt/Robot.java,
6043         java/awt/image/ColorModel.java:
6044         New versions from classpath.
6045
6046 2003-06-10  Michael Koch  <konqueror@gmx.de>
6047
6048         * java/io/PrintStream.java:
6049         Merged version from classpath.
6050         (close): Removed sychronized keyword. This class is not garantied to
6051         be thread-safe.
6052         (write): Likewise.
6053
6054 2003-06-09  Tom Tromey  <tromey@redhat.com>
6055
6056         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6057         field.
6058         (getDescent): Likewise, for "descent".
6059
6060 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6061
6062         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6063         (getMaxDescent): adjusted return value.
6064         (getAscent): modified to use metrics for 'O'.
6065         (getDescent): modified to use metrics for 'y'.
6066
6067 2003-06-08  Anthony Green  <green@redhat.com>
6068
6069         * java/net/URLStreamHandler.java (sameFile): Fix port value
6070         comparison.
6071         * java/net/URL.java (handler): Make package private.
6072         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6073
6074 2003-06-07  Tom Tromey  <tromey@redhat.com>
6075
6076         For PR libgcj/11085:
6077         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6078         Limit number of characters in numeric field when required.
6079         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6080         Respect maximumIntegerDigits.
6081
6082 2003-06-08  Michael Koch  <konqueror@gmx.de>
6083
6084         * java/net/Socket.java
6085         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6086         call bind() and connect() to actually do the bind and connect tasks.
6087         (bind): Connect to canonical address if bindpoint is null, create
6088         socket and bind it to bindpoint.
6089         (connect): Check for exceptions.
6090
6091 2003-06-08  Michael Koch  <konqueror@gmx.de>
6092
6093         * java/net/DatagramSocket.java
6094         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6095         into the Multicast constructors.
6096         * java/net/DatagramSocketImpl.java
6097         (getOption): Removed.
6098         (setOption): Removed.
6099         * java/net/MulticastSocket.java
6100         (MulticastSocket): Call setReuseAddress (true).
6101         * java/net/SocketImpl.java
6102         (getOption): Removed.
6103         (setOption): Removed.
6104
6105 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6106
6107         PR libgcj/10886:
6108         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6109         Test for empty vector.
6110
6111 2003-06-06  Mark Wielaard  <mark@klomp.org>
6112
6113         * java/security/Security.java (secprops): Initialize.
6114         (loadProviders): Return boolean.
6115         (static): Check result of loadProvider calls. If necessary
6116         display WARNING and fallback to Gnu provider.
6117
6118 2002-06-06  James Clark  <jjc@jclark.com>
6119
6120         Fix for PR libgcj/8738:
6121         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6122         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6123         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6124         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6125         (write): Always decrease avail when count is increased.
6126         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6127         and whether output buffer is full before increasing size.
6128
6129 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6130
6131         * java/io/PrintStream.java (writeChars(char[],int, int)):
6132         Check converter.havePendingBytes().
6133         (writeChars(String,int,int)): Likewise.
6134         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6135         Check converter.havePendingBytes() and flush buffer when stalled.
6136
6137 2003-06-07  Michael Koch  <konqueror@gmx.de>
6138
6139         * include/posix.h
6140         (O_DSYNC): Define O_DSYNC on platforms not
6141         supporting O_FSYNC (newlib).
6142
6143 2003-06-06  Mark Wielaard  <mark@klomp.org>
6144
6145         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6146         AWTError.
6147
6148 2003-06-06  Michael Koch  <konqueror@gmx.de>
6149
6150         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6151         More compile fixes from my stupid work yesterday.
6152
6153 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6154
6155         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6156         if _IEEE_LIBM is undefined.
6157
6158 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6159
6160         * libjava/include/posix.h (O_SYNC): Define if not available
6161         and a reasonable, perhaps more conservative, replacement exists.
6162         (O_DSYNC): Likewise.
6163         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6164
6165 2003-06-05  Michael Koch  <konqueror@gmx.de>
6166
6167         * javax/swing/plaf/BorderUIResource.java,
6168         javax/swing/plaf/basic/BasicDefaults.java,
6169         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6170         More compile fixes for latest Border commit. I should not commit
6171         something in this heat here ...
6172
6173 2003-06-05  Michael Koch  <konqueror@gmx.de>
6174
6175         * javax/swing/border/BevelBorder.java
6176         (BevelBorder): Removed.
6177         * javax/swing/border/EmptyBorder.java:
6178         Reformatted.
6179         (EmptyBorder): Removed.
6180         (getBorderInsets): Dont use l, r, t and b.
6181         * javax/swing/border/EtchedBorder.java
6182         (EtchedBorder): Removed.
6183         * javax/swing/border/LineBorder.java
6184         (LineBorder): Removed.
6185         * javax/swing/border/MatteBorder.java
6186         (MatteBorder): Removed.
6187         * javax/swing/border/TitledBorder.java
6188         (defaultBorder): Use other default for now.
6189         (defaultFont): Likewise.
6190         (defaultColor): Likewise.
6191
6192 2003-06-05  Michael Koch  <konqueror@gmx.de>
6193
6194         * javax/swing/border/Border.java:
6195         New version from classpath.
6196
6197 2003-06-05  Michael Koch  <konqueror@gmx.de>
6198
6199         * javax/swing/border/AbstractBorder.java,
6200         javax/swing/border/BevelBorder.java,
6201         javax/swing/border/CompoundBorder.java,
6202         javax/swing/border/EmptyBorder.java,
6203         javax/swing/border/EtchedBorder.java,
6204         javax/swing/border/LineBorder.java,
6205         javax/swing/border/MatteBorder.java,
6206         javax/swing/border/TitledBorder.java:
6207         New versions from Classpath.
6208
6209 2003-06-05  Michael Koch  <konqueror@gmx.de>
6210
6211         * java/awt/Button.java,
6212         java/awt/Checkbox.java,
6213         java/awt/CheckboxMenuItem.java,
6214         java/awt/Choice.java,
6215         java/awt/Container.java,
6216         java/awt/Dialog.java,
6217         java/awt/EventQueue.java,
6218         java/awt/FileDialog.java,
6219         java/awt/Frame.java,
6220         java/awt/Label.java,
6221         java/awt/List.java,
6222         java/awt/Menu.java,
6223         java/awt/MenuItem.java,
6224         java/awt/Panel.java,
6225         java/awt/PopupMenu.java,
6226         java/awt/Rectangle.java,
6227         java/awt/ScrollPane.java,
6228         java/awt/Scrollbar.java,
6229         java/awt/TextArea.java,
6230         java/awt/TextField.java,
6231         java/awt/Window.java,
6232         java/awt/datatransfer/DataFlavor.java,
6233         java/awt/dnd/DragSource.java,
6234         java/awt/dnd/DragSourceContext.java,
6235         java/awt/event/HierarchyEvent.java,
6236         java/awt/event/MouseWheelEvent.java,
6237         java/awt/im/InputContext.java,
6238         java/awt/image/BufferedImage.java,
6239         java/awt/image/ComponentColorModel.java,
6240         java/awt/image/Raster.java,
6241         java/awt/image/WritableRaster.java,
6242         java/awt/peer/ComponentPeer.java,
6243         java/awt/print/PageFormat.java,
6244         java/awt/print/PrinterJob.java:
6245         New versions from Classpath.
6246
6247 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6248
6249         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6250         numberFormat.setParseIntegerOnly(true).
6251
6252 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6253
6254         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6255
6256 2003-06-03  Andrew Haley  <aph@redhat.com>
6257
6258         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6259         stack volatile to prevent optimization from removing it.
6260
6261 2003-05-27  Michael Koch  <konqueror@gmx.de>
6262
6263         * java/util/zip/Deflater.java
6264         (FILTERED): Merged documentation from classpath.
6265         * java/util/zip/DeflaterOutputStream.java
6266         (DeflaterOutputStream): Merged documentation and argument validity
6267         check from classpath.
6268         (deflate): Merged documentation from classpath.
6269         (finish): Likewise.
6270         * java/util/zip/Inflater.java
6271         (Inflater): Merged class documentation from classpath.
6272         (zstream): Reordered.
6273         (is_finished): Reordered.
6274         (dict_needed): Reordered.
6275         (Inflater): Reordered, merged documentation from classpath.
6276         (end): Likewise.
6277         (finalize): Merged documentation from classpath.
6278         (finished): Likewise.
6279         (getAdler): Likewise.
6280         (getRemaining): Likewise.
6281         (getTotalIn): Likewise.
6282         (getTotalOut): Likewise.
6283         (inflate): Likewise.
6284         (needsDictionary): Likewise.
6285         (needsInput): Likewise.
6286         (reset): Likewise.
6287         (setDictionary): Likewise.
6288         (setInput): Likewise.
6289
6290 2003-05-27  Michael Koch  <konqueror@gmx.de>
6291
6292         * java/net/URLConnection.java
6293         (getHeaderFieldInt): Merged with classpath.
6294
6295 2003-05-27  Michael Koch  <konqueror@gmx.de>
6296
6297         * java/io/PrintStream.java
6298         (PrintStream): Reformatted.
6299         (PrintStream): New method, merged from classpath.
6300         (write): Reformatted.
6301
6302 2003-05-27  Michael Koch  <konqueror@gmx.de>
6303
6304         * java/lang/System.java:
6305         Explicitely import needed classes.
6306
6307 2003-05-26  Michael Koch  <konqueror@gmx.de>
6308
6309         * java/net/NetPermission.java,
6310         java/net/NetworkInterface.java,
6311         java/net/PasswordAuthentication.java,
6312         java/net/SocketPermission.java:
6313         New versions from classpath.
6314
6315 2003-05-25  Michael Koch  <konqueror@gmx.de>
6316
6317         * java/io/PushbackInputStream.java,
6318         java/net/Authenticator.java,
6319         java/net/ContentHandler.java,
6320         java/net/ContentHandlerFactory.java,
6321         java/net/DatagramSocket.java,
6322         java/net/DatagramSocketImpl.java,
6323         java/net/DatagramSocketImplFactory.java,
6324         java/net/FileNameMap.java,
6325         java/net/SocketImplFactory.java,
6326         java/net/SocketOptions.java,
6327         java/net/URLStreamHandlerFactory.java:
6328         Merged new versions from classpath.
6329
6330 2003-05-25  Michael Koch  <konqueror@gmx.de>
6331
6332         * java/awt/Checkbox.java,
6333         java/awt/Dialog.java,
6334         java/awt/Font.java,
6335         java/awt/Frame.java,
6336         java/awt/ScrollPaneAdjustable.java,
6337         java/awt/Scrollbar.java,
6338         java/awt/Window.java:
6339         New versions from classpath.
6340
6341 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6342
6343         PR libgcj/10838:
6344         * java/io/ObjectInputStream (enableResolveObject):
6345         Fixed spelling of permission name.
6346
6347 2003-05-20  Michael Koch  <konqueror@gmx.de>
6348
6349         * java/io/DataInputStream.java
6350         (convertFromUTF): Merged comment from classpath.
6351         * java/io/PrintStream.java
6352         (error_occured): Renamed from error, merged comment from classpath.
6353         (PrintStream): No need to initialized error.
6354         (checkError): Replace error with error_occurred.
6355         (setError): Likewise.
6356
6357 2003-05-20  Michael Koch  <konqueror@gmx.de>
6358
6359         * java/io/DataInputStream.java:
6360         Reformatted, Replaced < and & with html entitites in documentation.
6361         * java/io/File.java:
6362         Reformatted.
6363         * java/io/PrintWriter.java:
6364         Moved class documentation.
6365
6366 2003-05-20  Michael Koch  <konqueror@gmx.de>
6367
6368         * gnu/java/nio/ByteBufferImpl.java,
6369         gnu/java/nio/CharBufferImpl.java,
6370         gnu/java/nio/CharViewBufferImpl.java,
6371         gnu/java/nio/DirectByteBufferImpl.java,
6372         gnu/java/nio/DoubleBufferImpl.java,
6373         gnu/java/nio/DoubleViewBufferImpl.java,
6374         gnu/java/nio/FloatBufferImpl.java,
6375         gnu/java/nio/FloatViewBufferImpl.java,
6376         gnu/java/nio/IntBufferImpl.java,
6377         gnu/java/nio/IntViewBufferImpl.java,
6378         gnu/java/nio/LongBufferImpl.java,
6379         gnu/java/nio/LongViewBufferImpl.java,
6380         gnu/java/nio/natDirectByteBufferImpl.cc,
6381         gnu/java/nio/ShortBufferImpl.java,
6382         gnu/java/nio/ShortViewBufferImpl.java:
6383         Moved files to java/nio.
6384         * gnu/java/nio/SocketChannelImpl.java
6385         
6386         * java/nio/ByteBuffer.java,
6387         java/nio/CharBuffer.java,
6388         java/nio/DoubleBuffer.java,
6389         java/nio/FloatBuffer.java,
6390         java/nio/IntBuffer.java,
6391         java/nio/LongBuffer.java,
6392         java/nio/ShortBuffer.java:
6393         Dont import anything.
6394         * java/nio/ByteBufferImpl.java,
6395         java/nio/CharBufferImpl.java,
6396         java/nio/CharViewBufferImpl.java,
6397         java/nio/DirectByteBufferImpl.java,
6398         java/nio/DoubleBufferImpl.java,
6399         java/nio/DoubleViewBufferImpl.java,
6400         java/nio/FloatBufferImpl.java,
6401         java/nio/FloatViewBufferImpl.java,
6402         java/nio/IntBufferImpl.java,
6403         java/nio/IntViewBufferImpl.java,
6404         java/nio/LongBufferImpl.java,
6405         java/nio/LongViewBufferImpl.java,
6406         java/nio/natDirectByteBufferImpl.cc,
6407         java/nio/ShortBufferImpl.java,
6408         java/nio/ShortViewBufferImpl.java:
6409         Moved from gnu/java/nio.
6410         * Makefile.am
6411         (ordinary_java_source_files): Moved files from gnu/java/nio to
6412         java/nio.
6413         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6414         to java/nio.
6415         * Makefile.in: Regenerated.
6416
6417 2003-05-19  Michael Koch  <konqueror@gmx.de>
6418
6419         * java/util/Calendar.java
6420         (get): Not final anymore since JDK 1.4
6421         (set): Likewise.
6422
6423 2003-05-19  Michael Koch  <konqueror@gmx.de>
6424
6425         * java/text/CollationKey.java:
6426         Merged copyright and dat from classpath.
6427         * java/text/RuleBasedCollator.java:
6428         Merged class documentation from classpath.
6429
6430 2003-05-19  Michael Koch  <konqueror@gmx.de>
6431
6432         * java/nio/CharBuffer.java
6433         (toString): Compile fix.
6434
6435 2003-05-19  Michael Koch  <konqueror@gmx.de>
6436
6437         * gnu/java/nio/ByteBufferImpl.java
6438         (putLong): Fixed conversion to bytes.
6439         (putDouble): Fixed conversion to bytes.
6440         * gnu/java/nio/DirectByteBufferImpl.java
6441         (putLong): Fixed conversion to bytes.
6442         (putDouble): Fixed conversion to bytes.
6443         * gnu/java/nio/FileLockImpl.java
6444         (isValid): Reformatted.
6445         * java/nio/Buffer.java
6446         (Buffer): Fixed off-by-one bug in handling mark.
6447         * java/nio/ByteBuffer.java:
6448         Added newline.
6449         * java/nio/CharBuffer.java
6450         (toString): Don't use relative get to get string data.
6451
6452 2003-05-16  Michael Koch  <konqueror@gmx.de>
6453
6454         * java/io/natFileDescriptorPosix.cc
6455         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6456         tested.
6457
6458 2003-05-14  Michael Koch  <konqueror@gmx.de>
6459
6460         * gnu/java/nio/FileLockImpl.java
6461         (released): New member variable.
6462         (FileLockImpl): Initialize released.
6463         (releaseImpl): New native method.
6464         (release): Implemented.
6465         * gnu/java/nio/SelectorImpl.java: Reformatted.
6466         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6467         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6468         (accept): Throws IOException.
6469         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6470         (implConfigureBlocking): Throws IOException.
6471         (connect): Likewise.
6472         (read): Likewise.
6473         (write): Likewise.
6474         * gnu/java/nio/natFileLockImpl.cc: New file.
6475         * java/nio/channels/FileLock.java: Reformatted.
6476         * Makefile.am:
6477         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6478         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6479         * Makefile.in: Regenerated.
6480
6481 2003-05-13  Michael Koch  <konqueror@gmx.de>
6482
6483         * gnu/java/nio/CharViewBufferImpl.java
6484         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6485         (get): Shift bits to the right direction.
6486         (put): Likewise.
6487         * gnu/java/nio/DoubleViewBufferImpl.java
6488         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6489         (get): Shift bits to the right direction.
6490         (put): Likewise.
6491         * gnu/java/nio/FloatViewBufferImpl.java
6492         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6493         (get): Shift bits to the right direction.
6494         (put): Likewise.
6495         * gnu/java/nio/IntViewBufferImpl.java
6496         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6497         (get): Shift bits to the right direction.
6498         (put): Likewise.
6499         * gnu/java/nio/LongViewBufferImpl.java
6500         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6501         (get): Shift bits to the right direction.
6502         (put): Likewise.
6503         * gnu/java/nio/ShortViewBufferImpl.java
6504         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6505         (get): Shift bits to the right direction.
6506         (put): Likewise.
6507
6508 2003-05-13  Michael Koch  <konqueror@gmx.de>
6509
6510         * gnu/java/nio/natDirectByteBufferImpl.cc
6511         (allocateImpl): jlong -> RawData*.
6512         (freeImpl): Likewise.
6513
6514 2003-05-13  Michael Koch  <konqueror@gmx.de>
6515
6516         * java/nio/channels/FileChannel.java
6517         (MapMode.m): Made it package-private to match JDK 1.4.
6518         * java/nio/charset/Charset.java
6519         (decode): Made it final to match JDK 1.4.
6520
6521 2003-05-13  Michael Koch  <konqueror@gmx.de>
6522
6523        * java/io/FileDescriptor.java
6524        (SYNC): New constant.
6525        (DSYNC): Likewise.
6526        (getLength): Renamed from lenght() to match classpath's
6527        FileDescriptor.java.
6528        * java/io/RandomAccessFile.java
6529        (RandomAccessFile): Removed unneeded mode check, implemented mode
6530        "rws" and "rwd", merged documentation from classpath.
6531        (setLength): Reformatted.
6532        (length): Use new getLength() of FileDescriptor.
6533        * java/io/natFileDescriptorEcos.cc
6534        (getLength): Renamed from length().
6535        * java/io/natFileDescriptorPosix.cc
6536        (open): Implemented support for SYNC and DSYNC.
6537        (seek): Use getLength() instead of length().
6538        (getLength): Renamed from length().
6539        * java/io/natFileDescriptorWin32.cc
6540        (getLength): Renamed from length().
6541        (seek): Use getLength() instead of length().
6542        (available): Likewise.
6543        * gnu/java/nio/natFileChannelImpl.cc
6544        (size): Use getLength() instead of length().
6545
6546 2003-05-13  Michael Koch  <konqueror@gmx.de>
6547
6548         * gnu/java/nio/ByteBufferImpl.java
6549         (ByteBufferImpl): All constructors revised.
6550         (slice): Reimplemented.
6551         (duplicate): Reimplemented.
6552         (asReadOnlyBuffer): Reimplemented.
6553         * java/nio/ByteBuffer.java:
6554         Reformatted.
6555         (array_offset): Renamed from "offset" to match all other buffer
6556         classes.
6557         (ByteBuffer): All constructors revised.
6558         (allocateDirect): Implemented.
6559         (allocate): New implementation, documentation reworked.
6560         (wrap): Likewise.
6561         (get): Documentation reworked.
6562         (put): New implementation, documentation reworked.
6563         (hasArray): Documentation reworked.
6564         (arrayOffset): Likewise.
6565         (hashCode): Likewise.
6566         (equals): Likewise.
6567         (compareTo): Likewise.
6568         (order): Likewise.
6569         (compact): Likewise.
6570         (isDirect): Likewise.
6571         (slice): Likewise.
6572         (duplicate): Likewise.
6573         (asReadOnlyBuffer): Likewise.
6574         * Makefile.am
6575         (ordinary_java_source_files):
6576         Added gnu/java/nio/DirectByteBufferImpl.java.
6577         (nat_source_files):
6578         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6579         * Makefile.in: Regenerated.
6580
6581 2003-05-12  Michael Koch  <konqueror@gmx.de>
6582
6583         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6584         (nio_get_*): Removed.
6585         (nio_put_*): Removed.
6586         (as*Buffer): Implemented.
6587         (compact): Implemented.
6588         (get): Documentation added.
6589         (put): Documentation added.
6590         (get*): Newly implemented.
6591         (put*): Newly implemented.
6592         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6593         (CharBufferImpl): Revised.
6594         (slice): New implementation.
6595         (duplicate): New implementation.
6596         (compact): New implementation.
6597         (asReadOnlyBuffer): New implementation.
6598         (get): Documentation revised.
6599         (order): Return native byte order.
6600         * gnu/java/nio/DirectByteBufferImpl.java
6601         (allocateDirect): objects can be null not 0.
6602         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6603         (DoubleBufferImpl): Revised.
6604         (slice): New implementation.
6605         (duplicate): New implementation.
6606         (compact): New implementation.
6607         (asReadOnlyBuffer): New implementation.
6608         (get): Documentation revised.
6609         (order): Return native byte order.
6610         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6611         (FloatBufferImpl): Revised.
6612         (slice): New implementation.
6613         (duplicate): New implementation.
6614         (compact): New implementation.
6615         (asReadOnlyBuffer): New implementation.
6616         (get): Documentation revised.
6617         (order): Return native byte order.
6618         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6619         (IntBufferImpl): Revised.
6620         (slice): New implementation.
6621         (duplicate): New implementation.
6622         (compact): New implementation.
6623         (asReadOnlyBuffer): New implementation.
6624         (get): Documentation revised.
6625         (order): Return native byte order.
6626         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6627         (LongBufferImpl): Revised.
6628         (slice): New implementation.
6629         (duplicate): New implementation.
6630         (compact): New implementation.
6631         (asReadOnlyBuffer): New implementation.
6632         (get): Documentation revised.
6633         (order): Return native byte order.
6634         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6635         (ShortBufferImpl): Revised.
6636         (slice): New implementation.
6637         (duplicate): New implementation.
6638         (compact): New implementation.
6639         (asReadOnlyBuffer): New implementation.
6640         (get): Documentation revised.
6641         (order): Return native byte order.
6642         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6643         (CharBuffer): Revised.
6644         (order): Removed.
6645         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6646         (DoubleBuffer): Revised.
6647         (allocateDirect): Removed.
6648         (order): Removed.
6649         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6650         (FloatBuffer): Revised.
6651         (allocateDirect): Removed.
6652         (order): Removed.
6653         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6654         (IntBuffer): Revised.
6655         (allocateDirect): Removed.
6656         (order): Removed.
6657         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6658         (LongBuffer): Revised.
6659         (allocateDirect): Removed.
6660         (order): Removed.
6661         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6662         (ShortBuffer): Revised.
6663         (allocateDirect): Removed.
6664         (order): Removed.
6665         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6666         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6667         * Makefile.am
6668         (ordinary_java_source_files): Added the following files:
6669         gnu/java/nio/CharViewBufferImpl.java,
6670         gnu/java/nio/DoubleViewBufferImpl.java,
6671         gnu/java/nio/FloatViewBufferImpl.java,
6672         gnu/java/nio/IntViewBufferImpl.java,
6673         gnu/java/nio/LongViewBufferImpl.java,
6674         gnu/java/nio/ShortViewBufferImpl.java
6675         (nat_source_files): Removed the following files:
6676         gnu/java/nio/natByteBufferImpl.cc,
6677         gnu/java/nio/natCharBufferImpl.cc
6678         * Makefile.in: Regenerated.
6679
6680 2003-05-12  Michael Koch  <konqueror@gmx.de>
6681
6682         * gnu/java/nio/CharViewBufferImpl.java,
6683         gnu/java/nio/DirectByteBufferImpl.java,
6684         gnu/java/nio/DoubleViewBufferImpl.java,
6685         gnu/java/nio/FloatViewBufferImpl.java,
6686         gnu/java/nio/IntViewBufferImpl.java,
6687         gnu/java/nio/LongViewBufferImpl.java,
6688         gnu/java/nio/ShortViewBufferImpl.java,
6689         gnu/java/nio/natDirectByteBufferImpl.cc:
6690         New files, not yet to be compiled.
6691
6692 2003-05-10  Michael Koch  <konqueror@gmx.de>
6693
6694         * javax/swing/plaf/ButtonUI.java,
6695         javax/swing/plaf/ColorUIResource.java,
6696         javax/swing/plaf/ComponentUI.java,
6697         javax/swing/plaf/DimensionUIResource.java,
6698         javax/swing/plaf/FontUIResource.java,
6699         javax/swing/plaf/IconUIResource.java,
6700         javax/swing/plaf/InsetsUIResource.java,
6701         javax/swing/plaf/LabelUI.java,
6702         javax/swing/plaf/ListUI.java,
6703         javax/swing/plaf/OptionPaneUI.java,
6704         javax/swing/plaf/PanelUI.java,
6705         javax/swing/plaf/TabbedPaneUI.java,
6706         javax/swing/plaf/TextUI.java,
6707         javax/swing/plaf/TreeUI.java,
6708         javax/swing/plaf/ViewportUI.java,
6709         javax/swing/plaf/basic/BasicBorders.java,
6710         javax/swing/plaf/basic/BasicButtonUI.java,
6711         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6712         javax/swing/plaf/basic/BasicDefaults.java,
6713         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6714         javax/swing/plaf/basic/BasicIconFactory.java,
6715         javax/swing/plaf/basic/BasicLabelUI.java,
6716         javax/swing/plaf/basic/BasicListUI.java,
6717         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6718         javax/swing/plaf/basic/BasicPanelUI.java,
6719         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6720         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6721         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6722         javax/swing/plaf/basic/BasicTextUI.java,
6723         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6724         javax/swing/plaf/basic/BasicTreeUI.java,
6725         javax/swing/plaf/basic/BasicViewportUI.java,
6726         javax/swing/plaf/metal/MetalLookAndFeel.java:
6727         New versions from classpath. This adds copyrights to all files and
6728         some serialVersionUIDs.
6729
6730 2003-05-10  Michael Koch  <konqueror@gmx.de>
6731
6732         * java/nio/CharBuffer.java
6733         (offset): Make it package-private.
6734         (backing_buffer): Likewise.
6735         * java/nio/DoubleBuffer.java
6736         (offset): Make it package-private.
6737         (backing_buffer): Likewise.
6738         (put): Reformatted.
6739         * java/nio/FloatBuffer.java
6740         (offset): Make it package-private.
6741         (backing_buffer): Likewise.
6742         * java/nio/IntBuffer.java
6743         (offset): Make it package-private.
6744         (backing_buffer): Likewise.
6745         * java/nio/LongBuffer.java
6746         (offset): Make it package-private.
6747         (backing_buffer): Likewise.
6748         * java/nio/ShortBuffer.java
6749         (offset): Make it package-private.
6750         (backing_buffer): Likewise.
6751
6752 2003-05-10  Michael Koch  <konqueror@gmx.de>
6753
6754         * java/nio/CharBuffer.java
6755         (put): Fixed precondtion check.
6756         (toString): Make it work without backing array.
6757         (put): Skip one level of method calling.
6758
6759 2003-05-10  Michael Koch  <konqueror@gmx.de>
6760
6761         * java/security/Identity.java,
6762         java/security/IdentityScope.java,
6763         java/security/Key.java,
6764         java/security/KeyPair.java,
6765         java/security/PrivateKey.java,
6766         java/security/Provider.java,
6767         java/security/PublicKey.java,
6768         java/security/SecureRandom.java,
6769         java/security/SecureRandomSpi.java,
6770         java/security/SignedObject.java,
6771         java/security/Signer.java,
6772         java/security/cert/Certificate.java,
6773         java/security/cert/PKIXCertPathBuilderResult.java,
6774         java/security/cert/X509Certificate.java:
6775         New versions from classpath.
6776
6777 2003-05-09  Tom Tromey  <tromey@redhat.com>
6778
6779         * Makefile.in: Rebuilt.
6780         * Makefile.am (nat_source_files): Removed old files.
6781         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6782         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6783         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6784         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6785         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6786
6787 2003-05-09  Michael Koch  <konqueror@gmx.de>
6788
6789         * gnu/java/nio/ByteBufferImpl.java
6790         (nio_cast): Removed.
6791         (ByteBufferImpl): Removed.
6792         (nio_get_Byte): Removed.
6793         (nio_put_Byte): Removed.
6794         (asByteBuffer): Removed.
6795         (asCharBuffer): Removed implementation and throw exception.
6796         (asShortBuffer): Likewise.
6797         (asIntBuffer): Likewise.
6798         (asLongBuffer): Likewise.
6799         (asFloatBuffer): Likewise.
6800         (asDoubleBuffer): Likewise.
6801         * gnu/java/nio/CharBufferImpl.java
6802         (CharBufferImpl): Removed.
6803         (nio_get_Byte): Removed.
6804         (nio_put_Byte): Removed.
6805         (asByteBuffer): Removed.
6806         * gnu/java/nio/DoubleBufferImpl.java
6807         (DoubleBufferImpl): Removed.
6808         (nio_get_Byte): Removed.
6809         (nio_put_Byte): Removed.
6810         (asByteBuffer): Removed.
6811         * gnu/java/nio/FloatBufferImpl.java
6812         (FloatBufferImpl): Removed.
6813         (nio_get_Byte): Removed.
6814         (nio_put_Byte): Removed.
6815         (asByteBuffer): Removed.
6816         * gnu/java/nio/IntBufferImpl.java
6817         (IntBufferImpl): Removed.
6818         (nio_get_Byte): Removed.
6819         (nio_put_Byte): Removed.
6820         (asByteBuffer): Removed.
6821         * gnu/java/nio/LongBufferImpl.java
6822         (LongBufferImpl): Removed.
6823         (nio_get_Byte): Removed.
6824         (nio_put_Byte): Removed.
6825         (asByteBuffer): Removed.
6826         * gnu/java/nio/ShortBufferImpl.java
6827         (ShortBufferImpl): Removed.
6828         (nio_get_Byte): Removed.
6829         (nio_put_Byte): Removed.
6830         (asByteBuffer): Removed.
6831         * gnu/java/nio/natByteBufferImpl.cc
6832         (nio_cast): Removed.
6833         (nio_get_Byte): Removed.
6834         (nio_put_Byte): Removed.
6835         * gnu/java/nio/natCharBufferImpl.cc
6836         (nio_get_Byte): Removed.
6837         (nio_put_Byte): Removed.
6838
6839 2003-05-09  Michael Koch  <konqueror@gmx.de>
6840
6841         * java/net/JarURLConnection.java
6842         (getJarEntry): Merged documentation from classpath.
6843         (getJarFile): Likewise.
6844         (getMainAttributes): Likewise.
6845         (getAttributes): Likewise.
6846         (getManifest): Likewise.
6847         (getCertificates): Reformatted.
6848         * java/net/URLConnection.java:
6849         Little classpath merge.
6850
6851 2003-05-09  Michael Koch  <konqueror@gmx.de>
6852
6853         * java/io/DataOutputStream.java
6854         (writeShort): Made it synchronized.
6855         (writeChar): Likewise.
6856         (writeInt): Likewise.
6857         (writeLong): Liekwise.
6858         (writeUTF): Made it synchronized, renamed argument to match classpath.
6859         * java/io/InputStreamReader.java
6860         (converter): Added documentation.
6861         (read): Merged documentation from classpath.
6862         * java/io/OutputStreamWriter.java
6863         (OutputStreamWriter): Merged documentation from classpath.
6864         (close): Reformatted.
6865         (getEncoding): Likewise.
6866         (flush): Likewise.
6867         (write): Merged documentation from classpath, reformatted.
6868
6869 2003-05-08  Tom Tromey  <tromey@redhat.com>
6870
6871         * configure.host <powerpc64*-*>: Set with_libffi_default and
6872         libgcj_interpreter to "yes".
6873
6874 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6875
6876         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6877         
6878 2003-05-06  Tom Tromey  <tromey@redhat.com>
6879
6880         * verify.cc: Reverted previous patch.
6881
6882 2003-05-06  Michael Koch  <konqueror@gmx.de>
6883
6884         * java/io/DataOutputStream.java
6885         (write): Renamed argument to "value", merged documentation from
6886         classpath.
6887         (writeBoolean): Likewise.
6888         (writeByte): Likewise.
6889         (writeShort): Likewise.
6890         (writeChar): Likewise.
6891         (writeInt): Likewise.
6892         (writeLong): Likewise.
6893         (writeFloat): Likewise.
6894         (writeDouble): Likewise.
6895         (writeBytes): Likewise.
6896         (writeChars): Likewise.
6897         (writeUTF): Likewise.
6898         * java/io/File.java
6899         (performDelete): Added documentation.
6900         (performList): Likewise.
6901         (performMkdir): Likewise.
6902         (performSetReadOnly): Likewise.
6903         (performRenameTo): Likewise.
6904         (performSetLastModified): Likewise.
6905         (delete): Made it sychronized.
6906         (renameTo): Made it sychronized.
6907         (equals): Reformatted.
6908         (isHidden): Likewise.
6909         (listFiles): Likewise.
6910         (setReadOnly): Likewise.
6911         (listRoots): Likewise.
6912         (setLastModified): Likewise.
6913         (checkRead): Likewise.
6914         (checkWrite): Likewise.
6915         * java/io/FileInputStream.java
6916         (skip): Made it sychronized, merged from classpath.
6917         * java/io/FileOutputStream.java
6918         (write): Merged from classpath.
6919         * java/io/InputStreamReader.java:
6920         (InputStreamReader): Merged documentation from classpath.
6921
6922 2003-05-05  Michael Koch  <konqueror@gmx.de>
6923
6924         * java/net/NetworkInterface.java
6925         (networkInterfaces): Removed.
6926         (getByName): Use getRealNetworkInterfaces() instead of
6927         networkInterfaces.
6928         (getByInetAddress): Likewise.
6929         (getNetworkInterfaces): Likewise.
6930         (toString): Fix output of addresses of an interface.
6931
6932 2003-05-05  Michael Koch  <konqueror@gmx.de>
6933
6934         * java/io/DataInputStream.java:
6935         Merged new documentation from classpath.
6936
6937 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6938
6939         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6940         "version".
6941         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6942         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6943         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6944         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6945         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6946         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6947         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6948         * java/security/Key.java: Likewise.
6949         * java/security/PrivateKey.java: Likewise.
6950         * java/security/Provider.java: Likewise.
6951         * java/security/PublicKey.java: Likewise.
6952
6953 2003-05-02  Michael Koch  <konqueror@gmx.de>
6954
6955         * java/net/URI.java
6956         (create): Doesnt throws any exceptions.
6957         * java/net/URLConnection.java
6958         (URLConnection): Commend added.
6959         (getExpiration): The header field is called "expires" not
6960         "expiration".
6961         (getHeaderField): Merged documentation with classpath.
6962         (getHeaderFieldInt): Likewise.
6963         (getHeaderFieldDate): Likewise.
6964         (getHeaderFieldKey): Likewise.
6965         (getPermission): Likewise.
6966         (setDefaultUseCaches): Likewise.
6967         (setRequestProperty): Likewise.
6968         (addRequestProperty): Likewise.
6969         (getRequestProperty): Likewise.
6970         (getRequestProperties): Likewise.
6971         (setDefaultRequestProperty): Likewise.
6972         (getDefaultRequestProperty): Likewise.
6973         (guessContentTypeFromStream): Likewise.
6974         (getFileNameMap): Likewise.
6975         (setFileNameMap): Likewise.
6976         (setDoInput): Merged implementation and documentation with classpath.
6977         (setDoOutput): Likewise.
6978         (setAllowUserInteraction): Likewise.
6979         (setDefaultAllowUserInteraction): Likewise.
6980         (setContentHandlerFactory): Made it synchronized, merged documentation
6981         with classpath.
6982         (guessContentTypeFromName): Renamed argument fname to filename to
6983         match classpath, merged documentation with classpath.
6984
6985 2003-05-02  Michael Koch  <konqueror@gmx.de>
6986
6987         * java/net/JarURLConnection.java
6988         (JarURLConnection): Class documentation merged with classpath.
6989         (getJarFileURL): Moved and documentation merged with classpath.
6990         (getEntryName): Likewise.
6991         (JarURLConnection): Documentation merged with classpath.
6992         (getJarEntry): Likewise.
6993         (getJarFile): Likewise.
6994         * java/net/PlainDatagramSocketImpl.java:
6995         Class documentation moved.
6996         * java/net/URLConnection.java
6997         (fileNameMap): Moved and documentation merged with classpath.
6998         (factory): Likewise.
6999         (defaultAllowUserInteraction): Likewis.
7000         (defaultUseCaches): Likewise.
7001         (allowUserInteraction): Likewise.
7002         (connected): Likewise.
7003         (url): Likewise.
7004         (connect): Documentation merged with classpath.
7005         (getURL): Likewise.
7006         (getContentLength): Likewise.
7007         (getContentType): Likewise.
7008         (getContentEncoding): Likewise.
7009         (getExpiration): Likewise.
7010         (getDate): Likewise.
7011         (getLastModified): Likewise.
7012         (getHeaderField): Likewise.
7013         (getContent): Likewise.
7014         (getPermission): Likewise.
7015         (getInputStream): Likewise.
7016         (getOutputStream): Likewise.
7017         (toString): Likewise.
7018         (getDoInput): Likewise.
7019         (getDoOutput): Likewise.
7020         (setAllowUserInteraction): Likewise.
7021         (getAllowUserInteraction): Likewise.
7022         (setDefaultAllowUserInteraction): Likewise.
7023         (getDefaultAllowUserInteraction): Likewise.
7024         (setUseCaches): Likewise.
7025         (getUseCaches): Likewise.
7026         (setIfModifiedSince): Likewise.
7027         (getIfModifiedSince): Likewise.
7028         (setDefaultRequestProperty): Likewise.
7029         (getDefaultRequestProperty): Likewise.
7030         (setContentHandlerFactory): Likewise.
7031         (setFileNameMap): Likewise.
7032
7033 2003-05-02  Michael Koch  <konqueror@gmx.de>
7034
7035         * java/net/InetAddress.java:
7036         Merged class documentation with classpath.
7037         * java/net/JarURLConnection.java:
7038         Explicitely import all used classes.
7039         * java/net/URL.java:
7040         Reformatting.
7041         * java/net/ServerSocket.java,
7042         java/net/Socket.java:
7043         New versions from classpath.
7044
7045 2003-05-02  Michael Koch  <konqueror@gmx.de>
7046
7047         * gnu/java/nio/FileChannelImpl.java
7048         (read): New implementation.
7049         (implRead): New methods.
7050         (write): New implementation, call other write insteal of read method.
7051         (implWrite): New methods.
7052         (map): Added comment.
7053         (transferFrom): Implemented.
7054         (transferTo): Implemented.
7055         (lock): Added checks to throw exceptions.
7056         (truncate): Added check to throw exception.
7057         * gnu/java/nio/natFileChannelImpl.cc
7058         (implRead): New method.
7059         (implWrite): New method.
7060         * java/nio/ByteBuffer.java
7061         (hashCode): Fixed comment.
7062         (get): Fixed exception documentation.
7063         (put): Fixed exception documentation.
7064         * java/nio/CharBuffer.java:
7065         Added comment for later optimizations.
7066
7067 2003-04-30  Tom Tromey  <tromey@redhat.com>
7068
7069         PR libgcj/10582:
7070         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7071         Removed.
7072         (type::compatible): Use _Jv_IsAssignableFrom.
7073         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7074         (_Jv_IsAssignableFrom): Work even when source or target class is
7075         not prepared.
7076
7077 2003-04-30  Michael Koch  <konqueror@gmx.de>
7078
7079         * java/text/BreakIterator.java
7080         (clone): New method.
7081
7082 2003-04-30  Michael Koch  <konqueror@gmx.de>
7083
7084         * java/text/CollationElementIterator.java,
7085         java/text/CollationKey.java,
7086         java/text/RuleBasedCollator.java:
7087         Merged copyright and documentation from classpath and
7088         rearranged some code. No code changes done.
7089
7090 2003-04-30  Michael Koch  <konqueror@gmx.de>
7091
7092         * java/util/regex/Matcher.java
7093         (pattern): New member variable.
7094         (appendReplacement): New method.
7095         (appendTail): New method.
7096         (end): New method.
7097         (find): New method.
7098         (group): New method.
7099         (replaceFirst): Added documentation.
7100         (replaceAll): Added documentation.
7101         (groupCount): New method.
7102         (lookingAt): New method.
7103         (matches): New method.
7104         (reset): New method.
7105         (start): New method.
7106         * java/util/regex/Pattern.java
7107         (serialVersionUID): New constant.
7108         (CANON_EQ): New constant.
7109         (CASE_INSENSITIVE): New constant.
7110         (COMMENTS): New constant.
7111         (DOTALL): New constant.
7112         (MULTILINE): New constant.
7113         (UNICODE_CASE): New constant.
7114         (UNIX_LINES): New constant.
7115         (regex): New member variable.
7116         (flags): New member variable.
7117         (Pattern): New method.
7118         (compile): Documentation added.
7119         (flags): New method.
7120         (matches): Documentation added.
7121         (matcher): Documentation added.
7122         (split): Documentation added.
7123         (pattern): New method.
7124
7125 2003-04-30  Michael Koch  <konqueror@gmx.de>
7126
7127         * gnu/java/security/Engine.java,
7128         gnu/java/security/OID.java,
7129         gnu/java/security/der/BitString.java,
7130         gnu/java/security/der/DER.java,
7131         gnu/java/security/der/DERReader.java,
7132         gnu/java/security/der/DERValue.java,
7133         gnu/java/security/der/DERWriter.java,
7134         gnu/java/security/provider/DSAKeyFactory.java,
7135         gnu/java/security/provider/X509CertificateFactory.java,
7136         gnu/java/security/x509/X500DistinguishedName.java,
7137         gnu/java/security/x509/X509CRL.java,
7138         gnu/java/security/x509/X509CRLEntry.java,
7139         gnu/java/security/x509/X509Certificate.java,
7140         java/security/cert/CRLSelector.java,
7141         java/security/cert/CertPathBuilder.java,
7142         java/security/cert/CertPathBuilderResult.java,
7143         java/security/cert/CertPathBuilderSpi.java,
7144         java/security/cert/CertPathParameters.java,
7145         java/security/cert/CertPathValidator.java,
7146         java/security/cert/CertPathValidatorResult.java,
7147         java/security/cert/CertPathValidatorSpi.java,
7148         java/security/cert/CertSelector.java,
7149         java/security/cert/CertStore.java,
7150         java/security/cert/CertStoreParameters.java,
7151         java/security/cert/CertStoreSpi.java,
7152         java/security/cert/CollectionCertStoreParameters.java,
7153         java/security/cert/LDAPCertStoreParameters.java,
7154         java/security/cert/PKIXBuilderParameters.java,
7155         java/security/cert/PKIXCertPathBuilderResult.java,
7156         java/security/cert/PKIXCertPathChecker.java,
7157         java/security/cert/PKIXCertPathValidatorResult.java,
7158         java/security/cert/PKIXParameters.java,
7159         java/security/cert/PolicyNode.java,
7160         java/security/cert/PolicyQualifierInfo.java,
7161         java/security/cert/TrustAnchor.java,
7162         javax/security/auth/x500/X500Principal.java:
7163         New files from classpath.
7164         * gnu/java/io/ASN1ParsingException.java,
7165         gnu/java/io/Base64InputStream.java,
7166         gnu/java/security/der/DEREncodingException.java,
7167         gnu/java/security/provider/DSAParameters.java,
7168         gnu/java/security/provider/DSASignature.java,
7169         gnu/java/security/provider/Gnu.java,
7170         gnu/java/security/provider/GnuDSAPrivateKey.java,
7171         gnu/java/security/provider/GnuDSAPublicKey.java,
7172         java/security/AlgorithmParameterGenerator.java,
7173         java/security/AlgorithmParameters.java,
7174         java/security/KeyFactory.java,
7175         java/security/KeyPairGenerator.java,
7176         java/security/KeyStore.java,
7177         java/security/MessageDigest.java,
7178         java/security/SecureClassLoader.java,
7179         java/security/SecureRandom.java,
7180         java/security/Security.java,
7181         java/security/Signature.java,
7182         java/security/cert/Certificate.java,
7183         java/security/cert/CertificateFactory.java,
7184         java/security/cert/CertificateFactorySpi.java,
7185         java/security/cert/X509CRL.java,
7186         java/security/cert/X509Certificate.java,
7187         java/security/spec/DSAPublicKeySpec.java:
7188         New versions from classpath.
7189         * gnu/java/security/provider/DERReader.java,
7190         gnu/java/security/provider/DERWriter.java,
7191         java/security/Engine.java: Removed.
7192         * Makefile.am
7193         (java_source_files, javax_source_files): Added new files.
7194         * Makefile.in: Regenerated.
7195
7196 2003-04-29  Michael Koch  <konqueror@gmx.de>
7197
7198         * javax/swing/JTable.java
7199         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7200         (AUTO_RESIZE_LAST_COLUMN): New constant.
7201         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7202         (AUTO_RESIZE_OFF): New constant.
7203         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7204         (JTable): New method.
7205         (columnAdded): New method.
7206         (columnMarginChanged): New method.
7207         (columnMoved): New method.
7208         (columnRemoved): New method.
7209         (columnSelectionChanged): New method.
7210         (editingCanceled): New method.
7211         (editingStopped): New method.
7212         (getColumnModel): New method.
7213         (getPreferredScrollableViewportSize): New method.
7214         (getScrollableBlockIncrement): New method.
7215         (getScrollableTracksViewportHeight): New method.
7216         (getScrollableTracksViewportWidth): New method.
7217         (getScrollableUnitIncrement): New method.
7218         (getSelectedRow): New method.
7219         (getSelectionModel): New method.
7220         (tableChanged): New method.
7221         (setModel): New method.
7222         (setSelectionMode): New method.
7223         (setSelectionModel): New method.
7224         (setShowGrid): New method.
7225         (valueChanged): New method.
7226         * javax/swing/text/DefaultEditorKit.java
7227         (backwardAction): New constant.
7228         (beepAction): New constant.
7229         (beginAction): New constant.
7230         (beginLineAction): New constant.
7231         (beginParagraphAction): New constant.
7232         (beginWordAction): New constant.
7233         (copyAction): New constant.
7234         (cutAction): New constant.
7235         (defaultKeyTypedAction): New constant.
7236         (deleteNextCharAction): New constant.
7237         (deletePrevCharAction): New constant.
7238         (downAction): New constant.
7239         (endAction): New constant.
7240         (endLineAction): New constant.
7241         (endOfLineStringProperty): New constant.
7242         (endParagraphAction): New constant.
7243         (endWordAction): New constant.
7244         (forwardAction): New constant.
7245         (insertBreakAction): New constant.
7246         (insertContentAction): New constant.
7247         (insertTabAction): New constant.
7248         (nextWordAction): New constant.
7249         (pageDownAction): New constant.
7250         (pageUpAction): New constant.
7251         (pasteAction): New constant.
7252         (previousWordAction): New constant.
7253         (readOnlyAction): New constant.
7254         (selectAllAction): New constant.
7255         (selectionBackwardAction): New constant.
7256         (selectionBeginAction): New constant.
7257         (selectionBeginLineAction): New constant.
7258         (selectionBeginParagraphAction): New constant.
7259         (selectionBeginWordAction): New constant.
7260         (selectionDownAction): New constant.
7261         (selectionEndAction): New constant.
7262         (selectionEndLineAction): New constant.
7263         (selectionEndParagraphAction): New constant.
7264         (selectionEndWordAction): New constant.
7265         (selectionForwardAction): New constant.
7266         (selectionNextWordAction): New constant.
7267         (selectionPreviousWordAction): New constant.
7268         (selectionUpAction): New constant.
7269         (selectLineAction): New constant.
7270         (selectParagraphAction): New constant.
7271         (selectWordAction): New constant.
7272         (upAction): New constant.
7273         (writableAction): New constant.
7274
7275 2003-04-29  Michael Koch  <konqueror@gmx.de>
7276
7277         * java/util/PropertyPermission.java:
7278         New version from classpath
7279         * java/util/ResourceBundle.java:
7280         Partly merged from classpath
7281         (getObject): Reformated.
7282         (tryBundle): Set foundBundle = null if no bundle found.
7283
7284 2003-04-29  Michael Koch  <konqueror@gmx.de>
7285
7286         * javax/swing/AbstractListModel.java,
7287         javax/swing/DefaultBoundedRangeModel.java,
7288         javax/swing/DefaultSingleSelectionModel.java:
7289         New Versions from classpath.
7290
7291 2003-04-29  Michael Koch  <konqueror@gmx.de>
7292
7293         * java/awt/Window.java
7294         (show): Call super.show() instead of setVisible() to avoid endless
7295         loop.
7296         (hide): Call super.hide() instead of setVisible() to avoid endless
7297         loop.
7298
7299 2003-04-29  Michael Koch  <konqueror@gmx.de>
7300
7301         * java/util/zip/Deflater.java,
7302         java/util/zip/DeflaterOutputStream.java:
7303         Partly merged with classpath.
7304
7305 2003-04-27  Tom Tromey  <tromey@redhat.com>
7306
7307         * java/lang/natString.cc (_Jv_AllocString): Initialize
7308         cachedHashCode.
7309         (init): Likewise.
7310         (_Jv_NewStringUtf8Const): Likewise.
7311
7312 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7313
7314         * include/jvm.h: (_Jv_GetNbArgs) added
7315         (_Jv_GetSafeArg) added
7316         (_Jv_SetArgs) added
7317         * prims.cc: (_Jv_GetNbArgs) implemented
7318         (_Jv_GetSafeArg) implemented
7319         (_Jv_SetArgs) implemented
7320         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7321         setting _Jv_argc and _Jv_argv
7322         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7323         instead of _Jv_argv
7324         * java/lang/natRuntime.cc: (insertSystemProperties) use
7325         _Jv_GetSafeArg() instead of _Jv_argv
7326
7327 2003-04-23  Tom Tromey  <tromey@redhat.com>
7328
7329         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7330         required by this object.  Search superclasses to find required
7331         alignment.
7332         (get_alignment_from_class): Use alignment of type as it appears
7333         in a struct.
7334         (ALIGNOF): New macro.
7335         (struct aligner): New helper structure.
7336
7337 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7338
7339         * java/awt/Container.java (addImpl): Enable paint events if adding
7340         a lightweight to a heavyweight.
7341         (addNotify): Ensure that peer is created before
7342         addNotifyContainerChildren.
7343         (addNotifyContainerChildren): Enable paint events if a heavyweight
7344         container contains a lightweight.
7345
7346 2003-04-20  Tom Tromey  <tromey@redhat.com>
7347
7348         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7349         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7350         Classpath.
7351
7352 2003-04-19  Tom Tromey  <tromey@redhat.com>
7353
7354         * java/sql/Date.java, java/sql/DriverManager.java,
7355         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7356         Classpath.
7357
7358         * Makefile.in: Rebuilt.
7359         * Makefile.am (ordinary_java_source_files): Added new files.
7360         * java/security/AlgorithmParameterGenerator.java,
7361         java/security/AlgorithmParameters.java, java/security/Engine.java,
7362         java/security/Identity.java, java/security/IdentityScope.java,
7363         java/security/KeyFactory.java,
7364         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7365         java/security/MessageDigest.java, java/security/Policy.java,
7366         java/security/ProtectionDomain.java,
7367         java/security/SecureRandom.java, java/security/Security.java,
7368         java/security/Signature.java, java/security/SignatureSpi.java,
7369         java/security/SignedObject.java, java/security/Signer.java,
7370         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7371         java/security/spec/PSSParameterSpec.java,
7372         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7373         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7374         Classpath.
7375
7376 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7377
7378         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7379         (dispose): Null metrics.
7380         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7381         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7382         finalize.
7383         (finalize): Call dispose.
7384         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7385         (gcCachedCount): New field.
7386         (finalize): New method.
7387         (putGCInCache): New method.
7388         (getGCFromCache): New method.
7389         * gnu/gcj/xlib/GC.java (GC): Make protected.
7390         (clone): Get new GC from cache if possible.
7391         (create): New static method.
7392         (dispose): Save old GC in cache.
7393         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7394         deleting.
7395         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7396         is null.
7397         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7398         * java/awt/Container.java (visitChild): Dispose gfx2 when
7399         finished.
7400
7401 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7402
7403         * java/math/BigInteger.java (probablePrime): New.
7404         * java/math/BigDecimal.java (unscaledValue): New.
7405
7406 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7407
7408         * java/io/File.java (getAbsolutePath): On Windows, take care
7409         of paths like "C:", "G:foo\bar", etc.
7410         (getName): Make it work correctly on Windows.
7411         (getParent): Make it work correctly on Windows. For UNIX,
7412         fix bug that causes "/" to be returned as the parent of "/",
7413         instead of null as returned by Sun's JRE.
7414
7415         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7416
7417 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7418
7419         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7420         inner class.
7421         (CACHE_SIZE_PER_DISPLAY): New field
7422         (fontMetricsCache): New field
7423         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7424         loading ISO10646-1 fonts.
7425
7426 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7427
7428         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7429         characters.
7430         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7431         characters.
7432
7433 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7434
7435         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7436         floating point.
7437
7438 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7439
7440         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7441         installed libpthread is either linuxthreads with floating stacks or
7442         NPTL.
7443
7444 2003-04-14  Tom Tromey  <tromey@redhat.com>
7445
7446         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7447         of alignment.
7448
7449 2003-04-10  Tom Tromey  <tromey@redhat.com>
7450
7451         * verify.cc (pop64): Removed.
7452         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7453         exception if top-of-stack is narrow.
7454         (initialize_stack): Check to ensure that <init> is not static and
7455         <clinit> is.
7456
7457 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7458
7459         * java/io/ObjectStreamException
7460         * java/io/FileFilter
7461         * java/io/FilenameFilter
7462         * java/io/ObjectInput
7463         * java/io/ObjectOutput
7464         * java/io/ObjectStreamConstants
7465         Minor doc fixes, format fixes, spelling corrections, etc.
7466         * java/io/DataInput
7467         Corrected code samples in Javadocs to match reality
7468         * java/io/DataOutput
7469         * java/io/ObjectInputValidation
7470         Major documentation fixes - all Javadocs re-written or updated
7471
7472 2003-04-06  Michael Koch  <konqueror@gmx.de>
7473
7474         * java/net/URLConnection.java:
7475         Import classes directly.
7476         (URLConnection): Merged class documentation with classpath.
7477         (url): Moved, documentation from classpath added.
7478         (doInput): Moved, documentation from classpath added.
7479         (doOutput): Moved, documentation from classpath added.
7480         (allowUserInteraction): Moved.
7481         (useCaches): Moved, documentation from classpath added.
7482         (ifModifiedSince): Moved, documentation from classpath added.
7483         (connected): Moved, documentation from classpath added.
7484
7485 2003-04-06  Michael Koch  <konqueror@gmx.de>
7486
7487         * java/io/FileInputStream.java
7488         (skip): Renamed some variables to match classpath, added
7489         checks from classpath.
7490
7491 2003-03-31  Michael Koch  <konqueror@gmx.de>
7492
7493         * javax/swing/AbstractAction.java
7494         (AbstractAction): Reformatted.
7495         (serialVersionUID): New private member variable.
7496         * javax/swing/plaf/BorderUIResource.java
7497         (serialVersionUID): New private member variable.
7498         * javax/swing/plaf/basic/BasicLookAndFeel.java
7499         (serialVersionUID): New private member variable.
7500
7501 2003-03-31  Michael Koch  <konqueror@gmx.de>
7502
7503         * java/sql/Date.java
7504         (valueOf): Deprecated, reformatted.
7505         (toString): Deprecated, reformatted.
7506         * java/sql/Time.java
7507         (valueOf): Deprecated, reformatted.
7508         (toString): Deprecated, reformatted.
7509
7510 2003-03-31  Michael Koch  <konqueror@gmx.de>
7511
7512         * java/rmi/dgc/VMID.java
7513         (isUnique): Deprecated.
7514
7515 2003-03-31  Michael Koch  <konqueror@gmx.de>
7516
7517         * java/io/File.java
7518         (separator): Merged documentation from classpath.
7519         (separatorChar): Merged documentation from classpath.
7520         (pathSeparator): Merged documentation from classpath.
7521         (pathSeparatorChar): Merged documentation from classpath.
7522         (path): Merged documentation from classpath.
7523         (canRead): Merged documentation from classpath.
7524         (canWrite): Merged documentation from classpath.
7525         (createNewFile): Merged documentation from classpath.
7526         (delete): Merged documentation from classpath.
7527         (equals): Merged documentation from classpath.
7528         (exists): Merged documentation from classpath.
7529         (File): Renamed p to name to match classpath, merged documentation
7530         from classpath.
7531         (getAbsolutePath): Merged documentation from classpath.
7532         (getCanonicalPath): Merged documentation from classpath.
7533         (getCanonicalFile): Merged documentation from classpath.
7534         (getName): Merged documentation from classpath.
7535         (getParent): Merged documentation from classpath.
7536         (getParentFile): Merged documentation from classpath.
7537         (getPath): Merged documentation from classpath.
7538         (hashCode): Merged documentation from classpath.
7539         (isAbsolute): Merged documentation from classpath.
7540         (isDirectory): Merged documentation from classpath.
7541         (isFile): Merged documentation from classpath.
7542         (isHidden): Merged documentation from classpath.
7543         (lastModified): Merged documentation from classpath.
7544         (length): Merged documentation from classpath.
7545         (list): Merged documentation from classpath.
7546         (listFiles): Merged documentation from classpath.
7547         (toString): Merged documentation from classpath.
7548         (toURL): Merged documentation from classpath.
7549         (mkdir): Merged documentation from classpath.
7550         (mkdirs): Merged documentation from classpath.
7551         (createTempFile): Merged documentation from classpath.
7552         (setReadOnly): Merged documentation from classpath.
7553         (listRoots): Merged documentation from classpath.
7554         (compareTo): Merged documentation from classpath.
7555         (renameTo): Merged documentation from classpath.
7556         (setLastModified): Merged documentation from classpath.
7557         * java/io/PrintStream.java
7558         (auto_flush): Merged documentation from classpath.
7559         (PrintStream): Merged documentation from classpath.
7560         (checkError): Merged documentation from classpath.
7561         (setError): Merged documentation from classpath.
7562         (close): Merged documentation from classpath.
7563         (flush): Merged documentation from classpath.
7564         (print): Merged documentation from classpath.
7565         (println):  Merged documentation from classpath.
7566         (write): Renamed count to len to match classpath,
7567         merged documentation from classpath.
7568         * java/io/RandomAccessFile.java
7569         (readShort): Merged documentation from classpath.
7570         (readUnsignedByte): Merged documentation from classpath.
7571         (readUnsignedShort): Merged documentation from classpath.
7572         (readUTF): Merged documentation from classpath.
7573         (seek): Reformatted, merged documentation from classpath.
7574         (skipBytes): Renamed some variables to match classpath, reformatted,
7575         merged documentation from classpath.
7576         (write): Merged documentation from classpath.
7577         (writeBoolean): Merged documentation from classpath.
7578         (writeByte): Merged documentation from classpath.
7579         (writeShort): Merged documentation from classpath.
7580         (writeChar): Merged documentation from classpath.
7581         (writeInt): Merged documentation from classpath.
7582         (writeLong): Merged documentation from classpath.
7583         (writeFloat): Merged documentation from classpath.
7584         (writeDouble): Merged documentation from classpath.
7585         (writeBytes): Merged documentation from classpath.
7586         (writeChars): Merged documentation from classpath.
7587         (writeUTF): Reformatted.
7588         (getChannel): Reformatted.
7589
7590 2003-03-31  Michael Koch  <konqueror@gmx.de>
7591
7592         * java/awt/font/TextAttribute.java
7593         (readResolve): Throws java.io.InvalidObjectException.
7594
7595 2003-03-31  Michael Koch  <konqueror@gmx.de>
7596
7597         * java/rmi/server/LoaderHandler.java
7598         (loadClass): Deprecated.
7599         (getSecurityContext): Deprecated.
7600         * java/rmi/server/LogStream.java
7601         (getDefaultStream): Deprecated.
7602         (setDefaultStream): Deprecated.
7603         (getOutputStream): Deprecated.
7604         (setOutputStream): Deprecated.
7605         (write): Deprecated.
7606         (toString): Deprecated.
7607         (parseLevel): Deprecated.
7608         * java/rmi/server/Operation.java
7609         (Operation): Deprecated.
7610         (getOperation): Deprecated.
7611         (toString): Deprecated.
7612         * java/rmi/server/RemoteCall.java
7613         (getOutputStream): Deprecated.
7614         (releaseOutputStream): Deprecated.
7615         (getInputStream): Deprecated.
7616         (releaseInputStream): Deprecated.
7617         (getResultStream): Deprecated.
7618         (executeCall): Deprecated.
7619         (done): Deprecated.
7620         * java/rmi/server/RemoteRef.java
7621         (invoke): Deprecated.
7622         (newCall): Deprecated.
7623         (done): Deprecated.
7624         * java/rmi/server/RemoteStub.java
7625         (setRef): Deprecated.
7626         * java/rmi/server/Skeleton.java:
7627         No need to import java.lang.Exception explicitly.
7628         (dispatch): Deprecated.
7629         (getOperations): Deprecated.
7630
7631 2003-03-31  Michael Koch  <konqueror@gmx.de>
7632
7633         * java/rmi/dgc/VMID.java,
7634         java/rmi/registry/RegistryHandler.java,
7635         java/rmi/server/LogStream.java,
7636         java/rmi/server/Operation.java,
7637         java/rmi/server/RemoteCall.java,
7638         java/rmi/server/RemoteRef.java,
7639         java/rmi/server/RemoteStub.java:
7640         Reformatted.
7641
7642 2003-03-31  Michael Koch  <konqueror@gmx.de>
7643
7644         * javax/swing/AbstractCellEditor.java,
7645         javax/swing/AbstractListModel.java,
7646         javax/swing/ActionMap.java,
7647         javax/swing/BorderFactory.java,
7648         javax/swing/ButtonGroup.java,
7649         javax/swing/DefaultBoundedRangeModel.java,
7650         javax/swing/DefaultButtonModel.java,
7651         javax/swing/DefaultCellEditor.java,
7652         javax/swing/DefaultComboBoxModel.java,
7653         javax/swing/DefaultDesktopManager.java,
7654         javax/swing/DefaultListCellRenderer.java,
7655         javax/swing/DefaultSingleSelectionModel.java,
7656         javax/swing/InputMap.java,
7657         javax/swing/JComponent.java,
7658         javax/swing/JMenu.java,
7659         javax/swing/JSlider.java,
7660         javax/swing/KeyStroke.java,
7661         javax/swing/OverlayLayout.java,
7662         javax/swing/ScrollPaneLayout.java,
7663         javax/swing/SizeRequirements.java,
7664         javax/swing/UIManager.java,
7665         javax/swing/ViewportLayout.java,
7666         javax/swing/border/AbstractBorder.java,
7667         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7668         javax/swing/event/EventListenerList.java,
7669         javax/swing/table/AbstractTableModel.java,
7670         javax/swing/table/DefaultTableCellRenderer.java,
7671         javax/swing/table/DefaultTableColumnModel.java,
7672         javax/swing/table/DefaultTableModel.java,
7673         javax/swing/table/TableColumn.java,
7674         javax/swing/text/StyledEditorKit.java,
7675         javax/swing/tree/DefaultMutableTreeNode.java,
7676         javax/swing/tree/DefaultTreeModel.java,
7677         javax/swing/tree/DefaultTreeSelectionModel.java,
7678         javax/swing/tree/TreePath.java,
7679         javax/swing/undo/AbstractUndoableEdit.java,
7680         javax/swing/undo/StateEdit.java,
7681         javax/swing/undo/StateEditable.java,
7682         javax/swing/undo/UndoableEditSupport.java:
7683         Merges from classpath.
7684
7685 2003-03-30  Tom Tromey  <tromey@redhat.com>
7686
7687         * java/lang/String.java (data, boffset, count): Documented.
7688         (String(byte[],String)): Reformatted.
7689         (String(byte[])): Likewise.
7690         (lastIndexOf(int)): Likewise.
7691         (lastIndexOf(String)): Likewise.
7692         (substring(int)): Renamed argument to match Classpath.
7693         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7694
7695         * java/lang/String.java: Miscellaneous minor formatting changes
7696         to match Classpath more closely.
7697
7698 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7699             Tom Tromey  <tromey@redhat.com>
7700
7701         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7702         (init()): Removed.
7703         (charAt): Put index in exception.
7704         (contentEquals): New method.
7705         Include StringBuffer.h.
7706         * java/lang/String.java (cachedHashCode): New field.
7707         (String()): Follow classpath implementation.
7708         (init()): Removed.
7709         (contentEquals): Declare.
7710         (subSequence): Don't declare IndexOutIfBoundsException in throws
7711         clause.
7712         (matches, replaceFirst, replaceAll, split): New methods from
7713         Classpath.
7714
7715 2003-03-29  Tom Tromey  <tromey@redhat.com>
7716
7717         * java/lang/String.java: Reordered to follow Classpath; merged in
7718         javadoc.
7719
7720         * java/text/MessageFormat.java: Removed some whitespace.
7721
7722         * Makefile.in: Rebuilt.
7723         * Makefile.am (awt_java_source_files): Added new files.
7724         * gnu/javax/rmi/PortableServer.java,
7725         gnu/javax/rmi/CORBA/DelegateFactory.java,
7726         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7727         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7728         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7729         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7730         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7731         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7732         javax/rmi/PortableRemoteObject.java,
7733         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7734         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7735         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7736         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7737         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7738         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7739
7740         * java/lang/natClass.cc (newInstance): Put method name in
7741         exception.
7742         (getConstructor): Likewise.
7743         (getDeclaredConstructor): Likewise.
7744         (getPrivateMethod): Likewise.
7745
7746 2003-03-28  Tom Tromey  <tromey@redhat.com>
7747
7748         * java/lang/reflect/Proxy.java: New version from Classpath.
7749         * java/lang/Package.java: New version from Classpath.
7750
7751 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7752
7753         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7754         * configure: Regenerate.
7755
7756 2003-03-28  Michael Koch  <konqueror@gmx.de>
7757
7758         * java/io/File.java:
7759         Import needed classes instead of whole packages, merged class
7760         documentation with classpath, moved constants and variables to top of
7761         class.
7762         * java/io/PrintStream.java:
7763         Merged class documentation with classpath, moved constants and
7764         variables to top of class.
7765         * java/io/RandomAccessFile.java
7766         (RandomAccessFile): Merged with classpath.
7767         (read): Merged with classpath).
7768         (read*): Reformatted.
7769
7770 2003-03-28  Michael Koch  <konqueror@gmx.de>
7771
7772         * java/io/FileDescriptor.java
7773         (finalize): Throws Throwable, not IOException.
7774         * java/io/ObjectOutputStream.java
7775         (PutField.put): Doesnt throws anything.
7776
7777 2003­03-28  Michael Koch  <konqueror@gmx.de>
7778
7779         * java/io/FileOutputStream.java:
7780         Merged class documentation and authors with classpath.
7781         (FileOutputStream): Partly merged with classpath.
7782         (write): Merged with classpath.
7783         (getChannel): Make it synchronized instead of explicit block in this
7784         method.
7785         * java/io/RandomAccessFile.java:
7786         Merged class documentation and authors with classpath.
7787
7788 2003-03-26  Tom Tromey  <tromey@redhat.com>
7789
7790         * java/lang/natRuntime.cc (insertSystemProperties): Set
7791         gnu.classpath.home.url.
7792         * Makefile.in: Rebuilt.
7793         * Makefile.am: Define LIBDIR.
7794
7795 2003-03-25  Michael Koch  <konqueror@gmx.de>
7796
7797         * java/io/FileInputStream.java
7798         (read): Renamed b to buf and off to offset.
7799         * java/io/FileOutputStream.java
7800         (ch): Documentation added.
7801         (FileOutputStream): Documentation added.
7802         (getFD): Documentation added.
7803         (write): Documentation added.
7804         (close): Documentation added.
7805         (getChannel): Documentation added.
7806
7807 2003-03-24  Michael Koch  <konqueror@gmx.de>
7808
7809         * java/io/DataOutputStream.java
7810         (write): Merged from classpath.
7811         * java/io/File.java:
7812         Merged copyrigth with classpath.
7813         * java/io/FileInputStream.java
7814         (getChannel): Made it synchronized instead of using a synchronized
7815         block.
7816         * java/io/FileOutputStream.java: Reformatted.
7817         * java/io/InputStreamReader.java
7818         (InputStreamReader): Renamed enc to encoding_name.
7819         (close): Merged documentation from classpath.
7820         (getEncoding): Merged documentation from classpath.
7821         (ready): Merged documentation from classpath.
7822         (read): Merged documentation from classpath.
7823         * java/io/LineNumberReader.java
7824         (lineNumber): Made it private.
7825         (LineNumberReader): Use Constant instead of a direct value.
7826         * java/io/OutputStreamWriter.java
7827         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7828         documentation from classpath.
7829         (close): Merged documentation from classpath.
7830         (flush): Merged documentation from classpath.
7831         (write): Merged documentation from classpath.
7832         * java/io/PrintStream.java: Reformatted.
7833
7834 2003-03-24  Michael Koch  <konqueror@gmx.de>
7835
7836         * javax/swing/text/ComponentView.java
7837         (getComponent): Must be final.
7838         * javax/swing/tree/DefaultTreeCellRenderer.java:
7839         Reformatted.
7840         * javax/swing/undo/StateEditable.java:
7841         Reformatted.
7842
7843 2003-03-24  Michael Koch  <konqueror@gmx.de>
7844
7845         * java/rmi/activation/ActivationInstantiator.java:
7846         Reformatted.
7847         * java/rmi/activation/Activator.java:
7848         Reformatted.
7849         * java/rmi/registry/RegistryHandler.java:
7850         Remerged from classpath.
7851
7852 2003-03-24  Michael Koch  <konqueror@gmx.de>
7853
7854         * java/util/Date.java:
7855         Fixed documentation starting tag to make javadoc happy.
7856         * java/util/regex/Pattern.java
7857         (Pattern): Implements Serializable.
7858         * java/util/PatternSyntaxException.java
7859         (serialVersionUID): New member variable.
7860
7861 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7862
7863         * java/awt/ContainerOrderFocusTraversalPolicy.java
7864         (getFirstComponent): Implemented.
7865         (getLastComponent): Implemented.
7866         (getDefaultComponent): Implemented.
7867         (setImplicitDownCycleTraversal): Fixed implementation.
7868         * java/awt/Robot.java
7869         (Robot): Added documentation.
7870         * java/awt/Toolkit.java
7871         (getFontList): Deprecated.
7872         (getFontMetrics): Deprecated.
7873         (getPrintJob): Added documentation.
7874         (getSystemSelection): Added documentation.
7875         (getLockingKeyState): Added documentation.
7876         (setLockingKeyState): Added documentation.
7877         (createCustomCursor): Added documentation.
7878         (getBestCursorSize): Added documentation.
7879         (getMaximumCursorColors): Added documentation.
7880         (isFrameStateSupported): Added documentation.
7881
7882 2003-03-24  Michael Koch  <konqueror@gmx.de>
7883
7884         * java/io/RandomAccessFile.java:
7885         More little merges with classpath. No code changes.
7886
7887 2003-03-24  Michael Koch  <konqueror@gmx.de>
7888
7889         * java/net/natInetAddressNoNet.cc:
7890         Include stddef.h.
7891         * java/net/natPlainDatagramSocketImplNoNet.cc:
7892         Fixed inlcude of java/net/DatagramPacket.h.
7893         * java/net/natPlainSocketImplNoNet.cc:
7894         Include some missing classes.
7895
7896 2003-03-24  Michael Koch  <konqueror@gmx.de>
7897
7898         * java/awt/dnd/DropTarget.java
7899         (DropTargetAutoScroller): According to the online documentation, this
7900         is protected, but in reality it is public.
7901         * java/awt/dnd/DropTargetContext.java
7902         (TransferableProxy): According to the online documentation, this
7903         is protected, but in reality it is public.
7904
7905 2003-03-24  Michael Koch  <konqueror@gmx.de>
7906
7907         * java/io/DataInputStream.java
7908         (): Wrapped documentation line.
7909         (): Fixed @return tag.
7910         * java/io/DataOutputStream.java
7911         (written): Moved to top of class.
7912         (all methods): Merged documentation from classpath.
7913         * java/io/File.java:
7914         Merged copyright year with classpath.
7915         * java/io/FileInputStream.java
7916         (all methods): Merged documentation from classpath.
7917         * java/io/LineNumberReader.java
7918         (getLineNumber): Fixed @return tag.
7919         * java/io/ObjectInputStream.java.
7920         Reformatted.
7921         * java/io/ObjectOutputStream.java:
7922         Reformatted, fixed some @see tags.
7923         * java/io/OutputStreamWriter.java:
7924         Deleted empty line.
7925         * java/io/Writer.java:
7926         Reformatted.
7927
7928 2003-03-24  Michael Koch  <konqueror@gmx.de>
7929
7930         * java/awt/Frame.java
7931         (DEFAULT_CURSOR): Fixed @deprecated tag.
7932         (setCursor): Fixed @deprecated tag.
7933
7934 2003-03-24  Michael Koch  <konqueror@gmx.de>
7935
7936         * java/beans/beancontext/BeanContextEvent.java:
7937         Reformated.
7938
7939 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7940
7941         * java/lang/natStringBuffer.cc (regionMatches): New function.
7942         * java/lang/String.java (count): Now package-private.
7943         * java/lang/StringBuffer.java: Merged with Classpath.
7944
7945 2003-03-23  Michael Koch  <konqueror@gmx.de>
7946
7947         * java/io/BufferedOutputStream.java:
7948         Reformated.
7949         * java/io/BufferedReader.java:
7950         Reformated.
7951         * java/io/ByteArrayOutputStream.java
7952         (size): Fixed @see tag.
7953         * java/io/CharArrayWriter.java
7954         (size): Fixed @see tag.
7955         * java/io/DataInput.java:
7956         Reformated.
7957         * java/io/DataOutput.java:
7958         Reformated.
7959         * java/io/DataOutputStream.java:
7960         Merged copyright years with classpath.
7961         * java/io/Externalizable.java:
7962         Reformated.
7963         * java/io/FileFilter.java:
7964         Reformated.
7965         * java/io/FileInputStream.java:
7966         Merged copyright years with classpath.
7967         * java/io/FileOutputStream.java:
7968         Merged copyright years with classpath.
7969         * java/io/FilePermission.java
7970         (FilePermission): Replaced @XXX with FIXME:.
7971         * java/io/FileWriter.java:
7972         Reformated.
7973         * java/io/FilenameFilter.java:
7974         Reformated.
7975         * java/io/FilterInputStream.java:
7976         Reformated.
7977         * java/io/FilterOutputStream.java:
7978         Reformated.
7979         * java/io/FilterReader.java:
7980         Reformated.
7981         * java/io/FilterWriter.java:
7982         Reformated.
7983         * java/io/LineNumberInputStream.java
7984         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7985         happy.
7986         (getLineNumber): Fixed @return tag.
7987         * java/io/ObjectInput.java:
7988         Reformated.
7989         * java/io/ObjectOutput.java:
7990         Reformated.
7991         * java/io/ObjectStreamClass.java:
7992         Reformated.
7993         * java/io/PrintStream.java:
7994         Merged copyright years with classpath.
7995         * java/io/PushbackReader.java
7996         (PushbackReader): Replaced @code with @param.
7997         * java/io/SerializablePermission.java:
7998         Reformated.
7999         * java/io/StreamTokenizer.java
8000         (resetSyntax): Fixed @see tag.
8001
8002 2003-03-22  Richard Henderson  <rth@redhat.com>
8003
8004         * sysdep/ia64/locks.h: Include ia64intrin.h.
8005         (compare_and_swap): Use __sync_bool_compare_and_swap.
8006         (compare_and_swap_release): Expose ar.ccv assignment.
8007
8008 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8009
8010         * include/posix.h: Add suffix for darwin dynamic libraries.
8011
8012 2003-03-21  Michael Koch  <konqueror@gmx.de>
8013
8014         * javax/swing/Action.java
8015         (ACCELERATOR_KEY): New constant.
8016         (ACTION_COMMAND_KEY): Likewise.
8017         (MNEMONIC_KEY): Likewise.
8018         * javax/swing/UnsupportedLookAndFeelException.java
8019         (UnsupportedLookAndFeelException): Must be public.
8020         * javax/swing/WindowConstants.java
8021         (EXIT_ON_CLOSE): New constant.
8022         * javax/swing/text/BadLocationException.java
8023         (offset): New member variable.
8024         (BadLocationException): New implementation, documentation added.
8025         (offsetRequested): New method.
8026         * javax/swing/text/Caret.java:
8027         Reformated.
8028         * javax/swing/text/Document.java:
8029         Reformated.
8030
8031 2003-03-21  Michael Koch  <konqueror@gmx.de>
8032
8033         * java/rmi/activation/Activatable.java
8034         (serialVersionUID): New member variable.
8035         * java/rmi/activation/ActivationGroup.java
8036         (serialVersionUID): New member variable.
8037         * java/rmi/activation/ActivationGroupDesc.java
8038         (serialVersionUID): New member variable.
8039         * java/rmi/registry/Registry.java:
8040         Reformated.
8041         (Registry): Deprecated.
8042         * java/rmi/server/LoaderHandler.java
8043         Reformated.
8044         (LoaderHandler): Deprecated.
8045         * java/rmi/server/LogStream.java
8046         Reformated.
8047         (LogStream): Deprecated.
8048         * java/rmi/server/Operation.java
8049         (Operation): Deprecated.
8050         * java/rmi/server/RMIFailureHandler.java:
8051         Reformated.
8052         * java/rmi/server/RMISocketFactory.java:
8053         Reformated.
8054         * java/rmi/server/RemoteCall.java
8055         (RemoteCall): Deprecated.
8056         * java/rmi/server/RemoteStub.java:
8057         Reformated.
8058         * java/rmi/server/Skeleton.java
8059         Reformated.
8060         (Skeleton): Deprecated.
8061
8062 2003-03-21  Michael Koch  <konqueror@gmx.de>
8063
8064         * java/io/LineNumberReader.java
8065         (LineNumberReader): Merged documentation with classpath.
8066         (getLineNumber): Likewise.
8067         (setLineNumber): Likewise.
8068         (mark): Likewise.
8069         (reset): Likewise.
8070         (read): Likewise.
8071         (readLine): Likewise.
8072         (skip): Likewise.
8073
8074 2003-03-21  Michael Koch  <konqueror@gmx.de>
8075
8076         * java/rmi/RMISecurityManager.java
8077         (checkAccept): Removed.
8078         (checkAccess): Likewise.
8079         (checkAccess): Likewise.
8080         (checkAwtEventQueueAccess): Likewise.
8081         (checkConnect): Likewise.
8082         (checkCreateClassLoader): Likewise.
8083         (checkDelete): Likewise.
8084         (checkExec): Likewise.
8085         (checkExit): Likewise.
8086         (checkLink): Likewise.
8087         (checkListen): Likewise.
8088         (checkMemberAccess): Likewise.
8089         (checkMulticast): Likewise.
8090         (checkPackageAccess): Likewise.
8091         (checkPackageDefinition): Likewise.
8092         (checkPermission): Likewise.
8093         (checkPrintJobAccess): Likewise.
8094         (checkPropertiesAccess): Likewise.
8095         (checkPropertyAccess): Likewise.
8096         (checkRead): Likewise.
8097         (checkSecurityAccess): Likewise.
8098         (checkSetFactory): Likewise.
8099         (checkSystemClipboardAccess): Likewise.
8100         (checkTopLevelWindow): Likewise.
8101         (checkWrite): Likewise.
8102
8103 2003-03-20  Michael Koch  <konqueror@gmx.de>
8104
8105         * gnu/java/nio/FileChannelImpl.java
8106         (address): Removed.
8107         (map_address): New member variable.
8108         (length): Make it package private.
8109         (fd): Make it package private.
8110         (buf): Make it package private.
8111         (file_obj): Make it package private.
8112         (FileChannelImpl): New constructor.
8113         (nio_mmap_file): Use RawData instead of long.
8114         (nio_munmap_file): Use RawData instead of long.
8115         (nio_msync): Use RawData instead of long.
8116         (implCloseChannel): New implementation using map_address.
8117         (read): Reformated.
8118         (map): Implemented.
8119         (create_direct_mapped_buffer): Implemented, use RawData, throws
8120         IOException.
8121         (force): Use map_address instead of address.
8122         * gnu/java/nio/MappedByteFileBuffer.java
8123         (address): Removed.
8124         (map_address): New member variable.
8125         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8126         (several methods): Use map_address instead of address, replaced long
8127         with RawData where appropriate.
8128         * gnu/java/nio/natFileChannelImpl.cc
8129         (nio_mmap_file): Replaced long with RawData.
8130         (nio_munmap_file): Replaced long with RawData.
8131         (nio_msync): Replaced long with RawData.
8132         * gnu/java/nio/natMappedByteFileBuffer.cc
8133         (several methods): Replaced long with RawData where appropriate.
8134
8135 2003-03-20  Michael Koch  <konqueror@gmx.de>
8136
8137         * java/net/InetAddress.java,
8138         java/net/JarURLConnection.java,
8139         java/net/PlainDatagramSocketImpl.java,
8140         java/net/PlainSocketImpl.java,
8141         java/net/URLConnection.java:
8142         Merged copyright statements with classpath for easier merging.
8143
8144 2003-03-20  Michael Koch  <konqueror@gmx.de>
8145
8146         * java/io/FileInputStream.java
8147         (getChannel): New implementation.
8148         * java/io/FileOutputStream.java
8149         (ch): New member variable.
8150         (getChannel): Implemented.
8151         * java/io/RandomAccessFile.java
8152         (RandomAccessFile): Throws FileNotFoundException instead of
8153         IOException.
8154         (getChannel): New method.
8155         (ch): New member variable.
8156
8157 2003-03-20  Michael Koch  <konqueror@gmx.de>
8158
8159         * java/io/DataOutputStream.java,
8160         java/io/File.java,
8161         java/io/FileInputStream.java,
8162         java/io/FileOutputStream.java,
8163         java/io/InputStreamReader.java,
8164         java/io/LineNumberReader.java,
8165         java/io/OutputStreamWriter.java,
8166         java/io/PrintStream.java,
8167         java/io/RandomAccessFile.java:
8168         Merged copyright statements with classpath for easier merging.
8169
8170 2003-03-19  Michael Koch  <konqueror@gmx.de>
8171
8172         * java/lang/Process.java:
8173         Merged from classpath.
8174
8175 2003-03-19  Michael Koch  <konqueror@gmx.de>
8176
8177         * java/io/FileOutputStream.java
8178         (FileOutputStream): New constructor, merged from classpath.
8179         * java/io/FileWriter.java
8180         (FileWriter): New constructor, merged from classpath.
8181
8182 2003-03-18  Michael Koch  <konqueror@gmx.de>
8183
8184         * java/awt/ScrollPane.java
8185         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8186         (getViewportSize): Likewise.
8187         (addNotify): Likewise.
8188         (removeNotify): Likewise.
8189         * java/awt/ScrollPaneAdjustable.java
8190         (ScrollPaneAdjustable): No longer extends Scrollbar.
8191         * java/beans/beancontext/BeanContextServices.java:
8192         Reformated.
8193         (getService): Added throws TooManyListenersException;
8194         * java/beans/beancontext/BeanContextServicesSupport.java:
8195         Reformated.
8196
8197 2003-03-18  Michael Koch  <konqueror@gmx.de>
8198
8199         * java/io/BufferedOutputStream.java,
8200         java/io/DataInput.java,
8201         java/io/DataInputStream.java,
8202         java/io/DataOutput.java,
8203         java/io/Externalizable.java:
8204         More merges from classpath.
8205
8206 2003-03-18  Michael Koch  <konqueror@gmx.de>
8207
8208         * configure.in: Fixed links to platform dependant java.net files.
8209         * configure: Regenerated.
8210         * java/net/natInetAddress.cc,
8211         java/net/natNetworkInterface.cc,
8212         java/net/natPlainDatagramSocketImpl.cc,
8213         java/net/natPlainSocketImpl.cc:
8214         Removed.
8215
8216 2003-03-18  Michael Koch  <konqueror@gmx.de>
8217
8218         * configure.in: Create links to architecture dependent files,
8219         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8220         * configure: Regenerated.
8221         * java/net/natInetAddressNoNet.cc,
8222         java/net/natInetAddressPosix.cc,
8223         java/net/natInetAddressWin32.cc,
8224         java/net/natNetworkInterfaceNoNet.cc,
8225         java/net/natNetworkInterfacePosix.cc,
8226         java/net/natNetworkInterfaceWin32.cc,
8227         java/net/natPlainDatagramSocketImplNoNet.cc,
8228         java/net/natPlainDatagramSocketImplPosix.cc,
8229         java/net/natPlainDatagramSocketImplWin32.cc,
8230         java/net/natPlainSocketImplNoNet.cc,
8231         java/net/natPlainSocketImplPosix.cc,
8232         java/net/natPlainSocketImplWin32.cc: New files.
8233
8234 2003-03-18  Michael Koch  <konqueror@gmx.de>
8235
8236         * java/io/BufferedReader.java,
8237         java/io/BufferedWriter.java,
8238         java/io/ByteArrayOutputStream.java,
8239         java/io/FileFilter.java,
8240         java/io/FilePermission.java,
8241         java/io/FileReader.java,
8242         java/io/FileWriter.java,
8243         java/io/FilenameFilter.java,
8244         java/io/FilterInputStream.java,
8245         java/io/FilterOutputStream.java,
8246         java/io/FilterReader.java,
8247         java/io/FilterWriter.java,
8248         java/io/ObjectInput.java,
8249         java/io/ObjectInputValidation.java,
8250         java/io/ObjectOutput.java,
8251         java/io/ObjectStreamField.java,
8252         java/io/PipedInputStream.java,
8253         java/io/PipedReader.java,
8254         java/io/PrintWriter.java,
8255         java/io/PushbackReader.java,
8256         java/io/Reader.java,
8257         java/io/SerializablePermission.java,
8258         java/io/StringReader.java,
8259         java/io/Writer.java:
8260         Merged from classpath.
8261
8262 2003-03-17  Michael Koch  <konqueror@gmx.de>
8263
8264         * java/awt/ScrollPaneAdjustable.java:
8265         Compile fixes.
8266         
8267 2003-03-17  Michael Koch  <konqueror@gmx.de>
8268
8269         * java/net/DatagramSocket.java
8270         (connect): Fixed comment.
8271         * java/nio/ByteBuffer.java
8272         (hasArray): Fixed comment.
8273
8274 2003-03-17  Michael Koch  <konqueror@gmx.de>
8275
8276         * java/beans/Beans.java:
8277         Explicitely import classes not packages.
8278         * java/beans/FeatureDescriptor.java
8279         (preferred): New member variable.
8280         (isPreferred): New method.
8281         (setPreferred): New method.
8282         * java/beans/PropertyEditorManager.java:
8283         Explicitely import used classes.
8284         * java/beans/beancontext/BeanContextChild.java:
8285         Added line wrapping.
8286         * java/beans/beancontext/BeanContextChildSupport.java:
8287         Reindented.
8288         * java/beans/beancontext/BeanContextEvent.java:
8289         Reindented.
8290
8291 2003-03-17  Michael Koch  <konqueror@gmx.de>
8292
8293         * java/awt/Dialog.java
8294         (Dialog): New constructor, changed implementations, added
8295         documentation.
8296         * java/awt/ScrollPaneAdjustable.java
8297         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8298         Serializable.
8299         (serialVersionUID): New member variable.
8300         (sp): New member variable.
8301         (orientation): New member variable.
8302         (value): New member variable.
8303         (minimum): New member variable.
8304         (maximum): New member variable.
8305         (visibleAmount): New member variable.
8306         (unitIncrement): New member variable.
8307         (blockIncrement): New member variable.
8308         (AdjustmentListener): New member variable.
8309         (ScrollPaneAdjustable): New implementation.
8310         (addAdjustmentListener): New method.
8311         (removeAdjustmentListener): New method.
8312         (getAdjustmentListeners): New method.
8313         (getBlockIncrement): New method.
8314         (getMaximum): New method.
8315         (getMinimum): New method.
8316         (getOrientation): New method.
8317         (getUnitIncrement): New method.
8318         (getValue): New method.
8319         (getVisibleAmount): New method.
8320         (setBlockIncrement): New method.
8321         (setMaximum): Implemented.
8322         (setMinimum): Implemented.
8323         (setUnitIncrement): New method.
8324         (setValue): New method.
8325         (setVisibleAmount): Implemented. 
8326         (paramString): New stubbed method.
8327         * java/awt/Window.java
8328         (show): Call setVisible().
8329         (hide): Call setVisible().
8330         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8331         and WINDOW_STATE_CHANGED.
8332         (processWindowFocusEvent): New method.
8333         (processWindowStateEvent): New method.
8334         (postEvent): Deprecated.
8335         (applyResourceBundle): Deprecated.
8336         * java/awt/datatransfer/DataFlavor.java
8337         (DataFlavor): Doesn't thow ClassNotFoundException.
8338
8339 2003-03-17  Michael Koch
8340
8341         * javax/print/attribute/Attribute.java,
8342         javax/print/attribute/AttributeSet.java,
8343         javax/print/attribute/PrintRequestAttributeSet.java:
8344         New files.
8345         * Makefile.am
8346         (javax_source_files): Added new files:
8347         javax/print/attribute/Attribute.java
8348         javax/print/attribute/AttributeSet.java
8349         javax/print/attribute/PrintRequestAttributeSet.java
8350         * Makefile.in: Regenerated.
8351
8352 2003-03-17  Michael Koch
8353
8354         * javax/print/attribute/Attribute.java,
8355         javax/print/attribute/AttributeSet.java,
8356         javax/print/attribute/PrintRequestAttributeSet.java:
8357         New files.
8358         * Makefile.am
8359         (awt_java_source_files): Added new files:
8360         javax/print/attribute/Attribute.java
8361         javax/print/attribute/AttributeSet.java
8362         javax/print/attribute/PrintRequestAttributeSet.java
8363         * Makefile.in: Regenerated.
8364
8365 2003-03-16  Tom Tromey  <tromey@redhat.com>
8366
8367         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8368         Include platform.h.
8369         * java/lang/natRuntime.cc (insertSystemProperties): Use
8370         _Jv_platform_path_separator.
8371         (nativeGetLibname): Use _Jv_platform_file_separator.
8372         (_load): Use _Jv_platform_onload_names.
8373         (onload_names): New global.
8374         * include/win32.h (_Jv_platform_file_separator): New define.
8375         (_Jv_platform_path_separator): Likewise.
8376         (_Jv_platform_onload_names): Likewise.
8377         (_Jv_platform_ffi_abi): Likewise.
8378         * include/posix.h (_Jv_platform_file_separator): New define.
8379         (_Jv_platform_path_separator): Likewise.
8380         (_Jv_platform_onload_names): Likewise.
8381         (_Jv_platform_ffi_abi): Likewise.
8382
8383 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8384
8385         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8386
8387 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8388
8389         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8390         hierarchy loop.
8391         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8392         list to Object,ObjectStreamClass, moved callReadMethod code up into
8393         readObject and added Class argument to all setXxxField calls.
8394         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8395         consistent with ObjectOutputStream and to facilitate caching the
8396         Method in the future.
8397         (setBooleanField): Added Class argument.
8398         (setByteField): Likewise.
8399         (setCharField): Likewise.
8400         (setDoubleField): Likewise.
8401         (setFloatField): Likewise.
8402         (setIntField): Likewise.
8403         (setLongField): Likewise.
8404         (setShortField): Likewise.
8405         (setObjectField): Likewise.
8406         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8407         class hierarchy loop.
8408         (defaultWriteObject): Call writeFields with new argument list.
8409         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8410         list to Object,ObjectStreamClass, moved callWriteMethod up into
8411         writeObject and added Class argument to all getXxxField calls.
8412         (callWriteMethod): Added ObjectStreamClass argument to be able to
8413         get the proper class to call getMethod on (each class can have (or
8414         not have) its own writeObject method).
8415         (getBooleanField): Added Class argument.
8416         (getByteField): Likewise.
8417         (getCharField): Likewise.
8418         (getDoubleField): Likewise.
8419         (getFloatField): Likewise.
8420         (getIntField): Likewise.
8421         (getLongField): Likewise.
8422         (getShortField): Likewise.
8423         (getObjectField): Likewise.
8424         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8425         facilitate caching the Method object in the future.
8426
8427 2003-03-12  Andreas Schwab  <schwab@suse.de>
8428
8429         * configure.in: Avoid trailing /. in toolexeclibdir.
8430         * configure: Rebuilt.
8431
8432 2003-03-11  Michael Koch  <konqueror@gmx.de>
8433
8434         * gnu/java/nio/ByteBufferImpl.java
8435         (putInt): Use limit() instead of limit.
8436         * gnu/java/nio/CharBufferImpl.java
8437         (slice): Fixed implementation.
8438         (subSequence): Better bounds checking.
8439         * gnu/java/nio/MappedByteFileBuffer.java:
8440         Import all needed classes directly.
8441         * java/nio/ByteBuffer.java
8442         (hashCode): New dummy method.
8443         * java/nio/CharBuffer.java
8444         (array_offset): New member variable.
8445         (hasArray): Fixed documentation.
8446         (arrayOffset): Return array_offset.
8447
8448 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8449
8450         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8451         setter; made return value of getter const char* instead of char*
8452         * prims.cc: removed all references to _Jv_ThisExecutable().
8453         These are in the platform-specific sections now.
8454         * posix.cc: define platform-specific _Jv_ThisExecutable().
8455         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8456         * win32.cc: define platform-specific _Jv_ThisExecutable()
8457         using GetModuleFilename()
8458         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8459         to argv[0] instead of _Jv_ThisExecutable()
8460
8461 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8462
8463         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8464         that is set if we are using addr2name.awk instead of addr2line.
8465         (NameFinder): Set usingAddr2name if using addr2name.awk.
8466         (getExternalLabel): New native method to convert a method 
8467         name to an external label.
8468         (lookup): Convert name given by addr2line to an external label
8469         before demangling.
8470
8471         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8472         constant representing the prefix attached to method names to
8473         convert them to an external label.
8474         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8475         using LABEL_PREFIX.
8476
8477 2003-03-10  Tom Tromey  <tromey@redhat.com>
8478
8479         * Makefile.in: Rebuilt.
8480         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8481         (JC1FLAGS): Removed -Wno-deprecated.
8482
8483 2003-03-10  Michael Koch  <konqueror@gmx.de>
8484
8485         * java/nio/ByteOrder.java
8486         (nativeOrder): Working implementation, added documentation.
8487         (toString): Added documentation.
8488
8489 2003-03-10  Michael Koch  <konqueror@gmx.de>
8490
8491         * java/net/DatagramSocket.java,
8492         java/net/MulticastSocket.java,
8493         java/net/Socket.java,
8494         java/net/URL.java,
8495         java/net/URLConnection.java:
8496         Fixed some documentation tags to make javadoc and friends happy.
8497
8498 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8499
8500         * java/beans/beancontext/BeanContextServicesSupport.java,
8501         java/beans/beancontext/BeanContextSupport.java: New files.
8502         * Makefile.am
8503         (awt_source_files): Added new files.
8504         * Makefile.in: Regenerated.
8505
8506 2003-03-10  Michael Koch  <konqueror@gmx.de>
8507
8508         * java/awt/FocusTraversalPolicy.java
8509         (FocusTraversalPolicy): Documentation added.
8510         (getComponentAfter): Documentation added.
8511         (getComponentBefore): Documentation added.
8512         (getFirstComponent): Documentation added.
8513         (getLastComponent): Documentation added.
8514         (getDefaultComponent): Documentation added.
8515         (getInitialComponent): Documentation added.
8516         * java/awt/ScrollPaneAdjustable.java
8517         (sp): New member variable.
8518         (orientation): New member variable.
8519         (value): New member variable.
8520         (minimum): New member variable.
8521         (maximum): New member variable.
8522         (visibleAmount): New member variable.
8523         (unitIncrement): New member variable.
8524         (blockIncrement): New member variable.
8525         (adjustmentListener): New member variable.
8526         (ScrollPaneAdjustable): Rewrote.
8527         (addAdjustmentListener): New method.
8528         (removeAdjustmentListener): New method.
8529         (getAdjustmentListeners): New method.
8530         (getBlockIncrement): New method.
8531         (getMaximum): New method.
8532         (getMinimum): New method.
8533         (getOrientation): New method.
8534         (getUnitIncrement): New method.
8535         (getValue): New method.
8536         (getVisibleAmount): New method.
8537         (setBlockIncrement): New method.
8538         (setUnitIncrement): New method.
8539         (setMaximum): Implemented.
8540         (setMinimum): Implemented.
8541         (setValue): New method.
8542         (setVisibleAmount): Implemented.
8543         (paramString): New method.
8544         * java/awt/Window.java
8545         (show): Use setVisible(true) instead of super.show().
8546         (hide): Use sevVisible(false) instead of super.hide().
8547         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8548         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8549         (postEvent): Deprecated.
8550         (applyResourceBundle): Deprecated.
8551         (processWindowFocusEvent): New method.
8552         (processWindowStateEvent): New method.
8553         * java/awt/datatransfer/DataFlavor.java: Reindented.
8554         * java/awt/font/TextHitInfo.java
8555         (charIndex): New member variable.
8556         (leadingEdge): New member variable.
8557         (TextHitInfo): New constructor.
8558         (getCharIndex): Implemented.
8559         (isLeadingEdge): Implemented.
8560         (getInsertionIndex): Implemented.
8561         (hashCode): Access charIndex directly.
8562         (equals): Reformated.
8563         (leading): Implemented.
8564         (trailing): Implemented.
8565         (beforeOffset): Implemented.
8566         (afterOffset): Implemented.
8567         (getOtherHit): Implemented.
8568         (getOffsetHit): Implemented.
8569         (toString): Implemented.
8570         * java/awt/image/BufferedImage.java
8571         (BufferedImage): Implements WritableRenderedImage.
8572         (observers): New member variable.
8573         (addTileObserver): New method.
8574         (removeTileObserver): New method.
8575
8576 2003-03-09  Tom Tromey  <tromey@redhat.com>
8577
8578         PR libgcj/9934:
8579         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8580         to lseek.  Return 0 if we can't compute the value.
8581
8582 2003-03-03  Michael Koch  <konqueror@gmx.de>
8583
8584         * java/net/NetworkInterface.java: Merged with classpath.
8585
8586 2003-03-03  Tom Tromey  <tromey@redhat.com>
8587
8588         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8589         of bytecode.
8590         (handle_ret_insn): Fail if returning to jsr that appears at end of
8591         bytecode.
8592
8593 2003-03-03  Michael Koch  <konqueror@gmx.de>
8594
8595         * Makefile.am
8596         (ordinary_java_source_files):
8597         Added gnu/java/nio/MappedByteFileBuffer.java.
8598         (nat_source_files):
8599         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8600         * Makefile.in: Regenerated.
8601
8602 2003-03-03  Michael Koch  <konqueror@gmx.de>
8603
8604         * java/net/DatagramSocket.java
8605         (connect): Merged comment from classpath.
8606         (receive): Merged documentation from classpath.
8607         * java/net/Socket.java
8608         (setSoTimeout): Clarified documentation.
8609         * java/net/URL.java
8610         (getPath): Merged from classpath.
8611         (getUserInfo): Merged from classpath.
8612         (getQuery): Merged from classpath.
8613         * java/net/URLStreamHandler.java
8614         (toExternalForm): Merged from classpath.
8615
8616 2003-03-02  Mark Wielaard  <mark@klomp.org>
8617
8618         * java/util/Properties.java (load): Only skip line if the first
8619         character is a comment, whitespaces don't count.
8620
8621 2003-03-02  Michael Koch  <konqueror@gmx.de>
8622
8623         * java/net/NetPermission.java:
8624         Merged copyright with classpath.
8625
8626 2003-03-02  Michael Koch  <konqueror@gmx.de>
8627
8628         * java/lang/Package.java:
8629         Remerged from classpath.
8630
8631 2003-03-02  Michael Koch  <konqueror@gmx.de>
8632
8633         * java/net/HttpURLConnection.java
8634         (HTTP_SERVER_ERROR): Deprecated.
8635         * java/net/MulticastSocket.java
8636         (send): Replaced checkMulticast with appropriate checkPermission call,
8637         deprecated.
8638         * java/net/URLDecoder.java
8639         (decode): Deprecated.
8640         * java/net/URLEncoder.java
8641         (encode): Deprecated.
8642
8643 2003-03-02  Michael Koch  <konqueror@gmx.de>
8644
8645         * javax/swing/text/Caret.java
8646         (getMagicCaretPosition): Fixed typo in method name.
8647         * javax/swing/text/DefaultCaret.java
8648         (getMagicCaretPosition): Fixed typo in method name.
8649
8650 2003-03-02  Michael Koch  <konqueror@gmx.de>
8651
8652         * java/awt/List.java
8653         (setMultipleSelections): Deprecated.
8654         (delItem): Deprecated.
8655         * java/awt/MenuComponent.java
8656         (getPeer): Deprecated.
8657         * java/awt/ScrollPane.java
8658         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8659         * java/awt/dnd/MouseDragGestureRecognizer.java
8660         (mouseClicked): Added comment.
8661         (mousePressed): Added comment.
8662         (mouseReleased): Added comment.
8663         (mouseEntered): Added comment.
8664         (mouseExited): Added comment.
8665         (mouseDragged): Added comment.
8666         (mouseMoved): Added comment.
8667         * java/awt/event/KeyEvent.java
8668         (KeyEvent): Deprecated.
8669         (setModifiers): Deprecated.
8670         
8671 2003-03-02  Michael Koch  <konqueror@gmx.de>
8672
8673         * gnu/java/nio/FileChannelImpl.java
8674         (fd): Type FileDescriptor instead of int.
8675         (lengthInternal): Removed.
8676         (FileChannelImpl): Fixed arguments, check type of file object.
8677         (size): Made it native.
8678         (implPosition): New native method.
8679         (implTruncate): New native method.
8680         (position): Implemented.
8681         (truncate): Implemented.
8682         (nio_mmap_file): Changed arguments.
8683         (nio_munmap_file): Changed arguments.
8684         (nio_msync): Changed arguments.
8685         * gnu/java/nio/natFileChannelImpl.cc
8686         (lengthInternal): Removed.
8687         (size): New method.
8688         (implPosition): New method.
8689         (implTruncate): New method.
8690         (nio_mmap_file): Changed arguments.
8691         (nio_munmap_file): Changed arguments.
8692         (nio_msync): Changed arguments.
8693
8694 2003-03-02  Michael Koch  <konqueror@gmx.de>
8695
8696         * java/awt/dnd/DropTargetContext.java:
8697         Compile fix: Forgot to commit import.
8698         
8699 2003-03-02  Michael Koch  <konqueror@gmx.de>
8700
8701         * java/awt/Component.java,
8702         java/awt/ScrollPane.java:
8703         Fixed typos.
8704
8705 2003-03-02  Michael Koch  <konqueror@gmx.de>
8706
8707         * java/awt/dnd/DnDEventMulticaster.java: New file.
8708         * java/awt/dnd/DragSource.java
8709         (flavorMap): New member variable.
8710         (dragSourceListener): New member variable.
8711         (dragSourceMotionListener): New member variable.
8712         (getFlavorMap): Implemented.
8713         (createDragGestureRecognizer): Implemented.
8714         (addDragSourceListener): Implemented.
8715         (removeDragSourceListener): Implemented.
8716         (getDragSourceListeners): Implemented.
8717         (addDragSourceMotionListener): Implemented.
8718         (removeDragSourceMotionListener): Implemented.
8719         (getDragSourceMotionListeners): Implemented.
8720         (getListeners): Implemented.
8721         * java/awt/dnd/DragSourceContext.java
8722         (peer): New member variable.
8723         (cursor): New member variable.
8724         (transferable): New member variable.
8725         (trigger): New member variable.
8726         (dragSourceListener): New member variable.
8727         (image): New member variable.
8728         (offset): New member variable.
8729         (DragSourceContext): Implemented.
8730         (getDragSource): Implemented.
8731         (getComponent): Implemented.
8732         (getTrigger): Implemented.
8733         (getSourceActions): Implemented.
8734         (setCursor): Implemented.
8735         (getCursor): Implemented.
8736         (addDragSourceListener): Implemented.
8737         (removeDragSourceListener): Implemented.
8738         (getTransferable): Implemented.
8739         * java/awt/dnd/DropTarget.java
8740         (DropTargetAutoScroller.component): New member variable.
8741         (DropTargetAutoScroller.point): New member variable.
8742         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8743         (DropTargetAutoScroller.updateLocation): Implemented.
8744         (active): Renamed from isActive, defaults to true now.
8745         (component): New member variable.
8746         (flavorMap): New member variable.
8747         (actions): New member variable.
8748         (dropTargetContext): New member variable.
8749         (dropTargetListener): New member variable.
8750         (DropTarget): Implemented.
8751         (getComponent): Implemented.
8752         (setComponent): Implemented.
8753         (setDefaultActions): Implemented.
8754         (getDefaultActions): Implemented.
8755         (setActive): Use active instead of isActive.
8756         (isActive): Use active instead of isActive.
8757         (addDropTargetListener): Implemented.
8758         (removeDropTargetListener): Implemented.
8759         (getFlavorMap): Implemented.
8760         (setFlavorMap): Implemented.
8761         (getDropTargetContext): Implemented.
8762         (createDropTargetContext): Implemented.
8763         (createDropTargetAutoScroller): Implemented.
8764         * java/awt/dnd/DropTargetContext.java
8765         (TransferableProxy.getTransferDataFlavors): Implemented.
8766         (TransferableProxy.isDataFlavorSupported): Implemented.
8767         (TransferableProxy.getTransferData): Implemented.
8768         (dropTarget):  New member variable.
8769         (dtcp): New member variable.
8770         (DropTargetContext): New package private constructor.
8771         (getDropTarget): Implemented.
8772         (getComponent): Implemented.
8773         (addNotify): Implemented.
8774         (removeNotify): Implemented.
8775         (getCurrentDataFlavorsAsList): Implemented.
8776         (isDataFlavorSupported): Implemented.
8777         * java/awt/dnd/MouseDragGestureRecognizer.java
8778         (registerListeners): Implemented.
8779         (unregisterListeners): Implemented.
8780         * Makefile.am
8781         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8782         * Makefile.in: Regenerated.
8783
8784 2003-03-02  Michael Koch  <konqueror@gmx.de>
8785
8786         * java/awt/Component.java
8787         (eventTypeEnabled): New method.
8788         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8789         * java/awt/Container.java
8790         (changeSupport): New member variable.
8791         (addPropertyChangeListener): New methods.
8792         * java/awt/ContainerOrderFocusTraversalPolicy.java
8793         (ContainerOrderFocusTraversalPolicy): Added comment.
8794         (getComponentAfter): Throw exception, documentation added.
8795         (getComponentBefore): Throw exception, documentation added.
8796         (getFirstComponent): Throw exception, documentation added.
8797         (getLastComponent): Throw exception, documentation added.
8798         (getDefaultComponent): Throw exception, documentation added.
8799         * java/awt/EventQueue.java: Reindented.
8800         * java/awt/FocusTraversalPolicy.java:
8801         (FocusTraversalPolicy): Added comment.
8802         (getComponentAfter): Documentation added.
8803         (getComponentBefore): Documentation added.
8804         (getFirstComponent): Documentation added.
8805         (getLastComponent): Documentation added.
8806         (getDefaultComponent): Documentation added.
8807         (getInitialComponent): Documentation added.
8808         * java/awt/ScrollPane.java
8809         (wheelScrollingEnabled): New member variable.
8810         (ScrollPane): Initialize wheelScollingEnabled.
8811         (eventTypeEnabled): New method.
8812         (isWheelScrollingEnabled): New method.
8813         (setWheelScrollingEnabled): New method.
8814
8815 2003-03-02  Michael Koch  <konqueror@gmx.de>
8816
8817         * java/net/DatagramSocket.java
8818         (closed): New member variable.
8819         (close): Use closed variable.
8820         (getInetAddress): No need to call isConnected().
8821         (getPort): No need to call isConnected().
8822         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8823         (isClosed): Reimplemented.
8824         
8825 2003-03-02  Michael Koch  <konqueror@gmx.de>
8826
8827         * configure.in: Added check for memory mapping of files.
8828         * configure: Regenerated.
8829         * config.h.in: Regenerated.
8830
8831 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8832
8833         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8834         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8835
8836 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8837
8838         * java/io/File.java (normalizePath): Remove trailing separator
8839         on Windows only if path is not of the form "x:\".
8840
8841         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8842         (java::io::File::attr): Change formatting a bit and use
8843         WIN32_EPOCH_MILLIS instead of magic numbers.
8844         (java::io::File::isAbsolute): Path must have at least 3 
8845         characters for a UNC network path.
8846         (java::io::File::init_native): Define.
8847         (java::io::File::performCreate): Likewise.
8848         (java::io::File::performSetReadOnly): Likewise.
8849         (java::io::File::performSetLastModified): Likewise.
8850         (java::io::File::performListRoots): Likewise.
8851
8852 2003-03-01  Tom Tromey  <tromey@redhat.com>
8853
8854         * java/lang/natObject.cc: Don't include assert.h.
8855         (heavy_lock_obj_finalization_proc): Use JvAssert.
8856         (remove_all_heavy): Likewise.
8857         (_Jv_MonitorEnter): Likewise.
8858         (_Jv_MonitorExit): Likewise.
8859         (wait): Likewise.
8860
8861 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8862
8863         * java/io/File (getAbsolutePath): Prefix drive specifier on
8864         Windows for paths starting with a '\'.
8865         (toURL): Make URL more consistent with what Sun's JDK returns.
8866
8867         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8868         true only if the path is a UNC network path or it starts with a
8869         drive specifier.
8870
8871         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8872         Be prepared to handle either '/' or '\\' in the file path for
8873         Windows if using the "file" protocol.
8874         Canonicalise the file path if using a relative path in the given
8875         context and the "file" protocol.
8876
8877 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8878
8879         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8880         program array element passed to CreateProcess.
8881
8882 2003-03-01  Tom Tromey  <tromey@redhat.com>
8883
8884         * java/rmi/registry/RegistryHandler.java: Deprecate.
8885
8886 2003-03-01  Tom Tromey  <tromey@redhat.com>
8887
8888         * javax/accessibility/AccessibleEditableText.java,
8889         javax/accessibility/AccessibleHyperlink.java: New versions from
8890         Classpath.
8891
8892         * gnu/java/locale/LocaleInformation_af_ZA.java,
8893         gnu/java/locale/LocaleInformation_ar_AE.java,
8894         gnu/java/locale/LocaleInformation_ar_BH.java,
8895         gnu/java/locale/LocaleInformation_ar_DZ.java,
8896         gnu/java/locale/LocaleInformation_ar_EG.java,
8897         gnu/java/locale/LocaleInformation_ar_IN.java,
8898         gnu/java/locale/LocaleInformation_ar_IQ.java,
8899         gnu/java/locale/LocaleInformation_ar_JO.java,
8900         gnu/java/locale/LocaleInformation_ar_KW.java,
8901         gnu/java/locale/LocaleInformation_ar_LB.java,
8902         gnu/java/locale/LocaleInformation_ar_LY.java,
8903         gnu/java/locale/LocaleInformation_ar_MA.java,
8904         gnu/java/locale/LocaleInformation_ar_OM.java,
8905         gnu/java/locale/LocaleInformation_ar_QA.java,
8906         gnu/java/locale/LocaleInformation_ar_SD.java,
8907         gnu/java/locale/LocaleInformation_ar_SY.java,
8908         gnu/java/locale/LocaleInformation_ar_TN.java,
8909         gnu/java/locale/LocaleInformation_ar_YE.java,
8910         gnu/java/locale/LocaleInformation_be_BY.java,
8911         gnu/java/locale/LocaleInformation_bn_IN.java,
8912         gnu/java/locale/LocaleInformation_br_FR.java,
8913         gnu/java/locale/LocaleInformation_bs_BA.java,
8914         gnu/java/locale/LocaleInformation_ca_ES.java,
8915         gnu/java/locale/LocaleInformation_cs_CZ.java,
8916         gnu/java/locale/LocaleInformation_cy_GB.java,
8917         gnu/java/locale/LocaleInformation_da_DK.java,
8918         gnu/java/locale/LocaleInformation_de_AT.java,
8919         gnu/java/locale/LocaleInformation_de_BE.java,
8920         gnu/java/locale/LocaleInformation_de_CH.java,
8921         gnu/java/locale/LocaleInformation_de_DE.java,
8922         gnu/java/locale/LocaleInformation_de_LU.java,
8923         gnu/java/locale/LocaleInformation_el_GR.java,
8924         gnu/java/locale/LocaleInformation_en_AU.java,
8925         gnu/java/locale/LocaleInformation_en_BW.java,
8926         gnu/java/locale/LocaleInformation_en_CA.java,
8927         gnu/java/locale/LocaleInformation_en_DK.java,
8928         gnu/java/locale/LocaleInformation_en_GB.java,
8929         gnu/java/locale/LocaleInformation_en_HK.java,
8930         gnu/java/locale/LocaleInformation_en_IE.java,
8931         gnu/java/locale/LocaleInformation_en_IN.java,
8932         gnu/java/locale/LocaleInformation_en_NZ.java,
8933         gnu/java/locale/LocaleInformation_en_PH.java,
8934         gnu/java/locale/LocaleInformation_en_SG.java,
8935         gnu/java/locale/LocaleInformation_en_US.java,
8936         gnu/java/locale/LocaleInformation_en_ZA.java,
8937         gnu/java/locale/LocaleInformation_en_ZW.java,
8938         gnu/java/locale/LocaleInformation_es_AR.java,
8939         gnu/java/locale/LocaleInformation_es_BO.java,
8940         gnu/java/locale/LocaleInformation_es_CL.java,
8941         gnu/java/locale/LocaleInformation_es_CO.java,
8942         gnu/java/locale/LocaleInformation_es_CR.java,
8943         gnu/java/locale/LocaleInformation_es_DO.java,
8944         gnu/java/locale/LocaleInformation_es_EC.java,
8945         gnu/java/locale/LocaleInformation_es_ES.java,
8946         gnu/java/locale/LocaleInformation_es_GT.java,
8947         gnu/java/locale/LocaleInformation_es_HN.java,
8948         gnu/java/locale/LocaleInformation_es_MX.java,
8949         gnu/java/locale/LocaleInformation_es_NI.java,
8950         gnu/java/locale/LocaleInformation_es_PA.java,
8951         gnu/java/locale/LocaleInformation_es_PE.java,
8952         gnu/java/locale/LocaleInformation_es_PR.java,
8953         gnu/java/locale/LocaleInformation_es_PY.java,
8954         gnu/java/locale/LocaleInformation_es_SV.java,
8955         gnu/java/locale/LocaleInformation_es_US.java,
8956         gnu/java/locale/LocaleInformation_es_UY.java,
8957         gnu/java/locale/LocaleInformation_es_VE.java,
8958         gnu/java/locale/LocaleInformation_et_EE.java,
8959         gnu/java/locale/LocaleInformation_eu_ES.java,
8960         gnu/java/locale/LocaleInformation_fa_IR.java,
8961         gnu/java/locale/LocaleInformation_fi_FI.java,
8962         gnu/java/locale/LocaleInformation_fo_FO.java,
8963         gnu/java/locale/LocaleInformation_fr_BE.java,
8964         gnu/java/locale/LocaleInformation_fr_CA.java,
8965         gnu/java/locale/LocaleInformation_fr_CH.java,
8966         gnu/java/locale/LocaleInformation_fr_FR.java,
8967         gnu/java/locale/LocaleInformation_fr_LU.java,
8968         gnu/java/locale/LocaleInformation_ga_IE.java,
8969         gnu/java/locale/LocaleInformation_gd_GB.java,
8970         gnu/java/locale/LocaleInformation_gl_ES.java,
8971         gnu/java/locale/LocaleInformation_gv_GB.java,
8972         gnu/java/locale/LocaleInformation_he_IL.java,
8973         gnu/java/locale/LocaleInformation_hi_IN.java,
8974         gnu/java/locale/LocaleInformation_hr_HR.java,
8975         gnu/java/locale/LocaleInformation_hu_HU.java,
8976         gnu/java/locale/LocaleInformation_id_ID.java,
8977         gnu/java/locale/LocaleInformation_it_CH.java,
8978         gnu/java/locale/LocaleInformation_it_IT.java,
8979         gnu/java/locale/LocaleInformation_iw_IL.java,
8980         gnu/java/locale/LocaleInformation_ja_JP.java,
8981         gnu/java/locale/LocaleInformation_ka_GE.java,
8982         gnu/java/locale/LocaleInformation_kl_GL.java,
8983         gnu/java/locale/LocaleInformation_ko_KR.java,
8984         gnu/java/locale/LocaleInformation_kw_GB.java,
8985         gnu/java/locale/LocaleInformation_lt_LT.java,
8986         gnu/java/locale/LocaleInformation_lv_LV.java,
8987         gnu/java/locale/LocaleInformation_mi_NZ.java,
8988         gnu/java/locale/LocaleInformation_mk_MK.java,
8989         gnu/java/locale/LocaleInformation_mr_IN.java,
8990         gnu/java/locale/LocaleInformation_mt_MT.java,
8991         gnu/java/locale/LocaleInformation_nl_BE.java,
8992         gnu/java/locale/LocaleInformation_nl_NL.java,
8993         gnu/java/locale/LocaleInformation_nn_NO.java,
8994         gnu/java/locale/LocaleInformation_no_NO.java,
8995         gnu/java/locale/LocaleInformation_oc_FR.java,
8996         gnu/java/locale/LocaleInformation_pl_PL.java,
8997         gnu/java/locale/LocaleInformation_pt_BR.java,
8998         gnu/java/locale/LocaleInformation_pt_PT.java,
8999         gnu/java/locale/LocaleInformation_ro_RO.java,
9000         gnu/java/locale/LocaleInformation_ru_RU.java,
9001         gnu/java/locale/LocaleInformation_ru_UA.java,
9002         gnu/java/locale/LocaleInformation_se_NO.java,
9003         gnu/java/locale/LocaleInformation_sk_SK.java,
9004         gnu/java/locale/LocaleInformation_sl_SI.java,
9005         gnu/java/locale/LocaleInformation_sq_AL.java,
9006         gnu/java/locale/LocaleInformation_sr_YU.java,
9007         gnu/java/locale/LocaleInformation_sv_FI.java,
9008         gnu/java/locale/LocaleInformation_sv_SE.java,
9009         gnu/java/locale/LocaleInformation_ta_IN.java,
9010         gnu/java/locale/LocaleInformation_te_IN.java,
9011         gnu/java/locale/LocaleInformation_tg_TJ.java,
9012         gnu/java/locale/LocaleInformation_tl_PH.java,
9013         gnu/java/locale/LocaleInformation_tr_TR.java,
9014         gnu/java/locale/LocaleInformation_uk_UA.java,
9015         gnu/java/locale/LocaleInformation_ur_PK.java,
9016         gnu/java/locale/LocaleInformation_uz_UZ.java,
9017         gnu/java/locale/LocaleInformation_vi_VN.java,
9018         gnu/java/locale/LocaleInformation_yi_US.java,
9019         gnu/java/locale/LocaleInformation_zh_CN.java,
9020         gnu/java/locale/LocaleInformation_zh_HK.java,
9021         gnu/java/locale/LocaleInformation_zh_SG.java,
9022         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9023         info; from Classpath.
9024
9025         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9026         isPaintPending): New methods.
9027         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9028         setMaximizedBounds): New methods.
9029         (beginLayout, endLayout, isPaintPending): Likewise.
9030         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9031         (requestFocus): Likewise.
9032         (isObscured): Likewise.
9033         (canDetermineObscurity): Likewise.
9034         (coalescePaintEvent): Likewise.
9035         (updateCursorImmediately): Likewise.
9036         (createVolatileImage): Likewise.
9037         (handlesWheelScrolling): Likewise.
9038         (createBuffers): Likewise.
9039         (getBackBuffer): Likewise.
9040         (flip): Likewise.
9041         (destroyBuffers): Likewise.
9042
9043         * Makefile.in: Rebuilt.
9044         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9045         RobotPeer.java.
9046         * gnu/java/awt/GLightweightPeer.java,
9047         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9048         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9049         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9050         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9051         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9052         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9053         java/awt/dnd/peer/DragSourceContextPeer.java,
9054         java/awt/dnd/peer/DropTargetContextPeer.java,
9055         java/awt/peer/ButtonPeer.java,
9056         java/awt/peer/CheckboxMenuItemPeer.java,
9057         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9058         java/awt/peer/ComponentPeer.java,
9059         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9060         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9061         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9062         java/awt/peer/MenuBarPeer.java,
9063         java/awt/peer/MenuComponentPeer.java,
9064         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9065         java/awt/peer/PopupMenuPeer.java,
9066         java/awt/peer/ScrollPanePeer.java,
9067         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9068         java/awt/peer/TextComponentPeer.java,
9069         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9070         New versions from Classpath.
9071         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9072         * java/awt/peer/RobotPeer.java: Likewise.
9073
9074 2003-03-01  Mark Wielaard  <mark@klomp.org>
9075
9076         * java/io/ObjectInputStream.java: Reindent.
9077         * java/io/ObjectOutputStream.java: Likewise.
9078
9079 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9080
9081         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9082         jvalue for each argument. Simplify.
9083         * testsuite/libjava.jni/calls.c (docall),
9084         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9085         misalignment.
9086
9087 2003-02-28  Mark Wielaard  <mark@klomp.org>
9088
9089         * Makefile.am (nat_source_files): Remove
9090         java/io/natObjectOutputStream.cc.
9091         * Makefile.in: Regenerated.
9092         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9093         * java/io/ObjectStreamField.java (typename): New field.
9094         (ObjectStreamField(String, Class)): Initialize new field.
9095         (ObjectStreamField(String, String)): New Constructor.
9096         (getTypeCode): Use new field.
9097         (getTypeString): Use new field.
9098         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9099         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9100         Handle reading of Proxy classes. Never drain(), just write
9101         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9102         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9103         (flush): Call flush(), not just drain().
9104         (writeBoolean): Always use blockDataOutput.
9105         (writeByte): Likewise.
9106         (writeShort): Likewise.
9107         (writeChar): Likewise.
9108         (writeInt): Likewise.
9109         (writeLong): Likewise.
9110         (writeFloat): Likewise.
9111         (writeDouble): Likewise.
9112         (writeBytes): Likewise.
9113         (putfield (put(String,Object))): Throw IllegalArgumentException if
9114         field cannot be found.
9115         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9116         (writeArraySizeAndElements): Write byte[] in one go.
9117         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9118         set BlockDataMode to false.
9119         (annotateProxyClass): New method.
9120         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9121         (getField): No longer native.
9122         (getMethod): Likewise.
9123         (setBlockDataMode): Always drain() on switch, return old mode.
9124         (static): New static code block.
9125         * java/io/natObjectOutputStream.cc: Removed.
9126         * java/io/ObjectInputStream.java (getField): No longer native.
9127         (getMethod): Likewise.
9128         (readObject): Remember and reset old BlockDataMode. Track whether
9129         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9130         TC_LONGSTRING.
9131         (defaultReadObject): Set BlockDataMode to false during readFields.
9132         (resolveClass): Create new SecurityManager if necessary.
9133         Use Class.forName() if null ClassLoader found.
9134         (read(byte[],int,int): Copy remaining bytes to data before calling
9135         readNextBlock().
9136         (readFields): Set and reset BlockDataMode on call_read_method.
9137         Catch NoSuchFieldErrors.
9138         (setBlockDataMode): Return old mode.
9139         (static): New static code block.
9140         * java/io/natObjectInputStream.cc (getField): Removed.
9141         (getMethod): Likewise.
9142
9143 2003-02-27  Michael Koch  <konqueror@gmx.de>
9144
9145         * java/beans/Beans.java,
9146         java/beans/FeatureDescriptor.java
9147         java/beans/PropertyEditorManager.java:
9148         Reformated to GNU style.
9149
9150 2003-02-25  Michael Koch  <konqueror@gmx.de>
9151
9152         * gnu/java/nio/MappedByteFileBuffer.java,
9153         gnu/java/nio/natMappedByteFileBuffer.cc:
9154         New files, both are not compiled yet to get not noncompiling CVS.
9155
9156 2003-02-24  Tom Tromey  <tromey@redhat.com>
9157
9158         * java/util/prefs/AbstractPreferences.java (isUserNode):
9159         Implemented.
9160
9161 2003-02-24  Tom Tromey  <tromey@redhat.com>
9162
9163         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9164         Deprecate.
9165         * java/lang/Thread.java (resume): Deprecate.
9166         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9167         in @deprecated.
9168
9169 2003-02-23  Tom Tromey  <tromey@redhat.com>
9170
9171         * Makefile.in: Rebuilt.
9172         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9173
9174 2003-02-23  Tom Tromey  <tromey@redhat.com>
9175
9176         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9177         libraries): Removed.
9178         (add_library): Removed.
9179         (_load): Don't call add_library.
9180         (loadLibraryInternal): Likewise.
9181         (init): Likewise.
9182         (lookup_data): New struct.
9183         (find_symbol): New function.
9184         (_Jv_FindSymbolInExecutable): Use it.
9185
9186 2002-02-21  Anthony Green  <green@redhat.com>
9187
9188         * java/lang/Thread.java (Thread): New constructor taking stack
9189         size parameter (ignored for now).
9190         * Many methods: Merged GNU Classpath documentation.
9191
9192         * java/lang/Class.java (finalize): throws a Throwable.
9193
9194 2003-02-21  Mark Wielaard  <mark@klomp.org>
9195
9196         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9197         argument is null.
9198
9199 2003-02-21  Mark Wielaard  <mark@klomp.org>
9200
9201         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9202         then 65535 chars throw IllegalArgumentException.
9203
9204 2003-02-21  Mark Wielaard  <mark@klomp.org>
9205
9206         * java/util/zip/ZipFile.java (finalize): New method.
9207
9208 2003-02-21  Michael Koch  <konqueror@gmx.de>
9209
9210         * gnu/java/nio/natSocketChannelImpl.cc:
9211         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9212         <cato@df.lth.se> for pointing to it.
9213
9214 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9215
9216         * java/math/BigInteger.java (euclidInv): Take result array as an
9217         argument.  Updated all callers.
9218         (modInverse): Removed unused variables.
9219
9220 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9221
9222         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9223         config.status.
9224         * configure: Rebuilt.
9225
9226 2003-02-19  Michael Koch  <konqueror@gmx.de>
9227
9228         * gnu/java/nio/natSocketChannelImpl.cc:
9229         Added support for platforms without network support.
9230
9231 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9232
9233         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9234         after config.h.  Use <> for consistency.
9235         * java/lang/natObject.cc: Likewise.
9236         * java/lang/natRuntime.cc: Likewise.
9237         * java/lang/natSystem.cc: Likewise.
9238         * java/util/natTimeZone.cc: Likewise.
9239         * win32.cc: Likewise.
9240         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9241         listen, write, read): Undef to avoid interference from OS macros.
9242
9243 2003-02-19  Michael Koch  <konqueror@gmx.de>
9244
9245         * gnu/java/nio/ByteBufferImpl.java
9246         (ByteBufferImpl): Renamed two variables.
9247         * gnu/java/nio/CharBufferImpl.java
9248         (CharBufferImpl): Renamed two variables.
9249         * gnu/java/nio/DoubleBufferImpl.java
9250         (DoubleBufferImpl): Renamed two variables.
9251         * gnu/java/nio/FloatBufferImpl.java
9252         (FloatBufferImpl): Renamed two variables.
9253         * gnu/java/nio/IntBufferImpl.java
9254         (IntBufferImpl): Renamed two variables.
9255         * gnu/java/nio/LongBufferImpl.java
9256         (LongBufferImpl): Renamed two variables.
9257         * gnu/java/nio/ShortBufferImpl.java
9258         (ShortBufferImpl): Renamed two variables.
9259         * java/nio/CharBuffer.java
9260         (wrap): Fixed arguments to CharBufferImpl constructor.
9261         (hasArray): Only not read-only buffers have backing arrays.
9262         (length): Documentation added.
9263         (subSequence): Documentation added.
9264         * java/nio/DoubleBuffer.java
9265         (hasArray): Only not read-only buffers have backing arrays.
9266         * java/nio/FloatBuffer.java
9267         (hasArray): Only not read-only buffers have backing arrays.
9268         * java/nio/IntBuffer.java
9269         (hasArray): Only not read-only buffers have backing arrays.
9270         * java/nio/LongBuffer.java
9271         (hasArray): Only not read-only buffers have backing arrays.
9272         * java/nio/ShortBuffer.java
9273         (hasArray): Only not read-only buffers have backing arrays.
9274         
9275 2003-02-19  Michael Koch  <konqueror@gmx.de>
9276
9277         * javax/accessibility/AccessibleContext.java
9278         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9279
9280 2003-02-19  Michael Koch  <konqueror@gmx.de>
9281
9282         * java/awt/ScrollPaneAdjustable.java: Reformated.
9283
9284 2003-02-19  Michael Koch <konqueror@gmx.de>
9285
9286         * gnu/awt/j2d/Graphics2DImpl.java
9287         (getFontRenderContext): New method.
9288         (drawGlyphVector): New method.
9289         * java/awt/Graphics2D.java
9290         (getFontRenderContext): New abstract method.
9291         (drawGlyphVector): New abstract method.
9292         
9293 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9294
9295         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9296         if necessary.
9297         
9298         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9299         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9300         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9304         (setFont, gtkSetFont): add.
9305         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9306         Propagate font to peer.  (setFont): add FIXME comment.
9307
9308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9309         (gtkTextGetSize): fix height, width computation.
9310
9311         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9312         Make X font name a bit less bogus.
9313
9314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9315         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9316
9317         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9318         (processAdjustmentEvent): Adjust value.
9319
9320         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9321         logic errors.
9322
9323         * java/awt/Component.java (setVisible, show, hide): Call show and
9324         hide methods in subclasses.
9325         (getPreferredSize): don't set prefSize before we have peer.
9326
9327         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9328         Guess (0,0) if we don't have peer.
9329
9330
9331 2003-02-18  Michael Koch  <konqueror@gmx.de>
9332
9333         * java/nio/channels/FileChannel.java
9334         (toString): New implementation, added documentation.
9335         (map): Added exception documentation.
9336         (size): Added exception documentation.
9337         (write): New methods, documentation work.
9338         (read): New methods, documentation work.
9339         (implCloseChannel): Rewrote exception documentation.
9340         (force): Throws IOException, added documentation.
9341         (lock): New methods.
9342         (tryLock): New methods.
9343         (position): New methods.
9344         (transferTo): New method.
9345         (transferFrom): New method.
9346         (truncate): New method.
9347         * java/nio/channels/spi/SelectorProvider.java
9348         (provider): Implemented.
9349         * Makefile.am
9350         (ordinary_java_source_files): Added the following files:
9351         gnu/java/nio/DatagramChannelImpl.java
9352         gnu/java/nio/FileChannelImpl.java
9353         gnu/java/nio/PipeImpl.java
9354         gnu/java/nio/SelectionKeyImpl.java
9355         gnu/java/nio/SelectorImpl.java
9356         gnu/java/nio/SelectorProviderImpl.java
9357         gnu/java/nio/ServerSocketChannelImpl.java
9358         gnu/java/nio/SocketChannelImpl.java
9359         java/nio/channels/FileLock.java
9360         (nat_java_source_files): Added the following files:
9361         gnu/java/nio/natFileChannelImpl.cc
9362         gnu/java/nio/natSelectorImpl.cc
9363         gnu/java/nio/natSocketChannelImpl.cc
9364         * Makefile.in: Regenerated.
9365
9366 2003-02-17  Tom Tromey  <tromey@redhat.com>
9367
9368         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9369         * java/awt/image/ImageFilter.java: Likewise.
9370
9371 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9372
9373         * java/math/BigInteger.java (euclidInv): Return array of
9374         `BigInteger's.  Changed all callers.
9375
9376 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9377
9378         * java/util/Properties.java (store): Move the code formerly in
9379         list(), into this method.
9380         (list (PrintStream)): Just call list (PrintWriter) with a 
9381         PrintWriter object constructed from the given PrintStream object.
9382         (list (PrintWriter)): Emulate the output of Properties.list()
9383         as found in JDK 1.3/1.4.
9384
9385 2003-02-17  Michael Koch  <konqueror@gmx.de>
9386
9387         * java/net/DatagramSocket.java
9388         (connect): Merged with classpath.
9389         (disconnect): Merged documentation with classpath.
9390         (receice): Merged documentation with classpath.
9391         (send): Merged documentation with classpath.
9392         
9393 2003-02-17  Michael Koch  <konqueror@gmx.de>
9394
9395         * java/awt/dnd/DragSourceContext.java
9396         (addDragSourceListener): Added documentation.
9397         * java/awt/dnd/DragSourceDragEvent.java
9398         (serialVersionUID): New member variable.
9399         (getDropAction): Reformated.
9400         * java/awt/dnd/DragSourceDropEvent.java
9401         (serialVersionUID): New member variable.
9402         (dropSuccess): Renamed from success for serialization issues.
9403         * java/awt/dnd/DragSourceEvent.java
9404         (serialVersionUID): New member variable.
9405         * java/awt/dnd/DropTarget.java
9406         (serialVersionUID): New member variable.
9407         (DropTarget): Implemented, documentation reworked.
9408         (setComponent): Documentation added.
9409         (getComponent): Documentation added.
9410         (setDefaultActions): Documentation added.
9411         (getDefaultActions): Documentation added.
9412         (addDropTargetListener): Documentation added.
9413         * java/awt/dnd/DropTargetContext.java
9414         (DropTargetContext): Documentation added.
9415         (TransferableProxy.TransferableProxy): New method.
9416         (dropComplete): Fixed documentation.
9417         (getTransferable): Fixed documentation.
9418         (createTransferableProxy): Implemented.
9419         * java/awt/dnd/DropTargetDragEvent.java
9420         (DropTargetDragEvent): Documentation added.
9421         (serialVersionUID): New member variable.
9422         (DropTargetDragEvent): Throw exceptions, documentation added.
9423         (acceptDrag): Implemented.
9424         (getCurrentDataFlavors): Implemented.3yy
9425         (getCurrentDataFlavorsAsList): Implemented.
9426         (isDataFlavorSupported): Implemented.
9427         (rejectDrag): Implemented.
9428         * java/awt/dnd/DropTargetDropEvent.java
9429         (DropTargetDropEvent): Documentation added.
9430         (serialVersionUID): New member variable.
9431         (actions): Renamed from srcActions for serialization issues.
9432         (isLocalTx): Renamed from isLocalTx for serialization issues.
9433         (DropTargetDropEvent): New implementation, throw exceptions,
9434         documentation added.
9435         (getCurrentDataFlavors): Implemented.
9436         (getCurrentDataFlavorsAsList): Implemented.
9437         (isDataFlavorSupported): Implemented.
9438         (getSourceActions): Implemented.
9439         (getDropAction): Implemented.
9440         (getTransferable): Implemented.
9441         (acceptDrop): Implemented.
9442         (rejectDrop): Implemented.
9443         * java/awt/dnd/DropTargetListener.java
9444         (drop): Fixed documentation.
9445         * java/awt/dnd/MouseDragGestureRecognizer.java
9446         (MouseDragGestureRecognizer): Documentation added.
9447
9448 2003-02-17  Michael Koch  <konqueror@gmx.de>
9449
9450         * java/awt/font/FontRenderContext.java,
9451         java/awt/font/ShapeGraphicAttribute.java,
9452         java/awt/font/MultipleMaster.java,
9453         java/awt/font/TransformAttribute.java,
9454         java/awt/font/GlyphJustificationInfo.java,
9455         java/awt/font/LineBreakMeasurer.java,
9456         java/awt/font/TextMeasurer.java,
9457         java/awt/font/TextLayout.java,
9458         java/awt/font/LineMetrics.java,
9459         java/awt/font/TextAttribute.java,
9460         java/awt/font/GlyphMetrics.java,
9461         java/awt/font/OpenType.java,
9462         java/awt/font/GlyphVector.java,
9463         java/awt/font/GraphicAttribute.java,
9464         java/awt/font/ImageGraphicAttribute.java,
9465         java/awt/font/NumericShaper.java: New files.
9466         * Makefile.am
9467         (awt_java_source_files): Added the following files:
9468         java/awt/font/FontRenderContext.java
9469         java/awt/font/ShapeGraphicAttribute.java
9470         java/awt/font/MultipleMaster.java
9471         java/awt/font/TransformAttribute.java
9472         java/awt/font/GlyphJustificationInfo.java
9473         java/awt/font/LineBreakMeasurer.java
9474         java/awt/font/TextMeasurer.java
9475         java/awt/font/TextLayout.java
9476         java/awt/font/LineMetrics.java
9477         java/awt/font/TextAttribute.java
9478         java/awt/font/GlyphMetrics.java
9479         java/awt/font/OpenType.java
9480         java/awt/font/GlyphVector.java
9481         java/awt/font/GraphicAttribute.java
9482         java/awt/font/ImageGraphicAttribute.java
9483         java/awt/font/NumericShaper.java
9484         * Makefile.in: Regenerated.
9485
9486 2003-02-17  Michael Koch  <konqueror@gmx.de>
9487
9488         * java/awt/print/Paper.java
9489         (Paper): Implements Cloneable.
9490         * java/awt/print/PrinterJob.java
9491         (setJobName): Return value must be void.
9492         (print): Throws PrinterException.
9493         
9494 2003-02-16  Tom Tromey  <tromey@redhat.com>
9495
9496         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9497         variable.
9498
9499 2003-02-15  Michael Koch  <konqueror@gmx.de>
9500
9501         * java/awt/datatransfer/DataFlavor.java
9502         (isRepresentationClassByteBuffer): Removed try-catch block.
9503         (isRepresentationClassCharBuffer): Removed try-catch block.
9504         (isRepresentationClassReader): Removed try-catch block.
9505
9506 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9507
9508         * java/nio/charset/Charset.java
9509         (isRegistered): Fixed method args and implementation.
9510         * java/nio/charset/CharsetEncoder.java
9511         (unmappableCharacterAction): New method.
9512
9513 2003-02-15  Michael Koch  <konqueror@gmx.de>
9514
9515         * java/awt/CheckboxMenuItem.java
9516         (CheckBoxMenuItem): Dont implement Serializable.
9517         (getListeners): New method,
9518         (getItemListeners): New method.
9519         * java/awt/Choice.java
9520         (getListeners): New method,
9521         (getItemListeners): New method.
9522         * java/awt/Container.java
9523         (getListeners): Added exception documentation.
9524         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9525         (getFocusTraversalKeys): Added documentation.
9526         (areFocusTraversalKeysSet): Added documentation.
9527         (applyComponentOrientation): Added documentation.
9528         * java/awt/ContainerOrderFocusTraversalPolicy.java
9529         (implicitDownCycleTraversal): Renamed from downCycle for
9530         serialization.
9531         (ContainerOrderFocusTraversalPolicy): Added documentation.
9532         (accept): Reformated.
9533         * java/awt/Dialog.java
9534         (Dialog): Dont implement Serializable.
9535         (Dialog): Added documentation.
9536         * java/awt/Font.java
9537         (Font): Dont use absolute class name.
9538         * java/awt/Frame.java
9539         (Frame): Font implement Serializable.
9540         * java/awt/List.java
9541         (getListeners): New method,
9542         (getActionListeners): New method.       
9543         (getItemListeners): New method.
9544         * java/awt/Menu.java
9545         (countItems): New deprecated method.
9546         * java/awt/Scrollbar.java
9547         (getListeners): New method,
9548         (getAdjustmentListeners): New method,
9549         * java/awt/TextComponent.java
9550         (getListeners): New method,
9551         (getTextListeners): New method,
9552         * java/awt/TextField.java
9553         (getListeners): New method,
9554         (getActionListeners): New method.       
9555         * java/awt/Window.java
9556         (windowFocusListener): New member variable.
9557         (windowStateListener): New member variable.
9558         (getWindowFocusListeners): New method.
9559         (getWindowStateListeners): New method.
9560         (addWindowFocusListener): New method.
9561         (addWindowStateListener): New method.
9562         (removeWindowFocusListener): New method.
9563         (removeWindowStateListener): New method.
9564         * java/awt/datatransfer/DataFlavor.java
9565         (isRepresentationClassByteBuffer): New method.
9566         (isRepresentationClassCharBuffer): New method.
9567         (isRepresentationClassReader): New method.
9568
9569 2003-02-14  Mark Wielaard  <mark@klomp.org>
9570
9571         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9572         zero when there is an exponent and the significant is zero.
9573         (divide): Always set scale to newScale even in special ZERO case.
9574
9575 2003-02-14  Tom Tromey  <tromey@redhat.com>
9576
9577         * java/lang/System.java (properties): Use Properties.clone.
9578         (setProperties): Likewise.
9579
9580 2003-02-14  Michael Koch  <konqueror@gmx.de>
9581
9582         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9583         * gnu/java/nio/ServerSocketChannelImpl.java
9584         (SocketAccept): Removed.
9585         (accept): Commented out use of SocketAccept.
9586
9587 2003-02-13  Tom Tromey  <tromey@redhat.com>
9588
9589         * verify.cc (state::seen_subrs): New field.
9590         (state::state): Initialize it.
9591         (state::clean_subrs): New method.
9592         (state::~state): Call it.
9593         (state::copy): Copy subroutine list.
9594         (state::add_subr): New method.
9595         (state::merge): Only register a change if the current subroutine
9596         hasn't yet been noted.
9597
9598 2003-02-13  Mark Wielaard  <mark@klomp.org>
9599
9600         * java/io/InputStreamReader.java (getEncoding): Return null when
9601         closed.
9602         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9603
9604 2003-02-13  Mark Wielaard  <mark@klomp.org>
9605  
9606         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9607         is zero.
9608
9609 2003-02-13  Mark Wielaard  <mark@klomp.org>
9610
9611         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9612         next byte cannot be buffered.
9613
9614 2003-02-13  Michael Koch  <konqueror@gmx.de>
9615  
9616         * java/awt/Label.java
9617         (Label): Don't implement Serializable directly.
9618         (addNotify): Fixed typo in documentation.
9619         * java/awt/List.java
9620         (List): Don't implement Serializable directly.
9621         * java/awt/PopupMenu.java
9622         (PopupMenu): Don't implement Serializable directly.
9623         * java/awt/ScrollPane.java
9624         (ScrollPane): Don't implement Serializable directly.
9625         * java/awt/Scrollbar.java
9626         (Scrollbar): Don't implement Serializable directly.
9627         * java/awt/TextArea.java
9628         (preferredSize): Fixed method arguments.
9629         * java/awt/TextField.java
9630         (TextField): Don't implement Serializable directly.
9631         * java/awt/color/ICC_ColorSpace.java
9632         (fromCIOXYZ): Documentation added.
9633         (getMinValue): Documentation added.
9634         (getMaxValue): Documentation added.
9635         * java/awt/datatransfer/DataFlavor.java
9636         (isMimeTypeEqual): May not be final.
9637         (clone): Throws CloneNotSupportedException.
9638         (getReaderForText): Don't throws UnsupportedEncodingException.
9639
9640 2003-02-13  Michael Koch  <konqueror@gmx.de>
9641  
9642         * gnu/java/awt/peer/gtk/GdkGraphics.java
9643         (drawString): New stubbed method.
9644         * java/awt/Graphics.java
9645         (drawString): New method.
9646
9647 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9648
9649         PR libgcj/9271:
9650         * java/security/SecureRandom.java (next): Avoid bias in results.
9651
9652 2003-02-13  Michael  <konqueror@gmx.de>
9653
9654         * gnu/java/nio/FileChannelImpl.java
9655         (lengthInternal): Must be native.
9656         (size): Check if channel is already closed.
9657         (implCloseChannel): Reformated.
9658         (read): w was unused, removed it.
9659         (read): Removed.
9660         (read): New method.
9661         (write): New method.
9662         (map): Check arguments.
9663         (force): Throws IOException, check if channel is closed.
9664         (transferTo): New method.
9665         (transferFrom): New method.
9666         (lock): New method.
9667         (tryLock): New method.
9668         (position): New method.
9669         (truncate): New method.
9670         (nio_mmap_file): Uncommented.
9671         (nio_munmap_file): Uncommented.
9672         (nio_msync): Uncommented.
9673         * gnu/java/nio/natFileChannelImpl.cc: New file.
9674         
9675 2003-02-13  Michael Koch  <konqueror@gmx.de>
9676
9677         * java/nio/ByteBuffer.java
9678         (endian): New member variable.
9679         (get): New methods.
9680         (equals): New method.
9681         (compareTo): New method.
9682         (order): New methods.
9683         (compact): New method.
9684         (isDirect): New method.
9685         (slice): New method.
9686         (duplicate): New method.
9687         (asReadOnlyBuffer): New method.
9688         (asCharBuffer): New method.
9689         (asDoubleBuffer): New method.
9690         (asFloatBuffer): New method.
9691         (asIntBuffer): New method.
9692         (asLongBuffer): New method.
9693         (asShortBuffer): New method.
9694         (get*): New methods.
9695         (put*): New methods.
9696         (toString): New method.
9697         * java/nio/CharBuffer.java
9698         (CharBuffer): Implement Comparable instead of Cloneable.
9699         (get): May not be final.
9700         (put): May not be final.
9701         
9702 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9703
9704         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9705         lastIndexOf( ) instead of indexOf( ) to find the colon before
9706         the line number, because Win32 file names might contain a 
9707         drive letter and a colon at the start of an absolute path.
9708
9709 2003-02-13  Michael Koch  <konqueror@gmx.de>
9710
9711         * gnu/java/nio/natSocketChannelImpl.cc
9712         (SocketConnect): This is not implemented yet.
9713         (SocketBind): This is not implemented yet.
9714
9715 2003-02-13  Michael Koch  <konqueror@gmx.de>
9716
9717         * gnu/java/nio/natByteBufferImpl.cc,
9718         gnu/java/nio/natCharBufferImpl.cc,
9719         gnu/java/nio/natDoubleBufferImpl.cc,
9720         gnu/java/nio/natFloatBufferImpl.cc,
9721         gnu/java/nio/natIntBufferImpl.cc,
9722         gnu/java/nio/natLongBufferImpl.cc,
9723         gnu/java/nio/natShortBufferImpl.cc:
9724         Added copyright and license.
9725         * java/nio/DoubleBuffer.java,
9726         java/nio/FloatBuffer.java,
9727         java/nio/IntBuffer.java,
9728         java/nio/LongBuffer.java,
9729         java/nio/ShortBuffer.java
9730         (array): Throw exceptions.
9731         (arrayOffset): Throw exceptions.
9732
9733 2003-02-13  Michael Koch  <konqueror@gmx.de>
9734  
9735         * gnu/java/util/prefs/FileBasedFactory.java,
9736         gnu/java/util/prefs/MemmoryBasedFactory.java,
9737         gnu/java/util/prefs/MemoryBasedPreferences.java,
9738         gnu/java/util/prefs/NodeReader.java,
9739         gnu/java/util/prefs/NodeWriter.java,
9740         java/util/prefs/AbstractPreferences.java,
9741         java/util/prefs/BackingStoreException.java,
9742         java/util/prefs/InvalidPreferencesFormatException.java,
9743         java/util/prefs/NodeChangeEvent.java,
9744         java/util/prefs/NodeChangeListener.java,
9745         java/util/prefs/PreferenceChangeEvent.java,
9746         java/util/prefs/PreferenceChangeListener.java,
9747         java/util/prefs/Preferences.java,
9748         java/util/prefs/PreferencesFactory.java:
9749         New files, all merged from classpath.
9750         * Makefile.am
9751         (ordinary_java_source_files): Added the following files:
9752         gnu/java/util/prefs/FileBasedFactory.java,
9753         gnu/java/util/prefs/MemmoryBasedFactory.java,
9754         gnu/java/util/prefs/MemoryBasedPreferences.java,
9755         gnu/java/util/prefs/NodeReader.java,
9756         gnu/java/util/prefs/NodeWriter.java,
9757         (core_java_source_files): Added the following files:
9758         java/util/prefs/AbstractPreferences.java,
9759         java/util/prefs/BackingStoreException.java,
9760         java/util/prefs/InvalidPreferencesFormatException.java,
9761         java/util/prefs/NodeChangeEvent.java,
9762         java/util/prefs/NodeChangeListener.java,
9763         java/util/prefs/PreferenceChangeEvent.java,
9764         java/util/prefs/PreferenceChangeListener.java,
9765         java/util/prefs/Preferences.java,
9766         java/util/prefs/PreferencesFactory.java
9767         * Makefile.in: Regenerated.
9768  
9769 2003-02-13  Michael Koch  <konqueror@gmx.de>
9770
9771         * java/net/NetPermission.java
9772         (NetPermission): Make doucmentation match the method declaration.
9773         * java/net/NetworkInterface.java
9774         (equals): Reformated for GNU coding style.
9775         * java/net/ServerSocket.java: Merged with classpath.
9776         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9777         * java/net/SocketImpl.java
9778         (localPort): Merged with classpath (initialize with -1).
9779         * java/net/SocketPermission.java: Merged with classpath (reindented).
9780         * java/net/URLDecoder.java: Merged with classpath (reindented).
9781
9782 2003-02-13  Michael Koch  <konqueror@gmx.de>
9783
9784         * java/awt/GridBagConstraints.java
9785         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9786         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9787         * java/awt/KeyboardFocusManager.java
9788         (setGlobalCurrentFocusCycleRoot): Must be public.
9789         * java/awt/MenuComponent.java
9790         (MenuComponent): Must be public.
9791         * java/awt/Toolkit.java:
9792         Added some empty lines to make documentation more readable.
9793         (getFontPeer): Added @deprecated.
9794         (getColorModel): Added exception documentation.
9795         (getProperty): Fixed documentation.
9796  
9797 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9798
9799         * configure.host (alpha*-*): Default to -mieee.
9800         * configure.in (IEEESPEC): New.
9801         * libgcj.spec.in (jc1): Add IEEESPEC.
9802         * configure: Rebuild.
9803
9804 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9805
9806         * include/win32.h: Include ws2tcpip.h instead of
9807         winsock.h to obtain definition of the socklen_t type.
9808         Remove IP_TOS definition - not needed with ws2tcpip.h
9809         (_Jv_connect): Correct slight formatting error.
9810
9811 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9812
9813         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9814         size of the arguments for a JNI function. For Win32,
9815         modify to search for all forms of possible exported
9816         names of an stdcall JNI function.
9817         (_Jv_JNIMethod::call): Modify to calculate the size
9818         of the arguments passed to a JNI function and pass
9819         it to _Jv_LookupJNIMethod.
9820
9821 2003-02-12  Michael Koch  <konqueror@gmx.de>
9822
9823         * java/nio/channels/Channels.java: New file.
9824         * Makefile.am
9825         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9826         * Makefile.in: Regenerated.
9827
9828 2003-02-12  Michael Koch  <konqueror@gmx.de>
9829
9830         * java/nio/ByteBuffer.java
9831         (allocate): Implemented.
9832         (wrap): Implemented.
9833         * java/nio/CharBuffer.java:
9834         Some documentation added and reworked.
9835         (endian): Removed.
9836         (allocate): Implemented.
9837         (wrap): Implemented.
9838         (array): Throw exceptions.
9839         (arrayOffset): Throw exceptions.
9840         (toString): Implemented.
9841         (length): Implemented.
9842         (put): Implemented.
9843         (charAt): Implemented.
9844
9845 2003-02-11  John Leuner  <jewel@debian.org>
9846
9847         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9848         reads from end of file.
9849
9850 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9851
9852         * java/io/natFileDescriptorWin32.cc 
9853         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9854         returns with Win32 error code ERROR_BROKEN_PIPE.
9855
9856 2003-02-11  Michael Koch  <konqueror@gmx.de>
9857
9858         * Makefile.in
9859         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9860
9861 2003-02-11  Michael Koch  <konqueror@gmx.de>
9862
9863         * gnu/java/nio/ByteBufferImpl.java:
9864         Reformated and removed some code.
9865         (backing_buffer): Removed.      
9866         (array_offset): Removed.
9867         (ro): Renamed to readOnly.
9868         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9869         * gnu/java/nio/CharBufferImpl.java:
9870         Reformated and removed some code.
9871         (array_offset): Removed.
9872         (ro): Renamed to readOnly.
9873         (CharBufferImpl): Use parent constructor, initialize readOnly.
9874         (inc_pos): Removed.
9875         (order): New method.
9876         * gnu/java/nio/DoubleBufferImpl.java:
9877         Reformated and removed some code.
9878         (array_offset): Removed.
9879         (ro): Renamed to readOnly.
9880         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9881         (inc_pos): Removed.
9882         (order): New method.
9883         * gnu/java/nio/FloatBufferImpl.java:
9884         Reformated and removed some code.
9885         (array_offset): Removed.
9886         (ro): Renamed to readOnly.
9887         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9888         (inc_pos): Removed.
9889         (order): New method.
9890         * gnu/java/nio/IntBufferImpl.java:
9891         Reformated and removed some code.
9892         (array_offset): Removed.
9893         (ro): Renamed to readOnly.
9894         (IntBufferImpl): Use parent constructor, initialize readOnly.
9895         (inc_pos): Removed.
9896         (order): New method.
9897         * gnu/java/nio/LongBufferImpl.java:
9898         Reformated and removed some code.
9899         (array_offset): Removed.
9900         (ro): Renamed to readOnly.
9901         (LongBufferImpl): Use parent constructor, initialize readOnly.
9902         (inc_pos): Removed.
9903         (order): New method.
9904         * gnu/java/nio/ShortBufferImpl.java:
9905         Reformated and removed some code.
9906         (array_offset): Removed.
9907         (ro): Renamed to readOnly.
9908         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9909         (inc_pos): Removed.
9910         (order): New method.
9911         * Makefile.am
9912         (ordinary_java_source_files): Added the following files:
9913         gnu/java/nio/ByteBufferImpl.java
9914         gnu/java/nio/CharBufferImpl.java
9915         gnu/java/nio/DoubleBufferImpl.java
9916         gnu/java/nio/FloatBufferImpl.java
9917         gnu/java/nio/IntBufferImpl.java
9918         gnu/java/nio/LongBufferImpl.java
9919         gnu/java/nio/ShortBufferImpl.java
9920         java/nio/DoubleBuffer.java
9921         java/nio/FloatBuffer.java
9922         java/nio/IntBuffer.java
9923         java/nio/LongBuffer.java
9924         java/nio/ShortBuffer.java
9925         (nat_source_files): Added the following files:
9926         gnu/java/nio/natByteBufferImpl.cc
9927         gnu/java/nio/natCharBufferImpl.cc
9928         gnu/java/nio/natDoubleBufferImpl.cc
9929         gnu/java/nio/natFloatBufferImpl.cc
9930         gnu/java/nio/natIntBufferImpl.cc
9931         gnu/java/nio/natLongBufferImpl.cc
9932         gnu/java/nio/natShortBufferImpl.cc
9933         * Makefile.in: Regenerated.
9934
9935 2003-02-11  Michael Koch  <konqueror@gmx.de>
9936
9937         * gnu/java/nio/natCharBufferImpl.cc
9938         (nio_cast): Removed.
9939         (nio_put_*): Removed.
9940         (nio_get_*): Removed.
9941         * gnu/java/nio/natDoubleBufferImpl.cc
9942         (nio_cast): Removed.
9943         (nio_put_*): Removed.
9944         (nio_get_*): Removed.
9945         * gnu/java/nio/natFloatBufferImpl.cc
9946         (nio_cast): Removed.
9947         (nio_put_*): Removed.
9948         (nio_get_*): Removed.
9949         * gnu/java/nio/natIntBufferImpl.cc
9950         (nio_cast): Removed.
9951         (nio_put_*): Removed.
9952         (nio_get_*): Removed.
9953         * gnu/java/nio/natLongBufferImpl.cc
9954         (nio_cast): Removed.
9955         (nio_put_*): Removed.
9956         (nio_get_*): Removed.
9957         * gnu/java/nio/natShortBufferImpl.cc
9958         (nio_cast): Removed.
9959         (nio_put_*): Removed.
9960         (nio_get_*): Removed.
9961         * gnu/java/nio/SelectorProviderImpl.java
9962         (openDatagramChannel): Throws IOException.
9963         (openPipe): Throws IOException.
9964         (openSelector): Throws IOException.
9965         (openServerSocketChannel): Throws IOException.
9966         (openSocketChannel): Throws IOException.
9967         * gnu/java/nio/ServerSocketChannelImpl.java
9968         (ServerSocketChannelImpl): Throws IOException.
9969         (implCloseSelectableChannel): Throws IOException.
9970         (implConfigureBlocking): Throws IOException.
9971         * java/nio/ByteBuffer.java
9972         (readOnly): Removed.
9973         (hasArray): Use isReadOnly() instead of readOnly.
9974         (array): Use isReadOnly() instead of readOnly.
9975         (arrayOffset): Use isReadOnly() instead of readOnly.
9976         * java/nio/CharBuffer.java
9977         (CharBuffer): Implements Cloneable and CharSequence.
9978
9979 2003-02-11  Michael Koch  <konqueror@gmx.de>
9980
9981         * java/nio/DoubleBuffer.java
9982         (DoubleBuffer): Implements Comparable.
9983         (endian): Removed.
9984         (array_offset): New member variable.
9985         (DoubleBuffer): New constuctor.
9986         (get): May not be final.
9987         (put): May not be final.
9988         (arrayOffset): Implemented.
9989         (order): Made abstract.
9990         (order): Removed.
9991         (as*Buffer): Removed.
9992         (get*): Removed.
9993         (put*): Removed.
9994         * java/nio/FloatBuffer.java
9995         (FloatBuffer): Implements Comparable.
9996         (endian): Removed.
9997         (array_offset): New member variable.
9998         (FloatBuffer): New constuctor.
9999         (get): May not be final.
10000         (put): May not be final.
10001         (arrayOffset): Implemented.
10002         (order): Made abstract.
10003         (order): Removed.
10004         (as*Buffer): Removed.
10005         (get*): Removed.
10006         (put*): Removed.
10007         * java/nio/IntBuffer.java
10008         (IntBuffer): Implements Comparable.
10009         (endian): Removed.
10010         (array_offset): New member variable.
10011         (IntBuffer): New constuctor.
10012         (get): May not be final.
10013         (put): May not be final.
10014         (arrayOffset): Implemented.
10015         (order): Made abstract.
10016         (order): Removed.
10017         (as*Buffer): Removed.
10018         (get*): Removed.
10019         (put*): Removed.
10020         * java/nio/LongBuffer.java
10021         (LongBuffer): Implements Comparable.
10022         (endian): Removed.
10023         (array_offset): New member variable.
10024         (LongBuffer): New constuctor.
10025         (get): May not be final.
10026         (put): May not be final.
10027         (arrayOffset): Implemented.
10028         (order): Made abstract.
10029         (order): Removed.
10030         (as*Buffer): Removed.
10031         (get*): Removed.
10032         (put*): Removed.
10033         * java/nio/ShortBuffer.java
10034         (ShortBuffer): Implements Comparable.
10035         (endian): Removed.
10036         (array_offset): New member variable.
10037         (ShortBuffer): New constuctor.
10038         (get): May not be final.
10039         (put): May not be final.
10040         (arrayOffset): Implemented.
10041         (order): Made abstract.
10042         (order): Removed.
10043         (as*Buffer): Removed.
10044         (get*): Removed.
10045         (put*): Removed.
10046
10047 2003-02-11   Michael Koch  <konqueror@gmx.de>
10048
10049         * java/nio/channels/SelectionKey.java
10050         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10051         values.
10052
10053 2003-02-11  Michael Koch  <konqueror@gmx.de>
10054
10055         * java/nio/channels/DatagramChannel.java
10056         (write): Throws IOException.
10057         (connect): Throws IOException.
10058         (disconnect): Throws IOException.
10059         (read): Throws IOException.
10060         (receive): Throws IOException.
10061         (send): Throws IOException.
10062         * java/nio/channels/Pipe.java
10063         (open): Throws IOException.
10064         * java/nio/channels/SelectableChannel.java
10065         (configureBlocking): Throws IOException.
10066         * java/nio/channels/ServerSocketChannel.java
10067         (accept): Throws IOException.
10068         * java/nio/channels/SocketChannel.java
10069         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10070         GatheringByteChannel.
10071         (read): Throws IOException.
10072         (write): Throws IOException.
10073         (finishConnect): Throws IOException.
10074         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10075         (end): Throws AsynchronousCloseException.
10076         * java/nio/channels/spi/AbstractSelectableChannel.java
10077         (configureBlocking): Throws IOException.
10078         (implCloseChannel): Throws IOException.
10079         (implCloseSelectableChannel): Throws IOException.
10080         (implConfigureBlocking): Throws IOException.
10081         * java/nio/channels/spi/SelectorProvider.java
10082         (openDatagramChannel): Throws IOException.
10083         (openPipe): Throws IOException.
10084         (openSelector): Throws IOException.
10085         (openServerSocketChannel): Throws IOException.
10086         (openSocketChannel): Throws IOException.
10087
10088 2003-02-11  Michael Koch  <konqueror@gmx.de>
10089
10090         * gnu/java/nio/FileLockImpl.java,
10091         java/nio/channels/FileLock.java: New files.
10092
10093 2003-02-11  Michael Koch  <konqueror@gmx.de>
10094
10095         * java/nio/charset/IllegalCharsetNameException.java
10096         (serialVersionUID): New member variable.
10097         (charsetName): New member variable.
10098         (IllegalCharsetException): New implementation.
10099         (getCharsetName): New implementation.
10100         * java/nio/charset/UnsupportedCharsetException.java
10101         (serialVersionUID): New member variable.
10102         (charsetName): New member variable.
10103         (UnsupportedCharsetException): New implementation.
10104         (getCharsetName): New implementation.
10105
10106 2003-02-10  Tom Tromey  <tromey@redhat.com>
10107
10108         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10109         (ex): Renamed from sqlException.
10110
10111 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10112
10113         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10114         method used to ensure seeding has occurred and that a specific 
10115         seed can be set and used.
10116
10117 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10118
10119         * java/lang/Win32Process.java (destroy): Declare as native.
10120         (hasExited): New native method.
10121         (exitValue): Define.
10122         (getErrorStream): Likewise.
10123         (getInputStream): Likewise.
10124         (getOutputStream): Likewise.
10125         (waitFor): Declare as native.
10126         (startProcess): New native method.
10127         (cleanup): Likewise.
10128         (ConcreteProcess): Define.
10129         (outputStream, inputStream, errorStream): New members.
10130         (procHandle, exitCode): Likewise.
10131
10132         * java/lang/natWin32Process.cc
10133         (java::lang::ConcreteProcess::cleanup): Define.
10134         (java::lang::ConcreteProcess::destroy): Likewise.
10135         (java::lang::ConcreteProcess::hasExited): Likewise.
10136         (java::lang::ConcreteProcess::waitFor): Likewise.
10137         (new_string): Likewise.
10138         (java::lang::ConcreteProcess::startProcess): Likewise.
10139
10140 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10141
10142         * java/math/BigInteger.java:
10143         Updated notice to include years 2002 and 3.
10144         Added 2 private (int) arrays with values from the HAC (Handbook of
10145         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10146         and t[] that contains nbr. of tests --used in isProbablePrime().
10147
10148         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10149
10150         * java/math/BigInteger.java (make(int[],int), add(int,int),
10151         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10152         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10153         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10154         make(long).
10155
10156         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10157         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10158         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10159         BIs and returns void.
10160         (modInverse(BI)): Use new signatures of euclidInv().
10161
10162         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10163         static small primes instead of remainder().
10164         Use pre-computed max nbr of trials based on bitlength of BI to test.
10165         Use pre-computed small primes for the trial tests instead of random
10166         numbers.
10167
10168         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10169         not used.
10170
10171         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10172         invoacation of MPN.chars_per_word().  not used.
10173
10174         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10175         local var and used where needed.
10176
10177         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10178         Combined declaration with initialisation of locals.
10179         Removed unused var.
10180
10181         * java/math/BigInteger.java: Style changes
10182         (pow(int)): Removed 'else' keyword.
10183         (toString(int)): idem.
10184         (doubleValue()): idem.
10185         (bitLength()): idem.
10186         (equals(Object)): Use static methods name in same class w/o prepending
10187         class name.
10188         (doubleValue()): idem.
10189         (setNegative(BI)): idem.
10190         (negate()): idem.
10191         (and(BI,int)): idem.
10192         (and(BI)): idem.
10193         (gcd(BI)): idem.
10194         (byteArrayToIntArray()): Removed casting to (int). this is
10195         std. behaviour.
10196         (canonicalize()): idem.
10197         (alloc(int)): Always instantiate a new BI.
10198
10199 2003-02-10  Tom Tromey  <tromey@redhat.com>
10200
10201         * java/sql/Timestamp.java (compareTo(Object)): New method.
10202         (compareTo(Timestamp)): Likewise.
10203         (serialVersionUID): Updated.
10204
10205 2003-02-07  Mark Wielaard  <mark@klomp.org>
10206
10207         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10208         when verify is true.
10209         (JarFile(File, boolean)): Likewise.
10210         (manifestRead): Set manifestRead field correctly.
10211
10212 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10213
10214         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10215         tests; see patch #1016 on Savannah.
10216
10217 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10218
10219         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10220         (toString): do not return Strings starting with . and - erroneously.
10221         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10222         DiagBigDecimal.
10223
10224 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10225
10226         * java/beans/PropertyDescriptor.java
10227         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10228         methods.
10229         (PropertyDescriptor(String, Class, String, String)): Likewise.
10230         (PropertyDescriptor(String, Method, Method): Factor out getter and
10231         setter method sanity checks into new method.
10232         (findMethods): Don't do parameter sanity checking of get method here.
10233         (checkMethods): New method.
10234
10235 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10236
10237         * java/beans/PropertyDescriptor.java: Reformat.
10238
10239 2003-02-04  Tom Tromey  <tromey@redhat.com>
10240
10241         * java/io/PipedOutputStream.java (flush): Declare as throwing
10242         IOException.
10243         (close): Likewise.
10244         * java/io/PipedWriter.java (close): Declare as throwing
10245         IOException.
10246         * java/io/StringWriter.java (close): Declare as throwing
10247         IOException.
10248
10249 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10250
10251         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10252         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10253         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10254         "_JNI_OnLoad@8" (MSVC).
10255
10256 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10257
10258         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10259         convention on Win32 to invoke native JNI methods.
10260
10261 2003-02-03  Andrew Haley  <aph@redhat.com>
10262
10263         * configure.host (x86_64): Enable interpreter.
10264
10265 2003-02-03  Andrew Haley  <aph@redhat.com>
10266
10267         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10268         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10269         * configure.in (BACKTRACESPEC): New.
10270         * configure: Regenerate.
10271
10272 2003-02-02  Tom Tromey  <tromey@redhat.com>
10273
10274         * configure: Rebuilt.
10275         * configure.in (TOOLKIT) [xlib]: Set correctly.
10276
10277         * Makefile.in: Rebuilt.
10278         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10279         libstdc++.
10280
10281 2003-01-31  Mark WIelaard  <mark@klomp.org>
10282
10283         * Makefile.in: Rebuilt.
10284         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10285
10286 2003-01-31  Tom Tromey  <tromey@redhat.com>
10287
10288         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10289         cast to element type.
10290         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10291         (_Jv_JNI_GetObjectArrayElement): Likewise.
10292
10293         * Makefile.in: Rebuilt.
10294         * Makefile.am (cond_x_ltlibrary): Renamed library to
10295         lib-gnu-awt-xlib.la.
10296         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10297         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10298         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10299         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10300         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10301         (lib_gnu_awt_xlib_la_LINK): Likewise.
10302         (install-exec-hook): Removed.
10303         (lib-gnu-awt-xlib.la): Renamed.
10304
10305 2003-01-31  Tom Tromey  <tromey@redhat.com>
10306
10307         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10308         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10309         aclocal.m4 and lost in some merge.
10310
10311         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10312         Don't try to find graphics configuration.
10313         * java/awt/Toolkit.java (default_toolkit_name): Use new
10314         Configuration entry.
10315         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10316         New global.
10317         * configure: Rebuilt.
10318         * configure.in (TOOLKIT): New subst.
10319         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10320         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10321         directory.  Make output directories for .c files.
10322         * Makefile.in: Rebuilt.
10323         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10324         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10325         (all_java_source_files): Added new sources.
10326         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10327         (gtk_c_files): New macro.
10328         (gtk_c_source_files): New macro.
10329         (cond_gtk_ltlibrary): New macro.
10330         ($(gtk_c_files)): New target.
10331         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10332         (gtk_awt_peer_sources): New macro.
10333         (gtk_c_headers): New macro.
10334         ($(gtk_c_headers)): New target.
10335         (ACLOCAL_AMFLAGS): New macro.
10336         * gtk.m4, glib.m4, libart.m4: New files.
10337         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10338         gnu/java/awt/peer/gtk/GdkGraphics.java,
10339         gnu/java/awt/peer/gtk/GtkArg.java,
10340         gnu/java/awt/peer/gtk/GtkArgList.java,
10341         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10342         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10343         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10344         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10345         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10346         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10347         gnu/java/awt/peer/gtk/GtkClipboard.java,
10348         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10349         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10350         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10351         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10352         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10353         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10354         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10355         gnu/java/awt/peer/gtk/GtkImage.java,
10356         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10357         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10358         gnu/java/awt/peer/gtk/GtkListPeer.java,
10359         gnu/java/awt/peer/gtk/GtkMainThread.java,
10360         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10361         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10362         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10363         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10364         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10365         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10366         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10367         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10368         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10369         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10370         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10371         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10372         gnu/java/awt/peer/gtk/GtkToolkit.java,
10373         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10374         gnu/java/awt/peer/gtk/TestAWT.java,
10375         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10377         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10381         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10382         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10383         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10384         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10403         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10404         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10405         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10406         jni/classpath/native_state.c, jni/classpath/native_state.h,
10407         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10408
10409 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10410
10411         * java/util/Properties.java (load): Ignore backslash before EOF.
10412
10413 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10414
10415         * java/lang/natClass.cc (initializeClass): Check tables when
10416         (state == JV_STATE_IN_PROGRESS).
10417         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10418         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10419         interpreted classes.
10420         (linkClass0): Use _Jv_WaitForState.
10421
10422 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10423
10424         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10425         object when finished.
10426
10427 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10428
10429         * libjava/configure.host: Disable can_unwind_signal on darwin.
10430
10431 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10432
10433         Fixes PR java/9254:
10434         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10435         additionally containing id of the owner thread as well as
10436         the number of nested times the thread has acquired the mutex.
10437         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10438         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10439         (_Jv_MutexUnlock): Check if really the owner thread, reset
10440         owner thread id to 0 before leaving, if leaving for the last
10441         time.
10442         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10443         refcount.
10444         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10445         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10446         the passed mutex.
10447         Pass handle of the broadcast event, instead of a pointer to it
10448         in Win32 ResetEvent( ) call.
10449         Remove incorrect return values.
10450         (_Jv_CondDestroy): Close both event handles and delete
10451         critical section.
10452         (_Jv_CondNotify): Check if really the owner thread.
10453         (_Jv_CondNotifyAll): Check if really the owner thread.
10454         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10455         (really_start): Use SetEvent( ) to signal daemon_cond.
10456         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10457         WaitForSingleObject( ) instead to wait for daemon_cond to be
10458         signalled.
10459
10460 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10461
10462         * configure.in: Specifically define HAVE_BACKTRACE if building
10463         for MinGW.
10464         * include/win32.h: Remove HAVE_BACKTRACE definition.
10465         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10466         * configure: Rebuilt.
10467
10468 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10469
10470         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10471         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10472         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10473         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10474         * Makefile.in, configure: Rebuilt.
10475
10476 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10477
10478         Fixes PR java/9253:
10479         * java/io/natFileWin32.cc (performList): Append only "*.*"
10480         if the canonical file path already has a "\" at the end.
10481
10482 2003-01-24  Tom Tromey  <tromey@redhat.com>
10483
10484         * defineclass.cc (handleMethodsEnd): Precompute code for static
10485         method.
10486         (handleCodeAttribute): Likewise.
10487         * resolve.cc (ncode): Use run_class for unsynchronized static
10488         methods.
10489         * include/java-interp.h (class _Jv_InterpMethod): Declare
10490         run_class.
10491         * interpret.cc (run_synch_class): Initialize class.
10492         (run) [insn_invokestatic]: Don't initialize class.
10493         [insn_anewarray]: Likewise.
10494         [insn_multianewarray]: Likewise.
10495         (run_class): New function.
10496
10497 2003-01-24  Tom Tromey  <tromey@redhat.com>
10498
10499         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10500         comment.
10501
10502 2003-01-22  Andrew Haley  <aph@redhat.com>
10503
10504         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10505         * configure.host (CHECKREFSPEC): Define for x86_64.
10506
10507 2003-01-21  Tom Tromey  <tromey@redhat.com>
10508
10509         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10510         search at 2, not 3.
10511
10512 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10513
10514         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10515         looking at any characters.
10516         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10517         be used.
10518         (isAbsolute): Check path's length as well.
10519
10520 2003-01-17  Mark Wielaard  <mark@klomp.org>
10521
10522         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10523         (nat_source_files): Add natVMObjectStreamClass.cc.
10524         * Makefile.in: Regenerated.
10525         * gcj/javaprims.h (namespace java): Regenerated.
10526         * java/io/ObjectStreamClass.java (getClassUID): Call
10527         VMObjectStreamClass.hasClassInitializer().
10528         (hasClassInitializer): Removed.
10529         * java/io/VMObjectStreamClass.java: New class.
10530         * java/io/natVMObjectStreamClass.cc: New file.
10531         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10532
10533 2003-01-16  Mark Wielaard  <mark@klomp.org>
10534
10535         * java/net/SocketImpl.java (toString): Don't explicitly call
10536         toString() on possible null address.
10537
10538 2003-01-16  Michael Koch  <konqueror@gmx.de>
10539
10540         * java/net/MulticastSocket.java
10541         (setInterface): Reindented.
10542
10543 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10544
10545         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10546         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10547         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10548         translateY arguments.  Implement.
10549         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10550         down translation arguments.
10551         (drawPolyline, drawPolygon): Fix incorrect tests.
10552         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10553         translateX and translateY arguments.
10554
10555 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10556
10557         * Makefile.in: Rebuilt.
10558         * Makefile.am (xlib_includes): New macro.
10559         (INCLUDES): Use it.
10560
10561 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10562
10563         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10564         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10565         16-bit display mode.
10566
10567 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10568
10569         * java/awt/CardLayout.java (show): Rewrote.
10570         (gotoComponent): Removed `target' argument.  Simplified code.
10571         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10572         Changed all callers.
10573         (NONE): Removed.
10574         
10575 2003-01-14  Michael Koch  <konqueror@gmx.de>
10576
10577         * java/net/InetSocketAddress.java
10578         (serialVersionUID): New member variable.
10579         * java/net/NetPermission.java
10580         (NetPermission): Dont implement java.io.Serialization directly.
10581         * java/net/SocketAddress.java:
10582         (serialVersionUID): Documentation added.
10583         
10584 2003-01-14  Michael Koch  <konqueror@gmx.de>
10585
10586         * java/awt/Label.java
10587         (Label): Implements javax.accessibility.Accessible;
10588         * java/awt/List.java
10589         (List): Implements javax.accessibility.Accessible;
10590         * java/awt/ScrollPane.java
10591         (ScrollPane): Implements javax.accessibility.Accessible;
10592         * java/awt/Scrollbar.java
10593         (Scrollbar): Implements javax.accessibility.Accessible;
10594         * java/awt/TextComponent.java
10595         (setCaretPosition): Throw exception, documentation added.
10596         * java/awt/Toolkit.java:
10597         Added some newlines in method documentations.
10598         (createButton): Exception documentation added.
10599         (createTextField): Exception documentation added.
10600         (createLabel): Exception documentation added.
10601         (createList): Exception documentation added.
10602         (createCheckbox): Exception documentation added.
10603         (createScrollbar): Exception documentation added.
10604         (createScrollPane): Exception documentation added.
10605         (createTextArea): Exception documentation added.
10606         (createChoice): Exception documentation added.
10607         (createFrame): Exception documentation added.
10608         (createWindow): Exception documentation added.
10609         (createDialog): Exception documentation added.
10610         (createMenuBar): Exception documentation added.
10611         (createMenu): Exception documentation added.
10612         (createMenuItem): Exception documentation added.
10613         (createFileDialog): Exception documentation added.
10614         (createCheckboxMenuItem): Exception documentation added.
10615         (loadSystemColors): Exception documentation added.
10616         (setDynamicLayout): Exception documentation added.
10617         (isDynamicLayoutSet): Exception documentation added.
10618         (isDynamicLayoutActive): Exception documentation added.
10619         (getScreenSize): Exception documentation added.
10620         (getScreenResolution): Exception documentation added.
10621         (getScreenInsets): Exception documentation added.
10622         (getColorModel): Exception documentation added.
10623         (getSystemClipboard): Exception documentation added.
10624         (getSystemSelection): Exception documentation added.
10625         (getMenuShortcutKeyMask): Exception documentation added.
10626         (getSystemEventQueue): Exception documentation added.
10627         * java/awt/Window.java:
10628         Reindented some code.
10629         (Window): Centralized implementation, documentation added.
10630         (finalize): Documentation added.
10631         (hide): Fixed typo in comment.
10632         (getWindowListeners): Documentation added.
10633         * java/awt/color/ColorSpace.java
10634         (toRGB): Documentation added.
10635         * java/awt/color/ICC_ColorSpace.java
10636         (ICC_ColorSpace): Documentation added.
10637         (toRGB): Throw exception, documentation added.
10638         (fromRGB): Throw exception, documentation added.
10639         (toCIEXYZ): Documentation added.
10640         (fromCIEXYZ): Documentation added.
10641         (getMinValue): Documentation added.
10642         (getMaxValue): Documentation added.
10643         * java/awt/geom/Dimension2D.java
10644         (clone): Documentation added.
10645         * java/awt/geom/GeneralPath.java
10646         (clone): Documentation added.
10647         * java/awt/geom/Line2D.java
10648         (clone): Documentation added.
10649         * java/awt/geom/QuadCurve2D.java
10650         (clone): Documentation added.
10651         * java/awt/image/ColorModel.java
10652         (ColorModel): Throw exception, documentation added.
10653         * java/awt/image/ImageFilter.java
10654         (clone): Doesnt throw CloneNotSupportedException.
10655
10656 2003-01-14  Andrew Haley  <aph@redhat.com>
10657
10658         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10659         in a try block.
10660
10661 2003-01-10  Andrew Haley  <aph@redhat.com>
10662
10663         * include/dwarf2-signal.h: Remove x86_64.
10664         * configure.host (x86_64 DIVIDESPEC): Remove.
10665         * include/x86_64-signal.h: New file.
10666         * configure.in: Regenerate.
10667
10668 2003-01-10  Michael Koch  <konqueror@gmx.de>
10669
10670         * java/net/DatagramSocket.java
10671         (ch): Description added.
10672         (remotePort): Initialize with -1.
10673         (connect): Doesnt throws SocketException.
10674         * java/net/MulticastSocket.java
10675         (setInterface): Merge with Classpath.
10676         * java/net/ServerSocket.java
10677         (closed): New member variable.
10678         (bind): Check if socket is closed.
10679         (close): Close an associated channel too, set new value to closed.
10680         (isBound): Reindented.
10681         (isClosed): Implemented.
10682         * java/net/Socket.java
10683         (closed): New member variable.
10684         (bind): Check if socket is closed.
10685         (connect): Check if socket is closed.
10686         (close): Close an associated channel too, set new value to closed.
10687         (isClosed): Implemented.
10688
10689 2003-01-10  Michael Koch  <konqueror@gmx.de>
10690
10691         * java/awt/DisplayMode.java
10692         (equals): Fixed argument type and implementation.
10693
10694 2003-01-07  Tom Tromey  <tromey@redhat.com>
10695
10696         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10697         JV_HASH_SYNCHRONIZATION.
10698         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10699         JV_HASH_SYNCHRONIZATION.
10700
10701 2003-01-07  Michael Koch  <konqueror@gmx.de>
10702  
10703         * java/net/DatagramSocket.java:
10704         Added classpath license info.
10705         (DatagramSocket): Merged description with classpath.
10706         (close): Merged description with classpath.
10707         (getChannel): Merged description with classpath.
10708         (getInetAddress): Merged description with classpath.
10709         (getPort): Merged description with classpath.
10710         (getLocalAddress): Merged description with classpath.
10711         (getLocalPort): Merged description with classpath.
10712         (getSoTimeout): Merged description with classpath.
10713         (setSoTimeout): Merged description with classpath.
10714         (getSendBufferSize): Merged description with classpath.
10715         (setSendBufferSize): Merged description with classpath.
10716         (getReceiveBufferSize): Merged description with classpath.
10717         (setReceiveBufferSize): Merged description with classpath.
10718         
10719 2003-01-04  Tom Tromey  <tromey@redhat.com>
10720
10721         * java/awt/List.java: Merged with Classpath.
10722
10723 2003-01-03  Mark Wielaard  <mark@klomp.org>
10724
10725         * java/io/FileDescriptor.java (position): New private field.
10726         * java/io/natFileDescriptorPosix.cc (write): Up position.
10727         (setLength): Use and set position.
10728         (seek): Set position.
10729         (getFilePointer): Return position.
10730         (read): Up position.
10731
10732 2003-01-03  Mark Wielaard  <mark@klomp.org>
10733
10734         Merge with Classpath:
10735         * java/io/ObjectStreamClass.java (lookup): Split method and call
10736         lookupForClassObject().
10737         (lookupForClassObject): New method.
10738         (isProxyClass): New field.
10739         (setClass): Set isProxyClass, add object to classLookupTable, set
10740         superClass and calculateOffsets.
10741         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10742         and not a proxy class.
10743         (setFields): Set accessible true for serialPersistentFields.
10744         (getClassUID): Same for suid. And check if suid is of type long.
10745         (hasClassInitializer): Don't throw NoSuchMethodError.
10746
10747 2003-01-03  Mark Wielaard  <mark@klomp.org>
10748
10749         * java/io/FileInputStream.java (finalize): Don't explicitly
10750         finalize FileDescriptor.
10751
10752 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10753
10754         * configure.host (sparc*-*): Enable bytecode interpreter.
10755
10756 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10757
10758         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10759         Don't throw RemoteException.
10760         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10761         throw RemoteException.
10762
10763 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10764
10765         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10766         proxyHost): New static fields.
10767         (<clinit>): Initialize new fields.
10768         (connect): Use proxy if necessary.
10769         (usingProxy): Implement.
10770
10771 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10772
10773         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10774         (TreeIterator.remove): Prefer IllegalStateException over
10775         ConcurrentModificationException, to match Sun.
10776
10777 2002-12-22  Anthony Green  <green@redhat.com>
10778
10779         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10780
10781 2003-01-02  Mark Wielaard  <mark@klomp.org>
10782
10783         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10784         public.
10785         (HTTP_USE_PROXY): Add field.
10786         (getResponseVals): Only set responseCode when not yet explicitly
10787         set by subclass.
10788
10789 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10790             Mark Wielaard  <mark@klomp.org>
10791
10792         * java/util/zip/ZipFile.java (entries): Now HashMap.
10793         (readLeShort(DataInput, byte[])): Read from given byte array.
10794         (readLeInt(DataInput, byte[]): Likewise.
10795         (readLeShort(byte[] b, int off)): New method.
10796         (readLeInt(byte[] b, int off)): Likewise.
10797         (readEntries): Use byte arrays to read info in bigger chunks.
10798         (getEntries): Return HashMap.
10799         (getEntry): Use HashMap.
10800         (locBuf): New private field.
10801         (checkLocalHeader): Use locBuf to read info in one chunk.
10802         (getInputStream): Use entries HashMap, wrap PartialInputStream
10803         in BufferedInputStream.
10804         (ZipEntryEnumeration): Use HashMap and Interator.
10805
10806 2003-01-02  Mark Wielaard  <mark@klomp.org>
10807             Jeroen Frijters  <jeroen@sumatra.nl>
10808
10809         * java/net/URLClassLoader.java (Resource.getCodeSource):
10810         Fix check certs == null.
10811         (getCanonicalFileURL): Removed method.
10812         (JarURLLoader): Don't call removed method.
10813         (FileURLLoader): Likewise.
10814         (FileURLLoader.getResource): Don't canonicalize file name.
10815
10816 2003-01-01  Tom Tromey  <tromey@redhat.com>
10817
10818         * Makefile.in: Rebuilt.
10819         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10820         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10821         java/awt/BufferCapabilities.java, java/awt/Button.java,
10822         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10823         java/awt/Container.java, java/awt/Cursor.java,
10824         java/awt/EventQueue.java, java/awt/FileDialog.java,
10825         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10826         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10827         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10828         java/awt/Scrollbar.java, java/awt/TextArea.java,
10829         java/awt/TextField.java, java/awt/color/CMMException.java,
10830         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10831         java/awt/color/ProfileDataException.java,
10832         java/awt/datatransfer/Clipboard.java,
10833         java/awt/datatransfer/DataFlavor.java,
10834         java/awt/datatransfer/FlavorMap.java,
10835         java/awt/datatransfer/SystemFlavorMap.java,
10836         java/awt/dnd/DragGestureEvent.java,
10837         java/awt/dnd/DragGestureRecognizer.java,
10838         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10839         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10840         java/awt/im/InputMethodHighlight.java,
10841         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10842         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10843
10844         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10845         `op' to BufferedImageOp.
10846
10847 2002-12-31  Tom Tromey  <tromey@redhat.com>
10848
10849         Fix for PR libgcj/7416:
10850         * javax/naming/InitialContext.java (init): Use
10851         gnu.classpath.home.url.
10852         * java/security/Security.java: Use new properties.
10853         (loadProviders): Accept base url; use it.
10854         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10855         gnu.classpath.home.url.
10856         (gnu.classpath.home.url): Define.
10857         (gnu.classpath.vm.shortname): Likewise.
10858
10859 2002-12-31  Tom Tromey  <tromey@redhat.com>
10860             Ranjit Mathew  <rmathew@hotmail.com>
10861
10862         Fix for PR libgcj/8997:
10863         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10864         Include platform.h.
10865         * include/posix.h (_Jv_platform_usleep): New function.
10866         * include/win32.h (_Jv_platform_usleep): New function.
10867
10868 2002-12-29  Tom Tromey  <tromey@redhat.com>
10869
10870         * gcj/javaprims.h: Updated.
10871         * scripts/classes.pl (scan): Removed stray semicolon.
10872
10873 2002-12-30  Mark Wielaard  <mark@klomp.org>
10874
10875         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10876         if zero or smaller.
10877
10878 2002-12-30  Mark Wielaard  <mark@klomp.org>
10879
10880         * java/util/Properties (formatForOutput): Don't fall through to
10881         default case after escaping character.
10882
10883 2002-12-30  Mark Wielaard  <mark@klomp.org>
10884
10885         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10886         against count.
10887
10888 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10889
10890         * boehm.cc: Remove stray semicolon.
10891         * interpret.cc: Likewise.
10892         * prims.cc: Likewise.
10893         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10894         earlier to ensure default arguments are processed.
10895         * gcj/array.h (JArray): Add forward declaration.
10896         (elements): Likewise.
10897         * gcj/javaprim.h: Remove stray semicolons.
10898         * include/bohm-gc.h: Likewise.
10899         * include/jni.h: Likewise.
10900         * include/jvm.h: Likewise.
10901         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10902         
10903 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10904
10905         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10906         of catch_type.
10907         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10908         idt tables after initializing superclass.
10909         * java/lang/natClassLoader.cc (uaddr): New typedef.
10910         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10911         if they are constant pool indicies.  Don't link vtable, otable yet.
10912
10913 2002-12-21  Anthony Green  <green@redhat.com>
10914
10915         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10916         libraries.
10917         * Makefile.in: Rebuilt.
10918
10919 2002-12-19  Anthony Green  <green@redhat.com>
10920
10921         * Makefile.am (ordinary_java_source_files): Add
10922         org/xml/sax/helpers/NewInstance.java.
10923         * Makefile.in: Rebuilt.
10924         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10925         org/xml/sax/helpers/package.html: New files.
10926         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10927         http://www.saxproject.org.
10928
10929 2002-12-19  Andrew Haley  <aph@redhat.com>
10930
10931         * java/util/natResourceBundle.cc: Include
10932         ArrayIndexOutOfBoundsException.h.
10933         (getCallingClassLoader): Don't put upper bound on stack search.
10934         Catch ArrayIndexOutOfBoundsException.
10935
10936 2002-12-19  Tom Tromey  <tromey@redhat.com>
10937
10938         * libtool-version: Increased `current'.
10939
10940 2002-12-19  Tom Tromey  <tromey@redhat.com>
10941
10942         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10943         comment.
10944         * java/lang/ClassLoader.java (defineClass): Use chained
10945         exception when rethrowing.
10946         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10947         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10948         constants.
10949         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10950         (_Jv_PrepareClass): Use it.
10951         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10952         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10953         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10954         (Class): _Jv_PrepareMissingMethods now friend.
10955         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10956         Record `NULL' for system class loader.
10957         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10958         system class loader.
10959         (_Jv_FindClassInCache): Likewise.
10960         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10961         (_Jv_FindClass): Special case system class loader.
10962         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10963         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10964         vtable slots.
10965         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10966         in a final class.
10967         (_getDeclaredMethod): Don't return synthetic methods.
10968         (getDeclaredMethods): Likewise.
10969         (_getMethod): Likewise.
10970         (_getMethods): Likewise.
10971
10972 2002-12-18  Raif Naffah  <raif@fl.net.au>
10973
10974         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10975         canonical form after divide().
10976         (modInverse): Likewise.
10977
10978 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10979             Mark Wielaard  <mark@klomp.org>
10980
10981         * java/security/SecurityRandom (digest): Removed field.
10982         (SecureRandom): Check all providers for case-insensitive SecureRandom
10983         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10984         if necessary.
10985         (getInstance(String,Provider,boolean): New method.
10986         (getInstance(String)): Use new method.
10987         (getInstance(String,String)): Likewise.
10988         (getInstance(String,Provider)): Likewise.
10989
10990 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10991
10992         * java/security/Security.java (loadProviders): Increment i only once.
10993
10994 2002-12-12  Mark Wielaard  <mark@klomp.org>
10995
10996         * java/lang/ClassLoader.java (resolveClass0): Transform
10997         ClassNotFoundException to NoClassDefFoundError. Transform all other
10998         throwables to LinkageError.
10999
11000 2002-12-11  Tom Tromey  <tromey@redhat.com>
11001
11002         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11003
11004         * java/lang/ClassLoader.java (loadedClasses): New field.
11005         (defineClass): Fixed indentation.  Put new class in
11006         loadedClasses.
11007         (findLoadedClass): Implement here.
11008         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11009
11010 2002-12-10  Tom Tromey  <tromey@redhat.com>
11011
11012         * Makefile.in: Rebuilt.
11013         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11014         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11015         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11016         * java/lang/natClassLoader.cc
11017         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11018
11019 2002-12-10  Mark Wielaard  <mark@klomp.org>
11020             Tom Tromey  <tromey@redhat.com>
11021
11022         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11023         (JarURLLoader): Use it.
11024         (FileURLLoader): Likewise.
11025         (JarURLResource.getURL): Use chained exception.
11026         (FileResource.getURL): Likewise.
11027         (FileURLLoader.getResource): Use canonical file name.
11028         (addURL): Indentation fix.
11029
11030 2002-12-10  Tom Tromey  <tromey@redhat.com>
11031
11032         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11033         From Laurent Bardet <l.bardet@magic.fr>.
11034
11035 2002-12-09  Tom Tromey  <tromey@redhat.com>
11036
11037         * include/win32.h (_Jv_platform_solib_prefix): New define.
11038         (_Jv_platform_solib_suffix): Likewise.
11039         * include/posix.h (_Jv_platform_solib_prefix): New define.
11040         (_Jv_platform_solib_suffix): Likewise.
11041         * java/lang/natRuntime.cc: Include StackTrace.h.
11042         (_load): Use findLibrary and new platform defines.
11043         (nativeGetLibname): Use new platform defines.
11044
11045         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11046         `t' won't be null.
11047
11048 2002-12-08  Mark Wielaard  <mark@klomp.org>
11049
11050         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11051         cache remote jar files.
11052         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11053         add File.separator to URL when it is a directory.
11054         * java/lang/ClassLoader.java: Add Classpath javadoc.
11055         (parent): final.
11056         (getParent): Add (disabled) security check.
11057         (findLibrary): New default method.
11058         * java/net/JarURLConnection.java (getManifest): Implement.
11059         (getInputStream): Only create InputStream when entry exists.
11060         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11061         when they exist.
11062         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11063
11064 2002-12-08  Mark Wielaard  <mark@klomp.org>
11065
11066         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11067         (lastDefaultLocale): New field.
11068         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11069         resourceBundleCache.
11070
11071 2002-12-06  Mark Wielaard  <mark@klomp.org>
11072
11073         * java/net/InetAddress.java (toString): Use hostname when not null,
11074         don't do an explicit reverse getHostName() lookup.
11075         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11076         NullPointerException.
11077
11078 2002-12-06  Tom Tromey  <tromey@redhat.com>
11079
11080         * include/java-interp.h (class _Jv_InterpMethod): Added
11081         JV_MARKOBJ_DECL.
11082         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11083         mark `prepared' field of interpreted method.
11084         * interpret.cc (compile): Use _Jv_AllocBytes.
11085
11086 2002-12-05  Andrew Haley  <aph@redhat.com>
11087
11088         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11089         #ifdef (HAVE_BACKTRACE) around the whole function body.
11090
11091 2002-12-05  Tom Tromey  <tromey@redhat.com>
11092
11093         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11094         * resolve.cc: Don't include AbstractMethodError.h.
11095         (_Jv_abstractMethodError): Removed.
11096         * defineclass.cc (handleMethodsBegin): Initialize method index to
11097         -1.
11098         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11099         method index for "new" final method.
11100         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11101         isVirtualMethod.  Added `flags' argument.
11102         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11103         class.
11104
11105 2002-12-04  Tom Tromey  <tromey@redhat.com>
11106
11107         * java/net/SocketPermission.java (hashCode): Rewrote.
11108
11109 2002-12-04  Tom Tromey  <tromey@redhat.com>
11110
11111         * Makefile.in: Rebuilt.
11112         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11113         natResourceBundle.
11114         * java/util/ResourceBundle.java (Security): Removed.
11115         (getCallingClassLoader): Now native.
11116         * java/util/natResourceBundle.cc: New file.
11117         * java/lang/natVMSecurityManager.cc: New file.
11118         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11119
11120 2002-12-03  Mark Wielaard  <mark@klomp.org>
11121
11122         * java/util/jar/JarFile.java (manifest): Not final.
11123         (manifestRead): New field.
11124         (JarFile): Don't read Manifest in constructor.
11125         (getManifest): New method.
11126         (JarEnumeration.nextElement): Use new method.
11127         (getEntry): Likewise.
11128         * java/util/zip/ZipFile.java (name): Final.
11129         (raf): Likewsie.
11130         (entries): Change type to Hashtable.
11131         (closed): New field.
11132         (ZipFile): Don't read enties in constructor.
11133         (readEntries): Use Hashtable.
11134         (close): Set new close flag and set entries to null inside
11135         synchronized block.
11136         (entries): Contruct enumeration using new getEntries() method and
11137         entries Hashtable.
11138         (getEntryIndex): Removed.
11139         (getEntries): New method.
11140         (getEntry): Use new getEntries() method and entries Hastable.
11141         (getInputStream): Likewise.
11142         (size): Return getEntries().size().
11143         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11144         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11145         (time): Removed
11146         (dostime): New field.
11147         (zipFileIndex): Removed.
11148         (ZipEntry(ZipEntry)): Copy dostime.
11149         (setDOSTime): Now final and doesn't convert dos time.
11150         (getDOSTime): Likewise.
11151         (setTime): Convert dos time.
11152         (getTime): Likewise.
11153         (getCalendar): New method.
11154         (setExtra): Use setTime().
11155         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11156
11157 2002-12-03  Tom Tromey  <tromey@redhat.com>
11158
11159         * java/lang/Character.java (forDigit): Formatting fix.
11160
11161 2002-12-03  Raif Naffah  <raif@fl.net.au>
11162
11163         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11164         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11165         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11166
11167 2002-12-03  Andrew Haley  <aph@redhat.com>
11168
11169         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11170         _Jv_PushClass.
11171         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11172         (_Jv_PopClass): New.
11173         (_Jv_PushClass): New.
11174         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11175         discover the ClassLoader of our caller.
11176         (_Jv_CheckArrayStore): Don't check that a class is assignment
11177         compatible with Object.
11178         * java/lang/natVMTHrowable.cc: Delete.
11179         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11180         java.lang.VMThrowable.
11181         (StackTrace(), StackTrace(int)): New constructors.
11182         (classAt, methodAt, update, methodAtAddress): New methods.
11183         (map): New field.
11184         * java/lang/VMThrowable.java: Use StackTrace instead of
11185         natVMTHrowable.
11186         * java/lang/Class.h (getClassLoaderInternal): New.
11187         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11188         Be friendly with gnu::gcj::runtime::StackTrace.
11189         (Object.chain): New field.
11190         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11191         gnu::gcj::runtime::StackTrace.
11192         * gnu/gcj/runtime/natStackTrace.cc: New file.
11193         * gnu/gcj/runtime/MethodRef.java: New file.
11194         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11195         instead of getClassLoader().
11196         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11197         java::lang::VMThrowable.
11198         * Makefile.am (core_java_source_files): Add MethodRef.java,
11199         StackTrace.java.
11200         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11201         * Makefile.in: Rebuild.
11202
11203 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11204
11205         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11206         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11207         yes also for sh-linux* and sh[34]*-linux*.
11208         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11209         set SIGNAL_HANDLER to use DWARF2 exception for them.
11210         * configure: Regenerate.
11211
11212 2002-12-02  Tom Tromey  <tromey@redhat.com>
11213
11214         * jni.cc: Added `name' argument.
11215         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11216         `const char *' argument.
11217         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11218
11219 2002-12-01  Tom Tromey  <tromey@redhat.com>
11220
11221         Bug compatibility, for PR libgcj/8738:
11222         * java/io/CharArrayWriter.java (close): Do nothing.
11223         (flush): Likewise.
11224         (reset): Don't touch `closed'.
11225         (write(int)): Don't throw IOException.
11226         (write(char[],int,int)): Likewise.
11227         (write(String,int,int)): Likewise.
11228         (closed): Removed.
11229
11230 2002-12-01  Mark Wielaard  <mark@klomp.org>
11231
11232         * java/lang/SecurityManager.java: Remerge comments, indenting and
11233         checkXXX methods with Classpath.
11234
11235 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11236
11237         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11238         getNormalizedComponents): Fix calculation which was using one too
11239         many bits in the unnormalized format.
11240
11241 2002-11-29  Gary Benson  <gbenson@redhat.com>
11242
11243         For PR libgcj/8759:
11244         * java/beans/Introspector.java (flushCaches): New method.
11245         (flushFromCaches): Likewise.
11246
11247 2002-11-29  Michael Koch <konqueror@gmx.de>
11248
11249         * java/nio/channels/DatagramChannel.java
11250         (open): Added exception documentation.
11251         (write): Added exception documentation.
11252         (connect): Added exception documentation.
11253         (disconnect): Added exception documentation.
11254         (isConnected): Added exception documentation.
11255         (read): Added exception documentation.
11256         (receive): Added exception documentation.
11257         (send): Added exception documentation.
11258         (validOps): Added exception documentation.
11259         * java/nio/channels/SocketChannel.java
11260         (open): Added exception documentation.
11261         (read): Added exception documentation.
11262         (write): Added exception documentation.
11263         (connect): Added exception documentation.
11264         (finishConnect): Added exception documentation.
11265
11266 2002-11-29  Michael Koch <konqueror@gmx.de>
11267
11268         * gnu/java/nio/DatagramChannelImpl:
11269         (fd): New member variable to store file descriptor of socket.
11270         * gnu/java/nio/SelectionKeyImpl.java:
11271         (ops): Removed.
11272         (readyOps): New member variable.
11273         (interestOps): New member variable.
11274         (readyOps): Implemented.
11275         (readyOps): New method to set member variable readyOps.
11276         (interestOps): Replaced ops by interestOps.
11277         * gnu/java/nio/SelectorImpl.java:
11278         (SelectorImpl): Initialize key sets.
11279         (select): Call select with -1 instead of Long.MAX_VALUE).
11280         (java_do_select): Make it a native method.
11281         (getFDsAsArray): New helper method.
11282         (select): Remove canceled keys, give only interested file discriptors
11283         to java_do_select, set ready ops.
11284         (add): No need to initialize keys set here.
11285         (add_selected): No need to initialize selected set here.
11286         (deregisterCanceledKeys): New helper method.
11287         (register): Set interest ops, set attachments, added handling of datagram
11288         channels.
11289         * gnu/java/nio/ServerSocketChannelImpl:
11290         (SocketAccept): Renamed from NioSocketAccept.
11291         (implConfigureBlocking): Implemented.
11292         (accept): Use SocketAccept instead of NioSocketAccept.
11293         * gnu/java/nio/SocketChannelImpl:
11294         Reactivate native methods.
11295
11296 2002-11-29  Michael Koch <konqueror@gmx.de>
11297
11298         * gnu/java/nio/natByteBufferImpl.cc,
11299         gnu/java/nio/natCharBufferImpl.cc,
11300         gnu/java/nio/natDoubleBufferImpl.cc,
11301         gnu/java/nio/natFloatBufferImpl.cc,
11302         gnu/java/nio/natIntBufferImpl.cc,
11303         gnu/java/nio/natLongBufferImpl.cc,
11304         gnu/java/nio/natSelectorImpl.cc,
11305         gnu/java/nio/natServerSocketChannelImpl.cc,
11306         gnu/java/nio/natShortBufferImpl.cc,
11307         gnu/java/nio/natSocketChannelImpl.cc:
11308         New files that implement native functionalities.
11309
11310 2002-11-29  Michael Koch <konqueror@gmx.de>
11311
11312         * gnu/java/nio/ByteBufferImpl.java
11313         (ByteBufferImpl): Moved position() after limit.
11314         (nio_*): Use native implementation.
11315         * gnu/java/nio/CharBufferImpl.java:
11316         Reformated.
11317         (endian): New member variable string endianess of buffer.
11318         (CharBufferImpl): Moved position() after limit.
11319         (nio_*): Use native implementation.
11320         (subSequence): Implemented.
11321         * gnu/java/nio/DoubleBufferImpl.java
11322         (DoubleBufferImpl): Moved position() after limit.
11323         (nio_*): Use native implementation.
11324         * gnu/java/nio/FloatBufferImpl.java
11325         Reformated.
11326         (FloatBufferImpl): Moved position() after limit.
11327         (nio_*): Use native implementation.
11328         * gnu/java/nio/IntBufferImpl.java
11329         Added needed imports, Reformated.
11330         (IntBufferImpl): Moved position() after limit.
11331         (nio_*): Use native implementation.
11332         * gnu/java/nio/LongBufferImpl.java
11333         Reformated.
11334         (LongBufferImpl): Moved position() after limit.
11335         (nio_*): Use native implementation.
11336         * gnu/java/nio/ShortBufferImpl.java
11337         Reformated.
11338         (ShortBufferImpl): Moved position() after limit.
11339         (nio_*): Use native implementation.
11340
11341 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11342
11343         * java/util/Locale.java (toString): Improve efficiency if country
11344         and variant are both empty.
11345
11346 2002-11-26  Tom Tromey  <tromey@redhat.com>
11347
11348         * verify.cc (pop_init_ref): New method.
11349         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11350         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11351         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11352         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11353         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11354         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11355         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11356         let `this' argument be uninitialized.  Don't let `null' be passed
11357         as `this' to construtor.
11358
11359 2002-11-26  Mark Wielaard  <mark@klomp.org>
11360
11361         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11362         * javax/transaction/HeuristicMixedException.java: Likewise.
11363         * javax/transaction/HeuristicRollbackException.java: Likewise.
11364         * javax/transaction/InvalidTransactionException.java: Likewise.
11365         * javax/transaction/NotSupportedException.java: Likewise.
11366         * javax/transaction/RollbackException.java: Likewise.
11367         * javax/transaction/Status.java: Likewise.
11368         * javax/transaction/Synchronization.java: Likewise.
11369         * javax/transaction/SystemException.java: Likewise.
11370         * javax/transaction/Transaction.java: Likewise.
11371         * javax/transaction/TransactionManager.java: Likewise.
11372         * javax/transaction/TransactionRequiredException.java: Likewise.
11373         * javax/transaction/TransactionRolledbackException.java: Likewise.
11374         * javax/transaction/UserTransaction.java: Likewise.
11375         * javax/transaction/xa/XAException.java: Likewise.
11376         * javax/transaction/xa/XAResource.java: Likewise.
11377         * javax/transaction/xa/Xid.java: Likewise.
11378
11379 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11380
11381         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11382         define.
11383         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11384         * include/posix.h (socklen_t): Define if not already defined.
11385
11386 2002-11-25  Tom Tromey  <tromey@redhat.com>
11387
11388         * verify.cc (type::compatible): Backed out broken change.
11389
11390         * verify.cc (type::compatible): Check initialization status
11391         first.
11392         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11393         Don't use NULLCHECK.
11394
11395 2002-11-23  H.J. Lu <hjl@gnu.org>
11396
11397         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11398         Include ../config/accross.m4.
11399         * aclocal.m4; Rebuild.
11400         * configure: Likewise.
11401
11402 2002-11-23  Mark Wielaard  <mark@klomp.org>
11403
11404         * javax/naming/AuthenticationException.java: Update copyright header.
11405         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11406         * javax/naming/Binding.java: Likewise.
11407         * javax/naming/CannotProceedException.java: Likewise.
11408         * javax/naming/CommunicationException.java: Likewise.
11409         * javax/naming/CompositeName.java: Likewise.
11410         * javax/naming/CompoundName.java: Likewise.
11411         * javax/naming/ConfigurationException.java: Likewise.
11412         * javax/naming/Context.java: Likewise.
11413         * javax/naming/ContextNotEmptyException.java: Likewise.
11414         * javax/naming/InitialContext.java: Likewise.
11415         * javax/naming/InsufficientResourcesException.java: Likewise.
11416         * javax/naming/InterruptedNamingException.java: Likewise.
11417         * javax/naming/LimitExceededException.java: Likewise.
11418         * javax/naming/LinkException.java: Likewise.
11419         * javax/naming/LinkLoopException.java: Likewise.
11420         * javax/naming/LinkRef.java: Likewise.
11421         * javax/naming/MalformedLinkException.java: Likewise.
11422         * javax/naming/NameAlreadyBoundException.java: Likewise.
11423         * javax/naming/NameClassPair.java: Likewise.
11424         * javax/naming/NameNotFoundException.java: Likewise.
11425         * javax/naming/NameParser.java: Likewise.
11426         * javax/naming/NamingEnumeration.java: Likewise.
11427         * javax/naming/NamingSecurityException.java: Likewise.
11428         * javax/naming/NoInitialContextException.java: Likewise.
11429         * javax/naming/NoPermissionException.java: Likewise.
11430         * javax/naming/NotContextException.java: Likewise.
11431         * javax/naming/OperationNotSupportedException.java: Likewise.
11432         * javax/naming/PartialResultException.java: Likewise.
11433         * javax/naming/Reference.java: Likewise.
11434         * javax/naming/Referenceable.java: Likewise.
11435         * javax/naming/ReferralException.java: Likewise.
11436         * javax/naming/ServiceUnavailableException.java: Likewise.
11437         * javax/naming/SizeLimitExceededException.java: Likewise.
11438         * javax/naming/TimeLimitExceededException.java: Likewise.
11439         * javax/naming/directory/Attribute.java: Likewise.
11440         * javax/naming/directory/AttributeInUseException.java: Likewise.
11441         * javax/naming/directory/AttributeModificationException.java: Likewise.
11442         * javax/naming/directory/Attributes.java: Likewise.
11443         * javax/naming/directory/BasicAttribute.java: Likewise.
11444         * javax/naming/directory/BasicAttributes.java: Likewise.
11445         * javax/naming/directory/DirContext.java: Likewise.
11446         * javax/naming/directory/InitialDirContext.java: Likewise.
11447         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11448         Likewise.
11449         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11450         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11451         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11452         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11453         * javax/naming/directory/ModificationItem.java: Likewise.
11454         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11455         * javax/naming/directory/SchemaViolationException.java: Likewise.
11456         * javax/naming/directory/SearchControls.java: Likewise.
11457         * javax/naming/directory/SearchResult.java: Likewise.
11458         * javax/naming/event/EventContext.java: Likewise.
11459         * javax/naming/event/EventDirContext.java: Likewise.
11460         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11461         * javax/naming/event/NamingEvent.java: Likewise.
11462         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11463         * javax/naming/event/NamingListener.java: Likewise.
11464         * javax/naming/event/ObjectChangeListener.java: Likewise.
11465         * javax/naming/ldap/Control.java: Likewise.
11466         * javax/naming/ldap/ControlFactory.java: Likewise.
11467         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11468         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11469         * javax/naming/ldap/HasControls.java: Likewise.
11470         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11471         * javax/naming/ldap/LdapContext.java: Likewise.
11472         * javax/naming/ldap/LdapReferralException.java: Likewise.
11473         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11474         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11475         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11476         * javax/naming/spi/DirObjectFactory.java: Likewise.
11477         * javax/naming/spi/DirStateFactory.java: Likewise.
11478         * javax/naming/spi/DirectoryManager.java: Likewise.
11479         * javax/naming/spi/InitialContextFactory.java: Likewise.
11480         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11481         * javax/naming/spi/NamingManager.java: Likewise.
11482         * javax/naming/spi/ObjectFactory.java: Likewise.
11483         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11484         * javax/naming/spi/ResolveResult.java: Likewise.
11485         * javax/naming/spi/Resolver.java: Likewise.
11486         * javax/naming/spi/StateFactory.java: Likewise.
11487
11488         * javax/naming/spi/NamingManager.java (ofb): Package private.
11489
11490 2002-11-21  Mark Wielaard  <mark@klomp.org>
11491
11492         * java/net/URL.java: Merge with Classpath (partly).
11493         * java/net/URLStreamHandler: Merge with Classpath.
11494
11495 2002-11-22  Michael Koch <konqueror@gmx.de>
11496
11497         * include/posix.h:
11498         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11499         * include/win32.h:
11500         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11501         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11502
11503 2002-11-21  Michael Koch <konqueror@gmx.de>
11504
11505         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11506         Only the new network functions should be in it.
11507
11508 2002-11-21  Michael Koch <konqueror@gmx.de>
11509
11510         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11511         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11512
11513 2002-11-21  Michael Koch <konqueror@gmx.de>
11514
11515         * java/nio/channels/AsynchronousCloseException.java,
11516         java/nio/channels/CancelledKeyException.java,
11517         java/nio/channels/ClosedByInterruptException.java,
11518         java/nio/channels/ConnectionPendingException.java,
11519         java/nio/channels/FileLockInterruptionException.java,
11520         java/nio/channels/IllegalSelectorException.java,
11521         java/nio/channels/NoConnectionPendingException.java,
11522         java/nio/channels/NonReadableChannelException.java,
11523         java/nio/channels/NonWritableChannelException.java,
11524         java/nio/channels/NotYetBoundException.java,
11525         java/nio/channels/NotYetConnectedException.java,
11526         java/nio/channels/OverlappingFileLockException.java,
11527         java/nio/channels/UnresolvedAddressException.java,
11528         java/nio/channels/UnsupportedAddressTypeException.java:
11529         New files.
11530         * Makefile.am (ordinary_java_source_files): Added new files.
11531         * Makefile.in: Regenerated.
11532
11533 2002-11-21  Michael Koch <konqueror@gmx.de>
11534
11535         * include/posix.h
11536         (_Jv_socket): New method.
11537         (_Jv_connect): New method.
11538         (_Jv_close): New method.
11539         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11540         (_Jv_bind): New method.
11541         (_Jv_listen): New method.
11542         (_Jv_write): New method.
11543         (_Jv_read): New method.
11544         * include/win32.h
11545         (_Jv_socket): New method.
11546         (_Jv_connect): New method.
11547         (_Jv_close): New method.
11548         (_Jv_bind): New method.
11549         (_Jv_listen): New method.
11550         (_Jv_write): New method.
11551         (_Jv_read): New method.
11552         * java/net/natNetworkInterface.cc:
11553         Include platform.h, removed inclusion of socket.h
11554         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11555         ::close() by _Jv_close().
11556         * java/net/natPlainDatagramSocketImpl.cc:
11557         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11558         added some new lines to make code more readable.
11559         (create): Replaced ::socket() by _Jv_socket().
11560         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11561         * java/net/natPlainSocketImpl.cc:
11562         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11563         removed include of socket.h, removed some windows defines
11564         (now in include/win32.h).
11565         (create): Replaced ::socket() by _Jv_socket().
11566         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11567         (write): Replaced ::read by _Jv_write().
11568         (read): Replaced ::read by _Jv_read().
11569
11570 2002-11-20  Michael Koch <konqueror@gmx.de>
11571
11572         * Makefile.am (ordinary_java_source_files):
11573         Added java/nio/channels/FileChannel.java.
11574         * Makefile.in: Regenerated.
11575
11576 2002-11-20  Michael Koch <konqueror@gmx.de>
11577
11578         * java/io/FileInputStream.java
11579         (getChannel): New method.
11580         * java/io/FileOutputStream.java
11581         (getChannel): New method.
11582         * java/net/ServerSocket.java
11583         (bind): Removed duplicate code and called another bind method instead.
11584         * java/nio/channels/SelectionKey.java
11585         (isValid): Removed wrong exception documentation.
11586         * java/nio/channels/ServerSocketChannel.java
11587         (accept): Added exception documentation.
11588         (open): Fixed typo, added exception documentation.
11589         * java/nio/channels/spi/AbstractSelectableChannel.java
11590         (implCloseChannel): Added exception documentation.
11591         (add): Reformated.
11592         (register): Added exception documentation.
11593
11594 2002-11-20  Andreas Jaeger  <aj@suse.de>
11595
11596         * configure: Regenerated with new libtool.m4.
11597
11598 2002-11-19  Tom Tromey  <tromey@redhat.com>
11599
11600         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11601         `referent'.
11602         (finalize_referred_to_object): Don't modify `referent' or `copy'
11603         fields.
11604         (add_to_hash): Correctly set `n->next' when updating list.
11605         * java/lang/ref/Reference.java (enqueue): Return false if already
11606         enqueued.
11607
11608 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11609
11610         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11611         to function and function pointer declarations in accordance with
11612         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11613         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11614         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11615         JNI function definitions.
11616
11617 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11618
11619         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11620         that was causing CoderResults to be cached, not WeakReferences
11621         to CoderResults.
11622
11623 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11624
11625         * java/security/KeyStore.java (getInstance): Fix
11626         comment and throw IllegalArgumentException if
11627         given provider is null.
11628         (getInstance): New method for jdk1.4 compatibility.
11629
11630 2002-11-18  Michael Koch <konqueror@gmx.de>
11631
11632         * java/net/PlainSocketImpl.java: Fix imports.
11633
11634 2002-11-18  Michael Koch <konqueror@gmx.de>
11635
11636         * java/nio/channels/SelectionKey.java
11637         (isValid): Added exception documentation.
11638         * java/nio/channels/Selector.java
11639         (open): Declare "throws IOException".
11640
11641 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11642
11643         * java/nio/charset/Charset.java
11644         (<clinit>): New method.
11645         (encode): Synchronize use of cached encoder object.
11646         (decode): Synchronize use of cached encoder object.
11647
11648 2002-11-18  Michael Koch <konqueror@gmx.de>
11649
11650         * gnu/java/nio/ByteBufferImpl.java,
11651         gnu/java/nio/CharBufferImpl.java,
11652         gnu/java/nio/DatagramChannelImpl.java,
11653         gnu/java/nio/DoubleBufferImpl.java,
11654         gnu/java/nio/FileChannelImpl.java,
11655         gnu/java/nio/FloatBufferImpl.java,
11656         gnu/java/nio/IntBufferImpl.java,
11657         gnu/java/nio/LongBufferImpl.java,
11658         gnu/java/nio/PipeImpl.java,
11659         gnu/java/nio/SelectionKeyImpl.java,
11660         gnu/java/nio/SelectorImpl.java,
11661         gnu/java/nio/SelectorProviderImpl.java,
11662         gnu/java/nio/ServerSocketChannelImpl.java,
11663         gnu/java/nio/ShortBufferImpl.java,
11664         gnu/java/nio/SocketChannelImpl.java,
11665         java/nio/DoubleBuffer.java,
11666         java/nio/FloatBuffer.java,
11667         java/nio/IntBuffer.java,
11668         java/nio/LongBuffer.java,
11669         java/nio/ShortBuffer.java,
11670         java/nio/channels/FileChannel.java: New files.
11671
11672 2002-11-18  Michael Koch <konqueror@gmx.de>
11673
11674         * Makefile.am (ordinary_java_source_files):
11675         Added java/nio/ReadOnlyBufferException.java and
11676         java/nio/channels/ClosedSelectorException.java.
11677         * Makefile.in: Regenerated.
11678
11679 2002-11-18  Michael Koch <konqueror@gmx.de>
11680
11681         * java/net/PlainSocketImpl.java: Reworked imports.
11682         * java/net/ServerSocket.java
11683         (ServerSocket): Create socket.
11684         * java/net/SocketAddress.java: Documentation added.
11685         * java/net/natPlainSocketImpl.cc: Reindented.
11686         * java/nio/ReadOnlyBufferException.java: New file
11687         * java/nio/channels/ClosedChannelException.java: Documentation added.
11688         * java/nio/channels/ClosedSelectorException.java: New file.
11689
11690 2002-11-17  Mark Wielaard  <mark@klomp.org>
11691
11692         * java/net/HttpURLConnection.java ((getPermission): Take port
11693         into consideration.
11694         (getErrorStream): Implement.
11695
11696 2002-11-17  Mark Wielaard  <mark@klomp.org>
11697
11698         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11699
11700 2002-11-16  Mark Wielaard  <mark@klomp.org>
11701
11702         Integrate work by Raif S. Naffah (raif@fl.net.au)
11703         * java/security/DummyKeyPairGenerator.java (clone): New method.
11704         * java/security/DummyMessageDigest.java (clone): New method.
11705         (engineUpdate): Now public.
11706         (engineReset): Likewise.
11707         (engineDigest): Likewise.
11708         (engineGetDigestLength): New method.
11709         * java/security/DummySignature.java (clone): New method.
11710         * java/security/KeyPairGenerator.java (provider): Now package private.
11711         (getInstance(String)): Use getInstance(String,Provider).
11712         (getInstance(String,String): Use getInstance(String,Provider)
11713         (getInstance(String,Provider): New method.
11714         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11715         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11716         * java/security/MessageDigest.java (provider): Now package private.
11717         (getInstance(String): Use getInstance(String,Provider).
11718         (getInstance(String,String): Use getInstance(String,Provider)
11719         (getInstance(String,Provider): New method.
11720         * java/security/Provider.java (toCanonicalKey): New method.
11721         (get): New method that uses toCanonicalKey().
11722         (put): Use toCanonicalKey().
11723         (remove): Likewise.
11724         * java/security/Security.java (insertProviderAt): Provider index is one
11725         based, not zero based.
11726         (addProvider): Likewise.
11727         (removeProvider): Likewise.
11728         * java/security/Signature.java (provider): Now package private.
11729         (getInstance(String)): Use getInstance(String,Provider).
11730         (getInstance(String,String): Use getInstance(String,Provider)
11731         (getInstance(String,Provider): New method.
11732         (getInstance(String,String,Provider): Don't cast DummySignature.
11733
11734 2002-11-15  Tom Tromey  <tromey@redhat.com>
11735
11736         For PR libgcj/8593:
11737         * java/util/zip/GZIPInputStream.java (read): Check file size.
11738         Look in inflater for remaining input bytes.
11739         (read4): Added buf and offset arguments.
11740
11741 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11742
11743         * java/applet/AppletContext.java: Fix typo and remove redundant
11744         modifiers.
11745
11746 2002-11-14  Tom Tromey  <tromey@redhat.com>
11747
11748         * java/lang/natRuntime.cc (insertSystemProperties): Set
11749         gnu.classpath.home.
11750
11751 2002-11-13  Michael Koch <konqueror@gmx.de>
11752
11753         * java/nio/ByteBuffer.java
11754         (allocate): New method.
11755         (wrap): New method.
11756         (put): New method.
11757         (get): New method.
11758
11759 2002-11-13  Michael Koch <konqueror@gmx.de>
11760
11761         * java/nio/channels/AlreadyConnectedException.java:
11762         Removed unneeded import.
11763         (AlreadyConnectedException): Documentation added.
11764         * java/nio/channels/Pipe.java
11765         (SinkChannel.SinkChannel): Documentation added.
11766         (SinkChannel.validOps): New method.
11767         (SourceChannel.SourceChannel): Documentation added.
11768         (SourceChannel.validOps): New method.
11769         (Pipe): Documentation added.
11770         (open): Documentation added.
11771         (SinkChannel.channel): Documentation added.
11772         (SourceChannel.channel): Documentation added.
11773         * java/nio/channel/SelectableChannel.java
11774         (SelectableChannel): Documentation added.
11775         (blockingLock): Documentation added.
11776         (configureBlocking):Documentation added.
11777         (isBlocking):Documentation added.
11778         (isRegistered):Documentation added.
11779         (keyFor):Documentation added.
11780         (provider):Documentation added.
11781         (register): Documentation added.
11782         (validOps): Documentation added.
11783         * jaba/nio/channels/SelectionKey.java
11784         (SelectionKey): Documentation added.
11785         (attach): Documentation added.
11786         (attachment): Documentation added.
11787         (isAcceptable): Documentation added.
11788         (isConnetable): Documentation added.
11789         (isReadable): Documentation added.
11790         (isWritable): Documentation added.
11791         (cancel): Documentation added.
11792         (channel): Documentation added.
11793         (interestOps): Documentation added.
11794         (isValid): Documentation added.
11795         (readyOps): Documentation added.
11796         (selector): Documentation added.
11797         * jaba/nio/channels/Selector.java
11798         (Selector): Documentation added.
11799         (open): Documentation added.
11800         (close): Documentation added.
11801         (isOpen): Documentation added.
11802         (keys): Documentation added.
11803         (provider): Documentation added.
11804         (select): Documentation added.
11805         (selectedKeys): Documentation added.
11806         (selectNow): Documentation added.
11807         (wakeup): Documentation added.
11808         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11809         (AbstractInterruptibleChannel): Documentation added.
11810         (opened): Default to true;
11811         (begin): Documentation added.
11812         (close): Set opened to false, documentation added.
11813         (isOpen): Documentation added.
11814         * java/nio/channels/spi/AbstractSelectionKey.java
11815         (AbstractSelectionKey): Documentation added.
11816         (cancel): Documentation added.
11817         (isValid): Documentation added.
11818         * java/nio/channels/spi/AbstractSelector.java
11819         (AbstractSelector): Documentation added.
11820         (begin): Documentation added.
11821         (close): Documentation added.
11822         (isOpen): Documentation added.
11823         (deregister): Documentation added.
11824         (end): Documentation added.
11825         (provider): Documentation added.
11826         (implCloseSelector): Documentation added.
11827         (register): Documentation added.
11828         * java/nio/channels/spi/SelectorProvider.java
11829         (SelectorProvider): Documentation added.
11830         (openDatagramChannel): Documentation added.
11831         (openPipe): Documentation added.
11832         (openSelector): Documentation added.
11833         (openServerSocketChannel): Documentation added.
11834         (openSocketChannel): Documentation added.
11835         (provider): Documentation added.
11836
11837 2002-11-12  Michael Koch <konqueror@gmx.de>
11838
11839         * java/nio/Buffer.java: Implemented.
11840         * java/nio/CharBuffer.java: New file.
11841         * java/nio/InvalidMarkException.java: New file.
11842         * java/nio/channels/DatagramChannel.java: Implemented.
11843         * java/nio/channels/ServerSocketChannel.java: Implemented.
11844         * java/nio/channels/SocketChannel.java: Implemented.
11845         * java/nio/channels/spi/AbstractChannel.java: Removed.
11846         * java/nio/channels/spi/AbstractSelectableChannel.java:
11847         Implemented.
11848         * java/nio/charset/Charset.java:
11849         Merge from Classpath.
11850         * java/nio/charset/CharsetDecoder.java: New file.
11851         * java/nio/charset/CharsetEncoder.java: New file.
11852         * java/nio/charset/CoderResult.java: New file.
11853         * Makefile.am (ordinary_java_source_files): Added new files.
11854         * Makefile.in: Regenerated.
11855
11856 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11857
11858         * gnu/java/nio/charset/ISO_8859_1.java,
11859         gnu/java/nio/charset/Provider.java,
11860         gnu/java/nio/charset/US_ASCII.java,
11861         gnu/java/nio/charset/UTF_16.java,
11862         gnu/java/nio/charset/UTF_16BE.java,
11863         gnu/java/nio/charset/UTF_16Decoder.java,
11864         gnu/java/nio/charset/UTF_16Encoder.java,
11865         gnu/java/nio/charset/UTF_16LE.java,
11866         gnu/java/nio/charset/UTF_8.java: New files.
11867
11868 2002-11-11  Michael Koch <konqueror@gmx.de>
11869
11870         * java/nio/charset/CharacterCodingException.java:
11871         This class must be public.
11872         * java/nio/charset/CoderMalfunctionError.java:
11873         This class must be public.
11874         * java/nio/charset/CodingErrorAction.java:
11875         This class must be public.
11876         * java/nio/charset/IllegalCharsetNameException.java:
11877         This class must be public, better implementation.
11878         * java/nio/charset/MalformedInputException.java:
11879         This class must be public, better implementation.
11880         * java/nio/charset/UnmappableCharacterException.java:
11881         This class must be public, better implementation.
11882         * java/nio/charset/UnsupportedCharsetException.java:
11883         This class must be public, better implementation.
11884
11885 2002-11-11  Michael Koch <konqueror@gmx.de>
11886
11887         * java/nio/BufferOverflowException.java,
11888         java/nio/BufferUnderflowException.java: New file.
11889         * Makefile.am (ordinary_java_source_files):
11890         Added new files.
11891         * Makefile.in: Regenerated.
11892
11893 2002-11-10  Tom Tromey  <tromey@redhat.com>
11894
11895         * java/awt/Container.java (validate): Use tree lock.
11896         (getComponent): Likewise.
11897         (getComponents): Likewise.
11898         (addImpl): Likewise.
11899         (remove): Likewise.
11900         (removeAll): Likewise.
11901         (processEvent): Fixed indentation.
11902         (getComponentAt): Use tree lock.
11903         (findComponentAt): Likewise.
11904         (removeNotify): Likewise.
11905         (isAncestorOf): Likewise.
11906         (list): Likewise.
11907         (visitChildren): Likewise.
11908         (findNextFocusComponent): Likewise.
11909         (addNotifyContainerChildren): Likewise.
11910         (getAccessibleChildrenCount): Likewise.
11911         (getAccessibleChild): Likewise.
11912
11913         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11914         (getSize): Likewise.
11915         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11916         (getSize): Likewise.
11917         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11918         (calcSize): Likewise.
11919         * java/awt/CardLayout.java (getSize): Use tree lock.
11920         (gotoComponent): Likewise.
11921         (layoutContainer): Likewise.
11922
11923         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11924         count is 0.
11925         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11926         count is 0.
11927
11928         * java/io/Externalizable.java, java/io/FilePermission.java,
11929         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11930         java/io/SerializablePermission.java, java/text/Format.java,
11931         java/util/AbstractMap.java, java/util/HashMap.java,
11932         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11933         versions from Classpath.
11934
11935 2002-11-10  Anthony Green  <green@redhat.com>
11936
11937         * java/util/jar/Attributes.java (Name): Fix name check.
11938
11939 2002-11-10  Mark Wielaard  <mark@klomp.org>
11940
11941         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11942         with getName() as message.
11943         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11944         type as message.
11945
11946         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11947         unused.
11948
11949 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11950
11951         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11952         for Win32. JNICALL has been defined to __stdcall to be compatible
11953         with Sun's JDKs.
11954
11955 2002-11-10  Tom Tromey  <tromey@redhat.com>
11956
11957         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11958         (setRows): Check newRows, not rows.
11959
11960         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11961
11962 2002-11-09  Tom Tromey  <tromey@redhat.com>
11963
11964         * java/applet/Applet.java, java/applet/AppletContext.java,
11965         java/applet/AppletStub.java, java/applet/AudioClip.java,
11966         java/awt/CardLayout.java,
11967         java/awt/ContainerOrderFocusTraversalPolicy.java,
11968         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11969         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11970         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11971         java/awt/color/ICC_ColorSpace.java,
11972         java/awt/color/ICC_Profile.java,
11973         java/awt/color/ICC_ProfileGray.java,
11974         java/awt/color/ICC_ProfileRGB.java,
11975         java/awt/datatransfer/DataFlavor.java,
11976         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11977         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11978         New versions from Classpath.
11979         * Makefile.in: Rebuilt.
11980         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11981         ICC_ProfileRGB.
11982
11983         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11984         display policy.
11985
11986         * java/awt/List.java (processEvent): Added missing `else's.
11987
11988         * java/awt/Window.java (show): validate() before showing.  Make
11989         parent displayable.
11990         (isDisplayable): New method.
11991
11992 2002-11-07  Mark Wielaard  <mark@klomp.org>
11993
11994         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11995         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11996
11997         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11998         annotation.
11999         (loadClass): Take String as codebases.
12000         (getClassAnnotation): Use MyClassLoader annotations.
12001         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12002         call exportObject(this).
12003
12004         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12005         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12006         (setAnnotation): Don't set locBytesStream and locStream.
12007         (replaceObject): Removed.
12008         (flush): Don't test locStream.
12009         (getLocBytes): LikeWise.
12010         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12011         (leaseCache): New field.
12012         (dirty): Use leaseCache.
12013         (LeaseRecord): New inner class.
12014         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12015         explicitly call exportObject().
12016         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12017         false to communicate with Sun JDK130.
12018         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12019         * gnu/java/rmi/server/RMIObjectInputStream.java
12020         (UnicastConnectionManager): Removed field.
12021         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12022         Use UnicastServer.getExportedRef().
12023         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12024         (expireTime): Likewise.
12025         (CONNECTION_TIMEOUT): Likewise.
12026         (disconnect): Call sock.close().
12027         (isExpired): New method.
12028         (resetTime): Likewise.
12029         (run): Use do while loop and catch Exception for discardConnection().
12030         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12031         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12032         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12033         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12034         (exportObject): Use refcache.
12035         (unexportObject): Likewise.
12036         (getExportedRef): New method.
12037         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12038         constructor.
12039         (exportObject): Save manager.serverobj.
12040         (getStub): New method.
12041
12042 2002-11-07  Mark Wielaard  <mark@klomp.org>
12043
12044         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12045         (getByte): Likewise.
12046         (getShort): Likewise.
12047         (getInt): Likewise.
12048         (getLong): Likewise.
12049         (getFloat): Likewise.
12050         (getDouble): Likewise.
12051         (get): Likewise.
12052         (setChar): Likewise.
12053         (setByte): Likewise.
12054         (setShort): Likewise.
12055         (setInt): Likewise.
12056         (setLong): Likewise.
12057         (setFloat): Likewise.
12058         (setDouble): Likewise.
12059
12060 2002-11-07  Michael Koch <konqueror@gmx.de>
12061
12062         * java/awt/Choice.java,
12063         java/awt/Container.java,
12064         java/awt/GridBagLayout.java:
12065         Fixed documentation.
12066         * java/awt/peer/ContainerPeer.java:
12067         Reindented.
12068
12069 2002-11-07  Michael Koch <konqueror@gmx.de>
12070
12071         * java/awt/color/ICC_Profile.java:
12072         Added missing constants.
12073         * java/awt/color/ICC_ColorSpace.java
12074         (getMinValue): Added dummy implementation.
12075         (getMaxValue): Added dummy implementation.
12076         * java/awt/datatransfer/DataFlavor.java
12077         (imageFlavor): Added.
12078         (isMimeTypeEqual): Must be final.
12079         (getDefaultRepresentationClass): Must be non-static.
12080         (getDefaultRepresentationClassAsString): Must be non-static.
12081         * java/awt/dnd/DragSourceContext.java
12082         (dragExit): Corrected argument.
12083         (dragDropEnd): Corrected argument.
12084         * java/awt/dnd/DragSourceListener.java.java
12085         (dragExit): Corrected argument.
12086         (dragDropEnd): Corrected argument.
12087         * java/awt/font/TextHitInfo.java
12088         (toString): Added stubbed implementation.
12089         * java/awt/geom/PathIterator.java:
12090         The constants must be static.
12091         * java/awt/image/VolatileImage.java
12092         (IMAGE_INCOMPATIBLE): Fixed typo.
12093         * java/awt/image/renderable/RenderableImage.java
12094         (HINTS_OBSERVED): Must be static.
12095         * java/beans/BeanInfo.java:
12096         Constants must be final.
12097
12098 2002-11-06  Tom Tromey  <tromey@redhat.com>
12099
12100         From svens@it.uu.se.  For PR libgcj/8481.
12101         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12102
12103 2002-11-06  Tom Tromey  <tromey@redhat.com>
12104
12105         * jni.cc (array_from_valist): Assume that jlong won't be
12106         promoted.
12107
12108 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12109
12110         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12111         Return 20.
12112         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12113         Return 16.
12114
12115 2002-11-03  Tom Tromey  <tromey@redhat.com>
12116
12117         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12118         VMClassLoader, not findClass.
12119
12120 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12121
12122         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12123         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12124         _Jv_DetermineVTableIndex, to determine vtable offset.
12125         (_Jv_DetermineVTableIndex): Remove.
12126         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12127
12128         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12129
12130 2002-11-03  Tom Tromey  <tromey@redhat.com>
12131
12132         * java/nio/channels/AlreadyConnectedException.java: Extend
12133         IllegalStateException, per spec.
12134
12135 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12136
12137         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12138
12139 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12140
12141         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12142         size items.
12143
12144 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12145
12146         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12147         initial estimated size to avoid enlarge buffer frequently.
12148
12149 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12150
12151         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12152         ClassLoader when null.
12153         (ProxyType.hashCode): Loader null check no longer needed.
12154         (ProxyType.sameTypes): New method.
12155         (ProxyType.equals): Use new method.
12156
12157 2002-10-31  Mark Wielaard  <mark@klomp.org>
12158
12159         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12160         length of String.
12161         * java/net/URLEncoder.java (encode): Likewise.
12162
12163 2002-10-31  Mark Wielaard  <mark@klomp.org>
12164
12165         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12166         when stream is closed.
12167         (closeEntry): Likewise.
12168         (read): Likewise.
12169         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12170         ZipException when no entry active.
12171         (closeEntry): Likewise.
12172         (write): Likewise.
12173
12174 2002-11-02  Tom Tromey  <tromey@redhat.com>
12175
12176         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12177         * java/lang/natClass.cc (initializeClass): Don't return just
12178         because self==thread.
12179
12180         For PR java/8415:
12181         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12182         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12183
12184 2002-11-02  Andreas Schwab  <schwab@suse.de>
12185
12186         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12187         pass GCJFLAGS.
12188         (FLAGS_TO_PASS): Define.
12189         * Makefile.in: Regenerated.
12190
12191 2002-11-01  Michael Koch  <konqueror@gmx.de>
12192
12193         * java/nio/ByteOrder.java: New file.
12194         * java/nio/channels/DatagramChannel.java:
12195         (DatagramChannel): New constructor.
12196         * java/nio/channels/Pipe.java: New file.
12197         * java/nio/channels/SelectableChannel.java: New file.
12198         * java/nio/channels/SelectionKey.java: New file.
12199         * java/nio/channels/Selector.java: New file.
12200         * java/nio/channels/ServerSocketChannel.java
12201         (ServerSocketChannel): New constructor.
12202         * java/nio/channels/SocketChannel.java
12203         (SocketChannel): New constructor.
12204         * java/nio/channels/Pipe.java: New file.
12205         * java/nio/channels/spi/AbstractChannel.java: New file.
12206         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12207         * java/nio/channels/spi/AbstractSelectableChannel.java:
12208         License added
12209         (AbstractSelectableChannel): New stubbed method.
12210         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12211         * java/nio/channels/spi/AbstractSelector.java: New file.
12212         * java/nio/channels/spi/SelectorProvider.java: New file.
12213         * java/nio/charset/Charset.java: New file.
12214         * java/nio/charset/CoderMalfunctionError.java: New file.
12215         * java/nio/charset/CodingErrorAction.java: New file.
12216         * java/nio/charset/spi/CharsetProvider.java
12217         (charsetForName): Uncommented.
12218         * Makefile.am (java_native_source_files): Added new files.
12219         * Makefile.in: Regenerated.
12220
12221 2002-11-01  Michael Koch  <konqueror@gmx.de>
12222
12223         * java/net/InetAddress.java:
12224         (isAnyLocalAddress): Implemented.
12225         (isLoopbackAddress): Implemented, comment added.
12226         (isLinkLocalAddress): Implemented, documentation added.
12227         (isSiteLocalAddress): Implemented, documentation added.
12228         (isMCGlobal): Implemented, documentation added.
12229         (isMCNodeLocal): Implemented, documentation added.
12230         (isMCLinkLocal): Implemented, documentation added.
12231         (isMCSiteLocal): Implemented, documentation added.
12232         (isMCOrgLocal): Implemented, documentation added.
12233         (getHostName): Documentation added.
12234         (getCanonicalHostName): Implemented, documentation added.
12235         (getAddress): Documentation added.
12236         (hashCode): Documentation added.
12237         (equals): Documentation added.
12238         (toString): Fixed implementation.
12239         (getByAddress): Use Inet4Address and Inet6Address.
12240         (lookup): New linewrap.
12241         (getByName): SecurityManager check added, support Inet4Address and
12242         Inet6address, comments added.
12243         (getAllByName): SecurityManager check added, comments added.
12244         * java/net/Inet6Address.java:
12245         (Inet6Address): Initialize parent class with addr instead of null.
12246         * java/net/URL.java
12247         (equals): Documentation added.
12248         (getFile): Documentation added.
12249         (hashCode): Documentation added.
12250         * java/net/natInetAddress.cc:
12251         (aton): Fix IPv6 support.
12252         * java/net/natPlainDatagramSocketImpl.cc:
12253         (peek): Throw PortUnreachableException when suitable.
12254         (peekData): Throw PortUnreachableException when suitable.
12255         (send): Throw PortUnreachableException when suitable.
12256         (receive): Throw PortUnreachableException when suitable.
12257
12258 2002-10-27  Mark Wielaard  <mark@klomp.org>
12259
12260         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12261         argument.
12262         (readLeShort): Likewise and use byte[].
12263         (readLeInt): Likewise.
12264         (readEntries): Use new versions of methods and use byte[] for reading
12265         a complete zip entry. Add ZipFile name to exceptions.
12266         (entries): Add ZipFile name to exceptions.
12267         (getEntry): Likewise.
12268         (checkLocalHeader): Use new versions of methods and add ZipFile name
12269         to exceptions.
12270
12271 2002-10-31  Mark Anderson  <mark@panonet.net>
12272
12273         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12274         added
12275
12276 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12277
12278         * configure.in: Disable hash sync when not using threads.
12279         * configure: Regenerated.
12280
12281 2002-10-24  Tom Tromey  <tromey@redhat.com>
12282
12283         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12284         (_Jv_FindSymbolInExecutable): Removed argument name.
12285         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12286         java.library.path is set.
12287
12288         * gij.cc (help): Document --showversion.
12289         (version): Don't exit.
12290         (main): Handle --showversion.  Exit if --version given.
12291
12292 2002-10-23  Tom Tromey  <tromey@redhat.com>
12293
12294         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12295         (array_from_valist): Correctly handle promotion for jint, jlong,
12296         jfloat, and jdouble.
12297
12298 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12299
12300         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12301         GetFileAttributesEx( ) to find file length and modification times,
12302         as the latter is not present on Windows 95.
12303
12304 2002-10-21  Michael Koch  <konqueror@gmx.de>
12305
12306         * java/net/URL.java
12307         (URL): Activate SecurityManager checks.
12308         (equals): Use URLStreamHandler implementation instead of doing it
12309         alone. This allows special protocol stream handlers to change default
12310         behaviour.
12311         (hashCode): Use URLStreamHandler implementation instead of doing it
12312         alone. This allows special protocol stream handlers to change default
12313         behaviour.
12314         * java/net/URLStreamHandler.java
12315         (equals): Implemented default URL equality check.
12316         (hostsEqual): Implemented default URL equality check.
12317         (hashCode): Implemented default URL hashCode algorithm.
12318         * java/net/natPlainDatagramSocketImpl.cc:
12319         No lines longer then 80 characters.
12320
12321 2002-10-20  Adam Megacz <adam@xwt.org>
12322
12323         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12324         * configure.in: enabled hash sync on Win32
12325         * include/win32-threads.h (_Jv_ThreadId_t): added.
12326         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12327         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12328         removed some posix-isms, use Thread::sleep() instead of usleep,
12329         added code to clear bottom three bits if platform has a broken
12330         linker.
12331         * include/win32-threads.h (_Jv_ThreadId_t): added.
12332
12333 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12334
12335         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12336         runtime property "gnu.gcj.progname" containing the name used to
12337         invoke the current Java program (similar to argv[0] for C
12338         programs).
12339
12340 2002-10-15  Tom Tromey  <tromey@redhat.com>
12341
12342         Fix for PR libgcj/8234:
12343         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12344         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12345
12346 2002-10-13  Mark Wielaard  <mark@klomp.org>
12347
12348         * mauve-libgcj: Enable Mauve tests that compile now.
12349
12350 2002-10-11  Mark Wielaard  <mark@klomp.org>
12351
12352         Fix for PR libgcj/8142
12353         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12354         loading native modules.
12355
12356 2002-10-10  Michael Koch  <konqueror@gmx.de>
12357
12358         * javax/swing/AbstractListModel.java
12359         (getListDataListeners): New stubbed method.
12360         javax/swing/DefaultBoundedRangeModel.java
12361         (getChangeListeners): New stubbed method.
12362         javax/swing/DefaultSingleSelectionModel.java
12363         (getChangeListeners): New stubbed method.
12364
12365 2002-10-10  Michael Koch  <konqueror@gmx.de>
12366
12367         * gcj/.cvsignore: New file to ignore files generated during build.
12368         * include/.cvsignore: New file to ignore files generated during build.
12369
12370 2002-10-10  Michael Koch  <konqueror@gmx.de>
12371
12372         * java/net/HttpURLConnection.java
12373         (getPermission): New method.
12374         (getErrorStream): New stub method.
12375         (getHeaderFieldDate): New stub method.
12376         * java/net/Inet4Address.java:
12377         (isLinkLocalAddress): Typo fixed.
12378         * java/net/InetAddress.java:
12379         (readResolve): New stubbed method (for serialization).
12380         (isAnyLocalAddress): New stubbed method.
12381         (isLoopbackAddress): New stubbed method.
12382         (isLinkLocalAddress): New stubbed method.
12383         (isSiteLocalAddress): New stubbed method.
12384         (isMCGlobal): New stubbed method.
12385         (isMCNodeGlobal): New stubbed method.
12386         (isMCLinkLocal): New stubbed method.
12387         (isMCSiteLocal): New stubbed method.
12388         (isMCOrgLocal): New stubbed method.
12389         (getCanonicalHostName): New stubbed method.
12390         (getByAddress): Create instances of Inet4Address/Inet6Address,
12391         instead of InetAddress, documentation added.
12392         * java/net/MulticastSocket.java
12393         (getInterface): Removed FIXME.
12394         (getNetworkInterface): New method.
12395         (setNetworkInterface): New method.
12396         * java/net/NetworkInterface.java:
12397         (toString): Use property "line.separator" instead of "\n".
12398         * java/net/URLConnection.java
12399         (getContent): New stubbed method.
12400         * java/net/URLStreamHandler.java:
12401         (equals): New stubbed method.
12402         (hostsEqual): New stubbed method.
12403         (hashCode): New stubbed method.
12404         * java/net/natNetworkInterface.cc:
12405         (getRealNetworkInterfaces): Create Inet4Address object
12406         instead of InetAddress.
12407
12408 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12409
12410         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12411         unsigned long temporary to implement insn_iushr shifts.
12412
12413 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12414
12415         * configure.host [s390*-*]: Enable Java interpreter.
12416         Enable hash synchronization.  Add sysdeps dir.
12417         * sysdep/s390/locks.h: New file.
12418
12419 2002-10-06  Mark Wielaard  <mark@klomp.org>
12420
12421         * java/lang/Thread.java (setDaemon): Check startable_flag,
12422         not isAlive().
12423
12424 2002-10-07  Michael Koch  <konqueror@gmx.de>
12425
12426         * java/nio/Buffer.java: New stub file.
12427         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12428         of class Charset.
12429         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12430         * Makefile.in: Regenerated.
12431
12432 2002-10-07  Michael Koch  <konqueror@gmx.de>
12433
12434         * java/nio/ByteBuffer.java:
12435         removed import of not commited class.
12436
12437 2002-10-07  Michael Koch  <konqueror@gmx.de>
12438
12439         * java/nio/ByteBuffer.java,
12440         java/nio/MappedByteBuffer.java:
12441         New files, forgot to add these dummies.
12442         * Makefile.am (java_native_source_files): Added new files.
12443         * Makefile.in: Regenerated.
12444
12445 2002-10-07  Michael Koch  <konqueror@gmx.de>
12446
12447         * java/nio/channels/AlreadyConnectedException.java,
12448         java/nio/channels/ClosedChannelException.java,
12449         java/nio/channels/ReadableByteChannel.java,
12450         java/nio/channels/InterruptibleChannel.java,
12451         java/nio/channels/Channel.java,
12452         java/nio/channels/ByteChannel.java,
12453         java/nio/channels/GatheringByteChannel.java,
12454         java/nio/channels/ScatteringByteChannel.java,
12455         java/nio/channels/WritableByteChannel.java,
12456         java/nio/charset/CharacterCodingException.java,
12457         java/nio/charset/IllegalCharsetNameException.java,
12458         java/nio/charset/MalformedInputException.java,
12459         java/nio/charset/UnmappableCharacterException.java,
12460         java/nio/charset/UnsupportedCharsetException.java,
12461         java/nio/charset/spi/CharsetProvider.java: New file.
12462         These files are exceptions or interfaces,
12463         no real or abstract classes.
12464         * Makefile.am (java_native_source_files): Added new files.
12465         * Makefile.in: Regenerated.
12466
12467 2002-10-05  Michael Koch  <konqueror@gmx.de>
12468
12469         * java/net/InetAddress.java
12470         (getByAddress): Fixed documentation.
12471         (getByAddress): New method.
12472         * java/net/Inet4Address.java: New file.
12473         * java/net/URL.java
12474         (URL): Documentation added.
12475         (getContent): Documentation added.
12476         (getContent): New stubbed method.
12477         (getQuery): New method.
12478         (openConnection): Documentation added.
12479         (openStream): Documentation added.
12480         (setURLStreamHandlerFactory): Documentation added.
12481         * java/net/URI.java: New stub file.
12482         * Makefile.am
12483         (java_native_source_files): Added java/net/Inet4Address.java,
12484         java/net/Inet6Address.java and java/net/URI.java.
12485         * Makefile.in: Regenerated.
12486
12487 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12488
12489         * java/lang/ProtectionDomain.java (linesep): Remove field.
12490         (toString): Use System.getProperty("line.separator").
12491
12492 2002-10-04  Michael Koch  <konqueror@gmx.de>
12493
12494         * java/security/Identity.java: Added serialVersionUID.
12495         * java/security/KeyPair.java: Added serialVersionUID.
12496         * java/security/Provider.java: Added serialVersionUID.
12497         * java/security/SecureRandom.java: Added serialVersionUID.
12498         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12499         * java/security/SignedObject.java: Added serialVersionUID.
12500         * java/security/cert/Certificate.java: Added serialVersionUID.
12501
12502 2002-10-04  Mark Wielaard <mark@klomp.org>
12503
12504         * java/security/Security.java: Use java.home or gnu.classpath.home
12505         to load providers.
12506         (loadProviders): Extra dir argument.
12507         (getProvider): Return null when not found.
12508
12509 2002-10-04  Mark Wielaard  <mark@klomp.org>
12510
12511         * java/lang/Throwable.java: Remerge with Classpath.
12512
12513 2002-10-04  Michael Koch  <konqueror@gmx.de>
12514
12515         * java/net/InetAddress.java:
12516         (isMulticastAddress): Added documentation.
12517         (getHostAddress): Added documentation.
12518         (toString): Added documentation.
12519         (getByAddress): Fixed documentation.
12520         (getByName): Added documentation.
12521         (getAllByName): Added documentation.
12522         (getLocalHost): Added documentation.
12523
12524 2002-10-04  Michael Koch  <konqueror@gmx.de>
12525
12526         * java/beans/beancontext/BeanContextChildSupport.java:
12527         Added serialVersionUID.
12528         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12529         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12530         * javax/naming/Name.java: Added serialVersionUID.
12531
12532 2002-10-03  Adam Megacz <adam@xwt.org>
12533
12534         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12535         some functionality that isn't supported yet on WIN32.
12536
12537 2002-10-03  Tom Tromey  <tromey@redhat.com>
12538
12539         * Makefile.in: Rebuilt.
12540         * Makefile.am (awt_java_source_files): Added new files.
12541
12542 2002-10-03  Michael Koch  <konqueror@gmx.de>
12543
12544         * java/net/InetAddress.java
12545         (class InetAddress): Removed final keyword.
12546         (equals): Fixed typo.
12547         (getByAddress): New method.
12548
12549 2002-10-03  Michael Koch  <konqueror@gmx.de>
12550
12551         * java/awt/dnd/Autoscroll.java:
12552         New file, merge from Classpath.
12553         * java/awt/dnd/DragSourceAdapter.java:
12554         (dragExit): Fixed typos in argument type.
12555         (dragDropEnd): Fixed typos in argument type.
12556         * java/awt/dnd/DragSourceDropEvent.java:
12557         New file, merge from Classpath.
12558         * java/awt/dnd/DropTarget.java:
12559         Added stubs, merge from Classpath.
12560         * java/awt/dnd/DropTargetAdapter.java:
12561         New file, merge from Classpath.
12562         * java/awt/dnd/DropTargetContext.java:
12563         New file, merge from Classpath.
12564         * java/awt/dnd/DropTargetDragEvent.java:
12565         New file, merge from Classpath.
12566         * java/awt/dnd/DropTargetDropEvent.java:
12567         New file, merge from Classpath.
12568         * java/awt/dnd/DropTargetEvent.java:
12569         New file, merge from Classpath.
12570         * java/awt/dnd/DropTargetListener.java:
12571         New file, merge from Classpath.
12572         * java/awt/dnd/MouseDragGestureRecognizer.java:
12573         New file, merge from Classpath.
12574         * java/awt/dnd/peer/DropTargetContextPeer.java:
12575         New file, merge from Classpath.
12576
12577 2002-10-03  Michael Koch  <konqueror@gmx.de>
12578
12579         * java/net/DatagramPacket.java
12580         (setLength): Fixed typo and be HTML-aware.
12581         * java/net/InetSocketAddress.java
12582         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12583         (equals): Added comment about equality of InetSocketAddress objects.
12584         * java/net/ServerSocket.java
12585         (accept): Added checks.
12586         (isClosed): New stubbed method.
12587         * java/net/SocketOptions.java: Reindention.
12588         * java/net/SocketPermission
12589         (SocketPermission): Documentation fixed.
12590
12591 2002-10-03  Michael Koch  <konqueror@gmx.de>
12592
12593         * java/net/DatagramSocket.java
12594         (receive): Check with SecurityManager AFTER the packet is received,
12595         check if connected to multicast address, documentation added.
12596         (send): Only check SecurityManager if connected, check address of
12597         packet to send.
12598         (connect): Implemented, documentation added.
12599         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12600         * java/net/InetSocketAddress.java
12601         (whole file): Reindented.
12602         (hostname): New attribute.
12603         (InetSocketAddress): Initialize new attribute.
12604         (getAddress): Documentation added.
12605         (getHostName): Documentation added.
12606         (getPort): Documentation added.
12607         (hashCode): Documentation added.
12608         (isUnresolved): Documentation added.
12609         (toString): Conform to output of JDK 1.4.1, documentation added.
12610         * java/net/MulticastSocket.java
12611         (joinGroup): Removed FIXME, documentation added.
12612         (leaveGroup): Removed FIXME, documentation added.
12613         (send): Documentation added.
12614         * java/net/Socket.java
12615         (inputShutdown): New variable.
12616         (outputShutdown): New variable.
12617         (Socket): Initialize new variables.
12618         (getRemoteSocketAddress): Check if connected.
12619         (shutdownInput): Set new variable.
12620         (shutdownOutput): Set new variable.
12621         (isConnected): New method.
12622         (isClosed): New method.
12623         (isInputShutdown): New method.
12624         (isOutputShutdown): New method.
12625         * java/net/URLStreamHandler.java
12626         (URLStreamHandler): New method.
12627         (openConnection): Added documentation.
12628         (parseURL): Added documentation.
12629         (getHostAddress): New method.
12630         (getDefaultPort): New method.
12631
12632 2002-10-02  Tom Tromey  <tromey@redhat.com>
12633
12634         * java/rmi/activation/ActivationDesc.java,
12635         java/rmi/activation/ActivationGroupDesc.java,
12636         java/rmi/activation/ActivationGroupID.java,
12637         java/rmi/activation/ActivationID.java: New versions from
12638         Classpath.
12639
12640 2002-09-30  Bo Thorsen  <bo@suse.de>
12641
12642         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12643
12644 2002-09-30  Tom Tromey  <tromey@redhat.com>
12645
12646         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12647         from Classpath.
12648         * Makefile.in: Rebuilt.
12649         * Makefile.am (rmi_java_source_files): Added new files.
12650         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12651         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12652         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12653         Classpath.
12654         * gnu/java/rmi/dgc/DGCImpl.java,
12655         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12656         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12657         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12658         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12659         gnu/java/rmi/server/RMIHashes.java,
12660         gnu/java/rmi/server/RMIObjectInputStream.java,
12661         gnu/java/rmi/server/RMIObjectOutputStream.java,
12662         gnu/java/rmi/server/UnicastConnection.java,
12663         gnu/java/rmi/server/UnicastConnectionManager.java,
12664         gnu/java/rmi/server/UnicastRef.java,
12665         gnu/java/rmi/server/UnicastServer.java,
12666         gnu/java/rmi/server/UnicastServerRef.java,
12667         java/rmi/MarshalledObject.java,
12668         java/rmi/server/RMIClassLoader.java,
12669         java/rmi/server/RemoteObject.java,
12670         java/rmi/server/UnicastRemoteObject.java,
12671         java/security/SecureClassLoader.java: Merged from Classpath.
12672
12673 2002-09-29  Anthony Green  <green@redhat.com>
12674
12675         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12676         Imported from GNU Classpath.
12677         * java/lang/reflect/natProxy.cc: New file.
12678         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12679         from GNU Classpath.
12680         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12681         Classpath.
12682         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12683         Classpath.
12684         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12685         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12686         New statics.
12687         * gcj/javaprims.h ("Java"): Add new classes.
12688         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12689         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12690         java/lang/reflect/Proxy$$ProxyType.h): And this.
12691         (inner_nat_headers): Add these new headers.
12692         (ordinary_java_source_files): Add new files.
12693         (nat_source_files): Add new file.
12694         * Makefile.in: Rebuilt.
12695
12696 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12697
12698         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12699         a single configuration.
12700
12701 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12702
12703         * java/util/TimeZone.java (getDSTSavings): New method.
12704         Fixes PR libgcj/7786.
12705
12706 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12707
12708         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12709         to see if `the_method == 0' before looking up vtable index.
12710         Fixes PR libgcj/7709.
12711
12712 2002-09-25  Tom Tromey  <tromey@redhat.com>
12713
12714         * java/lang/natClassLoader.cc:
12715         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12716         * resolve.cc: Include NoClassDefFoundError.h, not
12717         ClassNotFoundException.h.
12718         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12719
12720         * defineclass.cc: Don't include ClassNotFoundException.h.
12721
12722         * resolve.cc: Include StringBuffer.
12723         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12724
12725         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12726         allocated but not initialized.
12727
12728 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12729
12730         Fix for PR libgcj/7766:
12731         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12732         (getNextEntry): Set it.
12733         (closeEntry): Likewise.
12734         (read): Likewise.
12735         (close): Likewise.
12736         (available): Use it.
12737
12738 2002-09-25  Michael Koch  <konqueror@gmx.de>
12739
12740         * java/net/DatagramSocket.java
12741         (DatagramSocket): Initialize new instance variables.
12742         (close): Reset new instance variables.
12743         (getLocalAddress): Remove unneeded SecurityManager usage.
12744         (getLocalPort): Check if socket is already bound.
12745         (isConnected): New method.
12746         (getInetAddress): Implemented.
12747         (getPort): Better Implementation, documentation fixed.
12748         (getRemoteSocketAddress): New method.
12749         * java/net/JarURLConnection.java
12750         (element): Typo fixed.
12751         (getMainAttributes): New method.
12752         (getAttributes): New method (stub only).
12753         (getManifest): New method (stub only).
12754         * java/net/NetPermission.java: Added serialVersionsUID.
12755         * java/net/Socket.java
12756         (connect): Check blocking mode of associated channel,
12757         documentation added.
12758         (getLocalSocketAddress): Better implementation.
12759         (getRemoteSocketAddress): Implemented.
12760         (isBound): New method.
12761         (setSendBufferSize): Documentation added.
12762         * java/net/SocketAddress.java: Added serialVersionsUID.
12763         * java/net/SocketPermission.java: Added serialVersionsUID.
12764         * java/net/URL.java
12765         (URL): Wrap for shorter lines, initialize new instance variables,
12766         documentation added.
12767         (equals): Check new instance variables too.
12768         (getContent): Documentation added.
12769         (getPath): Documentation added.
12770         (getAuthority): New method.
12771         (getHost): Documentation added.
12772         (getPort): Documentation added.
12773         (getDefaultPort): New method.
12774         (getProtocol): Documentation added.
12775         (getUserInfo): Documentation added.
12776         (set): Initialize new instance variables, documentation added.
12777         * java/net/URLStreamHandler.java
12778         (setURL): New method.
12779         * java/net/natPlainDatagramSocketImpl.cc
12780         (connect): Fix exception name.
12781         (disconnect): Fix exception name.
12782
12783 2002-09-25  Michael Koch  <konqueror@gmx.de>
12784
12785         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12786         * java/nio/channels/DatagramChannel.java:
12787         extends AbstractSelectableChannel
12788         * java/nio/channels/ServerSocketChannel.java:
12789         extends AbstractSelectableChannel
12790         * java/nio/channels/SocketChannel.java:
12791         extends AbstractSelectableChannel
12792         * Makefile.am (ordinary_java_source_files):
12793         java/nio/channels/spi/AbstractSelectableChannel.java added.
12794         * Makefile.in: Regenerated.
12795
12796 2002-09-25  Michael Koch  <konqueror@gmx.de>
12797
12798         * java/net/DatagramSocket.java
12799         (DatagramSocket): Exception documentation added.
12800         (bind): Exception documentation added, addded SecurityManager check,
12801         added SocketAddress type check.
12802         (getSoTimeout): Check impl.
12803         (receive): Fix SecurityManager check, check impl, documentation added.
12804         (send): Check channel mode, documentation added.
12805         (connect): New method.
12806         (disconnect): Implemented.
12807         (getLocalSocketAddress): New method.
12808         (getReceiveBufferSize): Check impl.
12809         (setReuseAddress): Check impl.
12810         (getReuseAddress): Check impl.
12811         (setBroadcast): Check impl.
12812         (getBroadcast): Check impl.
12813         (setTrafficClass): Check impl, Documentation cleared.
12814         (getTrafficClass): Check impl.
12815         (getSendBufferSize): Check impl.
12816         (setReceiveBufferSize): Check impl, documentation added.
12817         (setSendBufferSize): Documentation added.
12818         (setDatagramSocketImplFactory): New method.
12819         * java/net/HttpURLConnection.java
12820         (HTTP_INTERNAL_ERROR): The correct code is 500.
12821         (HTTP_NOT_IMPLEMENTED): Added new constant.
12822         (setFollowRedirects): Documentation added.
12823         (getInstanceFollowRedirects): New method.
12824         (setInstanceFollowRedirects): New method.
12825         (setRequestMethod): Documentation added.
12826         (getResponseCode): Documentation added.
12827         (getResponseMessage): Documentation added.
12828         * java/net/JarURLConnection.java
12829         (JarURLConnection): protected since JDK 1.4.
12830         (getJarEntry): java.io.IOException to IOException, documentation added.
12831         (getJarFile): Documentation added.
12832         * java/net/ServerSocket.java
12833         (ServerSocket): Private to public, exception added.
12834         (ServerSocket): java.io.IOException to IOException, documentation added.
12835         (bind): Check socket address type, documentation added.
12836         (bind): java.io.IOException to IOException, documentation added.
12837         (accept): Documentation added.
12838         (implAccept): Check ch is not non-blocking, documentation added.
12839         (setSoTimeout): Documentation fixed.
12840         (setReceiveBufferSize): Documentation added.
12841         * java/net/Socket.java
12842         (Socket): Documentation added.
12843         (bind): Documentation added.
12844         (connect): Check socket address type, documentation added.
12845         (getRemoteSocketAddress): New method.
12846         (getLocalSocketAddress): New method.
12847         (setSoLinger): Documentation added.
12848         (getReuseAddress): New method.
12849         (setReuseAddress): New method.
12850         (getTrafficClass): New method.
12851         (setTrafficClass): New method.
12852         * java/net/URLStreamHandler.java
12853         (openConnection): java.io.IOException to IOException.
12854         (parseURL): Documentation added.
12855         (sameFile): public to protected, documentation added.
12856         (setURL): Documentation added.
12857         * java/nio/IllegalBlockingModeException.java: New file.
12858         * Makefile.am (ordinary_java_source_files):
12859         added java/nio/IllegalBlockingModeException.java
12860         * Makefile.in: Regenerated.
12861
12862 2002-09-25  Michael Koch  <konqueror@gmx.de>
12863
12864         * java/net/DatagramPacket
12865         (DatagramPacket): Exception documentation added.
12866         (setData): Likewise.
12867         (setSocketAddress): Likewise.
12868         * java/net/DatagramSocketImpl.java
12869         (peek): Documentation addded.
12870         (peekData): Documentation addded.
12871         (send): Documentation addded.
12872         (receive): Documentation addded.
12873         (connect): New method.
12874         (disconnect): New method.
12875         (joinGroup): New abstract method.
12876         (leaveGroup): New abstract method.
12877         * java/net/InetSocketAddress.java
12878         (InetSocketAddress): Documentation added.
12879         (equals): final keyword added.
12880         (getAddress): final keyword added.
12881         (getHostName): final keyword added.
12882         (getPort): final keyword added.
12883         (hashCode): final keyword added.
12884         (isUnresolved): final keyword added.
12885         * java/net/MulticastSocket.java
12886         (MulticastSocket): Documentation added.
12887         (MulticastSocket): New method.
12888         (joinGroup): Documentation added.
12889         (joinGroup): New method.
12890         (leaveGroup): Documentation added.
12891         (leaveGroup): New method.
12892         (send): Documentation added.
12893         * java/net/NetworkInterface.java
12894         (getByName): Documentation added.
12895         (getByInetAddress): Documentation added.
12896         (getNetworkInterfaces): Documentation added.
12897         * java/net/PlainDatagramSocketImpl.java
12898         (connect): New method.
12899         (disconnect): New method.
12900         * java/net/SocketImpl.java
12901         (create): Documentation added.
12902         (shutdownInput): Convert public to protected, as it always was.
12903         (shutdownOutput): Convert public to protected, as it always was.
12904         * java/net/SocketOptions.java
12905         (whole file): Reintented.
12906         * java/net/URLClassLoader.java
12907         (URLClassLoader): SecurityManager check added, documentation added.
12908         (findResources): Documentation added.
12909         (findClass): Documentation added.
12910         (newInstance): More correct method arguments.
12911         * java/net/URLConnection.java
12912         (connect): Documentation added.
12913         (getContent): Documentation added.
12914         (getPermission): Documentation added.
12915         (getInputStream): Documentation added.
12916         (getOutputStream): Documentation added.
12917         (setDoInput): Throw correct exception, documentation added.
12918         (setDoOutput): Throw correct exception, documentation added.
12919         (setAllowUserInteraction): Throw correct exception, documentation added.
12920         (setUseCaches): Throw correct exception, documentation added.
12921         (setIfModifiedSince): Throw correct exception, documentation added.
12922         (setRequestProperty): Throw exception, documentation added.
12923         (addRequestProperty): Throw exception, documentation added.
12924         (getRequestProperty): Throw exception, documentation added.
12925         (getRequestProperties): Documentation added.
12926         (setContentHandlerFactory): Documentation added.
12927         (guessContentTypeFromName): protected to public.
12928         (setFileNameMap): Documentation added.
12929         * java/net/URLDecoder.java
12930         (URLDecoder): New method.
12931         (decode): Documentation added.
12932         (whole file): Reindented.
12933         * java/net/URLEncoder.java
12934         (encode): Documentation added.
12935         * java/net/natPlainDatagramSocketImpl.cc
12936         (connect): New method.
12937         (disconnect): New method.
12938         * javax/naming/RefAddr:
12939         (addrType): addrType was never final.
12940         (equals): Fix typo in method name.
12941         * javax/naming/BinaryRefAddr:
12942         (equals): Fix typo in method name.
12943
12944 2002-09-22  Tom Tromey  <tromey@redhat.com>
12945
12946         Fix for PR libgcj/6576:
12947         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12948         didn't find a given bundle.
12949         (getBundle): Don't require base bundle.
12950         (setParent): Removed old comment.
12951         (tryLocalBundle): Try components even if preceding components were
12952         empty.
12953
12954 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12955
12956         * Makefile.am (all-multi): Fix multilib parallel build.
12957
12958 2002-09-21  Michael Koch  <konqueror@gmx.de>
12959
12960         * java/net/Socket.java
12961         (sendUrgentData): New method.
12962         (getChannel): New method.
12963         * java/net/ServerSocket.java
12964         (getChannel): New method.
12965         (isBound): New method.
12966         * java/net/DatagramSocket.java
12967         (DatagramSocket): Two new methods.
12968         (bind): New method.
12969         (getChannel): New method.
12970         (isBound): New method.
12971         (send): Added newline to to make shorter lines.
12972         * java/net/PlainDatagramSocketImpl.java
12973         (mcastGrp): Added argument.
12974         (join): Use new mcastGrp.
12975         (leave): Use new mcastGrp.
12976         (joinGroup): New method.
12977         (leaveGroup): New method.
12978         * java/net/natPlainDatagramSocketImpl.cc
12979         (mcastGrp): Added argument, no yet really implemented.
12980         (getOption): Added newline for shorter lines.
12981         * java/net/natPlainSocketImpl.cc
12982         (read, setOption, getOption): Added newline for shorter lines.
12983
12984 2002-09-19  Tom Tromey  <tromey@redhat.com>
12985
12986        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12987        newly-created exception.
12988
12989 2002-09-18  Michael Koch  <konqueror@gmx.de>
12990
12991         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12992         java/util/regex/PatternSyntaxException.java:
12993         Merge with classpath, new files.
12994         * Makefile.am (core_java_source_files):
12995         Added java/util/regex/Matcher.java,
12996         java/util/regex/Pattern.java,
12997         java/util/regex/PatternSyntaxException.java
12998         * Makefile.in: Regenerated.
12999         * include/config.h.in: Added HAVE_NET_IF_H.
13000         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13001         Removed #if 0 ... #endif.
13002
13003 2002-09-17  Michael Koch  <konqueror@gmx.de>
13004
13005         * java/net/natNetworkInterface.cc:
13006         Removed unneed and yet wrong includes.
13007
13008 2002-09-17  Michael Koch  <konqueror@gmx.de>
13009
13010         * java/net/NetworkInterface.java: New file.
13011         * java/net/natNetworkInterface.java: New file.
13012         * configure.in: Added check for net/if.h.
13013         * configure: Regenerated.
13014         * Makefile.am
13015         (ordinary_java_source_files): Added NetworkInterface.java.
13016         (nat_source_files): Added natNetworkInterface.cc.
13017         * Makefile.in: Regenerated.
13018
13019 2002-09-16  Tom Tromey  <tromey@redhat.com>
13020
13021         * java/net/URLClassLoader.java (findClass): Code source for a
13022         class from a jar is not necessarily a jar: URL.
13023
13024 2002-09-16  Michael Koch  <konqueror@gmx.de>
13025
13026         * java/lang/AssertionError.java:
13027         Merge with classpath, fixes HTML.
13028         * java/rmi/server/LogStream.java:
13029         Merge with classpath, fixes some constants.
13030         * java/net/server/RemoteServer.java:
13031         Merge with classpath, adds serialVersionUID.
13032         * javax/naming/BinaryRefAddr.java:
13033         Merge with classpath, s/equal/equals/.
13034         * javax/naming/NamingException.java:
13035         Merge with classpath, fixed typo.
13036         * javax/naming/RefAddr.java:
13037         Merge with classpath, s/equal/equals/.
13038         * java/awt/Toolkit.java:
13039         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13040         and typo fixed.
13041
13042 2002-09-15  Adam Megacz <adam@xwt.org>
13043
13044         * java/net/natPlainSocketImpl.cc: fixed typo.
13045
13046 2002-09-15  Adam Megacz <adam@xwt.org>
13047
13048         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13049         which don't work on Win32 (yet).
13050
13051 2002-09-14  Adam Megacz <adam@xwt.org>
13052
13053         * java/net/natPlainDatagramSocket.cc: removed #include
13054         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13055         * include/win32.h: included definition for IP_TOS to satisfy
13056         natPlainDatagramSocket.cc
13057
13058 2002-09-13  Michael Koch  <konqueror@gmx.de>
13059
13060         * java/net/DatagramPacket.java (DatagramPacket):
13061         Added linebreak for 80 chars per line.
13062         * java/net/JarURLConection.java
13063         (getInputStreami, getJarEntry): Likewise.
13064         * java/net/SocketPErmission.java
13065         (SocketPermission class docu, implies): Likewise.
13066         * java/net/URLClassLoader.java (findResources): Likewise.
13067         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13068
13069 2002-09-13  Michael Koch  <konqueror@gmx.de>
13070
13071         * java/nio/channels/DatagramChannel.java,
13072         java/nio/channels/ServerSocketChannel.java
13073         java/nio/channels/SocketChannel.java:
13074         New dummy files to make java.net fully JDK 1.4 compatible
13075         * Makefile.am (ordinary_java_source_files): Added
13076         java/net/DatagramSocketImplFactory.java (long forgotten),
13077         java/nio/SocketChannel.java,
13078         java/nio/ServerSocketChannel.java,
13079         java/nio/DatagramChannel.java
13080         * Makefile.in: Regenrated.
13081
13082 2002-09-12  Michael Koch  <konqueror@gmx.de>
13083
13084         * java/net/DatagramSocketImpl.java
13085         (peekData): New method.
13086         * java/net/PlainDatagramSocketImpl.java
13087         (peekData): New method.
13088         * java/net/natPlainDatagramSocketImpl.cc
13089         (peekData): New method.
13090         * java/net/URLConnection
13091         (getPermission): New method.
13092         (addRequestProperty): New method.
13093         (getRequestProperties): New method.
13094         (guessContentTypeFromStream): New method, not really implemented.
13095         (URLConnection): Added/updated documentation.
13096         (connect): Added/updated documentation.
13097         (getURL): Added/updated documentation.
13098         (getContentLength): Added/updated documentation.
13099         (getContentType: Added/updated documentation.
13100         (getContentEncoding): Added/updated documentation.
13101         (getExpiration): Added/updated documentation.
13102         (getDate): Added/updated documentation.
13103         (getLastModified): Added/updated documentation.
13104         (getHeaderField): Added/updated documentation.
13105         (getHeaderFields): Added/updated documentation.
13106         (getHeaderFieldInt): Added/updated documentation.
13107         (getHeaderFieldDate): Added/updated documentation.
13108         (getHeaderFieldKey): Added/updated documentation.
13109         (getContent): Added/updated documentation.
13110         (getInputStream): Added/updated documentation.
13111         (getOutputStream): Added/updated documentation.
13112         (toString): Added/updated documentation.
13113         (setDoInput): Added/updated documentation.
13114         (getDoInput): Added/updated documentation.
13115         (setDoOutput): Added/updated documentation.
13116         (getDoOutput): Added/updated documentation.
13117         (setAllowUserInteraction): Added/updated documentation.
13118         (getAllowUserInteraction): Added/updated documentation.
13119         (setDefaultAllowUserInteraction): Added/updated documentation.
13120         (getDefaultAllowUserInteraction): Added/updated documentation.
13121         (setUseCaches): Added/updated documentation.
13122         (getUseCaches): Added/updated documentation.
13123         (setIfModifiedSince): Added/updated documentation.
13124         (getIfModifiedSince): Added/updated documentation.
13125         (getDefaultUseCaches): Added/updated documentation.
13126         (setDefaultUseCaches): Added/updated documentation.
13127         (setRequestProperty): Added/updated documentation.
13128         (getRequestProperty): Added/updated documentation.
13129         (setDefaultRequestProperty): Added/updated documentation.
13130         (getDefaultRequestProperty): Added/updated documentation.
13131         (setContentHandlerFactory): Added/updated documentation.
13132         (guessContentTypeFromName): Added/updated documentation.
13133         (getFileNameMap): Added/updated documentation.
13134         (setFileNameMap): Added/updated documentation.
13135
13136 2002-09-11  Michael Koch  <konqueror@gmx.de>
13137
13138         * java/net/Socket.java
13139         (Socket): protected to public (since JDK 1.4). Added @specnote.
13140         (bind): New method.
13141         (connect): Two new methods.
13142         (getKeepalive): Get correct socket option.
13143         (setKeepalive): Set correct socket option.
13144         (getOOBInline): New method.
13145         (setOOBInline): New method.
13146         * java/net/ServerSocket.java
13147         (bind): Two new methods.
13148         (getInetAddress): Reimplemented, catch exception.
13149         (getLocalSocketAddress): New method.
13150         (setReuseAddress): New method.
13151         (getReuseAdress): New method.
13152         (setReceiveBufferSize): New method.
13153         (getReceiveBufferSize): New method.
13154         (toString): Made string JDK 1.4 compliant.
13155
13156 2002-09-10  Michael Koch  <konqueror@gmx.de>
13157
13158         * java/net/SocketImpl.java
13159         (connect): New method.
13160         (supportsUrgentData): New method.
13161         (sendUrgentData): New method.
13162         * java/net/PlainSocketImpl.java
13163         (connect): One new method and two new implementation.
13164         (sendUrgentData): New method.
13165         * java/natPlainSocketImpl.cc
13166         (connect): Arguments changed, added support for timeouts.
13167         (getOption): Another __java_boolean to jboolean.
13168
13169 2002-09-07  Adam Megacz <adam@xwt.org>
13170
13171         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13172         definition of IP_TOS.
13173
13174 2002-09-04  Michael Koch  <konqueror@gmx.de>
13175
13176         * java/net/DatagramSocket.java
13177         (DatagramSocket): Added documentation.
13178         (close): Likewise.
13179         (getLocalAddress): Likewise.
13180         (getLocalPort): Likewise.
13181         (receive): Likewise.
13182         (send): Likewise.
13183         (setSoTimeout): Likewise.
13184         (connect): New method.
13185         (disconnect): New method.
13186         (getInetAddress): New method (FIXME)
13187         (getPort): New method.
13188         (setReuseAddress): New method.
13189         (getReuseAddress): New method.
13190         (setBroadcast): New method.
13191         (getBroadcast): New method.
13192         (setTrafficClass): New method.
13193         (getTrafficClass): New method.
13194         * java/net/MulticastSocket.java):
13195         (getTTL): Added @see in documentation.
13196         (setTTL): Added @see in documentation.
13197         (setLoopbackMode): New method.
13198         (getLoopbackMode): New method.
13199         * java/net/PlainSocketImpl.java:
13200         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13201         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13202         * java/net/PlainDatagramSocketImpl.java
13203         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13204         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13205         * java/net/natPlainSocketImpl.cc
13206         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13207         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13208         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13209         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13210         This should also fix SO_KEEPALIVE
13211         * java/net/natPlainDatagramSocketImpl.cc
13212         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13213         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13214         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13215         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13216
13217 2002-09-04  Michael Koch  <konqueror@gmx.de>
13218
13219         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13220         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13221         IP_MULTICAST_LOOP, IP_TOS
13222
13223 2002-09-03  Tom Tromey  <tromey@redhat.com>
13224
13225         * java/lang/Class.h (_getDeclaredMethod): Declare.
13226         (_getMethod): Now private.
13227         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13228         getDeclaredMethod.  Now returns NULL on failure.
13229         * java/lang/Class.java (_getDeclaredMethod): Declare.
13230         (getDeclaredMethod): No longer native; implements access checks.
13231
13232 2002-09-01  Mark Wielaard  <mark@klomp.org>
13233
13234         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13235         (sanitizeStack): Correctly reset unknown and interpreter counters,
13236         detect interpreter runtime frames.
13237         (demangleInterpreterMethod): New method.
13238         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13239         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13240         filling in addrs[].
13241
13242 2002-09-02  Michael Koch  <konqueror@gmx.de>
13243
13244         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13245         re-indented documentation.
13246
13247 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13248
13249         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13250         public, per 1.4 spec.  Fixes PR libgcj/7785.
13251
13252 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13253
13254         * Makefile.in: Rebuilt.
13255         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13256
13257 2002-08-29  Tom Tromey  <tromey@redhat.com>
13258
13259         * java/net/JarURLConnection.java (getCertificates): New method
13260         from Classpath.
13261         * java/net/URLClassLoader.java (URLClassLoader): Extends
13262         SecureClassLoader.
13263         (definePackage): New method from Classpath.
13264         (getPermissions): Likewise.
13265         (newInstance): Likewise.
13266         (findClass): Construct CodeSource for new class (from Classpath).
13267         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13268         methods.
13269         * java/net/URL.java (getUserInfo): New method.
13270         (set(String,String,int,String,String,String,String,String)): New
13271         method.
13272         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13273         (shutdownInput, shutdownOutput): Declare.
13274         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13275         Define.
13276         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13277         (getOption): Likewise.
13278         (shutdownInput): New method.
13279         (shutdownOutput): Likewise.
13280         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13281         keepalive.
13282         (getOption): Likewise.
13283         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13284         * java/net/Socket.java (setKeepAlive): New method.
13285         (getKeepAlive): Likewise.
13286         (shutdownInput, shutdownOutput): New methods.
13287
13288 2002-08-29  Michael Koch  <konqueror@gmx.de>
13289
13290         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13291         new methods are:
13292         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13293           address),
13294         DatagramPacket(byte[] buf, int length, SocketAddress address),
13295         void setSocketAddress(SocketAddress address)
13296         public SocketAddress getSocketAddress()
13297
13298 2002-08-29  Tom Tromey  <tromey@redhat.com>
13299
13300         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13301         ftruncate is missing.
13302         * configure, include/config.h.in: Rebuilt.
13303         * acconfig.h (HAVE_FTRUNCATE): Mention.
13304         * configure.in: Check for ftruncate.
13305
13306 2002-08-29  Tom Tromey  <tromey@redhat.com>
13307
13308         * include/jvm.h (struct _Jv_frame_info): New structure.
13309         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13310         java-interp.h.
13311         (lookupInterp): New method.
13312         (getAddrAsString): Use _Jv_frame_info.
13313         (dladdrLookup): Likewise.
13314         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13315         interpreted frame.
13316         (lookupInterp): Declare.
13317         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13318         (fillInStackTrace): Collect information on interpreted frames.
13319         Use _Jv_frame_info.
13320         * interpret.cc: Include Thread.h.
13321         (run): Create and push _Jv_MethodChain object.
13322         (_Jv_EndOfInterpreter): New global.
13323         * java/lang/Thread.java (interp_frame): New field.
13324         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13325         Include NameFinder.h.
13326
13327 2002-08-28  Tom Tromey  <tromey@redhat.com>
13328
13329         * java/lang/Class.h: Include Package.h.
13330         (Class::getProtectionDomain): Declare.
13331         (Class::getPackage): Declare.
13332
13333 2002-08-28  Michael Koch <konqueror@gmx.de>
13334
13335         * java/net/InetSocketAddress.java: Added some documentation and argument
13336         checks for the port numbers.
13337         * java/net/DatagramSocketImplFactory.java: New file.
13338
13339 2002-08-28  Michael Koch <konqueror@gmx.de>
13340
13341         * java/net/Authenticator.java: added some documentation.
13342
13343 2002-08-27  Tom Tromey  <tromey@redhat.com>
13344
13345         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13346         class.
13347         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13348
13349 2002-08-27  Michael Koch <konqueror@gmx.de>
13350
13351         * java/net/BindException.java,
13352         java/net/JarURLConnection.java,
13353         java/net/FileNameMap.java,
13354         java/net/HttpURLConnection.java,
13355         java/net/InetSocketAddress.java,
13356         java/net/DatagramPacket.java,
13357         java/net/DatagramSocket.java,
13358         java/net/DatagramSocketImpl.java,
13359         java/net/MulticastSocket.java,
13360         java/net/PasswordAuthentication.java,
13361         java/net/ServerSocket.java,
13362         java/net/Socket.java,
13363         java/net/URLClassLoader.java,
13364         java/net/URLConnection.java: add/update of some @since/@deprecated
13365
13366 2002-08-27  Tony Kimball <alk@pobox.com>
13367             Tom Tromey  <tromey@redhat.com>
13368
13369         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13370         define.
13371         (::close): Removed.
13372         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13373         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13374         (::close): Removed.
13375         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13376         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13377
13378 2002-08-25  Adam Megacz <adam@xwt.org>
13379
13380         * include/win32.h (getcwd): copied function declaration as
13381         temporary fix for header confusion.
13382
13383 2002-08-24  Mark Wielaard <mark@klomp.org>
13384
13385         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13386         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13387         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13388         and natNameFinder.cc.
13389         * Makefile.in: Regenerate.
13390         * prims.cc: Use trace_enabled from VMThrowable.
13391         * name-finder.cc: Removed.
13392         * gcj/javaprims.h: Add class VMThrowable.
13393         * gnu/gcj/runtime/NameFinder.java: New file.
13394         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13395         * include/name-finder.h: Removed.
13396         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13397         method stackTraceString().
13398         (printStackTrace (PrintWriter)): Likewise.
13399         (stackTraceString): Complete rewrite of old printStackTrace using
13400         StringBuffer.
13401         (stackTraceStringBuffer): New helper method for stackTraceString().
13402         (fillInStackTrace): Delegate to VMTrowable.
13403         (getStackTrace): Likewise.
13404         (getStackTrace0): Removed.
13405         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13406         (setStackTrace): Copy given array.
13407         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13408         * java/lang/VMThrowable.java: New class.
13409         * java/lang/natVMThrowable.cc: New file.
13410
13411 2003-08-23  Michael Koch  <konqueror@gmx.de>
13412
13413         * java/net/URLConnection.java,
13414         java/netJarURLConnection.java,
13415         gnu/gcj/protocol/core/Connection.java,
13416         gnu/gcj/protocol/file/Connection.java,
13417         gnu/gcj/protocol/http/Connection.java: Added implementation of
13418         getHeaderFields().
13419
13420 2002-08-22  Tom Tromey  <tromey@redhat.com>
13421
13422         * gij.cc (help): Document -cp and -classpath.
13423         (main): Handle -classpath.
13424
13425 2002-08-21  Tom Tromey  <tromey@redhat.com>
13426
13427         * Makefile.in: Rebuilt.
13428         * Makefile.am (ordinary_java_source_files): Added
13429         SocketAddress.java, InetSocketAddress.java.
13430         * java/net/PortUnreachableException.java: Merged with Classpath.
13431         * java/net/SocketTimeoutException.java: Likewise.
13432         * java/net/URISyntaxException.java: Likewise.
13433         * java/net/SocketAddress.java: New class from Classpath.
13434         * java/net/InetSocketAddress.java: Likewise.
13435
13436 2003-08-21  Michael Koch  <konqueror@gmx.de>
13437
13438         * java/net/Authenticator.java: updated JDK 1.4
13439         * java/net/ContentHandler.java: updated JDK 1.4
13440
13441 2002-08-20  Michael Koch  <konqueror@gmx.de>
13442
13443         * java/net/URISyntaxException.java: New file.
13444         * java/net/SocketTimeoutException.java: New file.
13445         * java/net/PortUnreachableException.java: New file.
13446         * Makefile.am: Updated.
13447         * Makefile.in: Rebuilt.
13448
13449 2002-08-18  Mark Wielaard  <mark@klomp.org>
13450
13451         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13452         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13453         MessageDigestSpi (fixes Classpath bug #783).
13454
13455 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13456
13457         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13458         (startProcess): Allocate path for chdir in async-signal-safe way.
13459
13460 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13461
13462         Fix for PR libgcj/7570 and PR libgcj/7578:
13463         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13464         (startProcess): Handle new `dir' argument.
13465         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13466         argument.
13467         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13468         argument.
13469         (startProcess): Likewise.
13470         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13471         argument.
13472         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13473         (exec): Don't create new environment if ENV==null.  Pass DIR to
13474         execInternal.
13475         * java/lang/natRuntime.cc: Include java/io/File.h.
13476         (execInternal): Added `dir' argument.
13477
13478 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13479
13480         * java/io/RandomAccessFile.java (skipBytes): Return number of
13481         bytes skipped.
13482
13483 2002-08-01  Mark Wielaard  <mark@klomp.org>
13484
13485         Reenable patch since shared library troubles on powerpc are solved:
13486         * gnu/java/security/provider/Gnu.java: Reference all implementation
13487         classes by using Class.getName().
13488         * gnu/java/security/der/DEREncodingException.java,
13489         gnu/java/security/provider/DERReader.java,
13490         gnu/java/security/provider/DERWriter.java,
13491         gnu/java/security/provider/DSAKeyPairGenerator.java,
13492         gnu/java/security/provider/DSAParameterGenerator.java,
13493         gnu/java/security/provider/DSAParameters.java,
13494         gnu/java/security/provider/DSASignature.java,
13495         gnu/java/security/provider/GnuDSAPrivateKey.java,
13496         gnu/java/security/provider/GnuDSAPublicKey.java,
13497         gnu/java/security/provider/MD5.java,
13498         gnu/java/security/util/Prime.java: New classes
13499         * Makefile.am (ordinary_java_source_files): Add above files.
13500         * Makefile.in: Regenerate.
13501         * gnu/java/security/provider/DefaultPolicy.java
13502         (getPermissions): Don't maintain static class variable of Permissions.
13503         * gnu/java/security/provider/SHA.java
13504         (engineUpdate): algorithm change.
13505         (engineDigest): algorithm change.
13506
13507 2002-08-09  Mark Wielaard  <mark@klomp.org>
13508
13509         * java/awt/image/MemoryImageSource.java: Change constructor to take
13510         int[] not byte[].
13511         * java/awt/Graphics2D.java: Uncomment methods that can now be
13512         compiled.
13513         * java/awt/GridBagLayout.java: New stub implementation.
13514         * javax/swing/text/html/HTML.java: Stub implementation.
13515         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13516         implementation.
13517
13518         * Makefile.am: Add new files.
13519         * Makefile.in: Rebuilt.
13520
13521 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13522
13523         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13524         methods in Graphics2D.
13525
13526 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13527
13528         AWT/Swing merge from GNU Classpath.
13529
13530         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13531         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13532         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13533         java/awt/color/ProfileDataException.java,
13534         java/awt/CompositeContext.java, java/awt/Composite.java,
13535         java/awt/ContainerOrderFocusTraversalPolicy.java,
13536         java/awt/datatransfer/FlavorTable.java,
13537         java/awt/DefaultFocusTraversalPolicy.java,
13538         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13539         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13540         java/awt/dnd/DragGestureListener.java,
13541         java/awt/dnd/DragGestureRecognizer.java,
13542         java/awt/dnd/DragSourceAdapter.java,
13543         java/awt/dnd/DragSourceContext.java,
13544         java/awt/dnd/DragSourceDragEvent.java,
13545         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13546         java/awt/dnd/DragSourceListener.java,
13547         java/awt/dnd/DragSourceMotionListener.java,
13548         java/awt/dnd/DropTarget.java,
13549         java/awt/dnd/InvalidDnDOperationException.java,
13550         java/awt/dnd/peer/DragSourceContextPeer.java,
13551         java/awt/event/AWTEventListenerProxy.java,
13552         java/awt/event/MouseWheelEvent.java,
13553         java/awt/event/MouseWheelListener.java,
13554         java/awt/event/WindowFocusListener.java,
13555         java/awt/event/WindowStateListener.java,
13556         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13557         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13558         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13559         java/awt/geom/FlatteningPathIterator.java,
13560         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13561         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13562         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13563         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13564         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13565         java/awt/image/ImagingOpException.java,
13566         java/awt/image/RasterFormatException.java,
13567         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13568         java/awt/image/VolatileImage.java,
13569         java/awt/image/WritableRenderedImage.java,
13570         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13571         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13572         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13573         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13574         java/awt/PageAttributes.java, java/awt/print/Book.java,
13575         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13576         java/awt/print/Paper.java, java/awt/print/Printable.java,
13577         java/awt/print/PrinterAbortException.java,
13578         java/awt/print/PrinterException.java,
13579         java/awt/print/PrinterGraphics.java,
13580         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13581         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13582         java/awt/Stroke.java, java/awt/TexturePaint.java,
13583         javax/accessibility/AccessibleAction.java,
13584         javax/accessibility/AccessibleBundle.java,
13585         javax/accessibility/AccessibleComponent.java,
13586         javax/accessibility/AccessibleContext.java,
13587         javax/accessibility/AccessibleEditableText.java,
13588         javax/accessibility/AccessibleExtendedComponent.java,
13589         javax/accessibility/AccessibleExtendedTable.java,
13590         javax/accessibility/AccessibleHyperlink.java,
13591         javax/accessibility/AccessibleHypertext.java,
13592         javax/accessibility/AccessibleIcon.java,
13593         javax/accessibility/Accessible.java,
13594         javax/accessibility/AccessibleKeyBinding.java,
13595         javax/accessibility/AccessibleRelation.java,
13596         javax/accessibility/AccessibleRelationSet.java,
13597         javax/accessibility/AccessibleResourceBundle.java,
13598         javax/accessibility/AccessibleRole.java,
13599         javax/accessibility/AccessibleSelection.java,
13600         javax/accessibility/AccessibleState.java,
13601         javax/accessibility/AccessibleStateSet.java,
13602         javax/accessibility/AccessibleTable.java,
13603         javax/accessibility/AccessibleTableModelChange.java,
13604         javax/accessibility/AccessibleText.java,
13605         javax/accessibility/AccessibleValue.java,
13606         javax/swing/AbstractAction.java,
13607         javax/swing/AbstractButton.java,
13608         javax/swing/AbstractCellEditor.java,
13609         javax/swing/AbstractListModel.java,
13610         javax/swing/AbstractSet.java, javax/swing/Action.java,
13611         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13612         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13613         javax/swing/border/CompoundBorder.java,
13614         javax/swing/border/EmptyBorder.java,
13615         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13616         javax/swing/border/LineBorder.java,
13617         javax/swing/border/MatteBorder.java,
13618         javax/swing/border/TitledBorder.java,
13619         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13620         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13621         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13622         javax/swing/CellRendererPane.java,
13623         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13624         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13625         javax/swing/colorchooser/ColorSelectionModel.java,
13626         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13627         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13628         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13629         javax/swing/DefaultBoundedRangeModel.java,
13630         javax/swing/DefaultButtonModel.java,
13631         javax/swing/DefaultCellEditor.java,
13632         javax/swing/DefaultCellRenderer.java,
13633         javax/swing/DefaultComboBoxModel.java,
13634         javax/swing/DefaultDesktopManager.java,
13635         javax/swing/DefaultFocusManager.java,
13636         javax/swing/DefaultListCellRenderer.java,
13637         javax/swing/DefaultListModel.java,
13638         javax/swing/DefaultListSelectionModel.java,
13639         javax/swing/DefaultSingleSelectionModel.java,
13640         javax/swing/DesktopManager.java,
13641         javax/swing/event/AncestorEvent.java,
13642         javax/swing/event/AncestorListener.java,
13643         javax/swing/event/CaretEvent.java,
13644         javax/swing/event/CaretListener.java,
13645         javax/swing/event/CellEditorListener.java,
13646         javax/swing/event/ChangeEvent.java,
13647         javax/swing/event/ChangeListener.java,
13648         javax/swing/event/DocumentEvent.java,
13649         javax/swing/event/DocumentListener.java,
13650         javax/swing/event/EventListenerList.java,
13651         javax/swing/event/HyperlinkEvent.java,
13652         javax/swing/event/HyperlinkListener.java,
13653         javax/swing/event/InternalFrameAdapter.java,
13654         javax/swing/event/InternalFrameEvent.java,
13655         javax/swing/event/InternalFrameListener.java,
13656         javax/swing/event/ListDataEvent.java,
13657         javax/swing/event/ListDataListener.java,
13658         javax/swing/event/ListSelectionEvent.java,
13659         javax/swing/event/ListSelectionListener.java,
13660         javax/swing/event/MenuDragMouseEvent.java,
13661         javax/swing/event/MenuDragMouseListener.java,
13662         javax/swing/event/MenuEvent.java,
13663         javax/swing/event/MenuKeyEvent.java,
13664         javax/swing/event/MenuKeyListener.java,
13665         javax/swing/event/MenuListener.java,
13666         javax/swing/event/MouseInputAdapter.java,
13667         javax/swing/event/MouseInputListener.java,
13668         javax/swing/event/PopupMenuEvent.java,
13669         javax/swing/event/PopupMenuListener.java,
13670         javax/swing/event/SwingPropertyChangeSupport.java,
13671         javax/swing/event/TableColumnModelEvent.java,
13672         javax/swing/event/TableColumnModelListener.java,
13673         javax/swing/event/TableModelEvent.java,
13674         javax/swing/event/TableModelListener.java,
13675         javax/swing/event/TreeExpansionEvent.java,
13676         javax/swing/event/TreeExpansionListener.java,
13677         javax/swing/event/TreeModelEvent.java,
13678         javax/swing/event/TreeModelListener.java,
13679         javax/swing/event/TreeSelectionEvent.java,
13680         javax/swing/event/TreeSelectionListener.java,
13681         javax/swing/event/TreeWillExpandListener.java,
13682         javax/swing/event/UndoableEditEvent.java,
13683         javax/swing/event/UndoableEditListener.java,
13684         javax/swing/filechooser/FileFilter.java,
13685         javax/swing/filechooser/FileSystemView.java,
13686         javax/swing/filechooser/FileView.java,
13687         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13688         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13689         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13690         javax/swing/JApplet.java, javax/swing/JButton.java,
13691         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13692         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13693         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13694         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13695         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13696         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13697         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13698         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13699         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13700         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13701         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13702         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13703         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13704         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13705         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13706         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13707         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13708         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13709         javax/swing/JToolTip.java, javax/swing/JTree.java,
13710         javax/swing/JViewport.java, javax/swing/JWindow.java,
13711         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13712         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13713         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13714         javax/swing/MenuSelectionManager.java,
13715         javax/swing/MutableComboBoxModel.java,
13716         javax/swing/OverlayLayout.java,
13717         javax/swing/plaf/ActionMapUIResource.java,
13718         javax/swing/plaf/basic/BasicBorders.java,
13719         javax/swing/plaf/basic/BasicButtonUI.java,
13720         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13721         javax/swing/plaf/basic/BasicDefaults.java,
13722         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13723         javax/swing/plaf/basic/BasicIconFactory.java,
13724         javax/swing/plaf/basic/BasicLabelUI.java,
13725         javax/swing/plaf/basic/BasicListUI.java,
13726         javax/swing/plaf/basic/BasicLookAndFeel.java,
13727         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13728         javax/swing/plaf/basic/BasicPanelUI.java,
13729         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13730         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13731         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13732         javax/swing/plaf/basic/BasicTextUI.java,
13733         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13734         javax/swing/plaf/basic/BasicTreeUI.java,
13735         javax/swing/plaf/basic/BasicViewportUI.java,
13736         javax/swing/plaf/BorderUIResource.java,
13737         javax/swing/plaf/ButtonUI.java,
13738         javax/swing/plaf/ColorChooserUI.java,
13739         javax/swing/plaf/ColorUIResource.java,
13740         javax/swing/plaf/ComboBoxUI.java,
13741         javax/swing/plaf/ComponentInputMapUIResource.java,
13742         javax/swing/plaf/ComponentUI.java,
13743         javax/swing/plaf/DesktopIconUI.java,
13744         javax/swing/plaf/DesktopPaneUI.java,
13745         javax/swing/plaf/DimensionUIResource.java,
13746         javax/swing/plaf/FileChooserUI.java,
13747         javax/swing/plaf/FontUIResource.java,
13748         javax/swing/plaf/IconUIResource.java,
13749         javax/swing/plaf/InputMapUIResource.java,
13750         javax/swing/plaf/InsetsUIResource.java,
13751         javax/swing/plaf/InternalFrameUI.java,
13752         javax/swing/plaf/LabelUI.java,
13753         javax/swing/plaf/ListUI.java,
13754         javax/swing/plaf/MenuBarUI.java,
13755         javax/swing/plaf/MenuItemUI.java,
13756         javax/swing/plaf/OptionPaneUI.java,
13757         javax/swing/plaf/PanelUI.java,
13758         javax/swing/plaf/PopupMenuUI.java,
13759         javax/swing/plaf/ProgressBarUI.java,
13760         javax/swing/plaf/RootPaneUI.java,
13761         javax/swing/plaf/ScrollBarUI.java,
13762         javax/swing/plaf/ScrollPaneUI.java,
13763         javax/swing/plaf/SeparatorUI.java,
13764         javax/swing/plaf/SliderUI.java,
13765         javax/swing/plaf/SplitPaneUI.java,
13766         javax/swing/plaf/TabbedPaneUI.java,
13767         javax/swing/plaf/TableHeaderUI.java,
13768         javax/swing/plaf/TableUI.java,
13769         javax/swing/plaf/TextUI.java,
13770         javax/swing/plaf/ToolBarUI.java,
13771         javax/swing/plaf/ToolTipUI.java,
13772         javax/swing/plaf/TreeUI.java,
13773         javax/swing/plaf/UIResource.java,
13774         javax/swing/plaf/ViewportUI.java,
13775         javax/swing/ProgressMonitorInputStream.java,
13776         javax/swing/ProgressMonitor.java,
13777         javax/swing/Renderer.java,
13778         javax/swing/RepaintManager.java,
13779         javax/swing/RootPaneContainer.java,
13780         javax/swing/Scrollable.java,
13781         javax/swing/ScrollPaneConstants.java,
13782         javax/swing/ScrollPaneLayout.java,
13783         javax/swing/SingleSelectionModel.java,
13784         javax/swing/SizeRequirements.java,
13785         javax/swing/SizeSequence.java,
13786         javax/swing/SwingConstants.java,
13787         javax/swing/SwingUtilities.java,
13788         javax/swing/table/AbstractTableModel.java,
13789         javax/swing/table/DefaultTableCellRenderer.java,
13790         javax/swing/table/DefaultTableColumnModel.java,
13791         javax/swing/table/DefaultTableModel.java,
13792         javax/swing/table/TableCellEditor.java,
13793         javax/swing/table/TableCellRenderer.java,
13794         javax/swing/table/TableColumn.java,
13795         javax/swing/table/TableColumnModel.java,
13796         javax/swing/table/TableModel.java,
13797         javax/swing/text/AbstractDocument.java,
13798         javax/swing/text/AttributeSet.java,
13799         javax/swing/text/BadLocationException.java,
13800         javax/swing/text/Caret.java,
13801         javax/swing/text/CharacterIterator.java,
13802         javax/swing/text/ComponentView.java,
13803         javax/swing/text/DefaultCaret.java,
13804         javax/swing/text/DefaultEditorKit.java,
13805         javax/swing/text/Document.java,
13806         javax/swing/text/EditorKit.java,
13807         javax/swing/text/Element.java,
13808         javax/swing/text/GapContent.java,
13809         javax/swing/text/JTextComponent.java,
13810         javax/swing/text/Keymap.java,
13811         javax/swing/text/MutableAttributeSet.java,
13812         javax/swing/text/PlainDocument.java,
13813         javax/swing/text/PlainEditorKit.java,
13814         javax/swing/text/Position.java,
13815         javax/swing/text/Segment.java,
13816         javax/swing/text/StyledDocument.java,
13817         javax/swing/text/StyledEditorKit.java,
13818         javax/swing/text/Style.java,
13819         javax/swing/text/TextAction.java,
13820         javax/swing/text/ViewFactory.java,
13821         javax/swing/text/View.java,
13822         javax/swing/Timer.java,
13823         javax/swing/ToggleButtonModel.java,
13824         javax/swing/ToolTipManager.java,
13825         javax/swing/tree/AbstractLayoutCache.java,
13826         javax/swing/tree/DefaultMutableTreeNode.java,
13827         javax/swing/tree/DefaultTreeCellEditor.java,
13828         javax/swing/tree/DefaultTreeCellRenderer.java,
13829         javax/swing/tree/DefaultTreeModel.java,
13830         javax/swing/tree/DefaultTreeSelectionModel.java,
13831         javax/swing/tree/ExpandVetoException.java,
13832         javax/swing/tree/FixedHeightLayoutCache.java,
13833         javax/swing/tree/MutableTreeNode.java,
13834         javax/swing/tree/RowMapper.java,
13835         javax/swing/tree/TreeCellEditor.java,
13836         javax/swing/tree/TreeCellRenderer.java,
13837         javax/swing/tree/TreeModel.java,
13838         javax/swing/tree/TreeNode.java,
13839         javax/swing/tree/TreePath.java,
13840         javax/swing/tree/TreeSelectionModel.java,
13841         javax/swing/tree/VariableHeightLayoutCache.java,
13842         javax/swing/UIDefaults.java,
13843         javax/swing/UIManager.java,
13844         javax/swing/undo/AbstractUndoableEdit.java,
13845         javax/swing/undo/CannotRedoException.java,
13846         javax/swing/undo/CannotUndoException.java,
13847         javax/swing/undo/CompoundEdit.java,
13848         javax/swing/undo/StateEditable.java,
13849         javax/swing/undo/StateEdit.java,
13850         javax/swing/undo/UndoableEdit.java,
13851         javax/swing/undo/UndoableEditSupport.java,
13852         javax/swing/undo/UndoManager.java,
13853         javax/swing/UnsupportedLookAndFeelException.java,
13854         javax/swing/ViewportLayout.java,
13855         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13856
13857         * java/awt/ActiveEvent.java,
13858         java/awt/Adjustable.java, java/awt/AWTError.java,
13859         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13860         java/awt/AWTException.java, java/awt/AWTPermission.java,
13861         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13862         java/awt/Color.java, java/awt/Component.java,
13863         java/awt/ComponentOrientation.java, java/awt/Container.java,
13864         java/awt/datatransfer/MimeTypeParseException.java,
13865         java/awt/datatransfer/Transferable.java,
13866         java/awt/datatransfer/UnsupportedFlavorException.java,
13867         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13868         java/awt/event/ActionListener.java,
13869         java/awt/event/AdjustmentEvent.java,
13870         java/awt/event/AdjustmentListener.java,
13871         java/awt/event/AWTEventListener.java,
13872         java/awt/event/ComponentAdapter.java,
13873         java/awt/event/ComponentEvent.java,
13874         java/awt/event/ComponentListener.java,
13875         java/awt/event/ContainerAdapter.java,
13876         java/awt/event/ContainerEvent.java,
13877         java/awt/event/ContainerListener.java,
13878         java/awt/event/FocusAdapter.java,
13879         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13880         java/awt/event/HierarchyBoundsAdapter.java,
13881         java/awt/event/HierarchyBoundsListener.java,
13882         java/awt/event/HierarchyEvent.java,
13883         java/awt/event/HierarchyListener.java,
13884         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13885         java/awt/event/InputMethodListener.java,
13886         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13887         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13888         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13889         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13890         java/awt/event/MouseListener.java,
13891         java/awt/event/MouseMotionAdapter.java,
13892         java/awt/event/MouseMotionListener.java,
13893         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13894         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13895         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13896         java/awt/event/WindowListener.java, java/awt/Font.java,
13897         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13898         java/awt/geom/Ellipse2D.java,
13899         java/awt/geom/IllegalPathStateException.java,
13900         java/awt/geom/Line2D.java,
13901         java/awt/geom/NoninvertibleTransformException.java,
13902         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13903         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13904         java/awt/geom/RoundRectangle2D.java,
13905         java/awt/GraphicsConfiguration.java,
13906         java/awt/IllegalComponentStateException.java,
13907         java/awt/image/IndexColorModel.java,
13908         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13909         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13910         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13911         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13912         java/awt/MenuItem.java, java/awt/PaintContext.java,
13913         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13914         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13915         java/awt/PrintJob.java, java/awt/Rectangle.java,
13916         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13917         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13918         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13919
13920         * java/awt/im/spi/InputMethod.java,
13921         java/awt/im/spi/InputMethodContext.java,
13922         java/awt/im/spi/InputMethodDescriptor.java,
13923         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13924         java/awt/image/renderable/ParameterBlock.java,
13925         java/awt/image/renderable/RenderContext.java,
13926         java/awt/image/renderable/RenderableImage.java,
13927         java/awt/image/renderable/RenderableImageOp.java,
13928         java/awt/image/renderable/RenderableImageProducer.java,
13929         java/awt/image/renderable/RenderedImageFactory.java: New files from
13930         classpath.
13931
13932         * gnu/java/awt/EventModifier.java,
13933         gnu/java/awt/image/ImageDecoder.java,
13934         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13935
13936         * gnu/awt/xlib/XGraphicsConfiguration.java,
13937         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13938         API.
13939
13940         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13941         GNU Classpath.
13942
13943         * Makefile.am: Add new files.
13944         * Makefile.in: Rebuilt.
13945
13946 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13947
13948         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13949         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13950         findResource, getResources, findResources): Add javadoc from classpath.
13951         (getSystemResources): Implemented.
13952
13953 2002-08-01  Mark Wielaard  <mark@klomp.org>
13954
13955         Revert patch that breaks libgcj shared library on powerpc:
13956         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13957         implementation classes by using Class.getName(). Uses Strings again.
13958         * gnu/java/security/der/DEREncodingException.java,
13959         gnu/java/security/provider/DERReader.java,
13960         gnu/java/security/provider/DERWriter.java,
13961         gnu/java/security/provider/DSAKeyPairGenerator.java,
13962         gnu/java/security/provider/DSAParameterGenerator.java,
13963         gnu/java/security/provider/DSAParameters.java,
13964         gnu/java/security/provider/DSASignature.java,
13965         gnu/java/security/provider/GnuDSAPrivateKey.java,
13966         gnu/java/security/provider/GnuDSAPublicKey.java,
13967         gnu/java/security/provider/MD5.java,
13968         gnu/java/security/util/Prime.java: Removed.
13969         * Makefile.am (ordinary_java_source_files): Remove above files.
13970         * Makefile.in: Regenerate.
13971         * gnu/java/security/provider/DefaultPolicy.java
13972         (getPermissions): Revert to maintaining static class variable of
13973         Permissions.
13974         * gnu/java/security/provider/SHA.java
13975         (engineUpdate): Revert algorithm change.
13976         (engineDigest): Revert algorithm change.
13977
13978 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13979
13980         * configure.host: Add SH support.
13981         * sysdep/sh/locks.h: New file.
13982
13983 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13984
13985         * java/awt/Frame.java (Frame): Remove println calls.
13986
13987 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13988
13989         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13990         * configure: Rebuilt.
13991
13992 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13993
13994         * sysdep/powerpc/locks.h: Formatting.
13995         (_LARX): Define.
13996         (_STCX): Define.
13997         (compare_and_swap): Use _LARX and _STCX.
13998         (compare_and_swap_release): Likewise.
13999
14000 2002-07-26  Tom Tromey  <tromey@redhat.com>
14001
14002         * java/net/Authenticator.java: New version from Classpath.
14003         * java/net/DatagramSocketImpl.java: New version from Classpath.
14004
14005 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14006
14007         * configure.host: Add powerpc64*-* entry.
14008
14009 2002-07-26  Tom Tromey  <tromey@redhat.com>
14010
14011         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14012         fcntl.h.
14013
14014 2002-07-24  Tom Tromey  <tromey@redhat.com>
14015
14016         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14017         argument to _load.
14018
14019 2002-07-24  Tom Tromey  <tromey@redhat.com>
14020             Tony Kimball <alk@pobox.com>
14021
14022         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14023         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14024         * java/io/RandomAccessFile.java (setLength): New method.
14025         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14026         * java/io/FileDescriptor.java (setLength): New method.
14027
14028 2002-07-24  Mark Wielaard  <mark@klomp.org>
14029
14030         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14031         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14032         field call setAccessible(true).
14033         (setByteField): Likewise.
14034         (setCharField): Likewise.
14035         (setDoubleField): Likewise.
14036         (setFloatField): Likewise.
14037         (setIntField): Likewise.
14038         (setLongField): Likewise.
14039         (setShortField): Likewise.
14040         (setObjectField): Likewise.
14041
14042 2002-07-24  Tom Tromey  <tromey@redhat.com>
14043
14044         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14045         use toString() to format array element.
14046
14047 2002-07-23  Mark Wielaard  <mark@klomp.org>
14048
14049         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14050         MessageDigestSpi (fixes Classpath bug #783).
14051
14052 2002-07-21  Mark Wielaard  <mark@klomp.org>
14053
14054         * gnu/java/security/provider/Gnu.java: Reference all implementation
14055         classes by using Class.getName().
14056
14057 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14058
14059         * java/lang/ieeefp.h: Add x86-64 support.
14060         * configure.in: Likewise.
14061         * configure.host: Likewise.
14062         * configure: Regenerated.
14063         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14064
14065 2002-07-16  Mark Wielaard  <mark@klomp.org>
14066
14067         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14068         (whitespaceChars): call resetChar().
14069
14070 2002-07-15  Tom Tromey  <tromey@redhat.com>
14071
14072         * Makefile.in: Rebuilt.
14073         * Makefile.am (awt_java_source_files): Added new files.
14074         * java/beans/ExceptionListener.java: Merged with Classpath.
14075         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14076         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14077         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14078         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14079         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14080         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14081         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14082
14083 2002-07-14  Mark Wielaard  <mark@klomp.org>
14084
14085         * gnu/java/security/der/DEREncodingException.java,
14086         gnu/java/security/provider/DERReader.java,
14087         gnu/java/security/provider/DERWriter.java,
14088         gnu/java/security/provider/DSAKeyPairGenerator.java,
14089         gnu/java/security/provider/DSAParameterGenerator.java,
14090         gnu/java/security/provider/DSAParameters.java,
14091         gnu/java/security/provider/DSASignature.java,
14092         gnu/java/security/provider/GnuDSAPrivateKey.java,
14093         gnu/java/security/provider/GnuDSAPublicKey.java,
14094         gnu/java/security/provider/MD5.java,
14095         gnu/java/security/util/Prime.java: New files from Classpath.
14096         * Makefile.am (ordinary_java_source_files): Add new files.
14097         * Makefile.in: Regenerate.
14098
14099 2002-07-14  C. Brian Jones <cbj@gnu.org>
14100
14101         * gnu/java/security/provider/DefaultPolicy.java
14102         (getPermissions): do not maintain static class variable of
14103         Permissions
14104         * gnu/java/security/provider/SHA.java
14105         (engineUpdate): algorithm change
14106         (engineDigest): algorithm change
14107
14108 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14109
14110         For PR libgcj/7292:
14111         * java/lang/Character.java (toString(char)): Now static.
14112
14113 2002-07-12  Mark Wielaard  <mark@klomp.org>
14114
14115         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14116         (getStackTrace0): new method.
14117         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14118         (printStackTrace(PrintWriter)): replace with pure java implementation.
14119         (printRawStackTrace): removed.
14120         (getStackTrace0): new method.
14121         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14122         * gcj/javaprims.h: regenerate class list.
14123         * include/name-finder.h (lookup): new returns StackTraceElement*.
14124         (method_name, file_name): fields removed.
14125         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14126         (~_Jv_name_finder): close new descriptors.
14127         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14128         (createStackTraceElement): new method.
14129         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14130
14131 2002-07-10  Tom Tromey  <tromey@redhat.com>
14132
14133         * configure: Rebuilt.
14134         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14135
14136 2002-07-08  Mark Wielaard  <mark@klomp.org>
14137
14138         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14139         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14140         java.sql.DatabaseMetaData.TestJdbc20
14141
14142 2002-07-05  Tony Kimball  <alk@pobox.com>
14143
14144         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14145
14146 2002-07-04  Tom Tromey  <tromey@redhat.com>
14147             Jeff Sturm  <jsturm@one-point.com>
14148
14149         Fix for PR libgcj/7060:
14150         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14151         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14152         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14153         * java/lang/Class.java (getMethod): New Java implementation;
14154         complies with spec.
14155         (_getMethod): New native method.
14156
14157 2002-07-02  Tom Tromey  <tromey@redhat.com>
14158             David Hovemeyer  <daveho@cs.umd.edu>
14159
14160         * java/text/ChoiceFormat.java
14161         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14162         in check loop.
14163         * java/text/MessageFormat.java
14164         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14165         to MessageFormat.
14166
14167 2002-07-01  Tom Tromey  <tromey@redhat.com>
14168
14169         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14170         StringTokenizer on null string.  For PR libgcj/7180.
14171         From daveho@cs.umd.edu.
14172
14173 2002-06-24  Tom Tromey  <tromey@redhat.com>
14174
14175         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14176         (IntegerClass): Likewise.
14177         * java/lang/natClass.cc (CloneableClass): Removed.
14178         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14179         ConstructorClass): Likewise.
14180         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14181         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14182         SerializableClass): Likewise.
14183         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14184         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14185         LongClass, FloatClass, DoubleClass): Likewise.
14186
14187         * verify.cc (branch_prepass): Updated for change to exception
14188         handler type.
14189         (verify_instructions_0): Likewise.
14190         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14191         (handleExceptionTableEntry): Updated for change to exception
14192         handler type.
14193         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14194         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14195         (union _Jv_InterpPC): New.
14196         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14197         (class _Jv_InterpMethod): Added new `prepared' field.
14198         (class _Jv_InterpMethod): Added `compile' method.  Removed
14199         `continue1' and `find_exception'.  Changed arguments to `run'.
14200         * interpret.cc (union insn_slot): New.
14201         (find_exception): Removed.
14202         (run_normal): Removed most logic.
14203         (run_synch_object): Likewise; also, use JvSynchronize.
14204         (run_synch_class): Likewise.
14205         (run): Removed.
14206         (continue1): Renamed as `run'.  Compile bytecode if required.
14207         Add new code to allow refinement of direct-threaded code at
14208         runtime.  Handle exceptions.
14209         (SAVE_PC): Removed.
14210         (compile): New method.
14211         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14212         (NULLARRAYCHECK): Don't use SAVE_PC.
14213         (pc_t): New typedef.
14214         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14215         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14216
14217 2002-06-23  Tom Tromey  <tromey@redhat.com>
14218
14219         * configure: Rebuilt.
14220         * configure.in (INTERPRETER): New subst.
14221         (AM_RUNTESTFLAGS): Don't subst.
14222
14223         * Makefile.in: Rebuilt.
14224         * Makefile.am ($(srcdir)/java/lang/Object.h,
14225         $(srcdir)/java/lang/Class.h): Added dummy targets.
14226
14227 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14228
14229         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14230
14231         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14232         java/sql/Savepoint.java: New files.
14233         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14234         java/sql/Blob.java, java/sql/CallableStatement.java,
14235         java/sql/Clob.java, java/sql/Connection.java,
14236         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14237         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14238         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14239         java/sql/Ref.java, java/sql/ResultSet.java,
14240         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14241         java/sql/SQLException.java, java/sql/SQLInput.java,
14242         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14243         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14244         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14245         (JDK 1.4) specification.
14246         * javax/sql/ConnectionEvent.java,
14247         javax/sql/ConnectionEventListener.java,
14248         javax/sql/ConnectionPoolDataSource.java,
14249         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14250         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14251         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14252         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14253         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14254         javax/sql/XADataSource.java: New files.
14255         * Makefile.am: Add new files.
14256         * Makefile.in: Rebuilt.
14257
14258 2002-06-20  Tom Tromey  <tromey@redhat.com>
14259
14260         For PR libgcj/7073:
14261         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14262         exists.
14263         * defineclass.cc (handleClassBegin): Superclass for interface is
14264         `null'.
14265
14266 2002-06-18  Tom Tromey  <tromey@redhat.com>
14267
14268         * gcj/javaprims.h: Updated class declaration list.
14269         * Makefile.in: Rebuilt.
14270         * Makefile.am (core_java_source_files): Removed
14271         BasicMapEntry.java.
14272         * java/util/BasicMapEntry.java: Removed.
14273
14274 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14275
14276         * java/net/natPlainDatagramSocketImpl.cc (receive):
14277         Check bounds of argument to FD_SET.
14278         (setOption): Throw exception if socket is closed.
14279
14280         * java/net/natPlainSocketImpl.cc (accept, read):
14281         Check bounds of argument to FD_SET.
14282         (setOption): Throw exception if socket is closed.
14283
14284 2002-06-18  Tom Tromey  <tromey@redhat.com>
14285
14286         * gcj/javaprims.h: Updated class declaration list.
14287         * Makefile.in: Rebuilt.
14288         * Makefile.am (core_java_source_files): Added
14289         PropertyPermissionCollection.java.
14290         * java/lang/Thread.java (group, name): Now package-private.
14291         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14292         * java/util/AbstractList.java: Likewise.
14293         * java/util/AbstractMap.java: Likewise.
14294         * java/util/Calendar.java: Likewise.
14295         * java/util/Collections.java: Likewise.
14296         * java/util/HashMap.java: Likewise.
14297         * java/util/Hashtable.java: Likewise.
14298         * java/util/LinkedHashMap.java: Likewise.
14299         * java/util/LinkedList.java: Likewise.
14300         * java/util/List.java: Likewise.
14301         * java/util/ListResourceBundle.java: Likewise.
14302         * java/util/Map.java: Likewise.
14303         * java/util/Observable.java: Likewise.
14304         * java/util/Properties.java: Likewise.
14305         * java/util/PropertyPermission.java: Likewise.
14306         * java/util/PropertyPermissionCollection.java: Likewise.
14307         * java/util/PropertyResourceBundle.java: Likewise.
14308         * java/util/Random.java: Likewise.
14309         * java/util/SimpleTimeZone.java: Likewise.
14310         * java/util/StringTokenizer.java: Likewise.
14311         * java/util/TimerTask.java: Likewise.
14312         * java/util/TreeMap.java: Likewise.
14313         * java/util/WeakHashMap.java: Likewise.
14314         * java/util/jar/Attributes.java: Likewise.
14315         * java/util/jar/JarException.java: Likewise.
14316         * java/util/jar/Manifest.java: Likewise.
14317
14318 2002-06-17  Tom Tromey  <tromey@redhat.com>
14319
14320         * gcj/javaprims.h: Updated class declaration list.
14321         * Makefile.in: Rebuilt.
14322         * Makefile.am (core_java_source_files): Added new file.
14323         * java/util/EventListenerProxy.java: New file.
14324         * java/util/EventListener.java: Re-merge with Classpath.
14325         * java/util/EventObject.java: Re-merge with Classpath.
14326
14327 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14328
14329         * java/lang/ClassNotFoundException.java: New Classpath version.
14330
14331 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14332
14333         * java/rmi/activation/ActivateFailedException.java: Remerge from
14334         Classpath version.
14335         * java/rmi/activation/ActivationException.java: Ditto.
14336         * java/rmi/activation/UnknownGroupException.java: Ditto.
14337         * java/rmi/activation/UnknownObjectException.java: Ditto.
14338         * java/rmi/server/ExportException: Ditto.
14339         * java/rmi/server/ServerCloneException: Ditto.
14340         * java/rmi/server/ServerNotActiveException: Ditto.
14341         * java/rmi/server/SkeletonMismatchException: Ditto.
14342         * java/rmi/server/SkeletonNotFoundException: Ditto.
14343         * java/rmi/server/SocketSecurityException: Ditto.
14344
14345 2002-06-16  Tom Tromey  <tromey@redhat.com>
14346
14347         * gcj/javaprims.h: Updated class declaration list.
14348
14349         * java/io/LineNumberInputStream.java: Merged with Classpath.
14350
14351         * java/lang/RuntimeException.java: Re-merge with Classpath.
14352         * java/util/ArrayList.java: Likewise.
14353         * java/util/Arrays.java: Likewise.
14354         * java/util/BitSet.java: Likewise.
14355         * java/util/Dictionary.java: Likewise.
14356         * java/util/IdentityHashMap.java: Likewise.
14357         * java/util/MissingResourceException.java: Likewise.
14358         * java/util/Observer.java: Likewise.
14359         * java/util/TooManyListenersException.java: Likewise.
14360         * java/util/zip/DataFormatException.java: Likewise.
14361         * java/util/zip/ZipException.java: Likewise.
14362
14363 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14364
14365         * java/rmi/AccessException.java: Remerge from Classpath.
14366         * java/rmi/AlreadyBoundException.java: Ditto.
14367         * java/rmi/ConnectException.java: Ditto.
14368         * java/rmi/ConnectIOException.java: Ditto.
14369         * java/rmi/MarshalException.java: Ditto.
14370         * java/rmi/NoSuchObjectException.java: Ditto.
14371         * java/rmi/NotBoundException.java: Ditto.
14372         * java/rmi/RemoteException.java: Ditto.
14373         * java/rmi/RMISecurityException.java: Ditto.
14374         * java/rmi/ServerError.java: Ditto.
14375         * java/rmi/ServerException.java: Ditto.
14376         * java/rmi/ServerRuntimeException.java: Ditto.
14377         * java/rmi/StubNotFoundException.java: Ditto.
14378         * java/rmi/UnexpectedExcpetion.java: Ditto.
14379         * java/rmi/UnknownHostException.java: Ditto.
14380         * java/rmi/UnmarshalException.java: Ditto.
14381
14382 2002-06-15  Tom Tromey  <tromey@redhat.com>
14383
14384         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14385         * java/lang/ArithmeticException.java: Likewise.
14386         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14387         * java/lang/ArrayStoreException.java: Likewise.
14388         * java/lang/Byte.java: Likewise.
14389         * java/lang/CharSequence.java: Likewise.
14390         * java/lang/ClassCastException.java: Likewise.
14391         * java/lang/ClassCircularityError.java: Likewise.
14392         * java/lang/ClassFormatError.java: Likewise.
14393         * java/lang/CloneNotSupportedException.java: Likewise.
14394         * java/lang/Cloneable.java: Likewise.
14395         * java/lang/Comparable.java: Likewise.
14396         * java/lang/Compiler.java: Likewise.
14397         * java/lang/Error.java: Likewise.
14398         * java/lang/ExceptionInInitializerError.java: Likewise.
14399         * java/lang/IllegalAccessError.java: Likewise.
14400         * java/lang/IllegalAccessException.java: Likewise.
14401         * java/lang/IllegalArgumentException.java: Likewise.
14402         * java/lang/IllegalMonitorStateException.java: Likewise.
14403         * java/lang/IllegalStateException.java: Likewise.
14404         * java/lang/IllegalThreadStateException.java: Likewise.
14405         * java/lang/IncompatibleClassChangeError.java: Likewise.
14406         * java/lang/IndexOutOfBoundsException.java: Likewise.
14407         * java/lang/InheritableThreadLocal.java: Likewise.
14408         * java/lang/InstantiationError.java: Likewise.
14409         * java/lang/InstantiationException.java: Likewise.
14410         * java/lang/InternalError.java: Likewise.
14411         * java/lang/InterruptedException.java: Likewise.
14412         * java/lang/LinkageError.java: Likewise.
14413         * java/lang/NegativeArraySizeException.java: Likewise.
14414         * java/lang/NoClassDefFoundError.java: Likewise.
14415         * java/lang/NoSuchFieldError.java: Likewise.
14416         * java/lang/NoSuchFieldException.java: Likewise.
14417         * java/lang/NoSuchMethodError.java: Likewise.
14418         * java/lang/NoSuchMethodException.java: Likewise.
14419         * java/lang/NullPointerException.java: Likewise.
14420         * java/lang/NumberFormatException.java: Likewise.
14421         * java/lang/OutOfMemoryError.java: Likewise.
14422         * java/lang/Process.java: Likewise.
14423         * java/lang/Runnable.java: Likewise.
14424         * java/lang/RuntimePermission.java: Likewise.
14425         * java/lang/SecurityException.java: Likewise.
14426         * java/lang/Short.java: Likewise.
14427         * java/lang/StackOverflowError.java: Likewise.
14428         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14429         * java/lang/ThreadDeath.java: Likewise.
14430         * java/lang/ThreadLocal.java: Likewise.
14431         * java/lang/UnknownError.java: Likewise.
14432         * java/lang/UnsatisfiedLinkError.java: Likewise.
14433         * java/lang/UnsupportedClassVersionError.java: Likewise.
14434         * java/lang/UnsupportedOperationException.java: Likewise.
14435         * java/lang/VerifyError.java: Likewise.
14436         * java/lang/VirtualMachineError.java: Likewise.
14437         * java/lang/reflect/InvocationTargetException.java: Likewise.
14438         * java/net/BindException.java: Likewise.
14439         * java/net/ConnectException.java: Likewise.
14440         * java/net/MalformedURLException.java: Likewise.
14441         * java/net/NoRouteToHostException.java: Likewise.
14442         * java/net/ProtocolException.java: Likewise.
14443         * java/net/SocketException.java: Likewise.
14444         * java/net/UnknownHostException.java: Likewise.
14445         * java/net/UnknownServiceException.java: Likewise.
14446
14447         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14448         * java/io/CharConversionException.java: Likewise.
14449         * java/io/EOFException.java: Likewise.
14450         * java/io/FileNotFoundException.java: Likewise.
14451         * java/io/IOException.java: Likewise.
14452         * java/io/InterruptedIOException.java: Likewise.
14453         * java/io/InvalidClassException.java: Likewise.
14454         * java/io/InvalidObjectException.java: Likewise.
14455         * java/io/NotActiveException.java: Likewise.
14456         * java/io/NotSerializableException.java: Likewise.
14457         * java/io/ObjectStreamException.java: Likewise.
14458         * java/io/ObjectStreamConstants.java: Likewise.
14459         * java/io/OptionalDataException.java: Likewise.
14460         * java/io/PipedInputStream.java: Likewise.
14461         * java/io/PushbackInputStream.java: Likewise.
14462         * java/io/StreamCorruptedException.java: Likewise.
14463         * java/io/SyncFailedException.java: Likewise.
14464         * java/io/UTFDataFormatException.java: Likewise.
14465         * java/io/UnsupportedEncodingException.java: Likewise.
14466         * java/io/WriteAbortedException.java: Likewise.
14467
14468 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14469
14470         * java/text/ChoiceFormat.java: Update comments from Classpath.
14471         * java/text/ParseException.java (serialVersionUID): New
14472         field from Classpath.
14473         * java/text/ParseException.java: Update formatting & comments
14474         from Classpath.
14475
14476 2002-06-15  Tom Tromey  <tromey@redhat.com>
14477
14478         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14479         been read but none output by inflater.
14480         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14481         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14482         is_finished.
14483         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14484         version.
14485         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14486         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14487         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14488         version.
14489         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14490
14491 2002-06-13  Tom Tromey  <tromey@redhat.com>
14492
14493         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14494         true and OFFSET!=0.
14495         * java/lang/String.java (String(char[],int,int,boolean): New
14496         constructor.
14497         * java/lang/Long.java: Imported new version from Classpath.
14498         * java/lang/Number.java: Likewise.
14499         * java/lang/Integer.java: Likewise.
14500         * java/lang/Long.java: Likewise.
14501         * java/lang/Float.java: Likewise.
14502         * java/lang/Boolean.java: Likewise.
14503         * java/lang/Double.java: Likewise.
14504         * java/lang/Void.java: Likewise.
14505
14506 2002-06-12  Tom Tromey  <tromey@redhat.com>
14507
14508         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14509         Fixes PR libgcj/6652.
14510
14511 2002-06-10  Tom Tromey  <tromey@redhat.com>
14512
14513         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14514         (Class::getPackagePortion): Likewise.
14515         * java/lang/Class.java (desiredAssertionStatus): New method from
14516         Classpath.
14517         (getPackagePortion): Likewise.
14518         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14519         packageAssertionStatus, classAssertionStatus): New methods from
14520         Classpath.
14521         * java/lang/ClassLoader.java (defaultAssertionStatus,
14522         systemPackageAssertionStatus, packageAssertionStatus,
14523         systemClassAssertionStatus, classAssertionStatus): New fields from
14524         Classpath.
14525         (setDefaultAssertionStatus, setPackageAssertionStatus,
14526         setClassAssertionStatus, clearAssertionStatus): New methods from
14527         Classpath.
14528         * Makefile.in: Rebuilt.
14529         * Makefile.am (core_java_source_files): Added AssertionError.java.
14530         * java/lang/AssertionError.java: New from Classpath.
14531
14532 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14533
14534         * configure.host: Disable hash synchronization and slow_pthread_self
14535         for cygwin.
14536
14537 2002-06-06  Adam Megacz <adam@xwt.org>
14538
14539         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14540         locking, just like the Sun JVM does.
14541
14542 2002-06-05  H.J. Lu  (hjl@gnu.org)
14543
14544         * Makefile.am (libgcj_convenience.la): Revert the last change.
14545         (libgcj.la): Likewise.
14546         * Makefile.in: Regenerated.
14547
14548 2002-06-04  H.J. Lu  (hjl@gnu.org)
14549
14550         * Makefile.am (libgcj_convenience.la): New target.
14551         (libgcj.la): Depend on libgcj_convenience.la.
14552         * Makefile.in: Regenerated.
14553
14554 2002-06-04  H.J. Lu  (hjl@gnu.org)
14555
14556         * configure.in (--with-newlib): New option:
14557         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14558         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14559         Linux.
14560         * configure: Regenerated.
14561
14562 2002-06-04  Tom Tromey  <tromey@redhat.com>
14563
14564         * java/util/natTimeZone.cc: Include <stdio.h>.
14565
14566 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14567
14568         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14569         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14570         Set SIGNAL_HANDLER=include/s390-linux.h.
14571         * configure: Regenerate.
14572         * include/s390-linux.h: New file.
14573
14574 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14575
14576         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14577         not "stackTrace".
14578
14579 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14580
14581         Merge JDK 1.4 java.security changes from classpath.
14582
14583         * java/security/AccessControlException.java: Merge from Classpath.
14584         * java/security/AccessController.java: Likewise.
14585         * java/security/AllPermission.java: Likewise.
14586         * java/security/BasicPermission.java: Likewise.
14587         * java/security/Certificate.java: Likewise.
14588         * java/security/CodeSource.java: Likewise.
14589         * java/security/DigestException.java: Likewise.
14590         * java/security/DigestOutputStream.java: Likewise.
14591         * java/security/DomainCombiner.java: Likewise.
14592         * java/security/GeneralSecurityException.java: Likewise.
14593         * java/security/Guard.java: Likewise.
14594         * java/security/GuardedObject.java: Likewise.
14595         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14596         * java/security/InvalidKeyException.java: Likewise.
14597         * java/security/InvalidParameterException.java: Likewise.
14598         * java/security/Key.java: Likewise.
14599         * java/security/KeyException.java: Likewise.
14600         * java/security/KeyManagementException.java: Likewise.
14601         * java/security/KeyStoreException.java: Likewise.
14602         * java/security/MessageDigest.java: Likewise.
14603         * java/security/NoSuchAlgorithmException.java: Likewise.
14604         * java/security/NoSuchProviderException.java: Likewise.
14605         * java/security/Permission.java: Likewise.
14606         * java/security/PermissionCollection.java: Likewise.
14607         * java/security/Permissions.java: Likewise.
14608         * java/security/Policy.java: Likewise.
14609         * java/security/Principal.java: Likewise.
14610         * java/security/PrivateKey.java: Likewise.
14611         * java/security/PrivilegedAction.java: Likewise.
14612         * java/security/PrivilegedActionException.java: Likewise.
14613         * java/security/PrivilegedExceptionAction.java: Likewise.
14614         * java/security/ProtectionDomain.java: Likewise.
14615         * java/security/ProviderException.java: Likewise.
14616         * java/security/PublicKey.java: Likewise.
14617         * java/security/SecureClassLoader.java: Likewise.
14618         * java/security/SecurityPermission.java: Likewise.
14619         * java/security/SignatureException.java: Likewise.
14620         * java/security/UnrecoverableKeyException.java: Likewise.
14621         * java/security/UnresolvedPermission.java: Likewise.
14622         * java/security/acl/AclNotFoundException.java: Likewise.
14623         * java/security/acl/LastOwnerException.java: Likewise.
14624         * java/security/acl/NotOwnerException.java: Likewise.
14625         * java/security/cert/CRLException.java: Likewise.
14626         * java/security/cert/CertificateEncodingException.java: Likewise.
14627         * java/security/cert/CertificateException.java: Likewise.
14628         * java/security/cert/CertificateExpiredException.java: Likewise.
14629         * java/security/cert/CertificateFactory.java: Likewise.
14630         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14631         * java/security/cert/CertificateParsingException.java: Likewise.
14632         * java/security/spec/InvalidKeySpecException.java: Likewise.
14633         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14634
14635         * java/security/cert/CertPath.java: New file.
14636         * java/security/cert/CertPathBuilderException.java: New file.
14637         * java/security/cert/CertPathValidatorException.java: New file.
14638         * java/security/cert/CertStoreException.java: New file.
14639
14640         * Makefile.am: Add new CertPath classes.
14641         * Makefile.in: Rebuilt.
14642
14643         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14644
14645 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14646
14647         Merge JDK 1.4 exception chaining support from classpath.
14648
14649         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14650         (stackTraceBytes): Rename from stackTrace.
14651         * java/lang/Exception.java: Merge from classpath.
14652         * java/lang/StackTraceElement: New file from classpath.
14653         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14654         * Makefile.am: Add StackTraceElement.
14655         * Makefile.in: Rebuilt.
14656
14657 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14658
14659         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14660         they build first.
14661         * Makefile.in: Rebuilt.
14662
14663 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14664
14665         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14666         * configure.in: Likewise.
14667         * aclocal.m4: Regenerate.
14668         * configure: Regenerate.
14669
14670 2002-05-13  Tom Tromey  <tromey@redhat.com>
14671
14672         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14673         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14674         Include platform.h.
14675
14676         Fixes PR libgcj/6389:
14677         * Makefile.in: Rebuilt.
14678         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14679         * java/util/natTimeZone.cc: New file.
14680         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14681         * java/lang/System.java: Merged with Classpath.
14682         * java/lang/Runtime.java: Merged with Classpath.
14683         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14684         security check.
14685         (setIn0): Renamed from setIn; don't run security check.
14686         (setOut0): Renamed from setOut; don't run security check.
14687         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14688         init_properties): Moved to natRuntime.cc.
14689         Moved many includes to natRuntime.cc.
14690         (isWordsBigEndian): New method.
14691         * java/lang/natRuntime.cc: Include Long.h, also other includes
14692         previously in natSystem.cc.
14693         (maxMemory): New function.
14694         (exitInternal): Renamed from `_exit'.
14695         (exit): Removed.
14696         (init): Don't set finalize_on_exit.
14697         (exitInternal): Use `finalizeOnExit'.
14698         (file_encoding, getpwuid_adaptor): New functions from
14699         natSystem.cc.
14700         (insertSystemProperties): New method, renamed from
14701         System::init_properties.  Don't set user.timezone.
14702         (_load): Don't call checkLink.
14703         (execInternal): New method.
14704         (availableProcessors): Likewise.
14705         (nativeGetLibname): Likewise.
14706
14707 2002-05-11  Mark Wielaard  <mark@klomp.org>
14708
14709         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14710         space characters.
14711         (previous_internal): Likewise.
14712
14713 2002-05-09  Tom Tromey  <tromey@redhat.com>
14714
14715         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14716
14717         * java/util/ResourceBundle.java: New version from Classpath.
14718         * java/util/Locale.java: Likewise.
14719
14720 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14721
14722         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14723         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14724         LD_LIBRARY_PATH.
14725
14726 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14727
14728         * libjava/Makefile.am (all_java_source_files): New variable.
14729         (all_java_class_files): Likewise.
14730         .java.class: New rule.
14731         (CLEANFILES): Remove tmp-list.
14732         * libjava/Makefile.in: Regenerated.
14733
14734 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14735
14736         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14737         Append .exe to executable names.  Fix for cygwin.
14738
14739 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14740
14741         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14742         script entry, and set LD to it when configuring multilibs.
14743         * configure: Rebuilt.
14744
14745 2002-05-07  Tom Tromey  <tromey@redhat.com>
14746
14747         * java/lang/natString.cc (unintern): Fixed typo.
14748
14749 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14750
14751         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14752         with -no-install on *-*-cygwin*.
14753
14754 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14755
14756         * testsuite/lib/libjava.exp (test_libjava_from_source):
14757         Add comment explaining last patch
14758
14759 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14760
14761         * testsuite/lib/libjava.exp (test_libjava_from_source):
14762         Append .exe to executable names.  If no suffix is present,
14763         then ".exe" is added by default on win32.  Harmless
14764         elsewhere so always do it.
14765
14766 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14767             Tom Tromey  <tromey@redhat.com>
14768
14769         * java/lang/natSystem.cc (getSystemTimeZone): Use
14770         HAVE_UNDERSCORE_TIMEZONE.
14771         * include/config.h.in: Rebuilt.
14772         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14773         * aclocal.m4, configure: Rebuilt.
14774         * acinclude.m4: Run AC_EXEEXT.
14775         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14776         Add test for `_timezone'.
14777
14778 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14779
14780         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14781         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14782         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14783         * Makefile.in: Rebuilt.
14784
14785 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14786
14787         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14788         use sigaction instead of __libc_sigaction.
14789
14790 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14791
14792         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14793         (libjava_init): Use it to find libgcj.spec.
14794         (libjava_arguments): Likewise.
14795
14796 2002-05-02  David S. Miller  <davem@redhat.com>
14797
14798         PR bootstrap/6525
14799         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14800         __libc_sigaction on Sparc.
14801
14802 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14803
14804         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14805         sys/filio.h, if present.
14806
14807 2002-04-30  Tom Tromey  <tromey@redhat.com>
14808
14809         * java/io/BufferedReader.java (fill): Handle case where markPos
14810         point to ignored \n.  Fixes PR libgcj/6301.
14811
14812 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14813
14814         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14815
14816 2002-04-29  Adam King <aking@dreammechanics.com>
14817
14818         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14819         of file in APPEND mode.
14820
14821 2002-04-25  David S. Miller  <davem@redhat.com>
14822
14823         PR target/6422
14824         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14825         program counter to next program counter minus 8.  Update
14826         comments in this macro to explain why.
14827
14828 2002-04-26  Tom Tromey  <tromey@redhat.com>
14829
14830         * verify.cc (construct_primitive_array_type) [void_type]: New
14831         case.
14832         (branch_prepass): Added dummy entries for unused instruction
14833         values.
14834         (verify_instructions_0): Likewise.
14835         * interpret.cc (continue1): Comment fix.
14836         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14837         * Makefile.in: Rebuilt.
14838         * Makefile.am: Added -Wswitch-enum.
14839
14840 2002-04-24  Tom Tromey  <tromey@redhat.com>
14841
14842         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14843         correct length of UTF-8 encoded name.  Strip leading `/'.
14844         (_Jv_RegisterResource): Use _Jv_Malloc.
14845
14846 2002-04-23  Adam Megacz <adam@xwt.org>
14847
14848         * win32.cc, include/win32.cc (backtrace): Added this function
14849         because Win32 does not supply it.
14850
14851 2002-04-21  David S. Miller  <davem@redhat.com>
14852
14853         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14854         magic instruction reading sequence.
14855
14856 2002-04-21  Mark Wielaard  <mark@klomp.org>
14857
14858         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14859
14860 2002-04-19  David S. Miller  <davem@redhat.com>
14861
14862         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14863         arg.
14864         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14865         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14866         on Sparc too.
14867         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14868         for 64-bit sparc.
14869         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14870         * sysdeps/sparc/locks.h: New file.
14871         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14872         on all sparc Solaris configurations.  Set to
14873         include/dwarf2-signal.h on sparc Linux.
14874         * configure: Regenerate
14875         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14876
14877 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14878
14879         * configure: Rebuilt.
14880         * configure.in (backtrace): Function doesn't work on IA-64.
14881
14882 2002-04-17  Adam King <aking@dreammechanics.com>
14883
14884         * java/io/File.java (normalizePath): Add Win32 support for auto
14885         conversion of a '/' path separator to Win32's '\' separator.
14886
14887 2002-04-16  Tom Tromey  <tromey@redhat.com>
14888
14889         Fix for PR libgcj/6081:
14890         * Makefile.in: Rebuilt.
14891         * Makefile.am (install-data-local): Use GNU make trick to avoid
14892         shell limit.
14893
14894 2002-04-16  Adam King <aking@dreammechanics.com>
14895             Tom Tromey  <tromey@redhat.com>
14896
14897         * java/io/natFileWin32.cc (performList): Return the correct array
14898         type.  Don't duplicate the creation of a File since it's already
14899         done earlier in the method and the existing code would cause a
14900         ArrayStoreException.  Don't use fixed-size array.
14901         (_access, _stat, attr, getCanonicalPath, performMkdir,
14902         performRenameTo): Don't use fixed-size array.
14903         (getCanonicalPath): Use throw, not _Jv_Throw.
14904
14905 2002-04-15  DJ Delorie  <dj@redhat.com>
14906
14907         * configure.in: Allow building in $srcdir.
14908         * configure: Regenerated.
14909
14910 2002-04-14  Mark Wielaard <mark@klomp.org>
14911
14912         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14913         * java/net/natSocketImpl.cc (close): Likewise.
14914
14915 2002-04-14  Mark Wielaard <mark@klomp.org>
14916
14917         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14918
14919 2002-04-13  Adam King <aking@dreammechanics.com>
14920
14921         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14922         the f/F/d/D modifiers.
14923
14924 2002-04-12  Anthony Green  <green@redhat.com>
14925
14926         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14927         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14928         * Makefile.in: Rebuilt.
14929         * configure.in: Substitute gcc_version.
14930         * configure: Rebuilt.
14931
14932 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14933
14934         * configure.host: Set can_unwind_signal on hosts which support it.
14935         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14936         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14937         exceptions and can_unwind_signal isn't set.
14938         * configure: Rebuilt.
14939
14940 2002-04-11  Tom Tromey  <tromey@redhat.com>
14941
14942         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14943
14944 2002-04-11  Adam King <aking@dreammechanics.com>
14945             Tom Tromey  <tromey@redhat.com>
14946
14947         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14948         _Jv_ThrowNullPointerException): Mark as noreturn.
14949         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14950         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14951         fixes.
14952
14953 2002-04-10  Tom Tromey  <tromey@redhat.com>
14954
14955         * Makefile.in: Rebuilt.
14956         * Makefile.am (java/lang/Thread.h): Mark
14957         _Jv_AttachCurrentThreadAsDaemon as friend.
14958         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14959         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14960         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14961         function.
14962         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14963         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14964         (_Jv_JNI_InvokeFunctions): Added
14965         _Jv_JNI_AttachCurrentThreadAsDaemon.
14966         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14967         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14968         (JNI_CreateJavaVM): Likewise.
14969         (_Jv_JNI_AttachCurrentThread): Likewise.
14970         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14971         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14972         (_Jv_JNIFunctions): Initialize new fields.
14973         (_Jv_JNI_NewDirectByteBuffer): New function.
14974         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14975         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14976         * include/jni.h (JNI_VERSION_1_4): New macro.
14977         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14978         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14979         (JNINativeInterface::NewDirectByteBuffer): New field.
14980         (JNINativeInterface::GetDirectBufferAddress): New field.
14981         (JNINativeInterface::GetDirectBufferCapacity): New field.
14982         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14983         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14984         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14985
14986 2002-04-09  Tom Tromey  <tromey@redhat.com>
14987
14988         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14989
14990 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14991
14992         Fix for PR libgcj/6187:
14993         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14994         distance.
14995
14996 2002-04-07  Mark Wielaard <mark@klomp.org>
14997
14998         * java/util/AbstractMap.java (putAll): Use entrySet size.
14999         (toString): Explicitly use getKey() and getValue().
15000
15001 2002-04-07  Mark Wielaard <mark@klomp.org>
15002
15003         * java/util/Hashtable.java (contains): Remove NullPointer check.
15004         (containsValue): Add NullPointer check.
15005         (remove): Always throw NullPointerException when key
15006         is null.
15007
15008 2002-04-07  Adam King <aking@dreammechanics.com>
15009
15010         * java/lang/natSystem.cc (init_properties): Call new function
15011         _Jv_platform_initProperties.
15012         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15013         support for the System properties os.name, os.arch, os.version,
15014         user.name, user.home, and user.dir.
15015         * include/posix.h, include/win32.h, posix.cc: New function
15016         _Jv_platform_initProperties.
15017
15018 2002-04-06  Mark Wielaard <mark@klomp.org>
15019
15020         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15021
15022 2002-04-06  Mark Wielaard <mark@klomp.org>
15023
15024         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15025         all of the remaining elements.
15026         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15027         (removeRange): If toIndex == fromIndex do
15028         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15029         (removeAll): Always throw NullPointerException when collection is
15030         null.
15031         (retrainAll): Likewise.
15032
15033 2002-04-05  Mark Wielaard <mark@klomp.org>
15034
15035         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15036         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15037
15038 2002-04-05  Adam Megacz <adam@xwt.org>
15039
15040         * exception.cc (abort): added static modifier
15041
15042 2002-04-04  Adam Megacz <adam@xwt.org>
15043
15044         * include/win32.h (_Jv_platform_close_on_exec): added inline
15045         modifier.
15046
15047 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15048
15049         * configure.host: Add case statement to support generic port
15050         properties.  Add *-*-freebsd* section.
15051
15052 2002-04-04  Mark Wielaard  <mark@klomp.org>
15053
15054         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15055         test.
15056         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15057         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15058         that depend on awt code and BufferedByteOutputStream.interrupt.
15059
15060 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15061
15062         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15063         incorrect "hi" value when count > 40.
15064
15065 2002-04-03  Mark Wielaard  <mark@klomp.org>
15066
15067         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15068         ordering.
15069
15070 2002-04-02  Tom Tromey  <tromey@redhat.com>
15071
15072         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15073         not `0'.
15074
15075 2002-04-02  Mark Wielaard  <mark@klomp.org>
15076
15077         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15078         list of testsuite crashers.
15079
15080 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15081
15082         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15083         when resizing table.
15084
15085 2002-04-01  Mark Wielaard  <mark@klomp.org>
15086
15087         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15088         NegativeArraySizeException
15089         (clear(int)): Use sign extended shift.
15090         (flip(int)): Likewise.
15091         (get(int)): Likewise.
15092         (nextClearBit(int)): Likewise.
15093         (nextSetBit(int)): Likewise.
15094         (set(int)): Likewise.
15095
15096 2002-04-01  Mark Wielaard  <mark@klomp.org>
15097
15098         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15099         that can be compiled now and add testsuite crashers to ignore list.
15100
15101 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15102
15103         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15104
15105         * libgcj.spec.in: Override libgcc, not lib.
15106         * libgcj-test.spec.in: Likewise.
15107
15108 2002-03-29  Tom Tromey  <tromey@redhat.com>
15109
15110         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15111         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15112
15113 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15114
15115         * java/net/PlainDatagramSocketImpl.java
15116         (close): Use native implementation.
15117         (finalize): New method.
15118
15119         * java/net/PlainSocketImpl.java (finalize): New method.
15120
15121         * java/net/natPlainDatagramSocketImpl.cc
15122         (java/io/FileDescriptor.h): Don't include.
15123         (close): Implement method here.
15124         (create): Don't assign fd.
15125
15126         * java/net/natPlainSocketImpl.cc
15127         (java/io/FileDescriptor.h): Don't include.
15128         (create): Don't assign fd.
15129         (accept): Likewise.
15130         (close): Synchronize.
15131
15132 2002-03-27  Richard Henderson  <rth@redhat.com>
15133
15134         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15135
15136 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15137
15138         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15139         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15140         instead of syscall on IA-64.
15141         Add FIXME comment.
15142
15143 2002-03-27  Anthony Green  <green@redhat.com>
15144
15145         * libgcj.spec.in: Add CHECKREFSPEC.
15146         * configure.in: Ditto.
15147         * configure.host: Ditto.  Check references for xscale-elf.
15148         * configure: Rebuilt.
15149
15150 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15151
15152         * include/dwarf2-signal.h: Temporarily back out last change.
15153
15154 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15155
15156         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15157
15158 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15159
15160         * configure.in, configure: enable dwarf2-exception-style
15161         exception handling on IA-64.
15162         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15163         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15164         Add FIXME comment.
15165
15166 2002-03-25  Tom Tromey  <tromey@redhat.com>
15167
15168         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15169         (jv_convert_LDFLAGS): Likewise.
15170         (gij_LDFLAGS): Likewise.
15171         (rmic_LDFLAGS): Likewise.
15172         (rmiregistry_LDFLAGS): Likewise.
15173         * configure.in (THREADLDFLAGS): New subst; set correctly for
15174         *BSD.
15175
15176 2002-03-25  Tom Tromey  <tromey@redhat.com>
15177
15178         For PR libgcj/5303:
15179         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15180         and --version.
15181         (help): New method.
15182         (version): Likewise.
15183         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15184         "GNU".
15185         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15186         "GNU".
15187
15188 2002-03-25  Tom Tromey  <tromey@redhat.com>
15189
15190         * java/awt/Component.java (processEvent): Check ComponentEvent
15191         after KeyEvent.
15192
15193 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15194
15195         * java/io/PushbackReader.java: Reformat.
15196
15197         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15198         calculate correct number of bytes skipped.
15199
15200         Based on patch from Intel's ORP team:
15201         * java/io/PushbackInputStream.java (available): Calculate correct
15202         number of bytes in buffer.
15203         (read): Remove redundant bound check. Return bytes from both the
15204         buffer and the stream.
15205
15206 2002-03-24  Tom Tromey  <tromey@redhat.com>
15207
15208         * java/awt/TextComponent.java (TextComponent): Editable by
15209         default.
15210
15211         * java/awt/MenuItem.java (eventMask): No longer private.
15212         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15213         superclass if we didn't handle event.
15214         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15215         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15216         * java/awt/Choice.java (dispatchEventImpl): New method.
15217         * java/awt/List.java (dispatchEventImpl): New method.
15218         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15219         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15220         * java/awt/TextField.java (dispatchEventImpl): New method.
15221
15222 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15223
15224         * java/beans/IntrospectionException.java: Update to 1.4.
15225         * java/beans/PropertyVetoException.java: Ditto.
15226
15227 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15228
15229         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15230         Arrays.equals instead of ArrayHelper.equalsArray.
15231
15232 2002-03-24  C. Brian Jones <cbj@gnu.org>
15233
15234         * java/beans/Introspector.java: added new static final fields
15235         introduced in 1.2, lots of other updates remain to be done
15236
15237 2002-03-24  C. Brian Jones <cbj@gnu.org>
15238
15239         * java/beans/Introspector.java: reformatting
15240
15241 2002-03-24  C. Brian Jones <cbj@gnu.org>
15242
15243         * java/beans/Introspector.java: default beanInfoSearchPath will
15244         not include sun.beans.infos given we provide no such package and
15245         the API doesn't really require it; gnu.java.beans.info is the
15246         default.
15247
15248 2002-03-24  Mark Wielaard  <mark@klomp.org>
15249
15250         Thanks to Orp developers
15251         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15252         switch TRUE and FALSE return values.
15253
15254 2002-03-23  Tom Tromey  <tromey@redhat.com>
15255
15256         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15257         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15258
15259 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15260
15261         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15262         MONTH entry.  Fixes PR libgcj/6045.
15263
15264 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15265
15266         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15267
15268 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15269
15270         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15271         not release_set.
15272         * sysdep/powerpc/locks.h (write_barrier): New function.
15273         * sysdep/i386/locks.h (write_barrier): New function.
15274
15275 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15276
15277         * include/jni.h Use correct C comments.
15278
15279 2002-03-18  Tom Tromey  <tromey@redhat.com>
15280
15281         * include/jni.h (JNIIMPORT): New macro.
15282         (JNIEXPORT): Likewise.
15283         (JNICALL): Likewise.
15284
15285 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15286
15287         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15288         systems.
15289
15290 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15291
15292         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15293         INIT_SEGV: Use old_i386_kernel_sigaction.
15294         INIT_FP: Likewise.
15295
15296 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15297
15298         * java/lang/natSystem.cc (init_properties): Update VM version
15299         properties.
15300         * configure.in: Set GCJVERSION.
15301         * acconfig.h: Add GCJVERSION.
15302         * configure: Rebuilt.
15303         * include/config.h.in: Rebuilt.
15304
15305 2002-03-17  Anthony Green  <green@redhat.com>
15306
15307         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15308
15309 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15310
15311         Build a single libgcj.so, without separate gc and zlib libraries.
15312         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15313         SYS_ZLIBS if system zlib is used.
15314         * configure: Rebuilt.
15315         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15316         * Makefile.in: Rebuilt.
15317         * libtool-version: Increment .so version number.
15318
15319         * Makefile.am: Escape quotes in echo.
15320         * Makefile.in: Rebuilt.
15321
15322 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15323
15324         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15325         * Makefile.in: Rebuilt.
15326
15327 2002-03-15  Anthony Green  <green@redhat.com>
15328
15329         * configure.host (FILE): New macro for specifing File
15330         implementation.
15331         * configure: Rebuilt.
15332         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15333
15334 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15335
15336         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15337         already implicitly brought in from libgcj.la.
15338         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15339         * Makefile.in: Rebuilt.
15340
15341 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15342
15343         * THANKS: Fix punctuation, alphabetization.
15344
15345 2002-03-15  Tom Tromey  <tromey@redhat.com>
15346             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15347
15348         Fix for PR libgcj/5944.
15349         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15350
15351 2002-03-15  Anthony Green  <green@redhat.com>
15352
15353         * configure.in (tool_include_dir): Define.
15354         * configure: Rebuilt.
15355         * gcj/Makefile.am: Install libgcj-config.h relative to
15356         tool_include_dir.
15357         * gcj/Makefile: Rebuilt.
15358         * gcj/libgcj-config.h: Add warning comment.
15359
15360 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15361
15362         * configure.host (powerpc*-darwin*): Enable interpreter.
15363
15364 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15365
15366         * include/posix.h: Add multiple include header protection.
15367         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15368
15369 2002-03-10  Adam Megacz <adam@xwt.org>
15370
15371         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15372
15373 2002-03-10  Tom Tromey  <tromey@redhat.com>
15374
15375         * java/awt/GridLayout.java (layoutContainer): Handle case where
15376         there are no items in container.
15377
15378         * java/lang/Win32Process.java: Added comment.
15379         * include/posix.h (_Jv_platform_close_on_exec): New function.
15380         Include fcntl.h.
15381         * include/win32.h (_Jv_platform_close_on_exec): New function.
15382         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15383         flag.
15384         (accept): Likewise.
15385         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15386         close-on-exec flag.
15387         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15388         flag.
15389
15390 2002-03-09  Tom Tromey  <tromey@redhat.com>
15391
15392         * verify.cc (state::NO_STACK): New constant.
15393         (state::is_unmerged_ret_state): Handle case where stacktop is
15394         NO_STACK.
15395         (state::merge): Handle NO_STACK merges.
15396         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15397         for instruction following jsr.
15398         (stacktop, stackdepth): Removed unused variables.
15399         (pop_jump): Ignore case where all remaining states are skipped.
15400
15401 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15402
15403         * java/awt/ImageMediaEntry: Removed.
15404         * java/awt/MediaEntry: Removed.
15405
15406 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15407
15408         Hashtable synchronization for PowerPC.
15409         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15410         slow_pthread_self. Set up symlink for sysdeps directory.
15411         * configure: Rebuild.
15412         * configure.host: Document more shell variables. Set sysdeps_dir
15413         for most platforms. Set slow_pthread_self for i686. Set
15414         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15415         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15416         that memory barrier is emitted where required.
15417         * prims.cc: 64-bit align static primitive class instances.
15418         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15419         read_barrier() to enforce ordering of reads.
15420         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15421         primitives for PowerPC.
15422         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15423         moved from natObject.cc.
15424         * sysdep/alpha/locks.h: Likewise.
15425         * sysdep/ia64/locks.h: Likewise.
15426         * sysdep/generic/locks.h: Likewise.
15427         * java/lang/natObject.cc: Move thread synchronization primitives to
15428         system-dependent headers.
15429
15430 2002-03-09  Adam Megacz  <adam@xwt.org>
15431
15432         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15433         bytes read and no failure code returned.
15434
15435 2002-03-09  Adam Megacz  <adam@xwt.org>
15436
15437         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15438         definitions to simulate -mthreads.
15439
15440 2002-03-09  Adam Megacz  <adam@xwt.org>
15441
15442         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15443         avoid precision loss.
15444
15445 2002-03-09  Per Bothner  <per@bothner.com>
15446
15447         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15448         * gnu/gcj/xlib/XImage.java:  Likewise.
15449         * gnu/gcj/xlib/XColor.java:  Likewise.
15450
15451 2002-03-09  Adam Megacz  <adam@xwt.org>
15452
15453         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15454         IOException so that Throwable.printStackTrace fails correctly.
15455
15456 2002-03-08  Adam Megacz  <adam@xwt.org>
15457
15458         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15459         fixed.
15460
15461 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15462
15463         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15464         truncated to int.
15465
15466 2002-03-08  Tom Tromey  <tromey@redhat.com>
15467
15468         * include/jni.h: Include stdio.h.
15469
15470 2002-03-08  Tom Tromey  <tromey@redhat.com>
15471
15472         * posix.cc (internal_gettimeofday): New function.
15473         (_Jv_select): Use it.
15474
15475 2002-03-07  Adam Megacz  <adam@xwt.org>
15476
15477         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15478         WIN32, and added thunks for read(), write(), and close().
15479         * java/net/natPlainSocketImpl.cc (accept, read, read):
15480         Disabled timeouts on WIN32 pending discussion.
15481
15482 2002-03-07  Adam Megacz  <adam@xwt.org>
15483
15484         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15485         returns jlong. Added implementation
15486         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15487         returns jlong.
15488         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15489         returns jlong.
15490         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15491         returns jlong.
15492         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15493         _Jv_platform_gettimeofday signature.
15494
15495 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15496
15497         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15498         (read): Call recv() directly, not _Jv_recv().
15499
15500 2002-03-06  Tom Tromey  <tromey@redhat.com>
15501
15502         * java/io/natFileDescriptorEcos.cc (init): Don't use
15503         GetStdHandle.
15504         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15505         is negative.
15506         (init): Don't use GetStdHandle.
15507
15508         * include/config.h.in: Rebuilt.
15509         * configure: Rebuilt.
15510         * Makefile.in: Rebuilt.
15511
15512 2002-03-06  Adam Megacz  <adam@xwt.org>
15513
15514         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15515         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15516         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15517         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15518
15519 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15520
15521         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15522         the code for generating include/java-chartables.h.
15523         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15524         merge with Classpath.
15525         * scripts/unicode-muncher.pl: Copy from Classpath.
15526         * scritps/MakeCharTables.java: New file.
15527         * gnu/gcj/convert/Blocks-3.txt: New file.
15528         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15529         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15530         * gnu/java/lang/CharData.java: Copy from Classpath.
15531         * Makefile.am (ordinary_java_source_files): Add
15532         gnu/java/lang/CharData.java.
15533         * configure.in: Remove --enable-fast-character option.
15534         * java/lang/Character.java: Merge algorithms and Javadoc with
15535         Classpath.
15536         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15537         efficiently.
15538         * include/java-chardecomp.h: Regenerate.
15539         * include/java-chartables.h: Regenerate.
15540
15541 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15542
15543         * java/awt/MediaTracker.java: Implemented.
15544         * Makefile.am: Add MediaTracker.
15545         * Makefile.in: Rebuilt.
15546
15547 2002-03-05  Tom Tromey  <tromey@redhat.com>
15548
15549         * java/lang/natPosixProcess.cc (fail): Removed.
15550         (startProcess): Simplified error-handling.  Preserve
15551         LD_LIBRARY_PATH across exec.
15552
15553         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15554         AbstractMethodError.
15555
15556 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15557
15558         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15559         * Makefile.in: Rebuilt.
15560
15561 2002-03-03 Mark Wielaard <mark@klomp.org>
15562
15563         * java/util/Timer (TaskQueue.stop): set elements to zero.
15564
15565 2002-02-28  Anthony Green  <green@redhat.com>
15566
15567         * java/lang/reflect/natMethod.cc (result): Add void* element.
15568         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15569         constructor test.
15570
15571 2002-02-27  Adam Megacz <adam@xwt.org>
15572
15573         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15574         '#undef STRICT'.
15575
15576 2002-02-26  Tom Tromey  <tromey@redhat.com>
15577
15578         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15579         * gij.cc (version): Use __VERSION__.
15580         * include/config.h.in: Rebuilt.
15581         * acconfig.h (GCJVERSION): Removed.
15582         * configure: Rebuilt.
15583         * configure.in (GCJVERSION): Removed.
15584
15585 2002-02-26  Andreas Schwab  <schwab@suse.de>
15586
15587         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15588         glibcpp_CXX, since libjava uses even another CXX.
15589         * aclocal.m4, configure: Regenerated.
15590
15591 2002-02-26  Tom Tromey  <tromey@redhat.com>
15592
15593         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15594         `1'.
15595
15596 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15597
15598         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15599         dependency tracking for .java files.
15600         * Makefile.in: Rebuilt.
15601
15602 2002-02-24  Adam Megacz  <adam@xwt.org>
15603
15604         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15605         typo. Sorry.
15606
15607 2002-02-24  Adam Megacz  <adam@xwt.org>
15608
15609         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15610         for Win32, changed #ifdefs to check WIN32 instead of the
15611         (now-obsolete) USE_WINSOCK, and removed support for socket
15612         timeouts on Win32 pending further discussion.
15613
15614 2002-02-24  Adam Megacz  <adam@xwt.org>
15615
15616         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15617         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15618         delete
15619
15620 2002-02-24  Adam Megacz  <adam@xwt.org>
15621
15622         * java/lang/Win32Process.java: Created a dummy class to allow
15623         build process to run to completion.
15624
15625 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15626
15627         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15628         Define ffi_result union for ffi_call result.  Cast
15629         ffi_result members to jvalue.
15630
15631 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15632
15633         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15634         * testsuite/Makefile.in: Likewise.
15635
15636 2002-02-20  Per Bothner  <per@bothner.com>
15637
15638         * java/net/URL.java (getPath):  New JDK 1.3 method.
15639
15640         * java/net/URLStreamHandler.java (parseURL):
15641         It is wrong to prepend '/' to the file part of a relative url.
15642
15643         * java/net/URLStreamHandler.java (parseURL):
15644         Minor optizations - append '/' rather than "/".
15645
15646         * java/net/URLStreamHandler.java (parseURL):
15647         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15648         We probably should canonicalize for a context-relative url, though.
15649         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15650         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15651         (sameFile):  New method.  Uses canonicalizeFilename.
15652
15653 2002-02-22  Tom Tromey  <tromey@redhat.com>
15654
15655         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15656         java.vendor and java.vm.vendor.
15657         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15658         recent copyright date.
15659         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15660         * gij.cc (version): Print `Inc'.
15661
15662 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15663
15664         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15665         * aclocal.m4, configure: Rebuilt.
15666
15667 2002-02-20  Per Bothner  <per@bothner.com>
15668
15669         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15670         and/or output streams immediately here, instead of using File.exists.
15671         (inputStream, outputStream):  New fields to save open streams.
15672         (getInputStream, getOutputStream):  Use already-opened streams.
15673
15674 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15675
15676         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15677         Use it.
15678         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15679         * aclocal.m4, configure, Makefile.in: Rebuilt.
15680
15681 2002-02-19  Tom Tromey  <tromey@redhat.com>
15682
15683         Fix for PR libgcj/5696:
15684         * verify.cc (is_assignable_from_slow): Never call
15685         _Jv_IsAssignableFrom.
15686         (verify_instructions_0): Added new debug statement.
15687         (state::print): Print information about whether local has
15688         changed.
15689         (state::merge): Don't call note_variable when merging locals.
15690         (state::set_exception): Removed old FIXME comment.
15691
15692 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15693
15694         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15695         enable SO_BROADCAST.
15696
15697 2002-02-18  Jason Merrill  <jason@redhat.com>
15698
15699         * name-finder.cc (toHex): Use word mode, not long long.
15700
15701         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15702
15703 2002-02-15  Tom Tromey  <tromey@redhat.com>
15704
15705         Fix for PR libgcj/5695:
15706         * verify.cc (is_assignable_from_slow): Check to see if target is
15707         an Object before checking to see if source is an interface.
15708         (verify_instructions_0) [op_invokeinterface]: Handle case where
15709         we're making an interface call on Object.
15710
15711 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15712
15713         * Makefile.in: Rebuilt with Eric's change below.
15714
15715         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15716         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15717         Removed functions which are now implemented in Math.java.
15718
15719 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15720
15721         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15722         * Makefile.am (core_java_source_files): Add
15723         java/lang/StrictMath.java.
15724         * java/lang/Math.java: Merge with Classpath.
15725         * java/lang/StrictMath.java: New file - merge with Classpath.
15726
15727 2002-02-14  Mark Wielaard  <mark@klomp.org>
15728
15729         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15730         package as a workaround for gcj 3.0.x
15731
15732 2002-02-14  Mark Wielaard <mark@klomp.org>
15733
15734         * java/security/BasicPermission.java: extends with fully qualified
15735         classname as workaround for gcj 3.0.4.
15736
15737 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15738
15739         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15740         around gcj bug of wrong emitted qualifier for inherited method.
15741         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15742         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15743         constructor to reduce amount of emitted bytecode. While this
15744         happens to work around a jikes 1.15 bug, it is still a useful
15745         patch even for correct compilers.
15746         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15747         * gnu/java/rmi/server/UnicastRemoteCall.java
15748         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15749
15750 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15751
15752         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15753         * java/net/SocketImpl.java: Ditto.
15754         * java/rmi/server/RMIClassLoader.java: Ditto.
15755         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15756
15757 2002-02-14  Mark Wielaard <mark@klomp.org>
15758
15759         Thanks to Takashi Okamoto
15760         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15761         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15762         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15763
15764 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15765
15766         Fix for PR libgcj/5670:
15767         * verify.cc (is_assignable_from_slow): If `source' is interface,
15768         recursively look for merge with `target'.
15769
15770 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15771
15772         * include/jni.h: Fix typo.
15773
15774 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15775
15776         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15777         correctly.
15778
15779 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15780
15781         Fix for PR libgcj/5671:
15782         * verify.cc (state::merge): Handle case where we're merging
15783         against an interface.
15784
15785 2002-02-12  Tom Tromey  <tromey@redhat.com>
15786
15787         * exception.cc (std::abort): Mark as noreturn.
15788
15789 2002-02-12  Adam Megacz <adam@xwt.org>
15790
15791         * java/lang/Win32Process.java: Filled in a placeholder
15792         implementation so Win32 will build.
15793
15794 2002-02-12  Adam Megacz <adam@xwt.org>
15795
15796         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15797         * java/io/natFile.cc: Removed from repository.
15798         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15799
15800 2002-02-12  Adam Megacz <adam@xwt.org>
15801
15802         * win32.cc: Added two #includes to make win32.cc compile.
15803
15804 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15805
15806         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15807         declarations.
15808         (_Jv_InitGC): Don't bother locking, as this is always called from a
15809         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15810
15811 2002-02-11  Adam Megacz <adam@xwt.org>
15812
15813         * include/win32.h: Added _Jv_platform_gettimeofday.
15814         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15815
15816 2002-02-11  Adam Megacz <adam@xwt.org>
15817
15818         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15819         Added #undef STRICT to make windows.h and
15820         java/lang/reflect/Modifier.h cooperate.
15821
15822 2002-02-11  Adam Megacz <adam@xwt.org>
15823
15824         * java/io/natFileWin32.cc: Created a placeholder class with lots
15825         of FIXMEs.
15826
15827 2002-02-11  Adam Megacz <adam@xwt.org>
15828
15829         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15830         std::abort() to simply abort(). Also added "fake" std::abort() so
15831         we can #include unwind-pe.h without having to link against
15832         libstdc++-v3.
15833
15834 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15835
15836         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15837
15838 2002-02-08  Tom Tromey  <tromey@redhat.com>
15839
15840         * interpret.cc (convert): New function.
15841         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15842         convert.
15843         Include Long.h.
15844
15845 2002-02-08  Anthony Green  <green@redhat.com>
15846
15847         * configure.host: Add support for xscale-elf embedded target.
15848
15849 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15850
15851         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15852         dereferenced.
15853         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15854         frame.
15855
15856 2002-02-07  Tom Tromey  <tromey@redhat.com>
15857
15858         * java/io/natFile.cc (_access): Use __builtin_alloca.
15859         (_stat): Likewise.
15860         (attr): Likewise.
15861         (getCanonicalPath): Likewise.
15862         (performList): Likewise.
15863         (performMkdir): Likewise.
15864         (performSetReadOnly): Likewise.
15865         (performRenameTo): Likewise.
15866         (performSetLastModified): Likewise.
15867         (performCreate): Likewise.
15868         (performDelete): Likewise.
15869
15870 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15871
15872         * HACKING: Fix URL for the automake-gcj.
15873
15874 2002-02-07  Tom Tromey  <tromey@redhat.com>
15875
15876         * java/lang/natThrowable.cc: Updated copyright.
15877         * java/io/natFileWin32.cc: Updated copyright.
15878         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15879         * win32-threads.cc: Updated copyright.
15880         * name-finder.cc: Updated copyright.
15881         * include/name-finder.h: Updated copyright.
15882
15883         * include/name-finder.h: Conditionally include sys/wait.h.
15884         * include/config.h.in: Rebuilt.
15885
15886         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15887         Size buffer based on real size of string.
15888         (_stat): Likewise.
15889         (attr): Likewise.
15890         (getCanonicalPath): Likewise.
15891         (performList): Likewise.
15892         (performMkdir): Likewise.
15893         (performSetReadOnly): Likewise.
15894         (unixroot): Removed.
15895         (performRenameTo): Likewise.
15896         (performSetLastModified): Likewise.
15897         (performCreate): Likewise.
15898         (performDelete): Likewise.
15899         (performListRoots): Always return new array.
15900
15901         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15902         * win32.cc (win32_exception_handler): Now static.
15903         * include/win32.h (_Jv_platform_initialize): Declare.
15904         (win32_exception_handler): Don't declare.
15905         * java/lang/natSystem.cc (currentTimeMillis): Use
15906         _Jv_platform_gettimeofday.
15907         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15908         (_Jv_select): Use new name.
15909         (_Jv_platform_initialize): New function.
15910         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15911         _Jv_gettimeofday.
15912         (_Jv_platform_initialize): Declare.
15913
15914         * configure: Rebuilt.
15915         * configure.in: Removed unnecessary parens.
15916
15917 2002-02-06  Adam Megacz <adam@xwt.org>
15918
15919        * configure.in: Changed mingw) to *mingw*).
15920        * win32.cc: Created this file.
15921        * win32.h: Created this file.
15922        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15923        win32_exception_handler from prims.cc to win32.cc, added
15924        header in win32.h.
15925        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15926        longer needed now that we have platform.h
15927
15928 2002-02-06  Adam Megacz <adam@xwt.org>
15929
15930         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15931         use uint<n>_t instead of LONG and BYTE
15932
15933 2002-02-06  Adam Megacz <adam@xwt.org>
15934
15935         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15936
15937 2002-02-06  Anthony Green  <green@redhat.com>
15938
15939         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15940         Implement missing method stubs.
15941         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15942         targets.
15943         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15944         concept of timezones.
15945         (init_properties): Don't refer to _Jv_Environment_Properties
15946         when this feature is not available.
15947         * include/config.h.in: Rebuilt.
15948         * acconfig.h: Add DISABLE_MAIN_ARGS.
15949         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15950         * configure: Rebuilt.
15951         * configure.in: Add --disable-main-args option.  Test for
15952           opendir function.  Replace AC_CHECK_SIZEOF with
15953           AC_COMPILE_CHECK_SIZEOF.
15954         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15955         * aclocal.m4: Rebuilt.
15956         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15957
15958 2002-02-06  Tom Tromey  <tromey@redhat.com>
15959
15960         * verify.cc (require_array_type): If argument is a null array of
15961         references, return null as the element type.
15962
15963 2002-02-06  Mark Wielaard  <mark@klomp.org>
15964
15965         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15966         duplicate of a wide type.
15967
15968 2002-02-06  Tom Tromey  <tromey@redhat.com>
15969
15970         * verify.cc (type::isnull): New method.
15971         (require_array_type): Handle case where array is null.
15972         (verify_instructions_0) [op_arraylength]: Likewise.
15973
15974 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15975
15976         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15977         Symlink PLATFORMH to platform.h.
15978         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15979         PLATFORMOBJS.
15980         * java/lang/natSystem.cc: #include platform.h not posix.h.
15981         * Makefile.in: Rebuilt with libgcj automake.
15982         * configure: Rebuilt.
15983
15984 2002-02-05  Richard Henderson  <rth@redhat.com>
15985
15986         * Makefile.in: Undo munging last change.
15987
15988 2002-02-04  Adam Megacz <adam@xwt.org>
15989
15990         * win32.cc: Created it.
15991         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15992         which is set to posix.cc or win32.cc.
15993         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15994
15995 2002-02-04  Adam Megacz <adam@xwt.org>
15996
15997         * configure.in: Corrected mingw case branches; added * before
15998         and after.
15999
16000 2002-02-04  Adam Megacz <adam@xwt.org>
16001
16002         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16003         if compiling for win32
16004
16005 2002-02-04  Adam Megacz <adam@xwt.org>
16006
16007         * win32-threads.cc: #undef STRICT after gc.h inclusion
16008
16009 2002-02-02  Tom Tromey  <tromey@redhat.com>
16010
16011         * Makefile.in: Rebuilt.
16012
16013 2002-02-02  Jason Merrill  <jason@redhat.com>
16014
16015         * Makefile.am (clean-nat): New target.
16016
16017 2002-02-02  Tom Tromey  <tromey@redhat.com>
16018
16019         * java/io/natFile.cc: Removed old "FIXME" comments.
16020
16021 2002-02-01  Tom Tromey  <tromey@redhat.com>
16022
16023         * java/lang/natPosixProcess.cc (myclose): New function.
16024         (fail): Use it.
16025         (startProcess): Likewise.
16026
16027 2002-02-01  Adam Megacz <adam@xwt.org>
16028
16029         * prims.cc: Added #undef STRICT after #include<windows.h>.
16030
16031 2002-02-01  Adam Megacz <adam@xwt.org>
16032
16033         * prims.cc
16034         (_Jv_CreateJavaVM): We now use WIN32 instead of
16035         USE_WIN32_SIGNALLING and USE_WINSOCK.
16036         (win32_exception_handler): Now throws an exception out of
16037         the signal handler; assumes SJLJ.
16038
16039 2002-02-01  Adam Megacz <adam@xwt.org>
16040
16041         * win32-threads.cc:
16042         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16043         wait() algorithm to make it safe.
16044         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16045         Added lazy creation of Win32 Events for better performance
16046         (really_start): This now uses GC_CreateThread so boehm-gc
16047         knows about new threads even when statically linked.
16048
16049 2002-02-01  Adam Megacz <adam@xwt.org>
16050
16051         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16052         enable safer wait() algorithm.
16053         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16054         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16055         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16056         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16057         instead of mutex.
16058         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16059
16060 2002-02-01  Adam Megacz <adam@xwt.org>
16061
16062         * configure.in: Added support for mingw.
16063         * java/lang/Win32Process.java: Created as empty file.
16064         * java/lang/natWin32Process.cc: Created as empty file.
16065
16066 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16067
16068         PR java/4972
16069         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16070         for libiconv in LIBICONV variable.
16071         * configure: Regenerated.
16072
16073 2002-01-31  Tom Tromey  <tromey@redhat.com>
16074
16075         * verify.cc (state::enter_subroutine): New method.
16076         (handle_jsr_insn): Use it.
16077         (state::merge): When processing a `ret', correctly use
16078         subroutine's state to determine which local variables have
16079         changed.
16080         (push_exception_jump): Don't let stack overflow.
16081
16082 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16083
16084         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16085         --version output.
16086
16087 2002-01-30  Tom Tromey  <tromey@redhat.com>
16088
16089         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16090         parameter for `recv' return type.
16091
16092         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16093         (state::merge): ... not here.
16094         (subr_entry_info): New structure.
16095         (entry_points): New field.
16096         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16097         entry_points.
16098
16099 2002-01-29  Tom Tromey  <tromey@redhat.com>
16100
16101         * java/awt/List.java (addNotify): Correctly check to see if peer
16102         does not exist.
16103
16104         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16105         to compute height of each cell, and number of columns to compute
16106         width of each cell.
16107         * java/awt/Window.java (getOwnedWindows): Don't return null.
16108         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16109         of component.  Increment x using horizontal gap, not vertical
16110         gap.
16111
16112 2002-01-28  Tom Tromey  <tromey@redhat.com>
16113
16114         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16115         `nargs' byte is number of words, not number of arguments.
16116
16117 2002-01-27  Tom Tromey  <tromey@redhat.com>
16118
16119         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16120         (when): Likewise.
16121         * java/awt/event/InputEvent.java (modifiers, when): Now
16122         package-private.
16123
16124         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16125         and to-do list.
16126         (state::merge): Use current class' class loader.
16127         (state::print): Print subroutine.
16128         (state::merge): Don't look at subroutine of unmerged `ret'.
16129
16130 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16131
16132         * nogc.cc: Remove warnings.
16133         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16134         New functions.
16135
16136 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16137
16138         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16139         int, int):  Remove empty "if" statement to work around compiler bug.
16140         (newPixels(int[], ColorModel, int, int): Likewise.
16141
16142 2002-01-25  Per Bothner  <per@bothner.com>
16143
16144         * verify.cc (verify_fail):  Change from being a top-level function
16145         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16146         Pass the current verifier to type: and state: methods as needed,
16147         for better error messages, and for resolve.
16148         (resolve):  Pass current class's loader for Class.forName and
16149         _Jv_FindClassFromSignature, rather than using the default loader.
16150         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16151         (get_type_val_for_signature):  Make non-static.
16152         (various methods):  Pass start_PC implicitly, not explicitly.
16153
16154 2002-01-25  Tom Tromey  <tromey@redhat.com>
16155
16156         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16157         loop termination condition.
16158         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16159         width.
16160
16161 2002-01-24  Tom Tromey  <tromey@redhat.com>
16162
16163         * java/awt/Shape.java: Merged with Classpath.
16164         * java/awt/Scrollbar.java: Merged with Classpath.
16165
16166         * java/awt/Container.java (addNotify): Unconditionally call
16167         addNotifyContainerChildren and superclass addNotify.
16168
16169         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16170         getAlpha, not getBlue.
16171
16172 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16173
16174         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16175
16176         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16177         (grabPixels(long)): Wait to be notified that the ImageProducer has
16178         completed.
16179
16180 2002-01-24  Per Bothner  <per@bothner.com>
16181
16182         * verify.cc (is_assignable_from_slow): If target is an interface,
16183         we must still check the source's superclass before giving up.
16184
16185 2002-01-24  Tom Tromey  <tromey@redhat.com>
16186
16187         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16188
16189 2002-01-23  Tom Tromey  <tromey@redhat.com>
16190
16191         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16192         `else'.
16193
16194         * Makefile.in: Rebuilt.
16195         * Makefile.am (awt_java_source_files): Added new files.
16196         * java/awt/Toolkit.java: Merged with Classpath.
16197         * java/awt/PrintGraphics.java: New file from Classpath.
16198         * java/awt/PrintJob.java: New file from Classpath.
16199         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16200         * java/awt/datatransfer/ClipboardOwner.java: New file from
16201         Classpath.
16202         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16203         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16204         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16205         Classpath.
16206         * java/awt/datatransfer/StringSelection.java: New file from
16207         Classpath.
16208         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16209         Classpath.
16210         * java/awt/datatransfer/Transferable.java: New file from
16211         Classpath.
16212         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16213         from Classpath.
16214
16215         * Makefile.in: Rebuilt.
16216         * Makefile.am (awt_java_source_files): Added new files.
16217         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16218         Classpath.
16219         * java/awt/image/CropImageFilter.java: New file from Classpath.
16220         * java/awt/image/FilteredImageSource.java: New file from
16221         Classpath.
16222         * java/awt/image/ImageFilter.java: New file from Classpath.
16223         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16224         * java/awt/image/PixelGrabber.java: New file from Classpath.
16225         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16226         * java/awt/image/ReplicateScaleFilter.java: New file from
16227         Classpath.
16228         * java/awt/image/ImageProducer.java: Replaced with Classpath
16229         version.
16230         * java/awt/image/ImageObserver.java: Replaced with Classpath
16231         version.
16232         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16233         version.
16234         * java/awt/GridBagConstraints.java (clone): Catch
16235         CloneNotSupportedException.
16236
16237 2002-01-23  Per Bothner  <per@bothner.com>
16238
16239         * java/lang/reflect/natField.cc (setAddr):  New function.
16240         Calls getAddr and then checks that the field isn't final.
16241         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16242         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16243         (set):  Call setAddr before check that new value has right type,
16244         to better match specified semantics.
16245
16246 2002-01-22  Tom Tromey  <tromey@redhat.com>
16247
16248         * java/awt/TextField.java: Replaced with Classpath version.
16249         * java/awt/TextArea.java: Replaced with Classpath version.
16250         * java/awt/TextComponent.java: Replaced with Classpath version.
16251
16252         * java/awt/GridBagConstraints.java: Updated copyright.
16253
16254 2002-01-22  Mark Wielaard <mark@klomp.org>
16255
16256         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16257         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16258         java/awt/Dialog.java java/awt/FileDialog.java
16259         java/awt/Font.java java/awt/FontMetrics.java
16260         java/awt/Image.java java/awt/ImageMediaEntry.java
16261         java/awt/Insets.java java/awt/List.java
16262         java/awt/MediaEntry.java java/awt/MediaTracker.java
16263         java/awt/Menu.java java/awt/MenuBar.java
16264         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16265         java/awt/PaintContext.java java/awt/Panel.java
16266         java/awt/PopupMenu.java java/awt/SystemColor.java
16267         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16268         java/awt/peer/CheckboxMenuItemPeer.java
16269         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16270         java/awt/peer/ComponentPeer.java
16271         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16272         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16273         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16274         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16275         java/awt/peer/MenuBarPeer.java
16276         java/awt/peer/MenuComponentPeer.java
16277         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16278         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16279         java/awt/peer/ScrollPanePeer.java
16280         java/awt/peer/ScrollbarPeer.java
16281         java/awt/peer/TextAreaPeer.java
16282         java/awt/peer/TextComponentPeer.java
16283         java/awt/peer/TextFieldPeer.java
16284         java/awt/peer/WindowPeer.java: Add license clarification.
16285
16286 2002-01-22  Mark Wielaard <mark@klomp.org>
16287
16288         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16289         gnu/gcj/runtime/StringBuffer.java
16290         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16291         gnu/java/awt/ComponentDataBlitOp.java
16292         gnu/java/awt/GLightweightPeer.java
16293         gnu/java/beans/BeanInfoEmbryo.java
16294         gnu/java/beans/EmptyBeanInfo.java
16295         gnu/java/beans/ExplicitBeanInfo.java
16296         gnu/java/beans/IntrospectionIncubator.java
16297         gnu/java/beans/editors/ColorEditor.java
16298         gnu/java/beans/editors/FontEditor.java
16299         gnu/java/beans/editors/NativeBooleanEditor.java
16300         gnu/java/beans/editors/NativeByteEditor.java
16301         gnu/java/beans/editors/NativeDoubleEditor.java
16302         gnu/java/beans/editors/NativeFloatEditor.java
16303         gnu/java/beans/editors/NativeIntEditor.java
16304         gnu/java/beans/editors/NativeLongEditor.java
16305         gnu/java/beans/editors/NativeShortEditor.java
16306         gnu/java/beans/editors/StringEditor.java
16307         gnu/java/beans/info/ComponentBeanInfo.java
16308         gnu/java/io/ClassLoaderObjectInputStream.java
16309         gnu/java/io/NullOutputStream.java
16310         gnu/java/io/ObjectIdentityWrapper.java
16311         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16312         gnu/java/lang/reflect/TypeSignature.java
16313         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16314         gnu/java/locale/Calendar_en.java
16315         gnu/java/locale/Calendar_nl.java
16316         gnu/java/locale/LocaleInformation.java
16317         gnu/java/locale/LocaleInformation_de.java
16318         gnu/java/locale/LocaleInformation_en.java
16319         gnu/java/locale/LocaleInformation_nl.java
16320         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16321         gnu/java/rmi/registry/RegistryImpl.java
16322         gnu/java/rmi/rmic/Compile_gcj.java
16323         gnu/java/rmi/rmic/Compiler.java
16324         gnu/java/rmi/rmic/CompilerProcess.java
16325         gnu/java/rmi/rmic/RMIC.java
16326         gnu/java/rmi/rmic/TabbedWriter.java
16327         gnu/java/rmi/server/ProtocolConstants.java
16328         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16329         gnu/java/rmi/server/RMIHashes.java
16330         gnu/java/rmi/server/RMIObjectInputStream.java
16331         gnu/java/rmi/server/RMIObjectOutputStream.java
16332         gnu/java/rmi/server/UnicastConnection.java
16333         gnu/java/rmi/server/UnicastConnectionManager.java
16334         gnu/java/rmi/server/UnicastRef.java
16335         gnu/java/rmi/server/UnicastRemoteCall.java
16336         gnu/java/rmi/server/UnicastRemoteStub.java
16337         gnu/java/rmi/server/UnicastServer.java
16338         gnu/java/rmi/server/UnicastServerRef.java
16339         gnu/java/security/provider/DefaultPolicy.java
16340         gnu/java/security/provider/Gnu.java
16341         gnu/java/security/provider/SHA.java
16342         gnu/java/security/provider/SHA1PRNG.java
16343         gnu/java/text/BaseBreakIterator.java
16344         gnu/java/text/CharacterBreakIterator.java
16345         gnu/java/text/LineBreakIterator.java
16346         gnu/java/text/SentenceBreakIterator.java
16347         gnu/java/text/WordBreakIterator.java
16348         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16349         java/applet/AppletContext.java java/applet/AppletStub.java
16350         java/applet/AudioClip.java java/awt/AWTError.java
16351         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16352         java/awt/AWTException.java java/awt/AWTPermission.java
16353         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16354         java/awt/Button.java java/awt/Canvas.java
16355         java/awt/CardLayout.java java/awt/Checkbox.java
16356         java/awt/CheckboxGroup.java java/awt/Component.java
16357         java/awt/ComponentOrientation.java java/awt/Container.java
16358         java/awt/Dimension.java java/awt/Event.java
16359         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16360         java/awt/FlowLayout.java java/awt/Frame.java
16361         java/awt/Graphics.java java/awt/Graphics2D.java
16362         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16363         java/awt/IllegalComponentStateException.java
16364         java/awt/ItemSelectable.java java/awt/Label.java
16365         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16366         java/awt/MenuComponent.java java/awt/MenuItem.java
16367         java/awt/Paint.java java/awt/Point.java
16368         java/awt/Rectangle.java java/awt/RenderingHints.java
16369         java/awt/Transparency.java java/awt/Window.java
16370         java/awt/color/ColorSpace.java
16371         java/awt/color/ICC_ColorSpace.java
16372         java/awt/color/ICC_Profile.java
16373         java/awt/event/HierarchyBoundsAdapter.java
16374         java/awt/event/HierarchyBoundsListener.java
16375         java/awt/event/HierarchyEvent.java
16376         java/awt/event/HierarchyListener.java
16377         java/awt/geom/AffineTransform.java
16378         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16379         java/awt/geom/IllegalPathStateException.java
16380         java/awt/geom/Line2D.java
16381         java/awt/geom/NoninvertibleTransformException.java
16382         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16383         java/awt/geom/Rectangle2D.java
16384         java/awt/geom/RectangularShape.java
16385         java/awt/geom/RoundRectangle2D.java
16386         java/awt/image/BufferedImage.java
16387         java/awt/image/ColorModel.java
16388         java/awt/image/ComponentColorModel.java
16389         java/awt/image/ComponentSampleModel.java
16390         java/awt/image/DataBuffer.java
16391         java/awt/image/DataBufferByte.java
16392         java/awt/image/DataBufferInt.java
16393         java/awt/image/DataBufferUShort.java
16394         java/awt/image/DirectColorModel.java
16395         java/awt/image/PackedColorModel.java
16396         java/awt/image/Raster.java java/awt/image/RasterOp.java
16397         java/awt/image/SampleModel.java
16398         java/awt/image/SinglePixelPackedSampleModel.java
16399         java/awt/image/WritableRaster.java
16400         java/beans/AppletInitializer.java
16401         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16402         java/beans/Beans.java java/beans/Customizer.java
16403         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16404         java/beans/FeatureDescriptor.java
16405         java/beans/IndexedPropertyDescriptor.java
16406         java/beans/IntrospectionException.java
16407         java/beans/Introspector.java java/beans/MethodDescriptor.java
16408         java/beans/ParameterDescriptor.java
16409         java/beans/PropertyChangeEvent.java
16410         java/beans/PropertyChangeListener.java
16411         java/beans/PropertyChangeSupport.java
16412         java/beans/PropertyDescriptor.java
16413         java/beans/PropertyEditor.java
16414         java/beans/PropertyEditorManager.java
16415         java/beans/PropertyEditorSupport.java
16416         java/beans/PropertyVetoException.java
16417         java/beans/SimpleBeanInfo.java
16418         java/beans/VetoableChangeListener.java
16419         java/beans/VetoableChangeSupport.java
16420         java/beans/Visibility.java
16421         java/beans/beancontext/BeanContext.java
16422         java/beans/beancontext/BeanContextChild.java
16423         java/beans/beancontext/BeanContextChildComponentProxy.java
16424         java/beans/beancontext/BeanContextChildSupport.java
16425         java/beans/beancontext/BeanContextContainerProxy.java
16426         java/beans/beancontext/BeanContextEvent.java
16427         java/beans/beancontext/BeanContextMembershipEvent.java
16428         java/beans/beancontext/BeanContextMembershipListener.java
16429         java/beans/beancontext/BeanContextProxy.java
16430         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16431         java/beans/beancontext/BeanContextServiceProvider.java
16432         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16433         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16434         java/beans/beancontext/BeanContextServiceRevokedListener.java
16435         java/beans/beancontext/BeanContextServices.java
16436         java/beans/beancontext/BeanContextServicesListener.java
16437         java/io/BufferedInputStream.java
16438         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16439         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16440         java/io/ByteArrayOutputStream.java
16441         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16442         java/io/CharConversionException.java java/io/DataInput.java
16443         java/io/DataInputStream.java java/io/DataOutput.java
16444         java/io/EOFException.java java/io/Externalizable.java
16445         java/io/FileFilter.java java/io/FileNotFoundException.java
16446         java/io/FilePermission.java java/io/FileReader.java
16447         java/io/FileWriter.java java/io/FilenameFilter.java
16448         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16449         java/io/FilterReader.java java/io/FilterWriter.java
16450         java/io/IOException.java java/io/InputStream.java
16451         java/io/InterruptedIOException.java
16452         java/io/InvalidClassException.java
16453         java/io/InvalidObjectException.java
16454         java/io/NotActiveException.java
16455         java/io/NotSerializableException.java java/io/ObjectInput.java
16456         java/io/ObjectInputStream.java
16457         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16458         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16459         java/io/ObjectStreamConstants.java
16460         java/io/ObjectStreamException.java
16461         java/io/ObjectStreamField.java
16462         java/io/OptionalDataException.java java/io/OutputStream.java
16463         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16464         java/io/PipedReader.java java/io/PipedWriter.java
16465         java/io/PrintWriter.java java/io/PushbackInputStream.java
16466         java/io/PushbackReader.java java/io/Reader.java
16467         java/io/SequenceInputStream.java java/io/Serializable.java
16468         java/io/SerializablePermission.java
16469         java/io/StreamCorruptedException.java
16470         java/io/StreamTokenizer.java
16471         java/io/StringBufferInputStream.java java/io/StringReader.java
16472         java/io/StringWriter.java java/io/SyncFailedException.java
16473         java/io/UTFDataFormatException.java
16474         java/io/UnsupportedEncodingException.java
16475         java/io/WriteAbortedException.java java/io/Writer.java
16476         java/lang/AbstractMethodError.java
16477         java/lang/ArithmeticException.java
16478         java/lang/ArrayIndexOutOfBoundsException.java
16479         java/lang/ArrayStoreException.java java/lang/Boolean.java
16480         java/lang/Byte.java java/lang/CharSequence.java
16481         java/lang/ClassCastException.java
16482         java/lang/ClassCircularityError.java
16483         java/lang/ClassFormatError.java
16484         java/lang/ClassNotFoundException.java
16485         java/lang/CloneNotSupportedException.java
16486         java/lang/Cloneable.java java/lang/Comparable.java
16487         java/lang/Compiler.java java/lang/Double.java
16488         java/lang/Error.java java/lang/Exception.java
16489         java/lang/ExceptionInInitializerError.java
16490         java/lang/Float.java java/lang/IllegalAccessError.java
16491         java/lang/IllegalAccessException.java
16492         java/lang/IllegalArgumentException.java
16493         java/lang/IllegalMonitorStateException.java
16494         java/lang/IllegalStateException.java
16495         java/lang/IllegalThreadStateException.java
16496         java/lang/IncompatibleClassChangeError.java
16497         java/lang/IndexOutOfBoundsException.java
16498         java/lang/InheritableThreadLocal.java
16499         java/lang/InstantiationError.java
16500         java/lang/InstantiationException.java java/lang/Integer.java
16501         java/lang/InternalError.java
16502         java/lang/InterruptedException.java
16503         java/lang/LinkageError.java java/lang/Long.java
16504         java/lang/NegativeArraySizeException.java
16505         java/lang/NoClassDefFoundError.java
16506         java/lang/NoSuchFieldError.java
16507         java/lang/NoSuchFieldException.java
16508         java/lang/NoSuchMethodError.java
16509         java/lang/NoSuchMethodException.java
16510         java/lang/NullPointerException.java java/lang/Number.java
16511         java/lang/NumberFormatException.java
16512         java/lang/OutOfMemoryError.java java/lang/Package.java
16513         java/lang/Process.java java/lang/Runnable.java
16514         java/lang/RuntimeException.java
16515         java/lang/RuntimePermission.java
16516         java/lang/SecurityException.java
16517         java/lang/SecurityManager.java java/lang/Short.java
16518         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16519         java/lang/StringIndexOutOfBoundsException.java
16520         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16521         java/lang/ThreadLocal.java java/lang/UnknownError.java
16522         java/lang/UnsatisfiedLinkError.java
16523         java/lang/UnsupportedClassVersionError.java
16524         java/lang/UnsupportedOperationException.java
16525         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16526         java/lang/Void.java java/lang/ref/PhantomReference.java
16527         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16528         java/lang/ref/SoftReference.java
16529         java/lang/ref/WeakReference.java
16530         java/lang/reflect/AccessibleObject.java
16531         java/lang/reflect/InvocationTargetException.java
16532         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16533         java/lang/reflect/ReflectPermission.java
16534         java/math/BigDecimal.java java/math/BigInteger.java
16535         java/net/Authenticator.java java/net/BindException.java
16536         java/net/ConnectException.java java/net/ContentHandler.java
16537         java/net/ContentHandlerFactory.java
16538         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16539         java/net/FileNameMap.java java/net/MalformedURLException.java
16540         java/net/MulticastSocket.java java/net/NetPermission.java
16541         java/net/NoRouteToHostException.java
16542         java/net/PasswordAuthentication.java
16543         java/net/ProtocolException.java java/net/ServerSocket.java
16544         java/net/Socket.java java/net/SocketException.java
16545         java/net/SocketImpl.java java/net/SocketImplFactory.java
16546         java/net/SocketOptions.java java/net/SocketPermission.java
16547         java/net/URLDecoder.java java/net/URLEncoder.java
16548         java/net/URLStreamHandlerFactory.java
16549         java/net/UnknownHostException.java
16550         java/net/UnknownServiceException.java
16551         java/rmi/AccessException.java
16552         java/rmi/AlreadyBoundException.java
16553         java/rmi/ConnectException.java
16554         java/rmi/ConnectIOException.java
16555         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16556         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16557         java/rmi/NotBoundException.java
16558         java/rmi/RMISecurityException.java
16559         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16560         java/rmi/RemoteException.java java/rmi/ServerError.java
16561         java/rmi/ServerException.java
16562         java/rmi/ServerRuntimeException.java
16563         java/rmi/StubNotFoundException.java
16564         java/rmi/UnexpectedException.java
16565         java/rmi/UnknownHostException.java
16566         java/rmi/UnmarshalException.java
16567         java/rmi/activation/Activatable.java
16568         java/rmi/activation/ActivateFailedException.java
16569         java/rmi/activation/ActivationDesc.java
16570         java/rmi/activation/ActivationException.java
16571         java/rmi/activation/ActivationGroup.java
16572         java/rmi/activation/ActivationGroupDesc.java
16573         java/rmi/activation/ActivationGroupID.java
16574         java/rmi/activation/ActivationID.java
16575         java/rmi/activation/ActivationInstantiator.java
16576         java/rmi/activation/ActivationMonitor.java
16577         java/rmi/activation/ActivationSystem.java
16578         java/rmi/activation/Activator.java
16579         java/rmi/activation/UnknownGroupException.java
16580         java/rmi/activation/UnknownObjectException.java
16581         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16582         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16583         java/rmi/registry/Registry.java
16584         java/rmi/registry/RegistryHandler.java
16585         java/rmi/server/ExportException.java
16586         java/rmi/server/LoaderHandler.java
16587         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16588         java/rmi/server/Operation.java
16589         java/rmi/server/RMIClassLoader.java
16590         java/rmi/server/RMIClientSocketFactory.java
16591         java/rmi/server/RMIFailureHandler.java
16592         java/rmi/server/RMIServerSocketFactory.java
16593         java/rmi/server/RMISocketFactory.java
16594         java/rmi/server/RemoteCall.java
16595         java/rmi/server/RemoteObject.java
16596         java/rmi/server/RemoteRef.java
16597         java/rmi/server/RemoteServer.java
16598         java/rmi/server/RemoteStub.java
16599         java/rmi/server/ServerCloneException.java
16600         java/rmi/server/ServerNotActiveException.java
16601         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16602         java/rmi/server/SkeletonMismatchException.java
16603         java/rmi/server/SkeletonNotFoundException.java
16604         java/rmi/server/SocketSecurityException.java
16605         java/rmi/server/UID.java
16606         java/rmi/server/UnicastRemoteObject.java
16607         java/rmi/server/Unreferenced.java
16608         java/security/AccessControlContext.java
16609         java/security/AccessControlException.java
16610         java/security/AccessController.java
16611         java/security/AlgorithmParameterGenerator.java
16612         java/security/AlgorithmParameterGeneratorSpi.java
16613         java/security/AlgorithmParameters.java
16614         java/security/AlgorithmParametersSpi.java
16615         java/security/AllPermission.java
16616         java/security/BasicPermission.java
16617         java/security/Certificate.java java/security/CodeSource.java
16618         java/security/DigestException.java
16619         java/security/DigestInputStream.java
16620         java/security/DigestOutputStream.java
16621         java/security/DomainCombiner.java
16622         java/security/DummyKeyPairGenerator.java
16623         java/security/DummyMessageDigest.java
16624         java/security/DummySignature.java
16625         java/security/GeneralSecurityException.java
16626         java/security/Guard.java java/security/GuardedObject.java
16627         java/security/Identity.java java/security/IdentityScope.java
16628         java/security/InvalidAlgorithmParameterException.java
16629         java/security/InvalidKeyException.java
16630         java/security/InvalidParameterException.java
16631         java/security/Key.java java/security/KeyException.java
16632         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16633         java/security/KeyManagementException.java
16634         java/security/KeyPair.java java/security/KeyPairGenerator.java
16635         java/security/KeyPairGeneratorSpi.java
16636         java/security/KeyStore.java
16637         java/security/KeyStoreException.java
16638         java/security/KeyStoreSpi.java
16639         java/security/MessageDigest.java
16640         java/security/MessageDigestSpi.java
16641         java/security/NoSuchAlgorithmException.java
16642         java/security/NoSuchProviderException.java
16643         java/security/Permission.java
16644         java/security/PermissionCollection.java
16645         java/security/Permissions.java java/security/Policy.java
16646         java/security/Principal.java java/security/PrivateKey.java
16647         java/security/PrivilegedAction.java
16648         java/security/PrivilegedActionException.java
16649         java/security/PrivilegedExceptionAction.java
16650         java/security/ProtectionDomain.java
16651         java/security/Provider.java
16652         java/security/ProviderException.java
16653         java/security/PublicKey.java
16654         java/security/SecureClassLoader.java
16655         java/security/SecureRandom.java
16656         java/security/SecureRandomSpi.java java/security/Security.java
16657         java/security/SecurityPermission.java
16658         java/security/Signature.java
16659         java/security/SignatureException.java
16660         java/security/SignatureSpi.java
16661         java/security/SignedObject.java java/security/Signer.java
16662         java/security/UnrecoverableKeyException.java
16663         java/security/UnresolvedPermission.java
16664         java/security/acl/Acl.java java/security/acl/AclEntry.java
16665         java/security/acl/AclNotFoundException.java
16666         java/security/acl/Group.java
16667         java/security/acl/LastOwnerException.java
16668         java/security/acl/NotOwnerException.java
16669         java/security/acl/Owner.java java/security/acl/Permission.java
16670         java/security/cert/CRL.java
16671         java/security/cert/CRLException.java
16672         java/security/cert/Certificate.java
16673         java/security/cert/CertificateEncodingException.java
16674         java/security/cert/CertificateException.java
16675         java/security/cert/CertificateExpiredException.java
16676         java/security/cert/CertificateFactory.java
16677         java/security/cert/CertificateFactorySpi.java
16678         java/security/cert/CertificateNotYetValidException.java
16679         java/security/cert/CertificateParsingException.java
16680         java/security/cert/X509CRL.java
16681         java/security/cert/X509CRLEntry.java
16682         java/security/cert/X509Certificate.java
16683         java/security/cert/X509Extension.java
16684         java/security/interfaces/DSAKey.java
16685         java/security/interfaces/DSAKeyPairGenerator.java
16686         java/security/interfaces/DSAParams.java
16687         java/security/interfaces/DSAPrivateKey.java
16688         java/security/interfaces/DSAPublicKey.java
16689         java/security/interfaces/RSAKey.java
16690         java/security/interfaces/RSAPrivateCrtKey.java
16691         java/security/interfaces/RSAPrivateKey.java
16692         java/security/interfaces/RSAPublicKey.java
16693         java/security/spec/AlgorithmParameterSpec.java
16694         java/security/spec/DSAParameterSpec.java
16695         java/security/spec/DSAPrivateKeySpec.java
16696         java/security/spec/DSAPublicKeySpec.java
16697         java/security/spec/EncodedKeySpec.java
16698         java/security/spec/InvalidKeySpecException.java
16699         java/security/spec/InvalidParameterSpecException.java
16700         java/security/spec/KeySpec.java
16701         java/security/spec/PKCS8EncodedKeySpec.java
16702         java/security/spec/RSAKeyGenParameterSpec.java
16703         java/security/spec/RSAPrivateCrtKeySpec.java
16704         java/security/spec/RSAPrivateKeySpec.java
16705         java/security/spec/RSAPublicKeySpec.java
16706         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16707         java/sql/BatchUpdateException.java java/sql/Blob.java
16708         java/sql/CallableStatement.java java/sql/Clob.java
16709         java/sql/Connection.java java/sql/DataTruncation.java
16710         java/sql/DatabaseMetaData.java java/sql/Date.java
16711         java/sql/Driver.java java/sql/DriverManager.java
16712         java/sql/DriverPropertyInfo.java
16713         java/sql/PreparedStatement.java java/sql/Ref.java
16714         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16715         java/sql/SQLData.java java/sql/SQLException.java
16716         java/sql/SQLInput.java java/sql/SQLOutput.java
16717         java/sql/SQLWarning.java java/sql/Statement.java
16718         java/sql/Struct.java java/sql/Time.java
16719         java/sql/Timestamp.java java/sql/Types.java
16720         java/text/Annotation.java
16721         java/text/AttributedCharacterIterator.java
16722         java/text/AttributedString.java
16723         java/text/AttributedStringIterator.java
16724         java/text/BreakIterator.java java/text/CharacterIterator.java
16725         java/text/ChoiceFormat.java java/text/Collator.java
16726         java/text/DateFormat.java java/text/DateFormatSymbols.java
16727         java/text/DecimalFormat.java
16728         java/text/DecimalFormatSymbols.java
16729         java/text/FieldPosition.java java/text/Format.java
16730         java/text/MessageFormat.java java/text/NumberFormat.java
16731         java/text/ParseException.java java/text/ParsePosition.java
16732         java/text/SimpleDateFormat.java
16733         java/text/StringCharacterIterator.java
16734         java/util/AbstractCollection.java java/util/AbstractList.java
16735         java/util/AbstractMap.java
16736         java/util/AbstractSequentialList.java
16737         java/util/AbstractSet.java java/util/ArrayList.java
16738         java/util/Arrays.java java/util/BasicMapEntry.java
16739         java/util/BitSet.java java/util/Calendar.java
16740         java/util/Collection.java java/util/Collections.java
16741         java/util/Comparator.java
16742         java/util/ConcurrentModificationException.java
16743         java/util/Date.java java/util/Dictionary.java
16744         java/util/EmptyStackException.java java/util/Enumeration.java
16745         java/util/EventListener.java java/util/EventObject.java
16746         java/util/GregorianCalendar.java java/util/HashMap.java
16747         java/util/HashSet.java java/util/Hashtable.java
16748         java/util/IdentityHashMap.java java/util/Iterator.java
16749         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16750         java/util/LinkedList.java java/util/List.java
16751         java/util/ListIterator.java java/util/ListResourceBundle.java
16752         java/util/Locale.java java/util/Map.java
16753         java/util/MissingResourceException.java
16754         java/util/NoSuchElementException.java
16755         java/util/Observable.java java/util/Observer.java
16756         java/util/Properties.java java/util/PropertyPermission.java
16757         java/util/PropertyResourceBundle.java java/util/Random.java
16758         java/util/RandomAccess.java java/util/ResourceBundle.java
16759         java/util/Set.java java/util/SimpleTimeZone.java
16760         java/util/SortedMap.java java/util/SortedSet.java
16761         java/util/Stack.java java/util/StringTokenizer.java
16762         java/util/TimeZone.java java/util/Timer.java
16763         java/util/TimerTask.java
16764         java/util/TooManyListenersException.java
16765         java/util/TreeMap.java java/util/TreeSet.java
16766         java/util/Vector.java java/util/WeakHashMap.java
16767         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16768         java/util/jar/JarException.java java/util/jar/JarFile.java
16769         java/util/jar/JarInputStream.java
16770         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16771         java/util/zip/Adler32.java java/util/zip/CRC32.java
16772         java/util/zip/CheckedInputStream.java
16773         java/util/zip/CheckedOutputStream.java
16774         java/util/zip/Checksum.java
16775         java/util/zip/DataFormatException.java
16776         java/util/zip/Deflater.java
16777         java/util/zip/DeflaterOutputStream.java
16778         java/util/zip/GZIPInputStream.java
16779         java/util/zip/GZIPOutputStream.java
16780         java/util/zip/Inflater.java
16781         java/util/zip/InflaterInputStream.java
16782         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16783         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16784         java/util/zip/ZipInputStream.java
16785         java/util/zip/ZipOutputStream.java
16786         javax/naming/BinaryRefAddr.java
16787         javax/naming/InvalidNameException.java javax/naming/Name.java
16788         javax/naming/NamingException.java javax/naming/RefAddr.java
16789         javax/naming/StringRefAddr.java: Add license clarification.
16790
16791 2002-01-22  Tom Tromey  <tromey@redhat.com>
16792
16793         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16794         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16795         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16796         version.
16797         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16798         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16799         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16800         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16801         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16802         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16803         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16804         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16805         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16806         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16807         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16808         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16809         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16810         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16811         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16812         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16813         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16814         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16815         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16816         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16817         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16818         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16819         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16820         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16821         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16822         (minimumSize, preferredSize, reshape): Likewise.
16823         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16824         getColorModel): New methods.
16825         * java/awt/PopupMenu.java: Merged with Classpath.
16826         * java/awt/MenuBar.java: Merged with Classpath.
16827         * java/awt/SystemColor.java: Replace with Classpath version.
16828         * java/awt/Panel.java: Merged with Classpath.
16829         * java/awt/PaintContext.java: Updated copyright.
16830         * java/awt/MenuShortcut.java: Merged with Classpath.
16831         * java/awt/MenuContainer.java: Merged with Classpath.
16832         * java/awt/Menu.java: Merged with Classpath.
16833         * java/awt/MediaEntry.java: New file from Classpath.
16834         * java/awt/MediaTracker.java: New file from Classpath.
16835         * java/awt/List.java: Merged with Classpath version.
16836         * java/awt/Insets.java: Merged with Classpath version.
16837         * java/awt/ImageMediaEntry.java: New file from Classpath.
16838         * java/awt/Image.java: Replaced with Classpath version.
16839         * java/awt/FontMetrics.java: Merged with Classpath version.
16840         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16841         constant.
16842         * java/awt/Font.java: Merged with Classpath version.
16843         * java/awt/Dialog.java: Merged with Classpath version.
16844         * java/awt/Color.java: Merged with Classpath version.
16845         * java/awt/Choice.java: Merged with Classpath version.
16846         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16847         * java/awt/Adjustable.java: Replace with Classpath version.
16848         * java/awt/MenuItem.java (paramString): Don't include class name
16849         or brackets.  Call superclass paramString.
16850         * java/awt/MenuComponent.java (toString): Call paramString.
16851         (paramString): Compute string; don't call toString.
16852         * java/awt/Label.java (paramString): Don't include class name
16853         or brackets.  Call superclass paramString.
16854         * java/awt/Checkbox.java (paramString): Don't include class name
16855         or brackets.  Call superclass paramString.
16856         * java/awt/Button.java (paramString): Don't include class name or
16857         brackets.  Call superclass paramString.
16858         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16859
16860 2002-01-20  Andreas Schwab  <schwab@suse.de>
16861
16862         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16863         function and of parameter recv_func to ssize_t, as specified by
16864         POSIX.
16865
16866 2002-01-19  Per Bothner  <per@bothner.com>
16867
16868         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16869         uncompressed_size in readiness for next entry.
16870
16871 2002-01-18  Tom Tromey  <tromey@redhat.com>
16872
16873         * java/net/natPlainSocketImpl.cc: Include
16874         IllegalArgumentException.h.
16875         (_Jv_recv): New template function.
16876         (BooleanClass): Removed.
16877         (read): Use _Jv_recv.
16878         (setOption): Use Boolean::class$.  Throw exception if object is
16879         not Boolean or Integer.
16880
16881 2002-01-17  Tom Tromey  <tromey@redhat.com>
16882
16883         * java/awt/MenuComponent.java: Merged with Classpath.
16884         * java/awt/MenuItem.java: Merged with Classpath.
16885         * java/awt/Button.java: Merged with Classpath.
16886
16887         * java/awt/ActiveEvent.java: Updated copyright.
16888
16889         * java/awt/AWTError.java: Replaced with Classpath version.
16890         * java/awt/AWTException.java: Replaced with Classpath version.
16891         * java/awt/IllegalComponentStateException.java: Replaced with
16892         Classpath version.
16893
16894 2002-01-16  Tom Tromey  <tromey@redhat.com>
16895
16896         * java/awt/Canvas.java (serialVersionUID): New constant.
16897         Updated copyright.  Added javadoc from Classpath.
16898         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16899
16900         * java/awt/CheckboxGroup.java: Merged with Classpath.
16901         * java/awt/Checkbox.java: Merged with Classpath.
16902
16903         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16904         Classpath.
16905         * java/awt/Point.java: Updated copyright.
16906
16907         * java/awt/Point.java (toString): Use getClass().getName().
16908         Added javadoc.
16909
16910         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16911         commented code.
16912         (hash): Correctly compute initial value for `h'.
16913
16914         * java/awt/Label.java: Merged with Classpath.
16915
16916 2002-01-15  Tom Tromey  <tromey@redhat.com>
16917
16918         * java/awt/AWTPermission.java: Updated copyright.
16919
16920         * java/awt/LayoutManager2.java: Merged with Classpath.
16921         * java/awt/LayoutManager.java: Merged with Classpath.
16922         * java/awt/GridLayout.java: Updated copyright and javadoc.
16923         (getSize): Use `parent.ncomponents'.  Handle insets.
16924         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16925         there are fewer children than columns.  Correctly compute size of
16926         each cell in the grid.  Handle case where there isn't enough
16927         space.
16928         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16929         all users.
16930         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16931         before calling setVisible() on it.  Last item is `num - 1', not
16932         `num'.
16933         (layoutContainer): Hoist invariants out of loop.
16934
16935         Start of AWT merge with Classpath:
16936         * Makefile.in: Rebuilt.
16937         * Makefile.am (awt_java_source_files): Reference files in
16938         gnu/java/awt, not gnu/gcj/awt.
16939         * java/awt/image/BufferedImage.java: Updated copyright.
16940         * java/awt/image/ComponentColorModel.java: Updated copyright.
16941         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16942         * java/awt/image/DataBuffer.java: Updated copyright.
16943         * java/awt/image/DataBufferByte.java: Updated copyright.
16944         * java/awt/image/DataBufferInt.java: Updated copyright.
16945         * java/awt/image/DataBufferUShort.java: Updated copyright.
16946         * java/awt/image/IndexColorModel.java: Updated copyright.
16947         * java/awt/image/PackedColorModel.java: Updated copyright.
16948         * java/awt/image/Raster.java: Updated copyright.
16949         * java/awt/image/RasterOp.java: Updated copyright.
16950         * java/awt/image/SampleModel.java: Updated copyright.
16951         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16952         * java/awt/image/WritableRaster.java: Updated copyright.
16953         * java/awt/color/ColorSpace.java: Updated copyright.
16954         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16955         * java/awt/color/ICC_Profile.java: Updated copyright.
16956         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16957         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16958         * java/awt/event/HierarchyEvent.java: Updated copyright.
16959         * java/awt/event/HierarchyListener.java: Updated copyright.
16960         * java/awt/geom/AffineTransform.java: Updated copyright.
16961         * java/awt/geom/Dimension2D.java: Updated copyright.
16962         * java/awt/geom/Ellipse2D.java: Updated copyright.
16963         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16964         * java/awt/geom/Line2D.java: Updated copyright.
16965         * java/awt/geom/NoninvertibleTransformException.java: Updated
16966         copyright.
16967         * java/awt/geom/PathIterator.java: Updated copyright.
16968         * java/awt/geom/Point2D.java: Updated copyright.
16969         * java/awt/geom/Rectangle2D.java: Updated copyright.
16970         * java/awt/geom/RectangularShape.java: Updated copyright.
16971         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16972         * java/awt/Toolkit.java: Updated import for file moves.
16973         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16974         Classpath.
16975         (hashCode): New method from Classpath.
16976         * java/awt/Graphics2D.java: Updated copyright.
16977         * java/awt/Transparency.java: Updated copyright.
16978         * java/awt/Paint.java: Updated copyright.
16979         * java/awt/Graphics.java: New version from Classpath.
16980         * java/awt/EventDispatchThread.java: Updated copyright.
16981         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16982         children.
16983         (gotoComponent): Wrap around on next/previous.
16984         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16985         * gnu/gcj/awt/Buffers.java: Removed.
16986         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16987         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16988         * gnu/java/awt/BitMaskExtent.java: Added.
16989         * gnu/java/awt/Buffers.java: Added.
16990         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16991         * gnu/java/awt/GLightweightPeer.java: Added.
16992         * java/awt/geom/Line2D.java (clone): Ignore
16993         CloneNotSupportedException.
16994         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16995         * java/awt/Frame.java: Merged with Classpath.
16996         * java/awt/RenderingHints.java: Copyright update.
16997         * java/awt/Paint.java: Copyright update.
16998         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16999         * java/awt/image/ColorModel.java: Merged with Classpath.
17000         * java/awt/Window.java (show): New Implementation from Classpath.
17001         (isShowing): Use super.isShowing().
17002         * java/awt/EventQueue.java: Merged with Classpath.
17003         * java/awt/AWTEventMulticaster.java (save): Throw
17004         RuntimeException.
17005         (saveInternal): Likewise.
17006         * java/awt/AWTEvent.java: Now implements Serializable.
17007         * java/awt/Event.java: Copyright update.
17008         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17009         * java/awt/image/BufferedImage.java: Copyright update.
17010         * java/awt/GraphicsConfiguration.java: Copyright update.
17011         * java/awt/Component.java: (addNotify): Don't call
17012         addNotifyContainerChildren().
17013         (addNotifyContainerChildren): Removed.
17014         (setPeer): New method from Classpath.
17015         (setTreeLock): Likewise.
17016         (setVisible): Rewrote.
17017         (show): Use it.
17018         (hide): Likewise.
17019         (validate): Set `valid'.
17020         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17021         (createImage(ImageProducer)): Likewise.
17022         (prepareImage): Likewise.
17023         * java/awt/Container.java (addImpl): Handle case where constraint
17024         is not a String.  Post event via system event queue.
17025         (remove): Post event via system event queue.
17026         (validateTree): Only validate child if it is invalid.
17027         (getAlignmentX): Call super method as default.
17028         (getAlignmentY): Likewise.
17029         (addContainerListener): Now synchronized.
17030         (removeContainerListener): Likewise.
17031         (addNotifyContainerChildren): Now private.
17032         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17033         @author.
17034         * java/awt/FlowLayout.java (serialVersionUID): New field.
17035         (setAlignment): Better exception message.
17036         (layoutContainer): Don't compute component's preferred size unless
17037         we're going to use it.
17038         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17039         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17040         (firstLine, lastLine, firstItem, lastItem): New fields.
17041         (addLayoutComponent): Handle case where constraints is null.
17042         Also, handle relative locations.
17043         (removeLayoutComponent): Handle relative locations.
17044         (MIN, MAX, PREF): New constants.
17045         (calcCompSize): New method.
17046         (calcSize): New method.
17047         (minimumLayoutSize): Use it.
17048         (preferredLayoutSize): Likewise.
17049         (maximumLayoutSize): Likewise.
17050         (toString): Include more information.
17051         (setBounds): New method.
17052         (layoutContainer): Use libgcj implementation; extended to handle
17053         relative locations.
17054
17055 2002-01-15  Tom Tromey  <tromey@redhat.com>
17056
17057         * java/lang/Float.java (equals): Preserve old code.
17058         * java/lang/Double.java (equals): Preserve old code.
17059
17060 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17061
17062         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17063         * java/lang/Float.java (equals, compare): Ditto.
17064
17065 2002-01-13  Mark Wielaard  <mark@klomp.org>
17066
17067         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17068         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17069         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17070         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17071
17072 2002-01-11  Mark Wielaard  <mark@klomp.org>
17073
17074         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17075         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17076         InetAddress.
17077         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17078         * java/net/Socket.java: Merge with Classpath.
17079         * java/net/ServerSocket.java: Likewise.
17080
17081 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17082
17083         * interpret.cc (NULLARRAYCHECK): New macro.
17084         (SAVE_PC): Just store `pc'.
17085         (find_exception): Subtract one from `pc' here.
17086         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17087         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17088         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17089         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17090         don't call SAVE_PC.
17091         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17092         call SAVE_PC.
17093
17094 2002-01-11  Tom Tromey  <tromey@redhat.com>
17095
17096         * java/lang/natSystem.cc (init_properties): Only look for default
17097         locale if LC_MESSAGES is defined.
17098         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17099         * configure.in: Call AM_LC_MESSAGES.
17100         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17101
17102 2002-01-10  Tom Tromey  <tromey@redhat.com>
17103
17104         For PR libgcj/5303:
17105         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17106         --version.  Recognize GNU-style long options.  Print GNU-style
17107         error messages.
17108         (usage): Print GNU-style help.  Exit with status 0.
17109         (error): New method.
17110         (run): Print error message if no class names found.
17111         (main): Don't print usage on error.
17112
17113 2002-01-09  Tom Tromey  <tromey@redhat.com>
17114
17115         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17116         property.
17117         (help, version): Use println(), not println("").
17118
17119         For PR libgcj/5303:
17120         * gnu/gcj/convert/Convert.java (error): Program is called
17121         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17122         -1.
17123         (main): Handle --help and --version.
17124         (help): New method.
17125         (version): Likewise.
17126
17127 2002-01-08  Tom Tromey  <tromey@redhat.com>
17128
17129         * Makefile.in: Rebuilt.
17130         * Makefile.am (ordinary_java_source_files): Added new files.
17131         * gnu/java/locale/LocaleInformation.java: Extend
17132         LocaleInformation_en.
17133         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17134         and time/date formats.
17135         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17136         generated.
17137         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17138         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17139         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17140         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17141         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17142         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17143         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17144         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17145         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17146         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17147         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17148         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17149         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17150         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17151         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17152         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17153         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17154         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17155         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17156         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17157         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17158         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17159         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17160         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17161         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17162         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17163         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17164         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17165         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17166         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17167         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17168         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17169         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17170         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17171         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17172         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17173         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17174         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17175         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17176         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17177         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17178         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17179         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17180         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17181         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17182         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17183         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17184         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17185         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17186         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17187         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17188         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17189         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17190         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17191         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17192         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17193         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17194         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17195         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17196         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17197         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17198         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17199         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17200         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17201         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17202         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17203         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17204         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17205         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17206         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17207         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17208         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17209         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17210         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17211         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17212         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17213         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17214         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17215         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17216         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17217         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17218         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17219         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17220         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17221         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17222         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17223         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17224         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17225         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17226         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17227         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17228         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17229         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17230         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17231         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17232         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17233         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17234         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17235         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17236         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17237         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17238         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17239         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17240         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17241         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17242         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17243         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17244         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17245         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17246         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17247         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17248         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17249         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17250         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17251         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17252         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17253         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17254         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17255         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17256         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17257         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17258         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17259         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17260         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17261         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17262         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17263         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17264         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17265         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17266         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17267
17268         For PR libgcj/5031:
17269         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17270         choose default locale.
17271
17272         * Makefile.in: Rebuilt.
17273         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17274
17275 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17276
17277         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17278         sockets.
17279         (close): New function closes the socket.
17280         (write): New functions for output to socket.
17281         (read): New functions for reading from socket.
17282         * java/net/PlainSocketImpl.java: Glue for new timeout
17283         implementation.
17284         (write): Call the native impl.
17285         (read): Likewise.
17286         (getInputStream): Get a stream to read from the socket.
17287         (getOutputStream): Get a stream to write to the socket.
17288
17289 2002-01-08  Tom Tromey  <tromey@redhat.com>
17290
17291         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17292
17293 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17294
17295         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17296         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17297
17298 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17299
17300         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17301         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17302         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17303         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17304         insn_bastore, insn_castore, insn_sastore]: Use it.
17305         (continue1) [insn_arraylength]: Check for null array.
17306
17307 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17308
17309         * configure, include/config.h.in: Rebuilt.
17310         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17311         * configure.in: Call AC_STRUCT_TIMEZONE.
17312
17313 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17314
17315         * configure.host: Disable the interpreter for Darwin.
17316
17317 2002-01-04  Tom Tromey  <tromey@redhat.com>
17318
17319         * java/lang/Thread.java (stop): No longer synchronized.
17320         (start): Likewise.
17321
17322 2002-01-02  Tom Tromey  <tromey@redhat.com>
17323
17324         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17325         patch.
17326
17327 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17328
17329         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17330         PPC Darwin, not for all of Darwin.