OSDN Git Service

2003-12-18 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-18  Michael Koch  <konqueror@gmx.de>
2
3         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
4         java.text.CollationElementIterator tests as they compile again.
5         * testsuite/libjava.mauve/xfails: Added failing
6         java.text.CollationElementIterator tests.
7
8 2003-12-18  Michael Koch  <konqueror@gmx.de>
9
10         * java/util/prefs/AbstractPreferences.java
11         (cachedChildren): New method.
12
13 2003-12-18  Michael Koch  <konqueror@gmx.de>
14
15         * java/util/TimeZone.java (getOffset): New method.
16
17 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
18  
19         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
20         of ActionEvents for mouse double-clicks.
21
22 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
23
24         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
25         null Graphics pointer returned by FileDialogPeer.
26
27 2003-12-17  Michael Koch  <konqueror@gmx.de>
28
29         * libltdl/stamp-h.in: Removed, not used anymore.
30
31 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
32
33         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
34         Removed unused InterruptedIOException.h include.
35         * gnu/java/net/natPlainSocketImplWin32.cc
36         (connect): Reset and ignore our thread's interrupted
37         flag instead of testing and throwing an InterruptedIOException
38         if set.
39         (accept): Likewise + changed case of SocketTimeoutException
40         text.
41         (write): Likewise (for both overloads).
42         (doRead): Likewise.
43
44 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
45
46         * win32.cc (WSAEventWrapper): Implemented default
47         constructor and init() methods.
48         (_Jv_select): Removed.
49         * gnu/java/nio/natSelectorImplWin32.cc
50         (helper_put_filedescriptors): Removed.
51         (helper_get_filedescriptors): Removed.
52         (implSelect): Implemented in terms of WSAEventWrapper
53         and WSAWaitForMultipleEvents instead of _Jv_select().
54         Added support for thread interruption.
55         * include/win32.h (WSAEventWrapper): Minor formatting
56         changes; added default constructor declaration, init(),
57         getFD() and getEventHandle() methods.
58         (_Jv_select): Removed.
59
60 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
61
62         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
63         (peekData): Throw SocketTimeoutException instead of
64         InterruptedIOException on timeout.
65         (receive): Likewise.
66         * gnu/java/net/natPlainSocketImplPosix.cc
67         (read): Made a minor exception text case change.
68
69 2003-12-16  Michael Koch  <konqueror@gmx.de>
70
71         Fix for PR libgcj/13056.
72         * libltdl/configure.in,
73         libltdl/config.h.in: Removed.
74         * libltdl/configure.ac,
75         libltdl/config-h.in,
76         libltdl/install-sh,
77         libltdl/config.guess,
78         libltdl/config.sub,
79         libltdl/missing,
80         libltdl/mkinstalldirs,
81         libltdl/ltmain.sh: New files.
82         * libltdl/Makefile.am,
83         libltdl/acinclude.m4,
84         libltdl/aclocal.m4,
85         libltdl/ltdl.c,
86         libltdl/ltdl.h,
87         libltdl/README: Update to versions from libtool 1.5.
88         libltdl/configure,
89         * libltdl/Makefile.in: Regenerated.
90         * java/lang/natRuntime.cc (find_symbol):
91         Use type 'lt_ptr' instead of 'lt_ptr_t'.
92
93 2003-12-16  Michael Koch  <konqueror@gmx.de>
94
95         * java/awt/MenuComponent.java
96         (serialVersionUID): Fixed value.
97
98 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
99
100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
101         (pre_event_handler): Handle GtkButton widgets differently as events
102         go to its event_window.
103         (connect_awt_hook): Remove compiler warning.
104
105 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
106
107         * java/io/ObjectInputStream.java
108         (lookupClass): New method.
109         (currentLoader): New method.
110         (inputGetObjectStreamClasses): New method.
111         (assignNewHandle): Documented.
112         (currentClassLoader): Documented.
113         * java/io/ObjectStreamClass.java
114         (setClass): Changed API. Better handling of the imported/exported
115         fields.
116         (getSerialPersistentFields): Make it throw previously caught exceptions
117         so they can handled in setClass.
118
119 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
120  
121         * java/io/ObjectStreamField.java: A few methods were added in prevision
122         of the upcoming upgrade of the serialization code. This also adds
123         some missing documentation.
124         (ObjectStreamField): We should throw a NullPointerException when 'name'
125         is null.
126
127  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
128   
129         * java/io/ObjectInputStream.java (setBooleanField):
130         Throw an InvalidClassException if the field hasn't the required type,
131         documentation added.
132         (setByteField) Likewise.
133         (setCharField) Likewise.
134         (setDoubleField) Likewise.
135         (setFloatField) Likewise.
136         (setIntField) Likewise.
137         (setShortField) Likewise.
138         (setLongField) Likewise.
139         (setObjectField) Likewise.
140
141 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
142            Helmer Kraemer <hkraemer@freenet.de>
143  
144         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
145         Splitted the method so we can specify an explicit boot loader.
146
147 2003-12-15  Graydon Hoare  <graydon@redhat.com>
148
149         * jni/gtk-peer/gdkfont.h: New file.
150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
151         include of cairo-xlib.h, add extra gdk_flush().
152
153 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
154
155         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
156         native state table -- native_global_ref_table.
157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
158         native_global_ref_table pointer.
159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
160         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
161         global reference is deleted and memory allocated for pointer freed.
162         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
163         JNI global reference instead of JNI local reference.
164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
165         (pre_event_handler): Remove compilation warning.
166         (connect_awt_hook): Use saved JNI global reference instead of creating
167         a new one.
168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
169         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
170         reference to the Java object.
171         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
172         unused variable declaration and add comment.
173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
174         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
175         reference to the Java object.
176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
177         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
179         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
180         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
181         JNI global reference instead of JNI local reference.
182         (item_toggled): Add debug statement.
183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
184         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
185         reference to the Java object.
186         (connect_choice_item_selectable_hook): Use saved JNI global references
187         instead of JNI local reference.
188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
189         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
190         global reference to the Java object.
191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
192         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
193         reference to the Java object.
194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
195         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
197         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
199         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
201         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
203         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
205         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
207         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
208         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
209         JNI global reference instead of JNI local reference.
210         (item_selected): Add debug statement.
211         (item_unselected): Add debug statement.
212         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
213         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
214         reference to the Java object.
215         Connect "activate" signal handler using global JNI reference.
216         (connect_activate_hook): Removed in favor of inline code.
217         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
218         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
219         reference to the Java object.
220         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
221         JNI global reference instead of JNI local reference.  Add FIXME comment.
222         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
223         reference to the Java object.  Add FIXME comment.
224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
225         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
226         reference to the Java object.
227         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
228         JNI global reference instead of JNI local reference.
229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
230         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
231         saved JNI global reference instead of JNI local reference.
232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
233         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
234         reference to the Java object.
235         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
236         JNI global reference instead of JNI local reference.
237
238 2003-12-11  Michael Koch  <konqueror@gmx.de>
239
240         * java/text/Format.java (serialVersionUID): Fixed value.
241
242 2003-12-11  Michael Koch  <konqueror@gmx.de>
243
244         * javax/naming/event/EventDirContext.java: Jalopied.
245         (addNamingListener): Fixed typo in method name.
246         
247
248 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
249
250         * gnu/java/nio/SocketChannelImpl.java
251         (write): Removed diagnostic trace.
252         * gnu/java/nio/natSelectorImplPosix.cc: Added
253         includes for java.lang.Thread and java.io.InterruptedIOException.
254         (helper_put_filedescriptors): Don't put invalid file descriptors
255         in select set.
256         (helper_get_filedescriptors): Clear invalid file descriptors
257         from select set.
258         (helper_reset): New method for clearing our file descriptor
259         array.
260         (implSelect): Correctly calculate timeout if specified and
261         legal.
262         Intercept and deal with any java.io.InterruptedIOException
263         thrown by _Jv_select().
264
265 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
266
267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
268         Most coded moved to pre_event_handler, with the modifications
269         mentioned below.
270         (pre_event_handler): New function.  Called on the Gtk "event" signal.
271         Do not retrieve the jobject from the window property as it is already
272         available as user data in the signal.
273         Do not try and find the grab widget as it is already done by Gtk at
274         this point.
275         Do not search for Window ancestor as Gtk already sends the signal to it.
276         Do not meddle with the activation state of peer widgets on each
277         key press or release.
278         Add CList to the special handling when looking for the focused widget.
279         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
281         New function.
282         (connectSignals): New function.
283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
284         Rename to...
285         (connectSignals): New name.  Get rid of NewGlobalRef call.
286         Use g_signal_connect instead of deprecated gtk_signal_connect.
287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
288         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
289         deprecated gtk_signal_connect.
290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
293         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
295         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
296         function.
297         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
298         function.
299         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
300         function.
301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
302         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
303         function.
304         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
305         function.
306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
307         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
308         function.
309         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
310         function.
311         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
312         function.
313         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
314         code.
315         (item_select): Remove indirection.
316         (item_unselect): Ditto.
317         (connect_selectable_hook): Folded into connectSignals.
318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
319         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
320         function.
321         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
322         function.
323         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
324         function.
325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
328         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
329         function.
330         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
331         function.
332         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
333         connectJObject and connectSignals instead of connectHooks.
334         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
335         connectSignals.
336         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
337         and not connectHooks.
338         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
339         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
340         and not connectHooks.
341         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
342         connectSignals instead of connectHooks.
343         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
344         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
345         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
346
347 2003-12-09  Michael Koch  <konqueror@gmx.de>
348
349         * Makefile.am (nat_headers_install): New variable with header files to
350         install automatically.
351         (install-data-local): Install all headers listed in
352         nat_headers_install. Install innert nat headers explicitely.
353         * Makefile.in: Regenerated.
354
355 2003-12-09  Michael Koch  <konqueror@gmx.de>
356
357         * java/util/Calendar.java,
358         java/util/IdentityHashMap.java,
359         java/util/prefs/Preferences.java:
360         Import used classes explicitely.
361
362 2003-12-09  Michael Koch  <konqueror@gmx.de>
363
364         * java/net/DatagramSocket.java
365         (close): Directly return if socket is closed.
366         * java/net/ServerSocket.java
367         (close): Directly return if socket is closed.
368         * java/net/Socket.java
369         (close): Directly return if socket is closed.
370
371 2003-12-09  Michael Koch  <konqueror@gmx.de>
372
373         * gnu/java/nio/SelectorImpl.java
374         (implSelect): Throws IOException.
375         (select): Likewise.
376
377 2003-12-08  Kim Ho  <kho@redhat.com>
378
379         Fix for Checkbox states.
380         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
381         (currentState): New field.
382         (nativeCreate): Add initial state parameter.
383         (create): Changed to reflect new parameter.
384         (setState): Fire only on changed states.
385         (postItemEvent): Fire only on changed states. Also change the 
386         Java Checkbox to reflect new state.
387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
388         (nativeCreate): Add parameter and set active state.
389
390 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
391  
392         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
393         object of type expected by specified DataFlavor.
394
395 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
396  
397         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
398         error which was clipping off the first character of a parameter value.
399
400 2003-12-08  Olga Rodimina <rodimina@redhat.com>
401
402         * java/awt/Polygon.java
403         (translate): Fixed error that caused polygon 
404         to move right/left when up/down translation was required.
405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
406         (getSelectionStart): Initialized start position to 0. 
407         (getSelectionEnd): Initialized end position to 0.
408         (getCaretPosition): Initialized caret position to 0.
409         (getText): Initialized selected text to NULL 
410
411 2003-12-08  Michael Koch  <konqueror@gmx.de>
412
413         Fix for PR libgcj/13176.
414         * java/io/PrintStream.java: Partly revert my previous patches to get
415         (line_separator): New field.
416         (converter): New field.
417         (work): New field.
418         (work_bytes): New field.
419         (pw): Removed.
420         (closed): Removed.
421         (PrintStrean): Initialize converter and not pw.
422         (checkError): Flush always, pw doesn't exist anymore.
423         (close): Close underlying out stream.
424         (print): New method.
425         (writeChars): New method.
426         (print): Use new internal print method.
427         (println): Likewise.
428
429 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
430
431         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
432         putAllInternal.
433         (putAllInternal): Correct comment.
434         * java/util/HashMap.java (HashMap(Map)): As above.
435         (putAllInternal): As above.
436
437 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
438
439         * java/util/Hashtable.java (internalContainsValue): Removed.
440         (containsValue): Don't delegate to internalContainsValue.
441
442 2003-12-06  Michael Koch  <konqueror@gmx.de>
443
444         * javax/naming/directory/Attribute.java,
445         javax/naming/directory/Attributes.java,
446         javax/naming/directory/DirContext.java,
447         javax/naming/directory/InitialDirContext.java,
448         javax/naming/directory/SearchResult.java,
449         javax/naming/event/EventContext.java,
450         javax/naming/event/NamingEvent.java,
451         javax/naming/event/NamingExceptionEvent.java,
452         javax/naming/ldap/ControlFactory.java,
453         javax/naming/ldap/ExtendedRequest.java,
454         javax/naming/ldap/HasControls.java,
455         javax/naming/ldap/InitialLdapContext.java,
456         javax/naming/ldap/LdapContext.java,
457         javax/naming/ldap/LdapReferralException.java,
458         javax/naming/ldap/UnsolicitedNotification.java,
459         javax/naming/ldap/UnsolicitedNotificationListener.java,
460         javax/naming/spi/DirObjectFactory.java,
461         javax/naming/spi/DirStateFactory.java,
462         javax/naming/spi/DirectoryManager.java,
463         javax/naming/spi/NamingManager.java,
464         javax/naming/spi/ObjectFactoryBuilder.java,
465         javax/naming/spi/ResolveResult.java,
466         javax/naming/spi/Resolver.java,
467         javax/naming/spi/StateFactory.java:
468         Import used classes explicitely.
469
470 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
471
472         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
473         (clip): Removed field
474         (clipRectangles): New field.
475         (clone): Use new updateClip.
476         (setClipRectangles): Use new updateClip.
477         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
478
479 2003-12-04  Michael Koch  <konqueror@gmx.de>
480
481         * java/io/FilePermission.java:
482         Import used classes explicitely.
483
484 2003-12-04  Michael Koch  <konqueror@gmx.de>
485
486         * java/beans/BeanDescriptor.java,
487         java/beans/EventSetDescriptor.java,
488         java/beans/FeatureDescriptor.java,
489         java/beans/IndexedPropertyDescriptor.java,
490         java/beans/Introspector.java,
491         java/beans/MethodDescriptor.java,
492         java/beans/PropertyDescriptor.java,
493         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
494         * java/beans/beancontext/BeanContextServicesSupport.java
495         (serialVersionUID): New field.
496
497 2003-12-04  Michael Koch  <konqueror@gmx.de>
498
499         * java/awt/MenuComponent.java: Import java.io.Serialization.
500         * java/awt/MenuItem.java: Likewise.
501         * java/awt/TextComponent.java: Likewise.
502         * java/awt/image/ImagingOpException.java
503         (serialVersionUID): Fixed.
504
505 2003-12-04  Michael Koch  <konqueror@gmx.de>
506
507         * gnu/java/net/protocol/http/Connection.java
508         (sendRequest): Merged writing http headers with classpath.
509         (getInputStream): Merged documentation from classpath.
510         (getHeaderField): Likewise.
511         (getHeaderFieldKey): Likewise.
512
513 2003-12-04  Michael Koch  <konqueror@gmx.de>
514
515         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
516
517 2003-12-04  Michael Koch  <konqueror@gmx.de>
518
519         * java/net/DatagramPacket.java
520         (length): Made packge-private to make it accessible via CNI.
521         (maxlen): New field.
522         (DatagramPacket): Cleaned up.
523         (setSocketAddress): Add message to exception.
524         (setData): Call other setData().
525         (setData): Call setLength().
526         (setLength): Initialize maxlen too.
527         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
528         Get maximal length from maxlen field, set length field directly.
529         (receive): Likewise.
530         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
531         Get maximal length from maxlen field, set length field directly.
532         (receive): Likewise.
533
534 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
535
536         * gnu/java/nio/natSelectorImplPosix.cc
537         (implSelect): A timeout of 0 means an infinite
538         timeout.
539
540 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
541  
542         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
543         of ActionEvents.
544
545 2003-12-03  Michael Koch  <konqueror@gmx.de>
546
547         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
548         * java/lang/natClass.cc (getSigners): Likewise.
549         (setSigners): Likewise.
550
551 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
552
553         * configure.in: Added new MinGW-specific configure flag
554         --with-win32-nlsapi.
555         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
556         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
557         is set to unicows.
558         * configure: Rebuilt.
559         * include/config.h.in: Rebuilt.
560         * win32.cc (_Jv_Win32NewString): Implemented.
561         (nativeToUnicode): New helper function defined only for
562         non-UNICODE builds.
563         (unicodeToNative): Likewise.
564         (_Jv_Win32TempString): Implemented.
565         (lots): Refactored using tchar.h macros.
566         (WSAEventWrapper): Use _Jv_Win32NewString.
567         (_Jv_platform_initialize): Use GetModuleFileNameA instead
568         of GetModuleFileName.
569         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
570         Use temporary stack buffer instead of a heap buffer.
571         * include/win32.h
572         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
573         defined; added tchar.h include.
574         (_Jv_Win32TempString): Declared new helper class.
575         (JV_TEMP_STRING_WIN32): New helper macro.
576         (_Jv_Win32NewString): Declared new helper method.
577         * java/io/natFileDescriptorWin32.cc (open): Use
578         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
579         (write): Reformatted slightly.
580         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
581         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
582         (getCanonicalPath): Use _Jv_Win32NewString instead of
583         JvNewStringUTF.
584         (performList): Likewise.
585         * java/lang/natWin32Process.cc (ChildProcessPipe):
586         Use tchar.h macros.
587         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
588         and UNICODE environment flag for CreateProcess.
589         * java/net/natNetworkInterfaceWin32.cc
590         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
591         _Jv_Win32NewString.
592
593 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
594
595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
596         (initState): Mark obj parameter as unused.
597         (stringWidth): Mark obj parameter as unused.  Initialize
598         font_name properly.
599
600         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
601         BufferedImageBuilder class static.
602
603 2003-12-02  Mark Wielaard  <mark@klomp.org>
604
605         * java/security/Security.java: Don't use &nbsp; in the api doc.
606
607 2003-12-02  Dalibor Topic <robilad@kaffe.org>
608
609         Reported by: Jim Pick <jim@kaffe.org>
610         * libraries/javalib/java/util/Hashtable.java
611         (internalcontainsValue): New method.
612         (contains): Delegate to internalContainsValue.
613         
614         Reported by: Mark Wielaard  <mark@klomp.org>
615         * libraries/javalib/java/util/Hashtable.java
616         (contains): Improved comment.
617         
618         Reported by: Jeroen Frijters  <jeroen@frijters.net>
619         * libraries/javalib/java/util/Hashtable.java
620         (containsValue): Delegate to contains(Object) to make sure older
621         code overwriting it continues to work.
622
623 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
624
625         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
626         method. Handle mouse and key events that must generate
627         ActionEvents.
628         * java/awt/List.java (getSelectedIndex): Return -1
629         if no list element is selected.
630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
631         Correct handling of mouse and key events so that List receives them.
632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
633         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
634         multiple list elements. 
635
636 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
637
638         * java/text/SimpleDateFormat.java (compileFormat):
639         isLowerCase() and isUpperCase() allow too many characters.
640         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
641
642 2003-12-02  Dalibor Topic <robilad@kaffe.org>
643
644         * java/text/FieldPosition.java (equals): Fixed comment.
645
646 2003-12-02  Mark Wielaard  <mark@klomp.org>
647
648         Reported by Archie Cobbs:
649         * java/security/DigestInputStream.java (read(byte[], int, int): Call
650         digest.update() with temp, not len as lenght.
651
652 2003-12-02  Michael Koch  <konqueror@gmx.de>
653
654         * java/net/DatagramSocket.java
655         (close): Close associated DatagramChannel object.
656         * java/net/ServerSocket.java
657         * java/net/Socket.java
658         (close): Reset impl and bound before calling getChannel().close() to
659         prevent from loops.
660
661 2003-12-02  Michael Koch  <konqueror@gmx.de>
662
663         * java/nio/channels/spi/AbstractInterruptibleChannel.java
664         (opened): Removed.
665         (closed): New field.
666         (close): Check of channel is closed already.
667         (isOpen): Return !closed.
668
669 2003-12-02  Michael Koch  <konqueror@gmx.de>
670
671         * gnu/java/nio/DatagramChannelImpl.java
672         (blocking): Initialize with true by default.
673         * gnu/java/nio/ServerSocketChannelImpl.java
674         (serverSocket): Made private.
675         (blocking): Likewise.
676         (connected): Likewise.
677         * gnu/java/nio/SocketChannelImpl.java
678         (connectionPending): Made private.
679         * gnu/java/nio/FileLockImpl.java
680         (static): Load native library (needed for classpath).
681         * gnu/java/nio/SelectorImpl.java
682         (static): Load native library (needed for classpath).
683
684 2003-12-02  Michael Koch  <konqueror@gmx.de>
685
686         * gnu/java/net/protocol/file/Connection.java
687         (getLastModified): Implement for file connections.
688         (getContentLength): Likewise.
689
690 2003-12-02  Michael Koch  <konqueror@gmx.de>
691
692         * gnu/java/net/protocol/file/Connection.java:
693         Some reformating.
694         (file): Renamed from fileIn.
695         (getPermission): Moved around.
696
697 2003-12-02  Michael Koch  <konqueror@gmx.de>
698
699         * gnu/java/net/protocol/jar/Connection.java
700         (Connection): Made class final, merged documentation with classpath.
701         (file_cache): Made private.
702         (jar_file): Renamed from jarfile.
703
704 2003-12-02  Michael Koch  <konqueror@gmx.de>
705
706         * gnu/java/net/protocol/http/Connection.java
707         (Connection): Initialize doOutput to false;
708         (connect): Initialize inputStream, moved "send request" code to new
709         method.
710         (sendRequest): New method.
711         (getHttpHeaders): Don't reinitialize inputStream.
712
713 2003-12-02  Michael Koch  <konqueror@gmx.de>
714
715         * gnu/java/net/protocol//http/Connection.java
716         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
717         (requestProperties): Initialize, documentation added.
718         (inputStream): Renamed from bufferedIn.
719         (Connection): Dont initialize requestProperties.
720         (setDefaultRequestProperty): Removed.
721         (getDefaultRequestProperty): Removed.
722         (usingProxy): Documentation added.
723         (getHttpHeaders): Likewise.
724
725 2003-12-02  Michael Koch  <konqueror@gmx.de>
726
727         * java/text/DateFormat.java:
728         Explicitely import used classes.
729
730 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
731
732         * verify.cc (state::clean_subrs): Clear seen_subrs.
733         (state::copy): Walk seen_subrs from copy, not `this'.
734         Don't clear seen_subrs.
735
736 2003-12-01  Kim Ho <kho@redhat.com>
737
738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
739         Disable wrapping if TextArea has horizontal scroll bars.
740
741 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
742
743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
744         (awt_event_handler): Hard-code inset values.
745
746         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
747         Pass font name, not XLFD, to initState.
748         (stringWidth(String, int, String)): New method.
749         (stringWidth(String)): Call new stringWidth.
750         (getLeading): Always return 0.
751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
752         (initState): New Pango implementation.
753         (stringWidth): Likewise.
754
755 2003-12-01  Olga Rodimina <rodimina@redhat.com>
756
757         * java/awt/TextComponent.java:
758         (getSelectionStart): Updated javadocs.
759         (getSelectionEnd): Ditto.
760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
761         (getSelectionStart): Changed to return caret position if no
762         text is selected
763         (getSelectionEnd): Ditto.
764
765 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
766
767         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
768         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
769         gnu/awt/gtk/GtkContainerPeer.java,
770         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
771         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
772         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
773         gnu/awt/gtk/natGtkComponentPeer.cc,
774         gnu/awt/gtk/natGtkContainerPeer.cc,
775         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
776         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
777         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
778
779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
780         (closed): Mark loader parameter as unused.
781
782 2003-12-01  Michael Koch  <konqueror@gmx.de>
783
784         * gnu/java/net/protocol/http/Connection.java
785         (Connection): Merged class documentation.
786         (socket): Renamed from sock.
787         (Connection): Made protected, documentation added.
788         (connect): Give URL'S host instead of InetAddress to Socket
789         constructor.
790         (disconnect): Documentation added.
791         (getOutputStream): Rewrapped.
792
793 2003-12-01  Michael Koch  <konqueror@gmx.de>
794
795         * gnu/java/net/protocol/file/Connection.java
796         (fileIn): Documentation added.
797         (inputStream): Likewise.
798         (outputStream): Likewise.
799         (Connection): Likewise.
800         (connect): Simplified.
801
802 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
803
804         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
805         setProperties): Check that io is not null before calling
806         io.imageUpdate.
807         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
808         Update javadocs.
809         * java/awt/image/PixelGrabber.java: Fix implementation and
810         update javadocs.
811
812 2003-12-01  Michael Koch  <konqueror@gmx.de>
813
814         * gnu/java/net/natPlainSocketImplPosix.cc
815         bind(): Dont set SockedImpl.address field on succesful bind.
816         * gnu/java/net/natPlainSocketImplWin32.cc
817         bind(): Likewise.
818
819 2003-11-30  Jeff Sturm <jsturm@one-point.com>
820
821         * java/net/InetAddress.java:
822         (static): Don'f force DNS request for ANY_IF address.
823
824 2003-11-30  Michael Koch  <konqueror@gmx.de>
825
826         * java/net/InetAddress.java,
827         java/net/natInetAddressNoNet.cc,
828         java/net/natInetAddressPosix.cc,
829         java/net/natInetAddressWin32.cc:
830         Reverted my last patch.
831
832 2003-11-28  Michael Koch  <konqueror@gmx.de>
833
834         * java/net/InetAddress.java
835         (lookup): New method that doesnt lookup "0.0.0.0".
836         (ImplLookup): Renamed from lookup.
837         * java/net/natInetAddressNoNet.cc
838         (ImplLookup): Renamed from lookup.
839         * java/net/natInetAddressPosix.cc
840         (ImplLookup): Renamed from lookup.
841         * java/net/natInetAddressWin32.cc
842         (ImplLookup): Renamed from lookup.
843
844 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
845
846         * configure: Rebuilt.
847         * configure.in: Require gtk and glib 2.2.0.
848
849 2003-11-27  Dalibor Topic <robilad@kaffe.org>
850
851         * java/text/FieldPosition.java (equals): Adapted to handle
852         field_attribute. Added fast-circuit check for comparison to self.
853         Replaced use of instanceof by getClass to fix symmetry for derived
854         types.
855         (toString): Adapted to handle field_attribute. Improved readability.
856         (hashCode): New method.
857
858 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
859
860         * java/text/FieldPosition.java (field_attribute): New field.
861         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
862         getFieldAttribute): New methods.
863
864 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
865
866         * java/text/DecimalFormatSymbols.java (locale): New field.
867         (DecimalFormatSymbols (Locale)): Set locale.
868         (serialVersionOnStream): Upgraded to number 2.
869         (readObject): Assign locale if it wasn't by the serializer.
870
871 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
872
873         * java/text/FormatCharacterIterator.java: Documented the class and
874
875 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
876
877         * java/text/FormatCharacterIterator.java: Fixed some typos.
878
879 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
880
881         * java/text/NumberFormat.java:
882         (getIntegerInstance) Added the java version in the comments.
883
884 2003-11-27  Mark Wielaard  <mark@klomp.org>
885
886         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
887         (readResolve): Reformat.
888
889 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
890
891         * java/text/NumberFormat.java
892         (NumberFormat.Field): New implemented class to match Java 1.4. 
893         (getIntegerInstance): Two new Java 1.4 methods.o
894
895 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
896
897         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
898         the leap day of the leap year twice.
899         (computeFields): First week of month is 1 not 0.
900
901 2003-11-27  Mark Wielaard  <mark@klomp.org>
902
903         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
904         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
905
906 2003-11-27  Michael Koch  <konqueror@gmx.de>
907
908         * javax/swing/UIDefaults.java:
909         Reformated to match classpath's version.
910
911 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
912
913         * javax/swing/UIManager.java (getDefaults, getDimension,
914         getIcon, getInsets, getInstalledLookAndFeels, getInt,
915         getLookAndFeel, getString, getSystemLookAndFeelClassName):
916         Declare as public.
917
918 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
919
920         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
921         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
922         isSignificant): Likewise.
923
924 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
925
926         * javax/swing/undo/CompoundEdit.java: Re-format, document.
927         (inProgress): Set initial value to true.
928         (undo, redo, die, canUndo, canRedo): Also call inherited
929         implementation; simplify code structure.
930         (getPresentationName, getUndoPresentationName,
931         getRedoPresentationName): Make behavior dependent on lastEdit.
932         (addEdit, isSignificant): Completely re-written.
933
934 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
935
936         * javax/swing/undo/StateEdit.java: Re-format, document.
937         (undo, redo): Also call inherited implementation.
938
939 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
940
941         * javax/swing/undo/StateEditable.java: Re-format, document.
942
943 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
944
945         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
946         (AbstractUndoableEdit): Initialize hasBeenDone to true.
947         (canUndo, canRedo): Simplify.
948         (getUndoPresentationName, getRedoPresentationName): Support
949         localized message; call getPresentationName() only once.
950
951 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
952
953         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
954         (ZipFile(File,int)): Likewise.
955
956 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
957
958         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
959         (putAllInternal): Likewise.
960         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
961         (putAllInternal): Likewise.
962
963 2003-11-26  Michael Koch  <konqueror@gmx.de>
964
965         * java/net/URLStreamHandler.java
966         (parseURL): Added comment in catch statement.
967         (canonicalizeFilename): Add documentation.
968         (sameURL): Completed documentation.
969         (equals): Likewise.
970         (hostsEqual): Likewise.
971         (getDefaulPort): Likewise.
972         (hashCode): Likewise.
973         (toExternalForm): Likewise.
974         (getHostName): Fix empty hostname check, completed documentation.
975
976 2003-11-26  Tom Tromey  <tromey@redhat.com>
977
978         * java/lang/natDouble.cc (parseDouble): Reverted patch of
979         2003-11-13.
980
981 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
982             Mark Wielaard  <mark@klomp.org>
983
984         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
985         ('@' should be checked to distinguish port from userinfo).
986         (toExternalForm): Add @ userInfo if necessary.
987
988
989 2003-11-26  Michael Koch  <konqueror@gmx.de>
990
991         * java/net/DatagramSocket.java
992         (DategramSocket, bind): Moved binding code from DatagramSocket
993         constructor to bind method.
994
995 2003-11-26  Michael Koch  <konqueror@gmx.de>
996
997         * java/net/DatagramSocket.java
998         (impl): Made private.
999         (bound): New private member variable.
1000         (DatagramSocket): Fixed documentation, use getImpl().
1001         (getImpl): New package-private method.
1002         (isClosed): Use getImpl().
1003         (getLocalAddress): Completed documentation, use getImpl().
1004         (getLocalPort): Use getImpl().
1005         (getSoTimeout): Likewise.
1006         (setSoTimeout): Likewise.
1007         (getSendBufferSize): Likewise.
1008         (setSendBufferSize): Likewise.
1009         (getReceiveBufferSize): Likewise.
1010         (setReceiveBufferSize): Likewise.
1011         (connect): Likewise.
1012         (disconnect): Likewise.
1013         (receive): Likewise.
1014         (send): Likewise.
1015         (setReuseAddress): Likewise.
1016         (setTrafficClass): Likewise.
1017         (bind): Added message to exception.
1018         (isClosed): Completed documentation.
1019         (getChannel): Likewise.
1020         (connect): Added missing exception, refined exception message.
1021         (isBound): Completed documentation, just return bound.
1022         (isConnected): Completed documentation.
1023         (getRemoteSocketAddress): Likewise.
1024         (getReuseAddress): Completed documentation, use getImpl().
1025         (setSoBroadcast): Likewise.
1026         (getSoBroadcast): Likewise.
1027         (getTrafficClass): Likewise.
1028         (getLocalSocketAddress): Simplified.
1029         * java/net/MulticastSocket.java
1030         (MulticastSocket): Removed comment not applying anymore.
1031         (getInterface): Use getImpl().
1032         (getTTL): Likewise.
1033         (getTimeToLive): Likewise.
1034         (setInterface): Likewise.
1035         (setNetworkInterface): Likewise.
1036         (getNetworkInterface): Likewise.
1037         (setLoopback): Likewise.
1038         (getLoopback): Likewise.
1039         (setTTL): Likewise.
1040         (setTimeToLive): Likewise.
1041         (joinGroup): Likewise.
1042         (leaveGroup): Likewise.
1043         (send): Likewise.
1044
1045 2003-11-26  Michael Koch  <konqueror@gmx.de>
1046
1047         * java/net/Socket.java
1048         (implCreated): Dont set default value explicitely, added
1049         documentation.
1050         (inputShutdown): Likewise.
1051         (outputShutdown): Likewise.
1052         (bound): New private member variable.
1053         (bind): Set bound to true.
1054         (close): Set bound to false.
1055         (isBound): Return bound.
1056         * java/net/ServerSocket.java
1057         (bound): New private member variable.
1058         (bind): Set bound to true.
1059         (close): Set bound to false.
1060         (isBound): Return bound.
1061
1062 2003-11-26  Michael Koch  <konqueror@gmx.de>
1063
1064         * java/net/URL.java
1065         (URL): Fixed documentation to be HTML compliant.
1066         (getContent): Completed documentation.
1067         (getFile): Likewise.
1068         (getPath): Likewise.
1069         (getAuthority): Likewise.
1070         (getHost): Likewise.
1071         (getDefaultPort): Likewise.
1072         (getProtocol): Likewise.
1073         (hashCode): Likewise.
1074         (openConnection): Likewise.
1075         (openStream): Likewise.
1076         (set): Likewise.
1077         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1078
1079 2003-11-26  Michael Koch  <konqueror@gmx.de>
1080
1081         * java/net/InetSocketAddress.java
1082         (hostname): Made private, added documentation.
1083         (addr): Likewise.
1084         (port): Likewise.
1085         (equals): Completed documentation.
1086         (getAddress): Likewise.
1087         (getHostName): Likewise.
1088         (getPort): Likewise.
1089         (hashCode): Likewise.
1090         (isUnresolved): Likewise.
1091         (toString): Likewise.
1092
1093 2003-11-26  Michael Koch  <konqueror@gmx.de>
1094
1095         * gnu/java/net/protocol/file/Handler.java
1096         (Handler): New explicit constructor.
1097         (openConnection): Added documentation.
1098         * gnu/java/net/protocol/jar/Handler.java
1099         (Handler): New explicit constructor.
1100         (openConnection): Added documentation.
1101
1102 2003-11-26  Michael Koch  <konqueror@gmx.de>
1103
1104         * java/net/DatagramPacket.java
1105         (DatagramPacket): Fixed documentation to become legal HTML.
1106
1107 2003-11-25  Michael Koch  <konqueror@gmx.de>
1108
1109         * gcj/javaprims.h: Added missing java.util.Currency.
1110
1111 2003-11-25  Michael Koch  <konqueror@gmx.de>
1112
1113         * testsuite/libjava.mauve/xfails:
1114         Removed these two tests, they mystically pass now:
1115         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1116         test_params failed - 5getInetAddress did not return proper values
1117         (number 1)
1118         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1119         test_BasicServer failed - 11 exception was thrown :Illegal seek
1120         (number 1)
1121
1122 2003-11-25  Michael Koch  <konqueror@gmx.de>
1123
1124         * java/net/DatagramSocket.java
1125         (factory): Made private.
1126         (closed): Removed.
1127         (DatagramSocket): Check impl argument, use constructor with
1128         SocketAddress argument.
1129         (close): Set impl to null, use isClosed().
1130         (isClosed): Check for impl == null.
1131         (getLocalAddress): Use isClosed().
1132         (getLocalPort): Check if socket is closed.
1133         (getSoTimeout): Likewise.
1134         (setSoTimeout): Likewise.
1135         (getSendBufferSize): Likewise.
1136         (setSendBufferSize): Likewise.
1137         (getReceiveBufferSize): Likewise.
1138         (setReceiveBufferSize): Likewise.
1139         (receive): Likewise.
1140         (send): Likewise.
1141         (bind): Likewise.
1142         (connect): Likewise.
1143         (setReuseAddress): Likewise.
1144         (getReuseAddress): Likewise.
1145         (setBroadcast): Likewise.
1146         (getBroadcast): Likewise.
1147         (setTrafficClass): Likewise.
1148         (getTrafficClass): Likewise.
1149         * java/net/MulticastSocket.java
1150         (getInterface): Check if socket is closed.
1151         (getTTL): Likewise.
1152         (getTimeToLive): Likewise.
1153         (setInterface): Likewise.
1154         (setNetworkInterface): Likewise.
1155         (getNetworkInterface): Likewise.
1156         (setLoopbackMode): Likewise.
1157         (setTTL): Likewise.
1158         (setTimeToLive): Likewise.
1159         (joinGroup): Likewise.
1160         (leaveGroup): Likewise.
1161         (send): Likewise.
1162         * java/net/ServerSocket.java
1163         (closed): Removed.
1164         (close): Check if socket is closed, set impl to null.
1165         (isClosed): Check impl == null;
1166         (ServerSocket): Check impl argument.
1167         (getInetAddress): Check if socket is bound.
1168         (getLocalPort): Likewise.
1169         (getLocalSocketAddress): Likewise.
1170         (bind): Check if socket is closed.
1171         (implAccept): Likewise.
1172         (setSoTimeout): Likewise.
1173         (getSoTimeout): Likewise.
1174         (setReuseAddress): Likewise.
1175         (getReuseAddress): Likewise.
1176         (setReceiveBufferSize): Likewise.
1177         (getReceiveBufferSize): Likewise.
1178         (toString): Make output compliant to JDK 1.4.2.
1179         * java/net/Socket.java
1180         (closed): Removed.
1181         (Socket): Fixed documentation.
1182         (connect): Check if socket is closed, changed exception text,
1183         fixed documentation.
1184         (getInputStream): Check of socket is closed  and connected.
1185         (getOutputStream): Likewise.
1186         (bind): Check if socket is closed.
1187         (setTcpNoDelay): Likewise.
1188         (getTcpNoDelay): Likewise.
1189         (setSoLinger): Likewise.
1190         (getSoLinger): Likewise.
1191         (sendUrgentData): Likewise.
1192         (setOOBInline): Likewise.
1193         (getOOBInline): Likewise.
1194         (setSoTimeout): Likewise.
1195         (getSoTimeout): Likewise.
1196         (setSendBufferSize): Likewise.
1197         (getSendBufferSize): Likewise.
1198         (setReceiveBufferSize): Likewise.
1199         (getReceiveBufferSize): Likewise.
1200         (setKeepAlive): Likewise.
1201         (getKeepAlive): Likewise.
1202         (close): Likewise.
1203         (shutdownInput): Likewise.
1204         (shutdownOutput): Likewise.
1205         (getReuseAddress): Likewise.
1206         (getTrafficClass): Likewise.
1207         (setTrafficClass): Likewise.
1208         (isClosed): Check impl == null.
1209         (toString): Added missing ']'.
1210
1211 2003-11-24  Tom Tromey  <tromey@redhat.com>
1212
1213         * Makefile.in: Rebuilt.
1214         * Makefile.am (propdir): New macro.
1215         (install-data-local): Install logging.properties.
1216         (core_java_source_files): Added java.util.logging.*.
1217         * java/util/logging/logging.properties: New file.
1218
1219 2003-11-25  Michael Koch  <konqueror@gmx.de>
1220
1221         * java/net/DatagramSocket.java
1222         (DatagramSocket): Move binding code to bind(), simplify constructors.
1223         * java/net/MulticastSocket.java
1224         (MulticastSocket): Call parent constructor with null argument,
1225         bind socket after setReuseAddress is called, simplify constructors.
1226
1227 2003-11-24  Michael Koch  <konqueror@gmx.de>
1228
1229         * javax/swing/BoxLayout.java
1230         (serialVersionUIR): New member variable.
1231         (X_AXIS, Y_AXIS): Documentation added.
1232         (LINE_AXIS, PAGE_AXIS): New constants.
1233         (grid): Renamed from gridbag.
1234         (BoxLayout): Use new constants, throw exception if invalid value for
1235         way, added documentation.
1236         (BoxLayout): Removed.
1237         (addLayoutComponent): Use new constants, added documentation.
1238         (removeLayoutComponent): Likewise.
1239         (addLayoutContainer): Added documentation.
1240         (preferredLayoutSize): Added documentation, check given argument.
1241         (minimumLayoutSize): Likewise.
1242         (layoutContainer): Likewise.
1243         (getLayoutAlignmentX): Likewise.
1244         (getLayoutAlignmentY): Likewise.
1245         (invalidateLayout): Likewise.
1246         (maximumLayoutSize): Likewise.
1247
1248 2003-11-22  Michael Koch  <konqueror@gmx.de>
1249
1250         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1251         (peekData): Use offset and maximal free space in datagram packet.
1252         (receive): Likewise.
1253         (send): Use offset in datagram packet.
1254
1255 2003-11-22  Michael Koch  <konqueror@gmx.de>
1256
1257         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1258         (peekData): Use offset and maximal free space in datagram packet.
1259         (receive): Likewise.
1260         (send): Use offset in datagram packet.
1261
1262 2003-11-22  Michael Koch  <konqueror@gmx.de>
1263
1264         * gnu/java/nio/DatagramChannelImpl.java
1265         (getNativeFD): Use getPlainDatagramSocketImpl().
1266         * gnu/java/nio/NIODatagramSocket.java
1267         (getPlainDatagramSocketImpl): Renamed from getImpl().
1268         * gnu/java/nio/NIOSocket.java
1269         (getPlainSocketImpl): Renamed from getImpl().
1270         (setChannel): Use getPlainSocketImpl().
1271         * gnu/java/nio/SocketChannelImpl.java
1272         (SocketChannelImpl): Use getPlainSocketImpl().
1273         (getPlainSocketImpl): Renamed from getImpl().
1274         (getNativeFD): Use getPlainSocketImpl().
1275
1276 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1277
1278         * javax/swing/JLayeredPane.java: Implement.
1279         * javax/swing/JFrame.java (getContentPane): Make public
1280         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1281         Use JLayeredPane.FRAME_CONTENT_LAYER.
1282
1283 2003-11-21  Mark Wielaard  <mark@klomp.org>
1284
1285         * java/lang/Float.java (static): Removed.
1286
1287 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1288
1289         * java/awt/font/TextLayout.java: Implement simple layouts
1290         using attributed strings and glyph vectors.
1291
1292 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1293
1294         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1295         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1296         (GdkFontLineMetrics): New inner class.
1297         (getLineMetrics): Return new GdkFontLineMetrics.
1298         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1299         (layoutGlyphVector): Create GdkGlyphVector.
1300         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1301         (GdkGraphics2D): Initialize state via mathod calls.
1302         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1303         (cairoTranslate, cairoScale, cairoRotate): Remove.
1304         (various methods): use setTransform for special transform cases.
1305         (DrawState): New inner class.
1306         (stateSave): New method.
1307         (stateRestore): New method.
1308         (various methods): use stateSave, stateRestore.
1309         (getClipInDevSpace): New method.
1310         (clip, clipRect, setClip, getClip, getClipBounds): 
1311         Follow spec more closely.
1312         (getTransform): Return clone of transform.
1313         (setStroke): Set linewidth to passed width / 2.0.
1314         (setPaintMode): Set SrcOver rather than Xor.
1315         (setColor): Set paint to passed color.
1316         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1317         transform from image to user space.
1318         (drawRenderedImage, drawRenderableImage): Implement.
1319         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1320         Implement
1321         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1322         Implement.
1323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1324         Match changes to java side.
1325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1326         Release resources.
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1328         Don't use pango for metrics.
1329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1330         New file.
1331
1332 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1333             Jim Pick  <jim@kaffe.org>
1334
1335         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1336         methods.
1337
1338 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1339
1340         * java/text/DecimalFormatSymbols.java (getCurrency,
1341         setCurrency): New methods.
1342
1343 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1344
1345         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1346         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1347         Describe how the implementation works.
1348
1349 2003-11-19  Michael Koch  <konqueror@gmx.de>
1350
1351         * java/net/Socket.java
1352         (implCreated): New variable that indicates created impl.
1353         (getImpl): New method.
1354         (toString): Return more SUN compliant string representation.
1355         (various): Use getImpl() instead of impl.
1356
1357 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1358
1359         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1360         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1361         flags.
1362
1363 2003-11-18  Tom Tromey  <tromey@redhat.com>
1364
1365         PR libgcj/13026:
1366         * verify.cc (state::copy): Only set local_changed if we're in a
1367         subroutine.  Correctly copy local variables which were modified
1368         by the subroutine.
1369         (push_jump_merge): Added more debugging output.
1370
1371         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1372         is null.
1373
1374 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1375
1376         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1377         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1378
1379 2003-11-16  Tom Tromey  <tromey@redhat.com>
1380
1381         PR libgcj/13062:
1382         * java/io/StreamTokenizer.java (commentChar): Clear other
1383         attributes for character.
1384         (quoteChar): Likewise.
1385
1386 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1387
1388         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1389         zero-length int arrays when layoutInfo is null.
1390         (getLayoutWeights): Return array of two zero-length double arrays when
1391         layoutInfo is null.
1392
1393 2003-11-13  Tom Tromey  <tromey@redhat.com>
1394
1395         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1396         JvGetStringUTFRegion.
1397         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1398         to JvGetStringUTFRegion.
1399         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1400         JvGetStringUTFRegion.
1401         * java/lang/natWin32Process.cc (startProcess): Pass length of
1402         string to JvGetStringUTFRegion.
1403         * java/lang/natClass.cc (forName): Pass length of string to
1404         JvGetStringUTFRegion.
1405         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1406         of string to JvGetStringUTFRegion.
1407         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1408         JvGetStringUTFRegion.
1409         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1410         to JvGetStringUTFRegion.
1411         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1412         string to JvGetStringUTFRegion.
1413
1414 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1415
1416         * gnu/java/nio/natSelectorImplPosix.cc
1417         (helper_put_filedescriptors): Change to static linkage.
1418         (helper_get_filedescriptors): Likewise.
1419
1420 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1421
1422         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1423         null check.
1424         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1425         * java/awt/Component.java (prepareImage): Likewise.
1426
1427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1428         Rename to nativeSetAlignment.
1429
1430 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1431
1432         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1433         (JNI_GetCreatedJavaVMs): Likewise.
1434         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1435         * include/jni.h (JNIIMPEXP): Remove definition
1436         and replace with...
1437         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1438         symbols,
1439         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1440
1441 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1442
1443         * Makefile.am: Add GdkPixbufDecoder.java and
1444         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1445         * Makefile.in: Regenerate.
1446         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1447         New constructor.
1448         (startProduction): Create ByteArrayInputStream when url and filename are
1449         null.
1450         (produce): Declare stream parameter as InputStream.
1451         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1452         as InputStream.
1453         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1454         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1455         (produce): Declare stream parameter as InputStream.
1456         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1457         if image is null.  Set image's observer before running PrepareImage
1458         thread.  Pass image to startProduction.
1459         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1460         source's member functions.
1461         (observer): New field.
1462         (setObserver): New method.
1463         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1464         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1465         new GtkImage.
1466         (prepareImage): Implement.
1467         * java/awt/Component.java: Add static fields incrementalDraw and
1468         redrawRate.
1469         (imageUpdate): Implement.
1470         (createImage): Call Toolkit's createImage if peer is null.
1471         (prepareImage): Throw NPE if image is null.
1472         * java/awt/MediaTracker.java: Fix return value.
1473
1474 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1475
1476         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1477         (create(String, float)): New method.
1478         (setText): Make native.
1479         (nativeSetAlignment): New method.
1480         (setAlignment): Call nativeSetAlignment.
1481         (getArgs): Remove method.
1482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1483         (find_fg_color_widget, find_bg_color_widget): New functions.
1484         (gtkWidgetSetForeground): Call find_fg_color_widget.
1485         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1486         prelight colors.
1487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1488         widget in event box.
1489         (setText, setAlignment): Implement new native methods.
1490
1491 2003-11-11  Michael Koch  <konqueror@gmx.de>
1492
1493         * java/awt/Font.java,
1494         java/awt/datatransfer/DataFlavor.java,
1495         java/math/BigInteger.java,
1496         java/net/Inet4Address.java,
1497         java/net/Inet6Address.java,
1498         java/rmi/MarshalledObject.java,
1499         java/rmi/server/RMIClassLoader.java,
1500         java/security/cert/CertStore.java,
1501         java/sql/Timestamp.java,
1502         java/text/SimpleDateFormat.java,
1503         javax/naming/CompoundName.java:
1504         Removed some redundant obj == null checks.
1505
1506 2003-11-11  Michael Koch  <konqueror@gmx.de>
1507
1508         * java/nio/ByteBuffer.java
1509         (equals): Remove redundant obj == null check.
1510
1511 2003-11-11  Michael Koch  <konqueror@gmx.de>
1512
1513         * gnu/java/nio/natPipeImpl.cc,
1514         gnu/java/nio/natSelectorImpl.cc: Removed
1515         * gnu/java/nio/natPipeImplEcos.cc,
1516         gnu/java/nio/natPipeImplPosix.cc,
1517         gnu/java/nio/natPipeImplWin32.cc,
1518         gnu/java/nio/natSelectorImplEcos.cc,
1519         gnu/java/nio/natSelectorImplPosix.cc,
1520         gnu/java/nio/natSelectorImplWin32.cc: New files
1521         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1522         gnu/java/nio/natSelectorImpl.cc
1523         * configure: Regenerated.
1524
1525 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1526
1527         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1528         if host is printed too and port was really given to URL.
1529
1530 2003-11-10  Gary Benson  <gbenson@redhat.com>
1531
1532         * java/sql/Timestamp.java (valueOf): Correctly handle
1533         nanoseconds.
1534
1535 2003-11-09  Tom Tromey  <tromey@redhat.com>
1536
1537         * java/net/Inet4Address.java (serialVersionUID): Updated.
1538
1539 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1540
1541         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1542         New fields.
1543
1544 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1545
1546         * java/io/ByteArrayOutputStream.java (resize):
1547         Fix off-by-one error.
1548
1549 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1550
1551         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1552         public.
1553
1554 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1555
1556         PR libgcj/12231
1557         * java/lang/Win32Process.java (hasExited) Changed from
1558         public to private.
1559         (startProcess): Likewise.
1560         (cleanup): Likewise.
1561         * java/lang/natWin32Process.cc (cleanup) Don't close
1562         input, output and error streams.
1563         (ChildProcessPipe): New helper class.
1564         (startProcess): Refactored to use ChildProcessPipe.
1565         Use CREATE_NO_WINDOW when launching child process.
1566
1567 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1568
1569         * include/win32.h (_Jv_platform_close_on_exec): Changed
1570         signature and declared extern.
1571         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1572         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1573         (create): Use new signature of _Jv_platform_close_on_exec.
1574         * gnu/java/net/natPlainSocketImplWin32.cc 
1575         (create): Eliminated a few typecasts
1576         Use new signature of _Jv_platform_close_on_exec.
1577         (accept): Eliminated a few typecasts
1578         Use new signature of _Jv_platform_close_on_exec.
1579         * java/io/natFileDescriptorWin32.cc (open): Use
1580         _Jv_platform_close_on_exec.
1581
1582 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1583
1584         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1585         if class has no null-argument constructor.
1586
1587 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1588
1589         PR libgcj/12647:
1590         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1591         refcount when releasing and reacquiring it.
1592
1593 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1594
1595         * win32.cc: (dirExists) Internal helper function to
1596         test for directory existence.
1597         (getUserHome) New helper function refactored out
1598         of _Jv_platform_initProperties. Uses USERPROFILE
1599         instead of HOMEDIR and attempts to support Win9X and NT.
1600         (_Jv_platform_initProperties) Use getUserHome.
1601
1602 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1603
1604         PR libgcj/11521:
1605         * gnu/java/net/natPlainSocketImplWin32.cc
1606         (bind): Don't use SO_REUSEADDR
1607
1608 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1609
1610         PR libgcj/6652:
1611         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1612
1613 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1614
1615         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1616         dispatch for final methods.
1617
1618 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1619
1620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1621         word wrapping.
1622
1623 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1624
1625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1626         scrolled window's size request.
1627
1628 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1629
1630         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1631         * java/awt/geom/QuadCurve2D.java: Likewise.
1632
1633 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1634
1635         * java/awt/geom/CubicCurve2D.java: Added documentation.
1636         * java/awt/geom/QuadCurve2D.java: Likewise.
1637
1638         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1639         java/awt/geom/doc-files/QuadCurve2D-5.png,
1640         java/awt/geom/doc-files/CubicCurve2D-4.png,
1641         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1642
1643 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1644
1645         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1646         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1647         (subdivide(double[],int,double[],int,double[],int)): Implement.
1648
1649 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1650
1651         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1652         java/awt/geom/doc-files/CubicCurve2D-2.png,
1653         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1654
1655 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1656
1657         * java/text/DecimalFormat.java
1658         (scanFormat) corrected so that '%' may appear in a pattern.
1659
1660 2003-10-29  Mark Wielaard  <mark@klomp.org>
1661
1662         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1663         * java/text/DateFormat.java (Field): New public static inner class.
1664         * java/text/Format.java (Field): Likewise.
1665         (formatToCharacterIterator): New method.
1666         * java/text/FormatCharacterIterator.java: New file.
1667
1668 2003-10-29  Mark Wielaard  <mark@klomp.org>
1669
1670         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1671         * java/util/Currency.java: New file.
1672
1673 2003-10-29  Michael Koch  <konqueror@gmx.de>
1674
1675         * Makefile.am (ordinary_java_source_files): Added
1676         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1677         * Makefile.in: Regenerated.
1678
1679 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1680
1681         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1682         static methods.
1683
1684 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1685
1686         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1687         getObjectInstance() with Object, Name, Context and environment
1688         Hashtable from exception. Call fillInStackTrace() on exception when
1689         rethrown.
1690         * javax/naming/InitialContext.java (lookup(Name)): When a
1691         CannotProceedException is thrown use the ContinuationContext.
1692         (lookup(String)): Likewise.
1693         (close): Clear myProps and defaultInitCtx.
1694
1695 2003-10-29  Michael Koch  <konqueror@gmx.de>
1696
1697         * java/net/InetAddress.java
1698         (equals): Remove redundant obj == null check.
1699         * java/net/SocketPermission.java
1700         (equals): Likewise.
1701         * java/net/URL.java
1702         (equals): Likewise.
1703         (getURLStreamHandler): Likewise.
1704
1705 2003-10-29  Michael Koch  <konqueror@gmx.de>
1706
1707         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1708         (setOption): Directly return if no error occured.
1709         * gnu/java/net/natPlainSocketImplPosix.cc
1710         (setOption): Likewise.
1711
1712 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1713
1714         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1715         vtable slot for final methods. Add FIXME comment.
1716
1717 2003-10-28  David S. Miller  <davem@redhat.com>
1718
1719         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1720
1721 2003-10-26  Mark Wielaard  <mark@klomp.org>
1722
1723         Reported by Helmer Kraemer <hkraemer@freenet.de>
1724         * java/util/jar/JarInputStream.java (readManifest): Don't call
1725         closeEntry().
1726
1727         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1728         (finish): Use inbufWrite().
1729         (write(int)): Likewise.
1730         (write(byte[],int,int)): Likewise.
1731
1732 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1733
1734         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1735         Don't check for AccessibleObject. Update javadocs.
1736         
1737         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1738
1739 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1740
1741         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1742         whitespace on constructor with no modifiers.
1743         * java/lang/reflect/natConstructor.java (newInstance): Look up
1744         caller and perform accessibility check only if constructor is
1745         non-public and accessible flag is not set.
1746
1747 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1748
1749         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1750         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1751         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1752         is_virtual_call argument.
1753         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1754         natClass.cc.
1755         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1756         _Jv_isVirtualMethod.
1757         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1758         _Jv_LookupDeclaredMethod.
1759         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1760         look up method in target object's vtable.
1761
1762 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1763
1764         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1765         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1766         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1767         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1768         New concrete implementation of ClasspathFontPeer, with native part.
1769         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1770         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1771         New class, with native part.
1772         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1773         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1774         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1775
1776 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1777
1778         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1779         on method with no modifiers.
1780
1781 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1782
1783         PR libgcj/11780:
1784         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1785         accessibility check only if target is non-public and accessible flag
1786         is not set.
1787         * java/lang/reflect/natField.cc (getAddr): Likewise.
1788
1789 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1790
1791         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1792         Remove method.
1793         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1794         New method.
1795         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1796         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1797         (dispose): Post WINDOW_CLOSED event.
1798         (addWindowFocusListener, addWindowStateListener): Assign result
1799         of multicaster add back to window listener.
1800         (removeWindowFocusListener, removeWindowStateListener): Assign
1801         result of multicaster remove back to window listener.
1802         (dispatchEventImpl): Add null checks for focus and state
1803         listeners.
1804         (processWindowEvent): Handle case where windowListener is null
1805         but state or focus listeners exist.
1806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1807         glue for postWindowEvent.
1808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1809         (window_delete_cb, window_destroy_cb, window_show_cb,
1810         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1811         window_get_new_state): New functions.
1812         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1813         macros.  Declare postWindowEventID.
1814
1815 2003-10-24  Anthony Green  <green@redhat.com>
1816
1817         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1818         we have no interpreter.
1819
1820 2003-10-22  Andrew Haley  <aph@redhat.com>
1821
1822         * java/lang/natClass.cc (initializeClass): Call
1823         _Jv_linkExceptionClassTable.
1824         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1825         _Jv_Defer_Resolution on a method whose ncode is NULL.
1826         (_Jv_linkExceptionClassTable): New function.
1827         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1828         entry, look it up.
1829         * java/lang/Class.h (struct _Jv_CatchClass): New.
1830         (_Jv_linkExceptionClassTable): New friend.
1831         (_Jv_Defer_Resolution): New friend.
1832         (class Class.catch_classes): New field.
1833         * include/java-interp.h (Jv_Defer_Resolution): New method.
1834         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1835         (_Jv_MethodBase.deferred): New field.
1836         (_Jv_Defer_Resolution): New function.
1837         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1838         * exception.cc (get_ttype_entry): Change return type to void**.
1839         (PERSONALITY_FUNCTION): Remove all code related to using a
1840         Utf8Const* for a match type.  Change match type to be a pointer to
1841         a pointer, rather than a pointer to a Class.
1842         * defineclass.cc (handleCodeAttribute): Initialize
1843         method->deferred.
1844         (handleMethodsEnd): Likewise.
1845
1846 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1847
1848         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1849         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1850
1851 2003-10-22  Tom Tromey  <tromey@redhat.com>
1852
1853         PR libgcj/12416:
1854         * java/lang/Class.h: Updated.
1855         * java/lang/natClass.cc (_getFields): Removed.
1856         (getFields): Likewise.
1857         (getDeclaredFields): Added `public_only' parameter.
1858         * java/lang/Class.java (getFields): Now implemented in java; from
1859         Classpath.
1860         (getDeclaredFields): Likewise.
1861         (getDeclaredFields(boolean)): Declare.
1862         (_getFields): Removed.
1863         (internalGetFields): New method, from Classpath.
1864
1865         PR libgcj/12656:
1866         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1867         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1868
1869 2003-10-22  David Daney  <ddaney@avtrex.com)
1870
1871         * include/mips-signal.h: New file.
1872         * sysdep/dwarf2-backtrace.cc: New file.
1873         * sysdep/mips: New directory.
1874         * sysdep/mips/locks.h: New file.
1875         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1876         added to libgcj.
1877         (extra_cc_source_files): Ditto.
1878         * configure.host(disable_dladdr):  New shell variable passed to
1879         configure.
1880         (mips*-*-linux*): sysdeps_dir=mips,
1881         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1882         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1883         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1884         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1885         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1886         (EXTRA_CC_FILES): New, to support conditional addition of
1887         sysdep/dwarf2-backtrace.cc.
1888         * configure: Regenerated.
1889         * Makefile.in: Regenerated.
1890         * gcj/Makefile.in: Regenerated.
1891         * include/config.h.in: Regenerated.
1892         * include/Makefile.in: Regenerated.
1893         * testsuite/Makefile.in: Regenerated.
1894         
1895 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1896
1897         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1898         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1899
1900 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1901
1902         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1903         * java/awt/geom/doc-files: New directory.
1904         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1905         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1906         
1907 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1908
1909         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1910
1911 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1912
1913         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1914
1915 2003-10-22  Michael Koch  <konqueror@gmx.de>
1916
1917         * java/io/File.java
1918         (equals): Removed redundant obj == null check.
1919         (createTempFile): Merged comments from classpath.
1920
1921 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1922
1923         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1924         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1925         (error): Synchronize on instance, not class.
1926
1927 2003-10-21  Mark Wielaard  <mark@klomp.org>
1928
1929         Reported by M.Negovanovic
1930         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1931         method.
1932         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1933
1934 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1935
1936         Fix for Classpath bug #6076.
1937         * java/awt/geom/GeneralPath.java (append): Re-written.
1938
1939 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1940
1941         Fix for Classpath bug #6089.
1942         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1943         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1944
1945 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1946
1947         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1948         point, not start of subpath.  Fixes Classpath bug #6075.
1949
1950 2003-10-21  Michael Koch  <konqueror@gmx.de>
1951
1952         * java/nio/ByteOrder.java,
1953         java/nio/DirectByteBufferImpl.java,
1954         java/nio/channels/FileChannelImpl.java:
1955         Add code to load library with code for native methods if needed.
1956
1957 2003-10-21  Michael Koch  <konqueror@gmx.de>
1958
1959         * gnu/java/net/PlainDatagramSocketImpl.java,
1960         gnu/java/net/PlainSocketImpl.java,
1961         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1962         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1963         gnu/java/net/natPlainSocketImplPosix.cc,
1964         gnu/java/net/natPlainSocketImplWin32.cc:
1965         Renamed fnum to native_fd to match classpath more.
1966
1967 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1968
1969         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1970         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1971         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1972         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1973         _Jv_PthreadCheckMonitor.  Simplify code.
1974         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1975         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1976         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1977         * java/lang/Thread.java (holdsLock): New.
1978         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1979         without JV_HASH_SYNCHRONIZATION.
1980         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1981
1982 2003-10-20  Michael Koch  <konqueror@gmx.de>
1983
1984         * java/text/RuleBasedCollator.java
1985         (RuleBasedCollator): Check rules not empty, fixed search in already
1986         existing collation elements.
1987         (is_special): Removed common whitespace characters.
1988         (text_argument): Dont return on whitespaces, add characters between
1989         two ' to string buffer.
1990
1991 2003-10-18  Michael Koch  <konqueror@gmx.de>
1992
1993         * gnu/java/net/protocol/file/Connection.java,
1994         gnu/java/net/protocol/file/Handler.java,
1995         gnu/java/net/protocol/http/Connection.java,
1996         gnu/java/net/protocol/http/Handler.java,
1997         gnu/java/net/protocol/jar/Connection.java,
1998         gnu/java/net/protocol/jar/Handler.java:
1999         Merged copyright text from classpath to make
2000         it possible to merge the classes.
2001
2002 2003-10-18  Mark Wielaard  <mark@klomp.org>
2003
2004         Reported by M.Negovanovic
2005         * java/beans/IndexedPropertyDescriptor.java
2006         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2007
2008 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2009
2010         * win32.cc (_Jv_pipe): Implemented.
2011         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2012         _Jv_pipe instead of ::pipe.
2013         * include/posix.h (_Jv_pipe): New inline.
2014         * include/win32.h (_Jv_pipe): New declaration.
2015         
2016 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2017
2018         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2019         (append, substring, insert): Likewise.
2020         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2021         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2022         
2023 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2024
2025         * java/lang/natString.cc (getChars):
2026         Fix validation of array indexes.
2027         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2028         * testsuite/libjava.lang/String_overflow.java: New file.
2029         * testsuite/libjava.lang/String_overflow.out: New file.
2030
2031 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2032
2033         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2034         overflow a jint.
2035         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2036         check for overflowing size_t, since the lower level functions
2037         take a jint.
2038         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2039         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2040         
2041 2003-10-15  Michael Koch  <konqueror@gmx.de>
2042
2043         * java/text/RuleBasedCollator.java
2044         (RuleBasedCollator): Moved around, documentation added.
2045         (compare): Documentation added.
2046         (equals): Likewise.
2047         (getCollationElementIterator): Likewise.
2048         (getCollationKey): Likewise.
2049         (getRules): Likewise.
2050         (hashCode): Likewise.
2051
2052 2003-10-15  Michael Koch  <konqueror@gmx.de>
2053
2054         * java/text/RuleBasedCollator.java
2055         (CollationElement): Renamed from RBCElement and moved into
2056         RuledBasedCollator as inner class.
2057
2058 2003-10-15  Michael Koch  <konqueror@gmx.de>
2059
2060         * java/text/CollationElementIterator.java
2061         (CollationElementIterator): Moved, documenatation added, call setText.
2062         (next): Reformated.
2063         (reset): Reformated.
2064         (setText): New method.
2065         (getOffset): New method.
2066         * java/text/CollationKey.java
2067         (getSourceString): Reformated.
2068         (hashCode): Reformated.
2069         (toByteArray): Reformated.
2070
2071 2003-10-15  Michael Koch  <konqueror@gmx.de>
2072
2073         * java/util/zip/InflaterInputStream.java
2074         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2075         added description to exception, check for inf == null and size < 0.
2076
2077 2003-10-15  Michael Koch  <konqueror@gmx.de>
2078
2079         * java/text/AttributedCharacterIterator.java,
2080         java/text/CharacterIterator.java: Reformated.
2081
2082 2003-10-15  Michael Koch  <konqueror@gmx.de>
2083
2084         * javax/swing/UIDefaults.java (putDefaults):
2085         Readded accidently removed "public" modifier.
2086
2087 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2088
2089         * interpret.cc (_Jv_InterpMethod::run): Don't
2090         use libffi types, they were meant to be internal.
2091         * gcj/javaprims.h (_Jv_ulong): New typedef.
2092
2093 2003-10-13  Tom Tromey  <tromey@redhat.com>
2094
2095         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2096         (defineClass): Updated.
2097         (_Jv_NewClass): Likewise.
2098         * prims.cc (_Jv_InitPrimClass): Don't call
2099         _Jv_InitNewClassFields.
2100
2101 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2102
2103         PR libgcj/12592
2104         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2105         not just \n.
2106
2107 2003-10-13  Michael Koch  <konqueror@gmx.de>
2108
2109         * java/io/File.java: Reformated.
2110         (equals): Check for obj == null.
2111
2112 2003-10-13  Michael Koch  <konqueror@gmx.de>
2113
2114         * java/net/JarURLConnection.java
2115         (jarFileURL): Added dcoumentation.
2116         (jarFileURLConnection): Reformated documentation.
2117         (entryName): Renamed from "element", documentation rewritten.
2118         (connectionCache): Renamed from "conn_cache", documentation
2119         reformated.
2120         (JarURLConnection): Check URL protocol.
2121         (getEntryName): Use entryName.
2122         (connect): Use connectionCache.
2123         (getInputStream): Use entryName, fixed comment.
2124         (getJarEntry): Use entryName.
2125         (getHeaders): Use entryName.
2126         * java/net/URLConnection.java
2127         (addRequestProperty): Fixed documentation.
2128         (setDefaultRequestProptery): Added comment that it does nothing since
2129         JDK 1.3.
2130         (getDefaultRequestProperty): Likewise.
2131
2132 2003-10-13  Michael Koch  <konqueror@gmx.de>
2133
2134         * java/net/java/net/URLStreamHandlerFactory.java
2135         (createURLStreamHandler): Removed redundant "public" modifier.
2136         * java/sql/DatabaseMetaData.java:
2137         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2138         * java/sql/ParameterMetaData.java:
2139         (ParameterMetaData): Readded accidently removed "public" modifier.
2140         * java/sql/PreparedStatement.java:
2141         (PreparedStatement): Readded accidently removed "public" modifier.
2142         * java/sql/Ref.java:
2143         (Ref): Readded accidently removed "public" modifier.
2144
2145 2003-10-13  Michael Koch  <konqueror@gmx.de>
2146
2147         * java/nio/Buffer.java
2148         (hasRemaining): Made implementation more clear.
2149         * java/nio/MappedByteBuffer.java
2150         (loaded): New member variable.
2151         (force): Added comment.
2152         (isLoaded): Return value of loaded.
2153         (load): Set loaded to true, added comment.
2154
2155 2003-10-12  Michael Koch  <konqueror@gmx.de>
2156
2157         * gnu/java/nio/PipeImpl.java
2158         (SourceChannelImpl): New inner class.
2159         (SinkChannelImpl): New inner class.
2160         (sink): New member variable.
2161         (source): New member variable.
2162         (PipeImpl): Add SelectorProvider argument, implemented.
2163         (nativeInit): New method.
2164         (sink): Return sink channel.
2165         (source): Return source channel.
2166         * gnu/java/nio/SelectorProviderImpl.java
2167         (openPipe): Give provider as argument to PipeImpl constructor.
2168         * java/nio/channels/spi/SelectorProvider.java
2169         (pr): Removed.
2170         (systemDefaultProvider): New member variable.
2171         (provider): Made it synchronized, use property
2172         java.nio.channels.spi.SelectorProvider.
2173         * gnu/java/nio/natPipeImpl.cc: New file.
2174         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2175         * Makefile.in: Regenerated.
2176
2177 2003-10-12  Michael Koch  <konqueror@gmx.de>
2178
2179         * javax/swing/table/DefaultTableModel.java,
2180         javax/swing/table/TableCellEditor.java,
2181         javax/swing/table/TableCellRenderer.java,
2182         javax/swing/table/TableColumnModel.java,
2183         javax/swing/table/TableModel.java,
2184         javax/swing/text/AbstractDocument.java,
2185         javax/swing/text/Document.java,
2186         javax/swing/text/MutableAttributeSet.java,
2187         javax/swing/text/StyledDocument.java,
2188         javax/swing/text/ViewFactory.java,
2189         javax/swing/tree/DefaultMutableTreeNode.java,
2190         javax/swing/tree/MutableTreeNode.java,
2191         javax/swing/tree/RowMapper.java,
2192         javax/swing/tree/TreeCellEditor.java,
2193         javax/swing/tree/TreeCellRenderer.java,
2194         javax/swing/tree/TreeModel.java,
2195         javax/swing/tree/TreeNode.java,
2196         javax/swing/tree/TreeSelectionModel.java,
2197         javax/swing/undo/StateEditable.java,
2198         javax/swing/undo/UndoableEdit.java:
2199         Removed redundant modifiers.
2200
2201 2003-10-12  Michael Koch  <konqueror@gmx.de>
2202
2203         * javax/swing/event/AncestorListener.java,
2204         javax/swing/event/CaretListener.java,
2205         javax/swing/event/CellEditorListener.java,
2206         javax/swing/event/ChangeListener.java,
2207         javax/swing/event/DocumentEvent.java,
2208         javax/swing/event/DocumentListener.java,
2209         javax/swing/event/HyperlinkListener.java,
2210         javax/swing/event/InternalFrameListener.java,
2211         javax/swing/event/ListDataListener.java,
2212         javax/swing/event/ListSelectionListener.java,
2213         javax/swing/event/MenuDragMouseListener.java,
2214         javax/swing/event/MenuKeyListener.java,
2215         javax/swing/event/MenuListener.java,
2216         javax/swing/event/MouseInputListener.java,
2217         javax/swing/event/PopupMenuListener.java,
2218         javax/swing/event/TableColumnModelListener.java,
2219         javax/swing/event/TableModelListener.java,
2220         javax/swing/event/TreeExpansionListener.java,
2221         javax/swing/event/TreeModelListener.java,
2222         javax/swing/event/TreeSelectionListener.java,
2223         javax/swing/event/TreeWillExpandListener.java,
2224         javax/swing/event/UndoableEditListener.java,
2225         javax/swing/plaf/UIResource.java,
2226         javax/swing/plaf/metal/MetalLookAndFeel.java:
2227         Removed redundant modifiers.
2228
2229 2003-10-12  Michael Koch  <konqueror@gmx.de>
2230
2231         * javax/swing/Action.java,
2232         javax/swing/BoundedRangeModel.java,
2233         javax/swing/CellEditor.java,
2234         javax/swing/ComboBoxEditor.java,
2235         javax/swing/ComboBoxModel.java,
2236         javax/swing/DesktopManager.java,
2237         javax/swing/JComboBox.java,
2238         javax/swing/ListCellRenderer.java,
2239         javax/swing/ListSelectionModel.java,
2240         javax/swing/MenuElement.java,
2241         javax/swing/MutableComboBoxModel.java,
2242         javax/swing/Renderer.java,
2243         javax/swing/RootPaneContainer.java,
2244         javax/swing/ScrollPaneConstants.java,
2245         javax/swing/SingleSelectionModel.java,
2246         javax/swing/SpinnerModel.java,
2247         javax/swing/SwingConstants.java,
2248         javax/swing/UIDefaults.java,
2249         javax/swing/WindowConstants.java,
2250         javax/swing/border/Border.java,
2251         javax/swing/colorchooser/ColorSelectionModel.java:
2252         Removed redundant modifiers.
2253
2254 2003-10-11  Michael Koch  <konqueror@gmx.de>
2255
2256         * javax/transaction/Status.java,
2257         javax/transaction/Synchronization.java,
2258         javax/transaction/Transaction.java,
2259         javax/transaction/TransactionManager.java,
2260         javax/transaction/UserTransaction.java,
2261         javax/transaction/xa/XAResource.java,
2262         javax/transaction/xa/Xid.java:
2263         Removing redundant modifiers.
2264
2265 2003-10-11  Michael Koch  <konqueror@gmx.de>
2266
2267         * javax/print/attribute/Attribute.java,
2268         javax/print/attribute/AttributeSet.java,
2269         javax/print/attribute/PrintRequestAttributeSet.java:
2270         Removing redundant modifiers.
2271
2272 2003-10-11  Michael Koch  <konqueror@gmx.de>
2273
2274         * javax/sql/ConnectionEventListener.java,
2275         javax/sql/ConnectionPoolDataSource.java,
2276         javax/sql/DataSource.java,
2277         javax/sql/PooledConnection.java,
2278         javax/sql/RowSet.java,
2279         javax/sql/RowSetInternal.java,
2280         javax/sql/RowSetListener.java,
2281         javax/sql/RowSetMetaData.java,
2282         javax/sql/RowSetReader.java,
2283         javax/sql/RowSetWriter.java,
2284         javax/sql/XAConnection.java,
2285         javax/sql/XADataSource.java:
2286         Removing redundant modifiers.
2287
2288 2003-10-11  Michael Koch  <konqueror@gmx.de>
2289
2290         * javax/naming/Context.java,
2291         javax/naming/Name.java,
2292         javax/naming/NameParser.java,
2293         javax/naming/NamingEnumeration.java,
2294         javax/naming/Referenceable.java,
2295         javax/naming/directory/Attribute.java,
2296         javax/naming/directory/Attributes.java,
2297         javax/naming/directory/DirContext.java,
2298         javax/naming/event/EventContext.java,
2299         javax/naming/event/EventDirContext.java,
2300         javax/naming/event/NamespaceChangeListener.java,
2301         javax/naming/event/NamingListener.java,
2302         javax/naming/event/ObjectChangeListener.java,
2303         javax/naming/ldap/Control.java,
2304         javax/naming/ldap/ExtendedRequest.java,
2305         javax/naming/ldap/ExtendedResponse.java,
2306         javax/naming/ldap/HasControls.java,
2307         javax/naming/ldap/LdapContext.java,
2308         javax/naming/ldap/UnsolicitedNotification.java,
2309         javax/naming/ldap/UnsolicitedNotificationListener.java,
2310         javax/naming/spi/DirObjectFactory.java,
2311         javax/naming/spi/DirStateFactory.java,
2312         javax/naming/spi/InitialContextFactory.java,
2313         javax/naming/spi/InitialContextFactoryBuilder.java,
2314         javax/naming/spi/ObjectFactory.java,
2315         javax/naming/spi/ObjectFactoryBuilder.java,
2316         javax/naming/spi/Resolver.java,
2317         javax/naming/spi/StateFactory.java:
2318         Removing redundant modifiers.
2319
2320 2003-10-11  Michael Koch  <konqueror@gmx.de>
2321
2322         * java/security/Key.java,
2323         * java/security/PrivateKey.java,
2324         * java/security/PublicKey.java,
2325         * java/security/acl/Acl.java,
2326         * java/security/acl/AclEntry.java,
2327         * java/security/acl/Group.java,
2328         * java/security/acl/Owner.java,
2329         * java/security/acl/Permission.java,
2330         * java/security/cert/X509Extension.java,
2331         * java/security/interfaces/DSAKey.java,
2332         * java/security/interfaces/DSAKeyPairGenerator.java,
2333         * java/security/interfaces/DSAParams.java,
2334         * java/security/interfaces/DSAPrivateKey.java,
2335         * java/security/interfaces/DSAPublicKey.java,
2336         * java/security/interfaces/RSAKey.java,
2337         * java/security/interfaces/RSAPrivateCrtKey.java,
2338         * java/security/interfaces/RSAPrivateKey.java,
2339         * java/security/interfaces/RSAPublicKey.java:
2340         Removed redundant modifiers.
2341
2342 2003-10-11  Michael Koch  <konqueror@gmx.de>
2343
2344         * gnu/java/rmi/server/ProtocolConstants.java,
2345         gnu/java/security/der/DER.java:
2346         Removing redundant modifiers.
2347
2348 2003-10-11  Michael Koch  <konqueror@gmx.de>
2349
2350         * java/util/Map.java,
2351         java/util/Observer.java,
2352         java/util/zip/Checksum.java,
2353         java/util/zip/ZipConstants.java:
2354         Removed redundant modifiers.
2355
2356 2003-10-11  Michael Koch  <konqueror@gmx.de>
2357
2358         * java/text/AttributedCharacterIterator.java,
2359         java/text/CharacterIterator.java:
2360         Removed redundant modifiers.
2361
2362 2003-10-11  Michael Koch  <konqueror@gmx.de>
2363
2364         * java/sql/Array.java,
2365         java/sql/Blob.java,
2366         java/sql/CallableStatement.java,
2367         java/sql/Clob.java,
2368         java/sql/Connection.java,
2369         java/sql/DatabaseMetaData.java,
2370         java/sql/Driver.java,
2371         java/sql/ParameterMetaData.java,
2372         java/sql/PreparedStatement.java,
2373         java/sql/Ref.java,
2374         java/sql/ResultSet.java,
2375         java/sql/ResultSetMetaData.java,
2376         java/sql/SQLData.java,
2377         java/sql/SQLInput.java,
2378         java/sql/SQLOutput.java,
2379         java/sql/Savepoint.java,
2380         java/sql/Statement.java,
2381         java/sql/Struct.java:
2382         Removed redundant modifiers.
2383
2384 2003-10-11  Michael Koch  <konqueror@gmx.de>
2385
2386         * java/nio/channels/Channel.java,
2387         java/nio/channels/GatheringByteChannel.java,
2388         java/nio/channels/ReadableByteChannel.java,
2389         java/nio/channels/ScatteringByteChannel.java,
2390         java/nio/channels/WritableByteChannel.java:
2391         Removed redundant modifiers.
2392
2393 2003-10-11  Michael Koch  <konqueror@gmx.de>
2394
2395         * java/rmi/activation/ActivationInstantiator.java,
2396         java/rmi/activation/ActivationMonitor.java,
2397         java/rmi/activation/ActivationSystem.java,
2398         java/rmi/activation/Activator.java,
2399         java/rmi/dgc/DGC.java,
2400         java/rmi/registry/Registry.java,
2401         java/rmi/registry/RegistryHandler.java,
2402         java/rmi/server/LoaderHandler.java,
2403         java/rmi/server/RMIClientSocketFactory.java,
2404         java/rmi/server/RMIFailureHandler.java,
2405         java/rmi/server/RMIServerSocketFactory.java,
2406         java/rmi/server/RemoteCall.java,
2407         java/rmi/server/RemoteRef.java,
2408         java/rmi/server/ServerRef.java,
2409         java/rmi/server/Skeleton.java,
2410         java/rmi/server/Unreferenced.java:
2411         Removed redundant modifiers.
2412
2413 2003-10-11  Michael Koch  <konqueror@gmx.de>
2414
2415         * java/net/ContentHandlerFactory.java,
2416         java/net/DatagramSocketImplFactory.java,
2417         java/net/FileNameMap.java,
2418         java/net/SocketImplFactory.java,
2419         java/net/SocketOptions.java,
2420         java/net/URLStreamHandlerFactory.java:
2421         Removed redundant modifiers.
2422
2423 2003-10-11  Michael Koch  <konqueror@gmx.de>
2424
2425         * java/io/Externalizable.java,
2426         java/io/FileFilter.java,
2427         java/io/FilePermission.java,
2428         java/io/ObjectInput.java,
2429         java/io/ObjectInputValidation.java,
2430         java/io/ObjectOutput.java,
2431         java/io/ObjectStreamClass.java,
2432         java/io/ObjectStreamConstants.java,
2433         java/io/Serializable.java:
2434         Removed redundant modifiers.
2435
2436 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2437
2438         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2439         codebase and context classloader.
2440
2441 2003-10-11  Michael Koch  <konqueror@gmx.de>
2442
2443         * java/beans/beancontext/BeanContext.java,
2444         java/beans/beancontext/BeanContextChild.java,
2445         java/beans/beancontext/BeanContextChildComponentProxy.java,
2446         java/beans/beancontext/BeanContextChildSupport.java,
2447         java/beans/beancontext/BeanContextContainerProxy.java,
2448         java/beans/beancontext/BeanContextMembershipListener.java,
2449         java/beans/beancontext/BeanContextProxy.java,
2450         java/beans/beancontext/BeanContextServiceProvider.java,
2451         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2452         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2453         java/beans/beancontext/BeanContextServices.java,
2454         java/beans/beancontext/BeanContextServicesListener.java:
2455         Removed redundant modifiers.
2456
2457 2003-10-11  Michael Koch  <konqueror@gmx.de>
2458
2459         * java/beans/AppletInitializer.java,
2460         java/beans/BeanInfo.java,
2461         java/beans/Customizer.java,
2462         java/beans/DesignMode.java,
2463         java/beans/PropertyEditor.java,
2464         java/beans/Visibility.java:
2465         Removed redundant modifiers.
2466
2467 2003-10-11  Michael Koch  <konqueror@gmx.de>
2468
2469         * java/awt/print/Pageable.java,
2470         * java/awt/print/Printable.java,
2471         java/awt/print/PrinterGraphics.java:
2472         Removed redundant modifiers.
2473
2474 2003-10-11  Michael Koch  <konqueror@gmx.de>
2475
2476         * java/awt/peer/ButtonPeer.java,
2477         java/awt/peer/CheckboxMenuItemPeer.java,
2478         java/awt/peer/CheckboxPeer.java,
2479         java/awt/peer/ChoicePeer.java,
2480         java/awt/peer/ComponentPeer.java,
2481         java/awt/peer/ContainerPeer.java,
2482         java/awt/peer/DialogPeer.java,
2483         java/awt/peer/FileDialogPeer.java,
2484         java/awt/peer/FramePeer.java,
2485         java/awt/peer/LabelPeer.java,
2486         java/awt/peer/ListPeer.java,
2487         java/awt/peer/MenuBarPeer.java,
2488         java/awt/peer/MenuComponentPeer.java,
2489         java/awt/peer/MenuItemPeer.java,
2490         java/awt/peer/MenuPeer.java,
2491         java/awt/peer/PopupMenuPeer.java,
2492         java/awt/peer/RobotPeer.java,
2493         java/awt/peer/ScrollPanePeer.java,
2494         java/awt/peer/ScrollbarPeer.java,
2495         java/awt/peer/TextAreaPeer.java,
2496         java/awt/peer/TextComponentPeer.java,
2497         java/awt/peer/TextFieldPeer.java,
2498         java/awt/peer/WindowPeer.java:
2499         Removed redundant modifiers.
2500
2501 2003-10-11  Michael Koch  <konqueror@gmx.de>
2502
2503         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2504         * gnu/java/nio/ServerSocketChannelImpl.java
2505         (serverSocket): Made it a NIOServerSocket.
2506         (impl): Removed.
2507         (ServerSocketChannelImpl): Initialize only serverSocket.
2508         (initServerSocket): Removed.
2509         (getNativeFD): Rewritten.
2510         (implConfigureBlocking): Set socket timeout and removed comment.
2511         (accept): Rewritten.
2512         * gnu/java/nio/SocketChannelImpl.java
2513         (impl): New variable.
2514         (connected): Removed.
2515         (SocketChannelImpl): Initialize impl too.
2516         (getImpl): New method.
2517         (isConnected): Rewritten.
2518         (read): Rewritten, set position in buffer correctly.
2519         (write): Set position in buffer correctly.
2520         * java/net/ServerSocket.java (getImpl): New method.
2521         * gnu/java/nio/NIOServerSocket.java,
2522         gnu/java/nio/natNIOServerSocket.cc: New files.
2523         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2524         * Makefile.am
2525         (ordinary_java_source_files):
2526         Added gnu/java/nio/NIOServerSocket.java.
2527         (nat_source_files):
2528         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2529         and added gnu/java/nio/natNIOServerSocket.cc.
2530         * Makefile.in: Regenerated.
2531
2532 2003-10-11  Michael Koch  <konqueror@gmx.de>
2533
2534         * java/awt/ActiveEvent.java,
2535         java/awt/datatransfer/ClipboardOwner.java,
2536         java/awt/datatransfer/FlavorMap.java,
2537         java/awt/datatransfer/Transferable.java,
2538         java/awt/dnd/Autoscroll.java,
2539         java/awt/dnd/peer/DragSourceContextPeer.java,
2540         java/awt/dnd/peer/DropTargetContextPeer.java,
2541         java/awt/dnd/peer/DropTargetPeer.java,
2542         java/awt/font/MultipleMaster.java,
2543         java/awt/font/OpenType.java,
2544         java/awt/im/spi/InputMethodDescriptor.java,
2545         java/awt/image/ImageObserver.java,
2546         java/awt/image/ImageConsumer.java,
2547         java/awt/image/ImageProducer.java,
2548         java/awt/image/RGBImageFilter.java,
2549         java/awt/image/RasterOp.java,
2550         java/awt/image/renderable/RenderableImage.java:
2551         Removed redundant modifiers.
2552
2553 2003-10-11  Michael Koch  <konqueror@gmx.de>
2554
2555         * gnu/awt/j2d/DirectRasterGraphics.java,
2556         gnu/java/awt/EmbeddedWindowSupport.java:
2557         Removed redundant modifiers.
2558
2559 2003-10-09  Michael Koch  <konqueror@gmx.de>
2560
2561         * gnu/java/nio/SelectorImpl.java (register):
2562         Use ServerSocketChannelSelectionKey for server socket channels,
2563         removed unneeded comments.
2564         * gnu/java/nio/ServerSocketChannelImpl.java
2565         (ServerSocketChannelImpl): Made class public final.
2566         (impl): New member variable.
2567         (ServerSocketChannelImpl): Initialize member variables correctly.
2568         (initServerSocket): New method.
2569         (getNativeFD): Likewise.
2570         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2571         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2572         * Makefile.am (ordinary_java_source_files):
2573         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2574         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2575         * Makefile.in: Regenrated.
2576
2577 2003-10-09  Michael Koch  <konqueror@gmx.de>
2578
2579         * java/nio/channels/spi/AbstractSelectableChannel.java
2580         (registered): Made private.
2581         (blocking): Likewise.
2582         (LOCK): Likewise.
2583         (provider): Likewise.
2584         (keys): Made it a private LinkedList.
2585         (AbstractSelectableChannel): Initialize keys.
2586         (isRegistered): New implementation.
2587         (locate): Rewritten.
2588         (register): Rewritten.
2589         * java/nio/channels/spi/AbstractSelectionKey.java
2590         (ok): Removed.
2591         (cancelled): New member variable.
2592         (cancel): Rewritten.
2593         (isValid): Rewritten.
2594         * java/nio/channels/spi/AbstractSelector.java:
2595         Some methods moved.
2596         (closed): Make private.
2597         (provider): Likewise.
2598         (cancelledKeys): New member variable.
2599         (AbstractSelector): Initialize cancelledKeys.
2600         (cancelKey): New method.
2601
2602 2003-10-09  Tom Tromey  <tromey@redhat.com>
2603
2604         * java/lang/ClassLoader.java (setSigners): Implemented.
2605         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2606         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2607         Initialize new fields.
2608         * java/lang/Class.java (getSigners): Now native.
2609         (setSigners): Declare.
2610         * java/lang/natClass.cc (getSigners): New method.
2611         (getSigners): Likewise.
2612         * java/lang/Class.h (Class::signers): New field.
2613         (Class::setSigners): New method.
2614
2615 2003-10-09  Michael Koch  <konqueror@gmx.de>
2616
2617         * java/rmi/server/RMIClassLoader.java:
2618         Removed unused imports, little reformatings.
2619         (getClassLoader): New method, implementation was part of old loadCLass
2620         method.
2621         (loadClass): Simplified by moving functionality to new method and
2622         reworking the code a bit.
2623         (getClassAnnotation): Merged documentation from classpath.
2624
2625 2003-10-09  Michael Koch  <konqueror@gmx.de>
2626
2627         * java/math/BigInteger.java
2628         (add): Removed unused local variable len.
2629
2630 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2631
2632         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2633         modality check.
2634         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2635         Initialize insets to use latest insets.
2636         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2637         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2638         field.
2639         (postConfigureEvent): Update latestInsets field when insets
2640         change.  Remove call to setSize.  Move validate call outside of
2641         if blocks.
2642         (setVisible): Call setBounds before showing window.
2643         (nativeSetVisible): New native method.
2644         * java/awt/Window.java (show): Show visible owned windows.
2645         (hide): Hide visible owned windows.
2646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2647         (awt_event_handler): Implement modality using GTK grabs.
2648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2649         (global_gtk_window_group): New global variable.
2650         (gtkInit): Initialize global_gtk_window_group.
2651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2652         Clamp width and height values to at least 1.  Add this window to
2653         the global GTK window group.
2654         (setVisible): Rename to nativeSetVisible.
2655         (setup_window): Remove function.
2656         (setSize): Clamp width and height values to at least 1.
2657         (nativeSetBounds): Likewise.
2658         (gdk_window_get_root_geometry): Remove function.
2659         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2660         and setup_window declarations.  Declare global_gtk_window_group.
2661
2662         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2664         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2665         (gtkWidgetSetForeground): New method.
2666         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2668         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2669         (setBackground, setForeground): Implement.
2670         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2671         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2672         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2673         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2674         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2676         Position PangoLayout relative to text's baseline.
2677         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2678
2679         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2680         for CENTER and RIGHT alignments.
2681
2682 2003-10-08  Michael Koch  <konqueror@gmx.de>
2683
2684         * java/security/Security.java: Reformated.
2685
2686 2003-10-08  Michael Koch  <konqueror@gmx.de>
2687
2688         * java/text/SimpleDateFormat.java
2689         (compileFormat): Replace Character.isLetter() test with
2690         Character.isLowerCase() || Character.isUpperCase().
2691
2692 2003-10-08  Tom Tromey  <tromey@redhat.com>
2693
2694         * java/lang/StrictMath.java (toDegrees): Multiply before
2695         dividing.
2696         (toRadians): Likewise.
2697
2698 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2699
2700         * java/lang/Math.java
2701         (toRadians): multiply before dividing to reduce decimal error
2702         (toDegrees): ditto
2703
2704 2003-10-08  Michael Koch  <konqueror@gmx.de>
2705
2706         * gnu/gcj/protocol/core/Connection.java,
2707         gnu/gcj/protocol/core/CoreInputStream.java,
2708         gnu/gcj/protocol/core/Handler.java,
2709         gnu/gcj/protocol/core/natCoreInputStream.cc,
2710         gnu/gcj/protocol/file/Connection.java,
2711         gnu/gcj/protocol/file/Handler.java,
2712         gnu/gcj/protocol/gcjlib/Connection.java,
2713         gnu/gcj/protocol/gcjlib/Handler.java,
2714         gnu/gcj/protocol/http/Connection.java,
2715         gnu/gcj/protocol/http/Handler.java,
2716         gnu/gcj/protocol/jar/Connection.java,
2717         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2718         * gnu/java/net/protocol/core/Connection.java,
2719         gnu/java/net/protocol/core/CoreInputStream.java,
2720         gnu/java/net/protocol/core/Handler.java,
2721         gnu/java/net/protocol/core/natCoreInputStream.cc,
2722         gnu/java/net/protocol/file/Connection.java,
2723         gnu/java/net/protocol/file/Handler.java,
2724         gnu/java/net/protocol/gcjlib/Connection.java,
2725         gnu/java/net/protocol/gcjlib/Handler.java,
2726         gnu/java/net/protocol/http/Connection.java,
2727         gnu/java/net/protocol/http/Handler.java,
2728         gnu/java/net/protocol/jar/Connection.java,
2729         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2730         * gnu/gcj/runtime/FirstThread.java,
2731         java/net/URL.java: Use moved protocol handlers.
2732         * Makefile.am
2733         (ordinary_java_source_files): Moved files.
2734         (nat_source_files): Likewise.
2735         * Makefile.in: Regenerated.
2736
2737 2003-10-08  Michael Koch  <konqueror@gmx.de>
2738
2739         * gnu/java/nio/SocketChannelImpl.java
2740         (read): Write only read data to buffer.
2741
2742 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2743
2744         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2745         out.
2746         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2747         (JCL_free): Attach "unused" attribute to env parameter.
2748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2749         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2750         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2751         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2752         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2753         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2754         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2755         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2756         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2757         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2758         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2759         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2760         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2761         parameters.
2762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2763         (initNativeState): Pass 0 as info argument to
2764         gtk_selection_add_target.
2765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2766         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2767         unused method implementations.
2768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2769         (awt_event_handler): Add break statement after default label.
2770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2771         (drawPixels): Remove unused variable i.
2772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2773         (setEnabled): Remove method implementation.
2774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2775         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2776         argument.
2777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2778         unused function.
2779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2780         (menu_pos): Assign TRUE to push_in.
2781         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2782         argument.
2783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2784         (create): Remove unused variable layout.
2785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2786         Pass window_widget, rather than window, to
2787         gtk_widget_set_size_request.
2788         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2789         structure initialization with NULL values.
2790         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2791
2792 2003-10-08  Michael Koch  <konqueror@gmx.de>
2793
2794         * java/util/LinkedList.java:
2795         Removed whitespace to match classpath's version again.
2796
2797 2003-10-08  Michael Koch  <konqueror@gmx.de>
2798
2799         * java/util/prefs/Preferences.java
2800         (defaultFactoryClass): Fixed class name.
2801         (getFactory): Create instance of class returned by Class.forName(),
2802         reformated code.
2803
2804 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2805
2806         * javax/swing/table/AbstractTableModel.java
2807         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2808         helped stop pulling my hair on this +1 then -1 tricky thing!
2809
2810 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2811
2812         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2813         Remove unused parameters.
2814         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2815         Likewise.
2816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2817         (keyevent_state_to_awt_mods): Export function.
2818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2819         (getCaretPosition): Fix TextArea case.
2820         (textcomponent_commit_cb): Get exact event time and modifier
2821         state.
2822         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2823
2824 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2825
2826         * java/net/InetSocketAddress.java
2827         (InetSocketAddress): Made exception more clear.
2828         (equals): Handle case when addr is null.
2829         (toString): Likewise.
2830         * java/net/NetworkInterface.java
2831         (static): Load native library.
2832         (getNetworkInterfaces): Rewritten.
2833
2834 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2835
2836         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2837         field.
2838         (initializeInsets): New method.
2839         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2840         setBounds unconditionally.
2841         (setBounds): Convert coordinates if parent is a Window.
2842         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2843         field to GtkComponentPeer.
2844         (GtkContainerPeer): Don't initialize insets.
2845         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2846         New method.
2847         (create): Call new GtkWindowPeer create method.
2848         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2849         New method.
2850         (create): Call new GtkWindowPeer create method.
2851         (setBounds): Remove method.
2852         (postConfigureEvent): Likewise.
2853         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2854         type constants with GDK window type constants.
2855         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2856         (create(int,boolean)): Likewise.
2857         (create()): Call create(int,boolean).
2858         (nativeSetBounds): New native method declaration.
2859         (setBounds): Call native method declaration.
2860         (setSize): New native method declaration.
2861         (setBoundsCallback): Likewise.
2862         (postConfigureEvent): Handle change in insets.  Call setSize and
2863         setBoundsCallback methods.
2864         * java/awt/Window.java (Window): Set visible to false.
2865         (setBoundsCallback): New method.
2866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2867         (gtkWidgetGetLocationOnScreen): If this component is not a
2868         container, adjust the location returned based on the peer's
2869         allocation.
2870         (set(String,boolean)): Revert change from 2003-09-19.
2871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2872         (awt_event_handler): Fix inset calculation.
2873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2874         glue for Window.setBoundsCallback.
2875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2876         Set up stacking order, window decorations and window manager
2877         hints.
2878         (setBoundsCallback): New method.
2879         (setSize): New method.
2880         (nativeSetBounds): New method.
2881         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2882
2883 2003-10-02  Tom Tromey  <tromey@redhat.com>
2884
2885         * java/lang/VMClassLoader.java (loadClass): Now native.
2886         * java/lang/natClassLoader.cc (loadClass): Implement.
2887         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2888
2889 2003-10-02  Michael Koch  <konqueror@gmx.de>
2890
2891         * java/net/InetAddress.java
2892         (zeros): Removed.
2893         (ANY_IF): Initalizie in static block.
2894         (static): Load library with native methods here and initialize ANY_IF.
2895         (isAnyLocalAddress): Check if equal to ANY_IF.
2896         (equals): Use addr directly instead of addr1. Simplify for loop.
2897         (toString): Rename "result" to "host" and add IP address allways.
2898         (getLocalHost): Merged documentation from classpath.
2899         * java/net/ServerSocket.java
2900         (ServerSocket): New package-private constructor used by java.nio.
2901         * java/net/URLConnection.java
2902         (getRequestProperties): Check if already connected.
2903
2904 2003-10-02  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/nio/ByteBufferHelper.java:
2907         Rewrote all methods by suggestions from Eric Blake.
2908
2909 2003-10-02  Michael Koch  <konqueror@gmx.de>
2910
2911         * java/net/URL.java
2912         (DEFAULT_SEARCH_PATH): New static variable.
2913         (ph_cache): Made it a HashMap.
2914         (getURLStreamHandler): Rename propVal to ph_search_path and use
2915         DEFAULT_SEARCH_PATH.
2916
2917 2003-10-02  Michael Koch  <konqueror@gmx.de>
2918
2919         * javax/swing/table/AbstractTableModel.java
2920         (findColumnName): Prevent from NullPointerException if argument
2921         columnName is null.
2922
2923 2003-10-02  Michael Koch  <konqueror@gmx.de>
2924
2925         * javax/swing/table/AbstractTableModel.java:
2926         This patch is based on a patch done by Arnaud Vandyck
2927         <arnaud.vandyck@ulg.ac.be>.
2928         (getColumnName): Fixed method documentation.
2929         (findColumn): Likewise.
2930         (getColumnClass): Likewise.
2931         (isCellEditable): Likewise.
2932         (setValueAt): Likewise.
2933         (addTableModelListener): Likewise.
2934         (removeTableModelListener): Likewise.
2935         (getTableModelListeners): New method.
2936
2937 2003-10-02  Michael Koch  <konqueror@gmx.de>
2938
2939         * javax/swing/table/AbstractTableModel.java:
2940         Reformated.
2941
2942 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2943
2944         Fix PR libgcj/12475
2945         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2946         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2947
2948 2003-10-01  Tom Tromey  <tromey@redhat.com>
2949
2950         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2951
2952 2003-10-01  Andrew Haley  <aph@redhat.com>
2953
2954         * java/lang/natClass.cc (initializeClass): Check for otable and
2955         atable.
2956         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2957         loops using for().  Search superinterfaces.  Check for fields as
2958         well as methods.  Initialize atable as well as otable: check for
2959         static methods as well as virtual methods.
2960         * java/lang/Class.h (struct _Jv_AddressTable): New.
2961         (atable): New.
2962         (atable_syms): New.
2963         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2964         * prims.cc (_Jv_equalUtf8Consts): constify.
2965
2966 2003-09-29  Tom Tromey  <tromey@redhat.com>
2967
2968         PR libgcj/10596:
2969         * include/jvm.h (_Jv_FinalizeString,
2970         _Jv_RegisterStringFinalizer): Declare.
2971         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2972         unintern.
2973         (intern): Updated.
2974         (_Jv_NewStringUtf8Const): Likewise.
2975         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2976         Add special case when finalizing a String.
2977         (in_hash): New function.
2978         (_Jv_RegisterStringFinalizer): Likewise.
2979         (maybe_add_finalize): Likewise.
2980
2981 2003-09-29  Michael Koch  <konqueror@gmx.de>
2982
2983         * java/net/InetAddress.java:
2984         (isMulticastAddress): Dont use local variable to store address length.
2985         Let the compiler optimize this.
2986         (getHostName): Merged dcoumentation from classpath.
2987         (getAddress): Likewise.
2988         (getHostAddress): Likewise.
2989         (hashCode): Likewise.
2990         (equals): Likewise.
2991         (toString): Likewise.
2992         (getByName): Likewise.
2993         (getAllByName): Likewise.
2994
2995 2003-09-29  Michael Koch  <konqueror@gmx.de>
2996
2997         * java/awt/image/IndexColorModel.java: Reformated.
2998
2999 2003-09-29  Michael Koch  <konqueror@gmx.de>
3000
3001         * java/net/InetAddress.java,
3002         java/net/URL.java: Reformated.
3003
3004 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3005
3006         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3007         significant bit of descriptor. Include the vtable and sync_info 
3008         fields.
3009
3010 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3011
3012         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3013         if `obj' is not a Number or Date instance.
3014         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3015         instead of Vector.
3016
3017 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3018
3019         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3020         Don't call setTimeZone on calendar.
3021
3022 2003-09-27  Michael Koch  <konqueror@gmx.de>
3023
3024         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3025
3026 2003-09-27  Michael Koch  <konqueror@gmx.de>
3027
3028         * java/net/URL.java (getURLStreamHandler):
3029         Check if we have to use cache before trying to retrieve handler from
3030         cache. Rename facName to clsName to match classpath more. Reformated
3031         some little pieces.
3032
3033 2003-09-27  Michael Koch  <konqueror@gmx.de>
3034
3035         * gnu/java/nio/SelectionKeyImpl.java
3036         (ch): Make package-private again. Jikes found this bug.
3037         Jeff Sturm submitted PR12426 for this to bugzilla
3038         to fix this bug in gcj.
3039
3040 2003-09-26  Michael Koch  <konqueror@gmx.de>
3041
3042         * java/rmi/server/RMIClassLoader.java:
3043         Reformatted file, no functional code changes.
3044
3045 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3046
3047         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3048         Save space for some pixels at the buffer end.  Added Javadoc.
3049
3050 2003-09-26  Tom Tromey  <tromey@redhat.com>
3051
3052         * java/io/ObjectOutputStream.java (writeFields): Fixed
3053         indentation.
3054         (putFields): Likewise.
3055
3056 2003-09-26  Michael Koch  <konqueror@gmx.de>
3057
3058         * java/nio/ByteBufferHelper.java:
3059         Totally reworked with help from Eric Blake.
3060
3061 2003-09-26  Tom Tromey  <tromey@redhat.com>
3062
3063         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3064         * java/awt/geom/PathIterator.java: Documentation fixes.
3065
3066 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3067
3068         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3069         (select): Likewise.
3070         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3071
3072 2003-09-25  Michael Koch  <konqueror@gmx.de>
3073
3074         * gnu/java/nio/DatagramChannelImpl.java
3075         (getNativeFD): New method.
3076         * gnu/java/nio/SelectionKeyImpl.java
3077         (SelectionKeyImpl): Class made abstract.
3078         (fd): Removed.
3079         (SelectionKeyImpl): Remove fd argument.
3080         (getNativeFD): New method.
3081         * gnu/java/nio/SocketChannelImpl.java
3082         (getNativeFD): New method.
3083         gnu/java/nio/DatagramChannelSelectionKey.java,
3084         * gnu/java/nio/SocketChannelSelectionKey.java:
3085         New files.
3086         * Makefile.am (ordinary_java_source_files):
3087         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3088         gnu/java/nio/SocketChannelSelectionKey.java.
3089         * Makefile.in: Regenerated.
3090
3091 2003-09-25  Michael Koch  <konqueror@gmx.de>
3092
3093         * java/lang/reflect/Proxy.java
3094         (getProxyClass): Remove workaround for gcj 3.0.x.
3095
3096 2003-09-25  Michael Koch  <konqueror@gmx.de>
3097
3098         * gnu/java/net/PlainDatagramSocketImpl.java
3099         (finalize): Moved to directly after constructor.
3100         (getNativeFD): New method.
3101         * gnu/java/net/PlainSocketImpl.java
3102         (getNativeFD): New method.
3103
3104 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3105
3106         * java/io/ObjectOutputStream.java:
3107         Allow putFields be called more than once.
3108
3109 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3110
3111         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3112         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3113         * java/awt/image/BufferedImage.java (toString): Implement.
3114
3115 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3116
3117         * aclocal.m4: Rebuilt.
3118         * configure: Rebuilt.
3119
3120 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3121
3122         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3123         field.
3124
3125 2003-09-25  Michael Koch  <konqueror@gmx.de>
3126
3127         * gnu/java/nio/SelectorImpl.java
3128         (implSelect): Renamed from java_do_select.
3129         (select): Call native implSelect() and add support for Thread
3130         interruption.
3131         * gnu/java/nio/natSelectorImpl.cc
3132         (implSelect): Renamed from java_do_select.
3133
3134 2003-09-25  Michael Koch  <konqueror@gmx.de>
3135
3136         * gnu/java/nio/SelectorImpl.java
3137         (selectNow): Made final, throws IOException.
3138         (select): Likewise.
3139         (getFDsAsArray): Made final.
3140         (selectedKeys): Likewise.
3141         (wakeup): Likewise.
3142         (deregisterCancelledKeys): Likewise.
3143         (register): Likewise.
3144         (ass): Removed.
3145         (add_selected): Removed.
3146         * gnu/java/nio/natSelectorImpl.cc:
3147         No need to include bstring.h or gcj/cni.h.
3148         (helper_put_filedescriptors): Rewritten.
3149         (helper_get_filedescriptors): Rewritten.
3150
3151 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3152
3153         * java/awt/font/FontRenderContext.java (getTransform): Return
3154         copy of internal transform object. Add Javadoc.
3155         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3156         winding rule as Sun J2SE.
3157         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3158
3159 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3160
3161         * java/rmi/Naming.java:
3162         Added comments, now accepts pseudo protocol "rmi".
3163
3164 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3165
3166         * java/text/DecimalFormat.java (format): Don't immediatly round
3167         baseNumber to long.
3168         (setMinimumIntegerDigits): Call super.
3169         (setMinimumFractionDigits): Likewise.
3170         (setMaximumIntegerDigits): Likewise.
3171         (setMaximumFractionDigits): Likewise.
3172
3173 2003-09-25  Michael Koch  <konqueror@gmx.de>
3174
3175         * gnu/java/nio/DatagramChannelImpl.java
3176         (DatagramChannelImpl): Made class final.
3177         (blocking): Made private.
3178         (socket): Made it a NIODatagramSocket and private.
3179         (DatagramChannelImpl): create NIODatagramSocket instead of
3180         DatagramSocket.
3181         (implConfigureBlocking): Set socket timeout.
3182         (connect): Check that channel is not closed.
3183         (write): Implemented.
3184         (write): Rewritten.
3185         (read): Implemented.
3186         (read): Rewritten.
3187         (receive): Implemented.
3188         (send): Implemented.
3189         * gnu/java/nio/SelectionKeyImpl.java
3190         (readyOps): Made private.
3191         (interestOps): Made private.
3192         (impl): Made private.
3193         (ch): Made private.
3194         (readyOps): Check if selection key is valid.
3195         (interestOps): Likewise.
3196         * gnu/java/nio/SelectorImpl.java
3197         (closed): Removed.
3198         (keys): Made private.
3199         (selected): Made private.
3200         (finalize): New method.
3201         (implCloseSelector): Rewritten.
3202         (keys): Return unmodifiable Set.
3203         (deregisterCancelledKeys): Fixed typo in method name.
3204         * gnu/java/nio/SocketChannelImpl.java
3205         (SocketChannelImpl): Made class final.
3206         (socket): Made it a NIOSocket and private.
3207         (blocking): Made private.
3208         (connected): Made private.
3209         (connectionPending): New member variable.
3210         (SocketChannelImpl): New implementation.
3211         (finalizer): Use isConnected().
3212         (connect): Rewritten.
3213         (finishConnect): Throws IOException, implemented.
3214         (isConnectionPending): Return connectionPending.
3215         (read): Rewritten.
3216         (write): Rewritten.
3217         * gnu/java/nio/NIOConstants.java: New file.
3218         * Makefile.am (ordinary_java_source_files):
3219         Added gnu/java/nio/NIOConstants.java.
3220         * Makefile.in: Regenerated.
3221
3222 2003-09-25  Michael Koch  <konqueror@gmx.de>
3223
3224         * java/net/InetAddress.java:
3225         Reorder imports, remove implementation comment.
3226         (isMulticastAddress): Merged documentation from classpath.
3227         * java/net/URLConnection.java
3228         (setRequestProperty): Check key for null, fix documentation.
3229         (adREquestProperty): Check key for null, remove wrong implementation
3230         and replace it with comment to overwrite this method in subclasses,
3231         fix documentation.
3232
3233 2003-09-25  Tom Tromey  <tromey@redhat.com>
3234
3235         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3236         domain code.
3237         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3238         argument.
3239         (linkClass0): Now in VMClassLoader.
3240         (markClassErrorState0): Likewise.
3241         (getSystemClassLoaderInternal): New method.
3242         * java/lang/natClass.cc (initializeClass): Use
3243         VMClassLoader::resolveClass.
3244         * java/lang/ClassLoader.java: New version, from Classpath.
3245         * java/lang/Class.java (getProtectionDomain):
3246         protectionDomainPermission and unknownProtectionDomain now in
3247         VMClassLoader.
3248         * java/lang/Class.h: VMClassLoader now a friend class.
3249         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3250         package-private.
3251         * gcj/javaprims.h: Regenerated class list.
3252         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3253         * java/lang/VMClassLoader.java: New version from Classpath;
3254         modified for libgcj use.
3255
3256 2003-09-25  Michael Koch  <konqueror@gmx.de>
3257
3258         * java/nio/ByteBufferHelper.java:
3259         New file.
3260         * java/nio/ByteBufferImpl.java,
3261         java/nio/DirectByteBufferImpl.java,
3262         java/nio/MappedByteBufferImpl.java
3263         (getType,putType): Use new helper class ByteBufferHelper.
3264         * Makefile.am (ordinary_java_source_files):
3265         Added java/nio/ByteBufferHelper.java.
3266         * Makefile.in: Regenerated.
3267
3268 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3269
3270         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3271         PR libgcj/12388.
3272
3273 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3274
3275         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3276         Strings, even if buffer is already shared.
3277
3278 2003-09-24  Michael Koch  <konqueror@gmx.de>
3279
3280         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3281
3282 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3283
3284         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3285         (write): Likewise.
3286         (SocketInputStream): Declare `read' and `write' methods native.
3287         Remove implementations which called back into PlainSocketImpl.
3288         Remove unneccessary overridden methods.
3289         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3290         to inner class PlainSocketImpl.SocketInputStream.
3291         (write): Likewise.
3292         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3293         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3294         * gnu/java/net/SocketInputStream.java: Remove unused file.
3295         * gnu/java/net/SocketOutputStream.java: Likewise.
3296         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3297         and SocketOutputStream.
3298         * Makefile.in: Rebuilt.
3299
3300 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3301
3302         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3303
3304         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3305         markers.
3306
3307 2003-09-22  Anthony Green  <green@redhat.com>
3308
3309         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3310         * configure: Rebuilt.
3311
3312 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3313
3314         PR java/12350:
3315         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3316
3317 2003-09-22  Michael Koch  <konqueror@gmx.de>
3318
3319         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3320         compiler warning but produces a different one now.
3321
3322 2003-09-22  Michael Koch  <konqueror@gmx.de>
3323
3324         * java/net/InetAddress.java:
3325         Moves around some code, reformats and adds documentation.
3326         No functional changes.
3327
3328 2003-09-22  Michael Koch  <konqueror@gmx.de>
3329
3330         * java/net/JarURLConnection.java
3331         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3332         (getCertificates): Made it more error prone.
3333         (getMainAttributes): Likewise.
3334         (getAttributes): Implemented.
3335         (getManifest): Reformatted code.
3336
3337 2003-09-20  Tom Tromey  <tromey@redhat.com>
3338
3339         * java/awt/Component.java: Indentation cleanup from Classpath.
3340
3341 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3342
3343        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3344        checking to follow 1.4.2 spec.
3345
3346 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3347
3348         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3349         is compatible in case client and server are running in the same VM
3350         (remerged from Classpath on 2003-09-20)
3351
3352 2003-09-19  David Daney <ddaney@avtrex.com>
3353
3354         * java/lang/ref/Reference.java (clear): Set referent to null and
3355         synchronize.
3356
3357 2003-09-19  Michael Koch  <konqueror@gmx.de>
3358
3359         * gnu/java/nio/NIODatagramSocket.java,
3360         gnu/java/nio/NIOSocket.java: New files.
3361         * Makefile.am (ordinary_java_source_files):
3362         Added gnu/java/nio/NIODatagramSocket.java and
3363         gnu/java/nio/NIOSocket.java.
3364         * Makefile.in: Regenerated.
3365
3366 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3367
3368         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3369         top-level GTK window.
3370         (getArgs): Add "title" property.
3371         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3372         "allow_shrink" and "allow_grow" properties.
3373         * java/awt/Dialog.java: Initialize resizable to true and change
3374         comments accordingly.  Initialize visible to false in
3375         constructors.
3376         * java/awt/Frame.java (dispose): Remove method.
3377         * java/awt/Window.java (ownedWindows): New field.
3378         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3379         owner's ownedWindows vector.
3380         (finalize): Remove method.
3381         (hide): Hide owned windows.
3382         (dispose): Dispose of owned windows.
3383         (getOwnedWindows): Implement.
3384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3385         unused GtkArg code.
3386         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3387         to TRUE or FALSE.
3388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3389         (create): Set window's size requisition.
3390         (connectHooks): Fix indentation.
3391         (setResizable): Remove function.
3392         (static setBounds): Likewise.
3393         (setBounds): Replace call to setBounds with GTK size requisition
3394         and resize calls.
3395
3396 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3397
3398         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3399         function for lazy initialization of an auto-reset event.
3400         (_Jv_CondWait) Added thread interrupt support.
3401         (_Jv_ThreadInitData) Added initialization of interrupt support
3402         members.
3403         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3404         (_Jv_ThreadStart) Removed unused code.
3405         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3406         to an external caller.
3407         (_Jv_ThreadInterrupt) Implemented.
3408         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3409         event for interrupt support as well as a mutex which regulates
3410         access to this.
3411         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3412         event to an external caller.
3413         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3414         process.
3415         (waitFor) Added interrupt support.
3416
3417 2003-09-19  Michael Koch  <konqueror@gmx.de>
3418
3419         * java/net/DatagramSocket.java (getLocalAddress):
3420         Renamed result variable to localAddr.
3421         * java/net/MulticastSocket.java:
3422         No need to import gnu.java.net.PlainDatagramSocketImpl.
3423
3424 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3425
3426         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3427         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3428
3429 2003-09-18  Tom Tromey  <tromey@redhat.com>
3430
3431         * javax/naming/InitialContext.java: Reindented.
3432
3433 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3434             Helmer Kraemer <hkraemer@freenet.de>
3435
3436         * javax/naming/spi/NamingManager.java (getURLContext,
3437         getObjectInstance, getStateToBind): Always use current thread's
3438         context class loader when calling Class.forName.
3439
3440 2003-09-18  Michael Koch  <konqueror@gmx.de>
3441
3442         * java/util/Timer.java (finalize): Added "throws Throwable".
3443
3444 2003-09-18  Michael Koch  <konqueror@gmx.de>
3445
3446         * java/net/DatagramSocket.java
3447         (ch): Removed.
3448         (receive): Use getChannel() instead of ch.
3449         (send): Likewise.
3450         (getChannel): Return null.
3451         * java/net/ServerSocket.java
3452         (ch): Removed.
3453         (setChannel): Removed.
3454         (implAccept): Use getChannel() instead of ch.
3455         (close): Likewise.
3456         (getChannel): Return null.
3457         * java/net/Socket.java
3458         (ch): Removed.
3459         (connect): Use getChannel() instead of ch.
3460         (setChannel): Removed.
3461         (getChannel): Return null.
3462
3463 2003-09-18  Mark Wielaard  <mark@klomp.org>
3464
3465         Reported by Guilhem Lavaux and Julian Dolby
3466         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3467         field "serialPersistentFields", not "getSerialPersistentFields".
3468
3469 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3470
3471         * java/util/TimeZone.java: Initialize lazily.
3472         * java/util/Locale.java (readManifest): Fix check for country.
3473         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3474         traceable 
3475         * java/util/Calendar.java: Make use of ResourceBundle better
3476         traceable.
3477
3478 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3479
3480         * java/sql/Timestamp.java
3481         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3482
3483 2003-09-18  David P Grove  <groved@us.ibm.com>
3484
3485         * java/io/LineNumberReader (read): Don't reset pos & limit when
3486         markPos is 0.
3487
3488 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3489
3490         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3491         constant.
3492         (computeArguments): use computeTypicalArguments.
3493
3494         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3495         Compile_jikes.java and RMICException.java.
3496         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3497         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3498         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3499  
3500         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3501  
3502         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3503         (computeTypicalArguments): New method.
3504         (compile): Print compiler output to System.out. Collect compiler
3505         error output and use it in exception message.
3506  
3507         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3508         (destination): Initialize to null.
3509         (run): Replace file separator with '.' when processing class.
3510         (processClass): Replace '.' with file separator when compiling
3511         classes.
3512         (findClass): Use SystemClassLoader to load class.
3513         (generateStub): Use full class name for generated stub, that puts
3514         it in right path.  Replace '.' with file separator when generating
3515         stub file name. Write just the stub class name without package
3516         information as class name, and constructor name. Write only
3517         interface names for interfaces extending java.rmi.Remote as
3518         implemented.
3519         (generateSkel): Use full class name for generated skel, that puts
3520         it in right path.  Replace '.' with file separator when generating
3521         stub file name. Write just the stub class name without package
3522         information as class name.
3523
3524 2003-09-18  Michael Koch  <konqueror@gmx.de>
3525
3526         * Makefile.am (rmi_java_source_files):
3527         Added gnu/java/rmi/rmic/Compile_kjc.java,
3528         gnu/java/rmi/rmic/Compile_jikes.java and
3529         gnu/java/rmi/rmic/RMICException.java
3530         * Makefile.in: Regenerated.
3531
3532 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3533
3534         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3535         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3536         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3537         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3538         New files.
3539
3540 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3541
3542         * java/awt/BufferedImage.java (setData): Support non-component
3543         sample models.
3544         (getData): Same.
3545
3546 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3547
3548         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3549         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3550
3551 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3552
3553         * configure.in: Standardized help text case of
3554         --enable-hash-synchronization
3555         New configure switch --enable-libgcj-multifile and corresponding
3556         automake conditional ONESTEP.
3557         * configure: Rebuilt.
3558         * Makefile.am: Use automake conditional ONESTEP to determine
3559         whether classfiles should be compiled individually or all
3560         at once.
3561         * Makefile.in: Rebuilt.
3562
3563 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3564
3565         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3566         Remove method declaration.
3567         (create()): Call native create.
3568         (create(int)): New method.
3569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3570         (create): Add window_id parameter.  Call gtk_plug_new with
3571         window_id parameter.
3572         (construct): Remove method implementation.
3573
3574 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3575
3576         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3577         (mostlyclean-local): New target patterned after clean-local
3578         which recursively deletes all libtool objects using 'libtool rm'.
3579         (clean-local): Slightly modified comment to alleviate monotony.
3580         (distclean-local): New target patterned after clean-local
3581         which recursively deletes all .d files.
3582         * Makefile.in: Rebuilt.
3583
3584 2003-09-11  Tom Tromey  <tromey@redhat.com>
3585
3586         * java/net/URLStreamHandler.java (parseURL): If original file
3587         ends with "/", so must canonical result.
3588         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3589         with nul-termination and finding previous "/".
3590
3591 2003-09-11  Michael Koch  <konqueror@gmx.de>
3592
3593         * acconfig.h: Removed most items.
3594         * configure.in: Added descriptions to AC_DEFINE macros that where in
3595         acconfig.h before.
3596         * include/config.h.in: Regenerated.
3597
3598 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3599
3600         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3601         if one is installed. Improve Javadoc.
3602         (getSystemEventQueueImpl): Improve Javadoc.
3603
3604 2003-09-11  Tom Tromey  <tromey@redhat.com>
3605
3606         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3607         file does not exist.
3608
3609 2003-09-10  Anthony Green  <green@redhat.com>
3610
3611         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3612         Specify full name when referencing ::java::net::InetAddress.
3613         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3614         Fix argument type.
3615
3616 2003-09-10  Michael Koch  <konqueror@gmx.de>
3617
3618         * acconfig.h (__NO_MATH_INLINES): Removed.
3619         * configure.in: Removed check for g++ math inlining bug from 2000.
3620         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3621         libgcj_cxxflags.
3622         * configure: Regenerated.
3623
3624 2003-09-10  David Daney <ddaney@avtrex.com>
3625
3626         * java/util/Arrays.java (equals(all variants)): Quit using
3627         NullPointerException catching to detect null valued parameters.
3628
3629 2003-09-10  Michael Koch  <konqueror@gmx.de>
3630
3631         * java/net/DatagramSocket.java,
3632         java/net/MulticastSocket.java,
3633         java/net/ServerSocket.java,
3634         java/net/Socket.java:
3635         Use gnu.java.net.Plain*SocketImpl instead of
3636         java.net.PlainSocketImpl.
3637         * java/net/PlainDatagramSocketImpl.java,
3638         java/net/PlainSocketImpl.java,
3639         java/net/SocketInputStream.java,
3640         java/net/SocketOutputStream.java,
3641         java/net/natPlainDatagramSocketImplNoNet.cc,
3642         java/net/natPlainDatagramSocketImplPosix.cc,
3643         java/net/natPlainDatagramSocketImplWin32.cc,
3644         java/net/natPlainSocketImplNoNet.cc,
3645         java/net/natPlainSocketImplPosix.cc,
3646         java/net/natPlainSocketImplWin32.cc:
3647         Removed.
3648         * gnu/java/net/PlainDatagramSocketImpl.java,
3649         gnu/java/net/PlainSocketImpl.java,
3650         gnu/java/net/SocketInputStream.java,
3651         gnu/java/net/SocketOutputStream.java,
3652         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3653         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3654         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3655         gnu/java/net/natPlainSocketImplNoNet.cc,
3656         gnu/java/net/natPlainSocketImplPosix.cc,
3657         gnu/java/net/natPlainSocketImplWin32.cc:
3658         New files (moved from java/net).
3659         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3660         instead of java/net/natPlain*SocketImpl.cc.
3661         * configure: Regenerated.
3662         * Makefile.am: Moved files from java/net to gnu/java/net.
3663         * Makefile.in: Regenerated.
3664
3665 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3666
3667         * configure: Regenerate.
3668
3669 2003-09-04  Tom Tromey  <tromey@redhat.com>
3670
3671         * configure.host: Removed erroneous comment.
3672
3673         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3674         lvalue cast; use correct rvalue cast.
3675
3676 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3677
3678         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3679         and height arguments to GtkWindowPeer.create method call.
3680         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3681         (create(int,int,int)): New method.
3682         (create(int)): Add call to new create method.
3683         (create()): Add width and height arguments to create method
3684         call.
3685         (GtkWindowPeer): Remove call to setBounds.
3686         * java/awt/Frame.java (Frame(String)): Initialize visible field
3687         to false.
3688         (Frame(GraphicsConfiguration)): Likewise.
3689         (Frame(String,GraphicsConfiguration)): Likewise.
3690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3691         Add width and height parameters.  Call
3692         gtk_window_set_default_size.
3693         (connectHooks): Remove unused name variable.
3694         (static setBounds): Call gtk_window_resize not
3695         gtk_widget_set_usize.
3696         (setBounds): Remove unused nchildren variable.
3697
3698 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3699
3700         * java/util/logging/Logger.java: provide class and method information
3701         * java/util/logging/LogManager.java: create handlers
3702         * java/util/logging/SimpleFormatter.java: print souceClassName and
3703         sourceMethodName
3704
3705 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3706
3707         * win32.cc: fixed tab, indentation and whitespace
3708         inconsistencies
3709         removed jvm.h include
3710         added includes java/lang/UnsupportedOperationException.h,
3711         java/io/IOException.h, java/net/SocketException.h
3712         (WSAEventWrapper): class implementation
3713         (_Jv_WinStrError): implemented both overloads
3714         (_Jv_ThrowIOException): implemented both overloads
3715         (_Jv_ThrowSocketException): implemented both overloads
3716         (_Jv_select): implemented
3717         * include/win32.h: fixed tab, indentation and whitespace
3718         inconsistencies
3719         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3720         added jvm.h include
3721         (WSAEventWrapper): added class declaration
3722         (_Jv_WinStrError): added both overload declarations
3723         (_Jv_ThrowIOException): added both overload declarations
3724         (_Jv_ThrowSocketException): added both overload declarations
3725         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3726         (_Jv_select): added declaration
3727         (_Jv_socket): removed
3728         (_Jv_connect): removed
3729         (_Jv_close): removed
3730         (_Jv_bind): removed
3731         (_Jv_accept): removed
3732         (_Jv_listen): removed
3733         (_Jv_write): removed
3734         (_Jv_read): removed
3735         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3736         whitespace inconsistencies
3737         replaced <windows.h> #include with <platform.h>
3738         removed jvm.h include
3739         (testCanUseGetHandleInfo): new function which tests whether Win32
3740         GetHandleInformation() call can be used with console buffer handles
3741         (only supported on >=WinNT 5.0)
3742         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3743         (valid): rewrote implementation using GetHandleInformation()
3744         (sync):         changed exception throwing to use error string and exception
3745         helper methods declared in include/win32.h
3746         (open): likewise
3747         (write): likewise
3748         (setLength): likewise
3749         (close): likewise
3750         (seek): likewise
3751         (getFilePointer): likewise
3752         (read): likewise
3753         * java/io/natFileWin32.cc: fixed tab, indentation and
3754         whitespace inconsistencies
3755         replaced <windows.h> #include with <platform.h>
3756         removed jvm.h include
3757         (_access): use JV_TEMP_UTF_STRING
3758         (_stat): likewise
3759         (performMkDir): use JV_TEMP_UTF_STRING
3760         (performRenameTo): likewise
3761         (performDelete): likewise
3762         (performCreate): likewise
3763         (performSetReadOnly): likewise
3764         (performSetLastModified): likewise
3765         * java/lang/natWin32Process.cc: fixed tab, indentation and
3766         whitespace inconsistencies
3767         replaced <windows.h> #include with <platform.h>
3768         removed includes gcj/cni.h, jvm.h
3769         (new_string): removed
3770         (startProcess): use JV_TEMP_UTF_STRING,
3771         changed exception throwing to use error string and exception
3772         helper methods declared in include/win32.h
3773         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3774         whitespace inconsistencies
3775         replaced <windows.h> #include with <platform.h>
3776         removed jvm.h include
3777         removed DISABLE_JAVA_NET conditional code
3778         removed POSIX conditional code not relevant to Win32
3779         (aton): use JV_TEMP_UTF_STRING
3780         removed POSIX conditional code not relevant to Win32
3781         (lookup): likewise
3782         (getLocalHostName): likewise
3783         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3784         whitespace inconsistencies
3785         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3786         removed DISABLE_JAVA_NET conditional code
3787         removed POSIX conditional code not relevant to Win32
3788         (winsock2GetRealNetworkInterfaces): new function to compute network
3789         interfaces via Winsock2 API
3790         (determineGetRealNetworkInterfacesFN): new function for returning
3791         a function pointer to the function used to compute network interfaces.
3792         (getRealNetworkInterfaces): implemented
3793         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3794         whitespace inconsistencies
3795         removed gcj/cni.h include
3796         removed DISABLE_JAVA_NET conditional code
3797         removed POSIX conditional code not relevant to Win32
3798         changed net POSIXisms to Win32isms
3799         replaced _Jv socket-related calls with their real Win32 equivalents
3800         changed exception throwing to use error string and exception
3801         helper methods declared in include/win32.h
3802         (peekData): implemented timeout support
3803         (receive): likewise
3804         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3805         whitespace inconsistencies
3806         removed gcj/cni.h and gcj/javaprims.h includes
3807         removed DISABLE_JAVA_NET conditional code
3808         removed POSIX conditional code not relevant to Win32
3809         changed net POSIXisms to Win32isms
3810         replaced _Jv socket-related calls with their real Win32
3811         equivalents
3812         changed exception throwing to use error string and exception
3813         helper methods declared in include/win32.h
3814         (throwConnectException): helper function for connect()
3815         (connect): implemented timeout support
3816         (accept): likewise
3817         (doRead): new helper function common to both read() method overloads,
3818         includes timeout support
3819         (read): implemented both overloads in terms of doRead()
3820         (available): implemented using ioctlsocket()
3821
3822 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3823
3824         * java/net/natInetAddressWin32.cc,
3825         java/net/natNetworkInterfaceWin32.cc,
3826         java/net/natPlainDatagramSocketImplWin32.cc,
3827         java/net/natPlainSocketImplWin32.cc:
3828         Readded code enclosed in DISABLE_JAVA_NET defines
3829         in preparation for MinGW cleanup / networking
3830         patch
3831
3832 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3833
3834         * Makefile.am: Fixed problems with parallel makes.
3835         (all_java_class_files): Readded definition.
3836         (all_java_class_files): New target which depends on
3837         libgcj-@gcc_version@.jar
3838         * Makefile.in: Rebuilt
3839
3840 2003-08-28  Tom Tromey  <tromey@redhat.com>
3841
3842         * Makefile.in: Rebuilt.
3843         * Makefile.am (ordinary_java_source_files): Added new files.
3844         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3845         friend.
3846         * java/net/URLClassLoader.java (findClass): Don't use
3847         findURLResource.  Use loader's getClass method.
3848         (URLLoader.getClass): New method.
3849         (addURL): Handle `gcjlib' URLs.
3850         (SoURLLoader): New class.
3851         (SoResource): Likewise.
3852         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3853         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3854         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3855         (_Jv_RegisterCoreHook): Declare.
3856         (_Jv_FindCore): Declare.
3857         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3858         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3859         typedef.
3860         (core_hook): New function.
3861         (struct SharedLibDummy) [saved_core]: New field.
3862         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3863         (register_hook): Set protection domain and class loader on new
3864         class.
3865         (finalize): Free core chain.
3866         * gnu/gcj/Core.java (Core): New constructor.
3867         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3868         SharedLibHelper.
3869         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3870         (_Jv_create_core): New function.
3871         (create): Use it.
3872         (default_register_resource): New function.
3873         (_Jv_RegisterCoreHook): New global.
3874         (_Jv_RegisterResource): Use it.
3875         (core_chain_struct): Removed.
3876         (_Jv_FindCore): New function.
3877         (_Jv_FreeCoreChain): New function.
3878
3879 2003-08-29  Michael Koch  <konqueror@gmx.de>
3880
3881         * java/net/natInetAddressWin32.cc,
3882         java/net/natNetworkInterfaceWin32.cc,
3883         java/net/natPlainDatagramSocketImplWin32.cc,
3884         java/net/natPlainSocketImplWin32.cc:
3885         Removed code enclosed in DISABLE_JAVA_NET defines.
3886
3887 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3888
3889         * Makefile.am: (write_entries_to_file) New parameterized
3890         function for writing entries to a file one line at a time.
3891         (all_java_class_files): Removed definition.
3892         (.java.class) Removed.target.
3893         (libgcj-@gcc_version@.jar): Changed dependency to
3894         $(all_java_source_files); added compilation step which compiles
3895         all changed source files in one pass.
3896         (libgcj.la) Refactored to use write_entries_to_file.
3897         (lib-gnu-awt-xlib.la) Likewise.
3898         (install-data-local) Likewise.
3899         (write-entries-to-file-check) New target which tests write_entries_to_file.
3900         (all-recursive): Changed dependency from $(all_java_class_files)
3901         to libgcj-@gcc_version@.jar
3902         * Makefile.in: Rebuilt.
3903
3904 2003-08-26  Tom Tromey  <tromey@redhat.com>
3905
3906         * java/lang/StrictMath.java: Typo fix.
3907         * java/lang/Math.java: Typo fix.
3908
3909 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3910
3911         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3912         of the removed Thread.
3913
3914 2003-08-26  Mark Wielaard  <mark@klomp.org>
3915
3916         Reported by David Holmes <dholmes@dltech.com.au>.
3917         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3918         Collections.synchronizedMap.
3919         * java/lang/ThreadLocal.java (valueMap): Likewise.
3920
3921 2003-08-26  Mark Wielaard  <mark@klomp.org>
3922
3923         * java/security/acl/Acl.java: Fix broken p tag.
3924         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3925         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3926         * javax/swing/plaf/TreeUI.java: Likewise.
3927         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3928         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3929         documentation.
3930         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3931         tag.
3932
3933 2003-08-26  Tom Tromey  <tromey@redhat.com>
3934
3935         * Makefile.in: Rebuilt.
3936         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3937
3938         * java/lang/ref/Reference.java (get): Indentation fix.
3939         (clear): Comment fix.
3940         (enqueue): Likewise.
3941         (lock): Likewise.
3942         (referent): Likewise.
3943
3944 2003-08-26  Tom Tromey  <tromey@redhat.com>
3945
3946         PR java/12058:
3947         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3948
3949         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3950         (ProxyData.getPackage): New method.
3951         (ProxyData.getProxyData): Use package name, not Package.
3952         (ClassFactory.ClassFactory): Updated.
3953
3954 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3955         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3956         * Makefile.in: re-generated.
3957         * gnu/awt/j2d/IntegerGraphicsState.java
3958         (ScreenCoupledImage): new interface.
3959         (drawImage): detect ScreenCoupledImage instances.
3960         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3961         * gnu/awt/xlib/XEventLoop.java
3962         (createEvent): re-formatted, and rearranged to avoid null pointer.
3963         * gnu/awt/xlib/XGraphics.java
3964         (drawImage): added XOffScreenImage handling.
3965         * gnu/awt/xlib/XOffScreenImage.java: new file.
3966         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3967         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3968         * gnu/gcj/xlib/XAnyEvent.java
3969         (TYPE_KEY_PRESS): new constant.
3970         (TYPE_KEY_RELEASE): new constant.
3971         (TYPE_MOTION_NOTIFY): new constant.
3972         (TYPE_ENTER_NOTIFY): new constant.
3973         (TYPE_LEAVE_NOTIFY): new constant.
3974         (TYPE_FOCUS_IN): new constant.
3975         (TYPE_FOCUS_OUT): new constant.
3976         (TYPE_KEYMAP_NOTIFY): new constant.
3977         (TYPE_GRAPHICS_EXPOSE): new constant.
3978         (TYPE_NO_EXPOSE): new constant.
3979         (TYPE_VISIBILITY_NOTIFY): new constant.
3980         (TYPE_CREATE_NOTIFY): new constant.
3981         (TYPE_DESTROY_NOTIFY): new constant.
3982         (TYPE_MAP_REQUEST): new constant.
3983         (TYPE_CONFIGURE_REQUEST): new constant.
3984         (TYPE_GRAVITY_NOTIFY): new constant.
3985         (TYPE_RESIZE_REQUEST): new constant.
3986         (TYPE_CIRCULATE_NOTIFY): new constant.
3987         (TYPE_CIRCULATE_REQUEST): new constant.
3988         (TYPE_PROPERTY_NOTIFY): new constant.
3989         (TYPE_SELECTION_CLEAR): new constant.
3990         (TYPE_SELECTION_REQUEST): new constant.
3991         (TYPE_SELECTION_NOTIFY): new constant.
3992         (TYPE_COLORMAP_NOTIFY): new constant.
3993         (TYPE_MAPPING_NOTIFY): new constant.
3994         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3995         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3996         * java/awt/Component.java (createImage): changed to use peer method.
3997
3998 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3999
4000         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4001         name, not XLFD, to native drawString.
4002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4003         Replace XLFD-based implementation with Pango-based
4004         implementation.
4005
4006 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4007
4008         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4009         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4010
4011 2003-08-21  David Daney  <ddaney@avtrex.com>
4012
4013         Fix for PR libgcj/12013:
4014         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4015         Check `cleared' field.
4016         * java/lang/ref/Reference.java (copy): Updated comments.
4017         (cleared): New field.
4018         (clear): Rewrote.
4019
4020 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4021             Thomas Fitzsimmons  <fitzsim@redhat.com>
4022
4023         * Makefile.am (gtk_awt_peer_sources): Add
4024         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4025         gnu/java/awt/GLightweightPeer.java.
4026         * gnu/java/awt/GLightweightPeer.java: Remove file.
4027         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4028         * java/awt/Component.java (getToolkit): Add comment about
4029         lightweight components.
4030         * java/awt/Toolkit.java (createComponent): Return
4031         gnu.java.awt.peer.GLightweightPeer.
4032
4033 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4034
4035         * configure.in: Fix detection of gcj when building with newlib.
4036         * configure: Regenerated.
4037
4038 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4039
4040         * jni.cc: Replace "cheating" pointer-casting code with
4041         extract_from_jvalue<> template.
4042
4043 2003-08-20  Andrew Haley  <aph@redhat.com>
4044
4045         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4046         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4047         (classAt): Break out class lookup function into getClass().
4048         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4049         handlers when using -fno-assume-compiled.
4050
4051 2003-08-20  Tom Tromey  <tromey@redhat.com>
4052
4053         Fix for PR libgcj/9125:
4054         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4055         object outside of loop.  Respect lib_control setting.
4056         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4057         field.
4058         (lib_control): New field.
4059         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4060         (VMClassLoader): Initialize new field.
4061
4062         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4063         Set `list->reference' to DELETED_REFERENCE when removing dead
4064         object.
4065         (find_slot): Added an assert.
4066         (DELETED_REFERENCE): New define.
4067         (add_to_hash): Check for DELETED_REFERENCE.
4068         (remove_from_hash): Just return if found slot isn't ours.
4069
4070 2003-08-19  Andrew Haley  <aph@redhat.com>
4071
4072         * prims.cc (unblock_signal): New function.
4073         (catch_segv): Use it.
4074         (catch_fpe): Likewise.
4075
4076 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4077
4078         PR libgcj/11575
4079         * java/io/natFileDescriptorWin32.cc (open): Set create
4080         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4081         Honor EXCL when openning with WRITE flag. 
4082
4083 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4084
4085         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4086         getting a temporary C string from a jstring)
4087         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4088         but uses a stack buffer if the string length is less than 256
4089         bytes.
4090
4091 2003-08-18  Tom Tromey  <tromey@redhat.com>
4092
4093         PR libgcj/11951:
4094         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4095         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4096         value.  Added is_jni_call argument; only wrap exception if not a
4097         JNI call.  Use descriptive message if operation not supported.
4098         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4099         array class.
4100         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4101         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4102         _Jv_CallAnyMethodA.
4103         (_Jv_JNI_CallAnyMethodA): Likewise.
4104         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4105         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4106
4107 2003-08-13  Tom Tromey  <tromey@redhat.com>
4108
4109         * gij.cc (help): Document -? and -X.
4110
4111 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4112
4113         * java/awt/Font.java: 
4114         Stub out more recent API. 
4115
4116 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4117
4118         * java/awt/Color.java (getAlpha): 
4119         Prevent sign-extended alpha values.
4120
4121 2003-08-12  Tom Tromey  <tromey@redhat.com>
4122
4123         * gij.cc (main): Handle -? and -X.
4124
4125 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4126
4127         * java/awt/Container.java
4128         (getPreferredSize): Call preferredSize.
4129         (preferredSize): Moved body of getPreferredSize here.
4130         (getMinimumSize): Call minimumSize.
4131         (minimumSize): Moved body of getMinimumSize here.
4132
4133 2003-08-11  Tom Tromey  <tromey@redhat.com>
4134
4135         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4136         (postEvent): Removed FIXME comment.
4137         (isDispatchThread): Documented.
4138         (getCurrentEvent): New method.
4139         (dispatchEvent): Set currentEvent and lastWhen.
4140         (getMostRecentEventTime): Rewrote.
4141         (invokeLater): Documented.
4142
4143 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4144
4145         * java/io/PrintStream.java (print): Always flush if auto_flush is
4146         set. Don't check for newline characters.
4147         (write (int)): Implement without using a temporary array.
4148         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4149         check for newline characters.
4150         Fixes PR libgcj/11778.
4151
4152 2003-08-08  Andrew Haley  <aph@redhat.com>
4153
4154         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4155         * Makefile.in: Rebuild.
4156         * java/lang/natRuntime.cc (insertSystemProperties): Add
4157         "sun.boot.class.path".
4158
4159 2003-08-07  Andrew Haley  <aph@redhat.com>
4160
4161         * java/io/PrintStream.java: Don't crash on a null string.
4162         
4163 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4164
4165         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4166         * configure: Regenerate.
4167
4168 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4169
4170         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4171         SocketImpl. Update Javadoc.
4172         (bind): Call close() not impl.close() in event of exception.
4173         (connect): Likewise.
4174         Remove superfluous null checks throughout.
4175         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4176         Don't create an extra socket. Fix for PR libgcj/10868.
4177         (bind): Clean up exception handling.
4178         Remove superfluous null checks throughout.
4179
4180 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4181             Bryce McKinlay  <bryce@mckinlay.net.nz>
4182
4183         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4184         ready-to-write argument to _Jv_Select. Reset the socket back to 
4185         non-blocking state after connecting.
4186         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4187         Throw SocketTimeoutException not InterruptedIOException.
4188         (read): Throw SocketTimeoutException not InterruptedIOException.
4189
4190 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4191
4192         * java/lang/Thread.java (Thread): Check for null "name" from
4193         start of private constructor, not after calling the private
4194         constructor.
4195
4196 2003-08-06  Tom Tromey  <tromey@redhat.com>
4197
4198         * java/io/FilePermission.java (equals): Use correct index for
4199         last character of path.
4200
4201 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4202
4203         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4204         * configure.in: Compare with_cross_host to build_alias, not build.
4205         * aclocal.m4: Regenerate.
4206         * configure: Regenerate.
4207
4208 2003-08-05  Tom Tromey  <tromey@redhat.com>
4209
4210         Fix for PR libgcj/11779:
4211         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4212         class.
4213
4214         * java/lang/reflect/Method.java: Updated status comment.
4215         Imported javadoc from Classpath and re-ordered methods.
4216         * java/lang/reflect/Constructor.java: Reindented.  Updated
4217         status comment.  Imported javadoc from Classpath and re-ordered
4218         methods.
4219
4220 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4221
4222         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4223         Add keyLocation parameter.
4224         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4225         string.
4226         (paramString): Generate keyChar string according to keyChar, not
4227         keyCode.
4228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4229         (state_to_awt_mods): Handle ALT key.
4230         (keyevent_state_to_awt_mods): New function.
4231         (get_first_keyval_from_keymap): New function.
4232         (keysym_to_awt_keycode): Get virtual key code from keymap.
4233         Handle missing VK_ values.
4234         (keysym_to_awt_keylocation): New function.
4235         (keyevent_to_awt_keychar): New function.
4236         (generates_key_typed_event): Handle non-text-component case.
4237         Handle GDK_KP_Delete and GDK_KP_Enter.
4238         (awt_event_handler): Call new functions to get postKeyEvent
4239         parameters.
4240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4241         Update postKeyEvent method signature.
4242         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4243         VK_ defines.
4244
4245 2003-08-05  Matthias Klose  <doko@debian.org>
4246
4247         * aclocal.m4: check for libart-config binary
4248           under the name libart2-config as well.
4249         * configure: regenerated.
4250
4251 2003-08-04  David P Grove  <groved@us.ibm.com>
4252
4253         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4254         when groupingSize is 0.
4255         (parse): Likewise.
4256
4257 2003-08-04  Matthias Klose  <doko@debian.org>
4258
4259         * libart.m4: check for libart-config binary
4260           under the name libart2-config as well.
4261         * configure, aclocal.m4: regenerated.
4262
4263 2003-08-02  Michael Koch  <konqueror@gmx.de>
4264
4265         * java/nio/ByteBufferImpl.java
4266         (getChar): Check remaining bytes, fixed comment about endianess.
4267         (putChar): Likewise.
4268         (getShort): Likewise.
4269         (putShort): Likewise.
4270         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4271         endianess.
4272         (putInt): Likewise.
4273         (getLong): Likewise.
4274         (putLong): Likewise.
4275         (getFloat): Likewise.
4276         (putFloat): Likewise.
4277         (getDouble): Likewise.
4278         (putDouble): Likewise.
4279         * java/nio/DirectByteBufferImpl.java
4280         (getChar): Wrapped code, fixed comment about endianess.
4281         (putchar): Likewise.
4282         (getShort): Likewise.
4283         (putShort): Likewise.
4284         (getInt): Fixed conversion, fixed comment about endianess.
4285         (putInt): Likewise.
4286         (getLong): Likewise.
4287         (putLong): Likewise.
4288         (getFloat): Likewise.
4289         (putFloat): Likewise.
4290         (getDouble): Likewise.
4291         (putDouble): Likewise.
4292         * java/nio/MappedByteBufferImpl.java
4293         (compact): Implemented.
4294         (getChar): Implemented.
4295         (putChar): Implemented.
4296         (getDouble): Implemented.
4297         (putdouble): Implemented.
4298         (getFloat): Implemented.
4299         (putFloat): Implemented.
4300         (getInt): Implemented.
4301         (putInt): Implemented.
4302         (getLong): Implemented.
4303         (putLong): Implemented.
4304         (getShort): Implemented.
4305         (putShort): Implemented.
4306         * java/nio/channels/FileChannelImpl.java
4307         (read): Set position where to access file.
4308         (write): Likewise.
4309         (transferTo): Flip buffer after read and before write.
4310         (transferFrom): Likewise.
4311
4312 2003-08-02  Michael Koch  <konqueror@gmx.de>
4313
4314         * gnu/java/lang/ArrayHelper.java
4315         (equalsArray): Reformated, added method documentation.
4316
4317 2003-08-02  Michael Koch  <konqueror@gmx.de>
4318
4319         * java/net/URL.java
4320         (URL): Added paragraph about the
4321         gnu.java.net.nocache_protocol_handlers property.
4322         (ph_cache): Renamed from handlers to match classpath's implementation.
4323         Reordered it with factory and serialVersionUID member variables.
4324         (cache_handlers): New member variable.
4325         (static): New static initializer to initialize cache_handlers from
4326         gnu.java.net.nocache_protocol_handlers property.
4327         (URL): Use ph_cache instead of handlers, reformatted some code to
4328         match classpath's implementation.
4329
4330 2003-08-01  Tom Tromey  <tromey@redhat.com>
4331
4332         Fix for PR libgcj/11241:
4333         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4334         initialCapacity is 0, set it to 1.
4335
4336 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4337
4338         * java/net/SocketImpl.java (toString): Display the remote address
4339         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4340
4341 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4342
4343         * javax/swing/border/BevelBorder.java,
4344         javax/swing/border/EtchedBorder.java,
4345         javax/swing/border/LineBorder.java,
4346         javax/swing/border/MatteBorder.java,
4347         javax/swing/border/SoftBevelBorder.java,
4348         javax/swing/plaf/BorderUIResource.java,
4349         javax/swing/plaf/ComponentUI.java,
4350         javax/swing/plaf/TreeUI.java,
4351         javax/swing/plaf/basic/BasicBorders.java,
4352         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4353         javax/swing/plaf/basic/BasicTreeUI.java:
4354         Prepend "doc-files" to all paths to embedded Javadoc images, so
4355         that the generated documentation contains the correct URL.
4356
4357 2003-08-01  Tom Tromey  <tromey@redhat.com>
4358
4359         * configure: Rebuilt.
4360         * configure.in (tool_include_dir): Redefine to match gcc.
4361
4362 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4363             Mark Wielaard  <mark@klomp.org>
4364             
4365         * java/math/BigDecimal (divide): Correctly handle
4366         ROUND_HALF_EVEN when amount is greater than 0.5.
4367         Simplify and optimize code.
4368
4369 2003-07-31  Tom Tromey  <tromey@redhat.com>
4370
4371         More for PR libgcj/11737:
4372         * java/io/ObjectInputStream.java (processResolution): Use
4373         getMethod.
4374         (getMethod): Make method accessible.
4375         (getField): Make field accessible.
4376         (setBooleanField): Don't call setAccessible here.
4377         (setByteField, setCharField, setDoubleField, setFloatField,
4378         setIntField, setLongField, setShortField, setObjectField):
4379         Likewise.
4380         (callReadMethod): Don't check whether method is null.  Catch
4381         NoSuchMethodException.
4382         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4383         cause on thrown exceptions.
4384
4385 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4386
4387         Fix for PR libgcj/11728:
4388         * java/util/HashMap.java (readObject): Set size.
4389
4390 2003-07-31  Tom Tromey  <tromey@redhat.com>
4391
4392         Fix for PR libgcj/11737:
4393         * java/io/ObjectOutputStream.java (getMethod): Make method
4394         accessible.
4395         (getField): Likewise.
4396         (writeObject): Use getMethod.
4397         Import PrivilegedAction and AccessController.
4398         (callWriteMethod): Don't check whether m is null.  Catch
4399         NoSuchMethodException.
4400
4401         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4402         (containsAngle): Likewise.
4403         (getStartPoint): Rewrote.
4404         (getEndPoint): Likewise.
4405         (setAngleStart(Point2D)): Likewise.
4406
4407 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4408             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4409
4410         * configure.in: Add new THREADCXXFLAGS variable.
4411         Handle POSIX threads on alpha*-dec-osf*.
4412         * configure: Regenerate.
4413         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4414         * Makefile.in: Regenerate.
4415
4416 2003-07-08  Andrew Haley  <aph@redhat.com>
4417
4418         * include/i386-signal.h (RESTORE): New.
4419         (INIT_SEGV): Set restorer.
4420         (INIT_FPE): Likewise.
4421
4422 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4423
4424         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4425         than getXLFD.
4426         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4427         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4429         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4431         Likewise.
4432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4433         Likewise.
4434
4435 2003-07-29  Tom Tromey  <tromey@redhat.com>
4436
4437         * defineclass.cc (handleField): Throw exception if field name is
4438         duplicated.
4439         (handleMethod): Throw exception for duplicate method.
4440
4441 2003-07-29  Tom Tromey  <tromey@redhat.com>
4442
4443         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4444         output buffer is too small.
4445
4446 2003-07-28  Tom Tromey  <tromey@redhat.com>
4447
4448         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4449         New method.
4450         Include gnu/gcj/runtime/StringBuffer.h.
4451         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4452         native method.
4453         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4454
4455 2003-07-27  Anthony Green  <green@redhat.com>
4456
4457         * configure.in: Fix newlib check.
4458         * configure: Rebuilt.
4459
4460 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4461
4462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4463         Create vbox and layout for GtkPlug.
4464
4465 2003-07-27  Michael Koch  <konqueror@gmx.de>
4466
4467         * java/awt/Window.java
4468         (Window): Removed now unused constructor. It became oboslete with the
4469         new embedded window patch.
4470
4471 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4472             Michael Koch  <konqueror@gmx.de>
4473
4474         * gnu/java/awt/EmbeddedWindow.java
4475         (EmbeddedWindow): Extends Frame instead of Window.
4476         (window_id): New member variable to store the native window handle.
4477         (create): Removed.
4478         (EmbeddedWindow): New constructor.
4479         (addNotify): New method.
4480         (getHandler): Likewise.
4481         (setWindowPeer): New native method.
4482         * gnu/java/awt/EmbeddedWindowSupport.java
4483         (EmbeddedWindowSupport): Fixed documentation.
4484         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4485         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4486         window data.
4487         * gnu/java/awt/natEmbeddedWindow.cc
4488         (create): Removed.
4489         (setWindowPeer): New method.
4490         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4491         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4492         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4493         New files
4494         * gnu/java/awt/peer/gtk/GtkToolkit.java
4495         (GtkToolkit): Implements EmbeddedWindowSupport.
4496         (createEmbeddedWindow): New method.
4497         * java/awt/Window.java
4498         (Window): Removed.
4499         * Makefile.am
4500         (java_source_files): Added EmbeddedWindowPeer.java.
4501         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4502         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4503         * Makefile.in: Regenerated.
4504
4505 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4506
4507         * java/lang/Win32Process.java (ConcreteProcess): Surround
4508         a command line element with quotes if it contains an
4509         embedded space or tab.
4510         * java/lang/natWin32Process.cc (startProcess): Do not
4511         surround command line elements with quotes here.
4512
4513         * configure.host: Use -fcheck-references and 
4514         -fuse-divide-subroutine for MinGW until we fix
4515         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4516         Structured Exception Handling (SEH).
4517
4518         * win32.cc (_Jv_platform_initProperties): Use generic names
4519         like "x86" for the "os.arch" property to be consistent with
4520         what Sun's JDK produces. Use the wProcessorArchitecture
4521         member of the Win32 SYSTEM_INFO structure, filled in a call 
4522         to GetSystemInfo( ), instead of dwProcessorType.
4523
4524 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4525             Ranjit Mathew  <rmathew@hotmail.com>
4526
4527         * Makefile.am: Use cross-compiling gcjh from the path for
4528         a crossed-native build.
4529         * Makefile.in: Rebuilt.
4530         * configure.in: Include libltdl in non-newlib builds.
4531         Moved determination of gcj used to build libraries to
4532         its own section. Fixed cross-compilation issues for
4533         non-newlib builds.
4534         * configure: Rebuilt.
4535
4536 2003-07-25  Tom Tromey  <tromey@redhat.com>
4537
4538         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4539         (write): Likewise.
4540         (read): Likewise.
4541         (read): Likewise.
4542
4543 2003-07-25  Mark Wielaard  <mark@klomp.org>
4544
4545         * java/lang/natRuntime.cc (_load): Add library name to
4546         UnsatisfiedLinkError when thrown.
4547
4548 2003-07-25  Mark Wielaard  <mark@klomp.org>
4549
4550         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4551         added.
4552         * Makefile.in: Likewise.
4553
4554 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4555
4556         * java/awt/Component.java
4557         (getPreferredSize): Call preferredSize.
4558         (preferredSize): Moved body of getPreferredSize here.
4559         (getMinimumSize): Call minimumSize.
4560         (minimumSize): Moved body of getMinimumSize here.
4561         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4562         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4563         pass -1
4564         * java/awt/Container.java
4565         (validate): Don't validate if there is no peer.
4566         (update): Clear background before calling paint.
4567         * java/awt/GridBagLayout.java
4568         Completed the implementation and fixed several bugs.
4569         * java/awt/MediaTracker.java
4570         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4571         combine flags.
4572         * java/awt/Window.java
4573         (Window): Don't call setVisible(false). Windows are invisible by
4574         default and calling virtual methods from constructor causes
4575         compatibility problems (e.g. subclasses may assume that the peer
4576         already exists).
4577
4578 2003-07-25  Michael Koch  <konqueror@gmx.de>
4579
4580         * java/awt/GridBagLayout.java:
4581         Totally reworked and partly implemented.
4582         * java/awt/GridBagLayoutInfo.java:
4583         New file.
4584
4585 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4586
4587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4588         Don't pack label in an event box.
4589
4590 2003-07-24  Tom Tromey  <tromey@redhat.com>
4591
4592         For PR libgcj/7482:
4593         * verify.cc (ref_intersection): New class.
4594         (type_val): Removed unresolved_reference_type,
4595         uninitialized_unresolved_reference_type.
4596         (is_assignable_from_slow): Rewrote.
4597         (type::data): Removed.
4598         (type::klass): New field.
4599         (type::type): Added verifier argument.
4600         (type::resolve): Removed.
4601         (type::set_uninitialized): Updated for change to type_val.
4602         (type::set_initialized): Likewise.
4603         (type::isinitialized): Likewise.
4604         (type::print): Likewise.
4605         (construct_primitive_array_type): Likewise.
4606         (type::compatible): Updated for change to type_val and to use
4607         ref_intersection.
4608         (type::isarray): Updated to use ref_intersection.
4609         (type::isinterface): Likewise.
4610         (type::element_type): Likewise.
4611         (type::to_array): Likewise.
4612         (type::verify_dimensions): Rewrote.
4613         (type::merge): Likewise.
4614         (check_class_constant): Updated for type constructor change.
4615         (check_constant): Likewise.
4616         (check_field_constant): Likewise.
4617         (get_one_type): Likewise.
4618         (initialize_stack): Likewise.
4619         (verify_instructions_0): Likewise.
4620         (verify_instructions_0) [op_invokeinterface]: Removed special
4621         case.
4622         (isect_list): New field.
4623         (_Jv_BytecodeVerifier): Initialize it.
4624         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4625
4626 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4627
4628         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4629         unless field size is 2.
4630
4631 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4632
4633         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4634         (connectHooks): New method.
4635         (handleEvent): Remove.
4636         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4637         (createHooks): Remove declaration.
4638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4639         (generates_key_typed_event): Change to handle only certain
4640         keyvals.
4641         (awt_event_handler): Add special handling for GtkTextView.
4642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4643         (textcomponent_commit_cb): New function.
4644         (textcomponent_changed_cb): Likewise.
4645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4646         (connectHooks): Remove.
4647
4648 2003-07-23  Tom Tromey  <tromey@redhat.com>
4649
4650         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4651
4652         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4653
4654 2003-07-22  Tom Tromey  <tromey@redhat.com>
4655
4656         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4657         Include limits.h.
4658
4659 2003-07-22  Tom Tromey  <tromey@redhat.com>
4660
4661         * java/awt/Window.java (getWarningString): Just return the
4662         string.
4663         (Window): Set warningString; check with security manager.
4664
4665 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4666
4667         * gnu/awt/xlib/XGraphicsConfiguration.java
4668         (FontMetricsCache): Made static.
4669  
4670 2003-07-22  Tom Tromey  <tromey@redhat.com>
4671
4672         * java/net/URLEncoder.java (encode(String)): Use platform default
4673         encoding.
4674         (encode(String,String)): Convert to 2-digit upper-case hex
4675         number.
4676         (hex): New field.
4677
4678 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4679
4680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4681         (create): Remove unused method implementation.
4682         (connectHooks): Remove debug messages.
4683
4684 2003-07-20  Anthony Green  <green@redhat.com>
4685
4686         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4687         CloneNotSupportedException.
4688         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4689         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4690         * gnu/gcj/xlib/GC.java (clone): Ditto.
4691         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4692         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4693
4694         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4695         handler.
4696         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4697
4698 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4699
4700         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4701         String.  Put dlerror() message into exception.
4702         Include UnsatisfiedLinkError.
4703         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4704         String.  Now native.
4705
4706 2003-07-20  Tom Tromey  <tromey@redhat.com>
4707
4708         * java/lang/Runtime.java: Comment fix.
4709         * java/lang/ClassLoader.java (isAncestorOf): New method.
4710         (getParent): Uncommented security check.  Use isAncestorOf.
4711         * include/jvm.h (_Jv_CheckAccess): Declare.
4712         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4713         access check.
4714         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4715         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4716         class loader to _Jv_GetArrayClass.
4717         Include ArrayIndexOutOfBoundsException.h.
4718         * java/lang/reflect/Field.java: Update comment to reflect status.
4719         (equals): Fixed indentation.
4720         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4721         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4722         * java/lang/Class.java (memberAccessCheck): New method from
4723         Classpath.
4724         (checkMemberAccess): Removed.
4725         (getDeclaredMethod): Use memberAccessCheck.
4726         (getField): Likewise.
4727         (getMethod): Likewise.
4728         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4729         (_Jv_SearchMethodInClass): Likewise.
4730         * prims.cc (_Jv_CheckAccess): New function.
4731         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4732         (_Jv_JNI_GetAnyFieldID): Likewise.
4733         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4734         (getClassLoader): Added security check.
4735         (getConstructor): Call memberAccessCheck.
4736         (getDeclaredClasses): Likewise.
4737         (getDeclaredField): Likewise.
4738         (getDeclaredFields): Likewise.
4739         (_getConstructors): Likewise.
4740         (getDeclaredConstructor): Likewise.
4741         (getDeclaredMethods): Likewise.
4742         (getFields): Likewise.
4743         (getMethods): Likewise.
4744         (newInstance): Likewise.
4745         (_Jv_MakeVTable): Put method name in exception.
4746         * java/lang/reflect/natMethod.cc (getType): Use
4747         getClassLoaderInternal.
4748         (_Jv_GetTypesFromSignature): Likewise.
4749         (invoke): Perform access check.
4750         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4751         Include ArrayIndexOutOfBoundsException.h.
4752         * java/lang/reflect/natField.cc (getType): Use
4753         getClassLoaderInternal.
4754         (_Jv_CheckFieldAccessibility): Removed.
4755         (getAddr): Use _Jv_CheckAccess; find caller.
4756         Include ArrayIndexOutOfBoundsException.h.
4757
4758 2003-07-20  Michael Koch  <konqueror@gmx.de>
4759
4760         * java/net/URL.java
4761         (URL): Fixed documentation to name an argument correcty, Reformatted
4762         one method declaration.
4763         (getURLStreamHandler): Added documentation from classpath.
4764
4765 2003-07-19  Tom Tromey  <tromey@redhat.com>
4766
4767         * mauve-libgcj: Don't run CollationElementIterator tests.
4768
4769 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4770
4771         * java/net/URLClassLoader.java (addURL): Moved implementation to
4772         private addURLImpl() to avoid calling addURL from the constructor.
4773         (addURLImpl): Contains the code that was previously in addURL.
4774         (addURLs): Call addURLImpl(), not addURL().
4775
4776 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4777
4778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4779         Handle missing event cases, connect to "value-changed" signal.
4780
4781 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4782
4783         * java/awt/geom/CubicCurve2D.java,
4784         java/awt/geom/Line2D.java,
4785         java/awt/geom/QuadCurve2D.java,
4786         java/awt/geom/Rectangle2D.java: 
4787         Fix path some calculations, make path iterators follow
4788         a consistent style.
4789
4790 2003-07-18  Mark Wielaard  <mark@klomp.org>
4791
4792         * java/util/logging/Handler.java (isLoggable): Check record level
4793         smaller or equal.
4794
4795 2003-07-17  Michael Koch  <konqueror@gmx.de>
4796
4797         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4798         Reworked imports.
4799
4800 2003-07-14  Michael Koch  <konqueror@gmx.de>
4801
4802         * gnu/java/rmi/server/UnicastServerRef.java:
4803         New version from classpath.
4804
4805 2003-07-14  Michael Koch  <konqueror@gmx.de>
4806
4807         * java/awt/image/MemoryImageSource.java,
4808         java/beans/PropertyEditorManager.java,
4809         javax/naming/CompoundName.java,
4810         javax/naming/spi/NamingManager.java,
4811         javax/swing/AbstractButton.java,
4812         javax/swing/ButtonModel.java,
4813         javax/swing/SwingUtilities.java,
4814         javax/swing/UIManager.java,
4815         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4816         javax/swing/event/AncestorEvent.java,
4817         javax/swing/event/InternalFrameEvent.java,
4818         java/util/zip/ZipFile.java:
4819         New versions from classpath.
4820
4821 2003-07-13  Michael Koch  <konqueror@gmx.de>
4822
4823         * gnu/java/nio/FileChannelImpl.java,
4824         gnu/java/nio/natFileChannelImpl.cc: Removed.
4825         * java/io/FileInputStream.java,
4826         java/io/FileOutputStream.java,
4827         java/io/RandomAccessFile.java,
4828         java/nio/MappedByteBufferImpl.java:
4829         Import java.nio.channels.FileChannelImpl instead of
4830         gnu.java.nio.FileChannelImpl.
4831         * java/nio/channels/FileChannelImpl.java,
4832         java/nio/channels/natFileChannelImpl.cc:
4833         New files.
4834         * Makefile.am
4835         (ordinary_java_source_files):
4836         Removed gnu/java/nio/FileChannelImpl.java and added
4837         java/nio/channels/FileChannelImpl.java.
4838         (nat source_files):
4839         Removed gnu/java/nio/natFileChannelImpl.cc and added
4840         java/nio/channels/natFileChannelImpl.cc.
4841         * Makefile.in: Regenerated.
4842
4843 2003-07-13  Michael Koch  <konqueror@gmx.de>
4844
4845         * javax/swing/plaf/basic/BasicBorders.java,
4846         javax/swing/plaf/basic/BasicLabelUI.java,
4847         javax/swing/plaf/basic/BasicLookAndFeel.java,
4848         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4849         javax/swing/plaf/basic/BasicTextUI.java,
4850         javax/swing/plaf/metal/MetalLookAndFeel.java:
4851         New versions from classpath.
4852
4853 2003-07-13  Michael Koch  <konqueror@gmx.de>
4854
4855         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4856         * gnu/java/awt/peer/gtk/GdkGraphics.java
4857         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4858         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4859         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4860         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4861         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4862         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4863         * gnu/java/awt/peer/gtk/GtkClipboard.java
4864         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4865         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4866         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4867         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4868         * gnu/java/awt/peer/gtk/GtkImage.java
4869         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4870         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4871         * gnu/java/awt/peer/gtk/GtkListPeer.java
4872         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4873         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4874         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4875         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4876         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4877         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4878         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4879         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4880         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4881         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4882         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4883         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4884
4885 2003-07-13  Michael Koch  <konqueror@gmx.de>
4886
4887         * gnu/java/locale/LocaleInformation_de.java
4888         * gnu/java/locale/LocaleInformation_en.java
4889         * gnu/java/locale/LocaleInformation_nl.java
4890
4891 2003-07-13  Michael Koch  <konqueror@gmx.de>
4892
4893         * gnu/java/awt/EmbeddedWindow.java,
4894         gnu/java/awt/EmbeddedWindowSupport.java,
4895         gnu/java/awt/natEmbeddedWindow.cc:
4896         New files.
4897         * java/awt/Window.java
4898         (Window): New constructor to support embedded windows.
4899         * Makefile.am
4900         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4901         gnu/java/awt/EmbeddedWindowSupport.java.
4902         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4903         * Makefile.in: Regenerated.
4904
4905 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4906
4907         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4908         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4909         * java/awt/im/InputContext.java: Remove a redundant
4910         partial line.
4911
4912 2003-07-09  Tom Tromey  <tromey@redhat.com>
4913
4914         * Makefile.in: Rebuilt.
4915         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4916
4917 2003-07-09  Mark Wielaard  <mark@klomp.org>
4918
4919         * java/io/ObjectOutputStream.java (writeObject): break after
4920         calling writeClassDescriptor().
4921
4922 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4923
4924         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4925
4926 2003-07-09  Michael Koch  <konqueror@gmx.de>
4927
4928         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4929         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4930         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4931         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4932         Explicitly import used classes.
4933         * java/awt/Container.java: New version from classpath.
4934
4935 2003-07-09  Michael Koch  <konqueror@gmx.de>
4936
4937         * libgcj.pc.in: New file.
4938         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4939         * Makefile.in: Regenerated.
4940         * configure: Regenrated.
4941         * configure.in: Create libgcj.pc from libgcj.pc.in.
4942
4943 2003-07-08  Mark Wielaard <mark@klomp.org>
4944
4945         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4946
4947         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4948         * java/lang/fdlibm.h: Likewise.
4949
4950 2003-07-07  Adam Megacz <adam@xwt.org>
4951
4952         * posix.cc: added #include<stdio.h>
4953                 
4954 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4955
4956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4957         formatting.
4958
4959         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4960         (setCaretPosition, setEditable): Rely entirely on native
4961         implementation.
4962         (getArgs): Remove.
4963         (postTextEvent): New method.
4964         (handleEvent): New method.
4965         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4966         method.
4967         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4969         (keysym_to_awt_keycode): Fix range checks.
4970         (generates_key_typed_event): New function.
4971         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4972         queue.
4973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4974         (gtkInit): Store TextComponent's postTextEvent method ID.
4975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4976         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4977
4978 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4979
4980         * configure.in: Check for usleep declaration.
4981         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4982         * configure: Regenerate.
4983         * include/config.h.in: Likewise.
4984         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4985
4986 2003-07-01  Michael Koch  <konqueror@gmx.de>
4987
4988         * gnu/gcj/convert/natIconv.cc
4989         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4990         handle.
4991
4992 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4993
4994         * glib-2.0.m4: New file.
4995         * gtk-2.0.m4: New file.
4996         * glib.m4: Remove.
4997         * gtk.m4: Remove.
4998         * configure.in: Update AM_PATH_GTK macro call to
4999         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5002         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5004         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5007         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5008         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5009         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5010         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5011         jni/gtk-peer/gthread-jni.c,
5012         jni/gtk-peer/gthread-jni.h:
5013         New versions from classpath.
5014         * aclocal.m4: Regenerate.
5015         * configure: Regenerate.
5016         * Makefile.in: Regenerate.
5017         * gcj/Makefile.in: Regenerate.
5018         * include/Makefile.in: Regenerate.
5019         * testsuite/Makefile.in: Regenerate.
5020
5021 2003-06-30  Gary Benson  <gbenson@redhat.com>
5022
5023         For PR libgcj/11349:
5024         * javax/naming/spi/NamingManager.java (getURLContext): Use
5025         correct name for factory class.
5026
5027 2003-06-28  Michael Koch  <konqueror@gmx.de>
5028
5029         * java/io/PrintStream.java
5030         (checkError): Call flush() instead of direct flushing of the Writer
5031         object.
5032         (print): Call print(String) instead of direct print method of the
5033         Writer Object.
5034         (println): Call println(String) instead of direct println method of the
5035         Writer Object.
5036         (write): Simplified.
5037
5038 2003-06-28  Michael Koch  <konqueror@gmx.de>
5039
5040         * java/net/ServerSocket.java
5041         (setChannel): New method.
5042         * java/net/Socket.java
5043         (setChannel): New method.
5044
5045 2003-06-27  Michael Koch  <konqueror@gmx.de>
5046
5047         * java/beans/beancontext/BeanContextSupport.java:
5048         New version from classpath.
5049
5050 2003-06-27  Michael Koch  <konqueror@gmx.de>
5051
5052         * java/awt/Window.java,
5053         java/awt/font/GraphicAttribute.java,
5054         java/awt/font/ImageGraphicAttribute.java,
5055         java/awt/image/DataBufferByte.java,
5056         java/awt/image/DataBufferInt.java,
5057         java/awt/image/DataBufferUShort.java,
5058         java/awt/image/DirectColorModel.java,
5059         java/awt/image/PixelGrabber.java:
5060         New versions from classpath.
5061
5062 2003-06-27  Michael Koch  <konqueror@gmx.de>
5063
5064         * java/security/Certificate.java
5065         (getGuarantor): Removed wrong @deprecated tag.
5066         (getPrincipal): Likewise.
5067         (getPublicKey): Likewise.
5068         (encode): Likewise.
5069         (decode): Likewise.
5070         (getFormat): Likewise.
5071         (toString): Likewise.
5072         * java/security/cert/PolicyQualifierInfo.java
5073         (PolicyQualifierInfo): Made final.
5074         * javax/security/auth/x500/X500Principal.java
5075         (serialVersionUID): New member variable.
5076
5077 2003-06-27  Michael Koch  <konqueror@gmx.de>
5078
5079         * java/text/Format.java
5080         (serialVersionUID): Fixed value.
5081
5082 2003-06-27  Michael Koch  <konqueror@gmx.de>
5083
5084         * java/net/Inet4Address.java
5085         (Inet4Address): Made package-private.
5086         * java/net/Inet6Address.java
5087         (Inet4Address): Made package-private.
5088
5089 2003-06-27  Michael Koch  <konqueror@gmx.de>
5090
5091         * java/io/RandomAccessFile.java
5092         (readLine): Removed wrong @deprecated tag.
5093         (getChannel): Made final.
5094
5095 2003-06-27  Michael Koch  <konqueror@gmx.de>
5096
5097         * gnu/java/nio/FileChannelImpl.java
5098         (write): Removed.
5099
5100 2003-06-27  Michael Koch  <konqueror@gmx.de>
5101
5102         * java/nio/ByteBufferImpl.java
5103         (ByteBufferImpl): Made it a package-private class
5104         * java/nio/CharBufferImpl.java
5105         (CharBufferImpl): Made it a package-private class
5106         * java/nio/DirectByteBufferImpl.java
5107         (DirectByteBufferImpl): Made it a package-private class
5108         * java/nio/DoubleBufferImpl.java
5109         (DoubleBufferImpl): Made it a package-private class
5110         * java/nio/FloatBufferImpl.java
5111         (FloatBufferImpl): Made it a package-private class
5112         * java/nio/IntBufferImpl.java
5113         (IntBufferImpl): Made it a package-private class
5114         * java/nio/LongBufferImpl.java
5115         (LongBufferImpl): Made it a package-private class
5116         * java/nio/ShortBufferImpl.java
5117         (ShortBufferImpl): Made it a package-private class
5118         * java/nio/channels/FileChannel.java
5119         (write): Made final.
5120         * java/nio/channels/ServerSocketChannel.java
5121         (ServerSocketChanne): Made protected.
5122
5123 2003-06-27  Michael Koch  <konqueror@gmx.de>
5124
5125         * javax/naming/CompositeName.java
5126         (serialVersionUID): New member variable.
5127         * javax/naming/CompoundName.java
5128         (serialVersionUID): New member variable.
5129         * javax/naming/InitialContext.java
5130         (InitialContext): Throws NamingException.
5131         (init): Likewise.
5132         * javax/naming/LinkRef.java
5133         (serialVersionUID): New member variable.
5134         (gteLinkName): Throws NamingException.
5135         * javax/naming/NamingException.java
5136         (serialVersionUID): New member variable.
5137         * javax/naming/NamingSecurityException.java
5138         (NamingSecurityException): Made abstract.
5139         (serialVersionUID): New member variable.
5140         * javax/naming/ReferralException.java
5141         (serialVersionUID): New member variable.
5142         * javax/naming/StringRefAddr.java
5143         (serialVersionUID): New member variable.
5144         * javax/naming/directory/BasicAttribute.java:
5145         Reworked imports.
5146         (serialVersionUID): New member variable.
5147         (get): Throws NamingException.
5148         (getAll): Throws NamingException.
5149         * javax/naming/directory/BasicAttributes.java:
5150         Reworked imports.
5151         (serialVersionUID): New member variable.
5152         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5153         (serialVersionUID): New member variable.
5154
5155 2003-06-27  Michael Koch  <konqueror@gmx.de>
5156
5157         * Makefile.am
5158         (awt_java_source_files): Added new files:
5159         javax/swing/Popup.java,
5160         javax/swing/PopupFactory.java
5161         * Makefile.in: Regenerated.
5162
5163 2003-06-27  Michael Koch  <konqueror@gmx.de>
5164
5165         * javax/swing/JWindow.java,
5166         javax/swing/event/AncestorEvent.java,
5167         javax/swing/event/HyperlinkEvent.java,
5168         javax/swing/event/InternalFrameEvent.java,
5169         javax/swing/event/ListDataEvent.java,
5170         javax/swing/event/TableModelEvent.java,
5171         javax/swing/plaf/PopupMenuUI.java,
5172         javax/swing/plaf/SplitPaneUI.java,
5173         javax/swing/plaf/TabbedPaneUI.java,
5174         javax/swing/plaf/TextUI.java,
5175         javax/swing/plaf/TreeUI.java,
5176         javax/swing/plaf/basic/BasicTextUI.java,
5177         javax/swing/plaf/basic/BasicTreeUI.java:
5178         New versions from classpath.
5179         * javax/swing/Popup.java,
5180         javax/swing/PopupFactory.jav:
5181         New source files from classpath.
5182         * javax/swing/plaf/doc-files/TreeUI-1.png:
5183         New binary files from classpath.
5184
5185 2003-06-25  Michael Koch  <konqueror@gmx.de>
5186
5187         * Makefile.am
5188         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5189         * Makefile.in: Regenerated.
5190
5191 2003-06-25  Michael Koch  <konqueror@gmx.de>
5192
5193         * javax/swing/plaf/ActionMapUIResource.java,
5194         javax/swing/plaf/BorderUIResource.java,
5195         javax/swing/plaf/ButtonUI.java,
5196         javax/swing/plaf/ColorChooserUI.java,
5197         javax/swing/plaf/ColorUIResource.java,
5198         javax/swing/plaf/ComboBoxUI.java,
5199         javax/swing/plaf/ComponentInputMapUIResource.java,
5200         javax/swing/plaf/ComponentUI.java,
5201         javax/swing/plaf/DesktopIconUI.java,
5202         javax/swing/plaf/DesktopPaneUI.java,
5203         javax/swing/plaf/DimensionUIResource.java,
5204         javax/swing/plaf/FileChooserUI.java,
5205         javax/swing/plaf/FontUIResource.java,
5206         javax/swing/plaf/IconUIResource.java,
5207         javax/swing/plaf/InputMapUIResource.java,
5208         javax/swing/plaf/InsetsUIResource.java,
5209         javax/swing/plaf/InternalFrameUI.java,
5210         javax/swing/plaf/LabelUI.java,
5211         javax/swing/plaf/ListUI.java,
5212         javax/swing/plaf/MenuBarUI.java,
5213         javax/swing/plaf/MenuItemUI.java,
5214         javax/swing/plaf/OptionPaneUI.java,
5215         javax/swing/plaf/PanelUI.java,
5216         javax/swing/plaf/ProgressBarUI.java,
5217         javax/swing/plaf/RootPaneUI.java,
5218         javax/swing/plaf/ScrollBarUI.java,
5219         javax/swing/plaf/ScrollPaneUI.java,
5220         javax/swing/plaf/SeparatorUI.java,
5221         javax/swing/plaf/SliderUI.java,
5222         javax/swing/plaf/TableHeaderUI.java,
5223         javax/swing/plaf/TableUI.java,
5224         javax/swing/plaf/ToolBarUI.java,
5225         javax/swing/plaf/ToolTipUI.java,
5226         javax/swing/plaf/ViewportUI.java:
5227         New versions from classpath.
5228         * javax/swing/plaf/SpinnerUI.java: 
5229         New file from classpath
5230
5231 2003-06-25  Michael Koch  <konqueror@gmx.de>
5232
5233         * java/awt/image/ColorModel.java:
5234         New version from classpath.
5235
5236 2003-06-25  Michael Koch  <konqueror@gmx.de>
5237
5238         * java/net/PlainDatagramSocketImpl.java:
5239         Partly merged with classpath, this mainly adds documentation.
5240
5241 2003-06-25  Michael Koch  <konqueror@gmx.de>
5242
5243         * java/io/ObjectInputStream.java
5244         (readClassDescriptor): New method.
5245         (readObject): Moved functionality to readClassDescriptor().
5246         * java/io/ObjectOutputStream.java
5247         (writeClassDescriptor): New method.
5248         (writeObject): Moved functionality to writeClassDescriptor().
5249
5250 2003-06-25  Michael Koch  <konqueror@gmx.de>
5251
5252         * javax/swing/plaf/basic/BasicListUI.java,
5253         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5254         Added missing methods.
5255
5256 2003-06-25  Michael Koch  <konqueror@gmx.de>
5257
5258         * javax/swing/event/AncestorEvent.java
5259         javax/swing/event/HyperlinkEvent.java
5260         javax/swing/event/InternalFrameEvent.java
5261         javax/swing/event/ListDataEvent.java
5262         javax/swing/event/TableModelEvent.java:
5263         Compile fixes.
5264
5265 2003-06-24  Michael Koch  <konqueror@gmx.de>
5266
5267         * java/net/URL.java:
5268         Renamed "handler" to "ph" in the whole file to match classpaths
5269         version.
5270         * java/net/URLStreamHandler.java:
5271         (equals): Renamed "handler" to "ph".
5272
5273 2003-06-24  Michael Koch  <konqueror@gmx.de>
5274
5275         * javax/swing/event/AncestorEvent.java,
5276         javax/swing/event/HyperlinkEvent.java,
5277         javax/swing/event/InternalFrameEvent.java,
5278         javax/swing/event/ListDataEvent.java,
5279         javax/swing/event/TableModelEvent.java,
5280         javax/swing/event/TreeWillExpandListener.java,
5281         javax/swing/plaf/ComponentUI.java,
5282         javax/swing/plaf/DesktopIconUI.java,
5283         javax/swing/plaf/DesktopPaneUI.java,
5284         javax/swing/plaf/DimensionUIResource.java,
5285         javax/swing/plaf/FileChooserUI.java,
5286         javax/swing/plaf/FontUIResource.java,
5287         javax/swing/plaf/IconUIResource.java,
5288         javax/swing/plaf/InputMapUIResource.java,
5289         javax/swing/plaf/InsetsUIResource.java,
5290         javax/swing/plaf/InternalFrameUI.java,
5291         javax/swing/plaf/LabelUI.java,
5292         javax/swing/plaf/ListUI.java,
5293         javax/swing/plaf/MenuBarUI.java,
5294         javax/swing/plaf/MenuItemUI.java,
5295         javax/swing/plaf/OptionPaneUI.java,
5296         javax/swing/plaf/PanelUI.java,
5297         javax/swing/plaf/ProgressBarUI.java,
5298         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5299         javax/swing/plaf/doc-files/ComponentUI-1.png:
5300         New versions from classpath.
5301
5302 2003-06-24  Michael Koch  <konqueror@gmx.de>
5303
5304         * java/nio/Buffer.java
5305         (cap): Made package-private.
5306         (pos): Likewise.
5307         (limit): Likewise.
5308         (mark): Likewise.
5309
5310 2003-06-24  Michael Koch  <konqueror@gmx.de>
5311
5312         * java/net/SocketImpl.java
5313         (shutdownInput): Made it non-abstract method throwing an exception
5314         like in SUNs JRE.
5315         (shutdownOutput): Likewise.
5316         * java/net/SocketInputStream.java,
5317         java/net/SocketOutputStream.java:
5318         New files from classpath.
5319
5320 2003-06-24  Michael Koch  <konqueror@gmx.de>
5321
5322         * java/awt/Font.java,
5323         java/awt/Window.java,
5324         java/awt/color/ColorSpace.java,
5325         java/awt/datatransfer/StringSelection.java,
5326         java/awt/image/ColorModel.java:
5327         New versions from classpath.
5328
5329 2003-06-24  Michael Koch  <konqueror@gmx.de>
5330
5331         * Makefile.am
5332         (awt_java_source_files): Added new files:
5333         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5334         javax/swing/plaf/basic/BasicSplitPaneUI.java
5335         * Makefile.in: Regenerated.
5336
5337 2003-06-24  Michael Koch  <konqueror@gmx.de>
5338
5339         * javax/swing/text/JTextComponent.java:
5340         New version from classpath.
5341
5342 2003-06-24  Michael Koch  <konqueror@gmx.de>
5343
5344         * javax/swing/Timer.java,
5345         javax/swing/plaf/ActionMapUIResource.java,
5346         javax/swing/plaf/ButtonUI.java,
5347         javax/swing/plaf/ColorChooserUI.java,
5348         javax/swing/plaf/ColorUIResource.java,
5349         javax/swing/plaf/ComboBoxUI.java,
5350         javax/swing/plaf/ComponentInputMapUIResource.java,
5351         javax/swing/plaf/basic/BasicBorders.java:
5352         New versions from classpath.
5353         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5354         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5355         New file from classpath.
5356         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5357         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5358         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5359         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5360         javax/swing/plaf/doc-files/ComponentUI-1.png:
5361         New binary files from classpath.
5362
5363 2003-06-24  Michael Koch  <konqueror@gmx.de>
5364
5365         * java/io/LineNumberReader.java
5366         (skip): Dont do line number accounting here as this is already done in
5367         read(), simplified.
5368
5369 2003-06-21  Michael Koch  <konqueror@gmx.de>
5370
5371         * java/io/File.java
5372         (static): Load javaio lib if existing (only in classpath).
5373         (File): Revised documentation to show the correct argument name.
5374         (createTempFile): Partly merged with classpath.
5375         (compareTo): Simplified.
5376         (lastModified): Throw exception if time < 0.
5377         (deleteOnExit): Revised documentation.
5378
5379 2003-06-21  Michael Koch  <konqueror@gmx.de>
5380
5381         * java/net/PlainSocketImpl.java:
5382         Reformatted.
5383         (PlainSocketImpl): Merged class documentaion with classpath.
5384         (in): Moved.
5385         (out): Moved.
5386         (PlainSocketImpl): New empty constructor.
5387         (finalize): Moved.
5388         (setOption): Merged documentation from classpath.
5389         (getOption): Likewise.
5390         (create): Likewise.
5391         (connect): Likewise.
5392         (bind): Likewise.
5393         (listen): Likewise.
5394         (accept): Likewise.
5395         (available): Likewise.
5396         (close): Likewise.
5397         (read): Likewise.
5398         (write): Likewise.
5399         (getInputStream): Made synchronozed to get sure that only one stream
5400         object can be created for this socket, merged documentation from
5401         classpath.
5402         (getOutputStream): Likewise.
5403
5404 2003-06-21  Michael Koch  <konqueror@gmx.de>
5405
5406         * java/net/PlainSocketImpl.java:
5407         Reformatting.
5408         (static): New implicit method.
5409         (read): Made package private.
5410         (write): Likewise.
5411
5412 2003-06-21  Michael Koch  <konqueror@gmx.de>
5413
5414         * java/util/SimpleTimeZone.java:
5415         Removed unneeded import, reformatting.
5416
5417 2003-06-21  Michael Koch  <konqueror@gmx.de>
5418
5419         * java/text/DateFormat.java,
5420         java/text/SimpleDateFormat.java,
5421         java/util/Locale.java:
5422         New versions from classpath.
5423
5424 2003-06-21  Michael Koch  <konqueror@gmx.de>
5425
5426         * javax/swing/SpinnerModel.java:
5427         New file from classpath.
5428         * javax/swing/border/LineBorder.java,
5429         javax/swing/border/SoftBevelBorder.java,
5430         javax/swing/plaf/BorderUIResource.java,
5431         javax/swing/plaf/basic/BasicBorders.java:
5432         New versions from classpath.
5433         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5434         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5435         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5436         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5437         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5438         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5439         New binary files from classpath.
5440
5441 2003-06-21  Michael Koch  <konqueror@gmx.de>
5442
5443         * java/util/logging/LogRecord.java,
5444         java/util/logging/Logger.java,
5445         java/util/logging/SocketHandler.java,
5446         java/util/logging/SimpleFormatter.java,
5447         java/util/logging/Formatter.java,
5448         java/util/logging/ErrorManager.java,
5449         java/util/logging/Handler.java,
5450         java/util/logging/FileHandler.java,
5451         java/util/logging/LogManager.java,
5452         java/util/logging/Level.java,
5453         java/util/logging/ConsoleHandler.java,
5454         java/util/logging/StreamHandler.java,
5455         java/util/logging/LoggingPermission.java,
5456         java/util/logging/Filter.java,
5457         java/util/logging/MemoryHandler.java,
5458         java/util/logging/XMLFormatter.java:
5459         New files from classpath.
5460
5461 2003-06-20  Michael Koch  <konqueror@gmx.de>
5462
5463         * java/io/ObjectStreamField.java
5464         (unshared): new member variable.
5465         (ObjectStreamField): New constructor.
5466         (isUnshared): New method.
5467
5468 2003-06-20  Michael Koch  <konqueror@gmx.de>
5469
5470         * java/net/URLStreamHandler.java
5471         (hostsEqual): Rewritten.
5472
5473 2003-06-20  Michael Koch  <konqueror@gmx.de>
5474
5475         * gnu/java/nio/MappedByteFileBuffer.java,
5476         gnu/java/nio/natMappedByteFileBuffer.cc:
5477         Removed
5478         * java/nio/MappedByteBufferImpl.java:
5479         New file.
5480         * gnu/java/nio/FileChannelImpl.java:
5481         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5482         * Makefile.am
5483         (ordinary_java_source_files): Removed
5484         gnu/java/nio/MappedByteFileBuffer.java and added
5485         java/nio/MappedByteBufferImpl.java.
5486         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5487         * Makefile.in: Regenerated.
5488
5489 2003-06-19  Michael Koch  <konqueror@gmx.de>
5490
5491         * gnu/java/nio/DatagramChannelImpl.java
5492         (fd): Removed.
5493         (blocking): New member variable.
5494         (socket): Likewise.
5495         (DatagramChannelImpl): Throws IOException, initialize socket.
5496         (socket):Implemented.
5497         (implCloseSelectableChannel): Throws IOException, implemented.
5498         (implConfigureBlocking): Likewise.
5499         (connect): Likewise.
5500         (disconnect): Likewise.
5501         (isConnected): Likewise.
5502         (write): Likewise.
5503         (read): Likewise.
5504         (receive): Throws IOException.
5505         (send): Likewise.
5506         * gnu/java/nio/SocketChannelImpl.java
5507         (read): Implemented.
5508         (write): Implemented.
5509
5510 2003-06-19  Michael Koch  <konqueror@gmx.de>
5511
5512         * javax/swing/JComponent.java,
5513         javax/swing/JInternalFrame.java,
5514         javax/swing/MenuSelectionManager.java,
5515         javax/swing/SwingUtilities.java,
5516         javax/swing/ToggleButtonModel.java:
5517         New versions from classpath.
5518
5519 2003-06-19  Michael Koch  <konqueror@gmx.de>
5520
5521         * java/text/CollationElementIterator.java
5522         (NULLORDER): Initialize with -1 as JDK documentation says.
5523
5524 2003-06-19  Michael Koch  <konqueror@gmx.de>
5525
5526         * java/net/HttpURLConnection.java,
5527         java/net/Inet4Address.java,
5528         java/net/Inet6Address.java,
5529         java/net/SocketImpl.java,
5530         java/net/URLClassLoader.java:
5531         Reworked import statements.
5532         * java/net/InetAddress.java
5533         (getByAddress): Simplified.
5534         * java/net/ServerSocket.java
5535         (ServerSocket): Moved special handling during bind operation to
5536         bind().
5537         (bind): Handle different cases when trying to bind a socket.
5538         * java/net/URLConnection.java
5539         (getHeaderFieldDate): Merged with classpath.
5540         (getHeaderFieldInt): Likewise.
5541
5542 2003-06-19  Michael Koch  <konqueror@gmx.de>
5543
5544         * java/util/zip/InflaterInputStream.java
5545         (InflaterInputStream): Throw NullPointerException if in is null (as
5546         JDK does).
5547
5548 2003-06-19  Michael Koch  <konqueror@gmx.de>
5549
5550         * java/awt/Font.java
5551         javax/swing/UIManager.java
5552         javax/swing/border/AbstractBorder.java
5553         javax/swing/border/BevelBorder.java
5554         javax/swing/border/Border.java
5555         javax/swing/border/CompoundBorder.java
5556         javax/swing/border/EmptyBorder.java
5557         javax/swing/border/EtchedBorder.java
5558         javax/swing/border/LineBorder.java
5559         javax/swing/border/MatteBorder.java
5560         javax/swing/border/TitledBorder.java
5561         javax/swing/plaf/BorderUIResource.java
5562         javax/swing/plaf/basic/BasicBorders.java
5563         javax/swing/plaf/basic/BasicButtonUI.java
5564         javax/swing/plaf/basic/BasicCheckBoxUI.java
5565         javax/swing/plaf/basic/BasicGraphicsUtils.java
5566         javax/swing/plaf/basic/BasicLabelUI.java
5567         javax/swing/plaf/basic/BasicRadioButtonUI.java
5568         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5569         New versions from classpath.
5570         * javax/swing/border/SoftBevelBorder.java:
5571         New file from classpath.
5572         * javax/swing/border/doc-files/LineBorder-1.png,
5573         javax/swing/border/doc-files/BevelBorder-1.png,
5574         javax/swing/border/doc-files/BevelBorder-2.png,
5575         javax/swing/border/doc-files/BevelBorder-3.png,
5576         javax/swing/border/doc-files/EmptyBorder-1.png,
5577         javax/swing/border/doc-files/EtchedBorder-1.png,
5578         javax/swing/border/doc-files/EtchedBorder-2.png,
5579         javax/swing/border/doc-files/MatteBorder-1.png,
5580         javax/swing/border/doc-files/MatteBorder-2.png,
5581         javax/swing/border/doc-files/MatteBorder-3.png,
5582         javax/swing/border/doc-files/MatteBorder-4.png,
5583         javax/swing/border/doc-files/MatteBorder-5.png,
5584         javax/swing/border/doc-files/MatteBorder-6.png,
5585         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5586         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5587         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5588         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5589         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5590         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5591         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5592         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5593         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5594         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5595         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5596         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5597         New binary files from classpath.
5598         * Makefile.am
5599         (awt_java_source_files): Added
5600         javax/swing/border/SoftBevelBorder.java.
5601         * Makefile.in: Regenerated.
5602
5603 2003-06-19  Michael Koch  <konqueror@gmx.de>
5604
5605         * gnu/java/security/x509/X509Certificate.java
5606         (writeReplace): Merged from classpath.
5607
5608 2003-06-19  Michael Koch  <konqueror@gmx.de>
5609
5610         * gnu/java/nio/FileChannelImpl.java
5611         (map_address): Made public.
5612         (FileChannelImpl): Merged with classpath.
5613         * gnu/java/nio/natFileChannelImpl.cc
5614         (nio_mmap_file): Commented out unused arguments.
5615         (nio_unmmap_file): Likewise.
5616         (niu_msync): Likewise.
5617
5618 2003-06-19  Michael Koch  <konqueror@gmx.de>
5619
5620         * java/awt/image/IndexColorModel.java:
5621         New version from classpath.
5622
5623 2003-06-18  Tom Tromey  <tromey@redhat.com>
5624
5625         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5626         on arrays.
5627         (isLoopbackAddress): Likewise.
5628         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5629         on arrays.
5630
5631 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5632
5633         * java/lang/natVMSecurityManager.cc (getClassContext):
5634         Use maxlen instead of len for loop bound.
5635
5636 2003-06-18  Michael Koch  <konqueror@gmx.de>
5637
5638         * gnu/java/nio/SelectorImpl.java
5639         (register): Use fd with value 0 for now, will be fixed later.
5640         * gnu/java/nio/ServerSocketChannelImpl.java
5641         (fd): Removed.
5642         (local_port): Removed.
5643         (InetSocketAddress): Removed.
5644         (ServerSocketChannelImpl): Just initialize internal socket object.
5645         (implCloseSelectableChannel): Close internal socket object.
5646         (implConfigureBlocking): Added comment.
5647         (accept): Use jaba.net stuff to accept socket.
5648         * gnu/java/nio/SocketChannelImpl.java
5649         (fd): Removed.
5650         (local_port): Removed.
5651         (InetSocketAddress): Removed.
5652         (SocketCreate): Removed.
5653         (SocketConnect): Removed.
5654         (SocketBind): Removed.
5655         (SocketListen): Removed.
5656         (SocketAvailable): Removed.
5657         (SocketClose): Removed.
5658         (SocketRead): Removed.
5659         (SocketWrite): Removed.
5660         (SocketChannelImpl): Just initialize internal socket object.
5661         (implCloseSelectableChannel): Close internal socket object.
5662         (implConfigureBlocking): Fixed implementation, added comment.
5663         (connect): Use internal socket object to connect.
5664         (socket): No need for sanity checks.
5665         (read): Comment out some stuff, this will be reimplemented in the next
5666         commit.
5667         (write): Likewise.
5668         * gnu/java/nio/natFileChannelImpl.cc
5669         (nio_mmap_file): Line wrapped.
5670         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5671         * Makefile.am
5672         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5673         * Makefile.in: Regenerated.
5674
5675 2003-06-18  Michael Koch  <konqueror@gmx.de>
5676
5677         * java/util/Locale.java
5678         (equals): Merged from classpath.
5679
5680 2003-06-18  Michael Koch  <konqueror@gmx.de>
5681
5682         * java/net/InetAddress.java:
5683         Reformatted to better match classpath's version.
5684         * java/net/URL.java
5685         (equals): Simplified.
5686         * java/net/URLConnection.java
5687         (setDoInput): Revised documentation.
5688         (getDefaultUseCaches): Likewise.
5689         (setRequestProperty): Added @since tag.
5690
5691 2003-06-17  Michael Koch  <konqueror@gmx.de>
5692
5693         * java/net/InetSocketAddress.java
5694         (InetSocketAddress): Use wildcard address if addr is null.
5695         (InetSocketAddress): Dont duplicate implementation.
5696         (InetSocketAddress): Throw exception when hostname is null.
5697         * java/net/Socket.java:
5698         Reworked imports.
5699         (Socket): Throw exception when raddr is null, handle case when laddr
5700         is null.
5701
5702 2003-06-17  Michael Koch  <konqueror@gmx.de>
5703
5704         * java/nio/DirectByteBufferImpl.java
5705         (address): Made package private.
5706         (DirectByteBufferImpl): New constructor.
5707         * java/nio/natDirectByteBufferImpl.cc
5708         (allocateImpl): Moved to java.nio namespace, implemented.
5709         (freeImpl): Likewise.
5710         (getImpl): Likewise.
5711         (putImpl): Likewise.
5712         * jni.cc
5713         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5714         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5715         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5716
5717 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5718
5719         * include/powerpc-signal.h: New File.
5720         * configure.in: Use it.
5721         * configure: Regenerated.
5722
5723 2003-06-17  Michael Koch  <konqueror@gmx.de>
5724
5725         * java/util/Locale.java
5726         (getDisplayLanguage): Made it final.
5727         (getDisplayCountry): Likewise.
5728         (getDisplayVariant): Likewise.
5729         (getDisplayName): Likewise.
5730
5731 2003-06-17  Michael Koch  <konqueror@gmx.de>
5732
5733         * java/util/PropertyResourceBundle.java:
5734         Removed unneeded import.
5735
5736 2003-06-17  Michael Koch  <konqueror@gmx.de>
5737
5738         * java/util/prefs/AbstractPreferences.java,
5739         java/util/prefs/PreferencesFactory.java:
5740         Reworked imports, removed unused imports.
5741         * java/util/prefs/Preferences.java
5742         (systemNodeForPackage): Method takes a Class not an Object.
5743         (userNodeForPackage): Likewise.
5744         (nodeForPackage): Likewise.
5745
5746 2003-06-17  Michael Koch  <konqueror@gmx.de>
5747
5748         * gnu/java/security/x509/X509Certificate.java:
5749         Explicitely import used classes.
5750
5751 2003-06-17  Michael Koch  <konqueror@gmx.de>
5752
5753         * java/util/zip/ZipEntry.java,
5754         java/util/zip/ZipFile.java,
5755         java/util/zip/ZipInputStream.java,
5756         java/util/zip/ZipOutputStream.java:
5757         Reworked imports, only import used classes.
5758
5759 2003-06-17  Michael Koch  <konqueror@gmx.de>
5760
5761         * gnu/java/lang/ArrayHelper.java,
5762         gnu/java/lang/ClassHelper.java:
5763         Reformatted to match classpath's versions.
5764
5765 2003-06-14  Michael Koch  <konqueror@gmx.de>
5766
5767         * gnu/java/nio/FileChannelImpl.java
5768         (map_address): Removed incorrect comment.        
5769         * gnu/java/nio/SelectorImpl.java
5770         (register): Remove code duplication and code for file channel handling.        
5771         * gnu/java/nio/ServerSocketChannelImpl.java
5772         (serverSocket): Renamed from sock_object.
5773         (ServerSocketChannel): Initialize serverSocket.
5774         (socket): Return serverSocket.
5775         * gnu/java/nio/SocketChannelImpl.java
5776         (socket): Renamed from sock_object.
5777         (isConnectionPenging): Simplified.
5778         (socket): Return socket.
5779 2003-06-14  Michael Koch  <konqueror@gmx.de>
5780
5781         * java/security/BasicPermission.java:
5782         New version from classpath.
5783
5784 2003-06-14  Michael Koch  <konqueror@gmx.de>
5785
5786         * javax/naming/directory/Attribute.java:
5787         New version from classpath.
5788
5789 2003-06-14  Michael Koch  <konqueror@gmx.de>
5790
5791         * java/io/BufferedReader.java,
5792         java/io/FileOutputStream.java:
5793         New versions from classpath.
5794
5795 2003-06-12  Andrew Haley  <aph@redhat.com>
5796
5797         * prims.cc (catch_segv): Create exception in handler.
5798         (catch_fpe): Likewise.  
5799         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5800         (_Jv_ThrowSignal): Remove.
5801
5802         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5803         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5804         to nullp and arithexception.
5805         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5806         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5807         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5808         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5809         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5810
5811 2003-06-11  Andrew Haley  <aph@redhat.com>
5812
5813         * jni.cc (_Jv_JNI_check_types): New.
5814         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5815         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5816         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5817         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5818         
5819         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5820         infinite loop.
5821
5822 2003-06-11  Tom Tromey  <tromey@redhat.com>
5823
5824         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5825         * java/io/PrintStream.java: Not deprecated.
5826
5827 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5828
5829         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5830         (fillOval): implemented
5831         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5832         (fillArc): implemented.
5833         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5834         (fillArc): added native method.
5835         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5836         (fillArc): added native method.
5837
5838 2003-06-11  Michael Koch  <konqueror@gmx.de>
5839
5840         * java/awt/im/InputSubset.java:
5841         New version from classpath.
5842
5843 2003-06-11  Michael Koch  <konqueror@gmx.de>
5844
5845         * javax/swing/AbstractAction.java,
5846         javax/swing/AbstractButton.java,
5847         javax/swing/AbstractCellEditor.java,
5848         javax/swing/AbstractListModel.java,
5849         javax/swing/BorderFactory.java,
5850         javax/swing/Box.java,
5851         javax/swing/BoxLayout.java,
5852         javax/swing/ButtonGroup.java,
5853         javax/swing/DefaultButtonModel.java,
5854         javax/swing/DefaultListModel.java,
5855         javax/swing/DefaultListSelectionModel.java,
5856         javax/swing/FocusManager.java,
5857         javax/swing/ImageIcon.java,
5858         javax/swing/InputMap.java,
5859         javax/swing/JApplet.java,
5860         javax/swing/JButton.java,
5861         javax/swing/JCheckBox.java,
5862         javax/swing/JCheckBoxMenuItem.java,
5863         javax/swing/JColorChooser.java,
5864         javax/swing/JComboBox.java,
5865         javax/swing/JComponent.java,
5866         javax/swing/JDesktopPane.java,
5867         javax/swing/JDialog.java,
5868         javax/swing/JEditorPane.java,
5869         javax/swing/JFileChooser.java,
5870         javax/swing/JFormattedTextField.java,
5871         javax/swing/JFrame.java,
5872         javax/swing/JLabel.java,
5873         javax/swing/JLayeredPane.java,
5874         javax/swing/JList.java,
5875         javax/swing/JMenuBar.java,
5876         javax/swing/JMenuItem.java,
5877         javax/swing/JOptionPane.java,
5878         javax/swing/JPanel.java,
5879         javax/swing/JPasswordField.java,
5880         javax/swing/JPopupMenu.java,
5881         javax/swing/JProgressBar.java,
5882         javax/swing/JRadioButton.java,
5883         javax/swing/JRadioButtonMenuItem.java,
5884         javax/swing/JRootPane.java,
5885         javax/swing/JScrollBar.java,
5886         javax/swing/JScrollPane.java,
5887         javax/swing/JSeparator.java,
5888         javax/swing/JSlider.java,
5889         javax/swing/JTabbedPane.java,
5890         javax/swing/JTable.java,
5891         javax/swing/JTextField.java,
5892         javax/swing/JToggleButton.java,
5893         javax/swing/JToolBar.java,
5894         javax/swing/JToolTip.java,
5895         javax/swing/JTree.java,
5896         javax/swing/JViewport.java,
5897         javax/swing/JWindow.java,
5898         javax/swing/KeyStroke.java,
5899         javax/swing/ListSelectionModel.java,
5900         javax/swing/LookAndFeel.java,
5901         javax/swing/RepaintManager.java,
5902         javax/swing/ScrollPaneLayout.java,
5903         javax/swing/SizeRequirements.java,
5904         javax/swing/SwingConstants.java,
5905         javax/swing/Timer.java,
5906         javax/swing/UIDefaults.java,
5907         javax/swing/UIManager.java,
5908         javax/swing/border/AbstractBorder.java,
5909         javax/swing/border/CompoundBorder.java,
5910         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5911         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5912         javax/swing/colorchooser/ColorSelectionModel.java,
5913         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5914         javax/swing/event/AncestorEvent.java,
5915         javax/swing/event/HyperlinkEvent.java,
5916         javax/swing/event/InternalFrameAdapter.java,
5917         javax/swing/event/InternalFrameEvent.java,
5918         javax/swing/event/ListDataEvent.java,
5919         javax/swing/event/MouseInputAdapter.java,
5920         javax/swing/event/SwingPropertyChangeSupport.java,
5921         javax/swing/event/TableModelEvent.java,
5922         javax/swing/event/TreeWillExpandListener.java,
5923         javax/swing/event/UndoableEditEvent.java,
5924         javax/swing/filechooser/FileFilter.java,
5925         javax/swing/filechooser/FileSystemView.java,
5926         javax/swing/filechooser/FileView.java,
5927         javax/swing/plaf/BorderUIResource.java,
5928         javax/swing/plaf/basic/BasicDefaults.java,
5929         javax/swing/table/AbstractTableModel.java,
5930         javax/swing/table/DefaultTableCellRenderer.java,
5931         javax/swing/table/DefaultTableColumnModel.java,
5932         javax/swing/table/DefaultTableModel.java,
5933         javax/swing/table/TableColumn.java,
5934         javax/swing/text/JTextComponent.java,
5935         javax/swing/tree/AbstractLayoutCache.java,
5936         javax/swing/tree/DefaultMutableTreeNode.java,
5937         javax/swing/tree/DefaultTreeCellEditor.java,
5938         javax/swing/tree/DefaultTreeCellRenderer.java,
5939         javax/swing/tree/DefaultTreeModel.java,
5940         javax/swing/tree/DefaultTreeSelectionModel.java,
5941         javax/swing/tree/FixedHeightLayoutCache.java,
5942         javax/swing/tree/TreeCellEditor.java,
5943         javax/swing/tree/TreeModel.java,
5944         javax/swing/tree/TreeNode.java,
5945         javax/swing/tree/TreePath.java,
5946         javax/swing/tree/TreeSelectionModel.java,
5947         javax/swing/tree/VariableHeightLayoutCache.java,
5948         javax/swing/undo/AbstractUndoableEdit.java,
5949         javax/swing/undo/CompoundEdit.java,
5950         javax/swing/undo/StateEdit.java,
5951         javax/swing/undo/UndoManager.java,
5952         javax/swing/undo/UndoableEditSupport.java:
5953         New versions from classpath.
5954         * javax/swing/table/JTableHeader.java:
5955         New file from classpath.
5956         * Makefile.am
5957         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5958         * Makefile.in: Regenerated.
5959
5960 2003-06-11  Michael Koch  <konqueror@gmx.de>
5961
5962         * java/nio/MappedByteBuffer.java,
5963         java/nio/channels/Channels.java,
5964         java/nio/channels/ServerSocketChannel.java,
5965         java/nio/channels/spi/AbstractSelector.java:
5966         Removed unneeded imports.
5967
5968 2003-06-11  Michael Koch  <konqueror@gmx.de>
5969
5970         * java/net/DatagramSocket.java:
5971         Partly merged with classpath.
5972
5973 2003-06-11  Michael Koch  <konqueror@gmx.de>
5974
5975         * java/awt/Frame.java,
5976         java/awt/Graphics.java,
5977         java/awt/Menu.java,
5978         java/awt/Robot.java,
5979         java/awt/image/ColorModel.java:
5980         New versions from classpath.
5981
5982 2003-06-10  Michael Koch  <konqueror@gmx.de>
5983
5984         * java/io/PrintStream.java:
5985         Merged version from classpath.
5986         (close): Removed sychronized keyword. This class is not garantied to
5987         be thread-safe.
5988         (write): Likewise.
5989
5990 2003-06-09  Tom Tromey  <tromey@redhat.com>
5991
5992         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5993         field.
5994         (getDescent): Likewise, for "descent".
5995
5996 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5997
5998         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5999         (getMaxDescent): adjusted return value.
6000         (getAscent): modified to use metrics for 'O'.
6001         (getDescent): modified to use metrics for 'y'.
6002
6003 2003-06-08  Anthony Green  <green@redhat.com>
6004
6005         * java/net/URLStreamHandler.java (sameFile): Fix port value
6006         comparison.
6007         * java/net/URL.java (handler): Make package private.
6008         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6009
6010 2003-06-07  Tom Tromey  <tromey@redhat.com>
6011
6012         For PR libgcj/11085:
6013         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6014         Limit number of characters in numeric field when required.
6015         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6016         Respect maximumIntegerDigits.
6017
6018 2003-06-08  Michael Koch  <konqueror@gmx.de>
6019
6020         * java/net/Socket.java
6021         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6022         call bind() and connect() to actually do the bind and connect tasks.
6023         (bind): Connect to canonical address if bindpoint is null, create
6024         socket and bind it to bindpoint.
6025         (connect): Check for exceptions.
6026
6027 2003-06-08  Michael Koch  <konqueror@gmx.de>
6028
6029         * java/net/DatagramSocket.java
6030         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6031         into the Multicast constructors.
6032         * java/net/DatagramSocketImpl.java
6033         (getOption): Removed.
6034         (setOption): Removed.
6035         * java/net/MulticastSocket.java
6036         (MulticastSocket): Call setReuseAddress (true).
6037         * java/net/SocketImpl.java
6038         (getOption): Removed.
6039         (setOption): Removed.
6040
6041 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6042
6043         PR libgcj/10886:
6044         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6045         Test for empty vector.
6046
6047 2003-06-06  Mark Wielaard  <mark@klomp.org>
6048
6049         * java/security/Security.java (secprops): Initialize.
6050         (loadProviders): Return boolean.
6051         (static): Check result of loadProvider calls. If necessary
6052         display WARNING and fallback to Gnu provider.
6053
6054 2002-06-06  James Clark  <jjc@jclark.com>
6055
6056         Fix for PR libgcj/8738:
6057         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6058         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6059         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6060         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6061         (write): Always decrease avail when count is increased.
6062         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6063         and whether output buffer is full before increasing size.
6064
6065 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6066
6067         * java/io/PrintStream.java (writeChars(char[],int, int)):
6068         Check converter.havePendingBytes().
6069         (writeChars(String,int,int)): Likewise.
6070         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6071         Check converter.havePendingBytes() and flush buffer when stalled.
6072
6073 2003-06-07  Michael Koch  <konqueror@gmx.de>
6074
6075         * include/posix.h
6076         (O_DSYNC): Define O_DSYNC on platforms not
6077         supporting O_FSYNC (newlib).
6078
6079 2003-06-06  Mark Wielaard  <mark@klomp.org>
6080
6081         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6082         AWTError.
6083
6084 2003-06-06  Michael Koch  <konqueror@gmx.de>
6085
6086         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6087         More compile fixes from my stupid work yesterday.
6088
6089 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6090
6091         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6092         if _IEEE_LIBM is undefined.
6093
6094 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6095
6096         * libjava/include/posix.h (O_SYNC): Define if not available
6097         and a reasonable, perhaps more conservative, replacement exists.
6098         (O_DSYNC): Likewise.
6099         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6100
6101 2003-06-05  Michael Koch  <konqueror@gmx.de>
6102
6103         * javax/swing/plaf/BorderUIResource.java,
6104         javax/swing/plaf/basic/BasicDefaults.java,
6105         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6106         More compile fixes for latest Border commit. I should not commit
6107         something in this heat here ...
6108
6109 2003-06-05  Michael Koch  <konqueror@gmx.de>
6110
6111         * javax/swing/border/BevelBorder.java
6112         (BevelBorder): Removed.
6113         * javax/swing/border/EmptyBorder.java:
6114         Reformatted.
6115         (EmptyBorder): Removed.
6116         (getBorderInsets): Dont use l, r, t and b.
6117         * javax/swing/border/EtchedBorder.java
6118         (EtchedBorder): Removed.
6119         * javax/swing/border/LineBorder.java
6120         (LineBorder): Removed.
6121         * javax/swing/border/MatteBorder.java
6122         (MatteBorder): Removed.
6123         * javax/swing/border/TitledBorder.java
6124         (defaultBorder): Use other default for now.
6125         (defaultFont): Likewise.
6126         (defaultColor): Likewise.
6127
6128 2003-06-05  Michael Koch  <konqueror@gmx.de>
6129
6130         * javax/swing/border/Border.java:
6131         New version from classpath.
6132
6133 2003-06-05  Michael Koch  <konqueror@gmx.de>
6134
6135         * javax/swing/border/AbstractBorder.java,
6136         javax/swing/border/BevelBorder.java,
6137         javax/swing/border/CompoundBorder.java,
6138         javax/swing/border/EmptyBorder.java,
6139         javax/swing/border/EtchedBorder.java,
6140         javax/swing/border/LineBorder.java,
6141         javax/swing/border/MatteBorder.java,
6142         javax/swing/border/TitledBorder.java:
6143         New versions from Classpath.
6144
6145 2003-06-05  Michael Koch  <konqueror@gmx.de>
6146
6147         * java/awt/Button.java,
6148         java/awt/Checkbox.java,
6149         java/awt/CheckboxMenuItem.java,
6150         java/awt/Choice.java,
6151         java/awt/Container.java,
6152         java/awt/Dialog.java,
6153         java/awt/EventQueue.java,
6154         java/awt/FileDialog.java,
6155         java/awt/Frame.java,
6156         java/awt/Label.java,
6157         java/awt/List.java,
6158         java/awt/Menu.java,
6159         java/awt/MenuItem.java,
6160         java/awt/Panel.java,
6161         java/awt/PopupMenu.java,
6162         java/awt/Rectangle.java,
6163         java/awt/ScrollPane.java,
6164         java/awt/Scrollbar.java,
6165         java/awt/TextArea.java,
6166         java/awt/TextField.java,
6167         java/awt/Window.java,
6168         java/awt/datatransfer/DataFlavor.java,
6169         java/awt/dnd/DragSource.java,
6170         java/awt/dnd/DragSourceContext.java,
6171         java/awt/event/HierarchyEvent.java,
6172         java/awt/event/MouseWheelEvent.java,
6173         java/awt/im/InputContext.java,
6174         java/awt/image/BufferedImage.java,
6175         java/awt/image/ComponentColorModel.java,
6176         java/awt/image/Raster.java,
6177         java/awt/image/WritableRaster.java,
6178         java/awt/peer/ComponentPeer.java,
6179         java/awt/print/PageFormat.java,
6180         java/awt/print/PrinterJob.java:
6181         New versions from Classpath.
6182
6183 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6184
6185         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6186         numberFormat.setParseIntegerOnly(true).
6187
6188 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6189
6190         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6191
6192 2003-06-03  Andrew Haley  <aph@redhat.com>
6193
6194         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6195         stack volatile to prevent optimization from removing it.
6196
6197 2003-05-27  Michael Koch  <konqueror@gmx.de>
6198
6199         * java/util/zip/Deflater.java
6200         (FILTERED): Merged documentation from classpath.
6201         * java/util/zip/DeflaterOutputStream.java
6202         (DeflaterOutputStream): Merged documentation and argument validity
6203         check from classpath.
6204         (deflate): Merged documentation from classpath.
6205         (finish): Likewise.
6206         * java/util/zip/Inflater.java
6207         (Inflater): Merged class documentation from classpath.
6208         (zstream): Reordered.
6209         (is_finished): Reordered.
6210         (dict_needed): Reordered.
6211         (Inflater): Reordered, merged documentation from classpath.
6212         (end): Likewise.
6213         (finalize): Merged documentation from classpath.
6214         (finished): Likewise.
6215         (getAdler): Likewise.
6216         (getRemaining): Likewise.
6217         (getTotalIn): Likewise.
6218         (getTotalOut): Likewise.
6219         (inflate): Likewise.
6220         (needsDictionary): Likewise.
6221         (needsInput): Likewise.
6222         (reset): Likewise.
6223         (setDictionary): Likewise.
6224         (setInput): Likewise.
6225
6226 2003-05-27  Michael Koch  <konqueror@gmx.de>
6227
6228         * java/net/URLConnection.java
6229         (getHeaderFieldInt): Merged with classpath.
6230
6231 2003-05-27  Michael Koch  <konqueror@gmx.de>
6232
6233         * java/io/PrintStream.java
6234         (PrintStream): Reformatted.
6235         (PrintStream): New method, merged from classpath.
6236         (write): Reformatted.
6237
6238 2003-05-27  Michael Koch  <konqueror@gmx.de>
6239
6240         * java/lang/System.java:
6241         Explicitely import needed classes.
6242
6243 2003-05-26  Michael Koch  <konqueror@gmx.de>
6244
6245         * java/net/NetPermission.java,
6246         java/net/NetworkInterface.java,
6247         java/net/PasswordAuthentication.java,
6248         java/net/SocketPermission.java:
6249         New versions from classpath.
6250
6251 2003-05-25  Michael Koch  <konqueror@gmx.de>
6252
6253         * java/io/PushbackInputStream.java,
6254         java/net/Authenticator.java,
6255         java/net/ContentHandler.java,
6256         java/net/ContentHandlerFactory.java,
6257         java/net/DatagramSocket.java,
6258         java/net/DatagramSocketImpl.java,
6259         java/net/DatagramSocketImplFactory.java,
6260         java/net/FileNameMap.java,
6261         java/net/SocketImplFactory.java,
6262         java/net/SocketOptions.java,
6263         java/net/URLStreamHandlerFactory.java:
6264         Merged new versions from classpath.
6265
6266 2003-05-25  Michael Koch  <konqueror@gmx.de>
6267
6268         * java/awt/Checkbox.java,
6269         java/awt/Dialog.java,
6270         java/awt/Font.java,
6271         java/awt/Frame.java,
6272         java/awt/ScrollPaneAdjustable.java,
6273         java/awt/Scrollbar.java,
6274         java/awt/Window.java:
6275         New versions from classpath.
6276
6277 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6278
6279         PR libgcj/10838:
6280         * java/io/ObjectInputStream (enableResolveObject):
6281         Fixed spelling of permission name.
6282
6283 2003-05-20  Michael Koch  <konqueror@gmx.de>
6284
6285         * java/io/DataInputStream.java
6286         (convertFromUTF): Merged comment from classpath.
6287         * java/io/PrintStream.java
6288         (error_occured): Renamed from error, merged comment from classpath.
6289         (PrintStream): No need to initialized error.
6290         (checkError): Replace error with error_occurred.
6291         (setError): Likewise.
6292
6293 2003-05-20  Michael Koch  <konqueror@gmx.de>
6294
6295         * java/io/DataInputStream.java:
6296         Reformatted, Replaced < and & with html entitites in documentation.
6297         * java/io/File.java:
6298         Reformatted.
6299         * java/io/PrintWriter.java:
6300         Moved class documentation.
6301
6302 2003-05-20  Michael Koch  <konqueror@gmx.de>
6303
6304         * gnu/java/nio/ByteBufferImpl.java,
6305         gnu/java/nio/CharBufferImpl.java,
6306         gnu/java/nio/CharViewBufferImpl.java,
6307         gnu/java/nio/DirectByteBufferImpl.java,
6308         gnu/java/nio/DoubleBufferImpl.java,
6309         gnu/java/nio/DoubleViewBufferImpl.java,
6310         gnu/java/nio/FloatBufferImpl.java,
6311         gnu/java/nio/FloatViewBufferImpl.java,
6312         gnu/java/nio/IntBufferImpl.java,
6313         gnu/java/nio/IntViewBufferImpl.java,
6314         gnu/java/nio/LongBufferImpl.java,
6315         gnu/java/nio/LongViewBufferImpl.java,
6316         gnu/java/nio/natDirectByteBufferImpl.cc,
6317         gnu/java/nio/ShortBufferImpl.java,
6318         gnu/java/nio/ShortViewBufferImpl.java:
6319         Moved files to java/nio.
6320         * gnu/java/nio/SocketChannelImpl.java
6321         
6322         * java/nio/ByteBuffer.java,
6323         java/nio/CharBuffer.java,
6324         java/nio/DoubleBuffer.java,
6325         java/nio/FloatBuffer.java,
6326         java/nio/IntBuffer.java,
6327         java/nio/LongBuffer.java,
6328         java/nio/ShortBuffer.java:
6329         Dont import anything.
6330         * java/nio/ByteBufferImpl.java,
6331         java/nio/CharBufferImpl.java,
6332         java/nio/CharViewBufferImpl.java,
6333         java/nio/DirectByteBufferImpl.java,
6334         java/nio/DoubleBufferImpl.java,
6335         java/nio/DoubleViewBufferImpl.java,
6336         java/nio/FloatBufferImpl.java,
6337         java/nio/FloatViewBufferImpl.java,
6338         java/nio/IntBufferImpl.java,
6339         java/nio/IntViewBufferImpl.java,
6340         java/nio/LongBufferImpl.java,
6341         java/nio/LongViewBufferImpl.java,
6342         java/nio/natDirectByteBufferImpl.cc,
6343         java/nio/ShortBufferImpl.java,
6344         java/nio/ShortViewBufferImpl.java:
6345         Moved from gnu/java/nio.
6346         * Makefile.am
6347         (ordinary_java_source_files): Moved files from gnu/java/nio to
6348         java/nio.
6349         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6350         to java/nio.
6351         * Makefile.in: Regenerated.
6352
6353 2003-05-19  Michael Koch  <konqueror@gmx.de>
6354
6355         * java/util/Calendar.java
6356         (get): Not final anymore since JDK 1.4
6357         (set): Likewise.
6358
6359 2003-05-19  Michael Koch  <konqueror@gmx.de>
6360
6361         * java/text/CollationKey.java:
6362         Merged copyright and dat from classpath.
6363         * java/text/RuleBasedCollator.java:
6364         Merged class documentation from classpath.
6365
6366 2003-05-19  Michael Koch  <konqueror@gmx.de>
6367
6368         * java/nio/CharBuffer.java
6369         (toString): Compile fix.
6370
6371 2003-05-19  Michael Koch  <konqueror@gmx.de>
6372
6373         * gnu/java/nio/ByteBufferImpl.java
6374         (putLong): Fixed conversion to bytes.
6375         (putDouble): Fixed conversion to bytes.
6376         * gnu/java/nio/DirectByteBufferImpl.java
6377         (putLong): Fixed conversion to bytes.
6378         (putDouble): Fixed conversion to bytes.
6379         * gnu/java/nio/FileLockImpl.java
6380         (isValid): Reformatted.
6381         * java/nio/Buffer.java
6382         (Buffer): Fixed off-by-one bug in handling mark.
6383         * java/nio/ByteBuffer.java:
6384         Added newline.
6385         * java/nio/CharBuffer.java
6386         (toString): Don't use relative get to get string data.
6387
6388 2003-05-16  Michael Koch  <konqueror@gmx.de>
6389
6390         * java/io/natFileDescriptorPosix.cc
6391         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6392         tested.
6393
6394 2003-05-14  Michael Koch  <konqueror@gmx.de>
6395
6396         * gnu/java/nio/FileLockImpl.java
6397         (released): New member variable.
6398         (FileLockImpl): Initialize released.
6399         (releaseImpl): New native method.
6400         (release): Implemented.
6401         * gnu/java/nio/SelectorImpl.java: Reformatted.
6402         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6403         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6404         (accept): Throws IOException.
6405         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6406         (implConfigureBlocking): Throws IOException.
6407         (connect): Likewise.
6408         (read): Likewise.
6409         (write): Likewise.
6410         * gnu/java/nio/natFileLockImpl.cc: New file.
6411         * java/nio/channels/FileLock.java: Reformatted.
6412         * Makefile.am:
6413         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6414         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6415         * Makefile.in: Regenerated.
6416
6417 2003-05-13  Michael Koch  <konqueror@gmx.de>
6418
6419         * gnu/java/nio/CharViewBufferImpl.java
6420         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6421         (get): Shift bits to the right direction.
6422         (put): Likewise.
6423         * gnu/java/nio/DoubleViewBufferImpl.java
6424         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6425         (get): Shift bits to the right direction.
6426         (put): Likewise.
6427         * gnu/java/nio/FloatViewBufferImpl.java
6428         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6429         (get): Shift bits to the right direction.
6430         (put): Likewise.
6431         * gnu/java/nio/IntViewBufferImpl.java
6432         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6433         (get): Shift bits to the right direction.
6434         (put): Likewise.
6435         * gnu/java/nio/LongViewBufferImpl.java
6436         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6437         (get): Shift bits to the right direction.
6438         (put): Likewise.
6439         * gnu/java/nio/ShortViewBufferImpl.java
6440         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6441         (get): Shift bits to the right direction.
6442         (put): Likewise.
6443
6444 2003-05-13  Michael Koch  <konqueror@gmx.de>
6445
6446         * gnu/java/nio/natDirectByteBufferImpl.cc
6447         (allocateImpl): jlong -> RawData*.
6448         (freeImpl): Likewise.
6449
6450 2003-05-13  Michael Koch  <konqueror@gmx.de>
6451
6452         * java/nio/channels/FileChannel.java
6453         (MapMode.m): Made it package-private to match JDK 1.4.
6454         * java/nio/charset/Charset.java
6455         (decode): Made it final to match JDK 1.4.
6456
6457 2003-05-13  Michael Koch  <konqueror@gmx.de>
6458
6459        * java/io/FileDescriptor.java
6460        (SYNC): New constant.
6461        (DSYNC): Likewise.
6462        (getLength): Renamed from lenght() to match classpath's
6463        FileDescriptor.java.
6464        * java/io/RandomAccessFile.java
6465        (RandomAccessFile): Removed unneeded mode check, implemented mode
6466        "rws" and "rwd", merged documentation from classpath.
6467        (setLength): Reformatted.
6468        (length): Use new getLength() of FileDescriptor.
6469        * java/io/natFileDescriptorEcos.cc
6470        (getLength): Renamed from length().
6471        * java/io/natFileDescriptorPosix.cc
6472        (open): Implemented support for SYNC and DSYNC.
6473        (seek): Use getLength() instead of length().
6474        (getLength): Renamed from length().
6475        * java/io/natFileDescriptorWin32.cc
6476        (getLength): Renamed from length().
6477        (seek): Use getLength() instead of length().
6478        (available): Likewise.
6479        * gnu/java/nio/natFileChannelImpl.cc
6480        (size): Use getLength() instead of length().
6481
6482 2003-05-13  Michael Koch  <konqueror@gmx.de>
6483
6484         * gnu/java/nio/ByteBufferImpl.java
6485         (ByteBufferImpl): All constructors revised.
6486         (slice): Reimplemented.
6487         (duplicate): Reimplemented.
6488         (asReadOnlyBuffer): Reimplemented.
6489         * java/nio/ByteBuffer.java:
6490         Reformatted.
6491         (array_offset): Renamed from "offset" to match all other buffer
6492         classes.
6493         (ByteBuffer): All constructors revised.
6494         (allocateDirect): Implemented.
6495         (allocate): New implementation, documentation reworked.
6496         (wrap): Likewise.
6497         (get): Documentation reworked.
6498         (put): New implementation, documentation reworked.
6499         (hasArray): Documentation reworked.
6500         (arrayOffset): Likewise.
6501         (hashCode): Likewise.
6502         (equals): Likewise.
6503         (compareTo): Likewise.
6504         (order): Likewise.
6505         (compact): Likewise.
6506         (isDirect): Likewise.
6507         (slice): Likewise.
6508         (duplicate): Likewise.
6509         (asReadOnlyBuffer): Likewise.
6510         * Makefile.am
6511         (ordinary_java_source_files):
6512         Added gnu/java/nio/DirectByteBufferImpl.java.
6513         (nat_source_files):
6514         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6515         * Makefile.in: Regenerated.
6516
6517 2003-05-12  Michael Koch  <konqueror@gmx.de>
6518
6519         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6520         (nio_get_*): Removed.
6521         (nio_put_*): Removed.
6522         (as*Buffer): Implemented.
6523         (compact): Implemented.
6524         (get): Documentation added.
6525         (put): Documentation added.
6526         (get*): Newly implemented.
6527         (put*): Newly implemented.
6528         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6529         (CharBufferImpl): Revised.
6530         (slice): New implementation.
6531         (duplicate): New implementation.
6532         (compact): New implementation.
6533         (asReadOnlyBuffer): New implementation.
6534         (get): Documentation revised.
6535         (order): Return native byte order.
6536         * gnu/java/nio/DirectByteBufferImpl.java
6537         (allocateDirect): objects can be null not 0.
6538         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6539         (DoubleBufferImpl): Revised.
6540         (slice): New implementation.
6541         (duplicate): New implementation.
6542         (compact): New implementation.
6543         (asReadOnlyBuffer): New implementation.
6544         (get): Documentation revised.
6545         (order): Return native byte order.
6546         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6547         (FloatBufferImpl): Revised.
6548         (slice): New implementation.
6549         (duplicate): New implementation.
6550         (compact): New implementation.
6551         (asReadOnlyBuffer): New implementation.
6552         (get): Documentation revised.
6553         (order): Return native byte order.
6554         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6555         (IntBufferImpl): Revised.
6556         (slice): New implementation.
6557         (duplicate): New implementation.
6558         (compact): New implementation.
6559         (asReadOnlyBuffer): New implementation.
6560         (get): Documentation revised.
6561         (order): Return native byte order.
6562         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6563         (LongBufferImpl): Revised.
6564         (slice): New implementation.
6565         (duplicate): New implementation.
6566         (compact): New implementation.
6567         (asReadOnlyBuffer): New implementation.
6568         (get): Documentation revised.
6569         (order): Return native byte order.
6570         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6571         (ShortBufferImpl): Revised.
6572         (slice): New implementation.
6573         (duplicate): New implementation.
6574         (compact): New implementation.
6575         (asReadOnlyBuffer): New implementation.
6576         (get): Documentation revised.
6577         (order): Return native byte order.
6578         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6579         (CharBuffer): Revised.
6580         (order): Removed.
6581         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6582         (DoubleBuffer): Revised.
6583         (allocateDirect): Removed.
6584         (order): Removed.
6585         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6586         (FloatBuffer): Revised.
6587         (allocateDirect): Removed.
6588         (order): Removed.
6589         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6590         (IntBuffer): Revised.
6591         (allocateDirect): Removed.
6592         (order): Removed.
6593         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6594         (LongBuffer): Revised.
6595         (allocateDirect): Removed.
6596         (order): Removed.
6597         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6598         (ShortBuffer): Revised.
6599         (allocateDirect): Removed.
6600         (order): Removed.
6601         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6602         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6603         * Makefile.am
6604         (ordinary_java_source_files): Added the following files:
6605         gnu/java/nio/CharViewBufferImpl.java,
6606         gnu/java/nio/DoubleViewBufferImpl.java,
6607         gnu/java/nio/FloatViewBufferImpl.java,
6608         gnu/java/nio/IntViewBufferImpl.java,
6609         gnu/java/nio/LongViewBufferImpl.java,
6610         gnu/java/nio/ShortViewBufferImpl.java
6611         (nat_source_files): Removed the following files:
6612         gnu/java/nio/natByteBufferImpl.cc,
6613         gnu/java/nio/natCharBufferImpl.cc
6614         * Makefile.in: Regenerated.
6615
6616 2003-05-12  Michael Koch  <konqueror@gmx.de>
6617
6618         * gnu/java/nio/CharViewBufferImpl.java,
6619         gnu/java/nio/DirectByteBufferImpl.java,
6620         gnu/java/nio/DoubleViewBufferImpl.java,
6621         gnu/java/nio/FloatViewBufferImpl.java,
6622         gnu/java/nio/IntViewBufferImpl.java,
6623         gnu/java/nio/LongViewBufferImpl.java,
6624         gnu/java/nio/ShortViewBufferImpl.java,
6625         gnu/java/nio/natDirectByteBufferImpl.cc:
6626         New files, not yet to be compiled.
6627
6628 2003-05-10  Michael Koch  <konqueror@gmx.de>
6629
6630         * javax/swing/plaf/ButtonUI.java,
6631         javax/swing/plaf/ColorUIResource.java,
6632         javax/swing/plaf/ComponentUI.java,
6633         javax/swing/plaf/DimensionUIResource.java,
6634         javax/swing/plaf/FontUIResource.java,
6635         javax/swing/plaf/IconUIResource.java,
6636         javax/swing/plaf/InsetsUIResource.java,
6637         javax/swing/plaf/LabelUI.java,
6638         javax/swing/plaf/ListUI.java,
6639         javax/swing/plaf/OptionPaneUI.java,
6640         javax/swing/plaf/PanelUI.java,
6641         javax/swing/plaf/TabbedPaneUI.java,
6642         javax/swing/plaf/TextUI.java,
6643         javax/swing/plaf/TreeUI.java,
6644         javax/swing/plaf/ViewportUI.java,
6645         javax/swing/plaf/basic/BasicBorders.java,
6646         javax/swing/plaf/basic/BasicButtonUI.java,
6647         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6648         javax/swing/plaf/basic/BasicDefaults.java,
6649         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6650         javax/swing/plaf/basic/BasicIconFactory.java,
6651         javax/swing/plaf/basic/BasicLabelUI.java,
6652         javax/swing/plaf/basic/BasicListUI.java,
6653         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6654         javax/swing/plaf/basic/BasicPanelUI.java,
6655         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6656         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6657         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6658         javax/swing/plaf/basic/BasicTextUI.java,
6659         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6660         javax/swing/plaf/basic/BasicTreeUI.java,
6661         javax/swing/plaf/basic/BasicViewportUI.java,
6662         javax/swing/plaf/metal/MetalLookAndFeel.java:
6663         New versions from classpath. This adds copyrights to all files and
6664         some serialVersionUIDs.
6665
6666 2003-05-10  Michael Koch  <konqueror@gmx.de>
6667
6668         * java/nio/CharBuffer.java
6669         (offset): Make it package-private.
6670         (backing_buffer): Likewise.
6671         * java/nio/DoubleBuffer.java
6672         (offset): Make it package-private.
6673         (backing_buffer): Likewise.
6674         (put): Reformatted.
6675         * java/nio/FloatBuffer.java
6676         (offset): Make it package-private.
6677         (backing_buffer): Likewise.
6678         * java/nio/IntBuffer.java
6679         (offset): Make it package-private.
6680         (backing_buffer): Likewise.
6681         * java/nio/LongBuffer.java
6682         (offset): Make it package-private.
6683         (backing_buffer): Likewise.
6684         * java/nio/ShortBuffer.java
6685         (offset): Make it package-private.
6686         (backing_buffer): Likewise.
6687
6688 2003-05-10  Michael Koch  <konqueror@gmx.de>
6689
6690         * java/nio/CharBuffer.java
6691         (put): Fixed precondtion check.
6692         (toString): Make it work without backing array.
6693         (put): Skip one level of method calling.
6694
6695 2003-05-10  Michael Koch  <konqueror@gmx.de>
6696
6697         * java/security/Identity.java,
6698         java/security/IdentityScope.java,
6699         java/security/Key.java,
6700         java/security/KeyPair.java,
6701         java/security/PrivateKey.java,
6702         java/security/Provider.java,
6703         java/security/PublicKey.java,
6704         java/security/SecureRandom.java,
6705         java/security/SecureRandomSpi.java,
6706         java/security/SignedObject.java,
6707         java/security/Signer.java,
6708         java/security/cert/Certificate.java,
6709         java/security/cert/PKIXCertPathBuilderResult.java,
6710         java/security/cert/X509Certificate.java:
6711         New versions from classpath.
6712
6713 2003-05-09  Tom Tromey  <tromey@redhat.com>
6714
6715         * Makefile.in: Rebuilt.
6716         * Makefile.am (nat_source_files): Removed old files.
6717         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6718         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6719         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6720         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6721         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6722
6723 2003-05-09  Michael Koch  <konqueror@gmx.de>
6724
6725         * gnu/java/nio/ByteBufferImpl.java
6726         (nio_cast): Removed.
6727         (ByteBufferImpl): Removed.
6728         (nio_get_Byte): Removed.
6729         (nio_put_Byte): Removed.
6730         (asByteBuffer): Removed.
6731         (asCharBuffer): Removed implementation and throw exception.
6732         (asShortBuffer): Likewise.
6733         (asIntBuffer): Likewise.
6734         (asLongBuffer): Likewise.
6735         (asFloatBuffer): Likewise.
6736         (asDoubleBuffer): Likewise.
6737         * gnu/java/nio/CharBufferImpl.java
6738         (CharBufferImpl): Removed.
6739         (nio_get_Byte): Removed.
6740         (nio_put_Byte): Removed.
6741         (asByteBuffer): Removed.
6742         * gnu/java/nio/DoubleBufferImpl.java
6743         (DoubleBufferImpl): Removed.
6744         (nio_get_Byte): Removed.
6745         (nio_put_Byte): Removed.
6746         (asByteBuffer): Removed.
6747         * gnu/java/nio/FloatBufferImpl.java
6748         (FloatBufferImpl): Removed.
6749         (nio_get_Byte): Removed.
6750         (nio_put_Byte): Removed.
6751         (asByteBuffer): Removed.
6752         * gnu/java/nio/IntBufferImpl.java
6753         (IntBufferImpl): Removed.
6754         (nio_get_Byte): Removed.
6755         (nio_put_Byte): Removed.
6756         (asByteBuffer): Removed.
6757         * gnu/java/nio/LongBufferImpl.java
6758         (LongBufferImpl): Removed.
6759         (nio_get_Byte): Removed.
6760         (nio_put_Byte): Removed.
6761         (asByteBuffer): Removed.
6762         * gnu/java/nio/ShortBufferImpl.java
6763         (ShortBufferImpl): Removed.
6764         (nio_get_Byte): Removed.
6765         (nio_put_Byte): Removed.
6766         (asByteBuffer): Removed.
6767         * gnu/java/nio/natByteBufferImpl.cc
6768         (nio_cast): Removed.
6769         (nio_get_Byte): Removed.
6770         (nio_put_Byte): Removed.
6771         * gnu/java/nio/natCharBufferImpl.cc
6772         (nio_get_Byte): Removed.
6773         (nio_put_Byte): Removed.
6774
6775 2003-05-09  Michael Koch  <konqueror@gmx.de>
6776
6777         * java/net/JarURLConnection.java
6778         (getJarEntry): Merged documentation from classpath.
6779         (getJarFile): Likewise.
6780         (getMainAttributes): Likewise.
6781         (getAttributes): Likewise.
6782         (getManifest): Likewise.
6783         (getCertificates): Reformatted.
6784         * java/net/URLConnection.java:
6785         Little classpath merge.
6786
6787 2003-05-09  Michael Koch  <konqueror@gmx.de>
6788
6789         * java/io/DataOutputStream.java
6790         (writeShort): Made it synchronized.
6791         (writeChar): Likewise.
6792         (writeInt): Likewise.
6793         (writeLong): Liekwise.
6794         (writeUTF): Made it synchronized, renamed argument to match classpath.
6795         * java/io/InputStreamReader.java
6796         (converter): Added documentation.
6797         (read): Merged documentation from classpath.
6798         * java/io/OutputStreamWriter.java
6799         (OutputStreamWriter): Merged documentation from classpath.
6800         (close): Reformatted.
6801         (getEncoding): Likewise.
6802         (flush): Likewise.
6803         (write): Merged documentation from classpath, reformatted.
6804
6805 2003-05-08  Tom Tromey  <tromey@redhat.com>
6806
6807         * configure.host <powerpc64*-*>: Set with_libffi_default and
6808         libgcj_interpreter to "yes".
6809
6810 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6811
6812         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6813         
6814 2003-05-06  Tom Tromey  <tromey@redhat.com>
6815
6816         * verify.cc: Reverted previous patch.
6817
6818 2003-05-06  Michael Koch  <konqueror@gmx.de>
6819
6820         * java/io/DataOutputStream.java
6821         (write): Renamed argument to "value", merged documentation from
6822         classpath.
6823         (writeBoolean): Likewise.
6824         (writeByte): Likewise.
6825         (writeShort): Likewise.
6826         (writeChar): Likewise.
6827         (writeInt): Likewise.
6828         (writeLong): Likewise.
6829         (writeFloat): Likewise.
6830         (writeDouble): Likewise.
6831         (writeBytes): Likewise.
6832         (writeChars): Likewise.
6833         (writeUTF): Likewise.
6834         * java/io/File.java
6835         (performDelete): Added documentation.
6836         (performList): Likewise.
6837         (performMkdir): Likewise.
6838         (performSetReadOnly): Likewise.
6839         (performRenameTo): Likewise.
6840         (performSetLastModified): Likewise.
6841         (delete): Made it sychronized.
6842         (renameTo): Made it sychronized.
6843         (equals): Reformatted.
6844         (isHidden): Likewise.
6845         (listFiles): Likewise.
6846         (setReadOnly): Likewise.
6847         (listRoots): Likewise.
6848         (setLastModified): Likewise.
6849         (checkRead): Likewise.
6850         (checkWrite): Likewise.
6851         * java/io/FileInputStream.java
6852         (skip): Made it sychronized, merged from classpath.
6853         * java/io/FileOutputStream.java
6854         (write): Merged from classpath.
6855         * java/io/InputStreamReader.java:
6856         (InputStreamReader): Merged documentation from classpath.
6857
6858 2003-05-05  Michael Koch  <konqueror@gmx.de>
6859
6860         * java/net/NetworkInterface.java
6861         (networkInterfaces): Removed.
6862         (getByName): Use getRealNetworkInterfaces() instead of
6863         networkInterfaces.
6864         (getByInetAddress): Likewise.
6865         (getNetworkInterfaces): Likewise.
6866         (toString): Fix output of addresses of an interface.
6867
6868 2003-05-05  Michael Koch  <konqueror@gmx.de>
6869
6870         * java/io/DataInputStream.java:
6871         Merged new documentation from classpath.
6872
6873 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6874
6875         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6876         "version".
6877         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6878         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6879         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6880         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6881         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6882         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6883         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6884         * java/security/Key.java: Likewise.
6885         * java/security/PrivateKey.java: Likewise.
6886         * java/security/Provider.java: Likewise.
6887         * java/security/PublicKey.java: Likewise.
6888
6889 2003-05-02  Michael Koch  <konqueror@gmx.de>
6890
6891         * java/net/URI.java
6892         (create): Doesnt throws any exceptions.
6893         * java/net/URLConnection.java
6894         (URLConnection): Commend added.
6895         (getExpiration): The header field is called "expires" not
6896         "expiration".
6897         (getHeaderField): Merged documentation with classpath.
6898         (getHeaderFieldInt): Likewise.
6899         (getHeaderFieldDate): Likewise.
6900         (getHeaderFieldKey): Likewise.
6901         (getPermission): Likewise.
6902         (setDefaultUseCaches): Likewise.
6903         (setRequestProperty): Likewise.
6904         (addRequestProperty): Likewise.
6905         (getRequestProperty): Likewise.
6906         (getRequestProperties): Likewise.
6907         (setDefaultRequestProperty): Likewise.
6908         (getDefaultRequestProperty): Likewise.
6909         (guessContentTypeFromStream): Likewise.
6910         (getFileNameMap): Likewise.
6911         (setFileNameMap): Likewise.
6912         (setDoInput): Merged implementation and documentation with classpath.
6913         (setDoOutput): Likewise.
6914         (setAllowUserInteraction): Likewise.
6915         (setDefaultAllowUserInteraction): Likewise.
6916         (setContentHandlerFactory): Made it synchronized, merged documentation
6917         with classpath.
6918         (guessContentTypeFromName): Renamed argument fname to filename to
6919         match classpath, merged documentation with classpath.
6920
6921 2003-05-02  Michael Koch  <konqueror@gmx.de>
6922
6923         * java/net/JarURLConnection.java
6924         (JarURLConnection): Class documentation merged with classpath.
6925         (getJarFileURL): Moved and documentation merged with classpath.
6926         (getEntryName): Likewise.
6927         (JarURLConnection): Documentation merged with classpath.
6928         (getJarEntry): Likewise.
6929         (getJarFile): Likewise.
6930         * java/net/PlainDatagramSocketImpl.java:
6931         Class documentation moved.
6932         * java/net/URLConnection.java
6933         (fileNameMap): Moved and documentation merged with classpath.
6934         (factory): Likewise.
6935         (defaultAllowUserInteraction): Likewis.
6936         (defaultUseCaches): Likewise.
6937         (allowUserInteraction): Likewise.
6938         (connected): Likewise.
6939         (url): Likewise.
6940         (connect): Documentation merged with classpath.
6941         (getURL): Likewise.
6942         (getContentLength): Likewise.
6943         (getContentType): Likewise.
6944         (getContentEncoding): Likewise.
6945         (getExpiration): Likewise.
6946         (getDate): Likewise.
6947         (getLastModified): Likewise.
6948         (getHeaderField): Likewise.
6949         (getContent): Likewise.
6950         (getPermission): Likewise.
6951         (getInputStream): Likewise.
6952         (getOutputStream): Likewise.
6953         (toString): Likewise.
6954         (getDoInput): Likewise.
6955         (getDoOutput): Likewise.
6956         (setAllowUserInteraction): Likewise.
6957         (getAllowUserInteraction): Likewise.
6958         (setDefaultAllowUserInteraction): Likewise.
6959         (getDefaultAllowUserInteraction): Likewise.
6960         (setUseCaches): Likewise.
6961         (getUseCaches): Likewise.
6962         (setIfModifiedSince): Likewise.
6963         (getIfModifiedSince): Likewise.
6964         (setDefaultRequestProperty): Likewise.
6965         (getDefaultRequestProperty): Likewise.
6966         (setContentHandlerFactory): Likewise.
6967         (setFileNameMap): Likewise.
6968
6969 2003-05-02  Michael Koch  <konqueror@gmx.de>
6970
6971         * java/net/InetAddress.java:
6972         Merged class documentation with classpath.
6973         * java/net/JarURLConnection.java:
6974         Explicitely import all used classes.
6975         * java/net/URL.java:
6976         Reformatting.
6977         * java/net/ServerSocket.java,
6978         java/net/Socket.java:
6979         New versions from classpath.
6980
6981 2003-05-02  Michael Koch  <konqueror@gmx.de>
6982
6983         * gnu/java/nio/FileChannelImpl.java
6984         (read): New implementation.
6985         (implRead): New methods.
6986         (write): New implementation, call other write insteal of read method.
6987         (implWrite): New methods.
6988         (map): Added comment.
6989         (transferFrom): Implemented.
6990         (transferTo): Implemented.
6991         (lock): Added checks to throw exceptions.
6992         (truncate): Added check to throw exception.
6993         * gnu/java/nio/natFileChannelImpl.cc
6994         (implRead): New method.
6995         (implWrite): New method.
6996         * java/nio/ByteBuffer.java
6997         (hashCode): Fixed comment.
6998         (get): Fixed exception documentation.
6999         (put): Fixed exception documentation.
7000         * java/nio/CharBuffer.java:
7001         Added comment for later optimizations.
7002
7003 2003-04-30  Tom Tromey  <tromey@redhat.com>
7004
7005         PR libgcj/10582:
7006         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7007         Removed.
7008         (type::compatible): Use _Jv_IsAssignableFrom.
7009         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7010         (_Jv_IsAssignableFrom): Work even when source or target class is
7011         not prepared.
7012
7013 2003-04-30  Michael Koch  <konqueror@gmx.de>
7014
7015         * java/text/BreakIterator.java
7016         (clone): New method.
7017
7018 2003-04-30  Michael Koch  <konqueror@gmx.de>
7019
7020         * java/text/CollationElementIterator.java,
7021         java/text/CollationKey.java,
7022         java/text/RuleBasedCollator.java:
7023         Merged copyright and documentation from classpath and
7024         rearranged some code. No code changes done.
7025
7026 2003-04-30  Michael Koch  <konqueror@gmx.de>
7027
7028         * java/util/regex/Matcher.java
7029         (pattern): New member variable.
7030         (appendReplacement): New method.
7031         (appendTail): New method.
7032         (end): New method.
7033         (find): New method.
7034         (group): New method.
7035         (replaceFirst): Added documentation.
7036         (replaceAll): Added documentation.
7037         (groupCount): New method.
7038         (lookingAt): New method.
7039         (matches): New method.
7040         (reset): New method.
7041         (start): New method.
7042         * java/util/regex/Pattern.java
7043         (serialVersionUID): New constant.
7044         (CANON_EQ): New constant.
7045         (CASE_INSENSITIVE): New constant.
7046         (COMMENTS): New constant.
7047         (DOTALL): New constant.
7048         (MULTILINE): New constant.
7049         (UNICODE_CASE): New constant.
7050         (UNIX_LINES): New constant.
7051         (regex): New member variable.
7052         (flags): New member variable.
7053         (Pattern): New method.
7054         (compile): Documentation added.
7055         (flags): New method.
7056         (matches): Documentation added.
7057         (matcher): Documentation added.
7058         (split): Documentation added.
7059         (pattern): New method.
7060
7061 2003-04-30  Michael Koch  <konqueror@gmx.de>
7062
7063         * gnu/java/security/Engine.java,
7064         gnu/java/security/OID.java,
7065         gnu/java/security/der/BitString.java,
7066         gnu/java/security/der/DER.java,
7067         gnu/java/security/der/DERReader.java,
7068         gnu/java/security/der/DERValue.java,
7069         gnu/java/security/der/DERWriter.java,
7070         gnu/java/security/provider/DSAKeyFactory.java,
7071         gnu/java/security/provider/X509CertificateFactory.java,
7072         gnu/java/security/x509/X500DistinguishedName.java,
7073         gnu/java/security/x509/X509CRL.java,
7074         gnu/java/security/x509/X509CRLEntry.java,
7075         gnu/java/security/x509/X509Certificate.java,
7076         java/security/cert/CRLSelector.java,
7077         java/security/cert/CertPathBuilder.java,
7078         java/security/cert/CertPathBuilderResult.java,
7079         java/security/cert/CertPathBuilderSpi.java,
7080         java/security/cert/CertPathParameters.java,
7081         java/security/cert/CertPathValidator.java,
7082         java/security/cert/CertPathValidatorResult.java,
7083         java/security/cert/CertPathValidatorSpi.java,
7084         java/security/cert/CertSelector.java,
7085         java/security/cert/CertStore.java,
7086         java/security/cert/CertStoreParameters.java,
7087         java/security/cert/CertStoreSpi.java,
7088         java/security/cert/CollectionCertStoreParameters.java,
7089         java/security/cert/LDAPCertStoreParameters.java,
7090         java/security/cert/PKIXBuilderParameters.java,
7091         java/security/cert/PKIXCertPathBuilderResult.java,
7092         java/security/cert/PKIXCertPathChecker.java,
7093         java/security/cert/PKIXCertPathValidatorResult.java,
7094         java/security/cert/PKIXParameters.java,
7095         java/security/cert/PolicyNode.java,
7096         java/security/cert/PolicyQualifierInfo.java,
7097         java/security/cert/TrustAnchor.java,
7098         javax/security/auth/x500/X500Principal.java:
7099         New files from classpath.
7100         * gnu/java/io/ASN1ParsingException.java,
7101         gnu/java/io/Base64InputStream.java,
7102         gnu/java/security/der/DEREncodingException.java,
7103         gnu/java/security/provider/DSAParameters.java,
7104         gnu/java/security/provider/DSASignature.java,
7105         gnu/java/security/provider/Gnu.java,
7106         gnu/java/security/provider/GnuDSAPrivateKey.java,
7107         gnu/java/security/provider/GnuDSAPublicKey.java,
7108         java/security/AlgorithmParameterGenerator.java,
7109         java/security/AlgorithmParameters.java,
7110         java/security/KeyFactory.java,
7111         java/security/KeyPairGenerator.java,
7112         java/security/KeyStore.java,
7113         java/security/MessageDigest.java,
7114         java/security/SecureClassLoader.java,
7115         java/security/SecureRandom.java,
7116         java/security/Security.java,
7117         java/security/Signature.java,
7118         java/security/cert/Certificate.java,
7119         java/security/cert/CertificateFactory.java,
7120         java/security/cert/CertificateFactorySpi.java,
7121         java/security/cert/X509CRL.java,
7122         java/security/cert/X509Certificate.java,
7123         java/security/spec/DSAPublicKeySpec.java:
7124         New versions from classpath.
7125         * gnu/java/security/provider/DERReader.java,
7126         gnu/java/security/provider/DERWriter.java,
7127         java/security/Engine.java: Removed.
7128         * Makefile.am
7129         (java_source_files, javax_source_files): Added new files.
7130         * Makefile.in: Regenerated.
7131
7132 2003-04-29  Michael Koch  <konqueror@gmx.de>
7133
7134         * javax/swing/JTable.java
7135         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7136         (AUTO_RESIZE_LAST_COLUMN): New constant.
7137         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7138         (AUTO_RESIZE_OFF): New constant.
7139         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7140         (JTable): New method.
7141         (columnAdded): New method.
7142         (columnMarginChanged): New method.
7143         (columnMoved): New method.
7144         (columnRemoved): New method.
7145         (columnSelectionChanged): New method.
7146         (editingCanceled): New method.
7147         (editingStopped): New method.
7148         (getColumnModel): New method.
7149         (getPreferredScrollableViewportSize): New method.
7150         (getScrollableBlockIncrement): New method.
7151         (getScrollableTracksViewportHeight): New method.
7152         (getScrollableTracksViewportWidth): New method.
7153         (getScrollableUnitIncrement): New method.
7154         (getSelectedRow): New method.
7155         (getSelectionModel): New method.
7156         (tableChanged): New method.
7157         (setModel): New method.
7158         (setSelectionMode): New method.
7159         (setSelectionModel): New method.
7160         (setShowGrid): New method.
7161         (valueChanged): New method.
7162         * javax/swing/text/DefaultEditorKit.java
7163         (backwardAction): New constant.
7164         (beepAction): New constant.
7165         (beginAction): New constant.
7166         (beginLineAction): New constant.
7167         (beginParagraphAction): New constant.
7168         (beginWordAction): New constant.
7169         (copyAction): New constant.
7170         (cutAction): New constant.
7171         (defaultKeyTypedAction): New constant.
7172         (deleteNextCharAction): New constant.
7173         (deletePrevCharAction): New constant.
7174         (downAction): New constant.
7175         (endAction): New constant.
7176         (endLineAction): New constant.
7177         (endOfLineStringProperty): New constant.
7178         (endParagraphAction): New constant.
7179         (endWordAction): New constant.
7180         (forwardAction): New constant.
7181         (insertBreakAction): New constant.
7182         (insertContentAction): New constant.
7183         (insertTabAction): New constant.
7184         (nextWordAction): New constant.
7185         (pageDownAction): New constant.
7186         (pageUpAction): New constant.
7187         (pasteAction): New constant.
7188         (previousWordAction): New constant.
7189         (readOnlyAction): New constant.
7190         (selectAllAction): New constant.
7191         (selectionBackwardAction): New constant.
7192         (selectionBeginAction): New constant.
7193         (selectionBeginLineAction): New constant.
7194         (selectionBeginParagraphAction): New constant.
7195         (selectionBeginWordAction): New constant.
7196         (selectionDownAction): New constant.
7197         (selectionEndAction): New constant.
7198         (selectionEndLineAction): New constant.
7199         (selectionEndParagraphAction): New constant.
7200         (selectionEndWordAction): New constant.
7201         (selectionForwardAction): New constant.
7202         (selectionNextWordAction): New constant.
7203         (selectionPreviousWordAction): New constant.
7204         (selectionUpAction): New constant.
7205         (selectLineAction): New constant.
7206         (selectParagraphAction): New constant.
7207         (selectWordAction): New constant.
7208         (upAction): New constant.
7209         (writableAction): New constant.
7210
7211 2003-04-29  Michael Koch  <konqueror@gmx.de>
7212
7213         * java/util/PropertyPermission.java:
7214         New version from classpath
7215         * java/util/ResourceBundle.java:
7216         Partly merged from classpath
7217         (getObject): Reformated.
7218         (tryBundle): Set foundBundle = null if no bundle found.
7219
7220 2003-04-29  Michael Koch  <konqueror@gmx.de>
7221
7222         * javax/swing/AbstractListModel.java,
7223         javax/swing/DefaultBoundedRangeModel.java,
7224         javax/swing/DefaultSingleSelectionModel.java:
7225         New Versions from classpath.
7226
7227 2003-04-29  Michael Koch  <konqueror@gmx.de>
7228
7229         * java/awt/Window.java
7230         (show): Call super.show() instead of setVisible() to avoid endless
7231         loop.
7232         (hide): Call super.hide() instead of setVisible() to avoid endless
7233         loop.
7234
7235 2003-04-29  Michael Koch  <konqueror@gmx.de>
7236
7237         * java/util/zip/Deflater.java,
7238         java/util/zip/DeflaterOutputStream.java:
7239         Partly merged with classpath.
7240
7241 2003-04-27  Tom Tromey  <tromey@redhat.com>
7242
7243         * java/lang/natString.cc (_Jv_AllocString): Initialize
7244         cachedHashCode.
7245         (init): Likewise.
7246         (_Jv_NewStringUtf8Const): Likewise.
7247
7248 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7249
7250         * include/jvm.h: (_Jv_GetNbArgs) added
7251         (_Jv_GetSafeArg) added
7252         (_Jv_SetArgs) added
7253         * prims.cc: (_Jv_GetNbArgs) implemented
7254         (_Jv_GetSafeArg) implemented
7255         (_Jv_SetArgs) implemented
7256         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7257         setting _Jv_argc and _Jv_argv
7258         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7259         instead of _Jv_argv
7260         * java/lang/natRuntime.cc: (insertSystemProperties) use
7261         _Jv_GetSafeArg() instead of _Jv_argv
7262
7263 2003-04-23  Tom Tromey  <tromey@redhat.com>
7264
7265         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7266         required by this object.  Search superclasses to find required
7267         alignment.
7268         (get_alignment_from_class): Use alignment of type as it appears
7269         in a struct.
7270         (ALIGNOF): New macro.
7271         (struct aligner): New helper structure.
7272
7273 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7274
7275         * java/awt/Container.java (addImpl): Enable paint events if adding
7276         a lightweight to a heavyweight.
7277         (addNotify): Ensure that peer is created before
7278         addNotifyContainerChildren.
7279         (addNotifyContainerChildren): Enable paint events if a heavyweight
7280         container contains a lightweight.
7281
7282 2003-04-20  Tom Tromey  <tromey@redhat.com>
7283
7284         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7285         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7286         Classpath.
7287
7288 2003-04-19  Tom Tromey  <tromey@redhat.com>
7289
7290         * java/sql/Date.java, java/sql/DriverManager.java,
7291         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7292         Classpath.
7293
7294         * Makefile.in: Rebuilt.
7295         * Makefile.am (ordinary_java_source_files): Added new files.
7296         * java/security/AlgorithmParameterGenerator.java,
7297         java/security/AlgorithmParameters.java, java/security/Engine.java,
7298         java/security/Identity.java, java/security/IdentityScope.java,
7299         java/security/KeyFactory.java,
7300         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7301         java/security/MessageDigest.java, java/security/Policy.java,
7302         java/security/ProtectionDomain.java,
7303         java/security/SecureRandom.java, java/security/Security.java,
7304         java/security/Signature.java, java/security/SignatureSpi.java,
7305         java/security/SignedObject.java, java/security/Signer.java,
7306         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7307         java/security/spec/PSSParameterSpec.java,
7308         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7309         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7310         Classpath.
7311
7312 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7313
7314         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7315         (dispose): Null metrics.
7316         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7317         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7318         finalize.
7319         (finalize): Call dispose.
7320         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7321         (gcCachedCount): New field.
7322         (finalize): New method.
7323         (putGCInCache): New method.
7324         (getGCFromCache): New method.
7325         * gnu/gcj/xlib/GC.java (GC): Make protected.
7326         (clone): Get new GC from cache if possible.
7327         (create): New static method.
7328         (dispose): Save old GC in cache.
7329         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7330         deleting.
7331         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7332         is null.
7333         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7334         * java/awt/Container.java (visitChild): Dispose gfx2 when
7335         finished.
7336
7337 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7338
7339         * java/math/BigInteger.java (probablePrime): New.
7340         * java/math/BigDecimal.java (unscaledValue): New.
7341
7342 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7343
7344         * java/io/File.java (getAbsolutePath): On Windows, take care
7345         of paths like "C:", "G:foo\bar", etc.
7346         (getName): Make it work correctly on Windows.
7347         (getParent): Make it work correctly on Windows. For UNIX,
7348         fix bug that causes "/" to be returned as the parent of "/",
7349         instead of null as returned by Sun's JRE.
7350
7351         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7352
7353 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7354
7355         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7356         inner class.
7357         (CACHE_SIZE_PER_DISPLAY): New field
7358         (fontMetricsCache): New field
7359         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7360         loading ISO10646-1 fonts.
7361
7362 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7363
7364         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7365         characters.
7366         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7367         characters.
7368
7369 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7370
7371         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7372         floating point.
7373
7374 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7375
7376         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7377         installed libpthread is either linuxthreads with floating stacks or
7378         NPTL.
7379
7380 2003-04-14  Tom Tromey  <tromey@redhat.com>
7381
7382         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7383         of alignment.
7384
7385 2003-04-10  Tom Tromey  <tromey@redhat.com>
7386
7387         * verify.cc (pop64): Removed.
7388         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7389         exception if top-of-stack is narrow.
7390         (initialize_stack): Check to ensure that <init> is not static and
7391         <clinit> is.
7392
7393 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7394
7395         * java/io/ObjectStreamException
7396         * java/io/FileFilter
7397         * java/io/FilenameFilter
7398         * java/io/ObjectInput
7399         * java/io/ObjectOutput
7400         * java/io/ObjectStreamConstants
7401         Minor doc fixes, format fixes, spelling corrections, etc.
7402         * java/io/DataInput
7403         Corrected code samples in Javadocs to match reality
7404         * java/io/DataOutput
7405         * java/io/ObjectInputValidation
7406         Major documentation fixes - all Javadocs re-written or updated
7407
7408 2003-04-06  Michael Koch  <konqueror@gmx.de>
7409
7410         * java/net/URLConnection.java:
7411         Import classes directly.
7412         (URLConnection): Merged class documentation with classpath.
7413         (url): Moved, documentation from classpath added.
7414         (doInput): Moved, documentation from classpath added.
7415         (doOutput): Moved, documentation from classpath added.
7416         (allowUserInteraction): Moved.
7417         (useCaches): Moved, documentation from classpath added.
7418         (ifModifiedSince): Moved, documentation from classpath added.
7419         (connected): Moved, documentation from classpath added.
7420
7421 2003-04-06  Michael Koch  <konqueror@gmx.de>
7422
7423         * java/io/FileInputStream.java
7424         (skip): Renamed some variables to match classpath, added
7425         checks from classpath.
7426
7427 2003-03-31  Michael Koch  <konqueror@gmx.de>
7428
7429         * javax/swing/AbstractAction.java
7430         (AbstractAction): Reformatted.
7431         (serialVersionUID): New private member variable.
7432         * javax/swing/plaf/BorderUIResource.java
7433         (serialVersionUID): New private member variable.
7434         * javax/swing/plaf/basic/BasicLookAndFeel.java
7435         (serialVersionUID): New private member variable.
7436
7437 2003-03-31  Michael Koch  <konqueror@gmx.de>
7438
7439         * java/sql/Date.java
7440         (valueOf): Deprecated, reformatted.
7441         (toString): Deprecated, reformatted.
7442         * java/sql/Time.java
7443         (valueOf): Deprecated, reformatted.
7444         (toString): Deprecated, reformatted.
7445
7446 2003-03-31  Michael Koch  <konqueror@gmx.de>
7447
7448         * java/rmi/dgc/VMID.java
7449         (isUnique): Deprecated.
7450
7451 2003-03-31  Michael Koch  <konqueror@gmx.de>
7452
7453         * java/io/File.java
7454         (separator): Merged documentation from classpath.
7455         (separatorChar): Merged documentation from classpath.
7456         (pathSeparator): Merged documentation from classpath.
7457         (pathSeparatorChar): Merged documentation from classpath.
7458         (path): Merged documentation from classpath.
7459         (canRead): Merged documentation from classpath.
7460         (canWrite): Merged documentation from classpath.
7461         (createNewFile): Merged documentation from classpath.
7462         (delete): Merged documentation from classpath.
7463         (equals): Merged documentation from classpath.
7464         (exists): Merged documentation from classpath.
7465         (File): Renamed p to name to match classpath, merged documentation
7466         from classpath.
7467         (getAbsolutePath): Merged documentation from classpath.
7468         (getCanonicalPath): Merged documentation from classpath.
7469         (getCanonicalFile): Merged documentation from classpath.
7470         (getName): Merged documentation from classpath.
7471         (getParent): Merged documentation from classpath.
7472         (getParentFile): Merged documentation from classpath.
7473         (getPath): Merged documentation from classpath.
7474         (hashCode): Merged documentation from classpath.
7475         (isAbsolute): Merged documentation from classpath.
7476         (isDirectory): Merged documentation from classpath.
7477         (isFile): Merged documentation from classpath.
7478         (isHidden): Merged documentation from classpath.
7479         (lastModified): Merged documentation from classpath.
7480         (length): Merged documentation from classpath.
7481         (list): Merged documentation from classpath.
7482         (listFiles): Merged documentation from classpath.
7483         (toString): Merged documentation from classpath.
7484         (toURL): Merged documentation from classpath.
7485         (mkdir): Merged documentation from classpath.
7486         (mkdirs): Merged documentation from classpath.
7487         (createTempFile): Merged documentation from classpath.
7488         (setReadOnly): Merged documentation from classpath.
7489         (listRoots): Merged documentation from classpath.
7490         (compareTo): Merged documentation from classpath.
7491         (renameTo): Merged documentation from classpath.
7492         (setLastModified): Merged documentation from classpath.
7493         * java/io/PrintStream.java
7494         (auto_flush): Merged documentation from classpath.
7495         (PrintStream): Merged documentation from classpath.
7496         (checkError): Merged documentation from classpath.
7497         (setError): Merged documentation from classpath.
7498         (close): Merged documentation from classpath.
7499         (flush): Merged documentation from classpath.
7500         (print): Merged documentation from classpath.
7501         (println):  Merged documentation from classpath.
7502         (write): Renamed count to len to match classpath,
7503         merged documentation from classpath.
7504         * java/io/RandomAccessFile.java
7505         (readShort): Merged documentation from classpath.
7506         (readUnsignedByte): Merged documentation from classpath.
7507         (readUnsignedShort): Merged documentation from classpath.
7508         (readUTF): Merged documentation from classpath.
7509         (seek): Reformatted, merged documentation from classpath.
7510         (skipBytes): Renamed some variables to match classpath, reformatted,
7511         merged documentation from classpath.
7512         (write): Merged documentation from classpath.
7513         (writeBoolean): Merged documentation from classpath.
7514         (writeByte): Merged documentation from classpath.
7515         (writeShort): Merged documentation from classpath.
7516         (writeChar): Merged documentation from classpath.
7517         (writeInt): Merged documentation from classpath.
7518         (writeLong): Merged documentation from classpath.
7519         (writeFloat): Merged documentation from classpath.
7520         (writeDouble): Merged documentation from classpath.
7521         (writeBytes): Merged documentation from classpath.
7522         (writeChars): Merged documentation from classpath.
7523         (writeUTF): Reformatted.
7524         (getChannel): Reformatted.
7525
7526 2003-03-31  Michael Koch  <konqueror@gmx.de>
7527
7528         * java/awt/font/TextAttribute.java
7529         (readResolve): Throws java.io.InvalidObjectException.
7530
7531 2003-03-31  Michael Koch  <konqueror@gmx.de>
7532
7533         * java/rmi/server/LoaderHandler.java
7534         (loadClass): Deprecated.
7535         (getSecurityContext): Deprecated.
7536         * java/rmi/server/LogStream.java
7537         (getDefaultStream): Deprecated.
7538         (setDefaultStream): Deprecated.
7539         (getOutputStream): Deprecated.
7540         (setOutputStream): Deprecated.
7541         (write): Deprecated.
7542         (toString): Deprecated.
7543         (parseLevel): Deprecated.
7544         * java/rmi/server/Operation.java
7545         (Operation): Deprecated.
7546         (getOperation): Deprecated.
7547         (toString): Deprecated.
7548         * java/rmi/server/RemoteCall.java
7549         (getOutputStream): Deprecated.
7550         (releaseOutputStream): Deprecated.
7551         (getInputStream): Deprecated.
7552         (releaseInputStream): Deprecated.
7553         (getResultStream): Deprecated.
7554         (executeCall): Deprecated.
7555         (done): Deprecated.
7556         * java/rmi/server/RemoteRef.java
7557         (invoke): Deprecated.
7558         (newCall): Deprecated.
7559         (done): Deprecated.
7560         * java/rmi/server/RemoteStub.java
7561         (setRef): Deprecated.
7562         * java/rmi/server/Skeleton.java:
7563         No need to import java.lang.Exception explicitly.
7564         (dispatch): Deprecated.
7565         (getOperations): Deprecated.
7566
7567 2003-03-31  Michael Koch  <konqueror@gmx.de>
7568
7569         * java/rmi/dgc/VMID.java,
7570         java/rmi/registry/RegistryHandler.java,
7571         java/rmi/server/LogStream.java,
7572         java/rmi/server/Operation.java,
7573         java/rmi/server/RemoteCall.java,
7574         java/rmi/server/RemoteRef.java,
7575         java/rmi/server/RemoteStub.java:
7576         Reformatted.
7577
7578 2003-03-31  Michael Koch  <konqueror@gmx.de>
7579
7580         * javax/swing/AbstractCellEditor.java,
7581         javax/swing/AbstractListModel.java,
7582         javax/swing/ActionMap.java,
7583         javax/swing/BorderFactory.java,
7584         javax/swing/ButtonGroup.java,
7585         javax/swing/DefaultBoundedRangeModel.java,
7586         javax/swing/DefaultButtonModel.java,
7587         javax/swing/DefaultCellEditor.java,
7588         javax/swing/DefaultComboBoxModel.java,
7589         javax/swing/DefaultDesktopManager.java,
7590         javax/swing/DefaultListCellRenderer.java,
7591         javax/swing/DefaultSingleSelectionModel.java,
7592         javax/swing/InputMap.java,
7593         javax/swing/JComponent.java,
7594         javax/swing/JMenu.java,
7595         javax/swing/JSlider.java,
7596         javax/swing/KeyStroke.java,
7597         javax/swing/OverlayLayout.java,
7598         javax/swing/ScrollPaneLayout.java,
7599         javax/swing/SizeRequirements.java,
7600         javax/swing/UIManager.java,
7601         javax/swing/ViewportLayout.java,
7602         javax/swing/border/AbstractBorder.java,
7603         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7604         javax/swing/event/EventListenerList.java,
7605         javax/swing/table/AbstractTableModel.java,
7606         javax/swing/table/DefaultTableCellRenderer.java,
7607         javax/swing/table/DefaultTableColumnModel.java,
7608         javax/swing/table/DefaultTableModel.java,
7609         javax/swing/table/TableColumn.java,
7610         javax/swing/text/StyledEditorKit.java,
7611         javax/swing/tree/DefaultMutableTreeNode.java,
7612         javax/swing/tree/DefaultTreeModel.java,
7613         javax/swing/tree/DefaultTreeSelectionModel.java,
7614         javax/swing/tree/TreePath.java,
7615         javax/swing/undo/AbstractUndoableEdit.java,
7616         javax/swing/undo/StateEdit.java,
7617         javax/swing/undo/StateEditable.java,
7618         javax/swing/undo/UndoableEditSupport.java:
7619         Merges from classpath.
7620
7621 2003-03-30  Tom Tromey  <tromey@redhat.com>
7622
7623         * java/lang/String.java (data, boffset, count): Documented.
7624         (String(byte[],String)): Reformatted.
7625         (String(byte[])): Likewise.
7626         (lastIndexOf(int)): Likewise.
7627         (lastIndexOf(String)): Likewise.
7628         (substring(int)): Renamed argument to match Classpath.
7629         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7630
7631         * java/lang/String.java: Miscellaneous minor formatting changes
7632         to match Classpath more closely.
7633
7634 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7635             Tom Tromey  <tromey@redhat.com>
7636
7637         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7638         (init()): Removed.
7639         (charAt): Put index in exception.
7640         (contentEquals): New method.
7641         Include StringBuffer.h.
7642         * java/lang/String.java (cachedHashCode): New field.
7643         (String()): Follow classpath implementation.
7644         (init()): Removed.
7645         (contentEquals): Declare.
7646         (subSequence): Don't declare IndexOutIfBoundsException in throws
7647         clause.
7648         (matches, replaceFirst, replaceAll, split): New methods from
7649         Classpath.
7650
7651 2003-03-29  Tom Tromey  <tromey@redhat.com>
7652
7653         * java/lang/String.java: Reordered to follow Classpath; merged in
7654         javadoc.
7655
7656         * java/text/MessageFormat.java: Removed some whitespace.
7657
7658         * Makefile.in: Rebuilt.
7659         * Makefile.am (awt_java_source_files): Added new files.
7660         * gnu/javax/rmi/PortableServer.java,
7661         gnu/javax/rmi/CORBA/DelegateFactory.java,
7662         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7663         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7664         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7665         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7666         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7667         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7668         javax/rmi/PortableRemoteObject.java,
7669         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7670         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7671         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7672         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7673         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7674         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7675
7676         * java/lang/natClass.cc (newInstance): Put method name in
7677         exception.
7678         (getConstructor): Likewise.
7679         (getDeclaredConstructor): Likewise.
7680         (getPrivateMethod): Likewise.
7681
7682 2003-03-28  Tom Tromey  <tromey@redhat.com>
7683
7684         * java/lang/reflect/Proxy.java: New version from Classpath.
7685         * java/lang/Package.java: New version from Classpath.
7686
7687 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7688
7689         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7690         * configure: Regenerate.
7691
7692 2003-03-28  Michael Koch  <konqueror@gmx.de>
7693
7694         * java/io/File.java:
7695         Import needed classes instead of whole packages, merged class
7696         documentation with classpath, moved constants and variables to top of
7697         class.
7698         * java/io/PrintStream.java:
7699         Merged class documentation with classpath, moved constants and
7700         variables to top of class.
7701         * java/io/RandomAccessFile.java
7702         (RandomAccessFile): Merged with classpath.
7703         (read): Merged with classpath).
7704         (read*): Reformatted.
7705
7706 2003-03-28  Michael Koch  <konqueror@gmx.de>
7707
7708         * java/io/FileDescriptor.java
7709         (finalize): Throws Throwable, not IOException.
7710         * java/io/ObjectOutputStream.java
7711         (PutField.put): Doesnt throws anything.
7712
7713 2003­03-28  Michael Koch  <konqueror@gmx.de>
7714
7715         * java/io/FileOutputStream.java:
7716         Merged class documentation and authors with classpath.
7717         (FileOutputStream): Partly merged with classpath.
7718         (write): Merged with classpath.
7719         (getChannel): Make it synchronized instead of explicit block in this
7720         method.
7721         * java/io/RandomAccessFile.java:
7722         Merged class documentation and authors with classpath.
7723
7724 2003-03-26  Tom Tromey  <tromey@redhat.com>
7725
7726         * java/lang/natRuntime.cc (insertSystemProperties): Set
7727         gnu.classpath.home.url.
7728         * Makefile.in: Rebuilt.
7729         * Makefile.am: Define LIBDIR.
7730
7731 2003-03-25  Michael Koch  <konqueror@gmx.de>
7732
7733         * java/io/FileInputStream.java
7734         (read): Renamed b to buf and off to offset.
7735         * java/io/FileOutputStream.java
7736         (ch): Documentation added.
7737         (FileOutputStream): Documentation added.
7738         (getFD): Documentation added.
7739         (write): Documentation added.
7740         (close): Documentation added.
7741         (getChannel): Documentation added.
7742
7743 2003-03-24  Michael Koch  <konqueror@gmx.de>
7744
7745         * java/io/DataOutputStream.java
7746         (write): Merged from classpath.
7747         * java/io/File.java:
7748         Merged copyrigth with classpath.
7749         * java/io/FileInputStream.java
7750         (getChannel): Made it synchronized instead of using a synchronized
7751         block.
7752         * java/io/FileOutputStream.java: Reformatted.
7753         * java/io/InputStreamReader.java
7754         (InputStreamReader): Renamed enc to encoding_name.
7755         (close): Merged documentation from classpath.
7756         (getEncoding): Merged documentation from classpath.
7757         (ready): Merged documentation from classpath.
7758         (read): Merged documentation from classpath.
7759         * java/io/LineNumberReader.java
7760         (lineNumber): Made it private.
7761         (LineNumberReader): Use Constant instead of a direct value.
7762         * java/io/OutputStreamWriter.java
7763         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7764         documentation from classpath.
7765         (close): Merged documentation from classpath.
7766         (flush): Merged documentation from classpath.
7767         (write): Merged documentation from classpath.
7768         * java/io/PrintStream.java: Reformatted.
7769
7770 2003-03-24  Michael Koch  <konqueror@gmx.de>
7771
7772         * javax/swing/text/ComponentView.java
7773         (getComponent): Must be final.
7774         * javax/swing/tree/DefaultTreeCellRenderer.java:
7775         Reformatted.
7776         * javax/swing/undo/StateEditable.java:
7777         Reformatted.
7778
7779 2003-03-24  Michael Koch  <konqueror@gmx.de>
7780
7781         * java/rmi/activation/ActivationInstantiator.java:
7782         Reformatted.
7783         * java/rmi/activation/Activator.java:
7784         Reformatted.
7785         * java/rmi/registry/RegistryHandler.java:
7786         Remerged from classpath.
7787
7788 2003-03-24  Michael Koch  <konqueror@gmx.de>
7789
7790         * java/util/Date.java:
7791         Fixed documentation starting tag to make javadoc happy.
7792         * java/util/regex/Pattern.java
7793         (Pattern): Implements Serializable.
7794         * java/util/PatternSyntaxException.java
7795         (serialVersionUID): New member variable.
7796
7797 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7798
7799         * java/awt/ContainerOrderFocusTraversalPolicy.java
7800         (getFirstComponent): Implemented.
7801         (getLastComponent): Implemented.
7802         (getDefaultComponent): Implemented.
7803         (setImplicitDownCycleTraversal): Fixed implementation.
7804         * java/awt/Robot.java
7805         (Robot): Added documentation.
7806         * java/awt/Toolkit.java
7807         (getFontList): Deprecated.
7808         (getFontMetrics): Deprecated.
7809         (getPrintJob): Added documentation.
7810         (getSystemSelection): Added documentation.
7811         (getLockingKeyState): Added documentation.
7812         (setLockingKeyState): Added documentation.
7813         (createCustomCursor): Added documentation.
7814         (getBestCursorSize): Added documentation.
7815         (getMaximumCursorColors): Added documentation.
7816         (isFrameStateSupported): Added documentation.
7817
7818 2003-03-24  Michael Koch  <konqueror@gmx.de>
7819
7820         * java/io/RandomAccessFile.java:
7821         More little merges with classpath. No code changes.
7822
7823 2003-03-24  Michael Koch  <konqueror@gmx.de>
7824
7825         * java/net/natInetAddressNoNet.cc:
7826         Include stddef.h.
7827         * java/net/natPlainDatagramSocketImplNoNet.cc:
7828         Fixed inlcude of java/net/DatagramPacket.h.
7829         * java/net/natPlainSocketImplNoNet.cc:
7830         Include some missing classes.
7831
7832 2003-03-24  Michael Koch  <konqueror@gmx.de>
7833
7834         * java/awt/dnd/DropTarget.java
7835         (DropTargetAutoScroller): According to the online documentation, this
7836         is protected, but in reality it is public.
7837         * java/awt/dnd/DropTargetContext.java
7838         (TransferableProxy): According to the online documentation, this
7839         is protected, but in reality it is public.
7840
7841 2003-03-24  Michael Koch  <konqueror@gmx.de>
7842
7843         * java/io/DataInputStream.java
7844         (): Wrapped documentation line.
7845         (): Fixed @return tag.
7846         * java/io/DataOutputStream.java
7847         (written): Moved to top of class.
7848         (all methods): Merged documentation from classpath.
7849         * java/io/File.java:
7850         Merged copyright year with classpath.
7851         * java/io/FileInputStream.java
7852         (all methods): Merged documentation from classpath.
7853         * java/io/LineNumberReader.java
7854         (getLineNumber): Fixed @return tag.
7855         * java/io/ObjectInputStream.java.
7856         Reformatted.
7857         * java/io/ObjectOutputStream.java:
7858         Reformatted, fixed some @see tags.
7859         * java/io/OutputStreamWriter.java:
7860         Deleted empty line.
7861         * java/io/Writer.java:
7862         Reformatted.
7863
7864 2003-03-24  Michael Koch  <konqueror@gmx.de>
7865
7866         * java/awt/Frame.java
7867         (DEFAULT_CURSOR): Fixed @deprecated tag.
7868         (setCursor): Fixed @deprecated tag.
7869
7870 2003-03-24  Michael Koch  <konqueror@gmx.de>
7871
7872         * java/beans/beancontext/BeanContextEvent.java:
7873         Reformated.
7874
7875 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7876
7877         * java/lang/natStringBuffer.cc (regionMatches): New function.
7878         * java/lang/String.java (count): Now package-private.
7879         * java/lang/StringBuffer.java: Merged with Classpath.
7880
7881 2003-03-23  Michael Koch  <konqueror@gmx.de>
7882
7883         * java/io/BufferedOutputStream.java:
7884         Reformated.
7885         * java/io/BufferedReader.java:
7886         Reformated.
7887         * java/io/ByteArrayOutputStream.java
7888         (size): Fixed @see tag.
7889         * java/io/CharArrayWriter.java
7890         (size): Fixed @see tag.
7891         * java/io/DataInput.java:
7892         Reformated.
7893         * java/io/DataOutput.java:
7894         Reformated.
7895         * java/io/DataOutputStream.java:
7896         Merged copyright years with classpath.
7897         * java/io/Externalizable.java:
7898         Reformated.
7899         * java/io/FileFilter.java:
7900         Reformated.
7901         * java/io/FileInputStream.java:
7902         Merged copyright years with classpath.
7903         * java/io/FileOutputStream.java:
7904         Merged copyright years with classpath.
7905         * java/io/FilePermission.java
7906         (FilePermission): Replaced @XXX with FIXME:.
7907         * java/io/FileWriter.java:
7908         Reformated.
7909         * java/io/FilenameFilter.java:
7910         Reformated.
7911         * java/io/FilterInputStream.java:
7912         Reformated.
7913         * java/io/FilterOutputStream.java:
7914         Reformated.
7915         * java/io/FilterReader.java:
7916         Reformated.
7917         * java/io/FilterWriter.java:
7918         Reformated.
7919         * java/io/LineNumberInputStream.java
7920         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7921         happy.
7922         (getLineNumber): Fixed @return tag.
7923         * java/io/ObjectInput.java:
7924         Reformated.
7925         * java/io/ObjectOutput.java:
7926         Reformated.
7927         * java/io/ObjectStreamClass.java:
7928         Reformated.
7929         * java/io/PrintStream.java:
7930         Merged copyright years with classpath.
7931         * java/io/PushbackReader.java
7932         (PushbackReader): Replaced @code with @param.
7933         * java/io/SerializablePermission.java:
7934         Reformated.
7935         * java/io/StreamTokenizer.java
7936         (resetSyntax): Fixed @see tag.
7937
7938 2003-03-22  Richard Henderson  <rth@redhat.com>
7939
7940         * sysdep/ia64/locks.h: Include ia64intrin.h.
7941         (compare_and_swap): Use __sync_bool_compare_and_swap.
7942         (compare_and_swap_release): Expose ar.ccv assignment.
7943
7944 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7945
7946         * include/posix.h: Add suffix for darwin dynamic libraries.
7947
7948 2003-03-21  Michael Koch  <konqueror@gmx.de>
7949
7950         * javax/swing/Action.java
7951         (ACCELERATOR_KEY): New constant.
7952         (ACTION_COMMAND_KEY): Likewise.
7953         (MNEMONIC_KEY): Likewise.
7954         * javax/swing/UnsupportedLookAndFeelException.java
7955         (UnsupportedLookAndFeelException): Must be public.
7956         * javax/swing/WindowConstants.java
7957         (EXIT_ON_CLOSE): New constant.
7958         * javax/swing/text/BadLocationException.java
7959         (offset): New member variable.
7960         (BadLocationException): New implementation, documentation added.
7961         (offsetRequested): New method.
7962         * javax/swing/text/Caret.java:
7963         Reformated.
7964         * javax/swing/text/Document.java:
7965         Reformated.
7966
7967 2003-03-21  Michael Koch  <konqueror@gmx.de>
7968
7969         * java/rmi/activation/Activatable.java
7970         (serialVersionUID): New member variable.
7971         * java/rmi/activation/ActivationGroup.java
7972         (serialVersionUID): New member variable.
7973         * java/rmi/activation/ActivationGroupDesc.java
7974         (serialVersionUID): New member variable.
7975         * java/rmi/registry/Registry.java:
7976         Reformated.
7977         (Registry): Deprecated.
7978         * java/rmi/server/LoaderHandler.java
7979         Reformated.
7980         (LoaderHandler): Deprecated.
7981         * java/rmi/server/LogStream.java
7982         Reformated.
7983         (LogStream): Deprecated.
7984         * java/rmi/server/Operation.java
7985         (Operation): Deprecated.
7986         * java/rmi/server/RMIFailureHandler.java:
7987         Reformated.
7988         * java/rmi/server/RMISocketFactory.java:
7989         Reformated.
7990         * java/rmi/server/RemoteCall.java
7991         (RemoteCall): Deprecated.
7992         * java/rmi/server/RemoteStub.java:
7993         Reformated.
7994         * java/rmi/server/Skeleton.java
7995         Reformated.
7996         (Skeleton): Deprecated.
7997
7998 2003-03-21  Michael Koch  <konqueror@gmx.de>
7999
8000         * java/io/LineNumberReader.java
8001         (LineNumberReader): Merged documentation with classpath.
8002         (getLineNumber): Likewise.
8003         (setLineNumber): Likewise.
8004         (mark): Likewise.
8005         (reset): Likewise.
8006         (read): Likewise.
8007         (readLine): Likewise.
8008         (skip): Likewise.
8009
8010 2003-03-21  Michael Koch  <konqueror@gmx.de>
8011
8012         * java/rmi/RMISecurityManager.java
8013         (checkAccept): Removed.
8014         (checkAccess): Likewise.
8015         (checkAccess): Likewise.
8016         (checkAwtEventQueueAccess): Likewise.
8017         (checkConnect): Likewise.
8018         (checkCreateClassLoader): Likewise.
8019         (checkDelete): Likewise.
8020         (checkExec): Likewise.
8021         (checkExit): Likewise.
8022         (checkLink): Likewise.
8023         (checkListen): Likewise.
8024         (checkMemberAccess): Likewise.
8025         (checkMulticast): Likewise.
8026         (checkPackageAccess): Likewise.
8027         (checkPackageDefinition): Likewise.
8028         (checkPermission): Likewise.
8029         (checkPrintJobAccess): Likewise.
8030         (checkPropertiesAccess): Likewise.
8031         (checkPropertyAccess): Likewise.
8032         (checkRead): Likewise.
8033         (checkSecurityAccess): Likewise.
8034         (checkSetFactory): Likewise.
8035         (checkSystemClipboardAccess): Likewise.
8036         (checkTopLevelWindow): Likewise.
8037         (checkWrite): Likewise.
8038
8039 2003-03-20  Michael Koch  <konqueror@gmx.de>
8040
8041         * gnu/java/nio/FileChannelImpl.java
8042         (address): Removed.
8043         (map_address): New member variable.
8044         (length): Make it package private.
8045         (fd): Make it package private.
8046         (buf): Make it package private.
8047         (file_obj): Make it package private.
8048         (FileChannelImpl): New constructor.
8049         (nio_mmap_file): Use RawData instead of long.
8050         (nio_munmap_file): Use RawData instead of long.
8051         (nio_msync): Use RawData instead of long.
8052         (implCloseChannel): New implementation using map_address.
8053         (read): Reformated.
8054         (map): Implemented.
8055         (create_direct_mapped_buffer): Implemented, use RawData, throws
8056         IOException.
8057         (force): Use map_address instead of address.
8058         * gnu/java/nio/MappedByteFileBuffer.java
8059         (address): Removed.
8060         (map_address): New member variable.
8061         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8062         (several methods): Use map_address instead of address, replaced long
8063         with RawData where appropriate.
8064         * gnu/java/nio/natFileChannelImpl.cc
8065         (nio_mmap_file): Replaced long with RawData.
8066         (nio_munmap_file): Replaced long with RawData.
8067         (nio_msync): Replaced long with RawData.
8068         * gnu/java/nio/natMappedByteFileBuffer.cc
8069         (several methods): Replaced long with RawData where appropriate.
8070
8071 2003-03-20  Michael Koch  <konqueror@gmx.de>
8072
8073         * java/net/InetAddress.java,
8074         java/net/JarURLConnection.java,
8075         java/net/PlainDatagramSocketImpl.java,
8076         java/net/PlainSocketImpl.java,
8077         java/net/URLConnection.java:
8078         Merged copyright statements with classpath for easier merging.
8079
8080 2003-03-20  Michael Koch  <konqueror@gmx.de>
8081
8082         * java/io/FileInputStream.java
8083         (getChannel): New implementation.
8084         * java/io/FileOutputStream.java
8085         (ch): New member variable.
8086         (getChannel): Implemented.
8087         * java/io/RandomAccessFile.java
8088         (RandomAccessFile): Throws FileNotFoundException instead of
8089         IOException.
8090         (getChannel): New method.
8091         (ch): New member variable.
8092
8093 2003-03-20  Michael Koch  <konqueror@gmx.de>
8094
8095         * java/io/DataOutputStream.java,
8096         java/io/File.java,
8097         java/io/FileInputStream.java,
8098         java/io/FileOutputStream.java,
8099         java/io/InputStreamReader.java,
8100         java/io/LineNumberReader.java,
8101         java/io/OutputStreamWriter.java,
8102         java/io/PrintStream.java,
8103         java/io/RandomAccessFile.java:
8104         Merged copyright statements with classpath for easier merging.
8105
8106 2003-03-19  Michael Koch  <konqueror@gmx.de>
8107
8108         * java/lang/Process.java:
8109         Merged from classpath.
8110
8111 2003-03-19  Michael Koch  <konqueror@gmx.de>
8112
8113         * java/io/FileOutputStream.java
8114         (FileOutputStream): New constructor, merged from classpath.
8115         * java/io/FileWriter.java
8116         (FileWriter): New constructor, merged from classpath.
8117
8118 2003-03-18  Michael Koch  <konqueror@gmx.de>
8119
8120         * java/awt/ScrollPane.java
8121         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8122         (getViewportSize): Likewise.
8123         (addNotify): Likewise.
8124         (removeNotify): Likewise.
8125         * java/awt/ScrollPaneAdjustable.java
8126         (ScrollPaneAdjustable): No longer extends Scrollbar.
8127         * java/beans/beancontext/BeanContextServices.java:
8128         Reformated.
8129         (getService): Added throws TooManyListenersException;
8130         * java/beans/beancontext/BeanContextServicesSupport.java:
8131         Reformated.
8132
8133 2003-03-18  Michael Koch  <konqueror@gmx.de>
8134
8135         * java/io/BufferedOutputStream.java,
8136         java/io/DataInput.java,
8137         java/io/DataInputStream.java,
8138         java/io/DataOutput.java,
8139         java/io/Externalizable.java:
8140         More merges from classpath.
8141
8142 2003-03-18  Michael Koch  <konqueror@gmx.de>
8143
8144         * configure.in: Fixed links to platform dependant java.net files.
8145         * configure: Regenerated.
8146         * java/net/natInetAddress.cc,
8147         java/net/natNetworkInterface.cc,
8148         java/net/natPlainDatagramSocketImpl.cc,
8149         java/net/natPlainSocketImpl.cc:
8150         Removed.
8151
8152 2003-03-18  Michael Koch  <konqueror@gmx.de>
8153
8154         * configure.in: Create links to architecture dependent files,
8155         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8156         * configure: Regenerated.
8157         * java/net/natInetAddressNoNet.cc,
8158         java/net/natInetAddressPosix.cc,
8159         java/net/natInetAddressWin32.cc,
8160         java/net/natNetworkInterfaceNoNet.cc,
8161         java/net/natNetworkInterfacePosix.cc,
8162         java/net/natNetworkInterfaceWin32.cc,
8163         java/net/natPlainDatagramSocketImplNoNet.cc,
8164         java/net/natPlainDatagramSocketImplPosix.cc,
8165         java/net/natPlainDatagramSocketImplWin32.cc,
8166         java/net/natPlainSocketImplNoNet.cc,
8167         java/net/natPlainSocketImplPosix.cc,
8168         java/net/natPlainSocketImplWin32.cc: New files.
8169
8170 2003-03-18  Michael Koch  <konqueror@gmx.de>
8171
8172         * java/io/BufferedReader.java,
8173         java/io/BufferedWriter.java,
8174         java/io/ByteArrayOutputStream.java,
8175         java/io/FileFilter.java,
8176         java/io/FilePermission.java,
8177         java/io/FileReader.java,
8178         java/io/FileWriter.java,
8179         java/io/FilenameFilter.java,
8180         java/io/FilterInputStream.java,
8181         java/io/FilterOutputStream.java,
8182         java/io/FilterReader.java,
8183         java/io/FilterWriter.java,
8184         java/io/ObjectInput.java,
8185         java/io/ObjectInputValidation.java,
8186         java/io/ObjectOutput.java,
8187         java/io/ObjectStreamField.java,
8188         java/io/PipedInputStream.java,
8189         java/io/PipedReader.java,
8190         java/io/PrintWriter.java,
8191         java/io/PushbackReader.java,
8192         java/io/Reader.java,
8193         java/io/SerializablePermission.java,
8194         java/io/StringReader.java,
8195         java/io/Writer.java:
8196         Merged from classpath.
8197
8198 2003-03-17  Michael Koch  <konqueror@gmx.de>
8199
8200         * java/awt/ScrollPaneAdjustable.java:
8201         Compile fixes.
8202         
8203 2003-03-17  Michael Koch  <konqueror@gmx.de>
8204
8205         * java/net/DatagramSocket.java
8206         (connect): Fixed comment.
8207         * java/nio/ByteBuffer.java
8208         (hasArray): Fixed comment.
8209
8210 2003-03-17  Michael Koch  <konqueror@gmx.de>
8211
8212         * java/beans/Beans.java:
8213         Explicitely import classes not packages.
8214         * java/beans/FeatureDescriptor.java
8215         (preferred): New member variable.
8216         (isPreferred): New method.
8217         (setPreferred): New method.
8218         * java/beans/PropertyEditorManager.java:
8219         Explicitely import used classes.
8220         * java/beans/beancontext/BeanContextChild.java:
8221         Added line wrapping.
8222         * java/beans/beancontext/BeanContextChildSupport.java:
8223         Reindented.
8224         * java/beans/beancontext/BeanContextEvent.java:
8225         Reindented.
8226
8227 2003-03-17  Michael Koch  <konqueror@gmx.de>
8228
8229         * java/awt/Dialog.java
8230         (Dialog): New constructor, changed implementations, added
8231         documentation.
8232         * java/awt/ScrollPaneAdjustable.java
8233         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8234         Serializable.
8235         (serialVersionUID): New member variable.
8236         (sp): New member variable.
8237         (orientation): New member variable.
8238         (value): New member variable.
8239         (minimum): New member variable.
8240         (maximum): New member variable.
8241         (visibleAmount): New member variable.
8242         (unitIncrement): New member variable.
8243         (blockIncrement): New member variable.
8244         (AdjustmentListener): New member variable.
8245         (ScrollPaneAdjustable): New implementation.
8246         (addAdjustmentListener): New method.
8247         (removeAdjustmentListener): New method.
8248         (getAdjustmentListeners): New method.
8249         (getBlockIncrement): New method.
8250         (getMaximum): New method.
8251         (getMinimum): New method.
8252         (getOrientation): New method.
8253         (getUnitIncrement): New method.
8254         (getValue): New method.
8255         (getVisibleAmount): New method.
8256         (setBlockIncrement): New method.
8257         (setMaximum): Implemented.
8258         (setMinimum): Implemented.
8259         (setUnitIncrement): New method.
8260         (setValue): New method.
8261         (setVisibleAmount): Implemented. 
8262         (paramString): New stubbed method.
8263         * java/awt/Window.java
8264         (show): Call setVisible().
8265         (hide): Call setVisible().
8266         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8267         and WINDOW_STATE_CHANGED.
8268         (processWindowFocusEvent): New method.
8269         (processWindowStateEvent): New method.
8270         (postEvent): Deprecated.
8271         (applyResourceBundle): Deprecated.
8272         * java/awt/datatransfer/DataFlavor.java
8273         (DataFlavor): Doesn't thow ClassNotFoundException.
8274
8275 2003-03-17  Michael Koch
8276
8277         * javax/print/attribute/Attribute.java,
8278         javax/print/attribute/AttributeSet.java,
8279         javax/print/attribute/PrintRequestAttributeSet.java:
8280         New files.
8281         * Makefile.am
8282         (javax_source_files): Added new files:
8283         javax/print/attribute/Attribute.java
8284         javax/print/attribute/AttributeSet.java
8285         javax/print/attribute/PrintRequestAttributeSet.java
8286         * Makefile.in: Regenerated.
8287
8288 2003-03-17  Michael Koch
8289
8290         * javax/print/attribute/Attribute.java,
8291         javax/print/attribute/AttributeSet.java,
8292         javax/print/attribute/PrintRequestAttributeSet.java:
8293         New files.
8294         * Makefile.am
8295         (awt_java_source_files): Added new files:
8296         javax/print/attribute/Attribute.java
8297         javax/print/attribute/AttributeSet.java
8298         javax/print/attribute/PrintRequestAttributeSet.java
8299         * Makefile.in: Regenerated.
8300
8301 2003-03-16  Tom Tromey  <tromey@redhat.com>
8302
8303         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8304         Include platform.h.
8305         * java/lang/natRuntime.cc (insertSystemProperties): Use
8306         _Jv_platform_path_separator.
8307         (nativeGetLibname): Use _Jv_platform_file_separator.
8308         (_load): Use _Jv_platform_onload_names.
8309         (onload_names): New global.
8310         * include/win32.h (_Jv_platform_file_separator): New define.
8311         (_Jv_platform_path_separator): Likewise.
8312         (_Jv_platform_onload_names): Likewise.
8313         (_Jv_platform_ffi_abi): Likewise.
8314         * include/posix.h (_Jv_platform_file_separator): New define.
8315         (_Jv_platform_path_separator): Likewise.
8316         (_Jv_platform_onload_names): Likewise.
8317         (_Jv_platform_ffi_abi): Likewise.
8318
8319 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8320
8321         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8322
8323 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8324
8325         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8326         hierarchy loop.
8327         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8328         list to Object,ObjectStreamClass, moved callReadMethod code up into
8329         readObject and added Class argument to all setXxxField calls.
8330         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8331         consistent with ObjectOutputStream and to facilitate caching the
8332         Method in the future.
8333         (setBooleanField): Added Class argument.
8334         (setByteField): Likewise.
8335         (setCharField): Likewise.
8336         (setDoubleField): Likewise.
8337         (setFloatField): Likewise.
8338         (setIntField): Likewise.
8339         (setLongField): Likewise.
8340         (setShortField): Likewise.
8341         (setObjectField): Likewise.
8342         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8343         class hierarchy loop.
8344         (defaultWriteObject): Call writeFields with new argument list.
8345         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8346         list to Object,ObjectStreamClass, moved callWriteMethod up into
8347         writeObject and added Class argument to all getXxxField calls.
8348         (callWriteMethod): Added ObjectStreamClass argument to be able to
8349         get the proper class to call getMethod on (each class can have (or
8350         not have) its own writeObject method).
8351         (getBooleanField): Added Class argument.
8352         (getByteField): Likewise.
8353         (getCharField): Likewise.
8354         (getDoubleField): Likewise.
8355         (getFloatField): Likewise.
8356         (getIntField): Likewise.
8357         (getLongField): Likewise.
8358         (getShortField): Likewise.
8359         (getObjectField): Likewise.
8360         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8361         facilitate caching the Method object in the future.
8362
8363 2003-03-12  Andreas Schwab  <schwab@suse.de>
8364
8365         * configure.in: Avoid trailing /. in toolexeclibdir.
8366         * configure: Rebuilt.
8367
8368 2003-03-11  Michael Koch  <konqueror@gmx.de>
8369
8370         * gnu/java/nio/ByteBufferImpl.java
8371         (putInt): Use limit() instead of limit.
8372         * gnu/java/nio/CharBufferImpl.java
8373         (slice): Fixed implementation.
8374         (subSequence): Better bounds checking.
8375         * gnu/java/nio/MappedByteFileBuffer.java:
8376         Import all needed classes directly.
8377         * java/nio/ByteBuffer.java
8378         (hashCode): New dummy method.
8379         * java/nio/CharBuffer.java
8380         (array_offset): New member variable.
8381         (hasArray): Fixed documentation.
8382         (arrayOffset): Return array_offset.
8383
8384 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8385
8386         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8387         setter; made return value of getter const char* instead of char*
8388         * prims.cc: removed all references to _Jv_ThisExecutable().
8389         These are in the platform-specific sections now.
8390         * posix.cc: define platform-specific _Jv_ThisExecutable().
8391         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8392         * win32.cc: define platform-specific _Jv_ThisExecutable()
8393         using GetModuleFilename()
8394         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8395         to argv[0] instead of _Jv_ThisExecutable()
8396
8397 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8398
8399         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8400         that is set if we are using addr2name.awk instead of addr2line.
8401         (NameFinder): Set usingAddr2name if using addr2name.awk.
8402         (getExternalLabel): New native method to convert a method 
8403         name to an external label.
8404         (lookup): Convert name given by addr2line to an external label
8405         before demangling.
8406
8407         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8408         constant representing the prefix attached to method names to
8409         convert them to an external label.
8410         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8411         using LABEL_PREFIX.
8412
8413 2003-03-10  Tom Tromey  <tromey@redhat.com>
8414
8415         * Makefile.in: Rebuilt.
8416         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8417         (JC1FLAGS): Removed -Wno-deprecated.
8418
8419 2003-03-10  Michael Koch  <konqueror@gmx.de>
8420
8421         * java/nio/ByteOrder.java
8422         (nativeOrder): Working implementation, added documentation.
8423         (toString): Added documentation.
8424
8425 2003-03-10  Michael Koch  <konqueror@gmx.de>
8426
8427         * java/net/DatagramSocket.java,
8428         java/net/MulticastSocket.java,
8429         java/net/Socket.java,
8430         java/net/URL.java,
8431         java/net/URLConnection.java:
8432         Fixed some documentation tags to make javadoc and friends happy.
8433
8434 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8435
8436         * java/beans/beancontext/BeanContextServicesSupport.java,
8437         java/beans/beancontext/BeanContextSupport.java: New files.
8438         * Makefile.am
8439         (awt_source_files): Added new files.
8440         * Makefile.in: Regenerated.
8441
8442 2003-03-10  Michael Koch  <konqueror@gmx.de>
8443
8444         * java/awt/FocusTraversalPolicy.java
8445         (FocusTraversalPolicy): Documentation added.
8446         (getComponentAfter): Documentation added.
8447         (getComponentBefore): Documentation added.
8448         (getFirstComponent): Documentation added.
8449         (getLastComponent): Documentation added.
8450         (getDefaultComponent): Documentation added.
8451         (getInitialComponent): Documentation added.
8452         * java/awt/ScrollPaneAdjustable.java
8453         (sp): New member variable.
8454         (orientation): New member variable.
8455         (value): New member variable.
8456         (minimum): New member variable.
8457         (maximum): New member variable.
8458         (visibleAmount): New member variable.
8459         (unitIncrement): New member variable.
8460         (blockIncrement): New member variable.
8461         (adjustmentListener): New member variable.
8462         (ScrollPaneAdjustable): Rewrote.
8463         (addAdjustmentListener): New method.
8464         (removeAdjustmentListener): New method.
8465         (getAdjustmentListeners): New method.
8466         (getBlockIncrement): New method.
8467         (getMaximum): New method.
8468         (getMinimum): New method.
8469         (getOrientation): New method.
8470         (getUnitIncrement): New method.
8471         (getValue): New method.
8472         (getVisibleAmount): New method.
8473         (setBlockIncrement): New method.
8474         (setUnitIncrement): New method.
8475         (setMaximum): Implemented.
8476         (setMinimum): Implemented.
8477         (setValue): New method.
8478         (setVisibleAmount): Implemented.
8479         (paramString): New method.
8480         * java/awt/Window.java
8481         (show): Use setVisible(true) instead of super.show().
8482         (hide): Use sevVisible(false) instead of super.hide().
8483         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8484         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8485         (postEvent): Deprecated.
8486         (applyResourceBundle): Deprecated.
8487         (processWindowFocusEvent): New method.
8488         (processWindowStateEvent): New method.
8489         * java/awt/datatransfer/DataFlavor.java: Reindented.
8490         * java/awt/font/TextHitInfo.java
8491         (charIndex): New member variable.
8492         (leadingEdge): New member variable.
8493         (TextHitInfo): New constructor.
8494         (getCharIndex): Implemented.
8495         (isLeadingEdge): Implemented.
8496         (getInsertionIndex): Implemented.
8497         (hashCode): Access charIndex directly.
8498         (equals): Reformated.
8499         (leading): Implemented.
8500         (trailing): Implemented.
8501         (beforeOffset): Implemented.
8502         (afterOffset): Implemented.
8503         (getOtherHit): Implemented.
8504         (getOffsetHit): Implemented.
8505         (toString): Implemented.
8506         * java/awt/image/BufferedImage.java
8507         (BufferedImage): Implements WritableRenderedImage.
8508         (observers): New member variable.
8509         (addTileObserver): New method.
8510         (removeTileObserver): New method.
8511
8512 2003-03-09  Tom Tromey  <tromey@redhat.com>
8513
8514         PR libgcj/9934:
8515         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8516         to lseek.  Return 0 if we can't compute the value.
8517
8518 2003-03-03  Michael Koch  <konqueror@gmx.de>
8519
8520         * java/net/NetworkInterface.java: Merged with classpath.
8521
8522 2003-03-03  Tom Tromey  <tromey@redhat.com>
8523
8524         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8525         of bytecode.
8526         (handle_ret_insn): Fail if returning to jsr that appears at end of
8527         bytecode.
8528
8529 2003-03-03  Michael Koch  <konqueror@gmx.de>
8530
8531         * Makefile.am
8532         (ordinary_java_source_files):
8533         Added gnu/java/nio/MappedByteFileBuffer.java.
8534         (nat_source_files):
8535         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8536         * Makefile.in: Regenerated.
8537
8538 2003-03-03  Michael Koch  <konqueror@gmx.de>
8539
8540         * java/net/DatagramSocket.java
8541         (connect): Merged comment from classpath.
8542         (receive): Merged documentation from classpath.
8543         * java/net/Socket.java
8544         (setSoTimeout): Clarified documentation.
8545         * java/net/URL.java
8546         (getPath): Merged from classpath.
8547         (getUserInfo): Merged from classpath.
8548         (getQuery): Merged from classpath.
8549         * java/net/URLStreamHandler.java
8550         (toExternalForm): Merged from classpath.
8551
8552 2003-03-02  Mark Wielaard  <mark@klomp.org>
8553
8554         * java/util/Properties.java (load): Only skip line if the first
8555         character is a comment, whitespaces don't count.
8556
8557 2003-03-02  Michael Koch  <konqueror@gmx.de>
8558
8559         * java/net/NetPermission.java:
8560         Merged copyright with classpath.
8561
8562 2003-03-02  Michael Koch  <konqueror@gmx.de>
8563
8564         * java/lang/Package.java:
8565         Remerged from classpath.
8566
8567 2003-03-02  Michael Koch  <konqueror@gmx.de>
8568
8569         * java/net/HttpURLConnection.java
8570         (HTTP_SERVER_ERROR): Deprecated.
8571         * java/net/MulticastSocket.java
8572         (send): Replaced checkMulticast with appropriate checkPermission call,
8573         deprecated.
8574         * java/net/URLDecoder.java
8575         (decode): Deprecated.
8576         * java/net/URLEncoder.java
8577         (encode): Deprecated.
8578
8579 2003-03-02  Michael Koch  <konqueror@gmx.de>
8580
8581         * javax/swing/text/Caret.java
8582         (getMagicCaretPosition): Fixed typo in method name.
8583         * javax/swing/text/DefaultCaret.java
8584         (getMagicCaretPosition): Fixed typo in method name.
8585
8586 2003-03-02  Michael Koch  <konqueror@gmx.de>
8587
8588         * java/awt/List.java
8589         (setMultipleSelections): Deprecated.
8590         (delItem): Deprecated.
8591         * java/awt/MenuComponent.java
8592         (getPeer): Deprecated.
8593         * java/awt/ScrollPane.java
8594         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8595         * java/awt/dnd/MouseDragGestureRecognizer.java
8596         (mouseClicked): Added comment.
8597         (mousePressed): Added comment.
8598         (mouseReleased): Added comment.
8599         (mouseEntered): Added comment.
8600         (mouseExited): Added comment.
8601         (mouseDragged): Added comment.
8602         (mouseMoved): Added comment.
8603         * java/awt/event/KeyEvent.java
8604         (KeyEvent): Deprecated.
8605         (setModifiers): Deprecated.
8606         
8607 2003-03-02  Michael Koch  <konqueror@gmx.de>
8608
8609         * gnu/java/nio/FileChannelImpl.java
8610         (fd): Type FileDescriptor instead of int.
8611         (lengthInternal): Removed.
8612         (FileChannelImpl): Fixed arguments, check type of file object.
8613         (size): Made it native.
8614         (implPosition): New native method.
8615         (implTruncate): New native method.
8616         (position): Implemented.
8617         (truncate): Implemented.
8618         (nio_mmap_file): Changed arguments.
8619         (nio_munmap_file): Changed arguments.
8620         (nio_msync): Changed arguments.
8621         * gnu/java/nio/natFileChannelImpl.cc
8622         (lengthInternal): Removed.
8623         (size): New method.
8624         (implPosition): New method.
8625         (implTruncate): New method.
8626         (nio_mmap_file): Changed arguments.
8627         (nio_munmap_file): Changed arguments.
8628         (nio_msync): Changed arguments.
8629
8630 2003-03-02  Michael Koch  <konqueror@gmx.de>
8631
8632         * java/awt/dnd/DropTargetContext.java:
8633         Compile fix: Forgot to commit import.
8634         
8635 2003-03-02  Michael Koch  <konqueror@gmx.de>
8636
8637         * java/awt/Component.java,
8638         java/awt/ScrollPane.java:
8639         Fixed typos.
8640
8641 2003-03-02  Michael Koch  <konqueror@gmx.de>
8642
8643         * java/awt/dnd/DnDEventMulticaster.java: New file.
8644         * java/awt/dnd/DragSource.java
8645         (flavorMap): New member variable.
8646         (dragSourceListener): New member variable.
8647         (dragSourceMotionListener): New member variable.
8648         (getFlavorMap): Implemented.
8649         (createDragGestureRecognizer): Implemented.
8650         (addDragSourceListener): Implemented.
8651         (removeDragSourceListener): Implemented.
8652         (getDragSourceListeners): Implemented.
8653         (addDragSourceMotionListener): Implemented.
8654         (removeDragSourceMotionListener): Implemented.
8655         (getDragSourceMotionListeners): Implemented.
8656         (getListeners): Implemented.
8657         * java/awt/dnd/DragSourceContext.java
8658         (peer): New member variable.
8659         (cursor): New member variable.
8660         (transferable): New member variable.
8661         (trigger): New member variable.
8662         (dragSourceListener): New member variable.
8663         (image): New member variable.
8664         (offset): New member variable.
8665         (DragSourceContext): Implemented.
8666         (getDragSource): Implemented.
8667         (getComponent): Implemented.
8668         (getTrigger): Implemented.
8669         (getSourceActions): Implemented.
8670         (setCursor): Implemented.
8671         (getCursor): Implemented.
8672         (addDragSourceListener): Implemented.
8673         (removeDragSourceListener): Implemented.
8674         (getTransferable): Implemented.
8675         * java/awt/dnd/DropTarget.java
8676         (DropTargetAutoScroller.component): New member variable.
8677         (DropTargetAutoScroller.point): New member variable.
8678         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8679         (DropTargetAutoScroller.updateLocation): Implemented.
8680         (active): Renamed from isActive, defaults to true now.
8681         (component): New member variable.
8682         (flavorMap): New member variable.
8683         (actions): New member variable.
8684         (dropTargetContext): New member variable.
8685         (dropTargetListener): New member variable.
8686         (DropTarget): Implemented.
8687         (getComponent): Implemented.
8688         (setComponent): Implemented.
8689         (setDefaultActions): Implemented.
8690         (getDefaultActions): Implemented.
8691         (setActive): Use active instead of isActive.
8692         (isActive): Use active instead of isActive.
8693         (addDropTargetListener): Implemented.
8694         (removeDropTargetListener): Implemented.
8695         (getFlavorMap): Implemented.
8696         (setFlavorMap): Implemented.
8697         (getDropTargetContext): Implemented.
8698         (createDropTargetContext): Implemented.
8699         (createDropTargetAutoScroller): Implemented.
8700         * java/awt/dnd/DropTargetContext.java
8701         (TransferableProxy.getTransferDataFlavors): Implemented.
8702         (TransferableProxy.isDataFlavorSupported): Implemented.
8703         (TransferableProxy.getTransferData): Implemented.
8704         (dropTarget):  New member variable.
8705         (dtcp): New member variable.
8706         (DropTargetContext): New package private constructor.
8707         (getDropTarget): Implemented.
8708         (getComponent): Implemented.
8709         (addNotify): Implemented.
8710         (removeNotify): Implemented.
8711         (getCurrentDataFlavorsAsList): Implemented.
8712         (isDataFlavorSupported): Implemented.
8713         * java/awt/dnd/MouseDragGestureRecognizer.java
8714         (registerListeners): Implemented.
8715         (unregisterListeners): Implemented.
8716         * Makefile.am
8717         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8718         * Makefile.in: Regenerated.
8719
8720 2003-03-02  Michael Koch  <konqueror@gmx.de>
8721
8722         * java/awt/Component.java
8723         (eventTypeEnabled): New method.
8724         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8725         * java/awt/Container.java
8726         (changeSupport): New member variable.
8727         (addPropertyChangeListener): New methods.
8728         * java/awt/ContainerOrderFocusTraversalPolicy.java
8729         (ContainerOrderFocusTraversalPolicy): Added comment.
8730         (getComponentAfter): Throw exception, documentation added.
8731         (getComponentBefore): Throw exception, documentation added.
8732         (getFirstComponent): Throw exception, documentation added.
8733         (getLastComponent): Throw exception, documentation added.
8734         (getDefaultComponent): Throw exception, documentation added.
8735         * java/awt/EventQueue.java: Reindented.
8736         * java/awt/FocusTraversalPolicy.java:
8737         (FocusTraversalPolicy): Added comment.
8738         (getComponentAfter): Documentation added.
8739         (getComponentBefore): Documentation added.
8740         (getFirstComponent): Documentation added.
8741         (getLastComponent): Documentation added.
8742         (getDefaultComponent): Documentation added.
8743         (getInitialComponent): Documentation added.
8744         * java/awt/ScrollPane.java
8745         (wheelScrollingEnabled): New member variable.
8746         (ScrollPane): Initialize wheelScollingEnabled.
8747         (eventTypeEnabled): New method.
8748         (isWheelScrollingEnabled): New method.
8749         (setWheelScrollingEnabled): New method.
8750
8751 2003-03-02  Michael Koch  <konqueror@gmx.de>
8752
8753         * java/net/DatagramSocket.java
8754         (closed): New member variable.
8755         (close): Use closed variable.
8756         (getInetAddress): No need to call isConnected().
8757         (getPort): No need to call isConnected().
8758         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8759         (isClosed): Reimplemented.
8760         
8761 2003-03-02  Michael Koch  <konqueror@gmx.de>
8762
8763         * configure.in: Added check for memory mapping of files.
8764         * configure: Regenerated.
8765         * config.h.in: Regenerated.
8766
8767 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8768
8769         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8770         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8771
8772 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8773
8774         * java/io/File.java (normalizePath): Remove trailing separator
8775         on Windows only if path is not of the form "x:\".
8776
8777         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8778         (java::io::File::attr): Change formatting a bit and use
8779         WIN32_EPOCH_MILLIS instead of magic numbers.
8780         (java::io::File::isAbsolute): Path must have at least 3 
8781         characters for a UNC network path.
8782         (java::io::File::init_native): Define.
8783         (java::io::File::performCreate): Likewise.
8784         (java::io::File::performSetReadOnly): Likewise.
8785         (java::io::File::performSetLastModified): Likewise.
8786         (java::io::File::performListRoots): Likewise.
8787
8788 2003-03-01  Tom Tromey  <tromey@redhat.com>
8789
8790         * java/lang/natObject.cc: Don't include assert.h.
8791         (heavy_lock_obj_finalization_proc): Use JvAssert.
8792         (remove_all_heavy): Likewise.
8793         (_Jv_MonitorEnter): Likewise.
8794         (_Jv_MonitorExit): Likewise.
8795         (wait): Likewise.
8796
8797 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8798
8799         * java/io/File (getAbsolutePath): Prefix drive specifier on
8800         Windows for paths starting with a '\'.
8801         (toURL): Make URL more consistent with what Sun's JDK returns.
8802
8803         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8804         true only if the path is a UNC network path or it starts with a
8805         drive specifier.
8806
8807         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8808         Be prepared to handle either '/' or '\\' in the file path for
8809         Windows if using the "file" protocol.
8810         Canonicalise the file path if using a relative path in the given
8811         context and the "file" protocol.
8812
8813 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8814
8815         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8816         program array element passed to CreateProcess.
8817
8818 2003-03-01  Tom Tromey  <tromey@redhat.com>
8819
8820         * java/rmi/registry/RegistryHandler.java: Deprecate.
8821
8822 2003-03-01  Tom Tromey  <tromey@redhat.com>
8823
8824         * javax/accessibility/AccessibleEditableText.java,
8825         javax/accessibility/AccessibleHyperlink.java: New versions from
8826         Classpath.
8827
8828         * gnu/java/locale/LocaleInformation_af_ZA.java,
8829         gnu/java/locale/LocaleInformation_ar_AE.java,
8830         gnu/java/locale/LocaleInformation_ar_BH.java,
8831         gnu/java/locale/LocaleInformation_ar_DZ.java,
8832         gnu/java/locale/LocaleInformation_ar_EG.java,
8833         gnu/java/locale/LocaleInformation_ar_IN.java,
8834         gnu/java/locale/LocaleInformation_ar_IQ.java,
8835         gnu/java/locale/LocaleInformation_ar_JO.java,
8836         gnu/java/locale/LocaleInformation_ar_KW.java,
8837         gnu/java/locale/LocaleInformation_ar_LB.java,
8838         gnu/java/locale/LocaleInformation_ar_LY.java,
8839         gnu/java/locale/LocaleInformation_ar_MA.java,
8840         gnu/java/locale/LocaleInformation_ar_OM.java,
8841         gnu/java/locale/LocaleInformation_ar_QA.java,
8842         gnu/java/locale/LocaleInformation_ar_SD.java,
8843         gnu/java/locale/LocaleInformation_ar_SY.java,
8844         gnu/java/locale/LocaleInformation_ar_TN.java,
8845         gnu/java/locale/LocaleInformation_ar_YE.java,
8846         gnu/java/locale/LocaleInformation_be_BY.java,
8847         gnu/java/locale/LocaleInformation_bn_IN.java,
8848         gnu/java/locale/LocaleInformation_br_FR.java,
8849         gnu/java/locale/LocaleInformation_bs_BA.java,
8850         gnu/java/locale/LocaleInformation_ca_ES.java,
8851         gnu/java/locale/LocaleInformation_cs_CZ.java,
8852         gnu/java/locale/LocaleInformation_cy_GB.java,
8853         gnu/java/locale/LocaleInformation_da_DK.java,
8854         gnu/java/locale/LocaleInformation_de_AT.java,
8855         gnu/java/locale/LocaleInformation_de_BE.java,
8856         gnu/java/locale/LocaleInformation_de_CH.java,
8857         gnu/java/locale/LocaleInformation_de_DE.java,
8858         gnu/java/locale/LocaleInformation_de_LU.java,
8859         gnu/java/locale/LocaleInformation_el_GR.java,
8860         gnu/java/locale/LocaleInformation_en_AU.java,
8861         gnu/java/locale/LocaleInformation_en_BW.java,
8862         gnu/java/locale/LocaleInformation_en_CA.java,
8863         gnu/java/locale/LocaleInformation_en_DK.java,
8864         gnu/java/locale/LocaleInformation_en_GB.java,
8865         gnu/java/locale/LocaleInformation_en_HK.java,
8866         gnu/java/locale/LocaleInformation_en_IE.java,
8867         gnu/java/locale/LocaleInformation_en_IN.java,
8868         gnu/java/locale/LocaleInformation_en_NZ.java,
8869         gnu/java/locale/LocaleInformation_en_PH.java,
8870         gnu/java/locale/LocaleInformation_en_SG.java,
8871         gnu/java/locale/LocaleInformation_en_US.java,
8872         gnu/java/locale/LocaleInformation_en_ZA.java,
8873         gnu/java/locale/LocaleInformation_en_ZW.java,
8874         gnu/java/locale/LocaleInformation_es_AR.java,
8875         gnu/java/locale/LocaleInformation_es_BO.java,
8876         gnu/java/locale/LocaleInformation_es_CL.java,
8877         gnu/java/locale/LocaleInformation_es_CO.java,
8878         gnu/java/locale/LocaleInformation_es_CR.java,
8879         gnu/java/locale/LocaleInformation_es_DO.java,
8880         gnu/java/locale/LocaleInformation_es_EC.java,
8881         gnu/java/locale/LocaleInformation_es_ES.java,
8882         gnu/java/locale/LocaleInformation_es_GT.java,
8883         gnu/java/locale/LocaleInformation_es_HN.java,
8884         gnu/java/locale/LocaleInformation_es_MX.java,
8885         gnu/java/locale/LocaleInformation_es_NI.java,
8886         gnu/java/locale/LocaleInformation_es_PA.java,
8887         gnu/java/locale/LocaleInformation_es_PE.java,
8888         gnu/java/locale/LocaleInformation_es_PR.java,
8889         gnu/java/locale/LocaleInformation_es_PY.java,
8890         gnu/java/locale/LocaleInformation_es_SV.java,
8891         gnu/java/locale/LocaleInformation_es_US.java,
8892         gnu/java/locale/LocaleInformation_es_UY.java,
8893         gnu/java/locale/LocaleInformation_es_VE.java,
8894         gnu/java/locale/LocaleInformation_et_EE.java,
8895         gnu/java/locale/LocaleInformation_eu_ES.java,
8896         gnu/java/locale/LocaleInformation_fa_IR.java,
8897         gnu/java/locale/LocaleInformation_fi_FI.java,
8898         gnu/java/locale/LocaleInformation_fo_FO.java,
8899         gnu/java/locale/LocaleInformation_fr_BE.java,
8900         gnu/java/locale/LocaleInformation_fr_CA.java,
8901         gnu/java/locale/LocaleInformation_fr_CH.java,
8902         gnu/java/locale/LocaleInformation_fr_FR.java,
8903         gnu/java/locale/LocaleInformation_fr_LU.java,
8904         gnu/java/locale/LocaleInformation_ga_IE.java,
8905         gnu/java/locale/LocaleInformation_gd_GB.java,
8906         gnu/java/locale/LocaleInformation_gl_ES.java,
8907         gnu/java/locale/LocaleInformation_gv_GB.java,
8908         gnu/java/locale/LocaleInformation_he_IL.java,
8909         gnu/java/locale/LocaleInformation_hi_IN.java,
8910         gnu/java/locale/LocaleInformation_hr_HR.java,
8911         gnu/java/locale/LocaleInformation_hu_HU.java,
8912         gnu/java/locale/LocaleInformation_id_ID.java,
8913         gnu/java/locale/LocaleInformation_it_CH.java,
8914         gnu/java/locale/LocaleInformation_it_IT.java,
8915         gnu/java/locale/LocaleInformation_iw_IL.java,
8916         gnu/java/locale/LocaleInformation_ja_JP.java,
8917         gnu/java/locale/LocaleInformation_ka_GE.java,
8918         gnu/java/locale/LocaleInformation_kl_GL.java,
8919         gnu/java/locale/LocaleInformation_ko_KR.java,
8920         gnu/java/locale/LocaleInformation_kw_GB.java,
8921         gnu/java/locale/LocaleInformation_lt_LT.java,
8922         gnu/java/locale/LocaleInformation_lv_LV.java,
8923         gnu/java/locale/LocaleInformation_mi_NZ.java,
8924         gnu/java/locale/LocaleInformation_mk_MK.java,
8925         gnu/java/locale/LocaleInformation_mr_IN.java,
8926         gnu/java/locale/LocaleInformation_mt_MT.java,
8927         gnu/java/locale/LocaleInformation_nl_BE.java,
8928         gnu/java/locale/LocaleInformation_nl_NL.java,
8929         gnu/java/locale/LocaleInformation_nn_NO.java,
8930         gnu/java/locale/LocaleInformation_no_NO.java,
8931         gnu/java/locale/LocaleInformation_oc_FR.java,
8932         gnu/java/locale/LocaleInformation_pl_PL.java,
8933         gnu/java/locale/LocaleInformation_pt_BR.java,
8934         gnu/java/locale/LocaleInformation_pt_PT.java,
8935         gnu/java/locale/LocaleInformation_ro_RO.java,
8936         gnu/java/locale/LocaleInformation_ru_RU.java,
8937         gnu/java/locale/LocaleInformation_ru_UA.java,
8938         gnu/java/locale/LocaleInformation_se_NO.java,
8939         gnu/java/locale/LocaleInformation_sk_SK.java,
8940         gnu/java/locale/LocaleInformation_sl_SI.java,
8941         gnu/java/locale/LocaleInformation_sq_AL.java,
8942         gnu/java/locale/LocaleInformation_sr_YU.java,
8943         gnu/java/locale/LocaleInformation_sv_FI.java,
8944         gnu/java/locale/LocaleInformation_sv_SE.java,
8945         gnu/java/locale/LocaleInformation_ta_IN.java,
8946         gnu/java/locale/LocaleInformation_te_IN.java,
8947         gnu/java/locale/LocaleInformation_tg_TJ.java,
8948         gnu/java/locale/LocaleInformation_tl_PH.java,
8949         gnu/java/locale/LocaleInformation_tr_TR.java,
8950         gnu/java/locale/LocaleInformation_uk_UA.java,
8951         gnu/java/locale/LocaleInformation_ur_PK.java,
8952         gnu/java/locale/LocaleInformation_uz_UZ.java,
8953         gnu/java/locale/LocaleInformation_vi_VN.java,
8954         gnu/java/locale/LocaleInformation_yi_US.java,
8955         gnu/java/locale/LocaleInformation_zh_CN.java,
8956         gnu/java/locale/LocaleInformation_zh_HK.java,
8957         gnu/java/locale/LocaleInformation_zh_SG.java,
8958         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8959         info; from Classpath.
8960
8961         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8962         isPaintPending): New methods.
8963         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8964         setMaximizedBounds): New methods.
8965         (beginLayout, endLayout, isPaintPending): Likewise.
8966         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8967         (requestFocus): Likewise.
8968         (isObscured): Likewise.
8969         (canDetermineObscurity): Likewise.
8970         (coalescePaintEvent): Likewise.
8971         (updateCursorImmediately): Likewise.
8972         (createVolatileImage): Likewise.
8973         (handlesWheelScrolling): Likewise.
8974         (createBuffers): Likewise.
8975         (getBackBuffer): Likewise.
8976         (flip): Likewise.
8977         (destroyBuffers): Likewise.
8978
8979         * Makefile.in: Rebuilt.
8980         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8981         RobotPeer.java.
8982         * gnu/java/awt/GLightweightPeer.java,
8983         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8984         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8985         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8986         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8987         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8988         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8989         java/awt/dnd/peer/DragSourceContextPeer.java,
8990         java/awt/dnd/peer/DropTargetContextPeer.java,
8991         java/awt/peer/ButtonPeer.java,
8992         java/awt/peer/CheckboxMenuItemPeer.java,
8993         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8994         java/awt/peer/ComponentPeer.java,
8995         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8996         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8997         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8998         java/awt/peer/MenuBarPeer.java,
8999         java/awt/peer/MenuComponentPeer.java,
9000         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9001         java/awt/peer/PopupMenuPeer.java,
9002         java/awt/peer/ScrollPanePeer.java,
9003         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9004         java/awt/peer/TextComponentPeer.java,
9005         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9006         New versions from Classpath.
9007         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9008         * java/awt/peer/RobotPeer.java: Likewise.
9009
9010 2003-03-01  Mark Wielaard  <mark@klomp.org>
9011
9012         * java/io/ObjectInputStream.java: Reindent.
9013         * java/io/ObjectOutputStream.java: Likewise.
9014
9015 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9016
9017         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9018         jvalue for each argument. Simplify.
9019         * testsuite/libjava.jni/calls.c (docall),
9020         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9021         misalignment.
9022
9023 2003-02-28  Mark Wielaard  <mark@klomp.org>
9024
9025         * Makefile.am (nat_source_files): Remove
9026         java/io/natObjectOutputStream.cc.
9027         * Makefile.in: Regenerated.
9028         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9029         * java/io/ObjectStreamField.java (typename): New field.
9030         (ObjectStreamField(String, Class)): Initialize new field.
9031         (ObjectStreamField(String, String)): New Constructor.
9032         (getTypeCode): Use new field.
9033         (getTypeString): Use new field.
9034         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9035         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9036         Handle reading of Proxy classes. Never drain(), just write
9037         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9038         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9039         (flush): Call flush(), not just drain().
9040         (writeBoolean): Always use blockDataOutput.
9041         (writeByte): Likewise.
9042         (writeShort): Likewise.
9043         (writeChar): Likewise.
9044         (writeInt): Likewise.
9045         (writeLong): Likewise.
9046         (writeFloat): Likewise.
9047         (writeDouble): Likewise.
9048         (writeBytes): Likewise.
9049         (putfield (put(String,Object))): Throw IllegalArgumentException if
9050         field cannot be found.
9051         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9052         (writeArraySizeAndElements): Write byte[] in one go.
9053         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9054         set BlockDataMode to false.
9055         (annotateProxyClass): New method.
9056         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9057         (getField): No longer native.
9058         (getMethod): Likewise.
9059         (setBlockDataMode): Always drain() on switch, return old mode.
9060         (static): New static code block.
9061         * java/io/natObjectOutputStream.cc: Removed.
9062         * java/io/ObjectInputStream.java (getField): No longer native.
9063         (getMethod): Likewise.
9064         (readObject): Remember and reset old BlockDataMode. Track whether
9065         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9066         TC_LONGSTRING.
9067         (defaultReadObject): Set BlockDataMode to false during readFields.
9068         (resolveClass): Create new SecurityManager if necessary.
9069         Use Class.forName() if null ClassLoader found.
9070         (read(byte[],int,int): Copy remaining bytes to data before calling
9071         readNextBlock().
9072         (readFields): Set and reset BlockDataMode on call_read_method.
9073         Catch NoSuchFieldErrors.
9074         (setBlockDataMode): Return old mode.
9075         (static): New static code block.
9076         * java/io/natObjectInputStream.cc (getField): Removed.
9077         (getMethod): Likewise.
9078
9079 2003-02-27  Michael Koch  <konqueror@gmx.de>
9080
9081         * java/beans/Beans.java,
9082         java/beans/FeatureDescriptor.java
9083         java/beans/PropertyEditorManager.java:
9084         Reformated to GNU style.
9085
9086 2003-02-25  Michael Koch  <konqueror@gmx.de>
9087
9088         * gnu/java/nio/MappedByteFileBuffer.java,
9089         gnu/java/nio/natMappedByteFileBuffer.cc:
9090         New files, both are not compiled yet to get not noncompiling CVS.
9091
9092 2003-02-24  Tom Tromey  <tromey@redhat.com>
9093
9094         * java/util/prefs/AbstractPreferences.java (isUserNode):
9095         Implemented.
9096
9097 2003-02-24  Tom Tromey  <tromey@redhat.com>
9098
9099         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9100         Deprecate.
9101         * java/lang/Thread.java (resume): Deprecate.
9102         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9103         in @deprecated.
9104
9105 2003-02-23  Tom Tromey  <tromey@redhat.com>
9106
9107         * Makefile.in: Rebuilt.
9108         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9109
9110 2003-02-23  Tom Tromey  <tromey@redhat.com>
9111
9112         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9113         libraries): Removed.
9114         (add_library): Removed.
9115         (_load): Don't call add_library.
9116         (loadLibraryInternal): Likewise.
9117         (init): Likewise.
9118         (lookup_data): New struct.
9119         (find_symbol): New function.
9120         (_Jv_FindSymbolInExecutable): Use it.
9121
9122 2002-02-21  Anthony Green  <green@redhat.com>
9123
9124         * java/lang/Thread.java (Thread): New constructor taking stack
9125         size parameter (ignored for now).
9126         * Many methods: Merged GNU Classpath documentation.
9127
9128         * java/lang/Class.java (finalize): throws a Throwable.
9129
9130 2003-02-21  Mark Wielaard  <mark@klomp.org>
9131
9132         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9133         argument is null.
9134
9135 2003-02-21  Mark Wielaard  <mark@klomp.org>
9136
9137         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9138         then 65535 chars throw IllegalArgumentException.
9139
9140 2003-02-21  Mark Wielaard  <mark@klomp.org>
9141
9142         * java/util/zip/ZipFile.java (finalize): New method.
9143
9144 2003-02-21  Michael Koch  <konqueror@gmx.de>
9145
9146         * gnu/java/nio/natSocketChannelImpl.cc:
9147         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9148         <cato@df.lth.se> for pointing to it.
9149
9150 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9151
9152         * java/math/BigInteger.java (euclidInv): Take result array as an
9153         argument.  Updated all callers.
9154         (modInverse): Removed unused variables.
9155
9156 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9157
9158         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9159         config.status.
9160         * configure: Rebuilt.
9161
9162 2003-02-19  Michael Koch  <konqueror@gmx.de>
9163
9164         * gnu/java/nio/natSocketChannelImpl.cc:
9165         Added support for platforms without network support.
9166
9167 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9168
9169         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9170         after config.h.  Use <> for consistency.
9171         * java/lang/natObject.cc: Likewise.
9172         * java/lang/natRuntime.cc: Likewise.
9173         * java/lang/natSystem.cc: Likewise.
9174         * java/util/natTimeZone.cc: Likewise.
9175         * win32.cc: Likewise.
9176         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9177         listen, write, read): Undef to avoid interference from OS macros.
9178
9179 2003-02-19  Michael Koch  <konqueror@gmx.de>
9180
9181         * gnu/java/nio/ByteBufferImpl.java
9182         (ByteBufferImpl): Renamed two variables.
9183         * gnu/java/nio/CharBufferImpl.java
9184         (CharBufferImpl): Renamed two variables.
9185         * gnu/java/nio/DoubleBufferImpl.java
9186         (DoubleBufferImpl): Renamed two variables.
9187         * gnu/java/nio/FloatBufferImpl.java
9188         (FloatBufferImpl): Renamed two variables.
9189         * gnu/java/nio/IntBufferImpl.java
9190         (IntBufferImpl): Renamed two variables.
9191         * gnu/java/nio/LongBufferImpl.java
9192         (LongBufferImpl): Renamed two variables.
9193         * gnu/java/nio/ShortBufferImpl.java
9194         (ShortBufferImpl): Renamed two variables.
9195         * java/nio/CharBuffer.java
9196         (wrap): Fixed arguments to CharBufferImpl constructor.
9197         (hasArray): Only not read-only buffers have backing arrays.
9198         (length): Documentation added.
9199         (subSequence): Documentation added.
9200         * java/nio/DoubleBuffer.java
9201         (hasArray): Only not read-only buffers have backing arrays.
9202         * java/nio/FloatBuffer.java
9203         (hasArray): Only not read-only buffers have backing arrays.
9204         * java/nio/IntBuffer.java
9205         (hasArray): Only not read-only buffers have backing arrays.
9206         * java/nio/LongBuffer.java
9207         (hasArray): Only not read-only buffers have backing arrays.
9208         * java/nio/ShortBuffer.java
9209         (hasArray): Only not read-only buffers have backing arrays.
9210         
9211 2003-02-19  Michael Koch  <konqueror@gmx.de>
9212
9213         * javax/accessibility/AccessibleContext.java
9214         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9215
9216 2003-02-19  Michael Koch  <konqueror@gmx.de>
9217
9218         * java/awt/ScrollPaneAdjustable.java: Reformated.
9219
9220 2003-02-19  Michael Koch <konqueror@gmx.de>
9221
9222         * gnu/awt/j2d/Graphics2DImpl.java
9223         (getFontRenderContext): New method.
9224         (drawGlyphVector): New method.
9225         * java/awt/Graphics2D.java
9226         (getFontRenderContext): New abstract method.
9227         (drawGlyphVector): New abstract method.
9228         
9229 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9230
9231         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9232         if necessary.
9233         
9234         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9235         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9236         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9237         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9238         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9239         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9240         (setFont, gtkSetFont): add.
9241         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9242         Propagate font to peer.  (setFont): add FIXME comment.
9243
9244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9245         (gtkTextGetSize): fix height, width computation.
9246
9247         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9248         Make X font name a bit less bogus.
9249
9250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9251         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9252
9253         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9254         (processAdjustmentEvent): Adjust value.
9255
9256         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9257         logic errors.
9258
9259         * java/awt/Component.java (setVisible, show, hide): Call show and
9260         hide methods in subclasses.
9261         (getPreferredSize): don't set prefSize before we have peer.
9262
9263         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9264         Guess (0,0) if we don't have peer.
9265
9266
9267 2003-02-18  Michael Koch  <konqueror@gmx.de>
9268
9269         * java/nio/channels/FileChannel.java
9270         (toString): New implementation, added documentation.
9271         (map): Added exception documentation.
9272         (size): Added exception documentation.
9273         (write): New methods, documentation work.
9274         (read): New methods, documentation work.
9275         (implCloseChannel): Rewrote exception documentation.
9276         (force): Throws IOException, added documentation.
9277         (lock): New methods.
9278         (tryLock): New methods.
9279         (position): New methods.
9280         (transferTo): New method.
9281         (transferFrom): New method.
9282         (truncate): New method.
9283         * java/nio/channels/spi/SelectorProvider.java
9284         (provider): Implemented.
9285         * Makefile.am
9286         (ordinary_java_source_files): Added the following files:
9287         gnu/java/nio/DatagramChannelImpl.java
9288         gnu/java/nio/FileChannelImpl.java
9289         gnu/java/nio/PipeImpl.java
9290         gnu/java/nio/SelectionKeyImpl.java
9291         gnu/java/nio/SelectorImpl.java
9292         gnu/java/nio/SelectorProviderImpl.java
9293         gnu/java/nio/ServerSocketChannelImpl.java
9294         gnu/java/nio/SocketChannelImpl.java
9295         java/nio/channels/FileLock.java
9296         (nat_java_source_files): Added the following files:
9297         gnu/java/nio/natFileChannelImpl.cc
9298         gnu/java/nio/natSelectorImpl.cc
9299         gnu/java/nio/natSocketChannelImpl.cc
9300         * Makefile.in: Regenerated.
9301
9302 2003-02-17  Tom Tromey  <tromey@redhat.com>
9303
9304         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9305         * java/awt/image/ImageFilter.java: Likewise.
9306
9307 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9308
9309         * java/math/BigInteger.java (euclidInv): Return array of
9310         `BigInteger's.  Changed all callers.
9311
9312 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9313
9314         * java/util/Properties.java (store): Move the code formerly in
9315         list(), into this method.
9316         (list (PrintStream)): Just call list (PrintWriter) with a 
9317         PrintWriter object constructed from the given PrintStream object.
9318         (list (PrintWriter)): Emulate the output of Properties.list()
9319         as found in JDK 1.3/1.4.
9320
9321 2003-02-17  Michael Koch  <konqueror@gmx.de>
9322
9323         * java/net/DatagramSocket.java
9324         (connect): Merged with classpath.
9325         (disconnect): Merged documentation with classpath.
9326         (receice): Merged documentation with classpath.
9327         (send): Merged documentation with classpath.
9328         
9329 2003-02-17  Michael Koch  <konqueror@gmx.de>
9330
9331         * java/awt/dnd/DragSourceContext.java
9332         (addDragSourceListener): Added documentation.
9333         * java/awt/dnd/DragSourceDragEvent.java
9334         (serialVersionUID): New member variable.
9335         (getDropAction): Reformated.
9336         * java/awt/dnd/DragSourceDropEvent.java
9337         (serialVersionUID): New member variable.
9338         (dropSuccess): Renamed from success for serialization issues.
9339         * java/awt/dnd/DragSourceEvent.java
9340         (serialVersionUID): New member variable.
9341         * java/awt/dnd/DropTarget.java
9342         (serialVersionUID): New member variable.
9343         (DropTarget): Implemented, documentation reworked.
9344         (setComponent): Documentation added.
9345         (getComponent): Documentation added.
9346         (setDefaultActions): Documentation added.
9347         (getDefaultActions): Documentation added.
9348         (addDropTargetListener): Documentation added.
9349         * java/awt/dnd/DropTargetContext.java
9350         (DropTargetContext): Documentation added.
9351         (TransferableProxy.TransferableProxy): New method.
9352         (dropComplete): Fixed documentation.
9353         (getTransferable): Fixed documentation.
9354         (createTransferableProxy): Implemented.
9355         * java/awt/dnd/DropTargetDragEvent.java
9356         (DropTargetDragEvent): Documentation added.
9357         (serialVersionUID): New member variable.
9358         (DropTargetDragEvent): Throw exceptions, documentation added.
9359         (acceptDrag): Implemented.
9360         (getCurrentDataFlavors): Implemented.3yy
9361         (getCurrentDataFlavorsAsList): Implemented.
9362         (isDataFlavorSupported): Implemented.
9363         (rejectDrag): Implemented.
9364         * java/awt/dnd/DropTargetDropEvent.java
9365         (DropTargetDropEvent): Documentation added.
9366         (serialVersionUID): New member variable.
9367         (actions): Renamed from srcActions for serialization issues.
9368         (isLocalTx): Renamed from isLocalTx for serialization issues.
9369         (DropTargetDropEvent): New implementation, throw exceptions,
9370         documentation added.
9371         (getCurrentDataFlavors): Implemented.
9372         (getCurrentDataFlavorsAsList): Implemented.
9373         (isDataFlavorSupported): Implemented.
9374         (getSourceActions): Implemented.
9375         (getDropAction): Implemented.
9376         (getTransferable): Implemented.
9377         (acceptDrop): Implemented.
9378         (rejectDrop): Implemented.
9379         * java/awt/dnd/DropTargetListener.java
9380         (drop): Fixed documentation.
9381         * java/awt/dnd/MouseDragGestureRecognizer.java
9382         (MouseDragGestureRecognizer): Documentation added.
9383
9384 2003-02-17  Michael Koch  <konqueror@gmx.de>
9385
9386         * java/awt/font/FontRenderContext.java,
9387         java/awt/font/ShapeGraphicAttribute.java,
9388         java/awt/font/MultipleMaster.java,
9389         java/awt/font/TransformAttribute.java,
9390         java/awt/font/GlyphJustificationInfo.java,
9391         java/awt/font/LineBreakMeasurer.java,
9392         java/awt/font/TextMeasurer.java,
9393         java/awt/font/TextLayout.java,
9394         java/awt/font/LineMetrics.java,
9395         java/awt/font/TextAttribute.java,
9396         java/awt/font/GlyphMetrics.java,
9397         java/awt/font/OpenType.java,
9398         java/awt/font/GlyphVector.java,
9399         java/awt/font/GraphicAttribute.java,
9400         java/awt/font/ImageGraphicAttribute.java,
9401         java/awt/font/NumericShaper.java: New files.
9402         * Makefile.am
9403         (awt_java_source_files): Added the following files:
9404         java/awt/font/FontRenderContext.java
9405         java/awt/font/ShapeGraphicAttribute.java
9406         java/awt/font/MultipleMaster.java
9407         java/awt/font/TransformAttribute.java
9408         java/awt/font/GlyphJustificationInfo.java
9409         java/awt/font/LineBreakMeasurer.java
9410         java/awt/font/TextMeasurer.java
9411         java/awt/font/TextLayout.java
9412         java/awt/font/LineMetrics.java
9413         java/awt/font/TextAttribute.java
9414         java/awt/font/GlyphMetrics.java
9415         java/awt/font/OpenType.java
9416         java/awt/font/GlyphVector.java
9417         java/awt/font/GraphicAttribute.java
9418         java/awt/font/ImageGraphicAttribute.java
9419         java/awt/font/NumericShaper.java
9420         * Makefile.in: Regenerated.
9421
9422 2003-02-17  Michael Koch  <konqueror@gmx.de>
9423
9424         * java/awt/print/Paper.java
9425         (Paper): Implements Cloneable.
9426         * java/awt/print/PrinterJob.java
9427         (setJobName): Return value must be void.
9428         (print): Throws PrinterException.
9429         
9430 2003-02-16  Tom Tromey  <tromey@redhat.com>
9431
9432         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9433         variable.
9434
9435 2003-02-15  Michael Koch  <konqueror@gmx.de>
9436
9437         * java/awt/datatransfer/DataFlavor.java
9438         (isRepresentationClassByteBuffer): Removed try-catch block.
9439         (isRepresentationClassCharBuffer): Removed try-catch block.
9440         (isRepresentationClassReader): Removed try-catch block.
9441
9442 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9443
9444         * java/nio/charset/Charset.java
9445         (isRegistered): Fixed method args and implementation.
9446         * java/nio/charset/CharsetEncoder.java
9447         (unmappableCharacterAction): New method.
9448
9449 2003-02-15  Michael Koch  <konqueror@gmx.de>
9450
9451         * java/awt/CheckboxMenuItem.java
9452         (CheckBoxMenuItem): Dont implement Serializable.
9453         (getListeners): New method,
9454         (getItemListeners): New method.
9455         * java/awt/Choice.java
9456         (getListeners): New method,
9457         (getItemListeners): New method.
9458         * java/awt/Container.java
9459         (getListeners): Added exception documentation.
9460         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9461         (getFocusTraversalKeys): Added documentation.
9462         (areFocusTraversalKeysSet): Added documentation.
9463         (applyComponentOrientation): Added documentation.
9464         * java/awt/ContainerOrderFocusTraversalPolicy.java
9465         (implicitDownCycleTraversal): Renamed from downCycle for
9466         serialization.
9467         (ContainerOrderFocusTraversalPolicy): Added documentation.
9468         (accept): Reformated.
9469         * java/awt/Dialog.java
9470         (Dialog): Dont implement Serializable.
9471         (Dialog): Added documentation.
9472         * java/awt/Font.java
9473         (Font): Dont use absolute class name.
9474         * java/awt/Frame.java
9475         (Frame): Font implement Serializable.
9476         * java/awt/List.java
9477         (getListeners): New method,
9478         (getActionListeners): New method.       
9479         (getItemListeners): New method.
9480         * java/awt/Menu.java
9481         (countItems): New deprecated method.
9482         * java/awt/Scrollbar.java
9483         (getListeners): New method,
9484         (getAdjustmentListeners): New method,
9485         * java/awt/TextComponent.java
9486         (getListeners): New method,
9487         (getTextListeners): New method,
9488         * java/awt/TextField.java
9489         (getListeners): New method,
9490         (getActionListeners): New method.       
9491         * java/awt/Window.java
9492         (windowFocusListener): New member variable.
9493         (windowStateListener): New member variable.
9494         (getWindowFocusListeners): New method.
9495         (getWindowStateListeners): New method.
9496         (addWindowFocusListener): New method.
9497         (addWindowStateListener): New method.
9498         (removeWindowFocusListener): New method.
9499         (removeWindowStateListener): New method.
9500         * java/awt/datatransfer/DataFlavor.java
9501         (isRepresentationClassByteBuffer): New method.
9502         (isRepresentationClassCharBuffer): New method.
9503         (isRepresentationClassReader): New method.
9504
9505 2003-02-14  Mark Wielaard  <mark@klomp.org>
9506
9507         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9508         zero when there is an exponent and the significant is zero.
9509         (divide): Always set scale to newScale even in special ZERO case.
9510
9511 2003-02-14  Tom Tromey  <tromey@redhat.com>
9512
9513         * java/lang/System.java (properties): Use Properties.clone.
9514         (setProperties): Likewise.
9515
9516 2003-02-14  Michael Koch  <konqueror@gmx.de>
9517
9518         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9519         * gnu/java/nio/ServerSocketChannelImpl.java
9520         (SocketAccept): Removed.
9521         (accept): Commented out use of SocketAccept.
9522
9523 2003-02-13  Tom Tromey  <tromey@redhat.com>
9524
9525         * verify.cc (state::seen_subrs): New field.
9526         (state::state): Initialize it.
9527         (state::clean_subrs): New method.
9528         (state::~state): Call it.
9529         (state::copy): Copy subroutine list.
9530         (state::add_subr): New method.
9531         (state::merge): Only register a change if the current subroutine
9532         hasn't yet been noted.
9533
9534 2003-02-13  Mark Wielaard  <mark@klomp.org>
9535
9536         * java/io/InputStreamReader.java (getEncoding): Return null when
9537         closed.
9538         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9539
9540 2003-02-13  Mark Wielaard  <mark@klomp.org>
9541  
9542         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9543         is zero.
9544
9545 2003-02-13  Mark Wielaard  <mark@klomp.org>
9546
9547         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9548         next byte cannot be buffered.
9549
9550 2003-02-13  Michael Koch  <konqueror@gmx.de>
9551  
9552         * java/awt/Label.java
9553         (Label): Don't implement Serializable directly.
9554         (addNotify): Fixed typo in documentation.
9555         * java/awt/List.java
9556         (List): Don't implement Serializable directly.
9557         * java/awt/PopupMenu.java
9558         (PopupMenu): Don't implement Serializable directly.
9559         * java/awt/ScrollPane.java
9560         (ScrollPane): Don't implement Serializable directly.
9561         * java/awt/Scrollbar.java
9562         (Scrollbar): Don't implement Serializable directly.
9563         * java/awt/TextArea.java
9564         (preferredSize): Fixed method arguments.
9565         * java/awt/TextField.java
9566         (TextField): Don't implement Serializable directly.
9567         * java/awt/color/ICC_ColorSpace.java
9568         (fromCIOXYZ): Documentation added.
9569         (getMinValue): Documentation added.
9570         (getMaxValue): Documentation added.
9571         * java/awt/datatransfer/DataFlavor.java
9572         (isMimeTypeEqual): May not be final.
9573         (clone): Throws CloneNotSupportedException.
9574         (getReaderForText): Don't throws UnsupportedEncodingException.
9575
9576 2003-02-13  Michael Koch  <konqueror@gmx.de>
9577  
9578         * gnu/java/awt/peer/gtk/GdkGraphics.java
9579         (drawString): New stubbed method.
9580         * java/awt/Graphics.java
9581         (drawString): New method.
9582
9583 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9584
9585         PR libgcj/9271:
9586         * java/security/SecureRandom.java (next): Avoid bias in results.
9587
9588 2003-02-13  Michael  <konqueror@gmx.de>
9589
9590         * gnu/java/nio/FileChannelImpl.java
9591         (lengthInternal): Must be native.
9592         (size): Check if channel is already closed.
9593         (implCloseChannel): Reformated.
9594         (read): w was unused, removed it.
9595         (read): Removed.
9596         (read): New method.
9597         (write): New method.
9598         (map): Check arguments.
9599         (force): Throws IOException, check if channel is closed.
9600         (transferTo): New method.
9601         (transferFrom): New method.
9602         (lock): New method.
9603         (tryLock): New method.
9604         (position): New method.
9605         (truncate): New method.
9606         (nio_mmap_file): Uncommented.
9607         (nio_munmap_file): Uncommented.
9608         (nio_msync): Uncommented.
9609         * gnu/java/nio/natFileChannelImpl.cc: New file.
9610         
9611 2003-02-13  Michael Koch  <konqueror@gmx.de>
9612
9613         * java/nio/ByteBuffer.java
9614         (endian): New member variable.
9615         (get): New methods.
9616         (equals): New method.
9617         (compareTo): New method.
9618         (order): New methods.
9619         (compact): New method.
9620         (isDirect): New method.
9621         (slice): New method.
9622         (duplicate): New method.
9623         (asReadOnlyBuffer): New method.
9624         (asCharBuffer): New method.
9625         (asDoubleBuffer): New method.
9626         (asFloatBuffer): New method.
9627         (asIntBuffer): New method.
9628         (asLongBuffer): New method.
9629         (asShortBuffer): New method.
9630         (get*): New methods.
9631         (put*): New methods.
9632         (toString): New method.
9633         * java/nio/CharBuffer.java
9634         (CharBuffer): Implement Comparable instead of Cloneable.
9635         (get): May not be final.
9636         (put): May not be final.
9637         
9638 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9639
9640         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9641         lastIndexOf( ) instead of indexOf( ) to find the colon before
9642         the line number, because Win32 file names might contain a 
9643         drive letter and a colon at the start of an absolute path.
9644
9645 2003-02-13  Michael Koch  <konqueror@gmx.de>
9646
9647         * gnu/java/nio/natSocketChannelImpl.cc
9648         (SocketConnect): This is not implemented yet.
9649         (SocketBind): This is not implemented yet.
9650
9651 2003-02-13  Michael Koch  <konqueror@gmx.de>
9652
9653         * gnu/java/nio/natByteBufferImpl.cc,
9654         gnu/java/nio/natCharBufferImpl.cc,
9655         gnu/java/nio/natDoubleBufferImpl.cc,
9656         gnu/java/nio/natFloatBufferImpl.cc,
9657         gnu/java/nio/natIntBufferImpl.cc,
9658         gnu/java/nio/natLongBufferImpl.cc,
9659         gnu/java/nio/natShortBufferImpl.cc:
9660         Added copyright and license.
9661         * java/nio/DoubleBuffer.java,
9662         java/nio/FloatBuffer.java,
9663         java/nio/IntBuffer.java,
9664         java/nio/LongBuffer.java,
9665         java/nio/ShortBuffer.java
9666         (array): Throw exceptions.
9667         (arrayOffset): Throw exceptions.
9668
9669 2003-02-13  Michael Koch  <konqueror@gmx.de>
9670  
9671         * gnu/java/util/prefs/FileBasedFactory.java,
9672         gnu/java/util/prefs/MemmoryBasedFactory.java,
9673         gnu/java/util/prefs/MemoryBasedPreferences.java,
9674         gnu/java/util/prefs/NodeReader.java,
9675         gnu/java/util/prefs/NodeWriter.java,
9676         java/util/prefs/AbstractPreferences.java,
9677         java/util/prefs/BackingStoreException.java,
9678         java/util/prefs/InvalidPreferencesFormatException.java,
9679         java/util/prefs/NodeChangeEvent.java,
9680         java/util/prefs/NodeChangeListener.java,
9681         java/util/prefs/PreferenceChangeEvent.java,
9682         java/util/prefs/PreferenceChangeListener.java,
9683         java/util/prefs/Preferences.java,
9684         java/util/prefs/PreferencesFactory.java:
9685         New files, all merged from classpath.
9686         * Makefile.am
9687         (ordinary_java_source_files): Added the following files:
9688         gnu/java/util/prefs/FileBasedFactory.java,
9689         gnu/java/util/prefs/MemmoryBasedFactory.java,
9690         gnu/java/util/prefs/MemoryBasedPreferences.java,
9691         gnu/java/util/prefs/NodeReader.java,
9692         gnu/java/util/prefs/NodeWriter.java,
9693         (core_java_source_files): Added the following files:
9694         java/util/prefs/AbstractPreferences.java,
9695         java/util/prefs/BackingStoreException.java,
9696         java/util/prefs/InvalidPreferencesFormatException.java,
9697         java/util/prefs/NodeChangeEvent.java,
9698         java/util/prefs/NodeChangeListener.java,
9699         java/util/prefs/PreferenceChangeEvent.java,
9700         java/util/prefs/PreferenceChangeListener.java,
9701         java/util/prefs/Preferences.java,
9702         java/util/prefs/PreferencesFactory.java
9703         * Makefile.in: Regenerated.
9704  
9705 2003-02-13  Michael Koch  <konqueror@gmx.de>
9706
9707         * java/net/NetPermission.java
9708         (NetPermission): Make doucmentation match the method declaration.
9709         * java/net/NetworkInterface.java
9710         (equals): Reformated for GNU coding style.
9711         * java/net/ServerSocket.java: Merged with classpath.
9712         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9713         * java/net/SocketImpl.java
9714         (localPort): Merged with classpath (initialize with -1).
9715         * java/net/SocketPermission.java: Merged with classpath (reindented).
9716         * java/net/URLDecoder.java: Merged with classpath (reindented).
9717
9718 2003-02-13  Michael Koch  <konqueror@gmx.de>
9719
9720         * java/awt/GridBagConstraints.java
9721         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9722         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9723         * java/awt/KeyboardFocusManager.java
9724         (setGlobalCurrentFocusCycleRoot): Must be public.
9725         * java/awt/MenuComponent.java
9726         (MenuComponent): Must be public.
9727         * java/awt/Toolkit.java:
9728         Added some empty lines to make documentation more readable.
9729         (getFontPeer): Added @deprecated.
9730         (getColorModel): Added exception documentation.
9731         (getProperty): Fixed documentation.
9732  
9733 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9734
9735         * configure.host (alpha*-*): Default to -mieee.
9736         * configure.in (IEEESPEC): New.
9737         * libgcj.spec.in (jc1): Add IEEESPEC.
9738         * configure: Rebuild.
9739
9740 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9741
9742         * include/win32.h: Include ws2tcpip.h instead of
9743         winsock.h to obtain definition of the socklen_t type.
9744         Remove IP_TOS definition - not needed with ws2tcpip.h
9745         (_Jv_connect): Correct slight formatting error.
9746
9747 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9748
9749         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9750         size of the arguments for a JNI function. For Win32,
9751         modify to search for all forms of possible exported
9752         names of an stdcall JNI function.
9753         (_Jv_JNIMethod::call): Modify to calculate the size
9754         of the arguments passed to a JNI function and pass
9755         it to _Jv_LookupJNIMethod.
9756
9757 2003-02-12  Michael Koch  <konqueror@gmx.de>
9758
9759         * java/nio/channels/Channels.java: New file.
9760         * Makefile.am
9761         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9762         * Makefile.in: Regenerated.
9763
9764 2003-02-12  Michael Koch  <konqueror@gmx.de>
9765
9766         * java/nio/ByteBuffer.java
9767         (allocate): Implemented.
9768         (wrap): Implemented.
9769         * java/nio/CharBuffer.java:
9770         Some documentation added and reworked.
9771         (endian): Removed.
9772         (allocate): Implemented.
9773         (wrap): Implemented.
9774         (array): Throw exceptions.
9775         (arrayOffset): Throw exceptions.
9776         (toString): Implemented.
9777         (length): Implemented.
9778         (put): Implemented.
9779         (charAt): Implemented.
9780
9781 2003-02-11  John Leuner  <jewel@debian.org>
9782
9783         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9784         reads from end of file.
9785
9786 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9787
9788         * java/io/natFileDescriptorWin32.cc 
9789         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9790         returns with Win32 error code ERROR_BROKEN_PIPE.
9791
9792 2003-02-11  Michael Koch  <konqueror@gmx.de>
9793
9794         * Makefile.in
9795         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9796
9797 2003-02-11  Michael Koch  <konqueror@gmx.de>
9798
9799         * gnu/java/nio/ByteBufferImpl.java:
9800         Reformated and removed some code.
9801         (backing_buffer): Removed.      
9802         (array_offset): Removed.
9803         (ro): Renamed to readOnly.
9804         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9805         * gnu/java/nio/CharBufferImpl.java:
9806         Reformated and removed some code.
9807         (array_offset): Removed.
9808         (ro): Renamed to readOnly.
9809         (CharBufferImpl): Use parent constructor, initialize readOnly.
9810         (inc_pos): Removed.
9811         (order): New method.
9812         * gnu/java/nio/DoubleBufferImpl.java:
9813         Reformated and removed some code.
9814         (array_offset): Removed.
9815         (ro): Renamed to readOnly.
9816         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9817         (inc_pos): Removed.
9818         (order): New method.
9819         * gnu/java/nio/FloatBufferImpl.java:
9820         Reformated and removed some code.
9821         (array_offset): Removed.
9822         (ro): Renamed to readOnly.
9823         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9824         (inc_pos): Removed.
9825         (order): New method.
9826         * gnu/java/nio/IntBufferImpl.java:
9827         Reformated and removed some code.
9828         (array_offset): Removed.
9829         (ro): Renamed to readOnly.
9830         (IntBufferImpl): Use parent constructor, initialize readOnly.
9831         (inc_pos): Removed.
9832         (order): New method.
9833         * gnu/java/nio/LongBufferImpl.java:
9834         Reformated and removed some code.
9835         (array_offset): Removed.
9836         (ro): Renamed to readOnly.
9837         (LongBufferImpl): Use parent constructor, initialize readOnly.
9838         (inc_pos): Removed.
9839         (order): New method.
9840         * gnu/java/nio/ShortBufferImpl.java:
9841         Reformated and removed some code.
9842         (array_offset): Removed.
9843         (ro): Renamed to readOnly.
9844         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9845         (inc_pos): Removed.
9846         (order): New method.
9847         * Makefile.am
9848         (ordinary_java_source_files): Added the following files:
9849         gnu/java/nio/ByteBufferImpl.java
9850         gnu/java/nio/CharBufferImpl.java
9851         gnu/java/nio/DoubleBufferImpl.java
9852         gnu/java/nio/FloatBufferImpl.java
9853         gnu/java/nio/IntBufferImpl.java
9854         gnu/java/nio/LongBufferImpl.java
9855         gnu/java/nio/ShortBufferImpl.java
9856         java/nio/DoubleBuffer.java
9857         java/nio/FloatBuffer.java
9858         java/nio/IntBuffer.java
9859         java/nio/LongBuffer.java
9860         java/nio/ShortBuffer.java
9861         (nat_source_files): Added the following files:
9862         gnu/java/nio/natByteBufferImpl.cc
9863         gnu/java/nio/natCharBufferImpl.cc
9864         gnu/java/nio/natDoubleBufferImpl.cc
9865         gnu/java/nio/natFloatBufferImpl.cc
9866         gnu/java/nio/natIntBufferImpl.cc
9867         gnu/java/nio/natLongBufferImpl.cc
9868         gnu/java/nio/natShortBufferImpl.cc
9869         * Makefile.in: Regenerated.
9870
9871 2003-02-11  Michael Koch  <konqueror@gmx.de>
9872
9873         * gnu/java/nio/natCharBufferImpl.cc
9874         (nio_cast): Removed.
9875         (nio_put_*): Removed.
9876         (nio_get_*): Removed.
9877         * gnu/java/nio/natDoubleBufferImpl.cc
9878         (nio_cast): Removed.
9879         (nio_put_*): Removed.
9880         (nio_get_*): Removed.
9881         * gnu/java/nio/natFloatBufferImpl.cc
9882         (nio_cast): Removed.
9883         (nio_put_*): Removed.
9884         (nio_get_*): Removed.
9885         * gnu/java/nio/natIntBufferImpl.cc
9886         (nio_cast): Removed.
9887         (nio_put_*): Removed.
9888         (nio_get_*): Removed.
9889         * gnu/java/nio/natLongBufferImpl.cc
9890         (nio_cast): Removed.
9891         (nio_put_*): Removed.
9892         (nio_get_*): Removed.
9893         * gnu/java/nio/natShortBufferImpl.cc
9894         (nio_cast): Removed.
9895         (nio_put_*): Removed.
9896         (nio_get_*): Removed.
9897         * gnu/java/nio/SelectorProviderImpl.java
9898         (openDatagramChannel): Throws IOException.
9899         (openPipe): Throws IOException.
9900         (openSelector): Throws IOException.
9901         (openServerSocketChannel): Throws IOException.
9902         (openSocketChannel): Throws IOException.
9903         * gnu/java/nio/ServerSocketChannelImpl.java
9904         (ServerSocketChannelImpl): Throws IOException.
9905         (implCloseSelectableChannel): Throws IOException.
9906         (implConfigureBlocking): Throws IOException.
9907         * java/nio/ByteBuffer.java
9908         (readOnly): Removed.
9909         (hasArray): Use isReadOnly() instead of readOnly.
9910         (array): Use isReadOnly() instead of readOnly.
9911         (arrayOffset): Use isReadOnly() instead of readOnly.
9912         * java/nio/CharBuffer.java
9913         (CharBuffer): Implements Cloneable and CharSequence.
9914
9915 2003-02-11  Michael Koch  <konqueror@gmx.de>
9916
9917         * java/nio/DoubleBuffer.java
9918         (DoubleBuffer): Implements Comparable.
9919         (endian): Removed.
9920         (array_offset): New member variable.
9921         (DoubleBuffer): New constuctor.
9922         (get): May not be final.
9923         (put): May not be final.
9924         (arrayOffset): Implemented.
9925         (order): Made abstract.
9926         (order): Removed.
9927         (as*Buffer): Removed.
9928         (get*): Removed.
9929         (put*): Removed.
9930         * java/nio/FloatBuffer.java
9931         (FloatBuffer): Implements Comparable.
9932         (endian): Removed.
9933         (array_offset): New member variable.
9934         (FloatBuffer): New constuctor.
9935         (get): May not be final.
9936         (put): May not be final.
9937         (arrayOffset): Implemented.
9938         (order): Made abstract.
9939         (order): Removed.
9940         (as*Buffer): Removed.
9941         (get*): Removed.
9942         (put*): Removed.
9943         * java/nio/IntBuffer.java
9944         (IntBuffer): Implements Comparable.
9945         (endian): Removed.
9946         (array_offset): New member variable.
9947         (IntBuffer): New constuctor.
9948         (get): May not be final.
9949         (put): May not be final.
9950         (arrayOffset): Implemented.
9951         (order): Made abstract.
9952         (order): Removed.
9953         (as*Buffer): Removed.
9954         (get*): Removed.
9955         (put*): Removed.
9956         * java/nio/LongBuffer.java
9957         (LongBuffer): Implements Comparable.
9958         (endian): Removed.
9959         (array_offset): New member variable.
9960         (LongBuffer): New constuctor.
9961         (get): May not be final.
9962         (put): May not be final.
9963         (arrayOffset): Implemented.
9964         (order): Made abstract.
9965         (order): Removed.
9966         (as*Buffer): Removed.
9967         (get*): Removed.
9968         (put*): Removed.
9969         * java/nio/ShortBuffer.java
9970         (ShortBuffer): Implements Comparable.
9971         (endian): Removed.
9972         (array_offset): New member variable.
9973         (ShortBuffer): New constuctor.
9974         (get): May not be final.
9975         (put): May not be final.
9976         (arrayOffset): Implemented.
9977         (order): Made abstract.
9978         (order): Removed.
9979         (as*Buffer): Removed.
9980         (get*): Removed.
9981         (put*): Removed.
9982
9983 2003-02-11   Michael Koch  <konqueror@gmx.de>
9984
9985         * java/nio/channels/SelectionKey.java
9986         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9987         values.
9988
9989 2003-02-11  Michael Koch  <konqueror@gmx.de>
9990
9991         * java/nio/channels/DatagramChannel.java
9992         (write): Throws IOException.
9993         (connect): Throws IOException.
9994         (disconnect): Throws IOException.
9995         (read): Throws IOException.
9996         (receive): Throws IOException.
9997         (send): Throws IOException.
9998         * java/nio/channels/Pipe.java
9999         (open): Throws IOException.
10000         * java/nio/channels/SelectableChannel.java
10001         (configureBlocking): Throws IOException.
10002         * java/nio/channels/ServerSocketChannel.java
10003         (accept): Throws IOException.
10004         * java/nio/channels/SocketChannel.java
10005         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10006         GatheringByteChannel.
10007         (read): Throws IOException.
10008         (write): Throws IOException.
10009         (finishConnect): Throws IOException.
10010         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10011         (end): Throws AsynchronousCloseException.
10012         * java/nio/channels/spi/AbstractSelectableChannel.java
10013         (configureBlocking): Throws IOException.
10014         (implCloseChannel): Throws IOException.
10015         (implCloseSelectableChannel): Throws IOException.
10016         (implConfigureBlocking): Throws IOException.
10017         * java/nio/channels/spi/SelectorProvider.java
10018         (openDatagramChannel): Throws IOException.
10019         (openPipe): Throws IOException.
10020         (openSelector): Throws IOException.
10021         (openServerSocketChannel): Throws IOException.
10022         (openSocketChannel): Throws IOException.
10023
10024 2003-02-11  Michael Koch  <konqueror@gmx.de>
10025
10026         * gnu/java/nio/FileLockImpl.java,
10027         java/nio/channels/FileLock.java: New files.
10028
10029 2003-02-11  Michael Koch  <konqueror@gmx.de>
10030
10031         * java/nio/charset/IllegalCharsetNameException.java
10032         (serialVersionUID): New member variable.
10033         (charsetName): New member variable.
10034         (IllegalCharsetException): New implementation.
10035         (getCharsetName): New implementation.
10036         * java/nio/charset/UnsupportedCharsetException.java
10037         (serialVersionUID): New member variable.
10038         (charsetName): New member variable.
10039         (UnsupportedCharsetException): New implementation.
10040         (getCharsetName): New implementation.
10041
10042 2003-02-10  Tom Tromey  <tromey@redhat.com>
10043
10044         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10045         (ex): Renamed from sqlException.
10046
10047 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10048
10049         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10050         method used to ensure seeding has occurred and that a specific 
10051         seed can be set and used.
10052
10053 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10054
10055         * java/lang/Win32Process.java (destroy): Declare as native.
10056         (hasExited): New native method.
10057         (exitValue): Define.
10058         (getErrorStream): Likewise.
10059         (getInputStream): Likewise.
10060         (getOutputStream): Likewise.
10061         (waitFor): Declare as native.
10062         (startProcess): New native method.
10063         (cleanup): Likewise.
10064         (ConcreteProcess): Define.
10065         (outputStream, inputStream, errorStream): New members.
10066         (procHandle, exitCode): Likewise.
10067
10068         * java/lang/natWin32Process.cc
10069         (java::lang::ConcreteProcess::cleanup): Define.
10070         (java::lang::ConcreteProcess::destroy): Likewise.
10071         (java::lang::ConcreteProcess::hasExited): Likewise.
10072         (java::lang::ConcreteProcess::waitFor): Likewise.
10073         (new_string): Likewise.
10074         (java::lang::ConcreteProcess::startProcess): Likewise.
10075
10076 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10077
10078         * java/math/BigInteger.java:
10079         Updated notice to include years 2002 and 3.
10080         Added 2 private (int) arrays with values from the HAC (Handbook of
10081         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10082         and t[] that contains nbr. of tests --used in isProbablePrime().
10083
10084         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10085
10086         * java/math/BigInteger.java (make(int[],int), add(int,int),
10087         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10088         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10089         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10090         make(long).
10091
10092         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10093         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10094         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10095         BIs and returns void.
10096         (modInverse(BI)): Use new signatures of euclidInv().
10097
10098         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10099         static small primes instead of remainder().
10100         Use pre-computed max nbr of trials based on bitlength of BI to test.
10101         Use pre-computed small primes for the trial tests instead of random
10102         numbers.
10103
10104         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10105         not used.
10106
10107         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10108         invoacation of MPN.chars_per_word().  not used.
10109
10110         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10111         local var and used where needed.
10112
10113         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10114         Combined declaration with initialisation of locals.
10115         Removed unused var.
10116
10117         * java/math/BigInteger.java: Style changes
10118         (pow(int)): Removed 'else' keyword.
10119         (toString(int)): idem.
10120         (doubleValue()): idem.
10121         (bitLength()): idem.
10122         (equals(Object)): Use static methods name in same class w/o prepending
10123         class name.
10124         (doubleValue()): idem.
10125         (setNegative(BI)): idem.
10126         (negate()): idem.
10127         (and(BI,int)): idem.
10128         (and(BI)): idem.
10129         (gcd(BI)): idem.
10130         (byteArrayToIntArray()): Removed casting to (int). this is
10131         std. behaviour.
10132         (canonicalize()): idem.
10133         (alloc(int)): Always instantiate a new BI.
10134
10135 2003-02-10  Tom Tromey  <tromey@redhat.com>
10136
10137         * java/sql/Timestamp.java (compareTo(Object)): New method.
10138         (compareTo(Timestamp)): Likewise.
10139         (serialVersionUID): Updated.
10140
10141 2003-02-07  Mark Wielaard  <mark@klomp.org>
10142
10143         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10144         when verify is true.
10145         (JarFile(File, boolean)): Likewise.
10146         (manifestRead): Set manifestRead field correctly.
10147
10148 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10149
10150         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10151         tests; see patch #1016 on Savannah.
10152
10153 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10154
10155         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10156         (toString): do not return Strings starting with . and - erroneously.
10157         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10158         DiagBigDecimal.
10159
10160 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10161
10162         * java/beans/PropertyDescriptor.java
10163         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10164         methods.
10165         (PropertyDescriptor(String, Class, String, String)): Likewise.
10166         (PropertyDescriptor(String, Method, Method): Factor out getter and
10167         setter method sanity checks into new method.
10168         (findMethods): Don't do parameter sanity checking of get method here.
10169         (checkMethods): New method.
10170
10171 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10172
10173         * java/beans/PropertyDescriptor.java: Reformat.
10174
10175 2003-02-04  Tom Tromey  <tromey@redhat.com>
10176
10177         * java/io/PipedOutputStream.java (flush): Declare as throwing
10178         IOException.
10179         (close): Likewise.
10180         * java/io/PipedWriter.java (close): Declare as throwing
10181         IOException.
10182         * java/io/StringWriter.java (close): Declare as throwing
10183         IOException.
10184
10185 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10186
10187         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10188         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10189         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10190         "_JNI_OnLoad@8" (MSVC).
10191
10192 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10193
10194         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10195         convention on Win32 to invoke native JNI methods.
10196
10197 2003-02-03  Andrew Haley  <aph@redhat.com>
10198
10199         * configure.host (x86_64): Enable interpreter.
10200
10201 2003-02-03  Andrew Haley  <aph@redhat.com>
10202
10203         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10204         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10205         * configure.in (BACKTRACESPEC): New.
10206         * configure: Regenerate.
10207
10208 2003-02-02  Tom Tromey  <tromey@redhat.com>
10209
10210         * configure: Rebuilt.
10211         * configure.in (TOOLKIT) [xlib]: Set correctly.
10212
10213         * Makefile.in: Rebuilt.
10214         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10215         libstdc++.
10216
10217 2003-01-31  Mark WIelaard  <mark@klomp.org>
10218
10219         * Makefile.in: Rebuilt.
10220         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10221
10222 2003-01-31  Tom Tromey  <tromey@redhat.com>
10223
10224         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10225         cast to element type.
10226         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10227         (_Jv_JNI_GetObjectArrayElement): Likewise.
10228
10229         * Makefile.in: Rebuilt.
10230         * Makefile.am (cond_x_ltlibrary): Renamed library to
10231         lib-gnu-awt-xlib.la.
10232         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10233         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10234         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10235         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10236         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10237         (lib_gnu_awt_xlib_la_LINK): Likewise.
10238         (install-exec-hook): Removed.
10239         (lib-gnu-awt-xlib.la): Renamed.
10240
10241 2003-01-31  Tom Tromey  <tromey@redhat.com>
10242
10243         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10244         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10245         aclocal.m4 and lost in some merge.
10246
10247         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10248         Don't try to find graphics configuration.
10249         * java/awt/Toolkit.java (default_toolkit_name): Use new
10250         Configuration entry.
10251         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10252         New global.
10253         * configure: Rebuilt.
10254         * configure.in (TOOLKIT): New subst.
10255         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10256         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10257         directory.  Make output directories for .c files.
10258         * Makefile.in: Rebuilt.
10259         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10260         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10261         (all_java_source_files): Added new sources.
10262         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10263         (gtk_c_files): New macro.
10264         (gtk_c_source_files): New macro.
10265         (cond_gtk_ltlibrary): New macro.
10266         ($(gtk_c_files)): New target.
10267         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10268         (gtk_awt_peer_sources): New macro.
10269         (gtk_c_headers): New macro.
10270         ($(gtk_c_headers)): New target.
10271         (ACLOCAL_AMFLAGS): New macro.
10272         * gtk.m4, glib.m4, libart.m4: New files.
10273         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10274         gnu/java/awt/peer/gtk/GdkGraphics.java,
10275         gnu/java/awt/peer/gtk/GtkArg.java,
10276         gnu/java/awt/peer/gtk/GtkArgList.java,
10277         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10278         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10279         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10280         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10281         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10282         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10283         gnu/java/awt/peer/gtk/GtkClipboard.java,
10284         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10285         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10286         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10287         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10288         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10289         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10290         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10291         gnu/java/awt/peer/gtk/GtkImage.java,
10292         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10293         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10294         gnu/java/awt/peer/gtk/GtkListPeer.java,
10295         gnu/java/awt/peer/gtk/GtkMainThread.java,
10296         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10297         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10298         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10299         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10300         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10301         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10302         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10303         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10304         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10305         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10306         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10307         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10308         gnu/java/awt/peer/gtk/GtkToolkit.java,
10309         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10310         gnu/java/awt/peer/gtk/TestAWT.java,
10311         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10313         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10315         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10321         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10323         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10325         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10326         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10329         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10332         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10339         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10340         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10341         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10342         jni/classpath/native_state.c, jni/classpath/native_state.h,
10343         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10344
10345 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10346
10347         * java/util/Properties.java (load): Ignore backslash before EOF.
10348
10349 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10350
10351         * java/lang/natClass.cc (initializeClass): Check tables when
10352         (state == JV_STATE_IN_PROGRESS).
10353         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10354         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10355         interpreted classes.
10356         (linkClass0): Use _Jv_WaitForState.
10357
10358 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10359
10360         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10361         object when finished.
10362
10363 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10364
10365         * libjava/configure.host: Disable can_unwind_signal on darwin.
10366
10367 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10368
10369         Fixes PR java/9254:
10370         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10371         additionally containing id of the owner thread as well as
10372         the number of nested times the thread has acquired the mutex.
10373         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10374         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10375         (_Jv_MutexUnlock): Check if really the owner thread, reset
10376         owner thread id to 0 before leaving, if leaving for the last
10377         time.
10378         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10379         refcount.
10380         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10381         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10382         the passed mutex.
10383         Pass handle of the broadcast event, instead of a pointer to it
10384         in Win32 ResetEvent( ) call.
10385         Remove incorrect return values.
10386         (_Jv_CondDestroy): Close both event handles and delete
10387         critical section.
10388         (_Jv_CondNotify): Check if really the owner thread.
10389         (_Jv_CondNotifyAll): Check if really the owner thread.
10390         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10391         (really_start): Use SetEvent( ) to signal daemon_cond.
10392         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10393         WaitForSingleObject( ) instead to wait for daemon_cond to be
10394         signalled.
10395
10396 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10397
10398         * configure.in: Specifically define HAVE_BACKTRACE if building
10399         for MinGW.
10400         * include/win32.h: Remove HAVE_BACKTRACE definition.
10401         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10402         * configure: Rebuilt.
10403
10404 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10405
10406         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10407         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10408         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10409         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10410         * Makefile.in, configure: Rebuilt.
10411
10412 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10413
10414         Fixes PR java/9253:
10415         * java/io/natFileWin32.cc (performList): Append only "*.*"
10416         if the canonical file path already has a "\" at the end.
10417
10418 2003-01-24  Tom Tromey  <tromey@redhat.com>
10419
10420         * defineclass.cc (handleMethodsEnd): Precompute code for static
10421         method.
10422         (handleCodeAttribute): Likewise.
10423         * resolve.cc (ncode): Use run_class for unsynchronized static
10424         methods.
10425         * include/java-interp.h (class _Jv_InterpMethod): Declare
10426         run_class.
10427         * interpret.cc (run_synch_class): Initialize class.
10428         (run) [insn_invokestatic]: Don't initialize class.
10429         [insn_anewarray]: Likewise.
10430         [insn_multianewarray]: Likewise.
10431         (run_class): New function.
10432
10433 2003-01-24  Tom Tromey  <tromey@redhat.com>
10434
10435         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10436         comment.
10437
10438 2003-01-22  Andrew Haley  <aph@redhat.com>
10439
10440         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10441         * configure.host (CHECKREFSPEC): Define for x86_64.
10442
10443 2003-01-21  Tom Tromey  <tromey@redhat.com>
10444
10445         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10446         search at 2, not 3.
10447
10448 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10449
10450         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10451         looking at any characters.
10452         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10453         be used.
10454         (isAbsolute): Check path's length as well.
10455
10456 2003-01-17  Mark Wielaard  <mark@klomp.org>
10457
10458         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10459         (nat_source_files): Add natVMObjectStreamClass.cc.
10460         * Makefile.in: Regenerated.
10461         * gcj/javaprims.h (namespace java): Regenerated.
10462         * java/io/ObjectStreamClass.java (getClassUID): Call
10463         VMObjectStreamClass.hasClassInitializer().
10464         (hasClassInitializer): Removed.
10465         * java/io/VMObjectStreamClass.java: New class.
10466         * java/io/natVMObjectStreamClass.cc: New file.
10467         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10468
10469 2003-01-16  Mark Wielaard  <mark@klomp.org>
10470
10471         * java/net/SocketImpl.java (toString): Don't explicitly call
10472         toString() on possible null address.
10473
10474 2003-01-16  Michael Koch  <konqueror@gmx.de>
10475
10476         * java/net/MulticastSocket.java
10477         (setInterface): Reindented.
10478
10479 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10480
10481         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10482         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10483         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10484         translateY arguments.  Implement.
10485         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10486         down translation arguments.
10487         (drawPolyline, drawPolygon): Fix incorrect tests.
10488         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10489         translateX and translateY arguments.
10490
10491 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10492
10493         * Makefile.in: Rebuilt.
10494         * Makefile.am (xlib_includes): New macro.
10495         (INCLUDES): Use it.
10496
10497 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10498
10499         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10500         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10501         16-bit display mode.
10502
10503 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10504
10505         * java/awt/CardLayout.java (show): Rewrote.
10506         (gotoComponent): Removed `target' argument.  Simplified code.
10507         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10508         Changed all callers.
10509         (NONE): Removed.
10510         
10511 2003-01-14  Michael Koch  <konqueror@gmx.de>
10512
10513         * java/net/InetSocketAddress.java
10514         (serialVersionUID): New member variable.
10515         * java/net/NetPermission.java
10516         (NetPermission): Dont implement java.io.Serialization directly.
10517         * java/net/SocketAddress.java:
10518         (serialVersionUID): Documentation added.
10519         
10520 2003-01-14  Michael Koch  <konqueror@gmx.de>
10521
10522         * java/awt/Label.java
10523         (Label): Implements javax.accessibility.Accessible;
10524         * java/awt/List.java
10525         (List): Implements javax.accessibility.Accessible;
10526         * java/awt/ScrollPane.java
10527         (ScrollPane): Implements javax.accessibility.Accessible;
10528         * java/awt/Scrollbar.java
10529         (Scrollbar): Implements javax.accessibility.Accessible;
10530         * java/awt/TextComponent.java
10531         (setCaretPosition): Throw exception, documentation added.
10532         * java/awt/Toolkit.java:
10533         Added some newlines in method documentations.
10534         (createButton): Exception documentation added.
10535         (createTextField): Exception documentation added.
10536         (createLabel): Exception documentation added.
10537         (createList): Exception documentation added.
10538         (createCheckbox): Exception documentation added.
10539         (createScrollbar): Exception documentation added.
10540         (createScrollPane): Exception documentation added.
10541         (createTextArea): Exception documentation added.
10542         (createChoice): Exception documentation added.
10543         (createFrame): Exception documentation added.
10544         (createWindow): Exception documentation added.
10545         (createDialog): Exception documentation added.
10546         (createMenuBar): Exception documentation added.
10547         (createMenu): Exception documentation added.
10548         (createMenuItem): Exception documentation added.
10549         (createFileDialog): Exception documentation added.
10550         (createCheckboxMenuItem): Exception documentation added.
10551         (loadSystemColors): Exception documentation added.
10552         (setDynamicLayout): Exception documentation added.
10553         (isDynamicLayoutSet): Exception documentation added.
10554         (isDynamicLayoutActive): Exception documentation added.
10555         (getScreenSize): Exception documentation added.
10556         (getScreenResolution): Exception documentation added.
10557         (getScreenInsets): Exception documentation added.
10558         (getColorModel): Exception documentation added.
10559         (getSystemClipboard): Exception documentation added.
10560         (getSystemSelection): Exception documentation added.
10561         (getMenuShortcutKeyMask): Exception documentation added.
10562         (getSystemEventQueue): Exception documentation added.
10563         * java/awt/Window.java:
10564         Reindented some code.
10565         (Window): Centralized implementation, documentation added.
10566         (finalize): Documentation added.
10567         (hide): Fixed typo in comment.
10568         (getWindowListeners): Documentation added.
10569         * java/awt/color/ColorSpace.java
10570         (toRGB): Documentation added.
10571         * java/awt/color/ICC_ColorSpace.java
10572         (ICC_ColorSpace): Documentation added.
10573         (toRGB): Throw exception, documentation added.
10574         (fromRGB): Throw exception, documentation added.
10575         (toCIEXYZ): Documentation added.
10576         (fromCIEXYZ): Documentation added.
10577         (getMinValue): Documentation added.
10578         (getMaxValue): Documentation added.
10579         * java/awt/geom/Dimension2D.java
10580         (clone): Documentation added.
10581         * java/awt/geom/GeneralPath.java
10582         (clone): Documentation added.
10583         * java/awt/geom/Line2D.java
10584         (clone): Documentation added.
10585         * java/awt/geom/QuadCurve2D.java
10586         (clone): Documentation added.
10587         * java/awt/image/ColorModel.java
10588         (ColorModel): Throw exception, documentation added.
10589         * java/awt/image/ImageFilter.java
10590         (clone): Doesnt throw CloneNotSupportedException.
10591
10592 2003-01-14  Andrew Haley  <aph@redhat.com>
10593
10594         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10595         in a try block.
10596
10597 2003-01-10  Andrew Haley  <aph@redhat.com>
10598
10599         * include/dwarf2-signal.h: Remove x86_64.
10600         * configure.host (x86_64 DIVIDESPEC): Remove.
10601         * include/x86_64-signal.h: New file.
10602         * configure.in: Regenerate.
10603
10604 2003-01-10  Michael Koch  <konqueror@gmx.de>
10605
10606         * java/net/DatagramSocket.java
10607         (ch): Description added.
10608         (remotePort): Initialize with -1.
10609         (connect): Doesnt throws SocketException.
10610         * java/net/MulticastSocket.java
10611         (setInterface): Merge with Classpath.
10612         * java/net/ServerSocket.java
10613         (closed): New member variable.
10614         (bind): Check if socket is closed.
10615         (close): Close an associated channel too, set new value to closed.
10616         (isBound): Reindented.
10617         (isClosed): Implemented.
10618         * java/net/Socket.java
10619         (closed): New member variable.
10620         (bind): Check if socket is closed.
10621         (connect): Check if socket is closed.
10622         (close): Close an associated channel too, set new value to closed.
10623         (isClosed): Implemented.
10624
10625 2003-01-10  Michael Koch  <konqueror@gmx.de>
10626
10627         * java/awt/DisplayMode.java
10628         (equals): Fixed argument type and implementation.
10629
10630 2003-01-07  Tom Tromey  <tromey@redhat.com>
10631
10632         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10633         JV_HASH_SYNCHRONIZATION.
10634         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10635         JV_HASH_SYNCHRONIZATION.
10636
10637 2003-01-07  Michael Koch  <konqueror@gmx.de>
10638  
10639         * java/net/DatagramSocket.java:
10640         Added classpath license info.
10641         (DatagramSocket): Merged description with classpath.
10642         (close): Merged description with classpath.
10643         (getChannel): Merged description with classpath.
10644         (getInetAddress): Merged description with classpath.
10645         (getPort): Merged description with classpath.
10646         (getLocalAddress): Merged description with classpath.
10647         (getLocalPort): Merged description with classpath.
10648         (getSoTimeout): Merged description with classpath.
10649         (setSoTimeout): Merged description with classpath.
10650         (getSendBufferSize): Merged description with classpath.
10651         (setSendBufferSize): Merged description with classpath.
10652         (getReceiveBufferSize): Merged description with classpath.
10653         (setReceiveBufferSize): Merged description with classpath.
10654         
10655 2003-01-04  Tom Tromey  <tromey@redhat.com>
10656
10657         * java/awt/List.java: Merged with Classpath.
10658
10659 2003-01-03  Mark Wielaard  <mark@klomp.org>
10660
10661         * java/io/FileDescriptor.java (position): New private field.
10662         * java/io/natFileDescriptorPosix.cc (write): Up position.
10663         (setLength): Use and set position.
10664         (seek): Set position.
10665         (getFilePointer): Return position.
10666         (read): Up position.
10667
10668 2003-01-03  Mark Wielaard  <mark@klomp.org>
10669
10670         Merge with Classpath:
10671         * java/io/ObjectStreamClass.java (lookup): Split method and call
10672         lookupForClassObject().
10673         (lookupForClassObject): New method.
10674         (isProxyClass): New field.
10675         (setClass): Set isProxyClass, add object to classLookupTable, set
10676         superClass and calculateOffsets.
10677         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10678         and not a proxy class.
10679         (setFields): Set accessible true for serialPersistentFields.
10680         (getClassUID): Same for suid. And check if suid is of type long.
10681         (hasClassInitializer): Don't throw NoSuchMethodError.
10682
10683 2003-01-03  Mark Wielaard  <mark@klomp.org>
10684
10685         * java/io/FileInputStream.java (finalize): Don't explicitly
10686         finalize FileDescriptor.
10687
10688 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10689
10690         * configure.host (sparc*-*): Enable bytecode interpreter.
10691
10692 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10693
10694         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10695         Don't throw RemoteException.
10696         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10697         throw RemoteException.
10698
10699 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10700
10701         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10702         proxyHost): New static fields.
10703         (<clinit>): Initialize new fields.
10704         (connect): Use proxy if necessary.
10705         (usingProxy): Implement.
10706
10707 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10708
10709         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10710         (TreeIterator.remove): Prefer IllegalStateException over
10711         ConcurrentModificationException, to match Sun.
10712
10713 2002-12-22  Anthony Green  <green@redhat.com>
10714
10715         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10716
10717 2003-01-02  Mark Wielaard  <mark@klomp.org>
10718
10719         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10720         public.
10721         (HTTP_USE_PROXY): Add field.
10722         (getResponseVals): Only set responseCode when not yet explicitly
10723         set by subclass.
10724
10725 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10726             Mark Wielaard  <mark@klomp.org>
10727
10728         * java/util/zip/ZipFile.java (entries): Now HashMap.
10729         (readLeShort(DataInput, byte[])): Read from given byte array.
10730         (readLeInt(DataInput, byte[]): Likewise.
10731         (readLeShort(byte[] b, int off)): New method.
10732         (readLeInt(byte[] b, int off)): Likewise.
10733         (readEntries): Use byte arrays to read info in bigger chunks.
10734         (getEntries): Return HashMap.
10735         (getEntry): Use HashMap.
10736         (locBuf): New private field.
10737         (checkLocalHeader): Use locBuf to read info in one chunk.
10738         (getInputStream): Use entries HashMap, wrap PartialInputStream
10739         in BufferedInputStream.
10740         (ZipEntryEnumeration): Use HashMap and Interator.
10741
10742 2003-01-02  Mark Wielaard  <mark@klomp.org>
10743             Jeroen Frijters  <jeroen@sumatra.nl>
10744
10745         * java/net/URLClassLoader.java (Resource.getCodeSource):
10746         Fix check certs == null.
10747         (getCanonicalFileURL): Removed method.
10748         (JarURLLoader): Don't call removed method.
10749         (FileURLLoader): Likewise.
10750         (FileURLLoader.getResource): Don't canonicalize file name.
10751
10752 2003-01-01  Tom Tromey  <tromey@redhat.com>
10753
10754         * Makefile.in: Rebuilt.
10755         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10756         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10757         java/awt/BufferCapabilities.java, java/awt/Button.java,
10758         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10759         java/awt/Container.java, java/awt/Cursor.java,
10760         java/awt/EventQueue.java, java/awt/FileDialog.java,
10761         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10762         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10763         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10764         java/awt/Scrollbar.java, java/awt/TextArea.java,
10765         java/awt/TextField.java, java/awt/color/CMMException.java,
10766         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10767         java/awt/color/ProfileDataException.java,
10768         java/awt/datatransfer/Clipboard.java,
10769         java/awt/datatransfer/DataFlavor.java,
10770         java/awt/datatransfer/FlavorMap.java,
10771         java/awt/datatransfer/SystemFlavorMap.java,
10772         java/awt/dnd/DragGestureEvent.java,
10773         java/awt/dnd/DragGestureRecognizer.java,
10774         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10775         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10776         java/awt/im/InputMethodHighlight.java,
10777         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10778         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10779
10780         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10781         `op' to BufferedImageOp.
10782
10783 2002-12-31  Tom Tromey  <tromey@redhat.com>
10784
10785         Fix for PR libgcj/7416:
10786         * javax/naming/InitialContext.java (init): Use
10787         gnu.classpath.home.url.
10788         * java/security/Security.java: Use new properties.
10789         (loadProviders): Accept base url; use it.
10790         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10791         gnu.classpath.home.url.
10792         (gnu.classpath.home.url): Define.
10793         (gnu.classpath.vm.shortname): Likewise.
10794
10795 2002-12-31  Tom Tromey  <tromey@redhat.com>
10796             Ranjit Mathew  <rmathew@hotmail.com>
10797
10798         Fix for PR libgcj/8997:
10799         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10800         Include platform.h.
10801         * include/posix.h (_Jv_platform_usleep): New function.
10802         * include/win32.h (_Jv_platform_usleep): New function.
10803
10804 2002-12-29  Tom Tromey  <tromey@redhat.com>
10805
10806         * gcj/javaprims.h: Updated.
10807         * scripts/classes.pl (scan): Removed stray semicolon.
10808
10809 2002-12-30  Mark Wielaard  <mark@klomp.org>
10810
10811         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10812         if zero or smaller.
10813
10814 2002-12-30  Mark Wielaard  <mark@klomp.org>
10815
10816         * java/util/Properties (formatForOutput): Don't fall through to
10817         default case after escaping character.
10818
10819 2002-12-30  Mark Wielaard  <mark@klomp.org>
10820
10821         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10822         against count.
10823
10824 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10825
10826         * boehm.cc: Remove stray semicolon.
10827         * interpret.cc: Likewise.
10828         * prims.cc: Likewise.
10829         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10830         earlier to ensure default arguments are processed.
10831         * gcj/array.h (JArray): Add forward declaration.
10832         (elements): Likewise.
10833         * gcj/javaprim.h: Remove stray semicolons.
10834         * include/bohm-gc.h: Likewise.
10835         * include/jni.h: Likewise.
10836         * include/jvm.h: Likewise.
10837         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10838         
10839 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10840
10841         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10842         of catch_type.
10843         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10844         idt tables after initializing superclass.
10845         * java/lang/natClassLoader.cc (uaddr): New typedef.
10846         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10847         if they are constant pool indicies.  Don't link vtable, otable yet.
10848
10849 2002-12-21  Anthony Green  <green@redhat.com>
10850
10851         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10852         libraries.
10853         * Makefile.in: Rebuilt.
10854
10855 2002-12-19  Anthony Green  <green@redhat.com>
10856
10857         * Makefile.am (ordinary_java_source_files): Add
10858         org/xml/sax/helpers/NewInstance.java.
10859         * Makefile.in: Rebuilt.
10860         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10861         org/xml/sax/helpers/package.html: New files.
10862         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10863         http://www.saxproject.org.
10864
10865 2002-12-19  Andrew Haley  <aph@redhat.com>
10866
10867         * java/util/natResourceBundle.cc: Include
10868         ArrayIndexOutOfBoundsException.h.
10869         (getCallingClassLoader): Don't put upper bound on stack search.
10870         Catch ArrayIndexOutOfBoundsException.
10871
10872 2002-12-19  Tom Tromey  <tromey@redhat.com>
10873
10874         * libtool-version: Increased `current'.
10875
10876 2002-12-19  Tom Tromey  <tromey@redhat.com>
10877
10878         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10879         comment.
10880         * java/lang/ClassLoader.java (defineClass): Use chained
10881         exception when rethrowing.
10882         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10883         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10884         constants.
10885         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10886         (_Jv_PrepareClass): Use it.
10887         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10888         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10889         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10890         (Class): _Jv_PrepareMissingMethods now friend.
10891         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10892         Record `NULL' for system class loader.
10893         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10894         system class loader.
10895         (_Jv_FindClassInCache): Likewise.
10896         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10897         (_Jv_FindClass): Special case system class loader.
10898         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10899         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10900         vtable slots.
10901         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10902         in a final class.
10903         (_getDeclaredMethod): Don't return synthetic methods.
10904         (getDeclaredMethods): Likewise.
10905         (_getMethod): Likewise.
10906         (_getMethods): Likewise.
10907
10908 2002-12-18  Raif Naffah  <raif@fl.net.au>
10909
10910         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10911         canonical form after divide().
10912         (modInverse): Likewise.
10913
10914 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10915             Mark Wielaard  <mark@klomp.org>
10916
10917         * java/security/SecurityRandom (digest): Removed field.
10918         (SecureRandom): Check all providers for case-insensitive SecureRandom
10919         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10920         if necessary.
10921         (getInstance(String,Provider,boolean): New method.
10922         (getInstance(String)): Use new method.
10923         (getInstance(String,String)): Likewise.
10924         (getInstance(String,Provider)): Likewise.
10925
10926 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10927
10928         * java/security/Security.java (loadProviders): Increment i only once.
10929
10930 2002-12-12  Mark Wielaard  <mark@klomp.org>
10931
10932         * java/lang/ClassLoader.java (resolveClass0): Transform
10933         ClassNotFoundException to NoClassDefFoundError. Transform all other
10934         throwables to LinkageError.
10935
10936 2002-12-11  Tom Tromey  <tromey@redhat.com>
10937
10938         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10939
10940         * java/lang/ClassLoader.java (loadedClasses): New field.
10941         (defineClass): Fixed indentation.  Put new class in
10942         loadedClasses.
10943         (findLoadedClass): Implement here.
10944         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10945
10946 2002-12-10  Tom Tromey  <tromey@redhat.com>
10947
10948         * Makefile.in: Rebuilt.
10949         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10950         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10951         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10952         * java/lang/natClassLoader.cc
10953         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10954
10955 2002-12-10  Mark Wielaard  <mark@klomp.org>
10956             Tom Tromey  <tromey@redhat.com>
10957
10958         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10959         (JarURLLoader): Use it.
10960         (FileURLLoader): Likewise.
10961         (JarURLResource.getURL): Use chained exception.
10962         (FileResource.getURL): Likewise.
10963         (FileURLLoader.getResource): Use canonical file name.
10964         (addURL): Indentation fix.
10965
10966 2002-12-10  Tom Tromey  <tromey@redhat.com>
10967
10968         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10969         From Laurent Bardet <l.bardet@magic.fr>.
10970
10971 2002-12-09  Tom Tromey  <tromey@redhat.com>
10972
10973         * include/win32.h (_Jv_platform_solib_prefix): New define.
10974         (_Jv_platform_solib_suffix): Likewise.
10975         * include/posix.h (_Jv_platform_solib_prefix): New define.
10976         (_Jv_platform_solib_suffix): Likewise.
10977         * java/lang/natRuntime.cc: Include StackTrace.h.
10978         (_load): Use findLibrary and new platform defines.
10979         (nativeGetLibname): Use new platform defines.
10980
10981         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10982         `t' won't be null.
10983
10984 2002-12-08  Mark Wielaard  <mark@klomp.org>
10985
10986         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10987         cache remote jar files.
10988         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10989         add File.separator to URL when it is a directory.
10990         * java/lang/ClassLoader.java: Add Classpath javadoc.
10991         (parent): final.
10992         (getParent): Add (disabled) security check.
10993         (findLibrary): New default method.
10994         * java/net/JarURLConnection.java (getManifest): Implement.
10995         (getInputStream): Only create InputStream when entry exists.
10996         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10997         when they exist.
10998         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10999
11000 2002-12-08  Mark Wielaard  <mark@klomp.org>
11001
11002         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11003         (lastDefaultLocale): New field.
11004         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11005         resourceBundleCache.
11006
11007 2002-12-06  Mark Wielaard  <mark@klomp.org>
11008
11009         * java/net/InetAddress.java (toString): Use hostname when not null,
11010         don't do an explicit reverse getHostName() lookup.
11011         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11012         NullPointerException.
11013
11014 2002-12-06  Tom Tromey  <tromey@redhat.com>
11015
11016         * include/java-interp.h (class _Jv_InterpMethod): Added
11017         JV_MARKOBJ_DECL.
11018         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11019         mark `prepared' field of interpreted method.
11020         * interpret.cc (compile): Use _Jv_AllocBytes.
11021
11022 2002-12-05  Andrew Haley  <aph@redhat.com>
11023
11024         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11025         #ifdef (HAVE_BACKTRACE) around the whole function body.
11026
11027 2002-12-05  Tom Tromey  <tromey@redhat.com>
11028
11029         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11030         * resolve.cc: Don't include AbstractMethodError.h.
11031         (_Jv_abstractMethodError): Removed.
11032         * defineclass.cc (handleMethodsBegin): Initialize method index to
11033         -1.
11034         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11035         method index for "new" final method.
11036         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11037         isVirtualMethod.  Added `flags' argument.
11038         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11039         class.
11040
11041 2002-12-04  Tom Tromey  <tromey@redhat.com>
11042
11043         * java/net/SocketPermission.java (hashCode): Rewrote.
11044
11045 2002-12-04  Tom Tromey  <tromey@redhat.com>
11046
11047         * Makefile.in: Rebuilt.
11048         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11049         natResourceBundle.
11050         * java/util/ResourceBundle.java (Security): Removed.
11051         (getCallingClassLoader): Now native.
11052         * java/util/natResourceBundle.cc: New file.
11053         * java/lang/natVMSecurityManager.cc: New file.
11054         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11055
11056 2002-12-03  Mark Wielaard  <mark@klomp.org>
11057
11058         * java/util/jar/JarFile.java (manifest): Not final.
11059         (manifestRead): New field.
11060         (JarFile): Don't read Manifest in constructor.
11061         (getManifest): New method.
11062         (JarEnumeration.nextElement): Use new method.
11063         (getEntry): Likewise.
11064         * java/util/zip/ZipFile.java (name): Final.
11065         (raf): Likewsie.
11066         (entries): Change type to Hashtable.
11067         (closed): New field.
11068         (ZipFile): Don't read enties in constructor.
11069         (readEntries): Use Hashtable.
11070         (close): Set new close flag and set entries to null inside
11071         synchronized block.
11072         (entries): Contruct enumeration using new getEntries() method and
11073         entries Hashtable.
11074         (getEntryIndex): Removed.
11075         (getEntries): New method.
11076         (getEntry): Use new getEntries() method and entries Hastable.
11077         (getInputStream): Likewise.
11078         (size): Return getEntries().size().
11079         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11080         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11081         (time): Removed
11082         (dostime): New field.
11083         (zipFileIndex): Removed.
11084         (ZipEntry(ZipEntry)): Copy dostime.
11085         (setDOSTime): Now final and doesn't convert dos time.
11086         (getDOSTime): Likewise.
11087         (setTime): Convert dos time.
11088         (getTime): Likewise.
11089         (getCalendar): New method.
11090         (setExtra): Use setTime().
11091         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11092
11093 2002-12-03  Tom Tromey  <tromey@redhat.com>
11094
11095         * java/lang/Character.java (forDigit): Formatting fix.
11096
11097 2002-12-03  Raif Naffah  <raif@fl.net.au>
11098
11099         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11100         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11101         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11102
11103 2002-12-03  Andrew Haley  <aph@redhat.com>
11104
11105         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11106         _Jv_PushClass.
11107         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11108         (_Jv_PopClass): New.
11109         (_Jv_PushClass): New.
11110         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11111         discover the ClassLoader of our caller.
11112         (_Jv_CheckArrayStore): Don't check that a class is assignment
11113         compatible with Object.
11114         * java/lang/natVMTHrowable.cc: Delete.
11115         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11116         java.lang.VMThrowable.
11117         (StackTrace(), StackTrace(int)): New constructors.
11118         (classAt, methodAt, update, methodAtAddress): New methods.
11119         (map): New field.
11120         * java/lang/VMThrowable.java: Use StackTrace instead of
11121         natVMTHrowable.
11122         * java/lang/Class.h (getClassLoaderInternal): New.
11123         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11124         Be friendly with gnu::gcj::runtime::StackTrace.
11125         (Object.chain): New field.
11126         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11127         gnu::gcj::runtime::StackTrace.
11128         * gnu/gcj/runtime/natStackTrace.cc: New file.
11129         * gnu/gcj/runtime/MethodRef.java: New file.
11130         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11131         instead of getClassLoader().
11132         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11133         java::lang::VMThrowable.
11134         * Makefile.am (core_java_source_files): Add MethodRef.java,
11135         StackTrace.java.
11136         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11137         * Makefile.in: Rebuild.
11138
11139 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11140
11141         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11142         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11143         yes also for sh-linux* and sh[34]*-linux*.
11144         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11145         set SIGNAL_HANDLER to use DWARF2 exception for them.
11146         * configure: Regenerate.
11147
11148 2002-12-02  Tom Tromey  <tromey@redhat.com>
11149
11150         * jni.cc: Added `name' argument.
11151         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11152         `const char *' argument.
11153         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11154
11155 2002-12-01  Tom Tromey  <tromey@redhat.com>
11156
11157         Bug compatibility, for PR libgcj/8738:
11158         * java/io/CharArrayWriter.java (close): Do nothing.
11159         (flush): Likewise.
11160         (reset): Don't touch `closed'.
11161         (write(int)): Don't throw IOException.
11162         (write(char[],int,int)): Likewise.
11163         (write(String,int,int)): Likewise.
11164         (closed): Removed.
11165
11166 2002-12-01  Mark Wielaard  <mark@klomp.org>
11167
11168         * java/lang/SecurityManager.java: Remerge comments, indenting and
11169         checkXXX methods with Classpath.
11170
11171 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11172
11173         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11174         getNormalizedComponents): Fix calculation which was using one too
11175         many bits in the unnormalized format.
11176
11177 2002-11-29  Gary Benson  <gbenson@redhat.com>
11178
11179         For PR libgcj/8759:
11180         * java/beans/Introspector.java (flushCaches): New method.
11181         (flushFromCaches): Likewise.
11182
11183 2002-11-29  Michael Koch <konqueror@gmx.de>
11184
11185         * java/nio/channels/DatagramChannel.java
11186         (open): Added exception documentation.
11187         (write): Added exception documentation.
11188         (connect): Added exception documentation.
11189         (disconnect): Added exception documentation.
11190         (isConnected): Added exception documentation.
11191         (read): Added exception documentation.
11192         (receive): Added exception documentation.
11193         (send): Added exception documentation.
11194         (validOps): Added exception documentation.
11195         * java/nio/channels/SocketChannel.java
11196         (open): Added exception documentation.
11197         (read): Added exception documentation.
11198         (write): Added exception documentation.
11199         (connect): Added exception documentation.
11200         (finishConnect): Added exception documentation.
11201
11202 2002-11-29  Michael Koch <konqueror@gmx.de>
11203
11204         * gnu/java/nio/DatagramChannelImpl:
11205         (fd): New member variable to store file descriptor of socket.
11206         * gnu/java/nio/SelectionKeyImpl.java:
11207         (ops): Removed.
11208         (readyOps): New member variable.
11209         (interestOps): New member variable.
11210         (readyOps): Implemented.
11211         (readyOps): New method to set member variable readyOps.
11212         (interestOps): Replaced ops by interestOps.
11213         * gnu/java/nio/SelectorImpl.java:
11214         (SelectorImpl): Initialize key sets.
11215         (select): Call select with -1 instead of Long.MAX_VALUE).
11216         (java_do_select): Make it a native method.
11217         (getFDsAsArray): New helper method.
11218         (select): Remove canceled keys, give only interested file discriptors
11219         to java_do_select, set ready ops.
11220         (add): No need to initialize keys set here.
11221         (add_selected): No need to initialize selected set here.
11222         (deregisterCanceledKeys): New helper method.
11223         (register): Set interest ops, set attachments, added handling of datagram
11224         channels.
11225         * gnu/java/nio/ServerSocketChannelImpl:
11226         (SocketAccept): Renamed from NioSocketAccept.
11227         (implConfigureBlocking): Implemented.
11228         (accept): Use SocketAccept instead of NioSocketAccept.
11229         * gnu/java/nio/SocketChannelImpl:
11230         Reactivate native methods.
11231
11232 2002-11-29  Michael Koch <konqueror@gmx.de>
11233
11234         * gnu/java/nio/natByteBufferImpl.cc,
11235         gnu/java/nio/natCharBufferImpl.cc,
11236         gnu/java/nio/natDoubleBufferImpl.cc,
11237         gnu/java/nio/natFloatBufferImpl.cc,
11238         gnu/java/nio/natIntBufferImpl.cc,
11239         gnu/java/nio/natLongBufferImpl.cc,
11240         gnu/java/nio/natSelectorImpl.cc,
11241         gnu/java/nio/natServerSocketChannelImpl.cc,
11242         gnu/java/nio/natShortBufferImpl.cc,
11243         gnu/java/nio/natSocketChannelImpl.cc:
11244         New files that implement native functionalities.
11245
11246 2002-11-29  Michael Koch <konqueror@gmx.de>
11247
11248         * gnu/java/nio/ByteBufferImpl.java
11249         (ByteBufferImpl): Moved position() after limit.
11250         (nio_*): Use native implementation.
11251         * gnu/java/nio/CharBufferImpl.java:
11252         Reformated.
11253         (endian): New member variable string endianess of buffer.
11254         (CharBufferImpl): Moved position() after limit.
11255         (nio_*): Use native implementation.
11256         (subSequence): Implemented.
11257         * gnu/java/nio/DoubleBufferImpl.java
11258         (DoubleBufferImpl): Moved position() after limit.
11259         (nio_*): Use native implementation.
11260         * gnu/java/nio/FloatBufferImpl.java
11261         Reformated.
11262         (FloatBufferImpl): Moved position() after limit.
11263         (nio_*): Use native implementation.
11264         * gnu/java/nio/IntBufferImpl.java
11265         Added needed imports, Reformated.
11266         (IntBufferImpl): Moved position() after limit.
11267         (nio_*): Use native implementation.
11268         * gnu/java/nio/LongBufferImpl.java
11269         Reformated.
11270         (LongBufferImpl): Moved position() after limit.
11271         (nio_*): Use native implementation.
11272         * gnu/java/nio/ShortBufferImpl.java
11273         Reformated.
11274         (ShortBufferImpl): Moved position() after limit.
11275         (nio_*): Use native implementation.
11276
11277 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11278
11279         * java/util/Locale.java (toString): Improve efficiency if country
11280         and variant are both empty.
11281
11282 2002-11-26  Tom Tromey  <tromey@redhat.com>
11283
11284         * verify.cc (pop_init_ref): New method.
11285         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11286         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11287         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11288         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11289         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11290         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11291         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11292         let `this' argument be uninitialized.  Don't let `null' be passed
11293         as `this' to construtor.
11294
11295 2002-11-26  Mark Wielaard  <mark@klomp.org>
11296
11297         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11298         * javax/transaction/HeuristicMixedException.java: Likewise.
11299         * javax/transaction/HeuristicRollbackException.java: Likewise.
11300         * javax/transaction/InvalidTransactionException.java: Likewise.
11301         * javax/transaction/NotSupportedException.java: Likewise.
11302         * javax/transaction/RollbackException.java: Likewise.
11303         * javax/transaction/Status.java: Likewise.
11304         * javax/transaction/Synchronization.java: Likewise.
11305         * javax/transaction/SystemException.java: Likewise.
11306         * javax/transaction/Transaction.java: Likewise.
11307         * javax/transaction/TransactionManager.java: Likewise.
11308         * javax/transaction/TransactionRequiredException.java: Likewise.
11309         * javax/transaction/TransactionRolledbackException.java: Likewise.
11310         * javax/transaction/UserTransaction.java: Likewise.
11311         * javax/transaction/xa/XAException.java: Likewise.
11312         * javax/transaction/xa/XAResource.java: Likewise.
11313         * javax/transaction/xa/Xid.java: Likewise.
11314
11315 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11316
11317         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11318         define.
11319         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11320         * include/posix.h (socklen_t): Define if not already defined.
11321
11322 2002-11-25  Tom Tromey  <tromey@redhat.com>
11323
11324         * verify.cc (type::compatible): Backed out broken change.
11325
11326         * verify.cc (type::compatible): Check initialization status
11327         first.
11328         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11329         Don't use NULLCHECK.
11330
11331 2002-11-23  H.J. Lu <hjl@gnu.org>
11332
11333         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11334         Include ../config/accross.m4.
11335         * aclocal.m4; Rebuild.
11336         * configure: Likewise.
11337
11338 2002-11-23  Mark Wielaard  <mark@klomp.org>
11339
11340         * javax/naming/AuthenticationException.java: Update copyright header.
11341         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11342         * javax/naming/Binding.java: Likewise.
11343         * javax/naming/CannotProceedException.java: Likewise.
11344         * javax/naming/CommunicationException.java: Likewise.
11345         * javax/naming/CompositeName.java: Likewise.
11346         * javax/naming/CompoundName.java: Likewise.
11347         * javax/naming/ConfigurationException.java: Likewise.
11348         * javax/naming/Context.java: Likewise.
11349         * javax/naming/ContextNotEmptyException.java: Likewise.
11350         * javax/naming/InitialContext.java: Likewise.
11351         * javax/naming/InsufficientResourcesException.java: Likewise.
11352         * javax/naming/InterruptedNamingException.java: Likewise.
11353         * javax/naming/LimitExceededException.java: Likewise.
11354         * javax/naming/LinkException.java: Likewise.
11355         * javax/naming/LinkLoopException.java: Likewise.
11356         * javax/naming/LinkRef.java: Likewise.
11357         * javax/naming/MalformedLinkException.java: Likewise.
11358         * javax/naming/NameAlreadyBoundException.java: Likewise.
11359         * javax/naming/NameClassPair.java: Likewise.
11360         * javax/naming/NameNotFoundException.java: Likewise.
11361         * javax/naming/NameParser.java: Likewise.
11362         * javax/naming/NamingEnumeration.java: Likewise.
11363         * javax/naming/NamingSecurityException.java: Likewise.
11364         * javax/naming/NoInitialContextException.java: Likewise.
11365         * javax/naming/NoPermissionException.java: Likewise.
11366         * javax/naming/NotContextException.java: Likewise.
11367         * javax/naming/OperationNotSupportedException.java: Likewise.
11368         * javax/naming/PartialResultException.java: Likewise.
11369         * javax/naming/Reference.java: Likewise.
11370         * javax/naming/Referenceable.java: Likewise.
11371         * javax/naming/ReferralException.java: Likewise.
11372         * javax/naming/ServiceUnavailableException.java: Likewise.
11373         * javax/naming/SizeLimitExceededException.java: Likewise.
11374         * javax/naming/TimeLimitExceededException.java: Likewise.
11375         * javax/naming/directory/Attribute.java: Likewise.
11376         * javax/naming/directory/AttributeInUseException.java: Likewise.
11377         * javax/naming/directory/AttributeModificationException.java: Likewise.
11378         * javax/naming/directory/Attributes.java: Likewise.
11379         * javax/naming/directory/BasicAttribute.java: Likewise.
11380         * javax/naming/directory/BasicAttributes.java: Likewise.
11381         * javax/naming/directory/DirContext.java: Likewise.
11382         * javax/naming/directory/InitialDirContext.java: Likewise.
11383         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11384         Likewise.
11385         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11386         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11387         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11388         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11389         * javax/naming/directory/ModificationItem.java: Likewise.
11390         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11391         * javax/naming/directory/SchemaViolationException.java: Likewise.
11392         * javax/naming/directory/SearchControls.java: Likewise.
11393         * javax/naming/directory/SearchResult.java: Likewise.
11394         * javax/naming/event/EventContext.java: Likewise.
11395         * javax/naming/event/EventDirContext.java: Likewise.
11396         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11397         * javax/naming/event/NamingEvent.java: Likewise.
11398         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11399         * javax/naming/event/NamingListener.java: Likewise.
11400         * javax/naming/event/ObjectChangeListener.java: Likewise.
11401         * javax/naming/ldap/Control.java: Likewise.
11402         * javax/naming/ldap/ControlFactory.java: Likewise.
11403         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11404         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11405         * javax/naming/ldap/HasControls.java: Likewise.
11406         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11407         * javax/naming/ldap/LdapContext.java: Likewise.
11408         * javax/naming/ldap/LdapReferralException.java: Likewise.
11409         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11410         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11411         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11412         * javax/naming/spi/DirObjectFactory.java: Likewise.
11413         * javax/naming/spi/DirStateFactory.java: Likewise.
11414         * javax/naming/spi/DirectoryManager.java: Likewise.
11415         * javax/naming/spi/InitialContextFactory.java: Likewise.
11416         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11417         * javax/naming/spi/NamingManager.java: Likewise.
11418         * javax/naming/spi/ObjectFactory.java: Likewise.
11419         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11420         * javax/naming/spi/ResolveResult.java: Likewise.
11421         * javax/naming/spi/Resolver.java: Likewise.
11422         * javax/naming/spi/StateFactory.java: Likewise.
11423
11424         * javax/naming/spi/NamingManager.java (ofb): Package private.
11425
11426 2002-11-21  Mark Wielaard  <mark@klomp.org>
11427
11428         * java/net/URL.java: Merge with Classpath (partly).
11429         * java/net/URLStreamHandler: Merge with Classpath.
11430
11431 2002-11-22  Michael Koch <konqueror@gmx.de>
11432
11433         * include/posix.h:
11434         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11435         * include/win32.h:
11436         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11437         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11438
11439 2002-11-21  Michael Koch <konqueror@gmx.de>
11440
11441         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11442         Only the new network functions should be in it.
11443
11444 2002-11-21  Michael Koch <konqueror@gmx.de>
11445
11446         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11447         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11448
11449 2002-11-21  Michael Koch <konqueror@gmx.de>
11450
11451         * java/nio/channels/AsynchronousCloseException.java,
11452         java/nio/channels/CancelledKeyException.java,
11453         java/nio/channels/ClosedByInterruptException.java,
11454         java/nio/channels/ConnectionPendingException.java,
11455         java/nio/channels/FileLockInterruptionException.java,
11456         java/nio/channels/IllegalSelectorException.java,
11457         java/nio/channels/NoConnectionPendingException.java,
11458         java/nio/channels/NonReadableChannelException.java,
11459         java/nio/channels/NonWritableChannelException.java,
11460         java/nio/channels/NotYetBoundException.java,
11461         java/nio/channels/NotYetConnectedException.java,
11462         java/nio/channels/OverlappingFileLockException.java,
11463         java/nio/channels/UnresolvedAddressException.java,
11464         java/nio/channels/UnsupportedAddressTypeException.java:
11465         New files.
11466         * Makefile.am (ordinary_java_source_files): Added new files.
11467         * Makefile.in: Regenerated.
11468
11469 2002-11-21  Michael Koch <konqueror@gmx.de>
11470
11471         * include/posix.h
11472         (_Jv_socket): New method.
11473         (_Jv_connect): New method.
11474         (_Jv_close): New method.
11475         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11476         (_Jv_bind): New method.
11477         (_Jv_listen): New method.
11478         (_Jv_write): New method.
11479         (_Jv_read): New method.
11480         * include/win32.h
11481         (_Jv_socket): New method.
11482         (_Jv_connect): New method.
11483         (_Jv_close): New method.
11484         (_Jv_bind): New method.
11485         (_Jv_listen): New method.
11486         (_Jv_write): New method.
11487         (_Jv_read): New method.
11488         * java/net/natNetworkInterface.cc:
11489         Include platform.h, removed inclusion of socket.h
11490         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11491         ::close() by _Jv_close().
11492         * java/net/natPlainDatagramSocketImpl.cc:
11493         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11494         added some new lines to make code more readable.
11495         (create): Replaced ::socket() by _Jv_socket().
11496         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11497         * java/net/natPlainSocketImpl.cc:
11498         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11499         removed include of socket.h, removed some windows defines
11500         (now in include/win32.h).
11501         (create): Replaced ::socket() by _Jv_socket().
11502         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11503         (write): Replaced ::read by _Jv_write().
11504         (read): Replaced ::read by _Jv_read().
11505
11506 2002-11-20  Michael Koch <konqueror@gmx.de>
11507
11508         * Makefile.am (ordinary_java_source_files):
11509         Added java/nio/channels/FileChannel.java.
11510         * Makefile.in: Regenerated.
11511
11512 2002-11-20  Michael Koch <konqueror@gmx.de>
11513
11514         * java/io/FileInputStream.java
11515         (getChannel): New method.
11516         * java/io/FileOutputStream.java
11517         (getChannel): New method.
11518         * java/net/ServerSocket.java
11519         (bind): Removed duplicate code and called another bind method instead.
11520         * java/nio/channels/SelectionKey.java
11521         (isValid): Removed wrong exception documentation.
11522         * java/nio/channels/ServerSocketChannel.java
11523         (accept): Added exception documentation.
11524         (open): Fixed typo, added exception documentation.
11525         * java/nio/channels/spi/AbstractSelectableChannel.java
11526         (implCloseChannel): Added exception documentation.
11527         (add): Reformated.
11528         (register): Added exception documentation.
11529
11530 2002-11-20  Andreas Jaeger  <aj@suse.de>
11531
11532         * configure: Regenerated with new libtool.m4.
11533
11534 2002-11-19  Tom Tromey  <tromey@redhat.com>
11535
11536         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11537         `referent'.
11538         (finalize_referred_to_object): Don't modify `referent' or `copy'
11539         fields.
11540         (add_to_hash): Correctly set `n->next' when updating list.
11541         * java/lang/ref/Reference.java (enqueue): Return false if already
11542         enqueued.
11543
11544 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11545
11546         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11547         to function and function pointer declarations in accordance with
11548         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11549         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11550         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11551         JNI function definitions.
11552
11553 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11554
11555         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11556         that was causing CoderResults to be cached, not WeakReferences
11557         to CoderResults.
11558
11559 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11560
11561         * java/security/KeyStore.java (getInstance): Fix
11562         comment and throw IllegalArgumentException if
11563         given provider is null.
11564         (getInstance): New method for jdk1.4 compatibility.
11565
11566 2002-11-18  Michael Koch <konqueror@gmx.de>
11567
11568         * java/net/PlainSocketImpl.java: Fix imports.
11569
11570 2002-11-18  Michael Koch <konqueror@gmx.de>
11571
11572         * java/nio/channels/SelectionKey.java
11573         (isValid): Added exception documentation.
11574         * java/nio/channels/Selector.java
11575         (open): Declare "throws IOException".
11576
11577 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11578
11579         * java/nio/charset/Charset.java
11580         (<clinit>): New method.
11581         (encode): Synchronize use of cached encoder object.
11582         (decode): Synchronize use of cached encoder object.
11583
11584 2002-11-18  Michael Koch <konqueror@gmx.de>
11585
11586         * gnu/java/nio/ByteBufferImpl.java,
11587         gnu/java/nio/CharBufferImpl.java,
11588         gnu/java/nio/DatagramChannelImpl.java,
11589         gnu/java/nio/DoubleBufferImpl.java,
11590         gnu/java/nio/FileChannelImpl.java,
11591         gnu/java/nio/FloatBufferImpl.java,
11592         gnu/java/nio/IntBufferImpl.java,
11593         gnu/java/nio/LongBufferImpl.java,
11594         gnu/java/nio/PipeImpl.java,
11595         gnu/java/nio/SelectionKeyImpl.java,
11596         gnu/java/nio/SelectorImpl.java,
11597         gnu/java/nio/SelectorProviderImpl.java,
11598         gnu/java/nio/ServerSocketChannelImpl.java,
11599         gnu/java/nio/ShortBufferImpl.java,
11600         gnu/java/nio/SocketChannelImpl.java,
11601         java/nio/DoubleBuffer.java,
11602         java/nio/FloatBuffer.java,
11603         java/nio/IntBuffer.java,
11604         java/nio/LongBuffer.java,
11605         java/nio/ShortBuffer.java,
11606         java/nio/channels/FileChannel.java: New files.
11607
11608 2002-11-18  Michael Koch <konqueror@gmx.de>
11609
11610         * Makefile.am (ordinary_java_source_files):
11611         Added java/nio/ReadOnlyBufferException.java and
11612         java/nio/channels/ClosedSelectorException.java.
11613         * Makefile.in: Regenerated.
11614
11615 2002-11-18  Michael Koch <konqueror@gmx.de>
11616
11617         * java/net/PlainSocketImpl.java: Reworked imports.
11618         * java/net/ServerSocket.java
11619         (ServerSocket): Create socket.
11620         * java/net/SocketAddress.java: Documentation added.
11621         * java/net/natPlainSocketImpl.cc: Reindented.
11622         * java/nio/ReadOnlyBufferException.java: New file
11623         * java/nio/channels/ClosedChannelException.java: Documentation added.
11624         * java/nio/channels/ClosedSelectorException.java: New file.
11625
11626 2002-11-17  Mark Wielaard  <mark@klomp.org>
11627
11628         * java/net/HttpURLConnection.java ((getPermission): Take port
11629         into consideration.
11630         (getErrorStream): Implement.
11631
11632 2002-11-17  Mark Wielaard  <mark@klomp.org>
11633
11634         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11635
11636 2002-11-16  Mark Wielaard  <mark@klomp.org>
11637
11638         Integrate work by Raif S. Naffah (raif@fl.net.au)
11639         * java/security/DummyKeyPairGenerator.java (clone): New method.
11640         * java/security/DummyMessageDigest.java (clone): New method.
11641         (engineUpdate): Now public.
11642         (engineReset): Likewise.
11643         (engineDigest): Likewise.
11644         (engineGetDigestLength): New method.
11645         * java/security/DummySignature.java (clone): New method.
11646         * java/security/KeyPairGenerator.java (provider): Now package private.
11647         (getInstance(String)): Use getInstance(String,Provider).
11648         (getInstance(String,String): Use getInstance(String,Provider)
11649         (getInstance(String,Provider): New method.
11650         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11651         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11652         * java/security/MessageDigest.java (provider): Now package private.
11653         (getInstance(String): Use getInstance(String,Provider).
11654         (getInstance(String,String): Use getInstance(String,Provider)
11655         (getInstance(String,Provider): New method.
11656         * java/security/Provider.java (toCanonicalKey): New method.
11657         (get): New method that uses toCanonicalKey().
11658         (put): Use toCanonicalKey().
11659         (remove): Likewise.
11660         * java/security/Security.java (insertProviderAt): Provider index is one
11661         based, not zero based.
11662         (addProvider): Likewise.
11663         (removeProvider): Likewise.
11664         * java/security/Signature.java (provider): Now package private.
11665         (getInstance(String)): Use getInstance(String,Provider).
11666         (getInstance(String,String): Use getInstance(String,Provider)
11667         (getInstance(String,Provider): New method.
11668         (getInstance(String,String,Provider): Don't cast DummySignature.
11669
11670 2002-11-15  Tom Tromey  <tromey@redhat.com>
11671
11672         For PR libgcj/8593:
11673         * java/util/zip/GZIPInputStream.java (read): Check file size.
11674         Look in inflater for remaining input bytes.
11675         (read4): Added buf and offset arguments.
11676
11677 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11678
11679         * java/applet/AppletContext.java: Fix typo and remove redundant
11680         modifiers.
11681
11682 2002-11-14  Tom Tromey  <tromey@redhat.com>
11683
11684         * java/lang/natRuntime.cc (insertSystemProperties): Set
11685         gnu.classpath.home.
11686
11687 2002-11-13  Michael Koch <konqueror@gmx.de>
11688
11689         * java/nio/ByteBuffer.java
11690         (allocate): New method.
11691         (wrap): New method.
11692         (put): New method.
11693         (get): New method.
11694
11695 2002-11-13  Michael Koch <konqueror@gmx.de>
11696
11697         * java/nio/channels/AlreadyConnectedException.java:
11698         Removed unneeded import.
11699         (AlreadyConnectedException): Documentation added.
11700         * java/nio/channels/Pipe.java
11701         (SinkChannel.SinkChannel): Documentation added.
11702         (SinkChannel.validOps): New method.
11703         (SourceChannel.SourceChannel): Documentation added.
11704         (SourceChannel.validOps): New method.
11705         (Pipe): Documentation added.
11706         (open): Documentation added.
11707         (SinkChannel.channel): Documentation added.
11708         (SourceChannel.channel): Documentation added.
11709         * java/nio/channel/SelectableChannel.java
11710         (SelectableChannel): Documentation added.
11711         (blockingLock): Documentation added.
11712         (configureBlocking):Documentation added.
11713         (isBlocking):Documentation added.
11714         (isRegistered):Documentation added.
11715         (keyFor):Documentation added.
11716         (provider):Documentation added.
11717         (register): Documentation added.
11718         (validOps): Documentation added.
11719         * jaba/nio/channels/SelectionKey.java
11720         (SelectionKey): Documentation added.
11721         (attach): Documentation added.
11722         (attachment): Documentation added.
11723         (isAcceptable): Documentation added.
11724         (isConnetable): Documentation added.
11725         (isReadable): Documentation added.
11726         (isWritable): Documentation added.
11727         (cancel): Documentation added.
11728         (channel): Documentation added.
11729         (interestOps): Documentation added.
11730         (isValid): Documentation added.
11731         (readyOps): Documentation added.
11732         (selector): Documentation added.
11733         * jaba/nio/channels/Selector.java
11734         (Selector): Documentation added.
11735         (open): Documentation added.
11736         (close): Documentation added.
11737         (isOpen): Documentation added.
11738         (keys): Documentation added.
11739         (provider): Documentation added.
11740         (select): Documentation added.
11741         (selectedKeys): Documentation added.
11742         (selectNow): Documentation added.
11743         (wakeup): Documentation added.
11744         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11745         (AbstractInterruptibleChannel): Documentation added.
11746         (opened): Default to true;
11747         (begin): Documentation added.
11748         (close): Set opened to false, documentation added.
11749         (isOpen): Documentation added.
11750         * java/nio/channels/spi/AbstractSelectionKey.java
11751         (AbstractSelectionKey): Documentation added.
11752         (cancel): Documentation added.
11753         (isValid): Documentation added.
11754         * java/nio/channels/spi/AbstractSelector.java
11755         (AbstractSelector): Documentation added.
11756         (begin): Documentation added.
11757         (close): Documentation added.
11758         (isOpen): Documentation added.
11759         (deregister): Documentation added.
11760         (end): Documentation added.
11761         (provider): Documentation added.
11762         (implCloseSelector): Documentation added.
11763         (register): Documentation added.
11764         * java/nio/channels/spi/SelectorProvider.java
11765         (SelectorProvider): Documentation added.
11766         (openDatagramChannel): Documentation added.
11767         (openPipe): Documentation added.
11768         (openSelector): Documentation added.
11769         (openServerSocketChannel): Documentation added.
11770         (openSocketChannel): Documentation added.
11771         (provider): Documentation added.
11772
11773 2002-11-12  Michael Koch <konqueror@gmx.de>
11774
11775         * java/nio/Buffer.java: Implemented.
11776         * java/nio/CharBuffer.java: New file.
11777         * java/nio/InvalidMarkException.java: New file.
11778         * java/nio/channels/DatagramChannel.java: Implemented.
11779         * java/nio/channels/ServerSocketChannel.java: Implemented.
11780         * java/nio/channels/SocketChannel.java: Implemented.
11781         * java/nio/channels/spi/AbstractChannel.java: Removed.
11782         * java/nio/channels/spi/AbstractSelectableChannel.java:
11783         Implemented.
11784         * java/nio/charset/Charset.java:
11785         Merge from Classpath.
11786         * java/nio/charset/CharsetDecoder.java: New file.
11787         * java/nio/charset/CharsetEncoder.java: New file.
11788         * java/nio/charset/CoderResult.java: New file.
11789         * Makefile.am (ordinary_java_source_files): Added new files.
11790         * Makefile.in: Regenerated.
11791
11792 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11793
11794         * gnu/java/nio/charset/ISO_8859_1.java,
11795         gnu/java/nio/charset/Provider.java,
11796         gnu/java/nio/charset/US_ASCII.java,
11797         gnu/java/nio/charset/UTF_16.java,
11798         gnu/java/nio/charset/UTF_16BE.java,
11799         gnu/java/nio/charset/UTF_16Decoder.java,
11800         gnu/java/nio/charset/UTF_16Encoder.java,
11801         gnu/java/nio/charset/UTF_16LE.java,
11802         gnu/java/nio/charset/UTF_8.java: New files.
11803
11804 2002-11-11  Michael Koch <konqueror@gmx.de>
11805
11806         * java/nio/charset/CharacterCodingException.java:
11807         This class must be public.
11808         * java/nio/charset/CoderMalfunctionError.java:
11809         This class must be public.
11810         * java/nio/charset/CodingErrorAction.java:
11811         This class must be public.
11812         * java/nio/charset/IllegalCharsetNameException.java:
11813         This class must be public, better implementation.
11814         * java/nio/charset/MalformedInputException.java:
11815         This class must be public, better implementation.
11816         * java/nio/charset/UnmappableCharacterException.java:
11817         This class must be public, better implementation.
11818         * java/nio/charset/UnsupportedCharsetException.java:
11819         This class must be public, better implementation.
11820
11821 2002-11-11  Michael Koch <konqueror@gmx.de>
11822
11823         * java/nio/BufferOverflowException.java,
11824         java/nio/BufferUnderflowException.java: New file.
11825         * Makefile.am (ordinary_java_source_files):
11826         Added new files.
11827         * Makefile.in: Regenerated.
11828
11829 2002-11-10  Tom Tromey  <tromey@redhat.com>
11830
11831         * java/awt/Container.java (validate): Use tree lock.
11832         (getComponent): Likewise.
11833         (getComponents): Likewise.
11834         (addImpl): Likewise.
11835         (remove): Likewise.
11836         (removeAll): Likewise.
11837         (processEvent): Fixed indentation.
11838         (getComponentAt): Use tree lock.
11839         (findComponentAt): Likewise.
11840         (removeNotify): Likewise.
11841         (isAncestorOf): Likewise.
11842         (list): Likewise.
11843         (visitChildren): Likewise.
11844         (findNextFocusComponent): Likewise.
11845         (addNotifyContainerChildren): Likewise.
11846         (getAccessibleChildrenCount): Likewise.
11847         (getAccessibleChild): Likewise.
11848
11849         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11850         (getSize): Likewise.
11851         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11852         (getSize): Likewise.
11853         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11854         (calcSize): Likewise.
11855         * java/awt/CardLayout.java (getSize): Use tree lock.
11856         (gotoComponent): Likewise.
11857         (layoutContainer): Likewise.
11858
11859         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11860         count is 0.
11861         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11862         count is 0.
11863
11864         * java/io/Externalizable.java, java/io/FilePermission.java,
11865         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11866         java/io/SerializablePermission.java, java/text/Format.java,
11867         java/util/AbstractMap.java, java/util/HashMap.java,
11868         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11869         versions from Classpath.
11870
11871 2002-11-10  Anthony Green  <green@redhat.com>
11872
11873         * java/util/jar/Attributes.java (Name): Fix name check.
11874
11875 2002-11-10  Mark Wielaard  <mark@klomp.org>
11876
11877         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11878         with getName() as message.
11879         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11880         type as message.
11881
11882         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11883         unused.
11884
11885 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11886
11887         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11888         for Win32. JNICALL has been defined to __stdcall to be compatible
11889         with Sun's JDKs.
11890
11891 2002-11-10  Tom Tromey  <tromey@redhat.com>
11892
11893         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11894         (setRows): Check newRows, not rows.
11895
11896         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11897
11898 2002-11-09  Tom Tromey  <tromey@redhat.com>
11899
11900         * java/applet/Applet.java, java/applet/AppletContext.java,
11901         java/applet/AppletStub.java, java/applet/AudioClip.java,
11902         java/awt/CardLayout.java,
11903         java/awt/ContainerOrderFocusTraversalPolicy.java,
11904         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11905         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11906         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11907         java/awt/color/ICC_ColorSpace.java,
11908         java/awt/color/ICC_Profile.java,
11909         java/awt/color/ICC_ProfileGray.java,
11910         java/awt/color/ICC_ProfileRGB.java,
11911         java/awt/datatransfer/DataFlavor.java,
11912         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11913         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11914         New versions from Classpath.
11915         * Makefile.in: Rebuilt.
11916         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11917         ICC_ProfileRGB.
11918
11919         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11920         display policy.
11921
11922         * java/awt/List.java (processEvent): Added missing `else's.
11923
11924         * java/awt/Window.java (show): validate() before showing.  Make
11925         parent displayable.
11926         (isDisplayable): New method.
11927
11928 2002-11-07  Mark Wielaard  <mark@klomp.org>
11929
11930         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11931         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11932
11933         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11934         annotation.
11935         (loadClass): Take String as codebases.
11936         (getClassAnnotation): Use MyClassLoader annotations.
11937         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11938         call exportObject(this).
11939
11940         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11941         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11942         (setAnnotation): Don't set locBytesStream and locStream.
11943         (replaceObject): Removed.
11944         (flush): Don't test locStream.
11945         (getLocBytes): LikeWise.
11946         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11947         (leaseCache): New field.
11948         (dirty): Use leaseCache.
11949         (LeaseRecord): New inner class.
11950         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11951         explicitly call exportObject().
11952         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11953         false to communicate with Sun JDK130.
11954         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11955         * gnu/java/rmi/server/RMIObjectInputStream.java
11956         (UnicastConnectionManager): Removed field.
11957         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11958         Use UnicastServer.getExportedRef().
11959         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11960         (expireTime): Likewise.
11961         (CONNECTION_TIMEOUT): Likewise.
11962         (disconnect): Call sock.close().
11963         (isExpired): New method.
11964         (resetTime): Likewise.
11965         (run): Use do while loop and catch Exception for discardConnection().
11966         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11967         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11968         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11969         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11970         (exportObject): Use refcache.
11971         (unexportObject): Likewise.
11972         (getExportedRef): New method.
11973         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11974         constructor.
11975         (exportObject): Save manager.serverobj.
11976         (getStub): New method.
11977
11978 2002-11-07  Mark Wielaard  <mark@klomp.org>
11979
11980         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11981         (getByte): Likewise.
11982         (getShort): Likewise.
11983         (getInt): Likewise.
11984         (getLong): Likewise.
11985         (getFloat): Likewise.
11986         (getDouble): Likewise.
11987         (get): Likewise.
11988         (setChar): Likewise.
11989         (setByte): Likewise.
11990         (setShort): Likewise.
11991         (setInt): Likewise.
11992         (setLong): Likewise.
11993         (setFloat): Likewise.
11994         (setDouble): Likewise.
11995
11996 2002-11-07  Michael Koch <konqueror@gmx.de>
11997
11998         * java/awt/Choice.java,
11999         java/awt/Container.java,
12000         java/awt/GridBagLayout.java:
12001         Fixed documentation.
12002         * java/awt/peer/ContainerPeer.java:
12003         Reindented.
12004
12005 2002-11-07  Michael Koch <konqueror@gmx.de>
12006
12007         * java/awt/color/ICC_Profile.java:
12008         Added missing constants.
12009         * java/awt/color/ICC_ColorSpace.java
12010         (getMinValue): Added dummy implementation.
12011         (getMaxValue): Added dummy implementation.
12012         * java/awt/datatransfer/DataFlavor.java
12013         (imageFlavor): Added.
12014         (isMimeTypeEqual): Must be final.
12015         (getDefaultRepresentationClass): Must be non-static.
12016         (getDefaultRepresentationClassAsString): Must be non-static.
12017         * java/awt/dnd/DragSourceContext.java
12018         (dragExit): Corrected argument.
12019         (dragDropEnd): Corrected argument.
12020         * java/awt/dnd/DragSourceListener.java.java
12021         (dragExit): Corrected argument.
12022         (dragDropEnd): Corrected argument.
12023         * java/awt/font/TextHitInfo.java
12024         (toString): Added stubbed implementation.
12025         * java/awt/geom/PathIterator.java:
12026         The constants must be static.
12027         * java/awt/image/VolatileImage.java
12028         (IMAGE_INCOMPATIBLE): Fixed typo.
12029         * java/awt/image/renderable/RenderableImage.java
12030         (HINTS_OBSERVED): Must be static.
12031         * java/beans/BeanInfo.java:
12032         Constants must be final.
12033
12034 2002-11-06  Tom Tromey  <tromey@redhat.com>
12035
12036         From svens@it.uu.se.  For PR libgcj/8481.
12037         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12038
12039 2002-11-06  Tom Tromey  <tromey@redhat.com>
12040
12041         * jni.cc (array_from_valist): Assume that jlong won't be
12042         promoted.
12043
12044 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12045
12046         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12047         Return 20.
12048         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12049         Return 16.
12050
12051 2002-11-03  Tom Tromey  <tromey@redhat.com>
12052
12053         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12054         VMClassLoader, not findClass.
12055
12056 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12057
12058         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12059         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12060         _Jv_DetermineVTableIndex, to determine vtable offset.
12061         (_Jv_DetermineVTableIndex): Remove.
12062         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12063
12064         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12065
12066 2002-11-03  Tom Tromey  <tromey@redhat.com>
12067
12068         * java/nio/channels/AlreadyConnectedException.java: Extend
12069         IllegalStateException, per spec.
12070
12071 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12072
12073         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12074
12075 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12076
12077         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12078         size items.
12079
12080 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12081
12082         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12083         initial estimated size to avoid enlarge buffer frequently.
12084
12085 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12086
12087         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12088         ClassLoader when null.
12089         (ProxyType.hashCode): Loader null check no longer needed.
12090         (ProxyType.sameTypes): New method.
12091         (ProxyType.equals): Use new method.
12092
12093 2002-10-31  Mark Wielaard  <mark@klomp.org>
12094
12095         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12096         length of String.
12097         * java/net/URLEncoder.java (encode): Likewise.
12098
12099 2002-10-31  Mark Wielaard  <mark@klomp.org>
12100
12101         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12102         when stream is closed.
12103         (closeEntry): Likewise.
12104         (read): Likewise.
12105         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12106         ZipException when no entry active.
12107         (closeEntry): Likewise.
12108         (write): Likewise.
12109
12110 2002-11-02  Tom Tromey  <tromey@redhat.com>
12111
12112         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12113         * java/lang/natClass.cc (initializeClass): Don't return just
12114         because self==thread.
12115
12116         For PR java/8415:
12117         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12118         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12119
12120 2002-11-02  Andreas Schwab  <schwab@suse.de>
12121
12122         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12123         pass GCJFLAGS.
12124         (FLAGS_TO_PASS): Define.
12125         * Makefile.in: Regenerated.
12126
12127 2002-11-01  Michael Koch  <konqueror@gmx.de>
12128
12129         * java/nio/ByteOrder.java: New file.
12130         * java/nio/channels/DatagramChannel.java:
12131         (DatagramChannel): New constructor.
12132         * java/nio/channels/Pipe.java: New file.
12133         * java/nio/channels/SelectableChannel.java: New file.
12134         * java/nio/channels/SelectionKey.java: New file.
12135         * java/nio/channels/Selector.java: New file.
12136         * java/nio/channels/ServerSocketChannel.java
12137         (ServerSocketChannel): New constructor.
12138         * java/nio/channels/SocketChannel.java
12139         (SocketChannel): New constructor.
12140         * java/nio/channels/Pipe.java: New file.
12141         * java/nio/channels/spi/AbstractChannel.java: New file.
12142         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12143         * java/nio/channels/spi/AbstractSelectableChannel.java:
12144         License added
12145         (AbstractSelectableChannel): New stubbed method.
12146         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12147         * java/nio/channels/spi/AbstractSelector.java: New file.
12148         * java/nio/channels/spi/SelectorProvider.java: New file.
12149         * java/nio/charset/Charset.java: New file.
12150         * java/nio/charset/CoderMalfunctionError.java: New file.
12151         * java/nio/charset/CodingErrorAction.java: New file.
12152         * java/nio/charset/spi/CharsetProvider.java
12153         (charsetForName): Uncommented.
12154         * Makefile.am (java_native_source_files): Added new files.
12155         * Makefile.in: Regenerated.
12156
12157 2002-11-01  Michael Koch  <konqueror@gmx.de>
12158
12159         * java/net/InetAddress.java:
12160         (isAnyLocalAddress): Implemented.
12161         (isLoopbackAddress): Implemented, comment added.
12162         (isLinkLocalAddress): Implemented, documentation added.
12163         (isSiteLocalAddress): Implemented, documentation added.
12164         (isMCGlobal): Implemented, documentation added.
12165         (isMCNodeLocal): Implemented, documentation added.
12166         (isMCLinkLocal): Implemented, documentation added.
12167         (isMCSiteLocal): Implemented, documentation added.
12168         (isMCOrgLocal): Implemented, documentation added.
12169         (getHostName): Documentation added.
12170         (getCanonicalHostName): Implemented, documentation added.
12171         (getAddress): Documentation added.
12172         (hashCode): Documentation added.
12173         (equals): Documentation added.
12174         (toString): Fixed implementation.
12175         (getByAddress): Use Inet4Address and Inet6Address.
12176         (lookup): New linewrap.
12177         (getByName): SecurityManager check added, support Inet4Address and
12178         Inet6address, comments added.
12179         (getAllByName): SecurityManager check added, comments added.
12180         * java/net/Inet6Address.java:
12181         (Inet6Address): Initialize parent class with addr instead of null.
12182         * java/net/URL.java
12183         (equals): Documentation added.
12184         (getFile): Documentation added.
12185         (hashCode): Documentation added.
12186         * java/net/natInetAddress.cc:
12187         (aton): Fix IPv6 support.
12188         * java/net/natPlainDatagramSocketImpl.cc:
12189         (peek): Throw PortUnreachableException when suitable.
12190         (peekData): Throw PortUnreachableException when suitable.
12191         (send): Throw PortUnreachableException when suitable.
12192         (receive): Throw PortUnreachableException when suitable.
12193
12194 2002-10-27  Mark Wielaard  <mark@klomp.org>
12195
12196         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12197         argument.
12198         (readLeShort): Likewise and use byte[].
12199         (readLeInt): Likewise.
12200         (readEntries): Use new versions of methods and use byte[] for reading
12201         a complete zip entry. Add ZipFile name to exceptions.
12202         (entries): Add ZipFile name to exceptions.
12203         (getEntry): Likewise.
12204         (checkLocalHeader): Use new versions of methods and add ZipFile name
12205         to exceptions.
12206
12207 2002-10-31  Mark Anderson  <mark@panonet.net>
12208
12209         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12210         added
12211
12212 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12213
12214         * configure.in: Disable hash sync when not using threads.
12215         * configure: Regenerated.
12216
12217 2002-10-24  Tom Tromey  <tromey@redhat.com>
12218
12219         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12220         (_Jv_FindSymbolInExecutable): Removed argument name.
12221         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12222         java.library.path is set.
12223
12224         * gij.cc (help): Document --showversion.
12225         (version): Don't exit.
12226         (main): Handle --showversion.  Exit if --version given.
12227
12228 2002-10-23  Tom Tromey  <tromey@redhat.com>
12229
12230         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12231         (array_from_valist): Correctly handle promotion for jint, jlong,
12232         jfloat, and jdouble.
12233
12234 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12235
12236         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12237         GetFileAttributesEx( ) to find file length and modification times,
12238         as the latter is not present on Windows 95.
12239
12240 2002-10-21  Michael Koch  <konqueror@gmx.de>
12241
12242         * java/net/URL.java
12243         (URL): Activate SecurityManager checks.
12244         (equals): Use URLStreamHandler implementation instead of doing it
12245         alone. This allows special protocol stream handlers to change default
12246         behaviour.
12247         (hashCode): Use URLStreamHandler implementation instead of doing it
12248         alone. This allows special protocol stream handlers to change default
12249         behaviour.
12250         * java/net/URLStreamHandler.java
12251         (equals): Implemented default URL equality check.
12252         (hostsEqual): Implemented default URL equality check.
12253         (hashCode): Implemented default URL hashCode algorithm.
12254         * java/net/natPlainDatagramSocketImpl.cc:
12255         No lines longer then 80 characters.
12256
12257 2002-10-20  Adam Megacz <adam@xwt.org>
12258
12259         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12260         * configure.in: enabled hash sync on Win32
12261         * include/win32-threads.h (_Jv_ThreadId_t): added.
12262         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12263         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12264         removed some posix-isms, use Thread::sleep() instead of usleep,
12265         added code to clear bottom three bits if platform has a broken
12266         linker.
12267         * include/win32-threads.h (_Jv_ThreadId_t): added.
12268
12269 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12270
12271         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12272         runtime property "gnu.gcj.progname" containing the name used to
12273         invoke the current Java program (similar to argv[0] for C
12274         programs).
12275
12276 2002-10-15  Tom Tromey  <tromey@redhat.com>
12277
12278         Fix for PR libgcj/8234:
12279         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12280         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12281
12282 2002-10-13  Mark Wielaard  <mark@klomp.org>
12283
12284         * mauve-libgcj: Enable Mauve tests that compile now.
12285
12286 2002-10-11  Mark Wielaard  <mark@klomp.org>
12287
12288         Fix for PR libgcj/8142
12289         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12290         loading native modules.
12291
12292 2002-10-10  Michael Koch  <konqueror@gmx.de>
12293
12294         * javax/swing/AbstractListModel.java
12295         (getListDataListeners): New stubbed method.
12296         javax/swing/DefaultBoundedRangeModel.java
12297         (getChangeListeners): New stubbed method.
12298         javax/swing/DefaultSingleSelectionModel.java
12299         (getChangeListeners): New stubbed method.
12300
12301 2002-10-10  Michael Koch  <konqueror@gmx.de>
12302
12303         * gcj/.cvsignore: New file to ignore files generated during build.
12304         * include/.cvsignore: New file to ignore files generated during build.
12305
12306 2002-10-10  Michael Koch  <konqueror@gmx.de>
12307
12308         * java/net/HttpURLConnection.java
12309         (getPermission): New method.
12310         (getErrorStream): New stub method.
12311         (getHeaderFieldDate): New stub method.
12312         * java/net/Inet4Address.java:
12313         (isLinkLocalAddress): Typo fixed.
12314         * java/net/InetAddress.java:
12315         (readResolve): New stubbed method (for serialization).
12316         (isAnyLocalAddress): New stubbed method.
12317         (isLoopbackAddress): New stubbed method.
12318         (isLinkLocalAddress): New stubbed method.
12319         (isSiteLocalAddress): New stubbed method.
12320         (isMCGlobal): New stubbed method.
12321         (isMCNodeGlobal): New stubbed method.
12322         (isMCLinkLocal): New stubbed method.
12323         (isMCSiteLocal): New stubbed method.
12324         (isMCOrgLocal): New stubbed method.
12325         (getCanonicalHostName): New stubbed method.
12326         (getByAddress): Create instances of Inet4Address/Inet6Address,
12327         instead of InetAddress, documentation added.
12328         * java/net/MulticastSocket.java
12329         (getInterface): Removed FIXME.
12330         (getNetworkInterface): New method.
12331         (setNetworkInterface): New method.
12332         * java/net/NetworkInterface.java:
12333         (toString): Use property "line.separator" instead of "\n".
12334         * java/net/URLConnection.java
12335         (getContent): New stubbed method.
12336         * java/net/URLStreamHandler.java:
12337         (equals): New stubbed method.
12338         (hostsEqual): New stubbed method.
12339         (hashCode): New stubbed method.
12340         * java/net/natNetworkInterface.cc:
12341         (getRealNetworkInterfaces): Create Inet4Address object
12342         instead of InetAddress.
12343
12344 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12345
12346         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12347         unsigned long temporary to implement insn_iushr shifts.
12348
12349 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12350
12351         * configure.host [s390*-*]: Enable Java interpreter.
12352         Enable hash synchronization.  Add sysdeps dir.
12353         * sysdep/s390/locks.h: New file.
12354
12355 2002-10-06  Mark Wielaard  <mark@klomp.org>
12356
12357         * java/lang/Thread.java (setDaemon): Check startable_flag,
12358         not isAlive().
12359
12360 2002-10-07  Michael Koch  <konqueror@gmx.de>
12361
12362         * java/nio/Buffer.java: New stub file.
12363         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12364         of class Charset.
12365         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12366         * Makefile.in: Regenerated.
12367
12368 2002-10-07  Michael Koch  <konqueror@gmx.de>
12369
12370         * java/nio/ByteBuffer.java:
12371         removed import of not commited class.
12372
12373 2002-10-07  Michael Koch  <konqueror@gmx.de>
12374
12375         * java/nio/ByteBuffer.java,
12376         java/nio/MappedByteBuffer.java:
12377         New files, forgot to add these dummies.
12378         * Makefile.am (java_native_source_files): Added new files.
12379         * Makefile.in: Regenerated.
12380
12381 2002-10-07  Michael Koch  <konqueror@gmx.de>
12382
12383         * java/nio/channels/AlreadyConnectedException.java,
12384         java/nio/channels/ClosedChannelException.java,
12385         java/nio/channels/ReadableByteChannel.java,
12386         java/nio/channels/InterruptibleChannel.java,
12387         java/nio/channels/Channel.java,
12388         java/nio/channels/ByteChannel.java,
12389         java/nio/channels/GatheringByteChannel.java,
12390         java/nio/channels/ScatteringByteChannel.java,
12391         java/nio/channels/WritableByteChannel.java,
12392         java/nio/charset/CharacterCodingException.java,
12393         java/nio/charset/IllegalCharsetNameException.java,
12394         java/nio/charset/MalformedInputException.java,
12395         java/nio/charset/UnmappableCharacterException.java,
12396         java/nio/charset/UnsupportedCharsetException.java,
12397         java/nio/charset/spi/CharsetProvider.java: New file.
12398         These files are exceptions or interfaces,
12399         no real or abstract classes.
12400         * Makefile.am (java_native_source_files): Added new files.
12401         * Makefile.in: Regenerated.
12402
12403 2002-10-05  Michael Koch  <konqueror@gmx.de>
12404
12405         * java/net/InetAddress.java
12406         (getByAddress): Fixed documentation.
12407         (getByAddress): New method.
12408         * java/net/Inet4Address.java: New file.
12409         * java/net/URL.java
12410         (URL): Documentation added.
12411         (getContent): Documentation added.
12412         (getContent): New stubbed method.
12413         (getQuery): New method.
12414         (openConnection): Documentation added.
12415         (openStream): Documentation added.
12416         (setURLStreamHandlerFactory): Documentation added.
12417         * java/net/URI.java: New stub file.
12418         * Makefile.am
12419         (java_native_source_files): Added java/net/Inet4Address.java,
12420         java/net/Inet6Address.java and java/net/URI.java.
12421         * Makefile.in: Regenerated.
12422
12423 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12424
12425         * java/lang/ProtectionDomain.java (linesep): Remove field.
12426         (toString): Use System.getProperty("line.separator").
12427
12428 2002-10-04  Michael Koch  <konqueror@gmx.de>
12429
12430         * java/security/Identity.java: Added serialVersionUID.
12431         * java/security/KeyPair.java: Added serialVersionUID.
12432         * java/security/Provider.java: Added serialVersionUID.
12433         * java/security/SecureRandom.java: Added serialVersionUID.
12434         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12435         * java/security/SignedObject.java: Added serialVersionUID.
12436         * java/security/cert/Certificate.java: Added serialVersionUID.
12437
12438 2002-10-04  Mark Wielaard <mark@klomp.org>
12439
12440         * java/security/Security.java: Use java.home or gnu.classpath.home
12441         to load providers.
12442         (loadProviders): Extra dir argument.
12443         (getProvider): Return null when not found.
12444
12445 2002-10-04  Mark Wielaard  <mark@klomp.org>
12446
12447         * java/lang/Throwable.java: Remerge with Classpath.
12448
12449 2002-10-04  Michael Koch  <konqueror@gmx.de>
12450
12451         * java/net/InetAddress.java:
12452         (isMulticastAddress): Added documentation.
12453         (getHostAddress): Added documentation.
12454         (toString): Added documentation.
12455         (getByAddress): Fixed documentation.
12456         (getByName): Added documentation.
12457         (getAllByName): Added documentation.
12458         (getLocalHost): Added documentation.
12459
12460 2002-10-04  Michael Koch  <konqueror@gmx.de>
12461
12462         * java/beans/beancontext/BeanContextChildSupport.java:
12463         Added serialVersionUID.
12464         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12465         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12466         * javax/naming/Name.java: Added serialVersionUID.
12467
12468 2002-10-03  Adam Megacz <adam@xwt.org>
12469
12470         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12471         some functionality that isn't supported yet on WIN32.
12472
12473 2002-10-03  Tom Tromey  <tromey@redhat.com>
12474
12475         * Makefile.in: Rebuilt.
12476         * Makefile.am (awt_java_source_files): Added new files.
12477
12478 2002-10-03  Michael Koch  <konqueror@gmx.de>
12479
12480         * java/net/InetAddress.java
12481         (class InetAddress): Removed final keyword.
12482         (equals): Fixed typo.
12483         (getByAddress): New method.
12484
12485 2002-10-03  Michael Koch  <konqueror@gmx.de>
12486
12487         * java/awt/dnd/Autoscroll.java:
12488         New file, merge from Classpath.
12489         * java/awt/dnd/DragSourceAdapter.java:
12490         (dragExit): Fixed typos in argument type.
12491         (dragDropEnd): Fixed typos in argument type.
12492         * java/awt/dnd/DragSourceDropEvent.java:
12493         New file, merge from Classpath.
12494         * java/awt/dnd/DropTarget.java:
12495         Added stubs, merge from Classpath.
12496         * java/awt/dnd/DropTargetAdapter.java:
12497         New file, merge from Classpath.
12498         * java/awt/dnd/DropTargetContext.java:
12499         New file, merge from Classpath.
12500         * java/awt/dnd/DropTargetDragEvent.java:
12501         New file, merge from Classpath.
12502         * java/awt/dnd/DropTargetDropEvent.java:
12503         New file, merge from Classpath.
12504         * java/awt/dnd/DropTargetEvent.java:
12505         New file, merge from Classpath.
12506         * java/awt/dnd/DropTargetListener.java:
12507         New file, merge from Classpath.
12508         * java/awt/dnd/MouseDragGestureRecognizer.java:
12509         New file, merge from Classpath.
12510         * java/awt/dnd/peer/DropTargetContextPeer.java:
12511         New file, merge from Classpath.
12512
12513 2002-10-03  Michael Koch  <konqueror@gmx.de>
12514
12515         * java/net/DatagramPacket.java
12516         (setLength): Fixed typo and be HTML-aware.
12517         * java/net/InetSocketAddress.java
12518         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12519         (equals): Added comment about equality of InetSocketAddress objects.
12520         * java/net/ServerSocket.java
12521         (accept): Added checks.
12522         (isClosed): New stubbed method.
12523         * java/net/SocketOptions.java: Reindention.
12524         * java/net/SocketPermission
12525         (SocketPermission): Documentation fixed.
12526
12527 2002-10-03  Michael Koch  <konqueror@gmx.de>
12528
12529         * java/net/DatagramSocket.java
12530         (receive): Check with SecurityManager AFTER the packet is received,
12531         check if connected to multicast address, documentation added.
12532         (send): Only check SecurityManager if connected, check address of
12533         packet to send.
12534         (connect): Implemented, documentation added.
12535         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12536         * java/net/InetSocketAddress.java
12537         (whole file): Reindented.
12538         (hostname): New attribute.
12539         (InetSocketAddress): Initialize new attribute.
12540         (getAddress): Documentation added.
12541         (getHostName): Documentation added.
12542         (getPort): Documentation added.
12543         (hashCode): Documentation added.
12544         (isUnresolved): Documentation added.
12545         (toString): Conform to output of JDK 1.4.1, documentation added.
12546         * java/net/MulticastSocket.java
12547         (joinGroup): Removed FIXME, documentation added.
12548         (leaveGroup): Removed FIXME, documentation added.
12549         (send): Documentation added.
12550         * java/net/Socket.java
12551         (inputShutdown): New variable.
12552         (outputShutdown): New variable.
12553         (Socket): Initialize new variables.
12554         (getRemoteSocketAddress): Check if connected.
12555         (shutdownInput): Set new variable.
12556         (shutdownOutput): Set new variable.
12557         (isConnected): New method.
12558         (isClosed): New method.
12559         (isInputShutdown): New method.
12560         (isOutputShutdown): New method.
12561         * java/net/URLStreamHandler.java
12562         (URLStreamHandler): New method.
12563         (openConnection): Added documentation.
12564         (parseURL): Added documentation.
12565         (getHostAddress): New method.
12566         (getDefaultPort): New method.
12567
12568 2002-10-02  Tom Tromey  <tromey@redhat.com>
12569
12570         * java/rmi/activation/ActivationDesc.java,
12571         java/rmi/activation/ActivationGroupDesc.java,
12572         java/rmi/activation/ActivationGroupID.java,
12573         java/rmi/activation/ActivationID.java: New versions from
12574         Classpath.
12575
12576 2002-09-30  Bo Thorsen  <bo@suse.de>
12577
12578         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12579
12580 2002-09-30  Tom Tromey  <tromey@redhat.com>
12581
12582         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12583         from Classpath.
12584         * Makefile.in: Rebuilt.
12585         * Makefile.am (rmi_java_source_files): Added new files.
12586         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12587         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12588         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12589         Classpath.
12590         * gnu/java/rmi/dgc/DGCImpl.java,
12591         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12592         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12593         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12594         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12595         gnu/java/rmi/server/RMIHashes.java,
12596         gnu/java/rmi/server/RMIObjectInputStream.java,
12597         gnu/java/rmi/server/RMIObjectOutputStream.java,
12598         gnu/java/rmi/server/UnicastConnection.java,
12599         gnu/java/rmi/server/UnicastConnectionManager.java,
12600         gnu/java/rmi/server/UnicastRef.java,
12601         gnu/java/rmi/server/UnicastServer.java,
12602         gnu/java/rmi/server/UnicastServerRef.java,
12603         java/rmi/MarshalledObject.java,
12604         java/rmi/server/RMIClassLoader.java,
12605         java/rmi/server/RemoteObject.java,
12606         java/rmi/server/UnicastRemoteObject.java,
12607         java/security/SecureClassLoader.java: Merged from Classpath.
12608
12609 2002-09-29  Anthony Green  <green@redhat.com>
12610
12611         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12612         Imported from GNU Classpath.
12613         * java/lang/reflect/natProxy.cc: New file.
12614         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12615         from GNU Classpath.
12616         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12617         Classpath.
12618         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12619         Classpath.
12620         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12621         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12622         New statics.
12623         * gcj/javaprims.h ("Java"): Add new classes.
12624         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12625         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12626         java/lang/reflect/Proxy$$ProxyType.h): And this.
12627         (inner_nat_headers): Add these new headers.
12628         (ordinary_java_source_files): Add new files.
12629         (nat_source_files): Add new file.
12630         * Makefile.in: Rebuilt.
12631
12632 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12633
12634         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12635         a single configuration.
12636
12637 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12638
12639         * java/util/TimeZone.java (getDSTSavings): New method.
12640         Fixes PR libgcj/7786.
12641
12642 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12643
12644         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12645         to see if `the_method == 0' before looking up vtable index.
12646         Fixes PR libgcj/7709.
12647
12648 2002-09-25  Tom Tromey  <tromey@redhat.com>
12649
12650         * java/lang/natClassLoader.cc:
12651         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12652         * resolve.cc: Include NoClassDefFoundError.h, not
12653         ClassNotFoundException.h.
12654         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12655
12656         * defineclass.cc: Don't include ClassNotFoundException.h.
12657
12658         * resolve.cc: Include StringBuffer.
12659         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12660
12661         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12662         allocated but not initialized.
12663
12664 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12665
12666         Fix for PR libgcj/7766:
12667         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12668         (getNextEntry): Set it.
12669         (closeEntry): Likewise.
12670         (read): Likewise.
12671         (close): Likewise.
12672         (available): Use it.
12673
12674 2002-09-25  Michael Koch  <konqueror@gmx.de>
12675
12676         * java/net/DatagramSocket.java
12677         (DatagramSocket): Initialize new instance variables.
12678         (close): Reset new instance variables.
12679         (getLocalAddress): Remove unneeded SecurityManager usage.
12680         (getLocalPort): Check if socket is already bound.
12681         (isConnected): New method.
12682         (getInetAddress): Implemented.
12683         (getPort): Better Implementation, documentation fixed.
12684         (getRemoteSocketAddress): New method.
12685         * java/net/JarURLConnection.java
12686         (element): Typo fixed.
12687         (getMainAttributes): New method.
12688         (getAttributes): New method (stub only).
12689         (getManifest): New method (stub only).
12690         * java/net/NetPermission.java: Added serialVersionsUID.
12691         * java/net/Socket.java
12692         (connect): Check blocking mode of associated channel,
12693         documentation added.
12694         (getLocalSocketAddress): Better implementation.
12695         (getRemoteSocketAddress): Implemented.
12696         (isBound): New method.
12697         (setSendBufferSize): Documentation added.
12698         * java/net/SocketAddress.java: Added serialVersionsUID.
12699         * java/net/SocketPermission.java: Added serialVersionsUID.
12700         * java/net/URL.java
12701         (URL): Wrap for shorter lines, initialize new instance variables,
12702         documentation added.
12703         (equals): Check new instance variables too.
12704         (getContent): Documentation added.
12705         (getPath): Documentation added.
12706         (getAuthority): New method.
12707         (getHost): Documentation added.
12708         (getPort): Documentation added.
12709         (getDefaultPort): New method.
12710         (getProtocol): Documentation added.
12711         (getUserInfo): Documentation added.
12712         (set): Initialize new instance variables, documentation added.
12713         * java/net/URLStreamHandler.java
12714         (setURL): New method.
12715         * java/net/natPlainDatagramSocketImpl.cc
12716         (connect): Fix exception name.
12717         (disconnect): Fix exception name.
12718
12719 2002-09-25  Michael Koch  <konqueror@gmx.de>
12720
12721         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12722         * java/nio/channels/DatagramChannel.java:
12723         extends AbstractSelectableChannel
12724         * java/nio/channels/ServerSocketChannel.java:
12725         extends AbstractSelectableChannel
12726         * java/nio/channels/SocketChannel.java:
12727         extends AbstractSelectableChannel
12728         * Makefile.am (ordinary_java_source_files):
12729         java/nio/channels/spi/AbstractSelectableChannel.java added.
12730         * Makefile.in: Regenerated.
12731
12732 2002-09-25  Michael Koch  <konqueror@gmx.de>
12733
12734         * java/net/DatagramSocket.java
12735         (DatagramSocket): Exception documentation added.
12736         (bind): Exception documentation added, addded SecurityManager check,
12737         added SocketAddress type check.
12738         (getSoTimeout): Check impl.
12739         (receive): Fix SecurityManager check, check impl, documentation added.
12740         (send): Check channel mode, documentation added.
12741         (connect): New method.
12742         (disconnect): Implemented.
12743         (getLocalSocketAddress): New method.
12744         (getReceiveBufferSize): Check impl.
12745         (setReuseAddress): Check impl.
12746         (getReuseAddress): Check impl.
12747         (setBroadcast): Check impl.
12748         (getBroadcast): Check impl.
12749         (setTrafficClass): Check impl, Documentation cleared.
12750         (getTrafficClass): Check impl.
12751         (getSendBufferSize): Check impl.
12752         (setReceiveBufferSize): Check impl, documentation added.
12753         (setSendBufferSize): Documentation added.
12754         (setDatagramSocketImplFactory): New method.
12755         * java/net/HttpURLConnection.java
12756         (HTTP_INTERNAL_ERROR): The correct code is 500.
12757         (HTTP_NOT_IMPLEMENTED): Added new constant.
12758         (setFollowRedirects): Documentation added.
12759         (getInstanceFollowRedirects): New method.
12760         (setInstanceFollowRedirects): New method.
12761         (setRequestMethod): Documentation added.
12762         (getResponseCode): Documentation added.
12763         (getResponseMessage): Documentation added.
12764         * java/net/JarURLConnection.java
12765         (JarURLConnection): protected since JDK 1.4.
12766         (getJarEntry): java.io.IOException to IOException, documentation added.
12767         (getJarFile): Documentation added.
12768         * java/net/ServerSocket.java
12769         (ServerSocket): Private to public, exception added.
12770         (ServerSocket): java.io.IOException to IOException, documentation added.
12771         (bind): Check socket address type, documentation added.
12772         (bind): java.io.IOException to IOException, documentation added.
12773         (accept): Documentation added.
12774         (implAccept): Check ch is not non-blocking, documentation added.
12775         (setSoTimeout): Documentation fixed.
12776         (setReceiveBufferSize): Documentation added.
12777         * java/net/Socket.java
12778         (Socket): Documentation added.
12779         (bind): Documentation added.
12780         (connect): Check socket address type, documentation added.
12781         (getRemoteSocketAddress): New method.
12782         (getLocalSocketAddress): New method.
12783         (setSoLinger): Documentation added.
12784         (getReuseAddress): New method.
12785         (setReuseAddress): New method.
12786         (getTrafficClass): New method.
12787         (setTrafficClass): New method.
12788         * java/net/URLStreamHandler.java
12789         (openConnection): java.io.IOException to IOException.
12790         (parseURL): Documentation added.
12791         (sameFile): public to protected, documentation added.
12792         (setURL): Documentation added.
12793         * java/nio/IllegalBlockingModeException.java: New file.
12794         * Makefile.am (ordinary_java_source_files):
12795         added java/nio/IllegalBlockingModeException.java
12796         * Makefile.in: Regenerated.
12797
12798 2002-09-25  Michael Koch  <konqueror@gmx.de>
12799
12800         * java/net/DatagramPacket
12801         (DatagramPacket): Exception documentation added.
12802         (setData): Likewise.
12803         (setSocketAddress): Likewise.
12804         * java/net/DatagramSocketImpl.java
12805         (peek): Documentation addded.
12806         (peekData): Documentation addded.
12807         (send): Documentation addded.
12808         (receive): Documentation addded.
12809         (connect): New method.
12810         (disconnect): New method.
12811         (joinGroup): New abstract method.
12812         (leaveGroup): New abstract method.
12813         * java/net/InetSocketAddress.java
12814         (InetSocketAddress): Documentation added.
12815         (equals): final keyword added.
12816         (getAddress): final keyword added.
12817         (getHostName): final keyword added.
12818         (getPort): final keyword added.
12819         (hashCode): final keyword added.
12820         (isUnresolved): final keyword added.
12821         * java/net/MulticastSocket.java
12822         (MulticastSocket): Documentation added.
12823         (MulticastSocket): New method.
12824         (joinGroup): Documentation added.
12825         (joinGroup): New method.
12826         (leaveGroup): Documentation added.
12827         (leaveGroup): New method.
12828         (send): Documentation added.
12829         * java/net/NetworkInterface.java
12830         (getByName): Documentation added.
12831         (getByInetAddress): Documentation added.
12832         (getNetworkInterfaces): Documentation added.
12833         * java/net/PlainDatagramSocketImpl.java
12834         (connect): New method.
12835         (disconnect): New method.
12836         * java/net/SocketImpl.java
12837         (create): Documentation added.
12838         (shutdownInput): Convert public to protected, as it always was.
12839         (shutdownOutput): Convert public to protected, as it always was.
12840         * java/net/SocketOptions.java
12841         (whole file): Reintented.
12842         * java/net/URLClassLoader.java
12843         (URLClassLoader): SecurityManager check added, documentation added.
12844         (findResources): Documentation added.
12845         (findClass): Documentation added.
12846         (newInstance): More correct method arguments.
12847         * java/net/URLConnection.java
12848         (connect): Documentation added.
12849         (getContent): Documentation added.
12850         (getPermission): Documentation added.
12851         (getInputStream): Documentation added.
12852         (getOutputStream): Documentation added.
12853         (setDoInput): Throw correct exception, documentation added.
12854         (setDoOutput): Throw correct exception, documentation added.
12855         (setAllowUserInteraction): Throw correct exception, documentation added.
12856         (setUseCaches): Throw correct exception, documentation added.
12857         (setIfModifiedSince): Throw correct exception, documentation added.
12858         (setRequestProperty): Throw exception, documentation added.
12859         (addRequestProperty): Throw exception, documentation added.
12860         (getRequestProperty): Throw exception, documentation added.
12861         (getRequestProperties): Documentation added.
12862         (setContentHandlerFactory): Documentation added.
12863         (guessContentTypeFromName): protected to public.
12864         (setFileNameMap): Documentation added.
12865         * java/net/URLDecoder.java
12866         (URLDecoder): New method.
12867         (decode): Documentation added.
12868         (whole file): Reindented.
12869         * java/net/URLEncoder.java
12870         (encode): Documentation added.
12871         * java/net/natPlainDatagramSocketImpl.cc
12872         (connect): New method.
12873         (disconnect): New method.
12874         * javax/naming/RefAddr:
12875         (addrType): addrType was never final.
12876         (equals): Fix typo in method name.
12877         * javax/naming/BinaryRefAddr:
12878         (equals): Fix typo in method name.
12879
12880 2002-09-22  Tom Tromey  <tromey@redhat.com>
12881
12882         Fix for PR libgcj/6576:
12883         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12884         didn't find a given bundle.
12885         (getBundle): Don't require base bundle.
12886         (setParent): Removed old comment.
12887         (tryLocalBundle): Try components even if preceding components were
12888         empty.
12889
12890 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12891
12892         * Makefile.am (all-multi): Fix multilib parallel build.
12893
12894 2002-09-21  Michael Koch  <konqueror@gmx.de>
12895
12896         * java/net/Socket.java
12897         (sendUrgentData): New method.
12898         (getChannel): New method.
12899         * java/net/ServerSocket.java
12900         (getChannel): New method.
12901         (isBound): New method.
12902         * java/net/DatagramSocket.java
12903         (DatagramSocket): Two new methods.
12904         (bind): New method.
12905         (getChannel): New method.
12906         (isBound): New method.
12907         (send): Added newline to to make shorter lines.
12908         * java/net/PlainDatagramSocketImpl.java
12909         (mcastGrp): Added argument.
12910         (join): Use new mcastGrp.
12911         (leave): Use new mcastGrp.
12912         (joinGroup): New method.
12913         (leaveGroup): New method.
12914         * java/net/natPlainDatagramSocketImpl.cc
12915         (mcastGrp): Added argument, no yet really implemented.
12916         (getOption): Added newline for shorter lines.
12917         * java/net/natPlainSocketImpl.cc
12918         (read, setOption, getOption): Added newline for shorter lines.
12919
12920 2002-09-19  Tom Tromey  <tromey@redhat.com>
12921
12922        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12923        newly-created exception.
12924
12925 2002-09-18  Michael Koch  <konqueror@gmx.de>
12926
12927         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12928         java/util/regex/PatternSyntaxException.java:
12929         Merge with classpath, new files.
12930         * Makefile.am (core_java_source_files):
12931         Added java/util/regex/Matcher.java,
12932         java/util/regex/Pattern.java,
12933         java/util/regex/PatternSyntaxException.java
12934         * Makefile.in: Regenerated.
12935         * include/config.h.in: Added HAVE_NET_IF_H.
12936         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12937         Removed #if 0 ... #endif.
12938
12939 2002-09-17  Michael Koch  <konqueror@gmx.de>
12940
12941         * java/net/natNetworkInterface.cc:
12942         Removed unneed and yet wrong includes.
12943
12944 2002-09-17  Michael Koch  <konqueror@gmx.de>
12945
12946         * java/net/NetworkInterface.java: New file.
12947         * java/net/natNetworkInterface.java: New file.
12948         * configure.in: Added check for net/if.h.
12949         * configure: Regenerated.
12950         * Makefile.am
12951         (ordinary_java_source_files): Added NetworkInterface.java.
12952         (nat_source_files): Added natNetworkInterface.cc.
12953         * Makefile.in: Regenerated.
12954
12955 2002-09-16  Tom Tromey  <tromey@redhat.com>
12956
12957         * java/net/URLClassLoader.java (findClass): Code source for a
12958         class from a jar is not necessarily a jar: URL.
12959
12960 2002-09-16  Michael Koch  <konqueror@gmx.de>
12961
12962         * java/lang/AssertionError.java:
12963         Merge with classpath, fixes HTML.
12964         * java/rmi/server/LogStream.java:
12965         Merge with classpath, fixes some constants.
12966         * java/net/server/RemoteServer.java:
12967         Merge with classpath, adds serialVersionUID.
12968         * javax/naming/BinaryRefAddr.java:
12969         Merge with classpath, s/equal/equals/.
12970         * javax/naming/NamingException.java:
12971         Merge with classpath, fixed typo.
12972         * javax/naming/RefAddr.java:
12973         Merge with classpath, s/equal/equals/.
12974         * java/awt/Toolkit.java:
12975         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12976         and typo fixed.
12977
12978 2002-09-15  Adam Megacz <adam@xwt.org>
12979
12980         * java/net/natPlainSocketImpl.cc: fixed typo.
12981
12982 2002-09-15  Adam Megacz <adam@xwt.org>
12983
12984         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12985         which don't work on Win32 (yet).
12986
12987 2002-09-14  Adam Megacz <adam@xwt.org>
12988
12989         * java/net/natPlainDatagramSocket.cc: removed #include
12990         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12991         * include/win32.h: included definition for IP_TOS to satisfy
12992         natPlainDatagramSocket.cc
12993
12994 2002-09-13  Michael Koch  <konqueror@gmx.de>
12995
12996         * java/net/DatagramPacket.java (DatagramPacket):
12997         Added linebreak for 80 chars per line.
12998         * java/net/JarURLConection.java
12999         (getInputStreami, getJarEntry): Likewise.
13000         * java/net/SocketPErmission.java
13001         (SocketPermission class docu, implies): Likewise.
13002         * java/net/URLClassLoader.java (findResources): Likewise.
13003         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13004
13005 2002-09-13  Michael Koch  <konqueror@gmx.de>
13006
13007         * java/nio/channels/DatagramChannel.java,
13008         java/nio/channels/ServerSocketChannel.java
13009         java/nio/channels/SocketChannel.java:
13010         New dummy files to make java.net fully JDK 1.4 compatible
13011         * Makefile.am (ordinary_java_source_files): Added
13012         java/net/DatagramSocketImplFactory.java (long forgotten),
13013         java/nio/SocketChannel.java,
13014         java/nio/ServerSocketChannel.java,
13015         java/nio/DatagramChannel.java
13016         * Makefile.in: Regenrated.
13017
13018 2002-09-12  Michael Koch  <konqueror@gmx.de>
13019
13020         * java/net/DatagramSocketImpl.java
13021         (peekData): New method.
13022         * java/net/PlainDatagramSocketImpl.java
13023         (peekData): New method.
13024         * java/net/natPlainDatagramSocketImpl.cc
13025         (peekData): New method.
13026         * java/net/URLConnection
13027         (getPermission): New method.
13028         (addRequestProperty): New method.
13029         (getRequestProperties): New method.
13030         (guessContentTypeFromStream): New method, not really implemented.
13031         (URLConnection): Added/updated documentation.
13032         (connect): Added/updated documentation.
13033         (getURL): Added/updated documentation.
13034         (getContentLength): Added/updated documentation.
13035         (getContentType: Added/updated documentation.
13036         (getContentEncoding): Added/updated documentation.
13037         (getExpiration): Added/updated documentation.
13038         (getDate): Added/updated documentation.
13039         (getLastModified): Added/updated documentation.
13040         (getHeaderField): Added/updated documentation.
13041         (getHeaderFields): Added/updated documentation.
13042         (getHeaderFieldInt): Added/updated documentation.
13043         (getHeaderFieldDate): Added/updated documentation.
13044         (getHeaderFieldKey): Added/updated documentation.
13045         (getContent): Added/updated documentation.
13046         (getInputStream): Added/updated documentation.
13047         (getOutputStream): Added/updated documentation.
13048         (toString): Added/updated documentation.
13049         (setDoInput): Added/updated documentation.
13050         (getDoInput): Added/updated documentation.
13051         (setDoOutput): Added/updated documentation.
13052         (getDoOutput): Added/updated documentation.
13053         (setAllowUserInteraction): Added/updated documentation.
13054         (getAllowUserInteraction): Added/updated documentation.
13055         (setDefaultAllowUserInteraction): Added/updated documentation.
13056         (getDefaultAllowUserInteraction): Added/updated documentation.
13057         (setUseCaches): Added/updated documentation.
13058         (getUseCaches): Added/updated documentation.
13059         (setIfModifiedSince): Added/updated documentation.
13060         (getIfModifiedSince): Added/updated documentation.
13061         (getDefaultUseCaches): Added/updated documentation.
13062         (setDefaultUseCaches): Added/updated documentation.
13063         (setRequestProperty): Added/updated documentation.
13064         (getRequestProperty): Added/updated documentation.
13065         (setDefaultRequestProperty): Added/updated documentation.
13066         (getDefaultRequestProperty): Added/updated documentation.
13067         (setContentHandlerFactory): Added/updated documentation.
13068         (guessContentTypeFromName): Added/updated documentation.
13069         (getFileNameMap): Added/updated documentation.
13070         (setFileNameMap): Added/updated documentation.
13071
13072 2002-09-11  Michael Koch  <konqueror@gmx.de>
13073
13074         * java/net/Socket.java
13075         (Socket): protected to public (since JDK 1.4). Added @specnote.
13076         (bind): New method.
13077         (connect): Two new methods.
13078         (getKeepalive): Get correct socket option.
13079         (setKeepalive): Set correct socket option.
13080         (getOOBInline): New method.
13081         (setOOBInline): New method.
13082         * java/net/ServerSocket.java
13083         (bind): Two new methods.
13084         (getInetAddress): Reimplemented, catch exception.
13085         (getLocalSocketAddress): New method.
13086         (setReuseAddress): New method.
13087         (getReuseAdress): New method.
13088         (setReceiveBufferSize): New method.
13089         (getReceiveBufferSize): New method.
13090         (toString): Made string JDK 1.4 compliant.
13091
13092 2002-09-10  Michael Koch  <konqueror@gmx.de>
13093
13094         * java/net/SocketImpl.java
13095         (connect): New method.
13096         (supportsUrgentData): New method.
13097         (sendUrgentData): New method.
13098         * java/net/PlainSocketImpl.java
13099         (connect): One new method and two new implementation.
13100         (sendUrgentData): New method.
13101         * java/natPlainSocketImpl.cc
13102         (connect): Arguments changed, added support for timeouts.
13103         (getOption): Another __java_boolean to jboolean.
13104
13105 2002-09-07  Adam Megacz <adam@xwt.org>
13106
13107         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13108         definition of IP_TOS.
13109
13110 2002-09-04  Michael Koch  <konqueror@gmx.de>
13111
13112         * java/net/DatagramSocket.java
13113         (DatagramSocket): Added documentation.
13114         (close): Likewise.
13115         (getLocalAddress): Likewise.
13116         (getLocalPort): Likewise.
13117         (receive): Likewise.
13118         (send): Likewise.
13119         (setSoTimeout): Likewise.
13120         (connect): New method.
13121         (disconnect): New method.
13122         (getInetAddress): New method (FIXME)
13123         (getPort): New method.
13124         (setReuseAddress): New method.
13125         (getReuseAddress): New method.
13126         (setBroadcast): New method.
13127         (getBroadcast): New method.
13128         (setTrafficClass): New method.
13129         (getTrafficClass): New method.
13130         * java/net/MulticastSocket.java):
13131         (getTTL): Added @see in documentation.
13132         (setTTL): Added @see in documentation.
13133         (setLoopbackMode): New method.
13134         (getLoopbackMode): New method.
13135         * java/net/PlainSocketImpl.java:
13136         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13137         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13138         * java/net/PlainDatagramSocketImpl.java
13139         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13140         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13141         * java/net/natPlainSocketImpl.cc
13142         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13143         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13144         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13145         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13146         This should also fix SO_KEEPALIVE
13147         * java/net/natPlainDatagramSocketImpl.cc
13148         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13149         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13150         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13151         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13152
13153 2002-09-04  Michael Koch  <konqueror@gmx.de>
13154
13155         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13156         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13157         IP_MULTICAST_LOOP, IP_TOS
13158
13159 2002-09-03  Tom Tromey  <tromey@redhat.com>
13160
13161         * java/lang/Class.h (_getDeclaredMethod): Declare.
13162         (_getMethod): Now private.
13163         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13164         getDeclaredMethod.  Now returns NULL on failure.
13165         * java/lang/Class.java (_getDeclaredMethod): Declare.
13166         (getDeclaredMethod): No longer native; implements access checks.
13167
13168 2002-09-01  Mark Wielaard  <mark@klomp.org>
13169
13170         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13171         (sanitizeStack): Correctly reset unknown and interpreter counters,
13172         detect interpreter runtime frames.
13173         (demangleInterpreterMethod): New method.
13174         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13175         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13176         filling in addrs[].
13177
13178 2002-09-02  Michael Koch  <konqueror@gmx.de>
13179
13180         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13181         re-indented documentation.
13182
13183 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13184
13185         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13186         public, per 1.4 spec.  Fixes PR libgcj/7785.
13187
13188 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13189
13190         * Makefile.in: Rebuilt.
13191         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13192
13193 2002-08-29  Tom Tromey  <tromey@redhat.com>
13194
13195         * java/net/JarURLConnection.java (getCertificates): New method
13196         from Classpath.
13197         * java/net/URLClassLoader.java (URLClassLoader): Extends
13198         SecureClassLoader.
13199         (definePackage): New method from Classpath.
13200         (getPermissions): Likewise.
13201         (newInstance): Likewise.
13202         (findClass): Construct CodeSource for new class (from Classpath).
13203         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13204         methods.
13205         * java/net/URL.java (getUserInfo): New method.
13206         (set(String,String,int,String,String,String,String,String)): New
13207         method.
13208         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13209         (shutdownInput, shutdownOutput): Declare.
13210         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13211         Define.
13212         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13213         (getOption): Likewise.
13214         (shutdownInput): New method.
13215         (shutdownOutput): Likewise.
13216         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13217         keepalive.
13218         (getOption): Likewise.
13219         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13220         * java/net/Socket.java (setKeepAlive): New method.
13221         (getKeepAlive): Likewise.
13222         (shutdownInput, shutdownOutput): New methods.
13223
13224 2002-08-29  Michael Koch  <konqueror@gmx.de>
13225
13226         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13227         new methods are:
13228         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13229           address),
13230         DatagramPacket(byte[] buf, int length, SocketAddress address),
13231         void setSocketAddress(SocketAddress address)
13232         public SocketAddress getSocketAddress()
13233
13234 2002-08-29  Tom Tromey  <tromey@redhat.com>
13235
13236         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13237         ftruncate is missing.
13238         * configure, include/config.h.in: Rebuilt.
13239         * acconfig.h (HAVE_FTRUNCATE): Mention.
13240         * configure.in: Check for ftruncate.
13241
13242 2002-08-29  Tom Tromey  <tromey@redhat.com>
13243
13244         * include/jvm.h (struct _Jv_frame_info): New structure.
13245         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13246         java-interp.h.
13247         (lookupInterp): New method.
13248         (getAddrAsString): Use _Jv_frame_info.
13249         (dladdrLookup): Likewise.
13250         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13251         interpreted frame.
13252         (lookupInterp): Declare.
13253         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13254         (fillInStackTrace): Collect information on interpreted frames.
13255         Use _Jv_frame_info.
13256         * interpret.cc: Include Thread.h.
13257         (run): Create and push _Jv_MethodChain object.
13258         (_Jv_EndOfInterpreter): New global.
13259         * java/lang/Thread.java (interp_frame): New field.
13260         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13261         Include NameFinder.h.
13262
13263 2002-08-28  Tom Tromey  <tromey@redhat.com>
13264
13265         * java/lang/Class.h: Include Package.h.
13266         (Class::getProtectionDomain): Declare.
13267         (Class::getPackage): Declare.
13268
13269 2002-08-28  Michael Koch <konqueror@gmx.de>
13270
13271         * java/net/InetSocketAddress.java: Added some documentation and argument
13272         checks for the port numbers.
13273         * java/net/DatagramSocketImplFactory.java: New file.
13274
13275 2002-08-28  Michael Koch <konqueror@gmx.de>
13276
13277         * java/net/Authenticator.java: added some documentation.
13278
13279 2002-08-27  Tom Tromey  <tromey@redhat.com>
13280
13281         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13282         class.
13283         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13284
13285 2002-08-27  Michael Koch <konqueror@gmx.de>
13286
13287         * java/net/BindException.java,
13288         java/net/JarURLConnection.java,
13289         java/net/FileNameMap.java,
13290         java/net/HttpURLConnection.java,
13291         java/net/InetSocketAddress.java,
13292         java/net/DatagramPacket.java,
13293         java/net/DatagramSocket.java,
13294         java/net/DatagramSocketImpl.java,
13295         java/net/MulticastSocket.java,
13296         java/net/PasswordAuthentication.java,
13297         java/net/ServerSocket.java,
13298         java/net/Socket.java,
13299         java/net/URLClassLoader.java,
13300         java/net/URLConnection.java: add/update of some @since/@deprecated
13301
13302 2002-08-27  Tony Kimball <alk@pobox.com>
13303             Tom Tromey  <tromey@redhat.com>
13304
13305         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13306         define.
13307         (::close): Removed.
13308         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13309         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13310         (::close): Removed.
13311         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13312         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13313
13314 2002-08-25  Adam Megacz <adam@xwt.org>
13315
13316         * include/win32.h (getcwd): copied function declaration as
13317         temporary fix for header confusion.
13318
13319 2002-08-24  Mark Wielaard <mark@klomp.org>
13320
13321         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13322         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13323         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13324         and natNameFinder.cc.
13325         * Makefile.in: Regenerate.
13326         * prims.cc: Use trace_enabled from VMThrowable.
13327         * name-finder.cc: Removed.
13328         * gcj/javaprims.h: Add class VMThrowable.
13329         * gnu/gcj/runtime/NameFinder.java: New file.
13330         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13331         * include/name-finder.h: Removed.
13332         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13333         method stackTraceString().
13334         (printStackTrace (PrintWriter)): Likewise.
13335         (stackTraceString): Complete rewrite of old printStackTrace using
13336         StringBuffer.
13337         (stackTraceStringBuffer): New helper method for stackTraceString().
13338         (fillInStackTrace): Delegate to VMTrowable.
13339         (getStackTrace): Likewise.
13340         (getStackTrace0): Removed.
13341         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13342         (setStackTrace): Copy given array.
13343         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13344         * java/lang/VMThrowable.java: New class.
13345         * java/lang/natVMThrowable.cc: New file.
13346
13347 2003-08-23  Michael Koch  <konqueror@gmx.de>
13348
13349         * java/net/URLConnection.java,
13350         java/netJarURLConnection.java,
13351         gnu/gcj/protocol/core/Connection.java,
13352         gnu/gcj/protocol/file/Connection.java,
13353         gnu/gcj/protocol/http/Connection.java: Added implementation of
13354         getHeaderFields().
13355
13356 2002-08-22  Tom Tromey  <tromey@redhat.com>
13357
13358         * gij.cc (help): Document -cp and -classpath.
13359         (main): Handle -classpath.
13360
13361 2002-08-21  Tom Tromey  <tromey@redhat.com>
13362
13363         * Makefile.in: Rebuilt.
13364         * Makefile.am (ordinary_java_source_files): Added
13365         SocketAddress.java, InetSocketAddress.java.
13366         * java/net/PortUnreachableException.java: Merged with Classpath.
13367         * java/net/SocketTimeoutException.java: Likewise.
13368         * java/net/URISyntaxException.java: Likewise.
13369         * java/net/SocketAddress.java: New class from Classpath.
13370         * java/net/InetSocketAddress.java: Likewise.
13371
13372 2003-08-21  Michael Koch  <konqueror@gmx.de>
13373
13374         * java/net/Authenticator.java: updated JDK 1.4
13375         * java/net/ContentHandler.java: updated JDK 1.4
13376
13377 2002-08-20  Michael Koch  <konqueror@gmx.de>
13378
13379         * java/net/URISyntaxException.java: New file.
13380         * java/net/SocketTimeoutException.java: New file.
13381         * java/net/PortUnreachableException.java: New file.
13382         * Makefile.am: Updated.
13383         * Makefile.in: Rebuilt.
13384
13385 2002-08-18  Mark Wielaard  <mark@klomp.org>
13386
13387         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13388         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13389         MessageDigestSpi (fixes Classpath bug #783).
13390
13391 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13392
13393         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13394         (startProcess): Allocate path for chdir in async-signal-safe way.
13395
13396 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13397
13398         Fix for PR libgcj/7570 and PR libgcj/7578:
13399         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13400         (startProcess): Handle new `dir' argument.
13401         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13402         argument.
13403         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13404         argument.
13405         (startProcess): Likewise.
13406         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13407         argument.
13408         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13409         (exec): Don't create new environment if ENV==null.  Pass DIR to
13410         execInternal.
13411         * java/lang/natRuntime.cc: Include java/io/File.h.
13412         (execInternal): Added `dir' argument.
13413
13414 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13415
13416         * java/io/RandomAccessFile.java (skipBytes): Return number of
13417         bytes skipped.
13418
13419 2002-08-01  Mark Wielaard  <mark@klomp.org>
13420
13421         Reenable patch since shared library troubles on powerpc are solved:
13422         * gnu/java/security/provider/Gnu.java: Reference all implementation
13423         classes by using Class.getName().
13424         * gnu/java/security/der/DEREncodingException.java,
13425         gnu/java/security/provider/DERReader.java,
13426         gnu/java/security/provider/DERWriter.java,
13427         gnu/java/security/provider/DSAKeyPairGenerator.java,
13428         gnu/java/security/provider/DSAParameterGenerator.java,
13429         gnu/java/security/provider/DSAParameters.java,
13430         gnu/java/security/provider/DSASignature.java,
13431         gnu/java/security/provider/GnuDSAPrivateKey.java,
13432         gnu/java/security/provider/GnuDSAPublicKey.java,
13433         gnu/java/security/provider/MD5.java,
13434         gnu/java/security/util/Prime.java: New classes
13435         * Makefile.am (ordinary_java_source_files): Add above files.
13436         * Makefile.in: Regenerate.
13437         * gnu/java/security/provider/DefaultPolicy.java
13438         (getPermissions): Don't maintain static class variable of Permissions.
13439         * gnu/java/security/provider/SHA.java
13440         (engineUpdate): algorithm change.
13441         (engineDigest): algorithm change.
13442
13443 2002-08-09  Mark Wielaard  <mark@klomp.org>
13444
13445         * java/awt/image/MemoryImageSource.java: Change constructor to take
13446         int[] not byte[].
13447         * java/awt/Graphics2D.java: Uncomment methods that can now be
13448         compiled.
13449         * java/awt/GridBagLayout.java: New stub implementation.
13450         * javax/swing/text/html/HTML.java: Stub implementation.
13451         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13452         implementation.
13453
13454         * Makefile.am: Add new files.
13455         * Makefile.in: Rebuilt.
13456
13457 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13458
13459         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13460         methods in Graphics2D.
13461
13462 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13463
13464         AWT/Swing merge from GNU Classpath.
13465
13466         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13467         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13468         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13469         java/awt/color/ProfileDataException.java,
13470         java/awt/CompositeContext.java, java/awt/Composite.java,
13471         java/awt/ContainerOrderFocusTraversalPolicy.java,
13472         java/awt/datatransfer/FlavorTable.java,
13473         java/awt/DefaultFocusTraversalPolicy.java,
13474         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13475         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13476         java/awt/dnd/DragGestureListener.java,
13477         java/awt/dnd/DragGestureRecognizer.java,
13478         java/awt/dnd/DragSourceAdapter.java,
13479         java/awt/dnd/DragSourceContext.java,
13480         java/awt/dnd/DragSourceDragEvent.java,
13481         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13482         java/awt/dnd/DragSourceListener.java,
13483         java/awt/dnd/DragSourceMotionListener.java,
13484         java/awt/dnd/DropTarget.java,
13485         java/awt/dnd/InvalidDnDOperationException.java,
13486         java/awt/dnd/peer/DragSourceContextPeer.java,
13487         java/awt/event/AWTEventListenerProxy.java,
13488         java/awt/event/MouseWheelEvent.java,
13489         java/awt/event/MouseWheelListener.java,
13490         java/awt/event/WindowFocusListener.java,
13491         java/awt/event/WindowStateListener.java,
13492         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13493         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13494         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13495         java/awt/geom/FlatteningPathIterator.java,
13496         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13497         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13498         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13499         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13500         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13501         java/awt/image/ImagingOpException.java,
13502         java/awt/image/RasterFormatException.java,
13503         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13504         java/awt/image/VolatileImage.java,
13505         java/awt/image/WritableRenderedImage.java,
13506         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13507         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13508         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13509         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13510         java/awt/PageAttributes.java, java/awt/print/Book.java,
13511         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13512         java/awt/print/Paper.java, java/awt/print/Printable.java,
13513         java/awt/print/PrinterAbortException.java,
13514         java/awt/print/PrinterException.java,
13515         java/awt/print/PrinterGraphics.java,
13516         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13517         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13518         java/awt/Stroke.java, java/awt/TexturePaint.java,
13519         javax/accessibility/AccessibleAction.java,
13520         javax/accessibility/AccessibleBundle.java,
13521         javax/accessibility/AccessibleComponent.java,
13522         javax/accessibility/AccessibleContext.java,
13523         javax/accessibility/AccessibleEditableText.java,
13524         javax/accessibility/AccessibleExtendedComponent.java,
13525         javax/accessibility/AccessibleExtendedTable.java,
13526         javax/accessibility/AccessibleHyperlink.java,
13527         javax/accessibility/AccessibleHypertext.java,
13528         javax/accessibility/AccessibleIcon.java,
13529         javax/accessibility/Accessible.java,
13530         javax/accessibility/AccessibleKeyBinding.java,
13531         javax/accessibility/AccessibleRelation.java,
13532         javax/accessibility/AccessibleRelationSet.java,
13533         javax/accessibility/AccessibleResourceBundle.java,
13534         javax/accessibility/AccessibleRole.java,
13535         javax/accessibility/AccessibleSelection.java,
13536         javax/accessibility/AccessibleState.java,
13537         javax/accessibility/AccessibleStateSet.java,
13538         javax/accessibility/AccessibleTable.java,
13539         javax/accessibility/AccessibleTableModelChange.java,
13540         javax/accessibility/AccessibleText.java,
13541         javax/accessibility/AccessibleValue.java,
13542         javax/swing/AbstractAction.java,
13543         javax/swing/AbstractButton.java,
13544         javax/swing/AbstractCellEditor.java,
13545         javax/swing/AbstractListModel.java,
13546         javax/swing/AbstractSet.java, javax/swing/Action.java,
13547         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13548         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13549         javax/swing/border/CompoundBorder.java,
13550         javax/swing/border/EmptyBorder.java,
13551         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13552         javax/swing/border/LineBorder.java,
13553         javax/swing/border/MatteBorder.java,
13554         javax/swing/border/TitledBorder.java,
13555         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13556         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13557         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13558         javax/swing/CellRendererPane.java,
13559         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13560         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13561         javax/swing/colorchooser/ColorSelectionModel.java,
13562         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13563         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13564         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13565         javax/swing/DefaultBoundedRangeModel.java,
13566         javax/swing/DefaultButtonModel.java,
13567         javax/swing/DefaultCellEditor.java,
13568         javax/swing/DefaultCellRenderer.java,
13569         javax/swing/DefaultComboBoxModel.java,
13570         javax/swing/DefaultDesktopManager.java,
13571         javax/swing/DefaultFocusManager.java,
13572         javax/swing/DefaultListCellRenderer.java,
13573         javax/swing/DefaultListModel.java,
13574         javax/swing/DefaultListSelectionModel.java,
13575         javax/swing/DefaultSingleSelectionModel.java,
13576         javax/swing/DesktopManager.java,
13577         javax/swing/event/AncestorEvent.java,
13578         javax/swing/event/AncestorListener.java,
13579         javax/swing/event/CaretEvent.java,
13580         javax/swing/event/CaretListener.java,
13581         javax/swing/event/CellEditorListener.java,
13582         javax/swing/event/ChangeEvent.java,
13583         javax/swing/event/ChangeListener.java,
13584         javax/swing/event/DocumentEvent.java,
13585         javax/swing/event/DocumentListener.java,
13586         javax/swing/event/EventListenerList.java,
13587         javax/swing/event/HyperlinkEvent.java,
13588         javax/swing/event/HyperlinkListener.java,
13589         javax/swing/event/InternalFrameAdapter.java,
13590         javax/swing/event/InternalFrameEvent.java,
13591         javax/swing/event/InternalFrameListener.java,
13592         javax/swing/event/ListDataEvent.java,
13593         javax/swing/event/ListDataListener.java,
13594         javax/swing/event/ListSelectionEvent.java,
13595         javax/swing/event/ListSelectionListener.java,
13596         javax/swing/event/MenuDragMouseEvent.java,
13597         javax/swing/event/MenuDragMouseListener.java,
13598         javax/swing/event/MenuEvent.java,
13599         javax/swing/event/MenuKeyEvent.java,
13600         javax/swing/event/MenuKeyListener.java,
13601         javax/swing/event/MenuListener.java,
13602         javax/swing/event/MouseInputAdapter.java,
13603         javax/swing/event/MouseInputListener.java,
13604         javax/swing/event/PopupMenuEvent.java,
13605         javax/swing/event/PopupMenuListener.java,
13606         javax/swing/event/SwingPropertyChangeSupport.java,
13607         javax/swing/event/TableColumnModelEvent.java,
13608         javax/swing/event/TableColumnModelListener.java,
13609         javax/swing/event/TableModelEvent.java,
13610         javax/swing/event/TableModelListener.java,
13611         javax/swing/event/TreeExpansionEvent.java,
13612         javax/swing/event/TreeExpansionListener.java,
13613         javax/swing/event/TreeModelEvent.java,
13614         javax/swing/event/TreeModelListener.java,
13615         javax/swing/event/TreeSelectionEvent.java,
13616         javax/swing/event/TreeSelectionListener.java,
13617         javax/swing/event/TreeWillExpandListener.java,
13618         javax/swing/event/UndoableEditEvent.java,
13619         javax/swing/event/UndoableEditListener.java,
13620         javax/swing/filechooser/FileFilter.java,
13621         javax/swing/filechooser/FileSystemView.java,
13622         javax/swing/filechooser/FileView.java,
13623         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13624         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13625         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13626         javax/swing/JApplet.java, javax/swing/JButton.java,
13627         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13628         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13629         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13630         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13631         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13632         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13633         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13634         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13635         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13636         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13637         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13638         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13639         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13640         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13641         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13642         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13643         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13644         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13645         javax/swing/JToolTip.java, javax/swing/JTree.java,
13646         javax/swing/JViewport.java, javax/swing/JWindow.java,
13647         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13648         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13649         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13650         javax/swing/MenuSelectionManager.java,
13651         javax/swing/MutableComboBoxModel.java,
13652         javax/swing/OverlayLayout.java,
13653         javax/swing/plaf/ActionMapUIResource.java,
13654         javax/swing/plaf/basic/BasicBorders.java,
13655         javax/swing/plaf/basic/BasicButtonUI.java,
13656         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13657         javax/swing/plaf/basic/BasicDefaults.java,
13658         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13659         javax/swing/plaf/basic/BasicIconFactory.java,
13660         javax/swing/plaf/basic/BasicLabelUI.java,
13661         javax/swing/plaf/basic/BasicListUI.java,
13662         javax/swing/plaf/basic/BasicLookAndFeel.java,
13663         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13664         javax/swing/plaf/basic/BasicPanelUI.java,
13665         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13666         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13667         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13668         javax/swing/plaf/basic/BasicTextUI.java,
13669         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13670         javax/swing/plaf/basic/BasicTreeUI.java,
13671         javax/swing/plaf/basic/BasicViewportUI.java,
13672         javax/swing/plaf/BorderUIResource.java,
13673         javax/swing/plaf/ButtonUI.java,
13674         javax/swing/plaf/ColorChooserUI.java,
13675         javax/swing/plaf/ColorUIResource.java,
13676         javax/swing/plaf/ComboBoxUI.java,
13677         javax/swing/plaf/ComponentInputMapUIResource.java,
13678         javax/swing/plaf/ComponentUI.java,
13679         javax/swing/plaf/DesktopIconUI.java,
13680         javax/swing/plaf/DesktopPaneUI.java,
13681         javax/swing/plaf/DimensionUIResource.java,
13682         javax/swing/plaf/FileChooserUI.java,
13683         javax/swing/plaf/FontUIResource.java,
13684         javax/swing/plaf/IconUIResource.java,
13685         javax/swing/plaf/InputMapUIResource.java,
13686         javax/swing/plaf/InsetsUIResource.java,
13687         javax/swing/plaf/InternalFrameUI.java,
13688         javax/swing/plaf/LabelUI.java,
13689         javax/swing/plaf/ListUI.java,
13690         javax/swing/plaf/MenuBarUI.java,
13691         javax/swing/plaf/MenuItemUI.java,
13692         javax/swing/plaf/OptionPaneUI.java,
13693         javax/swing/plaf/PanelUI.java,
13694         javax/swing/plaf/PopupMenuUI.java,
13695         javax/swing/plaf/ProgressBarUI.java,
13696         javax/swing/plaf/RootPaneUI.java,
13697         javax/swing/plaf/ScrollBarUI.java,
13698         javax/swing/plaf/ScrollPaneUI.java,
13699         javax/swing/plaf/SeparatorUI.java,
13700         javax/swing/plaf/SliderUI.java,
13701         javax/swing/plaf/SplitPaneUI.java,
13702         javax/swing/plaf/TabbedPaneUI.java,
13703         javax/swing/plaf/TableHeaderUI.java,
13704         javax/swing/plaf/TableUI.java,
13705         javax/swing/plaf/TextUI.java,
13706         javax/swing/plaf/ToolBarUI.java,
13707         javax/swing/plaf/ToolTipUI.java,
13708         javax/swing/plaf/TreeUI.java,
13709         javax/swing/plaf/UIResource.java,
13710         javax/swing/plaf/ViewportUI.java,
13711         javax/swing/ProgressMonitorInputStream.java,
13712         javax/swing/ProgressMonitor.java,
13713         javax/swing/Renderer.java,
13714         javax/swing/RepaintManager.java,
13715         javax/swing/RootPaneContainer.java,
13716         javax/swing/Scrollable.java,
13717         javax/swing/ScrollPaneConstants.java,
13718         javax/swing/ScrollPaneLayout.java,
13719         javax/swing/SingleSelectionModel.java,
13720         javax/swing/SizeRequirements.java,
13721         javax/swing/SizeSequence.java,
13722         javax/swing/SwingConstants.java,
13723         javax/swing/SwingUtilities.java,
13724         javax/swing/table/AbstractTableModel.java,
13725         javax/swing/table/DefaultTableCellRenderer.java,
13726         javax/swing/table/DefaultTableColumnModel.java,
13727         javax/swing/table/DefaultTableModel.java,
13728         javax/swing/table/TableCellEditor.java,
13729         javax/swing/table/TableCellRenderer.java,
13730         javax/swing/table/TableColumn.java,
13731         javax/swing/table/TableColumnModel.java,
13732         javax/swing/table/TableModel.java,
13733         javax/swing/text/AbstractDocument.java,
13734         javax/swing/text/AttributeSet.java,
13735         javax/swing/text/BadLocationException.java,
13736         javax/swing/text/Caret.java,
13737         javax/swing/text/CharacterIterator.java,
13738         javax/swing/text/ComponentView.java,
13739         javax/swing/text/DefaultCaret.java,
13740         javax/swing/text/DefaultEditorKit.java,
13741         javax/swing/text/Document.java,
13742         javax/swing/text/EditorKit.java,
13743         javax/swing/text/Element.java,
13744         javax/swing/text/GapContent.java,
13745         javax/swing/text/JTextComponent.java,
13746         javax/swing/text/Keymap.java,
13747         javax/swing/text/MutableAttributeSet.java,
13748         javax/swing/text/PlainDocument.java,
13749         javax/swing/text/PlainEditorKit.java,
13750         javax/swing/text/Position.java,
13751         javax/swing/text/Segment.java,
13752         javax/swing/text/StyledDocument.java,
13753         javax/swing/text/StyledEditorKit.java,
13754         javax/swing/text/Style.java,
13755         javax/swing/text/TextAction.java,
13756         javax/swing/text/ViewFactory.java,
13757         javax/swing/text/View.java,
13758         javax/swing/Timer.java,
13759         javax/swing/ToggleButtonModel.java,
13760         javax/swing/ToolTipManager.java,
13761         javax/swing/tree/AbstractLayoutCache.java,
13762         javax/swing/tree/DefaultMutableTreeNode.java,
13763         javax/swing/tree/DefaultTreeCellEditor.java,
13764         javax/swing/tree/DefaultTreeCellRenderer.java,
13765         javax/swing/tree/DefaultTreeModel.java,
13766         javax/swing/tree/DefaultTreeSelectionModel.java,
13767         javax/swing/tree/ExpandVetoException.java,
13768         javax/swing/tree/FixedHeightLayoutCache.java,
13769         javax/swing/tree/MutableTreeNode.java,
13770         javax/swing/tree/RowMapper.java,
13771         javax/swing/tree/TreeCellEditor.java,
13772         javax/swing/tree/TreeCellRenderer.java,
13773         javax/swing/tree/TreeModel.java,
13774         javax/swing/tree/TreeNode.java,
13775         javax/swing/tree/TreePath.java,
13776         javax/swing/tree/TreeSelectionModel.java,
13777         javax/swing/tree/VariableHeightLayoutCache.java,
13778         javax/swing/UIDefaults.java,
13779         javax/swing/UIManager.java,
13780         javax/swing/undo/AbstractUndoableEdit.java,
13781         javax/swing/undo/CannotRedoException.java,
13782         javax/swing/undo/CannotUndoException.java,
13783         javax/swing/undo/CompoundEdit.java,
13784         javax/swing/undo/StateEditable.java,
13785         javax/swing/undo/StateEdit.java,
13786         javax/swing/undo/UndoableEdit.java,
13787         javax/swing/undo/UndoableEditSupport.java,
13788         javax/swing/undo/UndoManager.java,
13789         javax/swing/UnsupportedLookAndFeelException.java,
13790         javax/swing/ViewportLayout.java,
13791         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13792
13793         * java/awt/ActiveEvent.java,
13794         java/awt/Adjustable.java, java/awt/AWTError.java,
13795         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13796         java/awt/AWTException.java, java/awt/AWTPermission.java,
13797         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13798         java/awt/Color.java, java/awt/Component.java,
13799         java/awt/ComponentOrientation.java, java/awt/Container.java,
13800         java/awt/datatransfer/MimeTypeParseException.java,
13801         java/awt/datatransfer/Transferable.java,
13802         java/awt/datatransfer/UnsupportedFlavorException.java,
13803         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13804         java/awt/event/ActionListener.java,
13805         java/awt/event/AdjustmentEvent.java,
13806         java/awt/event/AdjustmentListener.java,
13807         java/awt/event/AWTEventListener.java,
13808         java/awt/event/ComponentAdapter.java,
13809         java/awt/event/ComponentEvent.java,
13810         java/awt/event/ComponentListener.java,
13811         java/awt/event/ContainerAdapter.java,
13812         java/awt/event/ContainerEvent.java,
13813         java/awt/event/ContainerListener.java,
13814         java/awt/event/FocusAdapter.java,
13815         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13816         java/awt/event/HierarchyBoundsAdapter.java,
13817         java/awt/event/HierarchyBoundsListener.java,
13818         java/awt/event/HierarchyEvent.java,
13819         java/awt/event/HierarchyListener.java,
13820         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13821         java/awt/event/InputMethodListener.java,
13822         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13823         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13824         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13825         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13826         java/awt/event/MouseListener.java,
13827         java/awt/event/MouseMotionAdapter.java,
13828         java/awt/event/MouseMotionListener.java,
13829         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13830         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13831         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13832         java/awt/event/WindowListener.java, java/awt/Font.java,
13833         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13834         java/awt/geom/Ellipse2D.java,
13835         java/awt/geom/IllegalPathStateException.java,
13836         java/awt/geom/Line2D.java,
13837         java/awt/geom/NoninvertibleTransformException.java,
13838         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13839         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13840         java/awt/geom/RoundRectangle2D.java,
13841         java/awt/GraphicsConfiguration.java,
13842         java/awt/IllegalComponentStateException.java,
13843         java/awt/image/IndexColorModel.java,
13844         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13845         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13846         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13847         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13848         java/awt/MenuItem.java, java/awt/PaintContext.java,
13849         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13850         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13851         java/awt/PrintJob.java, java/awt/Rectangle.java,
13852         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13853         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13854         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13855
13856         * java/awt/im/spi/InputMethod.java,
13857         java/awt/im/spi/InputMethodContext.java,
13858         java/awt/im/spi/InputMethodDescriptor.java,
13859         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13860         java/awt/image/renderable/ParameterBlock.java,
13861         java/awt/image/renderable/RenderContext.java,
13862         java/awt/image/renderable/RenderableImage.java,
13863         java/awt/image/renderable/RenderableImageOp.java,
13864         java/awt/image/renderable/RenderableImageProducer.java,
13865         java/awt/image/renderable/RenderedImageFactory.java: New files from
13866         classpath.
13867
13868         * gnu/java/awt/EventModifier.java,
13869         gnu/java/awt/image/ImageDecoder.java,
13870         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13871
13872         * gnu/awt/xlib/XGraphicsConfiguration.java,
13873         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13874         API.
13875
13876         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13877         GNU Classpath.
13878
13879         * Makefile.am: Add new files.
13880         * Makefile.in: Rebuilt.
13881
13882 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13883
13884         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13885         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13886         findResource, getResources, findResources): Add javadoc from classpath.
13887         (getSystemResources): Implemented.
13888
13889 2002-08-01  Mark Wielaard  <mark@klomp.org>
13890
13891         Revert patch that breaks libgcj shared library on powerpc:
13892         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13893         implementation classes by using Class.getName(). Uses Strings again.
13894         * gnu/java/security/der/DEREncodingException.java,
13895         gnu/java/security/provider/DERReader.java,
13896         gnu/java/security/provider/DERWriter.java,
13897         gnu/java/security/provider/DSAKeyPairGenerator.java,
13898         gnu/java/security/provider/DSAParameterGenerator.java,
13899         gnu/java/security/provider/DSAParameters.java,
13900         gnu/java/security/provider/DSASignature.java,
13901         gnu/java/security/provider/GnuDSAPrivateKey.java,
13902         gnu/java/security/provider/GnuDSAPublicKey.java,
13903         gnu/java/security/provider/MD5.java,
13904         gnu/java/security/util/Prime.java: Removed.
13905         * Makefile.am (ordinary_java_source_files): Remove above files.
13906         * Makefile.in: Regenerate.
13907         * gnu/java/security/provider/DefaultPolicy.java
13908         (getPermissions): Revert to maintaining static class variable of
13909         Permissions.
13910         * gnu/java/security/provider/SHA.java
13911         (engineUpdate): Revert algorithm change.
13912         (engineDigest): Revert algorithm change.
13913
13914 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13915
13916         * configure.host: Add SH support.
13917         * sysdep/sh/locks.h: New file.
13918
13919 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13920
13921         * java/awt/Frame.java (Frame): Remove println calls.
13922
13923 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13924
13925         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13926         * configure: Rebuilt.
13927
13928 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13929
13930         * sysdep/powerpc/locks.h: Formatting.
13931         (_LARX): Define.
13932         (_STCX): Define.
13933         (compare_and_swap): Use _LARX and _STCX.
13934         (compare_and_swap_release): Likewise.
13935
13936 2002-07-26  Tom Tromey  <tromey@redhat.com>
13937
13938         * java/net/Authenticator.java: New version from Classpath.
13939         * java/net/DatagramSocketImpl.java: New version from Classpath.
13940
13941 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13942
13943         * configure.host: Add powerpc64*-* entry.
13944
13945 2002-07-26  Tom Tromey  <tromey@redhat.com>
13946
13947         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13948         fcntl.h.
13949
13950 2002-07-24  Tom Tromey  <tromey@redhat.com>
13951
13952         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13953         argument to _load.
13954
13955 2002-07-24  Tom Tromey  <tromey@redhat.com>
13956             Tony Kimball <alk@pobox.com>
13957
13958         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13959         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13960         * java/io/RandomAccessFile.java (setLength): New method.
13961         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13962         * java/io/FileDescriptor.java (setLength): New method.
13963
13964 2002-07-24  Mark Wielaard  <mark@klomp.org>
13965
13966         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13967         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13968         field call setAccessible(true).
13969         (setByteField): Likewise.
13970         (setCharField): Likewise.
13971         (setDoubleField): Likewise.
13972         (setFloatField): Likewise.
13973         (setIntField): Likewise.
13974         (setLongField): Likewise.
13975         (setShortField): Likewise.
13976         (setObjectField): Likewise.
13977
13978 2002-07-24  Tom Tromey  <tromey@redhat.com>
13979
13980         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13981         use toString() to format array element.
13982
13983 2002-07-23  Mark Wielaard  <mark@klomp.org>
13984
13985         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13986         MessageDigestSpi (fixes Classpath bug #783).
13987
13988 2002-07-21  Mark Wielaard  <mark@klomp.org>
13989
13990         * gnu/java/security/provider/Gnu.java: Reference all implementation
13991         classes by using Class.getName().
13992
13993 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13994
13995         * java/lang/ieeefp.h: Add x86-64 support.
13996         * configure.in: Likewise.
13997         * configure.host: Likewise.
13998         * configure: Regenerated.
13999         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14000
14001 2002-07-16  Mark Wielaard  <mark@klomp.org>
14002
14003         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14004         (whitespaceChars): call resetChar().
14005
14006 2002-07-15  Tom Tromey  <tromey@redhat.com>
14007
14008         * Makefile.in: Rebuilt.
14009         * Makefile.am (awt_java_source_files): Added new files.
14010         * java/beans/ExceptionListener.java: Merged with Classpath.
14011         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14012         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14013         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14014         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14015         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14016         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14017         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14018
14019 2002-07-14  Mark Wielaard  <mark@klomp.org>
14020
14021         * gnu/java/security/der/DEREncodingException.java,
14022         gnu/java/security/provider/DERReader.java,
14023         gnu/java/security/provider/DERWriter.java,
14024         gnu/java/security/provider/DSAKeyPairGenerator.java,
14025         gnu/java/security/provider/DSAParameterGenerator.java,
14026         gnu/java/security/provider/DSAParameters.java,
14027         gnu/java/security/provider/DSASignature.java,
14028         gnu/java/security/provider/GnuDSAPrivateKey.java,
14029         gnu/java/security/provider/GnuDSAPublicKey.java,
14030         gnu/java/security/provider/MD5.java,
14031         gnu/java/security/util/Prime.java: New files from Classpath.
14032         * Makefile.am (ordinary_java_source_files): Add new files.
14033         * Makefile.in: Regenerate.
14034
14035 2002-07-14  C. Brian Jones <cbj@gnu.org>
14036
14037         * gnu/java/security/provider/DefaultPolicy.java
14038         (getPermissions): do not maintain static class variable of
14039         Permissions
14040         * gnu/java/security/provider/SHA.java
14041         (engineUpdate): algorithm change
14042         (engineDigest): algorithm change
14043
14044 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14045
14046         For PR libgcj/7292:
14047         * java/lang/Character.java (toString(char)): Now static.
14048
14049 2002-07-12  Mark Wielaard  <mark@klomp.org>
14050
14051         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14052         (getStackTrace0): new method.
14053         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14054         (printStackTrace(PrintWriter)): replace with pure java implementation.
14055         (printRawStackTrace): removed.
14056         (getStackTrace0): new method.
14057         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14058         * gcj/javaprims.h: regenerate class list.
14059         * include/name-finder.h (lookup): new returns StackTraceElement*.
14060         (method_name, file_name): fields removed.
14061         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14062         (~_Jv_name_finder): close new descriptors.
14063         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14064         (createStackTraceElement): new method.
14065         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14066
14067 2002-07-10  Tom Tromey  <tromey@redhat.com>
14068
14069         * configure: Rebuilt.
14070         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14071
14072 2002-07-08  Mark Wielaard  <mark@klomp.org>
14073
14074         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14075         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14076         java.sql.DatabaseMetaData.TestJdbc20
14077
14078 2002-07-05  Tony Kimball  <alk@pobox.com>
14079
14080         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14081
14082 2002-07-04  Tom Tromey  <tromey@redhat.com>
14083             Jeff Sturm  <jsturm@one-point.com>
14084
14085         Fix for PR libgcj/7060:
14086         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14087         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14088         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14089         * java/lang/Class.java (getMethod): New Java implementation;
14090         complies with spec.
14091         (_getMethod): New native method.
14092
14093 2002-07-02  Tom Tromey  <tromey@redhat.com>
14094             David Hovemeyer  <daveho@cs.umd.edu>
14095
14096         * java/text/ChoiceFormat.java
14097         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14098         in check loop.
14099         * java/text/MessageFormat.java
14100         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14101         to MessageFormat.
14102
14103 2002-07-01  Tom Tromey  <tromey@redhat.com>
14104
14105         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14106         StringTokenizer on null string.  For PR libgcj/7180.
14107         From daveho@cs.umd.edu.
14108
14109 2002-06-24  Tom Tromey  <tromey@redhat.com>
14110
14111         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14112         (IntegerClass): Likewise.
14113         * java/lang/natClass.cc (CloneableClass): Removed.
14114         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14115         ConstructorClass): Likewise.
14116         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14117         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14118         SerializableClass): Likewise.
14119         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14120         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14121         LongClass, FloatClass, DoubleClass): Likewise.
14122
14123         * verify.cc (branch_prepass): Updated for change to exception
14124         handler type.
14125         (verify_instructions_0): Likewise.
14126         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14127         (handleExceptionTableEntry): Updated for change to exception
14128         handler type.
14129         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14130         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14131         (union _Jv_InterpPC): New.
14132         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14133         (class _Jv_InterpMethod): Added new `prepared' field.
14134         (class _Jv_InterpMethod): Added `compile' method.  Removed
14135         `continue1' and `find_exception'.  Changed arguments to `run'.
14136         * interpret.cc (union insn_slot): New.
14137         (find_exception): Removed.
14138         (run_normal): Removed most logic.
14139         (run_synch_object): Likewise; also, use JvSynchronize.
14140         (run_synch_class): Likewise.
14141         (run): Removed.
14142         (continue1): Renamed as `run'.  Compile bytecode if required.
14143         Add new code to allow refinement of direct-threaded code at
14144         runtime.  Handle exceptions.
14145         (SAVE_PC): Removed.
14146         (compile): New method.
14147         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14148         (NULLARRAYCHECK): Don't use SAVE_PC.
14149         (pc_t): New typedef.
14150         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14151         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14152
14153 2002-06-23  Tom Tromey  <tromey@redhat.com>
14154
14155         * configure: Rebuilt.
14156         * configure.in (INTERPRETER): New subst.
14157         (AM_RUNTESTFLAGS): Don't subst.
14158
14159         * Makefile.in: Rebuilt.
14160         * Makefile.am ($(srcdir)/java/lang/Object.h,
14161         $(srcdir)/java/lang/Class.h): Added dummy targets.
14162
14163 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14164
14165         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14166
14167         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14168         java/sql/Savepoint.java: New files.
14169         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14170         java/sql/Blob.java, java/sql/CallableStatement.java,
14171         java/sql/Clob.java, java/sql/Connection.java,
14172         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14173         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14174         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14175         java/sql/Ref.java, java/sql/ResultSet.java,
14176         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14177         java/sql/SQLException.java, java/sql/SQLInput.java,
14178         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14179         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14180         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14181         (JDK 1.4) specification.
14182         * javax/sql/ConnectionEvent.java,
14183         javax/sql/ConnectionEventListener.java,
14184         javax/sql/ConnectionPoolDataSource.java,
14185         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14186         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14187         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14188         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14189         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14190         javax/sql/XADataSource.java: New files.
14191         * Makefile.am: Add new files.
14192         * Makefile.in: Rebuilt.
14193
14194 2002-06-20  Tom Tromey  <tromey@redhat.com>
14195
14196         For PR libgcj/7073:
14197         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14198         exists.
14199         * defineclass.cc (handleClassBegin): Superclass for interface is
14200         `null'.
14201
14202 2002-06-18  Tom Tromey  <tromey@redhat.com>
14203
14204         * gcj/javaprims.h: Updated class declaration list.
14205         * Makefile.in: Rebuilt.
14206         * Makefile.am (core_java_source_files): Removed
14207         BasicMapEntry.java.
14208         * java/util/BasicMapEntry.java: Removed.
14209
14210 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14211
14212         * java/net/natPlainDatagramSocketImpl.cc (receive):
14213         Check bounds of argument to FD_SET.
14214         (setOption): Throw exception if socket is closed.
14215
14216         * java/net/natPlainSocketImpl.cc (accept, read):
14217         Check bounds of argument to FD_SET.
14218         (setOption): Throw exception if socket is closed.
14219
14220 2002-06-18  Tom Tromey  <tromey@redhat.com>
14221
14222         * gcj/javaprims.h: Updated class declaration list.
14223         * Makefile.in: Rebuilt.
14224         * Makefile.am (core_java_source_files): Added
14225         PropertyPermissionCollection.java.
14226         * java/lang/Thread.java (group, name): Now package-private.
14227         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14228         * java/util/AbstractList.java: Likewise.
14229         * java/util/AbstractMap.java: Likewise.
14230         * java/util/Calendar.java: Likewise.
14231         * java/util/Collections.java: Likewise.
14232         * java/util/HashMap.java: Likewise.
14233         * java/util/Hashtable.java: Likewise.
14234         * java/util/LinkedHashMap.java: Likewise.
14235         * java/util/LinkedList.java: Likewise.
14236         * java/util/List.java: Likewise.
14237         * java/util/ListResourceBundle.java: Likewise.
14238         * java/util/Map.java: Likewise.
14239         * java/util/Observable.java: Likewise.
14240         * java/util/Properties.java: Likewise.
14241         * java/util/PropertyPermission.java: Likewise.
14242         * java/util/PropertyPermissionCollection.java: Likewise.
14243         * java/util/PropertyResourceBundle.java: Likewise.
14244         * java/util/Random.java: Likewise.
14245         * java/util/SimpleTimeZone.java: Likewise.
14246         * java/util/StringTokenizer.java: Likewise.
14247         * java/util/TimerTask.java: Likewise.
14248         * java/util/TreeMap.java: Likewise.
14249         * java/util/WeakHashMap.java: Likewise.
14250         * java/util/jar/Attributes.java: Likewise.
14251         * java/util/jar/JarException.java: Likewise.
14252         * java/util/jar/Manifest.java: Likewise.
14253
14254 2002-06-17  Tom Tromey  <tromey@redhat.com>
14255
14256         * gcj/javaprims.h: Updated class declaration list.
14257         * Makefile.in: Rebuilt.
14258         * Makefile.am (core_java_source_files): Added new file.
14259         * java/util/EventListenerProxy.java: New file.
14260         * java/util/EventListener.java: Re-merge with Classpath.
14261         * java/util/EventObject.java: Re-merge with Classpath.
14262
14263 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14264
14265         * java/lang/ClassNotFoundException.java: New Classpath version.
14266
14267 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14268
14269         * java/rmi/activation/ActivateFailedException.java: Remerge from
14270         Classpath version.
14271         * java/rmi/activation/ActivationException.java: Ditto.
14272         * java/rmi/activation/UnknownGroupException.java: Ditto.
14273         * java/rmi/activation/UnknownObjectException.java: Ditto.
14274         * java/rmi/server/ExportException: Ditto.
14275         * java/rmi/server/ServerCloneException: Ditto.
14276         * java/rmi/server/ServerNotActiveException: Ditto.
14277         * java/rmi/server/SkeletonMismatchException: Ditto.
14278         * java/rmi/server/SkeletonNotFoundException: Ditto.
14279         * java/rmi/server/SocketSecurityException: Ditto.
14280
14281 2002-06-16  Tom Tromey  <tromey@redhat.com>
14282
14283         * gcj/javaprims.h: Updated class declaration list.
14284
14285         * java/io/LineNumberInputStream.java: Merged with Classpath.
14286
14287         * java/lang/RuntimeException.java: Re-merge with Classpath.
14288         * java/util/ArrayList.java: Likewise.
14289         * java/util/Arrays.java: Likewise.
14290         * java/util/BitSet.java: Likewise.
14291         * java/util/Dictionary.java: Likewise.
14292         * java/util/IdentityHashMap.java: Likewise.
14293         * java/util/MissingResourceException.java: Likewise.
14294         * java/util/Observer.java: Likewise.
14295         * java/util/TooManyListenersException.java: Likewise.
14296         * java/util/zip/DataFormatException.java: Likewise.
14297         * java/util/zip/ZipException.java: Likewise.
14298
14299 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14300
14301         * java/rmi/AccessException.java: Remerge from Classpath.
14302         * java/rmi/AlreadyBoundException.java: Ditto.
14303         * java/rmi/ConnectException.java: Ditto.
14304         * java/rmi/ConnectIOException.java: Ditto.
14305         * java/rmi/MarshalException.java: Ditto.
14306         * java/rmi/NoSuchObjectException.java: Ditto.
14307         * java/rmi/NotBoundException.java: Ditto.
14308         * java/rmi/RemoteException.java: Ditto.
14309         * java/rmi/RMISecurityException.java: Ditto.
14310         * java/rmi/ServerError.java: Ditto.
14311         * java/rmi/ServerException.java: Ditto.
14312         * java/rmi/ServerRuntimeException.java: Ditto.
14313         * java/rmi/StubNotFoundException.java: Ditto.
14314         * java/rmi/UnexpectedExcpetion.java: Ditto.
14315         * java/rmi/UnknownHostException.java: Ditto.
14316         * java/rmi/UnmarshalException.java: Ditto.
14317
14318 2002-06-15  Tom Tromey  <tromey@redhat.com>
14319
14320         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14321         * java/lang/ArithmeticException.java: Likewise.
14322         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14323         * java/lang/ArrayStoreException.java: Likewise.
14324         * java/lang/Byte.java: Likewise.
14325         * java/lang/CharSequence.java: Likewise.
14326         * java/lang/ClassCastException.java: Likewise.
14327         * java/lang/ClassCircularityError.java: Likewise.
14328         * java/lang/ClassFormatError.java: Likewise.
14329         * java/lang/CloneNotSupportedException.java: Likewise.
14330         * java/lang/Cloneable.java: Likewise.
14331         * java/lang/Comparable.java: Likewise.
14332         * java/lang/Compiler.java: Likewise.
14333         * java/lang/Error.java: Likewise.
14334         * java/lang/ExceptionInInitializerError.java: Likewise.
14335         * java/lang/IllegalAccessError.java: Likewise.
14336         * java/lang/IllegalAccessException.java: Likewise.
14337         * java/lang/IllegalArgumentException.java: Likewise.
14338         * java/lang/IllegalMonitorStateException.java: Likewise.
14339         * java/lang/IllegalStateException.java: Likewise.
14340         * java/lang/IllegalThreadStateException.java: Likewise.
14341         * java/lang/IncompatibleClassChangeError.java: Likewise.
14342         * java/lang/IndexOutOfBoundsException.java: Likewise.
14343         * java/lang/InheritableThreadLocal.java: Likewise.
14344         * java/lang/InstantiationError.java: Likewise.
14345         * java/lang/InstantiationException.java: Likewise.
14346         * java/lang/InternalError.java: Likewise.
14347         * java/lang/InterruptedException.java: Likewise.
14348         * java/lang/LinkageError.java: Likewise.
14349         * java/lang/NegativeArraySizeException.java: Likewise.
14350         * java/lang/NoClassDefFoundError.java: Likewise.
14351         * java/lang/NoSuchFieldError.java: Likewise.
14352         * java/lang/NoSuchFieldException.java: Likewise.
14353         * java/lang/NoSuchMethodError.java: Likewise.
14354         * java/lang/NoSuchMethodException.java: Likewise.
14355         * java/lang/NullPointerException.java: Likewise.
14356         * java/lang/NumberFormatException.java: Likewise.
14357         * java/lang/OutOfMemoryError.java: Likewise.
14358         * java/lang/Process.java: Likewise.
14359         * java/lang/Runnable.java: Likewise.
14360         * java/lang/RuntimePermission.java: Likewise.
14361         * java/lang/SecurityException.java: Likewise.
14362         * java/lang/Short.java: Likewise.
14363         * java/lang/StackOverflowError.java: Likewise.
14364         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14365         * java/lang/ThreadDeath.java: Likewise.
14366         * java/lang/ThreadLocal.java: Likewise.
14367         * java/lang/UnknownError.java: Likewise.
14368         * java/lang/UnsatisfiedLinkError.java: Likewise.
14369         * java/lang/UnsupportedClassVersionError.java: Likewise.
14370         * java/lang/UnsupportedOperationException.java: Likewise.
14371         * java/lang/VerifyError.java: Likewise.
14372         * java/lang/VirtualMachineError.java: Likewise.
14373         * java/lang/reflect/InvocationTargetException.java: Likewise.
14374         * java/net/BindException.java: Likewise.
14375         * java/net/ConnectException.java: Likewise.
14376         * java/net/MalformedURLException.java: Likewise.
14377         * java/net/NoRouteToHostException.java: Likewise.
14378         * java/net/ProtocolException.java: Likewise.
14379         * java/net/SocketException.java: Likewise.
14380         * java/net/UnknownHostException.java: Likewise.
14381         * java/net/UnknownServiceException.java: Likewise.
14382
14383         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14384         * java/io/CharConversionException.java: Likewise.
14385         * java/io/EOFException.java: Likewise.
14386         * java/io/FileNotFoundException.java: Likewise.
14387         * java/io/IOException.java: Likewise.
14388         * java/io/InterruptedIOException.java: Likewise.
14389         * java/io/InvalidClassException.java: Likewise.
14390         * java/io/InvalidObjectException.java: Likewise.
14391         * java/io/NotActiveException.java: Likewise.
14392         * java/io/NotSerializableException.java: Likewise.
14393         * java/io/ObjectStreamException.java: Likewise.
14394         * java/io/ObjectStreamConstants.java: Likewise.
14395         * java/io/OptionalDataException.java: Likewise.
14396         * java/io/PipedInputStream.java: Likewise.
14397         * java/io/PushbackInputStream.java: Likewise.
14398         * java/io/StreamCorruptedException.java: Likewise.
14399         * java/io/SyncFailedException.java: Likewise.
14400         * java/io/UTFDataFormatException.java: Likewise.
14401         * java/io/UnsupportedEncodingException.java: Likewise.
14402         * java/io/WriteAbortedException.java: Likewise.
14403
14404 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14405
14406         * java/text/ChoiceFormat.java: Update comments from Classpath.
14407         * java/text/ParseException.java (serialVersionUID): New
14408         field from Classpath.
14409         * java/text/ParseException.java: Update formatting & comments
14410         from Classpath.
14411
14412 2002-06-15  Tom Tromey  <tromey@redhat.com>
14413
14414         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14415         been read but none output by inflater.
14416         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14417         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14418         is_finished.
14419         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14420         version.
14421         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14422         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14423         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14424         version.
14425         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14426
14427 2002-06-13  Tom Tromey  <tromey@redhat.com>
14428
14429         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14430         true and OFFSET!=0.
14431         * java/lang/String.java (String(char[],int,int,boolean): New
14432         constructor.
14433         * java/lang/Long.java: Imported new version from Classpath.
14434         * java/lang/Number.java: Likewise.
14435         * java/lang/Integer.java: Likewise.
14436         * java/lang/Long.java: Likewise.
14437         * java/lang/Float.java: Likewise.
14438         * java/lang/Boolean.java: Likewise.
14439         * java/lang/Double.java: Likewise.
14440         * java/lang/Void.java: Likewise.
14441
14442 2002-06-12  Tom Tromey  <tromey@redhat.com>
14443
14444         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14445         Fixes PR libgcj/6652.
14446
14447 2002-06-10  Tom Tromey  <tromey@redhat.com>
14448
14449         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14450         (Class::getPackagePortion): Likewise.
14451         * java/lang/Class.java (desiredAssertionStatus): New method from
14452         Classpath.
14453         (getPackagePortion): Likewise.
14454         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14455         packageAssertionStatus, classAssertionStatus): New methods from
14456         Classpath.
14457         * java/lang/ClassLoader.java (defaultAssertionStatus,
14458         systemPackageAssertionStatus, packageAssertionStatus,
14459         systemClassAssertionStatus, classAssertionStatus): New fields from
14460         Classpath.
14461         (setDefaultAssertionStatus, setPackageAssertionStatus,
14462         setClassAssertionStatus, clearAssertionStatus): New methods from
14463         Classpath.
14464         * Makefile.in: Rebuilt.
14465         * Makefile.am (core_java_source_files): Added AssertionError.java.
14466         * java/lang/AssertionError.java: New from Classpath.
14467
14468 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14469
14470         * configure.host: Disable hash synchronization and slow_pthread_self
14471         for cygwin.
14472
14473 2002-06-06  Adam Megacz <adam@xwt.org>
14474
14475         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14476         locking, just like the Sun JVM does.
14477
14478 2002-06-05  H.J. Lu  (hjl@gnu.org)
14479
14480         * Makefile.am (libgcj_convenience.la): Revert the last change.
14481         (libgcj.la): Likewise.
14482         * Makefile.in: Regenerated.
14483
14484 2002-06-04  H.J. Lu  (hjl@gnu.org)
14485
14486         * Makefile.am (libgcj_convenience.la): New target.
14487         (libgcj.la): Depend on libgcj_convenience.la.
14488         * Makefile.in: Regenerated.
14489
14490 2002-06-04  H.J. Lu  (hjl@gnu.org)
14491
14492         * configure.in (--with-newlib): New option:
14493         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14494         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14495         Linux.
14496         * configure: Regenerated.
14497
14498 2002-06-04  Tom Tromey  <tromey@redhat.com>
14499
14500         * java/util/natTimeZone.cc: Include <stdio.h>.
14501
14502 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14503
14504         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14505         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14506         Set SIGNAL_HANDLER=include/s390-linux.h.
14507         * configure: Regenerate.
14508         * include/s390-linux.h: New file.
14509
14510 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14511
14512         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14513         not "stackTrace".
14514
14515 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14516
14517         Merge JDK 1.4 java.security changes from classpath.
14518
14519         * java/security/AccessControlException.java: Merge from Classpath.
14520         * java/security/AccessController.java: Likewise.
14521         * java/security/AllPermission.java: Likewise.
14522         * java/security/BasicPermission.java: Likewise.
14523         * java/security/Certificate.java: Likewise.
14524         * java/security/CodeSource.java: Likewise.
14525         * java/security/DigestException.java: Likewise.
14526         * java/security/DigestOutputStream.java: Likewise.
14527         * java/security/DomainCombiner.java: Likewise.
14528         * java/security/GeneralSecurityException.java: Likewise.
14529         * java/security/Guard.java: Likewise.
14530         * java/security/GuardedObject.java: Likewise.
14531         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14532         * java/security/InvalidKeyException.java: Likewise.
14533         * java/security/InvalidParameterException.java: Likewise.
14534         * java/security/Key.java: Likewise.
14535         * java/security/KeyException.java: Likewise.
14536         * java/security/KeyManagementException.java: Likewise.
14537         * java/security/KeyStoreException.java: Likewise.
14538         * java/security/MessageDigest.java: Likewise.
14539         * java/security/NoSuchAlgorithmException.java: Likewise.
14540         * java/security/NoSuchProviderException.java: Likewise.
14541         * java/security/Permission.java: Likewise.
14542         * java/security/PermissionCollection.java: Likewise.
14543         * java/security/Permissions.java: Likewise.
14544         * java/security/Policy.java: Likewise.
14545         * java/security/Principal.java: Likewise.
14546         * java/security/PrivateKey.java: Likewise.
14547         * java/security/PrivilegedAction.java: Likewise.
14548         * java/security/PrivilegedActionException.java: Likewise.
14549         * java/security/PrivilegedExceptionAction.java: Likewise.
14550         * java/security/ProtectionDomain.java: Likewise.
14551         * java/security/ProviderException.java: Likewise.
14552         * java/security/PublicKey.java: Likewise.
14553         * java/security/SecureClassLoader.java: Likewise.
14554         * java/security/SecurityPermission.java: Likewise.
14555         * java/security/SignatureException.java: Likewise.
14556         * java/security/UnrecoverableKeyException.java: Likewise.
14557         * java/security/UnresolvedPermission.java: Likewise.
14558         * java/security/acl/AclNotFoundException.java: Likewise.
14559         * java/security/acl/LastOwnerException.java: Likewise.
14560         * java/security/acl/NotOwnerException.java: Likewise.
14561         * java/security/cert/CRLException.java: Likewise.
14562         * java/security/cert/CertificateEncodingException.java: Likewise.
14563         * java/security/cert/CertificateException.java: Likewise.
14564         * java/security/cert/CertificateExpiredException.java: Likewise.
14565         * java/security/cert/CertificateFactory.java: Likewise.
14566         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14567         * java/security/cert/CertificateParsingException.java: Likewise.
14568         * java/security/spec/InvalidKeySpecException.java: Likewise.
14569         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14570
14571         * java/security/cert/CertPath.java: New file.
14572         * java/security/cert/CertPathBuilderException.java: New file.
14573         * java/security/cert/CertPathValidatorException.java: New file.
14574         * java/security/cert/CertStoreException.java: New file.
14575
14576         * Makefile.am: Add new CertPath classes.
14577         * Makefile.in: Rebuilt.
14578
14579         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14580
14581 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14582
14583         Merge JDK 1.4 exception chaining support from classpath.
14584
14585         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14586         (stackTraceBytes): Rename from stackTrace.
14587         * java/lang/Exception.java: Merge from classpath.
14588         * java/lang/StackTraceElement: New file from classpath.
14589         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14590         * Makefile.am: Add StackTraceElement.
14591         * Makefile.in: Rebuilt.
14592
14593 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14594
14595         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14596         they build first.
14597         * Makefile.in: Rebuilt.
14598
14599 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14600
14601         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14602         * configure.in: Likewise.
14603         * aclocal.m4: Regenerate.
14604         * configure: Regenerate.
14605
14606 2002-05-13  Tom Tromey  <tromey@redhat.com>
14607
14608         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14609         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14610         Include platform.h.
14611
14612         Fixes PR libgcj/6389:
14613         * Makefile.in: Rebuilt.
14614         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14615         * java/util/natTimeZone.cc: New file.
14616         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14617         * java/lang/System.java: Merged with Classpath.
14618         * java/lang/Runtime.java: Merged with Classpath.
14619         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14620         security check.
14621         (setIn0): Renamed from setIn; don't run security check.
14622         (setOut0): Renamed from setOut; don't run security check.
14623         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14624         init_properties): Moved to natRuntime.cc.
14625         Moved many includes to natRuntime.cc.
14626         (isWordsBigEndian): New method.
14627         * java/lang/natRuntime.cc: Include Long.h, also other includes
14628         previously in natSystem.cc.
14629         (maxMemory): New function.
14630         (exitInternal): Renamed from `_exit'.
14631         (exit): Removed.
14632         (init): Don't set finalize_on_exit.
14633         (exitInternal): Use `finalizeOnExit'.
14634         (file_encoding, getpwuid_adaptor): New functions from
14635         natSystem.cc.
14636         (insertSystemProperties): New method, renamed from
14637         System::init_properties.  Don't set user.timezone.
14638         (_load): Don't call checkLink.
14639         (execInternal): New method.
14640         (availableProcessors): Likewise.
14641         (nativeGetLibname): Likewise.
14642
14643 2002-05-11  Mark Wielaard  <mark@klomp.org>
14644
14645         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14646         space characters.
14647         (previous_internal): Likewise.
14648
14649 2002-05-09  Tom Tromey  <tromey@redhat.com>
14650
14651         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14652
14653         * java/util/ResourceBundle.java: New version from Classpath.
14654         * java/util/Locale.java: Likewise.
14655
14656 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14657
14658         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14659         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14660         LD_LIBRARY_PATH.
14661
14662 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14663
14664         * libjava/Makefile.am (all_java_source_files): New variable.
14665         (all_java_class_files): Likewise.
14666         .java.class: New rule.
14667         (CLEANFILES): Remove tmp-list.
14668         * libjava/Makefile.in: Regenerated.
14669
14670 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14671
14672         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14673         Append .exe to executable names.  Fix for cygwin.
14674
14675 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14676
14677         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14678         script entry, and set LD to it when configuring multilibs.
14679         * configure: Rebuilt.
14680
14681 2002-05-07  Tom Tromey  <tromey@redhat.com>
14682
14683         * java/lang/natString.cc (unintern): Fixed typo.
14684
14685 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14686
14687         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14688         with -no-install on *-*-cygwin*.
14689
14690 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14691
14692         * testsuite/lib/libjava.exp (test_libjava_from_source):
14693         Add comment explaining last patch
14694
14695 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14696
14697         * testsuite/lib/libjava.exp (test_libjava_from_source):
14698         Append .exe to executable names.  If no suffix is present,
14699         then ".exe" is added by default on win32.  Harmless
14700         elsewhere so always do it.
14701
14702 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14703             Tom Tromey  <tromey@redhat.com>
14704
14705         * java/lang/natSystem.cc (getSystemTimeZone): Use
14706         HAVE_UNDERSCORE_TIMEZONE.
14707         * include/config.h.in: Rebuilt.
14708         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14709         * aclocal.m4, configure: Rebuilt.
14710         * acinclude.m4: Run AC_EXEEXT.
14711         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14712         Add test for `_timezone'.
14713
14714 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14715
14716         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14717         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14718         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14719         * Makefile.in: Rebuilt.
14720
14721 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14722
14723         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14724         use sigaction instead of __libc_sigaction.
14725
14726 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14727
14728         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14729         (libjava_init): Use it to find libgcj.spec.
14730         (libjava_arguments): Likewise.
14731
14732 2002-05-02  David S. Miller  <davem@redhat.com>
14733
14734         PR bootstrap/6525
14735         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14736         __libc_sigaction on Sparc.
14737
14738 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14739
14740         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14741         sys/filio.h, if present.
14742
14743 2002-04-30  Tom Tromey  <tromey@redhat.com>
14744
14745         * java/io/BufferedReader.java (fill): Handle case where markPos
14746         point to ignored \n.  Fixes PR libgcj/6301.
14747
14748 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14749
14750         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14751
14752 2002-04-29  Adam King <aking@dreammechanics.com>
14753
14754         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14755         of file in APPEND mode.
14756
14757 2002-04-25  David S. Miller  <davem@redhat.com>
14758
14759         PR target/6422
14760         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14761         program counter to next program counter minus 8.  Update
14762         comments in this macro to explain why.
14763
14764 2002-04-26  Tom Tromey  <tromey@redhat.com>
14765
14766         * verify.cc (construct_primitive_array_type) [void_type]: New
14767         case.
14768         (branch_prepass): Added dummy entries for unused instruction
14769         values.
14770         (verify_instructions_0): Likewise.
14771         * interpret.cc (continue1): Comment fix.
14772         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14773         * Makefile.in: Rebuilt.
14774         * Makefile.am: Added -Wswitch-enum.
14775
14776 2002-04-24  Tom Tromey  <tromey@redhat.com>
14777
14778         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14779         correct length of UTF-8 encoded name.  Strip leading `/'.
14780         (_Jv_RegisterResource): Use _Jv_Malloc.
14781
14782 2002-04-23  Adam Megacz <adam@xwt.org>
14783
14784         * win32.cc, include/win32.cc (backtrace): Added this function
14785         because Win32 does not supply it.
14786
14787 2002-04-21  David S. Miller  <davem@redhat.com>
14788
14789         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14790         magic instruction reading sequence.
14791
14792 2002-04-21  Mark Wielaard  <mark@klomp.org>
14793
14794         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14795
14796 2002-04-19  David S. Miller  <davem@redhat.com>
14797
14798         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14799         arg.
14800         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14801         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14802         on Sparc too.
14803         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14804         for 64-bit sparc.
14805         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14806         * sysdeps/sparc/locks.h: New file.
14807         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14808         on all sparc Solaris configurations.  Set to
14809         include/dwarf2-signal.h on sparc Linux.
14810         * configure: Regenerate
14811         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14812
14813 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14814
14815         * configure: Rebuilt.
14816         * configure.in (backtrace): Function doesn't work on IA-64.
14817
14818 2002-04-17  Adam King <aking@dreammechanics.com>
14819
14820         * java/io/File.java (normalizePath): Add Win32 support for auto
14821         conversion of a '/' path separator to Win32's '\' separator.
14822
14823 2002-04-16  Tom Tromey  <tromey@redhat.com>
14824
14825         Fix for PR libgcj/6081:
14826         * Makefile.in: Rebuilt.
14827         * Makefile.am (install-data-local): Use GNU make trick to avoid
14828         shell limit.
14829
14830 2002-04-16  Adam King <aking@dreammechanics.com>
14831             Tom Tromey  <tromey@redhat.com>
14832
14833         * java/io/natFileWin32.cc (performList): Return the correct array
14834         type.  Don't duplicate the creation of a File since it's already
14835         done earlier in the method and the existing code would cause a
14836         ArrayStoreException.  Don't use fixed-size array.
14837         (_access, _stat, attr, getCanonicalPath, performMkdir,
14838         performRenameTo): Don't use fixed-size array.
14839         (getCanonicalPath): Use throw, not _Jv_Throw.
14840
14841 2002-04-15  DJ Delorie  <dj@redhat.com>
14842
14843         * configure.in: Allow building in $srcdir.
14844         * configure: Regenerated.
14845
14846 2002-04-14  Mark Wielaard <mark@klomp.org>
14847
14848         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14849         * java/net/natSocketImpl.cc (close): Likewise.
14850
14851 2002-04-14  Mark Wielaard <mark@klomp.org>
14852
14853         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14854
14855 2002-04-13  Adam King <aking@dreammechanics.com>
14856
14857         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14858         the f/F/d/D modifiers.
14859
14860 2002-04-12  Anthony Green  <green@redhat.com>
14861
14862         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14863         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14864         * Makefile.in: Rebuilt.
14865         * configure.in: Substitute gcc_version.
14866         * configure: Rebuilt.
14867
14868 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14869
14870         * configure.host: Set can_unwind_signal on hosts which support it.
14871         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14872         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14873         exceptions and can_unwind_signal isn't set.
14874         * configure: Rebuilt.
14875
14876 2002-04-11  Tom Tromey  <tromey@redhat.com>
14877
14878         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14879
14880 2002-04-11  Adam King <aking@dreammechanics.com>
14881             Tom Tromey  <tromey@redhat.com>
14882
14883         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14884         _Jv_ThrowNullPointerException): Mark as noreturn.
14885         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14886         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14887         fixes.
14888
14889 2002-04-10  Tom Tromey  <tromey@redhat.com>
14890
14891         * Makefile.in: Rebuilt.
14892         * Makefile.am (java/lang/Thread.h): Mark
14893         _Jv_AttachCurrentThreadAsDaemon as friend.
14894         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14895         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14896         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14897         function.
14898         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14899         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14900         (_Jv_JNI_InvokeFunctions): Added
14901         _Jv_JNI_AttachCurrentThreadAsDaemon.
14902         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14903         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14904         (JNI_CreateJavaVM): Likewise.
14905         (_Jv_JNI_AttachCurrentThread): Likewise.
14906         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14907         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14908         (_Jv_JNIFunctions): Initialize new fields.
14909         (_Jv_JNI_NewDirectByteBuffer): New function.
14910         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14911         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14912         * include/jni.h (JNI_VERSION_1_4): New macro.
14913         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14914         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14915         (JNINativeInterface::NewDirectByteBuffer): New field.
14916         (JNINativeInterface::GetDirectBufferAddress): New field.
14917         (JNINativeInterface::GetDirectBufferCapacity): New field.
14918         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14919         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14920         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14921
14922 2002-04-09  Tom Tromey  <tromey@redhat.com>
14923
14924         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14925
14926 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14927
14928         Fix for PR libgcj/6187:
14929         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14930         distance.
14931
14932 2002-04-07  Mark Wielaard <mark@klomp.org>
14933
14934         * java/util/AbstractMap.java (putAll): Use entrySet size.
14935         (toString): Explicitly use getKey() and getValue().
14936
14937 2002-04-07  Mark Wielaard <mark@klomp.org>
14938
14939         * java/util/Hashtable.java (contains): Remove NullPointer check.
14940         (containsValue): Add NullPointer check.
14941         (remove): Always throw NullPointerException when key
14942         is null.
14943
14944 2002-04-07  Adam King <aking@dreammechanics.com>
14945
14946         * java/lang/natSystem.cc (init_properties): Call new function
14947         _Jv_platform_initProperties.
14948         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14949         support for the System properties os.name, os.arch, os.version,
14950         user.name, user.home, and user.dir.
14951         * include/posix.h, include/win32.h, posix.cc: New function
14952         _Jv_platform_initProperties.
14953
14954 2002-04-06  Mark Wielaard <mark@klomp.org>
14955
14956         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14957
14958 2002-04-06  Mark Wielaard <mark@klomp.org>
14959
14960         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14961         all of the remaining elements.
14962         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14963         (removeRange): If toIndex == fromIndex do
14964         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14965         (removeAll): Always throw NullPointerException when collection is
14966         null.
14967         (retrainAll): Likewise.
14968
14969 2002-04-05  Mark Wielaard <mark@klomp.org>
14970
14971         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14972         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14973
14974 2002-04-05  Adam Megacz <adam@xwt.org>
14975
14976         * exception.cc (abort): added static modifier
14977
14978 2002-04-04  Adam Megacz <adam@xwt.org>
14979
14980         * include/win32.h (_Jv_platform_close_on_exec): added inline
14981         modifier.
14982
14983 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14984
14985         * configure.host: Add case statement to support generic port
14986         properties.  Add *-*-freebsd* section.
14987
14988 2002-04-04  Mark Wielaard  <mark@klomp.org>
14989
14990         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14991         test.
14992         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14993         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14994         that depend on awt code and BufferedByteOutputStream.interrupt.
14995
14996 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14997
14998         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14999         incorrect "hi" value when count > 40.
15000
15001 2002-04-03  Mark Wielaard  <mark@klomp.org>
15002
15003         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15004         ordering.
15005
15006 2002-04-02  Tom Tromey  <tromey@redhat.com>
15007
15008         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15009         not `0'.
15010
15011 2002-04-02  Mark Wielaard  <mark@klomp.org>
15012
15013         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15014         list of testsuite crashers.
15015
15016 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15017
15018         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15019         when resizing table.
15020
15021 2002-04-01  Mark Wielaard  <mark@klomp.org>
15022
15023         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15024         NegativeArraySizeException
15025         (clear(int)): Use sign extended shift.
15026         (flip(int)): Likewise.
15027         (get(int)): Likewise.
15028         (nextClearBit(int)): Likewise.
15029         (nextSetBit(int)): Likewise.
15030         (set(int)): Likewise.
15031
15032 2002-04-01  Mark Wielaard  <mark@klomp.org>
15033
15034         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15035         that can be compiled now and add testsuite crashers to ignore list.
15036
15037 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15038
15039         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15040
15041         * libgcj.spec.in: Override libgcc, not lib.
15042         * libgcj-test.spec.in: Likewise.
15043
15044 2002-03-29  Tom Tromey  <tromey@redhat.com>
15045
15046         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15047         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15048
15049 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15050
15051         * java/net/PlainDatagramSocketImpl.java
15052         (close): Use native implementation.
15053         (finalize): New method.
15054
15055         * java/net/PlainSocketImpl.java (finalize): New method.
15056
15057         * java/net/natPlainDatagramSocketImpl.cc
15058         (java/io/FileDescriptor.h): Don't include.
15059         (close): Implement method here.
15060         (create): Don't assign fd.
15061
15062         * java/net/natPlainSocketImpl.cc
15063         (java/io/FileDescriptor.h): Don't include.
15064         (create): Don't assign fd.
15065         (accept): Likewise.
15066         (close): Synchronize.
15067
15068 2002-03-27  Richard Henderson  <rth@redhat.com>
15069
15070         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15071
15072 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15073
15074         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15075         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15076         instead of syscall on IA-64.
15077         Add FIXME comment.
15078
15079 2002-03-27  Anthony Green  <green@redhat.com>
15080
15081         * libgcj.spec.in: Add CHECKREFSPEC.
15082         * configure.in: Ditto.
15083         * configure.host: Ditto.  Check references for xscale-elf.
15084         * configure: Rebuilt.
15085
15086 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15087
15088         * include/dwarf2-signal.h: Temporarily back out last change.
15089
15090 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15091
15092         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15093
15094 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15095
15096         * configure.in, configure: enable dwarf2-exception-style
15097         exception handling on IA-64.
15098         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15099         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15100         Add FIXME comment.
15101
15102 2002-03-25  Tom Tromey  <tromey@redhat.com>
15103
15104         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15105         (jv_convert_LDFLAGS): Likewise.
15106         (gij_LDFLAGS): Likewise.
15107         (rmic_LDFLAGS): Likewise.
15108         (rmiregistry_LDFLAGS): Likewise.
15109         * configure.in (THREADLDFLAGS): New subst; set correctly for
15110         *BSD.
15111
15112 2002-03-25  Tom Tromey  <tromey@redhat.com>
15113
15114         For PR libgcj/5303:
15115         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15116         and --version.
15117         (help): New method.
15118         (version): Likewise.
15119         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15120         "GNU".
15121         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15122         "GNU".
15123
15124 2002-03-25  Tom Tromey  <tromey@redhat.com>
15125
15126         * java/awt/Component.java (processEvent): Check ComponentEvent
15127         after KeyEvent.
15128
15129 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15130
15131         * java/io/PushbackReader.java: Reformat.
15132
15133         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15134         calculate correct number of bytes skipped.
15135
15136         Based on patch from Intel's ORP team:
15137         * java/io/PushbackInputStream.java (available): Calculate correct
15138         number of bytes in buffer.
15139         (read): Remove redundant bound check. Return bytes from both the
15140         buffer and the stream.
15141
15142 2002-03-24  Tom Tromey  <tromey@redhat.com>
15143
15144         * java/awt/TextComponent.java (TextComponent): Editable by
15145         default.
15146
15147         * java/awt/MenuItem.java (eventMask): No longer private.
15148         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15149         superclass if we didn't handle event.
15150         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15151         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15152         * java/awt/Choice.java (dispatchEventImpl): New method.
15153         * java/awt/List.java (dispatchEventImpl): New method.
15154         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15155         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15156         * java/awt/TextField.java (dispatchEventImpl): New method.
15157
15158 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15159
15160         * java/beans/IntrospectionException.java: Update to 1.4.
15161         * java/beans/PropertyVetoException.java: Ditto.
15162
15163 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15164
15165         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15166         Arrays.equals instead of ArrayHelper.equalsArray.
15167
15168 2002-03-24  C. Brian Jones <cbj@gnu.org>
15169
15170         * java/beans/Introspector.java: added new static final fields
15171         introduced in 1.2, lots of other updates remain to be done
15172
15173 2002-03-24  C. Brian Jones <cbj@gnu.org>
15174
15175         * java/beans/Introspector.java: reformatting
15176
15177 2002-03-24  C. Brian Jones <cbj@gnu.org>
15178
15179         * java/beans/Introspector.java: default beanInfoSearchPath will
15180         not include sun.beans.infos given we provide no such package and
15181         the API doesn't really require it; gnu.java.beans.info is the
15182         default.
15183
15184 2002-03-24  Mark Wielaard  <mark@klomp.org>
15185
15186         Thanks to Orp developers
15187         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15188         switch TRUE and FALSE return values.
15189
15190 2002-03-23  Tom Tromey  <tromey@redhat.com>
15191
15192         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15193         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15194
15195 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15196
15197         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15198         MONTH entry.  Fixes PR libgcj/6045.
15199
15200 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15201
15202         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15203
15204 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15205
15206         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15207         not release_set.
15208         * sysdep/powerpc/locks.h (write_barrier): New function.
15209         * sysdep/i386/locks.h (write_barrier): New function.
15210
15211 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15212
15213         * include/jni.h Use correct C comments.
15214
15215 2002-03-18  Tom Tromey  <tromey@redhat.com>
15216
15217         * include/jni.h (JNIIMPORT): New macro.
15218         (JNIEXPORT): Likewise.
15219         (JNICALL): Likewise.
15220
15221 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15222
15223         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15224         systems.
15225
15226 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15227
15228         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15229         INIT_SEGV: Use old_i386_kernel_sigaction.
15230         INIT_FP: Likewise.
15231
15232 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15233
15234         * java/lang/natSystem.cc (init_properties): Update VM version
15235         properties.
15236         * configure.in: Set GCJVERSION.
15237         * acconfig.h: Add GCJVERSION.
15238         * configure: Rebuilt.
15239         * include/config.h.in: Rebuilt.
15240
15241 2002-03-17  Anthony Green  <green@redhat.com>
15242
15243         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15244
15245 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15246
15247         Build a single libgcj.so, without separate gc and zlib libraries.
15248         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15249         SYS_ZLIBS if system zlib is used.
15250         * configure: Rebuilt.
15251         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15252         * Makefile.in: Rebuilt.
15253         * libtool-version: Increment .so version number.
15254
15255         * Makefile.am: Escape quotes in echo.
15256         * Makefile.in: Rebuilt.
15257
15258 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15259
15260         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15261         * Makefile.in: Rebuilt.
15262
15263 2002-03-15  Anthony Green  <green@redhat.com>
15264
15265         * configure.host (FILE): New macro for specifing File
15266         implementation.
15267         * configure: Rebuilt.
15268         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15269
15270 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15271
15272         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15273         already implicitly brought in from libgcj.la.
15274         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15275         * Makefile.in: Rebuilt.
15276
15277 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15278
15279         * THANKS: Fix punctuation, alphabetization.
15280
15281 2002-03-15  Tom Tromey  <tromey@redhat.com>
15282             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15283
15284         Fix for PR libgcj/5944.
15285         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15286
15287 2002-03-15  Anthony Green  <green@redhat.com>
15288
15289         * configure.in (tool_include_dir): Define.
15290         * configure: Rebuilt.
15291         * gcj/Makefile.am: Install libgcj-config.h relative to
15292         tool_include_dir.
15293         * gcj/Makefile: Rebuilt.
15294         * gcj/libgcj-config.h: Add warning comment.
15295
15296 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15297
15298         * configure.host (powerpc*-darwin*): Enable interpreter.
15299
15300 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15301
15302         * include/posix.h: Add multiple include header protection.
15303         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15304
15305 2002-03-10  Adam Megacz <adam@xwt.org>
15306
15307         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15308
15309 2002-03-10  Tom Tromey  <tromey@redhat.com>
15310
15311         * java/awt/GridLayout.java (layoutContainer): Handle case where
15312         there are no items in container.
15313
15314         * java/lang/Win32Process.java: Added comment.
15315         * include/posix.h (_Jv_platform_close_on_exec): New function.
15316         Include fcntl.h.
15317         * include/win32.h (_Jv_platform_close_on_exec): New function.
15318         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15319         flag.
15320         (accept): Likewise.
15321         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15322         close-on-exec flag.
15323         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15324         flag.
15325
15326 2002-03-09  Tom Tromey  <tromey@redhat.com>
15327
15328         * verify.cc (state::NO_STACK): New constant.
15329         (state::is_unmerged_ret_state): Handle case where stacktop is
15330         NO_STACK.
15331         (state::merge): Handle NO_STACK merges.
15332         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15333         for instruction following jsr.
15334         (stacktop, stackdepth): Removed unused variables.
15335         (pop_jump): Ignore case where all remaining states are skipped.
15336
15337 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15338
15339         * java/awt/ImageMediaEntry: Removed.
15340         * java/awt/MediaEntry: Removed.
15341
15342 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15343
15344         Hashtable synchronization for PowerPC.
15345         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15346         slow_pthread_self. Set up symlink for sysdeps directory.
15347         * configure: Rebuild.
15348         * configure.host: Document more shell variables. Set sysdeps_dir
15349         for most platforms. Set slow_pthread_self for i686. Set
15350         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15351         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15352         that memory barrier is emitted where required.
15353         * prims.cc: 64-bit align static primitive class instances.
15354         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15355         read_barrier() to enforce ordering of reads.
15356         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15357         primitives for PowerPC.
15358         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15359         moved from natObject.cc.
15360         * sysdep/alpha/locks.h: Likewise.
15361         * sysdep/ia64/locks.h: Likewise.
15362         * sysdep/generic/locks.h: Likewise.
15363         * java/lang/natObject.cc: Move thread synchronization primitives to
15364         system-dependent headers.
15365
15366 2002-03-09  Adam Megacz  <adam@xwt.org>
15367
15368         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15369         bytes read and no failure code returned.
15370
15371 2002-03-09  Adam Megacz  <adam@xwt.org>
15372
15373         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15374         definitions to simulate -mthreads.
15375
15376 2002-03-09  Adam Megacz  <adam@xwt.org>
15377
15378         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15379         avoid precision loss.
15380
15381 2002-03-09  Per Bothner  <per@bothner.com>
15382
15383         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15384         * gnu/gcj/xlib/XImage.java:  Likewise.
15385         * gnu/gcj/xlib/XColor.java:  Likewise.
15386
15387 2002-03-09  Adam Megacz  <adam@xwt.org>
15388
15389         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15390         IOException so that Throwable.printStackTrace fails correctly.
15391
15392 2002-03-08  Adam Megacz  <adam@xwt.org>
15393
15394         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15395         fixed.
15396
15397 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15398
15399         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15400         truncated to int.
15401
15402 2002-03-08  Tom Tromey  <tromey@redhat.com>
15403
15404         * include/jni.h: Include stdio.h.
15405
15406 2002-03-08  Tom Tromey  <tromey@redhat.com>
15407
15408         * posix.cc (internal_gettimeofday): New function.
15409         (_Jv_select): Use it.
15410
15411 2002-03-07  Adam Megacz  <adam@xwt.org>
15412
15413         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15414         WIN32, and added thunks for read(), write(), and close().
15415         * java/net/natPlainSocketImpl.cc (accept, read, read):
15416         Disabled timeouts on WIN32 pending discussion.
15417
15418 2002-03-07  Adam Megacz  <adam@xwt.org>
15419
15420         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15421         returns jlong. Added implementation
15422         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15423         returns jlong.
15424         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15425         returns jlong.
15426         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15427         returns jlong.
15428         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15429         _Jv_platform_gettimeofday signature.
15430
15431 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15432
15433         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15434         (read): Call recv() directly, not _Jv_recv().
15435
15436 2002-03-06  Tom Tromey  <tromey@redhat.com>
15437
15438         * java/io/natFileDescriptorEcos.cc (init): Don't use
15439         GetStdHandle.
15440         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15441         is negative.
15442         (init): Don't use GetStdHandle.
15443
15444         * include/config.h.in: Rebuilt.
15445         * configure: Rebuilt.
15446         * Makefile.in: Rebuilt.
15447
15448 2002-03-06  Adam Megacz  <adam@xwt.org>
15449
15450         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15451         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15452         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15453         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15454
15455 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15456
15457         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15458         the code for generating include/java-chartables.h.
15459         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15460         merge with Classpath.
15461         * scripts/unicode-muncher.pl: Copy from Classpath.
15462         * scritps/MakeCharTables.java: New file.
15463         * gnu/gcj/convert/Blocks-3.txt: New file.
15464         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15465         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15466         * gnu/java/lang/CharData.java: Copy from Classpath.
15467         * Makefile.am (ordinary_java_source_files): Add
15468         gnu/java/lang/CharData.java.
15469         * configure.in: Remove --enable-fast-character option.
15470         * java/lang/Character.java: Merge algorithms and Javadoc with
15471         Classpath.
15472         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15473         efficiently.
15474         * include/java-chardecomp.h: Regenerate.
15475         * include/java-chartables.h: Regenerate.
15476
15477 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15478
15479         * java/awt/MediaTracker.java: Implemented.
15480         * Makefile.am: Add MediaTracker.
15481         * Makefile.in: Rebuilt.
15482
15483 2002-03-05  Tom Tromey  <tromey@redhat.com>
15484
15485         * java/lang/natPosixProcess.cc (fail): Removed.
15486         (startProcess): Simplified error-handling.  Preserve
15487         LD_LIBRARY_PATH across exec.
15488
15489         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15490         AbstractMethodError.
15491
15492 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15493
15494         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15495         * Makefile.in: Rebuilt.
15496
15497 2002-03-03 Mark Wielaard <mark@klomp.org>
15498
15499         * java/util/Timer (TaskQueue.stop): set elements to zero.
15500
15501 2002-02-28  Anthony Green  <green@redhat.com>
15502
15503         * java/lang/reflect/natMethod.cc (result): Add void* element.
15504         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15505         constructor test.
15506
15507 2002-02-27  Adam Megacz <adam@xwt.org>
15508
15509         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15510         '#undef STRICT'.
15511
15512 2002-02-26  Tom Tromey  <tromey@redhat.com>
15513
15514         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15515         * gij.cc (version): Use __VERSION__.
15516         * include/config.h.in: Rebuilt.
15517         * acconfig.h (GCJVERSION): Removed.
15518         * configure: Rebuilt.
15519         * configure.in (GCJVERSION): Removed.
15520
15521 2002-02-26  Andreas Schwab  <schwab@suse.de>
15522
15523         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15524         glibcpp_CXX, since libjava uses even another CXX.
15525         * aclocal.m4, configure: Regenerated.
15526
15527 2002-02-26  Tom Tromey  <tromey@redhat.com>
15528
15529         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15530         `1'.
15531
15532 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15533
15534         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15535         dependency tracking for .java files.
15536         * Makefile.in: Rebuilt.
15537
15538 2002-02-24  Adam Megacz  <adam@xwt.org>
15539
15540         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15541         typo. Sorry.
15542
15543 2002-02-24  Adam Megacz  <adam@xwt.org>
15544
15545         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15546         for Win32, changed #ifdefs to check WIN32 instead of the
15547         (now-obsolete) USE_WINSOCK, and removed support for socket
15548         timeouts on Win32 pending further discussion.
15549
15550 2002-02-24  Adam Megacz  <adam@xwt.org>
15551
15552         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15553         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15554         delete
15555
15556 2002-02-24  Adam Megacz  <adam@xwt.org>
15557
15558         * java/lang/Win32Process.java: Created a dummy class to allow
15559         build process to run to completion.
15560
15561 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15562
15563         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15564         Define ffi_result union for ffi_call result.  Cast
15565         ffi_result members to jvalue.
15566
15567 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15568
15569         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15570         * testsuite/Makefile.in: Likewise.
15571
15572 2002-02-20  Per Bothner  <per@bothner.com>
15573
15574         * java/net/URL.java (getPath):  New JDK 1.3 method.
15575
15576         * java/net/URLStreamHandler.java (parseURL):
15577         It is wrong to prepend '/' to the file part of a relative url.
15578
15579         * java/net/URLStreamHandler.java (parseURL):
15580         Minor optizations - append '/' rather than "/".
15581
15582         * java/net/URLStreamHandler.java (parseURL):
15583         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15584         We probably should canonicalize for a context-relative url, though.
15585         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15586         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15587         (sameFile):  New method.  Uses canonicalizeFilename.
15588
15589 2002-02-22  Tom Tromey  <tromey@redhat.com>
15590
15591         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15592         java.vendor and java.vm.vendor.
15593         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15594         recent copyright date.
15595         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15596         * gij.cc (version): Print `Inc'.
15597
15598 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15599
15600         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15601         * aclocal.m4, configure: Rebuilt.
15602
15603 2002-02-20  Per Bothner  <per@bothner.com>
15604
15605         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15606         and/or output streams immediately here, instead of using File.exists.
15607         (inputStream, outputStream):  New fields to save open streams.
15608         (getInputStream, getOutputStream):  Use already-opened streams.
15609
15610 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15611
15612         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15613         Use it.
15614         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15615         * aclocal.m4, configure, Makefile.in: Rebuilt.
15616
15617 2002-02-19  Tom Tromey  <tromey@redhat.com>
15618
15619         Fix for PR libgcj/5696:
15620         * verify.cc (is_assignable_from_slow): Never call
15621         _Jv_IsAssignableFrom.
15622         (verify_instructions_0): Added new debug statement.
15623         (state::print): Print information about whether local has
15624         changed.
15625         (state::merge): Don't call note_variable when merging locals.
15626         (state::set_exception): Removed old FIXME comment.
15627
15628 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15629
15630         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15631         enable SO_BROADCAST.
15632
15633 2002-02-18  Jason Merrill  <jason@redhat.com>
15634
15635         * name-finder.cc (toHex): Use word mode, not long long.
15636
15637         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15638
15639 2002-02-15  Tom Tromey  <tromey@redhat.com>
15640
15641         Fix for PR libgcj/5695:
15642         * verify.cc (is_assignable_from_slow): Check to see if target is
15643         an Object before checking to see if source is an interface.
15644         (verify_instructions_0) [op_invokeinterface]: Handle case where
15645         we're making an interface call on Object.
15646
15647 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15648
15649         * Makefile.in: Rebuilt with Eric's change below.
15650
15651         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15652         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15653         Removed functions which are now implemented in Math.java.
15654
15655 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15656
15657         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15658         * Makefile.am (core_java_source_files): Add
15659         java/lang/StrictMath.java.
15660         * java/lang/Math.java: Merge with Classpath.
15661         * java/lang/StrictMath.java: New file - merge with Classpath.
15662
15663 2002-02-14  Mark Wielaard  <mark@klomp.org>
15664
15665         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15666         package as a workaround for gcj 3.0.x
15667
15668 2002-02-14  Mark Wielaard <mark@klomp.org>
15669
15670         * java/security/BasicPermission.java: extends with fully qualified
15671         classname as workaround for gcj 3.0.4.
15672
15673 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15674
15675         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15676         around gcj bug of wrong emitted qualifier for inherited method.
15677         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15678         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15679         constructor to reduce amount of emitted bytecode. While this
15680         happens to work around a jikes 1.15 bug, it is still a useful
15681         patch even for correct compilers.
15682         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15683         * gnu/java/rmi/server/UnicastRemoteCall.java
15684         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15685
15686 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15687
15688         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15689         * java/net/SocketImpl.java: Ditto.
15690         * java/rmi/server/RMIClassLoader.java: Ditto.
15691         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15692
15693 2002-02-14  Mark Wielaard <mark@klomp.org>
15694
15695         Thanks to Takashi Okamoto
15696         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15697         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15698         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15699
15700 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15701
15702         Fix for PR libgcj/5670:
15703         * verify.cc (is_assignable_from_slow): If `source' is interface,
15704         recursively look for merge with `target'.
15705
15706 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15707
15708         * include/jni.h: Fix typo.
15709
15710 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15711
15712         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15713         correctly.
15714
15715 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15716
15717         Fix for PR libgcj/5671:
15718         * verify.cc (state::merge): Handle case where we're merging
15719         against an interface.
15720
15721 2002-02-12  Tom Tromey  <tromey@redhat.com>
15722
15723         * exception.cc (std::abort): Mark as noreturn.
15724
15725 2002-02-12  Adam Megacz <adam@xwt.org>
15726
15727         * java/lang/Win32Process.java: Filled in a placeholder
15728         implementation so Win32 will build.
15729
15730 2002-02-12  Adam Megacz <adam@xwt.org>
15731
15732         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15733         * java/io/natFile.cc: Removed from repository.
15734         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15735
15736 2002-02-12  Adam Megacz <adam@xwt.org>
15737
15738         * win32.cc: Added two #includes to make win32.cc compile.
15739
15740 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15741
15742         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15743         declarations.
15744         (_Jv_InitGC): Don't bother locking, as this is always called from a
15745         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15746
15747 2002-02-11  Adam Megacz <adam@xwt.org>
15748
15749         * include/win32.h: Added _Jv_platform_gettimeofday.
15750         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15751
15752 2002-02-11  Adam Megacz <adam@xwt.org>
15753
15754         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15755         Added #undef STRICT to make windows.h and
15756         java/lang/reflect/Modifier.h cooperate.
15757
15758 2002-02-11  Adam Megacz <adam@xwt.org>
15759
15760         * java/io/natFileWin32.cc: Created a placeholder class with lots
15761         of FIXMEs.
15762
15763 2002-02-11  Adam Megacz <adam@xwt.org>
15764
15765         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15766         std::abort() to simply abort(). Also added "fake" std::abort() so
15767         we can #include unwind-pe.h without having to link against
15768         libstdc++-v3.
15769
15770 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15771
15772         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15773
15774 2002-02-08  Tom Tromey  <tromey@redhat.com>
15775
15776         * interpret.cc (convert): New function.
15777         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15778         convert.
15779         Include Long.h.
15780
15781 2002-02-08  Anthony Green  <green@redhat.com>
15782
15783         * configure.host: Add support for xscale-elf embedded target.
15784
15785 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15786
15787         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15788         dereferenced.
15789         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15790         frame.
15791
15792 2002-02-07  Tom Tromey  <tromey@redhat.com>
15793
15794         * java/io/natFile.cc (_access): Use __builtin_alloca.
15795         (_stat): Likewise.
15796         (attr): Likewise.
15797         (getCanonicalPath): Likewise.
15798         (performList): Likewise.
15799         (performMkdir): Likewise.
15800         (performSetReadOnly): Likewise.
15801         (performRenameTo): Likewise.
15802         (performSetLastModified): Likewise.
15803         (performCreate): Likewise.
15804         (performDelete): Likewise.
15805
15806 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15807
15808         * HACKING: Fix URL for the automake-gcj.
15809
15810 2002-02-07  Tom Tromey  <tromey@redhat.com>
15811
15812         * java/lang/natThrowable.cc: Updated copyright.
15813         * java/io/natFileWin32.cc: Updated copyright.
15814         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15815         * win32-threads.cc: Updated copyright.
15816         * name-finder.cc: Updated copyright.
15817         * include/name-finder.h: Updated copyright.
15818
15819         * include/name-finder.h: Conditionally include sys/wait.h.
15820         * include/config.h.in: Rebuilt.
15821
15822         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15823         Size buffer based on real size of string.
15824         (_stat): Likewise.
15825         (attr): Likewise.
15826         (getCanonicalPath): Likewise.
15827         (performList): Likewise.
15828         (performMkdir): Likewise.
15829         (performSetReadOnly): Likewise.
15830         (unixroot): Removed.
15831         (performRenameTo): Likewise.
15832         (performSetLastModified): Likewise.
15833         (performCreate): Likewise.
15834         (performDelete): Likewise.
15835         (performListRoots): Always return new array.
15836
15837         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15838         * win32.cc (win32_exception_handler): Now static.
15839         * include/win32.h (_Jv_platform_initialize): Declare.
15840         (win32_exception_handler): Don't declare.
15841         * java/lang/natSystem.cc (currentTimeMillis): Use
15842         _Jv_platform_gettimeofday.
15843         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15844         (_Jv_select): Use new name.
15845         (_Jv_platform_initialize): New function.
15846         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15847         _Jv_gettimeofday.
15848         (_Jv_platform_initialize): Declare.
15849
15850         * configure: Rebuilt.
15851         * configure.in: Removed unnecessary parens.
15852
15853 2002-02-06  Adam Megacz <adam@xwt.org>
15854
15855        * configure.in: Changed mingw) to *mingw*).
15856        * win32.cc: Created this file.
15857        * win32.h: Created this file.
15858        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15859        win32_exception_handler from prims.cc to win32.cc, added
15860        header in win32.h.
15861        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15862        longer needed now that we have platform.h
15863
15864 2002-02-06  Adam Megacz <adam@xwt.org>
15865
15866         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15867         use uint<n>_t instead of LONG and BYTE
15868
15869 2002-02-06  Adam Megacz <adam@xwt.org>
15870
15871         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15872
15873 2002-02-06  Anthony Green  <green@redhat.com>
15874
15875         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15876         Implement missing method stubs.
15877         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15878         targets.
15879         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15880         concept of timezones.
15881         (init_properties): Don't refer to _Jv_Environment_Properties
15882         when this feature is not available.
15883         * include/config.h.in: Rebuilt.
15884         * acconfig.h: Add DISABLE_MAIN_ARGS.
15885         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15886         * configure: Rebuilt.
15887         * configure.in: Add --disable-main-args option.  Test for
15888           opendir function.  Replace AC_CHECK_SIZEOF with
15889           AC_COMPILE_CHECK_SIZEOF.
15890         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15891         * aclocal.m4: Rebuilt.
15892         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15893
15894 2002-02-06  Tom Tromey  <tromey@redhat.com>
15895
15896         * verify.cc (require_array_type): If argument is a null array of
15897         references, return null as the element type.
15898
15899 2002-02-06  Mark Wielaard  <mark@klomp.org>
15900
15901         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15902         duplicate of a wide type.
15903
15904 2002-02-06  Tom Tromey  <tromey@redhat.com>
15905
15906         * verify.cc (type::isnull): New method.
15907         (require_array_type): Handle case where array is null.
15908         (verify_instructions_0) [op_arraylength]: Likewise.
15909
15910 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15911
15912         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15913         Symlink PLATFORMH to platform.h.
15914         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15915         PLATFORMOBJS.
15916         * java/lang/natSystem.cc: #include platform.h not posix.h.
15917         * Makefile.in: Rebuilt with libgcj automake.
15918         * configure: Rebuilt.
15919
15920 2002-02-05  Richard Henderson  <rth@redhat.com>
15921
15922         * Makefile.in: Undo munging last change.
15923
15924 2002-02-04  Adam Megacz <adam@xwt.org>
15925
15926         * win32.cc: Created it.
15927         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15928         which is set to posix.cc or win32.cc.
15929         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15930
15931 2002-02-04  Adam Megacz <adam@xwt.org>
15932
15933         * configure.in: Corrected mingw case branches; added * before
15934         and after.
15935
15936 2002-02-04  Adam Megacz <adam@xwt.org>
15937
15938         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15939         if compiling for win32
15940
15941 2002-02-04  Adam Megacz <adam@xwt.org>
15942
15943         * win32-threads.cc: #undef STRICT after gc.h inclusion
15944
15945 2002-02-02  Tom Tromey  <tromey@redhat.com>
15946
15947         * Makefile.in: Rebuilt.
15948
15949 2002-02-02  Jason Merrill  <jason@redhat.com>
15950
15951         * Makefile.am (clean-nat): New target.
15952
15953 2002-02-02  Tom Tromey  <tromey@redhat.com>
15954
15955         * java/io/natFile.cc: Removed old "FIXME" comments.
15956
15957 2002-02-01  Tom Tromey  <tromey@redhat.com>
15958
15959         * java/lang/natPosixProcess.cc (myclose): New function.
15960         (fail): Use it.
15961         (startProcess): Likewise.
15962
15963 2002-02-01  Adam Megacz <adam@xwt.org>
15964
15965         * prims.cc: Added #undef STRICT after #include<windows.h>.
15966
15967 2002-02-01  Adam Megacz <adam@xwt.org>
15968
15969         * prims.cc
15970         (_Jv_CreateJavaVM): We now use WIN32 instead of
15971         USE_WIN32_SIGNALLING and USE_WINSOCK.
15972         (win32_exception_handler): Now throws an exception out of
15973         the signal handler; assumes SJLJ.
15974
15975 2002-02-01  Adam Megacz <adam@xwt.org>
15976
15977         * win32-threads.cc:
15978         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15979         wait() algorithm to make it safe.
15980         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15981         Added lazy creation of Win32 Events for better performance
15982         (really_start): This now uses GC_CreateThread so boehm-gc
15983         knows about new threads even when statically linked.
15984
15985 2002-02-01  Adam Megacz <adam@xwt.org>
15986
15987         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15988         enable safer wait() algorithm.
15989         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15990         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15991         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15992         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15993         instead of mutex.
15994         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15995
15996 2002-02-01  Adam Megacz <adam@xwt.org>
15997
15998         * configure.in: Added support for mingw.
15999         * java/lang/Win32Process.java: Created as empty file.
16000         * java/lang/natWin32Process.cc: Created as empty file.
16001
16002 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16003
16004         PR java/4972
16005         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16006         for libiconv in LIBICONV variable.
16007         * configure: Regenerated.
16008
16009 2002-01-31  Tom Tromey  <tromey@redhat.com>
16010
16011         * verify.cc (state::enter_subroutine): New method.
16012         (handle_jsr_insn): Use it.
16013         (state::merge): When processing a `ret', correctly use
16014         subroutine's state to determine which local variables have
16015         changed.
16016         (push_exception_jump): Don't let stack overflow.
16017
16018 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16019
16020         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16021         --version output.
16022
16023 2002-01-30  Tom Tromey  <tromey@redhat.com>
16024
16025         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16026         parameter for `recv' return type.
16027
16028         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16029         (state::merge): ... not here.
16030         (subr_entry_info): New structure.
16031         (entry_points): New field.
16032         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16033         entry_points.
16034
16035 2002-01-29  Tom Tromey  <tromey@redhat.com>
16036
16037         * java/awt/List.java (addNotify): Correctly check to see if peer
16038         does not exist.
16039
16040         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16041         to compute height of each cell, and number of columns to compute
16042         width of each cell.
16043         * java/awt/Window.java (getOwnedWindows): Don't return null.
16044         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16045         of component.  Increment x using horizontal gap, not vertical
16046         gap.
16047
16048 2002-01-28  Tom Tromey  <tromey@redhat.com>
16049
16050         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16051         `nargs' byte is number of words, not number of arguments.
16052
16053 2002-01-27  Tom Tromey  <tromey@redhat.com>
16054
16055         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16056         (when): Likewise.
16057         * java/awt/event/InputEvent.java (modifiers, when): Now
16058         package-private.
16059
16060         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16061         and to-do list.
16062         (state::merge): Use current class' class loader.
16063         (state::print): Print subroutine.
16064         (state::merge): Don't look at subroutine of unmerged `ret'.
16065
16066 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16067
16068         * nogc.cc: Remove warnings.
16069         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16070         New functions.
16071
16072 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16073
16074         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16075         int, int):  Remove empty "if" statement to work around compiler bug.
16076         (newPixels(int[], ColorModel, int, int): Likewise.
16077
16078 2002-01-25  Per Bothner  <per@bothner.com>
16079
16080         * verify.cc (verify_fail):  Change from being a top-level function
16081         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16082         Pass the current verifier to type: and state: methods as needed,
16083         for better error messages, and for resolve.
16084         (resolve):  Pass current class's loader for Class.forName and
16085         _Jv_FindClassFromSignature, rather than using the default loader.
16086         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16087         (get_type_val_for_signature):  Make non-static.
16088         (various methods):  Pass start_PC implicitly, not explicitly.
16089
16090 2002-01-25  Tom Tromey  <tromey@redhat.com>
16091
16092         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16093         loop termination condition.
16094         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16095         width.
16096
16097 2002-01-24  Tom Tromey  <tromey@redhat.com>
16098
16099         * java/awt/Shape.java: Merged with Classpath.
16100         * java/awt/Scrollbar.java: Merged with Classpath.
16101
16102         * java/awt/Container.java (addNotify): Unconditionally call
16103         addNotifyContainerChildren and superclass addNotify.
16104
16105         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16106         getAlpha, not getBlue.
16107
16108 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16109
16110         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16111
16112         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16113         (grabPixels(long)): Wait to be notified that the ImageProducer has
16114         completed.
16115
16116 2002-01-24  Per Bothner  <per@bothner.com>
16117
16118         * verify.cc (is_assignable_from_slow): If target is an interface,
16119         we must still check the source's superclass before giving up.
16120
16121 2002-01-24  Tom Tromey  <tromey@redhat.com>
16122
16123         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16124
16125 2002-01-23  Tom Tromey  <tromey@redhat.com>
16126
16127         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16128         `else'.
16129
16130         * Makefile.in: Rebuilt.
16131         * Makefile.am (awt_java_source_files): Added new files.
16132         * java/awt/Toolkit.java: Merged with Classpath.
16133         * java/awt/PrintGraphics.java: New file from Classpath.
16134         * java/awt/PrintJob.java: New file from Classpath.
16135         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16136         * java/awt/datatransfer/ClipboardOwner.java: New file from
16137         Classpath.
16138         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16139         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16140         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16141         Classpath.
16142         * java/awt/datatransfer/StringSelection.java: New file from
16143         Classpath.
16144         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16145         Classpath.
16146         * java/awt/datatransfer/Transferable.java: New file from
16147         Classpath.
16148         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16149         from Classpath.
16150
16151         * Makefile.in: Rebuilt.
16152         * Makefile.am (awt_java_source_files): Added new files.
16153         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16154         Classpath.
16155         * java/awt/image/CropImageFilter.java: New file from Classpath.
16156         * java/awt/image/FilteredImageSource.java: New file from
16157         Classpath.
16158         * java/awt/image/ImageFilter.java: New file from Classpath.
16159         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16160         * java/awt/image/PixelGrabber.java: New file from Classpath.
16161         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16162         * java/awt/image/ReplicateScaleFilter.java: New file from
16163         Classpath.
16164         * java/awt/image/ImageProducer.java: Replaced with Classpath
16165         version.
16166         * java/awt/image/ImageObserver.java: Replaced with Classpath
16167         version.
16168         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16169         version.
16170         * java/awt/GridBagConstraints.java (clone): Catch
16171         CloneNotSupportedException.
16172
16173 2002-01-23  Per Bothner  <per@bothner.com>
16174
16175         * java/lang/reflect/natField.cc (setAddr):  New function.
16176         Calls getAddr and then checks that the field isn't final.
16177         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16178         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16179         (set):  Call setAddr before check that new value has right type,
16180         to better match specified semantics.
16181
16182 2002-01-22  Tom Tromey  <tromey@redhat.com>
16183
16184         * java/awt/TextField.java: Replaced with Classpath version.
16185         * java/awt/TextArea.java: Replaced with Classpath version.
16186         * java/awt/TextComponent.java: Replaced with Classpath version.
16187
16188         * java/awt/GridBagConstraints.java: Updated copyright.
16189
16190 2002-01-22  Mark Wielaard <mark@klomp.org>
16191
16192         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16193         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16194         java/awt/Dialog.java java/awt/FileDialog.java
16195         java/awt/Font.java java/awt/FontMetrics.java
16196         java/awt/Image.java java/awt/ImageMediaEntry.java
16197         java/awt/Insets.java java/awt/List.java
16198         java/awt/MediaEntry.java java/awt/MediaTracker.java
16199         java/awt/Menu.java java/awt/MenuBar.java
16200         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16201         java/awt/PaintContext.java java/awt/Panel.java
16202         java/awt/PopupMenu.java java/awt/SystemColor.java
16203         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16204         java/awt/peer/CheckboxMenuItemPeer.java
16205         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16206         java/awt/peer/ComponentPeer.java
16207         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16208         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16209         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16210         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16211         java/awt/peer/MenuBarPeer.java
16212         java/awt/peer/MenuComponentPeer.java
16213         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16214         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16215         java/awt/peer/ScrollPanePeer.java
16216         java/awt/peer/ScrollbarPeer.java
16217         java/awt/peer/TextAreaPeer.java
16218         java/awt/peer/TextComponentPeer.java
16219         java/awt/peer/TextFieldPeer.java
16220         java/awt/peer/WindowPeer.java: Add license clarification.
16221
16222 2002-01-22  Mark Wielaard <mark@klomp.org>
16223
16224         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16225         gnu/gcj/runtime/StringBuffer.java
16226         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16227         gnu/java/awt/ComponentDataBlitOp.java
16228         gnu/java/awt/GLightweightPeer.java
16229         gnu/java/beans/BeanInfoEmbryo.java
16230         gnu/java/beans/EmptyBeanInfo.java
16231         gnu/java/beans/ExplicitBeanInfo.java
16232         gnu/java/beans/IntrospectionIncubator.java
16233         gnu/java/beans/editors/ColorEditor.java
16234         gnu/java/beans/editors/FontEditor.java
16235         gnu/java/beans/editors/NativeBooleanEditor.java
16236         gnu/java/beans/editors/NativeByteEditor.java
16237         gnu/java/beans/editors/NativeDoubleEditor.java
16238         gnu/java/beans/editors/NativeFloatEditor.java
16239         gnu/java/beans/editors/NativeIntEditor.java
16240         gnu/java/beans/editors/NativeLongEditor.java
16241         gnu/java/beans/editors/NativeShortEditor.java
16242         gnu/java/beans/editors/StringEditor.java
16243         gnu/java/beans/info/ComponentBeanInfo.java
16244         gnu/java/io/ClassLoaderObjectInputStream.java
16245         gnu/java/io/NullOutputStream.java
16246         gnu/java/io/ObjectIdentityWrapper.java
16247         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16248         gnu/java/lang/reflect/TypeSignature.java
16249         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16250         gnu/java/locale/Calendar_en.java
16251         gnu/java/locale/Calendar_nl.java
16252         gnu/java/locale/LocaleInformation.java
16253         gnu/java/locale/LocaleInformation_de.java
16254         gnu/java/locale/LocaleInformation_en.java
16255         gnu/java/locale/LocaleInformation_nl.java
16256         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16257         gnu/java/rmi/registry/RegistryImpl.java
16258         gnu/java/rmi/rmic/Compile_gcj.java
16259         gnu/java/rmi/rmic/Compiler.java
16260         gnu/java/rmi/rmic/CompilerProcess.java
16261         gnu/java/rmi/rmic/RMIC.java
16262         gnu/java/rmi/rmic/TabbedWriter.java
16263         gnu/java/rmi/server/ProtocolConstants.java
16264         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16265         gnu/java/rmi/server/RMIHashes.java
16266         gnu/java/rmi/server/RMIObjectInputStream.java
16267         gnu/java/rmi/server/RMIObjectOutputStream.java
16268         gnu/java/rmi/server/UnicastConnection.java
16269         gnu/java/rmi/server/UnicastConnectionManager.java
16270         gnu/java/rmi/server/UnicastRef.java
16271         gnu/java/rmi/server/UnicastRemoteCall.java
16272         gnu/java/rmi/server/UnicastRemoteStub.java
16273         gnu/java/rmi/server/UnicastServer.java
16274         gnu/java/rmi/server/UnicastServerRef.java
16275         gnu/java/security/provider/DefaultPolicy.java
16276         gnu/java/security/provider/Gnu.java
16277         gnu/java/security/provider/SHA.java
16278         gnu/java/security/provider/SHA1PRNG.java
16279         gnu/java/text/BaseBreakIterator.java
16280         gnu/java/text/CharacterBreakIterator.java
16281         gnu/java/text/LineBreakIterator.java
16282         gnu/java/text/SentenceBreakIterator.java
16283         gnu/java/text/WordBreakIterator.java
16284         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16285         java/applet/AppletContext.java java/applet/AppletStub.java
16286         java/applet/AudioClip.java java/awt/AWTError.java
16287         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16288         java/awt/AWTException.java java/awt/AWTPermission.java
16289         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16290         java/awt/Button.java java/awt/Canvas.java
16291         java/awt/CardLayout.java java/awt/Checkbox.java
16292         java/awt/CheckboxGroup.java java/awt/Component.java
16293         java/awt/ComponentOrientation.java java/awt/Container.java
16294         java/awt/Dimension.java java/awt/Event.java
16295         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16296         java/awt/FlowLayout.java java/awt/Frame.java
16297         java/awt/Graphics.java java/awt/Graphics2D.java
16298         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16299         java/awt/IllegalComponentStateException.java
16300         java/awt/ItemSelectable.java java/awt/Label.java
16301         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16302         java/awt/MenuComponent.java java/awt/MenuItem.java
16303         java/awt/Paint.java java/awt/Point.java
16304         java/awt/Rectangle.java java/awt/RenderingHints.java
16305         java/awt/Transparency.java java/awt/Window.java
16306         java/awt/color/ColorSpace.java
16307         java/awt/color/ICC_ColorSpace.java
16308         java/awt/color/ICC_Profile.java
16309         java/awt/event/HierarchyBoundsAdapter.java
16310         java/awt/event/HierarchyBoundsListener.java
16311         java/awt/event/HierarchyEvent.java
16312         java/awt/event/HierarchyListener.java
16313         java/awt/geom/AffineTransform.java
16314         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16315         java/awt/geom/IllegalPathStateException.java
16316         java/awt/geom/Line2D.java
16317         java/awt/geom/NoninvertibleTransformException.java
16318         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16319         java/awt/geom/Rectangle2D.java
16320         java/awt/geom/RectangularShape.java
16321         java/awt/geom/RoundRectangle2D.java
16322         java/awt/image/BufferedImage.java
16323         java/awt/image/ColorModel.java
16324         java/awt/image/ComponentColorModel.java
16325         java/awt/image/ComponentSampleModel.java
16326         java/awt/image/DataBuffer.java
16327         java/awt/image/DataBufferByte.java
16328         java/awt/image/DataBufferInt.java
16329         java/awt/image/DataBufferUShort.java
16330         java/awt/image/DirectColorModel.java
16331         java/awt/image/PackedColorModel.java
16332         java/awt/image/Raster.java java/awt/image/RasterOp.java
16333         java/awt/image/SampleModel.java
16334         java/awt/image/SinglePixelPackedSampleModel.java
16335         java/awt/image/WritableRaster.java
16336         java/beans/AppletInitializer.java
16337         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16338         java/beans/Beans.java java/beans/Customizer.java
16339         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16340         java/beans/FeatureDescriptor.java
16341         java/beans/IndexedPropertyDescriptor.java
16342         java/beans/IntrospectionException.java
16343         java/beans/Introspector.java java/beans/MethodDescriptor.java
16344         java/beans/ParameterDescriptor.java
16345         java/beans/PropertyChangeEvent.java
16346         java/beans/PropertyChangeListener.java
16347         java/beans/PropertyChangeSupport.java
16348         java/beans/PropertyDescriptor.java
16349         java/beans/PropertyEditor.java
16350         java/beans/PropertyEditorManager.java
16351         java/beans/PropertyEditorSupport.java
16352         java/beans/PropertyVetoException.java
16353         java/beans/SimpleBeanInfo.java
16354         java/beans/VetoableChangeListener.java
16355         java/beans/VetoableChangeSupport.java
16356         java/beans/Visibility.java
16357         java/beans/beancontext/BeanContext.java
16358         java/beans/beancontext/BeanContextChild.java
16359         java/beans/beancontext/BeanContextChildComponentProxy.java
16360         java/beans/beancontext/BeanContextChildSupport.java
16361         java/beans/beancontext/BeanContextContainerProxy.java
16362         java/beans/beancontext/BeanContextEvent.java
16363         java/beans/beancontext/BeanContextMembershipEvent.java
16364         java/beans/beancontext/BeanContextMembershipListener.java
16365         java/beans/beancontext/BeanContextProxy.java
16366         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16367         java/beans/beancontext/BeanContextServiceProvider.java
16368         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16369         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16370         java/beans/beancontext/BeanContextServiceRevokedListener.java
16371         java/beans/beancontext/BeanContextServices.java
16372         java/beans/beancontext/BeanContextServicesListener.java
16373         java/io/BufferedInputStream.java
16374         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16375         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16376         java/io/ByteArrayOutputStream.java
16377         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16378         java/io/CharConversionException.java java/io/DataInput.java
16379         java/io/DataInputStream.java java/io/DataOutput.java
16380         java/io/EOFException.java java/io/Externalizable.java
16381         java/io/FileFilter.java java/io/FileNotFoundException.java
16382         java/io/FilePermission.java java/io/FileReader.java
16383         java/io/FileWriter.java java/io/FilenameFilter.java
16384         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16385         java/io/FilterReader.java java/io/FilterWriter.java
16386         java/io/IOException.java java/io/InputStream.java
16387         java/io/InterruptedIOException.java
16388         java/io/InvalidClassException.java
16389         java/io/InvalidObjectException.java
16390         java/io/NotActiveException.java
16391         java/io/NotSerializableException.java java/io/ObjectInput.java
16392         java/io/ObjectInputStream.java
16393         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16394         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16395         java/io/ObjectStreamConstants.java
16396         java/io/ObjectStreamException.java
16397         java/io/ObjectStreamField.java
16398         java/io/OptionalDataException.java java/io/OutputStream.java
16399         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16400         java/io/PipedReader.java java/io/PipedWriter.java
16401         java/io/PrintWriter.java java/io/PushbackInputStream.java
16402         java/io/PushbackReader.java java/io/Reader.java
16403         java/io/SequenceInputStream.java java/io/Serializable.java
16404         java/io/SerializablePermission.java
16405         java/io/StreamCorruptedException.java
16406         java/io/StreamTokenizer.java
16407         java/io/StringBufferInputStream.java java/io/StringReader.java
16408         java/io/StringWriter.java java/io/SyncFailedException.java
16409         java/io/UTFDataFormatException.java
16410         java/io/UnsupportedEncodingException.java
16411         java/io/WriteAbortedException.java java/io/Writer.java
16412         java/lang/AbstractMethodError.java
16413         java/lang/ArithmeticException.java
16414         java/lang/ArrayIndexOutOfBoundsException.java
16415         java/lang/ArrayStoreException.java java/lang/Boolean.java
16416         java/lang/Byte.java java/lang/CharSequence.java
16417         java/lang/ClassCastException.java
16418         java/lang/ClassCircularityError.java
16419         java/lang/ClassFormatError.java
16420         java/lang/ClassNotFoundException.java
16421         java/lang/CloneNotSupportedException.java
16422         java/lang/Cloneable.java java/lang/Comparable.java
16423         java/lang/Compiler.java java/lang/Double.java
16424         java/lang/Error.java java/lang/Exception.java
16425         java/lang/ExceptionInInitializerError.java
16426         java/lang/Float.java java/lang/IllegalAccessError.java
16427         java/lang/IllegalAccessException.java
16428         java/lang/IllegalArgumentException.java
16429         java/lang/IllegalMonitorStateException.java
16430         java/lang/IllegalStateException.java
16431         java/lang/IllegalThreadStateException.java
16432         java/lang/IncompatibleClassChangeError.java
16433         java/lang/IndexOutOfBoundsException.java
16434         java/lang/InheritableThreadLocal.java
16435         java/lang/InstantiationError.java
16436         java/lang/InstantiationException.java java/lang/Integer.java
16437         java/lang/InternalError.java
16438         java/lang/InterruptedException.java
16439         java/lang/LinkageError.java java/lang/Long.java
16440         java/lang/NegativeArraySizeException.java
16441         java/lang/NoClassDefFoundError.java
16442         java/lang/NoSuchFieldError.java
16443         java/lang/NoSuchFieldException.java
16444         java/lang/NoSuchMethodError.java
16445         java/lang/NoSuchMethodException.java
16446         java/lang/NullPointerException.java java/lang/Number.java
16447         java/lang/NumberFormatException.java
16448         java/lang/OutOfMemoryError.java java/lang/Package.java
16449         java/lang/Process.java java/lang/Runnable.java
16450         java/lang/RuntimeException.java
16451         java/lang/RuntimePermission.java
16452         java/lang/SecurityException.java
16453         java/lang/SecurityManager.java java/lang/Short.java
16454         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16455         java/lang/StringIndexOutOfBoundsException.java
16456         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16457         java/lang/ThreadLocal.java java/lang/UnknownError.java
16458         java/lang/UnsatisfiedLinkError.java
16459         java/lang/UnsupportedClassVersionError.java
16460         java/lang/UnsupportedOperationException.java
16461         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16462         java/lang/Void.java java/lang/ref/PhantomReference.java
16463         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16464         java/lang/ref/SoftReference.java
16465         java/lang/ref/WeakReference.java
16466         java/lang/reflect/AccessibleObject.java
16467         java/lang/reflect/InvocationTargetException.java
16468         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16469         java/lang/reflect/ReflectPermission.java
16470         java/math/BigDecimal.java java/math/BigInteger.java
16471         java/net/Authenticator.java java/net/BindException.java
16472         java/net/ConnectException.java java/net/ContentHandler.java
16473         java/net/ContentHandlerFactory.java
16474         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16475         java/net/FileNameMap.java java/net/MalformedURLException.java
16476         java/net/MulticastSocket.java java/net/NetPermission.java
16477         java/net/NoRouteToHostException.java
16478         java/net/PasswordAuthentication.java
16479         java/net/ProtocolException.java java/net/ServerSocket.java
16480         java/net/Socket.java java/net/SocketException.java
16481         java/net/SocketImpl.java java/net/SocketImplFactory.java
16482         java/net/SocketOptions.java java/net/SocketPermission.java
16483         java/net/URLDecoder.java java/net/URLEncoder.java
16484         java/net/URLStreamHandlerFactory.java
16485         java/net/UnknownHostException.java
16486         java/net/UnknownServiceException.java
16487         java/rmi/AccessException.java
16488         java/rmi/AlreadyBoundException.java
16489         java/rmi/ConnectException.java
16490         java/rmi/ConnectIOException.java
16491         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16492         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16493         java/rmi/NotBoundException.java
16494         java/rmi/RMISecurityException.java
16495         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16496         java/rmi/RemoteException.java java/rmi/ServerError.java
16497         java/rmi/ServerException.java
16498         java/rmi/ServerRuntimeException.java
16499         java/rmi/StubNotFoundException.java
16500         java/rmi/UnexpectedException.java
16501         java/rmi/UnknownHostException.java
16502         java/rmi/UnmarshalException.java
16503         java/rmi/activation/Activatable.java
16504         java/rmi/activation/ActivateFailedException.java
16505         java/rmi/activation/ActivationDesc.java
16506         java/rmi/activation/ActivationException.java
16507         java/rmi/activation/ActivationGroup.java
16508         java/rmi/activation/ActivationGroupDesc.java
16509         java/rmi/activation/ActivationGroupID.java
16510         java/rmi/activation/ActivationID.java
16511         java/rmi/activation/ActivationInstantiator.java
16512         java/rmi/activation/ActivationMonitor.java
16513         java/rmi/activation/ActivationSystem.java
16514         java/rmi/activation/Activator.java
16515         java/rmi/activation/UnknownGroupException.java
16516         java/rmi/activation/UnknownObjectException.java
16517         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16518         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16519         java/rmi/registry/Registry.java
16520         java/rmi/registry/RegistryHandler.java
16521         java/rmi/server/ExportException.java
16522         java/rmi/server/LoaderHandler.java
16523         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16524         java/rmi/server/Operation.java
16525         java/rmi/server/RMIClassLoader.java
16526         java/rmi/server/RMIClientSocketFactory.java
16527         java/rmi/server/RMIFailureHandler.java
16528         java/rmi/server/RMIServerSocketFactory.java
16529         java/rmi/server/RMISocketFactory.java
16530         java/rmi/server/RemoteCall.java
16531         java/rmi/server/RemoteObject.java
16532         java/rmi/server/RemoteRef.java
16533         java/rmi/server/RemoteServer.java
16534         java/rmi/server/RemoteStub.java
16535         java/rmi/server/ServerCloneException.java
16536         java/rmi/server/ServerNotActiveException.java
16537         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16538         java/rmi/server/SkeletonMismatchException.java
16539         java/rmi/server/SkeletonNotFoundException.java
16540         java/rmi/server/SocketSecurityException.java
16541         java/rmi/server/UID.java
16542         java/rmi/server/UnicastRemoteObject.java
16543         java/rmi/server/Unreferenced.java
16544         java/security/AccessControlContext.java
16545         java/security/AccessControlException.java
16546         java/security/AccessController.java
16547         java/security/AlgorithmParameterGenerator.java
16548         java/security/AlgorithmParameterGeneratorSpi.java
16549         java/security/AlgorithmParameters.java
16550         java/security/AlgorithmParametersSpi.java
16551         java/security/AllPermission.java
16552         java/security/BasicPermission.java
16553         java/security/Certificate.java java/security/CodeSource.java
16554         java/security/DigestException.java
16555         java/security/DigestInputStream.java
16556         java/security/DigestOutputStream.java
16557         java/security/DomainCombiner.java
16558         java/security/DummyKeyPairGenerator.java
16559         java/security/DummyMessageDigest.java
16560         java/security/DummySignature.java
16561         java/security/GeneralSecurityException.java
16562         java/security/Guard.java java/security/GuardedObject.java
16563         java/security/Identity.java java/security/IdentityScope.java
16564         java/security/InvalidAlgorithmParameterException.java
16565         java/security/InvalidKeyException.java
16566         java/security/InvalidParameterException.java
16567         java/security/Key.java java/security/KeyException.java
16568         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16569         java/security/KeyManagementException.java
16570         java/security/KeyPair.java java/security/KeyPairGenerator.java
16571         java/security/KeyPairGeneratorSpi.java
16572         java/security/KeyStore.java
16573         java/security/KeyStoreException.java
16574         java/security/KeyStoreSpi.java
16575         java/security/MessageDigest.java
16576         java/security/MessageDigestSpi.java
16577         java/security/NoSuchAlgorithmException.java
16578         java/security/NoSuchProviderException.java
16579         java/security/Permission.java
16580         java/security/PermissionCollection.java
16581         java/security/Permissions.java java/security/Policy.java
16582         java/security/Principal.java java/security/PrivateKey.java
16583         java/security/PrivilegedAction.java
16584         java/security/PrivilegedActionException.java
16585         java/security/PrivilegedExceptionAction.java
16586         java/security/ProtectionDomain.java
16587         java/security/Provider.java
16588         java/security/ProviderException.java
16589         java/security/PublicKey.java
16590         java/security/SecureClassLoader.java
16591         java/security/SecureRandom.java
16592         java/security/SecureRandomSpi.java java/security/Security.java
16593         java/security/SecurityPermission.java
16594         java/security/Signature.java
16595         java/security/SignatureException.java
16596         java/security/SignatureSpi.java
16597         java/security/SignedObject.java java/security/Signer.java
16598         java/security/UnrecoverableKeyException.java
16599         java/security/UnresolvedPermission.java
16600         java/security/acl/Acl.java java/security/acl/AclEntry.java
16601         java/security/acl/AclNotFoundException.java
16602         java/security/acl/Group.java
16603         java/security/acl/LastOwnerException.java
16604         java/security/acl/NotOwnerException.java
16605         java/security/acl/Owner.java java/security/acl/Permission.java
16606         java/security/cert/CRL.java
16607         java/security/cert/CRLException.java
16608         java/security/cert/Certificate.java
16609         java/security/cert/CertificateEncodingException.java
16610         java/security/cert/CertificateException.java
16611         java/security/cert/CertificateExpiredException.java
16612         java/security/cert/CertificateFactory.java
16613         java/security/cert/CertificateFactorySpi.java
16614         java/security/cert/CertificateNotYetValidException.java
16615         java/security/cert/CertificateParsingException.java
16616         java/security/cert/X509CRL.java
16617         java/security/cert/X509CRLEntry.java
16618         java/security/cert/X509Certificate.java
16619         java/security/cert/X509Extension.java
16620         java/security/interfaces/DSAKey.java
16621         java/security/interfaces/DSAKeyPairGenerator.java
16622         java/security/interfaces/DSAParams.java
16623         java/security/interfaces/DSAPrivateKey.java
16624         java/security/interfaces/DSAPublicKey.java
16625         java/security/interfaces/RSAKey.java
16626         java/security/interfaces/RSAPrivateCrtKey.java
16627         java/security/interfaces/RSAPrivateKey.java
16628         java/security/interfaces/RSAPublicKey.java
16629         java/security/spec/AlgorithmParameterSpec.java
16630         java/security/spec/DSAParameterSpec.java
16631         java/security/spec/DSAPrivateKeySpec.java
16632         java/security/spec/DSAPublicKeySpec.java
16633         java/security/spec/EncodedKeySpec.java
16634         java/security/spec/InvalidKeySpecException.java
16635         java/security/spec/InvalidParameterSpecException.java
16636         java/security/spec/KeySpec.java
16637         java/security/spec/PKCS8EncodedKeySpec.java
16638         java/security/spec/RSAKeyGenParameterSpec.java
16639         java/security/spec/RSAPrivateCrtKeySpec.java
16640         java/security/spec/RSAPrivateKeySpec.java
16641         java/security/spec/RSAPublicKeySpec.java
16642         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16643         java/sql/BatchUpdateException.java java/sql/Blob.java
16644         java/sql/CallableStatement.java java/sql/Clob.java
16645         java/sql/Connection.java java/sql/DataTruncation.java
16646         java/sql/DatabaseMetaData.java java/sql/Date.java
16647         java/sql/Driver.java java/sql/DriverManager.java
16648         java/sql/DriverPropertyInfo.java
16649         java/sql/PreparedStatement.java java/sql/Ref.java
16650         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16651         java/sql/SQLData.java java/sql/SQLException.java
16652         java/sql/SQLInput.java java/sql/SQLOutput.java
16653         java/sql/SQLWarning.java java/sql/Statement.java
16654         java/sql/Struct.java java/sql/Time.java
16655         java/sql/Timestamp.java java/sql/Types.java
16656         java/text/Annotation.java
16657         java/text/AttributedCharacterIterator.java
16658         java/text/AttributedString.java
16659         java/text/AttributedStringIterator.java
16660         java/text/BreakIterator.java java/text/CharacterIterator.java
16661         java/text/ChoiceFormat.java java/text/Collator.java
16662         java/text/DateFormat.java java/text/DateFormatSymbols.java
16663         java/text/DecimalFormat.java
16664         java/text/DecimalFormatSymbols.java
16665         java/text/FieldPosition.java java/text/Format.java
16666         java/text/MessageFormat.java java/text/NumberFormat.java
16667         java/text/ParseException.java java/text/ParsePosition.java
16668         java/text/SimpleDateFormat.java
16669         java/text/StringCharacterIterator.java
16670         java/util/AbstractCollection.java java/util/AbstractList.java
16671         java/util/AbstractMap.java
16672         java/util/AbstractSequentialList.java
16673         java/util/AbstractSet.java java/util/ArrayList.java
16674         java/util/Arrays.java java/util/BasicMapEntry.java
16675         java/util/BitSet.java java/util/Calendar.java
16676         java/util/Collection.java java/util/Collections.java
16677         java/util/Comparator.java
16678         java/util/ConcurrentModificationException.java
16679         java/util/Date.java java/util/Dictionary.java
16680         java/util/EmptyStackException.java java/util/Enumeration.java
16681         java/util/EventListener.java java/util/EventObject.java
16682         java/util/GregorianCalendar.java java/util/HashMap.java
16683         java/util/HashSet.java java/util/Hashtable.java
16684         java/util/IdentityHashMap.java java/util/Iterator.java
16685         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16686         java/util/LinkedList.java java/util/List.java
16687         java/util/ListIterator.java java/util/ListResourceBundle.java
16688         java/util/Locale.java java/util/Map.java
16689         java/util/MissingResourceException.java
16690         java/util/NoSuchElementException.java
16691         java/util/Observable.java java/util/Observer.java
16692         java/util/Properties.java java/util/PropertyPermission.java
16693         java/util/PropertyResourceBundle.java java/util/Random.java
16694         java/util/RandomAccess.java java/util/ResourceBundle.java
16695         java/util/Set.java java/util/SimpleTimeZone.java
16696         java/util/SortedMap.java java/util/SortedSet.java
16697         java/util/Stack.java java/util/StringTokenizer.java
16698         java/util/TimeZone.java java/util/Timer.java
16699         java/util/TimerTask.java
16700         java/util/TooManyListenersException.java
16701         java/util/TreeMap.java java/util/TreeSet.java
16702         java/util/Vector.java java/util/WeakHashMap.java
16703         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16704         java/util/jar/JarException.java java/util/jar/JarFile.java
16705         java/util/jar/JarInputStream.java
16706         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16707         java/util/zip/Adler32.java java/util/zip/CRC32.java
16708         java/util/zip/CheckedInputStream.java
16709         java/util/zip/CheckedOutputStream.java
16710         java/util/zip/Checksum.java
16711         java/util/zip/DataFormatException.java
16712         java/util/zip/Deflater.java
16713         java/util/zip/DeflaterOutputStream.java
16714         java/util/zip/GZIPInputStream.java
16715         java/util/zip/GZIPOutputStream.java
16716         java/util/zip/Inflater.java
16717         java/util/zip/InflaterInputStream.java
16718         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16719         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16720         java/util/zip/ZipInputStream.java
16721         java/util/zip/ZipOutputStream.java
16722         javax/naming/BinaryRefAddr.java
16723         javax/naming/InvalidNameException.java javax/naming/Name.java
16724         javax/naming/NamingException.java javax/naming/RefAddr.java
16725         javax/naming/StringRefAddr.java: Add license clarification.
16726
16727 2002-01-22  Tom Tromey  <tromey@redhat.com>
16728
16729         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16730         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16731         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16732         version.
16733         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16734         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16735         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16736         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16737         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16738         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16739         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16740         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16741         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16742         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16743         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16744         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16745         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16746         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16747         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16748         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16749         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16750         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16751         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16752         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16753         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16754         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16755         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16756         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16757         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16758         (minimumSize, preferredSize, reshape): Likewise.
16759         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16760         getColorModel): New methods.
16761         * java/awt/PopupMenu.java: Merged with Classpath.
16762         * java/awt/MenuBar.java: Merged with Classpath.
16763         * java/awt/SystemColor.java: Replace with Classpath version.
16764         * java/awt/Panel.java: Merged with Classpath.
16765         * java/awt/PaintContext.java: Updated copyright.
16766         * java/awt/MenuShortcut.java: Merged with Classpath.
16767         * java/awt/MenuContainer.java: Merged with Classpath.
16768         * java/awt/Menu.java: Merged with Classpath.
16769         * java/awt/MediaEntry.java: New file from Classpath.
16770         * java/awt/MediaTracker.java: New file from Classpath.
16771         * java/awt/List.java: Merged with Classpath version.
16772         * java/awt/Insets.java: Merged with Classpath version.
16773         * java/awt/ImageMediaEntry.java: New file from Classpath.
16774         * java/awt/Image.java: Replaced with Classpath version.
16775         * java/awt/FontMetrics.java: Merged with Classpath version.
16776         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16777         constant.
16778         * java/awt/Font.java: Merged with Classpath version.
16779         * java/awt/Dialog.java: Merged with Classpath version.
16780         * java/awt/Color.java: Merged with Classpath version.
16781         * java/awt/Choice.java: Merged with Classpath version.
16782         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16783         * java/awt/Adjustable.java: Replace with Classpath version.
16784         * java/awt/MenuItem.java (paramString): Don't include class name
16785         or brackets.  Call superclass paramString.
16786         * java/awt/MenuComponent.java (toString): Call paramString.
16787         (paramString): Compute string; don't call toString.
16788         * java/awt/Label.java (paramString): Don't include class name
16789         or brackets.  Call superclass paramString.
16790         * java/awt/Checkbox.java (paramString): Don't include class name
16791         or brackets.  Call superclass paramString.
16792         * java/awt/Button.java (paramString): Don't include class name or
16793         brackets.  Call superclass paramString.
16794         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16795
16796 2002-01-20  Andreas Schwab  <schwab@suse.de>
16797
16798         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16799         function and of parameter recv_func to ssize_t, as specified by
16800         POSIX.
16801
16802 2002-01-19  Per Bothner  <per@bothner.com>
16803
16804         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16805         uncompressed_size in readiness for next entry.
16806
16807 2002-01-18  Tom Tromey  <tromey@redhat.com>
16808
16809         * java/net/natPlainSocketImpl.cc: Include
16810         IllegalArgumentException.h.
16811         (_Jv_recv): New template function.
16812         (BooleanClass): Removed.
16813         (read): Use _Jv_recv.
16814         (setOption): Use Boolean::class$.  Throw exception if object is
16815         not Boolean or Integer.
16816
16817 2002-01-17  Tom Tromey  <tromey@redhat.com>
16818
16819         * java/awt/MenuComponent.java: Merged with Classpath.
16820         * java/awt/MenuItem.java: Merged with Classpath.
16821         * java/awt/Button.java: Merged with Classpath.
16822
16823         * java/awt/ActiveEvent.java: Updated copyright.
16824
16825         * java/awt/AWTError.java: Replaced with Classpath version.
16826         * java/awt/AWTException.java: Replaced with Classpath version.
16827         * java/awt/IllegalComponentStateException.java: Replaced with
16828         Classpath version.
16829
16830 2002-01-16  Tom Tromey  <tromey@redhat.com>
16831
16832         * java/awt/Canvas.java (serialVersionUID): New constant.
16833         Updated copyright.  Added javadoc from Classpath.
16834         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16835
16836         * java/awt/CheckboxGroup.java: Merged with Classpath.
16837         * java/awt/Checkbox.java: Merged with Classpath.
16838
16839         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16840         Classpath.
16841         * java/awt/Point.java: Updated copyright.
16842
16843         * java/awt/Point.java (toString): Use getClass().getName().
16844         Added javadoc.
16845
16846         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16847         commented code.
16848         (hash): Correctly compute initial value for `h'.
16849
16850         * java/awt/Label.java: Merged with Classpath.
16851
16852 2002-01-15  Tom Tromey  <tromey@redhat.com>
16853
16854         * java/awt/AWTPermission.java: Updated copyright.
16855
16856         * java/awt/LayoutManager2.java: Merged with Classpath.
16857         * java/awt/LayoutManager.java: Merged with Classpath.
16858         * java/awt/GridLayout.java: Updated copyright and javadoc.
16859         (getSize): Use `parent.ncomponents'.  Handle insets.
16860         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16861         there are fewer children than columns.  Correctly compute size of
16862         each cell in the grid.  Handle case where there isn't enough
16863         space.
16864         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16865         all users.
16866         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16867         before calling setVisible() on it.  Last item is `num - 1', not
16868         `num'.
16869         (layoutContainer): Hoist invariants out of loop.
16870
16871         Start of AWT merge with Classpath:
16872         * Makefile.in: Rebuilt.
16873         * Makefile.am (awt_java_source_files): Reference files in
16874         gnu/java/awt, not gnu/gcj/awt.
16875         * java/awt/image/BufferedImage.java: Updated copyright.
16876         * java/awt/image/ComponentColorModel.java: Updated copyright.
16877         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16878         * java/awt/image/DataBuffer.java: Updated copyright.
16879         * java/awt/image/DataBufferByte.java: Updated copyright.
16880         * java/awt/image/DataBufferInt.java: Updated copyright.
16881         * java/awt/image/DataBufferUShort.java: Updated copyright.
16882         * java/awt/image/IndexColorModel.java: Updated copyright.
16883         * java/awt/image/PackedColorModel.java: Updated copyright.
16884         * java/awt/image/Raster.java: Updated copyright.
16885         * java/awt/image/RasterOp.java: Updated copyright.
16886         * java/awt/image/SampleModel.java: Updated copyright.
16887         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16888         * java/awt/image/WritableRaster.java: Updated copyright.
16889         * java/awt/color/ColorSpace.java: Updated copyright.
16890         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16891         * java/awt/color/ICC_Profile.java: Updated copyright.
16892         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16893         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16894         * java/awt/event/HierarchyEvent.java: Updated copyright.
16895         * java/awt/event/HierarchyListener.java: Updated copyright.
16896         * java/awt/geom/AffineTransform.java: Updated copyright.
16897         * java/awt/geom/Dimension2D.java: Updated copyright.
16898         * java/awt/geom/Ellipse2D.java: Updated copyright.
16899         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16900         * java/awt/geom/Line2D.java: Updated copyright.
16901         * java/awt/geom/NoninvertibleTransformException.java: Updated
16902         copyright.
16903         * java/awt/geom/PathIterator.java: Updated copyright.
16904         * java/awt/geom/Point2D.java: Updated copyright.
16905         * java/awt/geom/Rectangle2D.java: Updated copyright.
16906         * java/awt/geom/RectangularShape.java: Updated copyright.
16907         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16908         * java/awt/Toolkit.java: Updated import for file moves.
16909         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16910         Classpath.
16911         (hashCode): New method from Classpath.
16912         * java/awt/Graphics2D.java: Updated copyright.
16913         * java/awt/Transparency.java: Updated copyright.
16914         * java/awt/Paint.java: Updated copyright.
16915         * java/awt/Graphics.java: New version from Classpath.
16916         * java/awt/EventDispatchThread.java: Updated copyright.
16917         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16918         children.
16919         (gotoComponent): Wrap around on next/previous.
16920         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16921         * gnu/gcj/awt/Buffers.java: Removed.
16922         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16923         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16924         * gnu/java/awt/BitMaskExtent.java: Added.
16925         * gnu/java/awt/Buffers.java: Added.
16926         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16927         * gnu/java/awt/GLightweightPeer.java: Added.
16928         * java/awt/geom/Line2D.java (clone): Ignore
16929         CloneNotSupportedException.
16930         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16931         * java/awt/Frame.java: Merged with Classpath.
16932         * java/awt/RenderingHints.java: Copyright update.
16933         * java/awt/Paint.java: Copyright update.
16934         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16935         * java/awt/image/ColorModel.java: Merged with Classpath.
16936         * java/awt/Window.java (show): New Implementation from Classpath.
16937         (isShowing): Use super.isShowing().
16938         * java/awt/EventQueue.java: Merged with Classpath.
16939         * java/awt/AWTEventMulticaster.java (save): Throw
16940         RuntimeException.
16941         (saveInternal): Likewise.
16942         * java/awt/AWTEvent.java: Now implements Serializable.
16943         * java/awt/Event.java: Copyright update.
16944         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16945         * java/awt/image/BufferedImage.java: Copyright update.
16946         * java/awt/GraphicsConfiguration.java: Copyright update.
16947         * java/awt/Component.java: (addNotify): Don't call
16948         addNotifyContainerChildren().
16949         (addNotifyContainerChildren): Removed.
16950         (setPeer): New method from Classpath.
16951         (setTreeLock): Likewise.
16952         (setVisible): Rewrote.
16953         (show): Use it.
16954         (hide): Likewise.
16955         (validate): Set `valid'.
16956         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16957         (createImage(ImageProducer)): Likewise.
16958         (prepareImage): Likewise.
16959         * java/awt/Container.java (addImpl): Handle case where constraint
16960         is not a String.  Post event via system event queue.
16961         (remove): Post event via system event queue.
16962         (validateTree): Only validate child if it is invalid.
16963         (getAlignmentX): Call super method as default.
16964         (getAlignmentY): Likewise.
16965         (addContainerListener): Now synchronized.
16966         (removeContainerListener): Likewise.
16967         (addNotifyContainerChildren): Now private.
16968         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16969         @author.
16970         * java/awt/FlowLayout.java (serialVersionUID): New field.
16971         (setAlignment): Better exception message.
16972         (layoutContainer): Don't compute component's preferred size unless
16973         we're going to use it.
16974         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16975         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16976         (firstLine, lastLine, firstItem, lastItem): New fields.
16977         (addLayoutComponent): Handle case where constraints is null.
16978         Also, handle relative locations.
16979         (removeLayoutComponent): Handle relative locations.
16980         (MIN, MAX, PREF): New constants.
16981         (calcCompSize): New method.
16982         (calcSize): New method.
16983         (minimumLayoutSize): Use it.
16984         (preferredLayoutSize): Likewise.
16985         (maximumLayoutSize): Likewise.
16986         (toString): Include more information.
16987         (setBounds): New method.
16988         (layoutContainer): Use libgcj implementation; extended to handle
16989         relative locations.
16990
16991 2002-01-15  Tom Tromey  <tromey@redhat.com>
16992
16993         * java/lang/Float.java (equals): Preserve old code.
16994         * java/lang/Double.java (equals): Preserve old code.
16995
16996 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16997
16998         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16999         * java/lang/Float.java (equals, compare): Ditto.
17000
17001 2002-01-13  Mark Wielaard  <mark@klomp.org>
17002
17003         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17004         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17005         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17006         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17007
17008 2002-01-11  Mark Wielaard  <mark@klomp.org>
17009
17010         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17011         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17012         InetAddress.
17013         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17014         * java/net/Socket.java: Merge with Classpath.
17015         * java/net/ServerSocket.java: Likewise.
17016
17017 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17018
17019         * interpret.cc (NULLARRAYCHECK): New macro.
17020         (SAVE_PC): Just store `pc'.
17021         (find_exception): Subtract one from `pc' here.
17022         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17023         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17024         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17025         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17026         don't call SAVE_PC.
17027         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17028         call SAVE_PC.
17029
17030 2002-01-11  Tom Tromey  <tromey@redhat.com>
17031
17032         * java/lang/natSystem.cc (init_properties): Only look for default
17033         locale if LC_MESSAGES is defined.
17034         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17035         * configure.in: Call AM_LC_MESSAGES.
17036         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17037
17038 2002-01-10  Tom Tromey  <tromey@redhat.com>
17039
17040         For PR libgcj/5303:
17041         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17042         --version.  Recognize GNU-style long options.  Print GNU-style
17043         error messages.
17044         (usage): Print GNU-style help.  Exit with status 0.
17045         (error): New method.
17046         (run): Print error message if no class names found.
17047         (main): Don't print usage on error.
17048
17049 2002-01-09  Tom Tromey  <tromey@redhat.com>
17050
17051         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17052         property.
17053         (help, version): Use println(), not println("").
17054
17055         For PR libgcj/5303:
17056         * gnu/gcj/convert/Convert.java (error): Program is called
17057         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17058         -1.
17059         (main): Handle --help and --version.
17060         (help): New method.
17061         (version): Likewise.
17062
17063 2002-01-08  Tom Tromey  <tromey@redhat.com>
17064
17065         * Makefile.in: Rebuilt.
17066         * Makefile.am (ordinary_java_source_files): Added new files.
17067         * gnu/java/locale/LocaleInformation.java: Extend
17068         LocaleInformation_en.
17069         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17070         and time/date formats.
17071         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17072         generated.
17073         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17074         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17075         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17076         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17077         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17078         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17079         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17080         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17081         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17082         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17083         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17084         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17085         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17086         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17087         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17088         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17089         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17090         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17091         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17092         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17093         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17094         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17095         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17096         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17097         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17098         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17099         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17100         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17101         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17102         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17103         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17104         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17105         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17106         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17107         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17108         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17109         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17110         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17111         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17112         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17113         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17114         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17115         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17116         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17117         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17118         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17119         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17120         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17121         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17122         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17123         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17124         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17125         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17126         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17127         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17128         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17129         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17130         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17131         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17132         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17133         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17134         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17135         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17136         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17137         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17138         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17139         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17140         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17141         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17142         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17143         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17144         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17145         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17146         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17147         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17148         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17149         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17150         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17151         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17152         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17153         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17154         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17155         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17156         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17157         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17158         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17159         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17160         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17161         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17162         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17163         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17164         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17165         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17166         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17167         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17168         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17169         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17170         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17171         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17172         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17173         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17174         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17175         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17176         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17177         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17178         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17179         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17180         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17181         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17182         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17183         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17184         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17185         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17186         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17187         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17188         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17189         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17190         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17191         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17192         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17193         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17194         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17195         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17196         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17197         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17198         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17199         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17200         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17201         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17202         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17203
17204         For PR libgcj/5031:
17205         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17206         choose default locale.
17207
17208         * Makefile.in: Rebuilt.
17209         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17210
17211 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17212
17213         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17214         sockets.
17215         (close): New function closes the socket.
17216         (write): New functions for output to socket.
17217         (read): New functions for reading from socket.
17218         * java/net/PlainSocketImpl.java: Glue for new timeout
17219         implementation.
17220         (write): Call the native impl.
17221         (read): Likewise.
17222         (getInputStream): Get a stream to read from the socket.
17223         (getOutputStream): Get a stream to write to the socket.
17224
17225 2002-01-08  Tom Tromey  <tromey@redhat.com>
17226
17227         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17228
17229 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17230
17231         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17232         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17233
17234 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17235
17236         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17237         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17238         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17239         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17240         insn_bastore, insn_castore, insn_sastore]: Use it.
17241         (continue1) [insn_arraylength]: Check for null array.
17242
17243 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17244
17245         * configure, include/config.h.in: Rebuilt.
17246         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17247         * configure.in: Call AC_STRUCT_TIMEZONE.
17248
17249 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17250
17251         * configure.host: Disable the interpreter for Darwin.
17252
17253 2002-01-04  Tom Tromey  <tromey@redhat.com>
17254
17255         * java/lang/Thread.java (stop): No longer synchronized.
17256         (start): Likewise.
17257
17258 2002-01-02  Tom Tromey  <tromey@redhat.com>
17259
17260         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17261         patch.
17262
17263 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17264
17265         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17266         PPC Darwin, not for all of Darwin.