OSDN Git Service

2003-12-19 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-19  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/ChannelInputStream.java: New file.
4         * java/nio/channels/Channels.java (newInputStream): Implemented.
5         * java/nio/channels/FileChannelImpl.java
6         (readImpl): Only put data into buffer if something was read.
7         * Makefile.am (ordinary_java_source_files):
8         Added gnu/java/nio/ChannelInputStream.java.
9         * Makefile.in: Regenerated.
10
11 2003-12-19  Michael Koch  <konqueror@gmx.de>
12
13         * gnu/java/nio/OutputStreamChannel.java: New file.
14         * java/nio/channels/Channels.java (newChannel): Implemented.
15         * Makefile.am (ordinary_java_source_files):
16         Added gnu/java/nio/OutputStreamChannel.java.
17         * Makefile.in: Regenerated.
18
19 2003-12-19  Michael Koch  <konqueror@gmx.de>
20
21         * Makefile.am (ordinary_java_source_files):
22         Added gnu.java.nio.InputStreamChannel. 
23         * Makefile.in: Regenerated.
24
25 2003-12-19  Michael Koch  <konqueror@gmx.de>
26
27         * gnu/java/nio/InputStreamChannel.java: New file.
28         * java/nio/channels/Channels.java (newChannel): Implemented.
29
30 2003-12-19  Michael Koch  <konqueror@gmx.de>
31
32         * java/util/SimpleTimeZone.java
33         (setStartRule): Reformated documentation.
34         (setEndRule): Reworked documentation.
35         (getDSTSavings): Fixed @since tag.
36         (setDSTSavings): New method.
37
38 2003-12-19  Michael Koch  <konqueror@gmx.de>
39
40         * java/text/NumberFormat.java: Sorted imports.
41         (getCurrency): New method.
42         (setCurrency): New method.
43         
44
45 2003-12-19  Michael Koch  <konqueror@gmx.de>
46
47         * java/text/MessageFormat.java
48         (MessageFormat): New constructor.
49
50 2003-12-19  Michael Koch  <konqueror@gmx.de>
51
52         * gnu/java/net/protocol/jar/Handler.java
53         (parseURL): New method.
54         (toExternalForm): New method.
55
56 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
57
58         * java/awt/List.java (replaceItem): Prevent selection to move with
59         replace and minimize flickering.
60  
61 2003-12-18  Michael Koch  <konqueror@gmx.de>
62
63         * libltdl/ltdl.c: Define __private_extern__ if needed.
64
65 2003-12-18  Michael Koch  <konqueror@gmx.de>
66
67         * libltdl/.cvsignore: Ignore autom4te.cache
68         * libltdl/Makefile.in: Regenerated.
69         * libltdl/aclocal.m4: Regenerated.
70         * libltdl/acconfig.h: Removed (obsolete).
71         * libltdl/config-h.in: Regenerated.
72         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
73         * libltdl/configure: Regenerated.
74
75 2003-12-18  Michael Koch  <konqueror@gmx.de>
76
77         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
78         java.text.CollationElementIterator tests as they compile again.
79         * testsuite/libjava.mauve/xfails: Added failing
80         java.text.CollationElementIterator tests.
81
82 2003-12-18  Michael Koch  <konqueror@gmx.de>
83
84         * java/util/prefs/AbstractPreferences.java
85         (cachedChildren): New method.
86
87 2003-12-18  Michael Koch  <konqueror@gmx.de>
88
89         * java/util/TimeZone.java (getOffset): New method.
90
91 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
92  
93         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
94         of ActionEvents for mouse double-clicks.
95
96 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
97
98         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
99         null Graphics pointer returned by FileDialogPeer.
100
101 2003-12-17  Michael Koch  <konqueror@gmx.de>
102
103         * libltdl/stamp-h.in: Removed, not used anymore.
104
105 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
106
107         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
108         Removed unused InterruptedIOException.h include.
109         * gnu/java/net/natPlainSocketImplWin32.cc
110         (connect): Reset and ignore our thread's interrupted
111         flag instead of testing and throwing an InterruptedIOException
112         if set.
113         (accept): Likewise + changed case of SocketTimeoutException
114         text.
115         (write): Likewise (for both overloads).
116         (doRead): Likewise.
117
118 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
119
120         * win32.cc (WSAEventWrapper): Implemented default
121         constructor and init() methods.
122         (_Jv_select): Removed.
123         * gnu/java/nio/natSelectorImplWin32.cc
124         (helper_put_filedescriptors): Removed.
125         (helper_get_filedescriptors): Removed.
126         (implSelect): Implemented in terms of WSAEventWrapper
127         and WSAWaitForMultipleEvents instead of _Jv_select().
128         Added support for thread interruption.
129         * include/win32.h (WSAEventWrapper): Minor formatting
130         changes; added default constructor declaration, init(),
131         getFD() and getEventHandle() methods.
132         (_Jv_select): Removed.
133
134 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
135
136         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
137         (peekData): Throw SocketTimeoutException instead of
138         InterruptedIOException on timeout.
139         (receive): Likewise.
140         * gnu/java/net/natPlainSocketImplPosix.cc
141         (read): Made a minor exception text case change.
142
143 2003-12-16  Michael Koch  <konqueror@gmx.de>
144
145         Fix for PR libgcj/13056.
146         * libltdl/configure.in,
147         libltdl/config.h.in: Removed.
148         * libltdl/configure.ac,
149         libltdl/config-h.in,
150         libltdl/install-sh,
151         libltdl/config.guess,
152         libltdl/config.sub,
153         libltdl/missing,
154         libltdl/mkinstalldirs,
155         libltdl/ltmain.sh: New files.
156         * libltdl/Makefile.am,
157         libltdl/acinclude.m4,
158         libltdl/aclocal.m4,
159         libltdl/ltdl.c,
160         libltdl/ltdl.h,
161         libltdl/README: Update to versions from libtool 1.5.
162         libltdl/configure,
163         * libltdl/Makefile.in: Regenerated.
164         * java/lang/natRuntime.cc (find_symbol):
165         Use type 'lt_ptr' instead of 'lt_ptr_t'.
166
167 2003-12-16  Michael Koch  <konqueror@gmx.de>
168
169         * java/awt/MenuComponent.java
170         (serialVersionUID): Fixed value.
171
172 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
173
174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
175         (pre_event_handler): Handle GtkButton widgets differently as events
176         go to its event_window.
177         (connect_awt_hook): Remove compiler warning.
178
179 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
180
181         * java/io/ObjectInputStream.java
182         (lookupClass): New method.
183         (currentLoader): New method.
184         (inputGetObjectStreamClasses): New method.
185         (assignNewHandle): Documented.
186         (currentClassLoader): Documented.
187         * java/io/ObjectStreamClass.java
188         (setClass): Changed API. Better handling of the imported/exported
189         fields.
190         (getSerialPersistentFields): Make it throw previously caught exceptions
191         so they can handled in setClass.
192
193 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
194  
195         * java/io/ObjectStreamField.java: A few methods were added in prevision
196         of the upcoming upgrade of the serialization code. This also adds
197         some missing documentation.
198         (ObjectStreamField): We should throw a NullPointerException when 'name'
199         is null.
200
201  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
202   
203         * java/io/ObjectInputStream.java (setBooleanField):
204         Throw an InvalidClassException if the field hasn't the required type,
205         documentation added.
206         (setByteField) Likewise.
207         (setCharField) Likewise.
208         (setDoubleField) Likewise.
209         (setFloatField) Likewise.
210         (setIntField) Likewise.
211         (setShortField) Likewise.
212         (setLongField) Likewise.
213         (setObjectField) Likewise.
214
215 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
216            Helmer Kraemer <hkraemer@freenet.de>
217  
218         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
219         Splitted the method so we can specify an explicit boot loader.
220
221 2003-12-15  Graydon Hoare  <graydon@redhat.com>
222
223         * jni/gtk-peer/gdkfont.h: New file.
224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
225         include of cairo-xlib.h, add extra gdk_flush().
226
227 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
228
229         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
230         native state table -- native_global_ref_table.
231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
232         native_global_ref_table pointer.
233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
234         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
235         global reference is deleted and memory allocated for pointer freed.
236         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
237         JNI global reference instead of JNI local reference.
238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
239         (pre_event_handler): Remove compilation warning.
240         (connect_awt_hook): Use saved JNI global reference instead of creating
241         a new one.
242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
243         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
244         reference to the Java object.
245         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
246         unused variable declaration and add comment.
247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
248         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
249         reference to the Java object.
250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
251         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
252         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
253         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
254         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
255         JNI global reference instead of JNI local reference.
256         (item_toggled): Add debug statement.
257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
258         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
259         reference to the Java object.
260         (connect_choice_item_selectable_hook): Use saved JNI global references
261         instead of JNI local reference.
262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
263         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
264         global reference to the Java object.
265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
266         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
267         reference to the Java object.
268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
269         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
271         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
273         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
275         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
277         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
279         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
281         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
282         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
283         JNI global reference instead of JNI local reference.
284         (item_selected): Add debug statement.
285         (item_unselected): Add debug statement.
286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
287         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
288         reference to the Java object.
289         Connect "activate" signal handler using global JNI reference.
290         (connect_activate_hook): Removed in favor of inline code.
291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
292         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
293         reference to the Java object.
294         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
295         JNI global reference instead of JNI local reference.  Add FIXME comment.
296         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
297         reference to the Java object.  Add FIXME comment.
298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
299         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
300         reference to the Java object.
301         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
302         JNI global reference instead of JNI local reference.
303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
304         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
305         saved JNI global reference instead of JNI local reference.
306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
307         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
308         reference to the Java object.
309         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
310         JNI global reference instead of JNI local reference.
311
312 2003-12-11  Michael Koch  <konqueror@gmx.de>
313
314         * java/text/Format.java (serialVersionUID): Fixed value.
315
316 2003-12-11  Michael Koch  <konqueror@gmx.de>
317
318         * javax/naming/event/EventDirContext.java: Jalopied.
319         (addNamingListener): Fixed typo in method name.
320         
321
322 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
323
324         * gnu/java/nio/SocketChannelImpl.java
325         (write): Removed diagnostic trace.
326         * gnu/java/nio/natSelectorImplPosix.cc: Added
327         includes for java.lang.Thread and java.io.InterruptedIOException.
328         (helper_put_filedescriptors): Don't put invalid file descriptors
329         in select set.
330         (helper_get_filedescriptors): Clear invalid file descriptors
331         from select set.
332         (helper_reset): New method for clearing our file descriptor
333         array.
334         (implSelect): Correctly calculate timeout if specified and
335         legal.
336         Intercept and deal with any java.io.InterruptedIOException
337         thrown by _Jv_select().
338
339 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
340
341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
342         Most coded moved to pre_event_handler, with the modifications
343         mentioned below.
344         (pre_event_handler): New function.  Called on the Gtk "event" signal.
345         Do not retrieve the jobject from the window property as it is already
346         available as user data in the signal.
347         Do not try and find the grab widget as it is already done by Gtk at
348         this point.
349         Do not search for Window ancestor as Gtk already sends the signal to it.
350         Do not meddle with the activation state of peer widgets on each
351         key press or release.
352         Add CList to the special handling when looking for the focused widget.
353         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
355         New function.
356         (connectSignals): New function.
357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
358         Rename to...
359         (connectSignals): New name.  Get rid of NewGlobalRef call.
360         Use g_signal_connect instead of deprecated gtk_signal_connect.
361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
362         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
363         deprecated gtk_signal_connect.
364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
367         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
368         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
369         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
370         function.
371         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
372         function.
373         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
374         function.
375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
376         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
377         function.
378         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
379         function.
380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
381         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
382         function.
383         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
384         function.
385         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
386         function.
387         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
388         code.
389         (item_select): Remove indirection.
390         (item_unselect): Ditto.
391         (connect_selectable_hook): Folded into connectSignals.
392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
393         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
394         function.
395         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
396         function.
397         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
398         function.
399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
402         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
403         function.
404         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
405         function.
406         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
407         connectJObject and connectSignals instead of connectHooks.
408         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
409         connectSignals.
410         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
411         and not connectHooks.
412         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
413         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
414         and not connectHooks.
415         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
416         connectSignals instead of connectHooks.
417         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
418         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
419         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
420
421 2003-12-09  Michael Koch  <konqueror@gmx.de>
422
423         * Makefile.am (nat_headers_install): New variable with header files to
424         install automatically.
425         (install-data-local): Install all headers listed in
426         nat_headers_install. Install innert nat headers explicitely.
427         * Makefile.in: Regenerated.
428
429 2003-12-09  Michael Koch  <konqueror@gmx.de>
430
431         * java/util/Calendar.java,
432         java/util/IdentityHashMap.java,
433         java/util/prefs/Preferences.java:
434         Import used classes explicitely.
435
436 2003-12-09  Michael Koch  <konqueror@gmx.de>
437
438         * java/net/DatagramSocket.java
439         (close): Directly return if socket is closed.
440         * java/net/ServerSocket.java
441         (close): Directly return if socket is closed.
442         * java/net/Socket.java
443         (close): Directly return if socket is closed.
444
445 2003-12-09  Michael Koch  <konqueror@gmx.de>
446
447         * gnu/java/nio/SelectorImpl.java
448         (implSelect): Throws IOException.
449         (select): Likewise.
450
451 2003-12-08  Kim Ho  <kho@redhat.com>
452
453         Fix for Checkbox states.
454         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
455         (currentState): New field.
456         (nativeCreate): Add initial state parameter.
457         (create): Changed to reflect new parameter.
458         (setState): Fire only on changed states.
459         (postItemEvent): Fire only on changed states. Also change the 
460         Java Checkbox to reflect new state.
461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
462         (nativeCreate): Add parameter and set active state.
463
464 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
465  
466         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
467         object of type expected by specified DataFlavor.
468
469 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
470  
471         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
472         error which was clipping off the first character of a parameter value.
473
474 2003-12-08  Olga Rodimina <rodimina@redhat.com>
475
476         * java/awt/Polygon.java
477         (translate): Fixed error that caused polygon 
478         to move right/left when up/down translation was required.
479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
480         (getSelectionStart): Initialized start position to 0. 
481         (getSelectionEnd): Initialized end position to 0.
482         (getCaretPosition): Initialized caret position to 0.
483         (getText): Initialized selected text to NULL 
484
485 2003-12-08  Michael Koch  <konqueror@gmx.de>
486
487         Fix for PR libgcj/13176.
488         * java/io/PrintStream.java: Partly revert my previous patches to get
489         (line_separator): New field.
490         (converter): New field.
491         (work): New field.
492         (work_bytes): New field.
493         (pw): Removed.
494         (closed): Removed.
495         (PrintStrean): Initialize converter and not pw.
496         (checkError): Flush always, pw doesn't exist anymore.
497         (close): Close underlying out stream.
498         (print): New method.
499         (writeChars): New method.
500         (print): Use new internal print method.
501         (println): Likewise.
502
503 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
504
505         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
506         putAllInternal.
507         (putAllInternal): Correct comment.
508         * java/util/HashMap.java (HashMap(Map)): As above.
509         (putAllInternal): As above.
510
511 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
512
513         * java/util/Hashtable.java (internalContainsValue): Removed.
514         (containsValue): Don't delegate to internalContainsValue.
515
516 2003-12-06  Michael Koch  <konqueror@gmx.de>
517
518         * javax/naming/directory/Attribute.java,
519         javax/naming/directory/Attributes.java,
520         javax/naming/directory/DirContext.java,
521         javax/naming/directory/InitialDirContext.java,
522         javax/naming/directory/SearchResult.java,
523         javax/naming/event/EventContext.java,
524         javax/naming/event/NamingEvent.java,
525         javax/naming/event/NamingExceptionEvent.java,
526         javax/naming/ldap/ControlFactory.java,
527         javax/naming/ldap/ExtendedRequest.java,
528         javax/naming/ldap/HasControls.java,
529         javax/naming/ldap/InitialLdapContext.java,
530         javax/naming/ldap/LdapContext.java,
531         javax/naming/ldap/LdapReferralException.java,
532         javax/naming/ldap/UnsolicitedNotification.java,
533         javax/naming/ldap/UnsolicitedNotificationListener.java,
534         javax/naming/spi/DirObjectFactory.java,
535         javax/naming/spi/DirStateFactory.java,
536         javax/naming/spi/DirectoryManager.java,
537         javax/naming/spi/NamingManager.java,
538         javax/naming/spi/ObjectFactoryBuilder.java,
539         javax/naming/spi/ResolveResult.java,
540         javax/naming/spi/Resolver.java,
541         javax/naming/spi/StateFactory.java:
542         Import used classes explicitely.
543
544 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
545
546         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
547         (clip): Removed field
548         (clipRectangles): New field.
549         (clone): Use new updateClip.
550         (setClipRectangles): Use new updateClip.
551         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
552
553 2003-12-04  Michael Koch  <konqueror@gmx.de>
554
555         * java/io/FilePermission.java:
556         Import used classes explicitely.
557
558 2003-12-04  Michael Koch  <konqueror@gmx.de>
559
560         * java/beans/BeanDescriptor.java,
561         java/beans/EventSetDescriptor.java,
562         java/beans/FeatureDescriptor.java,
563         java/beans/IndexedPropertyDescriptor.java,
564         java/beans/Introspector.java,
565         java/beans/MethodDescriptor.java,
566         java/beans/PropertyDescriptor.java,
567         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
568         * java/beans/beancontext/BeanContextServicesSupport.java
569         (serialVersionUID): New field.
570
571 2003-12-04  Michael Koch  <konqueror@gmx.de>
572
573         * java/awt/MenuComponent.java: Import java.io.Serialization.
574         * java/awt/MenuItem.java: Likewise.
575         * java/awt/TextComponent.java: Likewise.
576         * java/awt/image/ImagingOpException.java
577         (serialVersionUID): Fixed.
578
579 2003-12-04  Michael Koch  <konqueror@gmx.de>
580
581         * gnu/java/net/protocol/http/Connection.java
582         (sendRequest): Merged writing http headers with classpath.
583         (getInputStream): Merged documentation from classpath.
584         (getHeaderField): Likewise.
585         (getHeaderFieldKey): Likewise.
586
587 2003-12-04  Michael Koch  <konqueror@gmx.de>
588
589         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
590
591 2003-12-04  Michael Koch  <konqueror@gmx.de>
592
593         * java/net/DatagramPacket.java
594         (length): Made packge-private to make it accessible via CNI.
595         (maxlen): New field.
596         (DatagramPacket): Cleaned up.
597         (setSocketAddress): Add message to exception.
598         (setData): Call other setData().
599         (setData): Call setLength().
600         (setLength): Initialize maxlen too.
601         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
602         Get maximal length from maxlen field, set length field directly.
603         (receive): Likewise.
604         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
605         Get maximal length from maxlen field, set length field directly.
606         (receive): Likewise.
607
608 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
609
610         * gnu/java/nio/natSelectorImplPosix.cc
611         (implSelect): A timeout of 0 means an infinite
612         timeout.
613
614 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
615  
616         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
617         of ActionEvents.
618
619 2003-12-03  Michael Koch  <konqueror@gmx.de>
620
621         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
622         * java/lang/natClass.cc (getSigners): Likewise.
623         (setSigners): Likewise.
624
625 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
626
627         * configure.in: Added new MinGW-specific configure flag
628         --with-win32-nlsapi.
629         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
630         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
631         is set to unicows.
632         * configure: Rebuilt.
633         * include/config.h.in: Rebuilt.
634         * win32.cc (_Jv_Win32NewString): Implemented.
635         (nativeToUnicode): New helper function defined only for
636         non-UNICODE builds.
637         (unicodeToNative): Likewise.
638         (_Jv_Win32TempString): Implemented.
639         (lots): Refactored using tchar.h macros.
640         (WSAEventWrapper): Use _Jv_Win32NewString.
641         (_Jv_platform_initialize): Use GetModuleFileNameA instead
642         of GetModuleFileName.
643         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
644         Use temporary stack buffer instead of a heap buffer.
645         * include/win32.h
646         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
647         defined; added tchar.h include.
648         (_Jv_Win32TempString): Declared new helper class.
649         (JV_TEMP_STRING_WIN32): New helper macro.
650         (_Jv_Win32NewString): Declared new helper method.
651         * java/io/natFileDescriptorWin32.cc (open): Use
652         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
653         (write): Reformatted slightly.
654         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
655         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
656         (getCanonicalPath): Use _Jv_Win32NewString instead of
657         JvNewStringUTF.
658         (performList): Likewise.
659         * java/lang/natWin32Process.cc (ChildProcessPipe):
660         Use tchar.h macros.
661         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
662         and UNICODE environment flag for CreateProcess.
663         * java/net/natNetworkInterfaceWin32.cc
664         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
665         _Jv_Win32NewString.
666
667 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
668
669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
670         (initState): Mark obj parameter as unused.
671         (stringWidth): Mark obj parameter as unused.  Initialize
672         font_name properly.
673
674         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
675         BufferedImageBuilder class static.
676
677 2003-12-02  Mark Wielaard  <mark@klomp.org>
678
679         * java/security/Security.java: Don't use &nbsp; in the api doc.
680
681 2003-12-02  Dalibor Topic <robilad@kaffe.org>
682
683         Reported by: Jim Pick <jim@kaffe.org>
684         * libraries/javalib/java/util/Hashtable.java
685         (internalcontainsValue): New method.
686         (contains): Delegate to internalContainsValue.
687         
688         Reported by: Mark Wielaard  <mark@klomp.org>
689         * libraries/javalib/java/util/Hashtable.java
690         (contains): Improved comment.
691         
692         Reported by: Jeroen Frijters  <jeroen@frijters.net>
693         * libraries/javalib/java/util/Hashtable.java
694         (containsValue): Delegate to contains(Object) to make sure older
695         code overwriting it continues to work.
696
697 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
698
699         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
700         method. Handle mouse and key events that must generate
701         ActionEvents.
702         * java/awt/List.java (getSelectedIndex): Return -1
703         if no list element is selected.
704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
705         Correct handling of mouse and key events so that List receives them.
706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
707         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
708         multiple list elements. 
709
710 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
711
712         * java/text/SimpleDateFormat.java (compileFormat):
713         isLowerCase() and isUpperCase() allow too many characters.
714         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
715
716 2003-12-02  Dalibor Topic <robilad@kaffe.org>
717
718         * java/text/FieldPosition.java (equals): Fixed comment.
719
720 2003-12-02  Mark Wielaard  <mark@klomp.org>
721
722         Reported by Archie Cobbs:
723         * java/security/DigestInputStream.java (read(byte[], int, int): Call
724         digest.update() with temp, not len as lenght.
725
726 2003-12-02  Michael Koch  <konqueror@gmx.de>
727
728         * java/net/DatagramSocket.java
729         (close): Close associated DatagramChannel object.
730         * java/net/ServerSocket.java
731         * java/net/Socket.java
732         (close): Reset impl and bound before calling getChannel().close() to
733         prevent from loops.
734
735 2003-12-02  Michael Koch  <konqueror@gmx.de>
736
737         * java/nio/channels/spi/AbstractInterruptibleChannel.java
738         (opened): Removed.
739         (closed): New field.
740         (close): Check of channel is closed already.
741         (isOpen): Return !closed.
742
743 2003-12-02  Michael Koch  <konqueror@gmx.de>
744
745         * gnu/java/nio/DatagramChannelImpl.java
746         (blocking): Initialize with true by default.
747         * gnu/java/nio/ServerSocketChannelImpl.java
748         (serverSocket): Made private.
749         (blocking): Likewise.
750         (connected): Likewise.
751         * gnu/java/nio/SocketChannelImpl.java
752         (connectionPending): Made private.
753         * gnu/java/nio/FileLockImpl.java
754         (static): Load native library (needed for classpath).
755         * gnu/java/nio/SelectorImpl.java
756         (static): Load native library (needed for classpath).
757
758 2003-12-02  Michael Koch  <konqueror@gmx.de>
759
760         * gnu/java/net/protocol/file/Connection.java
761         (getLastModified): Implement for file connections.
762         (getContentLength): Likewise.
763
764 2003-12-02  Michael Koch  <konqueror@gmx.de>
765
766         * gnu/java/net/protocol/file/Connection.java:
767         Some reformating.
768         (file): Renamed from fileIn.
769         (getPermission): Moved around.
770
771 2003-12-02  Michael Koch  <konqueror@gmx.de>
772
773         * gnu/java/net/protocol/jar/Connection.java
774         (Connection): Made class final, merged documentation with classpath.
775         (file_cache): Made private.
776         (jar_file): Renamed from jarfile.
777
778 2003-12-02  Michael Koch  <konqueror@gmx.de>
779
780         * gnu/java/net/protocol/http/Connection.java
781         (Connection): Initialize doOutput to false;
782         (connect): Initialize inputStream, moved "send request" code to new
783         method.
784         (sendRequest): New method.
785         (getHttpHeaders): Don't reinitialize inputStream.
786
787 2003-12-02  Michael Koch  <konqueror@gmx.de>
788
789         * gnu/java/net/protocol//http/Connection.java
790         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
791         (requestProperties): Initialize, documentation added.
792         (inputStream): Renamed from bufferedIn.
793         (Connection): Dont initialize requestProperties.
794         (setDefaultRequestProperty): Removed.
795         (getDefaultRequestProperty): Removed.
796         (usingProxy): Documentation added.
797         (getHttpHeaders): Likewise.
798
799 2003-12-02  Michael Koch  <konqueror@gmx.de>
800
801         * java/text/DateFormat.java:
802         Explicitely import used classes.
803
804 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
805
806         * verify.cc (state::clean_subrs): Clear seen_subrs.
807         (state::copy): Walk seen_subrs from copy, not `this'.
808         Don't clear seen_subrs.
809
810 2003-12-01  Kim Ho <kho@redhat.com>
811
812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
813         Disable wrapping if TextArea has horizontal scroll bars.
814
815 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
816
817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
818         (awt_event_handler): Hard-code inset values.
819
820         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
821         Pass font name, not XLFD, to initState.
822         (stringWidth(String, int, String)): New method.
823         (stringWidth(String)): Call new stringWidth.
824         (getLeading): Always return 0.
825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
826         (initState): New Pango implementation.
827         (stringWidth): Likewise.
828
829 2003-12-01  Olga Rodimina <rodimina@redhat.com>
830
831         * java/awt/TextComponent.java:
832         (getSelectionStart): Updated javadocs.
833         (getSelectionEnd): Ditto.
834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
835         (getSelectionStart): Changed to return caret position if no
836         text is selected
837         (getSelectionEnd): Ditto.
838
839 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
840
841         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
842         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
843         gnu/awt/gtk/GtkContainerPeer.java,
844         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
845         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
846         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
847         gnu/awt/gtk/natGtkComponentPeer.cc,
848         gnu/awt/gtk/natGtkContainerPeer.cc,
849         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
850         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
851         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
852
853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
854         (closed): Mark loader parameter as unused.
855
856 2003-12-01  Michael Koch  <konqueror@gmx.de>
857
858         * gnu/java/net/protocol/http/Connection.java
859         (Connection): Merged class documentation.
860         (socket): Renamed from sock.
861         (Connection): Made protected, documentation added.
862         (connect): Give URL'S host instead of InetAddress to Socket
863         constructor.
864         (disconnect): Documentation added.
865         (getOutputStream): Rewrapped.
866
867 2003-12-01  Michael Koch  <konqueror@gmx.de>
868
869         * gnu/java/net/protocol/file/Connection.java
870         (fileIn): Documentation added.
871         (inputStream): Likewise.
872         (outputStream): Likewise.
873         (Connection): Likewise.
874         (connect): Simplified.
875
876 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
877
878         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
879         setProperties): Check that io is not null before calling
880         io.imageUpdate.
881         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
882         Update javadocs.
883         * java/awt/image/PixelGrabber.java: Fix implementation and
884         update javadocs.
885
886 2003-12-01  Michael Koch  <konqueror@gmx.de>
887
888         * gnu/java/net/natPlainSocketImplPosix.cc
889         bind(): Dont set SockedImpl.address field on succesful bind.
890         * gnu/java/net/natPlainSocketImplWin32.cc
891         bind(): Likewise.
892
893 2003-11-30  Jeff Sturm <jsturm@one-point.com>
894
895         * java/net/InetAddress.java:
896         (static): Don'f force DNS request for ANY_IF address.
897
898 2003-11-30  Michael Koch  <konqueror@gmx.de>
899
900         * java/net/InetAddress.java,
901         java/net/natInetAddressNoNet.cc,
902         java/net/natInetAddressPosix.cc,
903         java/net/natInetAddressWin32.cc:
904         Reverted my last patch.
905
906 2003-11-28  Michael Koch  <konqueror@gmx.de>
907
908         * java/net/InetAddress.java
909         (lookup): New method that doesnt lookup "0.0.0.0".
910         (ImplLookup): Renamed from lookup.
911         * java/net/natInetAddressNoNet.cc
912         (ImplLookup): Renamed from lookup.
913         * java/net/natInetAddressPosix.cc
914         (ImplLookup): Renamed from lookup.
915         * java/net/natInetAddressWin32.cc
916         (ImplLookup): Renamed from lookup.
917
918 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
919
920         * configure: Rebuilt.
921         * configure.in: Require gtk and glib 2.2.0.
922
923 2003-11-27  Dalibor Topic <robilad@kaffe.org>
924
925         * java/text/FieldPosition.java (equals): Adapted to handle
926         field_attribute. Added fast-circuit check for comparison to self.
927         Replaced use of instanceof by getClass to fix symmetry for derived
928         types.
929         (toString): Adapted to handle field_attribute. Improved readability.
930         (hashCode): New method.
931
932 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
933
934         * java/text/FieldPosition.java (field_attribute): New field.
935         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
936         getFieldAttribute): New methods.
937
938 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
939
940         * java/text/DecimalFormatSymbols.java (locale): New field.
941         (DecimalFormatSymbols (Locale)): Set locale.
942         (serialVersionOnStream): Upgraded to number 2.
943         (readObject): Assign locale if it wasn't by the serializer.
944
945 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
946
947         * java/text/FormatCharacterIterator.java: Documented the class and
948
949 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
950
951         * java/text/FormatCharacterIterator.java: Fixed some typos.
952
953 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
954
955         * java/text/NumberFormat.java:
956         (getIntegerInstance) Added the java version in the comments.
957
958 2003-11-27  Mark Wielaard  <mark@klomp.org>
959
960         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
961         (readResolve): Reformat.
962
963 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
964
965         * java/text/NumberFormat.java
966         (NumberFormat.Field): New implemented class to match Java 1.4. 
967         (getIntegerInstance): Two new Java 1.4 methods.o
968
969 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
970
971         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
972         the leap day of the leap year twice.
973         (computeFields): First week of month is 1 not 0.
974
975 2003-11-27  Mark Wielaard  <mark@klomp.org>
976
977         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
978         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
979
980 2003-11-27  Michael Koch  <konqueror@gmx.de>
981
982         * javax/swing/UIDefaults.java:
983         Reformated to match classpath's version.
984
985 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
986
987         * javax/swing/UIManager.java (getDefaults, getDimension,
988         getIcon, getInsets, getInstalledLookAndFeels, getInt,
989         getLookAndFeel, getString, getSystemLookAndFeelClassName):
990         Declare as public.
991
992 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
993
994         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
995         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
996         isSignificant): Likewise.
997
998 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
999
1000         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1001         (inProgress): Set initial value to true.
1002         (undo, redo, die, canUndo, canRedo): Also call inherited
1003         implementation; simplify code structure.
1004         (getPresentationName, getUndoPresentationName,
1005         getRedoPresentationName): Make behavior dependent on lastEdit.
1006         (addEdit, isSignificant): Completely re-written.
1007
1008 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1009
1010         * javax/swing/undo/StateEdit.java: Re-format, document.
1011         (undo, redo): Also call inherited implementation.
1012
1013 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1014
1015         * javax/swing/undo/StateEditable.java: Re-format, document.
1016
1017 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1018
1019         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1020         (AbstractUndoableEdit): Initialize hasBeenDone to true.
1021         (canUndo, canRedo): Simplify.
1022         (getUndoPresentationName, getRedoPresentationName): Support
1023         localized message; call getPresentationName() only once.
1024
1025 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
1026
1027         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1028         (ZipFile(File,int)): Likewise.
1029
1030 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
1031
1032         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1033         (putAllInternal): Likewise.
1034         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1035         (putAllInternal): Likewise.
1036
1037 2003-11-26  Michael Koch  <konqueror@gmx.de>
1038
1039         * java/net/URLStreamHandler.java
1040         (parseURL): Added comment in catch statement.
1041         (canonicalizeFilename): Add documentation.
1042         (sameURL): Completed documentation.
1043         (equals): Likewise.
1044         (hostsEqual): Likewise.
1045         (getDefaulPort): Likewise.
1046         (hashCode): Likewise.
1047         (toExternalForm): Likewise.
1048         (getHostName): Fix empty hostname check, completed documentation.
1049
1050 2003-11-26  Tom Tromey  <tromey@redhat.com>
1051
1052         * java/lang/natDouble.cc (parseDouble): Reverted patch of
1053         2003-11-13.
1054
1055 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
1056             Mark Wielaard  <mark@klomp.org>
1057
1058         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1059         ('@' should be checked to distinguish port from userinfo).
1060         (toExternalForm): Add @ userInfo if necessary.
1061
1062
1063 2003-11-26  Michael Koch  <konqueror@gmx.de>
1064
1065         * java/net/DatagramSocket.java
1066         (DategramSocket, bind): Moved binding code from DatagramSocket
1067         constructor to bind method.
1068
1069 2003-11-26  Michael Koch  <konqueror@gmx.de>
1070
1071         * java/net/DatagramSocket.java
1072         (impl): Made private.
1073         (bound): New private member variable.
1074         (DatagramSocket): Fixed documentation, use getImpl().
1075         (getImpl): New package-private method.
1076         (isClosed): Use getImpl().
1077         (getLocalAddress): Completed documentation, use getImpl().
1078         (getLocalPort): Use getImpl().
1079         (getSoTimeout): Likewise.
1080         (setSoTimeout): Likewise.
1081         (getSendBufferSize): Likewise.
1082         (setSendBufferSize): Likewise.
1083         (getReceiveBufferSize): Likewise.
1084         (setReceiveBufferSize): Likewise.
1085         (connect): Likewise.
1086         (disconnect): Likewise.
1087         (receive): Likewise.
1088         (send): Likewise.
1089         (setReuseAddress): Likewise.
1090         (setTrafficClass): Likewise.
1091         (bind): Added message to exception.
1092         (isClosed): Completed documentation.
1093         (getChannel): Likewise.
1094         (connect): Added missing exception, refined exception message.
1095         (isBound): Completed documentation, just return bound.
1096         (isConnected): Completed documentation.
1097         (getRemoteSocketAddress): Likewise.
1098         (getReuseAddress): Completed documentation, use getImpl().
1099         (setSoBroadcast): Likewise.
1100         (getSoBroadcast): Likewise.
1101         (getTrafficClass): Likewise.
1102         (getLocalSocketAddress): Simplified.
1103         * java/net/MulticastSocket.java
1104         (MulticastSocket): Removed comment not applying anymore.
1105         (getInterface): Use getImpl().
1106         (getTTL): Likewise.
1107         (getTimeToLive): Likewise.
1108         (setInterface): Likewise.
1109         (setNetworkInterface): Likewise.
1110         (getNetworkInterface): Likewise.
1111         (setLoopback): Likewise.
1112         (getLoopback): Likewise.
1113         (setTTL): Likewise.
1114         (setTimeToLive): Likewise.
1115         (joinGroup): Likewise.
1116         (leaveGroup): Likewise.
1117         (send): Likewise.
1118
1119 2003-11-26  Michael Koch  <konqueror@gmx.de>
1120
1121         * java/net/Socket.java
1122         (implCreated): Dont set default value explicitely, added
1123         documentation.
1124         (inputShutdown): Likewise.
1125         (outputShutdown): Likewise.
1126         (bound): New private member variable.
1127         (bind): Set bound to true.
1128         (close): Set bound to false.
1129         (isBound): Return bound.
1130         * java/net/ServerSocket.java
1131         (bound): New private member variable.
1132         (bind): Set bound to true.
1133         (close): Set bound to false.
1134         (isBound): Return bound.
1135
1136 2003-11-26  Michael Koch  <konqueror@gmx.de>
1137
1138         * java/net/URL.java
1139         (URL): Fixed documentation to be HTML compliant.
1140         (getContent): Completed documentation.
1141         (getFile): Likewise.
1142         (getPath): Likewise.
1143         (getAuthority): Likewise.
1144         (getHost): Likewise.
1145         (getDefaultPort): Likewise.
1146         (getProtocol): Likewise.
1147         (hashCode): Likewise.
1148         (openConnection): Likewise.
1149         (openStream): Likewise.
1150         (set): Likewise.
1151         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1152
1153 2003-11-26  Michael Koch  <konqueror@gmx.de>
1154
1155         * java/net/InetSocketAddress.java
1156         (hostname): Made private, added documentation.
1157         (addr): Likewise.
1158         (port): Likewise.
1159         (equals): Completed documentation.
1160         (getAddress): Likewise.
1161         (getHostName): Likewise.
1162         (getPort): Likewise.
1163         (hashCode): Likewise.
1164         (isUnresolved): Likewise.
1165         (toString): Likewise.
1166
1167 2003-11-26  Michael Koch  <konqueror@gmx.de>
1168
1169         * gnu/java/net/protocol/file/Handler.java
1170         (Handler): New explicit constructor.
1171         (openConnection): Added documentation.
1172         * gnu/java/net/protocol/jar/Handler.java
1173         (Handler): New explicit constructor.
1174         (openConnection): Added documentation.
1175
1176 2003-11-26  Michael Koch  <konqueror@gmx.de>
1177
1178         * java/net/DatagramPacket.java
1179         (DatagramPacket): Fixed documentation to become legal HTML.
1180
1181 2003-11-25  Michael Koch  <konqueror@gmx.de>
1182
1183         * gcj/javaprims.h: Added missing java.util.Currency.
1184
1185 2003-11-25  Michael Koch  <konqueror@gmx.de>
1186
1187         * testsuite/libjava.mauve/xfails:
1188         Removed these two tests, they mystically pass now:
1189         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1190         test_params failed - 5getInetAddress did not return proper values
1191         (number 1)
1192         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1193         test_BasicServer failed - 11 exception was thrown :Illegal seek
1194         (number 1)
1195
1196 2003-11-25  Michael Koch  <konqueror@gmx.de>
1197
1198         * java/net/DatagramSocket.java
1199         (factory): Made private.
1200         (closed): Removed.
1201         (DatagramSocket): Check impl argument, use constructor with
1202         SocketAddress argument.
1203         (close): Set impl to null, use isClosed().
1204         (isClosed): Check for impl == null.
1205         (getLocalAddress): Use isClosed().
1206         (getLocalPort): Check if socket is closed.
1207         (getSoTimeout): Likewise.
1208         (setSoTimeout): Likewise.
1209         (getSendBufferSize): Likewise.
1210         (setSendBufferSize): Likewise.
1211         (getReceiveBufferSize): Likewise.
1212         (setReceiveBufferSize): Likewise.
1213         (receive): Likewise.
1214         (send): Likewise.
1215         (bind): Likewise.
1216         (connect): Likewise.
1217         (setReuseAddress): Likewise.
1218         (getReuseAddress): Likewise.
1219         (setBroadcast): Likewise.
1220         (getBroadcast): Likewise.
1221         (setTrafficClass): Likewise.
1222         (getTrafficClass): Likewise.
1223         * java/net/MulticastSocket.java
1224         (getInterface): Check if socket is closed.
1225         (getTTL): Likewise.
1226         (getTimeToLive): Likewise.
1227         (setInterface): Likewise.
1228         (setNetworkInterface): Likewise.
1229         (getNetworkInterface): Likewise.
1230         (setLoopbackMode): Likewise.
1231         (setTTL): Likewise.
1232         (setTimeToLive): Likewise.
1233         (joinGroup): Likewise.
1234         (leaveGroup): Likewise.
1235         (send): Likewise.
1236         * java/net/ServerSocket.java
1237         (closed): Removed.
1238         (close): Check if socket is closed, set impl to null.
1239         (isClosed): Check impl == null;
1240         (ServerSocket): Check impl argument.
1241         (getInetAddress): Check if socket is bound.
1242         (getLocalPort): Likewise.
1243         (getLocalSocketAddress): Likewise.
1244         (bind): Check if socket is closed.
1245         (implAccept): Likewise.
1246         (setSoTimeout): Likewise.
1247         (getSoTimeout): Likewise.
1248         (setReuseAddress): Likewise.
1249         (getReuseAddress): Likewise.
1250         (setReceiveBufferSize): Likewise.
1251         (getReceiveBufferSize): Likewise.
1252         (toString): Make output compliant to JDK 1.4.2.
1253         * java/net/Socket.java
1254         (closed): Removed.
1255         (Socket): Fixed documentation.
1256         (connect): Check if socket is closed, changed exception text,
1257         fixed documentation.
1258         (getInputStream): Check of socket is closed  and connected.
1259         (getOutputStream): Likewise.
1260         (bind): Check if socket is closed.
1261         (setTcpNoDelay): Likewise.
1262         (getTcpNoDelay): Likewise.
1263         (setSoLinger): Likewise.
1264         (getSoLinger): Likewise.
1265         (sendUrgentData): Likewise.
1266         (setOOBInline): Likewise.
1267         (getOOBInline): Likewise.
1268         (setSoTimeout): Likewise.
1269         (getSoTimeout): Likewise.
1270         (setSendBufferSize): Likewise.
1271         (getSendBufferSize): Likewise.
1272         (setReceiveBufferSize): Likewise.
1273         (getReceiveBufferSize): Likewise.
1274         (setKeepAlive): Likewise.
1275         (getKeepAlive): Likewise.
1276         (close): Likewise.
1277         (shutdownInput): Likewise.
1278         (shutdownOutput): Likewise.
1279         (getReuseAddress): Likewise.
1280         (getTrafficClass): Likewise.
1281         (setTrafficClass): Likewise.
1282         (isClosed): Check impl == null.
1283         (toString): Added missing ']'.
1284
1285 2003-11-24  Tom Tromey  <tromey@redhat.com>
1286
1287         * Makefile.in: Rebuilt.
1288         * Makefile.am (propdir): New macro.
1289         (install-data-local): Install logging.properties.
1290         (core_java_source_files): Added java.util.logging.*.
1291         * java/util/logging/logging.properties: New file.
1292
1293 2003-11-25  Michael Koch  <konqueror@gmx.de>
1294
1295         * java/net/DatagramSocket.java
1296         (DatagramSocket): Move binding code to bind(), simplify constructors.
1297         * java/net/MulticastSocket.java
1298         (MulticastSocket): Call parent constructor with null argument,
1299         bind socket after setReuseAddress is called, simplify constructors.
1300
1301 2003-11-24  Michael Koch  <konqueror@gmx.de>
1302
1303         * javax/swing/BoxLayout.java
1304         (serialVersionUIR): New member variable.
1305         (X_AXIS, Y_AXIS): Documentation added.
1306         (LINE_AXIS, PAGE_AXIS): New constants.
1307         (grid): Renamed from gridbag.
1308         (BoxLayout): Use new constants, throw exception if invalid value for
1309         way, added documentation.
1310         (BoxLayout): Removed.
1311         (addLayoutComponent): Use new constants, added documentation.
1312         (removeLayoutComponent): Likewise.
1313         (addLayoutContainer): Added documentation.
1314         (preferredLayoutSize): Added documentation, check given argument.
1315         (minimumLayoutSize): Likewise.
1316         (layoutContainer): Likewise.
1317         (getLayoutAlignmentX): Likewise.
1318         (getLayoutAlignmentY): Likewise.
1319         (invalidateLayout): Likewise.
1320         (maximumLayoutSize): Likewise.
1321
1322 2003-11-22  Michael Koch  <konqueror@gmx.de>
1323
1324         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1325         (peekData): Use offset and maximal free space in datagram packet.
1326         (receive): Likewise.
1327         (send): Use offset in datagram packet.
1328
1329 2003-11-22  Michael Koch  <konqueror@gmx.de>
1330
1331         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1332         (peekData): Use offset and maximal free space in datagram packet.
1333         (receive): Likewise.
1334         (send): Use offset in datagram packet.
1335
1336 2003-11-22  Michael Koch  <konqueror@gmx.de>
1337
1338         * gnu/java/nio/DatagramChannelImpl.java
1339         (getNativeFD): Use getPlainDatagramSocketImpl().
1340         * gnu/java/nio/NIODatagramSocket.java
1341         (getPlainDatagramSocketImpl): Renamed from getImpl().
1342         * gnu/java/nio/NIOSocket.java
1343         (getPlainSocketImpl): Renamed from getImpl().
1344         (setChannel): Use getPlainSocketImpl().
1345         * gnu/java/nio/SocketChannelImpl.java
1346         (SocketChannelImpl): Use getPlainSocketImpl().
1347         (getPlainSocketImpl): Renamed from getImpl().
1348         (getNativeFD): Use getPlainSocketImpl().
1349
1350 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1351
1352         * javax/swing/JLayeredPane.java: Implement.
1353         * javax/swing/JFrame.java (getContentPane): Make public
1354         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1355         Use JLayeredPane.FRAME_CONTENT_LAYER.
1356
1357 2003-11-21  Mark Wielaard  <mark@klomp.org>
1358
1359         * java/lang/Float.java (static): Removed.
1360
1361 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1362
1363         * java/awt/font/TextLayout.java: Implement simple layouts
1364         using attributed strings and glyph vectors.
1365
1366 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1367
1368         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1369         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1370         (GdkFontLineMetrics): New inner class.
1371         (getLineMetrics): Return new GdkFontLineMetrics.
1372         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1373         (layoutGlyphVector): Create GdkGlyphVector.
1374         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1375         (GdkGraphics2D): Initialize state via mathod calls.
1376         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1377         (cairoTranslate, cairoScale, cairoRotate): Remove.
1378         (various methods): use setTransform for special transform cases.
1379         (DrawState): New inner class.
1380         (stateSave): New method.
1381         (stateRestore): New method.
1382         (various methods): use stateSave, stateRestore.
1383         (getClipInDevSpace): New method.
1384         (clip, clipRect, setClip, getClip, getClipBounds): 
1385         Follow spec more closely.
1386         (getTransform): Return clone of transform.
1387         (setStroke): Set linewidth to passed width / 2.0.
1388         (setPaintMode): Set SrcOver rather than Xor.
1389         (setColor): Set paint to passed color.
1390         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1391         transform from image to user space.
1392         (drawRenderedImage, drawRenderableImage): Implement.
1393         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1394         Implement
1395         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1396         Implement.
1397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1398         Match changes to java side.
1399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1400         Release resources.
1401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1402         Don't use pango for metrics.
1403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1404         New file.
1405
1406 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1407             Jim Pick  <jim@kaffe.org>
1408
1409         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1410         methods.
1411
1412 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1413
1414         * java/text/DecimalFormatSymbols.java (getCurrency,
1415         setCurrency): New methods.
1416
1417 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1418
1419         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1420         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1421         Describe how the implementation works.
1422
1423 2003-11-19  Michael Koch  <konqueror@gmx.de>
1424
1425         * java/net/Socket.java
1426         (implCreated): New variable that indicates created impl.
1427         (getImpl): New method.
1428         (toString): Return more SUN compliant string representation.
1429         (various): Use getImpl() instead of impl.
1430
1431 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1432
1433         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1434         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1435         flags.
1436
1437 2003-11-18  Tom Tromey  <tromey@redhat.com>
1438
1439         PR libgcj/13026:
1440         * verify.cc (state::copy): Only set local_changed if we're in a
1441         subroutine.  Correctly copy local variables which were modified
1442         by the subroutine.
1443         (push_jump_merge): Added more debugging output.
1444
1445         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1446         is null.
1447
1448 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1449
1450         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1451         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1452
1453 2003-11-16  Tom Tromey  <tromey@redhat.com>
1454
1455         PR libgcj/13062:
1456         * java/io/StreamTokenizer.java (commentChar): Clear other
1457         attributes for character.
1458         (quoteChar): Likewise.
1459
1460 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1461
1462         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1463         zero-length int arrays when layoutInfo is null.
1464         (getLayoutWeights): Return array of two zero-length double arrays when
1465         layoutInfo is null.
1466
1467 2003-11-13  Tom Tromey  <tromey@redhat.com>
1468
1469         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1470         JvGetStringUTFRegion.
1471         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1472         to JvGetStringUTFRegion.
1473         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1474         JvGetStringUTFRegion.
1475         * java/lang/natWin32Process.cc (startProcess): Pass length of
1476         string to JvGetStringUTFRegion.
1477         * java/lang/natClass.cc (forName): Pass length of string to
1478         JvGetStringUTFRegion.
1479         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1480         of string to JvGetStringUTFRegion.
1481         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1482         JvGetStringUTFRegion.
1483         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1484         to JvGetStringUTFRegion.
1485         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1486         string to JvGetStringUTFRegion.
1487
1488 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1489
1490         * gnu/java/nio/natSelectorImplPosix.cc
1491         (helper_put_filedescriptors): Change to static linkage.
1492         (helper_get_filedescriptors): Likewise.
1493
1494 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1495
1496         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1497         null check.
1498         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1499         * java/awt/Component.java (prepareImage): Likewise.
1500
1501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1502         Rename to nativeSetAlignment.
1503
1504 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1505
1506         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1507         (JNI_GetCreatedJavaVMs): Likewise.
1508         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1509         * include/jni.h (JNIIMPEXP): Remove definition
1510         and replace with...
1511         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1512         symbols,
1513         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1514
1515 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1516
1517         * Makefile.am: Add GdkPixbufDecoder.java and
1518         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1519         * Makefile.in: Regenerate.
1520         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1521         New constructor.
1522         (startProduction): Create ByteArrayInputStream when url and filename are
1523         null.
1524         (produce): Declare stream parameter as InputStream.
1525         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1526         as InputStream.
1527         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1528         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1529         (produce): Declare stream parameter as InputStream.
1530         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1531         if image is null.  Set image's observer before running PrepareImage
1532         thread.  Pass image to startProduction.
1533         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1534         source's member functions.
1535         (observer): New field.
1536         (setObserver): New method.
1537         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1538         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1539         new GtkImage.
1540         (prepareImage): Implement.
1541         * java/awt/Component.java: Add static fields incrementalDraw and
1542         redrawRate.
1543         (imageUpdate): Implement.
1544         (createImage): Call Toolkit's createImage if peer is null.
1545         (prepareImage): Throw NPE if image is null.
1546         * java/awt/MediaTracker.java: Fix return value.
1547
1548 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1549
1550         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1551         (create(String, float)): New method.
1552         (setText): Make native.
1553         (nativeSetAlignment): New method.
1554         (setAlignment): Call nativeSetAlignment.
1555         (getArgs): Remove method.
1556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1557         (find_fg_color_widget, find_bg_color_widget): New functions.
1558         (gtkWidgetSetForeground): Call find_fg_color_widget.
1559         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1560         prelight colors.
1561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1562         widget in event box.
1563         (setText, setAlignment): Implement new native methods.
1564
1565 2003-11-11  Michael Koch  <konqueror@gmx.de>
1566
1567         * java/awt/Font.java,
1568         java/awt/datatransfer/DataFlavor.java,
1569         java/math/BigInteger.java,
1570         java/net/Inet4Address.java,
1571         java/net/Inet6Address.java,
1572         java/rmi/MarshalledObject.java,
1573         java/rmi/server/RMIClassLoader.java,
1574         java/security/cert/CertStore.java,
1575         java/sql/Timestamp.java,
1576         java/text/SimpleDateFormat.java,
1577         javax/naming/CompoundName.java:
1578         Removed some redundant obj == null checks.
1579
1580 2003-11-11  Michael Koch  <konqueror@gmx.de>
1581
1582         * java/nio/ByteBuffer.java
1583         (equals): Remove redundant obj == null check.
1584
1585 2003-11-11  Michael Koch  <konqueror@gmx.de>
1586
1587         * gnu/java/nio/natPipeImpl.cc,
1588         gnu/java/nio/natSelectorImpl.cc: Removed
1589         * gnu/java/nio/natPipeImplEcos.cc,
1590         gnu/java/nio/natPipeImplPosix.cc,
1591         gnu/java/nio/natPipeImplWin32.cc,
1592         gnu/java/nio/natSelectorImplEcos.cc,
1593         gnu/java/nio/natSelectorImplPosix.cc,
1594         gnu/java/nio/natSelectorImplWin32.cc: New files
1595         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1596         gnu/java/nio/natSelectorImpl.cc
1597         * configure: Regenerated.
1598
1599 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1600
1601         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1602         if host is printed too and port was really given to URL.
1603
1604 2003-11-10  Gary Benson  <gbenson@redhat.com>
1605
1606         * java/sql/Timestamp.java (valueOf): Correctly handle
1607         nanoseconds.
1608
1609 2003-11-09  Tom Tromey  <tromey@redhat.com>
1610
1611         * java/net/Inet4Address.java (serialVersionUID): Updated.
1612
1613 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1614
1615         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1616         New fields.
1617
1618 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1619
1620         * java/io/ByteArrayOutputStream.java (resize):
1621         Fix off-by-one error.
1622
1623 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1624
1625         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1626         public.
1627
1628 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1629
1630         PR libgcj/12231
1631         * java/lang/Win32Process.java (hasExited) Changed from
1632         public to private.
1633         (startProcess): Likewise.
1634         (cleanup): Likewise.
1635         * java/lang/natWin32Process.cc (cleanup) Don't close
1636         input, output and error streams.
1637         (ChildProcessPipe): New helper class.
1638         (startProcess): Refactored to use ChildProcessPipe.
1639         Use CREATE_NO_WINDOW when launching child process.
1640
1641 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1642
1643         * include/win32.h (_Jv_platform_close_on_exec): Changed
1644         signature and declared extern.
1645         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1646         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1647         (create): Use new signature of _Jv_platform_close_on_exec.
1648         * gnu/java/net/natPlainSocketImplWin32.cc 
1649         (create): Eliminated a few typecasts
1650         Use new signature of _Jv_platform_close_on_exec.
1651         (accept): Eliminated a few typecasts
1652         Use new signature of _Jv_platform_close_on_exec.
1653         * java/io/natFileDescriptorWin32.cc (open): Use
1654         _Jv_platform_close_on_exec.
1655
1656 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1657
1658         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1659         if class has no null-argument constructor.
1660
1661 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1662
1663         PR libgcj/12647:
1664         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1665         refcount when releasing and reacquiring it.
1666
1667 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1668
1669         * win32.cc: (dirExists) Internal helper function to
1670         test for directory existence.
1671         (getUserHome) New helper function refactored out
1672         of _Jv_platform_initProperties. Uses USERPROFILE
1673         instead of HOMEDIR and attempts to support Win9X and NT.
1674         (_Jv_platform_initProperties) Use getUserHome.
1675
1676 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1677
1678         PR libgcj/11521:
1679         * gnu/java/net/natPlainSocketImplWin32.cc
1680         (bind): Don't use SO_REUSEADDR
1681
1682 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1683
1684         PR libgcj/6652:
1685         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1686
1687 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1688
1689         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1690         dispatch for final methods.
1691
1692 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1693
1694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1695         word wrapping.
1696
1697 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1698
1699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1700         scrolled window's size request.
1701
1702 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1703
1704         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1705         * java/awt/geom/QuadCurve2D.java: Likewise.
1706
1707 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1708
1709         * java/awt/geom/CubicCurve2D.java: Added documentation.
1710         * java/awt/geom/QuadCurve2D.java: Likewise.
1711
1712         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1713         java/awt/geom/doc-files/QuadCurve2D-5.png,
1714         java/awt/geom/doc-files/CubicCurve2D-4.png,
1715         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1716
1717 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1718
1719         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1720         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1721         (subdivide(double[],int,double[],int,double[],int)): Implement.
1722
1723 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1724
1725         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1726         java/awt/geom/doc-files/CubicCurve2D-2.png,
1727         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1728
1729 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1730
1731         * java/text/DecimalFormat.java
1732         (scanFormat) corrected so that '%' may appear in a pattern.
1733
1734 2003-10-29  Mark Wielaard  <mark@klomp.org>
1735
1736         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1737         * java/text/DateFormat.java (Field): New public static inner class.
1738         * java/text/Format.java (Field): Likewise.
1739         (formatToCharacterIterator): New method.
1740         * java/text/FormatCharacterIterator.java: New file.
1741
1742 2003-10-29  Mark Wielaard  <mark@klomp.org>
1743
1744         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1745         * java/util/Currency.java: New file.
1746
1747 2003-10-29  Michael Koch  <konqueror@gmx.de>
1748
1749         * Makefile.am (ordinary_java_source_files): Added
1750         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1751         * Makefile.in: Regenerated.
1752
1753 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1754
1755         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1756         static methods.
1757
1758 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1759
1760         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1761         getObjectInstance() with Object, Name, Context and environment
1762         Hashtable from exception. Call fillInStackTrace() on exception when
1763         rethrown.
1764         * javax/naming/InitialContext.java (lookup(Name)): When a
1765         CannotProceedException is thrown use the ContinuationContext.
1766         (lookup(String)): Likewise.
1767         (close): Clear myProps and defaultInitCtx.
1768
1769 2003-10-29  Michael Koch  <konqueror@gmx.de>
1770
1771         * java/net/InetAddress.java
1772         (equals): Remove redundant obj == null check.
1773         * java/net/SocketPermission.java
1774         (equals): Likewise.
1775         * java/net/URL.java
1776         (equals): Likewise.
1777         (getURLStreamHandler): Likewise.
1778
1779 2003-10-29  Michael Koch  <konqueror@gmx.de>
1780
1781         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1782         (setOption): Directly return if no error occured.
1783         * gnu/java/net/natPlainSocketImplPosix.cc
1784         (setOption): Likewise.
1785
1786 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1787
1788         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1789         vtable slot for final methods. Add FIXME comment.
1790
1791 2003-10-28  David S. Miller  <davem@redhat.com>
1792
1793         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1794
1795 2003-10-26  Mark Wielaard  <mark@klomp.org>
1796
1797         Reported by Helmer Kraemer <hkraemer@freenet.de>
1798         * java/util/jar/JarInputStream.java (readManifest): Don't call
1799         closeEntry().
1800
1801         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1802         (finish): Use inbufWrite().
1803         (write(int)): Likewise.
1804         (write(byte[],int,int)): Likewise.
1805
1806 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1807
1808         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1809         Don't check for AccessibleObject. Update javadocs.
1810         
1811         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1812
1813 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1814
1815         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1816         whitespace on constructor with no modifiers.
1817         * java/lang/reflect/natConstructor.java (newInstance): Look up
1818         caller and perform accessibility check only if constructor is
1819         non-public and accessible flag is not set.
1820
1821 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1822
1823         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1824         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1825         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1826         is_virtual_call argument.
1827         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1828         natClass.cc.
1829         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1830         _Jv_isVirtualMethod.
1831         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1832         _Jv_LookupDeclaredMethod.
1833         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1834         look up method in target object's vtable.
1835
1836 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1837
1838         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1839         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1840         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1841         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1842         New concrete implementation of ClasspathFontPeer, with native part.
1843         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1844         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1845         New class, with native part.
1846         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1847         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1848         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1849
1850 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1851
1852         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1853         on method with no modifiers.
1854
1855 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1856
1857         PR libgcj/11780:
1858         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1859         accessibility check only if target is non-public and accessible flag
1860         is not set.
1861         * java/lang/reflect/natField.cc (getAddr): Likewise.
1862
1863 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1864
1865         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1866         Remove method.
1867         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1868         New method.
1869         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1870         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1871         (dispose): Post WINDOW_CLOSED event.
1872         (addWindowFocusListener, addWindowStateListener): Assign result
1873         of multicaster add back to window listener.
1874         (removeWindowFocusListener, removeWindowStateListener): Assign
1875         result of multicaster remove back to window listener.
1876         (dispatchEventImpl): Add null checks for focus and state
1877         listeners.
1878         (processWindowEvent): Handle case where windowListener is null
1879         but state or focus listeners exist.
1880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1881         glue for postWindowEvent.
1882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1883         (window_delete_cb, window_destroy_cb, window_show_cb,
1884         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1885         window_get_new_state): New functions.
1886         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1887         macros.  Declare postWindowEventID.
1888
1889 2003-10-24  Anthony Green  <green@redhat.com>
1890
1891         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1892         we have no interpreter.
1893
1894 2003-10-22  Andrew Haley  <aph@redhat.com>
1895
1896         * java/lang/natClass.cc (initializeClass): Call
1897         _Jv_linkExceptionClassTable.
1898         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1899         _Jv_Defer_Resolution on a method whose ncode is NULL.
1900         (_Jv_linkExceptionClassTable): New function.
1901         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1902         entry, look it up.
1903         * java/lang/Class.h (struct _Jv_CatchClass): New.
1904         (_Jv_linkExceptionClassTable): New friend.
1905         (_Jv_Defer_Resolution): New friend.
1906         (class Class.catch_classes): New field.
1907         * include/java-interp.h (Jv_Defer_Resolution): New method.
1908         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1909         (_Jv_MethodBase.deferred): New field.
1910         (_Jv_Defer_Resolution): New function.
1911         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1912         * exception.cc (get_ttype_entry): Change return type to void**.
1913         (PERSONALITY_FUNCTION): Remove all code related to using a
1914         Utf8Const* for a match type.  Change match type to be a pointer to
1915         a pointer, rather than a pointer to a Class.
1916         * defineclass.cc (handleCodeAttribute): Initialize
1917         method->deferred.
1918         (handleMethodsEnd): Likewise.
1919
1920 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1921
1922         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1923         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1924
1925 2003-10-22  Tom Tromey  <tromey@redhat.com>
1926
1927         PR libgcj/12416:
1928         * java/lang/Class.h: Updated.
1929         * java/lang/natClass.cc (_getFields): Removed.
1930         (getFields): Likewise.
1931         (getDeclaredFields): Added `public_only' parameter.
1932         * java/lang/Class.java (getFields): Now implemented in java; from
1933         Classpath.
1934         (getDeclaredFields): Likewise.
1935         (getDeclaredFields(boolean)): Declare.
1936         (_getFields): Removed.
1937         (internalGetFields): New method, from Classpath.
1938
1939         PR libgcj/12656:
1940         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1941         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1942
1943 2003-10-22  David Daney  <ddaney@avtrex.com)
1944
1945         * include/mips-signal.h: New file.
1946         * sysdep/dwarf2-backtrace.cc: New file.
1947         * sysdep/mips: New directory.
1948         * sysdep/mips/locks.h: New file.
1949         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1950         added to libgcj.
1951         (extra_cc_source_files): Ditto.
1952         * configure.host(disable_dladdr):  New shell variable passed to
1953         configure.
1954         (mips*-*-linux*): sysdeps_dir=mips,
1955         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1956         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1957         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1958         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1959         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1960         (EXTRA_CC_FILES): New, to support conditional addition of
1961         sysdep/dwarf2-backtrace.cc.
1962         * configure: Regenerated.
1963         * Makefile.in: Regenerated.
1964         * gcj/Makefile.in: Regenerated.
1965         * include/config.h.in: Regenerated.
1966         * include/Makefile.in: Regenerated.
1967         * testsuite/Makefile.in: Regenerated.
1968         
1969 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1970
1971         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1972         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1973
1974 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1975
1976         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1977         * java/awt/geom/doc-files: New directory.
1978         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1979         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1980         
1981 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1982
1983         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1984
1985 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1986
1987         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1988
1989 2003-10-22  Michael Koch  <konqueror@gmx.de>
1990
1991         * java/io/File.java
1992         (equals): Removed redundant obj == null check.
1993         (createTempFile): Merged comments from classpath.
1994
1995 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1996
1997         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1998         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1999         (error): Synchronize on instance, not class.
2000
2001 2003-10-21  Mark Wielaard  <mark@klomp.org>
2002
2003         Reported by M.Negovanovic
2004         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2005         method.
2006         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2007
2008 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2009
2010         Fix for Classpath bug #6076.
2011         * java/awt/geom/GeneralPath.java (append): Re-written.
2012
2013 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2014
2015         Fix for Classpath bug #6089.
2016         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2017         (getPathIterator, GeneralPathIterator): Re-written from scratch.
2018
2019 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2020
2021         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2022         point, not start of subpath.  Fixes Classpath bug #6075.
2023
2024 2003-10-21  Michael Koch  <konqueror@gmx.de>
2025
2026         * java/nio/ByteOrder.java,
2027         java/nio/DirectByteBufferImpl.java,
2028         java/nio/channels/FileChannelImpl.java:
2029         Add code to load library with code for native methods if needed.
2030
2031 2003-10-21  Michael Koch  <konqueror@gmx.de>
2032
2033         * gnu/java/net/PlainDatagramSocketImpl.java,
2034         gnu/java/net/PlainSocketImpl.java,
2035         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2036         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2037         gnu/java/net/natPlainSocketImplPosix.cc,
2038         gnu/java/net/natPlainSocketImplWin32.cc:
2039         Renamed fnum to native_fd to match classpath more.
2040
2041 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
2042
2043         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2044         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2045         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2046         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2047         _Jv_PthreadCheckMonitor.  Simplify code.
2048         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2049         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2050         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2051         * java/lang/Thread.java (holdsLock): New.
2052         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2053         without JV_HASH_SYNCHRONIZATION.
2054         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2055
2056 2003-10-20  Michael Koch  <konqueror@gmx.de>
2057
2058         * java/text/RuleBasedCollator.java
2059         (RuleBasedCollator): Check rules not empty, fixed search in already
2060         existing collation elements.
2061         (is_special): Removed common whitespace characters.
2062         (text_argument): Dont return on whitespaces, add characters between
2063         two ' to string buffer.
2064
2065 2003-10-18  Michael Koch  <konqueror@gmx.de>
2066
2067         * gnu/java/net/protocol/file/Connection.java,
2068         gnu/java/net/protocol/file/Handler.java,
2069         gnu/java/net/protocol/http/Connection.java,
2070         gnu/java/net/protocol/http/Handler.java,
2071         gnu/java/net/protocol/jar/Connection.java,
2072         gnu/java/net/protocol/jar/Handler.java:
2073         Merged copyright text from classpath to make
2074         it possible to merge the classes.
2075
2076 2003-10-18  Mark Wielaard  <mark@klomp.org>
2077
2078         Reported by M.Negovanovic
2079         * java/beans/IndexedPropertyDescriptor.java
2080         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2081
2082 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2083
2084         * win32.cc (_Jv_pipe): Implemented.
2085         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2086         _Jv_pipe instead of ::pipe.
2087         * include/posix.h (_Jv_pipe): New inline.
2088         * include/win32.h (_Jv_pipe): New declaration.
2089         
2090 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2091
2092         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2093         (append, substring, insert): Likewise.
2094         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2095         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2096         
2097 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2098
2099         * java/lang/natString.cc (getChars):
2100         Fix validation of array indexes.
2101         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2102         * testsuite/libjava.lang/String_overflow.java: New file.
2103         * testsuite/libjava.lang/String_overflow.out: New file.
2104
2105 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2106
2107         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2108         overflow a jint.
2109         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2110         check for overflowing size_t, since the lower level functions
2111         take a jint.
2112         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2113         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2114         
2115 2003-10-15  Michael Koch  <konqueror@gmx.de>
2116
2117         * java/text/RuleBasedCollator.java
2118         (RuleBasedCollator): Moved around, documentation added.
2119         (compare): Documentation added.
2120         (equals): Likewise.
2121         (getCollationElementIterator): Likewise.
2122         (getCollationKey): Likewise.
2123         (getRules): Likewise.
2124         (hashCode): Likewise.
2125
2126 2003-10-15  Michael Koch  <konqueror@gmx.de>
2127
2128         * java/text/RuleBasedCollator.java
2129         (CollationElement): Renamed from RBCElement and moved into
2130         RuledBasedCollator as inner class.
2131
2132 2003-10-15  Michael Koch  <konqueror@gmx.de>
2133
2134         * java/text/CollationElementIterator.java
2135         (CollationElementIterator): Moved, documenatation added, call setText.
2136         (next): Reformated.
2137         (reset): Reformated.
2138         (setText): New method.
2139         (getOffset): New method.
2140         * java/text/CollationKey.java
2141         (getSourceString): Reformated.
2142         (hashCode): Reformated.
2143         (toByteArray): Reformated.
2144
2145 2003-10-15  Michael Koch  <konqueror@gmx.de>
2146
2147         * java/util/zip/InflaterInputStream.java
2148         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2149         added description to exception, check for inf == null and size < 0.
2150
2151 2003-10-15  Michael Koch  <konqueror@gmx.de>
2152
2153         * java/text/AttributedCharacterIterator.java,
2154         java/text/CharacterIterator.java: Reformated.
2155
2156 2003-10-15  Michael Koch  <konqueror@gmx.de>
2157
2158         * javax/swing/UIDefaults.java (putDefaults):
2159         Readded accidently removed "public" modifier.
2160
2161 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2162
2163         * interpret.cc (_Jv_InterpMethod::run): Don't
2164         use libffi types, they were meant to be internal.
2165         * gcj/javaprims.h (_Jv_ulong): New typedef.
2166
2167 2003-10-13  Tom Tromey  <tromey@redhat.com>
2168
2169         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2170         (defineClass): Updated.
2171         (_Jv_NewClass): Likewise.
2172         * prims.cc (_Jv_InitPrimClass): Don't call
2173         _Jv_InitNewClassFields.
2174
2175 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2176
2177         PR libgcj/12592
2178         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2179         not just \n.
2180
2181 2003-10-13  Michael Koch  <konqueror@gmx.de>
2182
2183         * java/io/File.java: Reformated.
2184         (equals): Check for obj == null.
2185
2186 2003-10-13  Michael Koch  <konqueror@gmx.de>
2187
2188         * java/net/JarURLConnection.java
2189         (jarFileURL): Added dcoumentation.
2190         (jarFileURLConnection): Reformated documentation.
2191         (entryName): Renamed from "element", documentation rewritten.
2192         (connectionCache): Renamed from "conn_cache", documentation
2193         reformated.
2194         (JarURLConnection): Check URL protocol.
2195         (getEntryName): Use entryName.
2196         (connect): Use connectionCache.
2197         (getInputStream): Use entryName, fixed comment.
2198         (getJarEntry): Use entryName.
2199         (getHeaders): Use entryName.
2200         * java/net/URLConnection.java
2201         (addRequestProperty): Fixed documentation.
2202         (setDefaultRequestProptery): Added comment that it does nothing since
2203         JDK 1.3.
2204         (getDefaultRequestProperty): Likewise.
2205
2206 2003-10-13  Michael Koch  <konqueror@gmx.de>
2207
2208         * java/net/java/net/URLStreamHandlerFactory.java
2209         (createURLStreamHandler): Removed redundant "public" modifier.
2210         * java/sql/DatabaseMetaData.java:
2211         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2212         * java/sql/ParameterMetaData.java:
2213         (ParameterMetaData): Readded accidently removed "public" modifier.
2214         * java/sql/PreparedStatement.java:
2215         (PreparedStatement): Readded accidently removed "public" modifier.
2216         * java/sql/Ref.java:
2217         (Ref): Readded accidently removed "public" modifier.
2218
2219 2003-10-13  Michael Koch  <konqueror@gmx.de>
2220
2221         * java/nio/Buffer.java
2222         (hasRemaining): Made implementation more clear.
2223         * java/nio/MappedByteBuffer.java
2224         (loaded): New member variable.
2225         (force): Added comment.
2226         (isLoaded): Return value of loaded.
2227         (load): Set loaded to true, added comment.
2228
2229 2003-10-12  Michael Koch  <konqueror@gmx.de>
2230
2231         * gnu/java/nio/PipeImpl.java
2232         (SourceChannelImpl): New inner class.
2233         (SinkChannelImpl): New inner class.
2234         (sink): New member variable.
2235         (source): New member variable.
2236         (PipeImpl): Add SelectorProvider argument, implemented.
2237         (nativeInit): New method.
2238         (sink): Return sink channel.
2239         (source): Return source channel.
2240         * gnu/java/nio/SelectorProviderImpl.java
2241         (openPipe): Give provider as argument to PipeImpl constructor.
2242         * java/nio/channels/spi/SelectorProvider.java
2243         (pr): Removed.
2244         (systemDefaultProvider): New member variable.
2245         (provider): Made it synchronized, use property
2246         java.nio.channels.spi.SelectorProvider.
2247         * gnu/java/nio/natPipeImpl.cc: New file.
2248         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2249         * Makefile.in: Regenerated.
2250
2251 2003-10-12  Michael Koch  <konqueror@gmx.de>
2252
2253         * javax/swing/table/DefaultTableModel.java,
2254         javax/swing/table/TableCellEditor.java,
2255         javax/swing/table/TableCellRenderer.java,
2256         javax/swing/table/TableColumnModel.java,
2257         javax/swing/table/TableModel.java,
2258         javax/swing/text/AbstractDocument.java,
2259         javax/swing/text/Document.java,
2260         javax/swing/text/MutableAttributeSet.java,
2261         javax/swing/text/StyledDocument.java,
2262         javax/swing/text/ViewFactory.java,
2263         javax/swing/tree/DefaultMutableTreeNode.java,
2264         javax/swing/tree/MutableTreeNode.java,
2265         javax/swing/tree/RowMapper.java,
2266         javax/swing/tree/TreeCellEditor.java,
2267         javax/swing/tree/TreeCellRenderer.java,
2268         javax/swing/tree/TreeModel.java,
2269         javax/swing/tree/TreeNode.java,
2270         javax/swing/tree/TreeSelectionModel.java,
2271         javax/swing/undo/StateEditable.java,
2272         javax/swing/undo/UndoableEdit.java:
2273         Removed redundant modifiers.
2274
2275 2003-10-12  Michael Koch  <konqueror@gmx.de>
2276
2277         * javax/swing/event/AncestorListener.java,
2278         javax/swing/event/CaretListener.java,
2279         javax/swing/event/CellEditorListener.java,
2280         javax/swing/event/ChangeListener.java,
2281         javax/swing/event/DocumentEvent.java,
2282         javax/swing/event/DocumentListener.java,
2283         javax/swing/event/HyperlinkListener.java,
2284         javax/swing/event/InternalFrameListener.java,
2285         javax/swing/event/ListDataListener.java,
2286         javax/swing/event/ListSelectionListener.java,
2287         javax/swing/event/MenuDragMouseListener.java,
2288         javax/swing/event/MenuKeyListener.java,
2289         javax/swing/event/MenuListener.java,
2290         javax/swing/event/MouseInputListener.java,
2291         javax/swing/event/PopupMenuListener.java,
2292         javax/swing/event/TableColumnModelListener.java,
2293         javax/swing/event/TableModelListener.java,
2294         javax/swing/event/TreeExpansionListener.java,
2295         javax/swing/event/TreeModelListener.java,
2296         javax/swing/event/TreeSelectionListener.java,
2297         javax/swing/event/TreeWillExpandListener.java,
2298         javax/swing/event/UndoableEditListener.java,
2299         javax/swing/plaf/UIResource.java,
2300         javax/swing/plaf/metal/MetalLookAndFeel.java:
2301         Removed redundant modifiers.
2302
2303 2003-10-12  Michael Koch  <konqueror@gmx.de>
2304
2305         * javax/swing/Action.java,
2306         javax/swing/BoundedRangeModel.java,
2307         javax/swing/CellEditor.java,
2308         javax/swing/ComboBoxEditor.java,
2309         javax/swing/ComboBoxModel.java,
2310         javax/swing/DesktopManager.java,
2311         javax/swing/JComboBox.java,
2312         javax/swing/ListCellRenderer.java,
2313         javax/swing/ListSelectionModel.java,
2314         javax/swing/MenuElement.java,
2315         javax/swing/MutableComboBoxModel.java,
2316         javax/swing/Renderer.java,
2317         javax/swing/RootPaneContainer.java,
2318         javax/swing/ScrollPaneConstants.java,
2319         javax/swing/SingleSelectionModel.java,
2320         javax/swing/SpinnerModel.java,
2321         javax/swing/SwingConstants.java,
2322         javax/swing/UIDefaults.java,
2323         javax/swing/WindowConstants.java,
2324         javax/swing/border/Border.java,
2325         javax/swing/colorchooser/ColorSelectionModel.java:
2326         Removed redundant modifiers.
2327
2328 2003-10-11  Michael Koch  <konqueror@gmx.de>
2329
2330         * javax/transaction/Status.java,
2331         javax/transaction/Synchronization.java,
2332         javax/transaction/Transaction.java,
2333         javax/transaction/TransactionManager.java,
2334         javax/transaction/UserTransaction.java,
2335         javax/transaction/xa/XAResource.java,
2336         javax/transaction/xa/Xid.java:
2337         Removing redundant modifiers.
2338
2339 2003-10-11  Michael Koch  <konqueror@gmx.de>
2340
2341         * javax/print/attribute/Attribute.java,
2342         javax/print/attribute/AttributeSet.java,
2343         javax/print/attribute/PrintRequestAttributeSet.java:
2344         Removing redundant modifiers.
2345
2346 2003-10-11  Michael Koch  <konqueror@gmx.de>
2347
2348         * javax/sql/ConnectionEventListener.java,
2349         javax/sql/ConnectionPoolDataSource.java,
2350         javax/sql/DataSource.java,
2351         javax/sql/PooledConnection.java,
2352         javax/sql/RowSet.java,
2353         javax/sql/RowSetInternal.java,
2354         javax/sql/RowSetListener.java,
2355         javax/sql/RowSetMetaData.java,
2356         javax/sql/RowSetReader.java,
2357         javax/sql/RowSetWriter.java,
2358         javax/sql/XAConnection.java,
2359         javax/sql/XADataSource.java:
2360         Removing redundant modifiers.
2361
2362 2003-10-11  Michael Koch  <konqueror@gmx.de>
2363
2364         * javax/naming/Context.java,
2365         javax/naming/Name.java,
2366         javax/naming/NameParser.java,
2367         javax/naming/NamingEnumeration.java,
2368         javax/naming/Referenceable.java,
2369         javax/naming/directory/Attribute.java,
2370         javax/naming/directory/Attributes.java,
2371         javax/naming/directory/DirContext.java,
2372         javax/naming/event/EventContext.java,
2373         javax/naming/event/EventDirContext.java,
2374         javax/naming/event/NamespaceChangeListener.java,
2375         javax/naming/event/NamingListener.java,
2376         javax/naming/event/ObjectChangeListener.java,
2377         javax/naming/ldap/Control.java,
2378         javax/naming/ldap/ExtendedRequest.java,
2379         javax/naming/ldap/ExtendedResponse.java,
2380         javax/naming/ldap/HasControls.java,
2381         javax/naming/ldap/LdapContext.java,
2382         javax/naming/ldap/UnsolicitedNotification.java,
2383         javax/naming/ldap/UnsolicitedNotificationListener.java,
2384         javax/naming/spi/DirObjectFactory.java,
2385         javax/naming/spi/DirStateFactory.java,
2386         javax/naming/spi/InitialContextFactory.java,
2387         javax/naming/spi/InitialContextFactoryBuilder.java,
2388         javax/naming/spi/ObjectFactory.java,
2389         javax/naming/spi/ObjectFactoryBuilder.java,
2390         javax/naming/spi/Resolver.java,
2391         javax/naming/spi/StateFactory.java:
2392         Removing redundant modifiers.
2393
2394 2003-10-11  Michael Koch  <konqueror@gmx.de>
2395
2396         * java/security/Key.java,
2397         * java/security/PrivateKey.java,
2398         * java/security/PublicKey.java,
2399         * java/security/acl/Acl.java,
2400         * java/security/acl/AclEntry.java,
2401         * java/security/acl/Group.java,
2402         * java/security/acl/Owner.java,
2403         * java/security/acl/Permission.java,
2404         * java/security/cert/X509Extension.java,
2405         * java/security/interfaces/DSAKey.java,
2406         * java/security/interfaces/DSAKeyPairGenerator.java,
2407         * java/security/interfaces/DSAParams.java,
2408         * java/security/interfaces/DSAPrivateKey.java,
2409         * java/security/interfaces/DSAPublicKey.java,
2410         * java/security/interfaces/RSAKey.java,
2411         * java/security/interfaces/RSAPrivateCrtKey.java,
2412         * java/security/interfaces/RSAPrivateKey.java,
2413         * java/security/interfaces/RSAPublicKey.java:
2414         Removed redundant modifiers.
2415
2416 2003-10-11  Michael Koch  <konqueror@gmx.de>
2417
2418         * gnu/java/rmi/server/ProtocolConstants.java,
2419         gnu/java/security/der/DER.java:
2420         Removing redundant modifiers.
2421
2422 2003-10-11  Michael Koch  <konqueror@gmx.de>
2423
2424         * java/util/Map.java,
2425         java/util/Observer.java,
2426         java/util/zip/Checksum.java,
2427         java/util/zip/ZipConstants.java:
2428         Removed redundant modifiers.
2429
2430 2003-10-11  Michael Koch  <konqueror@gmx.de>
2431
2432         * java/text/AttributedCharacterIterator.java,
2433         java/text/CharacterIterator.java:
2434         Removed redundant modifiers.
2435
2436 2003-10-11  Michael Koch  <konqueror@gmx.de>
2437
2438         * java/sql/Array.java,
2439         java/sql/Blob.java,
2440         java/sql/CallableStatement.java,
2441         java/sql/Clob.java,
2442         java/sql/Connection.java,
2443         java/sql/DatabaseMetaData.java,
2444         java/sql/Driver.java,
2445         java/sql/ParameterMetaData.java,
2446         java/sql/PreparedStatement.java,
2447         java/sql/Ref.java,
2448         java/sql/ResultSet.java,
2449         java/sql/ResultSetMetaData.java,
2450         java/sql/SQLData.java,
2451         java/sql/SQLInput.java,
2452         java/sql/SQLOutput.java,
2453         java/sql/Savepoint.java,
2454         java/sql/Statement.java,
2455         java/sql/Struct.java:
2456         Removed redundant modifiers.
2457
2458 2003-10-11  Michael Koch  <konqueror@gmx.de>
2459
2460         * java/nio/channels/Channel.java,
2461         java/nio/channels/GatheringByteChannel.java,
2462         java/nio/channels/ReadableByteChannel.java,
2463         java/nio/channels/ScatteringByteChannel.java,
2464         java/nio/channels/WritableByteChannel.java:
2465         Removed redundant modifiers.
2466
2467 2003-10-11  Michael Koch  <konqueror@gmx.de>
2468
2469         * java/rmi/activation/ActivationInstantiator.java,
2470         java/rmi/activation/ActivationMonitor.java,
2471         java/rmi/activation/ActivationSystem.java,
2472         java/rmi/activation/Activator.java,
2473         java/rmi/dgc/DGC.java,
2474         java/rmi/registry/Registry.java,
2475         java/rmi/registry/RegistryHandler.java,
2476         java/rmi/server/LoaderHandler.java,
2477         java/rmi/server/RMIClientSocketFactory.java,
2478         java/rmi/server/RMIFailureHandler.java,
2479         java/rmi/server/RMIServerSocketFactory.java,
2480         java/rmi/server/RemoteCall.java,
2481         java/rmi/server/RemoteRef.java,
2482         java/rmi/server/ServerRef.java,
2483         java/rmi/server/Skeleton.java,
2484         java/rmi/server/Unreferenced.java:
2485         Removed redundant modifiers.
2486
2487 2003-10-11  Michael Koch  <konqueror@gmx.de>
2488
2489         * java/net/ContentHandlerFactory.java,
2490         java/net/DatagramSocketImplFactory.java,
2491         java/net/FileNameMap.java,
2492         java/net/SocketImplFactory.java,
2493         java/net/SocketOptions.java,
2494         java/net/URLStreamHandlerFactory.java:
2495         Removed redundant modifiers.
2496
2497 2003-10-11  Michael Koch  <konqueror@gmx.de>
2498
2499         * java/io/Externalizable.java,
2500         java/io/FileFilter.java,
2501         java/io/FilePermission.java,
2502         java/io/ObjectInput.java,
2503         java/io/ObjectInputValidation.java,
2504         java/io/ObjectOutput.java,
2505         java/io/ObjectStreamClass.java,
2506         java/io/ObjectStreamConstants.java,
2507         java/io/Serializable.java:
2508         Removed redundant modifiers.
2509
2510 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2511
2512         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2513         codebase and context classloader.
2514
2515 2003-10-11  Michael Koch  <konqueror@gmx.de>
2516
2517         * java/beans/beancontext/BeanContext.java,
2518         java/beans/beancontext/BeanContextChild.java,
2519         java/beans/beancontext/BeanContextChildComponentProxy.java,
2520         java/beans/beancontext/BeanContextChildSupport.java,
2521         java/beans/beancontext/BeanContextContainerProxy.java,
2522         java/beans/beancontext/BeanContextMembershipListener.java,
2523         java/beans/beancontext/BeanContextProxy.java,
2524         java/beans/beancontext/BeanContextServiceProvider.java,
2525         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2526         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2527         java/beans/beancontext/BeanContextServices.java,
2528         java/beans/beancontext/BeanContextServicesListener.java:
2529         Removed redundant modifiers.
2530
2531 2003-10-11  Michael Koch  <konqueror@gmx.de>
2532
2533         * java/beans/AppletInitializer.java,
2534         java/beans/BeanInfo.java,
2535         java/beans/Customizer.java,
2536         java/beans/DesignMode.java,
2537         java/beans/PropertyEditor.java,
2538         java/beans/Visibility.java:
2539         Removed redundant modifiers.
2540
2541 2003-10-11  Michael Koch  <konqueror@gmx.de>
2542
2543         * java/awt/print/Pageable.java,
2544         * java/awt/print/Printable.java,
2545         java/awt/print/PrinterGraphics.java:
2546         Removed redundant modifiers.
2547
2548 2003-10-11  Michael Koch  <konqueror@gmx.de>
2549
2550         * java/awt/peer/ButtonPeer.java,
2551         java/awt/peer/CheckboxMenuItemPeer.java,
2552         java/awt/peer/CheckboxPeer.java,
2553         java/awt/peer/ChoicePeer.java,
2554         java/awt/peer/ComponentPeer.java,
2555         java/awt/peer/ContainerPeer.java,
2556         java/awt/peer/DialogPeer.java,
2557         java/awt/peer/FileDialogPeer.java,
2558         java/awt/peer/FramePeer.java,
2559         java/awt/peer/LabelPeer.java,
2560         java/awt/peer/ListPeer.java,
2561         java/awt/peer/MenuBarPeer.java,
2562         java/awt/peer/MenuComponentPeer.java,
2563         java/awt/peer/MenuItemPeer.java,
2564         java/awt/peer/MenuPeer.java,
2565         java/awt/peer/PopupMenuPeer.java,
2566         java/awt/peer/RobotPeer.java,
2567         java/awt/peer/ScrollPanePeer.java,
2568         java/awt/peer/ScrollbarPeer.java,
2569         java/awt/peer/TextAreaPeer.java,
2570         java/awt/peer/TextComponentPeer.java,
2571         java/awt/peer/TextFieldPeer.java,
2572         java/awt/peer/WindowPeer.java:
2573         Removed redundant modifiers.
2574
2575 2003-10-11  Michael Koch  <konqueror@gmx.de>
2576
2577         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2578         * gnu/java/nio/ServerSocketChannelImpl.java
2579         (serverSocket): Made it a NIOServerSocket.
2580         (impl): Removed.
2581         (ServerSocketChannelImpl): Initialize only serverSocket.
2582         (initServerSocket): Removed.
2583         (getNativeFD): Rewritten.
2584         (implConfigureBlocking): Set socket timeout and removed comment.
2585         (accept): Rewritten.
2586         * gnu/java/nio/SocketChannelImpl.java
2587         (impl): New variable.
2588         (connected): Removed.
2589         (SocketChannelImpl): Initialize impl too.
2590         (getImpl): New method.
2591         (isConnected): Rewritten.
2592         (read): Rewritten, set position in buffer correctly.
2593         (write): Set position in buffer correctly.
2594         * java/net/ServerSocket.java (getImpl): New method.
2595         * gnu/java/nio/NIOServerSocket.java,
2596         gnu/java/nio/natNIOServerSocket.cc: New files.
2597         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2598         * Makefile.am
2599         (ordinary_java_source_files):
2600         Added gnu/java/nio/NIOServerSocket.java.
2601         (nat_source_files):
2602         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2603         and added gnu/java/nio/natNIOServerSocket.cc.
2604         * Makefile.in: Regenerated.
2605
2606 2003-10-11  Michael Koch  <konqueror@gmx.de>
2607
2608         * java/awt/ActiveEvent.java,
2609         java/awt/datatransfer/ClipboardOwner.java,
2610         java/awt/datatransfer/FlavorMap.java,
2611         java/awt/datatransfer/Transferable.java,
2612         java/awt/dnd/Autoscroll.java,
2613         java/awt/dnd/peer/DragSourceContextPeer.java,
2614         java/awt/dnd/peer/DropTargetContextPeer.java,
2615         java/awt/dnd/peer/DropTargetPeer.java,
2616         java/awt/font/MultipleMaster.java,
2617         java/awt/font/OpenType.java,
2618         java/awt/im/spi/InputMethodDescriptor.java,
2619         java/awt/image/ImageObserver.java,
2620         java/awt/image/ImageConsumer.java,
2621         java/awt/image/ImageProducer.java,
2622         java/awt/image/RGBImageFilter.java,
2623         java/awt/image/RasterOp.java,
2624         java/awt/image/renderable/RenderableImage.java:
2625         Removed redundant modifiers.
2626
2627 2003-10-11  Michael Koch  <konqueror@gmx.de>
2628
2629         * gnu/awt/j2d/DirectRasterGraphics.java,
2630         gnu/java/awt/EmbeddedWindowSupport.java:
2631         Removed redundant modifiers.
2632
2633 2003-10-09  Michael Koch  <konqueror@gmx.de>
2634
2635         * gnu/java/nio/SelectorImpl.java (register):
2636         Use ServerSocketChannelSelectionKey for server socket channels,
2637         removed unneeded comments.
2638         * gnu/java/nio/ServerSocketChannelImpl.java
2639         (ServerSocketChannelImpl): Made class public final.
2640         (impl): New member variable.
2641         (ServerSocketChannelImpl): Initialize member variables correctly.
2642         (initServerSocket): New method.
2643         (getNativeFD): Likewise.
2644         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2645         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2646         * Makefile.am (ordinary_java_source_files):
2647         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2648         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2649         * Makefile.in: Regenrated.
2650
2651 2003-10-09  Michael Koch  <konqueror@gmx.de>
2652
2653         * java/nio/channels/spi/AbstractSelectableChannel.java
2654         (registered): Made private.
2655         (blocking): Likewise.
2656         (LOCK): Likewise.
2657         (provider): Likewise.
2658         (keys): Made it a private LinkedList.
2659         (AbstractSelectableChannel): Initialize keys.
2660         (isRegistered): New implementation.
2661         (locate): Rewritten.
2662         (register): Rewritten.
2663         * java/nio/channels/spi/AbstractSelectionKey.java
2664         (ok): Removed.
2665         (cancelled): New member variable.
2666         (cancel): Rewritten.
2667         (isValid): Rewritten.
2668         * java/nio/channels/spi/AbstractSelector.java:
2669         Some methods moved.
2670         (closed): Make private.
2671         (provider): Likewise.
2672         (cancelledKeys): New member variable.
2673         (AbstractSelector): Initialize cancelledKeys.
2674         (cancelKey): New method.
2675
2676 2003-10-09  Tom Tromey  <tromey@redhat.com>
2677
2678         * java/lang/ClassLoader.java (setSigners): Implemented.
2679         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2680         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2681         Initialize new fields.
2682         * java/lang/Class.java (getSigners): Now native.
2683         (setSigners): Declare.
2684         * java/lang/natClass.cc (getSigners): New method.
2685         (getSigners): Likewise.
2686         * java/lang/Class.h (Class::signers): New field.
2687         (Class::setSigners): New method.
2688
2689 2003-10-09  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/rmi/server/RMIClassLoader.java:
2692         Removed unused imports, little reformatings.
2693         (getClassLoader): New method, implementation was part of old loadCLass
2694         method.
2695         (loadClass): Simplified by moving functionality to new method and
2696         reworking the code a bit.
2697         (getClassAnnotation): Merged documentation from classpath.
2698
2699 2003-10-09  Michael Koch  <konqueror@gmx.de>
2700
2701         * java/math/BigInteger.java
2702         (add): Removed unused local variable len.
2703
2704 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2705
2706         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2707         modality check.
2708         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2709         Initialize insets to use latest insets.
2710         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2711         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2712         field.
2713         (postConfigureEvent): Update latestInsets field when insets
2714         change.  Remove call to setSize.  Move validate call outside of
2715         if blocks.
2716         (setVisible): Call setBounds before showing window.
2717         (nativeSetVisible): New native method.
2718         * java/awt/Window.java (show): Show visible owned windows.
2719         (hide): Hide visible owned windows.
2720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2721         (awt_event_handler): Implement modality using GTK grabs.
2722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2723         (global_gtk_window_group): New global variable.
2724         (gtkInit): Initialize global_gtk_window_group.
2725         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2726         Clamp width and height values to at least 1.  Add this window to
2727         the global GTK window group.
2728         (setVisible): Rename to nativeSetVisible.
2729         (setup_window): Remove function.
2730         (setSize): Clamp width and height values to at least 1.
2731         (nativeSetBounds): Likewise.
2732         (gdk_window_get_root_geometry): Remove function.
2733         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2734         and setup_window declarations.  Declare global_gtk_window_group.
2735
2736         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2737         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2738         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2739         (gtkWidgetSetForeground): New method.
2740         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2741         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2742         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2743         (setBackground, setForeground): Implement.
2744         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2745         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2746         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2747         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2748         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2750         Position PangoLayout relative to text's baseline.
2751         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2752
2753         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2754         for CENTER and RIGHT alignments.
2755
2756 2003-10-08  Michael Koch  <konqueror@gmx.de>
2757
2758         * java/security/Security.java: Reformated.
2759
2760 2003-10-08  Michael Koch  <konqueror@gmx.de>
2761
2762         * java/text/SimpleDateFormat.java
2763         (compileFormat): Replace Character.isLetter() test with
2764         Character.isLowerCase() || Character.isUpperCase().
2765
2766 2003-10-08  Tom Tromey  <tromey@redhat.com>
2767
2768         * java/lang/StrictMath.java (toDegrees): Multiply before
2769         dividing.
2770         (toRadians): Likewise.
2771
2772 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2773
2774         * java/lang/Math.java
2775         (toRadians): multiply before dividing to reduce decimal error
2776         (toDegrees): ditto
2777
2778 2003-10-08  Michael Koch  <konqueror@gmx.de>
2779
2780         * gnu/gcj/protocol/core/Connection.java,
2781         gnu/gcj/protocol/core/CoreInputStream.java,
2782         gnu/gcj/protocol/core/Handler.java,
2783         gnu/gcj/protocol/core/natCoreInputStream.cc,
2784         gnu/gcj/protocol/file/Connection.java,
2785         gnu/gcj/protocol/file/Handler.java,
2786         gnu/gcj/protocol/gcjlib/Connection.java,
2787         gnu/gcj/protocol/gcjlib/Handler.java,
2788         gnu/gcj/protocol/http/Connection.java,
2789         gnu/gcj/protocol/http/Handler.java,
2790         gnu/gcj/protocol/jar/Connection.java,
2791         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2792         * gnu/java/net/protocol/core/Connection.java,
2793         gnu/java/net/protocol/core/CoreInputStream.java,
2794         gnu/java/net/protocol/core/Handler.java,
2795         gnu/java/net/protocol/core/natCoreInputStream.cc,
2796         gnu/java/net/protocol/file/Connection.java,
2797         gnu/java/net/protocol/file/Handler.java,
2798         gnu/java/net/protocol/gcjlib/Connection.java,
2799         gnu/java/net/protocol/gcjlib/Handler.java,
2800         gnu/java/net/protocol/http/Connection.java,
2801         gnu/java/net/protocol/http/Handler.java,
2802         gnu/java/net/protocol/jar/Connection.java,
2803         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2804         * gnu/gcj/runtime/FirstThread.java,
2805         java/net/URL.java: Use moved protocol handlers.
2806         * Makefile.am
2807         (ordinary_java_source_files): Moved files.
2808         (nat_source_files): Likewise.
2809         * Makefile.in: Regenerated.
2810
2811 2003-10-08  Michael Koch  <konqueror@gmx.de>
2812
2813         * gnu/java/nio/SocketChannelImpl.java
2814         (read): Write only read data to buffer.
2815
2816 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2817
2818         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2819         out.
2820         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2821         (JCL_free): Attach "unused" attribute to env parameter.
2822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2825         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2826         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2827         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2828         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2829         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2830         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2831         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2832         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2833         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2834         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2835         parameters.
2836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2837         (initNativeState): Pass 0 as info argument to
2838         gtk_selection_add_target.
2839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2840         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2841         unused method implementations.
2842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2843         (awt_event_handler): Add break statement after default label.
2844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2845         (drawPixels): Remove unused variable i.
2846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2847         (setEnabled): Remove method implementation.
2848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2849         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2850         argument.
2851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2852         unused function.
2853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2854         (menu_pos): Assign TRUE to push_in.
2855         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2856         argument.
2857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2858         (create): Remove unused variable layout.
2859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2860         Pass window_widget, rather than window, to
2861         gtk_widget_set_size_request.
2862         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2863         structure initialization with NULL values.
2864         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2865
2866 2003-10-08  Michael Koch  <konqueror@gmx.de>
2867
2868         * java/util/LinkedList.java:
2869         Removed whitespace to match classpath's version again.
2870
2871 2003-10-08  Michael Koch  <konqueror@gmx.de>
2872
2873         * java/util/prefs/Preferences.java
2874         (defaultFactoryClass): Fixed class name.
2875         (getFactory): Create instance of class returned by Class.forName(),
2876         reformated code.
2877
2878 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2879
2880         * javax/swing/table/AbstractTableModel.java
2881         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2882         helped stop pulling my hair on this +1 then -1 tricky thing!
2883
2884 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2885
2886         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2887         Remove unused parameters.
2888         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2889         Likewise.
2890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2891         (keyevent_state_to_awt_mods): Export function.
2892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2893         (getCaretPosition): Fix TextArea case.
2894         (textcomponent_commit_cb): Get exact event time and modifier
2895         state.
2896         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2897
2898 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2899
2900         * java/net/InetSocketAddress.java
2901         (InetSocketAddress): Made exception more clear.
2902         (equals): Handle case when addr is null.
2903         (toString): Likewise.
2904         * java/net/NetworkInterface.java
2905         (static): Load native library.
2906         (getNetworkInterfaces): Rewritten.
2907
2908 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2909
2910         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2911         field.
2912         (initializeInsets): New method.
2913         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2914         setBounds unconditionally.
2915         (setBounds): Convert coordinates if parent is a Window.
2916         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2917         field to GtkComponentPeer.
2918         (GtkContainerPeer): Don't initialize insets.
2919         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2920         New method.
2921         (create): Call new GtkWindowPeer create method.
2922         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2923         New method.
2924         (create): Call new GtkWindowPeer create method.
2925         (setBounds): Remove method.
2926         (postConfigureEvent): Likewise.
2927         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2928         type constants with GDK window type constants.
2929         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2930         (create(int,boolean)): Likewise.
2931         (create()): Call create(int,boolean).
2932         (nativeSetBounds): New native method declaration.
2933         (setBounds): Call native method declaration.
2934         (setSize): New native method declaration.
2935         (setBoundsCallback): Likewise.
2936         (postConfigureEvent): Handle change in insets.  Call setSize and
2937         setBoundsCallback methods.
2938         * java/awt/Window.java (Window): Set visible to false.
2939         (setBoundsCallback): New method.
2940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2941         (gtkWidgetGetLocationOnScreen): If this component is not a
2942         container, adjust the location returned based on the peer's
2943         allocation.
2944         (set(String,boolean)): Revert change from 2003-09-19.
2945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2946         (awt_event_handler): Fix inset calculation.
2947         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2948         glue for Window.setBoundsCallback.
2949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2950         Set up stacking order, window decorations and window manager
2951         hints.
2952         (setBoundsCallback): New method.
2953         (setSize): New method.
2954         (nativeSetBounds): New method.
2955         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2956
2957 2003-10-02  Tom Tromey  <tromey@redhat.com>
2958
2959         * java/lang/VMClassLoader.java (loadClass): Now native.
2960         * java/lang/natClassLoader.cc (loadClass): Implement.
2961         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2962
2963 2003-10-02  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/net/InetAddress.java
2966         (zeros): Removed.
2967         (ANY_IF): Initalizie in static block.
2968         (static): Load library with native methods here and initialize ANY_IF.
2969         (isAnyLocalAddress): Check if equal to ANY_IF.
2970         (equals): Use addr directly instead of addr1. Simplify for loop.
2971         (toString): Rename "result" to "host" and add IP address allways.
2972         (getLocalHost): Merged documentation from classpath.
2973         * java/net/ServerSocket.java
2974         (ServerSocket): New package-private constructor used by java.nio.
2975         * java/net/URLConnection.java
2976         (getRequestProperties): Check if already connected.
2977
2978 2003-10-02  Michael Koch  <konqueror@gmx.de>
2979
2980         * java/nio/ByteBufferHelper.java:
2981         Rewrote all methods by suggestions from Eric Blake.
2982
2983 2003-10-02  Michael Koch  <konqueror@gmx.de>
2984
2985         * java/net/URL.java
2986         (DEFAULT_SEARCH_PATH): New static variable.
2987         (ph_cache): Made it a HashMap.
2988         (getURLStreamHandler): Rename propVal to ph_search_path and use
2989         DEFAULT_SEARCH_PATH.
2990
2991 2003-10-02  Michael Koch  <konqueror@gmx.de>
2992
2993         * javax/swing/table/AbstractTableModel.java
2994         (findColumnName): Prevent from NullPointerException if argument
2995         columnName is null.
2996
2997 2003-10-02  Michael Koch  <konqueror@gmx.de>
2998
2999         * javax/swing/table/AbstractTableModel.java:
3000         This patch is based on a patch done by Arnaud Vandyck
3001         <arnaud.vandyck@ulg.ac.be>.
3002         (getColumnName): Fixed method documentation.
3003         (findColumn): Likewise.
3004         (getColumnClass): Likewise.
3005         (isCellEditable): Likewise.
3006         (setValueAt): Likewise.
3007         (addTableModelListener): Likewise.
3008         (removeTableModelListener): Likewise.
3009         (getTableModelListeners): New method.
3010
3011 2003-10-02  Michael Koch  <konqueror@gmx.de>
3012
3013         * javax/swing/table/AbstractTableModel.java:
3014         Reformated.
3015
3016 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
3017
3018         Fix PR libgcj/12475
3019         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3020         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3021
3022 2003-10-01  Tom Tromey  <tromey@redhat.com>
3023
3024         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3025
3026 2003-10-01  Andrew Haley  <aph@redhat.com>
3027
3028         * java/lang/natClass.cc (initializeClass): Check for otable and
3029         atable.
3030         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
3031         loops using for().  Search superinterfaces.  Check for fields as
3032         well as methods.  Initialize atable as well as otable: check for
3033         static methods as well as virtual methods.
3034         * java/lang/Class.h (struct _Jv_AddressTable): New.
3035         (atable): New.
3036         (atable_syms): New.
3037         * include/jvm.h (_Jv_equalUtf8Consts): constify.
3038         * prims.cc (_Jv_equalUtf8Consts): constify.
3039
3040 2003-09-29  Tom Tromey  <tromey@redhat.com>
3041
3042         PR libgcj/10596:
3043         * include/jvm.h (_Jv_FinalizeString,
3044         _Jv_RegisterStringFinalizer): Declare.
3045         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3046         unintern.
3047         (intern): Updated.
3048         (_Jv_NewStringUtf8Const): Likewise.
3049         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3050         Add special case when finalizing a String.
3051         (in_hash): New function.
3052         (_Jv_RegisterStringFinalizer): Likewise.
3053         (maybe_add_finalize): Likewise.
3054
3055 2003-09-29  Michael Koch  <konqueror@gmx.de>
3056
3057         * java/net/InetAddress.java:
3058         (isMulticastAddress): Dont use local variable to store address length.
3059         Let the compiler optimize this.
3060         (getHostName): Merged dcoumentation from classpath.
3061         (getAddress): Likewise.
3062         (getHostAddress): Likewise.
3063         (hashCode): Likewise.
3064         (equals): Likewise.
3065         (toString): Likewise.
3066         (getByName): Likewise.
3067         (getAllByName): Likewise.
3068
3069 2003-09-29  Michael Koch  <konqueror@gmx.de>
3070
3071         * java/awt/image/IndexColorModel.java: Reformated.
3072
3073 2003-09-29  Michael Koch  <konqueror@gmx.de>
3074
3075         * java/net/InetAddress.java,
3076         java/net/URL.java: Reformated.
3077
3078 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3079
3080         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3081         significant bit of descriptor. Include the vtable and sync_info 
3082         fields.
3083
3084 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3085
3086         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3087         if `obj' is not a Number or Date instance.
3088         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3089         instead of Vector.
3090
3091 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3092
3093         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3094         Don't call setTimeZone on calendar.
3095
3096 2003-09-27  Michael Koch  <konqueror@gmx.de>
3097
3098         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3099
3100 2003-09-27  Michael Koch  <konqueror@gmx.de>
3101
3102         * java/net/URL.java (getURLStreamHandler):
3103         Check if we have to use cache before trying to retrieve handler from
3104         cache. Rename facName to clsName to match classpath more. Reformated
3105         some little pieces.
3106
3107 2003-09-27  Michael Koch  <konqueror@gmx.de>
3108
3109         * gnu/java/nio/SelectionKeyImpl.java
3110         (ch): Make package-private again. Jikes found this bug.
3111         Jeff Sturm submitted PR12426 for this to bugzilla
3112         to fix this bug in gcj.
3113
3114 2003-09-26  Michael Koch  <konqueror@gmx.de>
3115
3116         * java/rmi/server/RMIClassLoader.java:
3117         Reformatted file, no functional code changes.
3118
3119 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3120
3121         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3122         Save space for some pixels at the buffer end.  Added Javadoc.
3123
3124 2003-09-26  Tom Tromey  <tromey@redhat.com>
3125
3126         * java/io/ObjectOutputStream.java (writeFields): Fixed
3127         indentation.
3128         (putFields): Likewise.
3129
3130 2003-09-26  Michael Koch  <konqueror@gmx.de>
3131
3132         * java/nio/ByteBufferHelper.java:
3133         Totally reworked with help from Eric Blake.
3134
3135 2003-09-26  Tom Tromey  <tromey@redhat.com>
3136
3137         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3138         * java/awt/geom/PathIterator.java: Documentation fixes.
3139
3140 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3141
3142         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3143         (select): Likewise.
3144         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3145
3146 2003-09-25  Michael Koch  <konqueror@gmx.de>
3147
3148         * gnu/java/nio/DatagramChannelImpl.java
3149         (getNativeFD): New method.
3150         * gnu/java/nio/SelectionKeyImpl.java
3151         (SelectionKeyImpl): Class made abstract.
3152         (fd): Removed.
3153         (SelectionKeyImpl): Remove fd argument.
3154         (getNativeFD): New method.
3155         * gnu/java/nio/SocketChannelImpl.java
3156         (getNativeFD): New method.
3157         gnu/java/nio/DatagramChannelSelectionKey.java,
3158         * gnu/java/nio/SocketChannelSelectionKey.java:
3159         New files.
3160         * Makefile.am (ordinary_java_source_files):
3161         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3162         gnu/java/nio/SocketChannelSelectionKey.java.
3163         * Makefile.in: Regenerated.
3164
3165 2003-09-25  Michael Koch  <konqueror@gmx.de>
3166
3167         * java/lang/reflect/Proxy.java
3168         (getProxyClass): Remove workaround for gcj 3.0.x.
3169
3170 2003-09-25  Michael Koch  <konqueror@gmx.de>
3171
3172         * gnu/java/net/PlainDatagramSocketImpl.java
3173         (finalize): Moved to directly after constructor.
3174         (getNativeFD): New method.
3175         * gnu/java/net/PlainSocketImpl.java
3176         (getNativeFD): New method.
3177
3178 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3179
3180         * java/io/ObjectOutputStream.java:
3181         Allow putFields be called more than once.
3182
3183 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3184
3185         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3186         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3187         * java/awt/image/BufferedImage.java (toString): Implement.
3188
3189 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3190
3191         * aclocal.m4: Rebuilt.
3192         * configure: Rebuilt.
3193
3194 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3195
3196         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3197         field.
3198
3199 2003-09-25  Michael Koch  <konqueror@gmx.de>
3200
3201         * gnu/java/nio/SelectorImpl.java
3202         (implSelect): Renamed from java_do_select.
3203         (select): Call native implSelect() and add support for Thread
3204         interruption.
3205         * gnu/java/nio/natSelectorImpl.cc
3206         (implSelect): Renamed from java_do_select.
3207
3208 2003-09-25  Michael Koch  <konqueror@gmx.de>
3209
3210         * gnu/java/nio/SelectorImpl.java
3211         (selectNow): Made final, throws IOException.
3212         (select): Likewise.
3213         (getFDsAsArray): Made final.
3214         (selectedKeys): Likewise.
3215         (wakeup): Likewise.
3216         (deregisterCancelledKeys): Likewise.
3217         (register): Likewise.
3218         (ass): Removed.
3219         (add_selected): Removed.
3220         * gnu/java/nio/natSelectorImpl.cc:
3221         No need to include bstring.h or gcj/cni.h.
3222         (helper_put_filedescriptors): Rewritten.
3223         (helper_get_filedescriptors): Rewritten.
3224
3225 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3226
3227         * java/awt/font/FontRenderContext.java (getTransform): Return
3228         copy of internal transform object. Add Javadoc.
3229         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3230         winding rule as Sun J2SE.
3231         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3232
3233 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3234
3235         * java/rmi/Naming.java:
3236         Added comments, now accepts pseudo protocol "rmi".
3237
3238 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3239
3240         * java/text/DecimalFormat.java (format): Don't immediatly round
3241         baseNumber to long.
3242         (setMinimumIntegerDigits): Call super.
3243         (setMinimumFractionDigits): Likewise.
3244         (setMaximumIntegerDigits): Likewise.
3245         (setMaximumFractionDigits): Likewise.
3246
3247 2003-09-25  Michael Koch  <konqueror@gmx.de>
3248
3249         * gnu/java/nio/DatagramChannelImpl.java
3250         (DatagramChannelImpl): Made class final.
3251         (blocking): Made private.
3252         (socket): Made it a NIODatagramSocket and private.
3253         (DatagramChannelImpl): create NIODatagramSocket instead of
3254         DatagramSocket.
3255         (implConfigureBlocking): Set socket timeout.
3256         (connect): Check that channel is not closed.
3257         (write): Implemented.
3258         (write): Rewritten.
3259         (read): Implemented.
3260         (read): Rewritten.
3261         (receive): Implemented.
3262         (send): Implemented.
3263         * gnu/java/nio/SelectionKeyImpl.java
3264         (readyOps): Made private.
3265         (interestOps): Made private.
3266         (impl): Made private.
3267         (ch): Made private.
3268         (readyOps): Check if selection key is valid.
3269         (interestOps): Likewise.
3270         * gnu/java/nio/SelectorImpl.java
3271         (closed): Removed.
3272         (keys): Made private.
3273         (selected): Made private.
3274         (finalize): New method.
3275         (implCloseSelector): Rewritten.
3276         (keys): Return unmodifiable Set.
3277         (deregisterCancelledKeys): Fixed typo in method name.
3278         * gnu/java/nio/SocketChannelImpl.java
3279         (SocketChannelImpl): Made class final.
3280         (socket): Made it a NIOSocket and private.
3281         (blocking): Made private.
3282         (connected): Made private.
3283         (connectionPending): New member variable.
3284         (SocketChannelImpl): New implementation.
3285         (finalizer): Use isConnected().
3286         (connect): Rewritten.
3287         (finishConnect): Throws IOException, implemented.
3288         (isConnectionPending): Return connectionPending.
3289         (read): Rewritten.
3290         (write): Rewritten.
3291         * gnu/java/nio/NIOConstants.java: New file.
3292         * Makefile.am (ordinary_java_source_files):
3293         Added gnu/java/nio/NIOConstants.java.
3294         * Makefile.in: Regenerated.
3295
3296 2003-09-25  Michael Koch  <konqueror@gmx.de>
3297
3298         * java/net/InetAddress.java:
3299         Reorder imports, remove implementation comment.
3300         (isMulticastAddress): Merged documentation from classpath.
3301         * java/net/URLConnection.java
3302         (setRequestProperty): Check key for null, fix documentation.
3303         (adREquestProperty): Check key for null, remove wrong implementation
3304         and replace it with comment to overwrite this method in subclasses,
3305         fix documentation.
3306
3307 2003-09-25  Tom Tromey  <tromey@redhat.com>
3308
3309         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3310         domain code.
3311         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3312         argument.
3313         (linkClass0): Now in VMClassLoader.
3314         (markClassErrorState0): Likewise.
3315         (getSystemClassLoaderInternal): New method.
3316         * java/lang/natClass.cc (initializeClass): Use
3317         VMClassLoader::resolveClass.
3318         * java/lang/ClassLoader.java: New version, from Classpath.
3319         * java/lang/Class.java (getProtectionDomain):
3320         protectionDomainPermission and unknownProtectionDomain now in
3321         VMClassLoader.
3322         * java/lang/Class.h: VMClassLoader now a friend class.
3323         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3324         package-private.
3325         * gcj/javaprims.h: Regenerated class list.
3326         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3327         * java/lang/VMClassLoader.java: New version from Classpath;
3328         modified for libgcj use.
3329
3330 2003-09-25  Michael Koch  <konqueror@gmx.de>
3331
3332         * java/nio/ByteBufferHelper.java:
3333         New file.
3334         * java/nio/ByteBufferImpl.java,
3335         java/nio/DirectByteBufferImpl.java,
3336         java/nio/MappedByteBufferImpl.java
3337         (getType,putType): Use new helper class ByteBufferHelper.
3338         * Makefile.am (ordinary_java_source_files):
3339         Added java/nio/ByteBufferHelper.java.
3340         * Makefile.in: Regenerated.
3341
3342 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3343
3344         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3345         PR libgcj/12388.
3346
3347 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3348
3349         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3350         Strings, even if buffer is already shared.
3351
3352 2003-09-24  Michael Koch  <konqueror@gmx.de>
3353
3354         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3355
3356 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3357
3358         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3359         (write): Likewise.
3360         (SocketInputStream): Declare `read' and `write' methods native.
3361         Remove implementations which called back into PlainSocketImpl.
3362         Remove unneccessary overridden methods.
3363         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3364         to inner class PlainSocketImpl.SocketInputStream.
3365         (write): Likewise.
3366         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3367         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3368         * gnu/java/net/SocketInputStream.java: Remove unused file.
3369         * gnu/java/net/SocketOutputStream.java: Likewise.
3370         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3371         and SocketOutputStream.
3372         * Makefile.in: Rebuilt.
3373
3374 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3375
3376         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3377
3378         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3379         markers.
3380
3381 2003-09-22  Anthony Green  <green@redhat.com>
3382
3383         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3384         * configure: Rebuilt.
3385
3386 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3387
3388         PR java/12350:
3389         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3390
3391 2003-09-22  Michael Koch  <konqueror@gmx.de>
3392
3393         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3394         compiler warning but produces a different one now.
3395
3396 2003-09-22  Michael Koch  <konqueror@gmx.de>
3397
3398         * java/net/InetAddress.java:
3399         Moves around some code, reformats and adds documentation.
3400         No functional changes.
3401
3402 2003-09-22  Michael Koch  <konqueror@gmx.de>
3403
3404         * java/net/JarURLConnection.java
3405         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3406         (getCertificates): Made it more error prone.
3407         (getMainAttributes): Likewise.
3408         (getAttributes): Implemented.
3409         (getManifest): Reformatted code.
3410
3411 2003-09-20  Tom Tromey  <tromey@redhat.com>
3412
3413         * java/awt/Component.java: Indentation cleanup from Classpath.
3414
3415 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3416
3417        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3418        checking to follow 1.4.2 spec.
3419
3420 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3421
3422         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3423         is compatible in case client and server are running in the same VM
3424         (remerged from Classpath on 2003-09-20)
3425
3426 2003-09-19  David Daney <ddaney@avtrex.com>
3427
3428         * java/lang/ref/Reference.java (clear): Set referent to null and
3429         synchronize.
3430
3431 2003-09-19  Michael Koch  <konqueror@gmx.de>
3432
3433         * gnu/java/nio/NIODatagramSocket.java,
3434         gnu/java/nio/NIOSocket.java: New files.
3435         * Makefile.am (ordinary_java_source_files):
3436         Added gnu/java/nio/NIODatagramSocket.java and
3437         gnu/java/nio/NIOSocket.java.
3438         * Makefile.in: Regenerated.
3439
3440 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3441
3442         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3443         top-level GTK window.
3444         (getArgs): Add "title" property.
3445         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3446         "allow_shrink" and "allow_grow" properties.
3447         * java/awt/Dialog.java: Initialize resizable to true and change
3448         comments accordingly.  Initialize visible to false in
3449         constructors.
3450         * java/awt/Frame.java (dispose): Remove method.
3451         * java/awt/Window.java (ownedWindows): New field.
3452         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3453         owner's ownedWindows vector.
3454         (finalize): Remove method.
3455         (hide): Hide owned windows.
3456         (dispose): Dispose of owned windows.
3457         (getOwnedWindows): Implement.
3458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3459         unused GtkArg code.
3460         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3461         to TRUE or FALSE.
3462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3463         (create): Set window's size requisition.
3464         (connectHooks): Fix indentation.
3465         (setResizable): Remove function.
3466         (static setBounds): Likewise.
3467         (setBounds): Replace call to setBounds with GTK size requisition
3468         and resize calls.
3469
3470 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3471
3472         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3473         function for lazy initialization of an auto-reset event.
3474         (_Jv_CondWait) Added thread interrupt support.
3475         (_Jv_ThreadInitData) Added initialization of interrupt support
3476         members.
3477         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3478         (_Jv_ThreadStart) Removed unused code.
3479         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3480         to an external caller.
3481         (_Jv_ThreadInterrupt) Implemented.
3482         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3483         event for interrupt support as well as a mutex which regulates
3484         access to this.
3485         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3486         event to an external caller.
3487         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3488         process.
3489         (waitFor) Added interrupt support.
3490
3491 2003-09-19  Michael Koch  <konqueror@gmx.de>
3492
3493         * java/net/DatagramSocket.java (getLocalAddress):
3494         Renamed result variable to localAddr.
3495         * java/net/MulticastSocket.java:
3496         No need to import gnu.java.net.PlainDatagramSocketImpl.
3497
3498 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3499
3500         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3501         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3502
3503 2003-09-18  Tom Tromey  <tromey@redhat.com>
3504
3505         * javax/naming/InitialContext.java: Reindented.
3506
3507 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3508             Helmer Kraemer <hkraemer@freenet.de>
3509
3510         * javax/naming/spi/NamingManager.java (getURLContext,
3511         getObjectInstance, getStateToBind): Always use current thread's
3512         context class loader when calling Class.forName.
3513
3514 2003-09-18  Michael Koch  <konqueror@gmx.de>
3515
3516         * java/util/Timer.java (finalize): Added "throws Throwable".
3517
3518 2003-09-18  Michael Koch  <konqueror@gmx.de>
3519
3520         * java/net/DatagramSocket.java
3521         (ch): Removed.
3522         (receive): Use getChannel() instead of ch.
3523         (send): Likewise.
3524         (getChannel): Return null.
3525         * java/net/ServerSocket.java
3526         (ch): Removed.
3527         (setChannel): Removed.
3528         (implAccept): Use getChannel() instead of ch.
3529         (close): Likewise.
3530         (getChannel): Return null.
3531         * java/net/Socket.java
3532         (ch): Removed.
3533         (connect): Use getChannel() instead of ch.
3534         (setChannel): Removed.
3535         (getChannel): Return null.
3536
3537 2003-09-18  Mark Wielaard  <mark@klomp.org>
3538
3539         Reported by Guilhem Lavaux and Julian Dolby
3540         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3541         field "serialPersistentFields", not "getSerialPersistentFields".
3542
3543 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3544
3545         * java/util/TimeZone.java: Initialize lazily.
3546         * java/util/Locale.java (readManifest): Fix check for country.
3547         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3548         traceable 
3549         * java/util/Calendar.java: Make use of ResourceBundle better
3550         traceable.
3551
3552 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3553
3554         * java/sql/Timestamp.java
3555         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3556
3557 2003-09-18  David P Grove  <groved@us.ibm.com>
3558
3559         * java/io/LineNumberReader (read): Don't reset pos & limit when
3560         markPos is 0.
3561
3562 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3563
3564         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3565         constant.
3566         (computeArguments): use computeTypicalArguments.
3567
3568         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3569         Compile_jikes.java and RMICException.java.
3570         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3571         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3572         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3573  
3574         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3575  
3576         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3577         (computeTypicalArguments): New method.
3578         (compile): Print compiler output to System.out. Collect compiler
3579         error output and use it in exception message.
3580  
3581         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3582         (destination): Initialize to null.
3583         (run): Replace file separator with '.' when processing class.
3584         (processClass): Replace '.' with file separator when compiling
3585         classes.
3586         (findClass): Use SystemClassLoader to load class.
3587         (generateStub): Use full class name for generated stub, that puts
3588         it in right path.  Replace '.' with file separator when generating
3589         stub file name. Write just the stub class name without package
3590         information as class name, and constructor name. Write only
3591         interface names for interfaces extending java.rmi.Remote as
3592         implemented.
3593         (generateSkel): Use full class name for generated skel, that puts
3594         it in right path.  Replace '.' with file separator when generating
3595         stub file name. Write just the stub class name without package
3596         information as class name.
3597
3598 2003-09-18  Michael Koch  <konqueror@gmx.de>
3599
3600         * Makefile.am (rmi_java_source_files):
3601         Added gnu/java/rmi/rmic/Compile_kjc.java,
3602         gnu/java/rmi/rmic/Compile_jikes.java and
3603         gnu/java/rmi/rmic/RMICException.java
3604         * Makefile.in: Regenerated.
3605
3606 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3607
3608         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3609         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3610         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3611         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3612         New files.
3613
3614 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3615
3616         * java/awt/BufferedImage.java (setData): Support non-component
3617         sample models.
3618         (getData): Same.
3619
3620 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3621
3622         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3623         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3624
3625 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3626
3627         * configure.in: Standardized help text case of
3628         --enable-hash-synchronization
3629         New configure switch --enable-libgcj-multifile and corresponding
3630         automake conditional ONESTEP.
3631         * configure: Rebuilt.
3632         * Makefile.am: Use automake conditional ONESTEP to determine
3633         whether classfiles should be compiled individually or all
3634         at once.
3635         * Makefile.in: Rebuilt.
3636
3637 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3638
3639         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3640         Remove method declaration.
3641         (create()): Call native create.
3642         (create(int)): New method.
3643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3644         (create): Add window_id parameter.  Call gtk_plug_new with
3645         window_id parameter.
3646         (construct): Remove method implementation.
3647
3648 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3649
3650         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3651         (mostlyclean-local): New target patterned after clean-local
3652         which recursively deletes all libtool objects using 'libtool rm'.
3653         (clean-local): Slightly modified comment to alleviate monotony.
3654         (distclean-local): New target patterned after clean-local
3655         which recursively deletes all .d files.
3656         * Makefile.in: Rebuilt.
3657
3658 2003-09-11  Tom Tromey  <tromey@redhat.com>
3659
3660         * java/net/URLStreamHandler.java (parseURL): If original file
3661         ends with "/", so must canonical result.
3662         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3663         with nul-termination and finding previous "/".
3664
3665 2003-09-11  Michael Koch  <konqueror@gmx.de>
3666
3667         * acconfig.h: Removed most items.
3668         * configure.in: Added descriptions to AC_DEFINE macros that where in
3669         acconfig.h before.
3670         * include/config.h.in: Regenerated.
3671
3672 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3673
3674         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3675         if one is installed. Improve Javadoc.
3676         (getSystemEventQueueImpl): Improve Javadoc.
3677
3678 2003-09-11  Tom Tromey  <tromey@redhat.com>
3679
3680         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3681         file does not exist.
3682
3683 2003-09-10  Anthony Green  <green@redhat.com>
3684
3685         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3686         Specify full name when referencing ::java::net::InetAddress.
3687         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3688         Fix argument type.
3689
3690 2003-09-10  Michael Koch  <konqueror@gmx.de>
3691
3692         * acconfig.h (__NO_MATH_INLINES): Removed.
3693         * configure.in: Removed check for g++ math inlining bug from 2000.
3694         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3695         libgcj_cxxflags.
3696         * configure: Regenerated.
3697
3698 2003-09-10  David Daney <ddaney@avtrex.com>
3699
3700         * java/util/Arrays.java (equals(all variants)): Quit using
3701         NullPointerException catching to detect null valued parameters.
3702
3703 2003-09-10  Michael Koch  <konqueror@gmx.de>
3704
3705         * java/net/DatagramSocket.java,
3706         java/net/MulticastSocket.java,
3707         java/net/ServerSocket.java,
3708         java/net/Socket.java:
3709         Use gnu.java.net.Plain*SocketImpl instead of
3710         java.net.PlainSocketImpl.
3711         * java/net/PlainDatagramSocketImpl.java,
3712         java/net/PlainSocketImpl.java,
3713         java/net/SocketInputStream.java,
3714         java/net/SocketOutputStream.java,
3715         java/net/natPlainDatagramSocketImplNoNet.cc,
3716         java/net/natPlainDatagramSocketImplPosix.cc,
3717         java/net/natPlainDatagramSocketImplWin32.cc,
3718         java/net/natPlainSocketImplNoNet.cc,
3719         java/net/natPlainSocketImplPosix.cc,
3720         java/net/natPlainSocketImplWin32.cc:
3721         Removed.
3722         * gnu/java/net/PlainDatagramSocketImpl.java,
3723         gnu/java/net/PlainSocketImpl.java,
3724         gnu/java/net/SocketInputStream.java,
3725         gnu/java/net/SocketOutputStream.java,
3726         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3727         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3728         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3729         gnu/java/net/natPlainSocketImplNoNet.cc,
3730         gnu/java/net/natPlainSocketImplPosix.cc,
3731         gnu/java/net/natPlainSocketImplWin32.cc:
3732         New files (moved from java/net).
3733         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3734         instead of java/net/natPlain*SocketImpl.cc.
3735         * configure: Regenerated.
3736         * Makefile.am: Moved files from java/net to gnu/java/net.
3737         * Makefile.in: Regenerated.
3738
3739 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3740
3741         * configure: Regenerate.
3742
3743 2003-09-04  Tom Tromey  <tromey@redhat.com>
3744
3745         * configure.host: Removed erroneous comment.
3746
3747         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3748         lvalue cast; use correct rvalue cast.
3749
3750 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3751
3752         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3753         and height arguments to GtkWindowPeer.create method call.
3754         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3755         (create(int,int,int)): New method.
3756         (create(int)): Add call to new create method.
3757         (create()): Add width and height arguments to create method
3758         call.
3759         (GtkWindowPeer): Remove call to setBounds.
3760         * java/awt/Frame.java (Frame(String)): Initialize visible field
3761         to false.
3762         (Frame(GraphicsConfiguration)): Likewise.
3763         (Frame(String,GraphicsConfiguration)): Likewise.
3764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3765         Add width and height parameters.  Call
3766         gtk_window_set_default_size.
3767         (connectHooks): Remove unused name variable.
3768         (static setBounds): Call gtk_window_resize not
3769         gtk_widget_set_usize.
3770         (setBounds): Remove unused nchildren variable.
3771
3772 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3773
3774         * java/util/logging/Logger.java: provide class and method information
3775         * java/util/logging/LogManager.java: create handlers
3776         * java/util/logging/SimpleFormatter.java: print souceClassName and
3777         sourceMethodName
3778
3779 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3780
3781         * win32.cc: fixed tab, indentation and whitespace
3782         inconsistencies
3783         removed jvm.h include
3784         added includes java/lang/UnsupportedOperationException.h,
3785         java/io/IOException.h, java/net/SocketException.h
3786         (WSAEventWrapper): class implementation
3787         (_Jv_WinStrError): implemented both overloads
3788         (_Jv_ThrowIOException): implemented both overloads
3789         (_Jv_ThrowSocketException): implemented both overloads
3790         (_Jv_select): implemented
3791         * include/win32.h: fixed tab, indentation and whitespace
3792         inconsistencies
3793         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3794         added jvm.h include
3795         (WSAEventWrapper): added class declaration
3796         (_Jv_WinStrError): added both overload declarations
3797         (_Jv_ThrowIOException): added both overload declarations
3798         (_Jv_ThrowSocketException): added both overload declarations
3799         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3800         (_Jv_select): added declaration
3801         (_Jv_socket): removed
3802         (_Jv_connect): removed
3803         (_Jv_close): removed
3804         (_Jv_bind): removed
3805         (_Jv_accept): removed
3806         (_Jv_listen): removed
3807         (_Jv_write): removed
3808         (_Jv_read): removed
3809         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3810         whitespace inconsistencies
3811         replaced <windows.h> #include with <platform.h>
3812         removed jvm.h include
3813         (testCanUseGetHandleInfo): new function which tests whether Win32
3814         GetHandleInformation() call can be used with console buffer handles
3815         (only supported on >=WinNT 5.0)
3816         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3817         (valid): rewrote implementation using GetHandleInformation()
3818         (sync):         changed exception throwing to use error string and exception
3819         helper methods declared in include/win32.h
3820         (open): likewise
3821         (write): likewise
3822         (setLength): likewise
3823         (close): likewise
3824         (seek): likewise
3825         (getFilePointer): likewise
3826         (read): likewise
3827         * java/io/natFileWin32.cc: fixed tab, indentation and
3828         whitespace inconsistencies
3829         replaced <windows.h> #include with <platform.h>
3830         removed jvm.h include
3831         (_access): use JV_TEMP_UTF_STRING
3832         (_stat): likewise
3833         (performMkDir): use JV_TEMP_UTF_STRING
3834         (performRenameTo): likewise
3835         (performDelete): likewise
3836         (performCreate): likewise
3837         (performSetReadOnly): likewise
3838         (performSetLastModified): likewise
3839         * java/lang/natWin32Process.cc: fixed tab, indentation and
3840         whitespace inconsistencies
3841         replaced <windows.h> #include with <platform.h>
3842         removed includes gcj/cni.h, jvm.h
3843         (new_string): removed
3844         (startProcess): use JV_TEMP_UTF_STRING,
3845         changed exception throwing to use error string and exception
3846         helper methods declared in include/win32.h
3847         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3848         whitespace inconsistencies
3849         replaced <windows.h> #include with <platform.h>
3850         removed jvm.h include
3851         removed DISABLE_JAVA_NET conditional code
3852         removed POSIX conditional code not relevant to Win32
3853         (aton): use JV_TEMP_UTF_STRING
3854         removed POSIX conditional code not relevant to Win32
3855         (lookup): likewise
3856         (getLocalHostName): likewise
3857         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3858         whitespace inconsistencies
3859         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3860         removed DISABLE_JAVA_NET conditional code
3861         removed POSIX conditional code not relevant to Win32
3862         (winsock2GetRealNetworkInterfaces): new function to compute network
3863         interfaces via Winsock2 API
3864         (determineGetRealNetworkInterfacesFN): new function for returning
3865         a function pointer to the function used to compute network interfaces.
3866         (getRealNetworkInterfaces): implemented
3867         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3868         whitespace inconsistencies
3869         removed gcj/cni.h include
3870         removed DISABLE_JAVA_NET conditional code
3871         removed POSIX conditional code not relevant to Win32
3872         changed net POSIXisms to Win32isms
3873         replaced _Jv socket-related calls with their real Win32 equivalents
3874         changed exception throwing to use error string and exception
3875         helper methods declared in include/win32.h
3876         (peekData): implemented timeout support
3877         (receive): likewise
3878         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3879         whitespace inconsistencies
3880         removed gcj/cni.h and gcj/javaprims.h includes
3881         removed DISABLE_JAVA_NET conditional code
3882         removed POSIX conditional code not relevant to Win32
3883         changed net POSIXisms to Win32isms
3884         replaced _Jv socket-related calls with their real Win32
3885         equivalents
3886         changed exception throwing to use error string and exception
3887         helper methods declared in include/win32.h
3888         (throwConnectException): helper function for connect()
3889         (connect): implemented timeout support
3890         (accept): likewise
3891         (doRead): new helper function common to both read() method overloads,
3892         includes timeout support
3893         (read): implemented both overloads in terms of doRead()
3894         (available): implemented using ioctlsocket()
3895
3896 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3897
3898         * java/net/natInetAddressWin32.cc,
3899         java/net/natNetworkInterfaceWin32.cc,
3900         java/net/natPlainDatagramSocketImplWin32.cc,
3901         java/net/natPlainSocketImplWin32.cc:
3902         Readded code enclosed in DISABLE_JAVA_NET defines
3903         in preparation for MinGW cleanup / networking
3904         patch
3905
3906 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3907
3908         * Makefile.am: Fixed problems with parallel makes.
3909         (all_java_class_files): Readded definition.
3910         (all_java_class_files): New target which depends on
3911         libgcj-@gcc_version@.jar
3912         * Makefile.in: Rebuilt
3913
3914 2003-08-28  Tom Tromey  <tromey@redhat.com>
3915
3916         * Makefile.in: Rebuilt.
3917         * Makefile.am (ordinary_java_source_files): Added new files.
3918         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3919         friend.
3920         * java/net/URLClassLoader.java (findClass): Don't use
3921         findURLResource.  Use loader's getClass method.
3922         (URLLoader.getClass): New method.
3923         (addURL): Handle `gcjlib' URLs.
3924         (SoURLLoader): New class.
3925         (SoResource): Likewise.
3926         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3927         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3928         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3929         (_Jv_RegisterCoreHook): Declare.
3930         (_Jv_FindCore): Declare.
3931         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3932         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3933         typedef.
3934         (core_hook): New function.
3935         (struct SharedLibDummy) [saved_core]: New field.
3936         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3937         (register_hook): Set protection domain and class loader on new
3938         class.
3939         (finalize): Free core chain.
3940         * gnu/gcj/Core.java (Core): New constructor.
3941         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3942         SharedLibHelper.
3943         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3944         (_Jv_create_core): New function.
3945         (create): Use it.
3946         (default_register_resource): New function.
3947         (_Jv_RegisterCoreHook): New global.
3948         (_Jv_RegisterResource): Use it.
3949         (core_chain_struct): Removed.
3950         (_Jv_FindCore): New function.
3951         (_Jv_FreeCoreChain): New function.
3952
3953 2003-08-29  Michael Koch  <konqueror@gmx.de>
3954
3955         * java/net/natInetAddressWin32.cc,
3956         java/net/natNetworkInterfaceWin32.cc,
3957         java/net/natPlainDatagramSocketImplWin32.cc,
3958         java/net/natPlainSocketImplWin32.cc:
3959         Removed code enclosed in DISABLE_JAVA_NET defines.
3960
3961 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3962
3963         * Makefile.am: (write_entries_to_file) New parameterized
3964         function for writing entries to a file one line at a time.
3965         (all_java_class_files): Removed definition.
3966         (.java.class) Removed.target.
3967         (libgcj-@gcc_version@.jar): Changed dependency to
3968         $(all_java_source_files); added compilation step which compiles
3969         all changed source files in one pass.
3970         (libgcj.la) Refactored to use write_entries_to_file.
3971         (lib-gnu-awt-xlib.la) Likewise.
3972         (install-data-local) Likewise.
3973         (write-entries-to-file-check) New target which tests write_entries_to_file.
3974         (all-recursive): Changed dependency from $(all_java_class_files)
3975         to libgcj-@gcc_version@.jar
3976         * Makefile.in: Rebuilt.
3977
3978 2003-08-26  Tom Tromey  <tromey@redhat.com>
3979
3980         * java/lang/StrictMath.java: Typo fix.
3981         * java/lang/Math.java: Typo fix.
3982
3983 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3984
3985         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3986         of the removed Thread.
3987
3988 2003-08-26  Mark Wielaard  <mark@klomp.org>
3989
3990         Reported by David Holmes <dholmes@dltech.com.au>.
3991         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3992         Collections.synchronizedMap.
3993         * java/lang/ThreadLocal.java (valueMap): Likewise.
3994
3995 2003-08-26  Mark Wielaard  <mark@klomp.org>
3996
3997         * java/security/acl/Acl.java: Fix broken p tag.
3998         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3999         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4000         * javax/swing/plaf/TreeUI.java: Likewise.
4001         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4002         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4003         documentation.
4004         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4005         tag.
4006
4007 2003-08-26  Tom Tromey  <tromey@redhat.com>
4008
4009         * Makefile.in: Rebuilt.
4010         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4011
4012         * java/lang/ref/Reference.java (get): Indentation fix.
4013         (clear): Comment fix.
4014         (enqueue): Likewise.
4015         (lock): Likewise.
4016         (referent): Likewise.
4017
4018 2003-08-26  Tom Tromey  <tromey@redhat.com>
4019
4020         PR java/12058:
4021         * java/lang/reflect/natArray.cc (set): Allow null as argument.
4022
4023         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4024         (ProxyData.getPackage): New method.
4025         (ProxyData.getProxyData): Use package name, not Package.
4026         (ClassFactory.ClassFactory): Updated.
4027
4028 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
4029         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4030         * Makefile.in: re-generated.
4031         * gnu/awt/j2d/IntegerGraphicsState.java
4032         (ScreenCoupledImage): new interface.
4033         (drawImage): detect ScreenCoupledImage instances.
4034         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4035         * gnu/awt/xlib/XEventLoop.java
4036         (createEvent): re-formatted, and rearranged to avoid null pointer.
4037         * gnu/awt/xlib/XGraphics.java
4038         (drawImage): added XOffScreenImage handling.
4039         * gnu/awt/xlib/XOffScreenImage.java: new file.
4040         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4041         * gnu/gcj/xlib/GC.java (copyArea): new native method.
4042         * gnu/gcj/xlib/XAnyEvent.java
4043         (TYPE_KEY_PRESS): new constant.
4044         (TYPE_KEY_RELEASE): new constant.
4045         (TYPE_MOTION_NOTIFY): new constant.
4046         (TYPE_ENTER_NOTIFY): new constant.
4047         (TYPE_LEAVE_NOTIFY): new constant.
4048         (TYPE_FOCUS_IN): new constant.
4049         (TYPE_FOCUS_OUT): new constant.
4050         (TYPE_KEYMAP_NOTIFY): new constant.
4051         (TYPE_GRAPHICS_EXPOSE): new constant.
4052         (TYPE_NO_EXPOSE): new constant.
4053         (TYPE_VISIBILITY_NOTIFY): new constant.
4054         (TYPE_CREATE_NOTIFY): new constant.
4055         (TYPE_DESTROY_NOTIFY): new constant.
4056         (TYPE_MAP_REQUEST): new constant.
4057         (TYPE_CONFIGURE_REQUEST): new constant.
4058         (TYPE_GRAVITY_NOTIFY): new constant.
4059         (TYPE_RESIZE_REQUEST): new constant.
4060         (TYPE_CIRCULATE_NOTIFY): new constant.
4061         (TYPE_CIRCULATE_REQUEST): new constant.
4062         (TYPE_PROPERTY_NOTIFY): new constant.
4063         (TYPE_SELECTION_CLEAR): new constant.
4064         (TYPE_SELECTION_REQUEST): new constant.
4065         (TYPE_SELECTION_NOTIFY): new constant.
4066         (TYPE_COLORMAP_NOTIFY): new constant.
4067         (TYPE_MAPPING_NOTIFY): new constant.
4068         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4069         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4070         * java/awt/Component.java (createImage): changed to use peer method.
4071
4072 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4073
4074         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4075         name, not XLFD, to native drawString.
4076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4077         Replace XLFD-based implementation with Pango-based
4078         implementation.
4079
4080 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4081
4082         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4083         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4084
4085 2003-08-21  David Daney  <ddaney@avtrex.com>
4086
4087         Fix for PR libgcj/12013:
4088         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4089         Check `cleared' field.
4090         * java/lang/ref/Reference.java (copy): Updated comments.
4091         (cleared): New field.
4092         (clear): Rewrote.
4093
4094 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4095             Thomas Fitzsimmons  <fitzsim@redhat.com>
4096
4097         * Makefile.am (gtk_awt_peer_sources): Add
4098         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4099         gnu/java/awt/GLightweightPeer.java.
4100         * gnu/java/awt/GLightweightPeer.java: Remove file.
4101         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4102         * java/awt/Component.java (getToolkit): Add comment about
4103         lightweight components.
4104         * java/awt/Toolkit.java (createComponent): Return
4105         gnu.java.awt.peer.GLightweightPeer.
4106
4107 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4108
4109         * configure.in: Fix detection of gcj when building with newlib.
4110         * configure: Regenerated.
4111
4112 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4113
4114         * jni.cc: Replace "cheating" pointer-casting code with
4115         extract_from_jvalue<> template.
4116
4117 2003-08-20  Andrew Haley  <aph@redhat.com>
4118
4119         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4120         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4121         (classAt): Break out class lookup function into getClass().
4122         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4123         handlers when using -fno-assume-compiled.
4124
4125 2003-08-20  Tom Tromey  <tromey@redhat.com>
4126
4127         Fix for PR libgcj/9125:
4128         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4129         object outside of loop.  Respect lib_control setting.
4130         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4131         field.
4132         (lib_control): New field.
4133         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4134         (VMClassLoader): Initialize new field.
4135
4136         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4137         Set `list->reference' to DELETED_REFERENCE when removing dead
4138         object.
4139         (find_slot): Added an assert.
4140         (DELETED_REFERENCE): New define.
4141         (add_to_hash): Check for DELETED_REFERENCE.
4142         (remove_from_hash): Just return if found slot isn't ours.
4143
4144 2003-08-19  Andrew Haley  <aph@redhat.com>
4145
4146         * prims.cc (unblock_signal): New function.
4147         (catch_segv): Use it.
4148         (catch_fpe): Likewise.
4149
4150 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4151
4152         PR libgcj/11575
4153         * java/io/natFileDescriptorWin32.cc (open): Set create
4154         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4155         Honor EXCL when openning with WRITE flag. 
4156
4157 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4158
4159         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4160         getting a temporary C string from a jstring)
4161         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4162         but uses a stack buffer if the string length is less than 256
4163         bytes.
4164
4165 2003-08-18  Tom Tromey  <tromey@redhat.com>
4166
4167         PR libgcj/11951:
4168         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4169         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4170         value.  Added is_jni_call argument; only wrap exception if not a
4171         JNI call.  Use descriptive message if operation not supported.
4172         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4173         array class.
4174         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4175         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4176         _Jv_CallAnyMethodA.
4177         (_Jv_JNI_CallAnyMethodA): Likewise.
4178         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4179         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4180
4181 2003-08-13  Tom Tromey  <tromey@redhat.com>
4182
4183         * gij.cc (help): Document -? and -X.
4184
4185 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4186
4187         * java/awt/Font.java: 
4188         Stub out more recent API. 
4189
4190 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4191
4192         * java/awt/Color.java (getAlpha): 
4193         Prevent sign-extended alpha values.
4194
4195 2003-08-12  Tom Tromey  <tromey@redhat.com>
4196
4197         * gij.cc (main): Handle -? and -X.
4198
4199 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4200
4201         * java/awt/Container.java
4202         (getPreferredSize): Call preferredSize.
4203         (preferredSize): Moved body of getPreferredSize here.
4204         (getMinimumSize): Call minimumSize.
4205         (minimumSize): Moved body of getMinimumSize here.
4206
4207 2003-08-11  Tom Tromey  <tromey@redhat.com>
4208
4209         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4210         (postEvent): Removed FIXME comment.
4211         (isDispatchThread): Documented.
4212         (getCurrentEvent): New method.
4213         (dispatchEvent): Set currentEvent and lastWhen.
4214         (getMostRecentEventTime): Rewrote.
4215         (invokeLater): Documented.
4216
4217 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4218
4219         * java/io/PrintStream.java (print): Always flush if auto_flush is
4220         set. Don't check for newline characters.
4221         (write (int)): Implement without using a temporary array.
4222         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4223         check for newline characters.
4224         Fixes PR libgcj/11778.
4225
4226 2003-08-08  Andrew Haley  <aph@redhat.com>
4227
4228         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4229         * Makefile.in: Rebuild.
4230         * java/lang/natRuntime.cc (insertSystemProperties): Add
4231         "sun.boot.class.path".
4232
4233 2003-08-07  Andrew Haley  <aph@redhat.com>
4234
4235         * java/io/PrintStream.java: Don't crash on a null string.
4236         
4237 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4238
4239         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4240         * configure: Regenerate.
4241
4242 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4243
4244         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4245         SocketImpl. Update Javadoc.
4246         (bind): Call close() not impl.close() in event of exception.
4247         (connect): Likewise.
4248         Remove superfluous null checks throughout.
4249         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4250         Don't create an extra socket. Fix for PR libgcj/10868.
4251         (bind): Clean up exception handling.
4252         Remove superfluous null checks throughout.
4253
4254 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4255             Bryce McKinlay  <bryce@mckinlay.net.nz>
4256
4257         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4258         ready-to-write argument to _Jv_Select. Reset the socket back to 
4259         non-blocking state after connecting.
4260         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4261         Throw SocketTimeoutException not InterruptedIOException.
4262         (read): Throw SocketTimeoutException not InterruptedIOException.
4263
4264 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4265
4266         * java/lang/Thread.java (Thread): Check for null "name" from
4267         start of private constructor, not after calling the private
4268         constructor.
4269
4270 2003-08-06  Tom Tromey  <tromey@redhat.com>
4271
4272         * java/io/FilePermission.java (equals): Use correct index for
4273         last character of path.
4274
4275 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4276
4277         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4278         * configure.in: Compare with_cross_host to build_alias, not build.
4279         * aclocal.m4: Regenerate.
4280         * configure: Regenerate.
4281
4282 2003-08-05  Tom Tromey  <tromey@redhat.com>
4283
4284         Fix for PR libgcj/11779:
4285         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4286         class.
4287
4288         * java/lang/reflect/Method.java: Updated status comment.
4289         Imported javadoc from Classpath and re-ordered methods.
4290         * java/lang/reflect/Constructor.java: Reindented.  Updated
4291         status comment.  Imported javadoc from Classpath and re-ordered
4292         methods.
4293
4294 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4295
4296         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4297         Add keyLocation parameter.
4298         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4299         string.
4300         (paramString): Generate keyChar string according to keyChar, not
4301         keyCode.
4302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4303         (state_to_awt_mods): Handle ALT key.
4304         (keyevent_state_to_awt_mods): New function.
4305         (get_first_keyval_from_keymap): New function.
4306         (keysym_to_awt_keycode): Get virtual key code from keymap.
4307         Handle missing VK_ values.
4308         (keysym_to_awt_keylocation): New function.
4309         (keyevent_to_awt_keychar): New function.
4310         (generates_key_typed_event): Handle non-text-component case.
4311         Handle GDK_KP_Delete and GDK_KP_Enter.
4312         (awt_event_handler): Call new functions to get postKeyEvent
4313         parameters.
4314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4315         Update postKeyEvent method signature.
4316         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4317         VK_ defines.
4318
4319 2003-08-05  Matthias Klose  <doko@debian.org>
4320
4321         * aclocal.m4: check for libart-config binary
4322           under the name libart2-config as well.
4323         * configure: regenerated.
4324
4325 2003-08-04  David P Grove  <groved@us.ibm.com>
4326
4327         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4328         when groupingSize is 0.
4329         (parse): Likewise.
4330
4331 2003-08-04  Matthias Klose  <doko@debian.org>
4332
4333         * libart.m4: check for libart-config binary
4334           under the name libart2-config as well.
4335         * configure, aclocal.m4: regenerated.
4336
4337 2003-08-02  Michael Koch  <konqueror@gmx.de>
4338
4339         * java/nio/ByteBufferImpl.java
4340         (getChar): Check remaining bytes, fixed comment about endianess.
4341         (putChar): Likewise.
4342         (getShort): Likewise.
4343         (putShort): Likewise.
4344         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4345         endianess.
4346         (putInt): Likewise.
4347         (getLong): Likewise.
4348         (putLong): Likewise.
4349         (getFloat): Likewise.
4350         (putFloat): Likewise.
4351         (getDouble): Likewise.
4352         (putDouble): Likewise.
4353         * java/nio/DirectByteBufferImpl.java
4354         (getChar): Wrapped code, fixed comment about endianess.
4355         (putchar): Likewise.
4356         (getShort): Likewise.
4357         (putShort): Likewise.
4358         (getInt): Fixed conversion, fixed comment about endianess.
4359         (putInt): Likewise.
4360         (getLong): Likewise.
4361         (putLong): Likewise.
4362         (getFloat): Likewise.
4363         (putFloat): Likewise.
4364         (getDouble): Likewise.
4365         (putDouble): Likewise.
4366         * java/nio/MappedByteBufferImpl.java
4367         (compact): Implemented.
4368         (getChar): Implemented.
4369         (putChar): Implemented.
4370         (getDouble): Implemented.
4371         (putdouble): Implemented.
4372         (getFloat): Implemented.
4373         (putFloat): Implemented.
4374         (getInt): Implemented.
4375         (putInt): Implemented.
4376         (getLong): Implemented.
4377         (putLong): Implemented.
4378         (getShort): Implemented.
4379         (putShort): Implemented.
4380         * java/nio/channels/FileChannelImpl.java
4381         (read): Set position where to access file.
4382         (write): Likewise.
4383         (transferTo): Flip buffer after read and before write.
4384         (transferFrom): Likewise.
4385
4386 2003-08-02  Michael Koch  <konqueror@gmx.de>
4387
4388         * gnu/java/lang/ArrayHelper.java
4389         (equalsArray): Reformated, added method documentation.
4390
4391 2003-08-02  Michael Koch  <konqueror@gmx.de>
4392
4393         * java/net/URL.java
4394         (URL): Added paragraph about the
4395         gnu.java.net.nocache_protocol_handlers property.
4396         (ph_cache): Renamed from handlers to match classpath's implementation.
4397         Reordered it with factory and serialVersionUID member variables.
4398         (cache_handlers): New member variable.
4399         (static): New static initializer to initialize cache_handlers from
4400         gnu.java.net.nocache_protocol_handlers property.
4401         (URL): Use ph_cache instead of handlers, reformatted some code to
4402         match classpath's implementation.
4403
4404 2003-08-01  Tom Tromey  <tromey@redhat.com>
4405
4406         Fix for PR libgcj/11241:
4407         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4408         initialCapacity is 0, set it to 1.
4409
4410 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4411
4412         * java/net/SocketImpl.java (toString): Display the remote address
4413         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4414
4415 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4416
4417         * javax/swing/border/BevelBorder.java,
4418         javax/swing/border/EtchedBorder.java,
4419         javax/swing/border/LineBorder.java,
4420         javax/swing/border/MatteBorder.java,
4421         javax/swing/border/SoftBevelBorder.java,
4422         javax/swing/plaf/BorderUIResource.java,
4423         javax/swing/plaf/ComponentUI.java,
4424         javax/swing/plaf/TreeUI.java,
4425         javax/swing/plaf/basic/BasicBorders.java,
4426         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4427         javax/swing/plaf/basic/BasicTreeUI.java:
4428         Prepend "doc-files" to all paths to embedded Javadoc images, so
4429         that the generated documentation contains the correct URL.
4430
4431 2003-08-01  Tom Tromey  <tromey@redhat.com>
4432
4433         * configure: Rebuilt.
4434         * configure.in (tool_include_dir): Redefine to match gcc.
4435
4436 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4437             Mark Wielaard  <mark@klomp.org>
4438             
4439         * java/math/BigDecimal (divide): Correctly handle
4440         ROUND_HALF_EVEN when amount is greater than 0.5.
4441         Simplify and optimize code.
4442
4443 2003-07-31  Tom Tromey  <tromey@redhat.com>
4444
4445         More for PR libgcj/11737:
4446         * java/io/ObjectInputStream.java (processResolution): Use
4447         getMethod.
4448         (getMethod): Make method accessible.
4449         (getField): Make field accessible.
4450         (setBooleanField): Don't call setAccessible here.
4451         (setByteField, setCharField, setDoubleField, setFloatField,
4452         setIntField, setLongField, setShortField, setObjectField):
4453         Likewise.
4454         (callReadMethod): Don't check whether method is null.  Catch
4455         NoSuchMethodException.
4456         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4457         cause on thrown exceptions.
4458
4459 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4460
4461         Fix for PR libgcj/11728:
4462         * java/util/HashMap.java (readObject): Set size.
4463
4464 2003-07-31  Tom Tromey  <tromey@redhat.com>
4465
4466         Fix for PR libgcj/11737:
4467         * java/io/ObjectOutputStream.java (getMethod): Make method
4468         accessible.
4469         (getField): Likewise.
4470         (writeObject): Use getMethod.
4471         Import PrivilegedAction and AccessController.
4472         (callWriteMethod): Don't check whether m is null.  Catch
4473         NoSuchMethodException.
4474
4475         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4476         (containsAngle): Likewise.
4477         (getStartPoint): Rewrote.
4478         (getEndPoint): Likewise.
4479         (setAngleStart(Point2D)): Likewise.
4480
4481 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4482             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4483
4484         * configure.in: Add new THREADCXXFLAGS variable.
4485         Handle POSIX threads on alpha*-dec-osf*.
4486         * configure: Regenerate.
4487         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4488         * Makefile.in: Regenerate.
4489
4490 2003-07-08  Andrew Haley  <aph@redhat.com>
4491
4492         * include/i386-signal.h (RESTORE): New.
4493         (INIT_SEGV): Set restorer.
4494         (INIT_FPE): Likewise.
4495
4496 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4497
4498         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4499         than getXLFD.
4500         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4501         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4503         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4505         Likewise.
4506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4507         Likewise.
4508
4509 2003-07-29  Tom Tromey  <tromey@redhat.com>
4510
4511         * defineclass.cc (handleField): Throw exception if field name is
4512         duplicated.
4513         (handleMethod): Throw exception for duplicate method.
4514
4515 2003-07-29  Tom Tromey  <tromey@redhat.com>
4516
4517         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4518         output buffer is too small.
4519
4520 2003-07-28  Tom Tromey  <tromey@redhat.com>
4521
4522         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4523         New method.
4524         Include gnu/gcj/runtime/StringBuffer.h.
4525         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4526         native method.
4527         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4528
4529 2003-07-27  Anthony Green  <green@redhat.com>
4530
4531         * configure.in: Fix newlib check.
4532         * configure: Rebuilt.
4533
4534 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4535
4536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4537         Create vbox and layout for GtkPlug.
4538
4539 2003-07-27  Michael Koch  <konqueror@gmx.de>
4540
4541         * java/awt/Window.java
4542         (Window): Removed now unused constructor. It became oboslete with the
4543         new embedded window patch.
4544
4545 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4546             Michael Koch  <konqueror@gmx.de>
4547
4548         * gnu/java/awt/EmbeddedWindow.java
4549         (EmbeddedWindow): Extends Frame instead of Window.
4550         (window_id): New member variable to store the native window handle.
4551         (create): Removed.
4552         (EmbeddedWindow): New constructor.
4553         (addNotify): New method.
4554         (getHandler): Likewise.
4555         (setWindowPeer): New native method.
4556         * gnu/java/awt/EmbeddedWindowSupport.java
4557         (EmbeddedWindowSupport): Fixed documentation.
4558         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4559         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4560         window data.
4561         * gnu/java/awt/natEmbeddedWindow.cc
4562         (create): Removed.
4563         (setWindowPeer): New method.
4564         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4565         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4566         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4567         New files
4568         * gnu/java/awt/peer/gtk/GtkToolkit.java
4569         (GtkToolkit): Implements EmbeddedWindowSupport.
4570         (createEmbeddedWindow): New method.
4571         * java/awt/Window.java
4572         (Window): Removed.
4573         * Makefile.am
4574         (java_source_files): Added EmbeddedWindowPeer.java.
4575         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4576         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4577         * Makefile.in: Regenerated.
4578
4579 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4580
4581         * java/lang/Win32Process.java (ConcreteProcess): Surround
4582         a command line element with quotes if it contains an
4583         embedded space or tab.
4584         * java/lang/natWin32Process.cc (startProcess): Do not
4585         surround command line elements with quotes here.
4586
4587         * configure.host: Use -fcheck-references and 
4588         -fuse-divide-subroutine for MinGW until we fix
4589         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4590         Structured Exception Handling (SEH).
4591
4592         * win32.cc (_Jv_platform_initProperties): Use generic names
4593         like "x86" for the "os.arch" property to be consistent with
4594         what Sun's JDK produces. Use the wProcessorArchitecture
4595         member of the Win32 SYSTEM_INFO structure, filled in a call 
4596         to GetSystemInfo( ), instead of dwProcessorType.
4597
4598 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4599             Ranjit Mathew  <rmathew@hotmail.com>
4600
4601         * Makefile.am: Use cross-compiling gcjh from the path for
4602         a crossed-native build.
4603         * Makefile.in: Rebuilt.
4604         * configure.in: Include libltdl in non-newlib builds.
4605         Moved determination of gcj used to build libraries to
4606         its own section. Fixed cross-compilation issues for
4607         non-newlib builds.
4608         * configure: Rebuilt.
4609
4610 2003-07-25  Tom Tromey  <tromey@redhat.com>
4611
4612         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4613         (write): Likewise.
4614         (read): Likewise.
4615         (read): Likewise.
4616
4617 2003-07-25  Mark Wielaard  <mark@klomp.org>
4618
4619         * java/lang/natRuntime.cc (_load): Add library name to
4620         UnsatisfiedLinkError when thrown.
4621
4622 2003-07-25  Mark Wielaard  <mark@klomp.org>
4623
4624         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4625         added.
4626         * Makefile.in: Likewise.
4627
4628 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4629
4630         * java/awt/Component.java
4631         (getPreferredSize): Call preferredSize.
4632         (preferredSize): Moved body of getPreferredSize here.
4633         (getMinimumSize): Call minimumSize.
4634         (minimumSize): Moved body of getMinimumSize here.
4635         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4636         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4637         pass -1
4638         * java/awt/Container.java
4639         (validate): Don't validate if there is no peer.
4640         (update): Clear background before calling paint.
4641         * java/awt/GridBagLayout.java
4642         Completed the implementation and fixed several bugs.
4643         * java/awt/MediaTracker.java
4644         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4645         combine flags.
4646         * java/awt/Window.java
4647         (Window): Don't call setVisible(false). Windows are invisible by
4648         default and calling virtual methods from constructor causes
4649         compatibility problems (e.g. subclasses may assume that the peer
4650         already exists).
4651
4652 2003-07-25  Michael Koch  <konqueror@gmx.de>
4653
4654         * java/awt/GridBagLayout.java:
4655         Totally reworked and partly implemented.
4656         * java/awt/GridBagLayoutInfo.java:
4657         New file.
4658
4659 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4660
4661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4662         Don't pack label in an event box.
4663
4664 2003-07-24  Tom Tromey  <tromey@redhat.com>
4665
4666         For PR libgcj/7482:
4667         * verify.cc (ref_intersection): New class.
4668         (type_val): Removed unresolved_reference_type,
4669         uninitialized_unresolved_reference_type.
4670         (is_assignable_from_slow): Rewrote.
4671         (type::data): Removed.
4672         (type::klass): New field.
4673         (type::type): Added verifier argument.
4674         (type::resolve): Removed.
4675         (type::set_uninitialized): Updated for change to type_val.
4676         (type::set_initialized): Likewise.
4677         (type::isinitialized): Likewise.
4678         (type::print): Likewise.
4679         (construct_primitive_array_type): Likewise.
4680         (type::compatible): Updated for change to type_val and to use
4681         ref_intersection.
4682         (type::isarray): Updated to use ref_intersection.
4683         (type::isinterface): Likewise.
4684         (type::element_type): Likewise.
4685         (type::to_array): Likewise.
4686         (type::verify_dimensions): Rewrote.
4687         (type::merge): Likewise.
4688         (check_class_constant): Updated for type constructor change.
4689         (check_constant): Likewise.
4690         (check_field_constant): Likewise.
4691         (get_one_type): Likewise.
4692         (initialize_stack): Likewise.
4693         (verify_instructions_0): Likewise.
4694         (verify_instructions_0) [op_invokeinterface]: Removed special
4695         case.
4696         (isect_list): New field.
4697         (_Jv_BytecodeVerifier): Initialize it.
4698         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4699
4700 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4701
4702         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4703         unless field size is 2.
4704
4705 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4706
4707         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4708         (connectHooks): New method.
4709         (handleEvent): Remove.
4710         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4711         (createHooks): Remove declaration.
4712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4713         (generates_key_typed_event): Change to handle only certain
4714         keyvals.
4715         (awt_event_handler): Add special handling for GtkTextView.
4716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4717         (textcomponent_commit_cb): New function.
4718         (textcomponent_changed_cb): Likewise.
4719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4720         (connectHooks): Remove.
4721
4722 2003-07-23  Tom Tromey  <tromey@redhat.com>
4723
4724         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4725
4726         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4727
4728 2003-07-22  Tom Tromey  <tromey@redhat.com>
4729
4730         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4731         Include limits.h.
4732
4733 2003-07-22  Tom Tromey  <tromey@redhat.com>
4734
4735         * java/awt/Window.java (getWarningString): Just return the
4736         string.
4737         (Window): Set warningString; check with security manager.
4738
4739 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4740
4741         * gnu/awt/xlib/XGraphicsConfiguration.java
4742         (FontMetricsCache): Made static.
4743  
4744 2003-07-22  Tom Tromey  <tromey@redhat.com>
4745
4746         * java/net/URLEncoder.java (encode(String)): Use platform default
4747         encoding.
4748         (encode(String,String)): Convert to 2-digit upper-case hex
4749         number.
4750         (hex): New field.
4751
4752 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4753
4754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4755         (create): Remove unused method implementation.
4756         (connectHooks): Remove debug messages.
4757
4758 2003-07-20  Anthony Green  <green@redhat.com>
4759
4760         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4761         CloneNotSupportedException.
4762         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4763         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4764         * gnu/gcj/xlib/GC.java (clone): Ditto.
4765         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4766         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4767
4768         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4769         handler.
4770         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4771
4772 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4773
4774         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4775         String.  Put dlerror() message into exception.
4776         Include UnsatisfiedLinkError.
4777         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4778         String.  Now native.
4779
4780 2003-07-20  Tom Tromey  <tromey@redhat.com>
4781
4782         * java/lang/Runtime.java: Comment fix.
4783         * java/lang/ClassLoader.java (isAncestorOf): New method.
4784         (getParent): Uncommented security check.  Use isAncestorOf.
4785         * include/jvm.h (_Jv_CheckAccess): Declare.
4786         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4787         access check.
4788         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4789         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4790         class loader to _Jv_GetArrayClass.
4791         Include ArrayIndexOutOfBoundsException.h.
4792         * java/lang/reflect/Field.java: Update comment to reflect status.
4793         (equals): Fixed indentation.
4794         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4795         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4796         * java/lang/Class.java (memberAccessCheck): New method from
4797         Classpath.
4798         (checkMemberAccess): Removed.
4799         (getDeclaredMethod): Use memberAccessCheck.
4800         (getField): Likewise.
4801         (getMethod): Likewise.
4802         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4803         (_Jv_SearchMethodInClass): Likewise.
4804         * prims.cc (_Jv_CheckAccess): New function.
4805         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4806         (_Jv_JNI_GetAnyFieldID): Likewise.
4807         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4808         (getClassLoader): Added security check.
4809         (getConstructor): Call memberAccessCheck.
4810         (getDeclaredClasses): Likewise.
4811         (getDeclaredField): Likewise.
4812         (getDeclaredFields): Likewise.
4813         (_getConstructors): Likewise.
4814         (getDeclaredConstructor): Likewise.
4815         (getDeclaredMethods): Likewise.
4816         (getFields): Likewise.
4817         (getMethods): Likewise.
4818         (newInstance): Likewise.
4819         (_Jv_MakeVTable): Put method name in exception.
4820         * java/lang/reflect/natMethod.cc (getType): Use
4821         getClassLoaderInternal.
4822         (_Jv_GetTypesFromSignature): Likewise.
4823         (invoke): Perform access check.
4824         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4825         Include ArrayIndexOutOfBoundsException.h.
4826         * java/lang/reflect/natField.cc (getType): Use
4827         getClassLoaderInternal.
4828         (_Jv_CheckFieldAccessibility): Removed.
4829         (getAddr): Use _Jv_CheckAccess; find caller.
4830         Include ArrayIndexOutOfBoundsException.h.
4831
4832 2003-07-20  Michael Koch  <konqueror@gmx.de>
4833
4834         * java/net/URL.java
4835         (URL): Fixed documentation to name an argument correcty, Reformatted
4836         one method declaration.
4837         (getURLStreamHandler): Added documentation from classpath.
4838
4839 2003-07-19  Tom Tromey  <tromey@redhat.com>
4840
4841         * mauve-libgcj: Don't run CollationElementIterator tests.
4842
4843 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4844
4845         * java/net/URLClassLoader.java (addURL): Moved implementation to
4846         private addURLImpl() to avoid calling addURL from the constructor.
4847         (addURLImpl): Contains the code that was previously in addURL.
4848         (addURLs): Call addURLImpl(), not addURL().
4849
4850 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4851
4852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4853         Handle missing event cases, connect to "value-changed" signal.
4854
4855 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4856
4857         * java/awt/geom/CubicCurve2D.java,
4858         java/awt/geom/Line2D.java,
4859         java/awt/geom/QuadCurve2D.java,
4860         java/awt/geom/Rectangle2D.java: 
4861         Fix path some calculations, make path iterators follow
4862         a consistent style.
4863
4864 2003-07-18  Mark Wielaard  <mark@klomp.org>
4865
4866         * java/util/logging/Handler.java (isLoggable): Check record level
4867         smaller or equal.
4868
4869 2003-07-17  Michael Koch  <konqueror@gmx.de>
4870
4871         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4872         Reworked imports.
4873
4874 2003-07-14  Michael Koch  <konqueror@gmx.de>
4875
4876         * gnu/java/rmi/server/UnicastServerRef.java:
4877         New version from classpath.
4878
4879 2003-07-14  Michael Koch  <konqueror@gmx.de>
4880
4881         * java/awt/image/MemoryImageSource.java,
4882         java/beans/PropertyEditorManager.java,
4883         javax/naming/CompoundName.java,
4884         javax/naming/spi/NamingManager.java,
4885         javax/swing/AbstractButton.java,
4886         javax/swing/ButtonModel.java,
4887         javax/swing/SwingUtilities.java,
4888         javax/swing/UIManager.java,
4889         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4890         javax/swing/event/AncestorEvent.java,
4891         javax/swing/event/InternalFrameEvent.java,
4892         java/util/zip/ZipFile.java:
4893         New versions from classpath.
4894
4895 2003-07-13  Michael Koch  <konqueror@gmx.de>
4896
4897         * gnu/java/nio/FileChannelImpl.java,
4898         gnu/java/nio/natFileChannelImpl.cc: Removed.
4899         * java/io/FileInputStream.java,
4900         java/io/FileOutputStream.java,
4901         java/io/RandomAccessFile.java,
4902         java/nio/MappedByteBufferImpl.java:
4903         Import java.nio.channels.FileChannelImpl instead of
4904         gnu.java.nio.FileChannelImpl.
4905         * java/nio/channels/FileChannelImpl.java,
4906         java/nio/channels/natFileChannelImpl.cc:
4907         New files.
4908         * Makefile.am
4909         (ordinary_java_source_files):
4910         Removed gnu/java/nio/FileChannelImpl.java and added
4911         java/nio/channels/FileChannelImpl.java.
4912         (nat source_files):
4913         Removed gnu/java/nio/natFileChannelImpl.cc and added
4914         java/nio/channels/natFileChannelImpl.cc.
4915         * Makefile.in: Regenerated.
4916
4917 2003-07-13  Michael Koch  <konqueror@gmx.de>
4918
4919         * javax/swing/plaf/basic/BasicBorders.java,
4920         javax/swing/plaf/basic/BasicLabelUI.java,
4921         javax/swing/plaf/basic/BasicLookAndFeel.java,
4922         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4923         javax/swing/plaf/basic/BasicTextUI.java,
4924         javax/swing/plaf/metal/MetalLookAndFeel.java:
4925         New versions from classpath.
4926
4927 2003-07-13  Michael Koch  <konqueror@gmx.de>
4928
4929         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4930         * gnu/java/awt/peer/gtk/GdkGraphics.java
4931         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4932         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4933         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4934         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4935         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4936         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4937         * gnu/java/awt/peer/gtk/GtkClipboard.java
4938         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4939         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4940         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4941         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4942         * gnu/java/awt/peer/gtk/GtkImage.java
4943         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4944         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4945         * gnu/java/awt/peer/gtk/GtkListPeer.java
4946         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4947         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4948         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4949         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4950         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4951         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4952         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4953         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4954         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4955         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4956         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4957         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4958
4959 2003-07-13  Michael Koch  <konqueror@gmx.de>
4960
4961         * gnu/java/locale/LocaleInformation_de.java
4962         * gnu/java/locale/LocaleInformation_en.java
4963         * gnu/java/locale/LocaleInformation_nl.java
4964
4965 2003-07-13  Michael Koch  <konqueror@gmx.de>
4966
4967         * gnu/java/awt/EmbeddedWindow.java,
4968         gnu/java/awt/EmbeddedWindowSupport.java,
4969         gnu/java/awt/natEmbeddedWindow.cc:
4970         New files.
4971         * java/awt/Window.java
4972         (Window): New constructor to support embedded windows.
4973         * Makefile.am
4974         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4975         gnu/java/awt/EmbeddedWindowSupport.java.
4976         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4977         * Makefile.in: Regenerated.
4978
4979 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4980
4981         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4982         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4983         * java/awt/im/InputContext.java: Remove a redundant
4984         partial line.
4985
4986 2003-07-09  Tom Tromey  <tromey@redhat.com>
4987
4988         * Makefile.in: Rebuilt.
4989         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4990
4991 2003-07-09  Mark Wielaard  <mark@klomp.org>
4992
4993         * java/io/ObjectOutputStream.java (writeObject): break after
4994         calling writeClassDescriptor().
4995
4996 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4997
4998         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4999
5000 2003-07-09  Michael Koch  <konqueror@gmx.de>
5001
5002         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5003         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5004         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5005         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5006         Explicitly import used classes.
5007         * java/awt/Container.java: New version from classpath.
5008
5009 2003-07-09  Michael Koch  <konqueror@gmx.de>
5010
5011         * libgcj.pc.in: New file.
5012         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5013         * Makefile.in: Regenerated.
5014         * configure: Regenrated.
5015         * configure.in: Create libgcj.pc from libgcj.pc.in.
5016
5017 2003-07-08  Mark Wielaard <mark@klomp.org>
5018
5019         * gcj/cni.h: CNI now expands to Compiled Native Interface.
5020
5021         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5022         * java/lang/fdlibm.h: Likewise.
5023
5024 2003-07-07  Adam Megacz <adam@xwt.org>
5025
5026         * posix.cc: added #include<stdio.h>
5027                 
5028 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5029
5030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5031         formatting.
5032
5033         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5034         (setCaretPosition, setEditable): Rely entirely on native
5035         implementation.
5036         (getArgs): Remove.
5037         (postTextEvent): New method.
5038         (handleEvent): New method.
5039         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5040         method.
5041         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5043         (keysym_to_awt_keycode): Fix range checks.
5044         (generates_key_typed_event): New function.
5045         (awt_event_handler): Post AWT_KEY_RELEASED events to event
5046         queue.
5047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5048         (gtkInit): Store TextComponent's postTextEvent method ID.
5049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5050         (setText): Post TEXT_VALUE_CHANGED event to event queue.
5051
5052 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5053
5054         * configure.in: Check for usleep declaration.
5055         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5056         * configure: Regenerate.
5057         * include/config.h.in: Likewise.
5058         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5059
5060 2003-07-01  Michael Koch  <konqueror@gmx.de>
5061
5062         * gnu/gcj/convert/natIconv.cc
5063         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5064         handle.
5065
5066 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5067
5068         * glib-2.0.m4: New file.
5069         * gtk-2.0.m4: New file.
5070         * glib.m4: Remove.
5071         * gtk.m4: Remove.
5072         * configure.in: Update AM_PATH_GTK macro call to
5073         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5075         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5076         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5077         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5078         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5079         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5080         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5081         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5082         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5083         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5084         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5085         jni/gtk-peer/gthread-jni.c,
5086         jni/gtk-peer/gthread-jni.h:
5087         New versions from classpath.
5088         * aclocal.m4: Regenerate.
5089         * configure: Regenerate.
5090         * Makefile.in: Regenerate.
5091         * gcj/Makefile.in: Regenerate.
5092         * include/Makefile.in: Regenerate.
5093         * testsuite/Makefile.in: Regenerate.
5094
5095 2003-06-30  Gary Benson  <gbenson@redhat.com>
5096
5097         For PR libgcj/11349:
5098         * javax/naming/spi/NamingManager.java (getURLContext): Use
5099         correct name for factory class.
5100
5101 2003-06-28  Michael Koch  <konqueror@gmx.de>
5102
5103         * java/io/PrintStream.java
5104         (checkError): Call flush() instead of direct flushing of the Writer
5105         object.
5106         (print): Call print(String) instead of direct print method of the
5107         Writer Object.
5108         (println): Call println(String) instead of direct println method of the
5109         Writer Object.
5110         (write): Simplified.
5111
5112 2003-06-28  Michael Koch  <konqueror@gmx.de>
5113
5114         * java/net/ServerSocket.java
5115         (setChannel): New method.
5116         * java/net/Socket.java
5117         (setChannel): New method.
5118
5119 2003-06-27  Michael Koch  <konqueror@gmx.de>
5120
5121         * java/beans/beancontext/BeanContextSupport.java:
5122         New version from classpath.
5123
5124 2003-06-27  Michael Koch  <konqueror@gmx.de>
5125
5126         * java/awt/Window.java,
5127         java/awt/font/GraphicAttribute.java,
5128         java/awt/font/ImageGraphicAttribute.java,
5129         java/awt/image/DataBufferByte.java,
5130         java/awt/image/DataBufferInt.java,
5131         java/awt/image/DataBufferUShort.java,
5132         java/awt/image/DirectColorModel.java,
5133         java/awt/image/PixelGrabber.java:
5134         New versions from classpath.
5135
5136 2003-06-27  Michael Koch  <konqueror@gmx.de>
5137
5138         * java/security/Certificate.java
5139         (getGuarantor): Removed wrong @deprecated tag.
5140         (getPrincipal): Likewise.
5141         (getPublicKey): Likewise.
5142         (encode): Likewise.
5143         (decode): Likewise.
5144         (getFormat): Likewise.
5145         (toString): Likewise.
5146         * java/security/cert/PolicyQualifierInfo.java
5147         (PolicyQualifierInfo): Made final.
5148         * javax/security/auth/x500/X500Principal.java
5149         (serialVersionUID): New member variable.
5150
5151 2003-06-27  Michael Koch  <konqueror@gmx.de>
5152
5153         * java/text/Format.java
5154         (serialVersionUID): Fixed value.
5155
5156 2003-06-27  Michael Koch  <konqueror@gmx.de>
5157
5158         * java/net/Inet4Address.java
5159         (Inet4Address): Made package-private.
5160         * java/net/Inet6Address.java
5161         (Inet4Address): Made package-private.
5162
5163 2003-06-27  Michael Koch  <konqueror@gmx.de>
5164
5165         * java/io/RandomAccessFile.java
5166         (readLine): Removed wrong @deprecated tag.
5167         (getChannel): Made final.
5168
5169 2003-06-27  Michael Koch  <konqueror@gmx.de>
5170
5171         * gnu/java/nio/FileChannelImpl.java
5172         (write): Removed.
5173
5174 2003-06-27  Michael Koch  <konqueror@gmx.de>
5175
5176         * java/nio/ByteBufferImpl.java
5177         (ByteBufferImpl): Made it a package-private class
5178         * java/nio/CharBufferImpl.java
5179         (CharBufferImpl): Made it a package-private class
5180         * java/nio/DirectByteBufferImpl.java
5181         (DirectByteBufferImpl): Made it a package-private class
5182         * java/nio/DoubleBufferImpl.java
5183         (DoubleBufferImpl): Made it a package-private class
5184         * java/nio/FloatBufferImpl.java
5185         (FloatBufferImpl): Made it a package-private class
5186         * java/nio/IntBufferImpl.java
5187         (IntBufferImpl): Made it a package-private class
5188         * java/nio/LongBufferImpl.java
5189         (LongBufferImpl): Made it a package-private class
5190         * java/nio/ShortBufferImpl.java
5191         (ShortBufferImpl): Made it a package-private class
5192         * java/nio/channels/FileChannel.java
5193         (write): Made final.
5194         * java/nio/channels/ServerSocketChannel.java
5195         (ServerSocketChanne): Made protected.
5196
5197 2003-06-27  Michael Koch  <konqueror@gmx.de>
5198
5199         * javax/naming/CompositeName.java
5200         (serialVersionUID): New member variable.
5201         * javax/naming/CompoundName.java
5202         (serialVersionUID): New member variable.
5203         * javax/naming/InitialContext.java
5204         (InitialContext): Throws NamingException.
5205         (init): Likewise.
5206         * javax/naming/LinkRef.java
5207         (serialVersionUID): New member variable.
5208         (gteLinkName): Throws NamingException.
5209         * javax/naming/NamingException.java
5210         (serialVersionUID): New member variable.
5211         * javax/naming/NamingSecurityException.java
5212         (NamingSecurityException): Made abstract.
5213         (serialVersionUID): New member variable.
5214         * javax/naming/ReferralException.java
5215         (serialVersionUID): New member variable.
5216         * javax/naming/StringRefAddr.java
5217         (serialVersionUID): New member variable.
5218         * javax/naming/directory/BasicAttribute.java:
5219         Reworked imports.
5220         (serialVersionUID): New member variable.
5221         (get): Throws NamingException.
5222         (getAll): Throws NamingException.
5223         * javax/naming/directory/BasicAttributes.java:
5224         Reworked imports.
5225         (serialVersionUID): New member variable.
5226         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5227         (serialVersionUID): New member variable.
5228
5229 2003-06-27  Michael Koch  <konqueror@gmx.de>
5230
5231         * Makefile.am
5232         (awt_java_source_files): Added new files:
5233         javax/swing/Popup.java,
5234         javax/swing/PopupFactory.java
5235         * Makefile.in: Regenerated.
5236
5237 2003-06-27  Michael Koch  <konqueror@gmx.de>
5238
5239         * javax/swing/JWindow.java,
5240         javax/swing/event/AncestorEvent.java,
5241         javax/swing/event/HyperlinkEvent.java,
5242         javax/swing/event/InternalFrameEvent.java,
5243         javax/swing/event/ListDataEvent.java,
5244         javax/swing/event/TableModelEvent.java,
5245         javax/swing/plaf/PopupMenuUI.java,
5246         javax/swing/plaf/SplitPaneUI.java,
5247         javax/swing/plaf/TabbedPaneUI.java,
5248         javax/swing/plaf/TextUI.java,
5249         javax/swing/plaf/TreeUI.java,
5250         javax/swing/plaf/basic/BasicTextUI.java,
5251         javax/swing/plaf/basic/BasicTreeUI.java:
5252         New versions from classpath.
5253         * javax/swing/Popup.java,
5254         javax/swing/PopupFactory.jav:
5255         New source files from classpath.
5256         * javax/swing/plaf/doc-files/TreeUI-1.png:
5257         New binary files from classpath.
5258
5259 2003-06-25  Michael Koch  <konqueror@gmx.de>
5260
5261         * Makefile.am
5262         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5263         * Makefile.in: Regenerated.
5264
5265 2003-06-25  Michael Koch  <konqueror@gmx.de>
5266
5267         * javax/swing/plaf/ActionMapUIResource.java,
5268         javax/swing/plaf/BorderUIResource.java,
5269         javax/swing/plaf/ButtonUI.java,
5270         javax/swing/plaf/ColorChooserUI.java,
5271         javax/swing/plaf/ColorUIResource.java,
5272         javax/swing/plaf/ComboBoxUI.java,
5273         javax/swing/plaf/ComponentInputMapUIResource.java,
5274         javax/swing/plaf/ComponentUI.java,
5275         javax/swing/plaf/DesktopIconUI.java,
5276         javax/swing/plaf/DesktopPaneUI.java,
5277         javax/swing/plaf/DimensionUIResource.java,
5278         javax/swing/plaf/FileChooserUI.java,
5279         javax/swing/plaf/FontUIResource.java,
5280         javax/swing/plaf/IconUIResource.java,
5281         javax/swing/plaf/InputMapUIResource.java,
5282         javax/swing/plaf/InsetsUIResource.java,
5283         javax/swing/plaf/InternalFrameUI.java,
5284         javax/swing/plaf/LabelUI.java,
5285         javax/swing/plaf/ListUI.java,
5286         javax/swing/plaf/MenuBarUI.java,
5287         javax/swing/plaf/MenuItemUI.java,
5288         javax/swing/plaf/OptionPaneUI.java,
5289         javax/swing/plaf/PanelUI.java,
5290         javax/swing/plaf/ProgressBarUI.java,
5291         javax/swing/plaf/RootPaneUI.java,
5292         javax/swing/plaf/ScrollBarUI.java,
5293         javax/swing/plaf/ScrollPaneUI.java,
5294         javax/swing/plaf/SeparatorUI.java,
5295         javax/swing/plaf/SliderUI.java,
5296         javax/swing/plaf/TableHeaderUI.java,
5297         javax/swing/plaf/TableUI.java,
5298         javax/swing/plaf/ToolBarUI.java,
5299         javax/swing/plaf/ToolTipUI.java,
5300         javax/swing/plaf/ViewportUI.java:
5301         New versions from classpath.
5302         * javax/swing/plaf/SpinnerUI.java: 
5303         New file from classpath
5304
5305 2003-06-25  Michael Koch  <konqueror@gmx.de>
5306
5307         * java/awt/image/ColorModel.java:
5308         New version from classpath.
5309
5310 2003-06-25  Michael Koch  <konqueror@gmx.de>
5311
5312         * java/net/PlainDatagramSocketImpl.java:
5313         Partly merged with classpath, this mainly adds documentation.
5314
5315 2003-06-25  Michael Koch  <konqueror@gmx.de>
5316
5317         * java/io/ObjectInputStream.java
5318         (readClassDescriptor): New method.
5319         (readObject): Moved functionality to readClassDescriptor().
5320         * java/io/ObjectOutputStream.java
5321         (writeClassDescriptor): New method.
5322         (writeObject): Moved functionality to writeClassDescriptor().
5323
5324 2003-06-25  Michael Koch  <konqueror@gmx.de>
5325
5326         * javax/swing/plaf/basic/BasicListUI.java,
5327         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5328         Added missing methods.
5329
5330 2003-06-25  Michael Koch  <konqueror@gmx.de>
5331
5332         * javax/swing/event/AncestorEvent.java
5333         javax/swing/event/HyperlinkEvent.java
5334         javax/swing/event/InternalFrameEvent.java
5335         javax/swing/event/ListDataEvent.java
5336         javax/swing/event/TableModelEvent.java:
5337         Compile fixes.
5338
5339 2003-06-24  Michael Koch  <konqueror@gmx.de>
5340
5341         * java/net/URL.java:
5342         Renamed "handler" to "ph" in the whole file to match classpaths
5343         version.
5344         * java/net/URLStreamHandler.java:
5345         (equals): Renamed "handler" to "ph".
5346
5347 2003-06-24  Michael Koch  <konqueror@gmx.de>
5348
5349         * javax/swing/event/AncestorEvent.java,
5350         javax/swing/event/HyperlinkEvent.java,
5351         javax/swing/event/InternalFrameEvent.java,
5352         javax/swing/event/ListDataEvent.java,
5353         javax/swing/event/TableModelEvent.java,
5354         javax/swing/event/TreeWillExpandListener.java,
5355         javax/swing/plaf/ComponentUI.java,
5356         javax/swing/plaf/DesktopIconUI.java,
5357         javax/swing/plaf/DesktopPaneUI.java,
5358         javax/swing/plaf/DimensionUIResource.java,
5359         javax/swing/plaf/FileChooserUI.java,
5360         javax/swing/plaf/FontUIResource.java,
5361         javax/swing/plaf/IconUIResource.java,
5362         javax/swing/plaf/InputMapUIResource.java,
5363         javax/swing/plaf/InsetsUIResource.java,
5364         javax/swing/plaf/InternalFrameUI.java,
5365         javax/swing/plaf/LabelUI.java,
5366         javax/swing/plaf/ListUI.java,
5367         javax/swing/plaf/MenuBarUI.java,
5368         javax/swing/plaf/MenuItemUI.java,
5369         javax/swing/plaf/OptionPaneUI.java,
5370         javax/swing/plaf/PanelUI.java,
5371         javax/swing/plaf/ProgressBarUI.java,
5372         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5373         javax/swing/plaf/doc-files/ComponentUI-1.png:
5374         New versions from classpath.
5375
5376 2003-06-24  Michael Koch  <konqueror@gmx.de>
5377
5378         * java/nio/Buffer.java
5379         (cap): Made package-private.
5380         (pos): Likewise.
5381         (limit): Likewise.
5382         (mark): Likewise.
5383
5384 2003-06-24  Michael Koch  <konqueror@gmx.de>
5385
5386         * java/net/SocketImpl.java
5387         (shutdownInput): Made it non-abstract method throwing an exception
5388         like in SUNs JRE.
5389         (shutdownOutput): Likewise.
5390         * java/net/SocketInputStream.java,
5391         java/net/SocketOutputStream.java:
5392         New files from classpath.
5393
5394 2003-06-24  Michael Koch  <konqueror@gmx.de>
5395
5396         * java/awt/Font.java,
5397         java/awt/Window.java,
5398         java/awt/color/ColorSpace.java,
5399         java/awt/datatransfer/StringSelection.java,
5400         java/awt/image/ColorModel.java:
5401         New versions from classpath.
5402
5403 2003-06-24  Michael Koch  <konqueror@gmx.de>
5404
5405         * Makefile.am
5406         (awt_java_source_files): Added new files:
5407         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5408         javax/swing/plaf/basic/BasicSplitPaneUI.java
5409         * Makefile.in: Regenerated.
5410
5411 2003-06-24  Michael Koch  <konqueror@gmx.de>
5412
5413         * javax/swing/text/JTextComponent.java:
5414         New version from classpath.
5415
5416 2003-06-24  Michael Koch  <konqueror@gmx.de>
5417
5418         * javax/swing/Timer.java,
5419         javax/swing/plaf/ActionMapUIResource.java,
5420         javax/swing/plaf/ButtonUI.java,
5421         javax/swing/plaf/ColorChooserUI.java,
5422         javax/swing/plaf/ColorUIResource.java,
5423         javax/swing/plaf/ComboBoxUI.java,
5424         javax/swing/plaf/ComponentInputMapUIResource.java,
5425         javax/swing/plaf/basic/BasicBorders.java:
5426         New versions from classpath.
5427         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5428         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5429         New file from classpath.
5430         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5431         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5432         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5433         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5434         javax/swing/plaf/doc-files/ComponentUI-1.png:
5435         New binary files from classpath.
5436
5437 2003-06-24  Michael Koch  <konqueror@gmx.de>
5438
5439         * java/io/LineNumberReader.java
5440         (skip): Dont do line number accounting here as this is already done in
5441         read(), simplified.
5442
5443 2003-06-21  Michael Koch  <konqueror@gmx.de>
5444
5445         * java/io/File.java
5446         (static): Load javaio lib if existing (only in classpath).
5447         (File): Revised documentation to show the correct argument name.
5448         (createTempFile): Partly merged with classpath.
5449         (compareTo): Simplified.
5450         (lastModified): Throw exception if time < 0.
5451         (deleteOnExit): Revised documentation.
5452
5453 2003-06-21  Michael Koch  <konqueror@gmx.de>
5454
5455         * java/net/PlainSocketImpl.java:
5456         Reformatted.
5457         (PlainSocketImpl): Merged class documentaion with classpath.
5458         (in): Moved.
5459         (out): Moved.
5460         (PlainSocketImpl): New empty constructor.
5461         (finalize): Moved.
5462         (setOption): Merged documentation from classpath.
5463         (getOption): Likewise.
5464         (create): Likewise.
5465         (connect): Likewise.
5466         (bind): Likewise.
5467         (listen): Likewise.
5468         (accept): Likewise.
5469         (available): Likewise.
5470         (close): Likewise.
5471         (read): Likewise.
5472         (write): Likewise.
5473         (getInputStream): Made synchronozed to get sure that only one stream
5474         object can be created for this socket, merged documentation from
5475         classpath.
5476         (getOutputStream): Likewise.
5477
5478 2003-06-21  Michael Koch  <konqueror@gmx.de>
5479
5480         * java/net/PlainSocketImpl.java:
5481         Reformatting.
5482         (static): New implicit method.
5483         (read): Made package private.
5484         (write): Likewise.
5485
5486 2003-06-21  Michael Koch  <konqueror@gmx.de>
5487
5488         * java/util/SimpleTimeZone.java:
5489         Removed unneeded import, reformatting.
5490
5491 2003-06-21  Michael Koch  <konqueror@gmx.de>
5492
5493         * java/text/DateFormat.java,
5494         java/text/SimpleDateFormat.java,
5495         java/util/Locale.java:
5496         New versions from classpath.
5497
5498 2003-06-21  Michael Koch  <konqueror@gmx.de>
5499
5500         * javax/swing/SpinnerModel.java:
5501         New file from classpath.
5502         * javax/swing/border/LineBorder.java,
5503         javax/swing/border/SoftBevelBorder.java,
5504         javax/swing/plaf/BorderUIResource.java,
5505         javax/swing/plaf/basic/BasicBorders.java:
5506         New versions from classpath.
5507         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5508         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5509         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5510         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5511         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5512         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5513         New binary files from classpath.
5514
5515 2003-06-21  Michael Koch  <konqueror@gmx.de>
5516
5517         * java/util/logging/LogRecord.java,
5518         java/util/logging/Logger.java,
5519         java/util/logging/SocketHandler.java,
5520         java/util/logging/SimpleFormatter.java,
5521         java/util/logging/Formatter.java,
5522         java/util/logging/ErrorManager.java,
5523         java/util/logging/Handler.java,
5524         java/util/logging/FileHandler.java,
5525         java/util/logging/LogManager.java,
5526         java/util/logging/Level.java,
5527         java/util/logging/ConsoleHandler.java,
5528         java/util/logging/StreamHandler.java,
5529         java/util/logging/LoggingPermission.java,
5530         java/util/logging/Filter.java,
5531         java/util/logging/MemoryHandler.java,
5532         java/util/logging/XMLFormatter.java:
5533         New files from classpath.
5534
5535 2003-06-20  Michael Koch  <konqueror@gmx.de>
5536
5537         * java/io/ObjectStreamField.java
5538         (unshared): new member variable.
5539         (ObjectStreamField): New constructor.
5540         (isUnshared): New method.
5541
5542 2003-06-20  Michael Koch  <konqueror@gmx.de>
5543
5544         * java/net/URLStreamHandler.java
5545         (hostsEqual): Rewritten.
5546
5547 2003-06-20  Michael Koch  <konqueror@gmx.de>
5548
5549         * gnu/java/nio/MappedByteFileBuffer.java,
5550         gnu/java/nio/natMappedByteFileBuffer.cc:
5551         Removed
5552         * java/nio/MappedByteBufferImpl.java:
5553         New file.
5554         * gnu/java/nio/FileChannelImpl.java:
5555         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5556         * Makefile.am
5557         (ordinary_java_source_files): Removed
5558         gnu/java/nio/MappedByteFileBuffer.java and added
5559         java/nio/MappedByteBufferImpl.java.
5560         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5561         * Makefile.in: Regenerated.
5562
5563 2003-06-19  Michael Koch  <konqueror@gmx.de>
5564
5565         * gnu/java/nio/DatagramChannelImpl.java
5566         (fd): Removed.
5567         (blocking): New member variable.
5568         (socket): Likewise.
5569         (DatagramChannelImpl): Throws IOException, initialize socket.
5570         (socket):Implemented.
5571         (implCloseSelectableChannel): Throws IOException, implemented.
5572         (implConfigureBlocking): Likewise.
5573         (connect): Likewise.
5574         (disconnect): Likewise.
5575         (isConnected): Likewise.
5576         (write): Likewise.
5577         (read): Likewise.
5578         (receive): Throws IOException.
5579         (send): Likewise.
5580         * gnu/java/nio/SocketChannelImpl.java
5581         (read): Implemented.
5582         (write): Implemented.
5583
5584 2003-06-19  Michael Koch  <konqueror@gmx.de>
5585
5586         * javax/swing/JComponent.java,
5587         javax/swing/JInternalFrame.java,
5588         javax/swing/MenuSelectionManager.java,
5589         javax/swing/SwingUtilities.java,
5590         javax/swing/ToggleButtonModel.java:
5591         New versions from classpath.
5592
5593 2003-06-19  Michael Koch  <konqueror@gmx.de>
5594
5595         * java/text/CollationElementIterator.java
5596         (NULLORDER): Initialize with -1 as JDK documentation says.
5597
5598 2003-06-19  Michael Koch  <konqueror@gmx.de>
5599
5600         * java/net/HttpURLConnection.java,
5601         java/net/Inet4Address.java,
5602         java/net/Inet6Address.java,
5603         java/net/SocketImpl.java,
5604         java/net/URLClassLoader.java:
5605         Reworked import statements.
5606         * java/net/InetAddress.java
5607         (getByAddress): Simplified.
5608         * java/net/ServerSocket.java
5609         (ServerSocket): Moved special handling during bind operation to
5610         bind().
5611         (bind): Handle different cases when trying to bind a socket.
5612         * java/net/URLConnection.java
5613         (getHeaderFieldDate): Merged with classpath.
5614         (getHeaderFieldInt): Likewise.
5615
5616 2003-06-19  Michael Koch  <konqueror@gmx.de>
5617
5618         * java/util/zip/InflaterInputStream.java
5619         (InflaterInputStream): Throw NullPointerException if in is null (as
5620         JDK does).
5621
5622 2003-06-19  Michael Koch  <konqueror@gmx.de>
5623
5624         * java/awt/Font.java
5625         javax/swing/UIManager.java
5626         javax/swing/border/AbstractBorder.java
5627         javax/swing/border/BevelBorder.java
5628         javax/swing/border/Border.java
5629         javax/swing/border/CompoundBorder.java
5630         javax/swing/border/EmptyBorder.java
5631         javax/swing/border/EtchedBorder.java
5632         javax/swing/border/LineBorder.java
5633         javax/swing/border/MatteBorder.java
5634         javax/swing/border/TitledBorder.java
5635         javax/swing/plaf/BorderUIResource.java
5636         javax/swing/plaf/basic/BasicBorders.java
5637         javax/swing/plaf/basic/BasicButtonUI.java
5638         javax/swing/plaf/basic/BasicCheckBoxUI.java
5639         javax/swing/plaf/basic/BasicGraphicsUtils.java
5640         javax/swing/plaf/basic/BasicLabelUI.java
5641         javax/swing/plaf/basic/BasicRadioButtonUI.java
5642         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5643         New versions from classpath.
5644         * javax/swing/border/SoftBevelBorder.java:
5645         New file from classpath.
5646         * javax/swing/border/doc-files/LineBorder-1.png,
5647         javax/swing/border/doc-files/BevelBorder-1.png,
5648         javax/swing/border/doc-files/BevelBorder-2.png,
5649         javax/swing/border/doc-files/BevelBorder-3.png,
5650         javax/swing/border/doc-files/EmptyBorder-1.png,
5651         javax/swing/border/doc-files/EtchedBorder-1.png,
5652         javax/swing/border/doc-files/EtchedBorder-2.png,
5653         javax/swing/border/doc-files/MatteBorder-1.png,
5654         javax/swing/border/doc-files/MatteBorder-2.png,
5655         javax/swing/border/doc-files/MatteBorder-3.png,
5656         javax/swing/border/doc-files/MatteBorder-4.png,
5657         javax/swing/border/doc-files/MatteBorder-5.png,
5658         javax/swing/border/doc-files/MatteBorder-6.png,
5659         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5660         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5661         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5662         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5663         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5664         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5665         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5666         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5667         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5668         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5669         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5670         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5671         New binary files from classpath.
5672         * Makefile.am
5673         (awt_java_source_files): Added
5674         javax/swing/border/SoftBevelBorder.java.
5675         * Makefile.in: Regenerated.
5676
5677 2003-06-19  Michael Koch  <konqueror@gmx.de>
5678
5679         * gnu/java/security/x509/X509Certificate.java
5680         (writeReplace): Merged from classpath.
5681
5682 2003-06-19  Michael Koch  <konqueror@gmx.de>
5683
5684         * gnu/java/nio/FileChannelImpl.java
5685         (map_address): Made public.
5686         (FileChannelImpl): Merged with classpath.
5687         * gnu/java/nio/natFileChannelImpl.cc
5688         (nio_mmap_file): Commented out unused arguments.
5689         (nio_unmmap_file): Likewise.
5690         (niu_msync): Likewise.
5691
5692 2003-06-19  Michael Koch  <konqueror@gmx.de>
5693
5694         * java/awt/image/IndexColorModel.java:
5695         New version from classpath.
5696
5697 2003-06-18  Tom Tromey  <tromey@redhat.com>
5698
5699         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5700         on arrays.
5701         (isLoopbackAddress): Likewise.
5702         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5703         on arrays.
5704
5705 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5706
5707         * java/lang/natVMSecurityManager.cc (getClassContext):
5708         Use maxlen instead of len for loop bound.
5709
5710 2003-06-18  Michael Koch  <konqueror@gmx.de>
5711
5712         * gnu/java/nio/SelectorImpl.java
5713         (register): Use fd with value 0 for now, will be fixed later.
5714         * gnu/java/nio/ServerSocketChannelImpl.java
5715         (fd): Removed.
5716         (local_port): Removed.
5717         (InetSocketAddress): Removed.
5718         (ServerSocketChannelImpl): Just initialize internal socket object.
5719         (implCloseSelectableChannel): Close internal socket object.
5720         (implConfigureBlocking): Added comment.
5721         (accept): Use jaba.net stuff to accept socket.
5722         * gnu/java/nio/SocketChannelImpl.java
5723         (fd): Removed.
5724         (local_port): Removed.
5725         (InetSocketAddress): Removed.
5726         (SocketCreate): Removed.
5727         (SocketConnect): Removed.
5728         (SocketBind): Removed.
5729         (SocketListen): Removed.
5730         (SocketAvailable): Removed.
5731         (SocketClose): Removed.
5732         (SocketRead): Removed.
5733         (SocketWrite): Removed.
5734         (SocketChannelImpl): Just initialize internal socket object.
5735         (implCloseSelectableChannel): Close internal socket object.
5736         (implConfigureBlocking): Fixed implementation, added comment.
5737         (connect): Use internal socket object to connect.
5738         (socket): No need for sanity checks.
5739         (read): Comment out some stuff, this will be reimplemented in the next
5740         commit.
5741         (write): Likewise.
5742         * gnu/java/nio/natFileChannelImpl.cc
5743         (nio_mmap_file): Line wrapped.
5744         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5745         * Makefile.am
5746         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5747         * Makefile.in: Regenerated.
5748
5749 2003-06-18  Michael Koch  <konqueror@gmx.de>
5750
5751         * java/util/Locale.java
5752         (equals): Merged from classpath.
5753
5754 2003-06-18  Michael Koch  <konqueror@gmx.de>
5755
5756         * java/net/InetAddress.java:
5757         Reformatted to better match classpath's version.
5758         * java/net/URL.java
5759         (equals): Simplified.
5760         * java/net/URLConnection.java
5761         (setDoInput): Revised documentation.
5762         (getDefaultUseCaches): Likewise.
5763         (setRequestProperty): Added @since tag.
5764
5765 2003-06-17  Michael Koch  <konqueror@gmx.de>
5766
5767         * java/net/InetSocketAddress.java
5768         (InetSocketAddress): Use wildcard address if addr is null.
5769         (InetSocketAddress): Dont duplicate implementation.
5770         (InetSocketAddress): Throw exception when hostname is null.
5771         * java/net/Socket.java:
5772         Reworked imports.
5773         (Socket): Throw exception when raddr is null, handle case when laddr
5774         is null.
5775
5776 2003-06-17  Michael Koch  <konqueror@gmx.de>
5777
5778         * java/nio/DirectByteBufferImpl.java
5779         (address): Made package private.
5780         (DirectByteBufferImpl): New constructor.
5781         * java/nio/natDirectByteBufferImpl.cc
5782         (allocateImpl): Moved to java.nio namespace, implemented.
5783         (freeImpl): Likewise.
5784         (getImpl): Likewise.
5785         (putImpl): Likewise.
5786         * jni.cc
5787         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5788         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5789         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5790
5791 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5792
5793         * include/powerpc-signal.h: New File.
5794         * configure.in: Use it.
5795         * configure: Regenerated.
5796
5797 2003-06-17  Michael Koch  <konqueror@gmx.de>
5798
5799         * java/util/Locale.java
5800         (getDisplayLanguage): Made it final.
5801         (getDisplayCountry): Likewise.
5802         (getDisplayVariant): Likewise.
5803         (getDisplayName): Likewise.
5804
5805 2003-06-17  Michael Koch  <konqueror@gmx.de>
5806
5807         * java/util/PropertyResourceBundle.java:
5808         Removed unneeded import.
5809
5810 2003-06-17  Michael Koch  <konqueror@gmx.de>
5811
5812         * java/util/prefs/AbstractPreferences.java,
5813         java/util/prefs/PreferencesFactory.java:
5814         Reworked imports, removed unused imports.
5815         * java/util/prefs/Preferences.java
5816         (systemNodeForPackage): Method takes a Class not an Object.
5817         (userNodeForPackage): Likewise.
5818         (nodeForPackage): Likewise.
5819
5820 2003-06-17  Michael Koch  <konqueror@gmx.de>
5821
5822         * gnu/java/security/x509/X509Certificate.java:
5823         Explicitely import used classes.
5824
5825 2003-06-17  Michael Koch  <konqueror@gmx.de>
5826
5827         * java/util/zip/ZipEntry.java,
5828         java/util/zip/ZipFile.java,
5829         java/util/zip/ZipInputStream.java,
5830         java/util/zip/ZipOutputStream.java:
5831         Reworked imports, only import used classes.
5832
5833 2003-06-17  Michael Koch  <konqueror@gmx.de>
5834
5835         * gnu/java/lang/ArrayHelper.java,
5836         gnu/java/lang/ClassHelper.java:
5837         Reformatted to match classpath's versions.
5838
5839 2003-06-14  Michael Koch  <konqueror@gmx.de>
5840
5841         * gnu/java/nio/FileChannelImpl.java
5842         (map_address): Removed incorrect comment.        
5843         * gnu/java/nio/SelectorImpl.java
5844         (register): Remove code duplication and code for file channel handling.        
5845         * gnu/java/nio/ServerSocketChannelImpl.java
5846         (serverSocket): Renamed from sock_object.
5847         (ServerSocketChannel): Initialize serverSocket.
5848         (socket): Return serverSocket.
5849         * gnu/java/nio/SocketChannelImpl.java
5850         (socket): Renamed from sock_object.
5851         (isConnectionPenging): Simplified.
5852         (socket): Return socket.
5853 2003-06-14  Michael Koch  <konqueror@gmx.de>
5854
5855         * java/security/BasicPermission.java:
5856         New version from classpath.
5857
5858 2003-06-14  Michael Koch  <konqueror@gmx.de>
5859
5860         * javax/naming/directory/Attribute.java:
5861         New version from classpath.
5862
5863 2003-06-14  Michael Koch  <konqueror@gmx.de>
5864
5865         * java/io/BufferedReader.java,
5866         java/io/FileOutputStream.java:
5867         New versions from classpath.
5868
5869 2003-06-12  Andrew Haley  <aph@redhat.com>
5870
5871         * prims.cc (catch_segv): Create exception in handler.
5872         (catch_fpe): Likewise.  
5873         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5874         (_Jv_ThrowSignal): Remove.
5875
5876         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5877         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5878         to nullp and arithexception.
5879         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5880         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5881         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5882         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5883         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5884
5885 2003-06-11  Andrew Haley  <aph@redhat.com>
5886
5887         * jni.cc (_Jv_JNI_check_types): New.
5888         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5889         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5890         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5891         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5892         
5893         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5894         infinite loop.
5895
5896 2003-06-11  Tom Tromey  <tromey@redhat.com>
5897
5898         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5899         * java/io/PrintStream.java: Not deprecated.
5900
5901 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5902
5903         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5904         (fillOval): implemented
5905         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5906         (fillArc): implemented.
5907         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5908         (fillArc): added native method.
5909         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5910         (fillArc): added native method.
5911
5912 2003-06-11  Michael Koch  <konqueror@gmx.de>
5913
5914         * java/awt/im/InputSubset.java:
5915         New version from classpath.
5916
5917 2003-06-11  Michael Koch  <konqueror@gmx.de>
5918
5919         * javax/swing/AbstractAction.java,
5920         javax/swing/AbstractButton.java,
5921         javax/swing/AbstractCellEditor.java,
5922         javax/swing/AbstractListModel.java,
5923         javax/swing/BorderFactory.java,
5924         javax/swing/Box.java,
5925         javax/swing/BoxLayout.java,
5926         javax/swing/ButtonGroup.java,
5927         javax/swing/DefaultButtonModel.java,
5928         javax/swing/DefaultListModel.java,
5929         javax/swing/DefaultListSelectionModel.java,
5930         javax/swing/FocusManager.java,
5931         javax/swing/ImageIcon.java,
5932         javax/swing/InputMap.java,
5933         javax/swing/JApplet.java,
5934         javax/swing/JButton.java,
5935         javax/swing/JCheckBox.java,
5936         javax/swing/JCheckBoxMenuItem.java,
5937         javax/swing/JColorChooser.java,
5938         javax/swing/JComboBox.java,
5939         javax/swing/JComponent.java,
5940         javax/swing/JDesktopPane.java,
5941         javax/swing/JDialog.java,
5942         javax/swing/JEditorPane.java,
5943         javax/swing/JFileChooser.java,
5944         javax/swing/JFormattedTextField.java,
5945         javax/swing/JFrame.java,
5946         javax/swing/JLabel.java,
5947         javax/swing/JLayeredPane.java,
5948         javax/swing/JList.java,
5949         javax/swing/JMenuBar.java,
5950         javax/swing/JMenuItem.java,
5951         javax/swing/JOptionPane.java,
5952         javax/swing/JPanel.java,
5953         javax/swing/JPasswordField.java,
5954         javax/swing/JPopupMenu.java,
5955         javax/swing/JProgressBar.java,
5956         javax/swing/JRadioButton.java,
5957         javax/swing/JRadioButtonMenuItem.java,
5958         javax/swing/JRootPane.java,
5959         javax/swing/JScrollBar.java,
5960         javax/swing/JScrollPane.java,
5961         javax/swing/JSeparator.java,
5962         javax/swing/JSlider.java,
5963         javax/swing/JTabbedPane.java,
5964         javax/swing/JTable.java,
5965         javax/swing/JTextField.java,
5966         javax/swing/JToggleButton.java,
5967         javax/swing/JToolBar.java,
5968         javax/swing/JToolTip.java,
5969         javax/swing/JTree.java,
5970         javax/swing/JViewport.java,
5971         javax/swing/JWindow.java,
5972         javax/swing/KeyStroke.java,
5973         javax/swing/ListSelectionModel.java,
5974         javax/swing/LookAndFeel.java,
5975         javax/swing/RepaintManager.java,
5976         javax/swing/ScrollPaneLayout.java,
5977         javax/swing/SizeRequirements.java,
5978         javax/swing/SwingConstants.java,
5979         javax/swing/Timer.java,
5980         javax/swing/UIDefaults.java,
5981         javax/swing/UIManager.java,
5982         javax/swing/border/AbstractBorder.java,
5983         javax/swing/border/CompoundBorder.java,
5984         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5985         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5986         javax/swing/colorchooser/ColorSelectionModel.java,
5987         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5988         javax/swing/event/AncestorEvent.java,
5989         javax/swing/event/HyperlinkEvent.java,
5990         javax/swing/event/InternalFrameAdapter.java,
5991         javax/swing/event/InternalFrameEvent.java,
5992         javax/swing/event/ListDataEvent.java,
5993         javax/swing/event/MouseInputAdapter.java,
5994         javax/swing/event/SwingPropertyChangeSupport.java,
5995         javax/swing/event/TableModelEvent.java,
5996         javax/swing/event/TreeWillExpandListener.java,
5997         javax/swing/event/UndoableEditEvent.java,
5998         javax/swing/filechooser/FileFilter.java,
5999         javax/swing/filechooser/FileSystemView.java,
6000         javax/swing/filechooser/FileView.java,
6001         javax/swing/plaf/BorderUIResource.java,
6002         javax/swing/plaf/basic/BasicDefaults.java,
6003         javax/swing/table/AbstractTableModel.java,
6004         javax/swing/table/DefaultTableCellRenderer.java,
6005         javax/swing/table/DefaultTableColumnModel.java,
6006         javax/swing/table/DefaultTableModel.java,
6007         javax/swing/table/TableColumn.java,
6008         javax/swing/text/JTextComponent.java,
6009         javax/swing/tree/AbstractLayoutCache.java,
6010         javax/swing/tree/DefaultMutableTreeNode.java,
6011         javax/swing/tree/DefaultTreeCellEditor.java,
6012         javax/swing/tree/DefaultTreeCellRenderer.java,
6013         javax/swing/tree/DefaultTreeModel.java,
6014         javax/swing/tree/DefaultTreeSelectionModel.java,
6015         javax/swing/tree/FixedHeightLayoutCache.java,
6016         javax/swing/tree/TreeCellEditor.java,
6017         javax/swing/tree/TreeModel.java,
6018         javax/swing/tree/TreeNode.java,
6019         javax/swing/tree/TreePath.java,
6020         javax/swing/tree/TreeSelectionModel.java,
6021         javax/swing/tree/VariableHeightLayoutCache.java,
6022         javax/swing/undo/AbstractUndoableEdit.java,
6023         javax/swing/undo/CompoundEdit.java,
6024         javax/swing/undo/StateEdit.java,
6025         javax/swing/undo/UndoManager.java,
6026         javax/swing/undo/UndoableEditSupport.java:
6027         New versions from classpath.
6028         * javax/swing/table/JTableHeader.java:
6029         New file from classpath.
6030         * Makefile.am
6031         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6032         * Makefile.in: Regenerated.
6033
6034 2003-06-11  Michael Koch  <konqueror@gmx.de>
6035
6036         * java/nio/MappedByteBuffer.java,
6037         java/nio/channels/Channels.java,
6038         java/nio/channels/ServerSocketChannel.java,
6039         java/nio/channels/spi/AbstractSelector.java:
6040         Removed unneeded imports.
6041
6042 2003-06-11  Michael Koch  <konqueror@gmx.de>
6043
6044         * java/net/DatagramSocket.java:
6045         Partly merged with classpath.
6046
6047 2003-06-11  Michael Koch  <konqueror@gmx.de>
6048
6049         * java/awt/Frame.java,
6050         java/awt/Graphics.java,
6051         java/awt/Menu.java,
6052         java/awt/Robot.java,
6053         java/awt/image/ColorModel.java:
6054         New versions from classpath.
6055
6056 2003-06-10  Michael Koch  <konqueror@gmx.de>
6057
6058         * java/io/PrintStream.java:
6059         Merged version from classpath.
6060         (close): Removed sychronized keyword. This class is not garantied to
6061         be thread-safe.
6062         (write): Likewise.
6063
6064 2003-06-09  Tom Tromey  <tromey@redhat.com>
6065
6066         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6067         field.
6068         (getDescent): Likewise, for "descent".
6069
6070 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6071
6072         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6073         (getMaxDescent): adjusted return value.
6074         (getAscent): modified to use metrics for 'O'.
6075         (getDescent): modified to use metrics for 'y'.
6076
6077 2003-06-08  Anthony Green  <green@redhat.com>
6078
6079         * java/net/URLStreamHandler.java (sameFile): Fix port value
6080         comparison.
6081         * java/net/URL.java (handler): Make package private.
6082         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6083
6084 2003-06-07  Tom Tromey  <tromey@redhat.com>
6085
6086         For PR libgcj/11085:
6087         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6088         Limit number of characters in numeric field when required.
6089         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6090         Respect maximumIntegerDigits.
6091
6092 2003-06-08  Michael Koch  <konqueror@gmx.de>
6093
6094         * java/net/Socket.java
6095         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6096         call bind() and connect() to actually do the bind and connect tasks.
6097         (bind): Connect to canonical address if bindpoint is null, create
6098         socket and bind it to bindpoint.
6099         (connect): Check for exceptions.
6100
6101 2003-06-08  Michael Koch  <konqueror@gmx.de>
6102
6103         * java/net/DatagramSocket.java
6104         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6105         into the Multicast constructors.
6106         * java/net/DatagramSocketImpl.java
6107         (getOption): Removed.
6108         (setOption): Removed.
6109         * java/net/MulticastSocket.java
6110         (MulticastSocket): Call setReuseAddress (true).
6111         * java/net/SocketImpl.java
6112         (getOption): Removed.
6113         (setOption): Removed.
6114
6115 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6116
6117         PR libgcj/10886:
6118         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6119         Test for empty vector.
6120
6121 2003-06-06  Mark Wielaard  <mark@klomp.org>
6122
6123         * java/security/Security.java (secprops): Initialize.
6124         (loadProviders): Return boolean.
6125         (static): Check result of loadProvider calls. If necessary
6126         display WARNING and fallback to Gnu provider.
6127
6128 2002-06-06  James Clark  <jjc@jclark.com>
6129
6130         Fix for PR libgcj/8738:
6131         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6132         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6133         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6134         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6135         (write): Always decrease avail when count is increased.
6136         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6137         and whether output buffer is full before increasing size.
6138
6139 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6140
6141         * java/io/PrintStream.java (writeChars(char[],int, int)):
6142         Check converter.havePendingBytes().
6143         (writeChars(String,int,int)): Likewise.
6144         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6145         Check converter.havePendingBytes() and flush buffer when stalled.
6146
6147 2003-06-07  Michael Koch  <konqueror@gmx.de>
6148
6149         * include/posix.h
6150         (O_DSYNC): Define O_DSYNC on platforms not
6151         supporting O_FSYNC (newlib).
6152
6153 2003-06-06  Mark Wielaard  <mark@klomp.org>
6154
6155         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6156         AWTError.
6157
6158 2003-06-06  Michael Koch  <konqueror@gmx.de>
6159
6160         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6161         More compile fixes from my stupid work yesterday.
6162
6163 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6164
6165         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6166         if _IEEE_LIBM is undefined.
6167
6168 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6169
6170         * libjava/include/posix.h (O_SYNC): Define if not available
6171         and a reasonable, perhaps more conservative, replacement exists.
6172         (O_DSYNC): Likewise.
6173         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6174
6175 2003-06-05  Michael Koch  <konqueror@gmx.de>
6176
6177         * javax/swing/plaf/BorderUIResource.java,
6178         javax/swing/plaf/basic/BasicDefaults.java,
6179         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6180         More compile fixes for latest Border commit. I should not commit
6181         something in this heat here ...
6182
6183 2003-06-05  Michael Koch  <konqueror@gmx.de>
6184
6185         * javax/swing/border/BevelBorder.java
6186         (BevelBorder): Removed.
6187         * javax/swing/border/EmptyBorder.java:
6188         Reformatted.
6189         (EmptyBorder): Removed.
6190         (getBorderInsets): Dont use l, r, t and b.
6191         * javax/swing/border/EtchedBorder.java
6192         (EtchedBorder): Removed.
6193         * javax/swing/border/LineBorder.java
6194         (LineBorder): Removed.
6195         * javax/swing/border/MatteBorder.java
6196         (MatteBorder): Removed.
6197         * javax/swing/border/TitledBorder.java
6198         (defaultBorder): Use other default for now.
6199         (defaultFont): Likewise.
6200         (defaultColor): Likewise.
6201
6202 2003-06-05  Michael Koch  <konqueror@gmx.de>
6203
6204         * javax/swing/border/Border.java:
6205         New version from classpath.
6206
6207 2003-06-05  Michael Koch  <konqueror@gmx.de>
6208
6209         * javax/swing/border/AbstractBorder.java,
6210         javax/swing/border/BevelBorder.java,
6211         javax/swing/border/CompoundBorder.java,
6212         javax/swing/border/EmptyBorder.java,
6213         javax/swing/border/EtchedBorder.java,
6214         javax/swing/border/LineBorder.java,
6215         javax/swing/border/MatteBorder.java,
6216         javax/swing/border/TitledBorder.java:
6217         New versions from Classpath.
6218
6219 2003-06-05  Michael Koch  <konqueror@gmx.de>
6220
6221         * java/awt/Button.java,
6222         java/awt/Checkbox.java,
6223         java/awt/CheckboxMenuItem.java,
6224         java/awt/Choice.java,
6225         java/awt/Container.java,
6226         java/awt/Dialog.java,
6227         java/awt/EventQueue.java,
6228         java/awt/FileDialog.java,
6229         java/awt/Frame.java,
6230         java/awt/Label.java,
6231         java/awt/List.java,
6232         java/awt/Menu.java,
6233         java/awt/MenuItem.java,
6234         java/awt/Panel.java,
6235         java/awt/PopupMenu.java,
6236         java/awt/Rectangle.java,
6237         java/awt/ScrollPane.java,
6238         java/awt/Scrollbar.java,
6239         java/awt/TextArea.java,
6240         java/awt/TextField.java,
6241         java/awt/Window.java,
6242         java/awt/datatransfer/DataFlavor.java,
6243         java/awt/dnd/DragSource.java,
6244         java/awt/dnd/DragSourceContext.java,
6245         java/awt/event/HierarchyEvent.java,
6246         java/awt/event/MouseWheelEvent.java,
6247         java/awt/im/InputContext.java,
6248         java/awt/image/BufferedImage.java,
6249         java/awt/image/ComponentColorModel.java,
6250         java/awt/image/Raster.java,
6251         java/awt/image/WritableRaster.java,
6252         java/awt/peer/ComponentPeer.java,
6253         java/awt/print/PageFormat.java,
6254         java/awt/print/PrinterJob.java:
6255         New versions from Classpath.
6256
6257 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6258
6259         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6260         numberFormat.setParseIntegerOnly(true).
6261
6262 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6263
6264         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6265
6266 2003-06-03  Andrew Haley  <aph@redhat.com>
6267
6268         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6269         stack volatile to prevent optimization from removing it.
6270
6271 2003-05-27  Michael Koch  <konqueror@gmx.de>
6272
6273         * java/util/zip/Deflater.java
6274         (FILTERED): Merged documentation from classpath.
6275         * java/util/zip/DeflaterOutputStream.java
6276         (DeflaterOutputStream): Merged documentation and argument validity
6277         check from classpath.
6278         (deflate): Merged documentation from classpath.
6279         (finish): Likewise.
6280         * java/util/zip/Inflater.java
6281         (Inflater): Merged class documentation from classpath.
6282         (zstream): Reordered.
6283         (is_finished): Reordered.
6284         (dict_needed): Reordered.
6285         (Inflater): Reordered, merged documentation from classpath.
6286         (end): Likewise.
6287         (finalize): Merged documentation from classpath.
6288         (finished): Likewise.
6289         (getAdler): Likewise.
6290         (getRemaining): Likewise.
6291         (getTotalIn): Likewise.
6292         (getTotalOut): Likewise.
6293         (inflate): Likewise.
6294         (needsDictionary): Likewise.
6295         (needsInput): Likewise.
6296         (reset): Likewise.
6297         (setDictionary): Likewise.
6298         (setInput): Likewise.
6299
6300 2003-05-27  Michael Koch  <konqueror@gmx.de>
6301
6302         * java/net/URLConnection.java
6303         (getHeaderFieldInt): Merged with classpath.
6304
6305 2003-05-27  Michael Koch  <konqueror@gmx.de>
6306
6307         * java/io/PrintStream.java
6308         (PrintStream): Reformatted.
6309         (PrintStream): New method, merged from classpath.
6310         (write): Reformatted.
6311
6312 2003-05-27  Michael Koch  <konqueror@gmx.de>
6313
6314         * java/lang/System.java:
6315         Explicitely import needed classes.
6316
6317 2003-05-26  Michael Koch  <konqueror@gmx.de>
6318
6319         * java/net/NetPermission.java,
6320         java/net/NetworkInterface.java,
6321         java/net/PasswordAuthentication.java,
6322         java/net/SocketPermission.java:
6323         New versions from classpath.
6324
6325 2003-05-25  Michael Koch  <konqueror@gmx.de>
6326
6327         * java/io/PushbackInputStream.java,
6328         java/net/Authenticator.java,
6329         java/net/ContentHandler.java,
6330         java/net/ContentHandlerFactory.java,
6331         java/net/DatagramSocket.java,
6332         java/net/DatagramSocketImpl.java,
6333         java/net/DatagramSocketImplFactory.java,
6334         java/net/FileNameMap.java,
6335         java/net/SocketImplFactory.java,
6336         java/net/SocketOptions.java,
6337         java/net/URLStreamHandlerFactory.java:
6338         Merged new versions from classpath.
6339
6340 2003-05-25  Michael Koch  <konqueror@gmx.de>
6341
6342         * java/awt/Checkbox.java,
6343         java/awt/Dialog.java,
6344         java/awt/Font.java,
6345         java/awt/Frame.java,
6346         java/awt/ScrollPaneAdjustable.java,
6347         java/awt/Scrollbar.java,
6348         java/awt/Window.java:
6349         New versions from classpath.
6350
6351 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6352
6353         PR libgcj/10838:
6354         * java/io/ObjectInputStream (enableResolveObject):
6355         Fixed spelling of permission name.
6356
6357 2003-05-20  Michael Koch  <konqueror@gmx.de>
6358
6359         * java/io/DataInputStream.java
6360         (convertFromUTF): Merged comment from classpath.
6361         * java/io/PrintStream.java
6362         (error_occured): Renamed from error, merged comment from classpath.
6363         (PrintStream): No need to initialized error.
6364         (checkError): Replace error with error_occurred.
6365         (setError): Likewise.
6366
6367 2003-05-20  Michael Koch  <konqueror@gmx.de>
6368
6369         * java/io/DataInputStream.java:
6370         Reformatted, Replaced < and & with html entitites in documentation.
6371         * java/io/File.java:
6372         Reformatted.
6373         * java/io/PrintWriter.java:
6374         Moved class documentation.
6375
6376 2003-05-20  Michael Koch  <konqueror@gmx.de>
6377
6378         * gnu/java/nio/ByteBufferImpl.java,
6379         gnu/java/nio/CharBufferImpl.java,
6380         gnu/java/nio/CharViewBufferImpl.java,
6381         gnu/java/nio/DirectByteBufferImpl.java,
6382         gnu/java/nio/DoubleBufferImpl.java,
6383         gnu/java/nio/DoubleViewBufferImpl.java,
6384         gnu/java/nio/FloatBufferImpl.java,
6385         gnu/java/nio/FloatViewBufferImpl.java,
6386         gnu/java/nio/IntBufferImpl.java,
6387         gnu/java/nio/IntViewBufferImpl.java,
6388         gnu/java/nio/LongBufferImpl.java,
6389         gnu/java/nio/LongViewBufferImpl.java,
6390         gnu/java/nio/natDirectByteBufferImpl.cc,
6391         gnu/java/nio/ShortBufferImpl.java,
6392         gnu/java/nio/ShortViewBufferImpl.java:
6393         Moved files to java/nio.
6394         * gnu/java/nio/SocketChannelImpl.java
6395         
6396         * java/nio/ByteBuffer.java,
6397         java/nio/CharBuffer.java,
6398         java/nio/DoubleBuffer.java,
6399         java/nio/FloatBuffer.java,
6400         java/nio/IntBuffer.java,
6401         java/nio/LongBuffer.java,
6402         java/nio/ShortBuffer.java:
6403         Dont import anything.
6404         * java/nio/ByteBufferImpl.java,
6405         java/nio/CharBufferImpl.java,
6406         java/nio/CharViewBufferImpl.java,
6407         java/nio/DirectByteBufferImpl.java,
6408         java/nio/DoubleBufferImpl.java,
6409         java/nio/DoubleViewBufferImpl.java,
6410         java/nio/FloatBufferImpl.java,
6411         java/nio/FloatViewBufferImpl.java,
6412         java/nio/IntBufferImpl.java,
6413         java/nio/IntViewBufferImpl.java,
6414         java/nio/LongBufferImpl.java,
6415         java/nio/LongViewBufferImpl.java,
6416         java/nio/natDirectByteBufferImpl.cc,
6417         java/nio/ShortBufferImpl.java,
6418         java/nio/ShortViewBufferImpl.java:
6419         Moved from gnu/java/nio.
6420         * Makefile.am
6421         (ordinary_java_source_files): Moved files from gnu/java/nio to
6422         java/nio.
6423         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6424         to java/nio.
6425         * Makefile.in: Regenerated.
6426
6427 2003-05-19  Michael Koch  <konqueror@gmx.de>
6428
6429         * java/util/Calendar.java
6430         (get): Not final anymore since JDK 1.4
6431         (set): Likewise.
6432
6433 2003-05-19  Michael Koch  <konqueror@gmx.de>
6434
6435         * java/text/CollationKey.java:
6436         Merged copyright and dat from classpath.
6437         * java/text/RuleBasedCollator.java:
6438         Merged class documentation from classpath.
6439
6440 2003-05-19  Michael Koch  <konqueror@gmx.de>
6441
6442         * java/nio/CharBuffer.java
6443         (toString): Compile fix.
6444
6445 2003-05-19  Michael Koch  <konqueror@gmx.de>
6446
6447         * gnu/java/nio/ByteBufferImpl.java
6448         (putLong): Fixed conversion to bytes.
6449         (putDouble): Fixed conversion to bytes.
6450         * gnu/java/nio/DirectByteBufferImpl.java
6451         (putLong): Fixed conversion to bytes.
6452         (putDouble): Fixed conversion to bytes.
6453         * gnu/java/nio/FileLockImpl.java
6454         (isValid): Reformatted.
6455         * java/nio/Buffer.java
6456         (Buffer): Fixed off-by-one bug in handling mark.
6457         * java/nio/ByteBuffer.java:
6458         Added newline.
6459         * java/nio/CharBuffer.java
6460         (toString): Don't use relative get to get string data.
6461
6462 2003-05-16  Michael Koch  <konqueror@gmx.de>
6463
6464         * java/io/natFileDescriptorPosix.cc
6465         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6466         tested.
6467
6468 2003-05-14  Michael Koch  <konqueror@gmx.de>
6469
6470         * gnu/java/nio/FileLockImpl.java
6471         (released): New member variable.
6472         (FileLockImpl): Initialize released.
6473         (releaseImpl): New native method.
6474         (release): Implemented.
6475         * gnu/java/nio/SelectorImpl.java: Reformatted.
6476         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6477         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6478         (accept): Throws IOException.
6479         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6480         (implConfigureBlocking): Throws IOException.
6481         (connect): Likewise.
6482         (read): Likewise.
6483         (write): Likewise.
6484         * gnu/java/nio/natFileLockImpl.cc: New file.
6485         * java/nio/channels/FileLock.java: Reformatted.
6486         * Makefile.am:
6487         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6488         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6489         * Makefile.in: Regenerated.
6490
6491 2003-05-13  Michael Koch  <konqueror@gmx.de>
6492
6493         * gnu/java/nio/CharViewBufferImpl.java
6494         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6495         (get): Shift bits to the right direction.
6496         (put): Likewise.
6497         * gnu/java/nio/DoubleViewBufferImpl.java
6498         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6499         (get): Shift bits to the right direction.
6500         (put): Likewise.
6501         * gnu/java/nio/FloatViewBufferImpl.java
6502         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6503         (get): Shift bits to the right direction.
6504         (put): Likewise.
6505         * gnu/java/nio/IntViewBufferImpl.java
6506         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6507         (get): Shift bits to the right direction.
6508         (put): Likewise.
6509         * gnu/java/nio/LongViewBufferImpl.java
6510         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6511         (get): Shift bits to the right direction.
6512         (put): Likewise.
6513         * gnu/java/nio/ShortViewBufferImpl.java
6514         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6515         (get): Shift bits to the right direction.
6516         (put): Likewise.
6517
6518 2003-05-13  Michael Koch  <konqueror@gmx.de>
6519
6520         * gnu/java/nio/natDirectByteBufferImpl.cc
6521         (allocateImpl): jlong -> RawData*.
6522         (freeImpl): Likewise.
6523
6524 2003-05-13  Michael Koch  <konqueror@gmx.de>
6525
6526         * java/nio/channels/FileChannel.java
6527         (MapMode.m): Made it package-private to match JDK 1.4.
6528         * java/nio/charset/Charset.java
6529         (decode): Made it final to match JDK 1.4.
6530
6531 2003-05-13  Michael Koch  <konqueror@gmx.de>
6532
6533        * java/io/FileDescriptor.java
6534        (SYNC): New constant.
6535        (DSYNC): Likewise.
6536        (getLength): Renamed from lenght() to match classpath's
6537        FileDescriptor.java.
6538        * java/io/RandomAccessFile.java
6539        (RandomAccessFile): Removed unneeded mode check, implemented mode
6540        "rws" and "rwd", merged documentation from classpath.
6541        (setLength): Reformatted.
6542        (length): Use new getLength() of FileDescriptor.
6543        * java/io/natFileDescriptorEcos.cc
6544        (getLength): Renamed from length().
6545        * java/io/natFileDescriptorPosix.cc
6546        (open): Implemented support for SYNC and DSYNC.
6547        (seek): Use getLength() instead of length().
6548        (getLength): Renamed from length().
6549        * java/io/natFileDescriptorWin32.cc
6550        (getLength): Renamed from length().
6551        (seek): Use getLength() instead of length().
6552        (available): Likewise.
6553        * gnu/java/nio/natFileChannelImpl.cc
6554        (size): Use getLength() instead of length().
6555
6556 2003-05-13  Michael Koch  <konqueror@gmx.de>
6557
6558         * gnu/java/nio/ByteBufferImpl.java
6559         (ByteBufferImpl): All constructors revised.
6560         (slice): Reimplemented.
6561         (duplicate): Reimplemented.
6562         (asReadOnlyBuffer): Reimplemented.
6563         * java/nio/ByteBuffer.java:
6564         Reformatted.
6565         (array_offset): Renamed from "offset" to match all other buffer
6566         classes.
6567         (ByteBuffer): All constructors revised.
6568         (allocateDirect): Implemented.
6569         (allocate): New implementation, documentation reworked.
6570         (wrap): Likewise.
6571         (get): Documentation reworked.
6572         (put): New implementation, documentation reworked.
6573         (hasArray): Documentation reworked.
6574         (arrayOffset): Likewise.
6575         (hashCode): Likewise.
6576         (equals): Likewise.
6577         (compareTo): Likewise.
6578         (order): Likewise.
6579         (compact): Likewise.
6580         (isDirect): Likewise.
6581         (slice): Likewise.
6582         (duplicate): Likewise.
6583         (asReadOnlyBuffer): Likewise.
6584         * Makefile.am
6585         (ordinary_java_source_files):
6586         Added gnu/java/nio/DirectByteBufferImpl.java.
6587         (nat_source_files):
6588         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6589         * Makefile.in: Regenerated.
6590
6591 2003-05-12  Michael Koch  <konqueror@gmx.de>
6592
6593         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6594         (nio_get_*): Removed.
6595         (nio_put_*): Removed.
6596         (as*Buffer): Implemented.
6597         (compact): Implemented.
6598         (get): Documentation added.
6599         (put): Documentation added.
6600         (get*): Newly implemented.
6601         (put*): Newly implemented.
6602         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6603         (CharBufferImpl): 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/DirectByteBufferImpl.java
6611         (allocateDirect): objects can be null not 0.
6612         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6613         (DoubleBufferImpl): Revised.
6614         (slice): New implementation.
6615         (duplicate): New implementation.
6616         (compact): New implementation.
6617         (asReadOnlyBuffer): New implementation.
6618         (get): Documentation revised.
6619         (order): Return native byte order.
6620         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6621         (FloatBufferImpl): Revised.
6622         (slice): New implementation.
6623         (duplicate): New implementation.
6624         (compact): New implementation.
6625         (asReadOnlyBuffer): New implementation.
6626         (get): Documentation revised.
6627         (order): Return native byte order.
6628         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6629         (IntBufferImpl): Revised.
6630         (slice): New implementation.
6631         (duplicate): New implementation.
6632         (compact): New implementation.
6633         (asReadOnlyBuffer): New implementation.
6634         (get): Documentation revised.
6635         (order): Return native byte order.
6636         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6637         (LongBufferImpl): Revised.
6638         (slice): New implementation.
6639         (duplicate): New implementation.
6640         (compact): New implementation.
6641         (asReadOnlyBuffer): New implementation.
6642         (get): Documentation revised.
6643         (order): Return native byte order.
6644         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6645         (ShortBufferImpl): Revised.
6646         (slice): New implementation.
6647         (duplicate): New implementation.
6648         (compact): New implementation.
6649         (asReadOnlyBuffer): New implementation.
6650         (get): Documentation revised.
6651         (order): Return native byte order.
6652         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6653         (CharBuffer): Revised.
6654         (order): Removed.
6655         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6656         (DoubleBuffer): Revised.
6657         (allocateDirect): Removed.
6658         (order): Removed.
6659         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6660         (FloatBuffer): Revised.
6661         (allocateDirect): Removed.
6662         (order): Removed.
6663         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6664         (IntBuffer): Revised.
6665         (allocateDirect): Removed.
6666         (order): Removed.
6667         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6668         (LongBuffer): Revised.
6669         (allocateDirect): Removed.
6670         (order): Removed.
6671         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6672         (ShortBuffer): Revised.
6673         (allocateDirect): Removed.
6674         (order): Removed.
6675         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6676         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6677         * Makefile.am
6678         (ordinary_java_source_files): Added the following files:
6679         gnu/java/nio/CharViewBufferImpl.java,
6680         gnu/java/nio/DoubleViewBufferImpl.java,
6681         gnu/java/nio/FloatViewBufferImpl.java,
6682         gnu/java/nio/IntViewBufferImpl.java,
6683         gnu/java/nio/LongViewBufferImpl.java,
6684         gnu/java/nio/ShortViewBufferImpl.java
6685         (nat_source_files): Removed the following files:
6686         gnu/java/nio/natByteBufferImpl.cc,
6687         gnu/java/nio/natCharBufferImpl.cc
6688         * Makefile.in: Regenerated.
6689
6690 2003-05-12  Michael Koch  <konqueror@gmx.de>
6691
6692         * gnu/java/nio/CharViewBufferImpl.java,
6693         gnu/java/nio/DirectByteBufferImpl.java,
6694         gnu/java/nio/DoubleViewBufferImpl.java,
6695         gnu/java/nio/FloatViewBufferImpl.java,
6696         gnu/java/nio/IntViewBufferImpl.java,
6697         gnu/java/nio/LongViewBufferImpl.java,
6698         gnu/java/nio/ShortViewBufferImpl.java,
6699         gnu/java/nio/natDirectByteBufferImpl.cc:
6700         New files, not yet to be compiled.
6701
6702 2003-05-10  Michael Koch  <konqueror@gmx.de>
6703
6704         * javax/swing/plaf/ButtonUI.java,
6705         javax/swing/plaf/ColorUIResource.java,
6706         javax/swing/plaf/ComponentUI.java,
6707         javax/swing/plaf/DimensionUIResource.java,
6708         javax/swing/plaf/FontUIResource.java,
6709         javax/swing/plaf/IconUIResource.java,
6710         javax/swing/plaf/InsetsUIResource.java,
6711         javax/swing/plaf/LabelUI.java,
6712         javax/swing/plaf/ListUI.java,
6713         javax/swing/plaf/OptionPaneUI.java,
6714         javax/swing/plaf/PanelUI.java,
6715         javax/swing/plaf/TabbedPaneUI.java,
6716         javax/swing/plaf/TextUI.java,
6717         javax/swing/plaf/TreeUI.java,
6718         javax/swing/plaf/ViewportUI.java,
6719         javax/swing/plaf/basic/BasicBorders.java,
6720         javax/swing/plaf/basic/BasicButtonUI.java,
6721         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6722         javax/swing/plaf/basic/BasicDefaults.java,
6723         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6724         javax/swing/plaf/basic/BasicIconFactory.java,
6725         javax/swing/plaf/basic/BasicLabelUI.java,
6726         javax/swing/plaf/basic/BasicListUI.java,
6727         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6728         javax/swing/plaf/basic/BasicPanelUI.java,
6729         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6730         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6731         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6732         javax/swing/plaf/basic/BasicTextUI.java,
6733         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6734         javax/swing/plaf/basic/BasicTreeUI.java,
6735         javax/swing/plaf/basic/BasicViewportUI.java,
6736         javax/swing/plaf/metal/MetalLookAndFeel.java:
6737         New versions from classpath. This adds copyrights to all files and
6738         some serialVersionUIDs.
6739
6740 2003-05-10  Michael Koch  <konqueror@gmx.de>
6741
6742         * java/nio/CharBuffer.java
6743         (offset): Make it package-private.
6744         (backing_buffer): Likewise.
6745         * java/nio/DoubleBuffer.java
6746         (offset): Make it package-private.
6747         (backing_buffer): Likewise.
6748         (put): Reformatted.
6749         * java/nio/FloatBuffer.java
6750         (offset): Make it package-private.
6751         (backing_buffer): Likewise.
6752         * java/nio/IntBuffer.java
6753         (offset): Make it package-private.
6754         (backing_buffer): Likewise.
6755         * java/nio/LongBuffer.java
6756         (offset): Make it package-private.
6757         (backing_buffer): Likewise.
6758         * java/nio/ShortBuffer.java
6759         (offset): Make it package-private.
6760         (backing_buffer): Likewise.
6761
6762 2003-05-10  Michael Koch  <konqueror@gmx.de>
6763
6764         * java/nio/CharBuffer.java
6765         (put): Fixed precondtion check.
6766         (toString): Make it work without backing array.
6767         (put): Skip one level of method calling.
6768
6769 2003-05-10  Michael Koch  <konqueror@gmx.de>
6770
6771         * java/security/Identity.java,
6772         java/security/IdentityScope.java,
6773         java/security/Key.java,
6774         java/security/KeyPair.java,
6775         java/security/PrivateKey.java,
6776         java/security/Provider.java,
6777         java/security/PublicKey.java,
6778         java/security/SecureRandom.java,
6779         java/security/SecureRandomSpi.java,
6780         java/security/SignedObject.java,
6781         java/security/Signer.java,
6782         java/security/cert/Certificate.java,
6783         java/security/cert/PKIXCertPathBuilderResult.java,
6784         java/security/cert/X509Certificate.java:
6785         New versions from classpath.
6786
6787 2003-05-09  Tom Tromey  <tromey@redhat.com>
6788
6789         * Makefile.in: Rebuilt.
6790         * Makefile.am (nat_source_files): Removed old files.
6791         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6792         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6793         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6794         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6795         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6796
6797 2003-05-09  Michael Koch  <konqueror@gmx.de>
6798
6799         * gnu/java/nio/ByteBufferImpl.java
6800         (nio_cast): Removed.
6801         (ByteBufferImpl): Removed.
6802         (nio_get_Byte): Removed.
6803         (nio_put_Byte): Removed.
6804         (asByteBuffer): Removed.
6805         (asCharBuffer): Removed implementation and throw exception.
6806         (asShortBuffer): Likewise.
6807         (asIntBuffer): Likewise.
6808         (asLongBuffer): Likewise.
6809         (asFloatBuffer): Likewise.
6810         (asDoubleBuffer): Likewise.
6811         * gnu/java/nio/CharBufferImpl.java
6812         (CharBufferImpl): Removed.
6813         (nio_get_Byte): Removed.
6814         (nio_put_Byte): Removed.
6815         (asByteBuffer): Removed.
6816         * gnu/java/nio/DoubleBufferImpl.java
6817         (DoubleBufferImpl): Removed.
6818         (nio_get_Byte): Removed.
6819         (nio_put_Byte): Removed.
6820         (asByteBuffer): Removed.
6821         * gnu/java/nio/FloatBufferImpl.java
6822         (FloatBufferImpl): Removed.
6823         (nio_get_Byte): Removed.
6824         (nio_put_Byte): Removed.
6825         (asByteBuffer): Removed.
6826         * gnu/java/nio/IntBufferImpl.java
6827         (IntBufferImpl): Removed.
6828         (nio_get_Byte): Removed.
6829         (nio_put_Byte): Removed.
6830         (asByteBuffer): Removed.
6831         * gnu/java/nio/LongBufferImpl.java
6832         (LongBufferImpl): Removed.
6833         (nio_get_Byte): Removed.
6834         (nio_put_Byte): Removed.
6835         (asByteBuffer): Removed.
6836         * gnu/java/nio/ShortBufferImpl.java
6837         (ShortBufferImpl): Removed.
6838         (nio_get_Byte): Removed.
6839         (nio_put_Byte): Removed.
6840         (asByteBuffer): Removed.
6841         * gnu/java/nio/natByteBufferImpl.cc
6842         (nio_cast): Removed.
6843         (nio_get_Byte): Removed.
6844         (nio_put_Byte): Removed.
6845         * gnu/java/nio/natCharBufferImpl.cc
6846         (nio_get_Byte): Removed.
6847         (nio_put_Byte): Removed.
6848
6849 2003-05-09  Michael Koch  <konqueror@gmx.de>
6850
6851         * java/net/JarURLConnection.java
6852         (getJarEntry): Merged documentation from classpath.
6853         (getJarFile): Likewise.
6854         (getMainAttributes): Likewise.
6855         (getAttributes): Likewise.
6856         (getManifest): Likewise.
6857         (getCertificates): Reformatted.
6858         * java/net/URLConnection.java:
6859         Little classpath merge.
6860
6861 2003-05-09  Michael Koch  <konqueror@gmx.de>
6862
6863         * java/io/DataOutputStream.java
6864         (writeShort): Made it synchronized.
6865         (writeChar): Likewise.
6866         (writeInt): Likewise.
6867         (writeLong): Liekwise.
6868         (writeUTF): Made it synchronized, renamed argument to match classpath.
6869         * java/io/InputStreamReader.java
6870         (converter): Added documentation.
6871         (read): Merged documentation from classpath.
6872         * java/io/OutputStreamWriter.java
6873         (OutputStreamWriter): Merged documentation from classpath.
6874         (close): Reformatted.
6875         (getEncoding): Likewise.
6876         (flush): Likewise.
6877         (write): Merged documentation from classpath, reformatted.
6878
6879 2003-05-08  Tom Tromey  <tromey@redhat.com>
6880
6881         * configure.host <powerpc64*-*>: Set with_libffi_default and
6882         libgcj_interpreter to "yes".
6883
6884 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6885
6886         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6887         
6888 2003-05-06  Tom Tromey  <tromey@redhat.com>
6889
6890         * verify.cc: Reverted previous patch.
6891
6892 2003-05-06  Michael Koch  <konqueror@gmx.de>
6893
6894         * java/io/DataOutputStream.java
6895         (write): Renamed argument to "value", merged documentation from
6896         classpath.
6897         (writeBoolean): Likewise.
6898         (writeByte): Likewise.
6899         (writeShort): Likewise.
6900         (writeChar): Likewise.
6901         (writeInt): Likewise.
6902         (writeLong): Likewise.
6903         (writeFloat): Likewise.
6904         (writeDouble): Likewise.
6905         (writeBytes): Likewise.
6906         (writeChars): Likewise.
6907         (writeUTF): Likewise.
6908         * java/io/File.java
6909         (performDelete): Added documentation.
6910         (performList): Likewise.
6911         (performMkdir): Likewise.
6912         (performSetReadOnly): Likewise.
6913         (performRenameTo): Likewise.
6914         (performSetLastModified): Likewise.
6915         (delete): Made it sychronized.
6916         (renameTo): Made it sychronized.
6917         (equals): Reformatted.
6918         (isHidden): Likewise.
6919         (listFiles): Likewise.
6920         (setReadOnly): Likewise.
6921         (listRoots): Likewise.
6922         (setLastModified): Likewise.
6923         (checkRead): Likewise.
6924         (checkWrite): Likewise.
6925         * java/io/FileInputStream.java
6926         (skip): Made it sychronized, merged from classpath.
6927         * java/io/FileOutputStream.java
6928         (write): Merged from classpath.
6929         * java/io/InputStreamReader.java:
6930         (InputStreamReader): Merged documentation from classpath.
6931
6932 2003-05-05  Michael Koch  <konqueror@gmx.de>
6933
6934         * java/net/NetworkInterface.java
6935         (networkInterfaces): Removed.
6936         (getByName): Use getRealNetworkInterfaces() instead of
6937         networkInterfaces.
6938         (getByInetAddress): Likewise.
6939         (getNetworkInterfaces): Likewise.
6940         (toString): Fix output of addresses of an interface.
6941
6942 2003-05-05  Michael Koch  <konqueror@gmx.de>
6943
6944         * java/io/DataInputStream.java:
6945         Merged new documentation from classpath.
6946
6947 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6948
6949         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6950         "version".
6951         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6952         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6953         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6954         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6955         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6956         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6957         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6958         * java/security/Key.java: Likewise.
6959         * java/security/PrivateKey.java: Likewise.
6960         * java/security/Provider.java: Likewise.
6961         * java/security/PublicKey.java: Likewise.
6962
6963 2003-05-02  Michael Koch  <konqueror@gmx.de>
6964
6965         * java/net/URI.java
6966         (create): Doesnt throws any exceptions.
6967         * java/net/URLConnection.java
6968         (URLConnection): Commend added.
6969         (getExpiration): The header field is called "expires" not
6970         "expiration".
6971         (getHeaderField): Merged documentation with classpath.
6972         (getHeaderFieldInt): Likewise.
6973         (getHeaderFieldDate): Likewise.
6974         (getHeaderFieldKey): Likewise.
6975         (getPermission): Likewise.
6976         (setDefaultUseCaches): Likewise.
6977         (setRequestProperty): Likewise.
6978         (addRequestProperty): Likewise.
6979         (getRequestProperty): Likewise.
6980         (getRequestProperties): Likewise.
6981         (setDefaultRequestProperty): Likewise.
6982         (getDefaultRequestProperty): Likewise.
6983         (guessContentTypeFromStream): Likewise.
6984         (getFileNameMap): Likewise.
6985         (setFileNameMap): Likewise.
6986         (setDoInput): Merged implementation and documentation with classpath.
6987         (setDoOutput): Likewise.
6988         (setAllowUserInteraction): Likewise.
6989         (setDefaultAllowUserInteraction): Likewise.
6990         (setContentHandlerFactory): Made it synchronized, merged documentation
6991         with classpath.
6992         (guessContentTypeFromName): Renamed argument fname to filename to
6993         match classpath, merged documentation with classpath.
6994
6995 2003-05-02  Michael Koch  <konqueror@gmx.de>
6996
6997         * java/net/JarURLConnection.java
6998         (JarURLConnection): Class documentation merged with classpath.
6999         (getJarFileURL): Moved and documentation merged with classpath.
7000         (getEntryName): Likewise.
7001         (JarURLConnection): Documentation merged with classpath.
7002         (getJarEntry): Likewise.
7003         (getJarFile): Likewise.
7004         * java/net/PlainDatagramSocketImpl.java:
7005         Class documentation moved.
7006         * java/net/URLConnection.java
7007         (fileNameMap): Moved and documentation merged with classpath.
7008         (factory): Likewise.
7009         (defaultAllowUserInteraction): Likewis.
7010         (defaultUseCaches): Likewise.
7011         (allowUserInteraction): Likewise.
7012         (connected): Likewise.
7013         (url): Likewise.
7014         (connect): Documentation merged with classpath.
7015         (getURL): Likewise.
7016         (getContentLength): Likewise.
7017         (getContentType): Likewise.
7018         (getContentEncoding): Likewise.
7019         (getExpiration): Likewise.
7020         (getDate): Likewise.
7021         (getLastModified): Likewise.
7022         (getHeaderField): Likewise.
7023         (getContent): Likewise.
7024         (getPermission): Likewise.
7025         (getInputStream): Likewise.
7026         (getOutputStream): Likewise.
7027         (toString): Likewise.
7028         (getDoInput): Likewise.
7029         (getDoOutput): Likewise.
7030         (setAllowUserInteraction): Likewise.
7031         (getAllowUserInteraction): Likewise.
7032         (setDefaultAllowUserInteraction): Likewise.
7033         (getDefaultAllowUserInteraction): Likewise.
7034         (setUseCaches): Likewise.
7035         (getUseCaches): Likewise.
7036         (setIfModifiedSince): Likewise.
7037         (getIfModifiedSince): Likewise.
7038         (setDefaultRequestProperty): Likewise.
7039         (getDefaultRequestProperty): Likewise.
7040         (setContentHandlerFactory): Likewise.
7041         (setFileNameMap): Likewise.
7042
7043 2003-05-02  Michael Koch  <konqueror@gmx.de>
7044
7045         * java/net/InetAddress.java:
7046         Merged class documentation with classpath.
7047         * java/net/JarURLConnection.java:
7048         Explicitely import all used classes.
7049         * java/net/URL.java:
7050         Reformatting.
7051         * java/net/ServerSocket.java,
7052         java/net/Socket.java:
7053         New versions from classpath.
7054
7055 2003-05-02  Michael Koch  <konqueror@gmx.de>
7056
7057         * gnu/java/nio/FileChannelImpl.java
7058         (read): New implementation.
7059         (implRead): New methods.
7060         (write): New implementation, call other write insteal of read method.
7061         (implWrite): New methods.
7062         (map): Added comment.
7063         (transferFrom): Implemented.
7064         (transferTo): Implemented.
7065         (lock): Added checks to throw exceptions.
7066         (truncate): Added check to throw exception.
7067         * gnu/java/nio/natFileChannelImpl.cc
7068         (implRead): New method.
7069         (implWrite): New method.
7070         * java/nio/ByteBuffer.java
7071         (hashCode): Fixed comment.
7072         (get): Fixed exception documentation.
7073         (put): Fixed exception documentation.
7074         * java/nio/CharBuffer.java:
7075         Added comment for later optimizations.
7076
7077 2003-04-30  Tom Tromey  <tromey@redhat.com>
7078
7079         PR libgcj/10582:
7080         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7081         Removed.
7082         (type::compatible): Use _Jv_IsAssignableFrom.
7083         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7084         (_Jv_IsAssignableFrom): Work even when source or target class is
7085         not prepared.
7086
7087 2003-04-30  Michael Koch  <konqueror@gmx.de>
7088
7089         * java/text/BreakIterator.java
7090         (clone): New method.
7091
7092 2003-04-30  Michael Koch  <konqueror@gmx.de>
7093
7094         * java/text/CollationElementIterator.java,
7095         java/text/CollationKey.java,
7096         java/text/RuleBasedCollator.java:
7097         Merged copyright and documentation from classpath and
7098         rearranged some code. No code changes done.
7099
7100 2003-04-30  Michael Koch  <konqueror@gmx.de>
7101
7102         * java/util/regex/Matcher.java
7103         (pattern): New member variable.
7104         (appendReplacement): New method.
7105         (appendTail): New method.
7106         (end): New method.
7107         (find): New method.
7108         (group): New method.
7109         (replaceFirst): Added documentation.
7110         (replaceAll): Added documentation.
7111         (groupCount): New method.
7112         (lookingAt): New method.
7113         (matches): New method.
7114         (reset): New method.
7115         (start): New method.
7116         * java/util/regex/Pattern.java
7117         (serialVersionUID): New constant.
7118         (CANON_EQ): New constant.
7119         (CASE_INSENSITIVE): New constant.
7120         (COMMENTS): New constant.
7121         (DOTALL): New constant.
7122         (MULTILINE): New constant.
7123         (UNICODE_CASE): New constant.
7124         (UNIX_LINES): New constant.
7125         (regex): New member variable.
7126         (flags): New member variable.
7127         (Pattern): New method.
7128         (compile): Documentation added.
7129         (flags): New method.
7130         (matches): Documentation added.
7131         (matcher): Documentation added.
7132         (split): Documentation added.
7133         (pattern): New method.
7134
7135 2003-04-30  Michael Koch  <konqueror@gmx.de>
7136
7137         * gnu/java/security/Engine.java,
7138         gnu/java/security/OID.java,
7139         gnu/java/security/der/BitString.java,
7140         gnu/java/security/der/DER.java,
7141         gnu/java/security/der/DERReader.java,
7142         gnu/java/security/der/DERValue.java,
7143         gnu/java/security/der/DERWriter.java,
7144         gnu/java/security/provider/DSAKeyFactory.java,
7145         gnu/java/security/provider/X509CertificateFactory.java,
7146         gnu/java/security/x509/X500DistinguishedName.java,
7147         gnu/java/security/x509/X509CRL.java,
7148         gnu/java/security/x509/X509CRLEntry.java,
7149         gnu/java/security/x509/X509Certificate.java,
7150         java/security/cert/CRLSelector.java,
7151         java/security/cert/CertPathBuilder.java,
7152         java/security/cert/CertPathBuilderResult.java,
7153         java/security/cert/CertPathBuilderSpi.java,
7154         java/security/cert/CertPathParameters.java,
7155         java/security/cert/CertPathValidator.java,
7156         java/security/cert/CertPathValidatorResult.java,
7157         java/security/cert/CertPathValidatorSpi.java,
7158         java/security/cert/CertSelector.java,
7159         java/security/cert/CertStore.java,
7160         java/security/cert/CertStoreParameters.java,
7161         java/security/cert/CertStoreSpi.java,
7162         java/security/cert/CollectionCertStoreParameters.java,
7163         java/security/cert/LDAPCertStoreParameters.java,
7164         java/security/cert/PKIXBuilderParameters.java,
7165         java/security/cert/PKIXCertPathBuilderResult.java,
7166         java/security/cert/PKIXCertPathChecker.java,
7167         java/security/cert/PKIXCertPathValidatorResult.java,
7168         java/security/cert/PKIXParameters.java,
7169         java/security/cert/PolicyNode.java,
7170         java/security/cert/PolicyQualifierInfo.java,
7171         java/security/cert/TrustAnchor.java,
7172         javax/security/auth/x500/X500Principal.java:
7173         New files from classpath.
7174         * gnu/java/io/ASN1ParsingException.java,
7175         gnu/java/io/Base64InputStream.java,
7176         gnu/java/security/der/DEREncodingException.java,
7177         gnu/java/security/provider/DSAParameters.java,
7178         gnu/java/security/provider/DSASignature.java,
7179         gnu/java/security/provider/Gnu.java,
7180         gnu/java/security/provider/GnuDSAPrivateKey.java,
7181         gnu/java/security/provider/GnuDSAPublicKey.java,
7182         java/security/AlgorithmParameterGenerator.java,
7183         java/security/AlgorithmParameters.java,
7184         java/security/KeyFactory.java,
7185         java/security/KeyPairGenerator.java,
7186         java/security/KeyStore.java,
7187         java/security/MessageDigest.java,
7188         java/security/SecureClassLoader.java,
7189         java/security/SecureRandom.java,
7190         java/security/Security.java,
7191         java/security/Signature.java,
7192         java/security/cert/Certificate.java,
7193         java/security/cert/CertificateFactory.java,
7194         java/security/cert/CertificateFactorySpi.java,
7195         java/security/cert/X509CRL.java,
7196         java/security/cert/X509Certificate.java,
7197         java/security/spec/DSAPublicKeySpec.java:
7198         New versions from classpath.
7199         * gnu/java/security/provider/DERReader.java,
7200         gnu/java/security/provider/DERWriter.java,
7201         java/security/Engine.java: Removed.
7202         * Makefile.am
7203         (java_source_files, javax_source_files): Added new files.
7204         * Makefile.in: Regenerated.
7205
7206 2003-04-29  Michael Koch  <konqueror@gmx.de>
7207
7208         * javax/swing/JTable.java
7209         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7210         (AUTO_RESIZE_LAST_COLUMN): New constant.
7211         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7212         (AUTO_RESIZE_OFF): New constant.
7213         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7214         (JTable): New method.
7215         (columnAdded): New method.
7216         (columnMarginChanged): New method.
7217         (columnMoved): New method.
7218         (columnRemoved): New method.
7219         (columnSelectionChanged): New method.
7220         (editingCanceled): New method.
7221         (editingStopped): New method.
7222         (getColumnModel): New method.
7223         (getPreferredScrollableViewportSize): New method.
7224         (getScrollableBlockIncrement): New method.
7225         (getScrollableTracksViewportHeight): New method.
7226         (getScrollableTracksViewportWidth): New method.
7227         (getScrollableUnitIncrement): New method.
7228         (getSelectedRow): New method.
7229         (getSelectionModel): New method.
7230         (tableChanged): New method.
7231         (setModel): New method.
7232         (setSelectionMode): New method.
7233         (setSelectionModel): New method.
7234         (setShowGrid): New method.
7235         (valueChanged): New method.
7236         * javax/swing/text/DefaultEditorKit.java
7237         (backwardAction): New constant.
7238         (beepAction): New constant.
7239         (beginAction): New constant.
7240         (beginLineAction): New constant.
7241         (beginParagraphAction): New constant.
7242         (beginWordAction): New constant.
7243         (copyAction): New constant.
7244         (cutAction): New constant.
7245         (defaultKeyTypedAction): New constant.
7246         (deleteNextCharAction): New constant.
7247         (deletePrevCharAction): New constant.
7248         (downAction): New constant.
7249         (endAction): New constant.
7250         (endLineAction): New constant.
7251         (endOfLineStringProperty): New constant.
7252         (endParagraphAction): New constant.
7253         (endWordAction): New constant.
7254         (forwardAction): New constant.
7255         (insertBreakAction): New constant.
7256         (insertContentAction): New constant.
7257         (insertTabAction): New constant.
7258         (nextWordAction): New constant.
7259         (pageDownAction): New constant.
7260         (pageUpAction): New constant.
7261         (pasteAction): New constant.
7262         (previousWordAction): New constant.
7263         (readOnlyAction): New constant.
7264         (selectAllAction): New constant.
7265         (selectionBackwardAction): New constant.
7266         (selectionBeginAction): New constant.
7267         (selectionBeginLineAction): New constant.
7268         (selectionBeginParagraphAction): New constant.
7269         (selectionBeginWordAction): New constant.
7270         (selectionDownAction): New constant.
7271         (selectionEndAction): New constant.
7272         (selectionEndLineAction): New constant.
7273         (selectionEndParagraphAction): New constant.
7274         (selectionEndWordAction): New constant.
7275         (selectionForwardAction): New constant.
7276         (selectionNextWordAction): New constant.
7277         (selectionPreviousWordAction): New constant.
7278         (selectionUpAction): New constant.
7279         (selectLineAction): New constant.
7280         (selectParagraphAction): New constant.
7281         (selectWordAction): New constant.
7282         (upAction): New constant.
7283         (writableAction): New constant.
7284
7285 2003-04-29  Michael Koch  <konqueror@gmx.de>
7286
7287         * java/util/PropertyPermission.java:
7288         New version from classpath
7289         * java/util/ResourceBundle.java:
7290         Partly merged from classpath
7291         (getObject): Reformated.
7292         (tryBundle): Set foundBundle = null if no bundle found.
7293
7294 2003-04-29  Michael Koch  <konqueror@gmx.de>
7295
7296         * javax/swing/AbstractListModel.java,
7297         javax/swing/DefaultBoundedRangeModel.java,
7298         javax/swing/DefaultSingleSelectionModel.java:
7299         New Versions from classpath.
7300
7301 2003-04-29  Michael Koch  <konqueror@gmx.de>
7302
7303         * java/awt/Window.java
7304         (show): Call super.show() instead of setVisible() to avoid endless
7305         loop.
7306         (hide): Call super.hide() instead of setVisible() to avoid endless
7307         loop.
7308
7309 2003-04-29  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/util/zip/Deflater.java,
7312         java/util/zip/DeflaterOutputStream.java:
7313         Partly merged with classpath.
7314
7315 2003-04-27  Tom Tromey  <tromey@redhat.com>
7316
7317         * java/lang/natString.cc (_Jv_AllocString): Initialize
7318         cachedHashCode.
7319         (init): Likewise.
7320         (_Jv_NewStringUtf8Const): Likewise.
7321
7322 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7323
7324         * include/jvm.h: (_Jv_GetNbArgs) added
7325         (_Jv_GetSafeArg) added
7326         (_Jv_SetArgs) added
7327         * prims.cc: (_Jv_GetNbArgs) implemented
7328         (_Jv_GetSafeArg) implemented
7329         (_Jv_SetArgs) implemented
7330         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7331         setting _Jv_argc and _Jv_argv
7332         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7333         instead of _Jv_argv
7334         * java/lang/natRuntime.cc: (insertSystemProperties) use
7335         _Jv_GetSafeArg() instead of _Jv_argv
7336
7337 2003-04-23  Tom Tromey  <tromey@redhat.com>
7338
7339         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7340         required by this object.  Search superclasses to find required
7341         alignment.
7342         (get_alignment_from_class): Use alignment of type as it appears
7343         in a struct.
7344         (ALIGNOF): New macro.
7345         (struct aligner): New helper structure.
7346
7347 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7348
7349         * java/awt/Container.java (addImpl): Enable paint events if adding
7350         a lightweight to a heavyweight.
7351         (addNotify): Ensure that peer is created before
7352         addNotifyContainerChildren.
7353         (addNotifyContainerChildren): Enable paint events if a heavyweight
7354         container contains a lightweight.
7355
7356 2003-04-20  Tom Tromey  <tromey@redhat.com>
7357
7358         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7359         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7360         Classpath.
7361
7362 2003-04-19  Tom Tromey  <tromey@redhat.com>
7363
7364         * java/sql/Date.java, java/sql/DriverManager.java,
7365         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7366         Classpath.
7367
7368         * Makefile.in: Rebuilt.
7369         * Makefile.am (ordinary_java_source_files): Added new files.
7370         * java/security/AlgorithmParameterGenerator.java,
7371         java/security/AlgorithmParameters.java, java/security/Engine.java,
7372         java/security/Identity.java, java/security/IdentityScope.java,
7373         java/security/KeyFactory.java,
7374         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7375         java/security/MessageDigest.java, java/security/Policy.java,
7376         java/security/ProtectionDomain.java,
7377         java/security/SecureRandom.java, java/security/Security.java,
7378         java/security/Signature.java, java/security/SignatureSpi.java,
7379         java/security/SignedObject.java, java/security/Signer.java,
7380         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7381         java/security/spec/PSSParameterSpec.java,
7382         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7383         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7384         Classpath.
7385
7386 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7387
7388         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7389         (dispose): Null metrics.
7390         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7391         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7392         finalize.
7393         (finalize): Call dispose.
7394         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7395         (gcCachedCount): New field.
7396         (finalize): New method.
7397         (putGCInCache): New method.
7398         (getGCFromCache): New method.
7399         * gnu/gcj/xlib/GC.java (GC): Make protected.
7400         (clone): Get new GC from cache if possible.
7401         (create): New static method.
7402         (dispose): Save old GC in cache.
7403         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7404         deleting.
7405         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7406         is null.
7407         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7408         * java/awt/Container.java (visitChild): Dispose gfx2 when
7409         finished.
7410
7411 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7412
7413         * java/math/BigInteger.java (probablePrime): New.
7414         * java/math/BigDecimal.java (unscaledValue): New.
7415
7416 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7417
7418         * java/io/File.java (getAbsolutePath): On Windows, take care
7419         of paths like "C:", "G:foo\bar", etc.
7420         (getName): Make it work correctly on Windows.
7421         (getParent): Make it work correctly on Windows. For UNIX,
7422         fix bug that causes "/" to be returned as the parent of "/",
7423         instead of null as returned by Sun's JRE.
7424
7425         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7426
7427 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7428
7429         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7430         inner class.
7431         (CACHE_SIZE_PER_DISPLAY): New field
7432         (fontMetricsCache): New field
7433         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7434         loading ISO10646-1 fonts.
7435
7436 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7437
7438         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7439         characters.
7440         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7441         characters.
7442
7443 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7444
7445         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7446         floating point.
7447
7448 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7449
7450         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7451         installed libpthread is either linuxthreads with floating stacks or
7452         NPTL.
7453
7454 2003-04-14  Tom Tromey  <tromey@redhat.com>
7455
7456         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7457         of alignment.
7458
7459 2003-04-10  Tom Tromey  <tromey@redhat.com>
7460
7461         * verify.cc (pop64): Removed.
7462         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7463         exception if top-of-stack is narrow.
7464         (initialize_stack): Check to ensure that <init> is not static and
7465         <clinit> is.
7466
7467 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7468
7469         * java/io/ObjectStreamException
7470         * java/io/FileFilter
7471         * java/io/FilenameFilter
7472         * java/io/ObjectInput
7473         * java/io/ObjectOutput
7474         * java/io/ObjectStreamConstants
7475         Minor doc fixes, format fixes, spelling corrections, etc.
7476         * java/io/DataInput
7477         Corrected code samples in Javadocs to match reality
7478         * java/io/DataOutput
7479         * java/io/ObjectInputValidation
7480         Major documentation fixes - all Javadocs re-written or updated
7481
7482 2003-04-06  Michael Koch  <konqueror@gmx.de>
7483
7484         * java/net/URLConnection.java:
7485         Import classes directly.
7486         (URLConnection): Merged class documentation with classpath.
7487         (url): Moved, documentation from classpath added.
7488         (doInput): Moved, documentation from classpath added.
7489         (doOutput): Moved, documentation from classpath added.
7490         (allowUserInteraction): Moved.
7491         (useCaches): Moved, documentation from classpath added.
7492         (ifModifiedSince): Moved, documentation from classpath added.
7493         (connected): Moved, documentation from classpath added.
7494
7495 2003-04-06  Michael Koch  <konqueror@gmx.de>
7496
7497         * java/io/FileInputStream.java
7498         (skip): Renamed some variables to match classpath, added
7499         checks from classpath.
7500
7501 2003-03-31  Michael Koch  <konqueror@gmx.de>
7502
7503         * javax/swing/AbstractAction.java
7504         (AbstractAction): Reformatted.
7505         (serialVersionUID): New private member variable.
7506         * javax/swing/plaf/BorderUIResource.java
7507         (serialVersionUID): New private member variable.
7508         * javax/swing/plaf/basic/BasicLookAndFeel.java
7509         (serialVersionUID): New private member variable.
7510
7511 2003-03-31  Michael Koch  <konqueror@gmx.de>
7512
7513         * java/sql/Date.java
7514         (valueOf): Deprecated, reformatted.
7515         (toString): Deprecated, reformatted.
7516         * java/sql/Time.java
7517         (valueOf): Deprecated, reformatted.
7518         (toString): Deprecated, reformatted.
7519
7520 2003-03-31  Michael Koch  <konqueror@gmx.de>
7521
7522         * java/rmi/dgc/VMID.java
7523         (isUnique): Deprecated.
7524
7525 2003-03-31  Michael Koch  <konqueror@gmx.de>
7526
7527         * java/io/File.java
7528         (separator): Merged documentation from classpath.
7529         (separatorChar): Merged documentation from classpath.
7530         (pathSeparator): Merged documentation from classpath.
7531         (pathSeparatorChar): Merged documentation from classpath.
7532         (path): Merged documentation from classpath.
7533         (canRead): Merged documentation from classpath.
7534         (canWrite): Merged documentation from classpath.
7535         (createNewFile): Merged documentation from classpath.
7536         (delete): Merged documentation from classpath.
7537         (equals): Merged documentation from classpath.
7538         (exists): Merged documentation from classpath.
7539         (File): Renamed p to name to match classpath, merged documentation
7540         from classpath.
7541         (getAbsolutePath): Merged documentation from classpath.
7542         (getCanonicalPath): Merged documentation from classpath.
7543         (getCanonicalFile): Merged documentation from classpath.
7544         (getName): Merged documentation from classpath.
7545         (getParent): Merged documentation from classpath.
7546         (getParentFile): Merged documentation from classpath.
7547         (getPath): Merged documentation from classpath.
7548         (hashCode): Merged documentation from classpath.
7549         (isAbsolute): Merged documentation from classpath.
7550         (isDirectory): Merged documentation from classpath.
7551         (isFile): Merged documentation from classpath.
7552         (isHidden): Merged documentation from classpath.
7553         (lastModified): Merged documentation from classpath.
7554         (length): Merged documentation from classpath.
7555         (list): Merged documentation from classpath.
7556         (listFiles): Merged documentation from classpath.
7557         (toString): Merged documentation from classpath.
7558         (toURL): Merged documentation from classpath.
7559         (mkdir): Merged documentation from classpath.
7560         (mkdirs): Merged documentation from classpath.
7561         (createTempFile): Merged documentation from classpath.
7562         (setReadOnly): Merged documentation from classpath.
7563         (listRoots): Merged documentation from classpath.
7564         (compareTo): Merged documentation from classpath.
7565         (renameTo): Merged documentation from classpath.
7566         (setLastModified): Merged documentation from classpath.
7567         * java/io/PrintStream.java
7568         (auto_flush): Merged documentation from classpath.
7569         (PrintStream): Merged documentation from classpath.
7570         (checkError): Merged documentation from classpath.
7571         (setError): Merged documentation from classpath.
7572         (close): Merged documentation from classpath.
7573         (flush): Merged documentation from classpath.
7574         (print): Merged documentation from classpath.
7575         (println):  Merged documentation from classpath.
7576         (write): Renamed count to len to match classpath,
7577         merged documentation from classpath.
7578         * java/io/RandomAccessFile.java
7579         (readShort): Merged documentation from classpath.
7580         (readUnsignedByte): Merged documentation from classpath.
7581         (readUnsignedShort): Merged documentation from classpath.
7582         (readUTF): Merged documentation from classpath.
7583         (seek): Reformatted, merged documentation from classpath.
7584         (skipBytes): Renamed some variables to match classpath, reformatted,
7585         merged documentation from classpath.
7586         (write): Merged documentation from classpath.
7587         (writeBoolean): Merged documentation from classpath.
7588         (writeByte): Merged documentation from classpath.
7589         (writeShort): Merged documentation from classpath.
7590         (writeChar): Merged documentation from classpath.
7591         (writeInt): Merged documentation from classpath.
7592         (writeLong): Merged documentation from classpath.
7593         (writeFloat): Merged documentation from classpath.
7594         (writeDouble): Merged documentation from classpath.
7595         (writeBytes): Merged documentation from classpath.
7596         (writeChars): Merged documentation from classpath.
7597         (writeUTF): Reformatted.
7598         (getChannel): Reformatted.
7599
7600 2003-03-31  Michael Koch  <konqueror@gmx.de>
7601
7602         * java/awt/font/TextAttribute.java
7603         (readResolve): Throws java.io.InvalidObjectException.
7604
7605 2003-03-31  Michael Koch  <konqueror@gmx.de>
7606
7607         * java/rmi/server/LoaderHandler.java
7608         (loadClass): Deprecated.
7609         (getSecurityContext): Deprecated.
7610         * java/rmi/server/LogStream.java
7611         (getDefaultStream): Deprecated.
7612         (setDefaultStream): Deprecated.
7613         (getOutputStream): Deprecated.
7614         (setOutputStream): Deprecated.
7615         (write): Deprecated.
7616         (toString): Deprecated.
7617         (parseLevel): Deprecated.
7618         * java/rmi/server/Operation.java
7619         (Operation): Deprecated.
7620         (getOperation): Deprecated.
7621         (toString): Deprecated.
7622         * java/rmi/server/RemoteCall.java
7623         (getOutputStream): Deprecated.
7624         (releaseOutputStream): Deprecated.
7625         (getInputStream): Deprecated.
7626         (releaseInputStream): Deprecated.
7627         (getResultStream): Deprecated.
7628         (executeCall): Deprecated.
7629         (done): Deprecated.
7630         * java/rmi/server/RemoteRef.java
7631         (invoke): Deprecated.
7632         (newCall): Deprecated.
7633         (done): Deprecated.
7634         * java/rmi/server/RemoteStub.java
7635         (setRef): Deprecated.
7636         * java/rmi/server/Skeleton.java:
7637         No need to import java.lang.Exception explicitly.
7638         (dispatch): Deprecated.
7639         (getOperations): Deprecated.
7640
7641 2003-03-31  Michael Koch  <konqueror@gmx.de>
7642
7643         * java/rmi/dgc/VMID.java,
7644         java/rmi/registry/RegistryHandler.java,
7645         java/rmi/server/LogStream.java,
7646         java/rmi/server/Operation.java,
7647         java/rmi/server/RemoteCall.java,
7648         java/rmi/server/RemoteRef.java,
7649         java/rmi/server/RemoteStub.java:
7650         Reformatted.
7651
7652 2003-03-31  Michael Koch  <konqueror@gmx.de>
7653
7654         * javax/swing/AbstractCellEditor.java,
7655         javax/swing/AbstractListModel.java,
7656         javax/swing/ActionMap.java,
7657         javax/swing/BorderFactory.java,
7658         javax/swing/ButtonGroup.java,
7659         javax/swing/DefaultBoundedRangeModel.java,
7660         javax/swing/DefaultButtonModel.java,
7661         javax/swing/DefaultCellEditor.java,
7662         javax/swing/DefaultComboBoxModel.java,
7663         javax/swing/DefaultDesktopManager.java,
7664         javax/swing/DefaultListCellRenderer.java,
7665         javax/swing/DefaultSingleSelectionModel.java,
7666         javax/swing/InputMap.java,
7667         javax/swing/JComponent.java,
7668         javax/swing/JMenu.java,
7669         javax/swing/JSlider.java,
7670         javax/swing/KeyStroke.java,
7671         javax/swing/OverlayLayout.java,
7672         javax/swing/ScrollPaneLayout.java,
7673         javax/swing/SizeRequirements.java,
7674         javax/swing/UIManager.java,
7675         javax/swing/ViewportLayout.java,
7676         javax/swing/border/AbstractBorder.java,
7677         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7678         javax/swing/event/EventListenerList.java,
7679         javax/swing/table/AbstractTableModel.java,
7680         javax/swing/table/DefaultTableCellRenderer.java,
7681         javax/swing/table/DefaultTableColumnModel.java,
7682         javax/swing/table/DefaultTableModel.java,
7683         javax/swing/table/TableColumn.java,
7684         javax/swing/text/StyledEditorKit.java,
7685         javax/swing/tree/DefaultMutableTreeNode.java,
7686         javax/swing/tree/DefaultTreeModel.java,
7687         javax/swing/tree/DefaultTreeSelectionModel.java,
7688         javax/swing/tree/TreePath.java,
7689         javax/swing/undo/AbstractUndoableEdit.java,
7690         javax/swing/undo/StateEdit.java,
7691         javax/swing/undo/StateEditable.java,
7692         javax/swing/undo/UndoableEditSupport.java:
7693         Merges from classpath.
7694
7695 2003-03-30  Tom Tromey  <tromey@redhat.com>
7696
7697         * java/lang/String.java (data, boffset, count): Documented.
7698         (String(byte[],String)): Reformatted.
7699         (String(byte[])): Likewise.
7700         (lastIndexOf(int)): Likewise.
7701         (lastIndexOf(String)): Likewise.
7702         (substring(int)): Renamed argument to match Classpath.
7703         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7704
7705         * java/lang/String.java: Miscellaneous minor formatting changes
7706         to match Classpath more closely.
7707
7708 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7709             Tom Tromey  <tromey@redhat.com>
7710
7711         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7712         (init()): Removed.
7713         (charAt): Put index in exception.
7714         (contentEquals): New method.
7715         Include StringBuffer.h.
7716         * java/lang/String.java (cachedHashCode): New field.
7717         (String()): Follow classpath implementation.
7718         (init()): Removed.
7719         (contentEquals): Declare.
7720         (subSequence): Don't declare IndexOutIfBoundsException in throws
7721         clause.
7722         (matches, replaceFirst, replaceAll, split): New methods from
7723         Classpath.
7724
7725 2003-03-29  Tom Tromey  <tromey@redhat.com>
7726
7727         * java/lang/String.java: Reordered to follow Classpath; merged in
7728         javadoc.
7729
7730         * java/text/MessageFormat.java: Removed some whitespace.
7731
7732         * Makefile.in: Rebuilt.
7733         * Makefile.am (awt_java_source_files): Added new files.
7734         * gnu/javax/rmi/PortableServer.java,
7735         gnu/javax/rmi/CORBA/DelegateFactory.java,
7736         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7737         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7738         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7739         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7740         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7741         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7742         javax/rmi/PortableRemoteObject.java,
7743         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7744         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7745         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7746         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7747         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7748         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7749
7750         * java/lang/natClass.cc (newInstance): Put method name in
7751         exception.
7752         (getConstructor): Likewise.
7753         (getDeclaredConstructor): Likewise.
7754         (getPrivateMethod): Likewise.
7755
7756 2003-03-28  Tom Tromey  <tromey@redhat.com>
7757
7758         * java/lang/reflect/Proxy.java: New version from Classpath.
7759         * java/lang/Package.java: New version from Classpath.
7760
7761 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7762
7763         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7764         * configure: Regenerate.
7765
7766 2003-03-28  Michael Koch  <konqueror@gmx.de>
7767
7768         * java/io/File.java:
7769         Import needed classes instead of whole packages, merged class
7770         documentation with classpath, moved constants and variables to top of
7771         class.
7772         * java/io/PrintStream.java:
7773         Merged class documentation with classpath, moved constants and
7774         variables to top of class.
7775         * java/io/RandomAccessFile.java
7776         (RandomAccessFile): Merged with classpath.
7777         (read): Merged with classpath).
7778         (read*): Reformatted.
7779
7780 2003-03-28  Michael Koch  <konqueror@gmx.de>
7781
7782         * java/io/FileDescriptor.java
7783         (finalize): Throws Throwable, not IOException.
7784         * java/io/ObjectOutputStream.java
7785         (PutField.put): Doesnt throws anything.
7786
7787 2003­03-28  Michael Koch  <konqueror@gmx.de>
7788
7789         * java/io/FileOutputStream.java:
7790         Merged class documentation and authors with classpath.
7791         (FileOutputStream): Partly merged with classpath.
7792         (write): Merged with classpath.
7793         (getChannel): Make it synchronized instead of explicit block in this
7794         method.
7795         * java/io/RandomAccessFile.java:
7796         Merged class documentation and authors with classpath.
7797
7798 2003-03-26  Tom Tromey  <tromey@redhat.com>
7799
7800         * java/lang/natRuntime.cc (insertSystemProperties): Set
7801         gnu.classpath.home.url.
7802         * Makefile.in: Rebuilt.
7803         * Makefile.am: Define LIBDIR.
7804
7805 2003-03-25  Michael Koch  <konqueror@gmx.de>
7806
7807         * java/io/FileInputStream.java
7808         (read): Renamed b to buf and off to offset.
7809         * java/io/FileOutputStream.java
7810         (ch): Documentation added.
7811         (FileOutputStream): Documentation added.
7812         (getFD): Documentation added.
7813         (write): Documentation added.
7814         (close): Documentation added.
7815         (getChannel): Documentation added.
7816
7817 2003-03-24  Michael Koch  <konqueror@gmx.de>
7818
7819         * java/io/DataOutputStream.java
7820         (write): Merged from classpath.
7821         * java/io/File.java:
7822         Merged copyrigth with classpath.
7823         * java/io/FileInputStream.java
7824         (getChannel): Made it synchronized instead of using a synchronized
7825         block.
7826         * java/io/FileOutputStream.java: Reformatted.
7827         * java/io/InputStreamReader.java
7828         (InputStreamReader): Renamed enc to encoding_name.
7829         (close): Merged documentation from classpath.
7830         (getEncoding): Merged documentation from classpath.
7831         (ready): Merged documentation from classpath.
7832         (read): Merged documentation from classpath.
7833         * java/io/LineNumberReader.java
7834         (lineNumber): Made it private.
7835         (LineNumberReader): Use Constant instead of a direct value.
7836         * java/io/OutputStreamWriter.java
7837         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7838         documentation from classpath.
7839         (close): Merged documentation from classpath.
7840         (flush): Merged documentation from classpath.
7841         (write): Merged documentation from classpath.
7842         * java/io/PrintStream.java: Reformatted.
7843
7844 2003-03-24  Michael Koch  <konqueror@gmx.de>
7845
7846         * javax/swing/text/ComponentView.java
7847         (getComponent): Must be final.
7848         * javax/swing/tree/DefaultTreeCellRenderer.java:
7849         Reformatted.
7850         * javax/swing/undo/StateEditable.java:
7851         Reformatted.
7852
7853 2003-03-24  Michael Koch  <konqueror@gmx.de>
7854
7855         * java/rmi/activation/ActivationInstantiator.java:
7856         Reformatted.
7857         * java/rmi/activation/Activator.java:
7858         Reformatted.
7859         * java/rmi/registry/RegistryHandler.java:
7860         Remerged from classpath.
7861
7862 2003-03-24  Michael Koch  <konqueror@gmx.de>
7863
7864         * java/util/Date.java:
7865         Fixed documentation starting tag to make javadoc happy.
7866         * java/util/regex/Pattern.java
7867         (Pattern): Implements Serializable.
7868         * java/util/PatternSyntaxException.java
7869         (serialVersionUID): New member variable.
7870
7871 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7872
7873         * java/awt/ContainerOrderFocusTraversalPolicy.java
7874         (getFirstComponent): Implemented.
7875         (getLastComponent): Implemented.
7876         (getDefaultComponent): Implemented.
7877         (setImplicitDownCycleTraversal): Fixed implementation.
7878         * java/awt/Robot.java
7879         (Robot): Added documentation.
7880         * java/awt/Toolkit.java
7881         (getFontList): Deprecated.
7882         (getFontMetrics): Deprecated.
7883         (getPrintJob): Added documentation.
7884         (getSystemSelection): Added documentation.
7885         (getLockingKeyState): Added documentation.
7886         (setLockingKeyState): Added documentation.
7887         (createCustomCursor): Added documentation.
7888         (getBestCursorSize): Added documentation.
7889         (getMaximumCursorColors): Added documentation.
7890         (isFrameStateSupported): Added documentation.
7891
7892 2003-03-24  Michael Koch  <konqueror@gmx.de>
7893
7894         * java/io/RandomAccessFile.java:
7895         More little merges with classpath. No code changes.
7896
7897 2003-03-24  Michael Koch  <konqueror@gmx.de>
7898
7899         * java/net/natInetAddressNoNet.cc:
7900         Include stddef.h.
7901         * java/net/natPlainDatagramSocketImplNoNet.cc:
7902         Fixed inlcude of java/net/DatagramPacket.h.
7903         * java/net/natPlainSocketImplNoNet.cc:
7904         Include some missing classes.
7905
7906 2003-03-24  Michael Koch  <konqueror@gmx.de>
7907
7908         * java/awt/dnd/DropTarget.java
7909         (DropTargetAutoScroller): According to the online documentation, this
7910         is protected, but in reality it is public.
7911         * java/awt/dnd/DropTargetContext.java
7912         (TransferableProxy): According to the online documentation, this
7913         is protected, but in reality it is public.
7914
7915 2003-03-24  Michael Koch  <konqueror@gmx.de>
7916
7917         * java/io/DataInputStream.java
7918         (): Wrapped documentation line.
7919         (): Fixed @return tag.
7920         * java/io/DataOutputStream.java
7921         (written): Moved to top of class.
7922         (all methods): Merged documentation from classpath.
7923         * java/io/File.java:
7924         Merged copyright year with classpath.
7925         * java/io/FileInputStream.java
7926         (all methods): Merged documentation from classpath.
7927         * java/io/LineNumberReader.java
7928         (getLineNumber): Fixed @return tag.
7929         * java/io/ObjectInputStream.java.
7930         Reformatted.
7931         * java/io/ObjectOutputStream.java:
7932         Reformatted, fixed some @see tags.
7933         * java/io/OutputStreamWriter.java:
7934         Deleted empty line.
7935         * java/io/Writer.java:
7936         Reformatted.
7937
7938 2003-03-24  Michael Koch  <konqueror@gmx.de>
7939
7940         * java/awt/Frame.java
7941         (DEFAULT_CURSOR): Fixed @deprecated tag.
7942         (setCursor): Fixed @deprecated tag.
7943
7944 2003-03-24  Michael Koch  <konqueror@gmx.de>
7945
7946         * java/beans/beancontext/BeanContextEvent.java:
7947         Reformated.
7948
7949 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7950
7951         * java/lang/natStringBuffer.cc (regionMatches): New function.
7952         * java/lang/String.java (count): Now package-private.
7953         * java/lang/StringBuffer.java: Merged with Classpath.
7954
7955 2003-03-23  Michael Koch  <konqueror@gmx.de>
7956
7957         * java/io/BufferedOutputStream.java:
7958         Reformated.
7959         * java/io/BufferedReader.java:
7960         Reformated.
7961         * java/io/ByteArrayOutputStream.java
7962         (size): Fixed @see tag.
7963         * java/io/CharArrayWriter.java
7964         (size): Fixed @see tag.
7965         * java/io/DataInput.java:
7966         Reformated.
7967         * java/io/DataOutput.java:
7968         Reformated.
7969         * java/io/DataOutputStream.java:
7970         Merged copyright years with classpath.
7971         * java/io/Externalizable.java:
7972         Reformated.
7973         * java/io/FileFilter.java:
7974         Reformated.
7975         * java/io/FileInputStream.java:
7976         Merged copyright years with classpath.
7977         * java/io/FileOutputStream.java:
7978         Merged copyright years with classpath.
7979         * java/io/FilePermission.java
7980         (FilePermission): Replaced @XXX with FIXME:.
7981         * java/io/FileWriter.java:
7982         Reformated.
7983         * java/io/FilenameFilter.java:
7984         Reformated.
7985         * java/io/FilterInputStream.java:
7986         Reformated.
7987         * java/io/FilterOutputStream.java:
7988         Reformated.
7989         * java/io/FilterReader.java:
7990         Reformated.
7991         * java/io/FilterWriter.java:
7992         Reformated.
7993         * java/io/LineNumberInputStream.java
7994         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7995         happy.
7996         (getLineNumber): Fixed @return tag.
7997         * java/io/ObjectInput.java:
7998         Reformated.
7999         * java/io/ObjectOutput.java:
8000         Reformated.
8001         * java/io/ObjectStreamClass.java:
8002         Reformated.
8003         * java/io/PrintStream.java:
8004         Merged copyright years with classpath.
8005         * java/io/PushbackReader.java
8006         (PushbackReader): Replaced @code with @param.
8007         * java/io/SerializablePermission.java:
8008         Reformated.
8009         * java/io/StreamTokenizer.java
8010         (resetSyntax): Fixed @see tag.
8011
8012 2003-03-22  Richard Henderson  <rth@redhat.com>
8013
8014         * sysdep/ia64/locks.h: Include ia64intrin.h.
8015         (compare_and_swap): Use __sync_bool_compare_and_swap.
8016         (compare_and_swap_release): Expose ar.ccv assignment.
8017
8018 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
8019
8020         * include/posix.h: Add suffix for darwin dynamic libraries.
8021
8022 2003-03-21  Michael Koch  <konqueror@gmx.de>
8023
8024         * javax/swing/Action.java
8025         (ACCELERATOR_KEY): New constant.
8026         (ACTION_COMMAND_KEY): Likewise.
8027         (MNEMONIC_KEY): Likewise.
8028         * javax/swing/UnsupportedLookAndFeelException.java
8029         (UnsupportedLookAndFeelException): Must be public.
8030         * javax/swing/WindowConstants.java
8031         (EXIT_ON_CLOSE): New constant.
8032         * javax/swing/text/BadLocationException.java
8033         (offset): New member variable.
8034         (BadLocationException): New implementation, documentation added.
8035         (offsetRequested): New method.
8036         * javax/swing/text/Caret.java:
8037         Reformated.
8038         * javax/swing/text/Document.java:
8039         Reformated.
8040
8041 2003-03-21  Michael Koch  <konqueror@gmx.de>
8042
8043         * java/rmi/activation/Activatable.java
8044         (serialVersionUID): New member variable.
8045         * java/rmi/activation/ActivationGroup.java
8046         (serialVersionUID): New member variable.
8047         * java/rmi/activation/ActivationGroupDesc.java
8048         (serialVersionUID): New member variable.
8049         * java/rmi/registry/Registry.java:
8050         Reformated.
8051         (Registry): Deprecated.
8052         * java/rmi/server/LoaderHandler.java
8053         Reformated.
8054         (LoaderHandler): Deprecated.
8055         * java/rmi/server/LogStream.java
8056         Reformated.
8057         (LogStream): Deprecated.
8058         * java/rmi/server/Operation.java
8059         (Operation): Deprecated.
8060         * java/rmi/server/RMIFailureHandler.java:
8061         Reformated.
8062         * java/rmi/server/RMISocketFactory.java:
8063         Reformated.
8064         * java/rmi/server/RemoteCall.java
8065         (RemoteCall): Deprecated.
8066         * java/rmi/server/RemoteStub.java:
8067         Reformated.
8068         * java/rmi/server/Skeleton.java
8069         Reformated.
8070         (Skeleton): Deprecated.
8071
8072 2003-03-21  Michael Koch  <konqueror@gmx.de>
8073
8074         * java/io/LineNumberReader.java
8075         (LineNumberReader): Merged documentation with classpath.
8076         (getLineNumber): Likewise.
8077         (setLineNumber): Likewise.
8078         (mark): Likewise.
8079         (reset): Likewise.
8080         (read): Likewise.
8081         (readLine): Likewise.
8082         (skip): Likewise.
8083
8084 2003-03-21  Michael Koch  <konqueror@gmx.de>
8085
8086         * java/rmi/RMISecurityManager.java
8087         (checkAccept): Removed.
8088         (checkAccess): Likewise.
8089         (checkAccess): Likewise.
8090         (checkAwtEventQueueAccess): Likewise.
8091         (checkConnect): Likewise.
8092         (checkCreateClassLoader): Likewise.
8093         (checkDelete): Likewise.
8094         (checkExec): Likewise.
8095         (checkExit): Likewise.
8096         (checkLink): Likewise.
8097         (checkListen): Likewise.
8098         (checkMemberAccess): Likewise.
8099         (checkMulticast): Likewise.
8100         (checkPackageAccess): Likewise.
8101         (checkPackageDefinition): Likewise.
8102         (checkPermission): Likewise.
8103         (checkPrintJobAccess): Likewise.
8104         (checkPropertiesAccess): Likewise.
8105         (checkPropertyAccess): Likewise.
8106         (checkRead): Likewise.
8107         (checkSecurityAccess): Likewise.
8108         (checkSetFactory): Likewise.
8109         (checkSystemClipboardAccess): Likewise.
8110         (checkTopLevelWindow): Likewise.
8111         (checkWrite): Likewise.
8112
8113 2003-03-20  Michael Koch  <konqueror@gmx.de>
8114
8115         * gnu/java/nio/FileChannelImpl.java
8116         (address): Removed.
8117         (map_address): New member variable.
8118         (length): Make it package private.
8119         (fd): Make it package private.
8120         (buf): Make it package private.
8121         (file_obj): Make it package private.
8122         (FileChannelImpl): New constructor.
8123         (nio_mmap_file): Use RawData instead of long.
8124         (nio_munmap_file): Use RawData instead of long.
8125         (nio_msync): Use RawData instead of long.
8126         (implCloseChannel): New implementation using map_address.
8127         (read): Reformated.
8128         (map): Implemented.
8129         (create_direct_mapped_buffer): Implemented, use RawData, throws
8130         IOException.
8131         (force): Use map_address instead of address.
8132         * gnu/java/nio/MappedByteFileBuffer.java
8133         (address): Removed.
8134         (map_address): New member variable.
8135         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8136         (several methods): Use map_address instead of address, replaced long
8137         with RawData where appropriate.
8138         * gnu/java/nio/natFileChannelImpl.cc
8139         (nio_mmap_file): Replaced long with RawData.
8140         (nio_munmap_file): Replaced long with RawData.
8141         (nio_msync): Replaced long with RawData.
8142         * gnu/java/nio/natMappedByteFileBuffer.cc
8143         (several methods): Replaced long with RawData where appropriate.
8144
8145 2003-03-20  Michael Koch  <konqueror@gmx.de>
8146
8147         * java/net/InetAddress.java,
8148         java/net/JarURLConnection.java,
8149         java/net/PlainDatagramSocketImpl.java,
8150         java/net/PlainSocketImpl.java,
8151         java/net/URLConnection.java:
8152         Merged copyright statements with classpath for easier merging.
8153
8154 2003-03-20  Michael Koch  <konqueror@gmx.de>
8155
8156         * java/io/FileInputStream.java
8157         (getChannel): New implementation.
8158         * java/io/FileOutputStream.java
8159         (ch): New member variable.
8160         (getChannel): Implemented.
8161         * java/io/RandomAccessFile.java
8162         (RandomAccessFile): Throws FileNotFoundException instead of
8163         IOException.
8164         (getChannel): New method.
8165         (ch): New member variable.
8166
8167 2003-03-20  Michael Koch  <konqueror@gmx.de>
8168
8169         * java/io/DataOutputStream.java,
8170         java/io/File.java,
8171         java/io/FileInputStream.java,
8172         java/io/FileOutputStream.java,
8173         java/io/InputStreamReader.java,
8174         java/io/LineNumberReader.java,
8175         java/io/OutputStreamWriter.java,
8176         java/io/PrintStream.java,
8177         java/io/RandomAccessFile.java:
8178         Merged copyright statements with classpath for easier merging.
8179
8180 2003-03-19  Michael Koch  <konqueror@gmx.de>
8181
8182         * java/lang/Process.java:
8183         Merged from classpath.
8184
8185 2003-03-19  Michael Koch  <konqueror@gmx.de>
8186
8187         * java/io/FileOutputStream.java
8188         (FileOutputStream): New constructor, merged from classpath.
8189         * java/io/FileWriter.java
8190         (FileWriter): New constructor, merged from classpath.
8191
8192 2003-03-18  Michael Koch  <konqueror@gmx.de>
8193
8194         * java/awt/ScrollPane.java
8195         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8196         (getViewportSize): Likewise.
8197         (addNotify): Likewise.
8198         (removeNotify): Likewise.
8199         * java/awt/ScrollPaneAdjustable.java
8200         (ScrollPaneAdjustable): No longer extends Scrollbar.
8201         * java/beans/beancontext/BeanContextServices.java:
8202         Reformated.
8203         (getService): Added throws TooManyListenersException;
8204         * java/beans/beancontext/BeanContextServicesSupport.java:
8205         Reformated.
8206
8207 2003-03-18  Michael Koch  <konqueror@gmx.de>
8208
8209         * java/io/BufferedOutputStream.java,
8210         java/io/DataInput.java,
8211         java/io/DataInputStream.java,
8212         java/io/DataOutput.java,
8213         java/io/Externalizable.java:
8214         More merges from classpath.
8215
8216 2003-03-18  Michael Koch  <konqueror@gmx.de>
8217
8218         * configure.in: Fixed links to platform dependant java.net files.
8219         * configure: Regenerated.
8220         * java/net/natInetAddress.cc,
8221         java/net/natNetworkInterface.cc,
8222         java/net/natPlainDatagramSocketImpl.cc,
8223         java/net/natPlainSocketImpl.cc:
8224         Removed.
8225
8226 2003-03-18  Michael Koch  <konqueror@gmx.de>
8227
8228         * configure.in: Create links to architecture dependent files,
8229         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8230         * configure: Regenerated.
8231         * java/net/natInetAddressNoNet.cc,
8232         java/net/natInetAddressPosix.cc,
8233         java/net/natInetAddressWin32.cc,
8234         java/net/natNetworkInterfaceNoNet.cc,
8235         java/net/natNetworkInterfacePosix.cc,
8236         java/net/natNetworkInterfaceWin32.cc,
8237         java/net/natPlainDatagramSocketImplNoNet.cc,
8238         java/net/natPlainDatagramSocketImplPosix.cc,
8239         java/net/natPlainDatagramSocketImplWin32.cc,
8240         java/net/natPlainSocketImplNoNet.cc,
8241         java/net/natPlainSocketImplPosix.cc,
8242         java/net/natPlainSocketImplWin32.cc: New files.
8243
8244 2003-03-18  Michael Koch  <konqueror@gmx.de>
8245
8246         * java/io/BufferedReader.java,
8247         java/io/BufferedWriter.java,
8248         java/io/ByteArrayOutputStream.java,
8249         java/io/FileFilter.java,
8250         java/io/FilePermission.java,
8251         java/io/FileReader.java,
8252         java/io/FileWriter.java,
8253         java/io/FilenameFilter.java,
8254         java/io/FilterInputStream.java,
8255         java/io/FilterOutputStream.java,
8256         java/io/FilterReader.java,
8257         java/io/FilterWriter.java,
8258         java/io/ObjectInput.java,
8259         java/io/ObjectInputValidation.java,
8260         java/io/ObjectOutput.java,
8261         java/io/ObjectStreamField.java,
8262         java/io/PipedInputStream.java,
8263         java/io/PipedReader.java,
8264         java/io/PrintWriter.java,
8265         java/io/PushbackReader.java,
8266         java/io/Reader.java,
8267         java/io/SerializablePermission.java,
8268         java/io/StringReader.java,
8269         java/io/Writer.java:
8270         Merged from classpath.
8271
8272 2003-03-17  Michael Koch  <konqueror@gmx.de>
8273
8274         * java/awt/ScrollPaneAdjustable.java:
8275         Compile fixes.
8276         
8277 2003-03-17  Michael Koch  <konqueror@gmx.de>
8278
8279         * java/net/DatagramSocket.java
8280         (connect): Fixed comment.
8281         * java/nio/ByteBuffer.java
8282         (hasArray): Fixed comment.
8283
8284 2003-03-17  Michael Koch  <konqueror@gmx.de>
8285
8286         * java/beans/Beans.java:
8287         Explicitely import classes not packages.
8288         * java/beans/FeatureDescriptor.java
8289         (preferred): New member variable.
8290         (isPreferred): New method.
8291         (setPreferred): New method.
8292         * java/beans/PropertyEditorManager.java:
8293         Explicitely import used classes.
8294         * java/beans/beancontext/BeanContextChild.java:
8295         Added line wrapping.
8296         * java/beans/beancontext/BeanContextChildSupport.java:
8297         Reindented.
8298         * java/beans/beancontext/BeanContextEvent.java:
8299         Reindented.
8300
8301 2003-03-17  Michael Koch  <konqueror@gmx.de>
8302
8303         * java/awt/Dialog.java
8304         (Dialog): New constructor, changed implementations, added
8305         documentation.
8306         * java/awt/ScrollPaneAdjustable.java
8307         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8308         Serializable.
8309         (serialVersionUID): New member variable.
8310         (sp): New member variable.
8311         (orientation): New member variable.
8312         (value): New member variable.
8313         (minimum): New member variable.
8314         (maximum): New member variable.
8315         (visibleAmount): New member variable.
8316         (unitIncrement): New member variable.
8317         (blockIncrement): New member variable.
8318         (AdjustmentListener): New member variable.
8319         (ScrollPaneAdjustable): New implementation.
8320         (addAdjustmentListener): New method.
8321         (removeAdjustmentListener): New method.
8322         (getAdjustmentListeners): New method.
8323         (getBlockIncrement): New method.
8324         (getMaximum): New method.
8325         (getMinimum): New method.
8326         (getOrientation): New method.
8327         (getUnitIncrement): New method.
8328         (getValue): New method.
8329         (getVisibleAmount): New method.
8330         (setBlockIncrement): New method.
8331         (setMaximum): Implemented.
8332         (setMinimum): Implemented.
8333         (setUnitIncrement): New method.
8334         (setValue): New method.
8335         (setVisibleAmount): Implemented. 
8336         (paramString): New stubbed method.
8337         * java/awt/Window.java
8338         (show): Call setVisible().
8339         (hide): Call setVisible().
8340         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8341         and WINDOW_STATE_CHANGED.
8342         (processWindowFocusEvent): New method.
8343         (processWindowStateEvent): New method.
8344         (postEvent): Deprecated.
8345         (applyResourceBundle): Deprecated.
8346         * java/awt/datatransfer/DataFlavor.java
8347         (DataFlavor): Doesn't thow ClassNotFoundException.
8348
8349 2003-03-17  Michael Koch
8350
8351         * javax/print/attribute/Attribute.java,
8352         javax/print/attribute/AttributeSet.java,
8353         javax/print/attribute/PrintRequestAttributeSet.java:
8354         New files.
8355         * Makefile.am
8356         (javax_source_files): Added new files:
8357         javax/print/attribute/Attribute.java
8358         javax/print/attribute/AttributeSet.java
8359         javax/print/attribute/PrintRequestAttributeSet.java
8360         * Makefile.in: Regenerated.
8361
8362 2003-03-17  Michael Koch
8363
8364         * javax/print/attribute/Attribute.java,
8365         javax/print/attribute/AttributeSet.java,
8366         javax/print/attribute/PrintRequestAttributeSet.java:
8367         New files.
8368         * Makefile.am
8369         (awt_java_source_files): Added new files:
8370         javax/print/attribute/Attribute.java
8371         javax/print/attribute/AttributeSet.java
8372         javax/print/attribute/PrintRequestAttributeSet.java
8373         * Makefile.in: Regenerated.
8374
8375 2003-03-16  Tom Tromey  <tromey@redhat.com>
8376
8377         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8378         Include platform.h.
8379         * java/lang/natRuntime.cc (insertSystemProperties): Use
8380         _Jv_platform_path_separator.
8381         (nativeGetLibname): Use _Jv_platform_file_separator.
8382         (_load): Use _Jv_platform_onload_names.
8383         (onload_names): New global.
8384         * include/win32.h (_Jv_platform_file_separator): New define.
8385         (_Jv_platform_path_separator): Likewise.
8386         (_Jv_platform_onload_names): Likewise.
8387         (_Jv_platform_ffi_abi): Likewise.
8388         * include/posix.h (_Jv_platform_file_separator): New define.
8389         (_Jv_platform_path_separator): Likewise.
8390         (_Jv_platform_onload_names): Likewise.
8391         (_Jv_platform_ffi_abi): Likewise.
8392
8393 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8394
8395         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8396
8397 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8398
8399         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8400         hierarchy loop.
8401         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8402         list to Object,ObjectStreamClass, moved callReadMethod code up into
8403         readObject and added Class argument to all setXxxField calls.
8404         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8405         consistent with ObjectOutputStream and to facilitate caching the
8406         Method in the future.
8407         (setBooleanField): Added Class argument.
8408         (setByteField): Likewise.
8409         (setCharField): Likewise.
8410         (setDoubleField): Likewise.
8411         (setFloatField): Likewise.
8412         (setIntField): Likewise.
8413         (setLongField): Likewise.
8414         (setShortField): Likewise.
8415         (setObjectField): Likewise.
8416         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8417         class hierarchy loop.
8418         (defaultWriteObject): Call writeFields with new argument list.
8419         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8420         list to Object,ObjectStreamClass, moved callWriteMethod up into
8421         writeObject and added Class argument to all getXxxField calls.
8422         (callWriteMethod): Added ObjectStreamClass argument to be able to
8423         get the proper class to call getMethod on (each class can have (or
8424         not have) its own writeObject method).
8425         (getBooleanField): Added Class argument.
8426         (getByteField): Likewise.
8427         (getCharField): Likewise.
8428         (getDoubleField): Likewise.
8429         (getFloatField): Likewise.
8430         (getIntField): Likewise.
8431         (getLongField): Likewise.
8432         (getShortField): Likewise.
8433         (getObjectField): Likewise.
8434         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8435         facilitate caching the Method object in the future.
8436
8437 2003-03-12  Andreas Schwab  <schwab@suse.de>
8438
8439         * configure.in: Avoid trailing /. in toolexeclibdir.
8440         * configure: Rebuilt.
8441
8442 2003-03-11  Michael Koch  <konqueror@gmx.de>
8443
8444         * gnu/java/nio/ByteBufferImpl.java
8445         (putInt): Use limit() instead of limit.
8446         * gnu/java/nio/CharBufferImpl.java
8447         (slice): Fixed implementation.
8448         (subSequence): Better bounds checking.
8449         * gnu/java/nio/MappedByteFileBuffer.java:
8450         Import all needed classes directly.
8451         * java/nio/ByteBuffer.java
8452         (hashCode): New dummy method.
8453         * java/nio/CharBuffer.java
8454         (array_offset): New member variable.
8455         (hasArray): Fixed documentation.
8456         (arrayOffset): Return array_offset.
8457
8458 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8459
8460         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8461         setter; made return value of getter const char* instead of char*
8462         * prims.cc: removed all references to _Jv_ThisExecutable().
8463         These are in the platform-specific sections now.
8464         * posix.cc: define platform-specific _Jv_ThisExecutable().
8465         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8466         * win32.cc: define platform-specific _Jv_ThisExecutable()
8467         using GetModuleFilename()
8468         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8469         to argv[0] instead of _Jv_ThisExecutable()
8470
8471 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8472
8473         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8474         that is set if we are using addr2name.awk instead of addr2line.
8475         (NameFinder): Set usingAddr2name if using addr2name.awk.
8476         (getExternalLabel): New native method to convert a method 
8477         name to an external label.
8478         (lookup): Convert name given by addr2line to an external label
8479         before demangling.
8480
8481         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8482         constant representing the prefix attached to method names to
8483         convert them to an external label.
8484         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8485         using LABEL_PREFIX.
8486
8487 2003-03-10  Tom Tromey  <tromey@redhat.com>
8488
8489         * Makefile.in: Rebuilt.
8490         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8491         (JC1FLAGS): Removed -Wno-deprecated.
8492
8493 2003-03-10  Michael Koch  <konqueror@gmx.de>
8494
8495         * java/nio/ByteOrder.java
8496         (nativeOrder): Working implementation, added documentation.
8497         (toString): Added documentation.
8498
8499 2003-03-10  Michael Koch  <konqueror@gmx.de>
8500
8501         * java/net/DatagramSocket.java,
8502         java/net/MulticastSocket.java,
8503         java/net/Socket.java,
8504         java/net/URL.java,
8505         java/net/URLConnection.java:
8506         Fixed some documentation tags to make javadoc and friends happy.
8507
8508 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8509
8510         * java/beans/beancontext/BeanContextServicesSupport.java,
8511         java/beans/beancontext/BeanContextSupport.java: New files.
8512         * Makefile.am
8513         (awt_source_files): Added new files.
8514         * Makefile.in: Regenerated.
8515
8516 2003-03-10  Michael Koch  <konqueror@gmx.de>
8517
8518         * java/awt/FocusTraversalPolicy.java
8519         (FocusTraversalPolicy): Documentation added.
8520         (getComponentAfter): Documentation added.
8521         (getComponentBefore): Documentation added.
8522         (getFirstComponent): Documentation added.
8523         (getLastComponent): Documentation added.
8524         (getDefaultComponent): Documentation added.
8525         (getInitialComponent): Documentation added.
8526         * java/awt/ScrollPaneAdjustable.java
8527         (sp): New member variable.
8528         (orientation): New member variable.
8529         (value): New member variable.
8530         (minimum): New member variable.
8531         (maximum): New member variable.
8532         (visibleAmount): New member variable.
8533         (unitIncrement): New member variable.
8534         (blockIncrement): New member variable.
8535         (adjustmentListener): New member variable.
8536         (ScrollPaneAdjustable): Rewrote.
8537         (addAdjustmentListener): New method.
8538         (removeAdjustmentListener): New method.
8539         (getAdjustmentListeners): New method.
8540         (getBlockIncrement): New method.
8541         (getMaximum): New method.
8542         (getMinimum): New method.
8543         (getOrientation): New method.
8544         (getUnitIncrement): New method.
8545         (getValue): New method.
8546         (getVisibleAmount): New method.
8547         (setBlockIncrement): New method.
8548         (setUnitIncrement): New method.
8549         (setMaximum): Implemented.
8550         (setMinimum): Implemented.
8551         (setValue): New method.
8552         (setVisibleAmount): Implemented.
8553         (paramString): New method.
8554         * java/awt/Window.java
8555         (show): Use setVisible(true) instead of super.show().
8556         (hide): Use sevVisible(false) instead of super.hide().
8557         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8558         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8559         (postEvent): Deprecated.
8560         (applyResourceBundle): Deprecated.
8561         (processWindowFocusEvent): New method.
8562         (processWindowStateEvent): New method.
8563         * java/awt/datatransfer/DataFlavor.java: Reindented.
8564         * java/awt/font/TextHitInfo.java
8565         (charIndex): New member variable.
8566         (leadingEdge): New member variable.
8567         (TextHitInfo): New constructor.
8568         (getCharIndex): Implemented.
8569         (isLeadingEdge): Implemented.
8570         (getInsertionIndex): Implemented.
8571         (hashCode): Access charIndex directly.
8572         (equals): Reformated.
8573         (leading): Implemented.
8574         (trailing): Implemented.
8575         (beforeOffset): Implemented.
8576         (afterOffset): Implemented.
8577         (getOtherHit): Implemented.
8578         (getOffsetHit): Implemented.
8579         (toString): Implemented.
8580         * java/awt/image/BufferedImage.java
8581         (BufferedImage): Implements WritableRenderedImage.
8582         (observers): New member variable.
8583         (addTileObserver): New method.
8584         (removeTileObserver): New method.
8585
8586 2003-03-09  Tom Tromey  <tromey@redhat.com>
8587
8588         PR libgcj/9934:
8589         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8590         to lseek.  Return 0 if we can't compute the value.
8591
8592 2003-03-03  Michael Koch  <konqueror@gmx.de>
8593
8594         * java/net/NetworkInterface.java: Merged with classpath.
8595
8596 2003-03-03  Tom Tromey  <tromey@redhat.com>
8597
8598         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8599         of bytecode.
8600         (handle_ret_insn): Fail if returning to jsr that appears at end of
8601         bytecode.
8602
8603 2003-03-03  Michael Koch  <konqueror@gmx.de>
8604
8605         * Makefile.am
8606         (ordinary_java_source_files):
8607         Added gnu/java/nio/MappedByteFileBuffer.java.
8608         (nat_source_files):
8609         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8610         * Makefile.in: Regenerated.
8611
8612 2003-03-03  Michael Koch  <konqueror@gmx.de>
8613
8614         * java/net/DatagramSocket.java
8615         (connect): Merged comment from classpath.
8616         (receive): Merged documentation from classpath.
8617         * java/net/Socket.java
8618         (setSoTimeout): Clarified documentation.
8619         * java/net/URL.java
8620         (getPath): Merged from classpath.
8621         (getUserInfo): Merged from classpath.
8622         (getQuery): Merged from classpath.
8623         * java/net/URLStreamHandler.java
8624         (toExternalForm): Merged from classpath.
8625
8626 2003-03-02  Mark Wielaard  <mark@klomp.org>
8627
8628         * java/util/Properties.java (load): Only skip line if the first
8629         character is a comment, whitespaces don't count.
8630
8631 2003-03-02  Michael Koch  <konqueror@gmx.de>
8632
8633         * java/net/NetPermission.java:
8634         Merged copyright with classpath.
8635
8636 2003-03-02  Michael Koch  <konqueror@gmx.de>
8637
8638         * java/lang/Package.java:
8639         Remerged from classpath.
8640
8641 2003-03-02  Michael Koch  <konqueror@gmx.de>
8642
8643         * java/net/HttpURLConnection.java
8644         (HTTP_SERVER_ERROR): Deprecated.
8645         * java/net/MulticastSocket.java
8646         (send): Replaced checkMulticast with appropriate checkPermission call,
8647         deprecated.
8648         * java/net/URLDecoder.java
8649         (decode): Deprecated.
8650         * java/net/URLEncoder.java
8651         (encode): Deprecated.
8652
8653 2003-03-02  Michael Koch  <konqueror@gmx.de>
8654
8655         * javax/swing/text/Caret.java
8656         (getMagicCaretPosition): Fixed typo in method name.
8657         * javax/swing/text/DefaultCaret.java
8658         (getMagicCaretPosition): Fixed typo in method name.
8659
8660 2003-03-02  Michael Koch  <konqueror@gmx.de>
8661
8662         * java/awt/List.java
8663         (setMultipleSelections): Deprecated.
8664         (delItem): Deprecated.
8665         * java/awt/MenuComponent.java
8666         (getPeer): Deprecated.
8667         * java/awt/ScrollPane.java
8668         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8669         * java/awt/dnd/MouseDragGestureRecognizer.java
8670         (mouseClicked): Added comment.
8671         (mousePressed): Added comment.
8672         (mouseReleased): Added comment.
8673         (mouseEntered): Added comment.
8674         (mouseExited): Added comment.
8675         (mouseDragged): Added comment.
8676         (mouseMoved): Added comment.
8677         * java/awt/event/KeyEvent.java
8678         (KeyEvent): Deprecated.
8679         (setModifiers): Deprecated.
8680         
8681 2003-03-02  Michael Koch  <konqueror@gmx.de>
8682
8683         * gnu/java/nio/FileChannelImpl.java
8684         (fd): Type FileDescriptor instead of int.
8685         (lengthInternal): Removed.
8686         (FileChannelImpl): Fixed arguments, check type of file object.
8687         (size): Made it native.
8688         (implPosition): New native method.
8689         (implTruncate): New native method.
8690         (position): Implemented.
8691         (truncate): Implemented.
8692         (nio_mmap_file): Changed arguments.
8693         (nio_munmap_file): Changed arguments.
8694         (nio_msync): Changed arguments.
8695         * gnu/java/nio/natFileChannelImpl.cc
8696         (lengthInternal): Removed.
8697         (size): New method.
8698         (implPosition): New method.
8699         (implTruncate): New method.
8700         (nio_mmap_file): Changed arguments.
8701         (nio_munmap_file): Changed arguments.
8702         (nio_msync): Changed arguments.
8703
8704 2003-03-02  Michael Koch  <konqueror@gmx.de>
8705
8706         * java/awt/dnd/DropTargetContext.java:
8707         Compile fix: Forgot to commit import.
8708         
8709 2003-03-02  Michael Koch  <konqueror@gmx.de>
8710
8711         * java/awt/Component.java,
8712         java/awt/ScrollPane.java:
8713         Fixed typos.
8714
8715 2003-03-02  Michael Koch  <konqueror@gmx.de>
8716
8717         * java/awt/dnd/DnDEventMulticaster.java: New file.
8718         * java/awt/dnd/DragSource.java
8719         (flavorMap): New member variable.
8720         (dragSourceListener): New member variable.
8721         (dragSourceMotionListener): New member variable.
8722         (getFlavorMap): Implemented.
8723         (createDragGestureRecognizer): Implemented.
8724         (addDragSourceListener): Implemented.
8725         (removeDragSourceListener): Implemented.
8726         (getDragSourceListeners): Implemented.
8727         (addDragSourceMotionListener): Implemented.
8728         (removeDragSourceMotionListener): Implemented.
8729         (getDragSourceMotionListeners): Implemented.
8730         (getListeners): Implemented.
8731         * java/awt/dnd/DragSourceContext.java
8732         (peer): New member variable.
8733         (cursor): New member variable.
8734         (transferable): New member variable.
8735         (trigger): New member variable.
8736         (dragSourceListener): New member variable.
8737         (image): New member variable.
8738         (offset): New member variable.
8739         (DragSourceContext): Implemented.
8740         (getDragSource): Implemented.
8741         (getComponent): Implemented.
8742         (getTrigger): Implemented.
8743         (getSourceActions): Implemented.
8744         (setCursor): Implemented.
8745         (getCursor): Implemented.
8746         (addDragSourceListener): Implemented.
8747         (removeDragSourceListener): Implemented.
8748         (getTransferable): Implemented.
8749         * java/awt/dnd/DropTarget.java
8750         (DropTargetAutoScroller.component): New member variable.
8751         (DropTargetAutoScroller.point): New member variable.
8752         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8753         (DropTargetAutoScroller.updateLocation): Implemented.
8754         (active): Renamed from isActive, defaults to true now.
8755         (component): New member variable.
8756         (flavorMap): New member variable.
8757         (actions): New member variable.
8758         (dropTargetContext): New member variable.
8759         (dropTargetListener): New member variable.
8760         (DropTarget): Implemented.
8761         (getComponent): Implemented.
8762         (setComponent): Implemented.
8763         (setDefaultActions): Implemented.
8764         (getDefaultActions): Implemented.
8765         (setActive): Use active instead of isActive.
8766         (isActive): Use active instead of isActive.
8767         (addDropTargetListener): Implemented.
8768         (removeDropTargetListener): Implemented.
8769         (getFlavorMap): Implemented.
8770         (setFlavorMap): Implemented.
8771         (getDropTargetContext): Implemented.
8772         (createDropTargetContext): Implemented.
8773         (createDropTargetAutoScroller): Implemented.
8774         * java/awt/dnd/DropTargetContext.java
8775         (TransferableProxy.getTransferDataFlavors): Implemented.
8776         (TransferableProxy.isDataFlavorSupported): Implemented.
8777         (TransferableProxy.getTransferData): Implemented.
8778         (dropTarget):  New member variable.
8779         (dtcp): New member variable.
8780         (DropTargetContext): New package private constructor.
8781         (getDropTarget): Implemented.
8782         (getComponent): Implemented.
8783         (addNotify): Implemented.
8784         (removeNotify): Implemented.
8785         (getCurrentDataFlavorsAsList): Implemented.
8786         (isDataFlavorSupported): Implemented.
8787         * java/awt/dnd/MouseDragGestureRecognizer.java
8788         (registerListeners): Implemented.
8789         (unregisterListeners): Implemented.
8790         * Makefile.am
8791         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8792         * Makefile.in: Regenerated.
8793
8794 2003-03-02  Michael Koch  <konqueror@gmx.de>
8795
8796         * java/awt/Component.java
8797         (eventTypeEnabled): New method.
8798         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8799         * java/awt/Container.java
8800         (changeSupport): New member variable.
8801         (addPropertyChangeListener): New methods.
8802         * java/awt/ContainerOrderFocusTraversalPolicy.java
8803         (ContainerOrderFocusTraversalPolicy): Added comment.
8804         (getComponentAfter): Throw exception, documentation added.
8805         (getComponentBefore): Throw exception, documentation added.
8806         (getFirstComponent): Throw exception, documentation added.
8807         (getLastComponent): Throw exception, documentation added.
8808         (getDefaultComponent): Throw exception, documentation added.
8809         * java/awt/EventQueue.java: Reindented.
8810         * java/awt/FocusTraversalPolicy.java:
8811         (FocusTraversalPolicy): Added comment.
8812         (getComponentAfter): Documentation added.
8813         (getComponentBefore): Documentation added.
8814         (getFirstComponent): Documentation added.
8815         (getLastComponent): Documentation added.
8816         (getDefaultComponent): Documentation added.
8817         (getInitialComponent): Documentation added.
8818         * java/awt/ScrollPane.java
8819         (wheelScrollingEnabled): New member variable.
8820         (ScrollPane): Initialize wheelScollingEnabled.
8821         (eventTypeEnabled): New method.
8822         (isWheelScrollingEnabled): New method.
8823         (setWheelScrollingEnabled): New method.
8824
8825 2003-03-02  Michael Koch  <konqueror@gmx.de>
8826
8827         * java/net/DatagramSocket.java
8828         (closed): New member variable.
8829         (close): Use closed variable.
8830         (getInetAddress): No need to call isConnected().
8831         (getPort): No need to call isConnected().
8832         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8833         (isClosed): Reimplemented.
8834         
8835 2003-03-02  Michael Koch  <konqueror@gmx.de>
8836
8837         * configure.in: Added check for memory mapping of files.
8838         * configure: Regenerated.
8839         * config.h.in: Regenerated.
8840
8841 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8842
8843         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8844         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8845
8846 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8847
8848         * java/io/File.java (normalizePath): Remove trailing separator
8849         on Windows only if path is not of the form "x:\".
8850
8851         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8852         (java::io::File::attr): Change formatting a bit and use
8853         WIN32_EPOCH_MILLIS instead of magic numbers.
8854         (java::io::File::isAbsolute): Path must have at least 3 
8855         characters for a UNC network path.
8856         (java::io::File::init_native): Define.
8857         (java::io::File::performCreate): Likewise.
8858         (java::io::File::performSetReadOnly): Likewise.
8859         (java::io::File::performSetLastModified): Likewise.
8860         (java::io::File::performListRoots): Likewise.
8861
8862 2003-03-01  Tom Tromey  <tromey@redhat.com>
8863
8864         * java/lang/natObject.cc: Don't include assert.h.
8865         (heavy_lock_obj_finalization_proc): Use JvAssert.
8866         (remove_all_heavy): Likewise.
8867         (_Jv_MonitorEnter): Likewise.
8868         (_Jv_MonitorExit): Likewise.
8869         (wait): Likewise.
8870
8871 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8872
8873         * java/io/File (getAbsolutePath): Prefix drive specifier on
8874         Windows for paths starting with a '\'.
8875         (toURL): Make URL more consistent with what Sun's JDK returns.
8876
8877         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8878         true only if the path is a UNC network path or it starts with a
8879         drive specifier.
8880
8881         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8882         Be prepared to handle either '/' or '\\' in the file path for
8883         Windows if using the "file" protocol.
8884         Canonicalise the file path if using a relative path in the given
8885         context and the "file" protocol.
8886
8887 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8888
8889         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8890         program array element passed to CreateProcess.
8891
8892 2003-03-01  Tom Tromey  <tromey@redhat.com>
8893
8894         * java/rmi/registry/RegistryHandler.java: Deprecate.
8895
8896 2003-03-01  Tom Tromey  <tromey@redhat.com>
8897
8898         * javax/accessibility/AccessibleEditableText.java,
8899         javax/accessibility/AccessibleHyperlink.java: New versions from
8900         Classpath.
8901
8902         * gnu/java/locale/LocaleInformation_af_ZA.java,
8903         gnu/java/locale/LocaleInformation_ar_AE.java,
8904         gnu/java/locale/LocaleInformation_ar_BH.java,
8905         gnu/java/locale/LocaleInformation_ar_DZ.java,
8906         gnu/java/locale/LocaleInformation_ar_EG.java,
8907         gnu/java/locale/LocaleInformation_ar_IN.java,
8908         gnu/java/locale/LocaleInformation_ar_IQ.java,
8909         gnu/java/locale/LocaleInformation_ar_JO.java,
8910         gnu/java/locale/LocaleInformation_ar_KW.java,
8911         gnu/java/locale/LocaleInformation_ar_LB.java,
8912         gnu/java/locale/LocaleInformation_ar_LY.java,
8913         gnu/java/locale/LocaleInformation_ar_MA.java,
8914         gnu/java/locale/LocaleInformation_ar_OM.java,
8915         gnu/java/locale/LocaleInformation_ar_QA.java,
8916         gnu/java/locale/LocaleInformation_ar_SD.java,
8917         gnu/java/locale/LocaleInformation_ar_SY.java,
8918         gnu/java/locale/LocaleInformation_ar_TN.java,
8919         gnu/java/locale/LocaleInformation_ar_YE.java,
8920         gnu/java/locale/LocaleInformation_be_BY.java,
8921         gnu/java/locale/LocaleInformation_bn_IN.java,
8922         gnu/java/locale/LocaleInformation_br_FR.java,
8923         gnu/java/locale/LocaleInformation_bs_BA.java,
8924         gnu/java/locale/LocaleInformation_ca_ES.java,
8925         gnu/java/locale/LocaleInformation_cs_CZ.java,
8926         gnu/java/locale/LocaleInformation_cy_GB.java,
8927         gnu/java/locale/LocaleInformation_da_DK.java,
8928         gnu/java/locale/LocaleInformation_de_AT.java,
8929         gnu/java/locale/LocaleInformation_de_BE.java,
8930         gnu/java/locale/LocaleInformation_de_CH.java,
8931         gnu/java/locale/LocaleInformation_de_DE.java,
8932         gnu/java/locale/LocaleInformation_de_LU.java,
8933         gnu/java/locale/LocaleInformation_el_GR.java,
8934         gnu/java/locale/LocaleInformation_en_AU.java,
8935         gnu/java/locale/LocaleInformation_en_BW.java,
8936         gnu/java/locale/LocaleInformation_en_CA.java,
8937         gnu/java/locale/LocaleInformation_en_DK.java,
8938         gnu/java/locale/LocaleInformation_en_GB.java,
8939         gnu/java/locale/LocaleInformation_en_HK.java,
8940         gnu/java/locale/LocaleInformation_en_IE.java,
8941         gnu/java/locale/LocaleInformation_en_IN.java,
8942         gnu/java/locale/LocaleInformation_en_NZ.java,
8943         gnu/java/locale/LocaleInformation_en_PH.java,
8944         gnu/java/locale/LocaleInformation_en_SG.java,
8945         gnu/java/locale/LocaleInformation_en_US.java,
8946         gnu/java/locale/LocaleInformation_en_ZA.java,
8947         gnu/java/locale/LocaleInformation_en_ZW.java,
8948         gnu/java/locale/LocaleInformation_es_AR.java,
8949         gnu/java/locale/LocaleInformation_es_BO.java,
8950         gnu/java/locale/LocaleInformation_es_CL.java,
8951         gnu/java/locale/LocaleInformation_es_CO.java,
8952         gnu/java/locale/LocaleInformation_es_CR.java,
8953         gnu/java/locale/LocaleInformation_es_DO.java,
8954         gnu/java/locale/LocaleInformation_es_EC.java,
8955         gnu/java/locale/LocaleInformation_es_ES.java,
8956         gnu/java/locale/LocaleInformation_es_GT.java,
8957         gnu/java/locale/LocaleInformation_es_HN.java,
8958         gnu/java/locale/LocaleInformation_es_MX.java,
8959         gnu/java/locale/LocaleInformation_es_NI.java,
8960         gnu/java/locale/LocaleInformation_es_PA.java,
8961         gnu/java/locale/LocaleInformation_es_PE.java,
8962         gnu/java/locale/LocaleInformation_es_PR.java,
8963         gnu/java/locale/LocaleInformation_es_PY.java,
8964         gnu/java/locale/LocaleInformation_es_SV.java,
8965         gnu/java/locale/LocaleInformation_es_US.java,
8966         gnu/java/locale/LocaleInformation_es_UY.java,
8967         gnu/java/locale/LocaleInformation_es_VE.java,
8968         gnu/java/locale/LocaleInformation_et_EE.java,
8969         gnu/java/locale/LocaleInformation_eu_ES.java,
8970         gnu/java/locale/LocaleInformation_fa_IR.java,
8971         gnu/java/locale/LocaleInformation_fi_FI.java,
8972         gnu/java/locale/LocaleInformation_fo_FO.java,
8973         gnu/java/locale/LocaleInformation_fr_BE.java,
8974         gnu/java/locale/LocaleInformation_fr_CA.java,
8975         gnu/java/locale/LocaleInformation_fr_CH.java,
8976         gnu/java/locale/LocaleInformation_fr_FR.java,
8977         gnu/java/locale/LocaleInformation_fr_LU.java,
8978         gnu/java/locale/LocaleInformation_ga_IE.java,
8979         gnu/java/locale/LocaleInformation_gd_GB.java,
8980         gnu/java/locale/LocaleInformation_gl_ES.java,
8981         gnu/java/locale/LocaleInformation_gv_GB.java,
8982         gnu/java/locale/LocaleInformation_he_IL.java,
8983         gnu/java/locale/LocaleInformation_hi_IN.java,
8984         gnu/java/locale/LocaleInformation_hr_HR.java,
8985         gnu/java/locale/LocaleInformation_hu_HU.java,
8986         gnu/java/locale/LocaleInformation_id_ID.java,
8987         gnu/java/locale/LocaleInformation_it_CH.java,
8988         gnu/java/locale/LocaleInformation_it_IT.java,
8989         gnu/java/locale/LocaleInformation_iw_IL.java,
8990         gnu/java/locale/LocaleInformation_ja_JP.java,
8991         gnu/java/locale/LocaleInformation_ka_GE.java,
8992         gnu/java/locale/LocaleInformation_kl_GL.java,
8993         gnu/java/locale/LocaleInformation_ko_KR.java,
8994         gnu/java/locale/LocaleInformation_kw_GB.java,
8995         gnu/java/locale/LocaleInformation_lt_LT.java,
8996         gnu/java/locale/LocaleInformation_lv_LV.java,
8997         gnu/java/locale/LocaleInformation_mi_NZ.java,
8998         gnu/java/locale/LocaleInformation_mk_MK.java,
8999         gnu/java/locale/LocaleInformation_mr_IN.java,
9000         gnu/java/locale/LocaleInformation_mt_MT.java,
9001         gnu/java/locale/LocaleInformation_nl_BE.java,
9002         gnu/java/locale/LocaleInformation_nl_NL.java,
9003         gnu/java/locale/LocaleInformation_nn_NO.java,
9004         gnu/java/locale/LocaleInformation_no_NO.java,
9005         gnu/java/locale/LocaleInformation_oc_FR.java,
9006         gnu/java/locale/LocaleInformation_pl_PL.java,
9007         gnu/java/locale/LocaleInformation_pt_BR.java,
9008         gnu/java/locale/LocaleInformation_pt_PT.java,
9009         gnu/java/locale/LocaleInformation_ro_RO.java,
9010         gnu/java/locale/LocaleInformation_ru_RU.java,
9011         gnu/java/locale/LocaleInformation_ru_UA.java,
9012         gnu/java/locale/LocaleInformation_se_NO.java,
9013         gnu/java/locale/LocaleInformation_sk_SK.java,
9014         gnu/java/locale/LocaleInformation_sl_SI.java,
9015         gnu/java/locale/LocaleInformation_sq_AL.java,
9016         gnu/java/locale/LocaleInformation_sr_YU.java,
9017         gnu/java/locale/LocaleInformation_sv_FI.java,
9018         gnu/java/locale/LocaleInformation_sv_SE.java,
9019         gnu/java/locale/LocaleInformation_ta_IN.java,
9020         gnu/java/locale/LocaleInformation_te_IN.java,
9021         gnu/java/locale/LocaleInformation_tg_TJ.java,
9022         gnu/java/locale/LocaleInformation_tl_PH.java,
9023         gnu/java/locale/LocaleInformation_tr_TR.java,
9024         gnu/java/locale/LocaleInformation_uk_UA.java,
9025         gnu/java/locale/LocaleInformation_ur_PK.java,
9026         gnu/java/locale/LocaleInformation_uz_UZ.java,
9027         gnu/java/locale/LocaleInformation_vi_VN.java,
9028         gnu/java/locale/LocaleInformation_yi_US.java,
9029         gnu/java/locale/LocaleInformation_zh_CN.java,
9030         gnu/java/locale/LocaleInformation_zh_HK.java,
9031         gnu/java/locale/LocaleInformation_zh_SG.java,
9032         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9033         info; from Classpath.
9034
9035         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9036         isPaintPending): New methods.
9037         * gnu/awt/xlib/XFramePeer.java (getState, setState,
9038         setMaximizedBounds): New methods.
9039         (beginLayout, endLayout, isPaintPending): Likewise.
9040         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9041         (requestFocus): Likewise.
9042         (isObscured): Likewise.
9043         (canDetermineObscurity): Likewise.
9044         (coalescePaintEvent): Likewise.
9045         (updateCursorImmediately): Likewise.
9046         (createVolatileImage): Likewise.
9047         (handlesWheelScrolling): Likewise.
9048         (createBuffers): Likewise.
9049         (getBackBuffer): Likewise.
9050         (flip): Likewise.
9051         (destroyBuffers): Likewise.
9052
9053         * Makefile.in: Rebuilt.
9054         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9055         RobotPeer.java.
9056         * gnu/java/awt/GLightweightPeer.java,
9057         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9058         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9059         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9060         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9061         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9062         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9063         java/awt/dnd/peer/DragSourceContextPeer.java,
9064         java/awt/dnd/peer/DropTargetContextPeer.java,
9065         java/awt/peer/ButtonPeer.java,
9066         java/awt/peer/CheckboxMenuItemPeer.java,
9067         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9068         java/awt/peer/ComponentPeer.java,
9069         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9070         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9071         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9072         java/awt/peer/MenuBarPeer.java,
9073         java/awt/peer/MenuComponentPeer.java,
9074         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9075         java/awt/peer/PopupMenuPeer.java,
9076         java/awt/peer/ScrollPanePeer.java,
9077         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9078         java/awt/peer/TextComponentPeer.java,
9079         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9080         New versions from Classpath.
9081         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9082         * java/awt/peer/RobotPeer.java: Likewise.
9083
9084 2003-03-01  Mark Wielaard  <mark@klomp.org>
9085
9086         * java/io/ObjectInputStream.java: Reindent.
9087         * java/io/ObjectOutputStream.java: Likewise.
9088
9089 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9090
9091         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9092         jvalue for each argument. Simplify.
9093         * testsuite/libjava.jni/calls.c (docall),
9094         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9095         misalignment.
9096
9097 2003-02-28  Mark Wielaard  <mark@klomp.org>
9098
9099         * Makefile.am (nat_source_files): Remove
9100         java/io/natObjectOutputStream.cc.
9101         * Makefile.in: Regenerated.
9102         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9103         * java/io/ObjectStreamField.java (typename): New field.
9104         (ObjectStreamField(String, Class)): Initialize new field.
9105         (ObjectStreamField(String, String)): New Constructor.
9106         (getTypeCode): Use new field.
9107         (getTypeString): Use new field.
9108         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9109         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9110         Handle reading of Proxy classes. Never drain(), just write
9111         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9112         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9113         (flush): Call flush(), not just drain().
9114         (writeBoolean): Always use blockDataOutput.
9115         (writeByte): Likewise.
9116         (writeShort): Likewise.
9117         (writeChar): Likewise.
9118         (writeInt): Likewise.
9119         (writeLong): Likewise.
9120         (writeFloat): Likewise.
9121         (writeDouble): Likewise.
9122         (writeBytes): Likewise.
9123         (putfield (put(String,Object))): Throw IllegalArgumentException if
9124         field cannot be found.
9125         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9126         (writeArraySizeAndElements): Write byte[] in one go.
9127         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9128         set BlockDataMode to false.
9129         (annotateProxyClass): New method.
9130         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9131         (getField): No longer native.
9132         (getMethod): Likewise.
9133         (setBlockDataMode): Always drain() on switch, return old mode.
9134         (static): New static code block.
9135         * java/io/natObjectOutputStream.cc: Removed.
9136         * java/io/ObjectInputStream.java (getField): No longer native.
9137         (getMethod): Likewise.
9138         (readObject): Remember and reset old BlockDataMode. Track whether
9139         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9140         TC_LONGSTRING.
9141         (defaultReadObject): Set BlockDataMode to false during readFields.
9142         (resolveClass): Create new SecurityManager if necessary.
9143         Use Class.forName() if null ClassLoader found.
9144         (read(byte[],int,int): Copy remaining bytes to data before calling
9145         readNextBlock().
9146         (readFields): Set and reset BlockDataMode on call_read_method.
9147         Catch NoSuchFieldErrors.
9148         (setBlockDataMode): Return old mode.
9149         (static): New static code block.
9150         * java/io/natObjectInputStream.cc (getField): Removed.
9151         (getMethod): Likewise.
9152
9153 2003-02-27  Michael Koch  <konqueror@gmx.de>
9154
9155         * java/beans/Beans.java,
9156         java/beans/FeatureDescriptor.java
9157         java/beans/PropertyEditorManager.java:
9158         Reformated to GNU style.
9159
9160 2003-02-25  Michael Koch  <konqueror@gmx.de>
9161
9162         * gnu/java/nio/MappedByteFileBuffer.java,
9163         gnu/java/nio/natMappedByteFileBuffer.cc:
9164         New files, both are not compiled yet to get not noncompiling CVS.
9165
9166 2003-02-24  Tom Tromey  <tromey@redhat.com>
9167
9168         * java/util/prefs/AbstractPreferences.java (isUserNode):
9169         Implemented.
9170
9171 2003-02-24  Tom Tromey  <tromey@redhat.com>
9172
9173         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9174         Deprecate.
9175         * java/lang/Thread.java (resume): Deprecate.
9176         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9177         in @deprecated.
9178
9179 2003-02-23  Tom Tromey  <tromey@redhat.com>
9180
9181         * Makefile.in: Rebuilt.
9182         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9183
9184 2003-02-23  Tom Tromey  <tromey@redhat.com>
9185
9186         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9187         libraries): Removed.
9188         (add_library): Removed.
9189         (_load): Don't call add_library.
9190         (loadLibraryInternal): Likewise.
9191         (init): Likewise.
9192         (lookup_data): New struct.
9193         (find_symbol): New function.
9194         (_Jv_FindSymbolInExecutable): Use it.
9195
9196 2002-02-21  Anthony Green  <green@redhat.com>
9197
9198         * java/lang/Thread.java (Thread): New constructor taking stack
9199         size parameter (ignored for now).
9200         * Many methods: Merged GNU Classpath documentation.
9201
9202         * java/lang/Class.java (finalize): throws a Throwable.
9203
9204 2003-02-21  Mark Wielaard  <mark@klomp.org>
9205
9206         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9207         argument is null.
9208
9209 2003-02-21  Mark Wielaard  <mark@klomp.org>
9210
9211         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9212         then 65535 chars throw IllegalArgumentException.
9213
9214 2003-02-21  Mark Wielaard  <mark@klomp.org>
9215
9216         * java/util/zip/ZipFile.java (finalize): New method.
9217
9218 2003-02-21  Michael Koch  <konqueror@gmx.de>
9219
9220         * gnu/java/nio/natSocketChannelImpl.cc:
9221         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9222         <cato@df.lth.se> for pointing to it.
9223
9224 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9225
9226         * java/math/BigInteger.java (euclidInv): Take result array as an
9227         argument.  Updated all callers.
9228         (modInverse): Removed unused variables.
9229
9230 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9231
9232         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9233         config.status.
9234         * configure: Rebuilt.
9235
9236 2003-02-19  Michael Koch  <konqueror@gmx.de>
9237
9238         * gnu/java/nio/natSocketChannelImpl.cc:
9239         Added support for platforms without network support.
9240
9241 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9242
9243         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9244         after config.h.  Use <> for consistency.
9245         * java/lang/natObject.cc: Likewise.
9246         * java/lang/natRuntime.cc: Likewise.
9247         * java/lang/natSystem.cc: Likewise.
9248         * java/util/natTimeZone.cc: Likewise.
9249         * win32.cc: Likewise.
9250         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9251         listen, write, read): Undef to avoid interference from OS macros.
9252
9253 2003-02-19  Michael Koch  <konqueror@gmx.de>
9254
9255         * gnu/java/nio/ByteBufferImpl.java
9256         (ByteBufferImpl): Renamed two variables.
9257         * gnu/java/nio/CharBufferImpl.java
9258         (CharBufferImpl): Renamed two variables.
9259         * gnu/java/nio/DoubleBufferImpl.java
9260         (DoubleBufferImpl): Renamed two variables.
9261         * gnu/java/nio/FloatBufferImpl.java
9262         (FloatBufferImpl): Renamed two variables.
9263         * gnu/java/nio/IntBufferImpl.java
9264         (IntBufferImpl): Renamed two variables.
9265         * gnu/java/nio/LongBufferImpl.java
9266         (LongBufferImpl): Renamed two variables.
9267         * gnu/java/nio/ShortBufferImpl.java
9268         (ShortBufferImpl): Renamed two variables.
9269         * java/nio/CharBuffer.java
9270         (wrap): Fixed arguments to CharBufferImpl constructor.
9271         (hasArray): Only not read-only buffers have backing arrays.
9272         (length): Documentation added.
9273         (subSequence): Documentation added.
9274         * java/nio/DoubleBuffer.java
9275         (hasArray): Only not read-only buffers have backing arrays.
9276         * java/nio/FloatBuffer.java
9277         (hasArray): Only not read-only buffers have backing arrays.
9278         * java/nio/IntBuffer.java
9279         (hasArray): Only not read-only buffers have backing arrays.
9280         * java/nio/LongBuffer.java
9281         (hasArray): Only not read-only buffers have backing arrays.
9282         * java/nio/ShortBuffer.java
9283         (hasArray): Only not read-only buffers have backing arrays.
9284         
9285 2003-02-19  Michael Koch  <konqueror@gmx.de>
9286
9287         * javax/accessibility/AccessibleContext.java
9288         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9289
9290 2003-02-19  Michael Koch  <konqueror@gmx.de>
9291
9292         * java/awt/ScrollPaneAdjustable.java: Reformated.
9293
9294 2003-02-19  Michael Koch <konqueror@gmx.de>
9295
9296         * gnu/awt/j2d/Graphics2DImpl.java
9297         (getFontRenderContext): New method.
9298         (drawGlyphVector): New method.
9299         * java/awt/Graphics2D.java
9300         (getFontRenderContext): New abstract method.
9301         (drawGlyphVector): New abstract method.
9302         
9303 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9304
9305         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9306         if necessary.
9307         
9308         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9309         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9310         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9311         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9313         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9314         (setFont, gtkSetFont): add.
9315         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9316         Propagate font to peer.  (setFont): add FIXME comment.
9317
9318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9319         (gtkTextGetSize): fix height, width computation.
9320
9321         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9322         Make X font name a bit less bogus.
9323
9324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9325         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9326
9327         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9328         (processAdjustmentEvent): Adjust value.
9329
9330         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9331         logic errors.
9332
9333         * java/awt/Component.java (setVisible, show, hide): Call show and
9334         hide methods in subclasses.
9335         (getPreferredSize): don't set prefSize before we have peer.
9336
9337         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9338         Guess (0,0) if we don't have peer.
9339
9340
9341 2003-02-18  Michael Koch  <konqueror@gmx.de>
9342
9343         * java/nio/channels/FileChannel.java
9344         (toString): New implementation, added documentation.
9345         (map): Added exception documentation.
9346         (size): Added exception documentation.
9347         (write): New methods, documentation work.
9348         (read): New methods, documentation work.
9349         (implCloseChannel): Rewrote exception documentation.
9350         (force): Throws IOException, added documentation.
9351         (lock): New methods.
9352         (tryLock): New methods.
9353         (position): New methods.
9354         (transferTo): New method.
9355         (transferFrom): New method.
9356         (truncate): New method.
9357         * java/nio/channels/spi/SelectorProvider.java
9358         (provider): Implemented.
9359         * Makefile.am
9360         (ordinary_java_source_files): Added the following files:
9361         gnu/java/nio/DatagramChannelImpl.java
9362         gnu/java/nio/FileChannelImpl.java
9363         gnu/java/nio/PipeImpl.java
9364         gnu/java/nio/SelectionKeyImpl.java
9365         gnu/java/nio/SelectorImpl.java
9366         gnu/java/nio/SelectorProviderImpl.java
9367         gnu/java/nio/ServerSocketChannelImpl.java
9368         gnu/java/nio/SocketChannelImpl.java
9369         java/nio/channels/FileLock.java
9370         (nat_java_source_files): Added the following files:
9371         gnu/java/nio/natFileChannelImpl.cc
9372         gnu/java/nio/natSelectorImpl.cc
9373         gnu/java/nio/natSocketChannelImpl.cc
9374         * Makefile.in: Regenerated.
9375
9376 2003-02-17  Tom Tromey  <tromey@redhat.com>
9377
9378         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9379         * java/awt/image/ImageFilter.java: Likewise.
9380
9381 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9382
9383         * java/math/BigInteger.java (euclidInv): Return array of
9384         `BigInteger's.  Changed all callers.
9385
9386 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9387
9388         * java/util/Properties.java (store): Move the code formerly in
9389         list(), into this method.
9390         (list (PrintStream)): Just call list (PrintWriter) with a 
9391         PrintWriter object constructed from the given PrintStream object.
9392         (list (PrintWriter)): Emulate the output of Properties.list()
9393         as found in JDK 1.3/1.4.
9394
9395 2003-02-17  Michael Koch  <konqueror@gmx.de>
9396
9397         * java/net/DatagramSocket.java
9398         (connect): Merged with classpath.
9399         (disconnect): Merged documentation with classpath.
9400         (receice): Merged documentation with classpath.
9401         (send): Merged documentation with classpath.
9402         
9403 2003-02-17  Michael Koch  <konqueror@gmx.de>
9404
9405         * java/awt/dnd/DragSourceContext.java
9406         (addDragSourceListener): Added documentation.
9407         * java/awt/dnd/DragSourceDragEvent.java
9408         (serialVersionUID): New member variable.
9409         (getDropAction): Reformated.
9410         * java/awt/dnd/DragSourceDropEvent.java
9411         (serialVersionUID): New member variable.
9412         (dropSuccess): Renamed from success for serialization issues.
9413         * java/awt/dnd/DragSourceEvent.java
9414         (serialVersionUID): New member variable.
9415         * java/awt/dnd/DropTarget.java
9416         (serialVersionUID): New member variable.
9417         (DropTarget): Implemented, documentation reworked.
9418         (setComponent): Documentation added.
9419         (getComponent): Documentation added.
9420         (setDefaultActions): Documentation added.
9421         (getDefaultActions): Documentation added.
9422         (addDropTargetListener): Documentation added.
9423         * java/awt/dnd/DropTargetContext.java
9424         (DropTargetContext): Documentation added.
9425         (TransferableProxy.TransferableProxy): New method.
9426         (dropComplete): Fixed documentation.
9427         (getTransferable): Fixed documentation.
9428         (createTransferableProxy): Implemented.
9429         * java/awt/dnd/DropTargetDragEvent.java
9430         (DropTargetDragEvent): Documentation added.
9431         (serialVersionUID): New member variable.
9432         (DropTargetDragEvent): Throw exceptions, documentation added.
9433         (acceptDrag): Implemented.
9434         (getCurrentDataFlavors): Implemented.3yy
9435         (getCurrentDataFlavorsAsList): Implemented.
9436         (isDataFlavorSupported): Implemented.
9437         (rejectDrag): Implemented.
9438         * java/awt/dnd/DropTargetDropEvent.java
9439         (DropTargetDropEvent): Documentation added.
9440         (serialVersionUID): New member variable.
9441         (actions): Renamed from srcActions for serialization issues.
9442         (isLocalTx): Renamed from isLocalTx for serialization issues.
9443         (DropTargetDropEvent): New implementation, throw exceptions,
9444         documentation added.
9445         (getCurrentDataFlavors): Implemented.
9446         (getCurrentDataFlavorsAsList): Implemented.
9447         (isDataFlavorSupported): Implemented.
9448         (getSourceActions): Implemented.
9449         (getDropAction): Implemented.
9450         (getTransferable): Implemented.
9451         (acceptDrop): Implemented.
9452         (rejectDrop): Implemented.
9453         * java/awt/dnd/DropTargetListener.java
9454         (drop): Fixed documentation.
9455         * java/awt/dnd/MouseDragGestureRecognizer.java
9456         (MouseDragGestureRecognizer): Documentation added.
9457
9458 2003-02-17  Michael Koch  <konqueror@gmx.de>
9459
9460         * java/awt/font/FontRenderContext.java,
9461         java/awt/font/ShapeGraphicAttribute.java,
9462         java/awt/font/MultipleMaster.java,
9463         java/awt/font/TransformAttribute.java,
9464         java/awt/font/GlyphJustificationInfo.java,
9465         java/awt/font/LineBreakMeasurer.java,
9466         java/awt/font/TextMeasurer.java,
9467         java/awt/font/TextLayout.java,
9468         java/awt/font/LineMetrics.java,
9469         java/awt/font/TextAttribute.java,
9470         java/awt/font/GlyphMetrics.java,
9471         java/awt/font/OpenType.java,
9472         java/awt/font/GlyphVector.java,
9473         java/awt/font/GraphicAttribute.java,
9474         java/awt/font/ImageGraphicAttribute.java,
9475         java/awt/font/NumericShaper.java: New files.
9476         * Makefile.am
9477         (awt_java_source_files): Added the following files:
9478         java/awt/font/FontRenderContext.java
9479         java/awt/font/ShapeGraphicAttribute.java
9480         java/awt/font/MultipleMaster.java
9481         java/awt/font/TransformAttribute.java
9482         java/awt/font/GlyphJustificationInfo.java
9483         java/awt/font/LineBreakMeasurer.java
9484         java/awt/font/TextMeasurer.java
9485         java/awt/font/TextLayout.java
9486         java/awt/font/LineMetrics.java
9487         java/awt/font/TextAttribute.java
9488         java/awt/font/GlyphMetrics.java
9489         java/awt/font/OpenType.java
9490         java/awt/font/GlyphVector.java
9491         java/awt/font/GraphicAttribute.java
9492         java/awt/font/ImageGraphicAttribute.java
9493         java/awt/font/NumericShaper.java
9494         * Makefile.in: Regenerated.
9495
9496 2003-02-17  Michael Koch  <konqueror@gmx.de>
9497
9498         * java/awt/print/Paper.java
9499         (Paper): Implements Cloneable.
9500         * java/awt/print/PrinterJob.java
9501         (setJobName): Return value must be void.
9502         (print): Throws PrinterException.
9503         
9504 2003-02-16  Tom Tromey  <tromey@redhat.com>
9505
9506         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9507         variable.
9508
9509 2003-02-15  Michael Koch  <konqueror@gmx.de>
9510
9511         * java/awt/datatransfer/DataFlavor.java
9512         (isRepresentationClassByteBuffer): Removed try-catch block.
9513         (isRepresentationClassCharBuffer): Removed try-catch block.
9514         (isRepresentationClassReader): Removed try-catch block.
9515
9516 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9517
9518         * java/nio/charset/Charset.java
9519         (isRegistered): Fixed method args and implementation.
9520         * java/nio/charset/CharsetEncoder.java
9521         (unmappableCharacterAction): New method.
9522
9523 2003-02-15  Michael Koch  <konqueror@gmx.de>
9524
9525         * java/awt/CheckboxMenuItem.java
9526         (CheckBoxMenuItem): Dont implement Serializable.
9527         (getListeners): New method,
9528         (getItemListeners): New method.
9529         * java/awt/Choice.java
9530         (getListeners): New method,
9531         (getItemListeners): New method.
9532         * java/awt/Container.java
9533         (getListeners): Added exception documentation.
9534         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9535         (getFocusTraversalKeys): Added documentation.
9536         (areFocusTraversalKeysSet): Added documentation.
9537         (applyComponentOrientation): Added documentation.
9538         * java/awt/ContainerOrderFocusTraversalPolicy.java
9539         (implicitDownCycleTraversal): Renamed from downCycle for
9540         serialization.
9541         (ContainerOrderFocusTraversalPolicy): Added documentation.
9542         (accept): Reformated.
9543         * java/awt/Dialog.java
9544         (Dialog): Dont implement Serializable.
9545         (Dialog): Added documentation.
9546         * java/awt/Font.java
9547         (Font): Dont use absolute class name.
9548         * java/awt/Frame.java
9549         (Frame): Font implement Serializable.
9550         * java/awt/List.java
9551         (getListeners): New method,
9552         (getActionListeners): New method.       
9553         (getItemListeners): New method.
9554         * java/awt/Menu.java
9555         (countItems): New deprecated method.
9556         * java/awt/Scrollbar.java
9557         (getListeners): New method,
9558         (getAdjustmentListeners): New method,
9559         * java/awt/TextComponent.java
9560         (getListeners): New method,
9561         (getTextListeners): New method,
9562         * java/awt/TextField.java
9563         (getListeners): New method,
9564         (getActionListeners): New method.       
9565         * java/awt/Window.java
9566         (windowFocusListener): New member variable.
9567         (windowStateListener): New member variable.
9568         (getWindowFocusListeners): New method.
9569         (getWindowStateListeners): New method.
9570         (addWindowFocusListener): New method.
9571         (addWindowStateListener): New method.
9572         (removeWindowFocusListener): New method.
9573         (removeWindowStateListener): New method.
9574         * java/awt/datatransfer/DataFlavor.java
9575         (isRepresentationClassByteBuffer): New method.
9576         (isRepresentationClassCharBuffer): New method.
9577         (isRepresentationClassReader): New method.
9578
9579 2003-02-14  Mark Wielaard  <mark@klomp.org>
9580
9581         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9582         zero when there is an exponent and the significant is zero.
9583         (divide): Always set scale to newScale even in special ZERO case.
9584
9585 2003-02-14  Tom Tromey  <tromey@redhat.com>
9586
9587         * java/lang/System.java (properties): Use Properties.clone.
9588         (setProperties): Likewise.
9589
9590 2003-02-14  Michael Koch  <konqueror@gmx.de>
9591
9592         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9593         * gnu/java/nio/ServerSocketChannelImpl.java
9594         (SocketAccept): Removed.
9595         (accept): Commented out use of SocketAccept.
9596
9597 2003-02-13  Tom Tromey  <tromey@redhat.com>
9598
9599         * verify.cc (state::seen_subrs): New field.
9600         (state::state): Initialize it.
9601         (state::clean_subrs): New method.
9602         (state::~state): Call it.
9603         (state::copy): Copy subroutine list.
9604         (state::add_subr): New method.
9605         (state::merge): Only register a change if the current subroutine
9606         hasn't yet been noted.
9607
9608 2003-02-13  Mark Wielaard  <mark@klomp.org>
9609
9610         * java/io/InputStreamReader.java (getEncoding): Return null when
9611         closed.
9612         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9613
9614 2003-02-13  Mark Wielaard  <mark@klomp.org>
9615  
9616         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9617         is zero.
9618
9619 2003-02-13  Mark Wielaard  <mark@klomp.org>
9620
9621         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9622         next byte cannot be buffered.
9623
9624 2003-02-13  Michael Koch  <konqueror@gmx.de>
9625  
9626         * java/awt/Label.java
9627         (Label): Don't implement Serializable directly.
9628         (addNotify): Fixed typo in documentation.
9629         * java/awt/List.java
9630         (List): Don't implement Serializable directly.
9631         * java/awt/PopupMenu.java
9632         (PopupMenu): Don't implement Serializable directly.
9633         * java/awt/ScrollPane.java
9634         (ScrollPane): Don't implement Serializable directly.
9635         * java/awt/Scrollbar.java
9636         (Scrollbar): Don't implement Serializable directly.
9637         * java/awt/TextArea.java
9638         (preferredSize): Fixed method arguments.
9639         * java/awt/TextField.java
9640         (TextField): Don't implement Serializable directly.
9641         * java/awt/color/ICC_ColorSpace.java
9642         (fromCIOXYZ): Documentation added.
9643         (getMinValue): Documentation added.
9644         (getMaxValue): Documentation added.
9645         * java/awt/datatransfer/DataFlavor.java
9646         (isMimeTypeEqual): May not be final.
9647         (clone): Throws CloneNotSupportedException.
9648         (getReaderForText): Don't throws UnsupportedEncodingException.
9649
9650 2003-02-13  Michael Koch  <konqueror@gmx.de>
9651  
9652         * gnu/java/awt/peer/gtk/GdkGraphics.java
9653         (drawString): New stubbed method.
9654         * java/awt/Graphics.java
9655         (drawString): New method.
9656
9657 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9658
9659         PR libgcj/9271:
9660         * java/security/SecureRandom.java (next): Avoid bias in results.
9661
9662 2003-02-13  Michael  <konqueror@gmx.de>
9663
9664         * gnu/java/nio/FileChannelImpl.java
9665         (lengthInternal): Must be native.
9666         (size): Check if channel is already closed.
9667         (implCloseChannel): Reformated.
9668         (read): w was unused, removed it.
9669         (read): Removed.
9670         (read): New method.
9671         (write): New method.
9672         (map): Check arguments.
9673         (force): Throws IOException, check if channel is closed.
9674         (transferTo): New method.
9675         (transferFrom): New method.
9676         (lock): New method.
9677         (tryLock): New method.
9678         (position): New method.
9679         (truncate): New method.
9680         (nio_mmap_file): Uncommented.
9681         (nio_munmap_file): Uncommented.
9682         (nio_msync): Uncommented.
9683         * gnu/java/nio/natFileChannelImpl.cc: New file.
9684         
9685 2003-02-13  Michael Koch  <konqueror@gmx.de>
9686
9687         * java/nio/ByteBuffer.java
9688         (endian): New member variable.
9689         (get): New methods.
9690         (equals): New method.
9691         (compareTo): New method.
9692         (order): New methods.
9693         (compact): New method.
9694         (isDirect): New method.
9695         (slice): New method.
9696         (duplicate): New method.
9697         (asReadOnlyBuffer): New method.
9698         (asCharBuffer): New method.
9699         (asDoubleBuffer): New method.
9700         (asFloatBuffer): New method.
9701         (asIntBuffer): New method.
9702         (asLongBuffer): New method.
9703         (asShortBuffer): New method.
9704         (get*): New methods.
9705         (put*): New methods.
9706         (toString): New method.
9707         * java/nio/CharBuffer.java
9708         (CharBuffer): Implement Comparable instead of Cloneable.
9709         (get): May not be final.
9710         (put): May not be final.
9711         
9712 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9713
9714         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9715         lastIndexOf( ) instead of indexOf( ) to find the colon before
9716         the line number, because Win32 file names might contain a 
9717         drive letter and a colon at the start of an absolute path.
9718
9719 2003-02-13  Michael Koch  <konqueror@gmx.de>
9720
9721         * gnu/java/nio/natSocketChannelImpl.cc
9722         (SocketConnect): This is not implemented yet.
9723         (SocketBind): This is not implemented yet.
9724
9725 2003-02-13  Michael Koch  <konqueror@gmx.de>
9726
9727         * gnu/java/nio/natByteBufferImpl.cc,
9728         gnu/java/nio/natCharBufferImpl.cc,
9729         gnu/java/nio/natDoubleBufferImpl.cc,
9730         gnu/java/nio/natFloatBufferImpl.cc,
9731         gnu/java/nio/natIntBufferImpl.cc,
9732         gnu/java/nio/natLongBufferImpl.cc,
9733         gnu/java/nio/natShortBufferImpl.cc:
9734         Added copyright and license.
9735         * java/nio/DoubleBuffer.java,
9736         java/nio/FloatBuffer.java,
9737         java/nio/IntBuffer.java,
9738         java/nio/LongBuffer.java,
9739         java/nio/ShortBuffer.java
9740         (array): Throw exceptions.
9741         (arrayOffset): Throw exceptions.
9742
9743 2003-02-13  Michael Koch  <konqueror@gmx.de>
9744  
9745         * gnu/java/util/prefs/FileBasedFactory.java,
9746         gnu/java/util/prefs/MemmoryBasedFactory.java,
9747         gnu/java/util/prefs/MemoryBasedPreferences.java,
9748         gnu/java/util/prefs/NodeReader.java,
9749         gnu/java/util/prefs/NodeWriter.java,
9750         java/util/prefs/AbstractPreferences.java,
9751         java/util/prefs/BackingStoreException.java,
9752         java/util/prefs/InvalidPreferencesFormatException.java,
9753         java/util/prefs/NodeChangeEvent.java,
9754         java/util/prefs/NodeChangeListener.java,
9755         java/util/prefs/PreferenceChangeEvent.java,
9756         java/util/prefs/PreferenceChangeListener.java,
9757         java/util/prefs/Preferences.java,
9758         java/util/prefs/PreferencesFactory.java:
9759         New files, all merged from classpath.
9760         * Makefile.am
9761         (ordinary_java_source_files): Added the following files:
9762         gnu/java/util/prefs/FileBasedFactory.java,
9763         gnu/java/util/prefs/MemmoryBasedFactory.java,
9764         gnu/java/util/prefs/MemoryBasedPreferences.java,
9765         gnu/java/util/prefs/NodeReader.java,
9766         gnu/java/util/prefs/NodeWriter.java,
9767         (core_java_source_files): Added the following files:
9768         java/util/prefs/AbstractPreferences.java,
9769         java/util/prefs/BackingStoreException.java,
9770         java/util/prefs/InvalidPreferencesFormatException.java,
9771         java/util/prefs/NodeChangeEvent.java,
9772         java/util/prefs/NodeChangeListener.java,
9773         java/util/prefs/PreferenceChangeEvent.java,
9774         java/util/prefs/PreferenceChangeListener.java,
9775         java/util/prefs/Preferences.java,
9776         java/util/prefs/PreferencesFactory.java
9777         * Makefile.in: Regenerated.
9778  
9779 2003-02-13  Michael Koch  <konqueror@gmx.de>
9780
9781         * java/net/NetPermission.java
9782         (NetPermission): Make doucmentation match the method declaration.
9783         * java/net/NetworkInterface.java
9784         (equals): Reformated for GNU coding style.
9785         * java/net/ServerSocket.java: Merged with classpath.
9786         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9787         * java/net/SocketImpl.java
9788         (localPort): Merged with classpath (initialize with -1).
9789         * java/net/SocketPermission.java: Merged with classpath (reindented).
9790         * java/net/URLDecoder.java: Merged with classpath (reindented).
9791
9792 2003-02-13  Michael Koch  <konqueror@gmx.de>
9793
9794         * java/awt/GridBagConstraints.java
9795         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9796         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9797         * java/awt/KeyboardFocusManager.java
9798         (setGlobalCurrentFocusCycleRoot): Must be public.
9799         * java/awt/MenuComponent.java
9800         (MenuComponent): Must be public.
9801         * java/awt/Toolkit.java:
9802         Added some empty lines to make documentation more readable.
9803         (getFontPeer): Added @deprecated.
9804         (getColorModel): Added exception documentation.
9805         (getProperty): Fixed documentation.
9806  
9807 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9808
9809         * configure.host (alpha*-*): Default to -mieee.
9810         * configure.in (IEEESPEC): New.
9811         * libgcj.spec.in (jc1): Add IEEESPEC.
9812         * configure: Rebuild.
9813
9814 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9815
9816         * include/win32.h: Include ws2tcpip.h instead of
9817         winsock.h to obtain definition of the socklen_t type.
9818         Remove IP_TOS definition - not needed with ws2tcpip.h
9819         (_Jv_connect): Correct slight formatting error.
9820
9821 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9822
9823         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9824         size of the arguments for a JNI function. For Win32,
9825         modify to search for all forms of possible exported
9826         names of an stdcall JNI function.
9827         (_Jv_JNIMethod::call): Modify to calculate the size
9828         of the arguments passed to a JNI function and pass
9829         it to _Jv_LookupJNIMethod.
9830
9831 2003-02-12  Michael Koch  <konqueror@gmx.de>
9832
9833         * java/nio/channels/Channels.java: New file.
9834         * Makefile.am
9835         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9836         * Makefile.in: Regenerated.
9837
9838 2003-02-12  Michael Koch  <konqueror@gmx.de>
9839
9840         * java/nio/ByteBuffer.java
9841         (allocate): Implemented.
9842         (wrap): Implemented.
9843         * java/nio/CharBuffer.java:
9844         Some documentation added and reworked.
9845         (endian): Removed.
9846         (allocate): Implemented.
9847         (wrap): Implemented.
9848         (array): Throw exceptions.
9849         (arrayOffset): Throw exceptions.
9850         (toString): Implemented.
9851         (length): Implemented.
9852         (put): Implemented.
9853         (charAt): Implemented.
9854
9855 2003-02-11  John Leuner  <jewel@debian.org>
9856
9857         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9858         reads from end of file.
9859
9860 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9861
9862         * java/io/natFileDescriptorWin32.cc 
9863         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9864         returns with Win32 error code ERROR_BROKEN_PIPE.
9865
9866 2003-02-11  Michael Koch  <konqueror@gmx.de>
9867
9868         * Makefile.in
9869         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9870
9871 2003-02-11  Michael Koch  <konqueror@gmx.de>
9872
9873         * gnu/java/nio/ByteBufferImpl.java:
9874         Reformated and removed some code.
9875         (backing_buffer): Removed.      
9876         (array_offset): Removed.
9877         (ro): Renamed to readOnly.
9878         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9879         * gnu/java/nio/CharBufferImpl.java:
9880         Reformated and removed some code.
9881         (array_offset): Removed.
9882         (ro): Renamed to readOnly.
9883         (CharBufferImpl): Use parent constructor, initialize readOnly.
9884         (inc_pos): Removed.
9885         (order): New method.
9886         * gnu/java/nio/DoubleBufferImpl.java:
9887         Reformated and removed some code.
9888         (array_offset): Removed.
9889         (ro): Renamed to readOnly.
9890         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9891         (inc_pos): Removed.
9892         (order): New method.
9893         * gnu/java/nio/FloatBufferImpl.java:
9894         Reformated and removed some code.
9895         (array_offset): Removed.
9896         (ro): Renamed to readOnly.
9897         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9898         (inc_pos): Removed.
9899         (order): New method.
9900         * gnu/java/nio/IntBufferImpl.java:
9901         Reformated and removed some code.
9902         (array_offset): Removed.
9903         (ro): Renamed to readOnly.
9904         (IntBufferImpl): Use parent constructor, initialize readOnly.
9905         (inc_pos): Removed.
9906         (order): New method.
9907         * gnu/java/nio/LongBufferImpl.java:
9908         Reformated and removed some code.
9909         (array_offset): Removed.
9910         (ro): Renamed to readOnly.
9911         (LongBufferImpl): Use parent constructor, initialize readOnly.
9912         (inc_pos): Removed.
9913         (order): New method.
9914         * gnu/java/nio/ShortBufferImpl.java:
9915         Reformated and removed some code.
9916         (array_offset): Removed.
9917         (ro): Renamed to readOnly.
9918         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9919         (inc_pos): Removed.
9920         (order): New method.
9921         * Makefile.am
9922         (ordinary_java_source_files): Added the following files:
9923         gnu/java/nio/ByteBufferImpl.java
9924         gnu/java/nio/CharBufferImpl.java
9925         gnu/java/nio/DoubleBufferImpl.java
9926         gnu/java/nio/FloatBufferImpl.java
9927         gnu/java/nio/IntBufferImpl.java
9928         gnu/java/nio/LongBufferImpl.java
9929         gnu/java/nio/ShortBufferImpl.java
9930         java/nio/DoubleBuffer.java
9931         java/nio/FloatBuffer.java
9932         java/nio/IntBuffer.java
9933         java/nio/LongBuffer.java
9934         java/nio/ShortBuffer.java
9935         (nat_source_files): Added the following files:
9936         gnu/java/nio/natByteBufferImpl.cc
9937         gnu/java/nio/natCharBufferImpl.cc
9938         gnu/java/nio/natDoubleBufferImpl.cc
9939         gnu/java/nio/natFloatBufferImpl.cc
9940         gnu/java/nio/natIntBufferImpl.cc
9941         gnu/java/nio/natLongBufferImpl.cc
9942         gnu/java/nio/natShortBufferImpl.cc
9943         * Makefile.in: Regenerated.
9944
9945 2003-02-11  Michael Koch  <konqueror@gmx.de>
9946
9947         * gnu/java/nio/natCharBufferImpl.cc
9948         (nio_cast): Removed.
9949         (nio_put_*): Removed.
9950         (nio_get_*): Removed.
9951         * gnu/java/nio/natDoubleBufferImpl.cc
9952         (nio_cast): Removed.
9953         (nio_put_*): Removed.
9954         (nio_get_*): Removed.
9955         * gnu/java/nio/natFloatBufferImpl.cc
9956         (nio_cast): Removed.
9957         (nio_put_*): Removed.
9958         (nio_get_*): Removed.
9959         * gnu/java/nio/natIntBufferImpl.cc
9960         (nio_cast): Removed.
9961         (nio_put_*): Removed.
9962         (nio_get_*): Removed.
9963         * gnu/java/nio/natLongBufferImpl.cc
9964         (nio_cast): Removed.
9965         (nio_put_*): Removed.
9966         (nio_get_*): Removed.
9967         * gnu/java/nio/natShortBufferImpl.cc
9968         (nio_cast): Removed.
9969         (nio_put_*): Removed.
9970         (nio_get_*): Removed.
9971         * gnu/java/nio/SelectorProviderImpl.java
9972         (openDatagramChannel): Throws IOException.
9973         (openPipe): Throws IOException.
9974         (openSelector): Throws IOException.
9975         (openServerSocketChannel): Throws IOException.
9976         (openSocketChannel): Throws IOException.
9977         * gnu/java/nio/ServerSocketChannelImpl.java
9978         (ServerSocketChannelImpl): Throws IOException.
9979         (implCloseSelectableChannel): Throws IOException.
9980         (implConfigureBlocking): Throws IOException.
9981         * java/nio/ByteBuffer.java
9982         (readOnly): Removed.
9983         (hasArray): Use isReadOnly() instead of readOnly.
9984         (array): Use isReadOnly() instead of readOnly.
9985         (arrayOffset): Use isReadOnly() instead of readOnly.
9986         * java/nio/CharBuffer.java
9987         (CharBuffer): Implements Cloneable and CharSequence.
9988
9989 2003-02-11  Michael Koch  <konqueror@gmx.de>
9990
9991         * java/nio/DoubleBuffer.java
9992         (DoubleBuffer): Implements Comparable.
9993         (endian): Removed.
9994         (array_offset): New member variable.
9995         (DoubleBuffer): New constuctor.
9996         (get): May not be final.
9997         (put): May not be final.
9998         (arrayOffset): Implemented.
9999         (order): Made abstract.
10000         (order): Removed.
10001         (as*Buffer): Removed.
10002         (get*): Removed.
10003         (put*): Removed.
10004         * java/nio/FloatBuffer.java
10005         (FloatBuffer): Implements Comparable.
10006         (endian): Removed.
10007         (array_offset): New member variable.
10008         (FloatBuffer): New constuctor.
10009         (get): May not be final.
10010         (put): May not be final.
10011         (arrayOffset): Implemented.
10012         (order): Made abstract.
10013         (order): Removed.
10014         (as*Buffer): Removed.
10015         (get*): Removed.
10016         (put*): Removed.
10017         * java/nio/IntBuffer.java
10018         (IntBuffer): Implements Comparable.
10019         (endian): Removed.
10020         (array_offset): New member variable.
10021         (IntBuffer): New constuctor.
10022         (get): May not be final.
10023         (put): May not be final.
10024         (arrayOffset): Implemented.
10025         (order): Made abstract.
10026         (order): Removed.
10027         (as*Buffer): Removed.
10028         (get*): Removed.
10029         (put*): Removed.
10030         * java/nio/LongBuffer.java
10031         (LongBuffer): Implements Comparable.
10032         (endian): Removed.
10033         (array_offset): New member variable.
10034         (LongBuffer): New constuctor.
10035         (get): May not be final.
10036         (put): May not be final.
10037         (arrayOffset): Implemented.
10038         (order): Made abstract.
10039         (order): Removed.
10040         (as*Buffer): Removed.
10041         (get*): Removed.
10042         (put*): Removed.
10043         * java/nio/ShortBuffer.java
10044         (ShortBuffer): Implements Comparable.
10045         (endian): Removed.
10046         (array_offset): New member variable.
10047         (ShortBuffer): New constuctor.
10048         (get): May not be final.
10049         (put): May not be final.
10050         (arrayOffset): Implemented.
10051         (order): Made abstract.
10052         (order): Removed.
10053         (as*Buffer): Removed.
10054         (get*): Removed.
10055         (put*): Removed.
10056
10057 2003-02-11   Michael Koch  <konqueror@gmx.de>
10058
10059         * java/nio/channels/SelectionKey.java
10060         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10061         values.
10062
10063 2003-02-11  Michael Koch  <konqueror@gmx.de>
10064
10065         * java/nio/channels/DatagramChannel.java
10066         (write): Throws IOException.
10067         (connect): Throws IOException.
10068         (disconnect): Throws IOException.
10069         (read): Throws IOException.
10070         (receive): Throws IOException.
10071         (send): Throws IOException.
10072         * java/nio/channels/Pipe.java
10073         (open): Throws IOException.
10074         * java/nio/channels/SelectableChannel.java
10075         (configureBlocking): Throws IOException.
10076         * java/nio/channels/ServerSocketChannel.java
10077         (accept): Throws IOException.
10078         * java/nio/channels/SocketChannel.java
10079         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10080         GatheringByteChannel.
10081         (read): Throws IOException.
10082         (write): Throws IOException.
10083         (finishConnect): Throws IOException.
10084         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10085         (end): Throws AsynchronousCloseException.
10086         * java/nio/channels/spi/AbstractSelectableChannel.java
10087         (configureBlocking): Throws IOException.
10088         (implCloseChannel): Throws IOException.
10089         (implCloseSelectableChannel): Throws IOException.
10090         (implConfigureBlocking): Throws IOException.
10091         * java/nio/channels/spi/SelectorProvider.java
10092         (openDatagramChannel): Throws IOException.
10093         (openPipe): Throws IOException.
10094         (openSelector): Throws IOException.
10095         (openServerSocketChannel): Throws IOException.
10096         (openSocketChannel): Throws IOException.
10097
10098 2003-02-11  Michael Koch  <konqueror@gmx.de>
10099
10100         * gnu/java/nio/FileLockImpl.java,
10101         java/nio/channels/FileLock.java: New files.
10102
10103 2003-02-11  Michael Koch  <konqueror@gmx.de>
10104
10105         * java/nio/charset/IllegalCharsetNameException.java
10106         (serialVersionUID): New member variable.
10107         (charsetName): New member variable.
10108         (IllegalCharsetException): New implementation.
10109         (getCharsetName): New implementation.
10110         * java/nio/charset/UnsupportedCharsetException.java
10111         (serialVersionUID): New member variable.
10112         (charsetName): New member variable.
10113         (UnsupportedCharsetException): New implementation.
10114         (getCharsetName): New implementation.
10115
10116 2003-02-10  Tom Tromey  <tromey@redhat.com>
10117
10118         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10119         (ex): Renamed from sqlException.
10120
10121 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10122
10123         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10124         method used to ensure seeding has occurred and that a specific 
10125         seed can be set and used.
10126
10127 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10128
10129         * java/lang/Win32Process.java (destroy): Declare as native.
10130         (hasExited): New native method.
10131         (exitValue): Define.
10132         (getErrorStream): Likewise.
10133         (getInputStream): Likewise.
10134         (getOutputStream): Likewise.
10135         (waitFor): Declare as native.
10136         (startProcess): New native method.
10137         (cleanup): Likewise.
10138         (ConcreteProcess): Define.
10139         (outputStream, inputStream, errorStream): New members.
10140         (procHandle, exitCode): Likewise.
10141
10142         * java/lang/natWin32Process.cc
10143         (java::lang::ConcreteProcess::cleanup): Define.
10144         (java::lang::ConcreteProcess::destroy): Likewise.
10145         (java::lang::ConcreteProcess::hasExited): Likewise.
10146         (java::lang::ConcreteProcess::waitFor): Likewise.
10147         (new_string): Likewise.
10148         (java::lang::ConcreteProcess::startProcess): Likewise.
10149
10150 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10151
10152         * java/math/BigInteger.java:
10153         Updated notice to include years 2002 and 3.
10154         Added 2 private (int) arrays with values from the HAC (Handbook of
10155         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10156         and t[] that contains nbr. of tests --used in isProbablePrime().
10157
10158         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10159
10160         * java/math/BigInteger.java (make(int[],int), add(int,int),
10161         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10162         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10163         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10164         make(long).
10165
10166         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10167         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10168         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10169         BIs and returns void.
10170         (modInverse(BI)): Use new signatures of euclidInv().
10171
10172         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10173         static small primes instead of remainder().
10174         Use pre-computed max nbr of trials based on bitlength of BI to test.
10175         Use pre-computed small primes for the trial tests instead of random
10176         numbers.
10177
10178         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10179         not used.
10180
10181         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10182         invoacation of MPN.chars_per_word().  not used.
10183
10184         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10185         local var and used where needed.
10186
10187         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10188         Combined declaration with initialisation of locals.
10189         Removed unused var.
10190
10191         * java/math/BigInteger.java: Style changes
10192         (pow(int)): Removed 'else' keyword.
10193         (toString(int)): idem.
10194         (doubleValue()): idem.
10195         (bitLength()): idem.
10196         (equals(Object)): Use static methods name in same class w/o prepending
10197         class name.
10198         (doubleValue()): idem.
10199         (setNegative(BI)): idem.
10200         (negate()): idem.
10201         (and(BI,int)): idem.
10202         (and(BI)): idem.
10203         (gcd(BI)): idem.
10204         (byteArrayToIntArray()): Removed casting to (int). this is
10205         std. behaviour.
10206         (canonicalize()): idem.
10207         (alloc(int)): Always instantiate a new BI.
10208
10209 2003-02-10  Tom Tromey  <tromey@redhat.com>
10210
10211         * java/sql/Timestamp.java (compareTo(Object)): New method.
10212         (compareTo(Timestamp)): Likewise.
10213         (serialVersionUID): Updated.
10214
10215 2003-02-07  Mark Wielaard  <mark@klomp.org>
10216
10217         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10218         when verify is true.
10219         (JarFile(File, boolean)): Likewise.
10220         (manifestRead): Set manifestRead field correctly.
10221
10222 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10223
10224         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10225         tests; see patch #1016 on Savannah.
10226
10227 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10228
10229         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10230         (toString): do not return Strings starting with . and - erroneously.
10231         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10232         DiagBigDecimal.
10233
10234 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10235
10236         * java/beans/PropertyDescriptor.java
10237         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10238         methods.
10239         (PropertyDescriptor(String, Class, String, String)): Likewise.
10240         (PropertyDescriptor(String, Method, Method): Factor out getter and
10241         setter method sanity checks into new method.
10242         (findMethods): Don't do parameter sanity checking of get method here.
10243         (checkMethods): New method.
10244
10245 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10246
10247         * java/beans/PropertyDescriptor.java: Reformat.
10248
10249 2003-02-04  Tom Tromey  <tromey@redhat.com>
10250
10251         * java/io/PipedOutputStream.java (flush): Declare as throwing
10252         IOException.
10253         (close): Likewise.
10254         * java/io/PipedWriter.java (close): Declare as throwing
10255         IOException.
10256         * java/io/StringWriter.java (close): Declare as throwing
10257         IOException.
10258
10259 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10260
10261         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10262         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10263         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10264         "_JNI_OnLoad@8" (MSVC).
10265
10266 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10267
10268         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10269         convention on Win32 to invoke native JNI methods.
10270
10271 2003-02-03  Andrew Haley  <aph@redhat.com>
10272
10273         * configure.host (x86_64): Enable interpreter.
10274
10275 2003-02-03  Andrew Haley  <aph@redhat.com>
10276
10277         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10278         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10279         * configure.in (BACKTRACESPEC): New.
10280         * configure: Regenerate.
10281
10282 2003-02-02  Tom Tromey  <tromey@redhat.com>
10283
10284         * configure: Rebuilt.
10285         * configure.in (TOOLKIT) [xlib]: Set correctly.
10286
10287         * Makefile.in: Rebuilt.
10288         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10289         libstdc++.
10290
10291 2003-01-31  Mark WIelaard  <mark@klomp.org>
10292
10293         * Makefile.in: Rebuilt.
10294         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10295
10296 2003-01-31  Tom Tromey  <tromey@redhat.com>
10297
10298         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10299         cast to element type.
10300         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10301         (_Jv_JNI_GetObjectArrayElement): Likewise.
10302
10303         * Makefile.in: Rebuilt.
10304         * Makefile.am (cond_x_ltlibrary): Renamed library to
10305         lib-gnu-awt-xlib.la.
10306         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10307         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10308         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10309         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10310         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10311         (lib_gnu_awt_xlib_la_LINK): Likewise.
10312         (install-exec-hook): Removed.
10313         (lib-gnu-awt-xlib.la): Renamed.
10314
10315 2003-01-31  Tom Tromey  <tromey@redhat.com>
10316
10317         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10318         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10319         aclocal.m4 and lost in some merge.
10320
10321         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10322         Don't try to find graphics configuration.
10323         * java/awt/Toolkit.java (default_toolkit_name): Use new
10324         Configuration entry.
10325         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10326         New global.
10327         * configure: Rebuilt.
10328         * configure.in (TOOLKIT): New subst.
10329         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10330         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10331         directory.  Make output directories for .c files.
10332         * Makefile.in: Rebuilt.
10333         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10334         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10335         (all_java_source_files): Added new sources.
10336         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10337         (gtk_c_files): New macro.
10338         (gtk_c_source_files): New macro.
10339         (cond_gtk_ltlibrary): New macro.
10340         ($(gtk_c_files)): New target.
10341         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10342         (gtk_awt_peer_sources): New macro.
10343         (gtk_c_headers): New macro.
10344         ($(gtk_c_headers)): New target.
10345         (ACLOCAL_AMFLAGS): New macro.
10346         * gtk.m4, glib.m4, libart.m4: New files.
10347         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10348         gnu/java/awt/peer/gtk/GdkGraphics.java,
10349         gnu/java/awt/peer/gtk/GtkArg.java,
10350         gnu/java/awt/peer/gtk/GtkArgList.java,
10351         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10352         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10353         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10354         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10355         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10356         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10357         gnu/java/awt/peer/gtk/GtkClipboard.java,
10358         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10359         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10360         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10361         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10362         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10363         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10364         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10365         gnu/java/awt/peer/gtk/GtkImage.java,
10366         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10367         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10368         gnu/java/awt/peer/gtk/GtkListPeer.java,
10369         gnu/java/awt/peer/gtk/GtkMainThread.java,
10370         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10371         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10372         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10373         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10374         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10375         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10376         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10377         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10378         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10379         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10380         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10381         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10382         gnu/java/awt/peer/gtk/GtkToolkit.java,
10383         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10384         gnu/java/awt/peer/gtk/TestAWT.java,
10385         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10387         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10407         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10413         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10414         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10415         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10416         jni/classpath/native_state.c, jni/classpath/native_state.h,
10417         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10418
10419 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10420
10421         * java/util/Properties.java (load): Ignore backslash before EOF.
10422
10423 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10424
10425         * java/lang/natClass.cc (initializeClass): Check tables when
10426         (state == JV_STATE_IN_PROGRESS).
10427         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10428         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10429         interpreted classes.
10430         (linkClass0): Use _Jv_WaitForState.
10431
10432 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10433
10434         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10435         object when finished.
10436
10437 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10438
10439         * libjava/configure.host: Disable can_unwind_signal on darwin.
10440
10441 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10442
10443         Fixes PR java/9254:
10444         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10445         additionally containing id of the owner thread as well as
10446         the number of nested times the thread has acquired the mutex.
10447         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10448         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10449         (_Jv_MutexUnlock): Check if really the owner thread, reset
10450         owner thread id to 0 before leaving, if leaving for the last
10451         time.
10452         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10453         refcount.
10454         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10455         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10456         the passed mutex.
10457         Pass handle of the broadcast event, instead of a pointer to it
10458         in Win32 ResetEvent( ) call.
10459         Remove incorrect return values.
10460         (_Jv_CondDestroy): Close both event handles and delete
10461         critical section.
10462         (_Jv_CondNotify): Check if really the owner thread.
10463         (_Jv_CondNotifyAll): Check if really the owner thread.
10464         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10465         (really_start): Use SetEvent( ) to signal daemon_cond.
10466         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10467         WaitForSingleObject( ) instead to wait for daemon_cond to be
10468         signalled.
10469
10470 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10471
10472         * configure.in: Specifically define HAVE_BACKTRACE if building
10473         for MinGW.
10474         * include/win32.h: Remove HAVE_BACKTRACE definition.
10475         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10476         * configure: Rebuilt.
10477
10478 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10479
10480         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10481         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10482         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10483         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10484         * Makefile.in, configure: Rebuilt.
10485
10486 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10487
10488         Fixes PR java/9253:
10489         * java/io/natFileWin32.cc (performList): Append only "*.*"
10490         if the canonical file path already has a "\" at the end.
10491
10492 2003-01-24  Tom Tromey  <tromey@redhat.com>
10493
10494         * defineclass.cc (handleMethodsEnd): Precompute code for static
10495         method.
10496         (handleCodeAttribute): Likewise.
10497         * resolve.cc (ncode): Use run_class for unsynchronized static
10498         methods.
10499         * include/java-interp.h (class _Jv_InterpMethod): Declare
10500         run_class.
10501         * interpret.cc (run_synch_class): Initialize class.
10502         (run) [insn_invokestatic]: Don't initialize class.
10503         [insn_anewarray]: Likewise.
10504         [insn_multianewarray]: Likewise.
10505         (run_class): New function.
10506
10507 2003-01-24  Tom Tromey  <tromey@redhat.com>
10508
10509         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10510         comment.
10511
10512 2003-01-22  Andrew Haley  <aph@redhat.com>
10513
10514         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10515         * configure.host (CHECKREFSPEC): Define for x86_64.
10516
10517 2003-01-21  Tom Tromey  <tromey@redhat.com>
10518
10519         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10520         search at 2, not 3.
10521
10522 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10523
10524         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10525         looking at any characters.
10526         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10527         be used.
10528         (isAbsolute): Check path's length as well.
10529
10530 2003-01-17  Mark Wielaard  <mark@klomp.org>
10531
10532         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10533         (nat_source_files): Add natVMObjectStreamClass.cc.
10534         * Makefile.in: Regenerated.
10535         * gcj/javaprims.h (namespace java): Regenerated.
10536         * java/io/ObjectStreamClass.java (getClassUID): Call
10537         VMObjectStreamClass.hasClassInitializer().
10538         (hasClassInitializer): Removed.
10539         * java/io/VMObjectStreamClass.java: New class.
10540         * java/io/natVMObjectStreamClass.cc: New file.
10541         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10542
10543 2003-01-16  Mark Wielaard  <mark@klomp.org>
10544
10545         * java/net/SocketImpl.java (toString): Don't explicitly call
10546         toString() on possible null address.
10547
10548 2003-01-16  Michael Koch  <konqueror@gmx.de>
10549
10550         * java/net/MulticastSocket.java
10551         (setInterface): Reindented.
10552
10553 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10554
10555         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10556         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10557         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10558         translateY arguments.  Implement.
10559         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10560         down translation arguments.
10561         (drawPolyline, drawPolygon): Fix incorrect tests.
10562         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10563         translateX and translateY arguments.
10564
10565 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10566
10567         * Makefile.in: Rebuilt.
10568         * Makefile.am (xlib_includes): New macro.
10569         (INCLUDES): Use it.
10570
10571 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10572
10573         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10574         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10575         16-bit display mode.
10576
10577 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10578
10579         * java/awt/CardLayout.java (show): Rewrote.
10580         (gotoComponent): Removed `target' argument.  Simplified code.
10581         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10582         Changed all callers.
10583         (NONE): Removed.
10584         
10585 2003-01-14  Michael Koch  <konqueror@gmx.de>
10586
10587         * java/net/InetSocketAddress.java
10588         (serialVersionUID): New member variable.
10589         * java/net/NetPermission.java
10590         (NetPermission): Dont implement java.io.Serialization directly.
10591         * java/net/SocketAddress.java:
10592         (serialVersionUID): Documentation added.
10593         
10594 2003-01-14  Michael Koch  <konqueror@gmx.de>
10595
10596         * java/awt/Label.java
10597         (Label): Implements javax.accessibility.Accessible;
10598         * java/awt/List.java
10599         (List): Implements javax.accessibility.Accessible;
10600         * java/awt/ScrollPane.java
10601         (ScrollPane): Implements javax.accessibility.Accessible;
10602         * java/awt/Scrollbar.java
10603         (Scrollbar): Implements javax.accessibility.Accessible;
10604         * java/awt/TextComponent.java
10605         (setCaretPosition): Throw exception, documentation added.
10606         * java/awt/Toolkit.java:
10607         Added some newlines in method documentations.
10608         (createButton): Exception documentation added.
10609         (createTextField): Exception documentation added.
10610         (createLabel): Exception documentation added.
10611         (createList): Exception documentation added.
10612         (createCheckbox): Exception documentation added.
10613         (createScrollbar): Exception documentation added.
10614         (createScrollPane): Exception documentation added.
10615         (createTextArea): Exception documentation added.
10616         (createChoice): Exception documentation added.
10617         (createFrame): Exception documentation added.
10618         (createWindow): Exception documentation added.
10619         (createDialog): Exception documentation added.
10620         (createMenuBar): Exception documentation added.
10621         (createMenu): Exception documentation added.
10622         (createMenuItem): Exception documentation added.
10623         (createFileDialog): Exception documentation added.
10624         (createCheckboxMenuItem): Exception documentation added.
10625         (loadSystemColors): Exception documentation added.
10626         (setDynamicLayout): Exception documentation added.
10627         (isDynamicLayoutSet): Exception documentation added.
10628         (isDynamicLayoutActive): Exception documentation added.
10629         (getScreenSize): Exception documentation added.
10630         (getScreenResolution): Exception documentation added.
10631         (getScreenInsets): Exception documentation added.
10632         (getColorModel): Exception documentation added.
10633         (getSystemClipboard): Exception documentation added.
10634         (getSystemSelection): Exception documentation added.
10635         (getMenuShortcutKeyMask): Exception documentation added.
10636         (getSystemEventQueue): Exception documentation added.
10637         * java/awt/Window.java:
10638         Reindented some code.
10639         (Window): Centralized implementation, documentation added.
10640         (finalize): Documentation added.
10641         (hide): Fixed typo in comment.
10642         (getWindowListeners): Documentation added.
10643         * java/awt/color/ColorSpace.java
10644         (toRGB): Documentation added.
10645         * java/awt/color/ICC_ColorSpace.java
10646         (ICC_ColorSpace): Documentation added.
10647         (toRGB): Throw exception, documentation added.
10648         (fromRGB): Throw exception, documentation added.
10649         (toCIEXYZ): Documentation added.
10650         (fromCIEXYZ): Documentation added.
10651         (getMinValue): Documentation added.
10652         (getMaxValue): Documentation added.
10653         * java/awt/geom/Dimension2D.java
10654         (clone): Documentation added.
10655         * java/awt/geom/GeneralPath.java
10656         (clone): Documentation added.
10657         * java/awt/geom/Line2D.java
10658         (clone): Documentation added.
10659         * java/awt/geom/QuadCurve2D.java
10660         (clone): Documentation added.
10661         * java/awt/image/ColorModel.java
10662         (ColorModel): Throw exception, documentation added.
10663         * java/awt/image/ImageFilter.java
10664         (clone): Doesnt throw CloneNotSupportedException.
10665
10666 2003-01-14  Andrew Haley  <aph@redhat.com>
10667
10668         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10669         in a try block.
10670
10671 2003-01-10  Andrew Haley  <aph@redhat.com>
10672
10673         * include/dwarf2-signal.h: Remove x86_64.
10674         * configure.host (x86_64 DIVIDESPEC): Remove.
10675         * include/x86_64-signal.h: New file.
10676         * configure.in: Regenerate.
10677
10678 2003-01-10  Michael Koch  <konqueror@gmx.de>
10679
10680         * java/net/DatagramSocket.java
10681         (ch): Description added.
10682         (remotePort): Initialize with -1.
10683         (connect): Doesnt throws SocketException.
10684         * java/net/MulticastSocket.java
10685         (setInterface): Merge with Classpath.
10686         * java/net/ServerSocket.java
10687         (closed): New member variable.
10688         (bind): Check if socket is closed.
10689         (close): Close an associated channel too, set new value to closed.
10690         (isBound): Reindented.
10691         (isClosed): Implemented.
10692         * java/net/Socket.java
10693         (closed): New member variable.
10694         (bind): Check if socket is closed.
10695         (connect): Check if socket is closed.
10696         (close): Close an associated channel too, set new value to closed.
10697         (isClosed): Implemented.
10698
10699 2003-01-10  Michael Koch  <konqueror@gmx.de>
10700
10701         * java/awt/DisplayMode.java
10702         (equals): Fixed argument type and implementation.
10703
10704 2003-01-07  Tom Tromey  <tromey@redhat.com>
10705
10706         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10707         JV_HASH_SYNCHRONIZATION.
10708         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10709         JV_HASH_SYNCHRONIZATION.
10710
10711 2003-01-07  Michael Koch  <konqueror@gmx.de>
10712  
10713         * java/net/DatagramSocket.java:
10714         Added classpath license info.
10715         (DatagramSocket): Merged description with classpath.
10716         (close): Merged description with classpath.
10717         (getChannel): Merged description with classpath.
10718         (getInetAddress): Merged description with classpath.
10719         (getPort): Merged description with classpath.
10720         (getLocalAddress): Merged description with classpath.
10721         (getLocalPort): Merged description with classpath.
10722         (getSoTimeout): Merged description with classpath.
10723         (setSoTimeout): Merged description with classpath.
10724         (getSendBufferSize): Merged description with classpath.
10725         (setSendBufferSize): Merged description with classpath.
10726         (getReceiveBufferSize): Merged description with classpath.
10727         (setReceiveBufferSize): Merged description with classpath.
10728         
10729 2003-01-04  Tom Tromey  <tromey@redhat.com>
10730
10731         * java/awt/List.java: Merged with Classpath.
10732
10733 2003-01-03  Mark Wielaard  <mark@klomp.org>
10734
10735         * java/io/FileDescriptor.java (position): New private field.
10736         * java/io/natFileDescriptorPosix.cc (write): Up position.
10737         (setLength): Use and set position.
10738         (seek): Set position.
10739         (getFilePointer): Return position.
10740         (read): Up position.
10741
10742 2003-01-03  Mark Wielaard  <mark@klomp.org>
10743
10744         Merge with Classpath:
10745         * java/io/ObjectStreamClass.java (lookup): Split method and call
10746         lookupForClassObject().
10747         (lookupForClassObject): New method.
10748         (isProxyClass): New field.
10749         (setClass): Set isProxyClass, add object to classLookupTable, set
10750         superClass and calculateOffsets.
10751         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10752         and not a proxy class.
10753         (setFields): Set accessible true for serialPersistentFields.
10754         (getClassUID): Same for suid. And check if suid is of type long.
10755         (hasClassInitializer): Don't throw NoSuchMethodError.
10756
10757 2003-01-03  Mark Wielaard  <mark@klomp.org>
10758
10759         * java/io/FileInputStream.java (finalize): Don't explicitly
10760         finalize FileDescriptor.
10761
10762 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10763
10764         * configure.host (sparc*-*): Enable bytecode interpreter.
10765
10766 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10767
10768         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10769         Don't throw RemoteException.
10770         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10771         throw RemoteException.
10772
10773 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10774
10775         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10776         proxyHost): New static fields.
10777         (<clinit>): Initialize new fields.
10778         (connect): Use proxy if necessary.
10779         (usingProxy): Implement.
10780
10781 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10782
10783         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10784         (TreeIterator.remove): Prefer IllegalStateException over
10785         ConcurrentModificationException, to match Sun.
10786
10787 2002-12-22  Anthony Green  <green@redhat.com>
10788
10789         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10790
10791 2003-01-02  Mark Wielaard  <mark@klomp.org>
10792
10793         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10794         public.
10795         (HTTP_USE_PROXY): Add field.
10796         (getResponseVals): Only set responseCode when not yet explicitly
10797         set by subclass.
10798
10799 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10800             Mark Wielaard  <mark@klomp.org>
10801
10802         * java/util/zip/ZipFile.java (entries): Now HashMap.
10803         (readLeShort(DataInput, byte[])): Read from given byte array.
10804         (readLeInt(DataInput, byte[]): Likewise.
10805         (readLeShort(byte[] b, int off)): New method.
10806         (readLeInt(byte[] b, int off)): Likewise.
10807         (readEntries): Use byte arrays to read info in bigger chunks.
10808         (getEntries): Return HashMap.
10809         (getEntry): Use HashMap.
10810         (locBuf): New private field.
10811         (checkLocalHeader): Use locBuf to read info in one chunk.
10812         (getInputStream): Use entries HashMap, wrap PartialInputStream
10813         in BufferedInputStream.
10814         (ZipEntryEnumeration): Use HashMap and Interator.
10815
10816 2003-01-02  Mark Wielaard  <mark@klomp.org>
10817             Jeroen Frijters  <jeroen@sumatra.nl>
10818
10819         * java/net/URLClassLoader.java (Resource.getCodeSource):
10820         Fix check certs == null.
10821         (getCanonicalFileURL): Removed method.
10822         (JarURLLoader): Don't call removed method.
10823         (FileURLLoader): Likewise.
10824         (FileURLLoader.getResource): Don't canonicalize file name.
10825
10826 2003-01-01  Tom Tromey  <tromey@redhat.com>
10827
10828         * Makefile.in: Rebuilt.
10829         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10830         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10831         java/awt/BufferCapabilities.java, java/awt/Button.java,
10832         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10833         java/awt/Container.java, java/awt/Cursor.java,
10834         java/awt/EventQueue.java, java/awt/FileDialog.java,
10835         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10836         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10837         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10838         java/awt/Scrollbar.java, java/awt/TextArea.java,
10839         java/awt/TextField.java, java/awt/color/CMMException.java,
10840         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10841         java/awt/color/ProfileDataException.java,
10842         java/awt/datatransfer/Clipboard.java,
10843         java/awt/datatransfer/DataFlavor.java,
10844         java/awt/datatransfer/FlavorMap.java,
10845         java/awt/datatransfer/SystemFlavorMap.java,
10846         java/awt/dnd/DragGestureEvent.java,
10847         java/awt/dnd/DragGestureRecognizer.java,
10848         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10849         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10850         java/awt/im/InputMethodHighlight.java,
10851         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10852         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10853
10854         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10855         `op' to BufferedImageOp.
10856
10857 2002-12-31  Tom Tromey  <tromey@redhat.com>
10858
10859         Fix for PR libgcj/7416:
10860         * javax/naming/InitialContext.java (init): Use
10861         gnu.classpath.home.url.
10862         * java/security/Security.java: Use new properties.
10863         (loadProviders): Accept base url; use it.
10864         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10865         gnu.classpath.home.url.
10866         (gnu.classpath.home.url): Define.
10867         (gnu.classpath.vm.shortname): Likewise.
10868
10869 2002-12-31  Tom Tromey  <tromey@redhat.com>
10870             Ranjit Mathew  <rmathew@hotmail.com>
10871
10872         Fix for PR libgcj/8997:
10873         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10874         Include platform.h.
10875         * include/posix.h (_Jv_platform_usleep): New function.
10876         * include/win32.h (_Jv_platform_usleep): New function.
10877
10878 2002-12-29  Tom Tromey  <tromey@redhat.com>
10879
10880         * gcj/javaprims.h: Updated.
10881         * scripts/classes.pl (scan): Removed stray semicolon.
10882
10883 2002-12-30  Mark Wielaard  <mark@klomp.org>
10884
10885         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10886         if zero or smaller.
10887
10888 2002-12-30  Mark Wielaard  <mark@klomp.org>
10889
10890         * java/util/Properties (formatForOutput): Don't fall through to
10891         default case after escaping character.
10892
10893 2002-12-30  Mark Wielaard  <mark@klomp.org>
10894
10895         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10896         against count.
10897
10898 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10899
10900         * boehm.cc: Remove stray semicolon.
10901         * interpret.cc: Likewise.
10902         * prims.cc: Likewise.
10903         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10904         earlier to ensure default arguments are processed.
10905         * gcj/array.h (JArray): Add forward declaration.
10906         (elements): Likewise.
10907         * gcj/javaprim.h: Remove stray semicolons.
10908         * include/bohm-gc.h: Likewise.
10909         * include/jni.h: Likewise.
10910         * include/jvm.h: Likewise.
10911         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10912         
10913 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10914
10915         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10916         of catch_type.
10917         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10918         idt tables after initializing superclass.
10919         * java/lang/natClassLoader.cc (uaddr): New typedef.
10920         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10921         if they are constant pool indicies.  Don't link vtable, otable yet.
10922
10923 2002-12-21  Anthony Green  <green@redhat.com>
10924
10925         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10926         libraries.
10927         * Makefile.in: Rebuilt.
10928
10929 2002-12-19  Anthony Green  <green@redhat.com>
10930
10931         * Makefile.am (ordinary_java_source_files): Add
10932         org/xml/sax/helpers/NewInstance.java.
10933         * Makefile.in: Rebuilt.
10934         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10935         org/xml/sax/helpers/package.html: New files.
10936         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10937         http://www.saxproject.org.
10938
10939 2002-12-19  Andrew Haley  <aph@redhat.com>
10940
10941         * java/util/natResourceBundle.cc: Include
10942         ArrayIndexOutOfBoundsException.h.
10943         (getCallingClassLoader): Don't put upper bound on stack search.
10944         Catch ArrayIndexOutOfBoundsException.
10945
10946 2002-12-19  Tom Tromey  <tromey@redhat.com>
10947
10948         * libtool-version: Increased `current'.
10949
10950 2002-12-19  Tom Tromey  <tromey@redhat.com>
10951
10952         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10953         comment.
10954         * java/lang/ClassLoader.java (defineClass): Use chained
10955         exception when rethrowing.
10956         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10957         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10958         constants.
10959         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10960         (_Jv_PrepareClass): Use it.
10961         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10962         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10963         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10964         (Class): _Jv_PrepareMissingMethods now friend.
10965         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10966         Record `NULL' for system class loader.
10967         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10968         system class loader.
10969         (_Jv_FindClassInCache): Likewise.
10970         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10971         (_Jv_FindClass): Special case system class loader.
10972         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10973         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10974         vtable slots.
10975         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10976         in a final class.
10977         (_getDeclaredMethod): Don't return synthetic methods.
10978         (getDeclaredMethods): Likewise.
10979         (_getMethod): Likewise.
10980         (_getMethods): Likewise.
10981
10982 2002-12-18  Raif Naffah  <raif@fl.net.au>
10983
10984         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10985         canonical form after divide().
10986         (modInverse): Likewise.
10987
10988 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10989             Mark Wielaard  <mark@klomp.org>
10990
10991         * java/security/SecurityRandom (digest): Removed field.
10992         (SecureRandom): Check all providers for case-insensitive SecureRandom
10993         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10994         if necessary.
10995         (getInstance(String,Provider,boolean): New method.
10996         (getInstance(String)): Use new method.
10997         (getInstance(String,String)): Likewise.
10998         (getInstance(String,Provider)): Likewise.
10999
11000 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11001
11002         * java/security/Security.java (loadProviders): Increment i only once.
11003
11004 2002-12-12  Mark Wielaard  <mark@klomp.org>
11005
11006         * java/lang/ClassLoader.java (resolveClass0): Transform
11007         ClassNotFoundException to NoClassDefFoundError. Transform all other
11008         throwables to LinkageError.
11009
11010 2002-12-11  Tom Tromey  <tromey@redhat.com>
11011
11012         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11013
11014         * java/lang/ClassLoader.java (loadedClasses): New field.
11015         (defineClass): Fixed indentation.  Put new class in
11016         loadedClasses.
11017         (findLoadedClass): Implement here.
11018         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11019
11020 2002-12-10  Tom Tromey  <tromey@redhat.com>
11021
11022         * Makefile.in: Rebuilt.
11023         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11024         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11025         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11026         * java/lang/natClassLoader.cc
11027         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11028
11029 2002-12-10  Mark Wielaard  <mark@klomp.org>
11030             Tom Tromey  <tromey@redhat.com>
11031
11032         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11033         (JarURLLoader): Use it.
11034         (FileURLLoader): Likewise.
11035         (JarURLResource.getURL): Use chained exception.
11036         (FileResource.getURL): Likewise.
11037         (FileURLLoader.getResource): Use canonical file name.
11038         (addURL): Indentation fix.
11039
11040 2002-12-10  Tom Tromey  <tromey@redhat.com>
11041
11042         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11043         From Laurent Bardet <l.bardet@magic.fr>.
11044
11045 2002-12-09  Tom Tromey  <tromey@redhat.com>
11046
11047         * include/win32.h (_Jv_platform_solib_prefix): New define.
11048         (_Jv_platform_solib_suffix): Likewise.
11049         * include/posix.h (_Jv_platform_solib_prefix): New define.
11050         (_Jv_platform_solib_suffix): Likewise.
11051         * java/lang/natRuntime.cc: Include StackTrace.h.
11052         (_load): Use findLibrary and new platform defines.
11053         (nativeGetLibname): Use new platform defines.
11054
11055         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11056         `t' won't be null.
11057
11058 2002-12-08  Mark Wielaard  <mark@klomp.org>
11059
11060         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11061         cache remote jar files.
11062         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11063         add File.separator to URL when it is a directory.
11064         * java/lang/ClassLoader.java: Add Classpath javadoc.
11065         (parent): final.
11066         (getParent): Add (disabled) security check.
11067         (findLibrary): New default method.
11068         * java/net/JarURLConnection.java (getManifest): Implement.
11069         (getInputStream): Only create InputStream when entry exists.
11070         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11071         when they exist.
11072         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11073
11074 2002-12-08  Mark Wielaard  <mark@klomp.org>
11075
11076         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11077         (lastDefaultLocale): New field.
11078         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11079         resourceBundleCache.
11080
11081 2002-12-06  Mark Wielaard  <mark@klomp.org>
11082
11083         * java/net/InetAddress.java (toString): Use hostname when not null,
11084         don't do an explicit reverse getHostName() lookup.
11085         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11086         NullPointerException.
11087
11088 2002-12-06  Tom Tromey  <tromey@redhat.com>
11089
11090         * include/java-interp.h (class _Jv_InterpMethod): Added
11091         JV_MARKOBJ_DECL.
11092         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11093         mark `prepared' field of interpreted method.
11094         * interpret.cc (compile): Use _Jv_AllocBytes.
11095
11096 2002-12-05  Andrew Haley  <aph@redhat.com>
11097
11098         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11099         #ifdef (HAVE_BACKTRACE) around the whole function body.
11100
11101 2002-12-05  Tom Tromey  <tromey@redhat.com>
11102
11103         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11104         * resolve.cc: Don't include AbstractMethodError.h.
11105         (_Jv_abstractMethodError): Removed.
11106         * defineclass.cc (handleMethodsBegin): Initialize method index to
11107         -1.
11108         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11109         method index for "new" final method.
11110         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11111         isVirtualMethod.  Added `flags' argument.
11112         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11113         class.
11114
11115 2002-12-04  Tom Tromey  <tromey@redhat.com>
11116
11117         * java/net/SocketPermission.java (hashCode): Rewrote.
11118
11119 2002-12-04  Tom Tromey  <tromey@redhat.com>
11120
11121         * Makefile.in: Rebuilt.
11122         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11123         natResourceBundle.
11124         * java/util/ResourceBundle.java (Security): Removed.
11125         (getCallingClassLoader): Now native.
11126         * java/util/natResourceBundle.cc: New file.
11127         * java/lang/natVMSecurityManager.cc: New file.
11128         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11129
11130 2002-12-03  Mark Wielaard  <mark@klomp.org>
11131
11132         * java/util/jar/JarFile.java (manifest): Not final.
11133         (manifestRead): New field.
11134         (JarFile): Don't read Manifest in constructor.
11135         (getManifest): New method.
11136         (JarEnumeration.nextElement): Use new method.
11137         (getEntry): Likewise.
11138         * java/util/zip/ZipFile.java (name): Final.
11139         (raf): Likewsie.
11140         (entries): Change type to Hashtable.
11141         (closed): New field.
11142         (ZipFile): Don't read enties in constructor.
11143         (readEntries): Use Hashtable.
11144         (close): Set new close flag and set entries to null inside
11145         synchronized block.
11146         (entries): Contruct enumeration using new getEntries() method and
11147         entries Hashtable.
11148         (getEntryIndex): Removed.
11149         (getEntries): New method.
11150         (getEntry): Use new getEntries() method and entries Hastable.
11151         (getInputStream): Likewise.
11152         (size): Return getEntries().size().
11153         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11154         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11155         (time): Removed
11156         (dostime): New field.
11157         (zipFileIndex): Removed.
11158         (ZipEntry(ZipEntry)): Copy dostime.
11159         (setDOSTime): Now final and doesn't convert dos time.
11160         (getDOSTime): Likewise.
11161         (setTime): Convert dos time.
11162         (getTime): Likewise.
11163         (getCalendar): New method.
11164         (setExtra): Use setTime().
11165         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11166
11167 2002-12-03  Tom Tromey  <tromey@redhat.com>
11168
11169         * java/lang/Character.java (forDigit): Formatting fix.
11170
11171 2002-12-03  Raif Naffah  <raif@fl.net.au>
11172
11173         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11174         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11175         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11176
11177 2002-12-03  Andrew Haley  <aph@redhat.com>
11178
11179         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11180         _Jv_PushClass.
11181         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11182         (_Jv_PopClass): New.
11183         (_Jv_PushClass): New.
11184         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11185         discover the ClassLoader of our caller.
11186         (_Jv_CheckArrayStore): Don't check that a class is assignment
11187         compatible with Object.
11188         * java/lang/natVMTHrowable.cc: Delete.
11189         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11190         java.lang.VMThrowable.
11191         (StackTrace(), StackTrace(int)): New constructors.
11192         (classAt, methodAt, update, methodAtAddress): New methods.
11193         (map): New field.
11194         * java/lang/VMThrowable.java: Use StackTrace instead of
11195         natVMTHrowable.
11196         * java/lang/Class.h (getClassLoaderInternal): New.
11197         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11198         Be friendly with gnu::gcj::runtime::StackTrace.
11199         (Object.chain): New field.
11200         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11201         gnu::gcj::runtime::StackTrace.
11202         * gnu/gcj/runtime/natStackTrace.cc: New file.
11203         * gnu/gcj/runtime/MethodRef.java: New file.
11204         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11205         instead of getClassLoader().
11206         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11207         java::lang::VMThrowable.
11208         * Makefile.am (core_java_source_files): Add MethodRef.java,
11209         StackTrace.java.
11210         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11211         * Makefile.in: Rebuild.
11212
11213 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11214
11215         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11216         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11217         yes also for sh-linux* and sh[34]*-linux*.
11218         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11219         set SIGNAL_HANDLER to use DWARF2 exception for them.
11220         * configure: Regenerate.
11221
11222 2002-12-02  Tom Tromey  <tromey@redhat.com>
11223
11224         * jni.cc: Added `name' argument.
11225         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11226         `const char *' argument.
11227         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11228
11229 2002-12-01  Tom Tromey  <tromey@redhat.com>
11230
11231         Bug compatibility, for PR libgcj/8738:
11232         * java/io/CharArrayWriter.java (close): Do nothing.
11233         (flush): Likewise.
11234         (reset): Don't touch `closed'.
11235         (write(int)): Don't throw IOException.
11236         (write(char[],int,int)): Likewise.
11237         (write(String,int,int)): Likewise.
11238         (closed): Removed.
11239
11240 2002-12-01  Mark Wielaard  <mark@klomp.org>
11241
11242         * java/lang/SecurityManager.java: Remerge comments, indenting and
11243         checkXXX methods with Classpath.
11244
11245 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11246
11247         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11248         getNormalizedComponents): Fix calculation which was using one too
11249         many bits in the unnormalized format.
11250
11251 2002-11-29  Gary Benson  <gbenson@redhat.com>
11252
11253         For PR libgcj/8759:
11254         * java/beans/Introspector.java (flushCaches): New method.
11255         (flushFromCaches): Likewise.
11256
11257 2002-11-29  Michael Koch <konqueror@gmx.de>
11258
11259         * java/nio/channels/DatagramChannel.java
11260         (open): Added exception documentation.
11261         (write): Added exception documentation.
11262         (connect): Added exception documentation.
11263         (disconnect): Added exception documentation.
11264         (isConnected): Added exception documentation.
11265         (read): Added exception documentation.
11266         (receive): Added exception documentation.
11267         (send): Added exception documentation.
11268         (validOps): Added exception documentation.
11269         * java/nio/channels/SocketChannel.java
11270         (open): Added exception documentation.
11271         (read): Added exception documentation.
11272         (write): Added exception documentation.
11273         (connect): Added exception documentation.
11274         (finishConnect): Added exception documentation.
11275
11276 2002-11-29  Michael Koch <konqueror@gmx.de>
11277
11278         * gnu/java/nio/DatagramChannelImpl:
11279         (fd): New member variable to store file descriptor of socket.
11280         * gnu/java/nio/SelectionKeyImpl.java:
11281         (ops): Removed.
11282         (readyOps): New member variable.
11283         (interestOps): New member variable.
11284         (readyOps): Implemented.
11285         (readyOps): New method to set member variable readyOps.
11286         (interestOps): Replaced ops by interestOps.
11287         * gnu/java/nio/SelectorImpl.java:
11288         (SelectorImpl): Initialize key sets.
11289         (select): Call select with -1 instead of Long.MAX_VALUE).
11290         (java_do_select): Make it a native method.
11291         (getFDsAsArray): New helper method.
11292         (select): Remove canceled keys, give only interested file discriptors
11293         to java_do_select, set ready ops.
11294         (add): No need to initialize keys set here.
11295         (add_selected): No need to initialize selected set here.
11296         (deregisterCanceledKeys): New helper method.
11297         (register): Set interest ops, set attachments, added handling of datagram
11298         channels.
11299         * gnu/java/nio/ServerSocketChannelImpl:
11300         (SocketAccept): Renamed from NioSocketAccept.
11301         (implConfigureBlocking): Implemented.
11302         (accept): Use SocketAccept instead of NioSocketAccept.
11303         * gnu/java/nio/SocketChannelImpl:
11304         Reactivate native methods.
11305
11306 2002-11-29  Michael Koch <konqueror@gmx.de>
11307
11308         * gnu/java/nio/natByteBufferImpl.cc,
11309         gnu/java/nio/natCharBufferImpl.cc,
11310         gnu/java/nio/natDoubleBufferImpl.cc,
11311         gnu/java/nio/natFloatBufferImpl.cc,
11312         gnu/java/nio/natIntBufferImpl.cc,
11313         gnu/java/nio/natLongBufferImpl.cc,
11314         gnu/java/nio/natSelectorImpl.cc,
11315         gnu/java/nio/natServerSocketChannelImpl.cc,
11316         gnu/java/nio/natShortBufferImpl.cc,
11317         gnu/java/nio/natSocketChannelImpl.cc:
11318         New files that implement native functionalities.
11319
11320 2002-11-29  Michael Koch <konqueror@gmx.de>
11321
11322         * gnu/java/nio/ByteBufferImpl.java
11323         (ByteBufferImpl): Moved position() after limit.
11324         (nio_*): Use native implementation.
11325         * gnu/java/nio/CharBufferImpl.java:
11326         Reformated.
11327         (endian): New member variable string endianess of buffer.
11328         (CharBufferImpl): Moved position() after limit.
11329         (nio_*): Use native implementation.
11330         (subSequence): Implemented.
11331         * gnu/java/nio/DoubleBufferImpl.java
11332         (DoubleBufferImpl): Moved position() after limit.
11333         (nio_*): Use native implementation.
11334         * gnu/java/nio/FloatBufferImpl.java
11335         Reformated.
11336         (FloatBufferImpl): Moved position() after limit.
11337         (nio_*): Use native implementation.
11338         * gnu/java/nio/IntBufferImpl.java
11339         Added needed imports, Reformated.
11340         (IntBufferImpl): Moved position() after limit.
11341         (nio_*): Use native implementation.
11342         * gnu/java/nio/LongBufferImpl.java
11343         Reformated.
11344         (LongBufferImpl): Moved position() after limit.
11345         (nio_*): Use native implementation.
11346         * gnu/java/nio/ShortBufferImpl.java
11347         Reformated.
11348         (ShortBufferImpl): Moved position() after limit.
11349         (nio_*): Use native implementation.
11350
11351 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11352
11353         * java/util/Locale.java (toString): Improve efficiency if country
11354         and variant are both empty.
11355
11356 2002-11-26  Tom Tromey  <tromey@redhat.com>
11357
11358         * verify.cc (pop_init_ref): New method.
11359         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11360         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11361         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11362         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11363         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11364         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11365         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11366         let `this' argument be uninitialized.  Don't let `null' be passed
11367         as `this' to construtor.
11368
11369 2002-11-26  Mark Wielaard  <mark@klomp.org>
11370
11371         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11372         * javax/transaction/HeuristicMixedException.java: Likewise.
11373         * javax/transaction/HeuristicRollbackException.java: Likewise.
11374         * javax/transaction/InvalidTransactionException.java: Likewise.
11375         * javax/transaction/NotSupportedException.java: Likewise.
11376         * javax/transaction/RollbackException.java: Likewise.
11377         * javax/transaction/Status.java: Likewise.
11378         * javax/transaction/Synchronization.java: Likewise.
11379         * javax/transaction/SystemException.java: Likewise.
11380         * javax/transaction/Transaction.java: Likewise.
11381         * javax/transaction/TransactionManager.java: Likewise.
11382         * javax/transaction/TransactionRequiredException.java: Likewise.
11383         * javax/transaction/TransactionRolledbackException.java: Likewise.
11384         * javax/transaction/UserTransaction.java: Likewise.
11385         * javax/transaction/xa/XAException.java: Likewise.
11386         * javax/transaction/xa/XAResource.java: Likewise.
11387         * javax/transaction/xa/Xid.java: Likewise.
11388
11389 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11390
11391         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11392         define.
11393         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11394         * include/posix.h (socklen_t): Define if not already defined.
11395
11396 2002-11-25  Tom Tromey  <tromey@redhat.com>
11397
11398         * verify.cc (type::compatible): Backed out broken change.
11399
11400         * verify.cc (type::compatible): Check initialization status
11401         first.
11402         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11403         Don't use NULLCHECK.
11404
11405 2002-11-23  H.J. Lu <hjl@gnu.org>
11406
11407         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11408         Include ../config/accross.m4.
11409         * aclocal.m4; Rebuild.
11410         * configure: Likewise.
11411
11412 2002-11-23  Mark Wielaard  <mark@klomp.org>
11413
11414         * javax/naming/AuthenticationException.java: Update copyright header.
11415         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11416         * javax/naming/Binding.java: Likewise.
11417         * javax/naming/CannotProceedException.java: Likewise.
11418         * javax/naming/CommunicationException.java: Likewise.
11419         * javax/naming/CompositeName.java: Likewise.
11420         * javax/naming/CompoundName.java: Likewise.
11421         * javax/naming/ConfigurationException.java: Likewise.
11422         * javax/naming/Context.java: Likewise.
11423         * javax/naming/ContextNotEmptyException.java: Likewise.
11424         * javax/naming/InitialContext.java: Likewise.
11425         * javax/naming/InsufficientResourcesException.java: Likewise.
11426         * javax/naming/InterruptedNamingException.java: Likewise.
11427         * javax/naming/LimitExceededException.java: Likewise.
11428         * javax/naming/LinkException.java: Likewise.
11429         * javax/naming/LinkLoopException.java: Likewise.
11430         * javax/naming/LinkRef.java: Likewise.
11431         * javax/naming/MalformedLinkException.java: Likewise.
11432         * javax/naming/NameAlreadyBoundException.java: Likewise.
11433         * javax/naming/NameClassPair.java: Likewise.
11434         * javax/naming/NameNotFoundException.java: Likewise.
11435         * javax/naming/NameParser.java: Likewise.
11436         * javax/naming/NamingEnumeration.java: Likewise.
11437         * javax/naming/NamingSecurityException.java: Likewise.
11438         * javax/naming/NoInitialContextException.java: Likewise.
11439         * javax/naming/NoPermissionException.java: Likewise.
11440         * javax/naming/NotContextException.java: Likewise.
11441         * javax/naming/OperationNotSupportedException.java: Likewise.
11442         * javax/naming/PartialResultException.java: Likewise.
11443         * javax/naming/Reference.java: Likewise.
11444         * javax/naming/Referenceable.java: Likewise.
11445         * javax/naming/ReferralException.java: Likewise.
11446         * javax/naming/ServiceUnavailableException.java: Likewise.
11447         * javax/naming/SizeLimitExceededException.java: Likewise.
11448         * javax/naming/TimeLimitExceededException.java: Likewise.
11449         * javax/naming/directory/Attribute.java: Likewise.
11450         * javax/naming/directory/AttributeInUseException.java: Likewise.
11451         * javax/naming/directory/AttributeModificationException.java: Likewise.
11452         * javax/naming/directory/Attributes.java: Likewise.
11453         * javax/naming/directory/BasicAttribute.java: Likewise.
11454         * javax/naming/directory/BasicAttributes.java: Likewise.
11455         * javax/naming/directory/DirContext.java: Likewise.
11456         * javax/naming/directory/InitialDirContext.java: Likewise.
11457         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11458         Likewise.
11459         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11460         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11461         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11462         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11463         * javax/naming/directory/ModificationItem.java: Likewise.
11464         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11465         * javax/naming/directory/SchemaViolationException.java: Likewise.
11466         * javax/naming/directory/SearchControls.java: Likewise.
11467         * javax/naming/directory/SearchResult.java: Likewise.
11468         * javax/naming/event/EventContext.java: Likewise.
11469         * javax/naming/event/EventDirContext.java: Likewise.
11470         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11471         * javax/naming/event/NamingEvent.java: Likewise.
11472         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11473         * javax/naming/event/NamingListener.java: Likewise.
11474         * javax/naming/event/ObjectChangeListener.java: Likewise.
11475         * javax/naming/ldap/Control.java: Likewise.
11476         * javax/naming/ldap/ControlFactory.java: Likewise.
11477         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11478         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11479         * javax/naming/ldap/HasControls.java: Likewise.
11480         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11481         * javax/naming/ldap/LdapContext.java: Likewise.
11482         * javax/naming/ldap/LdapReferralException.java: Likewise.
11483         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11484         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11485         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11486         * javax/naming/spi/DirObjectFactory.java: Likewise.
11487         * javax/naming/spi/DirStateFactory.java: Likewise.
11488         * javax/naming/spi/DirectoryManager.java: Likewise.
11489         * javax/naming/spi/InitialContextFactory.java: Likewise.
11490         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11491         * javax/naming/spi/NamingManager.java: Likewise.
11492         * javax/naming/spi/ObjectFactory.java: Likewise.
11493         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11494         * javax/naming/spi/ResolveResult.java: Likewise.
11495         * javax/naming/spi/Resolver.java: Likewise.
11496         * javax/naming/spi/StateFactory.java: Likewise.
11497
11498         * javax/naming/spi/NamingManager.java (ofb): Package private.
11499
11500 2002-11-21  Mark Wielaard  <mark@klomp.org>
11501
11502         * java/net/URL.java: Merge with Classpath (partly).
11503         * java/net/URLStreamHandler: Merge with Classpath.
11504
11505 2002-11-22  Michael Koch <konqueror@gmx.de>
11506
11507         * include/posix.h:
11508         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11509         * include/win32.h:
11510         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11511         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11512
11513 2002-11-21  Michael Koch <konqueror@gmx.de>
11514
11515         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11516         Only the new network functions should be in it.
11517
11518 2002-11-21  Michael Koch <konqueror@gmx.de>
11519
11520         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11521         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11522
11523 2002-11-21  Michael Koch <konqueror@gmx.de>
11524
11525         * java/nio/channels/AsynchronousCloseException.java,
11526         java/nio/channels/CancelledKeyException.java,
11527         java/nio/channels/ClosedByInterruptException.java,
11528         java/nio/channels/ConnectionPendingException.java,
11529         java/nio/channels/FileLockInterruptionException.java,
11530         java/nio/channels/IllegalSelectorException.java,
11531         java/nio/channels/NoConnectionPendingException.java,
11532         java/nio/channels/NonReadableChannelException.java,
11533         java/nio/channels/NonWritableChannelException.java,
11534         java/nio/channels/NotYetBoundException.java,
11535         java/nio/channels/NotYetConnectedException.java,
11536         java/nio/channels/OverlappingFileLockException.java,
11537         java/nio/channels/UnresolvedAddressException.java,
11538         java/nio/channels/UnsupportedAddressTypeException.java:
11539         New files.
11540         * Makefile.am (ordinary_java_source_files): Added new files.
11541         * Makefile.in: Regenerated.
11542
11543 2002-11-21  Michael Koch <konqueror@gmx.de>
11544
11545         * include/posix.h
11546         (_Jv_socket): New method.
11547         (_Jv_connect): New method.
11548         (_Jv_close): New method.
11549         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11550         (_Jv_bind): New method.
11551         (_Jv_listen): New method.
11552         (_Jv_write): New method.
11553         (_Jv_read): New method.
11554         * include/win32.h
11555         (_Jv_socket): New method.
11556         (_Jv_connect): New method.
11557         (_Jv_close): New method.
11558         (_Jv_bind): New method.
11559         (_Jv_listen): New method.
11560         (_Jv_write): New method.
11561         (_Jv_read): New method.
11562         * java/net/natNetworkInterface.cc:
11563         Include platform.h, removed inclusion of socket.h
11564         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11565         ::close() by _Jv_close().
11566         * java/net/natPlainDatagramSocketImpl.cc:
11567         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11568         added some new lines to make code more readable.
11569         (create): Replaced ::socket() by _Jv_socket().
11570         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11571         * java/net/natPlainSocketImpl.cc:
11572         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11573         removed include of socket.h, removed some windows defines
11574         (now in include/win32.h).
11575         (create): Replaced ::socket() by _Jv_socket().
11576         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11577         (write): Replaced ::read by _Jv_write().
11578         (read): Replaced ::read by _Jv_read().
11579
11580 2002-11-20  Michael Koch <konqueror@gmx.de>
11581
11582         * Makefile.am (ordinary_java_source_files):
11583         Added java/nio/channels/FileChannel.java.
11584         * Makefile.in: Regenerated.
11585
11586 2002-11-20  Michael Koch <konqueror@gmx.de>
11587
11588         * java/io/FileInputStream.java
11589         (getChannel): New method.
11590         * java/io/FileOutputStream.java
11591         (getChannel): New method.
11592         * java/net/ServerSocket.java
11593         (bind): Removed duplicate code and called another bind method instead.
11594         * java/nio/channels/SelectionKey.java
11595         (isValid): Removed wrong exception documentation.
11596         * java/nio/channels/ServerSocketChannel.java
11597         (accept): Added exception documentation.
11598         (open): Fixed typo, added exception documentation.
11599         * java/nio/channels/spi/AbstractSelectableChannel.java
11600         (implCloseChannel): Added exception documentation.
11601         (add): Reformated.
11602         (register): Added exception documentation.
11603
11604 2002-11-20  Andreas Jaeger  <aj@suse.de>
11605
11606         * configure: Regenerated with new libtool.m4.
11607
11608 2002-11-19  Tom Tromey  <tromey@redhat.com>
11609
11610         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11611         `referent'.
11612         (finalize_referred_to_object): Don't modify `referent' or `copy'
11613         fields.
11614         (add_to_hash): Correctly set `n->next' when updating list.
11615         * java/lang/ref/Reference.java (enqueue): Return false if already
11616         enqueued.
11617
11618 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11619
11620         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11621         to function and function pointer declarations in accordance with
11622         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11623         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11624         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11625         JNI function definitions.
11626
11627 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11628
11629         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11630         that was causing CoderResults to be cached, not WeakReferences
11631         to CoderResults.
11632
11633 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11634
11635         * java/security/KeyStore.java (getInstance): Fix
11636         comment and throw IllegalArgumentException if
11637         given provider is null.
11638         (getInstance): New method for jdk1.4 compatibility.
11639
11640 2002-11-18  Michael Koch <konqueror@gmx.de>
11641
11642         * java/net/PlainSocketImpl.java: Fix imports.
11643
11644 2002-11-18  Michael Koch <konqueror@gmx.de>
11645
11646         * java/nio/channels/SelectionKey.java
11647         (isValid): Added exception documentation.
11648         * java/nio/channels/Selector.java
11649         (open): Declare "throws IOException".
11650
11651 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11652
11653         * java/nio/charset/Charset.java
11654         (<clinit>): New method.
11655         (encode): Synchronize use of cached encoder object.
11656         (decode): Synchronize use of cached encoder object.
11657
11658 2002-11-18  Michael Koch <konqueror@gmx.de>
11659
11660         * gnu/java/nio/ByteBufferImpl.java,
11661         gnu/java/nio/CharBufferImpl.java,
11662         gnu/java/nio/DatagramChannelImpl.java,
11663         gnu/java/nio/DoubleBufferImpl.java,
11664         gnu/java/nio/FileChannelImpl.java,
11665         gnu/java/nio/FloatBufferImpl.java,
11666         gnu/java/nio/IntBufferImpl.java,
11667         gnu/java/nio/LongBufferImpl.java,
11668         gnu/java/nio/PipeImpl.java,
11669         gnu/java/nio/SelectionKeyImpl.java,
11670         gnu/java/nio/SelectorImpl.java,
11671         gnu/java/nio/SelectorProviderImpl.java,
11672         gnu/java/nio/ServerSocketChannelImpl.java,
11673         gnu/java/nio/ShortBufferImpl.java,
11674         gnu/java/nio/SocketChannelImpl.java,
11675         java/nio/DoubleBuffer.java,
11676         java/nio/FloatBuffer.java,
11677         java/nio/IntBuffer.java,
11678         java/nio/LongBuffer.java,
11679         java/nio/ShortBuffer.java,
11680         java/nio/channels/FileChannel.java: New files.
11681
11682 2002-11-18  Michael Koch <konqueror@gmx.de>
11683
11684         * Makefile.am (ordinary_java_source_files):
11685         Added java/nio/ReadOnlyBufferException.java and
11686         java/nio/channels/ClosedSelectorException.java.
11687         * Makefile.in: Regenerated.
11688
11689 2002-11-18  Michael Koch <konqueror@gmx.de>
11690
11691         * java/net/PlainSocketImpl.java: Reworked imports.
11692         * java/net/ServerSocket.java
11693         (ServerSocket): Create socket.
11694         * java/net/SocketAddress.java: Documentation added.
11695         * java/net/natPlainSocketImpl.cc: Reindented.
11696         * java/nio/ReadOnlyBufferException.java: New file
11697         * java/nio/channels/ClosedChannelException.java: Documentation added.
11698         * java/nio/channels/ClosedSelectorException.java: New file.
11699
11700 2002-11-17  Mark Wielaard  <mark@klomp.org>
11701
11702         * java/net/HttpURLConnection.java ((getPermission): Take port
11703         into consideration.
11704         (getErrorStream): Implement.
11705
11706 2002-11-17  Mark Wielaard  <mark@klomp.org>
11707
11708         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11709
11710 2002-11-16  Mark Wielaard  <mark@klomp.org>
11711
11712         Integrate work by Raif S. Naffah (raif@fl.net.au)
11713         * java/security/DummyKeyPairGenerator.java (clone): New method.
11714         * java/security/DummyMessageDigest.java (clone): New method.
11715         (engineUpdate): Now public.
11716         (engineReset): Likewise.
11717         (engineDigest): Likewise.
11718         (engineGetDigestLength): New method.
11719         * java/security/DummySignature.java (clone): New method.
11720         * java/security/KeyPairGenerator.java (provider): Now package private.
11721         (getInstance(String)): Use getInstance(String,Provider).
11722         (getInstance(String,String): Use getInstance(String,Provider)
11723         (getInstance(String,Provider): New method.
11724         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11725         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11726         * java/security/MessageDigest.java (provider): Now package private.
11727         (getInstance(String): Use getInstance(String,Provider).
11728         (getInstance(String,String): Use getInstance(String,Provider)
11729         (getInstance(String,Provider): New method.
11730         * java/security/Provider.java (toCanonicalKey): New method.
11731         (get): New method that uses toCanonicalKey().
11732         (put): Use toCanonicalKey().
11733         (remove): Likewise.
11734         * java/security/Security.java (insertProviderAt): Provider index is one
11735         based, not zero based.
11736         (addProvider): Likewise.
11737         (removeProvider): Likewise.
11738         * java/security/Signature.java (provider): Now package private.
11739         (getInstance(String)): Use getInstance(String,Provider).
11740         (getInstance(String,String): Use getInstance(String,Provider)
11741         (getInstance(String,Provider): New method.
11742         (getInstance(String,String,Provider): Don't cast DummySignature.
11743
11744 2002-11-15  Tom Tromey  <tromey@redhat.com>
11745
11746         For PR libgcj/8593:
11747         * java/util/zip/GZIPInputStream.java (read): Check file size.
11748         Look in inflater for remaining input bytes.
11749         (read4): Added buf and offset arguments.
11750
11751 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11752
11753         * java/applet/AppletContext.java: Fix typo and remove redundant
11754         modifiers.
11755
11756 2002-11-14  Tom Tromey  <tromey@redhat.com>
11757
11758         * java/lang/natRuntime.cc (insertSystemProperties): Set
11759         gnu.classpath.home.
11760
11761 2002-11-13  Michael Koch <konqueror@gmx.de>
11762
11763         * java/nio/ByteBuffer.java
11764         (allocate): New method.
11765         (wrap): New method.
11766         (put): New method.
11767         (get): New method.
11768
11769 2002-11-13  Michael Koch <konqueror@gmx.de>
11770
11771         * java/nio/channels/AlreadyConnectedException.java:
11772         Removed unneeded import.
11773         (AlreadyConnectedException): Documentation added.
11774         * java/nio/channels/Pipe.java
11775         (SinkChannel.SinkChannel): Documentation added.
11776         (SinkChannel.validOps): New method.
11777         (SourceChannel.SourceChannel): Documentation added.
11778         (SourceChannel.validOps): New method.
11779         (Pipe): Documentation added.
11780         (open): Documentation added.
11781         (SinkChannel.channel): Documentation added.
11782         (SourceChannel.channel): Documentation added.
11783         * java/nio/channel/SelectableChannel.java
11784         (SelectableChannel): Documentation added.
11785         (blockingLock): Documentation added.
11786         (configureBlocking):Documentation added.
11787         (isBlocking):Documentation added.
11788         (isRegistered):Documentation added.
11789         (keyFor):Documentation added.
11790         (provider):Documentation added.
11791         (register): Documentation added.
11792         (validOps): Documentation added.
11793         * jaba/nio/channels/SelectionKey.java
11794         (SelectionKey): Documentation added.
11795         (attach): Documentation added.
11796         (attachment): Documentation added.
11797         (isAcceptable): Documentation added.
11798         (isConnetable): Documentation added.
11799         (isReadable): Documentation added.
11800         (isWritable): Documentation added.
11801         (cancel): Documentation added.
11802         (channel): Documentation added.
11803         (interestOps): Documentation added.
11804         (isValid): Documentation added.
11805         (readyOps): Documentation added.
11806         (selector): Documentation added.
11807         * jaba/nio/channels/Selector.java
11808         (Selector): Documentation added.
11809         (open): Documentation added.
11810         (close): Documentation added.
11811         (isOpen): Documentation added.
11812         (keys): Documentation added.
11813         (provider): Documentation added.
11814         (select): Documentation added.
11815         (selectedKeys): Documentation added.
11816         (selectNow): Documentation added.
11817         (wakeup): Documentation added.
11818         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11819         (AbstractInterruptibleChannel): Documentation added.
11820         (opened): Default to true;
11821         (begin): Documentation added.
11822         (close): Set opened to false, documentation added.
11823         (isOpen): Documentation added.
11824         * java/nio/channels/spi/AbstractSelectionKey.java
11825         (AbstractSelectionKey): Documentation added.
11826         (cancel): Documentation added.
11827         (isValid): Documentation added.
11828         * java/nio/channels/spi/AbstractSelector.java
11829         (AbstractSelector): Documentation added.
11830         (begin): Documentation added.
11831         (close): Documentation added.
11832         (isOpen): Documentation added.
11833         (deregister): Documentation added.
11834         (end): Documentation added.
11835         (provider): Documentation added.
11836         (implCloseSelector): Documentation added.
11837         (register): Documentation added.
11838         * java/nio/channels/spi/SelectorProvider.java
11839         (SelectorProvider): Documentation added.
11840         (openDatagramChannel): Documentation added.
11841         (openPipe): Documentation added.
11842         (openSelector): Documentation added.
11843         (openServerSocketChannel): Documentation added.
11844         (openSocketChannel): Documentation added.
11845         (provider): Documentation added.
11846
11847 2002-11-12  Michael Koch <konqueror@gmx.de>
11848
11849         * java/nio/Buffer.java: Implemented.
11850         * java/nio/CharBuffer.java: New file.
11851         * java/nio/InvalidMarkException.java: New file.
11852         * java/nio/channels/DatagramChannel.java: Implemented.
11853         * java/nio/channels/ServerSocketChannel.java: Implemented.
11854         * java/nio/channels/SocketChannel.java: Implemented.
11855         * java/nio/channels/spi/AbstractChannel.java: Removed.
11856         * java/nio/channels/spi/AbstractSelectableChannel.java:
11857         Implemented.
11858         * java/nio/charset/Charset.java:
11859         Merge from Classpath.
11860         * java/nio/charset/CharsetDecoder.java: New file.
11861         * java/nio/charset/CharsetEncoder.java: New file.
11862         * java/nio/charset/CoderResult.java: New file.
11863         * Makefile.am (ordinary_java_source_files): Added new files.
11864         * Makefile.in: Regenerated.
11865
11866 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11867
11868         * gnu/java/nio/charset/ISO_8859_1.java,
11869         gnu/java/nio/charset/Provider.java,
11870         gnu/java/nio/charset/US_ASCII.java,
11871         gnu/java/nio/charset/UTF_16.java,
11872         gnu/java/nio/charset/UTF_16BE.java,
11873         gnu/java/nio/charset/UTF_16Decoder.java,
11874         gnu/java/nio/charset/UTF_16Encoder.java,
11875         gnu/java/nio/charset/UTF_16LE.java,
11876         gnu/java/nio/charset/UTF_8.java: New files.
11877
11878 2002-11-11  Michael Koch <konqueror@gmx.de>
11879
11880         * java/nio/charset/CharacterCodingException.java:
11881         This class must be public.
11882         * java/nio/charset/CoderMalfunctionError.java:
11883         This class must be public.
11884         * java/nio/charset/CodingErrorAction.java:
11885         This class must be public.
11886         * java/nio/charset/IllegalCharsetNameException.java:
11887         This class must be public, better implementation.
11888         * java/nio/charset/MalformedInputException.java:
11889         This class must be public, better implementation.
11890         * java/nio/charset/UnmappableCharacterException.java:
11891         This class must be public, better implementation.
11892         * java/nio/charset/UnsupportedCharsetException.java:
11893         This class must be public, better implementation.
11894
11895 2002-11-11  Michael Koch <konqueror@gmx.de>
11896
11897         * java/nio/BufferOverflowException.java,
11898         java/nio/BufferUnderflowException.java: New file.
11899         * Makefile.am (ordinary_java_source_files):
11900         Added new files.
11901         * Makefile.in: Regenerated.
11902
11903 2002-11-10  Tom Tromey  <tromey@redhat.com>
11904
11905         * java/awt/Container.java (validate): Use tree lock.
11906         (getComponent): Likewise.
11907         (getComponents): Likewise.
11908         (addImpl): Likewise.
11909         (remove): Likewise.
11910         (removeAll): Likewise.
11911         (processEvent): Fixed indentation.
11912         (getComponentAt): Use tree lock.
11913         (findComponentAt): Likewise.
11914         (removeNotify): Likewise.
11915         (isAncestorOf): Likewise.
11916         (list): Likewise.
11917         (visitChildren): Likewise.
11918         (findNextFocusComponent): Likewise.
11919         (addNotifyContainerChildren): Likewise.
11920         (getAccessibleChildrenCount): Likewise.
11921         (getAccessibleChild): Likewise.
11922
11923         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11924         (getSize): Likewise.
11925         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11926         (getSize): Likewise.
11927         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11928         (calcSize): Likewise.
11929         * java/awt/CardLayout.java (getSize): Use tree lock.
11930         (gotoComponent): Likewise.
11931         (layoutContainer): Likewise.
11932
11933         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11934         count is 0.
11935         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11936         count is 0.
11937
11938         * java/io/Externalizable.java, java/io/FilePermission.java,
11939         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11940         java/io/SerializablePermission.java, java/text/Format.java,
11941         java/util/AbstractMap.java, java/util/HashMap.java,
11942         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11943         versions from Classpath.
11944
11945 2002-11-10  Anthony Green  <green@redhat.com>
11946
11947         * java/util/jar/Attributes.java (Name): Fix name check.
11948
11949 2002-11-10  Mark Wielaard  <mark@klomp.org>
11950
11951         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11952         with getName() as message.
11953         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11954         type as message.
11955
11956         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11957         unused.
11958
11959 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11960
11961         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11962         for Win32. JNICALL has been defined to __stdcall to be compatible
11963         with Sun's JDKs.
11964
11965 2002-11-10  Tom Tromey  <tromey@redhat.com>
11966
11967         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11968         (setRows): Check newRows, not rows.
11969
11970         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11971
11972 2002-11-09  Tom Tromey  <tromey@redhat.com>
11973
11974         * java/applet/Applet.java, java/applet/AppletContext.java,
11975         java/applet/AppletStub.java, java/applet/AudioClip.java,
11976         java/awt/CardLayout.java,
11977         java/awt/ContainerOrderFocusTraversalPolicy.java,
11978         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11979         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11980         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11981         java/awt/color/ICC_ColorSpace.java,
11982         java/awt/color/ICC_Profile.java,
11983         java/awt/color/ICC_ProfileGray.java,
11984         java/awt/color/ICC_ProfileRGB.java,
11985         java/awt/datatransfer/DataFlavor.java,
11986         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11987         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11988         New versions from Classpath.
11989         * Makefile.in: Rebuilt.
11990         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11991         ICC_ProfileRGB.
11992
11993         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11994         display policy.
11995
11996         * java/awt/List.java (processEvent): Added missing `else's.
11997
11998         * java/awt/Window.java (show): validate() before showing.  Make
11999         parent displayable.
12000         (isDisplayable): New method.
12001
12002 2002-11-07  Mark Wielaard  <mark@klomp.org>
12003
12004         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12005         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12006
12007         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12008         annotation.
12009         (loadClass): Take String as codebases.
12010         (getClassAnnotation): Use MyClassLoader annotations.
12011         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12012         call exportObject(this).
12013
12014         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12015         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12016         (setAnnotation): Don't set locBytesStream and locStream.
12017         (replaceObject): Removed.
12018         (flush): Don't test locStream.
12019         (getLocBytes): LikeWise.
12020         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12021         (leaseCache): New field.
12022         (dirty): Use leaseCache.
12023         (LeaseRecord): New inner class.
12024         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12025         explicitly call exportObject().
12026         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12027         false to communicate with Sun JDK130.
12028         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12029         * gnu/java/rmi/server/RMIObjectInputStream.java
12030         (UnicastConnectionManager): Removed field.
12031         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12032         Use UnicastServer.getExportedRef().
12033         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12034         (expireTime): Likewise.
12035         (CONNECTION_TIMEOUT): Likewise.
12036         (disconnect): Call sock.close().
12037         (isExpired): New method.
12038         (resetTime): Likewise.
12039         (run): Use do while loop and catch Exception for discardConnection().
12040         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12041         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12042         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12043         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12044         (exportObject): Use refcache.
12045         (unexportObject): Likewise.
12046         (getExportedRef): New method.
12047         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12048         constructor.
12049         (exportObject): Save manager.serverobj.
12050         (getStub): New method.
12051
12052 2002-11-07  Mark Wielaard  <mark@klomp.org>
12053
12054         * java/lang/reflect/natField.cc (getBoolean): Use getType().
12055         (getByte): Likewise.
12056         (getShort): Likewise.
12057         (getInt): Likewise.
12058         (getLong): Likewise.
12059         (getFloat): Likewise.
12060         (getDouble): Likewise.
12061         (get): Likewise.
12062         (setChar): Likewise.
12063         (setByte): Likewise.
12064         (setShort): Likewise.
12065         (setInt): Likewise.
12066         (setLong): Likewise.
12067         (setFloat): Likewise.
12068         (setDouble): Likewise.
12069
12070 2002-11-07  Michael Koch <konqueror@gmx.de>
12071
12072         * java/awt/Choice.java,
12073         java/awt/Container.java,
12074         java/awt/GridBagLayout.java:
12075         Fixed documentation.
12076         * java/awt/peer/ContainerPeer.java:
12077         Reindented.
12078
12079 2002-11-07  Michael Koch <konqueror@gmx.de>
12080
12081         * java/awt/color/ICC_Profile.java:
12082         Added missing constants.
12083         * java/awt/color/ICC_ColorSpace.java
12084         (getMinValue): Added dummy implementation.
12085         (getMaxValue): Added dummy implementation.
12086         * java/awt/datatransfer/DataFlavor.java
12087         (imageFlavor): Added.
12088         (isMimeTypeEqual): Must be final.
12089         (getDefaultRepresentationClass): Must be non-static.
12090         (getDefaultRepresentationClassAsString): Must be non-static.
12091         * java/awt/dnd/DragSourceContext.java
12092         (dragExit): Corrected argument.
12093         (dragDropEnd): Corrected argument.
12094         * java/awt/dnd/DragSourceListener.java.java
12095         (dragExit): Corrected argument.
12096         (dragDropEnd): Corrected argument.
12097         * java/awt/font/TextHitInfo.java
12098         (toString): Added stubbed implementation.
12099         * java/awt/geom/PathIterator.java:
12100         The constants must be static.
12101         * java/awt/image/VolatileImage.java
12102         (IMAGE_INCOMPATIBLE): Fixed typo.
12103         * java/awt/image/renderable/RenderableImage.java
12104         (HINTS_OBSERVED): Must be static.
12105         * java/beans/BeanInfo.java:
12106         Constants must be final.
12107
12108 2002-11-06  Tom Tromey  <tromey@redhat.com>
12109
12110         From svens@it.uu.se.  For PR libgcj/8481.
12111         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12112
12113 2002-11-06  Tom Tromey  <tromey@redhat.com>
12114
12115         * jni.cc (array_from_valist): Assume that jlong won't be
12116         promoted.
12117
12118 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12119
12120         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12121         Return 20.
12122         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12123         Return 16.
12124
12125 2002-11-03  Tom Tromey  <tromey@redhat.com>
12126
12127         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12128         VMClassLoader, not findClass.
12129
12130 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12131
12132         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12133         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12134         _Jv_DetermineVTableIndex, to determine vtable offset.
12135         (_Jv_DetermineVTableIndex): Remove.
12136         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12137
12138         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12139
12140 2002-11-03  Tom Tromey  <tromey@redhat.com>
12141
12142         * java/nio/channels/AlreadyConnectedException.java: Extend
12143         IllegalStateException, per spec.
12144
12145 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12146
12147         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12148
12149 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12150
12151         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12152         size items.
12153
12154 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12155
12156         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12157         initial estimated size to avoid enlarge buffer frequently.
12158
12159 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12160
12161         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12162         ClassLoader when null.
12163         (ProxyType.hashCode): Loader null check no longer needed.
12164         (ProxyType.sameTypes): New method.
12165         (ProxyType.equals): Use new method.
12166
12167 2002-10-31  Mark Wielaard  <mark@klomp.org>
12168
12169         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12170         length of String.
12171         * java/net/URLEncoder.java (encode): Likewise.
12172
12173 2002-10-31  Mark Wielaard  <mark@klomp.org>
12174
12175         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12176         when stream is closed.
12177         (closeEntry): Likewise.
12178         (read): Likewise.
12179         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12180         ZipException when no entry active.
12181         (closeEntry): Likewise.
12182         (write): Likewise.
12183
12184 2002-11-02  Tom Tromey  <tromey@redhat.com>
12185
12186         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12187         * java/lang/natClass.cc (initializeClass): Don't return just
12188         because self==thread.
12189
12190         For PR java/8415:
12191         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12192         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12193
12194 2002-11-02  Andreas Schwab  <schwab@suse.de>
12195
12196         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12197         pass GCJFLAGS.
12198         (FLAGS_TO_PASS): Define.
12199         * Makefile.in: Regenerated.
12200
12201 2002-11-01  Michael Koch  <konqueror@gmx.de>
12202
12203         * java/nio/ByteOrder.java: New file.
12204         * java/nio/channels/DatagramChannel.java:
12205         (DatagramChannel): New constructor.
12206         * java/nio/channels/Pipe.java: New file.
12207         * java/nio/channels/SelectableChannel.java: New file.
12208         * java/nio/channels/SelectionKey.java: New file.
12209         * java/nio/channels/Selector.java: New file.
12210         * java/nio/channels/ServerSocketChannel.java
12211         (ServerSocketChannel): New constructor.
12212         * java/nio/channels/SocketChannel.java
12213         (SocketChannel): New constructor.
12214         * java/nio/channels/Pipe.java: New file.
12215         * java/nio/channels/spi/AbstractChannel.java: New file.
12216         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12217         * java/nio/channels/spi/AbstractSelectableChannel.java:
12218         License added
12219         (AbstractSelectableChannel): New stubbed method.
12220         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12221         * java/nio/channels/spi/AbstractSelector.java: New file.
12222         * java/nio/channels/spi/SelectorProvider.java: New file.
12223         * java/nio/charset/Charset.java: New file.
12224         * java/nio/charset/CoderMalfunctionError.java: New file.
12225         * java/nio/charset/CodingErrorAction.java: New file.
12226         * java/nio/charset/spi/CharsetProvider.java
12227         (charsetForName): Uncommented.
12228         * Makefile.am (java_native_source_files): Added new files.
12229         * Makefile.in: Regenerated.
12230
12231 2002-11-01  Michael Koch  <konqueror@gmx.de>
12232
12233         * java/net/InetAddress.java:
12234         (isAnyLocalAddress): Implemented.
12235         (isLoopbackAddress): Implemented, comment added.
12236         (isLinkLocalAddress): Implemented, documentation added.
12237         (isSiteLocalAddress): Implemented, documentation added.
12238         (isMCGlobal): Implemented, documentation added.
12239         (isMCNodeLocal): Implemented, documentation added.
12240         (isMCLinkLocal): Implemented, documentation added.
12241         (isMCSiteLocal): Implemented, documentation added.
12242         (isMCOrgLocal): Implemented, documentation added.
12243         (getHostName): Documentation added.
12244         (getCanonicalHostName): Implemented, documentation added.
12245         (getAddress): Documentation added.
12246         (hashCode): Documentation added.
12247         (equals): Documentation added.
12248         (toString): Fixed implementation.
12249         (getByAddress): Use Inet4Address and Inet6Address.
12250         (lookup): New linewrap.
12251         (getByName): SecurityManager check added, support Inet4Address and
12252         Inet6address, comments added.
12253         (getAllByName): SecurityManager check added, comments added.
12254         * java/net/Inet6Address.java:
12255         (Inet6Address): Initialize parent class with addr instead of null.
12256         * java/net/URL.java
12257         (equals): Documentation added.
12258         (getFile): Documentation added.
12259         (hashCode): Documentation added.
12260         * java/net/natInetAddress.cc:
12261         (aton): Fix IPv6 support.
12262         * java/net/natPlainDatagramSocketImpl.cc:
12263         (peek): Throw PortUnreachableException when suitable.
12264         (peekData): Throw PortUnreachableException when suitable.
12265         (send): Throw PortUnreachableException when suitable.
12266         (receive): Throw PortUnreachableException when suitable.
12267
12268 2002-10-27  Mark Wielaard  <mark@klomp.org>
12269
12270         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12271         argument.
12272         (readLeShort): Likewise and use byte[].
12273         (readLeInt): Likewise.
12274         (readEntries): Use new versions of methods and use byte[] for reading
12275         a complete zip entry. Add ZipFile name to exceptions.
12276         (entries): Add ZipFile name to exceptions.
12277         (getEntry): Likewise.
12278         (checkLocalHeader): Use new versions of methods and add ZipFile name
12279         to exceptions.
12280
12281 2002-10-31  Mark Anderson  <mark@panonet.net>
12282
12283         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12284         added
12285
12286 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12287
12288         * configure.in: Disable hash sync when not using threads.
12289         * configure: Regenerated.
12290
12291 2002-10-24  Tom Tromey  <tromey@redhat.com>
12292
12293         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12294         (_Jv_FindSymbolInExecutable): Removed argument name.
12295         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12296         java.library.path is set.
12297
12298         * gij.cc (help): Document --showversion.
12299         (version): Don't exit.
12300         (main): Handle --showversion.  Exit if --version given.
12301
12302 2002-10-23  Tom Tromey  <tromey@redhat.com>
12303
12304         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12305         (array_from_valist): Correctly handle promotion for jint, jlong,
12306         jfloat, and jdouble.
12307
12308 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12309
12310         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12311         GetFileAttributesEx( ) to find file length and modification times,
12312         as the latter is not present on Windows 95.
12313
12314 2002-10-21  Michael Koch  <konqueror@gmx.de>
12315
12316         * java/net/URL.java
12317         (URL): Activate SecurityManager checks.
12318         (equals): Use URLStreamHandler implementation instead of doing it
12319         alone. This allows special protocol stream handlers to change default
12320         behaviour.
12321         (hashCode): Use URLStreamHandler implementation instead of doing it
12322         alone. This allows special protocol stream handlers to change default
12323         behaviour.
12324         * java/net/URLStreamHandler.java
12325         (equals): Implemented default URL equality check.
12326         (hostsEqual): Implemented default URL equality check.
12327         (hashCode): Implemented default URL hashCode algorithm.
12328         * java/net/natPlainDatagramSocketImpl.cc:
12329         No lines longer then 80 characters.
12330
12331 2002-10-20  Adam Megacz <adam@xwt.org>
12332
12333         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12334         * configure.in: enabled hash sync on Win32
12335         * include/win32-threads.h (_Jv_ThreadId_t): added.
12336         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12337         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12338         removed some posix-isms, use Thread::sleep() instead of usleep,
12339         added code to clear bottom three bits if platform has a broken
12340         linker.
12341         * include/win32-threads.h (_Jv_ThreadId_t): added.
12342
12343 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12344
12345         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12346         runtime property "gnu.gcj.progname" containing the name used to
12347         invoke the current Java program (similar to argv[0] for C
12348         programs).
12349
12350 2002-10-15  Tom Tromey  <tromey@redhat.com>
12351
12352         Fix for PR libgcj/8234:
12353         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12354         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12355
12356 2002-10-13  Mark Wielaard  <mark@klomp.org>
12357
12358         * mauve-libgcj: Enable Mauve tests that compile now.
12359
12360 2002-10-11  Mark Wielaard  <mark@klomp.org>
12361
12362         Fix for PR libgcj/8142
12363         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12364         loading native modules.
12365
12366 2002-10-10  Michael Koch  <konqueror@gmx.de>
12367
12368         * javax/swing/AbstractListModel.java
12369         (getListDataListeners): New stubbed method.
12370         javax/swing/DefaultBoundedRangeModel.java
12371         (getChangeListeners): New stubbed method.
12372         javax/swing/DefaultSingleSelectionModel.java
12373         (getChangeListeners): New stubbed method.
12374
12375 2002-10-10  Michael Koch  <konqueror@gmx.de>
12376
12377         * gcj/.cvsignore: New file to ignore files generated during build.
12378         * include/.cvsignore: New file to ignore files generated during build.
12379
12380 2002-10-10  Michael Koch  <konqueror@gmx.de>
12381
12382         * java/net/HttpURLConnection.java
12383         (getPermission): New method.
12384         (getErrorStream): New stub method.
12385         (getHeaderFieldDate): New stub method.
12386         * java/net/Inet4Address.java:
12387         (isLinkLocalAddress): Typo fixed.
12388         * java/net/InetAddress.java:
12389         (readResolve): New stubbed method (for serialization).
12390         (isAnyLocalAddress): New stubbed method.
12391         (isLoopbackAddress): New stubbed method.
12392         (isLinkLocalAddress): New stubbed method.
12393         (isSiteLocalAddress): New stubbed method.
12394         (isMCGlobal): New stubbed method.
12395         (isMCNodeGlobal): New stubbed method.
12396         (isMCLinkLocal): New stubbed method.
12397         (isMCSiteLocal): New stubbed method.
12398         (isMCOrgLocal): New stubbed method.
12399         (getCanonicalHostName): New stubbed method.
12400         (getByAddress): Create instances of Inet4Address/Inet6Address,
12401         instead of InetAddress, documentation added.
12402         * java/net/MulticastSocket.java
12403         (getInterface): Removed FIXME.
12404         (getNetworkInterface): New method.
12405         (setNetworkInterface): New method.
12406         * java/net/NetworkInterface.java:
12407         (toString): Use property "line.separator" instead of "\n".
12408         * java/net/URLConnection.java
12409         (getContent): New stubbed method.
12410         * java/net/URLStreamHandler.java:
12411         (equals): New stubbed method.
12412         (hostsEqual): New stubbed method.
12413         (hashCode): New stubbed method.
12414         * java/net/natNetworkInterface.cc:
12415         (getRealNetworkInterfaces): Create Inet4Address object
12416         instead of InetAddress.
12417
12418 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12419
12420         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12421         unsigned long temporary to implement insn_iushr shifts.
12422
12423 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12424
12425         * configure.host [s390*-*]: Enable Java interpreter.
12426         Enable hash synchronization.  Add sysdeps dir.
12427         * sysdep/s390/locks.h: New file.
12428
12429 2002-10-06  Mark Wielaard  <mark@klomp.org>
12430
12431         * java/lang/Thread.java (setDaemon): Check startable_flag,
12432         not isAlive().
12433
12434 2002-10-07  Michael Koch  <konqueror@gmx.de>
12435
12436         * java/nio/Buffer.java: New stub file.
12437         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12438         of class Charset.
12439         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12440         * Makefile.in: Regenerated.
12441
12442 2002-10-07  Michael Koch  <konqueror@gmx.de>
12443
12444         * java/nio/ByteBuffer.java:
12445         removed import of not commited class.
12446
12447 2002-10-07  Michael Koch  <konqueror@gmx.de>
12448
12449         * java/nio/ByteBuffer.java,
12450         java/nio/MappedByteBuffer.java:
12451         New files, forgot to add these dummies.
12452         * Makefile.am (java_native_source_files): Added new files.
12453         * Makefile.in: Regenerated.
12454
12455 2002-10-07  Michael Koch  <konqueror@gmx.de>
12456
12457         * java/nio/channels/AlreadyConnectedException.java,
12458         java/nio/channels/ClosedChannelException.java,
12459         java/nio/channels/ReadableByteChannel.java,
12460         java/nio/channels/InterruptibleChannel.java,
12461         java/nio/channels/Channel.java,
12462         java/nio/channels/ByteChannel.java,
12463         java/nio/channels/GatheringByteChannel.java,
12464         java/nio/channels/ScatteringByteChannel.java,
12465         java/nio/channels/WritableByteChannel.java,
12466         java/nio/charset/CharacterCodingException.java,
12467         java/nio/charset/IllegalCharsetNameException.java,
12468         java/nio/charset/MalformedInputException.java,
12469         java/nio/charset/UnmappableCharacterException.java,
12470         java/nio/charset/UnsupportedCharsetException.java,
12471         java/nio/charset/spi/CharsetProvider.java: New file.
12472         These files are exceptions or interfaces,
12473         no real or abstract classes.
12474         * Makefile.am (java_native_source_files): Added new files.
12475         * Makefile.in: Regenerated.
12476
12477 2002-10-05  Michael Koch  <konqueror@gmx.de>
12478
12479         * java/net/InetAddress.java
12480         (getByAddress): Fixed documentation.
12481         (getByAddress): New method.
12482         * java/net/Inet4Address.java: New file.
12483         * java/net/URL.java
12484         (URL): Documentation added.
12485         (getContent): Documentation added.
12486         (getContent): New stubbed method.
12487         (getQuery): New method.
12488         (openConnection): Documentation added.
12489         (openStream): Documentation added.
12490         (setURLStreamHandlerFactory): Documentation added.
12491         * java/net/URI.java: New stub file.
12492         * Makefile.am
12493         (java_native_source_files): Added java/net/Inet4Address.java,
12494         java/net/Inet6Address.java and java/net/URI.java.
12495         * Makefile.in: Regenerated.
12496
12497 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12498
12499         * java/lang/ProtectionDomain.java (linesep): Remove field.
12500         (toString): Use System.getProperty("line.separator").
12501
12502 2002-10-04  Michael Koch  <konqueror@gmx.de>
12503
12504         * java/security/Identity.java: Added serialVersionUID.
12505         * java/security/KeyPair.java: Added serialVersionUID.
12506         * java/security/Provider.java: Added serialVersionUID.
12507         * java/security/SecureRandom.java: Added serialVersionUID.
12508         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12509         * java/security/SignedObject.java: Added serialVersionUID.
12510         * java/security/cert/Certificate.java: Added serialVersionUID.
12511
12512 2002-10-04  Mark Wielaard <mark@klomp.org>
12513
12514         * java/security/Security.java: Use java.home or gnu.classpath.home
12515         to load providers.
12516         (loadProviders): Extra dir argument.
12517         (getProvider): Return null when not found.
12518
12519 2002-10-04  Mark Wielaard  <mark@klomp.org>
12520
12521         * java/lang/Throwable.java: Remerge with Classpath.
12522
12523 2002-10-04  Michael Koch  <konqueror@gmx.de>
12524
12525         * java/net/InetAddress.java:
12526         (isMulticastAddress): Added documentation.
12527         (getHostAddress): Added documentation.
12528         (toString): Added documentation.
12529         (getByAddress): Fixed documentation.
12530         (getByName): Added documentation.
12531         (getAllByName): Added documentation.
12532         (getLocalHost): Added documentation.
12533
12534 2002-10-04  Michael Koch  <konqueror@gmx.de>
12535
12536         * java/beans/beancontext/BeanContextChildSupport.java:
12537         Added serialVersionUID.
12538         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12539         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12540         * javax/naming/Name.java: Added serialVersionUID.
12541
12542 2002-10-03  Adam Megacz <adam@xwt.org>
12543
12544         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12545         some functionality that isn't supported yet on WIN32.
12546
12547 2002-10-03  Tom Tromey  <tromey@redhat.com>
12548
12549         * Makefile.in: Rebuilt.
12550         * Makefile.am (awt_java_source_files): Added new files.
12551
12552 2002-10-03  Michael Koch  <konqueror@gmx.de>
12553
12554         * java/net/InetAddress.java
12555         (class InetAddress): Removed final keyword.
12556         (equals): Fixed typo.
12557         (getByAddress): New method.
12558
12559 2002-10-03  Michael Koch  <konqueror@gmx.de>
12560
12561         * java/awt/dnd/Autoscroll.java:
12562         New file, merge from Classpath.
12563         * java/awt/dnd/DragSourceAdapter.java:
12564         (dragExit): Fixed typos in argument type.
12565         (dragDropEnd): Fixed typos in argument type.
12566         * java/awt/dnd/DragSourceDropEvent.java:
12567         New file, merge from Classpath.
12568         * java/awt/dnd/DropTarget.java:
12569         Added stubs, merge from Classpath.
12570         * java/awt/dnd/DropTargetAdapter.java:
12571         New file, merge from Classpath.
12572         * java/awt/dnd/DropTargetContext.java:
12573         New file, merge from Classpath.
12574         * java/awt/dnd/DropTargetDragEvent.java:
12575         New file, merge from Classpath.
12576         * java/awt/dnd/DropTargetDropEvent.java:
12577         New file, merge from Classpath.
12578         * java/awt/dnd/DropTargetEvent.java:
12579         New file, merge from Classpath.
12580         * java/awt/dnd/DropTargetListener.java:
12581         New file, merge from Classpath.
12582         * java/awt/dnd/MouseDragGestureRecognizer.java:
12583         New file, merge from Classpath.
12584         * java/awt/dnd/peer/DropTargetContextPeer.java:
12585         New file, merge from Classpath.
12586
12587 2002-10-03  Michael Koch  <konqueror@gmx.de>
12588
12589         * java/net/DatagramPacket.java
12590         (setLength): Fixed typo and be HTML-aware.
12591         * java/net/InetSocketAddress.java
12592         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12593         (equals): Added comment about equality of InetSocketAddress objects.
12594         * java/net/ServerSocket.java
12595         (accept): Added checks.
12596         (isClosed): New stubbed method.
12597         * java/net/SocketOptions.java: Reindention.
12598         * java/net/SocketPermission
12599         (SocketPermission): Documentation fixed.
12600
12601 2002-10-03  Michael Koch  <konqueror@gmx.de>
12602
12603         * java/net/DatagramSocket.java
12604         (receive): Check with SecurityManager AFTER the packet is received,
12605         check if connected to multicast address, documentation added.
12606         (send): Only check SecurityManager if connected, check address of
12607         packet to send.
12608         (connect): Implemented, documentation added.
12609         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12610         * java/net/InetSocketAddress.java
12611         (whole file): Reindented.
12612         (hostname): New attribute.
12613         (InetSocketAddress): Initialize new attribute.
12614         (getAddress): Documentation added.
12615         (getHostName): Documentation added.
12616         (getPort): Documentation added.
12617         (hashCode): Documentation added.
12618         (isUnresolved): Documentation added.
12619         (toString): Conform to output of JDK 1.4.1, documentation added.
12620         * java/net/MulticastSocket.java
12621         (joinGroup): Removed FIXME, documentation added.
12622         (leaveGroup): Removed FIXME, documentation added.
12623         (send): Documentation added.
12624         * java/net/Socket.java
12625         (inputShutdown): New variable.
12626         (outputShutdown): New variable.
12627         (Socket): Initialize new variables.
12628         (getRemoteSocketAddress): Check if connected.
12629         (shutdownInput): Set new variable.
12630         (shutdownOutput): Set new variable.
12631         (isConnected): New method.
12632         (isClosed): New method.
12633         (isInputShutdown): New method.
12634         (isOutputShutdown): New method.
12635         * java/net/URLStreamHandler.java
12636         (URLStreamHandler): New method.
12637         (openConnection): Added documentation.
12638         (parseURL): Added documentation.
12639         (getHostAddress): New method.
12640         (getDefaultPort): New method.
12641
12642 2002-10-02  Tom Tromey  <tromey@redhat.com>
12643
12644         * java/rmi/activation/ActivationDesc.java,
12645         java/rmi/activation/ActivationGroupDesc.java,
12646         java/rmi/activation/ActivationGroupID.java,
12647         java/rmi/activation/ActivationID.java: New versions from
12648         Classpath.
12649
12650 2002-09-30  Bo Thorsen  <bo@suse.de>
12651
12652         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12653
12654 2002-09-30  Tom Tromey  <tromey@redhat.com>
12655
12656         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12657         from Classpath.
12658         * Makefile.in: Rebuilt.
12659         * Makefile.am (rmi_java_source_files): Added new files.
12660         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12661         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12662         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12663         Classpath.
12664         * gnu/java/rmi/dgc/DGCImpl.java,
12665         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12666         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12667         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12668         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12669         gnu/java/rmi/server/RMIHashes.java,
12670         gnu/java/rmi/server/RMIObjectInputStream.java,
12671         gnu/java/rmi/server/RMIObjectOutputStream.java,
12672         gnu/java/rmi/server/UnicastConnection.java,
12673         gnu/java/rmi/server/UnicastConnectionManager.java,
12674         gnu/java/rmi/server/UnicastRef.java,
12675         gnu/java/rmi/server/UnicastServer.java,
12676         gnu/java/rmi/server/UnicastServerRef.java,
12677         java/rmi/MarshalledObject.java,
12678         java/rmi/server/RMIClassLoader.java,
12679         java/rmi/server/RemoteObject.java,
12680         java/rmi/server/UnicastRemoteObject.java,
12681         java/security/SecureClassLoader.java: Merged from Classpath.
12682
12683 2002-09-29  Anthony Green  <green@redhat.com>
12684
12685         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12686         Imported from GNU Classpath.
12687         * java/lang/reflect/natProxy.cc: New file.
12688         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12689         from GNU Classpath.
12690         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12691         Classpath.
12692         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12693         Classpath.
12694         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12695         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12696         New statics.
12697         * gcj/javaprims.h ("Java"): Add new classes.
12698         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12699         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12700         java/lang/reflect/Proxy$$ProxyType.h): And this.
12701         (inner_nat_headers): Add these new headers.
12702         (ordinary_java_source_files): Add new files.
12703         (nat_source_files): Add new file.
12704         * Makefile.in: Rebuilt.
12705
12706 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12707
12708         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12709         a single configuration.
12710
12711 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12712
12713         * java/util/TimeZone.java (getDSTSavings): New method.
12714         Fixes PR libgcj/7786.
12715
12716 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12717
12718         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12719         to see if `the_method == 0' before looking up vtable index.
12720         Fixes PR libgcj/7709.
12721
12722 2002-09-25  Tom Tromey  <tromey@redhat.com>
12723
12724         * java/lang/natClassLoader.cc:
12725         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12726         * resolve.cc: Include NoClassDefFoundError.h, not
12727         ClassNotFoundException.h.
12728         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12729
12730         * defineclass.cc: Don't include ClassNotFoundException.h.
12731
12732         * resolve.cc: Include StringBuffer.
12733         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12734
12735         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12736         allocated but not initialized.
12737
12738 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12739
12740         Fix for PR libgcj/7766:
12741         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12742         (getNextEntry): Set it.
12743         (closeEntry): Likewise.
12744         (read): Likewise.
12745         (close): Likewise.
12746         (available): Use it.
12747
12748 2002-09-25  Michael Koch  <konqueror@gmx.de>
12749
12750         * java/net/DatagramSocket.java
12751         (DatagramSocket): Initialize new instance variables.
12752         (close): Reset new instance variables.
12753         (getLocalAddress): Remove unneeded SecurityManager usage.
12754         (getLocalPort): Check if socket is already bound.
12755         (isConnected): New method.
12756         (getInetAddress): Implemented.
12757         (getPort): Better Implementation, documentation fixed.
12758         (getRemoteSocketAddress): New method.
12759         * java/net/JarURLConnection.java
12760         (element): Typo fixed.
12761         (getMainAttributes): New method.
12762         (getAttributes): New method (stub only).
12763         (getManifest): New method (stub only).
12764         * java/net/NetPermission.java: Added serialVersionsUID.
12765         * java/net/Socket.java
12766         (connect): Check blocking mode of associated channel,
12767         documentation added.
12768         (getLocalSocketAddress): Better implementation.
12769         (getRemoteSocketAddress): Implemented.
12770         (isBound): New method.
12771         (setSendBufferSize): Documentation added.
12772         * java/net/SocketAddress.java: Added serialVersionsUID.
12773         * java/net/SocketPermission.java: Added serialVersionsUID.
12774         * java/net/URL.java
12775         (URL): Wrap for shorter lines, initialize new instance variables,
12776         documentation added.
12777         (equals): Check new instance variables too.
12778         (getContent): Documentation added.
12779         (getPath): Documentation added.
12780         (getAuthority): New method.
12781         (getHost): Documentation added.
12782         (getPort): Documentation added.
12783         (getDefaultPort): New method.
12784         (getProtocol): Documentation added.
12785         (getUserInfo): Documentation added.
12786         (set): Initialize new instance variables, documentation added.
12787         * java/net/URLStreamHandler.java
12788         (setURL): New method.
12789         * java/net/natPlainDatagramSocketImpl.cc
12790         (connect): Fix exception name.
12791         (disconnect): Fix exception name.
12792
12793 2002-09-25  Michael Koch  <konqueror@gmx.de>
12794
12795         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12796         * java/nio/channels/DatagramChannel.java:
12797         extends AbstractSelectableChannel
12798         * java/nio/channels/ServerSocketChannel.java:
12799         extends AbstractSelectableChannel
12800         * java/nio/channels/SocketChannel.java:
12801         extends AbstractSelectableChannel
12802         * Makefile.am (ordinary_java_source_files):
12803         java/nio/channels/spi/AbstractSelectableChannel.java added.
12804         * Makefile.in: Regenerated.
12805
12806 2002-09-25  Michael Koch  <konqueror@gmx.de>
12807
12808         * java/net/DatagramSocket.java
12809         (DatagramSocket): Exception documentation added.
12810         (bind): Exception documentation added, addded SecurityManager check,
12811         added SocketAddress type check.
12812         (getSoTimeout): Check impl.
12813         (receive): Fix SecurityManager check, check impl, documentation added.
12814         (send): Check channel mode, documentation added.
12815         (connect): New method.
12816         (disconnect): Implemented.
12817         (getLocalSocketAddress): New method.
12818         (getReceiveBufferSize): Check impl.
12819         (setReuseAddress): Check impl.
12820         (getReuseAddress): Check impl.
12821         (setBroadcast): Check impl.
12822         (getBroadcast): Check impl.
12823         (setTrafficClass): Check impl, Documentation cleared.
12824         (getTrafficClass): Check impl.
12825         (getSendBufferSize): Check impl.
12826         (setReceiveBufferSize): Check impl, documentation added.
12827         (setSendBufferSize): Documentation added.
12828         (setDatagramSocketImplFactory): New method.
12829         * java/net/HttpURLConnection.java
12830         (HTTP_INTERNAL_ERROR): The correct code is 500.
12831         (HTTP_NOT_IMPLEMENTED): Added new constant.
12832         (setFollowRedirects): Documentation added.
12833         (getInstanceFollowRedirects): New method.
12834         (setInstanceFollowRedirects): New method.
12835         (setRequestMethod): Documentation added.
12836         (getResponseCode): Documentation added.
12837         (getResponseMessage): Documentation added.
12838         * java/net/JarURLConnection.java
12839         (JarURLConnection): protected since JDK 1.4.
12840         (getJarEntry): java.io.IOException to IOException, documentation added.
12841         (getJarFile): Documentation added.
12842         * java/net/ServerSocket.java
12843         (ServerSocket): Private to public, exception added.
12844         (ServerSocket): java.io.IOException to IOException, documentation added.
12845         (bind): Check socket address type, documentation added.
12846         (bind): java.io.IOException to IOException, documentation added.
12847         (accept): Documentation added.
12848         (implAccept): Check ch is not non-blocking, documentation added.
12849         (setSoTimeout): Documentation fixed.
12850         (setReceiveBufferSize): Documentation added.
12851         * java/net/Socket.java
12852         (Socket): Documentation added.
12853         (bind): Documentation added.
12854         (connect): Check socket address type, documentation added.
12855         (getRemoteSocketAddress): New method.
12856         (getLocalSocketAddress): New method.
12857         (setSoLinger): Documentation added.
12858         (getReuseAddress): New method.
12859         (setReuseAddress): New method.
12860         (getTrafficClass): New method.
12861         (setTrafficClass): New method.
12862         * java/net/URLStreamHandler.java
12863         (openConnection): java.io.IOException to IOException.
12864         (parseURL): Documentation added.
12865         (sameFile): public to protected, documentation added.
12866         (setURL): Documentation added.
12867         * java/nio/IllegalBlockingModeException.java: New file.
12868         * Makefile.am (ordinary_java_source_files):
12869         added java/nio/IllegalBlockingModeException.java
12870         * Makefile.in: Regenerated.
12871
12872 2002-09-25  Michael Koch  <konqueror@gmx.de>
12873
12874         * java/net/DatagramPacket
12875         (DatagramPacket): Exception documentation added.
12876         (setData): Likewise.
12877         (setSocketAddress): Likewise.
12878         * java/net/DatagramSocketImpl.java
12879         (peek): Documentation addded.
12880         (peekData): Documentation addded.
12881         (send): Documentation addded.
12882         (receive): Documentation addded.
12883         (connect): New method.
12884         (disconnect): New method.
12885         (joinGroup): New abstract method.
12886         (leaveGroup): New abstract method.
12887         * java/net/InetSocketAddress.java
12888         (InetSocketAddress): Documentation added.
12889         (equals): final keyword added.
12890         (getAddress): final keyword added.
12891         (getHostName): final keyword added.
12892         (getPort): final keyword added.
12893         (hashCode): final keyword added.
12894         (isUnresolved): final keyword added.
12895         * java/net/MulticastSocket.java
12896         (MulticastSocket): Documentation added.
12897         (MulticastSocket): New method.
12898         (joinGroup): Documentation added.
12899         (joinGroup): New method.
12900         (leaveGroup): Documentation added.
12901         (leaveGroup): New method.
12902         (send): Documentation added.
12903         * java/net/NetworkInterface.java
12904         (getByName): Documentation added.
12905         (getByInetAddress): Documentation added.
12906         (getNetworkInterfaces): Documentation added.
12907         * java/net/PlainDatagramSocketImpl.java
12908         (connect): New method.
12909         (disconnect): New method.
12910         * java/net/SocketImpl.java
12911         (create): Documentation added.
12912         (shutdownInput): Convert public to protected, as it always was.
12913         (shutdownOutput): Convert public to protected, as it always was.
12914         * java/net/SocketOptions.java
12915         (whole file): Reintented.
12916         * java/net/URLClassLoader.java
12917         (URLClassLoader): SecurityManager check added, documentation added.
12918         (findResources): Documentation added.
12919         (findClass): Documentation added.
12920         (newInstance): More correct method arguments.
12921         * java/net/URLConnection.java
12922         (connect): Documentation added.
12923         (getContent): Documentation added.
12924         (getPermission): Documentation added.
12925         (getInputStream): Documentation added.
12926         (getOutputStream): Documentation added.
12927         (setDoInput): Throw correct exception, documentation added.
12928         (setDoOutput): Throw correct exception, documentation added.
12929         (setAllowUserInteraction): Throw correct exception, documentation added.
12930         (setUseCaches): Throw correct exception, documentation added.
12931         (setIfModifiedSince): Throw correct exception, documentation added.
12932         (setRequestProperty): Throw exception, documentation added.
12933         (addRequestProperty): Throw exception, documentation added.
12934         (getRequestProperty): Throw exception, documentation added.
12935         (getRequestProperties): Documentation added.
12936         (setContentHandlerFactory): Documentation added.
12937         (guessContentTypeFromName): protected to public.
12938         (setFileNameMap): Documentation added.
12939         * java/net/URLDecoder.java
12940         (URLDecoder): New method.
12941         (decode): Documentation added.
12942         (whole file): Reindented.
12943         * java/net/URLEncoder.java
12944         (encode): Documentation added.
12945         * java/net/natPlainDatagramSocketImpl.cc
12946         (connect): New method.
12947         (disconnect): New method.
12948         * javax/naming/RefAddr:
12949         (addrType): addrType was never final.
12950         (equals): Fix typo in method name.
12951         * javax/naming/BinaryRefAddr:
12952         (equals): Fix typo in method name.
12953
12954 2002-09-22  Tom Tromey  <tromey@redhat.com>
12955
12956         Fix for PR libgcj/6576:
12957         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12958         didn't find a given bundle.
12959         (getBundle): Don't require base bundle.
12960         (setParent): Removed old comment.
12961         (tryLocalBundle): Try components even if preceding components were
12962         empty.
12963
12964 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12965
12966         * Makefile.am (all-multi): Fix multilib parallel build.
12967
12968 2002-09-21  Michael Koch  <konqueror@gmx.de>
12969
12970         * java/net/Socket.java
12971         (sendUrgentData): New method.
12972         (getChannel): New method.
12973         * java/net/ServerSocket.java
12974         (getChannel): New method.
12975         (isBound): New method.
12976         * java/net/DatagramSocket.java
12977         (DatagramSocket): Two new methods.
12978         (bind): New method.
12979         (getChannel): New method.
12980         (isBound): New method.
12981         (send): Added newline to to make shorter lines.
12982         * java/net/PlainDatagramSocketImpl.java
12983         (mcastGrp): Added argument.
12984         (join): Use new mcastGrp.
12985         (leave): Use new mcastGrp.
12986         (joinGroup): New method.
12987         (leaveGroup): New method.
12988         * java/net/natPlainDatagramSocketImpl.cc
12989         (mcastGrp): Added argument, no yet really implemented.
12990         (getOption): Added newline for shorter lines.
12991         * java/net/natPlainSocketImpl.cc
12992         (read, setOption, getOption): Added newline for shorter lines.
12993
12994 2002-09-19  Tom Tromey  <tromey@redhat.com>
12995
12996        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12997        newly-created exception.
12998
12999 2002-09-18  Michael Koch  <konqueror@gmx.de>
13000
13001         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13002         java/util/regex/PatternSyntaxException.java:
13003         Merge with classpath, new files.
13004         * Makefile.am (core_java_source_files):
13005         Added java/util/regex/Matcher.java,
13006         java/util/regex/Pattern.java,
13007         java/util/regex/PatternSyntaxException.java
13008         * Makefile.in: Regenerated.
13009         * include/config.h.in: Added HAVE_NET_IF_H.
13010         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13011         Removed #if 0 ... #endif.
13012
13013 2002-09-17  Michael Koch  <konqueror@gmx.de>
13014
13015         * java/net/natNetworkInterface.cc:
13016         Removed unneed and yet wrong includes.
13017
13018 2002-09-17  Michael Koch  <konqueror@gmx.de>
13019
13020         * java/net/NetworkInterface.java: New file.
13021         * java/net/natNetworkInterface.java: New file.
13022         * configure.in: Added check for net/if.h.
13023         * configure: Regenerated.
13024         * Makefile.am
13025         (ordinary_java_source_files): Added NetworkInterface.java.
13026         (nat_source_files): Added natNetworkInterface.cc.
13027         * Makefile.in: Regenerated.
13028
13029 2002-09-16  Tom Tromey  <tromey@redhat.com>
13030
13031         * java/net/URLClassLoader.java (findClass): Code source for a
13032         class from a jar is not necessarily a jar: URL.
13033
13034 2002-09-16  Michael Koch  <konqueror@gmx.de>
13035
13036         * java/lang/AssertionError.java:
13037         Merge with classpath, fixes HTML.
13038         * java/rmi/server/LogStream.java:
13039         Merge with classpath, fixes some constants.
13040         * java/net/server/RemoteServer.java:
13041         Merge with classpath, adds serialVersionUID.
13042         * javax/naming/BinaryRefAddr.java:
13043         Merge with classpath, s/equal/equals/.
13044         * javax/naming/NamingException.java:
13045         Merge with classpath, fixed typo.
13046         * javax/naming/RefAddr.java:
13047         Merge with classpath, s/equal/equals/.
13048         * java/awt/Toolkit.java:
13049         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13050         and typo fixed.
13051
13052 2002-09-15  Adam Megacz <adam@xwt.org>
13053
13054         * java/net/natPlainSocketImpl.cc: fixed typo.
13055
13056 2002-09-15  Adam Megacz <adam@xwt.org>
13057
13058         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13059         which don't work on Win32 (yet).
13060
13061 2002-09-14  Adam Megacz <adam@xwt.org>
13062
13063         * java/net/natPlainDatagramSocket.cc: removed #include
13064         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13065         * include/win32.h: included definition for IP_TOS to satisfy
13066         natPlainDatagramSocket.cc
13067
13068 2002-09-13  Michael Koch  <konqueror@gmx.de>
13069
13070         * java/net/DatagramPacket.java (DatagramPacket):
13071         Added linebreak for 80 chars per line.
13072         * java/net/JarURLConection.java
13073         (getInputStreami, getJarEntry): Likewise.
13074         * java/net/SocketPErmission.java
13075         (SocketPermission class docu, implies): Likewise.
13076         * java/net/URLClassLoader.java (findResources): Likewise.
13077         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13078
13079 2002-09-13  Michael Koch  <konqueror@gmx.de>
13080
13081         * java/nio/channels/DatagramChannel.java,
13082         java/nio/channels/ServerSocketChannel.java
13083         java/nio/channels/SocketChannel.java:
13084         New dummy files to make java.net fully JDK 1.4 compatible
13085         * Makefile.am (ordinary_java_source_files): Added
13086         java/net/DatagramSocketImplFactory.java (long forgotten),
13087         java/nio/SocketChannel.java,
13088         java/nio/ServerSocketChannel.java,
13089         java/nio/DatagramChannel.java
13090         * Makefile.in: Regenrated.
13091
13092 2002-09-12  Michael Koch  <konqueror@gmx.de>
13093
13094         * java/net/DatagramSocketImpl.java
13095         (peekData): New method.
13096         * java/net/PlainDatagramSocketImpl.java
13097         (peekData): New method.
13098         * java/net/natPlainDatagramSocketImpl.cc
13099         (peekData): New method.
13100         * java/net/URLConnection
13101         (getPermission): New method.
13102         (addRequestProperty): New method.
13103         (getRequestProperties): New method.
13104         (guessContentTypeFromStream): New method, not really implemented.
13105         (URLConnection): Added/updated documentation.
13106         (connect): Added/updated documentation.
13107         (getURL): Added/updated documentation.
13108         (getContentLength): Added/updated documentation.
13109         (getContentType: Added/updated documentation.
13110         (getContentEncoding): Added/updated documentation.
13111         (getExpiration): Added/updated documentation.
13112         (getDate): Added/updated documentation.
13113         (getLastModified): Added/updated documentation.
13114         (getHeaderField): Added/updated documentation.
13115         (getHeaderFields): Added/updated documentation.
13116         (getHeaderFieldInt): Added/updated documentation.
13117         (getHeaderFieldDate): Added/updated documentation.
13118         (getHeaderFieldKey): Added/updated documentation.
13119         (getContent): Added/updated documentation.
13120         (getInputStream): Added/updated documentation.
13121         (getOutputStream): Added/updated documentation.
13122         (toString): Added/updated documentation.
13123         (setDoInput): Added/updated documentation.
13124         (getDoInput): Added/updated documentation.
13125         (setDoOutput): Added/updated documentation.
13126         (getDoOutput): Added/updated documentation.
13127         (setAllowUserInteraction): Added/updated documentation.
13128         (getAllowUserInteraction): Added/updated documentation.
13129         (setDefaultAllowUserInteraction): Added/updated documentation.
13130         (getDefaultAllowUserInteraction): Added/updated documentation.
13131         (setUseCaches): Added/updated documentation.
13132         (getUseCaches): Added/updated documentation.
13133         (setIfModifiedSince): Added/updated documentation.
13134         (getIfModifiedSince): Added/updated documentation.
13135         (getDefaultUseCaches): Added/updated documentation.
13136         (setDefaultUseCaches): Added/updated documentation.
13137         (setRequestProperty): Added/updated documentation.
13138         (getRequestProperty): Added/updated documentation.
13139         (setDefaultRequestProperty): Added/updated documentation.
13140         (getDefaultRequestProperty): Added/updated documentation.
13141         (setContentHandlerFactory): Added/updated documentation.
13142         (guessContentTypeFromName): Added/updated documentation.
13143         (getFileNameMap): Added/updated documentation.
13144         (setFileNameMap): Added/updated documentation.
13145
13146 2002-09-11  Michael Koch  <konqueror@gmx.de>
13147
13148         * java/net/Socket.java
13149         (Socket): protected to public (since JDK 1.4). Added @specnote.
13150         (bind): New method.
13151         (connect): Two new methods.
13152         (getKeepalive): Get correct socket option.
13153         (setKeepalive): Set correct socket option.
13154         (getOOBInline): New method.
13155         (setOOBInline): New method.
13156         * java/net/ServerSocket.java
13157         (bind): Two new methods.
13158         (getInetAddress): Reimplemented, catch exception.
13159         (getLocalSocketAddress): New method.
13160         (setReuseAddress): New method.
13161         (getReuseAdress): New method.
13162         (setReceiveBufferSize): New method.
13163         (getReceiveBufferSize): New method.
13164         (toString): Made string JDK 1.4 compliant.
13165
13166 2002-09-10  Michael Koch  <konqueror@gmx.de>
13167
13168         * java/net/SocketImpl.java
13169         (connect): New method.
13170         (supportsUrgentData): New method.
13171         (sendUrgentData): New method.
13172         * java/net/PlainSocketImpl.java
13173         (connect): One new method and two new implementation.
13174         (sendUrgentData): New method.
13175         * java/natPlainSocketImpl.cc
13176         (connect): Arguments changed, added support for timeouts.
13177         (getOption): Another __java_boolean to jboolean.
13178
13179 2002-09-07  Adam Megacz <adam@xwt.org>
13180
13181         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13182         definition of IP_TOS.
13183
13184 2002-09-04  Michael Koch  <konqueror@gmx.de>
13185
13186         * java/net/DatagramSocket.java
13187         (DatagramSocket): Added documentation.
13188         (close): Likewise.
13189         (getLocalAddress): Likewise.
13190         (getLocalPort): Likewise.
13191         (receive): Likewise.
13192         (send): Likewise.
13193         (setSoTimeout): Likewise.
13194         (connect): New method.
13195         (disconnect): New method.
13196         (getInetAddress): New method (FIXME)
13197         (getPort): New method.
13198         (setReuseAddress): New method.
13199         (getReuseAddress): New method.
13200         (setBroadcast): New method.
13201         (getBroadcast): New method.
13202         (setTrafficClass): New method.
13203         (getTrafficClass): New method.
13204         * java/net/MulticastSocket.java):
13205         (getTTL): Added @see in documentation.
13206         (setTTL): Added @see in documentation.
13207         (setLoopbackMode): New method.
13208         (getLoopbackMode): New method.
13209         * java/net/PlainSocketImpl.java:
13210         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13211         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13212         * java/net/PlainDatagramSocketImpl.java
13213         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13214         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13215         * java/net/natPlainSocketImpl.cc
13216         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13217         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13218         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13219         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13220         This should also fix SO_KEEPALIVE
13221         * java/net/natPlainDatagramSocketImpl.cc
13222         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13223         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13224         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13225         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13226
13227 2002-09-04  Michael Koch  <konqueror@gmx.de>
13228
13229         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13230         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13231         IP_MULTICAST_LOOP, IP_TOS
13232
13233 2002-09-03  Tom Tromey  <tromey@redhat.com>
13234
13235         * java/lang/Class.h (_getDeclaredMethod): Declare.
13236         (_getMethod): Now private.
13237         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13238         getDeclaredMethod.  Now returns NULL on failure.
13239         * java/lang/Class.java (_getDeclaredMethod): Declare.
13240         (getDeclaredMethod): No longer native; implements access checks.
13241
13242 2002-09-01  Mark Wielaard  <mark@klomp.org>
13243
13244         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13245         (sanitizeStack): Correctly reset unknown and interpreter counters,
13246         detect interpreter runtime frames.
13247         (demangleInterpreterMethod): New method.
13248         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13249         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13250         filling in addrs[].
13251
13252 2002-09-02  Michael Koch  <konqueror@gmx.de>
13253
13254         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13255         re-indented documentation.
13256
13257 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13258
13259         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13260         public, per 1.4 spec.  Fixes PR libgcj/7785.
13261
13262 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13263
13264         * Makefile.in: Rebuilt.
13265         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13266
13267 2002-08-29  Tom Tromey  <tromey@redhat.com>
13268
13269         * java/net/JarURLConnection.java (getCertificates): New method
13270         from Classpath.
13271         * java/net/URLClassLoader.java (URLClassLoader): Extends
13272         SecureClassLoader.
13273         (definePackage): New method from Classpath.
13274         (getPermissions): Likewise.
13275         (newInstance): Likewise.
13276         (findClass): Construct CodeSource for new class (from Classpath).
13277         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13278         methods.
13279         * java/net/URL.java (getUserInfo): New method.
13280         (set(String,String,int,String,String,String,String,String)): New
13281         method.
13282         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13283         (shutdownInput, shutdownOutput): Declare.
13284         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13285         Define.
13286         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13287         (getOption): Likewise.
13288         (shutdownInput): New method.
13289         (shutdownOutput): Likewise.
13290         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13291         keepalive.
13292         (getOption): Likewise.
13293         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13294         * java/net/Socket.java (setKeepAlive): New method.
13295         (getKeepAlive): Likewise.
13296         (shutdownInput, shutdownOutput): New methods.
13297
13298 2002-08-29  Michael Koch  <konqueror@gmx.de>
13299
13300         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13301         new methods are:
13302         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13303           address),
13304         DatagramPacket(byte[] buf, int length, SocketAddress address),
13305         void setSocketAddress(SocketAddress address)
13306         public SocketAddress getSocketAddress()
13307
13308 2002-08-29  Tom Tromey  <tromey@redhat.com>
13309
13310         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13311         ftruncate is missing.
13312         * configure, include/config.h.in: Rebuilt.
13313         * acconfig.h (HAVE_FTRUNCATE): Mention.
13314         * configure.in: Check for ftruncate.
13315
13316 2002-08-29  Tom Tromey  <tromey@redhat.com>
13317
13318         * include/jvm.h (struct _Jv_frame_info): New structure.
13319         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13320         java-interp.h.
13321         (lookupInterp): New method.
13322         (getAddrAsString): Use _Jv_frame_info.
13323         (dladdrLookup): Likewise.
13324         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13325         interpreted frame.
13326         (lookupInterp): Declare.
13327         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13328         (fillInStackTrace): Collect information on interpreted frames.
13329         Use _Jv_frame_info.
13330         * interpret.cc: Include Thread.h.
13331         (run): Create and push _Jv_MethodChain object.
13332         (_Jv_EndOfInterpreter): New global.
13333         * java/lang/Thread.java (interp_frame): New field.
13334         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13335         Include NameFinder.h.
13336
13337 2002-08-28  Tom Tromey  <tromey@redhat.com>
13338
13339         * java/lang/Class.h: Include Package.h.
13340         (Class::getProtectionDomain): Declare.
13341         (Class::getPackage): Declare.
13342
13343 2002-08-28  Michael Koch <konqueror@gmx.de>
13344
13345         * java/net/InetSocketAddress.java: Added some documentation and argument
13346         checks for the port numbers.
13347         * java/net/DatagramSocketImplFactory.java: New file.
13348
13349 2002-08-28  Michael Koch <konqueror@gmx.de>
13350
13351         * java/net/Authenticator.java: added some documentation.
13352
13353 2002-08-27  Tom Tromey  <tromey@redhat.com>
13354
13355         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13356         class.
13357         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13358
13359 2002-08-27  Michael Koch <konqueror@gmx.de>
13360
13361         * java/net/BindException.java,
13362         java/net/JarURLConnection.java,
13363         java/net/FileNameMap.java,
13364         java/net/HttpURLConnection.java,
13365         java/net/InetSocketAddress.java,
13366         java/net/DatagramPacket.java,
13367         java/net/DatagramSocket.java,
13368         java/net/DatagramSocketImpl.java,
13369         java/net/MulticastSocket.java,
13370         java/net/PasswordAuthentication.java,
13371         java/net/ServerSocket.java,
13372         java/net/Socket.java,
13373         java/net/URLClassLoader.java,
13374         java/net/URLConnection.java: add/update of some @since/@deprecated
13375
13376 2002-08-27  Tony Kimball <alk@pobox.com>
13377             Tom Tromey  <tromey@redhat.com>
13378
13379         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13380         define.
13381         (::close): Removed.
13382         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13383         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13384         (::close): Removed.
13385         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13386         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13387
13388 2002-08-25  Adam Megacz <adam@xwt.org>
13389
13390         * include/win32.h (getcwd): copied function declaration as
13391         temporary fix for header confusion.
13392
13393 2002-08-24  Mark Wielaard <mark@klomp.org>
13394
13395         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13396         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13397         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13398         and natNameFinder.cc.
13399         * Makefile.in: Regenerate.
13400         * prims.cc: Use trace_enabled from VMThrowable.
13401         * name-finder.cc: Removed.
13402         * gcj/javaprims.h: Add class VMThrowable.
13403         * gnu/gcj/runtime/NameFinder.java: New file.
13404         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13405         * include/name-finder.h: Removed.
13406         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13407         method stackTraceString().
13408         (printStackTrace (PrintWriter)): Likewise.
13409         (stackTraceString): Complete rewrite of old printStackTrace using
13410         StringBuffer.
13411         (stackTraceStringBuffer): New helper method for stackTraceString().
13412         (fillInStackTrace): Delegate to VMTrowable.
13413         (getStackTrace): Likewise.
13414         (getStackTrace0): Removed.
13415         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13416         (setStackTrace): Copy given array.
13417         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13418         * java/lang/VMThrowable.java: New class.
13419         * java/lang/natVMThrowable.cc: New file.
13420
13421 2003-08-23  Michael Koch  <konqueror@gmx.de>
13422
13423         * java/net/URLConnection.java,
13424         java/netJarURLConnection.java,
13425         gnu/gcj/protocol/core/Connection.java,
13426         gnu/gcj/protocol/file/Connection.java,
13427         gnu/gcj/protocol/http/Connection.java: Added implementation of
13428         getHeaderFields().
13429
13430 2002-08-22  Tom Tromey  <tromey@redhat.com>
13431
13432         * gij.cc (help): Document -cp and -classpath.
13433         (main): Handle -classpath.
13434
13435 2002-08-21  Tom Tromey  <tromey@redhat.com>
13436
13437         * Makefile.in: Rebuilt.
13438         * Makefile.am (ordinary_java_source_files): Added
13439         SocketAddress.java, InetSocketAddress.java.
13440         * java/net/PortUnreachableException.java: Merged with Classpath.
13441         * java/net/SocketTimeoutException.java: Likewise.
13442         * java/net/URISyntaxException.java: Likewise.
13443         * java/net/SocketAddress.java: New class from Classpath.
13444         * java/net/InetSocketAddress.java: Likewise.
13445
13446 2003-08-21  Michael Koch  <konqueror@gmx.de>
13447
13448         * java/net/Authenticator.java: updated JDK 1.4
13449         * java/net/ContentHandler.java: updated JDK 1.4
13450
13451 2002-08-20  Michael Koch  <konqueror@gmx.de>
13452
13453         * java/net/URISyntaxException.java: New file.
13454         * java/net/SocketTimeoutException.java: New file.
13455         * java/net/PortUnreachableException.java: New file.
13456         * Makefile.am: Updated.
13457         * Makefile.in: Rebuilt.
13458
13459 2002-08-18  Mark Wielaard  <mark@klomp.org>
13460
13461         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13462         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13463         MessageDigestSpi (fixes Classpath bug #783).
13464
13465 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13466
13467         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13468         (startProcess): Allocate path for chdir in async-signal-safe way.
13469
13470 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13471
13472         Fix for PR libgcj/7570 and PR libgcj/7578:
13473         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13474         (startProcess): Handle new `dir' argument.
13475         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13476         argument.
13477         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13478         argument.
13479         (startProcess): Likewise.
13480         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13481         argument.
13482         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13483         (exec): Don't create new environment if ENV==null.  Pass DIR to
13484         execInternal.
13485         * java/lang/natRuntime.cc: Include java/io/File.h.
13486         (execInternal): Added `dir' argument.
13487
13488 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13489
13490         * java/io/RandomAccessFile.java (skipBytes): Return number of
13491         bytes skipped.
13492
13493 2002-08-01  Mark Wielaard  <mark@klomp.org>
13494
13495         Reenable patch since shared library troubles on powerpc are solved:
13496         * gnu/java/security/provider/Gnu.java: Reference all implementation
13497         classes by using Class.getName().
13498         * gnu/java/security/der/DEREncodingException.java,
13499         gnu/java/security/provider/DERReader.java,
13500         gnu/java/security/provider/DERWriter.java,
13501         gnu/java/security/provider/DSAKeyPairGenerator.java,
13502         gnu/java/security/provider/DSAParameterGenerator.java,
13503         gnu/java/security/provider/DSAParameters.java,
13504         gnu/java/security/provider/DSASignature.java,
13505         gnu/java/security/provider/GnuDSAPrivateKey.java,
13506         gnu/java/security/provider/GnuDSAPublicKey.java,
13507         gnu/java/security/provider/MD5.java,
13508         gnu/java/security/util/Prime.java: New classes
13509         * Makefile.am (ordinary_java_source_files): Add above files.
13510         * Makefile.in: Regenerate.
13511         * gnu/java/security/provider/DefaultPolicy.java
13512         (getPermissions): Don't maintain static class variable of Permissions.
13513         * gnu/java/security/provider/SHA.java
13514         (engineUpdate): algorithm change.
13515         (engineDigest): algorithm change.
13516
13517 2002-08-09  Mark Wielaard  <mark@klomp.org>
13518
13519         * java/awt/image/MemoryImageSource.java: Change constructor to take
13520         int[] not byte[].
13521         * java/awt/Graphics2D.java: Uncomment methods that can now be
13522         compiled.
13523         * java/awt/GridBagLayout.java: New stub implementation.
13524         * javax/swing/text/html/HTML.java: Stub implementation.
13525         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13526         implementation.
13527
13528         * Makefile.am: Add new files.
13529         * Makefile.in: Rebuilt.
13530
13531 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13532
13533         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13534         methods in Graphics2D.
13535
13536 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13537
13538         AWT/Swing merge from GNU Classpath.
13539
13540         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13541         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13542         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13543         java/awt/color/ProfileDataException.java,
13544         java/awt/CompositeContext.java, java/awt/Composite.java,
13545         java/awt/ContainerOrderFocusTraversalPolicy.java,
13546         java/awt/datatransfer/FlavorTable.java,
13547         java/awt/DefaultFocusTraversalPolicy.java,
13548         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13549         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13550         java/awt/dnd/DragGestureListener.java,
13551         java/awt/dnd/DragGestureRecognizer.java,
13552         java/awt/dnd/DragSourceAdapter.java,
13553         java/awt/dnd/DragSourceContext.java,
13554         java/awt/dnd/DragSourceDragEvent.java,
13555         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13556         java/awt/dnd/DragSourceListener.java,
13557         java/awt/dnd/DragSourceMotionListener.java,
13558         java/awt/dnd/DropTarget.java,
13559         java/awt/dnd/InvalidDnDOperationException.java,
13560         java/awt/dnd/peer/DragSourceContextPeer.java,
13561         java/awt/event/AWTEventListenerProxy.java,
13562         java/awt/event/MouseWheelEvent.java,
13563         java/awt/event/MouseWheelListener.java,
13564         java/awt/event/WindowFocusListener.java,
13565         java/awt/event/WindowStateListener.java,
13566         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13567         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13568         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13569         java/awt/geom/FlatteningPathIterator.java,
13570         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13571         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13572         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13573         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13574         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13575         java/awt/image/ImagingOpException.java,
13576         java/awt/image/RasterFormatException.java,
13577         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13578         java/awt/image/VolatileImage.java,
13579         java/awt/image/WritableRenderedImage.java,
13580         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13581         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13582         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13583         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13584         java/awt/PageAttributes.java, java/awt/print/Book.java,
13585         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13586         java/awt/print/Paper.java, java/awt/print/Printable.java,
13587         java/awt/print/PrinterAbortException.java,
13588         java/awt/print/PrinterException.java,
13589         java/awt/print/PrinterGraphics.java,
13590         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13591         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13592         java/awt/Stroke.java, java/awt/TexturePaint.java,
13593         javax/accessibility/AccessibleAction.java,
13594         javax/accessibility/AccessibleBundle.java,
13595         javax/accessibility/AccessibleComponent.java,
13596         javax/accessibility/AccessibleContext.java,
13597         javax/accessibility/AccessibleEditableText.java,
13598         javax/accessibility/AccessibleExtendedComponent.java,
13599         javax/accessibility/AccessibleExtendedTable.java,
13600         javax/accessibility/AccessibleHyperlink.java,
13601         javax/accessibility/AccessibleHypertext.java,
13602         javax/accessibility/AccessibleIcon.java,
13603         javax/accessibility/Accessible.java,
13604         javax/accessibility/AccessibleKeyBinding.java,
13605         javax/accessibility/AccessibleRelation.java,
13606         javax/accessibility/AccessibleRelationSet.java,
13607         javax/accessibility/AccessibleResourceBundle.java,
13608         javax/accessibility/AccessibleRole.java,
13609         javax/accessibility/AccessibleSelection.java,
13610         javax/accessibility/AccessibleState.java,
13611         javax/accessibility/AccessibleStateSet.java,
13612         javax/accessibility/AccessibleTable.java,
13613         javax/accessibility/AccessibleTableModelChange.java,
13614         javax/accessibility/AccessibleText.java,
13615         javax/accessibility/AccessibleValue.java,
13616         javax/swing/AbstractAction.java,
13617         javax/swing/AbstractButton.java,
13618         javax/swing/AbstractCellEditor.java,
13619         javax/swing/AbstractListModel.java,
13620         javax/swing/AbstractSet.java, javax/swing/Action.java,
13621         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13622         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13623         javax/swing/border/CompoundBorder.java,
13624         javax/swing/border/EmptyBorder.java,
13625         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13626         javax/swing/border/LineBorder.java,
13627         javax/swing/border/MatteBorder.java,
13628         javax/swing/border/TitledBorder.java,
13629         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13630         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13631         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13632         javax/swing/CellRendererPane.java,
13633         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13634         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13635         javax/swing/colorchooser/ColorSelectionModel.java,
13636         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13637         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13638         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13639         javax/swing/DefaultBoundedRangeModel.java,
13640         javax/swing/DefaultButtonModel.java,
13641         javax/swing/DefaultCellEditor.java,
13642         javax/swing/DefaultCellRenderer.java,
13643         javax/swing/DefaultComboBoxModel.java,
13644         javax/swing/DefaultDesktopManager.java,
13645         javax/swing/DefaultFocusManager.java,
13646         javax/swing/DefaultListCellRenderer.java,
13647         javax/swing/DefaultListModel.java,
13648         javax/swing/DefaultListSelectionModel.java,
13649         javax/swing/DefaultSingleSelectionModel.java,
13650         javax/swing/DesktopManager.java,
13651         javax/swing/event/AncestorEvent.java,
13652         javax/swing/event/AncestorListener.java,
13653         javax/swing/event/CaretEvent.java,
13654         javax/swing/event/CaretListener.java,
13655         javax/swing/event/CellEditorListener.java,
13656         javax/swing/event/ChangeEvent.java,
13657         javax/swing/event/ChangeListener.java,
13658         javax/swing/event/DocumentEvent.java,
13659         javax/swing/event/DocumentListener.java,
13660         javax/swing/event/EventListenerList.java,
13661         javax/swing/event/HyperlinkEvent.java,
13662         javax/swing/event/HyperlinkListener.java,
13663         javax/swing/event/InternalFrameAdapter.java,
13664         javax/swing/event/InternalFrameEvent.java,
13665         javax/swing/event/InternalFrameListener.java,
13666         javax/swing/event/ListDataEvent.java,
13667         javax/swing/event/ListDataListener.java,
13668         javax/swing/event/ListSelectionEvent.java,
13669         javax/swing/event/ListSelectionListener.java,
13670         javax/swing/event/MenuDragMouseEvent.java,
13671         javax/swing/event/MenuDragMouseListener.java,
13672         javax/swing/event/MenuEvent.java,
13673         javax/swing/event/MenuKeyEvent.java,
13674         javax/swing/event/MenuKeyListener.java,
13675         javax/swing/event/MenuListener.java,
13676         javax/swing/event/MouseInputAdapter.java,
13677         javax/swing/event/MouseInputListener.java,
13678         javax/swing/event/PopupMenuEvent.java,
13679         javax/swing/event/PopupMenuListener.java,
13680         javax/swing/event/SwingPropertyChangeSupport.java,
13681         javax/swing/event/TableColumnModelEvent.java,
13682         javax/swing/event/TableColumnModelListener.java,
13683         javax/swing/event/TableModelEvent.java,
13684         javax/swing/event/TableModelListener.java,
13685         javax/swing/event/TreeExpansionEvent.java,
13686         javax/swing/event/TreeExpansionListener.java,
13687         javax/swing/event/TreeModelEvent.java,
13688         javax/swing/event/TreeModelListener.java,
13689         javax/swing/event/TreeSelectionEvent.java,
13690         javax/swing/event/TreeSelectionListener.java,
13691         javax/swing/event/TreeWillExpandListener.java,
13692         javax/swing/event/UndoableEditEvent.java,
13693         javax/swing/event/UndoableEditListener.java,
13694         javax/swing/filechooser/FileFilter.java,
13695         javax/swing/filechooser/FileSystemView.java,
13696         javax/swing/filechooser/FileView.java,
13697         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13698         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13699         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13700         javax/swing/JApplet.java, javax/swing/JButton.java,
13701         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13702         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13703         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13704         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13705         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13706         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13707         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13708         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13709         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13710         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13711         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13712         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13713         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13714         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13715         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13716         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13717         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13718         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13719         javax/swing/JToolTip.java, javax/swing/JTree.java,
13720         javax/swing/JViewport.java, javax/swing/JWindow.java,
13721         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13722         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13723         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13724         javax/swing/MenuSelectionManager.java,
13725         javax/swing/MutableComboBoxModel.java,
13726         javax/swing/OverlayLayout.java,
13727         javax/swing/plaf/ActionMapUIResource.java,
13728         javax/swing/plaf/basic/BasicBorders.java,
13729         javax/swing/plaf/basic/BasicButtonUI.java,
13730         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13731         javax/swing/plaf/basic/BasicDefaults.java,
13732         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13733         javax/swing/plaf/basic/BasicIconFactory.java,
13734         javax/swing/plaf/basic/BasicLabelUI.java,
13735         javax/swing/plaf/basic/BasicListUI.java,
13736         javax/swing/plaf/basic/BasicLookAndFeel.java,
13737         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13738         javax/swing/plaf/basic/BasicPanelUI.java,
13739         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13740         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13741         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13742         javax/swing/plaf/basic/BasicTextUI.java,
13743         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13744         javax/swing/plaf/basic/BasicTreeUI.java,
13745         javax/swing/plaf/basic/BasicViewportUI.java,
13746         javax/swing/plaf/BorderUIResource.java,
13747         javax/swing/plaf/ButtonUI.java,
13748         javax/swing/plaf/ColorChooserUI.java,
13749         javax/swing/plaf/ColorUIResource.java,
13750         javax/swing/plaf/ComboBoxUI.java,
13751         javax/swing/plaf/ComponentInputMapUIResource.java,
13752         javax/swing/plaf/ComponentUI.java,
13753         javax/swing/plaf/DesktopIconUI.java,
13754         javax/swing/plaf/DesktopPaneUI.java,
13755         javax/swing/plaf/DimensionUIResource.java,
13756         javax/swing/plaf/FileChooserUI.java,
13757         javax/swing/plaf/FontUIResource.java,
13758         javax/swing/plaf/IconUIResource.java,
13759         javax/swing/plaf/InputMapUIResource.java,
13760         javax/swing/plaf/InsetsUIResource.java,
13761         javax/swing/plaf/InternalFrameUI.java,
13762         javax/swing/plaf/LabelUI.java,
13763         javax/swing/plaf/ListUI.java,
13764         javax/swing/plaf/MenuBarUI.java,
13765         javax/swing/plaf/MenuItemUI.java,
13766         javax/swing/plaf/OptionPaneUI.java,
13767         javax/swing/plaf/PanelUI.java,
13768         javax/swing/plaf/PopupMenuUI.java,
13769         javax/swing/plaf/ProgressBarUI.java,
13770         javax/swing/plaf/RootPaneUI.java,
13771         javax/swing/plaf/ScrollBarUI.java,
13772         javax/swing/plaf/ScrollPaneUI.java,
13773         javax/swing/plaf/SeparatorUI.java,
13774         javax/swing/plaf/SliderUI.java,
13775         javax/swing/plaf/SplitPaneUI.java,
13776         javax/swing/plaf/TabbedPaneUI.java,
13777         javax/swing/plaf/TableHeaderUI.java,
13778         javax/swing/plaf/TableUI.java,
13779         javax/swing/plaf/TextUI.java,
13780         javax/swing/plaf/ToolBarUI.java,
13781         javax/swing/plaf/ToolTipUI.java,
13782         javax/swing/plaf/TreeUI.java,
13783         javax/swing/plaf/UIResource.java,
13784         javax/swing/plaf/ViewportUI.java,
13785         javax/swing/ProgressMonitorInputStream.java,
13786         javax/swing/ProgressMonitor.java,
13787         javax/swing/Renderer.java,
13788         javax/swing/RepaintManager.java,
13789         javax/swing/RootPaneContainer.java,
13790         javax/swing/Scrollable.java,
13791         javax/swing/ScrollPaneConstants.java,
13792         javax/swing/ScrollPaneLayout.java,
13793         javax/swing/SingleSelectionModel.java,
13794         javax/swing/SizeRequirements.java,
13795         javax/swing/SizeSequence.java,
13796         javax/swing/SwingConstants.java,
13797         javax/swing/SwingUtilities.java,
13798         javax/swing/table/AbstractTableModel.java,
13799         javax/swing/table/DefaultTableCellRenderer.java,
13800         javax/swing/table/DefaultTableColumnModel.java,
13801         javax/swing/table/DefaultTableModel.java,
13802         javax/swing/table/TableCellEditor.java,
13803         javax/swing/table/TableCellRenderer.java,
13804         javax/swing/table/TableColumn.java,
13805         javax/swing/table/TableColumnModel.java,
13806         javax/swing/table/TableModel.java,
13807         javax/swing/text/AbstractDocument.java,
13808         javax/swing/text/AttributeSet.java,
13809         javax/swing/text/BadLocationException.java,
13810         javax/swing/text/Caret.java,
13811         javax/swing/text/CharacterIterator.java,
13812         javax/swing/text/ComponentView.java,
13813         javax/swing/text/DefaultCaret.java,
13814         javax/swing/text/DefaultEditorKit.java,
13815         javax/swing/text/Document.java,
13816         javax/swing/text/EditorKit.java,
13817         javax/swing/text/Element.java,
13818         javax/swing/text/GapContent.java,
13819         javax/swing/text/JTextComponent.java,
13820         javax/swing/text/Keymap.java,
13821         javax/swing/text/MutableAttributeSet.java,
13822         javax/swing/text/PlainDocument.java,
13823         javax/swing/text/PlainEditorKit.java,
13824         javax/swing/text/Position.java,
13825         javax/swing/text/Segment.java,
13826         javax/swing/text/StyledDocument.java,
13827         javax/swing/text/StyledEditorKit.java,
13828         javax/swing/text/Style.java,
13829         javax/swing/text/TextAction.java,
13830         javax/swing/text/ViewFactory.java,
13831         javax/swing/text/View.java,
13832         javax/swing/Timer.java,
13833         javax/swing/ToggleButtonModel.java,
13834         javax/swing/ToolTipManager.java,
13835         javax/swing/tree/AbstractLayoutCache.java,
13836         javax/swing/tree/DefaultMutableTreeNode.java,
13837         javax/swing/tree/DefaultTreeCellEditor.java,
13838         javax/swing/tree/DefaultTreeCellRenderer.java,
13839         javax/swing/tree/DefaultTreeModel.java,
13840         javax/swing/tree/DefaultTreeSelectionModel.java,
13841         javax/swing/tree/ExpandVetoException.java,
13842         javax/swing/tree/FixedHeightLayoutCache.java,
13843         javax/swing/tree/MutableTreeNode.java,
13844         javax/swing/tree/RowMapper.java,
13845         javax/swing/tree/TreeCellEditor.java,
13846         javax/swing/tree/TreeCellRenderer.java,
13847         javax/swing/tree/TreeModel.java,
13848         javax/swing/tree/TreeNode.java,
13849         javax/swing/tree/TreePath.java,
13850         javax/swing/tree/TreeSelectionModel.java,
13851         javax/swing/tree/VariableHeightLayoutCache.java,
13852         javax/swing/UIDefaults.java,
13853         javax/swing/UIManager.java,
13854         javax/swing/undo/AbstractUndoableEdit.java,
13855         javax/swing/undo/CannotRedoException.java,
13856         javax/swing/undo/CannotUndoException.java,
13857         javax/swing/undo/CompoundEdit.java,
13858         javax/swing/undo/StateEditable.java,
13859         javax/swing/undo/StateEdit.java,
13860         javax/swing/undo/UndoableEdit.java,
13861         javax/swing/undo/UndoableEditSupport.java,
13862         javax/swing/undo/UndoManager.java,
13863         javax/swing/UnsupportedLookAndFeelException.java,
13864         javax/swing/ViewportLayout.java,
13865         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13866
13867         * java/awt/ActiveEvent.java,
13868         java/awt/Adjustable.java, java/awt/AWTError.java,
13869         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13870         java/awt/AWTException.java, java/awt/AWTPermission.java,
13871         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13872         java/awt/Color.java, java/awt/Component.java,
13873         java/awt/ComponentOrientation.java, java/awt/Container.java,
13874         java/awt/datatransfer/MimeTypeParseException.java,
13875         java/awt/datatransfer/Transferable.java,
13876         java/awt/datatransfer/UnsupportedFlavorException.java,
13877         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13878         java/awt/event/ActionListener.java,
13879         java/awt/event/AdjustmentEvent.java,
13880         java/awt/event/AdjustmentListener.java,
13881         java/awt/event/AWTEventListener.java,
13882         java/awt/event/ComponentAdapter.java,
13883         java/awt/event/ComponentEvent.java,
13884         java/awt/event/ComponentListener.java,
13885         java/awt/event/ContainerAdapter.java,
13886         java/awt/event/ContainerEvent.java,
13887         java/awt/event/ContainerListener.java,
13888         java/awt/event/FocusAdapter.java,
13889         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13890         java/awt/event/HierarchyBoundsAdapter.java,
13891         java/awt/event/HierarchyBoundsListener.java,
13892         java/awt/event/HierarchyEvent.java,
13893         java/awt/event/HierarchyListener.java,
13894         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13895         java/awt/event/InputMethodListener.java,
13896         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13897         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13898         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13899         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13900         java/awt/event/MouseListener.java,
13901         java/awt/event/MouseMotionAdapter.java,
13902         java/awt/event/MouseMotionListener.java,
13903         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13904         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13905         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13906         java/awt/event/WindowListener.java, java/awt/Font.java,
13907         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13908         java/awt/geom/Ellipse2D.java,
13909         java/awt/geom/IllegalPathStateException.java,
13910         java/awt/geom/Line2D.java,
13911         java/awt/geom/NoninvertibleTransformException.java,
13912         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13913         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13914         java/awt/geom/RoundRectangle2D.java,
13915         java/awt/GraphicsConfiguration.java,
13916         java/awt/IllegalComponentStateException.java,
13917         java/awt/image/IndexColorModel.java,
13918         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13919         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13920         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13921         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13922         java/awt/MenuItem.java, java/awt/PaintContext.java,
13923         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13924         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13925         java/awt/PrintJob.java, java/awt/Rectangle.java,
13926         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13927         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13928         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13929
13930         * java/awt/im/spi/InputMethod.java,
13931         java/awt/im/spi/InputMethodContext.java,
13932         java/awt/im/spi/InputMethodDescriptor.java,
13933         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13934         java/awt/image/renderable/ParameterBlock.java,
13935         java/awt/image/renderable/RenderContext.java,
13936         java/awt/image/renderable/RenderableImage.java,
13937         java/awt/image/renderable/RenderableImageOp.java,
13938         java/awt/image/renderable/RenderableImageProducer.java,
13939         java/awt/image/renderable/RenderedImageFactory.java: New files from
13940         classpath.
13941
13942         * gnu/java/awt/EventModifier.java,
13943         gnu/java/awt/image/ImageDecoder.java,
13944         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13945
13946         * gnu/awt/xlib/XGraphicsConfiguration.java,
13947         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13948         API.
13949
13950         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13951         GNU Classpath.
13952
13953         * Makefile.am: Add new files.
13954         * Makefile.in: Rebuilt.
13955
13956 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13957
13958         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13959         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13960         findResource, getResources, findResources): Add javadoc from classpath.
13961         (getSystemResources): Implemented.
13962
13963 2002-08-01  Mark Wielaard  <mark@klomp.org>
13964
13965         Revert patch that breaks libgcj shared library on powerpc:
13966         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13967         implementation classes by using Class.getName(). Uses Strings again.
13968         * gnu/java/security/der/DEREncodingException.java,
13969         gnu/java/security/provider/DERReader.java,
13970         gnu/java/security/provider/DERWriter.java,
13971         gnu/java/security/provider/DSAKeyPairGenerator.java,
13972         gnu/java/security/provider/DSAParameterGenerator.java,
13973         gnu/java/security/provider/DSAParameters.java,
13974         gnu/java/security/provider/DSASignature.java,
13975         gnu/java/security/provider/GnuDSAPrivateKey.java,
13976         gnu/java/security/provider/GnuDSAPublicKey.java,
13977         gnu/java/security/provider/MD5.java,
13978         gnu/java/security/util/Prime.java: Removed.
13979         * Makefile.am (ordinary_java_source_files): Remove above files.
13980         * Makefile.in: Regenerate.
13981         * gnu/java/security/provider/DefaultPolicy.java
13982         (getPermissions): Revert to maintaining static class variable of
13983         Permissions.
13984         * gnu/java/security/provider/SHA.java
13985         (engineUpdate): Revert algorithm change.
13986         (engineDigest): Revert algorithm change.
13987
13988 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13989
13990         * configure.host: Add SH support.
13991         * sysdep/sh/locks.h: New file.
13992
13993 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13994
13995         * java/awt/Frame.java (Frame): Remove println calls.
13996
13997 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13998
13999         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14000         * configure: Rebuilt.
14001
14002 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14003
14004         * sysdep/powerpc/locks.h: Formatting.
14005         (_LARX): Define.
14006         (_STCX): Define.
14007         (compare_and_swap): Use _LARX and _STCX.
14008         (compare_and_swap_release): Likewise.
14009
14010 2002-07-26  Tom Tromey  <tromey@redhat.com>
14011
14012         * java/net/Authenticator.java: New version from Classpath.
14013         * java/net/DatagramSocketImpl.java: New version from Classpath.
14014
14015 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14016
14017         * configure.host: Add powerpc64*-* entry.
14018
14019 2002-07-26  Tom Tromey  <tromey@redhat.com>
14020
14021         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14022         fcntl.h.
14023
14024 2002-07-24  Tom Tromey  <tromey@redhat.com>
14025
14026         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14027         argument to _load.
14028
14029 2002-07-24  Tom Tromey  <tromey@redhat.com>
14030             Tony Kimball <alk@pobox.com>
14031
14032         * java/io/natFileDescriptorWin32.cc (setLength): New method.
14033         * java/io/natFileDescriptorPosix.cc (setLength): New method.
14034         * java/io/RandomAccessFile.java (setLength): New method.
14035         * java/io/natFileDescriptorEcos.cc (setLength): New method.
14036         * java/io/FileDescriptor.java (setLength): New method.
14037
14038 2002-07-24  Mark Wielaard  <mark@klomp.org>
14039
14040         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14041         * java/io/ObjectInputStream.java (setBooleanField): Before setting
14042         field call setAccessible(true).
14043         (setByteField): Likewise.
14044         (setCharField): Likewise.
14045         (setDoubleField): Likewise.
14046         (setFloatField): Likewise.
14047         (setIntField): Likewise.
14048         (setLongField): Likewise.
14049         (setShortField): Likewise.
14050         (setObjectField): Likewise.
14051
14052 2002-07-24  Tom Tromey  <tromey@redhat.com>
14053
14054         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14055         use toString() to format array element.
14056
14057 2002-07-23  Mark Wielaard  <mark@klomp.org>
14058
14059         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14060         MessageDigestSpi (fixes Classpath bug #783).
14061
14062 2002-07-21  Mark Wielaard  <mark@klomp.org>
14063
14064         * gnu/java/security/provider/Gnu.java: Reference all implementation
14065         classes by using Class.getName().
14066
14067 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14068
14069         * java/lang/ieeefp.h: Add x86-64 support.
14070         * configure.in: Likewise.
14071         * configure.host: Likewise.
14072         * configure: Regenerated.
14073         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14074
14075 2002-07-16  Mark Wielaard  <mark@klomp.org>
14076
14077         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14078         (whitespaceChars): call resetChar().
14079
14080 2002-07-15  Tom Tromey  <tromey@redhat.com>
14081
14082         * Makefile.in: Rebuilt.
14083         * Makefile.am (awt_java_source_files): Added new files.
14084         * java/beans/ExceptionListener.java: Merged with Classpath.
14085         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14086         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14087         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14088         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14089         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14090         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14091         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14092
14093 2002-07-14  Mark Wielaard  <mark@klomp.org>
14094
14095         * gnu/java/security/der/DEREncodingException.java,
14096         gnu/java/security/provider/DERReader.java,
14097         gnu/java/security/provider/DERWriter.java,
14098         gnu/java/security/provider/DSAKeyPairGenerator.java,
14099         gnu/java/security/provider/DSAParameterGenerator.java,
14100         gnu/java/security/provider/DSAParameters.java,
14101         gnu/java/security/provider/DSASignature.java,
14102         gnu/java/security/provider/GnuDSAPrivateKey.java,
14103         gnu/java/security/provider/GnuDSAPublicKey.java,
14104         gnu/java/security/provider/MD5.java,
14105         gnu/java/security/util/Prime.java: New files from Classpath.
14106         * Makefile.am (ordinary_java_source_files): Add new files.
14107         * Makefile.in: Regenerate.
14108
14109 2002-07-14  C. Brian Jones <cbj@gnu.org>
14110
14111         * gnu/java/security/provider/DefaultPolicy.java
14112         (getPermissions): do not maintain static class variable of
14113         Permissions
14114         * gnu/java/security/provider/SHA.java
14115         (engineUpdate): algorithm change
14116         (engineDigest): algorithm change
14117
14118 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14119
14120         For PR libgcj/7292:
14121         * java/lang/Character.java (toString(char)): Now static.
14122
14123 2002-07-12  Mark Wielaard  <mark@klomp.org>
14124
14125         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14126         (getStackTrace0): new method.
14127         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14128         (printStackTrace(PrintWriter)): replace with pure java implementation.
14129         (printRawStackTrace): removed.
14130         (getStackTrace0): new method.
14131         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14132         * gcj/javaprims.h: regenerate class list.
14133         * include/name-finder.h (lookup): new returns StackTraceElement*.
14134         (method_name, file_name): fields removed.
14135         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14136         (~_Jv_name_finder): close new descriptors.
14137         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14138         (createStackTraceElement): new method.
14139         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14140
14141 2002-07-10  Tom Tromey  <tromey@redhat.com>
14142
14143         * configure: Rebuilt.
14144         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14145
14146 2002-07-08  Mark Wielaard  <mark@klomp.org>
14147
14148         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14149         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14150         java.sql.DatabaseMetaData.TestJdbc20
14151
14152 2002-07-05  Tony Kimball  <alk@pobox.com>
14153
14154         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14155
14156 2002-07-04  Tom Tromey  <tromey@redhat.com>
14157             Jeff Sturm  <jsturm@one-point.com>
14158
14159         Fix for PR libgcj/7060:
14160         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14161         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14162         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14163         * java/lang/Class.java (getMethod): New Java implementation;
14164         complies with spec.
14165         (_getMethod): New native method.
14166
14167 2002-07-02  Tom Tromey  <tromey@redhat.com>
14168             David Hovemeyer  <daveho@cs.umd.edu>
14169
14170         * java/text/ChoiceFormat.java
14171         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14172         in check loop.
14173         * java/text/MessageFormat.java
14174         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14175         to MessageFormat.
14176
14177 2002-07-01  Tom Tromey  <tromey@redhat.com>
14178
14179         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14180         StringTokenizer on null string.  For PR libgcj/7180.
14181         From daveho@cs.umd.edu.
14182
14183 2002-06-24  Tom Tromey  <tromey@redhat.com>
14184
14185         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14186         (IntegerClass): Likewise.
14187         * java/lang/natClass.cc (CloneableClass): Removed.
14188         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14189         ConstructorClass): Likewise.
14190         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14191         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14192         SerializableClass): Likewise.
14193         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14194         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14195         LongClass, FloatClass, DoubleClass): Likewise.
14196
14197         * verify.cc (branch_prepass): Updated for change to exception
14198         handler type.
14199         (verify_instructions_0): Likewise.
14200         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14201         (handleExceptionTableEntry): Updated for change to exception
14202         handler type.
14203         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14204         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14205         (union _Jv_InterpPC): New.
14206         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14207         (class _Jv_InterpMethod): Added new `prepared' field.
14208         (class _Jv_InterpMethod): Added `compile' method.  Removed
14209         `continue1' and `find_exception'.  Changed arguments to `run'.
14210         * interpret.cc (union insn_slot): New.
14211         (find_exception): Removed.
14212         (run_normal): Removed most logic.
14213         (run_synch_object): Likewise; also, use JvSynchronize.
14214         (run_synch_class): Likewise.
14215         (run): Removed.
14216         (continue1): Renamed as `run'.  Compile bytecode if required.
14217         Add new code to allow refinement of direct-threaded code at
14218         runtime.  Handle exceptions.
14219         (SAVE_PC): Removed.
14220         (compile): New method.
14221         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14222         (NULLARRAYCHECK): Don't use SAVE_PC.
14223         (pc_t): New typedef.
14224         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14225         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14226
14227 2002-06-23  Tom Tromey  <tromey@redhat.com>
14228
14229         * configure: Rebuilt.
14230         * configure.in (INTERPRETER): New subst.
14231         (AM_RUNTESTFLAGS): Don't subst.
14232
14233         * Makefile.in: Rebuilt.
14234         * Makefile.am ($(srcdir)/java/lang/Object.h,
14235         $(srcdir)/java/lang/Class.h): Added dummy targets.
14236
14237 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14238
14239         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14240
14241         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14242         java/sql/Savepoint.java: New files.
14243         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14244         java/sql/Blob.java, java/sql/CallableStatement.java,
14245         java/sql/Clob.java, java/sql/Connection.java,
14246         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14247         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14248         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14249         java/sql/Ref.java, java/sql/ResultSet.java,
14250         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14251         java/sql/SQLException.java, java/sql/SQLInput.java,
14252         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14253         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14254         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14255         (JDK 1.4) specification.
14256         * javax/sql/ConnectionEvent.java,
14257         javax/sql/ConnectionEventListener.java,
14258         javax/sql/ConnectionPoolDataSource.java,
14259         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14260         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14261         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14262         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14263         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14264         javax/sql/XADataSource.java: New files.
14265         * Makefile.am: Add new files.
14266         * Makefile.in: Rebuilt.
14267
14268 2002-06-20  Tom Tromey  <tromey@redhat.com>
14269
14270         For PR libgcj/7073:
14271         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14272         exists.
14273         * defineclass.cc (handleClassBegin): Superclass for interface is
14274         `null'.
14275
14276 2002-06-18  Tom Tromey  <tromey@redhat.com>
14277
14278         * gcj/javaprims.h: Updated class declaration list.
14279         * Makefile.in: Rebuilt.
14280         * Makefile.am (core_java_source_files): Removed
14281         BasicMapEntry.java.
14282         * java/util/BasicMapEntry.java: Removed.
14283
14284 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14285
14286         * java/net/natPlainDatagramSocketImpl.cc (receive):
14287         Check bounds of argument to FD_SET.
14288         (setOption): Throw exception if socket is closed.
14289
14290         * java/net/natPlainSocketImpl.cc (accept, read):
14291         Check bounds of argument to FD_SET.
14292         (setOption): Throw exception if socket is closed.
14293
14294 2002-06-18  Tom Tromey  <tromey@redhat.com>
14295
14296         * gcj/javaprims.h: Updated class declaration list.
14297         * Makefile.in: Rebuilt.
14298         * Makefile.am (core_java_source_files): Added
14299         PropertyPermissionCollection.java.
14300         * java/lang/Thread.java (group, name): Now package-private.
14301         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14302         * java/util/AbstractList.java: Likewise.
14303         * java/util/AbstractMap.java: Likewise.
14304         * java/util/Calendar.java: Likewise.
14305         * java/util/Collections.java: Likewise.
14306         * java/util/HashMap.java: Likewise.
14307         * java/util/Hashtable.java: Likewise.
14308         * java/util/LinkedHashMap.java: Likewise.
14309         * java/util/LinkedList.java: Likewise.
14310         * java/util/List.java: Likewise.
14311         * java/util/ListResourceBundle.java: Likewise.
14312         * java/util/Map.java: Likewise.
14313         * java/util/Observable.java: Likewise.
14314         * java/util/Properties.java: Likewise.
14315         * java/util/PropertyPermission.java: Likewise.
14316         * java/util/PropertyPermissionCollection.java: Likewise.
14317         * java/util/PropertyResourceBundle.java: Likewise.
14318         * java/util/Random.java: Likewise.
14319         * java/util/SimpleTimeZone.java: Likewise.
14320         * java/util/StringTokenizer.java: Likewise.
14321         * java/util/TimerTask.java: Likewise.
14322         * java/util/TreeMap.java: Likewise.
14323         * java/util/WeakHashMap.java: Likewise.
14324         * java/util/jar/Attributes.java: Likewise.
14325         * java/util/jar/JarException.java: Likewise.
14326         * java/util/jar/Manifest.java: Likewise.
14327
14328 2002-06-17  Tom Tromey  <tromey@redhat.com>
14329
14330         * gcj/javaprims.h: Updated class declaration list.
14331         * Makefile.in: Rebuilt.
14332         * Makefile.am (core_java_source_files): Added new file.
14333         * java/util/EventListenerProxy.java: New file.
14334         * java/util/EventListener.java: Re-merge with Classpath.
14335         * java/util/EventObject.java: Re-merge with Classpath.
14336
14337 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14338
14339         * java/lang/ClassNotFoundException.java: New Classpath version.
14340
14341 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14342
14343         * java/rmi/activation/ActivateFailedException.java: Remerge from
14344         Classpath version.
14345         * java/rmi/activation/ActivationException.java: Ditto.
14346         * java/rmi/activation/UnknownGroupException.java: Ditto.
14347         * java/rmi/activation/UnknownObjectException.java: Ditto.
14348         * java/rmi/server/ExportException: Ditto.
14349         * java/rmi/server/ServerCloneException: Ditto.
14350         * java/rmi/server/ServerNotActiveException: Ditto.
14351         * java/rmi/server/SkeletonMismatchException: Ditto.
14352         * java/rmi/server/SkeletonNotFoundException: Ditto.
14353         * java/rmi/server/SocketSecurityException: Ditto.
14354
14355 2002-06-16  Tom Tromey  <tromey@redhat.com>
14356
14357         * gcj/javaprims.h: Updated class declaration list.
14358
14359         * java/io/LineNumberInputStream.java: Merged with Classpath.
14360
14361         * java/lang/RuntimeException.java: Re-merge with Classpath.
14362         * java/util/ArrayList.java: Likewise.
14363         * java/util/Arrays.java: Likewise.
14364         * java/util/BitSet.java: Likewise.
14365         * java/util/Dictionary.java: Likewise.
14366         * java/util/IdentityHashMap.java: Likewise.
14367         * java/util/MissingResourceException.java: Likewise.
14368         * java/util/Observer.java: Likewise.
14369         * java/util/TooManyListenersException.java: Likewise.
14370         * java/util/zip/DataFormatException.java: Likewise.
14371         * java/util/zip/ZipException.java: Likewise.
14372
14373 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14374
14375         * java/rmi/AccessException.java: Remerge from Classpath.
14376         * java/rmi/AlreadyBoundException.java: Ditto.
14377         * java/rmi/ConnectException.java: Ditto.
14378         * java/rmi/ConnectIOException.java: Ditto.
14379         * java/rmi/MarshalException.java: Ditto.
14380         * java/rmi/NoSuchObjectException.java: Ditto.
14381         * java/rmi/NotBoundException.java: Ditto.
14382         * java/rmi/RemoteException.java: Ditto.
14383         * java/rmi/RMISecurityException.java: Ditto.
14384         * java/rmi/ServerError.java: Ditto.
14385         * java/rmi/ServerException.java: Ditto.
14386         * java/rmi/ServerRuntimeException.java: Ditto.
14387         * java/rmi/StubNotFoundException.java: Ditto.
14388         * java/rmi/UnexpectedExcpetion.java: Ditto.
14389         * java/rmi/UnknownHostException.java: Ditto.
14390         * java/rmi/UnmarshalException.java: Ditto.
14391
14392 2002-06-15  Tom Tromey  <tromey@redhat.com>
14393
14394         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14395         * java/lang/ArithmeticException.java: Likewise.
14396         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14397         * java/lang/ArrayStoreException.java: Likewise.
14398         * java/lang/Byte.java: Likewise.
14399         * java/lang/CharSequence.java: Likewise.
14400         * java/lang/ClassCastException.java: Likewise.
14401         * java/lang/ClassCircularityError.java: Likewise.
14402         * java/lang/ClassFormatError.java: Likewise.
14403         * java/lang/CloneNotSupportedException.java: Likewise.
14404         * java/lang/Cloneable.java: Likewise.
14405         * java/lang/Comparable.java: Likewise.
14406         * java/lang/Compiler.java: Likewise.
14407         * java/lang/Error.java: Likewise.
14408         * java/lang/ExceptionInInitializerError.java: Likewise.
14409         * java/lang/IllegalAccessError.java: Likewise.
14410         * java/lang/IllegalAccessException.java: Likewise.
14411         * java/lang/IllegalArgumentException.java: Likewise.
14412         * java/lang/IllegalMonitorStateException.java: Likewise.
14413         * java/lang/IllegalStateException.java: Likewise.
14414         * java/lang/IllegalThreadStateException.java: Likewise.
14415         * java/lang/IncompatibleClassChangeError.java: Likewise.
14416         * java/lang/IndexOutOfBoundsException.java: Likewise.
14417         * java/lang/InheritableThreadLocal.java: Likewise.
14418         * java/lang/InstantiationError.java: Likewise.
14419         * java/lang/InstantiationException.java: Likewise.
14420         * java/lang/InternalError.java: Likewise.
14421         * java/lang/InterruptedException.java: Likewise.
14422         * java/lang/LinkageError.java: Likewise.
14423         * java/lang/NegativeArraySizeException.java: Likewise.
14424         * java/lang/NoClassDefFoundError.java: Likewise.
14425         * java/lang/NoSuchFieldError.java: Likewise.
14426         * java/lang/NoSuchFieldException.java: Likewise.
14427         * java/lang/NoSuchMethodError.java: Likewise.
14428         * java/lang/NoSuchMethodException.java: Likewise.
14429         * java/lang/NullPointerException.java: Likewise.
14430         * java/lang/NumberFormatException.java: Likewise.
14431         * java/lang/OutOfMemoryError.java: Likewise.
14432         * java/lang/Process.java: Likewise.
14433         * java/lang/Runnable.java: Likewise.
14434         * java/lang/RuntimePermission.java: Likewise.
14435         * java/lang/SecurityException.java: Likewise.
14436         * java/lang/Short.java: Likewise.
14437         * java/lang/StackOverflowError.java: Likewise.
14438         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14439         * java/lang/ThreadDeath.java: Likewise.
14440         * java/lang/ThreadLocal.java: Likewise.
14441         * java/lang/UnknownError.java: Likewise.
14442         * java/lang/UnsatisfiedLinkError.java: Likewise.
14443         * java/lang/UnsupportedClassVersionError.java: Likewise.
14444         * java/lang/UnsupportedOperationException.java: Likewise.
14445         * java/lang/VerifyError.java: Likewise.
14446         * java/lang/VirtualMachineError.java: Likewise.
14447         * java/lang/reflect/InvocationTargetException.java: Likewise.
14448         * java/net/BindException.java: Likewise.
14449         * java/net/ConnectException.java: Likewise.
14450         * java/net/MalformedURLException.java: Likewise.
14451         * java/net/NoRouteToHostException.java: Likewise.
14452         * java/net/ProtocolException.java: Likewise.
14453         * java/net/SocketException.java: Likewise.
14454         * java/net/UnknownHostException.java: Likewise.
14455         * java/net/UnknownServiceException.java: Likewise.
14456
14457         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14458         * java/io/CharConversionException.java: Likewise.
14459         * java/io/EOFException.java: Likewise.
14460         * java/io/FileNotFoundException.java: Likewise.
14461         * java/io/IOException.java: Likewise.
14462         * java/io/InterruptedIOException.java: Likewise.
14463         * java/io/InvalidClassException.java: Likewise.
14464         * java/io/InvalidObjectException.java: Likewise.
14465         * java/io/NotActiveException.java: Likewise.
14466         * java/io/NotSerializableException.java: Likewise.
14467         * java/io/ObjectStreamException.java: Likewise.
14468         * java/io/ObjectStreamConstants.java: Likewise.
14469         * java/io/OptionalDataException.java: Likewise.
14470         * java/io/PipedInputStream.java: Likewise.
14471         * java/io/PushbackInputStream.java: Likewise.
14472         * java/io/StreamCorruptedException.java: Likewise.
14473         * java/io/SyncFailedException.java: Likewise.
14474         * java/io/UTFDataFormatException.java: Likewise.
14475         * java/io/UnsupportedEncodingException.java: Likewise.
14476         * java/io/WriteAbortedException.java: Likewise.
14477
14478 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14479
14480         * java/text/ChoiceFormat.java: Update comments from Classpath.
14481         * java/text/ParseException.java (serialVersionUID): New
14482         field from Classpath.
14483         * java/text/ParseException.java: Update formatting & comments
14484         from Classpath.
14485
14486 2002-06-15  Tom Tromey  <tromey@redhat.com>
14487
14488         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14489         been read but none output by inflater.
14490         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14491         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14492         is_finished.
14493         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14494         version.
14495         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14496         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14497         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14498         version.
14499         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14500
14501 2002-06-13  Tom Tromey  <tromey@redhat.com>
14502
14503         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14504         true and OFFSET!=0.
14505         * java/lang/String.java (String(char[],int,int,boolean): New
14506         constructor.
14507         * java/lang/Long.java: Imported new version from Classpath.
14508         * java/lang/Number.java: Likewise.
14509         * java/lang/Integer.java: Likewise.
14510         * java/lang/Long.java: Likewise.
14511         * java/lang/Float.java: Likewise.
14512         * java/lang/Boolean.java: Likewise.
14513         * java/lang/Double.java: Likewise.
14514         * java/lang/Void.java: Likewise.
14515
14516 2002-06-12  Tom Tromey  <tromey@redhat.com>
14517
14518         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14519         Fixes PR libgcj/6652.
14520
14521 2002-06-10  Tom Tromey  <tromey@redhat.com>
14522
14523         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14524         (Class::getPackagePortion): Likewise.
14525         * java/lang/Class.java (desiredAssertionStatus): New method from
14526         Classpath.
14527         (getPackagePortion): Likewise.
14528         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14529         packageAssertionStatus, classAssertionStatus): New methods from
14530         Classpath.
14531         * java/lang/ClassLoader.java (defaultAssertionStatus,
14532         systemPackageAssertionStatus, packageAssertionStatus,
14533         systemClassAssertionStatus, classAssertionStatus): New fields from
14534         Classpath.
14535         (setDefaultAssertionStatus, setPackageAssertionStatus,
14536         setClassAssertionStatus, clearAssertionStatus): New methods from
14537         Classpath.
14538         * Makefile.in: Rebuilt.
14539         * Makefile.am (core_java_source_files): Added AssertionError.java.
14540         * java/lang/AssertionError.java: New from Classpath.
14541
14542 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14543
14544         * configure.host: Disable hash synchronization and slow_pthread_self
14545         for cygwin.
14546
14547 2002-06-06  Adam Megacz <adam@xwt.org>
14548
14549         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14550         locking, just like the Sun JVM does.
14551
14552 2002-06-05  H.J. Lu  (hjl@gnu.org)
14553
14554         * Makefile.am (libgcj_convenience.la): Revert the last change.
14555         (libgcj.la): Likewise.
14556         * Makefile.in: Regenerated.
14557
14558 2002-06-04  H.J. Lu  (hjl@gnu.org)
14559
14560         * Makefile.am (libgcj_convenience.la): New target.
14561         (libgcj.la): Depend on libgcj_convenience.la.
14562         * Makefile.in: Regenerated.
14563
14564 2002-06-04  H.J. Lu  (hjl@gnu.org)
14565
14566         * configure.in (--with-newlib): New option:
14567         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14568         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14569         Linux.
14570         * configure: Regenerated.
14571
14572 2002-06-04  Tom Tromey  <tromey@redhat.com>
14573
14574         * java/util/natTimeZone.cc: Include <stdio.h>.
14575
14576 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14577
14578         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14579         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14580         Set SIGNAL_HANDLER=include/s390-linux.h.
14581         * configure: Regenerate.
14582         * include/s390-linux.h: New file.
14583
14584 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14585
14586         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14587         not "stackTrace".
14588
14589 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14590
14591         Merge JDK 1.4 java.security changes from classpath.
14592
14593         * java/security/AccessControlException.java: Merge from Classpath.
14594         * java/security/AccessController.java: Likewise.
14595         * java/security/AllPermission.java: Likewise.
14596         * java/security/BasicPermission.java: Likewise.
14597         * java/security/Certificate.java: Likewise.
14598         * java/security/CodeSource.java: Likewise.
14599         * java/security/DigestException.java: Likewise.
14600         * java/security/DigestOutputStream.java: Likewise.
14601         * java/security/DomainCombiner.java: Likewise.
14602         * java/security/GeneralSecurityException.java: Likewise.
14603         * java/security/Guard.java: Likewise.
14604         * java/security/GuardedObject.java: Likewise.
14605         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14606         * java/security/InvalidKeyException.java: Likewise.
14607         * java/security/InvalidParameterException.java: Likewise.
14608         * java/security/Key.java: Likewise.
14609         * java/security/KeyException.java: Likewise.
14610         * java/security/KeyManagementException.java: Likewise.
14611         * java/security/KeyStoreException.java: Likewise.
14612         * java/security/MessageDigest.java: Likewise.
14613         * java/security/NoSuchAlgorithmException.java: Likewise.
14614         * java/security/NoSuchProviderException.java: Likewise.
14615         * java/security/Permission.java: Likewise.
14616         * java/security/PermissionCollection.java: Likewise.
14617         * java/security/Permissions.java: Likewise.
14618         * java/security/Policy.java: Likewise.
14619         * java/security/Principal.java: Likewise.
14620         * java/security/PrivateKey.java: Likewise.
14621         * java/security/PrivilegedAction.java: Likewise.
14622         * java/security/PrivilegedActionException.java: Likewise.
14623         * java/security/PrivilegedExceptionAction.java: Likewise.
14624         * java/security/ProtectionDomain.java: Likewise.
14625         * java/security/ProviderException.java: Likewise.
14626         * java/security/PublicKey.java: Likewise.
14627         * java/security/SecureClassLoader.java: Likewise.
14628         * java/security/SecurityPermission.java: Likewise.
14629         * java/security/SignatureException.java: Likewise.
14630         * java/security/UnrecoverableKeyException.java: Likewise.
14631         * java/security/UnresolvedPermission.java: Likewise.
14632         * java/security/acl/AclNotFoundException.java: Likewise.
14633         * java/security/acl/LastOwnerException.java: Likewise.
14634         * java/security/acl/NotOwnerException.java: Likewise.
14635         * java/security/cert/CRLException.java: Likewise.
14636         * java/security/cert/CertificateEncodingException.java: Likewise.
14637         * java/security/cert/CertificateException.java: Likewise.
14638         * java/security/cert/CertificateExpiredException.java: Likewise.
14639         * java/security/cert/CertificateFactory.java: Likewise.
14640         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14641         * java/security/cert/CertificateParsingException.java: Likewise.
14642         * java/security/spec/InvalidKeySpecException.java: Likewise.
14643         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14644
14645         * java/security/cert/CertPath.java: New file.
14646         * java/security/cert/CertPathBuilderException.java: New file.
14647         * java/security/cert/CertPathValidatorException.java: New file.
14648         * java/security/cert/CertStoreException.java: New file.
14649
14650         * Makefile.am: Add new CertPath classes.
14651         * Makefile.in: Rebuilt.
14652
14653         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14654
14655 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14656
14657         Merge JDK 1.4 exception chaining support from classpath.
14658
14659         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14660         (stackTraceBytes): Rename from stackTrace.
14661         * java/lang/Exception.java: Merge from classpath.
14662         * java/lang/StackTraceElement: New file from classpath.
14663         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14664         * Makefile.am: Add StackTraceElement.
14665         * Makefile.in: Rebuilt.
14666
14667 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14668
14669         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14670         they build first.
14671         * Makefile.in: Rebuilt.
14672
14673 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14674
14675         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14676         * configure.in: Likewise.
14677         * aclocal.m4: Regenerate.
14678         * configure: Regenerate.
14679
14680 2002-05-13  Tom Tromey  <tromey@redhat.com>
14681
14682         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14683         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14684         Include platform.h.
14685
14686         Fixes PR libgcj/6389:
14687         * Makefile.in: Rebuilt.
14688         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14689         * java/util/natTimeZone.cc: New file.
14690         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14691         * java/lang/System.java: Merged with Classpath.
14692         * java/lang/Runtime.java: Merged with Classpath.
14693         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14694         security check.
14695         (setIn0): Renamed from setIn; don't run security check.
14696         (setOut0): Renamed from setOut; don't run security check.
14697         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14698         init_properties): Moved to natRuntime.cc.
14699         Moved many includes to natRuntime.cc.
14700         (isWordsBigEndian): New method.
14701         * java/lang/natRuntime.cc: Include Long.h, also other includes
14702         previously in natSystem.cc.
14703         (maxMemory): New function.
14704         (exitInternal): Renamed from `_exit'.
14705         (exit): Removed.
14706         (init): Don't set finalize_on_exit.
14707         (exitInternal): Use `finalizeOnExit'.
14708         (file_encoding, getpwuid_adaptor): New functions from
14709         natSystem.cc.
14710         (insertSystemProperties): New method, renamed from
14711         System::init_properties.  Don't set user.timezone.
14712         (_load): Don't call checkLink.
14713         (execInternal): New method.
14714         (availableProcessors): Likewise.
14715         (nativeGetLibname): Likewise.
14716
14717 2002-05-11  Mark Wielaard  <mark@klomp.org>
14718
14719         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14720         space characters.
14721         (previous_internal): Likewise.
14722
14723 2002-05-09  Tom Tromey  <tromey@redhat.com>
14724
14725         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14726
14727         * java/util/ResourceBundle.java: New version from Classpath.
14728         * java/util/Locale.java: Likewise.
14729
14730 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14731
14732         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14733         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14734         LD_LIBRARY_PATH.
14735
14736 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14737
14738         * libjava/Makefile.am (all_java_source_files): New variable.
14739         (all_java_class_files): Likewise.
14740         .java.class: New rule.
14741         (CLEANFILES): Remove tmp-list.
14742         * libjava/Makefile.in: Regenerated.
14743
14744 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14745
14746         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14747         Append .exe to executable names.  Fix for cygwin.
14748
14749 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14750
14751         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14752         script entry, and set LD to it when configuring multilibs.
14753         * configure: Rebuilt.
14754
14755 2002-05-07  Tom Tromey  <tromey@redhat.com>
14756
14757         * java/lang/natString.cc (unintern): Fixed typo.
14758
14759 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14760
14761         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14762         with -no-install on *-*-cygwin*.
14763
14764 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14765
14766         * testsuite/lib/libjava.exp (test_libjava_from_source):
14767         Add comment explaining last patch
14768
14769 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14770
14771         * testsuite/lib/libjava.exp (test_libjava_from_source):
14772         Append .exe to executable names.  If no suffix is present,
14773         then ".exe" is added by default on win32.  Harmless
14774         elsewhere so always do it.
14775
14776 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14777             Tom Tromey  <tromey@redhat.com>
14778
14779         * java/lang/natSystem.cc (getSystemTimeZone): Use
14780         HAVE_UNDERSCORE_TIMEZONE.
14781         * include/config.h.in: Rebuilt.
14782         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14783         * aclocal.m4, configure: Rebuilt.
14784         * acinclude.m4: Run AC_EXEEXT.
14785         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14786         Add test for `_timezone'.
14787
14788 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14789
14790         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14791         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14792         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14793         * Makefile.in: Rebuilt.
14794
14795 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14796
14797         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14798         use sigaction instead of __libc_sigaction.
14799
14800 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14801
14802         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14803         (libjava_init): Use it to find libgcj.spec.
14804         (libjava_arguments): Likewise.
14805
14806 2002-05-02  David S. Miller  <davem@redhat.com>
14807
14808         PR bootstrap/6525
14809         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14810         __libc_sigaction on Sparc.
14811
14812 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14813
14814         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14815         sys/filio.h, if present.
14816
14817 2002-04-30  Tom Tromey  <tromey@redhat.com>
14818
14819         * java/io/BufferedReader.java (fill): Handle case where markPos
14820         point to ignored \n.  Fixes PR libgcj/6301.
14821
14822 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14823
14824         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14825
14826 2002-04-29  Adam King <aking@dreammechanics.com>
14827
14828         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14829         of file in APPEND mode.
14830
14831 2002-04-25  David S. Miller  <davem@redhat.com>
14832
14833         PR target/6422
14834         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14835         program counter to next program counter minus 8.  Update
14836         comments in this macro to explain why.
14837
14838 2002-04-26  Tom Tromey  <tromey@redhat.com>
14839
14840         * verify.cc (construct_primitive_array_type) [void_type]: New
14841         case.
14842         (branch_prepass): Added dummy entries for unused instruction
14843         values.
14844         (verify_instructions_0): Likewise.
14845         * interpret.cc (continue1): Comment fix.
14846         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14847         * Makefile.in: Rebuilt.
14848         * Makefile.am: Added -Wswitch-enum.
14849
14850 2002-04-24  Tom Tromey  <tromey@redhat.com>
14851
14852         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14853         correct length of UTF-8 encoded name.  Strip leading `/'.
14854         (_Jv_RegisterResource): Use _Jv_Malloc.
14855
14856 2002-04-23  Adam Megacz <adam@xwt.org>
14857
14858         * win32.cc, include/win32.cc (backtrace): Added this function
14859         because Win32 does not supply it.
14860
14861 2002-04-21  David S. Miller  <davem@redhat.com>
14862
14863         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14864         magic instruction reading sequence.
14865
14866 2002-04-21  Mark Wielaard  <mark@klomp.org>
14867
14868         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14869
14870 2002-04-19  David S. Miller  <davem@redhat.com>
14871
14872         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14873         arg.
14874         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14875         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14876         on Sparc too.
14877         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14878         for 64-bit sparc.
14879         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14880         * sysdeps/sparc/locks.h: New file.
14881         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14882         on all sparc Solaris configurations.  Set to
14883         include/dwarf2-signal.h on sparc Linux.
14884         * configure: Regenerate
14885         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14886
14887 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14888
14889         * configure: Rebuilt.
14890         * configure.in (backtrace): Function doesn't work on IA-64.
14891
14892 2002-04-17  Adam King <aking@dreammechanics.com>
14893
14894         * java/io/File.java (normalizePath): Add Win32 support for auto
14895         conversion of a '/' path separator to Win32's '\' separator.
14896
14897 2002-04-16  Tom Tromey  <tromey@redhat.com>
14898
14899         Fix for PR libgcj/6081:
14900         * Makefile.in: Rebuilt.
14901         * Makefile.am (install-data-local): Use GNU make trick to avoid
14902         shell limit.
14903
14904 2002-04-16  Adam King <aking@dreammechanics.com>
14905             Tom Tromey  <tromey@redhat.com>
14906
14907         * java/io/natFileWin32.cc (performList): Return the correct array
14908         type.  Don't duplicate the creation of a File since it's already
14909         done earlier in the method and the existing code would cause a
14910         ArrayStoreException.  Don't use fixed-size array.
14911         (_access, _stat, attr, getCanonicalPath, performMkdir,
14912         performRenameTo): Don't use fixed-size array.
14913         (getCanonicalPath): Use throw, not _Jv_Throw.
14914
14915 2002-04-15  DJ Delorie  <dj@redhat.com>
14916
14917         * configure.in: Allow building in $srcdir.
14918         * configure: Regenerated.
14919
14920 2002-04-14  Mark Wielaard <mark@klomp.org>
14921
14922         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14923         * java/net/natSocketImpl.cc (close): Likewise.
14924
14925 2002-04-14  Mark Wielaard <mark@klomp.org>
14926
14927         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14928
14929 2002-04-13  Adam King <aking@dreammechanics.com>
14930
14931         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14932         the f/F/d/D modifiers.
14933
14934 2002-04-12  Anthony Green  <green@redhat.com>
14935
14936         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14937         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14938         * Makefile.in: Rebuilt.
14939         * configure.in: Substitute gcc_version.
14940         * configure: Rebuilt.
14941
14942 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14943
14944         * configure.host: Set can_unwind_signal on hosts which support it.
14945         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14946         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14947         exceptions and can_unwind_signal isn't set.
14948         * configure: Rebuilt.
14949
14950 2002-04-11  Tom Tromey  <tromey@redhat.com>
14951
14952         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14953
14954 2002-04-11  Adam King <aking@dreammechanics.com>
14955             Tom Tromey  <tromey@redhat.com>
14956
14957         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14958         _Jv_ThrowNullPointerException): Mark as noreturn.
14959         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14960         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14961         fixes.
14962
14963 2002-04-10  Tom Tromey  <tromey@redhat.com>
14964
14965         * Makefile.in: Rebuilt.
14966         * Makefile.am (java/lang/Thread.h): Mark
14967         _Jv_AttachCurrentThreadAsDaemon as friend.
14968         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14969         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14970         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14971         function.
14972         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14973         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14974         (_Jv_JNI_InvokeFunctions): Added
14975         _Jv_JNI_AttachCurrentThreadAsDaemon.
14976         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14977         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14978         (JNI_CreateJavaVM): Likewise.
14979         (_Jv_JNI_AttachCurrentThread): Likewise.
14980         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14981         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14982         (_Jv_JNIFunctions): Initialize new fields.
14983         (_Jv_JNI_NewDirectByteBuffer): New function.
14984         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14985         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14986         * include/jni.h (JNI_VERSION_1_4): New macro.
14987         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14988         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14989         (JNINativeInterface::NewDirectByteBuffer): New field.
14990         (JNINativeInterface::GetDirectBufferAddress): New field.
14991         (JNINativeInterface::GetDirectBufferCapacity): New field.
14992         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14993         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14994         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14995
14996 2002-04-09  Tom Tromey  <tromey@redhat.com>
14997
14998         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14999
15000 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15001
15002         Fix for PR libgcj/6187:
15003         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15004         distance.
15005
15006 2002-04-07  Mark Wielaard <mark@klomp.org>
15007
15008         * java/util/AbstractMap.java (putAll): Use entrySet size.
15009         (toString): Explicitly use getKey() and getValue().
15010
15011 2002-04-07  Mark Wielaard <mark@klomp.org>
15012
15013         * java/util/Hashtable.java (contains): Remove NullPointer check.
15014         (containsValue): Add NullPointer check.
15015         (remove): Always throw NullPointerException when key
15016         is null.
15017
15018 2002-04-07  Adam King <aking@dreammechanics.com>
15019
15020         * java/lang/natSystem.cc (init_properties): Call new function
15021         _Jv_platform_initProperties.
15022         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15023         support for the System properties os.name, os.arch, os.version,
15024         user.name, user.home, and user.dir.
15025         * include/posix.h, include/win32.h, posix.cc: New function
15026         _Jv_platform_initProperties.
15027
15028 2002-04-06  Mark Wielaard <mark@klomp.org>
15029
15030         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15031
15032 2002-04-06  Mark Wielaard <mark@klomp.org>
15033
15034         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15035         all of the remaining elements.
15036         * java/util/Vector.java (addAll(int,Collection)): Likewise.
15037         (removeRange): If toIndex == fromIndex do
15038         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15039         (removeAll): Always throw NullPointerException when collection is
15040         null.
15041         (retrainAll): Likewise.
15042
15043 2002-04-05  Mark Wielaard <mark@klomp.org>
15044
15045         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15046         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15047
15048 2002-04-05  Adam Megacz <adam@xwt.org>
15049
15050         * exception.cc (abort): added static modifier
15051
15052 2002-04-04  Adam Megacz <adam@xwt.org>
15053
15054         * include/win32.h (_Jv_platform_close_on_exec): added inline
15055         modifier.
15056
15057 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
15058
15059         * configure.host: Add case statement to support generic port
15060         properties.  Add *-*-freebsd* section.
15061
15062 2002-04-04  Mark Wielaard  <mark@klomp.org>
15063
15064         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15065         test.
15066         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15067         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15068         that depend on awt code and BufferedByteOutputStream.interrupt.
15069
15070 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15071
15072         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15073         incorrect "hi" value when count > 40.
15074
15075 2002-04-03  Mark Wielaard  <mark@klomp.org>
15076
15077         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15078         ordering.
15079
15080 2002-04-02  Tom Tromey  <tromey@redhat.com>
15081
15082         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15083         not `0'.
15084
15085 2002-04-02  Mark Wielaard  <mark@klomp.org>
15086
15087         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15088         list of testsuite crashers.
15089
15090 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15091
15092         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15093         when resizing table.
15094
15095 2002-04-01  Mark Wielaard  <mark@klomp.org>
15096
15097         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15098         NegativeArraySizeException
15099         (clear(int)): Use sign extended shift.
15100         (flip(int)): Likewise.
15101         (get(int)): Likewise.
15102         (nextClearBit(int)): Likewise.
15103         (nextSetBit(int)): Likewise.
15104         (set(int)): Likewise.
15105
15106 2002-04-01  Mark Wielaard  <mark@klomp.org>
15107
15108         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15109         that can be compiled now and add testsuite crashers to ignore list.
15110
15111 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15112
15113         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15114
15115         * libgcj.spec.in: Override libgcc, not lib.
15116         * libgcj-test.spec.in: Likewise.
15117
15118 2002-03-29  Tom Tromey  <tromey@redhat.com>
15119
15120         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15121         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15122
15123 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15124
15125         * java/net/PlainDatagramSocketImpl.java
15126         (close): Use native implementation.
15127         (finalize): New method.
15128
15129         * java/net/PlainSocketImpl.java (finalize): New method.
15130
15131         * java/net/natPlainDatagramSocketImpl.cc
15132         (java/io/FileDescriptor.h): Don't include.
15133         (close): Implement method here.
15134         (create): Don't assign fd.
15135
15136         * java/net/natPlainSocketImpl.cc
15137         (java/io/FileDescriptor.h): Don't include.
15138         (create): Don't assign fd.
15139         (accept): Likewise.
15140         (close): Synchronize.
15141
15142 2002-03-27  Richard Henderson  <rth@redhat.com>
15143
15144         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15145
15146 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15147
15148         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15149         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15150         instead of syscall on IA-64.
15151         Add FIXME comment.
15152
15153 2002-03-27  Anthony Green  <green@redhat.com>
15154
15155         * libgcj.spec.in: Add CHECKREFSPEC.
15156         * configure.in: Ditto.
15157         * configure.host: Ditto.  Check references for xscale-elf.
15158         * configure: Rebuilt.
15159
15160 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15161
15162         * include/dwarf2-signal.h: Temporarily back out last change.
15163
15164 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15165
15166         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15167
15168 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15169
15170         * configure.in, configure: enable dwarf2-exception-style
15171         exception handling on IA-64.
15172         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15173         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15174         Add FIXME comment.
15175
15176 2002-03-25  Tom Tromey  <tromey@redhat.com>
15177
15178         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15179         (jv_convert_LDFLAGS): Likewise.
15180         (gij_LDFLAGS): Likewise.
15181         (rmic_LDFLAGS): Likewise.
15182         (rmiregistry_LDFLAGS): Likewise.
15183         * configure.in (THREADLDFLAGS): New subst; set correctly for
15184         *BSD.
15185
15186 2002-03-25  Tom Tromey  <tromey@redhat.com>
15187
15188         For PR libgcj/5303:
15189         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15190         and --version.
15191         (help): New method.
15192         (version): Likewise.
15193         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15194         "GNU".
15195         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15196         "GNU".
15197
15198 2002-03-25  Tom Tromey  <tromey@redhat.com>
15199
15200         * java/awt/Component.java (processEvent): Check ComponentEvent
15201         after KeyEvent.
15202
15203 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15204
15205         * java/io/PushbackReader.java: Reformat.
15206
15207         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15208         calculate correct number of bytes skipped.
15209
15210         Based on patch from Intel's ORP team:
15211         * java/io/PushbackInputStream.java (available): Calculate correct
15212         number of bytes in buffer.
15213         (read): Remove redundant bound check. Return bytes from both the
15214         buffer and the stream.
15215
15216 2002-03-24  Tom Tromey  <tromey@redhat.com>
15217
15218         * java/awt/TextComponent.java (TextComponent): Editable by
15219         default.
15220
15221         * java/awt/MenuItem.java (eventMask): No longer private.
15222         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15223         superclass if we didn't handle event.
15224         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15225         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15226         * java/awt/Choice.java (dispatchEventImpl): New method.
15227         * java/awt/List.java (dispatchEventImpl): New method.
15228         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15229         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15230         * java/awt/TextField.java (dispatchEventImpl): New method.
15231
15232 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15233
15234         * java/beans/IntrospectionException.java: Update to 1.4.
15235         * java/beans/PropertyVetoException.java: Ditto.
15236
15237 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15238
15239         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15240         Arrays.equals instead of ArrayHelper.equalsArray.
15241
15242 2002-03-24  C. Brian Jones <cbj@gnu.org>
15243
15244         * java/beans/Introspector.java: added new static final fields
15245         introduced in 1.2, lots of other updates remain to be done
15246
15247 2002-03-24  C. Brian Jones <cbj@gnu.org>
15248
15249         * java/beans/Introspector.java: reformatting
15250
15251 2002-03-24  C. Brian Jones <cbj@gnu.org>
15252
15253         * java/beans/Introspector.java: default beanInfoSearchPath will
15254         not include sun.beans.infos given we provide no such package and
15255         the API doesn't really require it; gnu.java.beans.info is the
15256         default.
15257
15258 2002-03-24  Mark Wielaard  <mark@klomp.org>
15259
15260         Thanks to Orp developers
15261         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15262         switch TRUE and FALSE return values.
15263
15264 2002-03-23  Tom Tromey  <tromey@redhat.com>
15265
15266         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15267         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15268
15269 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15270
15271         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15272         MONTH entry.  Fixes PR libgcj/6045.
15273
15274 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15275
15276         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15277
15278 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15279
15280         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15281         not release_set.
15282         * sysdep/powerpc/locks.h (write_barrier): New function.
15283         * sysdep/i386/locks.h (write_barrier): New function.
15284
15285 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15286
15287         * include/jni.h Use correct C comments.
15288
15289 2002-03-18  Tom Tromey  <tromey@redhat.com>
15290
15291         * include/jni.h (JNIIMPORT): New macro.
15292         (JNIEXPORT): Likewise.
15293         (JNICALL): Likewise.
15294
15295 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15296
15297         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15298         systems.
15299
15300 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15301
15302         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15303         INIT_SEGV: Use old_i386_kernel_sigaction.
15304         INIT_FP: Likewise.
15305
15306 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15307
15308         * java/lang/natSystem.cc (init_properties): Update VM version
15309         properties.
15310         * configure.in: Set GCJVERSION.
15311         * acconfig.h: Add GCJVERSION.
15312         * configure: Rebuilt.
15313         * include/config.h.in: Rebuilt.
15314
15315 2002-03-17  Anthony Green  <green@redhat.com>
15316
15317         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15318
15319 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15320
15321         Build a single libgcj.so, without separate gc and zlib libraries.
15322         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15323         SYS_ZLIBS if system zlib is used.
15324         * configure: Rebuilt.
15325         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15326         * Makefile.in: Rebuilt.
15327         * libtool-version: Increment .so version number.
15328
15329         * Makefile.am: Escape quotes in echo.
15330         * Makefile.in: Rebuilt.
15331
15332 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15333
15334         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15335         * Makefile.in: Rebuilt.
15336
15337 2002-03-15  Anthony Green  <green@redhat.com>
15338
15339         * configure.host (FILE): New macro for specifing File
15340         implementation.
15341         * configure: Rebuilt.
15342         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15343
15344 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15345
15346         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15347         already implicitly brought in from libgcj.la.
15348         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15349         * Makefile.in: Rebuilt.
15350
15351 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15352
15353         * THANKS: Fix punctuation, alphabetization.
15354
15355 2002-03-15  Tom Tromey  <tromey@redhat.com>
15356             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15357
15358         Fix for PR libgcj/5944.
15359         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15360
15361 2002-03-15  Anthony Green  <green@redhat.com>
15362
15363         * configure.in (tool_include_dir): Define.
15364         * configure: Rebuilt.
15365         * gcj/Makefile.am: Install libgcj-config.h relative to
15366         tool_include_dir.
15367         * gcj/Makefile: Rebuilt.
15368         * gcj/libgcj-config.h: Add warning comment.
15369
15370 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15371
15372         * configure.host (powerpc*-darwin*): Enable interpreter.
15373
15374 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15375
15376         * include/posix.h: Add multiple include header protection.
15377         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15378
15379 2002-03-10  Adam Megacz <adam@xwt.org>
15380
15381         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15382
15383 2002-03-10  Tom Tromey  <tromey@redhat.com>
15384
15385         * java/awt/GridLayout.java (layoutContainer): Handle case where
15386         there are no items in container.
15387
15388         * java/lang/Win32Process.java: Added comment.
15389         * include/posix.h (_Jv_platform_close_on_exec): New function.
15390         Include fcntl.h.
15391         * include/win32.h (_Jv_platform_close_on_exec): New function.
15392         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15393         flag.
15394         (accept): Likewise.
15395         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15396         close-on-exec flag.
15397         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15398         flag.
15399
15400 2002-03-09  Tom Tromey  <tromey@redhat.com>
15401
15402         * verify.cc (state::NO_STACK): New constant.
15403         (state::is_unmerged_ret_state): Handle case where stacktop is
15404         NO_STACK.
15405         (state::merge): Handle NO_STACK merges.
15406         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15407         for instruction following jsr.
15408         (stacktop, stackdepth): Removed unused variables.
15409         (pop_jump): Ignore case where all remaining states are skipped.
15410
15411 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15412
15413         * java/awt/ImageMediaEntry: Removed.
15414         * java/awt/MediaEntry: Removed.
15415
15416 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15417
15418         Hashtable synchronization for PowerPC.
15419         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15420         slow_pthread_self. Set up symlink for sysdeps directory.
15421         * configure: Rebuild.
15422         * configure.host: Document more shell variables. Set sysdeps_dir
15423         for most platforms. Set slow_pthread_self for i686. Set
15424         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15425         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15426         that memory barrier is emitted where required.
15427         * prims.cc: 64-bit align static primitive class instances.
15428         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15429         read_barrier() to enforce ordering of reads.
15430         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15431         primitives for PowerPC.
15432         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15433         moved from natObject.cc.
15434         * sysdep/alpha/locks.h: Likewise.
15435         * sysdep/ia64/locks.h: Likewise.
15436         * sysdep/generic/locks.h: Likewise.
15437         * java/lang/natObject.cc: Move thread synchronization primitives to
15438         system-dependent headers.
15439
15440 2002-03-09  Adam Megacz  <adam@xwt.org>
15441
15442         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15443         bytes read and no failure code returned.
15444
15445 2002-03-09  Adam Megacz  <adam@xwt.org>
15446
15447         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15448         definitions to simulate -mthreads.
15449
15450 2002-03-09  Adam Megacz  <adam@xwt.org>
15451
15452         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15453         avoid precision loss.
15454
15455 2002-03-09  Per Bothner  <per@bothner.com>
15456
15457         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15458         * gnu/gcj/xlib/XImage.java:  Likewise.
15459         * gnu/gcj/xlib/XColor.java:  Likewise.
15460
15461 2002-03-09  Adam Megacz  <adam@xwt.org>
15462
15463         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15464         IOException so that Throwable.printStackTrace fails correctly.
15465
15466 2002-03-08  Adam Megacz  <adam@xwt.org>
15467
15468         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15469         fixed.
15470
15471 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15472
15473         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15474         truncated to int.
15475
15476 2002-03-08  Tom Tromey  <tromey@redhat.com>
15477
15478         * include/jni.h: Include stdio.h.
15479
15480 2002-03-08  Tom Tromey  <tromey@redhat.com>
15481
15482         * posix.cc (internal_gettimeofday): New function.
15483         (_Jv_select): Use it.
15484
15485 2002-03-07  Adam Megacz  <adam@xwt.org>
15486
15487         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15488         WIN32, and added thunks for read(), write(), and close().
15489         * java/net/natPlainSocketImpl.cc (accept, read, read):
15490         Disabled timeouts on WIN32 pending discussion.
15491
15492 2002-03-07  Adam Megacz  <adam@xwt.org>
15493
15494         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15495         returns jlong. Added implementation
15496         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15497         returns jlong.
15498         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15499         returns jlong.
15500         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15501         returns jlong.
15502         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15503         _Jv_platform_gettimeofday signature.
15504
15505 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15506
15507         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15508         (read): Call recv() directly, not _Jv_recv().
15509
15510 2002-03-06  Tom Tromey  <tromey@redhat.com>
15511
15512         * java/io/natFileDescriptorEcos.cc (init): Don't use
15513         GetStdHandle.
15514         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15515         is negative.
15516         (init): Don't use GetStdHandle.
15517
15518         * include/config.h.in: Rebuilt.
15519         * configure: Rebuilt.
15520         * Makefile.in: Rebuilt.
15521
15522 2002-03-06  Adam Megacz  <adam@xwt.org>
15523
15524         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15525         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15526         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15527         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15528
15529 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15530
15531         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15532         the code for generating include/java-chartables.h.
15533         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15534         merge with Classpath.
15535         * scripts/unicode-muncher.pl: Copy from Classpath.
15536         * scritps/MakeCharTables.java: New file.
15537         * gnu/gcj/convert/Blocks-3.txt: New file.
15538         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15539         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15540         * gnu/java/lang/CharData.java: Copy from Classpath.
15541         * Makefile.am (ordinary_java_source_files): Add
15542         gnu/java/lang/CharData.java.
15543         * configure.in: Remove --enable-fast-character option.
15544         * java/lang/Character.java: Merge algorithms and Javadoc with
15545         Classpath.
15546         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15547         efficiently.
15548         * include/java-chardecomp.h: Regenerate.
15549         * include/java-chartables.h: Regenerate.
15550
15551 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15552
15553         * java/awt/MediaTracker.java: Implemented.
15554         * Makefile.am: Add MediaTracker.
15555         * Makefile.in: Rebuilt.
15556
15557 2002-03-05  Tom Tromey  <tromey@redhat.com>
15558
15559         * java/lang/natPosixProcess.cc (fail): Removed.
15560         (startProcess): Simplified error-handling.  Preserve
15561         LD_LIBRARY_PATH across exec.
15562
15563         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15564         AbstractMethodError.
15565
15566 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15567
15568         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15569         * Makefile.in: Rebuilt.
15570
15571 2002-03-03 Mark Wielaard <mark@klomp.org>
15572
15573         * java/util/Timer (TaskQueue.stop): set elements to zero.
15574
15575 2002-02-28  Anthony Green  <green@redhat.com>
15576
15577         * java/lang/reflect/natMethod.cc (result): Add void* element.
15578         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15579         constructor test.
15580
15581 2002-02-27  Adam Megacz <adam@xwt.org>
15582
15583         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15584         '#undef STRICT'.
15585
15586 2002-02-26  Tom Tromey  <tromey@redhat.com>
15587
15588         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15589         * gij.cc (version): Use __VERSION__.
15590         * include/config.h.in: Rebuilt.
15591         * acconfig.h (GCJVERSION): Removed.
15592         * configure: Rebuilt.
15593         * configure.in (GCJVERSION): Removed.
15594
15595 2002-02-26  Andreas Schwab  <schwab@suse.de>
15596
15597         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15598         glibcpp_CXX, since libjava uses even another CXX.
15599         * aclocal.m4, configure: Regenerated.
15600
15601 2002-02-26  Tom Tromey  <tromey@redhat.com>
15602
15603         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15604         `1'.
15605
15606 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15607
15608         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15609         dependency tracking for .java files.
15610         * Makefile.in: Rebuilt.
15611
15612 2002-02-24  Adam Megacz  <adam@xwt.org>
15613
15614         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15615         typo. Sorry.
15616
15617 2002-02-24  Adam Megacz  <adam@xwt.org>
15618
15619         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15620         for Win32, changed #ifdefs to check WIN32 instead of the
15621         (now-obsolete) USE_WINSOCK, and removed support for socket
15622         timeouts on Win32 pending further discussion.
15623
15624 2002-02-24  Adam Megacz  <adam@xwt.org>
15625
15626         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15627         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15628         delete
15629
15630 2002-02-24  Adam Megacz  <adam@xwt.org>
15631
15632         * java/lang/Win32Process.java: Created a dummy class to allow
15633         build process to run to completion.
15634
15635 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15636
15637         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15638         Define ffi_result union for ffi_call result.  Cast
15639         ffi_result members to jvalue.
15640
15641 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15642
15643         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15644         * testsuite/Makefile.in: Likewise.
15645
15646 2002-02-20  Per Bothner  <per@bothner.com>
15647
15648         * java/net/URL.java (getPath):  New JDK 1.3 method.
15649
15650         * java/net/URLStreamHandler.java (parseURL):
15651         It is wrong to prepend '/' to the file part of a relative url.
15652
15653         * java/net/URLStreamHandler.java (parseURL):
15654         Minor optizations - append '/' rather than "/".
15655
15656         * java/net/URLStreamHandler.java (parseURL):
15657         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15658         We probably should canonicalize for a context-relative url, though.
15659         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15660         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15661         (sameFile):  New method.  Uses canonicalizeFilename.
15662
15663 2002-02-22  Tom Tromey  <tromey@redhat.com>
15664
15665         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15666         java.vendor and java.vm.vendor.
15667         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15668         recent copyright date.
15669         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15670         * gij.cc (version): Print `Inc'.
15671
15672 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15673
15674         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15675         * aclocal.m4, configure: Rebuilt.
15676
15677 2002-02-20  Per Bothner  <per@bothner.com>
15678
15679         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15680         and/or output streams immediately here, instead of using File.exists.
15681         (inputStream, outputStream):  New fields to save open streams.
15682         (getInputStream, getOutputStream):  Use already-opened streams.
15683
15684 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15685
15686         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15687         Use it.
15688         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15689         * aclocal.m4, configure, Makefile.in: Rebuilt.
15690
15691 2002-02-19  Tom Tromey  <tromey@redhat.com>
15692
15693         Fix for PR libgcj/5696:
15694         * verify.cc (is_assignable_from_slow): Never call
15695         _Jv_IsAssignableFrom.
15696         (verify_instructions_0): Added new debug statement.
15697         (state::print): Print information about whether local has
15698         changed.
15699         (state::merge): Don't call note_variable when merging locals.
15700         (state::set_exception): Removed old FIXME comment.
15701
15702 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15703
15704         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15705         enable SO_BROADCAST.
15706
15707 2002-02-18  Jason Merrill  <jason@redhat.com>
15708
15709         * name-finder.cc (toHex): Use word mode, not long long.
15710
15711         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15712
15713 2002-02-15  Tom Tromey  <tromey@redhat.com>
15714
15715         Fix for PR libgcj/5695:
15716         * verify.cc (is_assignable_from_slow): Check to see if target is
15717         an Object before checking to see if source is an interface.
15718         (verify_instructions_0) [op_invokeinterface]: Handle case where
15719         we're making an interface call on Object.
15720
15721 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15722
15723         * Makefile.in: Rebuilt with Eric's change below.
15724
15725         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15726         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15727         Removed functions which are now implemented in Math.java.
15728
15729 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15730
15731         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15732         * Makefile.am (core_java_source_files): Add
15733         java/lang/StrictMath.java.
15734         * java/lang/Math.java: Merge with Classpath.
15735         * java/lang/StrictMath.java: New file - merge with Classpath.
15736
15737 2002-02-14  Mark Wielaard  <mark@klomp.org>
15738
15739         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15740         package as a workaround for gcj 3.0.x
15741
15742 2002-02-14  Mark Wielaard <mark@klomp.org>
15743
15744         * java/security/BasicPermission.java: extends with fully qualified
15745         classname as workaround for gcj 3.0.4.
15746
15747 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15748
15749         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15750         around gcj bug of wrong emitted qualifier for inherited method.
15751         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15752         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15753         constructor to reduce amount of emitted bytecode. While this
15754         happens to work around a jikes 1.15 bug, it is still a useful
15755         patch even for correct compilers.
15756         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15757         * gnu/java/rmi/server/UnicastRemoteCall.java
15758         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15759
15760 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15761
15762         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15763         * java/net/SocketImpl.java: Ditto.
15764         * java/rmi/server/RMIClassLoader.java: Ditto.
15765         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15766
15767 2002-02-14  Mark Wielaard <mark@klomp.org>
15768
15769         Thanks to Takashi Okamoto
15770         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15771         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15772         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15773
15774 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15775
15776         Fix for PR libgcj/5670:
15777         * verify.cc (is_assignable_from_slow): If `source' is interface,
15778         recursively look for merge with `target'.
15779
15780 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15781
15782         * include/jni.h: Fix typo.
15783
15784 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15785
15786         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15787         correctly.
15788
15789 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15790
15791         Fix for PR libgcj/5671:
15792         * verify.cc (state::merge): Handle case where we're merging
15793         against an interface.
15794
15795 2002-02-12  Tom Tromey  <tromey@redhat.com>
15796
15797         * exception.cc (std::abort): Mark as noreturn.
15798
15799 2002-02-12  Adam Megacz <adam@xwt.org>
15800
15801         * java/lang/Win32Process.java: Filled in a placeholder
15802         implementation so Win32 will build.
15803
15804 2002-02-12  Adam Megacz <adam@xwt.org>
15805
15806         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15807         * java/io/natFile.cc: Removed from repository.
15808         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15809
15810 2002-02-12  Adam Megacz <adam@xwt.org>
15811
15812         * win32.cc: Added two #includes to make win32.cc compile.
15813
15814 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15815
15816         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15817         declarations.
15818         (_Jv_InitGC): Don't bother locking, as this is always called from a
15819         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15820
15821 2002-02-11  Adam Megacz <adam@xwt.org>
15822
15823         * include/win32.h: Added _Jv_platform_gettimeofday.
15824         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15825
15826 2002-02-11  Adam Megacz <adam@xwt.org>
15827
15828         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15829         Added #undef STRICT to make windows.h and
15830         java/lang/reflect/Modifier.h cooperate.
15831
15832 2002-02-11  Adam Megacz <adam@xwt.org>
15833
15834         * java/io/natFileWin32.cc: Created a placeholder class with lots
15835         of FIXMEs.
15836
15837 2002-02-11  Adam Megacz <adam@xwt.org>
15838
15839         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15840         std::abort() to simply abort(). Also added "fake" std::abort() so
15841         we can #include unwind-pe.h without having to link against
15842         libstdc++-v3.
15843
15844 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15845
15846         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15847
15848 2002-02-08  Tom Tromey  <tromey@redhat.com>
15849
15850         * interpret.cc (convert): New function.
15851         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15852         convert.
15853         Include Long.h.
15854
15855 2002-02-08  Anthony Green  <green@redhat.com>
15856
15857         * configure.host: Add support for xscale-elf embedded target.
15858
15859 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15860
15861         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15862         dereferenced.
15863         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15864         frame.
15865
15866 2002-02-07  Tom Tromey  <tromey@redhat.com>
15867
15868         * java/io/natFile.cc (_access): Use __builtin_alloca.
15869         (_stat): Likewise.
15870         (attr): Likewise.
15871         (getCanonicalPath): Likewise.
15872         (performList): Likewise.
15873         (performMkdir): Likewise.
15874         (performSetReadOnly): Likewise.
15875         (performRenameTo): Likewise.
15876         (performSetLastModified): Likewise.
15877         (performCreate): Likewise.
15878         (performDelete): Likewise.
15879
15880 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15881
15882         * HACKING: Fix URL for the automake-gcj.
15883
15884 2002-02-07  Tom Tromey  <tromey@redhat.com>
15885
15886         * java/lang/natThrowable.cc: Updated copyright.
15887         * java/io/natFileWin32.cc: Updated copyright.
15888         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15889         * win32-threads.cc: Updated copyright.
15890         * name-finder.cc: Updated copyright.
15891         * include/name-finder.h: Updated copyright.
15892
15893         * include/name-finder.h: Conditionally include sys/wait.h.
15894         * include/config.h.in: Rebuilt.
15895
15896         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15897         Size buffer based on real size of string.
15898         (_stat): Likewise.
15899         (attr): Likewise.
15900         (getCanonicalPath): Likewise.
15901         (performList): Likewise.
15902         (performMkdir): Likewise.
15903         (performSetReadOnly): Likewise.
15904         (unixroot): Removed.
15905         (performRenameTo): Likewise.
15906         (performSetLastModified): Likewise.
15907         (performCreate): Likewise.
15908         (performDelete): Likewise.
15909         (performListRoots): Always return new array.
15910
15911         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15912         * win32.cc (win32_exception_handler): Now static.
15913         * include/win32.h (_Jv_platform_initialize): Declare.
15914         (win32_exception_handler): Don't declare.
15915         * java/lang/natSystem.cc (currentTimeMillis): Use
15916         _Jv_platform_gettimeofday.
15917         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15918         (_Jv_select): Use new name.
15919         (_Jv_platform_initialize): New function.
15920         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15921         _Jv_gettimeofday.
15922         (_Jv_platform_initialize): Declare.
15923
15924         * configure: Rebuilt.
15925         * configure.in: Removed unnecessary parens.
15926
15927 2002-02-06  Adam Megacz <adam@xwt.org>
15928
15929        * configure.in: Changed mingw) to *mingw*).
15930        * win32.cc: Created this file.
15931        * win32.h: Created this file.
15932        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15933        win32_exception_handler from prims.cc to win32.cc, added
15934        header in win32.h.
15935        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15936        longer needed now that we have platform.h
15937
15938 2002-02-06  Adam Megacz <adam@xwt.org>
15939
15940         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15941         use uint<n>_t instead of LONG and BYTE
15942
15943 2002-02-06  Adam Megacz <adam@xwt.org>
15944
15945         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15946
15947 2002-02-06  Anthony Green  <green@redhat.com>
15948
15949         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15950         Implement missing method stubs.
15951         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15952         targets.
15953         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15954         concept of timezones.
15955         (init_properties): Don't refer to _Jv_Environment_Properties
15956         when this feature is not available.
15957         * include/config.h.in: Rebuilt.
15958         * acconfig.h: Add DISABLE_MAIN_ARGS.
15959         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15960         * configure: Rebuilt.
15961         * configure.in: Add --disable-main-args option.  Test for
15962           opendir function.  Replace AC_CHECK_SIZEOF with
15963           AC_COMPILE_CHECK_SIZEOF.
15964         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15965         * aclocal.m4: Rebuilt.
15966         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15967
15968 2002-02-06  Tom Tromey  <tromey@redhat.com>
15969
15970         * verify.cc (require_array_type): If argument is a null array of
15971         references, return null as the element type.
15972
15973 2002-02-06  Mark Wielaard  <mark@klomp.org>
15974
15975         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15976         duplicate of a wide type.
15977
15978 2002-02-06  Tom Tromey  <tromey@redhat.com>
15979
15980         * verify.cc (type::isnull): New method.
15981         (require_array_type): Handle case where array is null.
15982         (verify_instructions_0) [op_arraylength]: Likewise.
15983
15984 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15985
15986         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15987         Symlink PLATFORMH to platform.h.
15988         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15989         PLATFORMOBJS.
15990         * java/lang/natSystem.cc: #include platform.h not posix.h.
15991         * Makefile.in: Rebuilt with libgcj automake.
15992         * configure: Rebuilt.
15993
15994 2002-02-05  Richard Henderson  <rth@redhat.com>
15995
15996         * Makefile.in: Undo munging last change.
15997
15998 2002-02-04  Adam Megacz <adam@xwt.org>
15999
16000         * win32.cc: Created it.
16001         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16002         which is set to posix.cc or win32.cc.
16003         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16004
16005 2002-02-04  Adam Megacz <adam@xwt.org>
16006
16007         * configure.in: Corrected mingw case branches; added * before
16008         and after.
16009
16010 2002-02-04  Adam Megacz <adam@xwt.org>
16011
16012         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16013         if compiling for win32
16014
16015 2002-02-04  Adam Megacz <adam@xwt.org>
16016
16017         * win32-threads.cc: #undef STRICT after gc.h inclusion
16018
16019 2002-02-02  Tom Tromey  <tromey@redhat.com>
16020
16021         * Makefile.in: Rebuilt.
16022
16023 2002-02-02  Jason Merrill  <jason@redhat.com>
16024
16025         * Makefile.am (clean-nat): New target.
16026
16027 2002-02-02  Tom Tromey  <tromey@redhat.com>
16028
16029         * java/io/natFile.cc: Removed old "FIXME" comments.
16030
16031 2002-02-01  Tom Tromey  <tromey@redhat.com>
16032
16033         * java/lang/natPosixProcess.cc (myclose): New function.
16034         (fail): Use it.
16035         (startProcess): Likewise.
16036
16037 2002-02-01  Adam Megacz <adam@xwt.org>
16038
16039         * prims.cc: Added #undef STRICT after #include<windows.h>.
16040
16041 2002-02-01  Adam Megacz <adam@xwt.org>
16042
16043         * prims.cc
16044         (_Jv_CreateJavaVM): We now use WIN32 instead of
16045         USE_WIN32_SIGNALLING and USE_WINSOCK.
16046         (win32_exception_handler): Now throws an exception out of
16047         the signal handler; assumes SJLJ.
16048
16049 2002-02-01  Adam Megacz <adam@xwt.org>
16050
16051         * win32-threads.cc:
16052         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16053         wait() algorithm to make it safe.
16054         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16055         Added lazy creation of Win32 Events for better performance
16056         (really_start): This now uses GC_CreateThread so boehm-gc
16057         knows about new threads even when statically linked.
16058
16059 2002-02-01  Adam Megacz <adam@xwt.org>
16060
16061         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16062         enable safer wait() algorithm.
16063         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16064         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16065         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16066         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16067         instead of mutex.
16068         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16069
16070 2002-02-01  Adam Megacz <adam@xwt.org>
16071
16072         * configure.in: Added support for mingw.
16073         * java/lang/Win32Process.java: Created as empty file.
16074         * java/lang/natWin32Process.cc: Created as empty file.
16075
16076 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16077
16078         PR java/4972
16079         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16080         for libiconv in LIBICONV variable.
16081         * configure: Regenerated.
16082
16083 2002-01-31  Tom Tromey  <tromey@redhat.com>
16084
16085         * verify.cc (state::enter_subroutine): New method.
16086         (handle_jsr_insn): Use it.
16087         (state::merge): When processing a `ret', correctly use
16088         subroutine's state to determine which local variables have
16089         changed.
16090         (push_exception_jump): Don't let stack overflow.
16091
16092 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16093
16094         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16095         --version output.
16096
16097 2002-01-30  Tom Tromey  <tromey@redhat.com>
16098
16099         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16100         parameter for `recv' return type.
16101
16102         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16103         (state::merge): ... not here.
16104         (subr_entry_info): New structure.
16105         (entry_points): New field.
16106         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16107         entry_points.
16108
16109 2002-01-29  Tom Tromey  <tromey@redhat.com>
16110
16111         * java/awt/List.java (addNotify): Correctly check to see if peer
16112         does not exist.
16113
16114         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16115         to compute height of each cell, and number of columns to compute
16116         width of each cell.
16117         * java/awt/Window.java (getOwnedWindows): Don't return null.
16118         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16119         of component.  Increment x using horizontal gap, not vertical
16120         gap.
16121
16122 2002-01-28  Tom Tromey  <tromey@redhat.com>
16123
16124         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16125         `nargs' byte is number of words, not number of arguments.
16126
16127 2002-01-27  Tom Tromey  <tromey@redhat.com>
16128
16129         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16130         (when): Likewise.
16131         * java/awt/event/InputEvent.java (modifiers, when): Now
16132         package-private.
16133
16134         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16135         and to-do list.
16136         (state::merge): Use current class' class loader.
16137         (state::print): Print subroutine.
16138         (state::merge): Don't look at subroutine of unmerged `ret'.
16139
16140 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16141
16142         * nogc.cc: Remove warnings.
16143         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16144         New functions.
16145
16146 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16147
16148         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16149         int, int):  Remove empty "if" statement to work around compiler bug.
16150         (newPixels(int[], ColorModel, int, int): Likewise.
16151
16152 2002-01-25  Per Bothner  <per@bothner.com>
16153
16154         * verify.cc (verify_fail):  Change from being a top-level function
16155         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16156         Pass the current verifier to type: and state: methods as needed,
16157         for better error messages, and for resolve.
16158         (resolve):  Pass current class's loader for Class.forName and
16159         _Jv_FindClassFromSignature, rather than using the default loader.
16160         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16161         (get_type_val_for_signature):  Make non-static.
16162         (various methods):  Pass start_PC implicitly, not explicitly.
16163
16164 2002-01-25  Tom Tromey  <tromey@redhat.com>
16165
16166         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16167         loop termination condition.
16168         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16169         width.
16170
16171 2002-01-24  Tom Tromey  <tromey@redhat.com>
16172
16173         * java/awt/Shape.java: Merged with Classpath.
16174         * java/awt/Scrollbar.java: Merged with Classpath.
16175
16176         * java/awt/Container.java (addNotify): Unconditionally call
16177         addNotifyContainerChildren and superclass addNotify.
16178
16179         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16180         getAlpha, not getBlue.
16181
16182 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16183
16184         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16185
16186         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16187         (grabPixels(long)): Wait to be notified that the ImageProducer has
16188         completed.
16189
16190 2002-01-24  Per Bothner  <per@bothner.com>
16191
16192         * verify.cc (is_assignable_from_slow): If target is an interface,
16193         we must still check the source's superclass before giving up.
16194
16195 2002-01-24  Tom Tromey  <tromey@redhat.com>
16196
16197         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16198
16199 2002-01-23  Tom Tromey  <tromey@redhat.com>
16200
16201         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16202         `else'.
16203
16204         * Makefile.in: Rebuilt.
16205         * Makefile.am (awt_java_source_files): Added new files.
16206         * java/awt/Toolkit.java: Merged with Classpath.
16207         * java/awt/PrintGraphics.java: New file from Classpath.
16208         * java/awt/PrintJob.java: New file from Classpath.
16209         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16210         * java/awt/datatransfer/ClipboardOwner.java: New file from
16211         Classpath.
16212         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16213         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16214         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16215         Classpath.
16216         * java/awt/datatransfer/StringSelection.java: New file from
16217         Classpath.
16218         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16219         Classpath.
16220         * java/awt/datatransfer/Transferable.java: New file from
16221         Classpath.
16222         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16223         from Classpath.
16224
16225         * Makefile.in: Rebuilt.
16226         * Makefile.am (awt_java_source_files): Added new files.
16227         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16228         Classpath.
16229         * java/awt/image/CropImageFilter.java: New file from Classpath.
16230         * java/awt/image/FilteredImageSource.java: New file from
16231         Classpath.
16232         * java/awt/image/ImageFilter.java: New file from Classpath.
16233         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16234         * java/awt/image/PixelGrabber.java: New file from Classpath.
16235         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16236         * java/awt/image/ReplicateScaleFilter.java: New file from
16237         Classpath.
16238         * java/awt/image/ImageProducer.java: Replaced with Classpath
16239         version.
16240         * java/awt/image/ImageObserver.java: Replaced with Classpath
16241         version.
16242         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16243         version.
16244         * java/awt/GridBagConstraints.java (clone): Catch
16245         CloneNotSupportedException.
16246
16247 2002-01-23  Per Bothner  <per@bothner.com>
16248
16249         * java/lang/reflect/natField.cc (setAddr):  New function.
16250         Calls getAddr and then checks that the field isn't final.
16251         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16252         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16253         (set):  Call setAddr before check that new value has right type,
16254         to better match specified semantics.
16255
16256 2002-01-22  Tom Tromey  <tromey@redhat.com>
16257
16258         * java/awt/TextField.java: Replaced with Classpath version.
16259         * java/awt/TextArea.java: Replaced with Classpath version.
16260         * java/awt/TextComponent.java: Replaced with Classpath version.
16261
16262         * java/awt/GridBagConstraints.java: Updated copyright.
16263
16264 2002-01-22  Mark Wielaard <mark@klomp.org>
16265
16266         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16267         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16268         java/awt/Dialog.java java/awt/FileDialog.java
16269         java/awt/Font.java java/awt/FontMetrics.java
16270         java/awt/Image.java java/awt/ImageMediaEntry.java
16271         java/awt/Insets.java java/awt/List.java
16272         java/awt/MediaEntry.java java/awt/MediaTracker.java
16273         java/awt/Menu.java java/awt/MenuBar.java
16274         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16275         java/awt/PaintContext.java java/awt/Panel.java
16276         java/awt/PopupMenu.java java/awt/SystemColor.java
16277         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16278         java/awt/peer/CheckboxMenuItemPeer.java
16279         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16280         java/awt/peer/ComponentPeer.java
16281         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16282         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16283         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16284         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16285         java/awt/peer/MenuBarPeer.java
16286         java/awt/peer/MenuComponentPeer.java
16287         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16288         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16289         java/awt/peer/ScrollPanePeer.java
16290         java/awt/peer/ScrollbarPeer.java
16291         java/awt/peer/TextAreaPeer.java
16292         java/awt/peer/TextComponentPeer.java
16293         java/awt/peer/TextFieldPeer.java
16294         java/awt/peer/WindowPeer.java: Add license clarification.
16295
16296 2002-01-22  Mark Wielaard <mark@klomp.org>
16297
16298         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16299         gnu/gcj/runtime/StringBuffer.java
16300         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16301         gnu/java/awt/ComponentDataBlitOp.java
16302         gnu/java/awt/GLightweightPeer.java
16303         gnu/java/beans/BeanInfoEmbryo.java
16304         gnu/java/beans/EmptyBeanInfo.java
16305         gnu/java/beans/ExplicitBeanInfo.java
16306         gnu/java/beans/IntrospectionIncubator.java
16307         gnu/java/beans/editors/ColorEditor.java
16308         gnu/java/beans/editors/FontEditor.java
16309         gnu/java/beans/editors/NativeBooleanEditor.java
16310         gnu/java/beans/editors/NativeByteEditor.java
16311         gnu/java/beans/editors/NativeDoubleEditor.java
16312         gnu/java/beans/editors/NativeFloatEditor.java
16313         gnu/java/beans/editors/NativeIntEditor.java
16314         gnu/java/beans/editors/NativeLongEditor.java
16315         gnu/java/beans/editors/NativeShortEditor.java
16316         gnu/java/beans/editors/StringEditor.java
16317         gnu/java/beans/info/ComponentBeanInfo.java
16318         gnu/java/io/ClassLoaderObjectInputStream.java
16319         gnu/java/io/NullOutputStream.java
16320         gnu/java/io/ObjectIdentityWrapper.java
16321         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16322         gnu/java/lang/reflect/TypeSignature.java
16323         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16324         gnu/java/locale/Calendar_en.java
16325         gnu/java/locale/Calendar_nl.java
16326         gnu/java/locale/LocaleInformation.java
16327         gnu/java/locale/LocaleInformation_de.java
16328         gnu/java/locale/LocaleInformation_en.java
16329         gnu/java/locale/LocaleInformation_nl.java
16330         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16331         gnu/java/rmi/registry/RegistryImpl.java
16332         gnu/java/rmi/rmic/Compile_gcj.java
16333         gnu/java/rmi/rmic/Compiler.java
16334         gnu/java/rmi/rmic/CompilerProcess.java
16335         gnu/java/rmi/rmic/RMIC.java
16336         gnu/java/rmi/rmic/TabbedWriter.java
16337         gnu/java/rmi/server/ProtocolConstants.java
16338         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16339         gnu/java/rmi/server/RMIHashes.java
16340         gnu/java/rmi/server/RMIObjectInputStream.java
16341         gnu/java/rmi/server/RMIObjectOutputStream.java
16342         gnu/java/rmi/server/UnicastConnection.java
16343         gnu/java/rmi/server/UnicastConnectionManager.java
16344         gnu/java/rmi/server/UnicastRef.java
16345         gnu/java/rmi/server/UnicastRemoteCall.java
16346         gnu/java/rmi/server/UnicastRemoteStub.java
16347         gnu/java/rmi/server/UnicastServer.java
16348         gnu/java/rmi/server/UnicastServerRef.java
16349         gnu/java/security/provider/DefaultPolicy.java
16350         gnu/java/security/provider/Gnu.java
16351         gnu/java/security/provider/SHA.java
16352         gnu/java/security/provider/SHA1PRNG.java
16353         gnu/java/text/BaseBreakIterator.java
16354         gnu/java/text/CharacterBreakIterator.java
16355         gnu/java/text/LineBreakIterator.java
16356         gnu/java/text/SentenceBreakIterator.java
16357         gnu/java/text/WordBreakIterator.java
16358         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16359         java/applet/AppletContext.java java/applet/AppletStub.java
16360         java/applet/AudioClip.java java/awt/AWTError.java
16361         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16362         java/awt/AWTException.java java/awt/AWTPermission.java
16363         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16364         java/awt/Button.java java/awt/Canvas.java
16365         java/awt/CardLayout.java java/awt/Checkbox.java
16366         java/awt/CheckboxGroup.java java/awt/Component.java
16367         java/awt/ComponentOrientation.java java/awt/Container.java
16368         java/awt/Dimension.java java/awt/Event.java
16369         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16370         java/awt/FlowLayout.java java/awt/Frame.java
16371         java/awt/Graphics.java java/awt/Graphics2D.java
16372         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16373         java/awt/IllegalComponentStateException.java
16374         java/awt/ItemSelectable.java java/awt/Label.java
16375         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16376         java/awt/MenuComponent.java java/awt/MenuItem.java
16377         java/awt/Paint.java java/awt/Point.java
16378         java/awt/Rectangle.java java/awt/RenderingHints.java
16379         java/awt/Transparency.java java/awt/Window.java
16380         java/awt/color/ColorSpace.java
16381         java/awt/color/ICC_ColorSpace.java
16382         java/awt/color/ICC_Profile.java
16383         java/awt/event/HierarchyBoundsAdapter.java
16384         java/awt/event/HierarchyBoundsListener.java
16385         java/awt/event/HierarchyEvent.java
16386         java/awt/event/HierarchyListener.java
16387         java/awt/geom/AffineTransform.java
16388         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16389         java/awt/geom/IllegalPathStateException.java
16390         java/awt/geom/Line2D.java
16391         java/awt/geom/NoninvertibleTransformException.java
16392         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16393         java/awt/geom/Rectangle2D.java
16394         java/awt/geom/RectangularShape.java
16395         java/awt/geom/RoundRectangle2D.java
16396         java/awt/image/BufferedImage.java
16397         java/awt/image/ColorModel.java
16398         java/awt/image/ComponentColorModel.java
16399         java/awt/image/ComponentSampleModel.java
16400         java/awt/image/DataBuffer.java
16401         java/awt/image/DataBufferByte.java
16402         java/awt/image/DataBufferInt.java
16403         java/awt/image/DataBufferUShort.java
16404         java/awt/image/DirectColorModel.java
16405         java/awt/image/PackedColorModel.java
16406         java/awt/image/Raster.java java/awt/image/RasterOp.java
16407         java/awt/image/SampleModel.java
16408         java/awt/image/SinglePixelPackedSampleModel.java
16409         java/awt/image/WritableRaster.java
16410         java/beans/AppletInitializer.java
16411         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16412         java/beans/Beans.java java/beans/Customizer.java
16413         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16414         java/beans/FeatureDescriptor.java
16415         java/beans/IndexedPropertyDescriptor.java
16416         java/beans/IntrospectionException.java
16417         java/beans/Introspector.java java/beans/MethodDescriptor.java
16418         java/beans/ParameterDescriptor.java
16419         java/beans/PropertyChangeEvent.java
16420         java/beans/PropertyChangeListener.java
16421         java/beans/PropertyChangeSupport.java
16422         java/beans/PropertyDescriptor.java
16423         java/beans/PropertyEditor.java
16424         java/beans/PropertyEditorManager.java
16425         java/beans/PropertyEditorSupport.java
16426         java/beans/PropertyVetoException.java
16427         java/beans/SimpleBeanInfo.java
16428         java/beans/VetoableChangeListener.java
16429         java/beans/VetoableChangeSupport.java
16430         java/beans/Visibility.java
16431         java/beans/beancontext/BeanContext.java
16432         java/beans/beancontext/BeanContextChild.java
16433         java/beans/beancontext/BeanContextChildComponentProxy.java
16434         java/beans/beancontext/BeanContextChildSupport.java
16435         java/beans/beancontext/BeanContextContainerProxy.java
16436         java/beans/beancontext/BeanContextEvent.java
16437         java/beans/beancontext/BeanContextMembershipEvent.java
16438         java/beans/beancontext/BeanContextMembershipListener.java
16439         java/beans/beancontext/BeanContextProxy.java
16440         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16441         java/beans/beancontext/BeanContextServiceProvider.java
16442         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16443         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16444         java/beans/beancontext/BeanContextServiceRevokedListener.java
16445         java/beans/beancontext/BeanContextServices.java
16446         java/beans/beancontext/BeanContextServicesListener.java
16447         java/io/BufferedInputStream.java
16448         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16449         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16450         java/io/ByteArrayOutputStream.java
16451         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16452         java/io/CharConversionException.java java/io/DataInput.java
16453         java/io/DataInputStream.java java/io/DataOutput.java
16454         java/io/EOFException.java java/io/Externalizable.java
16455         java/io/FileFilter.java java/io/FileNotFoundException.java
16456         java/io/FilePermission.java java/io/FileReader.java
16457         java/io/FileWriter.java java/io/FilenameFilter.java
16458         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16459         java/io/FilterReader.java java/io/FilterWriter.java
16460         java/io/IOException.java java/io/InputStream.java
16461         java/io/InterruptedIOException.java
16462         java/io/InvalidClassException.java
16463         java/io/InvalidObjectException.java
16464         java/io/NotActiveException.java
16465         java/io/NotSerializableException.java java/io/ObjectInput.java
16466         java/io/ObjectInputStream.java
16467         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16468         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16469         java/io/ObjectStreamConstants.java
16470         java/io/ObjectStreamException.java
16471         java/io/ObjectStreamField.java
16472         java/io/OptionalDataException.java java/io/OutputStream.java
16473         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16474         java/io/PipedReader.java java/io/PipedWriter.java
16475         java/io/PrintWriter.java java/io/PushbackInputStream.java
16476         java/io/PushbackReader.java java/io/Reader.java
16477         java/io/SequenceInputStream.java java/io/Serializable.java
16478         java/io/SerializablePermission.java
16479         java/io/StreamCorruptedException.java
16480         java/io/StreamTokenizer.java
16481         java/io/StringBufferInputStream.java java/io/StringReader.java
16482         java/io/StringWriter.java java/io/SyncFailedException.java
16483         java/io/UTFDataFormatException.java
16484         java/io/UnsupportedEncodingException.java
16485         java/io/WriteAbortedException.java java/io/Writer.java
16486         java/lang/AbstractMethodError.java
16487         java/lang/ArithmeticException.java
16488         java/lang/ArrayIndexOutOfBoundsException.java
16489         java/lang/ArrayStoreException.java java/lang/Boolean.java
16490         java/lang/Byte.java java/lang/CharSequence.java
16491         java/lang/ClassCastException.java
16492         java/lang/ClassCircularityError.java
16493         java/lang/ClassFormatError.java
16494         java/lang/ClassNotFoundException.java
16495         java/lang/CloneNotSupportedException.java
16496         java/lang/Cloneable.java java/lang/Comparable.java
16497         java/lang/Compiler.java java/lang/Double.java
16498         java/lang/Error.java java/lang/Exception.java
16499         java/lang/ExceptionInInitializerError.java
16500         java/lang/Float.java java/lang/IllegalAccessError.java
16501         java/lang/IllegalAccessException.java
16502         java/lang/IllegalArgumentException.java
16503         java/lang/IllegalMonitorStateException.java
16504         java/lang/IllegalStateException.java
16505         java/lang/IllegalThreadStateException.java
16506         java/lang/IncompatibleClassChangeError.java
16507         java/lang/IndexOutOfBoundsException.java
16508         java/lang/InheritableThreadLocal.java
16509         java/lang/InstantiationError.java
16510         java/lang/InstantiationException.java java/lang/Integer.java
16511         java/lang/InternalError.java
16512         java/lang/InterruptedException.java
16513         java/lang/LinkageError.java java/lang/Long.java
16514         java/lang/NegativeArraySizeException.java
16515         java/lang/NoClassDefFoundError.java
16516         java/lang/NoSuchFieldError.java
16517         java/lang/NoSuchFieldException.java
16518         java/lang/NoSuchMethodError.java
16519         java/lang/NoSuchMethodException.java
16520         java/lang/NullPointerException.java java/lang/Number.java
16521         java/lang/NumberFormatException.java
16522         java/lang/OutOfMemoryError.java java/lang/Package.java
16523         java/lang/Process.java java/lang/Runnable.java
16524         java/lang/RuntimeException.java
16525         java/lang/RuntimePermission.java
16526         java/lang/SecurityException.java
16527         java/lang/SecurityManager.java java/lang/Short.java
16528         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16529         java/lang/StringIndexOutOfBoundsException.java
16530         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16531         java/lang/ThreadLocal.java java/lang/UnknownError.java
16532         java/lang/UnsatisfiedLinkError.java
16533         java/lang/UnsupportedClassVersionError.java
16534         java/lang/UnsupportedOperationException.java
16535         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16536         java/lang/Void.java java/lang/ref/PhantomReference.java
16537         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16538         java/lang/ref/SoftReference.java
16539         java/lang/ref/WeakReference.java
16540         java/lang/reflect/AccessibleObject.java
16541         java/lang/reflect/InvocationTargetException.java
16542         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16543         java/lang/reflect/ReflectPermission.java
16544         java/math/BigDecimal.java java/math/BigInteger.java
16545         java/net/Authenticator.java java/net/BindException.java
16546         java/net/ConnectException.java java/net/ContentHandler.java
16547         java/net/ContentHandlerFactory.java
16548         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16549         java/net/FileNameMap.java java/net/MalformedURLException.java
16550         java/net/MulticastSocket.java java/net/NetPermission.java
16551         java/net/NoRouteToHostException.java
16552         java/net/PasswordAuthentication.java
16553         java/net/ProtocolException.java java/net/ServerSocket.java
16554         java/net/Socket.java java/net/SocketException.java
16555         java/net/SocketImpl.java java/net/SocketImplFactory.java
16556         java/net/SocketOptions.java java/net/SocketPermission.java
16557         java/net/URLDecoder.java java/net/URLEncoder.java
16558         java/net/URLStreamHandlerFactory.java
16559         java/net/UnknownHostException.java
16560         java/net/UnknownServiceException.java
16561         java/rmi/AccessException.java
16562         java/rmi/AlreadyBoundException.java
16563         java/rmi/ConnectException.java
16564         java/rmi/ConnectIOException.java
16565         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16566         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16567         java/rmi/NotBoundException.java
16568         java/rmi/RMISecurityException.java
16569         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16570         java/rmi/RemoteException.java java/rmi/ServerError.java
16571         java/rmi/ServerException.java
16572         java/rmi/ServerRuntimeException.java
16573         java/rmi/StubNotFoundException.java
16574         java/rmi/UnexpectedException.java
16575         java/rmi/UnknownHostException.java
16576         java/rmi/UnmarshalException.java
16577         java/rmi/activation/Activatable.java
16578         java/rmi/activation/ActivateFailedException.java
16579         java/rmi/activation/ActivationDesc.java
16580         java/rmi/activation/ActivationException.java
16581         java/rmi/activation/ActivationGroup.java
16582         java/rmi/activation/ActivationGroupDesc.java
16583         java/rmi/activation/ActivationGroupID.java
16584         java/rmi/activation/ActivationID.java
16585         java/rmi/activation/ActivationInstantiator.java
16586         java/rmi/activation/ActivationMonitor.java
16587         java/rmi/activation/ActivationSystem.java
16588         java/rmi/activation/Activator.java
16589         java/rmi/activation/UnknownGroupException.java
16590         java/rmi/activation/UnknownObjectException.java
16591         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16592         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16593         java/rmi/registry/Registry.java
16594         java/rmi/registry/RegistryHandler.java
16595         java/rmi/server/ExportException.java
16596         java/rmi/server/LoaderHandler.java
16597         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16598         java/rmi/server/Operation.java
16599         java/rmi/server/RMIClassLoader.java
16600         java/rmi/server/RMIClientSocketFactory.java
16601         java/rmi/server/RMIFailureHandler.java
16602         java/rmi/server/RMIServerSocketFactory.java
16603         java/rmi/server/RMISocketFactory.java
16604         java/rmi/server/RemoteCall.java
16605         java/rmi/server/RemoteObject.java
16606         java/rmi/server/RemoteRef.java
16607         java/rmi/server/RemoteServer.java
16608         java/rmi/server/RemoteStub.java
16609         java/rmi/server/ServerCloneException.java
16610         java/rmi/server/ServerNotActiveException.java
16611         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16612         java/rmi/server/SkeletonMismatchException.java
16613         java/rmi/server/SkeletonNotFoundException.java
16614         java/rmi/server/SocketSecurityException.java
16615         java/rmi/server/UID.java
16616         java/rmi/server/UnicastRemoteObject.java
16617         java/rmi/server/Unreferenced.java
16618         java/security/AccessControlContext.java
16619         java/security/AccessControlException.java
16620         java/security/AccessController.java
16621         java/security/AlgorithmParameterGenerator.java
16622         java/security/AlgorithmParameterGeneratorSpi.java
16623         java/security/AlgorithmParameters.java
16624         java/security/AlgorithmParametersSpi.java
16625         java/security/AllPermission.java
16626         java/security/BasicPermission.java
16627         java/security/Certificate.java java/security/CodeSource.java
16628         java/security/DigestException.java
16629         java/security/DigestInputStream.java
16630         java/security/DigestOutputStream.java
16631         java/security/DomainCombiner.java
16632         java/security/DummyKeyPairGenerator.java
16633         java/security/DummyMessageDigest.java
16634         java/security/DummySignature.java
16635         java/security/GeneralSecurityException.java
16636         java/security/Guard.java java/security/GuardedObject.java
16637         java/security/Identity.java java/security/IdentityScope.java
16638         java/security/InvalidAlgorithmParameterException.java
16639         java/security/InvalidKeyException.java
16640         java/security/InvalidParameterException.java
16641         java/security/Key.java java/security/KeyException.java
16642         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16643         java/security/KeyManagementException.java
16644         java/security/KeyPair.java java/security/KeyPairGenerator.java
16645         java/security/KeyPairGeneratorSpi.java
16646         java/security/KeyStore.java
16647         java/security/KeyStoreException.java
16648         java/security/KeyStoreSpi.java
16649         java/security/MessageDigest.java
16650         java/security/MessageDigestSpi.java
16651         java/security/NoSuchAlgorithmException.java
16652         java/security/NoSuchProviderException.java
16653         java/security/Permission.java
16654         java/security/PermissionCollection.java
16655         java/security/Permissions.java java/security/Policy.java
16656         java/security/Principal.java java/security/PrivateKey.java
16657         java/security/PrivilegedAction.java
16658         java/security/PrivilegedActionException.java
16659         java/security/PrivilegedExceptionAction.java
16660         java/security/ProtectionDomain.java
16661         java/security/Provider.java
16662         java/security/ProviderException.java
16663         java/security/PublicKey.java
16664         java/security/SecureClassLoader.java
16665         java/security/SecureRandom.java
16666         java/security/SecureRandomSpi.java java/security/Security.java
16667         java/security/SecurityPermission.java
16668         java/security/Signature.java
16669         java/security/SignatureException.java
16670         java/security/SignatureSpi.java
16671         java/security/SignedObject.java java/security/Signer.java
16672         java/security/UnrecoverableKeyException.java
16673         java/security/UnresolvedPermission.java
16674         java/security/acl/Acl.java java/security/acl/AclEntry.java
16675         java/security/acl/AclNotFoundException.java
16676         java/security/acl/Group.java
16677         java/security/acl/LastOwnerException.java
16678         java/security/acl/NotOwnerException.java
16679         java/security/acl/Owner.java java/security/acl/Permission.java
16680         java/security/cert/CRL.java
16681         java/security/cert/CRLException.java
16682         java/security/cert/Certificate.java
16683         java/security/cert/CertificateEncodingException.java
16684         java/security/cert/CertificateException.java
16685         java/security/cert/CertificateExpiredException.java
16686         java/security/cert/CertificateFactory.java
16687         java/security/cert/CertificateFactorySpi.java
16688         java/security/cert/CertificateNotYetValidException.java
16689         java/security/cert/CertificateParsingException.java
16690         java/security/cert/X509CRL.java
16691         java/security/cert/X509CRLEntry.java
16692         java/security/cert/X509Certificate.java
16693         java/security/cert/X509Extension.java
16694         java/security/interfaces/DSAKey.java
16695         java/security/interfaces/DSAKeyPairGenerator.java
16696         java/security/interfaces/DSAParams.java
16697         java/security/interfaces/DSAPrivateKey.java
16698         java/security/interfaces/DSAPublicKey.java
16699         java/security/interfaces/RSAKey.java
16700         java/security/interfaces/RSAPrivateCrtKey.java
16701         java/security/interfaces/RSAPrivateKey.java
16702         java/security/interfaces/RSAPublicKey.java
16703         java/security/spec/AlgorithmParameterSpec.java
16704         java/security/spec/DSAParameterSpec.java
16705         java/security/spec/DSAPrivateKeySpec.java
16706         java/security/spec/DSAPublicKeySpec.java
16707         java/security/spec/EncodedKeySpec.java
16708         java/security/spec/InvalidKeySpecException.java
16709         java/security/spec/InvalidParameterSpecException.java
16710         java/security/spec/KeySpec.java
16711         java/security/spec/PKCS8EncodedKeySpec.java
16712         java/security/spec/RSAKeyGenParameterSpec.java
16713         java/security/spec/RSAPrivateCrtKeySpec.java
16714         java/security/spec/RSAPrivateKeySpec.java
16715         java/security/spec/RSAPublicKeySpec.java
16716         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16717         java/sql/BatchUpdateException.java java/sql/Blob.java
16718         java/sql/CallableStatement.java java/sql/Clob.java
16719         java/sql/Connection.java java/sql/DataTruncation.java
16720         java/sql/DatabaseMetaData.java java/sql/Date.java
16721         java/sql/Driver.java java/sql/DriverManager.java
16722         java/sql/DriverPropertyInfo.java
16723         java/sql/PreparedStatement.java java/sql/Ref.java
16724         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16725         java/sql/SQLData.java java/sql/SQLException.java
16726         java/sql/SQLInput.java java/sql/SQLOutput.java
16727         java/sql/SQLWarning.java java/sql/Statement.java
16728         java/sql/Struct.java java/sql/Time.java
16729         java/sql/Timestamp.java java/sql/Types.java
16730         java/text/Annotation.java
16731         java/text/AttributedCharacterIterator.java
16732         java/text/AttributedString.java
16733         java/text/AttributedStringIterator.java
16734         java/text/BreakIterator.java java/text/CharacterIterator.java
16735         java/text/ChoiceFormat.java java/text/Collator.java
16736         java/text/DateFormat.java java/text/DateFormatSymbols.java
16737         java/text/DecimalFormat.java
16738         java/text/DecimalFormatSymbols.java
16739         java/text/FieldPosition.java java/text/Format.java
16740         java/text/MessageFormat.java java/text/NumberFormat.java
16741         java/text/ParseException.java java/text/ParsePosition.java
16742         java/text/SimpleDateFormat.java
16743         java/text/StringCharacterIterator.java
16744         java/util/AbstractCollection.java java/util/AbstractList.java
16745         java/util/AbstractMap.java
16746         java/util/AbstractSequentialList.java
16747         java/util/AbstractSet.java java/util/ArrayList.java
16748         java/util/Arrays.java java/util/BasicMapEntry.java
16749         java/util/BitSet.java java/util/Calendar.java
16750         java/util/Collection.java java/util/Collections.java
16751         java/util/Comparator.java
16752         java/util/ConcurrentModificationException.java
16753         java/util/Date.java java/util/Dictionary.java
16754         java/util/EmptyStackException.java java/util/Enumeration.java
16755         java/util/EventListener.java java/util/EventObject.java
16756         java/util/GregorianCalendar.java java/util/HashMap.java
16757         java/util/HashSet.java java/util/Hashtable.java
16758         java/util/IdentityHashMap.java java/util/Iterator.java
16759         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16760         java/util/LinkedList.java java/util/List.java
16761         java/util/ListIterator.java java/util/ListResourceBundle.java
16762         java/util/Locale.java java/util/Map.java
16763         java/util/MissingResourceException.java
16764         java/util/NoSuchElementException.java
16765         java/util/Observable.java java/util/Observer.java
16766         java/util/Properties.java java/util/PropertyPermission.java
16767         java/util/PropertyResourceBundle.java java/util/Random.java
16768         java/util/RandomAccess.java java/util/ResourceBundle.java
16769         java/util/Set.java java/util/SimpleTimeZone.java
16770         java/util/SortedMap.java java/util/SortedSet.java
16771         java/util/Stack.java java/util/StringTokenizer.java
16772         java/util/TimeZone.java java/util/Timer.java
16773         java/util/TimerTask.java
16774         java/util/TooManyListenersException.java
16775         java/util/TreeMap.java java/util/TreeSet.java
16776         java/util/Vector.java java/util/WeakHashMap.java
16777         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16778         java/util/jar/JarException.java java/util/jar/JarFile.java
16779         java/util/jar/JarInputStream.java
16780         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16781         java/util/zip/Adler32.java java/util/zip/CRC32.java
16782         java/util/zip/CheckedInputStream.java
16783         java/util/zip/CheckedOutputStream.java
16784         java/util/zip/Checksum.java
16785         java/util/zip/DataFormatException.java
16786         java/util/zip/Deflater.java
16787         java/util/zip/DeflaterOutputStream.java
16788         java/util/zip/GZIPInputStream.java
16789         java/util/zip/GZIPOutputStream.java
16790         java/util/zip/Inflater.java
16791         java/util/zip/InflaterInputStream.java
16792         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16793         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16794         java/util/zip/ZipInputStream.java
16795         java/util/zip/ZipOutputStream.java
16796         javax/naming/BinaryRefAddr.java
16797         javax/naming/InvalidNameException.java javax/naming/Name.java
16798         javax/naming/NamingException.java javax/naming/RefAddr.java
16799         javax/naming/StringRefAddr.java: Add license clarification.
16800
16801 2002-01-22  Tom Tromey  <tromey@redhat.com>
16802
16803         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16804         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16805         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16806         version.
16807         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16808         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16809         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16810         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16811         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16812         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16813         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16814         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16815         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16816         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16817         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16818         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16819         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16820         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16821         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16822         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16823         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16824         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16825         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16826         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16827         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16828         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16829         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16830         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16831         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16832         (minimumSize, preferredSize, reshape): Likewise.
16833         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16834         getColorModel): New methods.
16835         * java/awt/PopupMenu.java: Merged with Classpath.
16836         * java/awt/MenuBar.java: Merged with Classpath.
16837         * java/awt/SystemColor.java: Replace with Classpath version.
16838         * java/awt/Panel.java: Merged with Classpath.
16839         * java/awt/PaintContext.java: Updated copyright.
16840         * java/awt/MenuShortcut.java: Merged with Classpath.
16841         * java/awt/MenuContainer.java: Merged with Classpath.
16842         * java/awt/Menu.java: Merged with Classpath.
16843         * java/awt/MediaEntry.java: New file from Classpath.
16844         * java/awt/MediaTracker.java: New file from Classpath.
16845         * java/awt/List.java: Merged with Classpath version.
16846         * java/awt/Insets.java: Merged with Classpath version.
16847         * java/awt/ImageMediaEntry.java: New file from Classpath.
16848         * java/awt/Image.java: Replaced with Classpath version.
16849         * java/awt/FontMetrics.java: Merged with Classpath version.
16850         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16851         constant.
16852         * java/awt/Font.java: Merged with Classpath version.
16853         * java/awt/Dialog.java: Merged with Classpath version.
16854         * java/awt/Color.java: Merged with Classpath version.
16855         * java/awt/Choice.java: Merged with Classpath version.
16856         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16857         * java/awt/Adjustable.java: Replace with Classpath version.
16858         * java/awt/MenuItem.java (paramString): Don't include class name
16859         or brackets.  Call superclass paramString.
16860         * java/awt/MenuComponent.java (toString): Call paramString.
16861         (paramString): Compute string; don't call toString.
16862         * java/awt/Label.java (paramString): Don't include class name
16863         or brackets.  Call superclass paramString.
16864         * java/awt/Checkbox.java (paramString): Don't include class name
16865         or brackets.  Call superclass paramString.
16866         * java/awt/Button.java (paramString): Don't include class name or
16867         brackets.  Call superclass paramString.
16868         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16869
16870 2002-01-20  Andreas Schwab  <schwab@suse.de>
16871
16872         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16873         function and of parameter recv_func to ssize_t, as specified by
16874         POSIX.
16875
16876 2002-01-19  Per Bothner  <per@bothner.com>
16877
16878         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16879         uncompressed_size in readiness for next entry.
16880
16881 2002-01-18  Tom Tromey  <tromey@redhat.com>
16882
16883         * java/net/natPlainSocketImpl.cc: Include
16884         IllegalArgumentException.h.
16885         (_Jv_recv): New template function.
16886         (BooleanClass): Removed.
16887         (read): Use _Jv_recv.
16888         (setOption): Use Boolean::class$.  Throw exception if object is
16889         not Boolean or Integer.
16890
16891 2002-01-17  Tom Tromey  <tromey@redhat.com>
16892
16893         * java/awt/MenuComponent.java: Merged with Classpath.
16894         * java/awt/MenuItem.java: Merged with Classpath.
16895         * java/awt/Button.java: Merged with Classpath.
16896
16897         * java/awt/ActiveEvent.java: Updated copyright.
16898
16899         * java/awt/AWTError.java: Replaced with Classpath version.
16900         * java/awt/AWTException.java: Replaced with Classpath version.
16901         * java/awt/IllegalComponentStateException.java: Replaced with
16902         Classpath version.
16903
16904 2002-01-16  Tom Tromey  <tromey@redhat.com>
16905
16906         * java/awt/Canvas.java (serialVersionUID): New constant.
16907         Updated copyright.  Added javadoc from Classpath.
16908         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16909
16910         * java/awt/CheckboxGroup.java: Merged with Classpath.
16911         * java/awt/Checkbox.java: Merged with Classpath.
16912
16913         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16914         Classpath.
16915         * java/awt/Point.java: Updated copyright.
16916
16917         * java/awt/Point.java (toString): Use getClass().getName().
16918         Added javadoc.
16919
16920         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16921         commented code.
16922         (hash): Correctly compute initial value for `h'.
16923
16924         * java/awt/Label.java: Merged with Classpath.
16925
16926 2002-01-15  Tom Tromey  <tromey@redhat.com>
16927
16928         * java/awt/AWTPermission.java: Updated copyright.
16929
16930         * java/awt/LayoutManager2.java: Merged with Classpath.
16931         * java/awt/LayoutManager.java: Merged with Classpath.
16932         * java/awt/GridLayout.java: Updated copyright and javadoc.
16933         (getSize): Use `parent.ncomponents'.  Handle insets.
16934         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16935         there are fewer children than columns.  Correctly compute size of
16936         each cell in the grid.  Handle case where there isn't enough
16937         space.
16938         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16939         all users.
16940         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16941         before calling setVisible() on it.  Last item is `num - 1', not
16942         `num'.
16943         (layoutContainer): Hoist invariants out of loop.
16944
16945         Start of AWT merge with Classpath:
16946         * Makefile.in: Rebuilt.
16947         * Makefile.am (awt_java_source_files): Reference files in
16948         gnu/java/awt, not gnu/gcj/awt.
16949         * java/awt/image/BufferedImage.java: Updated copyright.
16950         * java/awt/image/ComponentColorModel.java: Updated copyright.
16951         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16952         * java/awt/image/DataBuffer.java: Updated copyright.
16953         * java/awt/image/DataBufferByte.java: Updated copyright.
16954         * java/awt/image/DataBufferInt.java: Updated copyright.
16955         * java/awt/image/DataBufferUShort.java: Updated copyright.
16956         * java/awt/image/IndexColorModel.java: Updated copyright.
16957         * java/awt/image/PackedColorModel.java: Updated copyright.
16958         * java/awt/image/Raster.java: Updated copyright.
16959         * java/awt/image/RasterOp.java: Updated copyright.
16960         * java/awt/image/SampleModel.java: Updated copyright.
16961         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16962         * java/awt/image/WritableRaster.java: Updated copyright.
16963         * java/awt/color/ColorSpace.java: Updated copyright.
16964         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16965         * java/awt/color/ICC_Profile.java: Updated copyright.
16966         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16967         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16968         * java/awt/event/HierarchyEvent.java: Updated copyright.
16969         * java/awt/event/HierarchyListener.java: Updated copyright.
16970         * java/awt/geom/AffineTransform.java: Updated copyright.
16971         * java/awt/geom/Dimension2D.java: Updated copyright.
16972         * java/awt/geom/Ellipse2D.java: Updated copyright.
16973         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16974         * java/awt/geom/Line2D.java: Updated copyright.
16975         * java/awt/geom/NoninvertibleTransformException.java: Updated
16976         copyright.
16977         * java/awt/geom/PathIterator.java: Updated copyright.
16978         * java/awt/geom/Point2D.java: Updated copyright.
16979         * java/awt/geom/Rectangle2D.java: Updated copyright.
16980         * java/awt/geom/RectangularShape.java: Updated copyright.
16981         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16982         * java/awt/Toolkit.java: Updated import for file moves.
16983         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16984         Classpath.
16985         (hashCode): New method from Classpath.
16986         * java/awt/Graphics2D.java: Updated copyright.
16987         * java/awt/Transparency.java: Updated copyright.
16988         * java/awt/Paint.java: Updated copyright.
16989         * java/awt/Graphics.java: New version from Classpath.
16990         * java/awt/EventDispatchThread.java: Updated copyright.
16991         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16992         children.
16993         (gotoComponent): Wrap around on next/previous.
16994         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16995         * gnu/gcj/awt/Buffers.java: Removed.
16996         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16997         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16998         * gnu/java/awt/BitMaskExtent.java: Added.
16999         * gnu/java/awt/Buffers.java: Added.
17000         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17001         * gnu/java/awt/GLightweightPeer.java: Added.
17002         * java/awt/geom/Line2D.java (clone): Ignore
17003         CloneNotSupportedException.
17004         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17005         * java/awt/Frame.java: Merged with Classpath.
17006         * java/awt/RenderingHints.java: Copyright update.
17007         * java/awt/Paint.java: Copyright update.
17008         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17009         * java/awt/image/ColorModel.java: Merged with Classpath.
17010         * java/awt/Window.java (show): New Implementation from Classpath.
17011         (isShowing): Use super.isShowing().
17012         * java/awt/EventQueue.java: Merged with Classpath.
17013         * java/awt/AWTEventMulticaster.java (save): Throw
17014         RuntimeException.
17015         (saveInternal): Likewise.
17016         * java/awt/AWTEvent.java: Now implements Serializable.
17017         * java/awt/Event.java: Copyright update.
17018         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17019         * java/awt/image/BufferedImage.java: Copyright update.
17020         * java/awt/GraphicsConfiguration.java: Copyright update.
17021         * java/awt/Component.java: (addNotify): Don't call
17022         addNotifyContainerChildren().
17023         (addNotifyContainerChildren): Removed.
17024         (setPeer): New method from Classpath.
17025         (setTreeLock): Likewise.
17026         (setVisible): Rewrote.
17027         (show): Use it.
17028         (hide): Likewise.
17029         (validate): Set `valid'.
17030         (checkImage(Image,ImageObserver)): Implementation from Classpath.
17031         (createImage(ImageProducer)): Likewise.
17032         (prepareImage): Likewise.
17033         * java/awt/Container.java (addImpl): Handle case where constraint
17034         is not a String.  Post event via system event queue.
17035         (remove): Post event via system event queue.
17036         (validateTree): Only validate child if it is invalid.
17037         (getAlignmentX): Call super method as default.
17038         (getAlignmentY): Likewise.
17039         (addContainerListener): Now synchronized.
17040         (removeContainerListener): Likewise.
17041         (addNotifyContainerChildren): Now private.
17042         * java/awt/ComponentOrientation.java: Updated copyright.  Added
17043         @author.
17044         * java/awt/FlowLayout.java (serialVersionUID): New field.
17045         (setAlignment): Better exception message.
17046         (layoutContainer): Don't compute component's preferred size unless
17047         we're going to use it.
17048         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17049         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17050         (firstLine, lastLine, firstItem, lastItem): New fields.
17051         (addLayoutComponent): Handle case where constraints is null.
17052         Also, handle relative locations.
17053         (removeLayoutComponent): Handle relative locations.
17054         (MIN, MAX, PREF): New constants.
17055         (calcCompSize): New method.
17056         (calcSize): New method.
17057         (minimumLayoutSize): Use it.
17058         (preferredLayoutSize): Likewise.
17059         (maximumLayoutSize): Likewise.
17060         (toString): Include more information.
17061         (setBounds): New method.
17062         (layoutContainer): Use libgcj implementation; extended to handle
17063         relative locations.
17064
17065 2002-01-15  Tom Tromey  <tromey@redhat.com>
17066
17067         * java/lang/Float.java (equals): Preserve old code.
17068         * java/lang/Double.java (equals): Preserve old code.
17069
17070 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17071
17072         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17073         * java/lang/Float.java (equals, compare): Ditto.
17074
17075 2002-01-13  Mark Wielaard  <mark@klomp.org>
17076
17077         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17078         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17079         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17080         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17081
17082 2002-01-11  Mark Wielaard  <mark@klomp.org>
17083
17084         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17085         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17086         InetAddress.
17087         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17088         * java/net/Socket.java: Merge with Classpath.
17089         * java/net/ServerSocket.java: Likewise.
17090
17091 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17092
17093         * interpret.cc (NULLARRAYCHECK): New macro.
17094         (SAVE_PC): Just store `pc'.
17095         (find_exception): Subtract one from `pc' here.
17096         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17097         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17098         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17099         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17100         don't call SAVE_PC.
17101         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17102         call SAVE_PC.
17103
17104 2002-01-11  Tom Tromey  <tromey@redhat.com>
17105
17106         * java/lang/natSystem.cc (init_properties): Only look for default
17107         locale if LC_MESSAGES is defined.
17108         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17109         * configure.in: Call AM_LC_MESSAGES.
17110         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17111
17112 2002-01-10  Tom Tromey  <tromey@redhat.com>
17113
17114         For PR libgcj/5303:
17115         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17116         --version.  Recognize GNU-style long options.  Print GNU-style
17117         error messages.
17118         (usage): Print GNU-style help.  Exit with status 0.
17119         (error): New method.
17120         (run): Print error message if no class names found.
17121         (main): Don't print usage on error.
17122
17123 2002-01-09  Tom Tromey  <tromey@redhat.com>
17124
17125         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17126         property.
17127         (help, version): Use println(), not println("").
17128
17129         For PR libgcj/5303:
17130         * gnu/gcj/convert/Convert.java (error): Program is called
17131         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17132         -1.
17133         (main): Handle --help and --version.
17134         (help): New method.
17135         (version): Likewise.
17136
17137 2002-01-08  Tom Tromey  <tromey@redhat.com>
17138
17139         * Makefile.in: Rebuilt.
17140         * Makefile.am (ordinary_java_source_files): Added new files.
17141         * gnu/java/locale/LocaleInformation.java: Extend
17142         LocaleInformation_en.
17143         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17144         and time/date formats.
17145         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17146         generated.
17147         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17148         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17149         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17150         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17151         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17152         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17153         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17154         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17155         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17156         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17157         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17158         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17159         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17160         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17161         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17162         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17163         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17164         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17165         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17166         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17167         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17168         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17169         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17170         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17171         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17172         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17173         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17174         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17175         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17176         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17177         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17178         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17179         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17180         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17181         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17182         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17183         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17184         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17185         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17186         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17187         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17188         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17189         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17190         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17191         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17192         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17193         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17194         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17195         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17196         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17197         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17198         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17199         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17200         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17201         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17202         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17203         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17204         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17205         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17206         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17207         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17208         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17209         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17210         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17211         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17212         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17213         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17214         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17215         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17216         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17217         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17218         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17219         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17220         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17221         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17222         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17223         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17224         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17225         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17226         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17227         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17228         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17229         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17230         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17231         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17232         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17233         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17234         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17235         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17236         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17237         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17238         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17239         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17240         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17241         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17242         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17243         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17244         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17245         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17246         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17247         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17248         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17249         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17250         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17251         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17252         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17253         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17254         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17255         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17256         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17257         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17258         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17259         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17260         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17261         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17262         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17263         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17264         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17265         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17266         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17267         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17268         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17269         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17270         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17271         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17272         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17273         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17274         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17275         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17276         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17277
17278         For PR libgcj/5031:
17279         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17280         choose default locale.
17281
17282         * Makefile.in: Rebuilt.
17283         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17284
17285 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17286
17287         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17288         sockets.
17289         (close): New function closes the socket.
17290         (write): New functions for output to socket.
17291         (read): New functions for reading from socket.
17292         * java/net/PlainSocketImpl.java: Glue for new timeout
17293         implementation.
17294         (write): Call the native impl.
17295         (read): Likewise.
17296         (getInputStream): Get a stream to read from the socket.
17297         (getOutputStream): Get a stream to write to the socket.
17298
17299 2002-01-08  Tom Tromey  <tromey@redhat.com>
17300
17301         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17302
17303 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17304
17305         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17306         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17307
17308 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17309
17310         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17311         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17312         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17313         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17314         insn_bastore, insn_castore, insn_sastore]: Use it.
17315         (continue1) [insn_arraylength]: Check for null array.
17316
17317 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17318
17319         * configure, include/config.h.in: Rebuilt.
17320         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17321         * configure.in: Call AC_STRUCT_TIMEZONE.
17322
17323 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17324
17325         * configure.host: Disable the interpreter for Darwin.
17326
17327 2002-01-04  Tom Tromey  <tromey@redhat.com>
17328
17329         * java/lang/Thread.java (stop): No longer synchronized.
17330         (start): Likewise.
17331
17332 2002-01-02  Tom Tromey  <tromey@redhat.com>
17333
17334         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17335         patch.
17336
17337 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17338
17339         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17340         PPC Darwin, not for all of Darwin.