OSDN Git Service

2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
2            Helmer Kraemer <hkraemer@freenet.de>
3  
4         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
5         Splitted the method so we can specify an explicit boot loader.
6
7 2003-12-15  Graydon Hoare  <graydon@redhat.com>
8
9         * jni/gtk-peer/gdkfont.h: New file.
10         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
11         include of cairo-xlib.h, add extra gdk_flush().
12
13 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
14
15         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
16         native state table -- native_global_ref_table.
17         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
18         native_global_ref_table pointer.
19         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
21         global reference is deleted and memory allocated for pointer freed.
22         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
23         JNI global reference instead of JNI local reference.
24         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
25         (pre_event_handler): Remove compilation warning.
26         (connect_awt_hook): Use saved JNI global reference instead of creating
27         a new one.
28         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
29         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
30         reference to the Java object.
31         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
32         unused variable declaration and add comment.
33         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
34         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
35         reference to the Java object.
36         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
37         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
38         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
39         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
40         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
41         JNI global reference instead of JNI local reference.
42         (item_toggled): Add debug statement.
43         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
44         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
45         reference to the Java object.
46         (connect_choice_item_selectable_hook): Use saved JNI global references
47         instead of JNI local reference.
48         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
49         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
50         global reference to the Java object.
51         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
52         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
53         reference to the Java object.
54         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
55         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
56         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
57         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
58         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
59         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
60         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
61         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
62         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
63         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
64         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
65         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
66         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
67         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
68         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
69         JNI global reference instead of JNI local reference.
70         (item_selected): Add debug statement.
71         (item_unselected): Add debug statement.
72         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
73         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
74         reference to the Java object.
75         Connect "activate" signal handler using global JNI reference.
76         (connect_activate_hook): Removed in favor of inline code.
77         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
78         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
79         reference to the Java object.
80         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
81         JNI global reference instead of JNI local reference.  Add FIXME comment.
82         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
83         reference to the Java object.  Add FIXME comment.
84         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
85         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
86         reference to the Java object.
87         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
88         JNI global reference instead of JNI local reference.
89         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
90         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
91         saved JNI global reference instead of JNI local reference.
92         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
93         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
94         reference to the Java object.
95         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
96         JNI global reference instead of JNI local reference.
97
98 2003-12-11  Michael Koch  <konqueror@gmx.de>
99
100         * java/text/Format.java (serialVersionUID): Fixed value.
101
102 2003-12-11  Michael Koch  <konqueror@gmx.de>
103
104         * javax/naming/event/EventDirContext.java: Jalopied.
105         (addNamingListener): Fixed typo in method name.
106         
107
108 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
109
110         * gnu/java/nio/SocketChannelImpl.java
111         (write): Removed diagnostic trace.
112         * gnu/java/nio/natSelectorImplPosix.cc: Added
113         includes for java.lang.Thread and java.io.InterruptedIOException.
114         (helper_put_filedescriptors): Don't put invalid file descriptors
115         in select set.
116         (helper_get_filedescriptors): Clear invalid file descriptors
117         from select set.
118         (helper_reset): New method for clearing our file descriptor
119         array.
120         (implSelect): Correctly calculate timeout if specified and
121         legal.
122         Intercept and deal with any java.io.InterruptedIOException
123         thrown by _Jv_select().
124
125 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
126
127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
128         Most coded moved to pre_event_handler, with the modifications
129         mentioned below.
130         (pre_event_handler): New function.  Called on the Gtk "event" signal.
131         Do not retrieve the jobject from the window property as it is already
132         available as user data in the signal.
133         Do not try and find the grab widget as it is already done by Gtk at
134         this point.
135         Do not search for Window ancestor as Gtk already sends the signal to it.
136         Do not meddle with the activation state of peer widgets on each
137         key press or release.
138         Add CList to the special handling when looking for the focused widget.
139         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
141         New function.
142         (connectSignals): New function.
143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
144         Rename to...
145         (connectSignals): New name.  Get rid of NewGlobalRef call.
146         Use g_signal_connect instead of deprecated gtk_signal_connect.
147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
148         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
149         deprecated gtk_signal_connect.
150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
153         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
155         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
156         function.
157         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
158         function.
159         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
160         function.
161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
162         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
163         function.
164         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
165         function.
166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
167         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
168         function.
169         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
170         function.
171         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
172         function.
173         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
174         code.
175         (item_select): Remove indirection.
176         (item_unselect): Ditto.
177         (connect_selectable_hook): Folded into connectSignals.
178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
179         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
180         function.
181         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
182         function.
183         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
184         function.
185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
188         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
189         function.
190         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
191         function.
192         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
193         connectJObject and connectSignals instead of connectHooks.
194         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
195         connectSignals.
196         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
197         and not connectHooks.
198         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
199         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
200         and not connectHooks.
201         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
202         connectSignals instead of connectHooks.
203         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
204         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
205         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
206
207 2003-12-09  Michael Koch  <konqueror@gmx.de>
208
209         * Makefile.am (nat_headers_install): New variable with header files to
210         install automatically.
211         (install-data-local): Install all headers listed in
212         nat_headers_install. Install innert nat headers explicitely.
213         * Makefile.in: Regenerated.
214
215 2003-12-09  Michael Koch  <konqueror@gmx.de>
216
217         * java/util/Calendar.java,
218         java/util/IdentityHashMap.java,
219         java/util/prefs/Preferences.java:
220         Import used classes explicitely.
221
222 2003-12-09  Michael Koch  <konqueror@gmx.de>
223
224         * java/net/DatagramSocket.java
225         (close): Directly return if socket is closed.
226         * java/net/ServerSocket.java
227         (close): Directly return if socket is closed.
228         * java/net/Socket.java
229         (close): Directly return if socket is closed.
230
231 2003-12-09  Michael Koch  <konqueror@gmx.de>
232
233         * gnu/java/nio/SelectorImpl.java
234         (implSelect): Throws IOException.
235         (select): Likewise.
236
237 2003-12-08  Kim Ho  <kho@redhat.com>
238
239         Fix for Checkbox states.
240         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
241         (currentState): New field.
242         (nativeCreate): Add initial state parameter.
243         (create): Changed to reflect new parameter.
244         (setState): Fire only on changed states.
245         (postItemEvent): Fire only on changed states. Also change the 
246         Java Checkbox to reflect new state.
247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
248         (nativeCreate): Add parameter and set active state.
249
250 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
251  
252         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
253         object of type expected by specified DataFlavor.
254
255 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
256  
257         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
258         error which was clipping off the first character of a parameter value.
259
260 2003-12-08  Olga Rodimina <rodimina@redhat.com>
261
262         * java/awt/Polygon.java
263         (translate): Fixed error that caused polygon 
264         to move right/left when up/down translation was required.
265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
266         (getSelectionStart): Initialized start position to 0. 
267         (getSelectionEnd): Initialized end position to 0.
268         (getCaretPosition): Initialized caret position to 0.
269         (getText): Initialized selected text to NULL 
270
271 2003-12-08  Michael Koch  <konqueror@gmx.de>
272
273         Fix for PR libgcj/13176.
274         * java/io/PrintStream.java: Partly revert my previous patches to get
275         (line_separator): New field.
276         (converter): New field.
277         (work): New field.
278         (work_bytes): New field.
279         (pw): Removed.
280         (closed): Removed.
281         (PrintStrean): Initialize converter and not pw.
282         (checkError): Flush always, pw doesn't exist anymore.
283         (close): Close underlying out stream.
284         (print): New method.
285         (writeChars): New method.
286         (print): Use new internal print method.
287         (println): Likewise.
288
289 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
290
291         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
292         putAllInternal.
293         (putAllInternal): Correct comment.
294         * java/util/HashMap.java (HashMap(Map)): As above.
295         (putAllInternal): As above.
296
297 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
298
299         * java/util/Hashtable.java (internalContainsValue): Removed.
300         (containsValue): Don't delegate to internalContainsValue.
301
302 2003-12-06  Michael Koch  <konqueror@gmx.de>
303
304         * javax/naming/directory/Attribute.java,
305         javax/naming/directory/Attributes.java,
306         javax/naming/directory/DirContext.java,
307         javax/naming/directory/InitialDirContext.java,
308         javax/naming/directory/SearchResult.java,
309         javax/naming/event/EventContext.java,
310         javax/naming/event/NamingEvent.java,
311         javax/naming/event/NamingExceptionEvent.java,
312         javax/naming/ldap/ControlFactory.java,
313         javax/naming/ldap/ExtendedRequest.java,
314         javax/naming/ldap/HasControls.java,
315         javax/naming/ldap/InitialLdapContext.java,
316         javax/naming/ldap/LdapContext.java,
317         javax/naming/ldap/LdapReferralException.java,
318         javax/naming/ldap/UnsolicitedNotification.java,
319         javax/naming/ldap/UnsolicitedNotificationListener.java,
320         javax/naming/spi/DirObjectFactory.java,
321         javax/naming/spi/DirStateFactory.java,
322         javax/naming/spi/DirectoryManager.java,
323         javax/naming/spi/NamingManager.java,
324         javax/naming/spi/ObjectFactoryBuilder.java,
325         javax/naming/spi/ResolveResult.java,
326         javax/naming/spi/Resolver.java,
327         javax/naming/spi/StateFactory.java:
328         Import used classes explicitely.
329
330 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
331
332         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
333         (clip): Removed field
334         (clipRectangles): New field.
335         (clone): Use new updateClip.
336         (setClipRectangles): Use new updateClip.
337         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
338
339 2003-12-04  Michael Koch  <konqueror@gmx.de>
340
341         * java/io/FilePermission.java:
342         Import used classes explicitely.
343
344 2003-12-04  Michael Koch  <konqueror@gmx.de>
345
346         * java/beans/BeanDescriptor.java,
347         java/beans/EventSetDescriptor.java,
348         java/beans/FeatureDescriptor.java,
349         java/beans/IndexedPropertyDescriptor.java,
350         java/beans/Introspector.java,
351         java/beans/MethodDescriptor.java,
352         java/beans/PropertyDescriptor.java,
353         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
354         * java/beans/beancontext/BeanContextServicesSupport.java
355         (serialVersionUID): New field.
356
357 2003-12-04  Michael Koch  <konqueror@gmx.de>
358
359         * java/awt/MenuComponent.java: Import java.io.Serialization.
360         * java/awt/MenuItem.java: Likewise.
361         * java/awt/TextComponent.java: Likewise.
362         * java/awt/image/ImagingOpException.java
363         (serialVersionUID): Fixed.
364
365 2003-12-04  Michael Koch  <konqueror@gmx.de>
366
367         * gnu/java/net/protocol/http/Connection.java
368         (sendRequest): Merged writing http headers with classpath.
369         (getInputStream): Merged documentation from classpath.
370         (getHeaderField): Likewise.
371         (getHeaderFieldKey): Likewise.
372
373 2003-12-04  Michael Koch  <konqueror@gmx.de>
374
375         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
376
377 2003-12-04  Michael Koch  <konqueror@gmx.de>
378
379         * java/net/DatagramPacket.java
380         (length): Made packge-private to make it accessible via CNI.
381         (maxlen): New field.
382         (DatagramPacket): Cleaned up.
383         (setSocketAddress): Add message to exception.
384         (setData): Call other setData().
385         (setData): Call setLength().
386         (setLength): Initialize maxlen too.
387         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
388         Get maximal length from maxlen field, set length field directly.
389         (receive): Likewise.
390         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
391         Get maximal length from maxlen field, set length field directly.
392         (receive): Likewise.
393
394 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
395
396         * gnu/java/nio/natSelectorImplPosix.cc
397         (implSelect): A timeout of 0 means an infinite
398         timeout.
399
400 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
401  
402         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
403         of ActionEvents.
404
405 2003-12-03  Michael Koch  <konqueror@gmx.de>
406
407         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
408         * java/lang/natClass.cc (getSigners): Likewise.
409         (setSigners): Likewise.
410
411 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
412
413         * configure.in: Added new MinGW-specific configure flag
414         --with-win32-nlsapi.
415         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
416         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
417         is set to unicows.
418         * configure: Rebuilt.
419         * include/config.h.in: Rebuilt.
420         * win32.cc (_Jv_Win32NewString): Implemented.
421         (nativeToUnicode): New helper function defined only for
422         non-UNICODE builds.
423         (unicodeToNative): Likewise.
424         (_Jv_Win32TempString): Implemented.
425         (lots): Refactored using tchar.h macros.
426         (WSAEventWrapper): Use _Jv_Win32NewString.
427         (_Jv_platform_initialize): Use GetModuleFileNameA instead
428         of GetModuleFileName.
429         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
430         Use temporary stack buffer instead of a heap buffer.
431         * include/win32.h
432         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
433         defined; added tchar.h include.
434         (_Jv_Win32TempString): Declared new helper class.
435         (JV_TEMP_STRING_WIN32): New helper macro.
436         (_Jv_Win32NewString): Declared new helper method.
437         * java/io/natFileDescriptorWin32.cc (open): Use
438         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
439         (write): Reformatted slightly.
440         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
441         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
442         (getCanonicalPath): Use _Jv_Win32NewString instead of
443         JvNewStringUTF.
444         (performList): Likewise.
445         * java/lang/natWin32Process.cc (ChildProcessPipe):
446         Use tchar.h macros.
447         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
448         and UNICODE environment flag for CreateProcess.
449         * java/net/natNetworkInterfaceWin32.cc
450         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
451         _Jv_Win32NewString.
452
453 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
454
455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
456         (initState): Mark obj parameter as unused.
457         (stringWidth): Mark obj parameter as unused.  Initialize
458         font_name properly.
459
460         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
461         BufferedImageBuilder class static.
462
463 2003-12-02  Mark Wielaard  <mark@klomp.org>
464
465         * java/security/Security.java: Don't use &nbsp; in the api doc.
466
467 2003-12-02  Dalibor Topic <robilad@kaffe.org>
468
469         Reported by: Jim Pick <jim@kaffe.org>
470         * libraries/javalib/java/util/Hashtable.java
471         (internalcontainsValue): New method.
472         (contains): Delegate to internalContainsValue.
473         
474         Reported by: Mark Wielaard  <mark@klomp.org>
475         * libraries/javalib/java/util/Hashtable.java
476         (contains): Improved comment.
477         
478         Reported by: Jeroen Frijters  <jeroen@frijters.net>
479         * libraries/javalib/java/util/Hashtable.java
480         (containsValue): Delegate to contains(Object) to make sure older
481         code overwriting it continues to work.
482
483 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
484
485         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
486         method. Handle mouse and key events that must generate
487         ActionEvents.
488         * java/awt/List.java (getSelectedIndex): Return -1
489         if no list element is selected.
490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
491         Correct handling of mouse and key events so that List receives them.
492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
493         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
494         multiple list elements. 
495
496 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
497
498         * java/text/SimpleDateFormat.java (compileFormat):
499         isLowerCase() and isUpperCase() allow too many characters.
500         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
501
502 2003-12-02  Dalibor Topic <robilad@kaffe.org>
503
504         * java/text/FieldPosition.java (equals): Fixed comment.
505
506 2003-12-02  Mark Wielaard  <mark@klomp.org>
507
508         Reported by Archie Cobbs:
509         * java/security/DigestInputStream.java (read(byte[], int, int): Call
510         digest.update() with temp, not len as lenght.
511
512 2003-12-02  Michael Koch  <konqueror@gmx.de>
513
514         * java/net/DatagramSocket.java
515         (close): Close associated DatagramChannel object.
516         * java/net/ServerSocket.java
517         * java/net/Socket.java
518         (close): Reset impl and bound before calling getChannel().close() to
519         prevent from loops.
520
521 2003-12-02  Michael Koch  <konqueror@gmx.de>
522
523         * java/nio/channels/spi/AbstractInterruptibleChannel.java
524         (opened): Removed.
525         (closed): New field.
526         (close): Check of channel is closed already.
527         (isOpen): Return !closed.
528
529 2003-12-02  Michael Koch  <konqueror@gmx.de>
530
531         * gnu/java/nio/DatagramChannelImpl.java
532         (blocking): Initialize with true by default.
533         * gnu/java/nio/ServerSocketChannelImpl.java
534         (serverSocket): Made private.
535         (blocking): Likewise.
536         (connected): Likewise.
537         * gnu/java/nio/SocketChannelImpl.java
538         (connectionPending): Made private.
539         * gnu/java/nio/FileLockImpl.java
540         (static): Load native library (needed for classpath).
541         * gnu/java/nio/SelectorImpl.java
542         (static): Load native library (needed for classpath).
543
544 2003-12-02  Michael Koch  <konqueror@gmx.de>
545
546         * gnu/java/net/protocol/file/Connection.java
547         (getLastModified): Implement for file connections.
548         (getContentLength): Likewise.
549
550 2003-12-02  Michael Koch  <konqueror@gmx.de>
551
552         * gnu/java/net/protocol/file/Connection.java:
553         Some reformating.
554         (file): Renamed from fileIn.
555         (getPermission): Moved around.
556
557 2003-12-02  Michael Koch  <konqueror@gmx.de>
558
559         * gnu/java/net/protocol/jar/Connection.java
560         (Connection): Made class final, merged documentation with classpath.
561         (file_cache): Made private.
562         (jar_file): Renamed from jarfile.
563
564 2003-12-02  Michael Koch  <konqueror@gmx.de>
565
566         * gnu/java/net/protocol/http/Connection.java
567         (Connection): Initialize doOutput to false;
568         (connect): Initialize inputStream, moved "send request" code to new
569         method.
570         (sendRequest): New method.
571         (getHttpHeaders): Don't reinitialize inputStream.
572
573 2003-12-02  Michael Koch  <konqueror@gmx.de>
574
575         * gnu/java/net/protocol//http/Connection.java
576         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
577         (requestProperties): Initialize, documentation added.
578         (inputStream): Renamed from bufferedIn.
579         (Connection): Dont initialize requestProperties.
580         (setDefaultRequestProperty): Removed.
581         (getDefaultRequestProperty): Removed.
582         (usingProxy): Documentation added.
583         (getHttpHeaders): Likewise.
584
585 2003-12-02  Michael Koch  <konqueror@gmx.de>
586
587         * java/text/DateFormat.java:
588         Explicitely import used classes.
589
590 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
591
592         * verify.cc (state::clean_subrs): Clear seen_subrs.
593         (state::copy): Walk seen_subrs from copy, not `this'.
594         Don't clear seen_subrs.
595
596 2003-12-01  Kim Ho <kho@redhat.com>
597
598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
599         Disable wrapping if TextArea has horizontal scroll bars.
600
601 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
602
603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
604         (awt_event_handler): Hard-code inset values.
605
606         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
607         Pass font name, not XLFD, to initState.
608         (stringWidth(String, int, String)): New method.
609         (stringWidth(String)): Call new stringWidth.
610         (getLeading): Always return 0.
611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
612         (initState): New Pango implementation.
613         (stringWidth): Likewise.
614
615 2003-12-01  Olga Rodimina <rodimina@redhat.com>
616
617         * java/awt/TextComponent.java:
618         (getSelectionStart): Updated javadocs.
619         (getSelectionEnd): Ditto.
620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
621         (getSelectionStart): Changed to return caret position if no
622         text is selected
623         (getSelectionEnd): Ditto.
624
625 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
626
627         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
628         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
629         gnu/awt/gtk/GtkContainerPeer.java,
630         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
631         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
632         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
633         gnu/awt/gtk/natGtkComponentPeer.cc,
634         gnu/awt/gtk/natGtkContainerPeer.cc,
635         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
636         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
637         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
638
639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
640         (closed): Mark loader parameter as unused.
641
642 2003-12-01  Michael Koch  <konqueror@gmx.de>
643
644         * gnu/java/net/protocol/http/Connection.java
645         (Connection): Merged class documentation.
646         (socket): Renamed from sock.
647         (Connection): Made protected, documentation added.
648         (connect): Give URL'S host instead of InetAddress to Socket
649         constructor.
650         (disconnect): Documentation added.
651         (getOutputStream): Rewrapped.
652
653 2003-12-01  Michael Koch  <konqueror@gmx.de>
654
655         * gnu/java/net/protocol/file/Connection.java
656         (fileIn): Documentation added.
657         (inputStream): Likewise.
658         (outputStream): Likewise.
659         (Connection): Likewise.
660         (connect): Simplified.
661
662 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
663
664         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
665         setProperties): Check that io is not null before calling
666         io.imageUpdate.
667         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
668         Update javadocs.
669         * java/awt/image/PixelGrabber.java: Fix implementation and
670         update javadocs.
671
672 2003-12-01  Michael Koch  <konqueror@gmx.de>
673
674         * gnu/java/net/natPlainSocketImplPosix.cc
675         bind(): Dont set SockedImpl.address field on succesful bind.
676         * gnu/java/net/natPlainSocketImplWin32.cc
677         bind(): Likewise.
678
679 2003-11-30  Jeff Sturm <jsturm@one-point.com>
680
681         * java/net/InetAddress.java:
682         (static): Don'f force DNS request for ANY_IF address.
683
684 2003-11-30  Michael Koch  <konqueror@gmx.de>
685
686         * java/net/InetAddress.java,
687         java/net/natInetAddressNoNet.cc,
688         java/net/natInetAddressPosix.cc,
689         java/net/natInetAddressWin32.cc:
690         Reverted my last patch.
691
692 2003-11-28  Michael Koch  <konqueror@gmx.de>
693
694         * java/net/InetAddress.java
695         (lookup): New method that doesnt lookup "0.0.0.0".
696         (ImplLookup): Renamed from lookup.
697         * java/net/natInetAddressNoNet.cc
698         (ImplLookup): Renamed from lookup.
699         * java/net/natInetAddressPosix.cc
700         (ImplLookup): Renamed from lookup.
701         * java/net/natInetAddressWin32.cc
702         (ImplLookup): Renamed from lookup.
703
704 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
705
706         * configure: Rebuilt.
707         * configure.in: Require gtk and glib 2.2.0.
708
709 2003-11-27  Dalibor Topic <robilad@kaffe.org>
710
711         * java/text/FieldPosition.java (equals): Adapted to handle
712         field_attribute. Added fast-circuit check for comparison to self.
713         Replaced use of instanceof by getClass to fix symmetry for derived
714         types.
715         (toString): Adapted to handle field_attribute. Improved readability.
716         (hashCode): New method.
717
718 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
719
720         * java/text/FieldPosition.java (field_attribute): New field.
721         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
722         getFieldAttribute): New methods.
723
724 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
725
726         * java/text/DecimalFormatSymbols.java (locale): New field.
727         (DecimalFormatSymbols (Locale)): Set locale.
728         (serialVersionOnStream): Upgraded to number 2.
729         (readObject): Assign locale if it wasn't by the serializer.
730
731 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
732
733         * java/text/FormatCharacterIterator.java: Documented the class and
734
735 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
736
737         * java/text/FormatCharacterIterator.java: Fixed some typos.
738
739 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
740
741         * java/text/NumberFormat.java:
742         (getIntegerInstance) Added the java version in the comments.
743
744 2003-11-27  Mark Wielaard  <mark@klomp.org>
745
746         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
747         (readResolve): Reformat.
748
749 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
750
751         * java/text/NumberFormat.java
752         (NumberFormat.Field): New implemented class to match Java 1.4. 
753         (getIntegerInstance): Two new Java 1.4 methods.o
754
755 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
756
757         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
758         the leap day of the leap year twice.
759         (computeFields): First week of month is 1 not 0.
760
761 2003-11-27  Mark Wielaard  <mark@klomp.org>
762
763         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
764         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
765
766 2003-11-27  Michael Koch  <konqueror@gmx.de>
767
768         * javax/swing/UIDefaults.java:
769         Reformated to match classpath's version.
770
771 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
772
773         * javax/swing/UIManager.java (getDefaults, getDimension,
774         getIcon, getInsets, getInstalledLookAndFeels, getInt,
775         getLookAndFeel, getString, getSystemLookAndFeelClassName):
776         Declare as public.
777
778 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
779
780         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
781         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
782         isSignificant): Likewise.
783
784 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
785
786         * javax/swing/undo/CompoundEdit.java: Re-format, document.
787         (inProgress): Set initial value to true.
788         (undo, redo, die, canUndo, canRedo): Also call inherited
789         implementation; simplify code structure.
790         (getPresentationName, getUndoPresentationName,
791         getRedoPresentationName): Make behavior dependent on lastEdit.
792         (addEdit, isSignificant): Completely re-written.
793
794 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
795
796         * javax/swing/undo/StateEdit.java: Re-format, document.
797         (undo, redo): Also call inherited implementation.
798
799 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
800
801         * javax/swing/undo/StateEditable.java: Re-format, document.
802
803 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
804
805         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
806         (AbstractUndoableEdit): Initialize hasBeenDone to true.
807         (canUndo, canRedo): Simplify.
808         (getUndoPresentationName, getRedoPresentationName): Support
809         localized message; call getPresentationName() only once.
810
811 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
812
813         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
814         (ZipFile(File,int)): Likewise.
815
816 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
817
818         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
819         (putAllInternal): Likewise.
820         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
821         (putAllInternal): Likewise.
822
823 2003-11-26  Michael Koch  <konqueror@gmx.de>
824
825         * java/net/URLStreamHandler.java
826         (parseURL): Added comment in catch statement.
827         (canonicalizeFilename): Add documentation.
828         (sameURL): Completed documentation.
829         (equals): Likewise.
830         (hostsEqual): Likewise.
831         (getDefaulPort): Likewise.
832         (hashCode): Likewise.
833         (toExternalForm): Likewise.
834         (getHostName): Fix empty hostname check, completed documentation.
835
836 2003-11-26  Tom Tromey  <tromey@redhat.com>
837
838         * java/lang/natDouble.cc (parseDouble): Reverted patch of
839         2003-11-13.
840
841 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
842             Mark Wielaard  <mark@klomp.org>
843
844         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
845         ('@' should be checked to distinguish port from userinfo).
846         (toExternalForm): Add @ userInfo if necessary.
847
848
849 2003-11-26  Michael Koch  <konqueror@gmx.de>
850
851         * java/net/DatagramSocket.java
852         (DategramSocket, bind): Moved binding code from DatagramSocket
853         constructor to bind method.
854
855 2003-11-26  Michael Koch  <konqueror@gmx.de>
856
857         * java/net/DatagramSocket.java
858         (impl): Made private.
859         (bound): New private member variable.
860         (DatagramSocket): Fixed documentation, use getImpl().
861         (getImpl): New package-private method.
862         (isClosed): Use getImpl().
863         (getLocalAddress): Completed documentation, use getImpl().
864         (getLocalPort): Use getImpl().
865         (getSoTimeout): Likewise.
866         (setSoTimeout): Likewise.
867         (getSendBufferSize): Likewise.
868         (setSendBufferSize): Likewise.
869         (getReceiveBufferSize): Likewise.
870         (setReceiveBufferSize): Likewise.
871         (connect): Likewise.
872         (disconnect): Likewise.
873         (receive): Likewise.
874         (send): Likewise.
875         (setReuseAddress): Likewise.
876         (setTrafficClass): Likewise.
877         (bind): Added message to exception.
878         (isClosed): Completed documentation.
879         (getChannel): Likewise.
880         (connect): Added missing exception, refined exception message.
881         (isBound): Completed documentation, just return bound.
882         (isConnected): Completed documentation.
883         (getRemoteSocketAddress): Likewise.
884         (getReuseAddress): Completed documentation, use getImpl().
885         (setSoBroadcast): Likewise.
886         (getSoBroadcast): Likewise.
887         (getTrafficClass): Likewise.
888         (getLocalSocketAddress): Simplified.
889         * java/net/MulticastSocket.java
890         (MulticastSocket): Removed comment not applying anymore.
891         (getInterface): Use getImpl().
892         (getTTL): Likewise.
893         (getTimeToLive): Likewise.
894         (setInterface): Likewise.
895         (setNetworkInterface): Likewise.
896         (getNetworkInterface): Likewise.
897         (setLoopback): Likewise.
898         (getLoopback): Likewise.
899         (setTTL): Likewise.
900         (setTimeToLive): Likewise.
901         (joinGroup): Likewise.
902         (leaveGroup): Likewise.
903         (send): Likewise.
904
905 2003-11-26  Michael Koch  <konqueror@gmx.de>
906
907         * java/net/Socket.java
908         (implCreated): Dont set default value explicitely, added
909         documentation.
910         (inputShutdown): Likewise.
911         (outputShutdown): Likewise.
912         (bound): New private member variable.
913         (bind): Set bound to true.
914         (close): Set bound to false.
915         (isBound): Return bound.
916         * java/net/ServerSocket.java
917         (bound): New private member variable.
918         (bind): Set bound to true.
919         (close): Set bound to false.
920         (isBound): Return bound.
921
922 2003-11-26  Michael Koch  <konqueror@gmx.de>
923
924         * java/net/URL.java
925         (URL): Fixed documentation to be HTML compliant.
926         (getContent): Completed documentation.
927         (getFile): Likewise.
928         (getPath): Likewise.
929         (getAuthority): Likewise.
930         (getHost): Likewise.
931         (getDefaultPort): Likewise.
932         (getProtocol): Likewise.
933         (hashCode): Likewise.
934         (openConnection): Likewise.
935         (openStream): Likewise.
936         (set): Likewise.
937         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
938
939 2003-11-26  Michael Koch  <konqueror@gmx.de>
940
941         * java/net/InetSocketAddress.java
942         (hostname): Made private, added documentation.
943         (addr): Likewise.
944         (port): Likewise.
945         (equals): Completed documentation.
946         (getAddress): Likewise.
947         (getHostName): Likewise.
948         (getPort): Likewise.
949         (hashCode): Likewise.
950         (isUnresolved): Likewise.
951         (toString): Likewise.
952
953 2003-11-26  Michael Koch  <konqueror@gmx.de>
954
955         * gnu/java/net/protocol/file/Handler.java
956         (Handler): New explicit constructor.
957         (openConnection): Added documentation.
958         * gnu/java/net/protocol/jar/Handler.java
959         (Handler): New explicit constructor.
960         (openConnection): Added documentation.
961
962 2003-11-26  Michael Koch  <konqueror@gmx.de>
963
964         * java/net/DatagramPacket.java
965         (DatagramPacket): Fixed documentation to become legal HTML.
966
967 2003-11-25  Michael Koch  <konqueror@gmx.de>
968
969         * gcj/javaprims.h: Added missing java.util.Currency.
970
971 2003-11-25  Michael Koch  <konqueror@gmx.de>
972
973         * testsuite/libjava.mauve/xfails:
974         Removed these two tests, they mystically pass now:
975         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
976         test_params failed - 5getInetAddress did not return proper values
977         (number 1)
978         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
979         test_BasicServer failed - 11 exception was thrown :Illegal seek
980         (number 1)
981
982 2003-11-25  Michael Koch  <konqueror@gmx.de>
983
984         * java/net/DatagramSocket.java
985         (factory): Made private.
986         (closed): Removed.
987         (DatagramSocket): Check impl argument, use constructor with
988         SocketAddress argument.
989         (close): Set impl to null, use isClosed().
990         (isClosed): Check for impl == null.
991         (getLocalAddress): Use isClosed().
992         (getLocalPort): Check if socket is closed.
993         (getSoTimeout): Likewise.
994         (setSoTimeout): Likewise.
995         (getSendBufferSize): Likewise.
996         (setSendBufferSize): Likewise.
997         (getReceiveBufferSize): Likewise.
998         (setReceiveBufferSize): Likewise.
999         (receive): Likewise.
1000         (send): Likewise.
1001         (bind): Likewise.
1002         (connect): Likewise.
1003         (setReuseAddress): Likewise.
1004         (getReuseAddress): Likewise.
1005         (setBroadcast): Likewise.
1006         (getBroadcast): Likewise.
1007         (setTrafficClass): Likewise.
1008         (getTrafficClass): Likewise.
1009         * java/net/MulticastSocket.java
1010         (getInterface): Check if socket is closed.
1011         (getTTL): Likewise.
1012         (getTimeToLive): Likewise.
1013         (setInterface): Likewise.
1014         (setNetworkInterface): Likewise.
1015         (getNetworkInterface): Likewise.
1016         (setLoopbackMode): Likewise.
1017         (setTTL): Likewise.
1018         (setTimeToLive): Likewise.
1019         (joinGroup): Likewise.
1020         (leaveGroup): Likewise.
1021         (send): Likewise.
1022         * java/net/ServerSocket.java
1023         (closed): Removed.
1024         (close): Check if socket is closed, set impl to null.
1025         (isClosed): Check impl == null;
1026         (ServerSocket): Check impl argument.
1027         (getInetAddress): Check if socket is bound.
1028         (getLocalPort): Likewise.
1029         (getLocalSocketAddress): Likewise.
1030         (bind): Check if socket is closed.
1031         (implAccept): Likewise.
1032         (setSoTimeout): Likewise.
1033         (getSoTimeout): Likewise.
1034         (setReuseAddress): Likewise.
1035         (getReuseAddress): Likewise.
1036         (setReceiveBufferSize): Likewise.
1037         (getReceiveBufferSize): Likewise.
1038         (toString): Make output compliant to JDK 1.4.2.
1039         * java/net/Socket.java
1040         (closed): Removed.
1041         (Socket): Fixed documentation.
1042         (connect): Check if socket is closed, changed exception text,
1043         fixed documentation.
1044         (getInputStream): Check of socket is closed  and connected.
1045         (getOutputStream): Likewise.
1046         (bind): Check if socket is closed.
1047         (setTcpNoDelay): Likewise.
1048         (getTcpNoDelay): Likewise.
1049         (setSoLinger): Likewise.
1050         (getSoLinger): Likewise.
1051         (sendUrgentData): Likewise.
1052         (setOOBInline): Likewise.
1053         (getOOBInline): Likewise.
1054         (setSoTimeout): Likewise.
1055         (getSoTimeout): Likewise.
1056         (setSendBufferSize): Likewise.
1057         (getSendBufferSize): Likewise.
1058         (setReceiveBufferSize): Likewise.
1059         (getReceiveBufferSize): Likewise.
1060         (setKeepAlive): Likewise.
1061         (getKeepAlive): Likewise.
1062         (close): Likewise.
1063         (shutdownInput): Likewise.
1064         (shutdownOutput): Likewise.
1065         (getReuseAddress): Likewise.
1066         (getTrafficClass): Likewise.
1067         (setTrafficClass): Likewise.
1068         (isClosed): Check impl == null.
1069         (toString): Added missing ']'.
1070
1071 2003-11-24  Tom Tromey  <tromey@redhat.com>
1072
1073         * Makefile.in: Rebuilt.
1074         * Makefile.am (propdir): New macro.
1075         (install-data-local): Install logging.properties.
1076         (core_java_source_files): Added java.util.logging.*.
1077         * java/util/logging/logging.properties: New file.
1078
1079 2003-11-25  Michael Koch  <konqueror@gmx.de>
1080
1081         * java/net/DatagramSocket.java
1082         (DatagramSocket): Move binding code to bind(), simplify constructors.
1083         * java/net/MulticastSocket.java
1084         (MulticastSocket): Call parent constructor with null argument,
1085         bind socket after setReuseAddress is called, simplify constructors.
1086
1087 2003-11-24  Michael Koch  <konqueror@gmx.de>
1088
1089         * javax/swing/BoxLayout.java
1090         (serialVersionUIR): New member variable.
1091         (X_AXIS, Y_AXIS): Documentation added.
1092         (LINE_AXIS, PAGE_AXIS): New constants.
1093         (grid): Renamed from gridbag.
1094         (BoxLayout): Use new constants, throw exception if invalid value for
1095         way, added documentation.
1096         (BoxLayout): Removed.
1097         (addLayoutComponent): Use new constants, added documentation.
1098         (removeLayoutComponent): Likewise.
1099         (addLayoutContainer): Added documentation.
1100         (preferredLayoutSize): Added documentation, check given argument.
1101         (minimumLayoutSize): Likewise.
1102         (layoutContainer): Likewise.
1103         (getLayoutAlignmentX): Likewise.
1104         (getLayoutAlignmentY): Likewise.
1105         (invalidateLayout): Likewise.
1106         (maximumLayoutSize): Likewise.
1107
1108 2003-11-22  Michael Koch  <konqueror@gmx.de>
1109
1110         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1111         (peekData): Use offset and maximal free space in datagram packet.
1112         (receive): Likewise.
1113         (send): Use offset in datagram packet.
1114
1115 2003-11-22  Michael Koch  <konqueror@gmx.de>
1116
1117         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1118         (peekData): Use offset and maximal free space in datagram packet.
1119         (receive): Likewise.
1120         (send): Use offset in datagram packet.
1121
1122 2003-11-22  Michael Koch  <konqueror@gmx.de>
1123
1124         * gnu/java/nio/DatagramChannelImpl.java
1125         (getNativeFD): Use getPlainDatagramSocketImpl().
1126         * gnu/java/nio/NIODatagramSocket.java
1127         (getPlainDatagramSocketImpl): Renamed from getImpl().
1128         * gnu/java/nio/NIOSocket.java
1129         (getPlainSocketImpl): Renamed from getImpl().
1130         (setChannel): Use getPlainSocketImpl().
1131         * gnu/java/nio/SocketChannelImpl.java
1132         (SocketChannelImpl): Use getPlainSocketImpl().
1133         (getPlainSocketImpl): Renamed from getImpl().
1134         (getNativeFD): Use getPlainSocketImpl().
1135
1136 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1137
1138         * javax/swing/JLayeredPane.java: Implement.
1139         * javax/swing/JFrame.java (getContentPane): Make public
1140         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1141         Use JLayeredPane.FRAME_CONTENT_LAYER.
1142
1143 2003-11-21  Mark Wielaard  <mark@klomp.org>
1144
1145         * java/lang/Float.java (static): Removed.
1146
1147 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1148
1149         * java/awt/font/TextLayout.java: Implement simple layouts
1150         using attributed strings and glyph vectors.
1151
1152 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1153
1154         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1155         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1156         (GdkFontLineMetrics): New inner class.
1157         (getLineMetrics): Return new GdkFontLineMetrics.
1158         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1159         (layoutGlyphVector): Create GdkGlyphVector.
1160         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1161         (GdkGraphics2D): Initialize state via mathod calls.
1162         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1163         (cairoTranslate, cairoScale, cairoRotate): Remove.
1164         (various methods): use setTransform for special transform cases.
1165         (DrawState): New inner class.
1166         (stateSave): New method.
1167         (stateRestore): New method.
1168         (various methods): use stateSave, stateRestore.
1169         (getClipInDevSpace): New method.
1170         (clip, clipRect, setClip, getClip, getClipBounds): 
1171         Follow spec more closely.
1172         (getTransform): Return clone of transform.
1173         (setStroke): Set linewidth to passed width / 2.0.
1174         (setPaintMode): Set SrcOver rather than Xor.
1175         (setColor): Set paint to passed color.
1176         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1177         transform from image to user space.
1178         (drawRenderedImage, drawRenderableImage): Implement.
1179         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1180         Implement
1181         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1182         Implement.
1183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1184         Match changes to java side.
1185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1186         Release resources.
1187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1188         Don't use pango for metrics.
1189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1190         New file.
1191
1192 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1193             Jim Pick  <jim@kaffe.org>
1194
1195         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1196         methods.
1197
1198 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1199
1200         * java/text/DecimalFormatSymbols.java (getCurrency,
1201         setCurrency): New methods.
1202
1203 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1204
1205         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1206         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1207         Describe how the implementation works.
1208
1209 2003-11-19  Michael Koch  <konqueror@gmx.de>
1210
1211         * java/net/Socket.java
1212         (implCreated): New variable that indicates created impl.
1213         (getImpl): New method.
1214         (toString): Return more SUN compliant string representation.
1215         (various): Use getImpl() instead of impl.
1216
1217 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1218
1219         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1220         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1221         flags.
1222
1223 2003-11-18  Tom Tromey  <tromey@redhat.com>
1224
1225         PR libgcj/13026:
1226         * verify.cc (state::copy): Only set local_changed if we're in a
1227         subroutine.  Correctly copy local variables which were modified
1228         by the subroutine.
1229         (push_jump_merge): Added more debugging output.
1230
1231         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1232         is null.
1233
1234 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1235
1236         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1237         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1238
1239 2003-11-16  Tom Tromey  <tromey@redhat.com>
1240
1241         PR libgcj/13062:
1242         * java/io/StreamTokenizer.java (commentChar): Clear other
1243         attributes for character.
1244         (quoteChar): Likewise.
1245
1246 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1247
1248         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1249         zero-length int arrays when layoutInfo is null.
1250         (getLayoutWeights): Return array of two zero-length double arrays when
1251         layoutInfo is null.
1252
1253 2003-11-13  Tom Tromey  <tromey@redhat.com>
1254
1255         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1256         JvGetStringUTFRegion.
1257         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1258         to JvGetStringUTFRegion.
1259         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1260         JvGetStringUTFRegion.
1261         * java/lang/natWin32Process.cc (startProcess): Pass length of
1262         string to JvGetStringUTFRegion.
1263         * java/lang/natClass.cc (forName): Pass length of string to
1264         JvGetStringUTFRegion.
1265         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1266         of string to JvGetStringUTFRegion.
1267         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1268         JvGetStringUTFRegion.
1269         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1270         to JvGetStringUTFRegion.
1271         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1272         string to JvGetStringUTFRegion.
1273
1274 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1275
1276         * gnu/java/nio/natSelectorImplPosix.cc
1277         (helper_put_filedescriptors): Change to static linkage.
1278         (helper_get_filedescriptors): Likewise.
1279
1280 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1281
1282         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1283         null check.
1284         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1285         * java/awt/Component.java (prepareImage): Likewise.
1286
1287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1288         Rename to nativeSetAlignment.
1289
1290 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1291
1292         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1293         (JNI_GetCreatedJavaVMs): Likewise.
1294         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1295         * include/jni.h (JNIIMPEXP): Remove definition
1296         and replace with...
1297         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1298         symbols,
1299         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1300
1301 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1302
1303         * Makefile.am: Add GdkPixbufDecoder.java and
1304         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1305         * Makefile.in: Regenerate.
1306         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1307         New constructor.
1308         (startProduction): Create ByteArrayInputStream when url and filename are
1309         null.
1310         (produce): Declare stream parameter as InputStream.
1311         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1312         as InputStream.
1313         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1314         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1315         (produce): Declare stream parameter as InputStream.
1316         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1317         if image is null.  Set image's observer before running PrepareImage
1318         thread.  Pass image to startProduction.
1319         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1320         source's member functions.
1321         (observer): New field.
1322         (setObserver): New method.
1323         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1324         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1325         new GtkImage.
1326         (prepareImage): Implement.
1327         * java/awt/Component.java: Add static fields incrementalDraw and
1328         redrawRate.
1329         (imageUpdate): Implement.
1330         (createImage): Call Toolkit's createImage if peer is null.
1331         (prepareImage): Throw NPE if image is null.
1332         * java/awt/MediaTracker.java: Fix return value.
1333
1334 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1335
1336         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1337         (create(String, float)): New method.
1338         (setText): Make native.
1339         (nativeSetAlignment): New method.
1340         (setAlignment): Call nativeSetAlignment.
1341         (getArgs): Remove method.
1342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1343         (find_fg_color_widget, find_bg_color_widget): New functions.
1344         (gtkWidgetSetForeground): Call find_fg_color_widget.
1345         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1346         prelight colors.
1347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1348         widget in event box.
1349         (setText, setAlignment): Implement new native methods.
1350
1351 2003-11-11  Michael Koch  <konqueror@gmx.de>
1352
1353         * java/awt/Font.java,
1354         java/awt/datatransfer/DataFlavor.java,
1355         java/math/BigInteger.java,
1356         java/net/Inet4Address.java,
1357         java/net/Inet6Address.java,
1358         java/rmi/MarshalledObject.java,
1359         java/rmi/server/RMIClassLoader.java,
1360         java/security/cert/CertStore.java,
1361         java/sql/Timestamp.java,
1362         java/text/SimpleDateFormat.java,
1363         javax/naming/CompoundName.java:
1364         Removed some redundant obj == null checks.
1365
1366 2003-11-11  Michael Koch  <konqueror@gmx.de>
1367
1368         * java/nio/ByteBuffer.java
1369         (equals): Remove redundant obj == null check.
1370
1371 2003-11-11  Michael Koch  <konqueror@gmx.de>
1372
1373         * gnu/java/nio/natPipeImpl.cc,
1374         gnu/java/nio/natSelectorImpl.cc: Removed
1375         * gnu/java/nio/natPipeImplEcos.cc,
1376         gnu/java/nio/natPipeImplPosix.cc,
1377         gnu/java/nio/natPipeImplWin32.cc,
1378         gnu/java/nio/natSelectorImplEcos.cc,
1379         gnu/java/nio/natSelectorImplPosix.cc,
1380         gnu/java/nio/natSelectorImplWin32.cc: New files
1381         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1382         gnu/java/nio/natSelectorImpl.cc
1383         * configure: Regenerated.
1384
1385 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1386
1387         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1388         if host is printed too and port was really given to URL.
1389
1390 2003-11-10  Gary Benson  <gbenson@redhat.com>
1391
1392         * java/sql/Timestamp.java (valueOf): Correctly handle
1393         nanoseconds.
1394
1395 2003-11-09  Tom Tromey  <tromey@redhat.com>
1396
1397         * java/net/Inet4Address.java (serialVersionUID): Updated.
1398
1399 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1400
1401         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1402         New fields.
1403
1404 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1405
1406         * java/io/ByteArrayOutputStream.java (resize):
1407         Fix off-by-one error.
1408
1409 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1410
1411         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1412         public.
1413
1414 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1415
1416         PR libgcj/12231
1417         * java/lang/Win32Process.java (hasExited) Changed from
1418         public to private.
1419         (startProcess): Likewise.
1420         (cleanup): Likewise.
1421         * java/lang/natWin32Process.cc (cleanup) Don't close
1422         input, output and error streams.
1423         (ChildProcessPipe): New helper class.
1424         (startProcess): Refactored to use ChildProcessPipe.
1425         Use CREATE_NO_WINDOW when launching child process.
1426
1427 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1428
1429         * include/win32.h (_Jv_platform_close_on_exec): Changed
1430         signature and declared extern.
1431         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1432         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1433         (create): Use new signature of _Jv_platform_close_on_exec.
1434         * gnu/java/net/natPlainSocketImplWin32.cc 
1435         (create): Eliminated a few typecasts
1436         Use new signature of _Jv_platform_close_on_exec.
1437         (accept): Eliminated a few typecasts
1438         Use new signature of _Jv_platform_close_on_exec.
1439         * java/io/natFileDescriptorWin32.cc (open): Use
1440         _Jv_platform_close_on_exec.
1441
1442 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1443
1444         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1445         if class has no null-argument constructor.
1446
1447 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1448
1449         PR libgcj/12647:
1450         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1451         refcount when releasing and reacquiring it.
1452
1453 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1454
1455         * win32.cc: (dirExists) Internal helper function to
1456         test for directory existence.
1457         (getUserHome) New helper function refactored out
1458         of _Jv_platform_initProperties. Uses USERPROFILE
1459         instead of HOMEDIR and attempts to support Win9X and NT.
1460         (_Jv_platform_initProperties) Use getUserHome.
1461
1462 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1463
1464         PR libgcj/11521:
1465         * gnu/java/net/natPlainSocketImplWin32.cc
1466         (bind): Don't use SO_REUSEADDR
1467
1468 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1469
1470         PR libgcj/6652:
1471         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1472
1473 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1474
1475         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1476         dispatch for final methods.
1477
1478 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1479
1480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1481         word wrapping.
1482
1483 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1484
1485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1486         scrolled window's size request.
1487
1488 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1489
1490         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1491         * java/awt/geom/QuadCurve2D.java: Likewise.
1492
1493 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1494
1495         * java/awt/geom/CubicCurve2D.java: Added documentation.
1496         * java/awt/geom/QuadCurve2D.java: Likewise.
1497
1498         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1499         java/awt/geom/doc-files/QuadCurve2D-5.png,
1500         java/awt/geom/doc-files/CubicCurve2D-4.png,
1501         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1502
1503 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1504
1505         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1506         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1507         (subdivide(double[],int,double[],int,double[],int)): Implement.
1508
1509 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1510
1511         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1512         java/awt/geom/doc-files/CubicCurve2D-2.png,
1513         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1514
1515 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1516
1517         * java/text/DecimalFormat.java
1518         (scanFormat) corrected so that '%' may appear in a pattern.
1519
1520 2003-10-29  Mark Wielaard  <mark@klomp.org>
1521
1522         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1523         * java/text/DateFormat.java (Field): New public static inner class.
1524         * java/text/Format.java (Field): Likewise.
1525         (formatToCharacterIterator): New method.
1526         * java/text/FormatCharacterIterator.java: New file.
1527
1528 2003-10-29  Mark Wielaard  <mark@klomp.org>
1529
1530         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1531         * java/util/Currency.java: New file.
1532
1533 2003-10-29  Michael Koch  <konqueror@gmx.de>
1534
1535         * Makefile.am (ordinary_java_source_files): Added
1536         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1537         * Makefile.in: Regenerated.
1538
1539 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1540
1541         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1542         static methods.
1543
1544 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1545
1546         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1547         getObjectInstance() with Object, Name, Context and environment
1548         Hashtable from exception. Call fillInStackTrace() on exception when
1549         rethrown.
1550         * javax/naming/InitialContext.java (lookup(Name)): When a
1551         CannotProceedException is thrown use the ContinuationContext.
1552         (lookup(String)): Likewise.
1553         (close): Clear myProps and defaultInitCtx.
1554
1555 2003-10-29  Michael Koch  <konqueror@gmx.de>
1556
1557         * java/net/InetAddress.java
1558         (equals): Remove redundant obj == null check.
1559         * java/net/SocketPermission.java
1560         (equals): Likewise.
1561         * java/net/URL.java
1562         (equals): Likewise.
1563         (getURLStreamHandler): Likewise.
1564
1565 2003-10-29  Michael Koch  <konqueror@gmx.de>
1566
1567         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1568         (setOption): Directly return if no error occured.
1569         * gnu/java/net/natPlainSocketImplPosix.cc
1570         (setOption): Likewise.
1571
1572 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1573
1574         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1575         vtable slot for final methods. Add FIXME comment.
1576
1577 2003-10-28  David S. Miller  <davem@redhat.com>
1578
1579         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1580
1581 2003-10-26  Mark Wielaard  <mark@klomp.org>
1582
1583         Reported by Helmer Kraemer <hkraemer@freenet.de>
1584         * java/util/jar/JarInputStream.java (readManifest): Don't call
1585         closeEntry().
1586
1587         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1588         (finish): Use inbufWrite().
1589         (write(int)): Likewise.
1590         (write(byte[],int,int)): Likewise.
1591
1592 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1593
1594         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1595         Don't check for AccessibleObject. Update javadocs.
1596         
1597         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1598
1599 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1600
1601         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1602         whitespace on constructor with no modifiers.
1603         * java/lang/reflect/natConstructor.java (newInstance): Look up
1604         caller and perform accessibility check only if constructor is
1605         non-public and accessible flag is not set.
1606
1607 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1608
1609         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1610         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1611         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1612         is_virtual_call argument.
1613         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1614         natClass.cc.
1615         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1616         _Jv_isVirtualMethod.
1617         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1618         _Jv_LookupDeclaredMethod.
1619         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1620         look up method in target object's vtable.
1621
1622 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1623
1624         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1625         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1626         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1627         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1628         New concrete implementation of ClasspathFontPeer, with native part.
1629         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1630         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1631         New class, with native part.
1632         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1633         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1634         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1635
1636 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1637
1638         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1639         on method with no modifiers.
1640
1641 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1642
1643         PR libgcj/11780:
1644         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1645         accessibility check only if target is non-public and accessible flag
1646         is not set.
1647         * java/lang/reflect/natField.cc (getAddr): Likewise.
1648
1649 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1650
1651         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1652         Remove method.
1653         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1654         New method.
1655         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1656         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1657         (dispose): Post WINDOW_CLOSED event.
1658         (addWindowFocusListener, addWindowStateListener): Assign result
1659         of multicaster add back to window listener.
1660         (removeWindowFocusListener, removeWindowStateListener): Assign
1661         result of multicaster remove back to window listener.
1662         (dispatchEventImpl): Add null checks for focus and state
1663         listeners.
1664         (processWindowEvent): Handle case where windowListener is null
1665         but state or focus listeners exist.
1666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1667         glue for postWindowEvent.
1668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1669         (window_delete_cb, window_destroy_cb, window_show_cb,
1670         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1671         window_get_new_state): New functions.
1672         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1673         macros.  Declare postWindowEventID.
1674
1675 2003-10-24  Anthony Green  <green@redhat.com>
1676
1677         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1678         we have no interpreter.
1679
1680 2003-10-22  Andrew Haley  <aph@redhat.com>
1681
1682         * java/lang/natClass.cc (initializeClass): Call
1683         _Jv_linkExceptionClassTable.
1684         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1685         _Jv_Defer_Resolution on a method whose ncode is NULL.
1686         (_Jv_linkExceptionClassTable): New function.
1687         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1688         entry, look it up.
1689         * java/lang/Class.h (struct _Jv_CatchClass): New.
1690         (_Jv_linkExceptionClassTable): New friend.
1691         (_Jv_Defer_Resolution): New friend.
1692         (class Class.catch_classes): New field.
1693         * include/java-interp.h (Jv_Defer_Resolution): New method.
1694         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1695         (_Jv_MethodBase.deferred): New field.
1696         (_Jv_Defer_Resolution): New function.
1697         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1698         * exception.cc (get_ttype_entry): Change return type to void**.
1699         (PERSONALITY_FUNCTION): Remove all code related to using a
1700         Utf8Const* for a match type.  Change match type to be a pointer to
1701         a pointer, rather than a pointer to a Class.
1702         * defineclass.cc (handleCodeAttribute): Initialize
1703         method->deferred.
1704         (handleMethodsEnd): Likewise.
1705
1706 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1707
1708         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1709         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1710
1711 2003-10-22  Tom Tromey  <tromey@redhat.com>
1712
1713         PR libgcj/12416:
1714         * java/lang/Class.h: Updated.
1715         * java/lang/natClass.cc (_getFields): Removed.
1716         (getFields): Likewise.
1717         (getDeclaredFields): Added `public_only' parameter.
1718         * java/lang/Class.java (getFields): Now implemented in java; from
1719         Classpath.
1720         (getDeclaredFields): Likewise.
1721         (getDeclaredFields(boolean)): Declare.
1722         (_getFields): Removed.
1723         (internalGetFields): New method, from Classpath.
1724
1725         PR libgcj/12656:
1726         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1727         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1728
1729 2003-10-22  David Daney  <ddaney@avtrex.com)
1730
1731         * include/mips-signal.h: New file.
1732         * sysdep/dwarf2-backtrace.cc: New file.
1733         * sysdep/mips: New directory.
1734         * sysdep/mips/locks.h: New file.
1735         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1736         added to libgcj.
1737         (extra_cc_source_files): Ditto.
1738         * configure.host(disable_dladdr):  New shell variable passed to
1739         configure.
1740         (mips*-*-linux*): sysdeps_dir=mips,
1741         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1742         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1743         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1744         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1745         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1746         (EXTRA_CC_FILES): New, to support conditional addition of
1747         sysdep/dwarf2-backtrace.cc.
1748         * configure: Regenerated.
1749         * Makefile.in: Regenerated.
1750         * gcj/Makefile.in: Regenerated.
1751         * include/config.h.in: Regenerated.
1752         * include/Makefile.in: Regenerated.
1753         * testsuite/Makefile.in: Regenerated.
1754         
1755 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1756
1757         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1758         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1759
1760 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1761
1762         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1763         * java/awt/geom/doc-files: New directory.
1764         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1765         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1766         
1767 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1768
1769         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1770
1771 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1772
1773         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1774
1775 2003-10-22  Michael Koch  <konqueror@gmx.de>
1776
1777         * java/io/File.java
1778         (equals): Removed redundant obj == null check.
1779         (createTempFile): Merged comments from classpath.
1780
1781 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1782
1783         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1784         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1785         (error): Synchronize on instance, not class.
1786
1787 2003-10-21  Mark Wielaard  <mark@klomp.org>
1788
1789         Reported by M.Negovanovic
1790         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1791         method.
1792         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1793
1794 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1795
1796         Fix for Classpath bug #6076.
1797         * java/awt/geom/GeneralPath.java (append): Re-written.
1798
1799 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1800
1801         Fix for Classpath bug #6089.
1802         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1803         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1804
1805 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1806
1807         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1808         point, not start of subpath.  Fixes Classpath bug #6075.
1809
1810 2003-10-21  Michael Koch  <konqueror@gmx.de>
1811
1812         * java/nio/ByteOrder.java,
1813         java/nio/DirectByteBufferImpl.java,
1814         java/nio/channels/FileChannelImpl.java:
1815         Add code to load library with code for native methods if needed.
1816
1817 2003-10-21  Michael Koch  <konqueror@gmx.de>
1818
1819         * gnu/java/net/PlainDatagramSocketImpl.java,
1820         gnu/java/net/PlainSocketImpl.java,
1821         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1822         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1823         gnu/java/net/natPlainSocketImplPosix.cc,
1824         gnu/java/net/natPlainSocketImplWin32.cc:
1825         Renamed fnum to native_fd to match classpath more.
1826
1827 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1828
1829         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1830         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1831         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1832         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1833         _Jv_PthreadCheckMonitor.  Simplify code.
1834         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1835         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1836         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1837         * java/lang/Thread.java (holdsLock): New.
1838         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1839         without JV_HASH_SYNCHRONIZATION.
1840         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1841
1842 2003-10-20  Michael Koch  <konqueror@gmx.de>
1843
1844         * java/text/RuleBasedCollator.java
1845         (RuleBasedCollator): Check rules not empty, fixed search in already
1846         existing collation elements.
1847         (is_special): Removed common whitespace characters.
1848         (text_argument): Dont return on whitespaces, add characters between
1849         two ' to string buffer.
1850
1851 2003-10-18  Michael Koch  <konqueror@gmx.de>
1852
1853         * gnu/java/net/protocol/file/Connection.java,
1854         gnu/java/net/protocol/file/Handler.java,
1855         gnu/java/net/protocol/http/Connection.java,
1856         gnu/java/net/protocol/http/Handler.java,
1857         gnu/java/net/protocol/jar/Connection.java,
1858         gnu/java/net/protocol/jar/Handler.java:
1859         Merged copyright text from classpath to make
1860         it possible to merge the classes.
1861
1862 2003-10-18  Mark Wielaard  <mark@klomp.org>
1863
1864         Reported by M.Negovanovic
1865         * java/beans/IndexedPropertyDescriptor.java
1866         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1867
1868 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1869
1870         * win32.cc (_Jv_pipe): Implemented.
1871         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1872         _Jv_pipe instead of ::pipe.
1873         * include/posix.h (_Jv_pipe): New inline.
1874         * include/win32.h (_Jv_pipe): New declaration.
1875         
1876 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1877
1878         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1879         (append, substring, insert): Likewise.
1880         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1881         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1882         
1883 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1884
1885         * java/lang/natString.cc (getChars):
1886         Fix validation of array indexes.
1887         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1888         * testsuite/libjava.lang/String_overflow.java: New file.
1889         * testsuite/libjava.lang/String_overflow.out: New file.
1890
1891 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1892
1893         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1894         overflow a jint.
1895         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1896         check for overflowing size_t, since the lower level functions
1897         take a jint.
1898         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1899         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1900         
1901 2003-10-15  Michael Koch  <konqueror@gmx.de>
1902
1903         * java/text/RuleBasedCollator.java
1904         (RuleBasedCollator): Moved around, documentation added.
1905         (compare): Documentation added.
1906         (equals): Likewise.
1907         (getCollationElementIterator): Likewise.
1908         (getCollationKey): Likewise.
1909         (getRules): Likewise.
1910         (hashCode): Likewise.
1911
1912 2003-10-15  Michael Koch  <konqueror@gmx.de>
1913
1914         * java/text/RuleBasedCollator.java
1915         (CollationElement): Renamed from RBCElement and moved into
1916         RuledBasedCollator as inner class.
1917
1918 2003-10-15  Michael Koch  <konqueror@gmx.de>
1919
1920         * java/text/CollationElementIterator.java
1921         (CollationElementIterator): Moved, documenatation added, call setText.
1922         (next): Reformated.
1923         (reset): Reformated.
1924         (setText): New method.
1925         (getOffset): New method.
1926         * java/text/CollationKey.java
1927         (getSourceString): Reformated.
1928         (hashCode): Reformated.
1929         (toByteArray): Reformated.
1930
1931 2003-10-15  Michael Koch  <konqueror@gmx.de>
1932
1933         * java/util/zip/InflaterInputStream.java
1934         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1935         added description to exception, check for inf == null and size < 0.
1936
1937 2003-10-15  Michael Koch  <konqueror@gmx.de>
1938
1939         * java/text/AttributedCharacterIterator.java,
1940         java/text/CharacterIterator.java: Reformated.
1941
1942 2003-10-15  Michael Koch  <konqueror@gmx.de>
1943
1944         * javax/swing/UIDefaults.java (putDefaults):
1945         Readded accidently removed "public" modifier.
1946
1947 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1948
1949         * interpret.cc (_Jv_InterpMethod::run): Don't
1950         use libffi types, they were meant to be internal.
1951         * gcj/javaprims.h (_Jv_ulong): New typedef.
1952
1953 2003-10-13  Tom Tromey  <tromey@redhat.com>
1954
1955         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1956         (defineClass): Updated.
1957         (_Jv_NewClass): Likewise.
1958         * prims.cc (_Jv_InitPrimClass): Don't call
1959         _Jv_InitNewClassFields.
1960
1961 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1962
1963         PR libgcj/12592
1964         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1965         not just \n.
1966
1967 2003-10-13  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/io/File.java: Reformated.
1970         (equals): Check for obj == null.
1971
1972 2003-10-13  Michael Koch  <konqueror@gmx.de>
1973
1974         * java/net/JarURLConnection.java
1975         (jarFileURL): Added dcoumentation.
1976         (jarFileURLConnection): Reformated documentation.
1977         (entryName): Renamed from "element", documentation rewritten.
1978         (connectionCache): Renamed from "conn_cache", documentation
1979         reformated.
1980         (JarURLConnection): Check URL protocol.
1981         (getEntryName): Use entryName.
1982         (connect): Use connectionCache.
1983         (getInputStream): Use entryName, fixed comment.
1984         (getJarEntry): Use entryName.
1985         (getHeaders): Use entryName.
1986         * java/net/URLConnection.java
1987         (addRequestProperty): Fixed documentation.
1988         (setDefaultRequestProptery): Added comment that it does nothing since
1989         JDK 1.3.
1990         (getDefaultRequestProperty): Likewise.
1991
1992 2003-10-13  Michael Koch  <konqueror@gmx.de>
1993
1994         * java/net/java/net/URLStreamHandlerFactory.java
1995         (createURLStreamHandler): Removed redundant "public" modifier.
1996         * java/sql/DatabaseMetaData.java:
1997         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1998         * java/sql/ParameterMetaData.java:
1999         (ParameterMetaData): Readded accidently removed "public" modifier.
2000         * java/sql/PreparedStatement.java:
2001         (PreparedStatement): Readded accidently removed "public" modifier.
2002         * java/sql/Ref.java:
2003         (Ref): Readded accidently removed "public" modifier.
2004
2005 2003-10-13  Michael Koch  <konqueror@gmx.de>
2006
2007         * java/nio/Buffer.java
2008         (hasRemaining): Made implementation more clear.
2009         * java/nio/MappedByteBuffer.java
2010         (loaded): New member variable.
2011         (force): Added comment.
2012         (isLoaded): Return value of loaded.
2013         (load): Set loaded to true, added comment.
2014
2015 2003-10-12  Michael Koch  <konqueror@gmx.de>
2016
2017         * gnu/java/nio/PipeImpl.java
2018         (SourceChannelImpl): New inner class.
2019         (SinkChannelImpl): New inner class.
2020         (sink): New member variable.
2021         (source): New member variable.
2022         (PipeImpl): Add SelectorProvider argument, implemented.
2023         (nativeInit): New method.
2024         (sink): Return sink channel.
2025         (source): Return source channel.
2026         * gnu/java/nio/SelectorProviderImpl.java
2027         (openPipe): Give provider as argument to PipeImpl constructor.
2028         * java/nio/channels/spi/SelectorProvider.java
2029         (pr): Removed.
2030         (systemDefaultProvider): New member variable.
2031         (provider): Made it synchronized, use property
2032         java.nio.channels.spi.SelectorProvider.
2033         * gnu/java/nio/natPipeImpl.cc: New file.
2034         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2035         * Makefile.in: Regenerated.
2036
2037 2003-10-12  Michael Koch  <konqueror@gmx.de>
2038
2039         * javax/swing/table/DefaultTableModel.java,
2040         javax/swing/table/TableCellEditor.java,
2041         javax/swing/table/TableCellRenderer.java,
2042         javax/swing/table/TableColumnModel.java,
2043         javax/swing/table/TableModel.java,
2044         javax/swing/text/AbstractDocument.java,
2045         javax/swing/text/Document.java,
2046         javax/swing/text/MutableAttributeSet.java,
2047         javax/swing/text/StyledDocument.java,
2048         javax/swing/text/ViewFactory.java,
2049         javax/swing/tree/DefaultMutableTreeNode.java,
2050         javax/swing/tree/MutableTreeNode.java,
2051         javax/swing/tree/RowMapper.java,
2052         javax/swing/tree/TreeCellEditor.java,
2053         javax/swing/tree/TreeCellRenderer.java,
2054         javax/swing/tree/TreeModel.java,
2055         javax/swing/tree/TreeNode.java,
2056         javax/swing/tree/TreeSelectionModel.java,
2057         javax/swing/undo/StateEditable.java,
2058         javax/swing/undo/UndoableEdit.java:
2059         Removed redundant modifiers.
2060
2061 2003-10-12  Michael Koch  <konqueror@gmx.de>
2062
2063         * javax/swing/event/AncestorListener.java,
2064         javax/swing/event/CaretListener.java,
2065         javax/swing/event/CellEditorListener.java,
2066         javax/swing/event/ChangeListener.java,
2067         javax/swing/event/DocumentEvent.java,
2068         javax/swing/event/DocumentListener.java,
2069         javax/swing/event/HyperlinkListener.java,
2070         javax/swing/event/InternalFrameListener.java,
2071         javax/swing/event/ListDataListener.java,
2072         javax/swing/event/ListSelectionListener.java,
2073         javax/swing/event/MenuDragMouseListener.java,
2074         javax/swing/event/MenuKeyListener.java,
2075         javax/swing/event/MenuListener.java,
2076         javax/swing/event/MouseInputListener.java,
2077         javax/swing/event/PopupMenuListener.java,
2078         javax/swing/event/TableColumnModelListener.java,
2079         javax/swing/event/TableModelListener.java,
2080         javax/swing/event/TreeExpansionListener.java,
2081         javax/swing/event/TreeModelListener.java,
2082         javax/swing/event/TreeSelectionListener.java,
2083         javax/swing/event/TreeWillExpandListener.java,
2084         javax/swing/event/UndoableEditListener.java,
2085         javax/swing/plaf/UIResource.java,
2086         javax/swing/plaf/metal/MetalLookAndFeel.java:
2087         Removed redundant modifiers.
2088
2089 2003-10-12  Michael Koch  <konqueror@gmx.de>
2090
2091         * javax/swing/Action.java,
2092         javax/swing/BoundedRangeModel.java,
2093         javax/swing/CellEditor.java,
2094         javax/swing/ComboBoxEditor.java,
2095         javax/swing/ComboBoxModel.java,
2096         javax/swing/DesktopManager.java,
2097         javax/swing/JComboBox.java,
2098         javax/swing/ListCellRenderer.java,
2099         javax/swing/ListSelectionModel.java,
2100         javax/swing/MenuElement.java,
2101         javax/swing/MutableComboBoxModel.java,
2102         javax/swing/Renderer.java,
2103         javax/swing/RootPaneContainer.java,
2104         javax/swing/ScrollPaneConstants.java,
2105         javax/swing/SingleSelectionModel.java,
2106         javax/swing/SpinnerModel.java,
2107         javax/swing/SwingConstants.java,
2108         javax/swing/UIDefaults.java,
2109         javax/swing/WindowConstants.java,
2110         javax/swing/border/Border.java,
2111         javax/swing/colorchooser/ColorSelectionModel.java:
2112         Removed redundant modifiers.
2113
2114 2003-10-11  Michael Koch  <konqueror@gmx.de>
2115
2116         * javax/transaction/Status.java,
2117         javax/transaction/Synchronization.java,
2118         javax/transaction/Transaction.java,
2119         javax/transaction/TransactionManager.java,
2120         javax/transaction/UserTransaction.java,
2121         javax/transaction/xa/XAResource.java,
2122         javax/transaction/xa/Xid.java:
2123         Removing redundant modifiers.
2124
2125 2003-10-11  Michael Koch  <konqueror@gmx.de>
2126
2127         * javax/print/attribute/Attribute.java,
2128         javax/print/attribute/AttributeSet.java,
2129         javax/print/attribute/PrintRequestAttributeSet.java:
2130         Removing redundant modifiers.
2131
2132 2003-10-11  Michael Koch  <konqueror@gmx.de>
2133
2134         * javax/sql/ConnectionEventListener.java,
2135         javax/sql/ConnectionPoolDataSource.java,
2136         javax/sql/DataSource.java,
2137         javax/sql/PooledConnection.java,
2138         javax/sql/RowSet.java,
2139         javax/sql/RowSetInternal.java,
2140         javax/sql/RowSetListener.java,
2141         javax/sql/RowSetMetaData.java,
2142         javax/sql/RowSetReader.java,
2143         javax/sql/RowSetWriter.java,
2144         javax/sql/XAConnection.java,
2145         javax/sql/XADataSource.java:
2146         Removing redundant modifiers.
2147
2148 2003-10-11  Michael Koch  <konqueror@gmx.de>
2149
2150         * javax/naming/Context.java,
2151         javax/naming/Name.java,
2152         javax/naming/NameParser.java,
2153         javax/naming/NamingEnumeration.java,
2154         javax/naming/Referenceable.java,
2155         javax/naming/directory/Attribute.java,
2156         javax/naming/directory/Attributes.java,
2157         javax/naming/directory/DirContext.java,
2158         javax/naming/event/EventContext.java,
2159         javax/naming/event/EventDirContext.java,
2160         javax/naming/event/NamespaceChangeListener.java,
2161         javax/naming/event/NamingListener.java,
2162         javax/naming/event/ObjectChangeListener.java,
2163         javax/naming/ldap/Control.java,
2164         javax/naming/ldap/ExtendedRequest.java,
2165         javax/naming/ldap/ExtendedResponse.java,
2166         javax/naming/ldap/HasControls.java,
2167         javax/naming/ldap/LdapContext.java,
2168         javax/naming/ldap/UnsolicitedNotification.java,
2169         javax/naming/ldap/UnsolicitedNotificationListener.java,
2170         javax/naming/spi/DirObjectFactory.java,
2171         javax/naming/spi/DirStateFactory.java,
2172         javax/naming/spi/InitialContextFactory.java,
2173         javax/naming/spi/InitialContextFactoryBuilder.java,
2174         javax/naming/spi/ObjectFactory.java,
2175         javax/naming/spi/ObjectFactoryBuilder.java,
2176         javax/naming/spi/Resolver.java,
2177         javax/naming/spi/StateFactory.java:
2178         Removing redundant modifiers.
2179
2180 2003-10-11  Michael Koch  <konqueror@gmx.de>
2181
2182         * java/security/Key.java,
2183         * java/security/PrivateKey.java,
2184         * java/security/PublicKey.java,
2185         * java/security/acl/Acl.java,
2186         * java/security/acl/AclEntry.java,
2187         * java/security/acl/Group.java,
2188         * java/security/acl/Owner.java,
2189         * java/security/acl/Permission.java,
2190         * java/security/cert/X509Extension.java,
2191         * java/security/interfaces/DSAKey.java,
2192         * java/security/interfaces/DSAKeyPairGenerator.java,
2193         * java/security/interfaces/DSAParams.java,
2194         * java/security/interfaces/DSAPrivateKey.java,
2195         * java/security/interfaces/DSAPublicKey.java,
2196         * java/security/interfaces/RSAKey.java,
2197         * java/security/interfaces/RSAPrivateCrtKey.java,
2198         * java/security/interfaces/RSAPrivateKey.java,
2199         * java/security/interfaces/RSAPublicKey.java:
2200         Removed redundant modifiers.
2201
2202 2003-10-11  Michael Koch  <konqueror@gmx.de>
2203
2204         * gnu/java/rmi/server/ProtocolConstants.java,
2205         gnu/java/security/der/DER.java:
2206         Removing redundant modifiers.
2207
2208 2003-10-11  Michael Koch  <konqueror@gmx.de>
2209
2210         * java/util/Map.java,
2211         java/util/Observer.java,
2212         java/util/zip/Checksum.java,
2213         java/util/zip/ZipConstants.java:
2214         Removed redundant modifiers.
2215
2216 2003-10-11  Michael Koch  <konqueror@gmx.de>
2217
2218         * java/text/AttributedCharacterIterator.java,
2219         java/text/CharacterIterator.java:
2220         Removed redundant modifiers.
2221
2222 2003-10-11  Michael Koch  <konqueror@gmx.de>
2223
2224         * java/sql/Array.java,
2225         java/sql/Blob.java,
2226         java/sql/CallableStatement.java,
2227         java/sql/Clob.java,
2228         java/sql/Connection.java,
2229         java/sql/DatabaseMetaData.java,
2230         java/sql/Driver.java,
2231         java/sql/ParameterMetaData.java,
2232         java/sql/PreparedStatement.java,
2233         java/sql/Ref.java,
2234         java/sql/ResultSet.java,
2235         java/sql/ResultSetMetaData.java,
2236         java/sql/SQLData.java,
2237         java/sql/SQLInput.java,
2238         java/sql/SQLOutput.java,
2239         java/sql/Savepoint.java,
2240         java/sql/Statement.java,
2241         java/sql/Struct.java:
2242         Removed redundant modifiers.
2243
2244 2003-10-11  Michael Koch  <konqueror@gmx.de>
2245
2246         * java/nio/channels/Channel.java,
2247         java/nio/channels/GatheringByteChannel.java,
2248         java/nio/channels/ReadableByteChannel.java,
2249         java/nio/channels/ScatteringByteChannel.java,
2250         java/nio/channels/WritableByteChannel.java:
2251         Removed redundant modifiers.
2252
2253 2003-10-11  Michael Koch  <konqueror@gmx.de>
2254
2255         * java/rmi/activation/ActivationInstantiator.java,
2256         java/rmi/activation/ActivationMonitor.java,
2257         java/rmi/activation/ActivationSystem.java,
2258         java/rmi/activation/Activator.java,
2259         java/rmi/dgc/DGC.java,
2260         java/rmi/registry/Registry.java,
2261         java/rmi/registry/RegistryHandler.java,
2262         java/rmi/server/LoaderHandler.java,
2263         java/rmi/server/RMIClientSocketFactory.java,
2264         java/rmi/server/RMIFailureHandler.java,
2265         java/rmi/server/RMIServerSocketFactory.java,
2266         java/rmi/server/RemoteCall.java,
2267         java/rmi/server/RemoteRef.java,
2268         java/rmi/server/ServerRef.java,
2269         java/rmi/server/Skeleton.java,
2270         java/rmi/server/Unreferenced.java:
2271         Removed redundant modifiers.
2272
2273 2003-10-11  Michael Koch  <konqueror@gmx.de>
2274
2275         * java/net/ContentHandlerFactory.java,
2276         java/net/DatagramSocketImplFactory.java,
2277         java/net/FileNameMap.java,
2278         java/net/SocketImplFactory.java,
2279         java/net/SocketOptions.java,
2280         java/net/URLStreamHandlerFactory.java:
2281         Removed redundant modifiers.
2282
2283 2003-10-11  Michael Koch  <konqueror@gmx.de>
2284
2285         * java/io/Externalizable.java,
2286         java/io/FileFilter.java,
2287         java/io/FilePermission.java,
2288         java/io/ObjectInput.java,
2289         java/io/ObjectInputValidation.java,
2290         java/io/ObjectOutput.java,
2291         java/io/ObjectStreamClass.java,
2292         java/io/ObjectStreamConstants.java,
2293         java/io/Serializable.java:
2294         Removed redundant modifiers.
2295
2296 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2297
2298         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2299         codebase and context classloader.
2300
2301 2003-10-11  Michael Koch  <konqueror@gmx.de>
2302
2303         * java/beans/beancontext/BeanContext.java,
2304         java/beans/beancontext/BeanContextChild.java,
2305         java/beans/beancontext/BeanContextChildComponentProxy.java,
2306         java/beans/beancontext/BeanContextChildSupport.java,
2307         java/beans/beancontext/BeanContextContainerProxy.java,
2308         java/beans/beancontext/BeanContextMembershipListener.java,
2309         java/beans/beancontext/BeanContextProxy.java,
2310         java/beans/beancontext/BeanContextServiceProvider.java,
2311         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2312         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2313         java/beans/beancontext/BeanContextServices.java,
2314         java/beans/beancontext/BeanContextServicesListener.java:
2315         Removed redundant modifiers.
2316
2317 2003-10-11  Michael Koch  <konqueror@gmx.de>
2318
2319         * java/beans/AppletInitializer.java,
2320         java/beans/BeanInfo.java,
2321         java/beans/Customizer.java,
2322         java/beans/DesignMode.java,
2323         java/beans/PropertyEditor.java,
2324         java/beans/Visibility.java:
2325         Removed redundant modifiers.
2326
2327 2003-10-11  Michael Koch  <konqueror@gmx.de>
2328
2329         * java/awt/print/Pageable.java,
2330         * java/awt/print/Printable.java,
2331         java/awt/print/PrinterGraphics.java:
2332         Removed redundant modifiers.
2333
2334 2003-10-11  Michael Koch  <konqueror@gmx.de>
2335
2336         * java/awt/peer/ButtonPeer.java,
2337         java/awt/peer/CheckboxMenuItemPeer.java,
2338         java/awt/peer/CheckboxPeer.java,
2339         java/awt/peer/ChoicePeer.java,
2340         java/awt/peer/ComponentPeer.java,
2341         java/awt/peer/ContainerPeer.java,
2342         java/awt/peer/DialogPeer.java,
2343         java/awt/peer/FileDialogPeer.java,
2344         java/awt/peer/FramePeer.java,
2345         java/awt/peer/LabelPeer.java,
2346         java/awt/peer/ListPeer.java,
2347         java/awt/peer/MenuBarPeer.java,
2348         java/awt/peer/MenuComponentPeer.java,
2349         java/awt/peer/MenuItemPeer.java,
2350         java/awt/peer/MenuPeer.java,
2351         java/awt/peer/PopupMenuPeer.java,
2352         java/awt/peer/RobotPeer.java,
2353         java/awt/peer/ScrollPanePeer.java,
2354         java/awt/peer/ScrollbarPeer.java,
2355         java/awt/peer/TextAreaPeer.java,
2356         java/awt/peer/TextComponentPeer.java,
2357         java/awt/peer/TextFieldPeer.java,
2358         java/awt/peer/WindowPeer.java:
2359         Removed redundant modifiers.
2360
2361 2003-10-11  Michael Koch  <konqueror@gmx.de>
2362
2363         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2364         * gnu/java/nio/ServerSocketChannelImpl.java
2365         (serverSocket): Made it a NIOServerSocket.
2366         (impl): Removed.
2367         (ServerSocketChannelImpl): Initialize only serverSocket.
2368         (initServerSocket): Removed.
2369         (getNativeFD): Rewritten.
2370         (implConfigureBlocking): Set socket timeout and removed comment.
2371         (accept): Rewritten.
2372         * gnu/java/nio/SocketChannelImpl.java
2373         (impl): New variable.
2374         (connected): Removed.
2375         (SocketChannelImpl): Initialize impl too.
2376         (getImpl): New method.
2377         (isConnected): Rewritten.
2378         (read): Rewritten, set position in buffer correctly.
2379         (write): Set position in buffer correctly.
2380         * java/net/ServerSocket.java (getImpl): New method.
2381         * gnu/java/nio/NIOServerSocket.java,
2382         gnu/java/nio/natNIOServerSocket.cc: New files.
2383         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2384         * Makefile.am
2385         (ordinary_java_source_files):
2386         Added gnu/java/nio/NIOServerSocket.java.
2387         (nat_source_files):
2388         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2389         and added gnu/java/nio/natNIOServerSocket.cc.
2390         * Makefile.in: Regenerated.
2391
2392 2003-10-11  Michael Koch  <konqueror@gmx.de>
2393
2394         * java/awt/ActiveEvent.java,
2395         java/awt/datatransfer/ClipboardOwner.java,
2396         java/awt/datatransfer/FlavorMap.java,
2397         java/awt/datatransfer/Transferable.java,
2398         java/awt/dnd/Autoscroll.java,
2399         java/awt/dnd/peer/DragSourceContextPeer.java,
2400         java/awt/dnd/peer/DropTargetContextPeer.java,
2401         java/awt/dnd/peer/DropTargetPeer.java,
2402         java/awt/font/MultipleMaster.java,
2403         java/awt/font/OpenType.java,
2404         java/awt/im/spi/InputMethodDescriptor.java,
2405         java/awt/image/ImageObserver.java,
2406         java/awt/image/ImageConsumer.java,
2407         java/awt/image/ImageProducer.java,
2408         java/awt/image/RGBImageFilter.java,
2409         java/awt/image/RasterOp.java,
2410         java/awt/image/renderable/RenderableImage.java:
2411         Removed redundant modifiers.
2412
2413 2003-10-11  Michael Koch  <konqueror@gmx.de>
2414
2415         * gnu/awt/j2d/DirectRasterGraphics.java,
2416         gnu/java/awt/EmbeddedWindowSupport.java:
2417         Removed redundant modifiers.
2418
2419 2003-10-09  Michael Koch  <konqueror@gmx.de>
2420
2421         * gnu/java/nio/SelectorImpl.java (register):
2422         Use ServerSocketChannelSelectionKey for server socket channels,
2423         removed unneeded comments.
2424         * gnu/java/nio/ServerSocketChannelImpl.java
2425         (ServerSocketChannelImpl): Made class public final.
2426         (impl): New member variable.
2427         (ServerSocketChannelImpl): Initialize member variables correctly.
2428         (initServerSocket): New method.
2429         (getNativeFD): Likewise.
2430         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2431         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2432         * Makefile.am (ordinary_java_source_files):
2433         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2434         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2435         * Makefile.in: Regenrated.
2436
2437 2003-10-09  Michael Koch  <konqueror@gmx.de>
2438
2439         * java/nio/channels/spi/AbstractSelectableChannel.java
2440         (registered): Made private.
2441         (blocking): Likewise.
2442         (LOCK): Likewise.
2443         (provider): Likewise.
2444         (keys): Made it a private LinkedList.
2445         (AbstractSelectableChannel): Initialize keys.
2446         (isRegistered): New implementation.
2447         (locate): Rewritten.
2448         (register): Rewritten.
2449         * java/nio/channels/spi/AbstractSelectionKey.java
2450         (ok): Removed.
2451         (cancelled): New member variable.
2452         (cancel): Rewritten.
2453         (isValid): Rewritten.
2454         * java/nio/channels/spi/AbstractSelector.java:
2455         Some methods moved.
2456         (closed): Make private.
2457         (provider): Likewise.
2458         (cancelledKeys): New member variable.
2459         (AbstractSelector): Initialize cancelledKeys.
2460         (cancelKey): New method.
2461
2462 2003-10-09  Tom Tromey  <tromey@redhat.com>
2463
2464         * java/lang/ClassLoader.java (setSigners): Implemented.
2465         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2466         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2467         Initialize new fields.
2468         * java/lang/Class.java (getSigners): Now native.
2469         (setSigners): Declare.
2470         * java/lang/natClass.cc (getSigners): New method.
2471         (getSigners): Likewise.
2472         * java/lang/Class.h (Class::signers): New field.
2473         (Class::setSigners): New method.
2474
2475 2003-10-09  Michael Koch  <konqueror@gmx.de>
2476
2477         * java/rmi/server/RMIClassLoader.java:
2478         Removed unused imports, little reformatings.
2479         (getClassLoader): New method, implementation was part of old loadCLass
2480         method.
2481         (loadClass): Simplified by moving functionality to new method and
2482         reworking the code a bit.
2483         (getClassAnnotation): Merged documentation from classpath.
2484
2485 2003-10-09  Michael Koch  <konqueror@gmx.de>
2486
2487         * java/math/BigInteger.java
2488         (add): Removed unused local variable len.
2489
2490 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2491
2492         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2493         modality check.
2494         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2495         Initialize insets to use latest insets.
2496         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2497         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2498         field.
2499         (postConfigureEvent): Update latestInsets field when insets
2500         change.  Remove call to setSize.  Move validate call outside of
2501         if blocks.
2502         (setVisible): Call setBounds before showing window.
2503         (nativeSetVisible): New native method.
2504         * java/awt/Window.java (show): Show visible owned windows.
2505         (hide): Hide visible owned windows.
2506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2507         (awt_event_handler): Implement modality using GTK grabs.
2508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2509         (global_gtk_window_group): New global variable.
2510         (gtkInit): Initialize global_gtk_window_group.
2511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2512         Clamp width and height values to at least 1.  Add this window to
2513         the global GTK window group.
2514         (setVisible): Rename to nativeSetVisible.
2515         (setup_window): Remove function.
2516         (setSize): Clamp width and height values to at least 1.
2517         (nativeSetBounds): Likewise.
2518         (gdk_window_get_root_geometry): Remove function.
2519         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2520         and setup_window declarations.  Declare global_gtk_window_group.
2521
2522         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2523         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2524         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2525         (gtkWidgetSetForeground): New method.
2526         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2527         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2528         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2529         (setBackground, setForeground): Implement.
2530         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2531         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2532         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2533         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2536         Position PangoLayout relative to text's baseline.
2537         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2538
2539         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2540         for CENTER and RIGHT alignments.
2541
2542 2003-10-08  Michael Koch  <konqueror@gmx.de>
2543
2544         * java/security/Security.java: Reformated.
2545
2546 2003-10-08  Michael Koch  <konqueror@gmx.de>
2547
2548         * java/text/SimpleDateFormat.java
2549         (compileFormat): Replace Character.isLetter() test with
2550         Character.isLowerCase() || Character.isUpperCase().
2551
2552 2003-10-08  Tom Tromey  <tromey@redhat.com>
2553
2554         * java/lang/StrictMath.java (toDegrees): Multiply before
2555         dividing.
2556         (toRadians): Likewise.
2557
2558 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2559
2560         * java/lang/Math.java
2561         (toRadians): multiply before dividing to reduce decimal error
2562         (toDegrees): ditto
2563
2564 2003-10-08  Michael Koch  <konqueror@gmx.de>
2565
2566         * gnu/gcj/protocol/core/Connection.java,
2567         gnu/gcj/protocol/core/CoreInputStream.java,
2568         gnu/gcj/protocol/core/Handler.java,
2569         gnu/gcj/protocol/core/natCoreInputStream.cc,
2570         gnu/gcj/protocol/file/Connection.java,
2571         gnu/gcj/protocol/file/Handler.java,
2572         gnu/gcj/protocol/gcjlib/Connection.java,
2573         gnu/gcj/protocol/gcjlib/Handler.java,
2574         gnu/gcj/protocol/http/Connection.java,
2575         gnu/gcj/protocol/http/Handler.java,
2576         gnu/gcj/protocol/jar/Connection.java,
2577         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2578         * gnu/java/net/protocol/core/Connection.java,
2579         gnu/java/net/protocol/core/CoreInputStream.java,
2580         gnu/java/net/protocol/core/Handler.java,
2581         gnu/java/net/protocol/core/natCoreInputStream.cc,
2582         gnu/java/net/protocol/file/Connection.java,
2583         gnu/java/net/protocol/file/Handler.java,
2584         gnu/java/net/protocol/gcjlib/Connection.java,
2585         gnu/java/net/protocol/gcjlib/Handler.java,
2586         gnu/java/net/protocol/http/Connection.java,
2587         gnu/java/net/protocol/http/Handler.java,
2588         gnu/java/net/protocol/jar/Connection.java,
2589         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2590         * gnu/gcj/runtime/FirstThread.java,
2591         java/net/URL.java: Use moved protocol handlers.
2592         * Makefile.am
2593         (ordinary_java_source_files): Moved files.
2594         (nat_source_files): Likewise.
2595         * Makefile.in: Regenerated.
2596
2597 2003-10-08  Michael Koch  <konqueror@gmx.de>
2598
2599         * gnu/java/nio/SocketChannelImpl.java
2600         (read): Write only read data to buffer.
2601
2602 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2603
2604         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2605         out.
2606         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2607         (JCL_free): Attach "unused" attribute to env parameter.
2608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2609         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2610         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2611         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2612         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2613         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2615         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2618         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2620         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2621         parameters.
2622         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2623         (initNativeState): Pass 0 as info argument to
2624         gtk_selection_add_target.
2625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2626         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2627         unused method implementations.
2628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2629         (awt_event_handler): Add break statement after default label.
2630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2631         (drawPixels): Remove unused variable i.
2632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2633         (setEnabled): Remove method implementation.
2634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2635         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2636         argument.
2637         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2638         unused function.
2639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2640         (menu_pos): Assign TRUE to push_in.
2641         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2642         argument.
2643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2644         (create): Remove unused variable layout.
2645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2646         Pass window_widget, rather than window, to
2647         gtk_widget_set_size_request.
2648         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2649         structure initialization with NULL values.
2650         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2651
2652 2003-10-08  Michael Koch  <konqueror@gmx.de>
2653
2654         * java/util/LinkedList.java:
2655         Removed whitespace to match classpath's version again.
2656
2657 2003-10-08  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/util/prefs/Preferences.java
2660         (defaultFactoryClass): Fixed class name.
2661         (getFactory): Create instance of class returned by Class.forName(),
2662         reformated code.
2663
2664 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2665
2666         * javax/swing/table/AbstractTableModel.java
2667         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2668         helped stop pulling my hair on this +1 then -1 tricky thing!
2669
2670 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2671
2672         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2673         Remove unused parameters.
2674         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2675         Likewise.
2676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2677         (keyevent_state_to_awt_mods): Export function.
2678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2679         (getCaretPosition): Fix TextArea case.
2680         (textcomponent_commit_cb): Get exact event time and modifier
2681         state.
2682         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2683
2684 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2685
2686         * java/net/InetSocketAddress.java
2687         (InetSocketAddress): Made exception more clear.
2688         (equals): Handle case when addr is null.
2689         (toString): Likewise.
2690         * java/net/NetworkInterface.java
2691         (static): Load native library.
2692         (getNetworkInterfaces): Rewritten.
2693
2694 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2695
2696         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2697         field.
2698         (initializeInsets): New method.
2699         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2700         setBounds unconditionally.
2701         (setBounds): Convert coordinates if parent is a Window.
2702         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2703         field to GtkComponentPeer.
2704         (GtkContainerPeer): Don't initialize insets.
2705         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2706         New method.
2707         (create): Call new GtkWindowPeer create method.
2708         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2709         New method.
2710         (create): Call new GtkWindowPeer create method.
2711         (setBounds): Remove method.
2712         (postConfigureEvent): Likewise.
2713         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2714         type constants with GDK window type constants.
2715         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2716         (create(int,boolean)): Likewise.
2717         (create()): Call create(int,boolean).
2718         (nativeSetBounds): New native method declaration.
2719         (setBounds): Call native method declaration.
2720         (setSize): New native method declaration.
2721         (setBoundsCallback): Likewise.
2722         (postConfigureEvent): Handle change in insets.  Call setSize and
2723         setBoundsCallback methods.
2724         * java/awt/Window.java (Window): Set visible to false.
2725         (setBoundsCallback): New method.
2726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2727         (gtkWidgetGetLocationOnScreen): If this component is not a
2728         container, adjust the location returned based on the peer's
2729         allocation.
2730         (set(String,boolean)): Revert change from 2003-09-19.
2731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2732         (awt_event_handler): Fix inset calculation.
2733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2734         glue for Window.setBoundsCallback.
2735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2736         Set up stacking order, window decorations and window manager
2737         hints.
2738         (setBoundsCallback): New method.
2739         (setSize): New method.
2740         (nativeSetBounds): New method.
2741         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2742
2743 2003-10-02  Tom Tromey  <tromey@redhat.com>
2744
2745         * java/lang/VMClassLoader.java (loadClass): Now native.
2746         * java/lang/natClassLoader.cc (loadClass): Implement.
2747         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2748
2749 2003-10-02  Michael Koch  <konqueror@gmx.de>
2750
2751         * java/net/InetAddress.java
2752         (zeros): Removed.
2753         (ANY_IF): Initalizie in static block.
2754         (static): Load library with native methods here and initialize ANY_IF.
2755         (isAnyLocalAddress): Check if equal to ANY_IF.
2756         (equals): Use addr directly instead of addr1. Simplify for loop.
2757         (toString): Rename "result" to "host" and add IP address allways.
2758         (getLocalHost): Merged documentation from classpath.
2759         * java/net/ServerSocket.java
2760         (ServerSocket): New package-private constructor used by java.nio.
2761         * java/net/URLConnection.java
2762         (getRequestProperties): Check if already connected.
2763
2764 2003-10-02  Michael Koch  <konqueror@gmx.de>
2765
2766         * java/nio/ByteBufferHelper.java:
2767         Rewrote all methods by suggestions from Eric Blake.
2768
2769 2003-10-02  Michael Koch  <konqueror@gmx.de>
2770
2771         * java/net/URL.java
2772         (DEFAULT_SEARCH_PATH): New static variable.
2773         (ph_cache): Made it a HashMap.
2774         (getURLStreamHandler): Rename propVal to ph_search_path and use
2775         DEFAULT_SEARCH_PATH.
2776
2777 2003-10-02  Michael Koch  <konqueror@gmx.de>
2778
2779         * javax/swing/table/AbstractTableModel.java
2780         (findColumnName): Prevent from NullPointerException if argument
2781         columnName is null.
2782
2783 2003-10-02  Michael Koch  <konqueror@gmx.de>
2784
2785         * javax/swing/table/AbstractTableModel.java:
2786         This patch is based on a patch done by Arnaud Vandyck
2787         <arnaud.vandyck@ulg.ac.be>.
2788         (getColumnName): Fixed method documentation.
2789         (findColumn): Likewise.
2790         (getColumnClass): Likewise.
2791         (isCellEditable): Likewise.
2792         (setValueAt): Likewise.
2793         (addTableModelListener): Likewise.
2794         (removeTableModelListener): Likewise.
2795         (getTableModelListeners): New method.
2796
2797 2003-10-02  Michael Koch  <konqueror@gmx.de>
2798
2799         * javax/swing/table/AbstractTableModel.java:
2800         Reformated.
2801
2802 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2803
2804         Fix PR libgcj/12475
2805         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2806         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2807
2808 2003-10-01  Tom Tromey  <tromey@redhat.com>
2809
2810         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2811
2812 2003-10-01  Andrew Haley  <aph@redhat.com>
2813
2814         * java/lang/natClass.cc (initializeClass): Check for otable and
2815         atable.
2816         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2817         loops using for().  Search superinterfaces.  Check for fields as
2818         well as methods.  Initialize atable as well as otable: check for
2819         static methods as well as virtual methods.
2820         * java/lang/Class.h (struct _Jv_AddressTable): New.
2821         (atable): New.
2822         (atable_syms): New.
2823         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2824         * prims.cc (_Jv_equalUtf8Consts): constify.
2825
2826 2003-09-29  Tom Tromey  <tromey@redhat.com>
2827
2828         PR libgcj/10596:
2829         * include/jvm.h (_Jv_FinalizeString,
2830         _Jv_RegisterStringFinalizer): Declare.
2831         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2832         unintern.
2833         (intern): Updated.
2834         (_Jv_NewStringUtf8Const): Likewise.
2835         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2836         Add special case when finalizing a String.
2837         (in_hash): New function.
2838         (_Jv_RegisterStringFinalizer): Likewise.
2839         (maybe_add_finalize): Likewise.
2840
2841 2003-09-29  Michael Koch  <konqueror@gmx.de>
2842
2843         * java/net/InetAddress.java:
2844         (isMulticastAddress): Dont use local variable to store address length.
2845         Let the compiler optimize this.
2846         (getHostName): Merged dcoumentation from classpath.
2847         (getAddress): Likewise.
2848         (getHostAddress): Likewise.
2849         (hashCode): Likewise.
2850         (equals): Likewise.
2851         (toString): Likewise.
2852         (getByName): Likewise.
2853         (getAllByName): Likewise.
2854
2855 2003-09-29  Michael Koch  <konqueror@gmx.de>
2856
2857         * java/awt/image/IndexColorModel.java: Reformated.
2858
2859 2003-09-29  Michael Koch  <konqueror@gmx.de>
2860
2861         * java/net/InetAddress.java,
2862         java/net/URL.java: Reformated.
2863
2864 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2865
2866         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2867         significant bit of descriptor. Include the vtable and sync_info 
2868         fields.
2869
2870 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2871
2872         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2873         if `obj' is not a Number or Date instance.
2874         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2875         instead of Vector.
2876
2877 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2878
2879         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2880         Don't call setTimeZone on calendar.
2881
2882 2003-09-27  Michael Koch  <konqueror@gmx.de>
2883
2884         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2885
2886 2003-09-27  Michael Koch  <konqueror@gmx.de>
2887
2888         * java/net/URL.java (getURLStreamHandler):
2889         Check if we have to use cache before trying to retrieve handler from
2890         cache. Rename facName to clsName to match classpath more. Reformated
2891         some little pieces.
2892
2893 2003-09-27  Michael Koch  <konqueror@gmx.de>
2894
2895         * gnu/java/nio/SelectionKeyImpl.java
2896         (ch): Make package-private again. Jikes found this bug.
2897         Jeff Sturm submitted PR12426 for this to bugzilla
2898         to fix this bug in gcj.
2899
2900 2003-09-26  Michael Koch  <konqueror@gmx.de>
2901
2902         * java/rmi/server/RMIClassLoader.java:
2903         Reformatted file, no functional code changes.
2904
2905 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2906
2907         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2908         Save space for some pixels at the buffer end.  Added Javadoc.
2909
2910 2003-09-26  Tom Tromey  <tromey@redhat.com>
2911
2912         * java/io/ObjectOutputStream.java (writeFields): Fixed
2913         indentation.
2914         (putFields): Likewise.
2915
2916 2003-09-26  Michael Koch  <konqueror@gmx.de>
2917
2918         * java/nio/ByteBufferHelper.java:
2919         Totally reworked with help from Eric Blake.
2920
2921 2003-09-26  Tom Tromey  <tromey@redhat.com>
2922
2923         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2924         * java/awt/geom/PathIterator.java: Documentation fixes.
2925
2926 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2927
2928         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2929         (select): Likewise.
2930         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2931
2932 2003-09-25  Michael Koch  <konqueror@gmx.de>
2933
2934         * gnu/java/nio/DatagramChannelImpl.java
2935         (getNativeFD): New method.
2936         * gnu/java/nio/SelectionKeyImpl.java
2937         (SelectionKeyImpl): Class made abstract.
2938         (fd): Removed.
2939         (SelectionKeyImpl): Remove fd argument.
2940         (getNativeFD): New method.
2941         * gnu/java/nio/SocketChannelImpl.java
2942         (getNativeFD): New method.
2943         gnu/java/nio/DatagramChannelSelectionKey.java,
2944         * gnu/java/nio/SocketChannelSelectionKey.java:
2945         New files.
2946         * Makefile.am (ordinary_java_source_files):
2947         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2948         gnu/java/nio/SocketChannelSelectionKey.java.
2949         * Makefile.in: Regenerated.
2950
2951 2003-09-25  Michael Koch  <konqueror@gmx.de>
2952
2953         * java/lang/reflect/Proxy.java
2954         (getProxyClass): Remove workaround for gcj 3.0.x.
2955
2956 2003-09-25  Michael Koch  <konqueror@gmx.de>
2957
2958         * gnu/java/net/PlainDatagramSocketImpl.java
2959         (finalize): Moved to directly after constructor.
2960         (getNativeFD): New method.
2961         * gnu/java/net/PlainSocketImpl.java
2962         (getNativeFD): New method.
2963
2964 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2965
2966         * java/io/ObjectOutputStream.java:
2967         Allow putFields be called more than once.
2968
2969 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2970
2971         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2972         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2973         * java/awt/image/BufferedImage.java (toString): Implement.
2974
2975 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2976
2977         * aclocal.m4: Rebuilt.
2978         * configure: Rebuilt.
2979
2980 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2981
2982         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2983         field.
2984
2985 2003-09-25  Michael Koch  <konqueror@gmx.de>
2986
2987         * gnu/java/nio/SelectorImpl.java
2988         (implSelect): Renamed from java_do_select.
2989         (select): Call native implSelect() and add support for Thread
2990         interruption.
2991         * gnu/java/nio/natSelectorImpl.cc
2992         (implSelect): Renamed from java_do_select.
2993
2994 2003-09-25  Michael Koch  <konqueror@gmx.de>
2995
2996         * gnu/java/nio/SelectorImpl.java
2997         (selectNow): Made final, throws IOException.
2998         (select): Likewise.
2999         (getFDsAsArray): Made final.
3000         (selectedKeys): Likewise.
3001         (wakeup): Likewise.
3002         (deregisterCancelledKeys): Likewise.
3003         (register): Likewise.
3004         (ass): Removed.
3005         (add_selected): Removed.
3006         * gnu/java/nio/natSelectorImpl.cc:
3007         No need to include bstring.h or gcj/cni.h.
3008         (helper_put_filedescriptors): Rewritten.
3009         (helper_get_filedescriptors): Rewritten.
3010
3011 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3012
3013         * java/awt/font/FontRenderContext.java (getTransform): Return
3014         copy of internal transform object. Add Javadoc.
3015         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3016         winding rule as Sun J2SE.
3017         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3018
3019 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3020
3021         * java/rmi/Naming.java:
3022         Added comments, now accepts pseudo protocol "rmi".
3023
3024 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3025
3026         * java/text/DecimalFormat.java (format): Don't immediatly round
3027         baseNumber to long.
3028         (setMinimumIntegerDigits): Call super.
3029         (setMinimumFractionDigits): Likewise.
3030         (setMaximumIntegerDigits): Likewise.
3031         (setMaximumFractionDigits): Likewise.
3032
3033 2003-09-25  Michael Koch  <konqueror@gmx.de>
3034
3035         * gnu/java/nio/DatagramChannelImpl.java
3036         (DatagramChannelImpl): Made class final.
3037         (blocking): Made private.
3038         (socket): Made it a NIODatagramSocket and private.
3039         (DatagramChannelImpl): create NIODatagramSocket instead of
3040         DatagramSocket.
3041         (implConfigureBlocking): Set socket timeout.
3042         (connect): Check that channel is not closed.
3043         (write): Implemented.
3044         (write): Rewritten.
3045         (read): Implemented.
3046         (read): Rewritten.
3047         (receive): Implemented.
3048         (send): Implemented.
3049         * gnu/java/nio/SelectionKeyImpl.java
3050         (readyOps): Made private.
3051         (interestOps): Made private.
3052         (impl): Made private.
3053         (ch): Made private.
3054         (readyOps): Check if selection key is valid.
3055         (interestOps): Likewise.
3056         * gnu/java/nio/SelectorImpl.java
3057         (closed): Removed.
3058         (keys): Made private.
3059         (selected): Made private.
3060         (finalize): New method.
3061         (implCloseSelector): Rewritten.
3062         (keys): Return unmodifiable Set.
3063         (deregisterCancelledKeys): Fixed typo in method name.
3064         * gnu/java/nio/SocketChannelImpl.java
3065         (SocketChannelImpl): Made class final.
3066         (socket): Made it a NIOSocket and private.
3067         (blocking): Made private.
3068         (connected): Made private.
3069         (connectionPending): New member variable.
3070         (SocketChannelImpl): New implementation.
3071         (finalizer): Use isConnected().
3072         (connect): Rewritten.
3073         (finishConnect): Throws IOException, implemented.
3074         (isConnectionPending): Return connectionPending.
3075         (read): Rewritten.
3076         (write): Rewritten.
3077         * gnu/java/nio/NIOConstants.java: New file.
3078         * Makefile.am (ordinary_java_source_files):
3079         Added gnu/java/nio/NIOConstants.java.
3080         * Makefile.in: Regenerated.
3081
3082 2003-09-25  Michael Koch  <konqueror@gmx.de>
3083
3084         * java/net/InetAddress.java:
3085         Reorder imports, remove implementation comment.
3086         (isMulticastAddress): Merged documentation from classpath.
3087         * java/net/URLConnection.java
3088         (setRequestProperty): Check key for null, fix documentation.
3089         (adREquestProperty): Check key for null, remove wrong implementation
3090         and replace it with comment to overwrite this method in subclasses,
3091         fix documentation.
3092
3093 2003-09-25  Tom Tromey  <tromey@redhat.com>
3094
3095         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3096         domain code.
3097         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3098         argument.
3099         (linkClass0): Now in VMClassLoader.
3100         (markClassErrorState0): Likewise.
3101         (getSystemClassLoaderInternal): New method.
3102         * java/lang/natClass.cc (initializeClass): Use
3103         VMClassLoader::resolveClass.
3104         * java/lang/ClassLoader.java: New version, from Classpath.
3105         * java/lang/Class.java (getProtectionDomain):
3106         protectionDomainPermission and unknownProtectionDomain now in
3107         VMClassLoader.
3108         * java/lang/Class.h: VMClassLoader now a friend class.
3109         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3110         package-private.
3111         * gcj/javaprims.h: Regenerated class list.
3112         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3113         * java/lang/VMClassLoader.java: New version from Classpath;
3114         modified for libgcj use.
3115
3116 2003-09-25  Michael Koch  <konqueror@gmx.de>
3117
3118         * java/nio/ByteBufferHelper.java:
3119         New file.
3120         * java/nio/ByteBufferImpl.java,
3121         java/nio/DirectByteBufferImpl.java,
3122         java/nio/MappedByteBufferImpl.java
3123         (getType,putType): Use new helper class ByteBufferHelper.
3124         * Makefile.am (ordinary_java_source_files):
3125         Added java/nio/ByteBufferHelper.java.
3126         * Makefile.in: Regenerated.
3127
3128 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3129
3130         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3131         PR libgcj/12388.
3132
3133 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3134
3135         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3136         Strings, even if buffer is already shared.
3137
3138 2003-09-24  Michael Koch  <konqueror@gmx.de>
3139
3140         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3141
3142 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3143
3144         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3145         (write): Likewise.
3146         (SocketInputStream): Declare `read' and `write' methods native.
3147         Remove implementations which called back into PlainSocketImpl.
3148         Remove unneccessary overridden methods.
3149         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3150         to inner class PlainSocketImpl.SocketInputStream.
3151         (write): Likewise.
3152         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3153         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3154         * gnu/java/net/SocketInputStream.java: Remove unused file.
3155         * gnu/java/net/SocketOutputStream.java: Likewise.
3156         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3157         and SocketOutputStream.
3158         * Makefile.in: Rebuilt.
3159
3160 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3161
3162         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3163
3164         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3165         markers.
3166
3167 2003-09-22  Anthony Green  <green@redhat.com>
3168
3169         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3170         * configure: Rebuilt.
3171
3172 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3173
3174         PR java/12350:
3175         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3176
3177 2003-09-22  Michael Koch  <konqueror@gmx.de>
3178
3179         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3180         compiler warning but produces a different one now.
3181
3182 2003-09-22  Michael Koch  <konqueror@gmx.de>
3183
3184         * java/net/InetAddress.java:
3185         Moves around some code, reformats and adds documentation.
3186         No functional changes.
3187
3188 2003-09-22  Michael Koch  <konqueror@gmx.de>
3189
3190         * java/net/JarURLConnection.java
3191         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3192         (getCertificates): Made it more error prone.
3193         (getMainAttributes): Likewise.
3194         (getAttributes): Implemented.
3195         (getManifest): Reformatted code.
3196
3197 2003-09-20  Tom Tromey  <tromey@redhat.com>
3198
3199         * java/awt/Component.java: Indentation cleanup from Classpath.
3200
3201 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3202
3203        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3204        checking to follow 1.4.2 spec.
3205
3206 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3207
3208         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3209         is compatible in case client and server are running in the same VM
3210         (remerged from Classpath on 2003-09-20)
3211
3212 2003-09-19  David Daney <ddaney@avtrex.com>
3213
3214         * java/lang/ref/Reference.java (clear): Set referent to null and
3215         synchronize.
3216
3217 2003-09-19  Michael Koch  <konqueror@gmx.de>
3218
3219         * gnu/java/nio/NIODatagramSocket.java,
3220         gnu/java/nio/NIOSocket.java: New files.
3221         * Makefile.am (ordinary_java_source_files):
3222         Added gnu/java/nio/NIODatagramSocket.java and
3223         gnu/java/nio/NIOSocket.java.
3224         * Makefile.in: Regenerated.
3225
3226 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3227
3228         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3229         top-level GTK window.
3230         (getArgs): Add "title" property.
3231         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3232         "allow_shrink" and "allow_grow" properties.
3233         * java/awt/Dialog.java: Initialize resizable to true and change
3234         comments accordingly.  Initialize visible to false in
3235         constructors.
3236         * java/awt/Frame.java (dispose): Remove method.
3237         * java/awt/Window.java (ownedWindows): New field.
3238         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3239         owner's ownedWindows vector.
3240         (finalize): Remove method.
3241         (hide): Hide owned windows.
3242         (dispose): Dispose of owned windows.
3243         (getOwnedWindows): Implement.
3244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3245         unused GtkArg code.
3246         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3247         to TRUE or FALSE.
3248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3249         (create): Set window's size requisition.
3250         (connectHooks): Fix indentation.
3251         (setResizable): Remove function.
3252         (static setBounds): Likewise.
3253         (setBounds): Replace call to setBounds with GTK size requisition
3254         and resize calls.
3255
3256 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3257
3258         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3259         function for lazy initialization of an auto-reset event.
3260         (_Jv_CondWait) Added thread interrupt support.
3261         (_Jv_ThreadInitData) Added initialization of interrupt support
3262         members.
3263         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3264         (_Jv_ThreadStart) Removed unused code.
3265         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3266         to an external caller.
3267         (_Jv_ThreadInterrupt) Implemented.
3268         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3269         event for interrupt support as well as a mutex which regulates
3270         access to this.
3271         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3272         event to an external caller.
3273         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3274         process.
3275         (waitFor) Added interrupt support.
3276
3277 2003-09-19  Michael Koch  <konqueror@gmx.de>
3278
3279         * java/net/DatagramSocket.java (getLocalAddress):
3280         Renamed result variable to localAddr.
3281         * java/net/MulticastSocket.java:
3282         No need to import gnu.java.net.PlainDatagramSocketImpl.
3283
3284 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3285
3286         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3287         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3288
3289 2003-09-18  Tom Tromey  <tromey@redhat.com>
3290
3291         * javax/naming/InitialContext.java: Reindented.
3292
3293 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3294             Helmer Kraemer <hkraemer@freenet.de>
3295
3296         * javax/naming/spi/NamingManager.java (getURLContext,
3297         getObjectInstance, getStateToBind): Always use current thread's
3298         context class loader when calling Class.forName.
3299
3300 2003-09-18  Michael Koch  <konqueror@gmx.de>
3301
3302         * java/util/Timer.java (finalize): Added "throws Throwable".
3303
3304 2003-09-18  Michael Koch  <konqueror@gmx.de>
3305
3306         * java/net/DatagramSocket.java
3307         (ch): Removed.
3308         (receive): Use getChannel() instead of ch.
3309         (send): Likewise.
3310         (getChannel): Return null.
3311         * java/net/ServerSocket.java
3312         (ch): Removed.
3313         (setChannel): Removed.
3314         (implAccept): Use getChannel() instead of ch.
3315         (close): Likewise.
3316         (getChannel): Return null.
3317         * java/net/Socket.java
3318         (ch): Removed.
3319         (connect): Use getChannel() instead of ch.
3320         (setChannel): Removed.
3321         (getChannel): Return null.
3322
3323 2003-09-18  Mark Wielaard  <mark@klomp.org>
3324
3325         Reported by Guilhem Lavaux and Julian Dolby
3326         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3327         field "serialPersistentFields", not "getSerialPersistentFields".
3328
3329 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3330
3331         * java/util/TimeZone.java: Initialize lazily.
3332         * java/util/Locale.java (readManifest): Fix check for country.
3333         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3334         traceable 
3335         * java/util/Calendar.java: Make use of ResourceBundle better
3336         traceable.
3337
3338 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3339
3340         * java/sql/Timestamp.java
3341         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3342
3343 2003-09-18  David P Grove  <groved@us.ibm.com>
3344
3345         * java/io/LineNumberReader (read): Don't reset pos & limit when
3346         markPos is 0.
3347
3348 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3349
3350         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3351         constant.
3352         (computeArguments): use computeTypicalArguments.
3353
3354         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3355         Compile_jikes.java and RMICException.java.
3356         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3357         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3358         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3359  
3360         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3361  
3362         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3363         (computeTypicalArguments): New method.
3364         (compile): Print compiler output to System.out. Collect compiler
3365         error output and use it in exception message.
3366  
3367         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3368         (destination): Initialize to null.
3369         (run): Replace file separator with '.' when processing class.
3370         (processClass): Replace '.' with file separator when compiling
3371         classes.
3372         (findClass): Use SystemClassLoader to load class.
3373         (generateStub): Use full class name for generated stub, that puts
3374         it in right path.  Replace '.' with file separator when generating
3375         stub file name. Write just the stub class name without package
3376         information as class name, and constructor name. Write only
3377         interface names for interfaces extending java.rmi.Remote as
3378         implemented.
3379         (generateSkel): Use full class name for generated skel, that puts
3380         it in right path.  Replace '.' with file separator when generating
3381         stub file name. Write just the stub class name without package
3382         information as class name.
3383
3384 2003-09-18  Michael Koch  <konqueror@gmx.de>
3385
3386         * Makefile.am (rmi_java_source_files):
3387         Added gnu/java/rmi/rmic/Compile_kjc.java,
3388         gnu/java/rmi/rmic/Compile_jikes.java and
3389         gnu/java/rmi/rmic/RMICException.java
3390         * Makefile.in: Regenerated.
3391
3392 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3393
3394         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3395         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3396         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3397         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3398         New files.
3399
3400 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3401
3402         * java/awt/BufferedImage.java (setData): Support non-component
3403         sample models.
3404         (getData): Same.
3405
3406 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3407
3408         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3409         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3410
3411 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3412
3413         * configure.in: Standardized help text case of
3414         --enable-hash-synchronization
3415         New configure switch --enable-libgcj-multifile and corresponding
3416         automake conditional ONESTEP.
3417         * configure: Rebuilt.
3418         * Makefile.am: Use automake conditional ONESTEP to determine
3419         whether classfiles should be compiled individually or all
3420         at once.
3421         * Makefile.in: Rebuilt.
3422
3423 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3424
3425         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3426         Remove method declaration.
3427         (create()): Call native create.
3428         (create(int)): New method.
3429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3430         (create): Add window_id parameter.  Call gtk_plug_new with
3431         window_id parameter.
3432         (construct): Remove method implementation.
3433
3434 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3435
3436         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3437         (mostlyclean-local): New target patterned after clean-local
3438         which recursively deletes all libtool objects using 'libtool rm'.
3439         (clean-local): Slightly modified comment to alleviate monotony.
3440         (distclean-local): New target patterned after clean-local
3441         which recursively deletes all .d files.
3442         * Makefile.in: Rebuilt.
3443
3444 2003-09-11  Tom Tromey  <tromey@redhat.com>
3445
3446         * java/net/URLStreamHandler.java (parseURL): If original file
3447         ends with "/", so must canonical result.
3448         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3449         with nul-termination and finding previous "/".
3450
3451 2003-09-11  Michael Koch  <konqueror@gmx.de>
3452
3453         * acconfig.h: Removed most items.
3454         * configure.in: Added descriptions to AC_DEFINE macros that where in
3455         acconfig.h before.
3456         * include/config.h.in: Regenerated.
3457
3458 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3459
3460         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3461         if one is installed. Improve Javadoc.
3462         (getSystemEventQueueImpl): Improve Javadoc.
3463
3464 2003-09-11  Tom Tromey  <tromey@redhat.com>
3465
3466         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3467         file does not exist.
3468
3469 2003-09-10  Anthony Green  <green@redhat.com>
3470
3471         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3472         Specify full name when referencing ::java::net::InetAddress.
3473         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3474         Fix argument type.
3475
3476 2003-09-10  Michael Koch  <konqueror@gmx.de>
3477
3478         * acconfig.h (__NO_MATH_INLINES): Removed.
3479         * configure.in: Removed check for g++ math inlining bug from 2000.
3480         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3481         libgcj_cxxflags.
3482         * configure: Regenerated.
3483
3484 2003-09-10  David Daney <ddaney@avtrex.com>
3485
3486         * java/util/Arrays.java (equals(all variants)): Quit using
3487         NullPointerException catching to detect null valued parameters.
3488
3489 2003-09-10  Michael Koch  <konqueror@gmx.de>
3490
3491         * java/net/DatagramSocket.java,
3492         java/net/MulticastSocket.java,
3493         java/net/ServerSocket.java,
3494         java/net/Socket.java:
3495         Use gnu.java.net.Plain*SocketImpl instead of
3496         java.net.PlainSocketImpl.
3497         * java/net/PlainDatagramSocketImpl.java,
3498         java/net/PlainSocketImpl.java,
3499         java/net/SocketInputStream.java,
3500         java/net/SocketOutputStream.java,
3501         java/net/natPlainDatagramSocketImplNoNet.cc,
3502         java/net/natPlainDatagramSocketImplPosix.cc,
3503         java/net/natPlainDatagramSocketImplWin32.cc,
3504         java/net/natPlainSocketImplNoNet.cc,
3505         java/net/natPlainSocketImplPosix.cc,
3506         java/net/natPlainSocketImplWin32.cc:
3507         Removed.
3508         * gnu/java/net/PlainDatagramSocketImpl.java,
3509         gnu/java/net/PlainSocketImpl.java,
3510         gnu/java/net/SocketInputStream.java,
3511         gnu/java/net/SocketOutputStream.java,
3512         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3513         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3514         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3515         gnu/java/net/natPlainSocketImplNoNet.cc,
3516         gnu/java/net/natPlainSocketImplPosix.cc,
3517         gnu/java/net/natPlainSocketImplWin32.cc:
3518         New files (moved from java/net).
3519         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3520         instead of java/net/natPlain*SocketImpl.cc.
3521         * configure: Regenerated.
3522         * Makefile.am: Moved files from java/net to gnu/java/net.
3523         * Makefile.in: Regenerated.
3524
3525 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3526
3527         * configure: Regenerate.
3528
3529 2003-09-04  Tom Tromey  <tromey@redhat.com>
3530
3531         * configure.host: Removed erroneous comment.
3532
3533         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3534         lvalue cast; use correct rvalue cast.
3535
3536 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3537
3538         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3539         and height arguments to GtkWindowPeer.create method call.
3540         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3541         (create(int,int,int)): New method.
3542         (create(int)): Add call to new create method.
3543         (create()): Add width and height arguments to create method
3544         call.
3545         (GtkWindowPeer): Remove call to setBounds.
3546         * java/awt/Frame.java (Frame(String)): Initialize visible field
3547         to false.
3548         (Frame(GraphicsConfiguration)): Likewise.
3549         (Frame(String,GraphicsConfiguration)): Likewise.
3550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3551         Add width and height parameters.  Call
3552         gtk_window_set_default_size.
3553         (connectHooks): Remove unused name variable.
3554         (static setBounds): Call gtk_window_resize not
3555         gtk_widget_set_usize.
3556         (setBounds): Remove unused nchildren variable.
3557
3558 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3559
3560         * java/util/logging/Logger.java: provide class and method information
3561         * java/util/logging/LogManager.java: create handlers
3562         * java/util/logging/SimpleFormatter.java: print souceClassName and
3563         sourceMethodName
3564
3565 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3566
3567         * win32.cc: fixed tab, indentation and whitespace
3568         inconsistencies
3569         removed jvm.h include
3570         added includes java/lang/UnsupportedOperationException.h,
3571         java/io/IOException.h, java/net/SocketException.h
3572         (WSAEventWrapper): class implementation
3573         (_Jv_WinStrError): implemented both overloads
3574         (_Jv_ThrowIOException): implemented both overloads
3575         (_Jv_ThrowSocketException): implemented both overloads
3576         (_Jv_select): implemented
3577         * include/win32.h: fixed tab, indentation and whitespace
3578         inconsistencies
3579         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3580         added jvm.h include
3581         (WSAEventWrapper): added class declaration
3582         (_Jv_WinStrError): added both overload declarations
3583         (_Jv_ThrowIOException): added both overload declarations
3584         (_Jv_ThrowSocketException): added both overload declarations
3585         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3586         (_Jv_select): added declaration
3587         (_Jv_socket): removed
3588         (_Jv_connect): removed
3589         (_Jv_close): removed
3590         (_Jv_bind): removed
3591         (_Jv_accept): removed
3592         (_Jv_listen): removed
3593         (_Jv_write): removed
3594         (_Jv_read): removed
3595         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3596         whitespace inconsistencies
3597         replaced <windows.h> #include with <platform.h>
3598         removed jvm.h include
3599         (testCanUseGetHandleInfo): new function which tests whether Win32
3600         GetHandleInformation() call can be used with console buffer handles
3601         (only supported on >=WinNT 5.0)
3602         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3603         (valid): rewrote implementation using GetHandleInformation()
3604         (sync):         changed exception throwing to use error string and exception
3605         helper methods declared in include/win32.h
3606         (open): likewise
3607         (write): likewise
3608         (setLength): likewise
3609         (close): likewise
3610         (seek): likewise
3611         (getFilePointer): likewise
3612         (read): likewise
3613         * java/io/natFileWin32.cc: fixed tab, indentation and
3614         whitespace inconsistencies
3615         replaced <windows.h> #include with <platform.h>
3616         removed jvm.h include
3617         (_access): use JV_TEMP_UTF_STRING
3618         (_stat): likewise
3619         (performMkDir): use JV_TEMP_UTF_STRING
3620         (performRenameTo): likewise
3621         (performDelete): likewise
3622         (performCreate): likewise
3623         (performSetReadOnly): likewise
3624         (performSetLastModified): likewise
3625         * java/lang/natWin32Process.cc: fixed tab, indentation and
3626         whitespace inconsistencies
3627         replaced <windows.h> #include with <platform.h>
3628         removed includes gcj/cni.h, jvm.h
3629         (new_string): removed
3630         (startProcess): use JV_TEMP_UTF_STRING,
3631         changed exception throwing to use error string and exception
3632         helper methods declared in include/win32.h
3633         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3634         whitespace inconsistencies
3635         replaced <windows.h> #include with <platform.h>
3636         removed jvm.h include
3637         removed DISABLE_JAVA_NET conditional code
3638         removed POSIX conditional code not relevant to Win32
3639         (aton): use JV_TEMP_UTF_STRING
3640         removed POSIX conditional code not relevant to Win32
3641         (lookup): likewise
3642         (getLocalHostName): likewise
3643         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3644         whitespace inconsistencies
3645         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3646         removed DISABLE_JAVA_NET conditional code
3647         removed POSIX conditional code not relevant to Win32
3648         (winsock2GetRealNetworkInterfaces): new function to compute network
3649         interfaces via Winsock2 API
3650         (determineGetRealNetworkInterfacesFN): new function for returning
3651         a function pointer to the function used to compute network interfaces.
3652         (getRealNetworkInterfaces): implemented
3653         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3654         whitespace inconsistencies
3655         removed gcj/cni.h include
3656         removed DISABLE_JAVA_NET conditional code
3657         removed POSIX conditional code not relevant to Win32
3658         changed net POSIXisms to Win32isms
3659         replaced _Jv socket-related calls with their real Win32 equivalents
3660         changed exception throwing to use error string and exception
3661         helper methods declared in include/win32.h
3662         (peekData): implemented timeout support
3663         (receive): likewise
3664         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3665         whitespace inconsistencies
3666         removed gcj/cni.h and gcj/javaprims.h includes
3667         removed DISABLE_JAVA_NET conditional code
3668         removed POSIX conditional code not relevant to Win32
3669         changed net POSIXisms to Win32isms
3670         replaced _Jv socket-related calls with their real Win32
3671         equivalents
3672         changed exception throwing to use error string and exception
3673         helper methods declared in include/win32.h
3674         (throwConnectException): helper function for connect()
3675         (connect): implemented timeout support
3676         (accept): likewise
3677         (doRead): new helper function common to both read() method overloads,
3678         includes timeout support
3679         (read): implemented both overloads in terms of doRead()
3680         (available): implemented using ioctlsocket()
3681
3682 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3683
3684         * java/net/natInetAddressWin32.cc,
3685         java/net/natNetworkInterfaceWin32.cc,
3686         java/net/natPlainDatagramSocketImplWin32.cc,
3687         java/net/natPlainSocketImplWin32.cc:
3688         Readded code enclosed in DISABLE_JAVA_NET defines
3689         in preparation for MinGW cleanup / networking
3690         patch
3691
3692 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3693
3694         * Makefile.am: Fixed problems with parallel makes.
3695         (all_java_class_files): Readded definition.
3696         (all_java_class_files): New target which depends on
3697         libgcj-@gcc_version@.jar
3698         * Makefile.in: Rebuilt
3699
3700 2003-08-28  Tom Tromey  <tromey@redhat.com>
3701
3702         * Makefile.in: Rebuilt.
3703         * Makefile.am (ordinary_java_source_files): Added new files.
3704         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3705         friend.
3706         * java/net/URLClassLoader.java (findClass): Don't use
3707         findURLResource.  Use loader's getClass method.
3708         (URLLoader.getClass): New method.
3709         (addURL): Handle `gcjlib' URLs.
3710         (SoURLLoader): New class.
3711         (SoResource): Likewise.
3712         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3713         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3714         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3715         (_Jv_RegisterCoreHook): Declare.
3716         (_Jv_FindCore): Declare.
3717         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3718         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3719         typedef.
3720         (core_hook): New function.
3721         (struct SharedLibDummy) [saved_core]: New field.
3722         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3723         (register_hook): Set protection domain and class loader on new
3724         class.
3725         (finalize): Free core chain.
3726         * gnu/gcj/Core.java (Core): New constructor.
3727         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3728         SharedLibHelper.
3729         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3730         (_Jv_create_core): New function.
3731         (create): Use it.
3732         (default_register_resource): New function.
3733         (_Jv_RegisterCoreHook): New global.
3734         (_Jv_RegisterResource): Use it.
3735         (core_chain_struct): Removed.
3736         (_Jv_FindCore): New function.
3737         (_Jv_FreeCoreChain): New function.
3738
3739 2003-08-29  Michael Koch  <konqueror@gmx.de>
3740
3741         * java/net/natInetAddressWin32.cc,
3742         java/net/natNetworkInterfaceWin32.cc,
3743         java/net/natPlainDatagramSocketImplWin32.cc,
3744         java/net/natPlainSocketImplWin32.cc:
3745         Removed code enclosed in DISABLE_JAVA_NET defines.
3746
3747 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3748
3749         * Makefile.am: (write_entries_to_file) New parameterized
3750         function for writing entries to a file one line at a time.
3751         (all_java_class_files): Removed definition.
3752         (.java.class) Removed.target.
3753         (libgcj-@gcc_version@.jar): Changed dependency to
3754         $(all_java_source_files); added compilation step which compiles
3755         all changed source files in one pass.
3756         (libgcj.la) Refactored to use write_entries_to_file.
3757         (lib-gnu-awt-xlib.la) Likewise.
3758         (install-data-local) Likewise.
3759         (write-entries-to-file-check) New target which tests write_entries_to_file.
3760         (all-recursive): Changed dependency from $(all_java_class_files)
3761         to libgcj-@gcc_version@.jar
3762         * Makefile.in: Rebuilt.
3763
3764 2003-08-26  Tom Tromey  <tromey@redhat.com>
3765
3766         * java/lang/StrictMath.java: Typo fix.
3767         * java/lang/Math.java: Typo fix.
3768
3769 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3770
3771         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3772         of the removed Thread.
3773
3774 2003-08-26  Mark Wielaard  <mark@klomp.org>
3775
3776         Reported by David Holmes <dholmes@dltech.com.au>.
3777         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3778         Collections.synchronizedMap.
3779         * java/lang/ThreadLocal.java (valueMap): Likewise.
3780
3781 2003-08-26  Mark Wielaard  <mark@klomp.org>
3782
3783         * java/security/acl/Acl.java: Fix broken p tag.
3784         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3785         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3786         * javax/swing/plaf/TreeUI.java: Likewise.
3787         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3788         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3789         documentation.
3790         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3791         tag.
3792
3793 2003-08-26  Tom Tromey  <tromey@redhat.com>
3794
3795         * Makefile.in: Rebuilt.
3796         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3797
3798         * java/lang/ref/Reference.java (get): Indentation fix.
3799         (clear): Comment fix.
3800         (enqueue): Likewise.
3801         (lock): Likewise.
3802         (referent): Likewise.
3803
3804 2003-08-26  Tom Tromey  <tromey@redhat.com>
3805
3806         PR java/12058:
3807         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3808
3809         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3810         (ProxyData.getPackage): New method.
3811         (ProxyData.getProxyData): Use package name, not Package.
3812         (ClassFactory.ClassFactory): Updated.
3813
3814 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3815         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3816         * Makefile.in: re-generated.
3817         * gnu/awt/j2d/IntegerGraphicsState.java
3818         (ScreenCoupledImage): new interface.
3819         (drawImage): detect ScreenCoupledImage instances.
3820         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3821         * gnu/awt/xlib/XEventLoop.java
3822         (createEvent): re-formatted, and rearranged to avoid null pointer.
3823         * gnu/awt/xlib/XGraphics.java
3824         (drawImage): added XOffScreenImage handling.
3825         * gnu/awt/xlib/XOffScreenImage.java: new file.
3826         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3827         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3828         * gnu/gcj/xlib/XAnyEvent.java
3829         (TYPE_KEY_PRESS): new constant.
3830         (TYPE_KEY_RELEASE): new constant.
3831         (TYPE_MOTION_NOTIFY): new constant.
3832         (TYPE_ENTER_NOTIFY): new constant.
3833         (TYPE_LEAVE_NOTIFY): new constant.
3834         (TYPE_FOCUS_IN): new constant.
3835         (TYPE_FOCUS_OUT): new constant.
3836         (TYPE_KEYMAP_NOTIFY): new constant.
3837         (TYPE_GRAPHICS_EXPOSE): new constant.
3838         (TYPE_NO_EXPOSE): new constant.
3839         (TYPE_VISIBILITY_NOTIFY): new constant.
3840         (TYPE_CREATE_NOTIFY): new constant.
3841         (TYPE_DESTROY_NOTIFY): new constant.
3842         (TYPE_MAP_REQUEST): new constant.
3843         (TYPE_CONFIGURE_REQUEST): new constant.
3844         (TYPE_GRAVITY_NOTIFY): new constant.
3845         (TYPE_RESIZE_REQUEST): new constant.
3846         (TYPE_CIRCULATE_NOTIFY): new constant.
3847         (TYPE_CIRCULATE_REQUEST): new constant.
3848         (TYPE_PROPERTY_NOTIFY): new constant.
3849         (TYPE_SELECTION_CLEAR): new constant.
3850         (TYPE_SELECTION_REQUEST): new constant.
3851         (TYPE_SELECTION_NOTIFY): new constant.
3852         (TYPE_COLORMAP_NOTIFY): new constant.
3853         (TYPE_MAPPING_NOTIFY): new constant.
3854         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3855         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3856         * java/awt/Component.java (createImage): changed to use peer method.
3857
3858 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3859
3860         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3861         name, not XLFD, to native drawString.
3862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3863         Replace XLFD-based implementation with Pango-based
3864         implementation.
3865
3866 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3867
3868         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3869         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3870
3871 2003-08-21  David Daney  <ddaney@avtrex.com>
3872
3873         Fix for PR libgcj/12013:
3874         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3875         Check `cleared' field.
3876         * java/lang/ref/Reference.java (copy): Updated comments.
3877         (cleared): New field.
3878         (clear): Rewrote.
3879
3880 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3881             Thomas Fitzsimmons  <fitzsim@redhat.com>
3882
3883         * Makefile.am (gtk_awt_peer_sources): Add
3884         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3885         gnu/java/awt/GLightweightPeer.java.
3886         * gnu/java/awt/GLightweightPeer.java: Remove file.
3887         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3888         * java/awt/Component.java (getToolkit): Add comment about
3889         lightweight components.
3890         * java/awt/Toolkit.java (createComponent): Return
3891         gnu.java.awt.peer.GLightweightPeer.
3892
3893 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3894
3895         * configure.in: Fix detection of gcj when building with newlib.
3896         * configure: Regenerated.
3897
3898 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3899
3900         * jni.cc: Replace "cheating" pointer-casting code with
3901         extract_from_jvalue<> template.
3902
3903 2003-08-20  Andrew Haley  <aph@redhat.com>
3904
3905         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3906         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3907         (classAt): Break out class lookup function into getClass().
3908         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3909         handlers when using -fno-assume-compiled.
3910
3911 2003-08-20  Tom Tromey  <tromey@redhat.com>
3912
3913         Fix for PR libgcj/9125:
3914         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3915         object outside of loop.  Respect lib_control setting.
3916         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3917         field.
3918         (lib_control): New field.
3919         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3920         (VMClassLoader): Initialize new field.
3921
3922         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3923         Set `list->reference' to DELETED_REFERENCE when removing dead
3924         object.
3925         (find_slot): Added an assert.
3926         (DELETED_REFERENCE): New define.
3927         (add_to_hash): Check for DELETED_REFERENCE.
3928         (remove_from_hash): Just return if found slot isn't ours.
3929
3930 2003-08-19  Andrew Haley  <aph@redhat.com>
3931
3932         * prims.cc (unblock_signal): New function.
3933         (catch_segv): Use it.
3934         (catch_fpe): Likewise.
3935
3936 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3937
3938         PR libgcj/11575
3939         * java/io/natFileDescriptorWin32.cc (open): Set create
3940         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3941         Honor EXCL when openning with WRITE flag. 
3942
3943 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3944
3945         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3946         getting a temporary C string from a jstring)
3947         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3948         but uses a stack buffer if the string length is less than 256
3949         bytes.
3950
3951 2003-08-18  Tom Tromey  <tromey@redhat.com>
3952
3953         PR libgcj/11951:
3954         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3955         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3956         value.  Added is_jni_call argument; only wrap exception if not a
3957         JNI call.  Use descriptive message if operation not supported.
3958         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3959         array class.
3960         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3961         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3962         _Jv_CallAnyMethodA.
3963         (_Jv_JNI_CallAnyMethodA): Likewise.
3964         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3965         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3966
3967 2003-08-13  Tom Tromey  <tromey@redhat.com>
3968
3969         * gij.cc (help): Document -? and -X.
3970
3971 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3972
3973         * java/awt/Font.java: 
3974         Stub out more recent API. 
3975
3976 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3977
3978         * java/awt/Color.java (getAlpha): 
3979         Prevent sign-extended alpha values.
3980
3981 2003-08-12  Tom Tromey  <tromey@redhat.com>
3982
3983         * gij.cc (main): Handle -? and -X.
3984
3985 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3986
3987         * java/awt/Container.java
3988         (getPreferredSize): Call preferredSize.
3989         (preferredSize): Moved body of getPreferredSize here.
3990         (getMinimumSize): Call minimumSize.
3991         (minimumSize): Moved body of getMinimumSize here.
3992
3993 2003-08-11  Tom Tromey  <tromey@redhat.com>
3994
3995         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3996         (postEvent): Removed FIXME comment.
3997         (isDispatchThread): Documented.
3998         (getCurrentEvent): New method.
3999         (dispatchEvent): Set currentEvent and lastWhen.
4000         (getMostRecentEventTime): Rewrote.
4001         (invokeLater): Documented.
4002
4003 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4004
4005         * java/io/PrintStream.java (print): Always flush if auto_flush is
4006         set. Don't check for newline characters.
4007         (write (int)): Implement without using a temporary array.
4008         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4009         check for newline characters.
4010         Fixes PR libgcj/11778.
4011
4012 2003-08-08  Andrew Haley  <aph@redhat.com>
4013
4014         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4015         * Makefile.in: Rebuild.
4016         * java/lang/natRuntime.cc (insertSystemProperties): Add
4017         "sun.boot.class.path".
4018
4019 2003-08-07  Andrew Haley  <aph@redhat.com>
4020
4021         * java/io/PrintStream.java: Don't crash on a null string.
4022         
4023 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4024
4025         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4026         * configure: Regenerate.
4027
4028 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4029
4030         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4031         SocketImpl. Update Javadoc.
4032         (bind): Call close() not impl.close() in event of exception.
4033         (connect): Likewise.
4034         Remove superfluous null checks throughout.
4035         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4036         Don't create an extra socket. Fix for PR libgcj/10868.
4037         (bind): Clean up exception handling.
4038         Remove superfluous null checks throughout.
4039
4040 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4041             Bryce McKinlay  <bryce@mckinlay.net.nz>
4042
4043         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4044         ready-to-write argument to _Jv_Select. Reset the socket back to 
4045         non-blocking state after connecting.
4046         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4047         Throw SocketTimeoutException not InterruptedIOException.
4048         (read): Throw SocketTimeoutException not InterruptedIOException.
4049
4050 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4051
4052         * java/lang/Thread.java (Thread): Check for null "name" from
4053         start of private constructor, not after calling the private
4054         constructor.
4055
4056 2003-08-06  Tom Tromey  <tromey@redhat.com>
4057
4058         * java/io/FilePermission.java (equals): Use correct index for
4059         last character of path.
4060
4061 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4062
4063         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4064         * configure.in: Compare with_cross_host to build_alias, not build.
4065         * aclocal.m4: Regenerate.
4066         * configure: Regenerate.
4067
4068 2003-08-05  Tom Tromey  <tromey@redhat.com>
4069
4070         Fix for PR libgcj/11779:
4071         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4072         class.
4073
4074         * java/lang/reflect/Method.java: Updated status comment.
4075         Imported javadoc from Classpath and re-ordered methods.
4076         * java/lang/reflect/Constructor.java: Reindented.  Updated
4077         status comment.  Imported javadoc from Classpath and re-ordered
4078         methods.
4079
4080 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4081
4082         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4083         Add keyLocation parameter.
4084         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4085         string.
4086         (paramString): Generate keyChar string according to keyChar, not
4087         keyCode.
4088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4089         (state_to_awt_mods): Handle ALT key.
4090         (keyevent_state_to_awt_mods): New function.
4091         (get_first_keyval_from_keymap): New function.
4092         (keysym_to_awt_keycode): Get virtual key code from keymap.
4093         Handle missing VK_ values.
4094         (keysym_to_awt_keylocation): New function.
4095         (keyevent_to_awt_keychar): New function.
4096         (generates_key_typed_event): Handle non-text-component case.
4097         Handle GDK_KP_Delete and GDK_KP_Enter.
4098         (awt_event_handler): Call new functions to get postKeyEvent
4099         parameters.
4100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4101         Update postKeyEvent method signature.
4102         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4103         VK_ defines.
4104
4105 2003-08-05  Matthias Klose  <doko@debian.org>
4106
4107         * aclocal.m4: check for libart-config binary
4108           under the name libart2-config as well.
4109         * configure: regenerated.
4110
4111 2003-08-04  David P Grove  <groved@us.ibm.com>
4112
4113         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4114         when groupingSize is 0.
4115         (parse): Likewise.
4116
4117 2003-08-04  Matthias Klose  <doko@debian.org>
4118
4119         * libart.m4: check for libart-config binary
4120           under the name libart2-config as well.
4121         * configure, aclocal.m4: regenerated.
4122
4123 2003-08-02  Michael Koch  <konqueror@gmx.de>
4124
4125         * java/nio/ByteBufferImpl.java
4126         (getChar): Check remaining bytes, fixed comment about endianess.
4127         (putChar): Likewise.
4128         (getShort): Likewise.
4129         (putShort): Likewise.
4130         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4131         endianess.
4132         (putInt): Likewise.
4133         (getLong): Likewise.
4134         (putLong): Likewise.
4135         (getFloat): Likewise.
4136         (putFloat): Likewise.
4137         (getDouble): Likewise.
4138         (putDouble): Likewise.
4139         * java/nio/DirectByteBufferImpl.java
4140         (getChar): Wrapped code, fixed comment about endianess.
4141         (putchar): Likewise.
4142         (getShort): Likewise.
4143         (putShort): Likewise.
4144         (getInt): Fixed conversion, fixed comment about endianess.
4145         (putInt): Likewise.
4146         (getLong): Likewise.
4147         (putLong): Likewise.
4148         (getFloat): Likewise.
4149         (putFloat): Likewise.
4150         (getDouble): Likewise.
4151         (putDouble): Likewise.
4152         * java/nio/MappedByteBufferImpl.java
4153         (compact): Implemented.
4154         (getChar): Implemented.
4155         (putChar): Implemented.
4156         (getDouble): Implemented.
4157         (putdouble): Implemented.
4158         (getFloat): Implemented.
4159         (putFloat): Implemented.
4160         (getInt): Implemented.
4161         (putInt): Implemented.
4162         (getLong): Implemented.
4163         (putLong): Implemented.
4164         (getShort): Implemented.
4165         (putShort): Implemented.
4166         * java/nio/channels/FileChannelImpl.java
4167         (read): Set position where to access file.
4168         (write): Likewise.
4169         (transferTo): Flip buffer after read and before write.
4170         (transferFrom): Likewise.
4171
4172 2003-08-02  Michael Koch  <konqueror@gmx.de>
4173
4174         * gnu/java/lang/ArrayHelper.java
4175         (equalsArray): Reformated, added method documentation.
4176
4177 2003-08-02  Michael Koch  <konqueror@gmx.de>
4178
4179         * java/net/URL.java
4180         (URL): Added paragraph about the
4181         gnu.java.net.nocache_protocol_handlers property.
4182         (ph_cache): Renamed from handlers to match classpath's implementation.
4183         Reordered it with factory and serialVersionUID member variables.
4184         (cache_handlers): New member variable.
4185         (static): New static initializer to initialize cache_handlers from
4186         gnu.java.net.nocache_protocol_handlers property.
4187         (URL): Use ph_cache instead of handlers, reformatted some code to
4188         match classpath's implementation.
4189
4190 2003-08-01  Tom Tromey  <tromey@redhat.com>
4191
4192         Fix for PR libgcj/11241:
4193         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4194         initialCapacity is 0, set it to 1.
4195
4196 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4197
4198         * java/net/SocketImpl.java (toString): Display the remote address
4199         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4200
4201 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4202
4203         * javax/swing/border/BevelBorder.java,
4204         javax/swing/border/EtchedBorder.java,
4205         javax/swing/border/LineBorder.java,
4206         javax/swing/border/MatteBorder.java,
4207         javax/swing/border/SoftBevelBorder.java,
4208         javax/swing/plaf/BorderUIResource.java,
4209         javax/swing/plaf/ComponentUI.java,
4210         javax/swing/plaf/TreeUI.java,
4211         javax/swing/plaf/basic/BasicBorders.java,
4212         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4213         javax/swing/plaf/basic/BasicTreeUI.java:
4214         Prepend "doc-files" to all paths to embedded Javadoc images, so
4215         that the generated documentation contains the correct URL.
4216
4217 2003-08-01  Tom Tromey  <tromey@redhat.com>
4218
4219         * configure: Rebuilt.
4220         * configure.in (tool_include_dir): Redefine to match gcc.
4221
4222 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4223             Mark Wielaard  <mark@klomp.org>
4224             
4225         * java/math/BigDecimal (divide): Correctly handle
4226         ROUND_HALF_EVEN when amount is greater than 0.5.
4227         Simplify and optimize code.
4228
4229 2003-07-31  Tom Tromey  <tromey@redhat.com>
4230
4231         More for PR libgcj/11737:
4232         * java/io/ObjectInputStream.java (processResolution): Use
4233         getMethod.
4234         (getMethod): Make method accessible.
4235         (getField): Make field accessible.
4236         (setBooleanField): Don't call setAccessible here.
4237         (setByteField, setCharField, setDoubleField, setFloatField,
4238         setIntField, setLongField, setShortField, setObjectField):
4239         Likewise.
4240         (callReadMethod): Don't check whether method is null.  Catch
4241         NoSuchMethodException.
4242         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4243         cause on thrown exceptions.
4244
4245 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4246
4247         Fix for PR libgcj/11728:
4248         * java/util/HashMap.java (readObject): Set size.
4249
4250 2003-07-31  Tom Tromey  <tromey@redhat.com>
4251
4252         Fix for PR libgcj/11737:
4253         * java/io/ObjectOutputStream.java (getMethod): Make method
4254         accessible.
4255         (getField): Likewise.
4256         (writeObject): Use getMethod.
4257         Import PrivilegedAction and AccessController.
4258         (callWriteMethod): Don't check whether m is null.  Catch
4259         NoSuchMethodException.
4260
4261         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4262         (containsAngle): Likewise.
4263         (getStartPoint): Rewrote.
4264         (getEndPoint): Likewise.
4265         (setAngleStart(Point2D)): Likewise.
4266
4267 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4268             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4269
4270         * configure.in: Add new THREADCXXFLAGS variable.
4271         Handle POSIX threads on alpha*-dec-osf*.
4272         * configure: Regenerate.
4273         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4274         * Makefile.in: Regenerate.
4275
4276 2003-07-08  Andrew Haley  <aph@redhat.com>
4277
4278         * include/i386-signal.h (RESTORE): New.
4279         (INIT_SEGV): Set restorer.
4280         (INIT_FPE): Likewise.
4281
4282 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4283
4284         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4285         than getXLFD.
4286         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4287         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4289         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4291         Likewise.
4292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4293         Likewise.
4294
4295 2003-07-29  Tom Tromey  <tromey@redhat.com>
4296
4297         * defineclass.cc (handleField): Throw exception if field name is
4298         duplicated.
4299         (handleMethod): Throw exception for duplicate method.
4300
4301 2003-07-29  Tom Tromey  <tromey@redhat.com>
4302
4303         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4304         output buffer is too small.
4305
4306 2003-07-28  Tom Tromey  <tromey@redhat.com>
4307
4308         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4309         New method.
4310         Include gnu/gcj/runtime/StringBuffer.h.
4311         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4312         native method.
4313         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4314
4315 2003-07-27  Anthony Green  <green@redhat.com>
4316
4317         * configure.in: Fix newlib check.
4318         * configure: Rebuilt.
4319
4320 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4321
4322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4323         Create vbox and layout for GtkPlug.
4324
4325 2003-07-27  Michael Koch  <konqueror@gmx.de>
4326
4327         * java/awt/Window.java
4328         (Window): Removed now unused constructor. It became oboslete with the
4329         new embedded window patch.
4330
4331 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4332             Michael Koch  <konqueror@gmx.de>
4333
4334         * gnu/java/awt/EmbeddedWindow.java
4335         (EmbeddedWindow): Extends Frame instead of Window.
4336         (window_id): New member variable to store the native window handle.
4337         (create): Removed.
4338         (EmbeddedWindow): New constructor.
4339         (addNotify): New method.
4340         (getHandler): Likewise.
4341         (setWindowPeer): New native method.
4342         * gnu/java/awt/EmbeddedWindowSupport.java
4343         (EmbeddedWindowSupport): Fixed documentation.
4344         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4345         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4346         window data.
4347         * gnu/java/awt/natEmbeddedWindow.cc
4348         (create): Removed.
4349         (setWindowPeer): New method.
4350         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4351         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4353         New files
4354         * gnu/java/awt/peer/gtk/GtkToolkit.java
4355         (GtkToolkit): Implements EmbeddedWindowSupport.
4356         (createEmbeddedWindow): New method.
4357         * java/awt/Window.java
4358         (Window): Removed.
4359         * Makefile.am
4360         (java_source_files): Added EmbeddedWindowPeer.java.
4361         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4362         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4363         * Makefile.in: Regenerated.
4364
4365 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4366
4367         * java/lang/Win32Process.java (ConcreteProcess): Surround
4368         a command line element with quotes if it contains an
4369         embedded space or tab.
4370         * java/lang/natWin32Process.cc (startProcess): Do not
4371         surround command line elements with quotes here.
4372
4373         * configure.host: Use -fcheck-references and 
4374         -fuse-divide-subroutine for MinGW until we fix
4375         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4376         Structured Exception Handling (SEH).
4377
4378         * win32.cc (_Jv_platform_initProperties): Use generic names
4379         like "x86" for the "os.arch" property to be consistent with
4380         what Sun's JDK produces. Use the wProcessorArchitecture
4381         member of the Win32 SYSTEM_INFO structure, filled in a call 
4382         to GetSystemInfo( ), instead of dwProcessorType.
4383
4384 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4385             Ranjit Mathew  <rmathew@hotmail.com>
4386
4387         * Makefile.am: Use cross-compiling gcjh from the path for
4388         a crossed-native build.
4389         * Makefile.in: Rebuilt.
4390         * configure.in: Include libltdl in non-newlib builds.
4391         Moved determination of gcj used to build libraries to
4392         its own section. Fixed cross-compilation issues for
4393         non-newlib builds.
4394         * configure: Rebuilt.
4395
4396 2003-07-25  Tom Tromey  <tromey@redhat.com>
4397
4398         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4399         (write): Likewise.
4400         (read): Likewise.
4401         (read): Likewise.
4402
4403 2003-07-25  Mark Wielaard  <mark@klomp.org>
4404
4405         * java/lang/natRuntime.cc (_load): Add library name to
4406         UnsatisfiedLinkError when thrown.
4407
4408 2003-07-25  Mark Wielaard  <mark@klomp.org>
4409
4410         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4411         added.
4412         * Makefile.in: Likewise.
4413
4414 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4415
4416         * java/awt/Component.java
4417         (getPreferredSize): Call preferredSize.
4418         (preferredSize): Moved body of getPreferredSize here.
4419         (getMinimumSize): Call minimumSize.
4420         (minimumSize): Moved body of getMinimumSize here.
4421         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4422         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4423         pass -1
4424         * java/awt/Container.java
4425         (validate): Don't validate if there is no peer.
4426         (update): Clear background before calling paint.
4427         * java/awt/GridBagLayout.java
4428         Completed the implementation and fixed several bugs.
4429         * java/awt/MediaTracker.java
4430         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4431         combine flags.
4432         * java/awt/Window.java
4433         (Window): Don't call setVisible(false). Windows are invisible by
4434         default and calling virtual methods from constructor causes
4435         compatibility problems (e.g. subclasses may assume that the peer
4436         already exists).
4437
4438 2003-07-25  Michael Koch  <konqueror@gmx.de>
4439
4440         * java/awt/GridBagLayout.java:
4441         Totally reworked and partly implemented.
4442         * java/awt/GridBagLayoutInfo.java:
4443         New file.
4444
4445 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4446
4447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4448         Don't pack label in an event box.
4449
4450 2003-07-24  Tom Tromey  <tromey@redhat.com>
4451
4452         For PR libgcj/7482:
4453         * verify.cc (ref_intersection): New class.
4454         (type_val): Removed unresolved_reference_type,
4455         uninitialized_unresolved_reference_type.
4456         (is_assignable_from_slow): Rewrote.
4457         (type::data): Removed.
4458         (type::klass): New field.
4459         (type::type): Added verifier argument.
4460         (type::resolve): Removed.
4461         (type::set_uninitialized): Updated for change to type_val.
4462         (type::set_initialized): Likewise.
4463         (type::isinitialized): Likewise.
4464         (type::print): Likewise.
4465         (construct_primitive_array_type): Likewise.
4466         (type::compatible): Updated for change to type_val and to use
4467         ref_intersection.
4468         (type::isarray): Updated to use ref_intersection.
4469         (type::isinterface): Likewise.
4470         (type::element_type): Likewise.
4471         (type::to_array): Likewise.
4472         (type::verify_dimensions): Rewrote.
4473         (type::merge): Likewise.
4474         (check_class_constant): Updated for type constructor change.
4475         (check_constant): Likewise.
4476         (check_field_constant): Likewise.
4477         (get_one_type): Likewise.
4478         (initialize_stack): Likewise.
4479         (verify_instructions_0): Likewise.
4480         (verify_instructions_0) [op_invokeinterface]: Removed special
4481         case.
4482         (isect_list): New field.
4483         (_Jv_BytecodeVerifier): Initialize it.
4484         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4485
4486 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4487
4488         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4489         unless field size is 2.
4490
4491 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4492
4493         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4494         (connectHooks): New method.
4495         (handleEvent): Remove.
4496         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4497         (createHooks): Remove declaration.
4498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4499         (generates_key_typed_event): Change to handle only certain
4500         keyvals.
4501         (awt_event_handler): Add special handling for GtkTextView.
4502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4503         (textcomponent_commit_cb): New function.
4504         (textcomponent_changed_cb): Likewise.
4505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4506         (connectHooks): Remove.
4507
4508 2003-07-23  Tom Tromey  <tromey@redhat.com>
4509
4510         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4511
4512         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4513
4514 2003-07-22  Tom Tromey  <tromey@redhat.com>
4515
4516         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4517         Include limits.h.
4518
4519 2003-07-22  Tom Tromey  <tromey@redhat.com>
4520
4521         * java/awt/Window.java (getWarningString): Just return the
4522         string.
4523         (Window): Set warningString; check with security manager.
4524
4525 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4526
4527         * gnu/awt/xlib/XGraphicsConfiguration.java
4528         (FontMetricsCache): Made static.
4529  
4530 2003-07-22  Tom Tromey  <tromey@redhat.com>
4531
4532         * java/net/URLEncoder.java (encode(String)): Use platform default
4533         encoding.
4534         (encode(String,String)): Convert to 2-digit upper-case hex
4535         number.
4536         (hex): New field.
4537
4538 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4539
4540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4541         (create): Remove unused method implementation.
4542         (connectHooks): Remove debug messages.
4543
4544 2003-07-20  Anthony Green  <green@redhat.com>
4545
4546         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4547         CloneNotSupportedException.
4548         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4549         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4550         * gnu/gcj/xlib/GC.java (clone): Ditto.
4551         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4552         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4553
4554         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4555         handler.
4556         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4557
4558 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4559
4560         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4561         String.  Put dlerror() message into exception.
4562         Include UnsatisfiedLinkError.
4563         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4564         String.  Now native.
4565
4566 2003-07-20  Tom Tromey  <tromey@redhat.com>
4567
4568         * java/lang/Runtime.java: Comment fix.
4569         * java/lang/ClassLoader.java (isAncestorOf): New method.
4570         (getParent): Uncommented security check.  Use isAncestorOf.
4571         * include/jvm.h (_Jv_CheckAccess): Declare.
4572         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4573         access check.
4574         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4575         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4576         class loader to _Jv_GetArrayClass.
4577         Include ArrayIndexOutOfBoundsException.h.
4578         * java/lang/reflect/Field.java: Update comment to reflect status.
4579         (equals): Fixed indentation.
4580         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4581         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4582         * java/lang/Class.java (memberAccessCheck): New method from
4583         Classpath.
4584         (checkMemberAccess): Removed.
4585         (getDeclaredMethod): Use memberAccessCheck.
4586         (getField): Likewise.
4587         (getMethod): Likewise.
4588         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4589         (_Jv_SearchMethodInClass): Likewise.
4590         * prims.cc (_Jv_CheckAccess): New function.
4591         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4592         (_Jv_JNI_GetAnyFieldID): Likewise.
4593         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4594         (getClassLoader): Added security check.
4595         (getConstructor): Call memberAccessCheck.
4596         (getDeclaredClasses): Likewise.
4597         (getDeclaredField): Likewise.
4598         (getDeclaredFields): Likewise.
4599         (_getConstructors): Likewise.
4600         (getDeclaredConstructor): Likewise.
4601         (getDeclaredMethods): Likewise.
4602         (getFields): Likewise.
4603         (getMethods): Likewise.
4604         (newInstance): Likewise.
4605         (_Jv_MakeVTable): Put method name in exception.
4606         * java/lang/reflect/natMethod.cc (getType): Use
4607         getClassLoaderInternal.
4608         (_Jv_GetTypesFromSignature): Likewise.
4609         (invoke): Perform access check.
4610         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4611         Include ArrayIndexOutOfBoundsException.h.
4612         * java/lang/reflect/natField.cc (getType): Use
4613         getClassLoaderInternal.
4614         (_Jv_CheckFieldAccessibility): Removed.
4615         (getAddr): Use _Jv_CheckAccess; find caller.
4616         Include ArrayIndexOutOfBoundsException.h.
4617
4618 2003-07-20  Michael Koch  <konqueror@gmx.de>
4619
4620         * java/net/URL.java
4621         (URL): Fixed documentation to name an argument correcty, Reformatted
4622         one method declaration.
4623         (getURLStreamHandler): Added documentation from classpath.
4624
4625 2003-07-19  Tom Tromey  <tromey@redhat.com>
4626
4627         * mauve-libgcj: Don't run CollationElementIterator tests.
4628
4629 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4630
4631         * java/net/URLClassLoader.java (addURL): Moved implementation to
4632         private addURLImpl() to avoid calling addURL from the constructor.
4633         (addURLImpl): Contains the code that was previously in addURL.
4634         (addURLs): Call addURLImpl(), not addURL().
4635
4636 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4637
4638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4639         Handle missing event cases, connect to "value-changed" signal.
4640
4641 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4642
4643         * java/awt/geom/CubicCurve2D.java,
4644         java/awt/geom/Line2D.java,
4645         java/awt/geom/QuadCurve2D.java,
4646         java/awt/geom/Rectangle2D.java: 
4647         Fix path some calculations, make path iterators follow
4648         a consistent style.
4649
4650 2003-07-18  Mark Wielaard  <mark@klomp.org>
4651
4652         * java/util/logging/Handler.java (isLoggable): Check record level
4653         smaller or equal.
4654
4655 2003-07-17  Michael Koch  <konqueror@gmx.de>
4656
4657         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4658         Reworked imports.
4659
4660 2003-07-14  Michael Koch  <konqueror@gmx.de>
4661
4662         * gnu/java/rmi/server/UnicastServerRef.java:
4663         New version from classpath.
4664
4665 2003-07-14  Michael Koch  <konqueror@gmx.de>
4666
4667         * java/awt/image/MemoryImageSource.java,
4668         java/beans/PropertyEditorManager.java,
4669         javax/naming/CompoundName.java,
4670         javax/naming/spi/NamingManager.java,
4671         javax/swing/AbstractButton.java,
4672         javax/swing/ButtonModel.java,
4673         javax/swing/SwingUtilities.java,
4674         javax/swing/UIManager.java,
4675         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4676         javax/swing/event/AncestorEvent.java,
4677         javax/swing/event/InternalFrameEvent.java,
4678         java/util/zip/ZipFile.java:
4679         New versions from classpath.
4680
4681 2003-07-13  Michael Koch  <konqueror@gmx.de>
4682
4683         * gnu/java/nio/FileChannelImpl.java,
4684         gnu/java/nio/natFileChannelImpl.cc: Removed.
4685         * java/io/FileInputStream.java,
4686         java/io/FileOutputStream.java,
4687         java/io/RandomAccessFile.java,
4688         java/nio/MappedByteBufferImpl.java:
4689         Import java.nio.channels.FileChannelImpl instead of
4690         gnu.java.nio.FileChannelImpl.
4691         * java/nio/channels/FileChannelImpl.java,
4692         java/nio/channels/natFileChannelImpl.cc:
4693         New files.
4694         * Makefile.am
4695         (ordinary_java_source_files):
4696         Removed gnu/java/nio/FileChannelImpl.java and added
4697         java/nio/channels/FileChannelImpl.java.
4698         (nat source_files):
4699         Removed gnu/java/nio/natFileChannelImpl.cc and added
4700         java/nio/channels/natFileChannelImpl.cc.
4701         * Makefile.in: Regenerated.
4702
4703 2003-07-13  Michael Koch  <konqueror@gmx.de>
4704
4705         * javax/swing/plaf/basic/BasicBorders.java,
4706         javax/swing/plaf/basic/BasicLabelUI.java,
4707         javax/swing/plaf/basic/BasicLookAndFeel.java,
4708         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4709         javax/swing/plaf/basic/BasicTextUI.java,
4710         javax/swing/plaf/metal/MetalLookAndFeel.java:
4711         New versions from classpath.
4712
4713 2003-07-13  Michael Koch  <konqueror@gmx.de>
4714
4715         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4716         * gnu/java/awt/peer/gtk/GdkGraphics.java
4717         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4718         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4719         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4720         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4721         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4722         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4723         * gnu/java/awt/peer/gtk/GtkClipboard.java
4724         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4725         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4726         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4727         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4728         * gnu/java/awt/peer/gtk/GtkImage.java
4729         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4730         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4731         * gnu/java/awt/peer/gtk/GtkListPeer.java
4732         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4733         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4734         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4735         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4736         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4737         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4738         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4739         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4740         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4741         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4742         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4743         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4744
4745 2003-07-13  Michael Koch  <konqueror@gmx.de>
4746
4747         * gnu/java/locale/LocaleInformation_de.java
4748         * gnu/java/locale/LocaleInformation_en.java
4749         * gnu/java/locale/LocaleInformation_nl.java
4750
4751 2003-07-13  Michael Koch  <konqueror@gmx.de>
4752
4753         * gnu/java/awt/EmbeddedWindow.java,
4754         gnu/java/awt/EmbeddedWindowSupport.java,
4755         gnu/java/awt/natEmbeddedWindow.cc:
4756         New files.
4757         * java/awt/Window.java
4758         (Window): New constructor to support embedded windows.
4759         * Makefile.am
4760         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4761         gnu/java/awt/EmbeddedWindowSupport.java.
4762         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4763         * Makefile.in: Regenerated.
4764
4765 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4766
4767         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4768         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4769         * java/awt/im/InputContext.java: Remove a redundant
4770         partial line.
4771
4772 2003-07-09  Tom Tromey  <tromey@redhat.com>
4773
4774         * Makefile.in: Rebuilt.
4775         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4776
4777 2003-07-09  Mark Wielaard  <mark@klomp.org>
4778
4779         * java/io/ObjectOutputStream.java (writeObject): break after
4780         calling writeClassDescriptor().
4781
4782 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4783
4784         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4785
4786 2003-07-09  Michael Koch  <konqueror@gmx.de>
4787
4788         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4789         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4790         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4791         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4792         Explicitly import used classes.
4793         * java/awt/Container.java: New version from classpath.
4794
4795 2003-07-09  Michael Koch  <konqueror@gmx.de>
4796
4797         * libgcj.pc.in: New file.
4798         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4799         * Makefile.in: Regenerated.
4800         * configure: Regenrated.
4801         * configure.in: Create libgcj.pc from libgcj.pc.in.
4802
4803 2003-07-08  Mark Wielaard <mark@klomp.org>
4804
4805         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4806
4807         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4808         * java/lang/fdlibm.h: Likewise.
4809
4810 2003-07-07  Adam Megacz <adam@xwt.org>
4811
4812         * posix.cc: added #include<stdio.h>
4813                 
4814 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4815
4816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4817         formatting.
4818
4819         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4820         (setCaretPosition, setEditable): Rely entirely on native
4821         implementation.
4822         (getArgs): Remove.
4823         (postTextEvent): New method.
4824         (handleEvent): New method.
4825         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4826         method.
4827         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4829         (keysym_to_awt_keycode): Fix range checks.
4830         (generates_key_typed_event): New function.
4831         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4832         queue.
4833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4834         (gtkInit): Store TextComponent's postTextEvent method ID.
4835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4836         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4837
4838 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4839
4840         * configure.in: Check for usleep declaration.
4841         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4842         * configure: Regenerate.
4843         * include/config.h.in: Likewise.
4844         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4845
4846 2003-07-01  Michael Koch  <konqueror@gmx.de>
4847
4848         * gnu/gcj/convert/natIconv.cc
4849         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4850         handle.
4851
4852 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4853
4854         * glib-2.0.m4: New file.
4855         * gtk-2.0.m4: New file.
4856         * glib.m4: Remove.
4857         * gtk.m4: Remove.
4858         * configure.in: Update AM_PATH_GTK macro call to
4859         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4861         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4867         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4868         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4871         jni/gtk-peer/gthread-jni.c,
4872         jni/gtk-peer/gthread-jni.h:
4873         New versions from classpath.
4874         * aclocal.m4: Regenerate.
4875         * configure: Regenerate.
4876         * Makefile.in: Regenerate.
4877         * gcj/Makefile.in: Regenerate.
4878         * include/Makefile.in: Regenerate.
4879         * testsuite/Makefile.in: Regenerate.
4880
4881 2003-06-30  Gary Benson  <gbenson@redhat.com>
4882
4883         For PR libgcj/11349:
4884         * javax/naming/spi/NamingManager.java (getURLContext): Use
4885         correct name for factory class.
4886
4887 2003-06-28  Michael Koch  <konqueror@gmx.de>
4888
4889         * java/io/PrintStream.java
4890         (checkError): Call flush() instead of direct flushing of the Writer
4891         object.
4892         (print): Call print(String) instead of direct print method of the
4893         Writer Object.
4894         (println): Call println(String) instead of direct println method of the
4895         Writer Object.
4896         (write): Simplified.
4897
4898 2003-06-28  Michael Koch  <konqueror@gmx.de>
4899
4900         * java/net/ServerSocket.java
4901         (setChannel): New method.
4902         * java/net/Socket.java
4903         (setChannel): New method.
4904
4905 2003-06-27  Michael Koch  <konqueror@gmx.de>
4906
4907         * java/beans/beancontext/BeanContextSupport.java:
4908         New version from classpath.
4909
4910 2003-06-27  Michael Koch  <konqueror@gmx.de>
4911
4912         * java/awt/Window.java,
4913         java/awt/font/GraphicAttribute.java,
4914         java/awt/font/ImageGraphicAttribute.java,
4915         java/awt/image/DataBufferByte.java,
4916         java/awt/image/DataBufferInt.java,
4917         java/awt/image/DataBufferUShort.java,
4918         java/awt/image/DirectColorModel.java,
4919         java/awt/image/PixelGrabber.java:
4920         New versions from classpath.
4921
4922 2003-06-27  Michael Koch  <konqueror@gmx.de>
4923
4924         * java/security/Certificate.java
4925         (getGuarantor): Removed wrong @deprecated tag.
4926         (getPrincipal): Likewise.
4927         (getPublicKey): Likewise.
4928         (encode): Likewise.
4929         (decode): Likewise.
4930         (getFormat): Likewise.
4931         (toString): Likewise.
4932         * java/security/cert/PolicyQualifierInfo.java
4933         (PolicyQualifierInfo): Made final.
4934         * javax/security/auth/x500/X500Principal.java
4935         (serialVersionUID): New member variable.
4936
4937 2003-06-27  Michael Koch  <konqueror@gmx.de>
4938
4939         * java/text/Format.java
4940         (serialVersionUID): Fixed value.
4941
4942 2003-06-27  Michael Koch  <konqueror@gmx.de>
4943
4944         * java/net/Inet4Address.java
4945         (Inet4Address): Made package-private.
4946         * java/net/Inet6Address.java
4947         (Inet4Address): Made package-private.
4948
4949 2003-06-27  Michael Koch  <konqueror@gmx.de>
4950
4951         * java/io/RandomAccessFile.java
4952         (readLine): Removed wrong @deprecated tag.
4953         (getChannel): Made final.
4954
4955 2003-06-27  Michael Koch  <konqueror@gmx.de>
4956
4957         * gnu/java/nio/FileChannelImpl.java
4958         (write): Removed.
4959
4960 2003-06-27  Michael Koch  <konqueror@gmx.de>
4961
4962         * java/nio/ByteBufferImpl.java
4963         (ByteBufferImpl): Made it a package-private class
4964         * java/nio/CharBufferImpl.java
4965         (CharBufferImpl): Made it a package-private class
4966         * java/nio/DirectByteBufferImpl.java
4967         (DirectByteBufferImpl): Made it a package-private class
4968         * java/nio/DoubleBufferImpl.java
4969         (DoubleBufferImpl): Made it a package-private class
4970         * java/nio/FloatBufferImpl.java
4971         (FloatBufferImpl): Made it a package-private class
4972         * java/nio/IntBufferImpl.java
4973         (IntBufferImpl): Made it a package-private class
4974         * java/nio/LongBufferImpl.java
4975         (LongBufferImpl): Made it a package-private class
4976         * java/nio/ShortBufferImpl.java
4977         (ShortBufferImpl): Made it a package-private class
4978         * java/nio/channels/FileChannel.java
4979         (write): Made final.
4980         * java/nio/channels/ServerSocketChannel.java
4981         (ServerSocketChanne): Made protected.
4982
4983 2003-06-27  Michael Koch  <konqueror@gmx.de>
4984
4985         * javax/naming/CompositeName.java
4986         (serialVersionUID): New member variable.
4987         * javax/naming/CompoundName.java
4988         (serialVersionUID): New member variable.
4989         * javax/naming/InitialContext.java
4990         (InitialContext): Throws NamingException.
4991         (init): Likewise.
4992         * javax/naming/LinkRef.java
4993         (serialVersionUID): New member variable.
4994         (gteLinkName): Throws NamingException.
4995         * javax/naming/NamingException.java
4996         (serialVersionUID): New member variable.
4997         * javax/naming/NamingSecurityException.java
4998         (NamingSecurityException): Made abstract.
4999         (serialVersionUID): New member variable.
5000         * javax/naming/ReferralException.java
5001         (serialVersionUID): New member variable.
5002         * javax/naming/StringRefAddr.java
5003         (serialVersionUID): New member variable.
5004         * javax/naming/directory/BasicAttribute.java:
5005         Reworked imports.
5006         (serialVersionUID): New member variable.
5007         (get): Throws NamingException.
5008         (getAll): Throws NamingException.
5009         * javax/naming/directory/BasicAttributes.java:
5010         Reworked imports.
5011         (serialVersionUID): New member variable.
5012         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5013         (serialVersionUID): New member variable.
5014
5015 2003-06-27  Michael Koch  <konqueror@gmx.de>
5016
5017         * Makefile.am
5018         (awt_java_source_files): Added new files:
5019         javax/swing/Popup.java,
5020         javax/swing/PopupFactory.java
5021         * Makefile.in: Regenerated.
5022
5023 2003-06-27  Michael Koch  <konqueror@gmx.de>
5024
5025         * javax/swing/JWindow.java,
5026         javax/swing/event/AncestorEvent.java,
5027         javax/swing/event/HyperlinkEvent.java,
5028         javax/swing/event/InternalFrameEvent.java,
5029         javax/swing/event/ListDataEvent.java,
5030         javax/swing/event/TableModelEvent.java,
5031         javax/swing/plaf/PopupMenuUI.java,
5032         javax/swing/plaf/SplitPaneUI.java,
5033         javax/swing/plaf/TabbedPaneUI.java,
5034         javax/swing/plaf/TextUI.java,
5035         javax/swing/plaf/TreeUI.java,
5036         javax/swing/plaf/basic/BasicTextUI.java,
5037         javax/swing/plaf/basic/BasicTreeUI.java:
5038         New versions from classpath.
5039         * javax/swing/Popup.java,
5040         javax/swing/PopupFactory.jav:
5041         New source files from classpath.
5042         * javax/swing/plaf/doc-files/TreeUI-1.png:
5043         New binary files from classpath.
5044
5045 2003-06-25  Michael Koch  <konqueror@gmx.de>
5046
5047         * Makefile.am
5048         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5049         * Makefile.in: Regenerated.
5050
5051 2003-06-25  Michael Koch  <konqueror@gmx.de>
5052
5053         * javax/swing/plaf/ActionMapUIResource.java,
5054         javax/swing/plaf/BorderUIResource.java,
5055         javax/swing/plaf/ButtonUI.java,
5056         javax/swing/plaf/ColorChooserUI.java,
5057         javax/swing/plaf/ColorUIResource.java,
5058         javax/swing/plaf/ComboBoxUI.java,
5059         javax/swing/plaf/ComponentInputMapUIResource.java,
5060         javax/swing/plaf/ComponentUI.java,
5061         javax/swing/plaf/DesktopIconUI.java,
5062         javax/swing/plaf/DesktopPaneUI.java,
5063         javax/swing/plaf/DimensionUIResource.java,
5064         javax/swing/plaf/FileChooserUI.java,
5065         javax/swing/plaf/FontUIResource.java,
5066         javax/swing/plaf/IconUIResource.java,
5067         javax/swing/plaf/InputMapUIResource.java,
5068         javax/swing/plaf/InsetsUIResource.java,
5069         javax/swing/plaf/InternalFrameUI.java,
5070         javax/swing/plaf/LabelUI.java,
5071         javax/swing/plaf/ListUI.java,
5072         javax/swing/plaf/MenuBarUI.java,
5073         javax/swing/plaf/MenuItemUI.java,
5074         javax/swing/plaf/OptionPaneUI.java,
5075         javax/swing/plaf/PanelUI.java,
5076         javax/swing/plaf/ProgressBarUI.java,
5077         javax/swing/plaf/RootPaneUI.java,
5078         javax/swing/plaf/ScrollBarUI.java,
5079         javax/swing/plaf/ScrollPaneUI.java,
5080         javax/swing/plaf/SeparatorUI.java,
5081         javax/swing/plaf/SliderUI.java,
5082         javax/swing/plaf/TableHeaderUI.java,
5083         javax/swing/plaf/TableUI.java,
5084         javax/swing/plaf/ToolBarUI.java,
5085         javax/swing/plaf/ToolTipUI.java,
5086         javax/swing/plaf/ViewportUI.java:
5087         New versions from classpath.
5088         * javax/swing/plaf/SpinnerUI.java: 
5089         New file from classpath
5090
5091 2003-06-25  Michael Koch  <konqueror@gmx.de>
5092
5093         * java/awt/image/ColorModel.java:
5094         New version from classpath.
5095
5096 2003-06-25  Michael Koch  <konqueror@gmx.de>
5097
5098         * java/net/PlainDatagramSocketImpl.java:
5099         Partly merged with classpath, this mainly adds documentation.
5100
5101 2003-06-25  Michael Koch  <konqueror@gmx.de>
5102
5103         * java/io/ObjectInputStream.java
5104         (readClassDescriptor): New method.
5105         (readObject): Moved functionality to readClassDescriptor().
5106         * java/io/ObjectOutputStream.java
5107         (writeClassDescriptor): New method.
5108         (writeObject): Moved functionality to writeClassDescriptor().
5109
5110 2003-06-25  Michael Koch  <konqueror@gmx.de>
5111
5112         * javax/swing/plaf/basic/BasicListUI.java,
5113         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5114         Added missing methods.
5115
5116 2003-06-25  Michael Koch  <konqueror@gmx.de>
5117
5118         * javax/swing/event/AncestorEvent.java
5119         javax/swing/event/HyperlinkEvent.java
5120         javax/swing/event/InternalFrameEvent.java
5121         javax/swing/event/ListDataEvent.java
5122         javax/swing/event/TableModelEvent.java:
5123         Compile fixes.
5124
5125 2003-06-24  Michael Koch  <konqueror@gmx.de>
5126
5127         * java/net/URL.java:
5128         Renamed "handler" to "ph" in the whole file to match classpaths
5129         version.
5130         * java/net/URLStreamHandler.java:
5131         (equals): Renamed "handler" to "ph".
5132
5133 2003-06-24  Michael Koch  <konqueror@gmx.de>
5134
5135         * javax/swing/event/AncestorEvent.java,
5136         javax/swing/event/HyperlinkEvent.java,
5137         javax/swing/event/InternalFrameEvent.java,
5138         javax/swing/event/ListDataEvent.java,
5139         javax/swing/event/TableModelEvent.java,
5140         javax/swing/event/TreeWillExpandListener.java,
5141         javax/swing/plaf/ComponentUI.java,
5142         javax/swing/plaf/DesktopIconUI.java,
5143         javax/swing/plaf/DesktopPaneUI.java,
5144         javax/swing/plaf/DimensionUIResource.java,
5145         javax/swing/plaf/FileChooserUI.java,
5146         javax/swing/plaf/FontUIResource.java,
5147         javax/swing/plaf/IconUIResource.java,
5148         javax/swing/plaf/InputMapUIResource.java,
5149         javax/swing/plaf/InsetsUIResource.java,
5150         javax/swing/plaf/InternalFrameUI.java,
5151         javax/swing/plaf/LabelUI.java,
5152         javax/swing/plaf/ListUI.java,
5153         javax/swing/plaf/MenuBarUI.java,
5154         javax/swing/plaf/MenuItemUI.java,
5155         javax/swing/plaf/OptionPaneUI.java,
5156         javax/swing/plaf/PanelUI.java,
5157         javax/swing/plaf/ProgressBarUI.java,
5158         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5159         javax/swing/plaf/doc-files/ComponentUI-1.png:
5160         New versions from classpath.
5161
5162 2003-06-24  Michael Koch  <konqueror@gmx.de>
5163
5164         * java/nio/Buffer.java
5165         (cap): Made package-private.
5166         (pos): Likewise.
5167         (limit): Likewise.
5168         (mark): Likewise.
5169
5170 2003-06-24  Michael Koch  <konqueror@gmx.de>
5171
5172         * java/net/SocketImpl.java
5173         (shutdownInput): Made it non-abstract method throwing an exception
5174         like in SUNs JRE.
5175         (shutdownOutput): Likewise.
5176         * java/net/SocketInputStream.java,
5177         java/net/SocketOutputStream.java:
5178         New files from classpath.
5179
5180 2003-06-24  Michael Koch  <konqueror@gmx.de>
5181
5182         * java/awt/Font.java,
5183         java/awt/Window.java,
5184         java/awt/color/ColorSpace.java,
5185         java/awt/datatransfer/StringSelection.java,
5186         java/awt/image/ColorModel.java:
5187         New versions from classpath.
5188
5189 2003-06-24  Michael Koch  <konqueror@gmx.de>
5190
5191         * Makefile.am
5192         (awt_java_source_files): Added new files:
5193         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5194         javax/swing/plaf/basic/BasicSplitPaneUI.java
5195         * Makefile.in: Regenerated.
5196
5197 2003-06-24  Michael Koch  <konqueror@gmx.de>
5198
5199         * javax/swing/text/JTextComponent.java:
5200         New version from classpath.
5201
5202 2003-06-24  Michael Koch  <konqueror@gmx.de>
5203
5204         * javax/swing/Timer.java,
5205         javax/swing/plaf/ActionMapUIResource.java,
5206         javax/swing/plaf/ButtonUI.java,
5207         javax/swing/plaf/ColorChooserUI.java,
5208         javax/swing/plaf/ColorUIResource.java,
5209         javax/swing/plaf/ComboBoxUI.java,
5210         javax/swing/plaf/ComponentInputMapUIResource.java,
5211         javax/swing/plaf/basic/BasicBorders.java:
5212         New versions from classpath.
5213         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5214         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5215         New file from classpath.
5216         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5217         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5218         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5219         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5220         javax/swing/plaf/doc-files/ComponentUI-1.png:
5221         New binary files from classpath.
5222
5223 2003-06-24  Michael Koch  <konqueror@gmx.de>
5224
5225         * java/io/LineNumberReader.java
5226         (skip): Dont do line number accounting here as this is already done in
5227         read(), simplified.
5228
5229 2003-06-21  Michael Koch  <konqueror@gmx.de>
5230
5231         * java/io/File.java
5232         (static): Load javaio lib if existing (only in classpath).
5233         (File): Revised documentation to show the correct argument name.
5234         (createTempFile): Partly merged with classpath.
5235         (compareTo): Simplified.
5236         (lastModified): Throw exception if time < 0.
5237         (deleteOnExit): Revised documentation.
5238
5239 2003-06-21  Michael Koch  <konqueror@gmx.de>
5240
5241         * java/net/PlainSocketImpl.java:
5242         Reformatted.
5243         (PlainSocketImpl): Merged class documentaion with classpath.
5244         (in): Moved.
5245         (out): Moved.
5246         (PlainSocketImpl): New empty constructor.
5247         (finalize): Moved.
5248         (setOption): Merged documentation from classpath.
5249         (getOption): Likewise.
5250         (create): Likewise.
5251         (connect): Likewise.
5252         (bind): Likewise.
5253         (listen): Likewise.
5254         (accept): Likewise.
5255         (available): Likewise.
5256         (close): Likewise.
5257         (read): Likewise.
5258         (write): Likewise.
5259         (getInputStream): Made synchronozed to get sure that only one stream
5260         object can be created for this socket, merged documentation from
5261         classpath.
5262         (getOutputStream): Likewise.
5263
5264 2003-06-21  Michael Koch  <konqueror@gmx.de>
5265
5266         * java/net/PlainSocketImpl.java:
5267         Reformatting.
5268         (static): New implicit method.
5269         (read): Made package private.
5270         (write): Likewise.
5271
5272 2003-06-21  Michael Koch  <konqueror@gmx.de>
5273
5274         * java/util/SimpleTimeZone.java:
5275         Removed unneeded import, reformatting.
5276
5277 2003-06-21  Michael Koch  <konqueror@gmx.de>
5278
5279         * java/text/DateFormat.java,
5280         java/text/SimpleDateFormat.java,
5281         java/util/Locale.java:
5282         New versions from classpath.
5283
5284 2003-06-21  Michael Koch  <konqueror@gmx.de>
5285
5286         * javax/swing/SpinnerModel.java:
5287         New file from classpath.
5288         * javax/swing/border/LineBorder.java,
5289         javax/swing/border/SoftBevelBorder.java,
5290         javax/swing/plaf/BorderUIResource.java,
5291         javax/swing/plaf/basic/BasicBorders.java:
5292         New versions from classpath.
5293         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5294         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5295         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5296         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5297         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5298         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5299         New binary files from classpath.
5300
5301 2003-06-21  Michael Koch  <konqueror@gmx.de>
5302
5303         * java/util/logging/LogRecord.java,
5304         java/util/logging/Logger.java,
5305         java/util/logging/SocketHandler.java,
5306         java/util/logging/SimpleFormatter.java,
5307         java/util/logging/Formatter.java,
5308         java/util/logging/ErrorManager.java,
5309         java/util/logging/Handler.java,
5310         java/util/logging/FileHandler.java,
5311         java/util/logging/LogManager.java,
5312         java/util/logging/Level.java,
5313         java/util/logging/ConsoleHandler.java,
5314         java/util/logging/StreamHandler.java,
5315         java/util/logging/LoggingPermission.java,
5316         java/util/logging/Filter.java,
5317         java/util/logging/MemoryHandler.java,
5318         java/util/logging/XMLFormatter.java:
5319         New files from classpath.
5320
5321 2003-06-20  Michael Koch  <konqueror@gmx.de>
5322
5323         * java/io/ObjectStreamField.java
5324         (unshared): new member variable.
5325         (ObjectStreamField): New constructor.
5326         (isUnshared): New method.
5327
5328 2003-06-20  Michael Koch  <konqueror@gmx.de>
5329
5330         * java/net/URLStreamHandler.java
5331         (hostsEqual): Rewritten.
5332
5333 2003-06-20  Michael Koch  <konqueror@gmx.de>
5334
5335         * gnu/java/nio/MappedByteFileBuffer.java,
5336         gnu/java/nio/natMappedByteFileBuffer.cc:
5337         Removed
5338         * java/nio/MappedByteBufferImpl.java:
5339         New file.
5340         * gnu/java/nio/FileChannelImpl.java:
5341         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5342         * Makefile.am
5343         (ordinary_java_source_files): Removed
5344         gnu/java/nio/MappedByteFileBuffer.java and added
5345         java/nio/MappedByteBufferImpl.java.
5346         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5347         * Makefile.in: Regenerated.
5348
5349 2003-06-19  Michael Koch  <konqueror@gmx.de>
5350
5351         * gnu/java/nio/DatagramChannelImpl.java
5352         (fd): Removed.
5353         (blocking): New member variable.
5354         (socket): Likewise.
5355         (DatagramChannelImpl): Throws IOException, initialize socket.
5356         (socket):Implemented.
5357         (implCloseSelectableChannel): Throws IOException, implemented.
5358         (implConfigureBlocking): Likewise.
5359         (connect): Likewise.
5360         (disconnect): Likewise.
5361         (isConnected): Likewise.
5362         (write): Likewise.
5363         (read): Likewise.
5364         (receive): Throws IOException.
5365         (send): Likewise.
5366         * gnu/java/nio/SocketChannelImpl.java
5367         (read): Implemented.
5368         (write): Implemented.
5369
5370 2003-06-19  Michael Koch  <konqueror@gmx.de>
5371
5372         * javax/swing/JComponent.java,
5373         javax/swing/JInternalFrame.java,
5374         javax/swing/MenuSelectionManager.java,
5375         javax/swing/SwingUtilities.java,
5376         javax/swing/ToggleButtonModel.java:
5377         New versions from classpath.
5378
5379 2003-06-19  Michael Koch  <konqueror@gmx.de>
5380
5381         * java/text/CollationElementIterator.java
5382         (NULLORDER): Initialize with -1 as JDK documentation says.
5383
5384 2003-06-19  Michael Koch  <konqueror@gmx.de>
5385
5386         * java/net/HttpURLConnection.java,
5387         java/net/Inet4Address.java,
5388         java/net/Inet6Address.java,
5389         java/net/SocketImpl.java,
5390         java/net/URLClassLoader.java:
5391         Reworked import statements.
5392         * java/net/InetAddress.java
5393         (getByAddress): Simplified.
5394         * java/net/ServerSocket.java
5395         (ServerSocket): Moved special handling during bind operation to
5396         bind().
5397         (bind): Handle different cases when trying to bind a socket.
5398         * java/net/URLConnection.java
5399         (getHeaderFieldDate): Merged with classpath.
5400         (getHeaderFieldInt): Likewise.
5401
5402 2003-06-19  Michael Koch  <konqueror@gmx.de>
5403
5404         * java/util/zip/InflaterInputStream.java
5405         (InflaterInputStream): Throw NullPointerException if in is null (as
5406         JDK does).
5407
5408 2003-06-19  Michael Koch  <konqueror@gmx.de>
5409
5410         * java/awt/Font.java
5411         javax/swing/UIManager.java
5412         javax/swing/border/AbstractBorder.java
5413         javax/swing/border/BevelBorder.java
5414         javax/swing/border/Border.java
5415         javax/swing/border/CompoundBorder.java
5416         javax/swing/border/EmptyBorder.java
5417         javax/swing/border/EtchedBorder.java
5418         javax/swing/border/LineBorder.java
5419         javax/swing/border/MatteBorder.java
5420         javax/swing/border/TitledBorder.java
5421         javax/swing/plaf/BorderUIResource.java
5422         javax/swing/plaf/basic/BasicBorders.java
5423         javax/swing/plaf/basic/BasicButtonUI.java
5424         javax/swing/plaf/basic/BasicCheckBoxUI.java
5425         javax/swing/plaf/basic/BasicGraphicsUtils.java
5426         javax/swing/plaf/basic/BasicLabelUI.java
5427         javax/swing/plaf/basic/BasicRadioButtonUI.java
5428         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5429         New versions from classpath.
5430         * javax/swing/border/SoftBevelBorder.java:
5431         New file from classpath.
5432         * javax/swing/border/doc-files/LineBorder-1.png,
5433         javax/swing/border/doc-files/BevelBorder-1.png,
5434         javax/swing/border/doc-files/BevelBorder-2.png,
5435         javax/swing/border/doc-files/BevelBorder-3.png,
5436         javax/swing/border/doc-files/EmptyBorder-1.png,
5437         javax/swing/border/doc-files/EtchedBorder-1.png,
5438         javax/swing/border/doc-files/EtchedBorder-2.png,
5439         javax/swing/border/doc-files/MatteBorder-1.png,
5440         javax/swing/border/doc-files/MatteBorder-2.png,
5441         javax/swing/border/doc-files/MatteBorder-3.png,
5442         javax/swing/border/doc-files/MatteBorder-4.png,
5443         javax/swing/border/doc-files/MatteBorder-5.png,
5444         javax/swing/border/doc-files/MatteBorder-6.png,
5445         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5446         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5447         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5448         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5449         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5450         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5451         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5452         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5453         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5454         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5455         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5456         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5457         New binary files from classpath.
5458         * Makefile.am
5459         (awt_java_source_files): Added
5460         javax/swing/border/SoftBevelBorder.java.
5461         * Makefile.in: Regenerated.
5462
5463 2003-06-19  Michael Koch  <konqueror@gmx.de>
5464
5465         * gnu/java/security/x509/X509Certificate.java
5466         (writeReplace): Merged from classpath.
5467
5468 2003-06-19  Michael Koch  <konqueror@gmx.de>
5469
5470         * gnu/java/nio/FileChannelImpl.java
5471         (map_address): Made public.
5472         (FileChannelImpl): Merged with classpath.
5473         * gnu/java/nio/natFileChannelImpl.cc
5474         (nio_mmap_file): Commented out unused arguments.
5475         (nio_unmmap_file): Likewise.
5476         (niu_msync): Likewise.
5477
5478 2003-06-19  Michael Koch  <konqueror@gmx.de>
5479
5480         * java/awt/image/IndexColorModel.java:
5481         New version from classpath.
5482
5483 2003-06-18  Tom Tromey  <tromey@redhat.com>
5484
5485         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5486         on arrays.
5487         (isLoopbackAddress): Likewise.
5488         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5489         on arrays.
5490
5491 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5492
5493         * java/lang/natVMSecurityManager.cc (getClassContext):
5494         Use maxlen instead of len for loop bound.
5495
5496 2003-06-18  Michael Koch  <konqueror@gmx.de>
5497
5498         * gnu/java/nio/SelectorImpl.java
5499         (register): Use fd with value 0 for now, will be fixed later.
5500         * gnu/java/nio/ServerSocketChannelImpl.java
5501         (fd): Removed.
5502         (local_port): Removed.
5503         (InetSocketAddress): Removed.
5504         (ServerSocketChannelImpl): Just initialize internal socket object.
5505         (implCloseSelectableChannel): Close internal socket object.
5506         (implConfigureBlocking): Added comment.
5507         (accept): Use jaba.net stuff to accept socket.
5508         * gnu/java/nio/SocketChannelImpl.java
5509         (fd): Removed.
5510         (local_port): Removed.
5511         (InetSocketAddress): Removed.
5512         (SocketCreate): Removed.
5513         (SocketConnect): Removed.
5514         (SocketBind): Removed.
5515         (SocketListen): Removed.
5516         (SocketAvailable): Removed.
5517         (SocketClose): Removed.
5518         (SocketRead): Removed.
5519         (SocketWrite): Removed.
5520         (SocketChannelImpl): Just initialize internal socket object.
5521         (implCloseSelectableChannel): Close internal socket object.
5522         (implConfigureBlocking): Fixed implementation, added comment.
5523         (connect): Use internal socket object to connect.
5524         (socket): No need for sanity checks.
5525         (read): Comment out some stuff, this will be reimplemented in the next
5526         commit.
5527         (write): Likewise.
5528         * gnu/java/nio/natFileChannelImpl.cc
5529         (nio_mmap_file): Line wrapped.
5530         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5531         * Makefile.am
5532         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5533         * Makefile.in: Regenerated.
5534
5535 2003-06-18  Michael Koch  <konqueror@gmx.de>
5536
5537         * java/util/Locale.java
5538         (equals): Merged from classpath.
5539
5540 2003-06-18  Michael Koch  <konqueror@gmx.de>
5541
5542         * java/net/InetAddress.java:
5543         Reformatted to better match classpath's version.
5544         * java/net/URL.java
5545         (equals): Simplified.
5546         * java/net/URLConnection.java
5547         (setDoInput): Revised documentation.
5548         (getDefaultUseCaches): Likewise.
5549         (setRequestProperty): Added @since tag.
5550
5551 2003-06-17  Michael Koch  <konqueror@gmx.de>
5552
5553         * java/net/InetSocketAddress.java
5554         (InetSocketAddress): Use wildcard address if addr is null.
5555         (InetSocketAddress): Dont duplicate implementation.
5556         (InetSocketAddress): Throw exception when hostname is null.
5557         * java/net/Socket.java:
5558         Reworked imports.
5559         (Socket): Throw exception when raddr is null, handle case when laddr
5560         is null.
5561
5562 2003-06-17  Michael Koch  <konqueror@gmx.de>
5563
5564         * java/nio/DirectByteBufferImpl.java
5565         (address): Made package private.
5566         (DirectByteBufferImpl): New constructor.
5567         * java/nio/natDirectByteBufferImpl.cc
5568         (allocateImpl): Moved to java.nio namespace, implemented.
5569         (freeImpl): Likewise.
5570         (getImpl): Likewise.
5571         (putImpl): Likewise.
5572         * jni.cc
5573         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5574         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5575         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5576
5577 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5578
5579         * include/powerpc-signal.h: New File.
5580         * configure.in: Use it.
5581         * configure: Regenerated.
5582
5583 2003-06-17  Michael Koch  <konqueror@gmx.de>
5584
5585         * java/util/Locale.java
5586         (getDisplayLanguage): Made it final.
5587         (getDisplayCountry): Likewise.
5588         (getDisplayVariant): Likewise.
5589         (getDisplayName): Likewise.
5590
5591 2003-06-17  Michael Koch  <konqueror@gmx.de>
5592
5593         * java/util/PropertyResourceBundle.java:
5594         Removed unneeded import.
5595
5596 2003-06-17  Michael Koch  <konqueror@gmx.de>
5597
5598         * java/util/prefs/AbstractPreferences.java,
5599         java/util/prefs/PreferencesFactory.java:
5600         Reworked imports, removed unused imports.
5601         * java/util/prefs/Preferences.java
5602         (systemNodeForPackage): Method takes a Class not an Object.
5603         (userNodeForPackage): Likewise.
5604         (nodeForPackage): Likewise.
5605
5606 2003-06-17  Michael Koch  <konqueror@gmx.de>
5607
5608         * gnu/java/security/x509/X509Certificate.java:
5609         Explicitely import used classes.
5610
5611 2003-06-17  Michael Koch  <konqueror@gmx.de>
5612
5613         * java/util/zip/ZipEntry.java,
5614         java/util/zip/ZipFile.java,
5615         java/util/zip/ZipInputStream.java,
5616         java/util/zip/ZipOutputStream.java:
5617         Reworked imports, only import used classes.
5618
5619 2003-06-17  Michael Koch  <konqueror@gmx.de>
5620
5621         * gnu/java/lang/ArrayHelper.java,
5622         gnu/java/lang/ClassHelper.java:
5623         Reformatted to match classpath's versions.
5624
5625 2003-06-14  Michael Koch  <konqueror@gmx.de>
5626
5627         * gnu/java/nio/FileChannelImpl.java
5628         (map_address): Removed incorrect comment.        
5629         * gnu/java/nio/SelectorImpl.java
5630         (register): Remove code duplication and code for file channel handling.        
5631         * gnu/java/nio/ServerSocketChannelImpl.java
5632         (serverSocket): Renamed from sock_object.
5633         (ServerSocketChannel): Initialize serverSocket.
5634         (socket): Return serverSocket.
5635         * gnu/java/nio/SocketChannelImpl.java
5636         (socket): Renamed from sock_object.
5637         (isConnectionPenging): Simplified.
5638         (socket): Return socket.
5639 2003-06-14  Michael Koch  <konqueror@gmx.de>
5640
5641         * java/security/BasicPermission.java:
5642         New version from classpath.
5643
5644 2003-06-14  Michael Koch  <konqueror@gmx.de>
5645
5646         * javax/naming/directory/Attribute.java:
5647         New version from classpath.
5648
5649 2003-06-14  Michael Koch  <konqueror@gmx.de>
5650
5651         * java/io/BufferedReader.java,
5652         java/io/FileOutputStream.java:
5653         New versions from classpath.
5654
5655 2003-06-12  Andrew Haley  <aph@redhat.com>
5656
5657         * prims.cc (catch_segv): Create exception in handler.
5658         (catch_fpe): Likewise.  
5659         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5660         (_Jv_ThrowSignal): Remove.
5661
5662         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5663         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5664         to nullp and arithexception.
5665         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5666         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5667         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5668         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5669         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5670
5671 2003-06-11  Andrew Haley  <aph@redhat.com>
5672
5673         * jni.cc (_Jv_JNI_check_types): New.
5674         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5675         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5676         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5677         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5678         
5679         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5680         infinite loop.
5681
5682 2003-06-11  Tom Tromey  <tromey@redhat.com>
5683
5684         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5685         * java/io/PrintStream.java: Not deprecated.
5686
5687 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5688
5689         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5690         (fillOval): implemented
5691         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5692         (fillArc): implemented.
5693         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5694         (fillArc): added native method.
5695         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5696         (fillArc): added native method.
5697
5698 2003-06-11  Michael Koch  <konqueror@gmx.de>
5699
5700         * java/awt/im/InputSubset.java:
5701         New version from classpath.
5702
5703 2003-06-11  Michael Koch  <konqueror@gmx.de>
5704
5705         * javax/swing/AbstractAction.java,
5706         javax/swing/AbstractButton.java,
5707         javax/swing/AbstractCellEditor.java,
5708         javax/swing/AbstractListModel.java,
5709         javax/swing/BorderFactory.java,
5710         javax/swing/Box.java,
5711         javax/swing/BoxLayout.java,
5712         javax/swing/ButtonGroup.java,
5713         javax/swing/DefaultButtonModel.java,
5714         javax/swing/DefaultListModel.java,
5715         javax/swing/DefaultListSelectionModel.java,
5716         javax/swing/FocusManager.java,
5717         javax/swing/ImageIcon.java,
5718         javax/swing/InputMap.java,
5719         javax/swing/JApplet.java,
5720         javax/swing/JButton.java,
5721         javax/swing/JCheckBox.java,
5722         javax/swing/JCheckBoxMenuItem.java,
5723         javax/swing/JColorChooser.java,
5724         javax/swing/JComboBox.java,
5725         javax/swing/JComponent.java,
5726         javax/swing/JDesktopPane.java,
5727         javax/swing/JDialog.java,
5728         javax/swing/JEditorPane.java,
5729         javax/swing/JFileChooser.java,
5730         javax/swing/JFormattedTextField.java,
5731         javax/swing/JFrame.java,
5732         javax/swing/JLabel.java,
5733         javax/swing/JLayeredPane.java,
5734         javax/swing/JList.java,
5735         javax/swing/JMenuBar.java,
5736         javax/swing/JMenuItem.java,
5737         javax/swing/JOptionPane.java,
5738         javax/swing/JPanel.java,
5739         javax/swing/JPasswordField.java,
5740         javax/swing/JPopupMenu.java,
5741         javax/swing/JProgressBar.java,
5742         javax/swing/JRadioButton.java,
5743         javax/swing/JRadioButtonMenuItem.java,
5744         javax/swing/JRootPane.java,
5745         javax/swing/JScrollBar.java,
5746         javax/swing/JScrollPane.java,
5747         javax/swing/JSeparator.java,
5748         javax/swing/JSlider.java,
5749         javax/swing/JTabbedPane.java,
5750         javax/swing/JTable.java,
5751         javax/swing/JTextField.java,
5752         javax/swing/JToggleButton.java,
5753         javax/swing/JToolBar.java,
5754         javax/swing/JToolTip.java,
5755         javax/swing/JTree.java,
5756         javax/swing/JViewport.java,
5757         javax/swing/JWindow.java,
5758         javax/swing/KeyStroke.java,
5759         javax/swing/ListSelectionModel.java,
5760         javax/swing/LookAndFeel.java,
5761         javax/swing/RepaintManager.java,
5762         javax/swing/ScrollPaneLayout.java,
5763         javax/swing/SizeRequirements.java,
5764         javax/swing/SwingConstants.java,
5765         javax/swing/Timer.java,
5766         javax/swing/UIDefaults.java,
5767         javax/swing/UIManager.java,
5768         javax/swing/border/AbstractBorder.java,
5769         javax/swing/border/CompoundBorder.java,
5770         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5771         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5772         javax/swing/colorchooser/ColorSelectionModel.java,
5773         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5774         javax/swing/event/AncestorEvent.java,
5775         javax/swing/event/HyperlinkEvent.java,
5776         javax/swing/event/InternalFrameAdapter.java,
5777         javax/swing/event/InternalFrameEvent.java,
5778         javax/swing/event/ListDataEvent.java,
5779         javax/swing/event/MouseInputAdapter.java,
5780         javax/swing/event/SwingPropertyChangeSupport.java,
5781         javax/swing/event/TableModelEvent.java,
5782         javax/swing/event/TreeWillExpandListener.java,
5783         javax/swing/event/UndoableEditEvent.java,
5784         javax/swing/filechooser/FileFilter.java,
5785         javax/swing/filechooser/FileSystemView.java,
5786         javax/swing/filechooser/FileView.java,
5787         javax/swing/plaf/BorderUIResource.java,
5788         javax/swing/plaf/basic/BasicDefaults.java,
5789         javax/swing/table/AbstractTableModel.java,
5790         javax/swing/table/DefaultTableCellRenderer.java,
5791         javax/swing/table/DefaultTableColumnModel.java,
5792         javax/swing/table/DefaultTableModel.java,
5793         javax/swing/table/TableColumn.java,
5794         javax/swing/text/JTextComponent.java,
5795         javax/swing/tree/AbstractLayoutCache.java,
5796         javax/swing/tree/DefaultMutableTreeNode.java,
5797         javax/swing/tree/DefaultTreeCellEditor.java,
5798         javax/swing/tree/DefaultTreeCellRenderer.java,
5799         javax/swing/tree/DefaultTreeModel.java,
5800         javax/swing/tree/DefaultTreeSelectionModel.java,
5801         javax/swing/tree/FixedHeightLayoutCache.java,
5802         javax/swing/tree/TreeCellEditor.java,
5803         javax/swing/tree/TreeModel.java,
5804         javax/swing/tree/TreeNode.java,
5805         javax/swing/tree/TreePath.java,
5806         javax/swing/tree/TreeSelectionModel.java,
5807         javax/swing/tree/VariableHeightLayoutCache.java,
5808         javax/swing/undo/AbstractUndoableEdit.java,
5809         javax/swing/undo/CompoundEdit.java,
5810         javax/swing/undo/StateEdit.java,
5811         javax/swing/undo/UndoManager.java,
5812         javax/swing/undo/UndoableEditSupport.java:
5813         New versions from classpath.
5814         * javax/swing/table/JTableHeader.java:
5815         New file from classpath.
5816         * Makefile.am
5817         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5818         * Makefile.in: Regenerated.
5819
5820 2003-06-11  Michael Koch  <konqueror@gmx.de>
5821
5822         * java/nio/MappedByteBuffer.java,
5823         java/nio/channels/Channels.java,
5824         java/nio/channels/ServerSocketChannel.java,
5825         java/nio/channels/spi/AbstractSelector.java:
5826         Removed unneeded imports.
5827
5828 2003-06-11  Michael Koch  <konqueror@gmx.de>
5829
5830         * java/net/DatagramSocket.java:
5831         Partly merged with classpath.
5832
5833 2003-06-11  Michael Koch  <konqueror@gmx.de>
5834
5835         * java/awt/Frame.java,
5836         java/awt/Graphics.java,
5837         java/awt/Menu.java,
5838         java/awt/Robot.java,
5839         java/awt/image/ColorModel.java:
5840         New versions from classpath.
5841
5842 2003-06-10  Michael Koch  <konqueror@gmx.de>
5843
5844         * java/io/PrintStream.java:
5845         Merged version from classpath.
5846         (close): Removed sychronized keyword. This class is not garantied to
5847         be thread-safe.
5848         (write): Likewise.
5849
5850 2003-06-09  Tom Tromey  <tromey@redhat.com>
5851
5852         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5853         field.
5854         (getDescent): Likewise, for "descent".
5855
5856 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5857
5858         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5859         (getMaxDescent): adjusted return value.
5860         (getAscent): modified to use metrics for 'O'.
5861         (getDescent): modified to use metrics for 'y'.
5862
5863 2003-06-08  Anthony Green  <green@redhat.com>
5864
5865         * java/net/URLStreamHandler.java (sameFile): Fix port value
5866         comparison.
5867         * java/net/URL.java (handler): Make package private.
5868         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5869
5870 2003-06-07  Tom Tromey  <tromey@redhat.com>
5871
5872         For PR libgcj/11085:
5873         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5874         Limit number of characters in numeric field when required.
5875         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5876         Respect maximumIntegerDigits.
5877
5878 2003-06-08  Michael Koch  <konqueror@gmx.de>
5879
5880         * java/net/Socket.java
5881         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5882         call bind() and connect() to actually do the bind and connect tasks.
5883         (bind): Connect to canonical address if bindpoint is null, create
5884         socket and bind it to bindpoint.
5885         (connect): Check for exceptions.
5886
5887 2003-06-08  Michael Koch  <konqueror@gmx.de>
5888
5889         * java/net/DatagramSocket.java
5890         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5891         into the Multicast constructors.
5892         * java/net/DatagramSocketImpl.java
5893         (getOption): Removed.
5894         (setOption): Removed.
5895         * java/net/MulticastSocket.java
5896         (MulticastSocket): Call setReuseAddress (true).
5897         * java/net/SocketImpl.java
5898         (getOption): Removed.
5899         (setOption): Removed.
5900
5901 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5902
5903         PR libgcj/10886:
5904         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5905         Test for empty vector.
5906
5907 2003-06-06  Mark Wielaard  <mark@klomp.org>
5908
5909         * java/security/Security.java (secprops): Initialize.
5910         (loadProviders): Return boolean.
5911         (static): Check result of loadProvider calls. If necessary
5912         display WARNING and fallback to Gnu provider.
5913
5914 2002-06-06  James Clark  <jjc@jclark.com>
5915
5916         Fix for PR libgcj/8738:
5917         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5918         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5919         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5920         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5921         (write): Always decrease avail when count is increased.
5922         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5923         and whether output buffer is full before increasing size.
5924
5925 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5926
5927         * java/io/PrintStream.java (writeChars(char[],int, int)):
5928         Check converter.havePendingBytes().
5929         (writeChars(String,int,int)): Likewise.
5930         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5931         Check converter.havePendingBytes() and flush buffer when stalled.
5932
5933 2003-06-07  Michael Koch  <konqueror@gmx.de>
5934
5935         * include/posix.h
5936         (O_DSYNC): Define O_DSYNC on platforms not
5937         supporting O_FSYNC (newlib).
5938
5939 2003-06-06  Mark Wielaard  <mark@klomp.org>
5940
5941         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5942         AWTError.
5943
5944 2003-06-06  Michael Koch  <konqueror@gmx.de>
5945
5946         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5947         More compile fixes from my stupid work yesterday.
5948
5949 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5950
5951         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5952         if _IEEE_LIBM is undefined.
5953
5954 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5955
5956         * libjava/include/posix.h (O_SYNC): Define if not available
5957         and a reasonable, perhaps more conservative, replacement exists.
5958         (O_DSYNC): Likewise.
5959         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5960
5961 2003-06-05  Michael Koch  <konqueror@gmx.de>
5962
5963         * javax/swing/plaf/BorderUIResource.java,
5964         javax/swing/plaf/basic/BasicDefaults.java,
5965         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5966         More compile fixes for latest Border commit. I should not commit
5967         something in this heat here ...
5968
5969 2003-06-05  Michael Koch  <konqueror@gmx.de>
5970
5971         * javax/swing/border/BevelBorder.java
5972         (BevelBorder): Removed.
5973         * javax/swing/border/EmptyBorder.java:
5974         Reformatted.
5975         (EmptyBorder): Removed.
5976         (getBorderInsets): Dont use l, r, t and b.
5977         * javax/swing/border/EtchedBorder.java
5978         (EtchedBorder): Removed.
5979         * javax/swing/border/LineBorder.java
5980         (LineBorder): Removed.
5981         * javax/swing/border/MatteBorder.java
5982         (MatteBorder): Removed.
5983         * javax/swing/border/TitledBorder.java
5984         (defaultBorder): Use other default for now.
5985         (defaultFont): Likewise.
5986         (defaultColor): Likewise.
5987
5988 2003-06-05  Michael Koch  <konqueror@gmx.de>
5989
5990         * javax/swing/border/Border.java:
5991         New version from classpath.
5992
5993 2003-06-05  Michael Koch  <konqueror@gmx.de>
5994
5995         * javax/swing/border/AbstractBorder.java,
5996         javax/swing/border/BevelBorder.java,
5997         javax/swing/border/CompoundBorder.java,
5998         javax/swing/border/EmptyBorder.java,
5999         javax/swing/border/EtchedBorder.java,
6000         javax/swing/border/LineBorder.java,
6001         javax/swing/border/MatteBorder.java,
6002         javax/swing/border/TitledBorder.java:
6003         New versions from Classpath.
6004
6005 2003-06-05  Michael Koch  <konqueror@gmx.de>
6006
6007         * java/awt/Button.java,
6008         java/awt/Checkbox.java,
6009         java/awt/CheckboxMenuItem.java,
6010         java/awt/Choice.java,
6011         java/awt/Container.java,
6012         java/awt/Dialog.java,
6013         java/awt/EventQueue.java,
6014         java/awt/FileDialog.java,
6015         java/awt/Frame.java,
6016         java/awt/Label.java,
6017         java/awt/List.java,
6018         java/awt/Menu.java,
6019         java/awt/MenuItem.java,
6020         java/awt/Panel.java,
6021         java/awt/PopupMenu.java,
6022         java/awt/Rectangle.java,
6023         java/awt/ScrollPane.java,
6024         java/awt/Scrollbar.java,
6025         java/awt/TextArea.java,
6026         java/awt/TextField.java,
6027         java/awt/Window.java,
6028         java/awt/datatransfer/DataFlavor.java,
6029         java/awt/dnd/DragSource.java,
6030         java/awt/dnd/DragSourceContext.java,
6031         java/awt/event/HierarchyEvent.java,
6032         java/awt/event/MouseWheelEvent.java,
6033         java/awt/im/InputContext.java,
6034         java/awt/image/BufferedImage.java,
6035         java/awt/image/ComponentColorModel.java,
6036         java/awt/image/Raster.java,
6037         java/awt/image/WritableRaster.java,
6038         java/awt/peer/ComponentPeer.java,
6039         java/awt/print/PageFormat.java,
6040         java/awt/print/PrinterJob.java:
6041         New versions from Classpath.
6042
6043 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6044
6045         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6046         numberFormat.setParseIntegerOnly(true).
6047
6048 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6049
6050         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6051
6052 2003-06-03  Andrew Haley  <aph@redhat.com>
6053
6054         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6055         stack volatile to prevent optimization from removing it.
6056
6057 2003-05-27  Michael Koch  <konqueror@gmx.de>
6058
6059         * java/util/zip/Deflater.java
6060         (FILTERED): Merged documentation from classpath.
6061         * java/util/zip/DeflaterOutputStream.java
6062         (DeflaterOutputStream): Merged documentation and argument validity
6063         check from classpath.
6064         (deflate): Merged documentation from classpath.
6065         (finish): Likewise.
6066         * java/util/zip/Inflater.java
6067         (Inflater): Merged class documentation from classpath.
6068         (zstream): Reordered.
6069         (is_finished): Reordered.
6070         (dict_needed): Reordered.
6071         (Inflater): Reordered, merged documentation from classpath.
6072         (end): Likewise.
6073         (finalize): Merged documentation from classpath.
6074         (finished): Likewise.
6075         (getAdler): Likewise.
6076         (getRemaining): Likewise.
6077         (getTotalIn): Likewise.
6078         (getTotalOut): Likewise.
6079         (inflate): Likewise.
6080         (needsDictionary): Likewise.
6081         (needsInput): Likewise.
6082         (reset): Likewise.
6083         (setDictionary): Likewise.
6084         (setInput): Likewise.
6085
6086 2003-05-27  Michael Koch  <konqueror@gmx.de>
6087
6088         * java/net/URLConnection.java
6089         (getHeaderFieldInt): Merged with classpath.
6090
6091 2003-05-27  Michael Koch  <konqueror@gmx.de>
6092
6093         * java/io/PrintStream.java
6094         (PrintStream): Reformatted.
6095         (PrintStream): New method, merged from classpath.
6096         (write): Reformatted.
6097
6098 2003-05-27  Michael Koch  <konqueror@gmx.de>
6099
6100         * java/lang/System.java:
6101         Explicitely import needed classes.
6102
6103 2003-05-26  Michael Koch  <konqueror@gmx.de>
6104
6105         * java/net/NetPermission.java,
6106         java/net/NetworkInterface.java,
6107         java/net/PasswordAuthentication.java,
6108         java/net/SocketPermission.java:
6109         New versions from classpath.
6110
6111 2003-05-25  Michael Koch  <konqueror@gmx.de>
6112
6113         * java/io/PushbackInputStream.java,
6114         java/net/Authenticator.java,
6115         java/net/ContentHandler.java,
6116         java/net/ContentHandlerFactory.java,
6117         java/net/DatagramSocket.java,
6118         java/net/DatagramSocketImpl.java,
6119         java/net/DatagramSocketImplFactory.java,
6120         java/net/FileNameMap.java,
6121         java/net/SocketImplFactory.java,
6122         java/net/SocketOptions.java,
6123         java/net/URLStreamHandlerFactory.java:
6124         Merged new versions from classpath.
6125
6126 2003-05-25  Michael Koch  <konqueror@gmx.de>
6127
6128         * java/awt/Checkbox.java,
6129         java/awt/Dialog.java,
6130         java/awt/Font.java,
6131         java/awt/Frame.java,
6132         java/awt/ScrollPaneAdjustable.java,
6133         java/awt/Scrollbar.java,
6134         java/awt/Window.java:
6135         New versions from classpath.
6136
6137 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6138
6139         PR libgcj/10838:
6140         * java/io/ObjectInputStream (enableResolveObject):
6141         Fixed spelling of permission name.
6142
6143 2003-05-20  Michael Koch  <konqueror@gmx.de>
6144
6145         * java/io/DataInputStream.java
6146         (convertFromUTF): Merged comment from classpath.
6147         * java/io/PrintStream.java
6148         (error_occured): Renamed from error, merged comment from classpath.
6149         (PrintStream): No need to initialized error.
6150         (checkError): Replace error with error_occurred.
6151         (setError): Likewise.
6152
6153 2003-05-20  Michael Koch  <konqueror@gmx.de>
6154
6155         * java/io/DataInputStream.java:
6156         Reformatted, Replaced < and & with html entitites in documentation.
6157         * java/io/File.java:
6158         Reformatted.
6159         * java/io/PrintWriter.java:
6160         Moved class documentation.
6161
6162 2003-05-20  Michael Koch  <konqueror@gmx.de>
6163
6164         * gnu/java/nio/ByteBufferImpl.java,
6165         gnu/java/nio/CharBufferImpl.java,
6166         gnu/java/nio/CharViewBufferImpl.java,
6167         gnu/java/nio/DirectByteBufferImpl.java,
6168         gnu/java/nio/DoubleBufferImpl.java,
6169         gnu/java/nio/DoubleViewBufferImpl.java,
6170         gnu/java/nio/FloatBufferImpl.java,
6171         gnu/java/nio/FloatViewBufferImpl.java,
6172         gnu/java/nio/IntBufferImpl.java,
6173         gnu/java/nio/IntViewBufferImpl.java,
6174         gnu/java/nio/LongBufferImpl.java,
6175         gnu/java/nio/LongViewBufferImpl.java,
6176         gnu/java/nio/natDirectByteBufferImpl.cc,
6177         gnu/java/nio/ShortBufferImpl.java,
6178         gnu/java/nio/ShortViewBufferImpl.java:
6179         Moved files to java/nio.
6180         * gnu/java/nio/SocketChannelImpl.java
6181         
6182         * java/nio/ByteBuffer.java,
6183         java/nio/CharBuffer.java,
6184         java/nio/DoubleBuffer.java,
6185         java/nio/FloatBuffer.java,
6186         java/nio/IntBuffer.java,
6187         java/nio/LongBuffer.java,
6188         java/nio/ShortBuffer.java:
6189         Dont import anything.
6190         * java/nio/ByteBufferImpl.java,
6191         java/nio/CharBufferImpl.java,
6192         java/nio/CharViewBufferImpl.java,
6193         java/nio/DirectByteBufferImpl.java,
6194         java/nio/DoubleBufferImpl.java,
6195         java/nio/DoubleViewBufferImpl.java,
6196         java/nio/FloatBufferImpl.java,
6197         java/nio/FloatViewBufferImpl.java,
6198         java/nio/IntBufferImpl.java,
6199         java/nio/IntViewBufferImpl.java,
6200         java/nio/LongBufferImpl.java,
6201         java/nio/LongViewBufferImpl.java,
6202         java/nio/natDirectByteBufferImpl.cc,
6203         java/nio/ShortBufferImpl.java,
6204         java/nio/ShortViewBufferImpl.java:
6205         Moved from gnu/java/nio.
6206         * Makefile.am
6207         (ordinary_java_source_files): Moved files from gnu/java/nio to
6208         java/nio.
6209         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6210         to java/nio.
6211         * Makefile.in: Regenerated.
6212
6213 2003-05-19  Michael Koch  <konqueror@gmx.de>
6214
6215         * java/util/Calendar.java
6216         (get): Not final anymore since JDK 1.4
6217         (set): Likewise.
6218
6219 2003-05-19  Michael Koch  <konqueror@gmx.de>
6220
6221         * java/text/CollationKey.java:
6222         Merged copyright and dat from classpath.
6223         * java/text/RuleBasedCollator.java:
6224         Merged class documentation from classpath.
6225
6226 2003-05-19  Michael Koch  <konqueror@gmx.de>
6227
6228         * java/nio/CharBuffer.java
6229         (toString): Compile fix.
6230
6231 2003-05-19  Michael Koch  <konqueror@gmx.de>
6232
6233         * gnu/java/nio/ByteBufferImpl.java
6234         (putLong): Fixed conversion to bytes.
6235         (putDouble): Fixed conversion to bytes.
6236         * gnu/java/nio/DirectByteBufferImpl.java
6237         (putLong): Fixed conversion to bytes.
6238         (putDouble): Fixed conversion to bytes.
6239         * gnu/java/nio/FileLockImpl.java
6240         (isValid): Reformatted.
6241         * java/nio/Buffer.java
6242         (Buffer): Fixed off-by-one bug in handling mark.
6243         * java/nio/ByteBuffer.java:
6244         Added newline.
6245         * java/nio/CharBuffer.java
6246         (toString): Don't use relative get to get string data.
6247
6248 2003-05-16  Michael Koch  <konqueror@gmx.de>
6249
6250         * java/io/natFileDescriptorPosix.cc
6251         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6252         tested.
6253
6254 2003-05-14  Michael Koch  <konqueror@gmx.de>
6255
6256         * gnu/java/nio/FileLockImpl.java
6257         (released): New member variable.
6258         (FileLockImpl): Initialize released.
6259         (releaseImpl): New native method.
6260         (release): Implemented.
6261         * gnu/java/nio/SelectorImpl.java: Reformatted.
6262         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6263         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6264         (accept): Throws IOException.
6265         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6266         (implConfigureBlocking): Throws IOException.
6267         (connect): Likewise.
6268         (read): Likewise.
6269         (write): Likewise.
6270         * gnu/java/nio/natFileLockImpl.cc: New file.
6271         * java/nio/channels/FileLock.java: Reformatted.
6272         * Makefile.am:
6273         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6274         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6275         * Makefile.in: Regenerated.
6276
6277 2003-05-13  Michael Koch  <konqueror@gmx.de>
6278
6279         * gnu/java/nio/CharViewBufferImpl.java
6280         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6281         (get): Shift bits to the right direction.
6282         (put): Likewise.
6283         * gnu/java/nio/DoubleViewBufferImpl.java
6284         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6285         (get): Shift bits to the right direction.
6286         (put): Likewise.
6287         * gnu/java/nio/FloatViewBufferImpl.java
6288         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6289         (get): Shift bits to the right direction.
6290         (put): Likewise.
6291         * gnu/java/nio/IntViewBufferImpl.java
6292         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6293         (get): Shift bits to the right direction.
6294         (put): Likewise.
6295         * gnu/java/nio/LongViewBufferImpl.java
6296         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6297         (get): Shift bits to the right direction.
6298         (put): Likewise.
6299         * gnu/java/nio/ShortViewBufferImpl.java
6300         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6301         (get): Shift bits to the right direction.
6302         (put): Likewise.
6303
6304 2003-05-13  Michael Koch  <konqueror@gmx.de>
6305
6306         * gnu/java/nio/natDirectByteBufferImpl.cc
6307         (allocateImpl): jlong -> RawData*.
6308         (freeImpl): Likewise.
6309
6310 2003-05-13  Michael Koch  <konqueror@gmx.de>
6311
6312         * java/nio/channels/FileChannel.java
6313         (MapMode.m): Made it package-private to match JDK 1.4.
6314         * java/nio/charset/Charset.java
6315         (decode): Made it final to match JDK 1.4.
6316
6317 2003-05-13  Michael Koch  <konqueror@gmx.de>
6318
6319        * java/io/FileDescriptor.java
6320        (SYNC): New constant.
6321        (DSYNC): Likewise.
6322        (getLength): Renamed from lenght() to match classpath's
6323        FileDescriptor.java.
6324        * java/io/RandomAccessFile.java
6325        (RandomAccessFile): Removed unneeded mode check, implemented mode
6326        "rws" and "rwd", merged documentation from classpath.
6327        (setLength): Reformatted.
6328        (length): Use new getLength() of FileDescriptor.
6329        * java/io/natFileDescriptorEcos.cc
6330        (getLength): Renamed from length().
6331        * java/io/natFileDescriptorPosix.cc
6332        (open): Implemented support for SYNC and DSYNC.
6333        (seek): Use getLength() instead of length().
6334        (getLength): Renamed from length().
6335        * java/io/natFileDescriptorWin32.cc
6336        (getLength): Renamed from length().
6337        (seek): Use getLength() instead of length().
6338        (available): Likewise.
6339        * gnu/java/nio/natFileChannelImpl.cc
6340        (size): Use getLength() instead of length().
6341
6342 2003-05-13  Michael Koch  <konqueror@gmx.de>
6343
6344         * gnu/java/nio/ByteBufferImpl.java
6345         (ByteBufferImpl): All constructors revised.
6346         (slice): Reimplemented.
6347         (duplicate): Reimplemented.
6348         (asReadOnlyBuffer): Reimplemented.
6349         * java/nio/ByteBuffer.java:
6350         Reformatted.
6351         (array_offset): Renamed from "offset" to match all other buffer
6352         classes.
6353         (ByteBuffer): All constructors revised.
6354         (allocateDirect): Implemented.
6355         (allocate): New implementation, documentation reworked.
6356         (wrap): Likewise.
6357         (get): Documentation reworked.
6358         (put): New implementation, documentation reworked.
6359         (hasArray): Documentation reworked.
6360         (arrayOffset): Likewise.
6361         (hashCode): Likewise.
6362         (equals): Likewise.
6363         (compareTo): Likewise.
6364         (order): Likewise.
6365         (compact): Likewise.
6366         (isDirect): Likewise.
6367         (slice): Likewise.
6368         (duplicate): Likewise.
6369         (asReadOnlyBuffer): Likewise.
6370         * Makefile.am
6371         (ordinary_java_source_files):
6372         Added gnu/java/nio/DirectByteBufferImpl.java.
6373         (nat_source_files):
6374         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6375         * Makefile.in: Regenerated.
6376
6377 2003-05-12  Michael Koch  <konqueror@gmx.de>
6378
6379         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6380         (nio_get_*): Removed.
6381         (nio_put_*): Removed.
6382         (as*Buffer): Implemented.
6383         (compact): Implemented.
6384         (get): Documentation added.
6385         (put): Documentation added.
6386         (get*): Newly implemented.
6387         (put*): Newly implemented.
6388         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6389         (CharBufferImpl): Revised.
6390         (slice): New implementation.
6391         (duplicate): New implementation.
6392         (compact): New implementation.
6393         (asReadOnlyBuffer): New implementation.
6394         (get): Documentation revised.
6395         (order): Return native byte order.
6396         * gnu/java/nio/DirectByteBufferImpl.java
6397         (allocateDirect): objects can be null not 0.
6398         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6399         (DoubleBufferImpl): Revised.
6400         (slice): New implementation.
6401         (duplicate): New implementation.
6402         (compact): New implementation.
6403         (asReadOnlyBuffer): New implementation.
6404         (get): Documentation revised.
6405         (order): Return native byte order.
6406         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6407         (FloatBufferImpl): Revised.
6408         (slice): New implementation.
6409         (duplicate): New implementation.
6410         (compact): New implementation.
6411         (asReadOnlyBuffer): New implementation.
6412         (get): Documentation revised.
6413         (order): Return native byte order.
6414         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6415         (IntBufferImpl): Revised.
6416         (slice): New implementation.
6417         (duplicate): New implementation.
6418         (compact): New implementation.
6419         (asReadOnlyBuffer): New implementation.
6420         (get): Documentation revised.
6421         (order): Return native byte order.
6422         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6423         (LongBufferImpl): Revised.
6424         (slice): New implementation.
6425         (duplicate): New implementation.
6426         (compact): New implementation.
6427         (asReadOnlyBuffer): New implementation.
6428         (get): Documentation revised.
6429         (order): Return native byte order.
6430         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6431         (ShortBufferImpl): Revised.
6432         (slice): New implementation.
6433         (duplicate): New implementation.
6434         (compact): New implementation.
6435         (asReadOnlyBuffer): New implementation.
6436         (get): Documentation revised.
6437         (order): Return native byte order.
6438         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6439         (CharBuffer): Revised.
6440         (order): Removed.
6441         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6442         (DoubleBuffer): Revised.
6443         (allocateDirect): Removed.
6444         (order): Removed.
6445         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6446         (FloatBuffer): Revised.
6447         (allocateDirect): Removed.
6448         (order): Removed.
6449         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6450         (IntBuffer): Revised.
6451         (allocateDirect): Removed.
6452         (order): Removed.
6453         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6454         (LongBuffer): Revised.
6455         (allocateDirect): Removed.
6456         (order): Removed.
6457         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6458         (ShortBuffer): Revised.
6459         (allocateDirect): Removed.
6460         (order): Removed.
6461         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6462         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6463         * Makefile.am
6464         (ordinary_java_source_files): Added the following files:
6465         gnu/java/nio/CharViewBufferImpl.java,
6466         gnu/java/nio/DoubleViewBufferImpl.java,
6467         gnu/java/nio/FloatViewBufferImpl.java,
6468         gnu/java/nio/IntViewBufferImpl.java,
6469         gnu/java/nio/LongViewBufferImpl.java,
6470         gnu/java/nio/ShortViewBufferImpl.java
6471         (nat_source_files): Removed the following files:
6472         gnu/java/nio/natByteBufferImpl.cc,
6473         gnu/java/nio/natCharBufferImpl.cc
6474         * Makefile.in: Regenerated.
6475
6476 2003-05-12  Michael Koch  <konqueror@gmx.de>
6477
6478         * gnu/java/nio/CharViewBufferImpl.java,
6479         gnu/java/nio/DirectByteBufferImpl.java,
6480         gnu/java/nio/DoubleViewBufferImpl.java,
6481         gnu/java/nio/FloatViewBufferImpl.java,
6482         gnu/java/nio/IntViewBufferImpl.java,
6483         gnu/java/nio/LongViewBufferImpl.java,
6484         gnu/java/nio/ShortViewBufferImpl.java,
6485         gnu/java/nio/natDirectByteBufferImpl.cc:
6486         New files, not yet to be compiled.
6487
6488 2003-05-10  Michael Koch  <konqueror@gmx.de>
6489
6490         * javax/swing/plaf/ButtonUI.java,
6491         javax/swing/plaf/ColorUIResource.java,
6492         javax/swing/plaf/ComponentUI.java,
6493         javax/swing/plaf/DimensionUIResource.java,
6494         javax/swing/plaf/FontUIResource.java,
6495         javax/swing/plaf/IconUIResource.java,
6496         javax/swing/plaf/InsetsUIResource.java,
6497         javax/swing/plaf/LabelUI.java,
6498         javax/swing/plaf/ListUI.java,
6499         javax/swing/plaf/OptionPaneUI.java,
6500         javax/swing/plaf/PanelUI.java,
6501         javax/swing/plaf/TabbedPaneUI.java,
6502         javax/swing/plaf/TextUI.java,
6503         javax/swing/plaf/TreeUI.java,
6504         javax/swing/plaf/ViewportUI.java,
6505         javax/swing/plaf/basic/BasicBorders.java,
6506         javax/swing/plaf/basic/BasicButtonUI.java,
6507         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6508         javax/swing/plaf/basic/BasicDefaults.java,
6509         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6510         javax/swing/plaf/basic/BasicIconFactory.java,
6511         javax/swing/plaf/basic/BasicLabelUI.java,
6512         javax/swing/plaf/basic/BasicListUI.java,
6513         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6514         javax/swing/plaf/basic/BasicPanelUI.java,
6515         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6516         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6517         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6518         javax/swing/plaf/basic/BasicTextUI.java,
6519         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6520         javax/swing/plaf/basic/BasicTreeUI.java,
6521         javax/swing/plaf/basic/BasicViewportUI.java,
6522         javax/swing/plaf/metal/MetalLookAndFeel.java:
6523         New versions from classpath. This adds copyrights to all files and
6524         some serialVersionUIDs.
6525
6526 2003-05-10  Michael Koch  <konqueror@gmx.de>
6527
6528         * java/nio/CharBuffer.java
6529         (offset): Make it package-private.
6530         (backing_buffer): Likewise.
6531         * java/nio/DoubleBuffer.java
6532         (offset): Make it package-private.
6533         (backing_buffer): Likewise.
6534         (put): Reformatted.
6535         * java/nio/FloatBuffer.java
6536         (offset): Make it package-private.
6537         (backing_buffer): Likewise.
6538         * java/nio/IntBuffer.java
6539         (offset): Make it package-private.
6540         (backing_buffer): Likewise.
6541         * java/nio/LongBuffer.java
6542         (offset): Make it package-private.
6543         (backing_buffer): Likewise.
6544         * java/nio/ShortBuffer.java
6545         (offset): Make it package-private.
6546         (backing_buffer): Likewise.
6547
6548 2003-05-10  Michael Koch  <konqueror@gmx.de>
6549
6550         * java/nio/CharBuffer.java
6551         (put): Fixed precondtion check.
6552         (toString): Make it work without backing array.
6553         (put): Skip one level of method calling.
6554
6555 2003-05-10  Michael Koch  <konqueror@gmx.de>
6556
6557         * java/security/Identity.java,
6558         java/security/IdentityScope.java,
6559         java/security/Key.java,
6560         java/security/KeyPair.java,
6561         java/security/PrivateKey.java,
6562         java/security/Provider.java,
6563         java/security/PublicKey.java,
6564         java/security/SecureRandom.java,
6565         java/security/SecureRandomSpi.java,
6566         java/security/SignedObject.java,
6567         java/security/Signer.java,
6568         java/security/cert/Certificate.java,
6569         java/security/cert/PKIXCertPathBuilderResult.java,
6570         java/security/cert/X509Certificate.java:
6571         New versions from classpath.
6572
6573 2003-05-09  Tom Tromey  <tromey@redhat.com>
6574
6575         * Makefile.in: Rebuilt.
6576         * Makefile.am (nat_source_files): Removed old files.
6577         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6578         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6579         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6580         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6581         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6582
6583 2003-05-09  Michael Koch  <konqueror@gmx.de>
6584
6585         * gnu/java/nio/ByteBufferImpl.java
6586         (nio_cast): Removed.
6587         (ByteBufferImpl): Removed.
6588         (nio_get_Byte): Removed.
6589         (nio_put_Byte): Removed.
6590         (asByteBuffer): Removed.
6591         (asCharBuffer): Removed implementation and throw exception.
6592         (asShortBuffer): Likewise.
6593         (asIntBuffer): Likewise.
6594         (asLongBuffer): Likewise.
6595         (asFloatBuffer): Likewise.
6596         (asDoubleBuffer): Likewise.
6597         * gnu/java/nio/CharBufferImpl.java
6598         (CharBufferImpl): Removed.
6599         (nio_get_Byte): Removed.
6600         (nio_put_Byte): Removed.
6601         (asByteBuffer): Removed.
6602         * gnu/java/nio/DoubleBufferImpl.java
6603         (DoubleBufferImpl): Removed.
6604         (nio_get_Byte): Removed.
6605         (nio_put_Byte): Removed.
6606         (asByteBuffer): Removed.
6607         * gnu/java/nio/FloatBufferImpl.java
6608         (FloatBufferImpl): Removed.
6609         (nio_get_Byte): Removed.
6610         (nio_put_Byte): Removed.
6611         (asByteBuffer): Removed.
6612         * gnu/java/nio/IntBufferImpl.java
6613         (IntBufferImpl): Removed.
6614         (nio_get_Byte): Removed.
6615         (nio_put_Byte): Removed.
6616         (asByteBuffer): Removed.
6617         * gnu/java/nio/LongBufferImpl.java
6618         (LongBufferImpl): Removed.
6619         (nio_get_Byte): Removed.
6620         (nio_put_Byte): Removed.
6621         (asByteBuffer): Removed.
6622         * gnu/java/nio/ShortBufferImpl.java
6623         (ShortBufferImpl): Removed.
6624         (nio_get_Byte): Removed.
6625         (nio_put_Byte): Removed.
6626         (asByteBuffer): Removed.
6627         * gnu/java/nio/natByteBufferImpl.cc
6628         (nio_cast): Removed.
6629         (nio_get_Byte): Removed.
6630         (nio_put_Byte): Removed.
6631         * gnu/java/nio/natCharBufferImpl.cc
6632         (nio_get_Byte): Removed.
6633         (nio_put_Byte): Removed.
6634
6635 2003-05-09  Michael Koch  <konqueror@gmx.de>
6636
6637         * java/net/JarURLConnection.java
6638         (getJarEntry): Merged documentation from classpath.
6639         (getJarFile): Likewise.
6640         (getMainAttributes): Likewise.
6641         (getAttributes): Likewise.
6642         (getManifest): Likewise.
6643         (getCertificates): Reformatted.
6644         * java/net/URLConnection.java:
6645         Little classpath merge.
6646
6647 2003-05-09  Michael Koch  <konqueror@gmx.de>
6648
6649         * java/io/DataOutputStream.java
6650         (writeShort): Made it synchronized.
6651         (writeChar): Likewise.
6652         (writeInt): Likewise.
6653         (writeLong): Liekwise.
6654         (writeUTF): Made it synchronized, renamed argument to match classpath.
6655         * java/io/InputStreamReader.java
6656         (converter): Added documentation.
6657         (read): Merged documentation from classpath.
6658         * java/io/OutputStreamWriter.java
6659         (OutputStreamWriter): Merged documentation from classpath.
6660         (close): Reformatted.
6661         (getEncoding): Likewise.
6662         (flush): Likewise.
6663         (write): Merged documentation from classpath, reformatted.
6664
6665 2003-05-08  Tom Tromey  <tromey@redhat.com>
6666
6667         * configure.host <powerpc64*-*>: Set with_libffi_default and
6668         libgcj_interpreter to "yes".
6669
6670 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6671
6672         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6673         
6674 2003-05-06  Tom Tromey  <tromey@redhat.com>
6675
6676         * verify.cc: Reverted previous patch.
6677
6678 2003-05-06  Michael Koch  <konqueror@gmx.de>
6679
6680         * java/io/DataOutputStream.java
6681         (write): Renamed argument to "value", merged documentation from
6682         classpath.
6683         (writeBoolean): Likewise.
6684         (writeByte): Likewise.
6685         (writeShort): Likewise.
6686         (writeChar): Likewise.
6687         (writeInt): Likewise.
6688         (writeLong): Likewise.
6689         (writeFloat): Likewise.
6690         (writeDouble): Likewise.
6691         (writeBytes): Likewise.
6692         (writeChars): Likewise.
6693         (writeUTF): Likewise.
6694         * java/io/File.java
6695         (performDelete): Added documentation.
6696         (performList): Likewise.
6697         (performMkdir): Likewise.
6698         (performSetReadOnly): Likewise.
6699         (performRenameTo): Likewise.
6700         (performSetLastModified): Likewise.
6701         (delete): Made it sychronized.
6702         (renameTo): Made it sychronized.
6703         (equals): Reformatted.
6704         (isHidden): Likewise.
6705         (listFiles): Likewise.
6706         (setReadOnly): Likewise.
6707         (listRoots): Likewise.
6708         (setLastModified): Likewise.
6709         (checkRead): Likewise.
6710         (checkWrite): Likewise.
6711         * java/io/FileInputStream.java
6712         (skip): Made it sychronized, merged from classpath.
6713         * java/io/FileOutputStream.java
6714         (write): Merged from classpath.
6715         * java/io/InputStreamReader.java:
6716         (InputStreamReader): Merged documentation from classpath.
6717
6718 2003-05-05  Michael Koch  <konqueror@gmx.de>
6719
6720         * java/net/NetworkInterface.java
6721         (networkInterfaces): Removed.
6722         (getByName): Use getRealNetworkInterfaces() instead of
6723         networkInterfaces.
6724         (getByInetAddress): Likewise.
6725         (getNetworkInterfaces): Likewise.
6726         (toString): Fix output of addresses of an interface.
6727
6728 2003-05-05  Michael Koch  <konqueror@gmx.de>
6729
6730         * java/io/DataInputStream.java:
6731         Merged new documentation from classpath.
6732
6733 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6734
6735         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6736         "version".
6737         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6738         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6739         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6740         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6741         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6742         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6743         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6744         * java/security/Key.java: Likewise.
6745         * java/security/PrivateKey.java: Likewise.
6746         * java/security/Provider.java: Likewise.
6747         * java/security/PublicKey.java: Likewise.
6748
6749 2003-05-02  Michael Koch  <konqueror@gmx.de>
6750
6751         * java/net/URI.java
6752         (create): Doesnt throws any exceptions.
6753         * java/net/URLConnection.java
6754         (URLConnection): Commend added.
6755         (getExpiration): The header field is called "expires" not
6756         "expiration".
6757         (getHeaderField): Merged documentation with classpath.
6758         (getHeaderFieldInt): Likewise.
6759         (getHeaderFieldDate): Likewise.
6760         (getHeaderFieldKey): Likewise.
6761         (getPermission): Likewise.
6762         (setDefaultUseCaches): Likewise.
6763         (setRequestProperty): Likewise.
6764         (addRequestProperty): Likewise.
6765         (getRequestProperty): Likewise.
6766         (getRequestProperties): Likewise.
6767         (setDefaultRequestProperty): Likewise.
6768         (getDefaultRequestProperty): Likewise.
6769         (guessContentTypeFromStream): Likewise.
6770         (getFileNameMap): Likewise.
6771         (setFileNameMap): Likewise.
6772         (setDoInput): Merged implementation and documentation with classpath.
6773         (setDoOutput): Likewise.
6774         (setAllowUserInteraction): Likewise.
6775         (setDefaultAllowUserInteraction): Likewise.
6776         (setContentHandlerFactory): Made it synchronized, merged documentation
6777         with classpath.
6778         (guessContentTypeFromName): Renamed argument fname to filename to
6779         match classpath, merged documentation with classpath.
6780
6781 2003-05-02  Michael Koch  <konqueror@gmx.de>
6782
6783         * java/net/JarURLConnection.java
6784         (JarURLConnection): Class documentation merged with classpath.
6785         (getJarFileURL): Moved and documentation merged with classpath.
6786         (getEntryName): Likewise.
6787         (JarURLConnection): Documentation merged with classpath.
6788         (getJarEntry): Likewise.
6789         (getJarFile): Likewise.
6790         * java/net/PlainDatagramSocketImpl.java:
6791         Class documentation moved.
6792         * java/net/URLConnection.java
6793         (fileNameMap): Moved and documentation merged with classpath.
6794         (factory): Likewise.
6795         (defaultAllowUserInteraction): Likewis.
6796         (defaultUseCaches): Likewise.
6797         (allowUserInteraction): Likewise.
6798         (connected): Likewise.
6799         (url): Likewise.
6800         (connect): Documentation merged with classpath.
6801         (getURL): Likewise.
6802         (getContentLength): Likewise.
6803         (getContentType): Likewise.
6804         (getContentEncoding): Likewise.
6805         (getExpiration): Likewise.
6806         (getDate): Likewise.
6807         (getLastModified): Likewise.
6808         (getHeaderField): Likewise.
6809         (getContent): Likewise.
6810         (getPermission): Likewise.
6811         (getInputStream): Likewise.
6812         (getOutputStream): Likewise.
6813         (toString): Likewise.
6814         (getDoInput): Likewise.
6815         (getDoOutput): Likewise.
6816         (setAllowUserInteraction): Likewise.
6817         (getAllowUserInteraction): Likewise.
6818         (setDefaultAllowUserInteraction): Likewise.
6819         (getDefaultAllowUserInteraction): Likewise.
6820         (setUseCaches): Likewise.
6821         (getUseCaches): Likewise.
6822         (setIfModifiedSince): Likewise.
6823         (getIfModifiedSince): Likewise.
6824         (setDefaultRequestProperty): Likewise.
6825         (getDefaultRequestProperty): Likewise.
6826         (setContentHandlerFactory): Likewise.
6827         (setFileNameMap): Likewise.
6828
6829 2003-05-02  Michael Koch  <konqueror@gmx.de>
6830
6831         * java/net/InetAddress.java:
6832         Merged class documentation with classpath.
6833         * java/net/JarURLConnection.java:
6834         Explicitely import all used classes.
6835         * java/net/URL.java:
6836         Reformatting.
6837         * java/net/ServerSocket.java,
6838         java/net/Socket.java:
6839         New versions from classpath.
6840
6841 2003-05-02  Michael Koch  <konqueror@gmx.de>
6842
6843         * gnu/java/nio/FileChannelImpl.java
6844         (read): New implementation.
6845         (implRead): New methods.
6846         (write): New implementation, call other write insteal of read method.
6847         (implWrite): New methods.
6848         (map): Added comment.
6849         (transferFrom): Implemented.
6850         (transferTo): Implemented.
6851         (lock): Added checks to throw exceptions.
6852         (truncate): Added check to throw exception.
6853         * gnu/java/nio/natFileChannelImpl.cc
6854         (implRead): New method.
6855         (implWrite): New method.
6856         * java/nio/ByteBuffer.java
6857         (hashCode): Fixed comment.
6858         (get): Fixed exception documentation.
6859         (put): Fixed exception documentation.
6860         * java/nio/CharBuffer.java:
6861         Added comment for later optimizations.
6862
6863 2003-04-30  Tom Tromey  <tromey@redhat.com>
6864
6865         PR libgcj/10582:
6866         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6867         Removed.
6868         (type::compatible): Use _Jv_IsAssignableFrom.
6869         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6870         (_Jv_IsAssignableFrom): Work even when source or target class is
6871         not prepared.
6872
6873 2003-04-30  Michael Koch  <konqueror@gmx.de>
6874
6875         * java/text/BreakIterator.java
6876         (clone): New method.
6877
6878 2003-04-30  Michael Koch  <konqueror@gmx.de>
6879
6880         * java/text/CollationElementIterator.java,
6881         java/text/CollationKey.java,
6882         java/text/RuleBasedCollator.java:
6883         Merged copyright and documentation from classpath and
6884         rearranged some code. No code changes done.
6885
6886 2003-04-30  Michael Koch  <konqueror@gmx.de>
6887
6888         * java/util/regex/Matcher.java
6889         (pattern): New member variable.
6890         (appendReplacement): New method.
6891         (appendTail): New method.
6892         (end): New method.
6893         (find): New method.
6894         (group): New method.
6895         (replaceFirst): Added documentation.
6896         (replaceAll): Added documentation.
6897         (groupCount): New method.
6898         (lookingAt): New method.
6899         (matches): New method.
6900         (reset): New method.
6901         (start): New method.
6902         * java/util/regex/Pattern.java
6903         (serialVersionUID): New constant.
6904         (CANON_EQ): New constant.
6905         (CASE_INSENSITIVE): New constant.
6906         (COMMENTS): New constant.
6907         (DOTALL): New constant.
6908         (MULTILINE): New constant.
6909         (UNICODE_CASE): New constant.
6910         (UNIX_LINES): New constant.
6911         (regex): New member variable.
6912         (flags): New member variable.
6913         (Pattern): New method.
6914         (compile): Documentation added.
6915         (flags): New method.
6916         (matches): Documentation added.
6917         (matcher): Documentation added.
6918         (split): Documentation added.
6919         (pattern): New method.
6920
6921 2003-04-30  Michael Koch  <konqueror@gmx.de>
6922
6923         * gnu/java/security/Engine.java,
6924         gnu/java/security/OID.java,
6925         gnu/java/security/der/BitString.java,
6926         gnu/java/security/der/DER.java,
6927         gnu/java/security/der/DERReader.java,
6928         gnu/java/security/der/DERValue.java,
6929         gnu/java/security/der/DERWriter.java,
6930         gnu/java/security/provider/DSAKeyFactory.java,
6931         gnu/java/security/provider/X509CertificateFactory.java,
6932         gnu/java/security/x509/X500DistinguishedName.java,
6933         gnu/java/security/x509/X509CRL.java,
6934         gnu/java/security/x509/X509CRLEntry.java,
6935         gnu/java/security/x509/X509Certificate.java,
6936         java/security/cert/CRLSelector.java,
6937         java/security/cert/CertPathBuilder.java,
6938         java/security/cert/CertPathBuilderResult.java,
6939         java/security/cert/CertPathBuilderSpi.java,
6940         java/security/cert/CertPathParameters.java,
6941         java/security/cert/CertPathValidator.java,
6942         java/security/cert/CertPathValidatorResult.java,
6943         java/security/cert/CertPathValidatorSpi.java,
6944         java/security/cert/CertSelector.java,
6945         java/security/cert/CertStore.java,
6946         java/security/cert/CertStoreParameters.java,
6947         java/security/cert/CertStoreSpi.java,
6948         java/security/cert/CollectionCertStoreParameters.java,
6949         java/security/cert/LDAPCertStoreParameters.java,
6950         java/security/cert/PKIXBuilderParameters.java,
6951         java/security/cert/PKIXCertPathBuilderResult.java,
6952         java/security/cert/PKIXCertPathChecker.java,
6953         java/security/cert/PKIXCertPathValidatorResult.java,
6954         java/security/cert/PKIXParameters.java,
6955         java/security/cert/PolicyNode.java,
6956         java/security/cert/PolicyQualifierInfo.java,
6957         java/security/cert/TrustAnchor.java,
6958         javax/security/auth/x500/X500Principal.java:
6959         New files from classpath.
6960         * gnu/java/io/ASN1ParsingException.java,
6961         gnu/java/io/Base64InputStream.java,
6962         gnu/java/security/der/DEREncodingException.java,
6963         gnu/java/security/provider/DSAParameters.java,
6964         gnu/java/security/provider/DSASignature.java,
6965         gnu/java/security/provider/Gnu.java,
6966         gnu/java/security/provider/GnuDSAPrivateKey.java,
6967         gnu/java/security/provider/GnuDSAPublicKey.java,
6968         java/security/AlgorithmParameterGenerator.java,
6969         java/security/AlgorithmParameters.java,
6970         java/security/KeyFactory.java,
6971         java/security/KeyPairGenerator.java,
6972         java/security/KeyStore.java,
6973         java/security/MessageDigest.java,
6974         java/security/SecureClassLoader.java,
6975         java/security/SecureRandom.java,
6976         java/security/Security.java,
6977         java/security/Signature.java,
6978         java/security/cert/Certificate.java,
6979         java/security/cert/CertificateFactory.java,
6980         java/security/cert/CertificateFactorySpi.java,
6981         java/security/cert/X509CRL.java,
6982         java/security/cert/X509Certificate.java,
6983         java/security/spec/DSAPublicKeySpec.java:
6984         New versions from classpath.
6985         * gnu/java/security/provider/DERReader.java,
6986         gnu/java/security/provider/DERWriter.java,
6987         java/security/Engine.java: Removed.
6988         * Makefile.am
6989         (java_source_files, javax_source_files): Added new files.
6990         * Makefile.in: Regenerated.
6991
6992 2003-04-29  Michael Koch  <konqueror@gmx.de>
6993
6994         * javax/swing/JTable.java
6995         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6996         (AUTO_RESIZE_LAST_COLUMN): New constant.
6997         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6998         (AUTO_RESIZE_OFF): New constant.
6999         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7000         (JTable): New method.
7001         (columnAdded): New method.
7002         (columnMarginChanged): New method.
7003         (columnMoved): New method.
7004         (columnRemoved): New method.
7005         (columnSelectionChanged): New method.
7006         (editingCanceled): New method.
7007         (editingStopped): New method.
7008         (getColumnModel): New method.
7009         (getPreferredScrollableViewportSize): New method.
7010         (getScrollableBlockIncrement): New method.
7011         (getScrollableTracksViewportHeight): New method.
7012         (getScrollableTracksViewportWidth): New method.
7013         (getScrollableUnitIncrement): New method.
7014         (getSelectedRow): New method.
7015         (getSelectionModel): New method.
7016         (tableChanged): New method.
7017         (setModel): New method.
7018         (setSelectionMode): New method.
7019         (setSelectionModel): New method.
7020         (setShowGrid): New method.
7021         (valueChanged): New method.
7022         * javax/swing/text/DefaultEditorKit.java
7023         (backwardAction): New constant.
7024         (beepAction): New constant.
7025         (beginAction): New constant.
7026         (beginLineAction): New constant.
7027         (beginParagraphAction): New constant.
7028         (beginWordAction): New constant.
7029         (copyAction): New constant.
7030         (cutAction): New constant.
7031         (defaultKeyTypedAction): New constant.
7032         (deleteNextCharAction): New constant.
7033         (deletePrevCharAction): New constant.
7034         (downAction): New constant.
7035         (endAction): New constant.
7036         (endLineAction): New constant.
7037         (endOfLineStringProperty): New constant.
7038         (endParagraphAction): New constant.
7039         (endWordAction): New constant.
7040         (forwardAction): New constant.
7041         (insertBreakAction): New constant.
7042         (insertContentAction): New constant.
7043         (insertTabAction): New constant.
7044         (nextWordAction): New constant.
7045         (pageDownAction): New constant.
7046         (pageUpAction): New constant.
7047         (pasteAction): New constant.
7048         (previousWordAction): New constant.
7049         (readOnlyAction): New constant.
7050         (selectAllAction): New constant.
7051         (selectionBackwardAction): New constant.
7052         (selectionBeginAction): New constant.
7053         (selectionBeginLineAction): New constant.
7054         (selectionBeginParagraphAction): New constant.
7055         (selectionBeginWordAction): New constant.
7056         (selectionDownAction): New constant.
7057         (selectionEndAction): New constant.
7058         (selectionEndLineAction): New constant.
7059         (selectionEndParagraphAction): New constant.
7060         (selectionEndWordAction): New constant.
7061         (selectionForwardAction): New constant.
7062         (selectionNextWordAction): New constant.
7063         (selectionPreviousWordAction): New constant.
7064         (selectionUpAction): New constant.
7065         (selectLineAction): New constant.
7066         (selectParagraphAction): New constant.
7067         (selectWordAction): New constant.
7068         (upAction): New constant.
7069         (writableAction): New constant.
7070
7071 2003-04-29  Michael Koch  <konqueror@gmx.de>
7072
7073         * java/util/PropertyPermission.java:
7074         New version from classpath
7075         * java/util/ResourceBundle.java:
7076         Partly merged from classpath
7077         (getObject): Reformated.
7078         (tryBundle): Set foundBundle = null if no bundle found.
7079
7080 2003-04-29  Michael Koch  <konqueror@gmx.de>
7081
7082         * javax/swing/AbstractListModel.java,
7083         javax/swing/DefaultBoundedRangeModel.java,
7084         javax/swing/DefaultSingleSelectionModel.java:
7085         New Versions from classpath.
7086
7087 2003-04-29  Michael Koch  <konqueror@gmx.de>
7088
7089         * java/awt/Window.java
7090         (show): Call super.show() instead of setVisible() to avoid endless
7091         loop.
7092         (hide): Call super.hide() instead of setVisible() to avoid endless
7093         loop.
7094
7095 2003-04-29  Michael Koch  <konqueror@gmx.de>
7096
7097         * java/util/zip/Deflater.java,
7098         java/util/zip/DeflaterOutputStream.java:
7099         Partly merged with classpath.
7100
7101 2003-04-27  Tom Tromey  <tromey@redhat.com>
7102
7103         * java/lang/natString.cc (_Jv_AllocString): Initialize
7104         cachedHashCode.
7105         (init): Likewise.
7106         (_Jv_NewStringUtf8Const): Likewise.
7107
7108 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7109
7110         * include/jvm.h: (_Jv_GetNbArgs) added
7111         (_Jv_GetSafeArg) added
7112         (_Jv_SetArgs) added
7113         * prims.cc: (_Jv_GetNbArgs) implemented
7114         (_Jv_GetSafeArg) implemented
7115         (_Jv_SetArgs) implemented
7116         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7117         setting _Jv_argc and _Jv_argv
7118         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7119         instead of _Jv_argv
7120         * java/lang/natRuntime.cc: (insertSystemProperties) use
7121         _Jv_GetSafeArg() instead of _Jv_argv
7122
7123 2003-04-23  Tom Tromey  <tromey@redhat.com>
7124
7125         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7126         required by this object.  Search superclasses to find required
7127         alignment.
7128         (get_alignment_from_class): Use alignment of type as it appears
7129         in a struct.
7130         (ALIGNOF): New macro.
7131         (struct aligner): New helper structure.
7132
7133 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7134
7135         * java/awt/Container.java (addImpl): Enable paint events if adding
7136         a lightweight to a heavyweight.
7137         (addNotify): Ensure that peer is created before
7138         addNotifyContainerChildren.
7139         (addNotifyContainerChildren): Enable paint events if a heavyweight
7140         container contains a lightweight.
7141
7142 2003-04-20  Tom Tromey  <tromey@redhat.com>
7143
7144         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7145         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7146         Classpath.
7147
7148 2003-04-19  Tom Tromey  <tromey@redhat.com>
7149
7150         * java/sql/Date.java, java/sql/DriverManager.java,
7151         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7152         Classpath.
7153
7154         * Makefile.in: Rebuilt.
7155         * Makefile.am (ordinary_java_source_files): Added new files.
7156         * java/security/AlgorithmParameterGenerator.java,
7157         java/security/AlgorithmParameters.java, java/security/Engine.java,
7158         java/security/Identity.java, java/security/IdentityScope.java,
7159         java/security/KeyFactory.java,
7160         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7161         java/security/MessageDigest.java, java/security/Policy.java,
7162         java/security/ProtectionDomain.java,
7163         java/security/SecureRandom.java, java/security/Security.java,
7164         java/security/Signature.java, java/security/SignatureSpi.java,
7165         java/security/SignedObject.java, java/security/Signer.java,
7166         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7167         java/security/spec/PSSParameterSpec.java,
7168         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7169         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7170         Classpath.
7171
7172 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7173
7174         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7175         (dispose): Null metrics.
7176         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7177         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7178         finalize.
7179         (finalize): Call dispose.
7180         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7181         (gcCachedCount): New field.
7182         (finalize): New method.
7183         (putGCInCache): New method.
7184         (getGCFromCache): New method.
7185         * gnu/gcj/xlib/GC.java (GC): Make protected.
7186         (clone): Get new GC from cache if possible.
7187         (create): New static method.
7188         (dispose): Save old GC in cache.
7189         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7190         deleting.
7191         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7192         is null.
7193         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7194         * java/awt/Container.java (visitChild): Dispose gfx2 when
7195         finished.
7196
7197 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7198
7199         * java/math/BigInteger.java (probablePrime): New.
7200         * java/math/BigDecimal.java (unscaledValue): New.
7201
7202 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7203
7204         * java/io/File.java (getAbsolutePath): On Windows, take care
7205         of paths like "C:", "G:foo\bar", etc.
7206         (getName): Make it work correctly on Windows.
7207         (getParent): Make it work correctly on Windows. For UNIX,
7208         fix bug that causes "/" to be returned as the parent of "/",
7209         instead of null as returned by Sun's JRE.
7210
7211         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7212
7213 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7214
7215         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7216         inner class.
7217         (CACHE_SIZE_PER_DISPLAY): New field
7218         (fontMetricsCache): New field
7219         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7220         loading ISO10646-1 fonts.
7221
7222 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7223
7224         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7225         characters.
7226         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7227         characters.
7228
7229 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7230
7231         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7232         floating point.
7233
7234 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7235
7236         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7237         installed libpthread is either linuxthreads with floating stacks or
7238         NPTL.
7239
7240 2003-04-14  Tom Tromey  <tromey@redhat.com>
7241
7242         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7243         of alignment.
7244
7245 2003-04-10  Tom Tromey  <tromey@redhat.com>
7246
7247         * verify.cc (pop64): Removed.
7248         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7249         exception if top-of-stack is narrow.
7250         (initialize_stack): Check to ensure that <init> is not static and
7251         <clinit> is.
7252
7253 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7254
7255         * java/io/ObjectStreamException
7256         * java/io/FileFilter
7257         * java/io/FilenameFilter
7258         * java/io/ObjectInput
7259         * java/io/ObjectOutput
7260         * java/io/ObjectStreamConstants
7261         Minor doc fixes, format fixes, spelling corrections, etc.
7262         * java/io/DataInput
7263         Corrected code samples in Javadocs to match reality
7264         * java/io/DataOutput
7265         * java/io/ObjectInputValidation
7266         Major documentation fixes - all Javadocs re-written or updated
7267
7268 2003-04-06  Michael Koch  <konqueror@gmx.de>
7269
7270         * java/net/URLConnection.java:
7271         Import classes directly.
7272         (URLConnection): Merged class documentation with classpath.
7273         (url): Moved, documentation from classpath added.
7274         (doInput): Moved, documentation from classpath added.
7275         (doOutput): Moved, documentation from classpath added.
7276         (allowUserInteraction): Moved.
7277         (useCaches): Moved, documentation from classpath added.
7278         (ifModifiedSince): Moved, documentation from classpath added.
7279         (connected): Moved, documentation from classpath added.
7280
7281 2003-04-06  Michael Koch  <konqueror@gmx.de>
7282
7283         * java/io/FileInputStream.java
7284         (skip): Renamed some variables to match classpath, added
7285         checks from classpath.
7286
7287 2003-03-31  Michael Koch  <konqueror@gmx.de>
7288
7289         * javax/swing/AbstractAction.java
7290         (AbstractAction): Reformatted.
7291         (serialVersionUID): New private member variable.
7292         * javax/swing/plaf/BorderUIResource.java
7293         (serialVersionUID): New private member variable.
7294         * javax/swing/plaf/basic/BasicLookAndFeel.java
7295         (serialVersionUID): New private member variable.
7296
7297 2003-03-31  Michael Koch  <konqueror@gmx.de>
7298
7299         * java/sql/Date.java
7300         (valueOf): Deprecated, reformatted.
7301         (toString): Deprecated, reformatted.
7302         * java/sql/Time.java
7303         (valueOf): Deprecated, reformatted.
7304         (toString): Deprecated, reformatted.
7305
7306 2003-03-31  Michael Koch  <konqueror@gmx.de>
7307
7308         * java/rmi/dgc/VMID.java
7309         (isUnique): Deprecated.
7310
7311 2003-03-31  Michael Koch  <konqueror@gmx.de>
7312
7313         * java/io/File.java
7314         (separator): Merged documentation from classpath.
7315         (separatorChar): Merged documentation from classpath.
7316         (pathSeparator): Merged documentation from classpath.
7317         (pathSeparatorChar): Merged documentation from classpath.
7318         (path): Merged documentation from classpath.
7319         (canRead): Merged documentation from classpath.
7320         (canWrite): Merged documentation from classpath.
7321         (createNewFile): Merged documentation from classpath.
7322         (delete): Merged documentation from classpath.
7323         (equals): Merged documentation from classpath.
7324         (exists): Merged documentation from classpath.
7325         (File): Renamed p to name to match classpath, merged documentation
7326         from classpath.
7327         (getAbsolutePath): Merged documentation from classpath.
7328         (getCanonicalPath): Merged documentation from classpath.
7329         (getCanonicalFile): Merged documentation from classpath.
7330         (getName): Merged documentation from classpath.
7331         (getParent): Merged documentation from classpath.
7332         (getParentFile): Merged documentation from classpath.
7333         (getPath): Merged documentation from classpath.
7334         (hashCode): Merged documentation from classpath.
7335         (isAbsolute): Merged documentation from classpath.
7336         (isDirectory): Merged documentation from classpath.
7337         (isFile): Merged documentation from classpath.
7338         (isHidden): Merged documentation from classpath.
7339         (lastModified): Merged documentation from classpath.
7340         (length): Merged documentation from classpath.
7341         (list): Merged documentation from classpath.
7342         (listFiles): Merged documentation from classpath.
7343         (toString): Merged documentation from classpath.
7344         (toURL): Merged documentation from classpath.
7345         (mkdir): Merged documentation from classpath.
7346         (mkdirs): Merged documentation from classpath.
7347         (createTempFile): Merged documentation from classpath.
7348         (setReadOnly): Merged documentation from classpath.
7349         (listRoots): Merged documentation from classpath.
7350         (compareTo): Merged documentation from classpath.
7351         (renameTo): Merged documentation from classpath.
7352         (setLastModified): Merged documentation from classpath.
7353         * java/io/PrintStream.java
7354         (auto_flush): Merged documentation from classpath.
7355         (PrintStream): Merged documentation from classpath.
7356         (checkError): Merged documentation from classpath.
7357         (setError): Merged documentation from classpath.
7358         (close): Merged documentation from classpath.
7359         (flush): Merged documentation from classpath.
7360         (print): Merged documentation from classpath.
7361         (println):  Merged documentation from classpath.
7362         (write): Renamed count to len to match classpath,
7363         merged documentation from classpath.
7364         * java/io/RandomAccessFile.java
7365         (readShort): Merged documentation from classpath.
7366         (readUnsignedByte): Merged documentation from classpath.
7367         (readUnsignedShort): Merged documentation from classpath.
7368         (readUTF): Merged documentation from classpath.
7369         (seek): Reformatted, merged documentation from classpath.
7370         (skipBytes): Renamed some variables to match classpath, reformatted,
7371         merged documentation from classpath.
7372         (write): Merged documentation from classpath.
7373         (writeBoolean): Merged documentation from classpath.
7374         (writeByte): Merged documentation from classpath.
7375         (writeShort): Merged documentation from classpath.
7376         (writeChar): Merged documentation from classpath.
7377         (writeInt): Merged documentation from classpath.
7378         (writeLong): Merged documentation from classpath.
7379         (writeFloat): Merged documentation from classpath.
7380         (writeDouble): Merged documentation from classpath.
7381         (writeBytes): Merged documentation from classpath.
7382         (writeChars): Merged documentation from classpath.
7383         (writeUTF): Reformatted.
7384         (getChannel): Reformatted.
7385
7386 2003-03-31  Michael Koch  <konqueror@gmx.de>
7387
7388         * java/awt/font/TextAttribute.java
7389         (readResolve): Throws java.io.InvalidObjectException.
7390
7391 2003-03-31  Michael Koch  <konqueror@gmx.de>
7392
7393         * java/rmi/server/LoaderHandler.java
7394         (loadClass): Deprecated.
7395         (getSecurityContext): Deprecated.
7396         * java/rmi/server/LogStream.java
7397         (getDefaultStream): Deprecated.
7398         (setDefaultStream): Deprecated.
7399         (getOutputStream): Deprecated.
7400         (setOutputStream): Deprecated.
7401         (write): Deprecated.
7402         (toString): Deprecated.
7403         (parseLevel): Deprecated.
7404         * java/rmi/server/Operation.java
7405         (Operation): Deprecated.
7406         (getOperation): Deprecated.
7407         (toString): Deprecated.
7408         * java/rmi/server/RemoteCall.java
7409         (getOutputStream): Deprecated.
7410         (releaseOutputStream): Deprecated.
7411         (getInputStream): Deprecated.
7412         (releaseInputStream): Deprecated.
7413         (getResultStream): Deprecated.
7414         (executeCall): Deprecated.
7415         (done): Deprecated.
7416         * java/rmi/server/RemoteRef.java
7417         (invoke): Deprecated.
7418         (newCall): Deprecated.
7419         (done): Deprecated.
7420         * java/rmi/server/RemoteStub.java
7421         (setRef): Deprecated.
7422         * java/rmi/server/Skeleton.java:
7423         No need to import java.lang.Exception explicitly.
7424         (dispatch): Deprecated.
7425         (getOperations): Deprecated.
7426
7427 2003-03-31  Michael Koch  <konqueror@gmx.de>
7428
7429         * java/rmi/dgc/VMID.java,
7430         java/rmi/registry/RegistryHandler.java,
7431         java/rmi/server/LogStream.java,
7432         java/rmi/server/Operation.java,
7433         java/rmi/server/RemoteCall.java,
7434         java/rmi/server/RemoteRef.java,
7435         java/rmi/server/RemoteStub.java:
7436         Reformatted.
7437
7438 2003-03-31  Michael Koch  <konqueror@gmx.de>
7439
7440         * javax/swing/AbstractCellEditor.java,
7441         javax/swing/AbstractListModel.java,
7442         javax/swing/ActionMap.java,
7443         javax/swing/BorderFactory.java,
7444         javax/swing/ButtonGroup.java,
7445         javax/swing/DefaultBoundedRangeModel.java,
7446         javax/swing/DefaultButtonModel.java,
7447         javax/swing/DefaultCellEditor.java,
7448         javax/swing/DefaultComboBoxModel.java,
7449         javax/swing/DefaultDesktopManager.java,
7450         javax/swing/DefaultListCellRenderer.java,
7451         javax/swing/DefaultSingleSelectionModel.java,
7452         javax/swing/InputMap.java,
7453         javax/swing/JComponent.java,
7454         javax/swing/JMenu.java,
7455         javax/swing/JSlider.java,
7456         javax/swing/KeyStroke.java,
7457         javax/swing/OverlayLayout.java,
7458         javax/swing/ScrollPaneLayout.java,
7459         javax/swing/SizeRequirements.java,
7460         javax/swing/UIManager.java,
7461         javax/swing/ViewportLayout.java,
7462         javax/swing/border/AbstractBorder.java,
7463         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7464         javax/swing/event/EventListenerList.java,
7465         javax/swing/table/AbstractTableModel.java,
7466         javax/swing/table/DefaultTableCellRenderer.java,
7467         javax/swing/table/DefaultTableColumnModel.java,
7468         javax/swing/table/DefaultTableModel.java,
7469         javax/swing/table/TableColumn.java,
7470         javax/swing/text/StyledEditorKit.java,
7471         javax/swing/tree/DefaultMutableTreeNode.java,
7472         javax/swing/tree/DefaultTreeModel.java,
7473         javax/swing/tree/DefaultTreeSelectionModel.java,
7474         javax/swing/tree/TreePath.java,
7475         javax/swing/undo/AbstractUndoableEdit.java,
7476         javax/swing/undo/StateEdit.java,
7477         javax/swing/undo/StateEditable.java,
7478         javax/swing/undo/UndoableEditSupport.java:
7479         Merges from classpath.
7480
7481 2003-03-30  Tom Tromey  <tromey@redhat.com>
7482
7483         * java/lang/String.java (data, boffset, count): Documented.
7484         (String(byte[],String)): Reformatted.
7485         (String(byte[])): Likewise.
7486         (lastIndexOf(int)): Likewise.
7487         (lastIndexOf(String)): Likewise.
7488         (substring(int)): Renamed argument to match Classpath.
7489         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7490
7491         * java/lang/String.java: Miscellaneous minor formatting changes
7492         to match Classpath more closely.
7493
7494 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7495             Tom Tromey  <tromey@redhat.com>
7496
7497         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7498         (init()): Removed.
7499         (charAt): Put index in exception.
7500         (contentEquals): New method.
7501         Include StringBuffer.h.
7502         * java/lang/String.java (cachedHashCode): New field.
7503         (String()): Follow classpath implementation.
7504         (init()): Removed.
7505         (contentEquals): Declare.
7506         (subSequence): Don't declare IndexOutIfBoundsException in throws
7507         clause.
7508         (matches, replaceFirst, replaceAll, split): New methods from
7509         Classpath.
7510
7511 2003-03-29  Tom Tromey  <tromey@redhat.com>
7512
7513         * java/lang/String.java: Reordered to follow Classpath; merged in
7514         javadoc.
7515
7516         * java/text/MessageFormat.java: Removed some whitespace.
7517
7518         * Makefile.in: Rebuilt.
7519         * Makefile.am (awt_java_source_files): Added new files.
7520         * gnu/javax/rmi/PortableServer.java,
7521         gnu/javax/rmi/CORBA/DelegateFactory.java,
7522         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7523         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7524         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7525         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7526         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7527         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7528         javax/rmi/PortableRemoteObject.java,
7529         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7530         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7531         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7532         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7533         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7534         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7535
7536         * java/lang/natClass.cc (newInstance): Put method name in
7537         exception.
7538         (getConstructor): Likewise.
7539         (getDeclaredConstructor): Likewise.
7540         (getPrivateMethod): Likewise.
7541
7542 2003-03-28  Tom Tromey  <tromey@redhat.com>
7543
7544         * java/lang/reflect/Proxy.java: New version from Classpath.
7545         * java/lang/Package.java: New version from Classpath.
7546
7547 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7548
7549         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7550         * configure: Regenerate.
7551
7552 2003-03-28  Michael Koch  <konqueror@gmx.de>
7553
7554         * java/io/File.java:
7555         Import needed classes instead of whole packages, merged class
7556         documentation with classpath, moved constants and variables to top of
7557         class.
7558         * java/io/PrintStream.java:
7559         Merged class documentation with classpath, moved constants and
7560         variables to top of class.
7561         * java/io/RandomAccessFile.java
7562         (RandomAccessFile): Merged with classpath.
7563         (read): Merged with classpath).
7564         (read*): Reformatted.
7565
7566 2003-03-28  Michael Koch  <konqueror@gmx.de>
7567
7568         * java/io/FileDescriptor.java
7569         (finalize): Throws Throwable, not IOException.
7570         * java/io/ObjectOutputStream.java
7571         (PutField.put): Doesnt throws anything.
7572
7573 2003­03-28  Michael Koch  <konqueror@gmx.de>
7574
7575         * java/io/FileOutputStream.java:
7576         Merged class documentation and authors with classpath.
7577         (FileOutputStream): Partly merged with classpath.
7578         (write): Merged with classpath.
7579         (getChannel): Make it synchronized instead of explicit block in this
7580         method.
7581         * java/io/RandomAccessFile.java:
7582         Merged class documentation and authors with classpath.
7583
7584 2003-03-26  Tom Tromey  <tromey@redhat.com>
7585
7586         * java/lang/natRuntime.cc (insertSystemProperties): Set
7587         gnu.classpath.home.url.
7588         * Makefile.in: Rebuilt.
7589         * Makefile.am: Define LIBDIR.
7590
7591 2003-03-25  Michael Koch  <konqueror@gmx.de>
7592
7593         * java/io/FileInputStream.java
7594         (read): Renamed b to buf and off to offset.
7595         * java/io/FileOutputStream.java
7596         (ch): Documentation added.
7597         (FileOutputStream): Documentation added.
7598         (getFD): Documentation added.
7599         (write): Documentation added.
7600         (close): Documentation added.
7601         (getChannel): Documentation added.
7602
7603 2003-03-24  Michael Koch  <konqueror@gmx.de>
7604
7605         * java/io/DataOutputStream.java
7606         (write): Merged from classpath.
7607         * java/io/File.java:
7608         Merged copyrigth with classpath.
7609         * java/io/FileInputStream.java
7610         (getChannel): Made it synchronized instead of using a synchronized
7611         block.
7612         * java/io/FileOutputStream.java: Reformatted.
7613         * java/io/InputStreamReader.java
7614         (InputStreamReader): Renamed enc to encoding_name.
7615         (close): Merged documentation from classpath.
7616         (getEncoding): Merged documentation from classpath.
7617         (ready): Merged documentation from classpath.
7618         (read): Merged documentation from classpath.
7619         * java/io/LineNumberReader.java
7620         (lineNumber): Made it private.
7621         (LineNumberReader): Use Constant instead of a direct value.
7622         * java/io/OutputStreamWriter.java
7623         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7624         documentation from classpath.
7625         (close): Merged documentation from classpath.
7626         (flush): Merged documentation from classpath.
7627         (write): Merged documentation from classpath.
7628         * java/io/PrintStream.java: Reformatted.
7629
7630 2003-03-24  Michael Koch  <konqueror@gmx.de>
7631
7632         * javax/swing/text/ComponentView.java
7633         (getComponent): Must be final.
7634         * javax/swing/tree/DefaultTreeCellRenderer.java:
7635         Reformatted.
7636         * javax/swing/undo/StateEditable.java:
7637         Reformatted.
7638
7639 2003-03-24  Michael Koch  <konqueror@gmx.de>
7640
7641         * java/rmi/activation/ActivationInstantiator.java:
7642         Reformatted.
7643         * java/rmi/activation/Activator.java:
7644         Reformatted.
7645         * java/rmi/registry/RegistryHandler.java:
7646         Remerged from classpath.
7647
7648 2003-03-24  Michael Koch  <konqueror@gmx.de>
7649
7650         * java/util/Date.java:
7651         Fixed documentation starting tag to make javadoc happy.
7652         * java/util/regex/Pattern.java
7653         (Pattern): Implements Serializable.
7654         * java/util/PatternSyntaxException.java
7655         (serialVersionUID): New member variable.
7656
7657 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7658
7659         * java/awt/ContainerOrderFocusTraversalPolicy.java
7660         (getFirstComponent): Implemented.
7661         (getLastComponent): Implemented.
7662         (getDefaultComponent): Implemented.
7663         (setImplicitDownCycleTraversal): Fixed implementation.
7664         * java/awt/Robot.java
7665         (Robot): Added documentation.
7666         * java/awt/Toolkit.java
7667         (getFontList): Deprecated.
7668         (getFontMetrics): Deprecated.
7669         (getPrintJob): Added documentation.
7670         (getSystemSelection): Added documentation.
7671         (getLockingKeyState): Added documentation.
7672         (setLockingKeyState): Added documentation.
7673         (createCustomCursor): Added documentation.
7674         (getBestCursorSize): Added documentation.
7675         (getMaximumCursorColors): Added documentation.
7676         (isFrameStateSupported): Added documentation.
7677
7678 2003-03-24  Michael Koch  <konqueror@gmx.de>
7679
7680         * java/io/RandomAccessFile.java:
7681         More little merges with classpath. No code changes.
7682
7683 2003-03-24  Michael Koch  <konqueror@gmx.de>
7684
7685         * java/net/natInetAddressNoNet.cc:
7686         Include stddef.h.
7687         * java/net/natPlainDatagramSocketImplNoNet.cc:
7688         Fixed inlcude of java/net/DatagramPacket.h.
7689         * java/net/natPlainSocketImplNoNet.cc:
7690         Include some missing classes.
7691
7692 2003-03-24  Michael Koch  <konqueror@gmx.de>
7693
7694         * java/awt/dnd/DropTarget.java
7695         (DropTargetAutoScroller): According to the online documentation, this
7696         is protected, but in reality it is public.
7697         * java/awt/dnd/DropTargetContext.java
7698         (TransferableProxy): According to the online documentation, this
7699         is protected, but in reality it is public.
7700
7701 2003-03-24  Michael Koch  <konqueror@gmx.de>
7702
7703         * java/io/DataInputStream.java
7704         (): Wrapped documentation line.
7705         (): Fixed @return tag.
7706         * java/io/DataOutputStream.java
7707         (written): Moved to top of class.
7708         (all methods): Merged documentation from classpath.
7709         * java/io/File.java:
7710         Merged copyright year with classpath.
7711         * java/io/FileInputStream.java
7712         (all methods): Merged documentation from classpath.
7713         * java/io/LineNumberReader.java
7714         (getLineNumber): Fixed @return tag.
7715         * java/io/ObjectInputStream.java.
7716         Reformatted.
7717         * java/io/ObjectOutputStream.java:
7718         Reformatted, fixed some @see tags.
7719         * java/io/OutputStreamWriter.java:
7720         Deleted empty line.
7721         * java/io/Writer.java:
7722         Reformatted.
7723
7724 2003-03-24  Michael Koch  <konqueror@gmx.de>
7725
7726         * java/awt/Frame.java
7727         (DEFAULT_CURSOR): Fixed @deprecated tag.
7728         (setCursor): Fixed @deprecated tag.
7729
7730 2003-03-24  Michael Koch  <konqueror@gmx.de>
7731
7732         * java/beans/beancontext/BeanContextEvent.java:
7733         Reformated.
7734
7735 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7736
7737         * java/lang/natStringBuffer.cc (regionMatches): New function.
7738         * java/lang/String.java (count): Now package-private.
7739         * java/lang/StringBuffer.java: Merged with Classpath.
7740
7741 2003-03-23  Michael Koch  <konqueror@gmx.de>
7742
7743         * java/io/BufferedOutputStream.java:
7744         Reformated.
7745         * java/io/BufferedReader.java:
7746         Reformated.
7747         * java/io/ByteArrayOutputStream.java
7748         (size): Fixed @see tag.
7749         * java/io/CharArrayWriter.java
7750         (size): Fixed @see tag.
7751         * java/io/DataInput.java:
7752         Reformated.
7753         * java/io/DataOutput.java:
7754         Reformated.
7755         * java/io/DataOutputStream.java:
7756         Merged copyright years with classpath.
7757         * java/io/Externalizable.java:
7758         Reformated.
7759         * java/io/FileFilter.java:
7760         Reformated.
7761         * java/io/FileInputStream.java:
7762         Merged copyright years with classpath.
7763         * java/io/FileOutputStream.java:
7764         Merged copyright years with classpath.
7765         * java/io/FilePermission.java
7766         (FilePermission): Replaced @XXX with FIXME:.
7767         * java/io/FileWriter.java:
7768         Reformated.
7769         * java/io/FilenameFilter.java:
7770         Reformated.
7771         * java/io/FilterInputStream.java:
7772         Reformated.
7773         * java/io/FilterOutputStream.java:
7774         Reformated.
7775         * java/io/FilterReader.java:
7776         Reformated.
7777         * java/io/FilterWriter.java:
7778         Reformated.
7779         * java/io/LineNumberInputStream.java
7780         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7781         happy.
7782         (getLineNumber): Fixed @return tag.
7783         * java/io/ObjectInput.java:
7784         Reformated.
7785         * java/io/ObjectOutput.java:
7786         Reformated.
7787         * java/io/ObjectStreamClass.java:
7788         Reformated.
7789         * java/io/PrintStream.java:
7790         Merged copyright years with classpath.
7791         * java/io/PushbackReader.java
7792         (PushbackReader): Replaced @code with @param.
7793         * java/io/SerializablePermission.java:
7794         Reformated.
7795         * java/io/StreamTokenizer.java
7796         (resetSyntax): Fixed @see tag.
7797
7798 2003-03-22  Richard Henderson  <rth@redhat.com>
7799
7800         * sysdep/ia64/locks.h: Include ia64intrin.h.
7801         (compare_and_swap): Use __sync_bool_compare_and_swap.
7802         (compare_and_swap_release): Expose ar.ccv assignment.
7803
7804 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7805
7806         * include/posix.h: Add suffix for darwin dynamic libraries.
7807
7808 2003-03-21  Michael Koch  <konqueror@gmx.de>
7809
7810         * javax/swing/Action.java
7811         (ACCELERATOR_KEY): New constant.
7812         (ACTION_COMMAND_KEY): Likewise.
7813         (MNEMONIC_KEY): Likewise.
7814         * javax/swing/UnsupportedLookAndFeelException.java
7815         (UnsupportedLookAndFeelException): Must be public.
7816         * javax/swing/WindowConstants.java
7817         (EXIT_ON_CLOSE): New constant.
7818         * javax/swing/text/BadLocationException.java
7819         (offset): New member variable.
7820         (BadLocationException): New implementation, documentation added.
7821         (offsetRequested): New method.
7822         * javax/swing/text/Caret.java:
7823         Reformated.
7824         * javax/swing/text/Document.java:
7825         Reformated.
7826
7827 2003-03-21  Michael Koch  <konqueror@gmx.de>
7828
7829         * java/rmi/activation/Activatable.java
7830         (serialVersionUID): New member variable.
7831         * java/rmi/activation/ActivationGroup.java
7832         (serialVersionUID): New member variable.
7833         * java/rmi/activation/ActivationGroupDesc.java
7834         (serialVersionUID): New member variable.
7835         * java/rmi/registry/Registry.java:
7836         Reformated.
7837         (Registry): Deprecated.
7838         * java/rmi/server/LoaderHandler.java
7839         Reformated.
7840         (LoaderHandler): Deprecated.
7841         * java/rmi/server/LogStream.java
7842         Reformated.
7843         (LogStream): Deprecated.
7844         * java/rmi/server/Operation.java
7845         (Operation): Deprecated.
7846         * java/rmi/server/RMIFailureHandler.java:
7847         Reformated.
7848         * java/rmi/server/RMISocketFactory.java:
7849         Reformated.
7850         * java/rmi/server/RemoteCall.java
7851         (RemoteCall): Deprecated.
7852         * java/rmi/server/RemoteStub.java:
7853         Reformated.
7854         * java/rmi/server/Skeleton.java
7855         Reformated.
7856         (Skeleton): Deprecated.
7857
7858 2003-03-21  Michael Koch  <konqueror@gmx.de>
7859
7860         * java/io/LineNumberReader.java
7861         (LineNumberReader): Merged documentation with classpath.
7862         (getLineNumber): Likewise.
7863         (setLineNumber): Likewise.
7864         (mark): Likewise.
7865         (reset): Likewise.
7866         (read): Likewise.
7867         (readLine): Likewise.
7868         (skip): Likewise.
7869
7870 2003-03-21  Michael Koch  <konqueror@gmx.de>
7871
7872         * java/rmi/RMISecurityManager.java
7873         (checkAccept): Removed.
7874         (checkAccess): Likewise.
7875         (checkAccess): Likewise.
7876         (checkAwtEventQueueAccess): Likewise.
7877         (checkConnect): Likewise.
7878         (checkCreateClassLoader): Likewise.
7879         (checkDelete): Likewise.
7880         (checkExec): Likewise.
7881         (checkExit): Likewise.
7882         (checkLink): Likewise.
7883         (checkListen): Likewise.
7884         (checkMemberAccess): Likewise.
7885         (checkMulticast): Likewise.
7886         (checkPackageAccess): Likewise.
7887         (checkPackageDefinition): Likewise.
7888         (checkPermission): Likewise.
7889         (checkPrintJobAccess): Likewise.
7890         (checkPropertiesAccess): Likewise.
7891         (checkPropertyAccess): Likewise.
7892         (checkRead): Likewise.
7893         (checkSecurityAccess): Likewise.
7894         (checkSetFactory): Likewise.
7895         (checkSystemClipboardAccess): Likewise.
7896         (checkTopLevelWindow): Likewise.
7897         (checkWrite): Likewise.
7898
7899 2003-03-20  Michael Koch  <konqueror@gmx.de>
7900
7901         * gnu/java/nio/FileChannelImpl.java
7902         (address): Removed.
7903         (map_address): New member variable.
7904         (length): Make it package private.
7905         (fd): Make it package private.
7906         (buf): Make it package private.
7907         (file_obj): Make it package private.
7908         (FileChannelImpl): New constructor.
7909         (nio_mmap_file): Use RawData instead of long.
7910         (nio_munmap_file): Use RawData instead of long.
7911         (nio_msync): Use RawData instead of long.
7912         (implCloseChannel): New implementation using map_address.
7913         (read): Reformated.
7914         (map): Implemented.
7915         (create_direct_mapped_buffer): Implemented, use RawData, throws
7916         IOException.
7917         (force): Use map_address instead of address.
7918         * gnu/java/nio/MappedByteFileBuffer.java
7919         (address): Removed.
7920         (map_address): New member variable.
7921         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7922         (several methods): Use map_address instead of address, replaced long
7923         with RawData where appropriate.
7924         * gnu/java/nio/natFileChannelImpl.cc
7925         (nio_mmap_file): Replaced long with RawData.
7926         (nio_munmap_file): Replaced long with RawData.
7927         (nio_msync): Replaced long with RawData.
7928         * gnu/java/nio/natMappedByteFileBuffer.cc
7929         (several methods): Replaced long with RawData where appropriate.
7930
7931 2003-03-20  Michael Koch  <konqueror@gmx.de>
7932
7933         * java/net/InetAddress.java,
7934         java/net/JarURLConnection.java,
7935         java/net/PlainDatagramSocketImpl.java,
7936         java/net/PlainSocketImpl.java,
7937         java/net/URLConnection.java:
7938         Merged copyright statements with classpath for easier merging.
7939
7940 2003-03-20  Michael Koch  <konqueror@gmx.de>
7941
7942         * java/io/FileInputStream.java
7943         (getChannel): New implementation.
7944         * java/io/FileOutputStream.java
7945         (ch): New member variable.
7946         (getChannel): Implemented.
7947         * java/io/RandomAccessFile.java
7948         (RandomAccessFile): Throws FileNotFoundException instead of
7949         IOException.
7950         (getChannel): New method.
7951         (ch): New member variable.
7952
7953 2003-03-20  Michael Koch  <konqueror@gmx.de>
7954
7955         * java/io/DataOutputStream.java,
7956         java/io/File.java,
7957         java/io/FileInputStream.java,
7958         java/io/FileOutputStream.java,
7959         java/io/InputStreamReader.java,
7960         java/io/LineNumberReader.java,
7961         java/io/OutputStreamWriter.java,
7962         java/io/PrintStream.java,
7963         java/io/RandomAccessFile.java:
7964         Merged copyright statements with classpath for easier merging.
7965
7966 2003-03-19  Michael Koch  <konqueror@gmx.de>
7967
7968         * java/lang/Process.java:
7969         Merged from classpath.
7970
7971 2003-03-19  Michael Koch  <konqueror@gmx.de>
7972
7973         * java/io/FileOutputStream.java
7974         (FileOutputStream): New constructor, merged from classpath.
7975         * java/io/FileWriter.java
7976         (FileWriter): New constructor, merged from classpath.
7977
7978 2003-03-18  Michael Koch  <konqueror@gmx.de>
7979
7980         * java/awt/ScrollPane.java
7981         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7982         (getViewportSize): Likewise.
7983         (addNotify): Likewise.
7984         (removeNotify): Likewise.
7985         * java/awt/ScrollPaneAdjustable.java
7986         (ScrollPaneAdjustable): No longer extends Scrollbar.
7987         * java/beans/beancontext/BeanContextServices.java:
7988         Reformated.
7989         (getService): Added throws TooManyListenersException;
7990         * java/beans/beancontext/BeanContextServicesSupport.java:
7991         Reformated.
7992
7993 2003-03-18  Michael Koch  <konqueror@gmx.de>
7994
7995         * java/io/BufferedOutputStream.java,
7996         java/io/DataInput.java,
7997         java/io/DataInputStream.java,
7998         java/io/DataOutput.java,
7999         java/io/Externalizable.java:
8000         More merges from classpath.
8001
8002 2003-03-18  Michael Koch  <konqueror@gmx.de>
8003
8004         * configure.in: Fixed links to platform dependant java.net files.
8005         * configure: Regenerated.
8006         * java/net/natInetAddress.cc,
8007         java/net/natNetworkInterface.cc,
8008         java/net/natPlainDatagramSocketImpl.cc,
8009         java/net/natPlainSocketImpl.cc:
8010         Removed.
8011
8012 2003-03-18  Michael Koch  <konqueror@gmx.de>
8013
8014         * configure.in: Create links to architecture dependent files,
8015         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8016         * configure: Regenerated.
8017         * java/net/natInetAddressNoNet.cc,
8018         java/net/natInetAddressPosix.cc,
8019         java/net/natInetAddressWin32.cc,
8020         java/net/natNetworkInterfaceNoNet.cc,
8021         java/net/natNetworkInterfacePosix.cc,
8022         java/net/natNetworkInterfaceWin32.cc,
8023         java/net/natPlainDatagramSocketImplNoNet.cc,
8024         java/net/natPlainDatagramSocketImplPosix.cc,
8025         java/net/natPlainDatagramSocketImplWin32.cc,
8026         java/net/natPlainSocketImplNoNet.cc,
8027         java/net/natPlainSocketImplPosix.cc,
8028         java/net/natPlainSocketImplWin32.cc: New files.
8029
8030 2003-03-18  Michael Koch  <konqueror@gmx.de>
8031
8032         * java/io/BufferedReader.java,
8033         java/io/BufferedWriter.java,
8034         java/io/ByteArrayOutputStream.java,
8035         java/io/FileFilter.java,
8036         java/io/FilePermission.java,
8037         java/io/FileReader.java,
8038         java/io/FileWriter.java,
8039         java/io/FilenameFilter.java,
8040         java/io/FilterInputStream.java,
8041         java/io/FilterOutputStream.java,
8042         java/io/FilterReader.java,
8043         java/io/FilterWriter.java,
8044         java/io/ObjectInput.java,
8045         java/io/ObjectInputValidation.java,
8046         java/io/ObjectOutput.java,
8047         java/io/ObjectStreamField.java,
8048         java/io/PipedInputStream.java,
8049         java/io/PipedReader.java,
8050         java/io/PrintWriter.java,
8051         java/io/PushbackReader.java,
8052         java/io/Reader.java,
8053         java/io/SerializablePermission.java,
8054         java/io/StringReader.java,
8055         java/io/Writer.java:
8056         Merged from classpath.
8057
8058 2003-03-17  Michael Koch  <konqueror@gmx.de>
8059
8060         * java/awt/ScrollPaneAdjustable.java:
8061         Compile fixes.
8062         
8063 2003-03-17  Michael Koch  <konqueror@gmx.de>
8064
8065         * java/net/DatagramSocket.java
8066         (connect): Fixed comment.
8067         * java/nio/ByteBuffer.java
8068         (hasArray): Fixed comment.
8069
8070 2003-03-17  Michael Koch  <konqueror@gmx.de>
8071
8072         * java/beans/Beans.java:
8073         Explicitely import classes not packages.
8074         * java/beans/FeatureDescriptor.java
8075         (preferred): New member variable.
8076         (isPreferred): New method.
8077         (setPreferred): New method.
8078         * java/beans/PropertyEditorManager.java:
8079         Explicitely import used classes.
8080         * java/beans/beancontext/BeanContextChild.java:
8081         Added line wrapping.
8082         * java/beans/beancontext/BeanContextChildSupport.java:
8083         Reindented.
8084         * java/beans/beancontext/BeanContextEvent.java:
8085         Reindented.
8086
8087 2003-03-17  Michael Koch  <konqueror@gmx.de>
8088
8089         * java/awt/Dialog.java
8090         (Dialog): New constructor, changed implementations, added
8091         documentation.
8092         * java/awt/ScrollPaneAdjustable.java
8093         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8094         Serializable.
8095         (serialVersionUID): New member variable.
8096         (sp): New member variable.
8097         (orientation): New member variable.
8098         (value): New member variable.
8099         (minimum): New member variable.
8100         (maximum): New member variable.
8101         (visibleAmount): New member variable.
8102         (unitIncrement): New member variable.
8103         (blockIncrement): New member variable.
8104         (AdjustmentListener): New member variable.
8105         (ScrollPaneAdjustable): New implementation.
8106         (addAdjustmentListener): New method.
8107         (removeAdjustmentListener): New method.
8108         (getAdjustmentListeners): New method.
8109         (getBlockIncrement): New method.
8110         (getMaximum): New method.
8111         (getMinimum): New method.
8112         (getOrientation): New method.
8113         (getUnitIncrement): New method.
8114         (getValue): New method.
8115         (getVisibleAmount): New method.
8116         (setBlockIncrement): New method.
8117         (setMaximum): Implemented.
8118         (setMinimum): Implemented.
8119         (setUnitIncrement): New method.
8120         (setValue): New method.
8121         (setVisibleAmount): Implemented. 
8122         (paramString): New stubbed method.
8123         * java/awt/Window.java
8124         (show): Call setVisible().
8125         (hide): Call setVisible().
8126         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8127         and WINDOW_STATE_CHANGED.
8128         (processWindowFocusEvent): New method.
8129         (processWindowStateEvent): New method.
8130         (postEvent): Deprecated.
8131         (applyResourceBundle): Deprecated.
8132         * java/awt/datatransfer/DataFlavor.java
8133         (DataFlavor): Doesn't thow ClassNotFoundException.
8134
8135 2003-03-17  Michael Koch
8136
8137         * javax/print/attribute/Attribute.java,
8138         javax/print/attribute/AttributeSet.java,
8139         javax/print/attribute/PrintRequestAttributeSet.java:
8140         New files.
8141         * Makefile.am
8142         (javax_source_files): Added new files:
8143         javax/print/attribute/Attribute.java
8144         javax/print/attribute/AttributeSet.java
8145         javax/print/attribute/PrintRequestAttributeSet.java
8146         * Makefile.in: Regenerated.
8147
8148 2003-03-17  Michael Koch
8149
8150         * javax/print/attribute/Attribute.java,
8151         javax/print/attribute/AttributeSet.java,
8152         javax/print/attribute/PrintRequestAttributeSet.java:
8153         New files.
8154         * Makefile.am
8155         (awt_java_source_files): Added new files:
8156         javax/print/attribute/Attribute.java
8157         javax/print/attribute/AttributeSet.java
8158         javax/print/attribute/PrintRequestAttributeSet.java
8159         * Makefile.in: Regenerated.
8160
8161 2003-03-16  Tom Tromey  <tromey@redhat.com>
8162
8163         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8164         Include platform.h.
8165         * java/lang/natRuntime.cc (insertSystemProperties): Use
8166         _Jv_platform_path_separator.
8167         (nativeGetLibname): Use _Jv_platform_file_separator.
8168         (_load): Use _Jv_platform_onload_names.
8169         (onload_names): New global.
8170         * include/win32.h (_Jv_platform_file_separator): New define.
8171         (_Jv_platform_path_separator): Likewise.
8172         (_Jv_platform_onload_names): Likewise.
8173         (_Jv_platform_ffi_abi): Likewise.
8174         * include/posix.h (_Jv_platform_file_separator): New define.
8175         (_Jv_platform_path_separator): Likewise.
8176         (_Jv_platform_onload_names): Likewise.
8177         (_Jv_platform_ffi_abi): Likewise.
8178
8179 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8180
8181         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8182
8183 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8184
8185         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8186         hierarchy loop.
8187         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8188         list to Object,ObjectStreamClass, moved callReadMethod code up into
8189         readObject and added Class argument to all setXxxField calls.
8190         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8191         consistent with ObjectOutputStream and to facilitate caching the
8192         Method in the future.
8193         (setBooleanField): Added Class argument.
8194         (setByteField): Likewise.
8195         (setCharField): Likewise.
8196         (setDoubleField): Likewise.
8197         (setFloatField): Likewise.
8198         (setIntField): Likewise.
8199         (setLongField): Likewise.
8200         (setShortField): Likewise.
8201         (setObjectField): Likewise.
8202         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8203         class hierarchy loop.
8204         (defaultWriteObject): Call writeFields with new argument list.
8205         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8206         list to Object,ObjectStreamClass, moved callWriteMethod up into
8207         writeObject and added Class argument to all getXxxField calls.
8208         (callWriteMethod): Added ObjectStreamClass argument to be able to
8209         get the proper class to call getMethod on (each class can have (or
8210         not have) its own writeObject method).
8211         (getBooleanField): Added Class argument.
8212         (getByteField): Likewise.
8213         (getCharField): Likewise.
8214         (getDoubleField): Likewise.
8215         (getFloatField): Likewise.
8216         (getIntField): Likewise.
8217         (getLongField): Likewise.
8218         (getShortField): Likewise.
8219         (getObjectField): Likewise.
8220         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8221         facilitate caching the Method object in the future.
8222
8223 2003-03-12  Andreas Schwab  <schwab@suse.de>
8224
8225         * configure.in: Avoid trailing /. in toolexeclibdir.
8226         * configure: Rebuilt.
8227
8228 2003-03-11  Michael Koch  <konqueror@gmx.de>
8229
8230         * gnu/java/nio/ByteBufferImpl.java
8231         (putInt): Use limit() instead of limit.
8232         * gnu/java/nio/CharBufferImpl.java
8233         (slice): Fixed implementation.
8234         (subSequence): Better bounds checking.
8235         * gnu/java/nio/MappedByteFileBuffer.java:
8236         Import all needed classes directly.
8237         * java/nio/ByteBuffer.java
8238         (hashCode): New dummy method.
8239         * java/nio/CharBuffer.java
8240         (array_offset): New member variable.
8241         (hasArray): Fixed documentation.
8242         (arrayOffset): Return array_offset.
8243
8244 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8245
8246         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8247         setter; made return value of getter const char* instead of char*
8248         * prims.cc: removed all references to _Jv_ThisExecutable().
8249         These are in the platform-specific sections now.
8250         * posix.cc: define platform-specific _Jv_ThisExecutable().
8251         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8252         * win32.cc: define platform-specific _Jv_ThisExecutable()
8253         using GetModuleFilename()
8254         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8255         to argv[0] instead of _Jv_ThisExecutable()
8256
8257 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8258
8259         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8260         that is set if we are using addr2name.awk instead of addr2line.
8261         (NameFinder): Set usingAddr2name if using addr2name.awk.
8262         (getExternalLabel): New native method to convert a method 
8263         name to an external label.
8264         (lookup): Convert name given by addr2line to an external label
8265         before demangling.
8266
8267         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8268         constant representing the prefix attached to method names to
8269         convert them to an external label.
8270         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8271         using LABEL_PREFIX.
8272
8273 2003-03-10  Tom Tromey  <tromey@redhat.com>
8274
8275         * Makefile.in: Rebuilt.
8276         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8277         (JC1FLAGS): Removed -Wno-deprecated.
8278
8279 2003-03-10  Michael Koch  <konqueror@gmx.de>
8280
8281         * java/nio/ByteOrder.java
8282         (nativeOrder): Working implementation, added documentation.
8283         (toString): Added documentation.
8284
8285 2003-03-10  Michael Koch  <konqueror@gmx.de>
8286
8287         * java/net/DatagramSocket.java,
8288         java/net/MulticastSocket.java,
8289         java/net/Socket.java,
8290         java/net/URL.java,
8291         java/net/URLConnection.java:
8292         Fixed some documentation tags to make javadoc and friends happy.
8293
8294 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8295
8296         * java/beans/beancontext/BeanContextServicesSupport.java,
8297         java/beans/beancontext/BeanContextSupport.java: New files.
8298         * Makefile.am
8299         (awt_source_files): Added new files.
8300         * Makefile.in: Regenerated.
8301
8302 2003-03-10  Michael Koch  <konqueror@gmx.de>
8303
8304         * java/awt/FocusTraversalPolicy.java
8305         (FocusTraversalPolicy): Documentation added.
8306         (getComponentAfter): Documentation added.
8307         (getComponentBefore): Documentation added.
8308         (getFirstComponent): Documentation added.
8309         (getLastComponent): Documentation added.
8310         (getDefaultComponent): Documentation added.
8311         (getInitialComponent): Documentation added.
8312         * java/awt/ScrollPaneAdjustable.java
8313         (sp): New member variable.
8314         (orientation): New member variable.
8315         (value): New member variable.
8316         (minimum): New member variable.
8317         (maximum): New member variable.
8318         (visibleAmount): New member variable.
8319         (unitIncrement): New member variable.
8320         (blockIncrement): New member variable.
8321         (adjustmentListener): New member variable.
8322         (ScrollPaneAdjustable): Rewrote.
8323         (addAdjustmentListener): New method.
8324         (removeAdjustmentListener): New method.
8325         (getAdjustmentListeners): New method.
8326         (getBlockIncrement): New method.
8327         (getMaximum): New method.
8328         (getMinimum): New method.
8329         (getOrientation): New method.
8330         (getUnitIncrement): New method.
8331         (getValue): New method.
8332         (getVisibleAmount): New method.
8333         (setBlockIncrement): New method.
8334         (setUnitIncrement): New method.
8335         (setMaximum): Implemented.
8336         (setMinimum): Implemented.
8337         (setValue): New method.
8338         (setVisibleAmount): Implemented.
8339         (paramString): New method.
8340         * java/awt/Window.java
8341         (show): Use setVisible(true) instead of super.show().
8342         (hide): Use sevVisible(false) instead of super.hide().
8343         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8344         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8345         (postEvent): Deprecated.
8346         (applyResourceBundle): Deprecated.
8347         (processWindowFocusEvent): New method.
8348         (processWindowStateEvent): New method.
8349         * java/awt/datatransfer/DataFlavor.java: Reindented.
8350         * java/awt/font/TextHitInfo.java
8351         (charIndex): New member variable.
8352         (leadingEdge): New member variable.
8353         (TextHitInfo): New constructor.
8354         (getCharIndex): Implemented.
8355         (isLeadingEdge): Implemented.
8356         (getInsertionIndex): Implemented.
8357         (hashCode): Access charIndex directly.
8358         (equals): Reformated.
8359         (leading): Implemented.
8360         (trailing): Implemented.
8361         (beforeOffset): Implemented.
8362         (afterOffset): Implemented.
8363         (getOtherHit): Implemented.
8364         (getOffsetHit): Implemented.
8365         (toString): Implemented.
8366         * java/awt/image/BufferedImage.java
8367         (BufferedImage): Implements WritableRenderedImage.
8368         (observers): New member variable.
8369         (addTileObserver): New method.
8370         (removeTileObserver): New method.
8371
8372 2003-03-09  Tom Tromey  <tromey@redhat.com>
8373
8374         PR libgcj/9934:
8375         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8376         to lseek.  Return 0 if we can't compute the value.
8377
8378 2003-03-03  Michael Koch  <konqueror@gmx.de>
8379
8380         * java/net/NetworkInterface.java: Merged with classpath.
8381
8382 2003-03-03  Tom Tromey  <tromey@redhat.com>
8383
8384         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8385         of bytecode.
8386         (handle_ret_insn): Fail if returning to jsr that appears at end of
8387         bytecode.
8388
8389 2003-03-03  Michael Koch  <konqueror@gmx.de>
8390
8391         * Makefile.am
8392         (ordinary_java_source_files):
8393         Added gnu/java/nio/MappedByteFileBuffer.java.
8394         (nat_source_files):
8395         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8396         * Makefile.in: Regenerated.
8397
8398 2003-03-03  Michael Koch  <konqueror@gmx.de>
8399
8400         * java/net/DatagramSocket.java
8401         (connect): Merged comment from classpath.
8402         (receive): Merged documentation from classpath.
8403         * java/net/Socket.java
8404         (setSoTimeout): Clarified documentation.
8405         * java/net/URL.java
8406         (getPath): Merged from classpath.
8407         (getUserInfo): Merged from classpath.
8408         (getQuery): Merged from classpath.
8409         * java/net/URLStreamHandler.java
8410         (toExternalForm): Merged from classpath.
8411
8412 2003-03-02  Mark Wielaard  <mark@klomp.org>
8413
8414         * java/util/Properties.java (load): Only skip line if the first
8415         character is a comment, whitespaces don't count.
8416
8417 2003-03-02  Michael Koch  <konqueror@gmx.de>
8418
8419         * java/net/NetPermission.java:
8420         Merged copyright with classpath.
8421
8422 2003-03-02  Michael Koch  <konqueror@gmx.de>
8423
8424         * java/lang/Package.java:
8425         Remerged from classpath.
8426
8427 2003-03-02  Michael Koch  <konqueror@gmx.de>
8428
8429         * java/net/HttpURLConnection.java
8430         (HTTP_SERVER_ERROR): Deprecated.
8431         * java/net/MulticastSocket.java
8432         (send): Replaced checkMulticast with appropriate checkPermission call,
8433         deprecated.
8434         * java/net/URLDecoder.java
8435         (decode): Deprecated.
8436         * java/net/URLEncoder.java
8437         (encode): Deprecated.
8438
8439 2003-03-02  Michael Koch  <konqueror@gmx.de>
8440
8441         * javax/swing/text/Caret.java
8442         (getMagicCaretPosition): Fixed typo in method name.
8443         * javax/swing/text/DefaultCaret.java
8444         (getMagicCaretPosition): Fixed typo in method name.
8445
8446 2003-03-02  Michael Koch  <konqueror@gmx.de>
8447
8448         * java/awt/List.java
8449         (setMultipleSelections): Deprecated.
8450         (delItem): Deprecated.
8451         * java/awt/MenuComponent.java
8452         (getPeer): Deprecated.
8453         * java/awt/ScrollPane.java
8454         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8455         * java/awt/dnd/MouseDragGestureRecognizer.java
8456         (mouseClicked): Added comment.
8457         (mousePressed): Added comment.
8458         (mouseReleased): Added comment.
8459         (mouseEntered): Added comment.
8460         (mouseExited): Added comment.
8461         (mouseDragged): Added comment.
8462         (mouseMoved): Added comment.
8463         * java/awt/event/KeyEvent.java
8464         (KeyEvent): Deprecated.
8465         (setModifiers): Deprecated.
8466         
8467 2003-03-02  Michael Koch  <konqueror@gmx.de>
8468
8469         * gnu/java/nio/FileChannelImpl.java
8470         (fd): Type FileDescriptor instead of int.
8471         (lengthInternal): Removed.
8472         (FileChannelImpl): Fixed arguments, check type of file object.
8473         (size): Made it native.
8474         (implPosition): New native method.
8475         (implTruncate): New native method.
8476         (position): Implemented.
8477         (truncate): Implemented.
8478         (nio_mmap_file): Changed arguments.
8479         (nio_munmap_file): Changed arguments.
8480         (nio_msync): Changed arguments.
8481         * gnu/java/nio/natFileChannelImpl.cc
8482         (lengthInternal): Removed.
8483         (size): New method.
8484         (implPosition): New method.
8485         (implTruncate): New method.
8486         (nio_mmap_file): Changed arguments.
8487         (nio_munmap_file): Changed arguments.
8488         (nio_msync): Changed arguments.
8489
8490 2003-03-02  Michael Koch  <konqueror@gmx.de>
8491
8492         * java/awt/dnd/DropTargetContext.java:
8493         Compile fix: Forgot to commit import.
8494         
8495 2003-03-02  Michael Koch  <konqueror@gmx.de>
8496
8497         * java/awt/Component.java,
8498         java/awt/ScrollPane.java:
8499         Fixed typos.
8500
8501 2003-03-02  Michael Koch  <konqueror@gmx.de>
8502
8503         * java/awt/dnd/DnDEventMulticaster.java: New file.
8504         * java/awt/dnd/DragSource.java
8505         (flavorMap): New member variable.
8506         (dragSourceListener): New member variable.
8507         (dragSourceMotionListener): New member variable.
8508         (getFlavorMap): Implemented.
8509         (createDragGestureRecognizer): Implemented.
8510         (addDragSourceListener): Implemented.
8511         (removeDragSourceListener): Implemented.
8512         (getDragSourceListeners): Implemented.
8513         (addDragSourceMotionListener): Implemented.
8514         (removeDragSourceMotionListener): Implemented.
8515         (getDragSourceMotionListeners): Implemented.
8516         (getListeners): Implemented.
8517         * java/awt/dnd/DragSourceContext.java
8518         (peer): New member variable.
8519         (cursor): New member variable.
8520         (transferable): New member variable.
8521         (trigger): New member variable.
8522         (dragSourceListener): New member variable.
8523         (image): New member variable.
8524         (offset): New member variable.
8525         (DragSourceContext): Implemented.
8526         (getDragSource): Implemented.
8527         (getComponent): Implemented.
8528         (getTrigger): Implemented.
8529         (getSourceActions): Implemented.
8530         (setCursor): Implemented.
8531         (getCursor): Implemented.
8532         (addDragSourceListener): Implemented.
8533         (removeDragSourceListener): Implemented.
8534         (getTransferable): Implemented.
8535         * java/awt/dnd/DropTarget.java
8536         (DropTargetAutoScroller.component): New member variable.
8537         (DropTargetAutoScroller.point): New member variable.
8538         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8539         (DropTargetAutoScroller.updateLocation): Implemented.
8540         (active): Renamed from isActive, defaults to true now.
8541         (component): New member variable.
8542         (flavorMap): New member variable.
8543         (actions): New member variable.
8544         (dropTargetContext): New member variable.
8545         (dropTargetListener): New member variable.
8546         (DropTarget): Implemented.
8547         (getComponent): Implemented.
8548         (setComponent): Implemented.
8549         (setDefaultActions): Implemented.
8550         (getDefaultActions): Implemented.
8551         (setActive): Use active instead of isActive.
8552         (isActive): Use active instead of isActive.
8553         (addDropTargetListener): Implemented.
8554         (removeDropTargetListener): Implemented.
8555         (getFlavorMap): Implemented.
8556         (setFlavorMap): Implemented.
8557         (getDropTargetContext): Implemented.
8558         (createDropTargetContext): Implemented.
8559         (createDropTargetAutoScroller): Implemented.
8560         * java/awt/dnd/DropTargetContext.java
8561         (TransferableProxy.getTransferDataFlavors): Implemented.
8562         (TransferableProxy.isDataFlavorSupported): Implemented.
8563         (TransferableProxy.getTransferData): Implemented.
8564         (dropTarget):  New member variable.
8565         (dtcp): New member variable.
8566         (DropTargetContext): New package private constructor.
8567         (getDropTarget): Implemented.
8568         (getComponent): Implemented.
8569         (addNotify): Implemented.
8570         (removeNotify): Implemented.
8571         (getCurrentDataFlavorsAsList): Implemented.
8572         (isDataFlavorSupported): Implemented.
8573         * java/awt/dnd/MouseDragGestureRecognizer.java
8574         (registerListeners): Implemented.
8575         (unregisterListeners): Implemented.
8576         * Makefile.am
8577         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8578         * Makefile.in: Regenerated.
8579
8580 2003-03-02  Michael Koch  <konqueror@gmx.de>
8581
8582         * java/awt/Component.java
8583         (eventTypeEnabled): New method.
8584         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8585         * java/awt/Container.java
8586         (changeSupport): New member variable.
8587         (addPropertyChangeListener): New methods.
8588         * java/awt/ContainerOrderFocusTraversalPolicy.java
8589         (ContainerOrderFocusTraversalPolicy): Added comment.
8590         (getComponentAfter): Throw exception, documentation added.
8591         (getComponentBefore): Throw exception, documentation added.
8592         (getFirstComponent): Throw exception, documentation added.
8593         (getLastComponent): Throw exception, documentation added.
8594         (getDefaultComponent): Throw exception, documentation added.
8595         * java/awt/EventQueue.java: Reindented.
8596         * java/awt/FocusTraversalPolicy.java:
8597         (FocusTraversalPolicy): Added comment.
8598         (getComponentAfter): Documentation added.
8599         (getComponentBefore): Documentation added.
8600         (getFirstComponent): Documentation added.
8601         (getLastComponent): Documentation added.
8602         (getDefaultComponent): Documentation added.
8603         (getInitialComponent): Documentation added.
8604         * java/awt/ScrollPane.java
8605         (wheelScrollingEnabled): New member variable.
8606         (ScrollPane): Initialize wheelScollingEnabled.
8607         (eventTypeEnabled): New method.
8608         (isWheelScrollingEnabled): New method.
8609         (setWheelScrollingEnabled): New method.
8610
8611 2003-03-02  Michael Koch  <konqueror@gmx.de>
8612
8613         * java/net/DatagramSocket.java
8614         (closed): New member variable.
8615         (close): Use closed variable.
8616         (getInetAddress): No need to call isConnected().
8617         (getPort): No need to call isConnected().
8618         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8619         (isClosed): Reimplemented.
8620         
8621 2003-03-02  Michael Koch  <konqueror@gmx.de>
8622
8623         * configure.in: Added check for memory mapping of files.
8624         * configure: Regenerated.
8625         * config.h.in: Regenerated.
8626
8627 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8628
8629         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8630         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8631
8632 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8633
8634         * java/io/File.java (normalizePath): Remove trailing separator
8635         on Windows only if path is not of the form "x:\".
8636
8637         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8638         (java::io::File::attr): Change formatting a bit and use
8639         WIN32_EPOCH_MILLIS instead of magic numbers.
8640         (java::io::File::isAbsolute): Path must have at least 3 
8641         characters for a UNC network path.
8642         (java::io::File::init_native): Define.
8643         (java::io::File::performCreate): Likewise.
8644         (java::io::File::performSetReadOnly): Likewise.
8645         (java::io::File::performSetLastModified): Likewise.
8646         (java::io::File::performListRoots): Likewise.
8647
8648 2003-03-01  Tom Tromey  <tromey@redhat.com>
8649
8650         * java/lang/natObject.cc: Don't include assert.h.
8651         (heavy_lock_obj_finalization_proc): Use JvAssert.
8652         (remove_all_heavy): Likewise.
8653         (_Jv_MonitorEnter): Likewise.
8654         (_Jv_MonitorExit): Likewise.
8655         (wait): Likewise.
8656
8657 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8658
8659         * java/io/File (getAbsolutePath): Prefix drive specifier on
8660         Windows for paths starting with a '\'.
8661         (toURL): Make URL more consistent with what Sun's JDK returns.
8662
8663         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8664         true only if the path is a UNC network path or it starts with a
8665         drive specifier.
8666
8667         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8668         Be prepared to handle either '/' or '\\' in the file path for
8669         Windows if using the "file" protocol.
8670         Canonicalise the file path if using a relative path in the given
8671         context and the "file" protocol.
8672
8673 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8674
8675         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8676         program array element passed to CreateProcess.
8677
8678 2003-03-01  Tom Tromey  <tromey@redhat.com>
8679
8680         * java/rmi/registry/RegistryHandler.java: Deprecate.
8681
8682 2003-03-01  Tom Tromey  <tromey@redhat.com>
8683
8684         * javax/accessibility/AccessibleEditableText.java,
8685         javax/accessibility/AccessibleHyperlink.java: New versions from
8686         Classpath.
8687
8688         * gnu/java/locale/LocaleInformation_af_ZA.java,
8689         gnu/java/locale/LocaleInformation_ar_AE.java,
8690         gnu/java/locale/LocaleInformation_ar_BH.java,
8691         gnu/java/locale/LocaleInformation_ar_DZ.java,
8692         gnu/java/locale/LocaleInformation_ar_EG.java,
8693         gnu/java/locale/LocaleInformation_ar_IN.java,
8694         gnu/java/locale/LocaleInformation_ar_IQ.java,
8695         gnu/java/locale/LocaleInformation_ar_JO.java,
8696         gnu/java/locale/LocaleInformation_ar_KW.java,
8697         gnu/java/locale/LocaleInformation_ar_LB.java,
8698         gnu/java/locale/LocaleInformation_ar_LY.java,
8699         gnu/java/locale/LocaleInformation_ar_MA.java,
8700         gnu/java/locale/LocaleInformation_ar_OM.java,
8701         gnu/java/locale/LocaleInformation_ar_QA.java,
8702         gnu/java/locale/LocaleInformation_ar_SD.java,
8703         gnu/java/locale/LocaleInformation_ar_SY.java,
8704         gnu/java/locale/LocaleInformation_ar_TN.java,
8705         gnu/java/locale/LocaleInformation_ar_YE.java,
8706         gnu/java/locale/LocaleInformation_be_BY.java,
8707         gnu/java/locale/LocaleInformation_bn_IN.java,
8708         gnu/java/locale/LocaleInformation_br_FR.java,
8709         gnu/java/locale/LocaleInformation_bs_BA.java,
8710         gnu/java/locale/LocaleInformation_ca_ES.java,
8711         gnu/java/locale/LocaleInformation_cs_CZ.java,
8712         gnu/java/locale/LocaleInformation_cy_GB.java,
8713         gnu/java/locale/LocaleInformation_da_DK.java,
8714         gnu/java/locale/LocaleInformation_de_AT.java,
8715         gnu/java/locale/LocaleInformation_de_BE.java,
8716         gnu/java/locale/LocaleInformation_de_CH.java,
8717         gnu/java/locale/LocaleInformation_de_DE.java,
8718         gnu/java/locale/LocaleInformation_de_LU.java,
8719         gnu/java/locale/LocaleInformation_el_GR.java,
8720         gnu/java/locale/LocaleInformation_en_AU.java,
8721         gnu/java/locale/LocaleInformation_en_BW.java,
8722         gnu/java/locale/LocaleInformation_en_CA.java,
8723         gnu/java/locale/LocaleInformation_en_DK.java,
8724         gnu/java/locale/LocaleInformation_en_GB.java,
8725         gnu/java/locale/LocaleInformation_en_HK.java,
8726         gnu/java/locale/LocaleInformation_en_IE.java,
8727         gnu/java/locale/LocaleInformation_en_IN.java,
8728         gnu/java/locale/LocaleInformation_en_NZ.java,
8729         gnu/java/locale/LocaleInformation_en_PH.java,
8730         gnu/java/locale/LocaleInformation_en_SG.java,
8731         gnu/java/locale/LocaleInformation_en_US.java,
8732         gnu/java/locale/LocaleInformation_en_ZA.java,
8733         gnu/java/locale/LocaleInformation_en_ZW.java,
8734         gnu/java/locale/LocaleInformation_es_AR.java,
8735         gnu/java/locale/LocaleInformation_es_BO.java,
8736         gnu/java/locale/LocaleInformation_es_CL.java,
8737         gnu/java/locale/LocaleInformation_es_CO.java,
8738         gnu/java/locale/LocaleInformation_es_CR.java,
8739         gnu/java/locale/LocaleInformation_es_DO.java,
8740         gnu/java/locale/LocaleInformation_es_EC.java,
8741         gnu/java/locale/LocaleInformation_es_ES.java,
8742         gnu/java/locale/LocaleInformation_es_GT.java,
8743         gnu/java/locale/LocaleInformation_es_HN.java,
8744         gnu/java/locale/LocaleInformation_es_MX.java,
8745         gnu/java/locale/LocaleInformation_es_NI.java,
8746         gnu/java/locale/LocaleInformation_es_PA.java,
8747         gnu/java/locale/LocaleInformation_es_PE.java,
8748         gnu/java/locale/LocaleInformation_es_PR.java,
8749         gnu/java/locale/LocaleInformation_es_PY.java,
8750         gnu/java/locale/LocaleInformation_es_SV.java,
8751         gnu/java/locale/LocaleInformation_es_US.java,
8752         gnu/java/locale/LocaleInformation_es_UY.java,
8753         gnu/java/locale/LocaleInformation_es_VE.java,
8754         gnu/java/locale/LocaleInformation_et_EE.java,
8755         gnu/java/locale/LocaleInformation_eu_ES.java,
8756         gnu/java/locale/LocaleInformation_fa_IR.java,
8757         gnu/java/locale/LocaleInformation_fi_FI.java,
8758         gnu/java/locale/LocaleInformation_fo_FO.java,
8759         gnu/java/locale/LocaleInformation_fr_BE.java,
8760         gnu/java/locale/LocaleInformation_fr_CA.java,
8761         gnu/java/locale/LocaleInformation_fr_CH.java,
8762         gnu/java/locale/LocaleInformation_fr_FR.java,
8763         gnu/java/locale/LocaleInformation_fr_LU.java,
8764         gnu/java/locale/LocaleInformation_ga_IE.java,
8765         gnu/java/locale/LocaleInformation_gd_GB.java,
8766         gnu/java/locale/LocaleInformation_gl_ES.java,
8767         gnu/java/locale/LocaleInformation_gv_GB.java,
8768         gnu/java/locale/LocaleInformation_he_IL.java,
8769         gnu/java/locale/LocaleInformation_hi_IN.java,
8770         gnu/java/locale/LocaleInformation_hr_HR.java,
8771         gnu/java/locale/LocaleInformation_hu_HU.java,
8772         gnu/java/locale/LocaleInformation_id_ID.java,
8773         gnu/java/locale/LocaleInformation_it_CH.java,
8774         gnu/java/locale/LocaleInformation_it_IT.java,
8775         gnu/java/locale/LocaleInformation_iw_IL.java,
8776         gnu/java/locale/LocaleInformation_ja_JP.java,
8777         gnu/java/locale/LocaleInformation_ka_GE.java,
8778         gnu/java/locale/LocaleInformation_kl_GL.java,
8779         gnu/java/locale/LocaleInformation_ko_KR.java,
8780         gnu/java/locale/LocaleInformation_kw_GB.java,
8781         gnu/java/locale/LocaleInformation_lt_LT.java,
8782         gnu/java/locale/LocaleInformation_lv_LV.java,
8783         gnu/java/locale/LocaleInformation_mi_NZ.java,
8784         gnu/java/locale/LocaleInformation_mk_MK.java,
8785         gnu/java/locale/LocaleInformation_mr_IN.java,
8786         gnu/java/locale/LocaleInformation_mt_MT.java,
8787         gnu/java/locale/LocaleInformation_nl_BE.java,
8788         gnu/java/locale/LocaleInformation_nl_NL.java,
8789         gnu/java/locale/LocaleInformation_nn_NO.java,
8790         gnu/java/locale/LocaleInformation_no_NO.java,
8791         gnu/java/locale/LocaleInformation_oc_FR.java,
8792         gnu/java/locale/LocaleInformation_pl_PL.java,
8793         gnu/java/locale/LocaleInformation_pt_BR.java,
8794         gnu/java/locale/LocaleInformation_pt_PT.java,
8795         gnu/java/locale/LocaleInformation_ro_RO.java,
8796         gnu/java/locale/LocaleInformation_ru_RU.java,
8797         gnu/java/locale/LocaleInformation_ru_UA.java,
8798         gnu/java/locale/LocaleInformation_se_NO.java,
8799         gnu/java/locale/LocaleInformation_sk_SK.java,
8800         gnu/java/locale/LocaleInformation_sl_SI.java,
8801         gnu/java/locale/LocaleInformation_sq_AL.java,
8802         gnu/java/locale/LocaleInformation_sr_YU.java,
8803         gnu/java/locale/LocaleInformation_sv_FI.java,
8804         gnu/java/locale/LocaleInformation_sv_SE.java,
8805         gnu/java/locale/LocaleInformation_ta_IN.java,
8806         gnu/java/locale/LocaleInformation_te_IN.java,
8807         gnu/java/locale/LocaleInformation_tg_TJ.java,
8808         gnu/java/locale/LocaleInformation_tl_PH.java,
8809         gnu/java/locale/LocaleInformation_tr_TR.java,
8810         gnu/java/locale/LocaleInformation_uk_UA.java,
8811         gnu/java/locale/LocaleInformation_ur_PK.java,
8812         gnu/java/locale/LocaleInformation_uz_UZ.java,
8813         gnu/java/locale/LocaleInformation_vi_VN.java,
8814         gnu/java/locale/LocaleInformation_yi_US.java,
8815         gnu/java/locale/LocaleInformation_zh_CN.java,
8816         gnu/java/locale/LocaleInformation_zh_HK.java,
8817         gnu/java/locale/LocaleInformation_zh_SG.java,
8818         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8819         info; from Classpath.
8820
8821         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8822         isPaintPending): New methods.
8823         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8824         setMaximizedBounds): New methods.
8825         (beginLayout, endLayout, isPaintPending): Likewise.
8826         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8827         (requestFocus): Likewise.
8828         (isObscured): Likewise.
8829         (canDetermineObscurity): Likewise.
8830         (coalescePaintEvent): Likewise.
8831         (updateCursorImmediately): Likewise.
8832         (createVolatileImage): Likewise.
8833         (handlesWheelScrolling): Likewise.
8834         (createBuffers): Likewise.
8835         (getBackBuffer): Likewise.
8836         (flip): Likewise.
8837         (destroyBuffers): Likewise.
8838
8839         * Makefile.in: Rebuilt.
8840         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8841         RobotPeer.java.
8842         * gnu/java/awt/GLightweightPeer.java,
8843         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8844         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8845         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8846         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8847         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8848         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8849         java/awt/dnd/peer/DragSourceContextPeer.java,
8850         java/awt/dnd/peer/DropTargetContextPeer.java,
8851         java/awt/peer/ButtonPeer.java,
8852         java/awt/peer/CheckboxMenuItemPeer.java,
8853         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8854         java/awt/peer/ComponentPeer.java,
8855         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8856         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8857         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8858         java/awt/peer/MenuBarPeer.java,
8859         java/awt/peer/MenuComponentPeer.java,
8860         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8861         java/awt/peer/PopupMenuPeer.java,
8862         java/awt/peer/ScrollPanePeer.java,
8863         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8864         java/awt/peer/TextComponentPeer.java,
8865         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8866         New versions from Classpath.
8867         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8868         * java/awt/peer/RobotPeer.java: Likewise.
8869
8870 2003-03-01  Mark Wielaard  <mark@klomp.org>
8871
8872         * java/io/ObjectInputStream.java: Reindent.
8873         * java/io/ObjectOutputStream.java: Likewise.
8874
8875 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8876
8877         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8878         jvalue for each argument. Simplify.
8879         * testsuite/libjava.jni/calls.c (docall),
8880         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8881         misalignment.
8882
8883 2003-02-28  Mark Wielaard  <mark@klomp.org>
8884
8885         * Makefile.am (nat_source_files): Remove
8886         java/io/natObjectOutputStream.cc.
8887         * Makefile.in: Regenerated.
8888         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8889         * java/io/ObjectStreamField.java (typename): New field.
8890         (ObjectStreamField(String, Class)): Initialize new field.
8891         (ObjectStreamField(String, String)): New Constructor.
8892         (getTypeCode): Use new field.
8893         (getTypeString): Use new field.
8894         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8895         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8896         Handle reading of Proxy classes. Never drain(), just write
8897         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8898         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8899         (flush): Call flush(), not just drain().
8900         (writeBoolean): Always use blockDataOutput.
8901         (writeByte): Likewise.
8902         (writeShort): Likewise.
8903         (writeChar): Likewise.
8904         (writeInt): Likewise.
8905         (writeLong): Likewise.
8906         (writeFloat): Likewise.
8907         (writeDouble): Likewise.
8908         (writeBytes): Likewise.
8909         (putfield (put(String,Object))): Throw IllegalArgumentException if
8910         field cannot be found.
8911         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8912         (writeArraySizeAndElements): Write byte[] in one go.
8913         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8914         set BlockDataMode to false.
8915         (annotateProxyClass): New method.
8916         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8917         (getField): No longer native.
8918         (getMethod): Likewise.
8919         (setBlockDataMode): Always drain() on switch, return old mode.
8920         (static): New static code block.
8921         * java/io/natObjectOutputStream.cc: Removed.
8922         * java/io/ObjectInputStream.java (getField): No longer native.
8923         (getMethod): Likewise.
8924         (readObject): Remember and reset old BlockDataMode. Track whether
8925         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8926         TC_LONGSTRING.
8927         (defaultReadObject): Set BlockDataMode to false during readFields.
8928         (resolveClass): Create new SecurityManager if necessary.
8929         Use Class.forName() if null ClassLoader found.
8930         (read(byte[],int,int): Copy remaining bytes to data before calling
8931         readNextBlock().
8932         (readFields): Set and reset BlockDataMode on call_read_method.
8933         Catch NoSuchFieldErrors.
8934         (setBlockDataMode): Return old mode.
8935         (static): New static code block.
8936         * java/io/natObjectInputStream.cc (getField): Removed.
8937         (getMethod): Likewise.
8938
8939 2003-02-27  Michael Koch  <konqueror@gmx.de>
8940
8941         * java/beans/Beans.java,
8942         java/beans/FeatureDescriptor.java
8943         java/beans/PropertyEditorManager.java:
8944         Reformated to GNU style.
8945
8946 2003-02-25  Michael Koch  <konqueror@gmx.de>
8947
8948         * gnu/java/nio/MappedByteFileBuffer.java,
8949         gnu/java/nio/natMappedByteFileBuffer.cc:
8950         New files, both are not compiled yet to get not noncompiling CVS.
8951
8952 2003-02-24  Tom Tromey  <tromey@redhat.com>
8953
8954         * java/util/prefs/AbstractPreferences.java (isUserNode):
8955         Implemented.
8956
8957 2003-02-24  Tom Tromey  <tromey@redhat.com>
8958
8959         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8960         Deprecate.
8961         * java/lang/Thread.java (resume): Deprecate.
8962         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8963         in @deprecated.
8964
8965 2003-02-23  Tom Tromey  <tromey@redhat.com>
8966
8967         * Makefile.in: Rebuilt.
8968         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8969
8970 2003-02-23  Tom Tromey  <tromey@redhat.com>
8971
8972         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8973         libraries): Removed.
8974         (add_library): Removed.
8975         (_load): Don't call add_library.
8976         (loadLibraryInternal): Likewise.
8977         (init): Likewise.
8978         (lookup_data): New struct.
8979         (find_symbol): New function.
8980         (_Jv_FindSymbolInExecutable): Use it.
8981
8982 2002-02-21  Anthony Green  <green@redhat.com>
8983
8984         * java/lang/Thread.java (Thread): New constructor taking stack
8985         size parameter (ignored for now).
8986         * Many methods: Merged GNU Classpath documentation.
8987
8988         * java/lang/Class.java (finalize): throws a Throwable.
8989
8990 2003-02-21  Mark Wielaard  <mark@klomp.org>
8991
8992         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8993         argument is null.
8994
8995 2003-02-21  Mark Wielaard  <mark@klomp.org>
8996
8997         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8998         then 65535 chars throw IllegalArgumentException.
8999
9000 2003-02-21  Mark Wielaard  <mark@klomp.org>
9001
9002         * java/util/zip/ZipFile.java (finalize): New method.
9003
9004 2003-02-21  Michael Koch  <konqueror@gmx.de>
9005
9006         * gnu/java/nio/natSocketChannelImpl.cc:
9007         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9008         <cato@df.lth.se> for pointing to it.
9009
9010 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9011
9012         * java/math/BigInteger.java (euclidInv): Take result array as an
9013         argument.  Updated all callers.
9014         (modInverse): Removed unused variables.
9015
9016 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9017
9018         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9019         config.status.
9020         * configure: Rebuilt.
9021
9022 2003-02-19  Michael Koch  <konqueror@gmx.de>
9023
9024         * gnu/java/nio/natSocketChannelImpl.cc:
9025         Added support for platforms without network support.
9026
9027 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9028
9029         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9030         after config.h.  Use <> for consistency.
9031         * java/lang/natObject.cc: Likewise.
9032         * java/lang/natRuntime.cc: Likewise.
9033         * java/lang/natSystem.cc: Likewise.
9034         * java/util/natTimeZone.cc: Likewise.
9035         * win32.cc: Likewise.
9036         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9037         listen, write, read): Undef to avoid interference from OS macros.
9038
9039 2003-02-19  Michael Koch  <konqueror@gmx.de>
9040
9041         * gnu/java/nio/ByteBufferImpl.java
9042         (ByteBufferImpl): Renamed two variables.
9043         * gnu/java/nio/CharBufferImpl.java
9044         (CharBufferImpl): Renamed two variables.
9045         * gnu/java/nio/DoubleBufferImpl.java
9046         (DoubleBufferImpl): Renamed two variables.
9047         * gnu/java/nio/FloatBufferImpl.java
9048         (FloatBufferImpl): Renamed two variables.
9049         * gnu/java/nio/IntBufferImpl.java
9050         (IntBufferImpl): Renamed two variables.
9051         * gnu/java/nio/LongBufferImpl.java
9052         (LongBufferImpl): Renamed two variables.
9053         * gnu/java/nio/ShortBufferImpl.java
9054         (ShortBufferImpl): Renamed two variables.
9055         * java/nio/CharBuffer.java
9056         (wrap): Fixed arguments to CharBufferImpl constructor.
9057         (hasArray): Only not read-only buffers have backing arrays.
9058         (length): Documentation added.
9059         (subSequence): Documentation added.
9060         * java/nio/DoubleBuffer.java
9061         (hasArray): Only not read-only buffers have backing arrays.
9062         * java/nio/FloatBuffer.java
9063         (hasArray): Only not read-only buffers have backing arrays.
9064         * java/nio/IntBuffer.java
9065         (hasArray): Only not read-only buffers have backing arrays.
9066         * java/nio/LongBuffer.java
9067         (hasArray): Only not read-only buffers have backing arrays.
9068         * java/nio/ShortBuffer.java
9069         (hasArray): Only not read-only buffers have backing arrays.
9070         
9071 2003-02-19  Michael Koch  <konqueror@gmx.de>
9072
9073         * javax/accessibility/AccessibleContext.java
9074         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9075
9076 2003-02-19  Michael Koch  <konqueror@gmx.de>
9077
9078         * java/awt/ScrollPaneAdjustable.java: Reformated.
9079
9080 2003-02-19  Michael Koch <konqueror@gmx.de>
9081
9082         * gnu/awt/j2d/Graphics2DImpl.java
9083         (getFontRenderContext): New method.
9084         (drawGlyphVector): New method.
9085         * java/awt/Graphics2D.java
9086         (getFontRenderContext): New abstract method.
9087         (drawGlyphVector): New abstract method.
9088         
9089 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9090
9091         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9092         if necessary.
9093         
9094         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9095         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9096         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9097         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9098         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9099         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9100         (setFont, gtkSetFont): add.
9101         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9102         Propagate font to peer.  (setFont): add FIXME comment.
9103
9104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9105         (gtkTextGetSize): fix height, width computation.
9106
9107         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9108         Make X font name a bit less bogus.
9109
9110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9111         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9112
9113         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9114         (processAdjustmentEvent): Adjust value.
9115
9116         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9117         logic errors.
9118
9119         * java/awt/Component.java (setVisible, show, hide): Call show and
9120         hide methods in subclasses.
9121         (getPreferredSize): don't set prefSize before we have peer.
9122
9123         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9124         Guess (0,0) if we don't have peer.
9125
9126
9127 2003-02-18  Michael Koch  <konqueror@gmx.de>
9128
9129         * java/nio/channels/FileChannel.java
9130         (toString): New implementation, added documentation.
9131         (map): Added exception documentation.
9132         (size): Added exception documentation.
9133         (write): New methods, documentation work.
9134         (read): New methods, documentation work.
9135         (implCloseChannel): Rewrote exception documentation.
9136         (force): Throws IOException, added documentation.
9137         (lock): New methods.
9138         (tryLock): New methods.
9139         (position): New methods.
9140         (transferTo): New method.
9141         (transferFrom): New method.
9142         (truncate): New method.
9143         * java/nio/channels/spi/SelectorProvider.java
9144         (provider): Implemented.
9145         * Makefile.am
9146         (ordinary_java_source_files): Added the following files:
9147         gnu/java/nio/DatagramChannelImpl.java
9148         gnu/java/nio/FileChannelImpl.java
9149         gnu/java/nio/PipeImpl.java
9150         gnu/java/nio/SelectionKeyImpl.java
9151         gnu/java/nio/SelectorImpl.java
9152         gnu/java/nio/SelectorProviderImpl.java
9153         gnu/java/nio/ServerSocketChannelImpl.java
9154         gnu/java/nio/SocketChannelImpl.java
9155         java/nio/channels/FileLock.java
9156         (nat_java_source_files): Added the following files:
9157         gnu/java/nio/natFileChannelImpl.cc
9158         gnu/java/nio/natSelectorImpl.cc
9159         gnu/java/nio/natSocketChannelImpl.cc
9160         * Makefile.in: Regenerated.
9161
9162 2003-02-17  Tom Tromey  <tromey@redhat.com>
9163
9164         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9165         * java/awt/image/ImageFilter.java: Likewise.
9166
9167 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9168
9169         * java/math/BigInteger.java (euclidInv): Return array of
9170         `BigInteger's.  Changed all callers.
9171
9172 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9173
9174         * java/util/Properties.java (store): Move the code formerly in
9175         list(), into this method.
9176         (list (PrintStream)): Just call list (PrintWriter) with a 
9177         PrintWriter object constructed from the given PrintStream object.
9178         (list (PrintWriter)): Emulate the output of Properties.list()
9179         as found in JDK 1.3/1.4.
9180
9181 2003-02-17  Michael Koch  <konqueror@gmx.de>
9182
9183         * java/net/DatagramSocket.java
9184         (connect): Merged with classpath.
9185         (disconnect): Merged documentation with classpath.
9186         (receice): Merged documentation with classpath.
9187         (send): Merged documentation with classpath.
9188         
9189 2003-02-17  Michael Koch  <konqueror@gmx.de>
9190
9191         * java/awt/dnd/DragSourceContext.java
9192         (addDragSourceListener): Added documentation.
9193         * java/awt/dnd/DragSourceDragEvent.java
9194         (serialVersionUID): New member variable.
9195         (getDropAction): Reformated.
9196         * java/awt/dnd/DragSourceDropEvent.java
9197         (serialVersionUID): New member variable.
9198         (dropSuccess): Renamed from success for serialization issues.
9199         * java/awt/dnd/DragSourceEvent.java
9200         (serialVersionUID): New member variable.
9201         * java/awt/dnd/DropTarget.java
9202         (serialVersionUID): New member variable.
9203         (DropTarget): Implemented, documentation reworked.
9204         (setComponent): Documentation added.
9205         (getComponent): Documentation added.
9206         (setDefaultActions): Documentation added.
9207         (getDefaultActions): Documentation added.
9208         (addDropTargetListener): Documentation added.
9209         * java/awt/dnd/DropTargetContext.java
9210         (DropTargetContext): Documentation added.
9211         (TransferableProxy.TransferableProxy): New method.
9212         (dropComplete): Fixed documentation.
9213         (getTransferable): Fixed documentation.
9214         (createTransferableProxy): Implemented.
9215         * java/awt/dnd/DropTargetDragEvent.java
9216         (DropTargetDragEvent): Documentation added.
9217         (serialVersionUID): New member variable.
9218         (DropTargetDragEvent): Throw exceptions, documentation added.
9219         (acceptDrag): Implemented.
9220         (getCurrentDataFlavors): Implemented.3yy
9221         (getCurrentDataFlavorsAsList): Implemented.
9222         (isDataFlavorSupported): Implemented.
9223         (rejectDrag): Implemented.
9224         * java/awt/dnd/DropTargetDropEvent.java
9225         (DropTargetDropEvent): Documentation added.
9226         (serialVersionUID): New member variable.
9227         (actions): Renamed from srcActions for serialization issues.
9228         (isLocalTx): Renamed from isLocalTx for serialization issues.
9229         (DropTargetDropEvent): New implementation, throw exceptions,
9230         documentation added.
9231         (getCurrentDataFlavors): Implemented.
9232         (getCurrentDataFlavorsAsList): Implemented.
9233         (isDataFlavorSupported): Implemented.
9234         (getSourceActions): Implemented.
9235         (getDropAction): Implemented.
9236         (getTransferable): Implemented.
9237         (acceptDrop): Implemented.
9238         (rejectDrop): Implemented.
9239         * java/awt/dnd/DropTargetListener.java
9240         (drop): Fixed documentation.
9241         * java/awt/dnd/MouseDragGestureRecognizer.java
9242         (MouseDragGestureRecognizer): Documentation added.
9243
9244 2003-02-17  Michael Koch  <konqueror@gmx.de>
9245
9246         * java/awt/font/FontRenderContext.java,
9247         java/awt/font/ShapeGraphicAttribute.java,
9248         java/awt/font/MultipleMaster.java,
9249         java/awt/font/TransformAttribute.java,
9250         java/awt/font/GlyphJustificationInfo.java,
9251         java/awt/font/LineBreakMeasurer.java,
9252         java/awt/font/TextMeasurer.java,
9253         java/awt/font/TextLayout.java,
9254         java/awt/font/LineMetrics.java,
9255         java/awt/font/TextAttribute.java,
9256         java/awt/font/GlyphMetrics.java,
9257         java/awt/font/OpenType.java,
9258         java/awt/font/GlyphVector.java,
9259         java/awt/font/GraphicAttribute.java,
9260         java/awt/font/ImageGraphicAttribute.java,
9261         java/awt/font/NumericShaper.java: New files.
9262         * Makefile.am
9263         (awt_java_source_files): Added the following files:
9264         java/awt/font/FontRenderContext.java
9265         java/awt/font/ShapeGraphicAttribute.java
9266         java/awt/font/MultipleMaster.java
9267         java/awt/font/TransformAttribute.java
9268         java/awt/font/GlyphJustificationInfo.java
9269         java/awt/font/LineBreakMeasurer.java
9270         java/awt/font/TextMeasurer.java
9271         java/awt/font/TextLayout.java
9272         java/awt/font/LineMetrics.java
9273         java/awt/font/TextAttribute.java
9274         java/awt/font/GlyphMetrics.java
9275         java/awt/font/OpenType.java
9276         java/awt/font/GlyphVector.java
9277         java/awt/font/GraphicAttribute.java
9278         java/awt/font/ImageGraphicAttribute.java
9279         java/awt/font/NumericShaper.java
9280         * Makefile.in: Regenerated.
9281
9282 2003-02-17  Michael Koch  <konqueror@gmx.de>
9283
9284         * java/awt/print/Paper.java
9285         (Paper): Implements Cloneable.
9286         * java/awt/print/PrinterJob.java
9287         (setJobName): Return value must be void.
9288         (print): Throws PrinterException.
9289         
9290 2003-02-16  Tom Tromey  <tromey@redhat.com>
9291
9292         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9293         variable.
9294
9295 2003-02-15  Michael Koch  <konqueror@gmx.de>
9296
9297         * java/awt/datatransfer/DataFlavor.java
9298         (isRepresentationClassByteBuffer): Removed try-catch block.
9299         (isRepresentationClassCharBuffer): Removed try-catch block.
9300         (isRepresentationClassReader): Removed try-catch block.
9301
9302 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9303
9304         * java/nio/charset/Charset.java
9305         (isRegistered): Fixed method args and implementation.
9306         * java/nio/charset/CharsetEncoder.java
9307         (unmappableCharacterAction): New method.
9308
9309 2003-02-15  Michael Koch  <konqueror@gmx.de>
9310
9311         * java/awt/CheckboxMenuItem.java
9312         (CheckBoxMenuItem): Dont implement Serializable.
9313         (getListeners): New method,
9314         (getItemListeners): New method.
9315         * java/awt/Choice.java
9316         (getListeners): New method,
9317         (getItemListeners): New method.
9318         * java/awt/Container.java
9319         (getListeners): Added exception documentation.
9320         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9321         (getFocusTraversalKeys): Added documentation.
9322         (areFocusTraversalKeysSet): Added documentation.
9323         (applyComponentOrientation): Added documentation.
9324         * java/awt/ContainerOrderFocusTraversalPolicy.java
9325         (implicitDownCycleTraversal): Renamed from downCycle for
9326         serialization.
9327         (ContainerOrderFocusTraversalPolicy): Added documentation.
9328         (accept): Reformated.
9329         * java/awt/Dialog.java
9330         (Dialog): Dont implement Serializable.
9331         (Dialog): Added documentation.
9332         * java/awt/Font.java
9333         (Font): Dont use absolute class name.
9334         * java/awt/Frame.java
9335         (Frame): Font implement Serializable.
9336         * java/awt/List.java
9337         (getListeners): New method,
9338         (getActionListeners): New method.       
9339         (getItemListeners): New method.
9340         * java/awt/Menu.java
9341         (countItems): New deprecated method.
9342         * java/awt/Scrollbar.java
9343         (getListeners): New method,
9344         (getAdjustmentListeners): New method,
9345         * java/awt/TextComponent.java
9346         (getListeners): New method,
9347         (getTextListeners): New method,
9348         * java/awt/TextField.java
9349         (getListeners): New method,
9350         (getActionListeners): New method.       
9351         * java/awt/Window.java
9352         (windowFocusListener): New member variable.
9353         (windowStateListener): New member variable.
9354         (getWindowFocusListeners): New method.
9355         (getWindowStateListeners): New method.
9356         (addWindowFocusListener): New method.
9357         (addWindowStateListener): New method.
9358         (removeWindowFocusListener): New method.
9359         (removeWindowStateListener): New method.
9360         * java/awt/datatransfer/DataFlavor.java
9361         (isRepresentationClassByteBuffer): New method.
9362         (isRepresentationClassCharBuffer): New method.
9363         (isRepresentationClassReader): New method.
9364
9365 2003-02-14  Mark Wielaard  <mark@klomp.org>
9366
9367         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9368         zero when there is an exponent and the significant is zero.
9369         (divide): Always set scale to newScale even in special ZERO case.
9370
9371 2003-02-14  Tom Tromey  <tromey@redhat.com>
9372
9373         * java/lang/System.java (properties): Use Properties.clone.
9374         (setProperties): Likewise.
9375
9376 2003-02-14  Michael Koch  <konqueror@gmx.de>
9377
9378         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9379         * gnu/java/nio/ServerSocketChannelImpl.java
9380         (SocketAccept): Removed.
9381         (accept): Commented out use of SocketAccept.
9382
9383 2003-02-13  Tom Tromey  <tromey@redhat.com>
9384
9385         * verify.cc (state::seen_subrs): New field.
9386         (state::state): Initialize it.
9387         (state::clean_subrs): New method.
9388         (state::~state): Call it.
9389         (state::copy): Copy subroutine list.
9390         (state::add_subr): New method.
9391         (state::merge): Only register a change if the current subroutine
9392         hasn't yet been noted.
9393
9394 2003-02-13  Mark Wielaard  <mark@klomp.org>
9395
9396         * java/io/InputStreamReader.java (getEncoding): Return null when
9397         closed.
9398         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9399
9400 2003-02-13  Mark Wielaard  <mark@klomp.org>
9401  
9402         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9403         is zero.
9404
9405 2003-02-13  Mark Wielaard  <mark@klomp.org>
9406
9407         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9408         next byte cannot be buffered.
9409
9410 2003-02-13  Michael Koch  <konqueror@gmx.de>
9411  
9412         * java/awt/Label.java
9413         (Label): Don't implement Serializable directly.
9414         (addNotify): Fixed typo in documentation.
9415         * java/awt/List.java
9416         (List): Don't implement Serializable directly.
9417         * java/awt/PopupMenu.java
9418         (PopupMenu): Don't implement Serializable directly.
9419         * java/awt/ScrollPane.java
9420         (ScrollPane): Don't implement Serializable directly.
9421         * java/awt/Scrollbar.java
9422         (Scrollbar): Don't implement Serializable directly.
9423         * java/awt/TextArea.java
9424         (preferredSize): Fixed method arguments.
9425         * java/awt/TextField.java
9426         (TextField): Don't implement Serializable directly.
9427         * java/awt/color/ICC_ColorSpace.java
9428         (fromCIOXYZ): Documentation added.
9429         (getMinValue): Documentation added.
9430         (getMaxValue): Documentation added.
9431         * java/awt/datatransfer/DataFlavor.java
9432         (isMimeTypeEqual): May not be final.
9433         (clone): Throws CloneNotSupportedException.
9434         (getReaderForText): Don't throws UnsupportedEncodingException.
9435
9436 2003-02-13  Michael Koch  <konqueror@gmx.de>
9437  
9438         * gnu/java/awt/peer/gtk/GdkGraphics.java
9439         (drawString): New stubbed method.
9440         * java/awt/Graphics.java
9441         (drawString): New method.
9442
9443 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9444
9445         PR libgcj/9271:
9446         * java/security/SecureRandom.java (next): Avoid bias in results.
9447
9448 2003-02-13  Michael  <konqueror@gmx.de>
9449
9450         * gnu/java/nio/FileChannelImpl.java
9451         (lengthInternal): Must be native.
9452         (size): Check if channel is already closed.
9453         (implCloseChannel): Reformated.
9454         (read): w was unused, removed it.
9455         (read): Removed.
9456         (read): New method.
9457         (write): New method.
9458         (map): Check arguments.
9459         (force): Throws IOException, check if channel is closed.
9460         (transferTo): New method.
9461         (transferFrom): New method.
9462         (lock): New method.
9463         (tryLock): New method.
9464         (position): New method.
9465         (truncate): New method.
9466         (nio_mmap_file): Uncommented.
9467         (nio_munmap_file): Uncommented.
9468         (nio_msync): Uncommented.
9469         * gnu/java/nio/natFileChannelImpl.cc: New file.
9470         
9471 2003-02-13  Michael Koch  <konqueror@gmx.de>
9472
9473         * java/nio/ByteBuffer.java
9474         (endian): New member variable.
9475         (get): New methods.
9476         (equals): New method.
9477         (compareTo): New method.
9478         (order): New methods.
9479         (compact): New method.
9480         (isDirect): New method.
9481         (slice): New method.
9482         (duplicate): New method.
9483         (asReadOnlyBuffer): New method.
9484         (asCharBuffer): New method.
9485         (asDoubleBuffer): New method.
9486         (asFloatBuffer): New method.
9487         (asIntBuffer): New method.
9488         (asLongBuffer): New method.
9489         (asShortBuffer): New method.
9490         (get*): New methods.
9491         (put*): New methods.
9492         (toString): New method.
9493         * java/nio/CharBuffer.java
9494         (CharBuffer): Implement Comparable instead of Cloneable.
9495         (get): May not be final.
9496         (put): May not be final.
9497         
9498 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9499
9500         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9501         lastIndexOf( ) instead of indexOf( ) to find the colon before
9502         the line number, because Win32 file names might contain a 
9503         drive letter and a colon at the start of an absolute path.
9504
9505 2003-02-13  Michael Koch  <konqueror@gmx.de>
9506
9507         * gnu/java/nio/natSocketChannelImpl.cc
9508         (SocketConnect): This is not implemented yet.
9509         (SocketBind): This is not implemented yet.
9510
9511 2003-02-13  Michael Koch  <konqueror@gmx.de>
9512
9513         * gnu/java/nio/natByteBufferImpl.cc,
9514         gnu/java/nio/natCharBufferImpl.cc,
9515         gnu/java/nio/natDoubleBufferImpl.cc,
9516         gnu/java/nio/natFloatBufferImpl.cc,
9517         gnu/java/nio/natIntBufferImpl.cc,
9518         gnu/java/nio/natLongBufferImpl.cc,
9519         gnu/java/nio/natShortBufferImpl.cc:
9520         Added copyright and license.
9521         * java/nio/DoubleBuffer.java,
9522         java/nio/FloatBuffer.java,
9523         java/nio/IntBuffer.java,
9524         java/nio/LongBuffer.java,
9525         java/nio/ShortBuffer.java
9526         (array): Throw exceptions.
9527         (arrayOffset): Throw exceptions.
9528
9529 2003-02-13  Michael Koch  <konqueror@gmx.de>
9530  
9531         * gnu/java/util/prefs/FileBasedFactory.java,
9532         gnu/java/util/prefs/MemmoryBasedFactory.java,
9533         gnu/java/util/prefs/MemoryBasedPreferences.java,
9534         gnu/java/util/prefs/NodeReader.java,
9535         gnu/java/util/prefs/NodeWriter.java,
9536         java/util/prefs/AbstractPreferences.java,
9537         java/util/prefs/BackingStoreException.java,
9538         java/util/prefs/InvalidPreferencesFormatException.java,
9539         java/util/prefs/NodeChangeEvent.java,
9540         java/util/prefs/NodeChangeListener.java,
9541         java/util/prefs/PreferenceChangeEvent.java,
9542         java/util/prefs/PreferenceChangeListener.java,
9543         java/util/prefs/Preferences.java,
9544         java/util/prefs/PreferencesFactory.java:
9545         New files, all merged from classpath.
9546         * Makefile.am
9547         (ordinary_java_source_files): Added the following files:
9548         gnu/java/util/prefs/FileBasedFactory.java,
9549         gnu/java/util/prefs/MemmoryBasedFactory.java,
9550         gnu/java/util/prefs/MemoryBasedPreferences.java,
9551         gnu/java/util/prefs/NodeReader.java,
9552         gnu/java/util/prefs/NodeWriter.java,
9553         (core_java_source_files): Added the following files:
9554         java/util/prefs/AbstractPreferences.java,
9555         java/util/prefs/BackingStoreException.java,
9556         java/util/prefs/InvalidPreferencesFormatException.java,
9557         java/util/prefs/NodeChangeEvent.java,
9558         java/util/prefs/NodeChangeListener.java,
9559         java/util/prefs/PreferenceChangeEvent.java,
9560         java/util/prefs/PreferenceChangeListener.java,
9561         java/util/prefs/Preferences.java,
9562         java/util/prefs/PreferencesFactory.java
9563         * Makefile.in: Regenerated.
9564  
9565 2003-02-13  Michael Koch  <konqueror@gmx.de>
9566
9567         * java/net/NetPermission.java
9568         (NetPermission): Make doucmentation match the method declaration.
9569         * java/net/NetworkInterface.java
9570         (equals): Reformated for GNU coding style.
9571         * java/net/ServerSocket.java: Merged with classpath.
9572         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9573         * java/net/SocketImpl.java
9574         (localPort): Merged with classpath (initialize with -1).
9575         * java/net/SocketPermission.java: Merged with classpath (reindented).
9576         * java/net/URLDecoder.java: Merged with classpath (reindented).
9577
9578 2003-02-13  Michael Koch  <konqueror@gmx.de>
9579
9580         * java/awt/GridBagConstraints.java
9581         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9582         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9583         * java/awt/KeyboardFocusManager.java
9584         (setGlobalCurrentFocusCycleRoot): Must be public.
9585         * java/awt/MenuComponent.java
9586         (MenuComponent): Must be public.
9587         * java/awt/Toolkit.java:
9588         Added some empty lines to make documentation more readable.
9589         (getFontPeer): Added @deprecated.
9590         (getColorModel): Added exception documentation.
9591         (getProperty): Fixed documentation.
9592  
9593 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9594
9595         * configure.host (alpha*-*): Default to -mieee.
9596         * configure.in (IEEESPEC): New.
9597         * libgcj.spec.in (jc1): Add IEEESPEC.
9598         * configure: Rebuild.
9599
9600 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9601
9602         * include/win32.h: Include ws2tcpip.h instead of
9603         winsock.h to obtain definition of the socklen_t type.
9604         Remove IP_TOS definition - not needed with ws2tcpip.h
9605         (_Jv_connect): Correct slight formatting error.
9606
9607 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9608
9609         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9610         size of the arguments for a JNI function. For Win32,
9611         modify to search for all forms of possible exported
9612         names of an stdcall JNI function.
9613         (_Jv_JNIMethod::call): Modify to calculate the size
9614         of the arguments passed to a JNI function and pass
9615         it to _Jv_LookupJNIMethod.
9616
9617 2003-02-12  Michael Koch  <konqueror@gmx.de>
9618
9619         * java/nio/channels/Channels.java: New file.
9620         * Makefile.am
9621         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9622         * Makefile.in: Regenerated.
9623
9624 2003-02-12  Michael Koch  <konqueror@gmx.de>
9625
9626         * java/nio/ByteBuffer.java
9627         (allocate): Implemented.
9628         (wrap): Implemented.
9629         * java/nio/CharBuffer.java:
9630         Some documentation added and reworked.
9631         (endian): Removed.
9632         (allocate): Implemented.
9633         (wrap): Implemented.
9634         (array): Throw exceptions.
9635         (arrayOffset): Throw exceptions.
9636         (toString): Implemented.
9637         (length): Implemented.
9638         (put): Implemented.
9639         (charAt): Implemented.
9640
9641 2003-02-11  John Leuner  <jewel@debian.org>
9642
9643         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9644         reads from end of file.
9645
9646 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9647
9648         * java/io/natFileDescriptorWin32.cc 
9649         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9650         returns with Win32 error code ERROR_BROKEN_PIPE.
9651
9652 2003-02-11  Michael Koch  <konqueror@gmx.de>
9653
9654         * Makefile.in
9655         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9656
9657 2003-02-11  Michael Koch  <konqueror@gmx.de>
9658
9659         * gnu/java/nio/ByteBufferImpl.java:
9660         Reformated and removed some code.
9661         (backing_buffer): Removed.      
9662         (array_offset): Removed.
9663         (ro): Renamed to readOnly.
9664         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9665         * gnu/java/nio/CharBufferImpl.java:
9666         Reformated and removed some code.
9667         (array_offset): Removed.
9668         (ro): Renamed to readOnly.
9669         (CharBufferImpl): Use parent constructor, initialize readOnly.
9670         (inc_pos): Removed.
9671         (order): New method.
9672         * gnu/java/nio/DoubleBufferImpl.java:
9673         Reformated and removed some code.
9674         (array_offset): Removed.
9675         (ro): Renamed to readOnly.
9676         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9677         (inc_pos): Removed.
9678         (order): New method.
9679         * gnu/java/nio/FloatBufferImpl.java:
9680         Reformated and removed some code.
9681         (array_offset): Removed.
9682         (ro): Renamed to readOnly.
9683         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9684         (inc_pos): Removed.
9685         (order): New method.
9686         * gnu/java/nio/IntBufferImpl.java:
9687         Reformated and removed some code.
9688         (array_offset): Removed.
9689         (ro): Renamed to readOnly.
9690         (IntBufferImpl): Use parent constructor, initialize readOnly.
9691         (inc_pos): Removed.
9692         (order): New method.
9693         * gnu/java/nio/LongBufferImpl.java:
9694         Reformated and removed some code.
9695         (array_offset): Removed.
9696         (ro): Renamed to readOnly.
9697         (LongBufferImpl): Use parent constructor, initialize readOnly.
9698         (inc_pos): Removed.
9699         (order): New method.
9700         * gnu/java/nio/ShortBufferImpl.java:
9701         Reformated and removed some code.
9702         (array_offset): Removed.
9703         (ro): Renamed to readOnly.
9704         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9705         (inc_pos): Removed.
9706         (order): New method.
9707         * Makefile.am
9708         (ordinary_java_source_files): Added the following files:
9709         gnu/java/nio/ByteBufferImpl.java
9710         gnu/java/nio/CharBufferImpl.java
9711         gnu/java/nio/DoubleBufferImpl.java
9712         gnu/java/nio/FloatBufferImpl.java
9713         gnu/java/nio/IntBufferImpl.java
9714         gnu/java/nio/LongBufferImpl.java
9715         gnu/java/nio/ShortBufferImpl.java
9716         java/nio/DoubleBuffer.java
9717         java/nio/FloatBuffer.java
9718         java/nio/IntBuffer.java
9719         java/nio/LongBuffer.java
9720         java/nio/ShortBuffer.java
9721         (nat_source_files): Added the following files:
9722         gnu/java/nio/natByteBufferImpl.cc
9723         gnu/java/nio/natCharBufferImpl.cc
9724         gnu/java/nio/natDoubleBufferImpl.cc
9725         gnu/java/nio/natFloatBufferImpl.cc
9726         gnu/java/nio/natIntBufferImpl.cc
9727         gnu/java/nio/natLongBufferImpl.cc
9728         gnu/java/nio/natShortBufferImpl.cc
9729         * Makefile.in: Regenerated.
9730
9731 2003-02-11  Michael Koch  <konqueror@gmx.de>
9732
9733         * gnu/java/nio/natCharBufferImpl.cc
9734         (nio_cast): Removed.
9735         (nio_put_*): Removed.
9736         (nio_get_*): Removed.
9737         * gnu/java/nio/natDoubleBufferImpl.cc
9738         (nio_cast): Removed.
9739         (nio_put_*): Removed.
9740         (nio_get_*): Removed.
9741         * gnu/java/nio/natFloatBufferImpl.cc
9742         (nio_cast): Removed.
9743         (nio_put_*): Removed.
9744         (nio_get_*): Removed.
9745         * gnu/java/nio/natIntBufferImpl.cc
9746         (nio_cast): Removed.
9747         (nio_put_*): Removed.
9748         (nio_get_*): Removed.
9749         * gnu/java/nio/natLongBufferImpl.cc
9750         (nio_cast): Removed.
9751         (nio_put_*): Removed.
9752         (nio_get_*): Removed.
9753         * gnu/java/nio/natShortBufferImpl.cc
9754         (nio_cast): Removed.
9755         (nio_put_*): Removed.
9756         (nio_get_*): Removed.
9757         * gnu/java/nio/SelectorProviderImpl.java
9758         (openDatagramChannel): Throws IOException.
9759         (openPipe): Throws IOException.
9760         (openSelector): Throws IOException.
9761         (openServerSocketChannel): Throws IOException.
9762         (openSocketChannel): Throws IOException.
9763         * gnu/java/nio/ServerSocketChannelImpl.java
9764         (ServerSocketChannelImpl): Throws IOException.
9765         (implCloseSelectableChannel): Throws IOException.
9766         (implConfigureBlocking): Throws IOException.
9767         * java/nio/ByteBuffer.java
9768         (readOnly): Removed.
9769         (hasArray): Use isReadOnly() instead of readOnly.
9770         (array): Use isReadOnly() instead of readOnly.
9771         (arrayOffset): Use isReadOnly() instead of readOnly.
9772         * java/nio/CharBuffer.java
9773         (CharBuffer): Implements Cloneable and CharSequence.
9774
9775 2003-02-11  Michael Koch  <konqueror@gmx.de>
9776
9777         * java/nio/DoubleBuffer.java
9778         (DoubleBuffer): Implements Comparable.
9779         (endian): Removed.
9780         (array_offset): New member variable.
9781         (DoubleBuffer): New constuctor.
9782         (get): May not be final.
9783         (put): May not be final.
9784         (arrayOffset): Implemented.
9785         (order): Made abstract.
9786         (order): Removed.
9787         (as*Buffer): Removed.
9788         (get*): Removed.
9789         (put*): Removed.
9790         * java/nio/FloatBuffer.java
9791         (FloatBuffer): Implements Comparable.
9792         (endian): Removed.
9793         (array_offset): New member variable.
9794         (FloatBuffer): New constuctor.
9795         (get): May not be final.
9796         (put): May not be final.
9797         (arrayOffset): Implemented.
9798         (order): Made abstract.
9799         (order): Removed.
9800         (as*Buffer): Removed.
9801         (get*): Removed.
9802         (put*): Removed.
9803         * java/nio/IntBuffer.java
9804         (IntBuffer): Implements Comparable.
9805         (endian): Removed.
9806         (array_offset): New member variable.
9807         (IntBuffer): New constuctor.
9808         (get): May not be final.
9809         (put): May not be final.
9810         (arrayOffset): Implemented.
9811         (order): Made abstract.
9812         (order): Removed.
9813         (as*Buffer): Removed.
9814         (get*): Removed.
9815         (put*): Removed.
9816         * java/nio/LongBuffer.java
9817         (LongBuffer): Implements Comparable.
9818         (endian): Removed.
9819         (array_offset): New member variable.
9820         (LongBuffer): New constuctor.
9821         (get): May not be final.
9822         (put): May not be final.
9823         (arrayOffset): Implemented.
9824         (order): Made abstract.
9825         (order): Removed.
9826         (as*Buffer): Removed.
9827         (get*): Removed.
9828         (put*): Removed.
9829         * java/nio/ShortBuffer.java
9830         (ShortBuffer): Implements Comparable.
9831         (endian): Removed.
9832         (array_offset): New member variable.
9833         (ShortBuffer): New constuctor.
9834         (get): May not be final.
9835         (put): May not be final.
9836         (arrayOffset): Implemented.
9837         (order): Made abstract.
9838         (order): Removed.
9839         (as*Buffer): Removed.
9840         (get*): Removed.
9841         (put*): Removed.
9842
9843 2003-02-11   Michael Koch  <konqueror@gmx.de>
9844
9845         * java/nio/channels/SelectionKey.java
9846         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9847         values.
9848
9849 2003-02-11  Michael Koch  <konqueror@gmx.de>
9850
9851         * java/nio/channels/DatagramChannel.java
9852         (write): Throws IOException.
9853         (connect): Throws IOException.
9854         (disconnect): Throws IOException.
9855         (read): Throws IOException.
9856         (receive): Throws IOException.
9857         (send): Throws IOException.
9858         * java/nio/channels/Pipe.java
9859         (open): Throws IOException.
9860         * java/nio/channels/SelectableChannel.java
9861         (configureBlocking): Throws IOException.
9862         * java/nio/channels/ServerSocketChannel.java
9863         (accept): Throws IOException.
9864         * java/nio/channels/SocketChannel.java
9865         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9866         GatheringByteChannel.
9867         (read): Throws IOException.
9868         (write): Throws IOException.
9869         (finishConnect): Throws IOException.
9870         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9871         (end): Throws AsynchronousCloseException.
9872         * java/nio/channels/spi/AbstractSelectableChannel.java
9873         (configureBlocking): Throws IOException.
9874         (implCloseChannel): Throws IOException.
9875         (implCloseSelectableChannel): Throws IOException.
9876         (implConfigureBlocking): Throws IOException.
9877         * java/nio/channels/spi/SelectorProvider.java
9878         (openDatagramChannel): Throws IOException.
9879         (openPipe): Throws IOException.
9880         (openSelector): Throws IOException.
9881         (openServerSocketChannel): Throws IOException.
9882         (openSocketChannel): Throws IOException.
9883
9884 2003-02-11  Michael Koch  <konqueror@gmx.de>
9885
9886         * gnu/java/nio/FileLockImpl.java,
9887         java/nio/channels/FileLock.java: New files.
9888
9889 2003-02-11  Michael Koch  <konqueror@gmx.de>
9890
9891         * java/nio/charset/IllegalCharsetNameException.java
9892         (serialVersionUID): New member variable.
9893         (charsetName): New member variable.
9894         (IllegalCharsetException): New implementation.
9895         (getCharsetName): New implementation.
9896         * java/nio/charset/UnsupportedCharsetException.java
9897         (serialVersionUID): New member variable.
9898         (charsetName): New member variable.
9899         (UnsupportedCharsetException): New implementation.
9900         (getCharsetName): New implementation.
9901
9902 2003-02-10  Tom Tromey  <tromey@redhat.com>
9903
9904         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9905         (ex): Renamed from sqlException.
9906
9907 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9908
9909         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9910         method used to ensure seeding has occurred and that a specific 
9911         seed can be set and used.
9912
9913 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9914
9915         * java/lang/Win32Process.java (destroy): Declare as native.
9916         (hasExited): New native method.
9917         (exitValue): Define.
9918         (getErrorStream): Likewise.
9919         (getInputStream): Likewise.
9920         (getOutputStream): Likewise.
9921         (waitFor): Declare as native.
9922         (startProcess): New native method.
9923         (cleanup): Likewise.
9924         (ConcreteProcess): Define.
9925         (outputStream, inputStream, errorStream): New members.
9926         (procHandle, exitCode): Likewise.
9927
9928         * java/lang/natWin32Process.cc
9929         (java::lang::ConcreteProcess::cleanup): Define.
9930         (java::lang::ConcreteProcess::destroy): Likewise.
9931         (java::lang::ConcreteProcess::hasExited): Likewise.
9932         (java::lang::ConcreteProcess::waitFor): Likewise.
9933         (new_string): Likewise.
9934         (java::lang::ConcreteProcess::startProcess): Likewise.
9935
9936 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9937
9938         * java/math/BigInteger.java:
9939         Updated notice to include years 2002 and 3.
9940         Added 2 private (int) arrays with values from the HAC (Handbook of
9941         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9942         and t[] that contains nbr. of tests --used in isProbablePrime().
9943
9944         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9945
9946         * java/math/BigInteger.java (make(int[],int), add(int,int),
9947         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9948         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9949         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9950         make(long).
9951
9952         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9953         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9954         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9955         BIs and returns void.
9956         (modInverse(BI)): Use new signatures of euclidInv().
9957
9958         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9959         static small primes instead of remainder().
9960         Use pre-computed max nbr of trials based on bitlength of BI to test.
9961         Use pre-computed small primes for the trial tests instead of random
9962         numbers.
9963
9964         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9965         not used.
9966
9967         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9968         invoacation of MPN.chars_per_word().  not used.
9969
9970         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9971         local var and used where needed.
9972
9973         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9974         Combined declaration with initialisation of locals.
9975         Removed unused var.
9976
9977         * java/math/BigInteger.java: Style changes
9978         (pow(int)): Removed 'else' keyword.
9979         (toString(int)): idem.
9980         (doubleValue()): idem.
9981         (bitLength()): idem.
9982         (equals(Object)): Use static methods name in same class w/o prepending
9983         class name.
9984         (doubleValue()): idem.
9985         (setNegative(BI)): idem.
9986         (negate()): idem.
9987         (and(BI,int)): idem.
9988         (and(BI)): idem.
9989         (gcd(BI)): idem.
9990         (byteArrayToIntArray()): Removed casting to (int). this is
9991         std. behaviour.
9992         (canonicalize()): idem.
9993         (alloc(int)): Always instantiate a new BI.
9994
9995 2003-02-10  Tom Tromey  <tromey@redhat.com>
9996
9997         * java/sql/Timestamp.java (compareTo(Object)): New method.
9998         (compareTo(Timestamp)): Likewise.
9999         (serialVersionUID): Updated.
10000
10001 2003-02-07  Mark Wielaard  <mark@klomp.org>
10002
10003         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10004         when verify is true.
10005         (JarFile(File, boolean)): Likewise.
10006         (manifestRead): Set manifestRead field correctly.
10007
10008 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10009
10010         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10011         tests; see patch #1016 on Savannah.
10012
10013 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10014
10015         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10016         (toString): do not return Strings starting with . and - erroneously.
10017         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10018         DiagBigDecimal.
10019
10020 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10021
10022         * java/beans/PropertyDescriptor.java
10023         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10024         methods.
10025         (PropertyDescriptor(String, Class, String, String)): Likewise.
10026         (PropertyDescriptor(String, Method, Method): Factor out getter and
10027         setter method sanity checks into new method.
10028         (findMethods): Don't do parameter sanity checking of get method here.
10029         (checkMethods): New method.
10030
10031 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10032
10033         * java/beans/PropertyDescriptor.java: Reformat.
10034
10035 2003-02-04  Tom Tromey  <tromey@redhat.com>
10036
10037         * java/io/PipedOutputStream.java (flush): Declare as throwing
10038         IOException.
10039         (close): Likewise.
10040         * java/io/PipedWriter.java (close): Declare as throwing
10041         IOException.
10042         * java/io/StringWriter.java (close): Declare as throwing
10043         IOException.
10044
10045 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10046
10047         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10048         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10049         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10050         "_JNI_OnLoad@8" (MSVC).
10051
10052 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10053
10054         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10055         convention on Win32 to invoke native JNI methods.
10056
10057 2003-02-03  Andrew Haley  <aph@redhat.com>
10058
10059         * configure.host (x86_64): Enable interpreter.
10060
10061 2003-02-03  Andrew Haley  <aph@redhat.com>
10062
10063         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10064         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10065         * configure.in (BACKTRACESPEC): New.
10066         * configure: Regenerate.
10067
10068 2003-02-02  Tom Tromey  <tromey@redhat.com>
10069
10070         * configure: Rebuilt.
10071         * configure.in (TOOLKIT) [xlib]: Set correctly.
10072
10073         * Makefile.in: Rebuilt.
10074         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10075         libstdc++.
10076
10077 2003-01-31  Mark WIelaard  <mark@klomp.org>
10078
10079         * Makefile.in: Rebuilt.
10080         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10081
10082 2003-01-31  Tom Tromey  <tromey@redhat.com>
10083
10084         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10085         cast to element type.
10086         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10087         (_Jv_JNI_GetObjectArrayElement): Likewise.
10088
10089         * Makefile.in: Rebuilt.
10090         * Makefile.am (cond_x_ltlibrary): Renamed library to
10091         lib-gnu-awt-xlib.la.
10092         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10093         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10094         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10095         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10096         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10097         (lib_gnu_awt_xlib_la_LINK): Likewise.
10098         (install-exec-hook): Removed.
10099         (lib-gnu-awt-xlib.la): Renamed.
10100
10101 2003-01-31  Tom Tromey  <tromey@redhat.com>
10102
10103         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10104         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10105         aclocal.m4 and lost in some merge.
10106
10107         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10108         Don't try to find graphics configuration.
10109         * java/awt/Toolkit.java (default_toolkit_name): Use new
10110         Configuration entry.
10111         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10112         New global.
10113         * configure: Rebuilt.
10114         * configure.in (TOOLKIT): New subst.
10115         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10116         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10117         directory.  Make output directories for .c files.
10118         * Makefile.in: Rebuilt.
10119         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10120         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10121         (all_java_source_files): Added new sources.
10122         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10123         (gtk_c_files): New macro.
10124         (gtk_c_source_files): New macro.
10125         (cond_gtk_ltlibrary): New macro.
10126         ($(gtk_c_files)): New target.
10127         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10128         (gtk_awt_peer_sources): New macro.
10129         (gtk_c_headers): New macro.
10130         ($(gtk_c_headers)): New target.
10131         (ACLOCAL_AMFLAGS): New macro.
10132         * gtk.m4, glib.m4, libart.m4: New files.
10133         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10134         gnu/java/awt/peer/gtk/GdkGraphics.java,
10135         gnu/java/awt/peer/gtk/GtkArg.java,
10136         gnu/java/awt/peer/gtk/GtkArgList.java,
10137         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10138         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10139         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10140         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10141         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10142         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10143         gnu/java/awt/peer/gtk/GtkClipboard.java,
10144         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10145         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10146         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10147         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10148         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10149         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10150         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10151         gnu/java/awt/peer/gtk/GtkImage.java,
10152         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10153         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10154         gnu/java/awt/peer/gtk/GtkListPeer.java,
10155         gnu/java/awt/peer/gtk/GtkMainThread.java,
10156         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10157         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10158         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10159         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10160         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10161         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10162         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10163         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10164         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10165         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10166         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10167         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10168         gnu/java/awt/peer/gtk/GtkToolkit.java,
10169         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10170         gnu/java/awt/peer/gtk/TestAWT.java,
10171         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10173         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10174         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10175         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10176         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10177         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10178         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10179         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10180         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10181         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10183         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10184         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10185         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10187         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10188         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10190         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10191         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10192         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10193         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10194         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10195         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10196         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10197         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10198         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10199         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10200         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10201         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10202         jni/classpath/native_state.c, jni/classpath/native_state.h,
10203         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10204
10205 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10206
10207         * java/util/Properties.java (load): Ignore backslash before EOF.
10208
10209 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10210
10211         * java/lang/natClass.cc (initializeClass): Check tables when
10212         (state == JV_STATE_IN_PROGRESS).
10213         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10214         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10215         interpreted classes.
10216         (linkClass0): Use _Jv_WaitForState.
10217
10218 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10219
10220         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10221         object when finished.
10222
10223 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10224
10225         * libjava/configure.host: Disable can_unwind_signal on darwin.
10226
10227 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10228
10229         Fixes PR java/9254:
10230         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10231         additionally containing id of the owner thread as well as
10232         the number of nested times the thread has acquired the mutex.
10233         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10234         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10235         (_Jv_MutexUnlock): Check if really the owner thread, reset
10236         owner thread id to 0 before leaving, if leaving for the last
10237         time.
10238         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10239         refcount.
10240         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10241         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10242         the passed mutex.
10243         Pass handle of the broadcast event, instead of a pointer to it
10244         in Win32 ResetEvent( ) call.
10245         Remove incorrect return values.
10246         (_Jv_CondDestroy): Close both event handles and delete
10247         critical section.
10248         (_Jv_CondNotify): Check if really the owner thread.
10249         (_Jv_CondNotifyAll): Check if really the owner thread.
10250         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10251         (really_start): Use SetEvent( ) to signal daemon_cond.
10252         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10253         WaitForSingleObject( ) instead to wait for daemon_cond to be
10254         signalled.
10255
10256 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10257
10258         * configure.in: Specifically define HAVE_BACKTRACE if building
10259         for MinGW.
10260         * include/win32.h: Remove HAVE_BACKTRACE definition.
10261         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10262         * configure: Rebuilt.
10263
10264 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10265
10266         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10267         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10268         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10269         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10270         * Makefile.in, configure: Rebuilt.
10271
10272 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10273
10274         Fixes PR java/9253:
10275         * java/io/natFileWin32.cc (performList): Append only "*.*"
10276         if the canonical file path already has a "\" at the end.
10277
10278 2003-01-24  Tom Tromey  <tromey@redhat.com>
10279
10280         * defineclass.cc (handleMethodsEnd): Precompute code for static
10281         method.
10282         (handleCodeAttribute): Likewise.
10283         * resolve.cc (ncode): Use run_class for unsynchronized static
10284         methods.
10285         * include/java-interp.h (class _Jv_InterpMethod): Declare
10286         run_class.
10287         * interpret.cc (run_synch_class): Initialize class.
10288         (run) [insn_invokestatic]: Don't initialize class.
10289         [insn_anewarray]: Likewise.
10290         [insn_multianewarray]: Likewise.
10291         (run_class): New function.
10292
10293 2003-01-24  Tom Tromey  <tromey@redhat.com>
10294
10295         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10296         comment.
10297
10298 2003-01-22  Andrew Haley  <aph@redhat.com>
10299
10300         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10301         * configure.host (CHECKREFSPEC): Define for x86_64.
10302
10303 2003-01-21  Tom Tromey  <tromey@redhat.com>
10304
10305         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10306         search at 2, not 3.
10307
10308 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10309
10310         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10311         looking at any characters.
10312         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10313         be used.
10314         (isAbsolute): Check path's length as well.
10315
10316 2003-01-17  Mark Wielaard  <mark@klomp.org>
10317
10318         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10319         (nat_source_files): Add natVMObjectStreamClass.cc.
10320         * Makefile.in: Regenerated.
10321         * gcj/javaprims.h (namespace java): Regenerated.
10322         * java/io/ObjectStreamClass.java (getClassUID): Call
10323         VMObjectStreamClass.hasClassInitializer().
10324         (hasClassInitializer): Removed.
10325         * java/io/VMObjectStreamClass.java: New class.
10326         * java/io/natVMObjectStreamClass.cc: New file.
10327         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10328
10329 2003-01-16  Mark Wielaard  <mark@klomp.org>
10330
10331         * java/net/SocketImpl.java (toString): Don't explicitly call
10332         toString() on possible null address.
10333
10334 2003-01-16  Michael Koch  <konqueror@gmx.de>
10335
10336         * java/net/MulticastSocket.java
10337         (setInterface): Reindented.
10338
10339 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10340
10341         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10342         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10343         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10344         translateY arguments.  Implement.
10345         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10346         down translation arguments.
10347         (drawPolyline, drawPolygon): Fix incorrect tests.
10348         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10349         translateX and translateY arguments.
10350
10351 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10352
10353         * Makefile.in: Rebuilt.
10354         * Makefile.am (xlib_includes): New macro.
10355         (INCLUDES): Use it.
10356
10357 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10358
10359         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10360         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10361         16-bit display mode.
10362
10363 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10364
10365         * java/awt/CardLayout.java (show): Rewrote.
10366         (gotoComponent): Removed `target' argument.  Simplified code.
10367         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10368         Changed all callers.
10369         (NONE): Removed.
10370         
10371 2003-01-14  Michael Koch  <konqueror@gmx.de>
10372
10373         * java/net/InetSocketAddress.java
10374         (serialVersionUID): New member variable.
10375         * java/net/NetPermission.java
10376         (NetPermission): Dont implement java.io.Serialization directly.
10377         * java/net/SocketAddress.java:
10378         (serialVersionUID): Documentation added.
10379         
10380 2003-01-14  Michael Koch  <konqueror@gmx.de>
10381
10382         * java/awt/Label.java
10383         (Label): Implements javax.accessibility.Accessible;
10384         * java/awt/List.java
10385         (List): Implements javax.accessibility.Accessible;
10386         * java/awt/ScrollPane.java
10387         (ScrollPane): Implements javax.accessibility.Accessible;
10388         * java/awt/Scrollbar.java
10389         (Scrollbar): Implements javax.accessibility.Accessible;
10390         * java/awt/TextComponent.java
10391         (setCaretPosition): Throw exception, documentation added.
10392         * java/awt/Toolkit.java:
10393         Added some newlines in method documentations.
10394         (createButton): Exception documentation added.
10395         (createTextField): Exception documentation added.
10396         (createLabel): Exception documentation added.
10397         (createList): Exception documentation added.
10398         (createCheckbox): Exception documentation added.
10399         (createScrollbar): Exception documentation added.
10400         (createScrollPane): Exception documentation added.
10401         (createTextArea): Exception documentation added.
10402         (createChoice): Exception documentation added.
10403         (createFrame): Exception documentation added.
10404         (createWindow): Exception documentation added.
10405         (createDialog): Exception documentation added.
10406         (createMenuBar): Exception documentation added.
10407         (createMenu): Exception documentation added.
10408         (createMenuItem): Exception documentation added.
10409         (createFileDialog): Exception documentation added.
10410         (createCheckboxMenuItem): Exception documentation added.
10411         (loadSystemColors): Exception documentation added.
10412         (setDynamicLayout): Exception documentation added.
10413         (isDynamicLayoutSet): Exception documentation added.
10414         (isDynamicLayoutActive): Exception documentation added.
10415         (getScreenSize): Exception documentation added.
10416         (getScreenResolution): Exception documentation added.
10417         (getScreenInsets): Exception documentation added.
10418         (getColorModel): Exception documentation added.
10419         (getSystemClipboard): Exception documentation added.
10420         (getSystemSelection): Exception documentation added.
10421         (getMenuShortcutKeyMask): Exception documentation added.
10422         (getSystemEventQueue): Exception documentation added.
10423         * java/awt/Window.java:
10424         Reindented some code.
10425         (Window): Centralized implementation, documentation added.
10426         (finalize): Documentation added.
10427         (hide): Fixed typo in comment.
10428         (getWindowListeners): Documentation added.
10429         * java/awt/color/ColorSpace.java
10430         (toRGB): Documentation added.
10431         * java/awt/color/ICC_ColorSpace.java
10432         (ICC_ColorSpace): Documentation added.
10433         (toRGB): Throw exception, documentation added.
10434         (fromRGB): Throw exception, documentation added.
10435         (toCIEXYZ): Documentation added.
10436         (fromCIEXYZ): Documentation added.
10437         (getMinValue): Documentation added.
10438         (getMaxValue): Documentation added.
10439         * java/awt/geom/Dimension2D.java
10440         (clone): Documentation added.
10441         * java/awt/geom/GeneralPath.java
10442         (clone): Documentation added.
10443         * java/awt/geom/Line2D.java
10444         (clone): Documentation added.
10445         * java/awt/geom/QuadCurve2D.java
10446         (clone): Documentation added.
10447         * java/awt/image/ColorModel.java
10448         (ColorModel): Throw exception, documentation added.
10449         * java/awt/image/ImageFilter.java
10450         (clone): Doesnt throw CloneNotSupportedException.
10451
10452 2003-01-14  Andrew Haley  <aph@redhat.com>
10453
10454         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10455         in a try block.
10456
10457 2003-01-10  Andrew Haley  <aph@redhat.com>
10458
10459         * include/dwarf2-signal.h: Remove x86_64.
10460         * configure.host (x86_64 DIVIDESPEC): Remove.
10461         * include/x86_64-signal.h: New file.
10462         * configure.in: Regenerate.
10463
10464 2003-01-10  Michael Koch  <konqueror@gmx.de>
10465
10466         * java/net/DatagramSocket.java
10467         (ch): Description added.
10468         (remotePort): Initialize with -1.
10469         (connect): Doesnt throws SocketException.
10470         * java/net/MulticastSocket.java
10471         (setInterface): Merge with Classpath.
10472         * java/net/ServerSocket.java
10473         (closed): New member variable.
10474         (bind): Check if socket is closed.
10475         (close): Close an associated channel too, set new value to closed.
10476         (isBound): Reindented.
10477         (isClosed): Implemented.
10478         * java/net/Socket.java
10479         (closed): New member variable.
10480         (bind): Check if socket is closed.
10481         (connect): Check if socket is closed.
10482         (close): Close an associated channel too, set new value to closed.
10483         (isClosed): Implemented.
10484
10485 2003-01-10  Michael Koch  <konqueror@gmx.de>
10486
10487         * java/awt/DisplayMode.java
10488         (equals): Fixed argument type and implementation.
10489
10490 2003-01-07  Tom Tromey  <tromey@redhat.com>
10491
10492         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10493         JV_HASH_SYNCHRONIZATION.
10494         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10495         JV_HASH_SYNCHRONIZATION.
10496
10497 2003-01-07  Michael Koch  <konqueror@gmx.de>
10498  
10499         * java/net/DatagramSocket.java:
10500         Added classpath license info.
10501         (DatagramSocket): Merged description with classpath.
10502         (close): Merged description with classpath.
10503         (getChannel): Merged description with classpath.
10504         (getInetAddress): Merged description with classpath.
10505         (getPort): Merged description with classpath.
10506         (getLocalAddress): Merged description with classpath.
10507         (getLocalPort): Merged description with classpath.
10508         (getSoTimeout): Merged description with classpath.
10509         (setSoTimeout): Merged description with classpath.
10510         (getSendBufferSize): Merged description with classpath.
10511         (setSendBufferSize): Merged description with classpath.
10512         (getReceiveBufferSize): Merged description with classpath.
10513         (setReceiveBufferSize): Merged description with classpath.
10514         
10515 2003-01-04  Tom Tromey  <tromey@redhat.com>
10516
10517         * java/awt/List.java: Merged with Classpath.
10518
10519 2003-01-03  Mark Wielaard  <mark@klomp.org>
10520
10521         * java/io/FileDescriptor.java (position): New private field.
10522         * java/io/natFileDescriptorPosix.cc (write): Up position.
10523         (setLength): Use and set position.
10524         (seek): Set position.
10525         (getFilePointer): Return position.
10526         (read): Up position.
10527
10528 2003-01-03  Mark Wielaard  <mark@klomp.org>
10529
10530         Merge with Classpath:
10531         * java/io/ObjectStreamClass.java (lookup): Split method and call
10532         lookupForClassObject().
10533         (lookupForClassObject): New method.
10534         (isProxyClass): New field.
10535         (setClass): Set isProxyClass, add object to classLookupTable, set
10536         superClass and calculateOffsets.
10537         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10538         and not a proxy class.
10539         (setFields): Set accessible true for serialPersistentFields.
10540         (getClassUID): Same for suid. And check if suid is of type long.
10541         (hasClassInitializer): Don't throw NoSuchMethodError.
10542
10543 2003-01-03  Mark Wielaard  <mark@klomp.org>
10544
10545         * java/io/FileInputStream.java (finalize): Don't explicitly
10546         finalize FileDescriptor.
10547
10548 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10549
10550         * configure.host (sparc*-*): Enable bytecode interpreter.
10551
10552 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10553
10554         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10555         Don't throw RemoteException.
10556         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10557         throw RemoteException.
10558
10559 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10560
10561         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10562         proxyHost): New static fields.
10563         (<clinit>): Initialize new fields.
10564         (connect): Use proxy if necessary.
10565         (usingProxy): Implement.
10566
10567 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10568
10569         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10570         (TreeIterator.remove): Prefer IllegalStateException over
10571         ConcurrentModificationException, to match Sun.
10572
10573 2002-12-22  Anthony Green  <green@redhat.com>
10574
10575         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10576
10577 2003-01-02  Mark Wielaard  <mark@klomp.org>
10578
10579         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10580         public.
10581         (HTTP_USE_PROXY): Add field.
10582         (getResponseVals): Only set responseCode when not yet explicitly
10583         set by subclass.
10584
10585 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10586             Mark Wielaard  <mark@klomp.org>
10587
10588         * java/util/zip/ZipFile.java (entries): Now HashMap.
10589         (readLeShort(DataInput, byte[])): Read from given byte array.
10590         (readLeInt(DataInput, byte[]): Likewise.
10591         (readLeShort(byte[] b, int off)): New method.
10592         (readLeInt(byte[] b, int off)): Likewise.
10593         (readEntries): Use byte arrays to read info in bigger chunks.
10594         (getEntries): Return HashMap.
10595         (getEntry): Use HashMap.
10596         (locBuf): New private field.
10597         (checkLocalHeader): Use locBuf to read info in one chunk.
10598         (getInputStream): Use entries HashMap, wrap PartialInputStream
10599         in BufferedInputStream.
10600         (ZipEntryEnumeration): Use HashMap and Interator.
10601
10602 2003-01-02  Mark Wielaard  <mark@klomp.org>
10603             Jeroen Frijters  <jeroen@sumatra.nl>
10604
10605         * java/net/URLClassLoader.java (Resource.getCodeSource):
10606         Fix check certs == null.
10607         (getCanonicalFileURL): Removed method.
10608         (JarURLLoader): Don't call removed method.
10609         (FileURLLoader): Likewise.
10610         (FileURLLoader.getResource): Don't canonicalize file name.
10611
10612 2003-01-01  Tom Tromey  <tromey@redhat.com>
10613
10614         * Makefile.in: Rebuilt.
10615         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10616         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10617         java/awt/BufferCapabilities.java, java/awt/Button.java,
10618         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10619         java/awt/Container.java, java/awt/Cursor.java,
10620         java/awt/EventQueue.java, java/awt/FileDialog.java,
10621         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10622         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10623         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10624         java/awt/Scrollbar.java, java/awt/TextArea.java,
10625         java/awt/TextField.java, java/awt/color/CMMException.java,
10626         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10627         java/awt/color/ProfileDataException.java,
10628         java/awt/datatransfer/Clipboard.java,
10629         java/awt/datatransfer/DataFlavor.java,
10630         java/awt/datatransfer/FlavorMap.java,
10631         java/awt/datatransfer/SystemFlavorMap.java,
10632         java/awt/dnd/DragGestureEvent.java,
10633         java/awt/dnd/DragGestureRecognizer.java,
10634         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10635         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10636         java/awt/im/InputMethodHighlight.java,
10637         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10638         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10639
10640         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10641         `op' to BufferedImageOp.
10642
10643 2002-12-31  Tom Tromey  <tromey@redhat.com>
10644
10645         Fix for PR libgcj/7416:
10646         * javax/naming/InitialContext.java (init): Use
10647         gnu.classpath.home.url.
10648         * java/security/Security.java: Use new properties.
10649         (loadProviders): Accept base url; use it.
10650         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10651         gnu.classpath.home.url.
10652         (gnu.classpath.home.url): Define.
10653         (gnu.classpath.vm.shortname): Likewise.
10654
10655 2002-12-31  Tom Tromey  <tromey@redhat.com>
10656             Ranjit Mathew  <rmathew@hotmail.com>
10657
10658         Fix for PR libgcj/8997:
10659         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10660         Include platform.h.
10661         * include/posix.h (_Jv_platform_usleep): New function.
10662         * include/win32.h (_Jv_platform_usleep): New function.
10663
10664 2002-12-29  Tom Tromey  <tromey@redhat.com>
10665
10666         * gcj/javaprims.h: Updated.
10667         * scripts/classes.pl (scan): Removed stray semicolon.
10668
10669 2002-12-30  Mark Wielaard  <mark@klomp.org>
10670
10671         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10672         if zero or smaller.
10673
10674 2002-12-30  Mark Wielaard  <mark@klomp.org>
10675
10676         * java/util/Properties (formatForOutput): Don't fall through to
10677         default case after escaping character.
10678
10679 2002-12-30  Mark Wielaard  <mark@klomp.org>
10680
10681         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10682         against count.
10683
10684 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10685
10686         * boehm.cc: Remove stray semicolon.
10687         * interpret.cc: Likewise.
10688         * prims.cc: Likewise.
10689         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10690         earlier to ensure default arguments are processed.
10691         * gcj/array.h (JArray): Add forward declaration.
10692         (elements): Likewise.
10693         * gcj/javaprim.h: Remove stray semicolons.
10694         * include/bohm-gc.h: Likewise.
10695         * include/jni.h: Likewise.
10696         * include/jvm.h: Likewise.
10697         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10698         
10699 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10700
10701         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10702         of catch_type.
10703         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10704         idt tables after initializing superclass.
10705         * java/lang/natClassLoader.cc (uaddr): New typedef.
10706         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10707         if they are constant pool indicies.  Don't link vtable, otable yet.
10708
10709 2002-12-21  Anthony Green  <green@redhat.com>
10710
10711         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10712         libraries.
10713         * Makefile.in: Rebuilt.
10714
10715 2002-12-19  Anthony Green  <green@redhat.com>
10716
10717         * Makefile.am (ordinary_java_source_files): Add
10718         org/xml/sax/helpers/NewInstance.java.
10719         * Makefile.in: Rebuilt.
10720         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10721         org/xml/sax/helpers/package.html: New files.
10722         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10723         http://www.saxproject.org.
10724
10725 2002-12-19  Andrew Haley  <aph@redhat.com>
10726
10727         * java/util/natResourceBundle.cc: Include
10728         ArrayIndexOutOfBoundsException.h.
10729         (getCallingClassLoader): Don't put upper bound on stack search.
10730         Catch ArrayIndexOutOfBoundsException.
10731
10732 2002-12-19  Tom Tromey  <tromey@redhat.com>
10733
10734         * libtool-version: Increased `current'.
10735
10736 2002-12-19  Tom Tromey  <tromey@redhat.com>
10737
10738         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10739         comment.
10740         * java/lang/ClassLoader.java (defineClass): Use chained
10741         exception when rethrowing.
10742         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10743         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10744         constants.
10745         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10746         (_Jv_PrepareClass): Use it.
10747         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10748         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10749         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10750         (Class): _Jv_PrepareMissingMethods now friend.
10751         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10752         Record `NULL' for system class loader.
10753         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10754         system class loader.
10755         (_Jv_FindClassInCache): Likewise.
10756         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10757         (_Jv_FindClass): Special case system class loader.
10758         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10759         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10760         vtable slots.
10761         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10762         in a final class.
10763         (_getDeclaredMethod): Don't return synthetic methods.
10764         (getDeclaredMethods): Likewise.
10765         (_getMethod): Likewise.
10766         (_getMethods): Likewise.
10767
10768 2002-12-18  Raif Naffah  <raif@fl.net.au>
10769
10770         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10771         canonical form after divide().
10772         (modInverse): Likewise.
10773
10774 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10775             Mark Wielaard  <mark@klomp.org>
10776
10777         * java/security/SecurityRandom (digest): Removed field.
10778         (SecureRandom): Check all providers for case-insensitive SecureRandom
10779         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10780         if necessary.
10781         (getInstance(String,Provider,boolean): New method.
10782         (getInstance(String)): Use new method.
10783         (getInstance(String,String)): Likewise.
10784         (getInstance(String,Provider)): Likewise.
10785
10786 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10787
10788         * java/security/Security.java (loadProviders): Increment i only once.
10789
10790 2002-12-12  Mark Wielaard  <mark@klomp.org>
10791
10792         * java/lang/ClassLoader.java (resolveClass0): Transform
10793         ClassNotFoundException to NoClassDefFoundError. Transform all other
10794         throwables to LinkageError.
10795
10796 2002-12-11  Tom Tromey  <tromey@redhat.com>
10797
10798         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10799
10800         * java/lang/ClassLoader.java (loadedClasses): New field.
10801         (defineClass): Fixed indentation.  Put new class in
10802         loadedClasses.
10803         (findLoadedClass): Implement here.
10804         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10805
10806 2002-12-10  Tom Tromey  <tromey@redhat.com>
10807
10808         * Makefile.in: Rebuilt.
10809         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10810         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10811         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10812         * java/lang/natClassLoader.cc
10813         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10814
10815 2002-12-10  Mark Wielaard  <mark@klomp.org>
10816             Tom Tromey  <tromey@redhat.com>
10817
10818         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10819         (JarURLLoader): Use it.
10820         (FileURLLoader): Likewise.
10821         (JarURLResource.getURL): Use chained exception.
10822         (FileResource.getURL): Likewise.
10823         (FileURLLoader.getResource): Use canonical file name.
10824         (addURL): Indentation fix.
10825
10826 2002-12-10  Tom Tromey  <tromey@redhat.com>
10827
10828         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10829         From Laurent Bardet <l.bardet@magic.fr>.
10830
10831 2002-12-09  Tom Tromey  <tromey@redhat.com>
10832
10833         * include/win32.h (_Jv_platform_solib_prefix): New define.
10834         (_Jv_platform_solib_suffix): Likewise.
10835         * include/posix.h (_Jv_platform_solib_prefix): New define.
10836         (_Jv_platform_solib_suffix): Likewise.
10837         * java/lang/natRuntime.cc: Include StackTrace.h.
10838         (_load): Use findLibrary and new platform defines.
10839         (nativeGetLibname): Use new platform defines.
10840
10841         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10842         `t' won't be null.
10843
10844 2002-12-08  Mark Wielaard  <mark@klomp.org>
10845
10846         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10847         cache remote jar files.
10848         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10849         add File.separator to URL when it is a directory.
10850         * java/lang/ClassLoader.java: Add Classpath javadoc.
10851         (parent): final.
10852         (getParent): Add (disabled) security check.
10853         (findLibrary): New default method.
10854         * java/net/JarURLConnection.java (getManifest): Implement.
10855         (getInputStream): Only create InputStream when entry exists.
10856         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10857         when they exist.
10858         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10859
10860 2002-12-08  Mark Wielaard  <mark@klomp.org>
10861
10862         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10863         (lastDefaultLocale): New field.
10864         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10865         resourceBundleCache.
10866
10867 2002-12-06  Mark Wielaard  <mark@klomp.org>
10868
10869         * java/net/InetAddress.java (toString): Use hostname when not null,
10870         don't do an explicit reverse getHostName() lookup.
10871         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10872         NullPointerException.
10873
10874 2002-12-06  Tom Tromey  <tromey@redhat.com>
10875
10876         * include/java-interp.h (class _Jv_InterpMethod): Added
10877         JV_MARKOBJ_DECL.
10878         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10879         mark `prepared' field of interpreted method.
10880         * interpret.cc (compile): Use _Jv_AllocBytes.
10881
10882 2002-12-05  Andrew Haley  <aph@redhat.com>
10883
10884         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10885         #ifdef (HAVE_BACKTRACE) around the whole function body.
10886
10887 2002-12-05  Tom Tromey  <tromey@redhat.com>
10888
10889         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10890         * resolve.cc: Don't include AbstractMethodError.h.
10891         (_Jv_abstractMethodError): Removed.
10892         * defineclass.cc (handleMethodsBegin): Initialize method index to
10893         -1.
10894         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10895         method index for "new" final method.
10896         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10897         isVirtualMethod.  Added `flags' argument.
10898         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10899         class.
10900
10901 2002-12-04  Tom Tromey  <tromey@redhat.com>
10902
10903         * java/net/SocketPermission.java (hashCode): Rewrote.
10904
10905 2002-12-04  Tom Tromey  <tromey@redhat.com>
10906
10907         * Makefile.in: Rebuilt.
10908         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10909         natResourceBundle.
10910         * java/util/ResourceBundle.java (Security): Removed.
10911         (getCallingClassLoader): Now native.
10912         * java/util/natResourceBundle.cc: New file.
10913         * java/lang/natVMSecurityManager.cc: New file.
10914         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10915
10916 2002-12-03  Mark Wielaard  <mark@klomp.org>
10917
10918         * java/util/jar/JarFile.java (manifest): Not final.
10919         (manifestRead): New field.
10920         (JarFile): Don't read Manifest in constructor.
10921         (getManifest): New method.
10922         (JarEnumeration.nextElement): Use new method.
10923         (getEntry): Likewise.
10924         * java/util/zip/ZipFile.java (name): Final.
10925         (raf): Likewsie.
10926         (entries): Change type to Hashtable.
10927         (closed): New field.
10928         (ZipFile): Don't read enties in constructor.
10929         (readEntries): Use Hashtable.
10930         (close): Set new close flag and set entries to null inside
10931         synchronized block.
10932         (entries): Contruct enumeration using new getEntries() method and
10933         entries Hashtable.
10934         (getEntryIndex): Removed.
10935         (getEntries): New method.
10936         (getEntry): Use new getEntries() method and entries Hastable.
10937         (getInputStream): Likewise.
10938         (size): Return getEntries().size().
10939         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10940         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10941         (time): Removed
10942         (dostime): New field.
10943         (zipFileIndex): Removed.
10944         (ZipEntry(ZipEntry)): Copy dostime.
10945         (setDOSTime): Now final and doesn't convert dos time.
10946         (getDOSTime): Likewise.
10947         (setTime): Convert dos time.
10948         (getTime): Likewise.
10949         (getCalendar): New method.
10950         (setExtra): Use setTime().
10951         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10952
10953 2002-12-03  Tom Tromey  <tromey@redhat.com>
10954
10955         * java/lang/Character.java (forDigit): Formatting fix.
10956
10957 2002-12-03  Raif Naffah  <raif@fl.net.au>
10958
10959         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10960         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10961         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10962
10963 2002-12-03  Andrew Haley  <aph@redhat.com>
10964
10965         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10966         _Jv_PushClass.
10967         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10968         (_Jv_PopClass): New.
10969         (_Jv_PushClass): New.
10970         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10971         discover the ClassLoader of our caller.
10972         (_Jv_CheckArrayStore): Don't check that a class is assignment
10973         compatible with Object.
10974         * java/lang/natVMTHrowable.cc: Delete.
10975         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10976         java.lang.VMThrowable.
10977         (StackTrace(), StackTrace(int)): New constructors.
10978         (classAt, methodAt, update, methodAtAddress): New methods.
10979         (map): New field.
10980         * java/lang/VMThrowable.java: Use StackTrace instead of
10981         natVMTHrowable.
10982         * java/lang/Class.h (getClassLoaderInternal): New.
10983         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10984         Be friendly with gnu::gcj::runtime::StackTrace.
10985         (Object.chain): New field.
10986         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10987         gnu::gcj::runtime::StackTrace.
10988         * gnu/gcj/runtime/natStackTrace.cc: New file.
10989         * gnu/gcj/runtime/MethodRef.java: New file.
10990         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10991         instead of getClassLoader().
10992         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10993         java::lang::VMThrowable.
10994         * Makefile.am (core_java_source_files): Add MethodRef.java,
10995         StackTrace.java.
10996         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10997         * Makefile.in: Rebuild.
10998
10999 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11000
11001         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11002         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11003         yes also for sh-linux* and sh[34]*-linux*.
11004         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11005         set SIGNAL_HANDLER to use DWARF2 exception for them.
11006         * configure: Regenerate.
11007
11008 2002-12-02  Tom Tromey  <tromey@redhat.com>
11009
11010         * jni.cc: Added `name' argument.
11011         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11012         `const char *' argument.
11013         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11014
11015 2002-12-01  Tom Tromey  <tromey@redhat.com>
11016
11017         Bug compatibility, for PR libgcj/8738:
11018         * java/io/CharArrayWriter.java (close): Do nothing.
11019         (flush): Likewise.
11020         (reset): Don't touch `closed'.
11021         (write(int)): Don't throw IOException.
11022         (write(char[],int,int)): Likewise.
11023         (write(String,int,int)): Likewise.
11024         (closed): Removed.
11025
11026 2002-12-01  Mark Wielaard  <mark@klomp.org>
11027
11028         * java/lang/SecurityManager.java: Remerge comments, indenting and
11029         checkXXX methods with Classpath.
11030
11031 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11032
11033         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11034         getNormalizedComponents): Fix calculation which was using one too
11035         many bits in the unnormalized format.
11036
11037 2002-11-29  Gary Benson  <gbenson@redhat.com>
11038
11039         For PR libgcj/8759:
11040         * java/beans/Introspector.java (flushCaches): New method.
11041         (flushFromCaches): Likewise.
11042
11043 2002-11-29  Michael Koch <konqueror@gmx.de>
11044
11045         * java/nio/channels/DatagramChannel.java
11046         (open): Added exception documentation.
11047         (write): Added exception documentation.
11048         (connect): Added exception documentation.
11049         (disconnect): Added exception documentation.
11050         (isConnected): Added exception documentation.
11051         (read): Added exception documentation.
11052         (receive): Added exception documentation.
11053         (send): Added exception documentation.
11054         (validOps): Added exception documentation.
11055         * java/nio/channels/SocketChannel.java
11056         (open): Added exception documentation.
11057         (read): Added exception documentation.
11058         (write): Added exception documentation.
11059         (connect): Added exception documentation.
11060         (finishConnect): Added exception documentation.
11061
11062 2002-11-29  Michael Koch <konqueror@gmx.de>
11063
11064         * gnu/java/nio/DatagramChannelImpl:
11065         (fd): New member variable to store file descriptor of socket.
11066         * gnu/java/nio/SelectionKeyImpl.java:
11067         (ops): Removed.
11068         (readyOps): New member variable.
11069         (interestOps): New member variable.
11070         (readyOps): Implemented.
11071         (readyOps): New method to set member variable readyOps.
11072         (interestOps): Replaced ops by interestOps.
11073         * gnu/java/nio/SelectorImpl.java:
11074         (SelectorImpl): Initialize key sets.
11075         (select): Call select with -1 instead of Long.MAX_VALUE).
11076         (java_do_select): Make it a native method.
11077         (getFDsAsArray): New helper method.
11078         (select): Remove canceled keys, give only interested file discriptors
11079         to java_do_select, set ready ops.
11080         (add): No need to initialize keys set here.
11081         (add_selected): No need to initialize selected set here.
11082         (deregisterCanceledKeys): New helper method.
11083         (register): Set interest ops, set attachments, added handling of datagram
11084         channels.
11085         * gnu/java/nio/ServerSocketChannelImpl:
11086         (SocketAccept): Renamed from NioSocketAccept.
11087         (implConfigureBlocking): Implemented.
11088         (accept): Use SocketAccept instead of NioSocketAccept.
11089         * gnu/java/nio/SocketChannelImpl:
11090         Reactivate native methods.
11091
11092 2002-11-29  Michael Koch <konqueror@gmx.de>
11093
11094         * gnu/java/nio/natByteBufferImpl.cc,
11095         gnu/java/nio/natCharBufferImpl.cc,
11096         gnu/java/nio/natDoubleBufferImpl.cc,
11097         gnu/java/nio/natFloatBufferImpl.cc,
11098         gnu/java/nio/natIntBufferImpl.cc,
11099         gnu/java/nio/natLongBufferImpl.cc,
11100         gnu/java/nio/natSelectorImpl.cc,
11101         gnu/java/nio/natServerSocketChannelImpl.cc,
11102         gnu/java/nio/natShortBufferImpl.cc,
11103         gnu/java/nio/natSocketChannelImpl.cc:
11104         New files that implement native functionalities.
11105
11106 2002-11-29  Michael Koch <konqueror@gmx.de>
11107
11108         * gnu/java/nio/ByteBufferImpl.java
11109         (ByteBufferImpl): Moved position() after limit.
11110         (nio_*): Use native implementation.
11111         * gnu/java/nio/CharBufferImpl.java:
11112         Reformated.
11113         (endian): New member variable string endianess of buffer.
11114         (CharBufferImpl): Moved position() after limit.
11115         (nio_*): Use native implementation.
11116         (subSequence): Implemented.
11117         * gnu/java/nio/DoubleBufferImpl.java
11118         (DoubleBufferImpl): Moved position() after limit.
11119         (nio_*): Use native implementation.
11120         * gnu/java/nio/FloatBufferImpl.java
11121         Reformated.
11122         (FloatBufferImpl): Moved position() after limit.
11123         (nio_*): Use native implementation.
11124         * gnu/java/nio/IntBufferImpl.java
11125         Added needed imports, Reformated.
11126         (IntBufferImpl): Moved position() after limit.
11127         (nio_*): Use native implementation.
11128         * gnu/java/nio/LongBufferImpl.java
11129         Reformated.
11130         (LongBufferImpl): Moved position() after limit.
11131         (nio_*): Use native implementation.
11132         * gnu/java/nio/ShortBufferImpl.java
11133         Reformated.
11134         (ShortBufferImpl): Moved position() after limit.
11135         (nio_*): Use native implementation.
11136
11137 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11138
11139         * java/util/Locale.java (toString): Improve efficiency if country
11140         and variant are both empty.
11141
11142 2002-11-26  Tom Tromey  <tromey@redhat.com>
11143
11144         * verify.cc (pop_init_ref): New method.
11145         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11146         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11147         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11148         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11149         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11150         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11151         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11152         let `this' argument be uninitialized.  Don't let `null' be passed
11153         as `this' to construtor.
11154
11155 2002-11-26  Mark Wielaard  <mark@klomp.org>
11156
11157         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11158         * javax/transaction/HeuristicMixedException.java: Likewise.
11159         * javax/transaction/HeuristicRollbackException.java: Likewise.
11160         * javax/transaction/InvalidTransactionException.java: Likewise.
11161         * javax/transaction/NotSupportedException.java: Likewise.
11162         * javax/transaction/RollbackException.java: Likewise.
11163         * javax/transaction/Status.java: Likewise.
11164         * javax/transaction/Synchronization.java: Likewise.
11165         * javax/transaction/SystemException.java: Likewise.
11166         * javax/transaction/Transaction.java: Likewise.
11167         * javax/transaction/TransactionManager.java: Likewise.
11168         * javax/transaction/TransactionRequiredException.java: Likewise.
11169         * javax/transaction/TransactionRolledbackException.java: Likewise.
11170         * javax/transaction/UserTransaction.java: Likewise.
11171         * javax/transaction/xa/XAException.java: Likewise.
11172         * javax/transaction/xa/XAResource.java: Likewise.
11173         * javax/transaction/xa/Xid.java: Likewise.
11174
11175 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11176
11177         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11178         define.
11179         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11180         * include/posix.h (socklen_t): Define if not already defined.
11181
11182 2002-11-25  Tom Tromey  <tromey@redhat.com>
11183
11184         * verify.cc (type::compatible): Backed out broken change.
11185
11186         * verify.cc (type::compatible): Check initialization status
11187         first.
11188         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11189         Don't use NULLCHECK.
11190
11191 2002-11-23  H.J. Lu <hjl@gnu.org>
11192
11193         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11194         Include ../config/accross.m4.
11195         * aclocal.m4; Rebuild.
11196         * configure: Likewise.
11197
11198 2002-11-23  Mark Wielaard  <mark@klomp.org>
11199
11200         * javax/naming/AuthenticationException.java: Update copyright header.
11201         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11202         * javax/naming/Binding.java: Likewise.
11203         * javax/naming/CannotProceedException.java: Likewise.
11204         * javax/naming/CommunicationException.java: Likewise.
11205         * javax/naming/CompositeName.java: Likewise.
11206         * javax/naming/CompoundName.java: Likewise.
11207         * javax/naming/ConfigurationException.java: Likewise.
11208         * javax/naming/Context.java: Likewise.
11209         * javax/naming/ContextNotEmptyException.java: Likewise.
11210         * javax/naming/InitialContext.java: Likewise.
11211         * javax/naming/InsufficientResourcesException.java: Likewise.
11212         * javax/naming/InterruptedNamingException.java: Likewise.
11213         * javax/naming/LimitExceededException.java: Likewise.
11214         * javax/naming/LinkException.java: Likewise.
11215         * javax/naming/LinkLoopException.java: Likewise.
11216         * javax/naming/LinkRef.java: Likewise.
11217         * javax/naming/MalformedLinkException.java: Likewise.
11218         * javax/naming/NameAlreadyBoundException.java: Likewise.
11219         * javax/naming/NameClassPair.java: Likewise.
11220         * javax/naming/NameNotFoundException.java: Likewise.
11221         * javax/naming/NameParser.java: Likewise.
11222         * javax/naming/NamingEnumeration.java: Likewise.
11223         * javax/naming/NamingSecurityException.java: Likewise.
11224         * javax/naming/NoInitialContextException.java: Likewise.
11225         * javax/naming/NoPermissionException.java: Likewise.
11226         * javax/naming/NotContextException.java: Likewise.
11227         * javax/naming/OperationNotSupportedException.java: Likewise.
11228         * javax/naming/PartialResultException.java: Likewise.
11229         * javax/naming/Reference.java: Likewise.
11230         * javax/naming/Referenceable.java: Likewise.
11231         * javax/naming/ReferralException.java: Likewise.
11232         * javax/naming/ServiceUnavailableException.java: Likewise.
11233         * javax/naming/SizeLimitExceededException.java: Likewise.
11234         * javax/naming/TimeLimitExceededException.java: Likewise.
11235         * javax/naming/directory/Attribute.java: Likewise.
11236         * javax/naming/directory/AttributeInUseException.java: Likewise.
11237         * javax/naming/directory/AttributeModificationException.java: Likewise.
11238         * javax/naming/directory/Attributes.java: Likewise.
11239         * javax/naming/directory/BasicAttribute.java: Likewise.
11240         * javax/naming/directory/BasicAttributes.java: Likewise.
11241         * javax/naming/directory/DirContext.java: Likewise.
11242         * javax/naming/directory/InitialDirContext.java: Likewise.
11243         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11244         Likewise.
11245         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11246         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11247         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11248         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11249         * javax/naming/directory/ModificationItem.java: Likewise.
11250         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11251         * javax/naming/directory/SchemaViolationException.java: Likewise.
11252         * javax/naming/directory/SearchControls.java: Likewise.
11253         * javax/naming/directory/SearchResult.java: Likewise.
11254         * javax/naming/event/EventContext.java: Likewise.
11255         * javax/naming/event/EventDirContext.java: Likewise.
11256         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11257         * javax/naming/event/NamingEvent.java: Likewise.
11258         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11259         * javax/naming/event/NamingListener.java: Likewise.
11260         * javax/naming/event/ObjectChangeListener.java: Likewise.
11261         * javax/naming/ldap/Control.java: Likewise.
11262         * javax/naming/ldap/ControlFactory.java: Likewise.
11263         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11264         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11265         * javax/naming/ldap/HasControls.java: Likewise.
11266         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11267         * javax/naming/ldap/LdapContext.java: Likewise.
11268         * javax/naming/ldap/LdapReferralException.java: Likewise.
11269         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11270         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11271         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11272         * javax/naming/spi/DirObjectFactory.java: Likewise.
11273         * javax/naming/spi/DirStateFactory.java: Likewise.
11274         * javax/naming/spi/DirectoryManager.java: Likewise.
11275         * javax/naming/spi/InitialContextFactory.java: Likewise.
11276         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11277         * javax/naming/spi/NamingManager.java: Likewise.
11278         * javax/naming/spi/ObjectFactory.java: Likewise.
11279         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11280         * javax/naming/spi/ResolveResult.java: Likewise.
11281         * javax/naming/spi/Resolver.java: Likewise.
11282         * javax/naming/spi/StateFactory.java: Likewise.
11283
11284         * javax/naming/spi/NamingManager.java (ofb): Package private.
11285
11286 2002-11-21  Mark Wielaard  <mark@klomp.org>
11287
11288         * java/net/URL.java: Merge with Classpath (partly).
11289         * java/net/URLStreamHandler: Merge with Classpath.
11290
11291 2002-11-22  Michael Koch <konqueror@gmx.de>
11292
11293         * include/posix.h:
11294         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11295         * include/win32.h:
11296         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11297         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11298
11299 2002-11-21  Michael Koch <konqueror@gmx.de>
11300
11301         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11302         Only the new network functions should be in it.
11303
11304 2002-11-21  Michael Koch <konqueror@gmx.de>
11305
11306         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11307         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11308
11309 2002-11-21  Michael Koch <konqueror@gmx.de>
11310
11311         * java/nio/channels/AsynchronousCloseException.java,
11312         java/nio/channels/CancelledKeyException.java,
11313         java/nio/channels/ClosedByInterruptException.java,
11314         java/nio/channels/ConnectionPendingException.java,
11315         java/nio/channels/FileLockInterruptionException.java,
11316         java/nio/channels/IllegalSelectorException.java,
11317         java/nio/channels/NoConnectionPendingException.java,
11318         java/nio/channels/NonReadableChannelException.java,
11319         java/nio/channels/NonWritableChannelException.java,
11320         java/nio/channels/NotYetBoundException.java,
11321         java/nio/channels/NotYetConnectedException.java,
11322         java/nio/channels/OverlappingFileLockException.java,
11323         java/nio/channels/UnresolvedAddressException.java,
11324         java/nio/channels/UnsupportedAddressTypeException.java:
11325         New files.
11326         * Makefile.am (ordinary_java_source_files): Added new files.
11327         * Makefile.in: Regenerated.
11328
11329 2002-11-21  Michael Koch <konqueror@gmx.de>
11330
11331         * include/posix.h
11332         (_Jv_socket): New method.
11333         (_Jv_connect): New method.
11334         (_Jv_close): New method.
11335         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11336         (_Jv_bind): New method.
11337         (_Jv_listen): New method.
11338         (_Jv_write): New method.
11339         (_Jv_read): New method.
11340         * include/win32.h
11341         (_Jv_socket): New method.
11342         (_Jv_connect): New method.
11343         (_Jv_close): New method.
11344         (_Jv_bind): New method.
11345         (_Jv_listen): New method.
11346         (_Jv_write): New method.
11347         (_Jv_read): New method.
11348         * java/net/natNetworkInterface.cc:
11349         Include platform.h, removed inclusion of socket.h
11350         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11351         ::close() by _Jv_close().
11352         * java/net/natPlainDatagramSocketImpl.cc:
11353         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11354         added some new lines to make code more readable.
11355         (create): Replaced ::socket() by _Jv_socket().
11356         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11357         * java/net/natPlainSocketImpl.cc:
11358         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11359         removed include of socket.h, removed some windows defines
11360         (now in include/win32.h).
11361         (create): Replaced ::socket() by _Jv_socket().
11362         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11363         (write): Replaced ::read by _Jv_write().
11364         (read): Replaced ::read by _Jv_read().
11365
11366 2002-11-20  Michael Koch <konqueror@gmx.de>
11367
11368         * Makefile.am (ordinary_java_source_files):
11369         Added java/nio/channels/FileChannel.java.
11370         * Makefile.in: Regenerated.
11371
11372 2002-11-20  Michael Koch <konqueror@gmx.de>
11373
11374         * java/io/FileInputStream.java
11375         (getChannel): New method.
11376         * java/io/FileOutputStream.java
11377         (getChannel): New method.
11378         * java/net/ServerSocket.java
11379         (bind): Removed duplicate code and called another bind method instead.
11380         * java/nio/channels/SelectionKey.java
11381         (isValid): Removed wrong exception documentation.
11382         * java/nio/channels/ServerSocketChannel.java
11383         (accept): Added exception documentation.
11384         (open): Fixed typo, added exception documentation.
11385         * java/nio/channels/spi/AbstractSelectableChannel.java
11386         (implCloseChannel): Added exception documentation.
11387         (add): Reformated.
11388         (register): Added exception documentation.
11389
11390 2002-11-20  Andreas Jaeger  <aj@suse.de>
11391
11392         * configure: Regenerated with new libtool.m4.
11393
11394 2002-11-19  Tom Tromey  <tromey@redhat.com>
11395
11396         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11397         `referent'.
11398         (finalize_referred_to_object): Don't modify `referent' or `copy'
11399         fields.
11400         (add_to_hash): Correctly set `n->next' when updating list.
11401         * java/lang/ref/Reference.java (enqueue): Return false if already
11402         enqueued.
11403
11404 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11405
11406         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11407         to function and function pointer declarations in accordance with
11408         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11409         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11410         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11411         JNI function definitions.
11412
11413 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11414
11415         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11416         that was causing CoderResults to be cached, not WeakReferences
11417         to CoderResults.
11418
11419 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11420
11421         * java/security/KeyStore.java (getInstance): Fix
11422         comment and throw IllegalArgumentException if
11423         given provider is null.
11424         (getInstance): New method for jdk1.4 compatibility.
11425
11426 2002-11-18  Michael Koch <konqueror@gmx.de>
11427
11428         * java/net/PlainSocketImpl.java: Fix imports.
11429
11430 2002-11-18  Michael Koch <konqueror@gmx.de>
11431
11432         * java/nio/channels/SelectionKey.java
11433         (isValid): Added exception documentation.
11434         * java/nio/channels/Selector.java
11435         (open): Declare "throws IOException".
11436
11437 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11438
11439         * java/nio/charset/Charset.java
11440         (<clinit>): New method.
11441         (encode): Synchronize use of cached encoder object.
11442         (decode): Synchronize use of cached encoder object.
11443
11444 2002-11-18  Michael Koch <konqueror@gmx.de>
11445
11446         * gnu/java/nio/ByteBufferImpl.java,
11447         gnu/java/nio/CharBufferImpl.java,
11448         gnu/java/nio/DatagramChannelImpl.java,
11449         gnu/java/nio/DoubleBufferImpl.java,
11450         gnu/java/nio/FileChannelImpl.java,
11451         gnu/java/nio/FloatBufferImpl.java,
11452         gnu/java/nio/IntBufferImpl.java,
11453         gnu/java/nio/LongBufferImpl.java,
11454         gnu/java/nio/PipeImpl.java,
11455         gnu/java/nio/SelectionKeyImpl.java,
11456         gnu/java/nio/SelectorImpl.java,
11457         gnu/java/nio/SelectorProviderImpl.java,
11458         gnu/java/nio/ServerSocketChannelImpl.java,
11459         gnu/java/nio/ShortBufferImpl.java,
11460         gnu/java/nio/SocketChannelImpl.java,
11461         java/nio/DoubleBuffer.java,
11462         java/nio/FloatBuffer.java,
11463         java/nio/IntBuffer.java,
11464         java/nio/LongBuffer.java,
11465         java/nio/ShortBuffer.java,
11466         java/nio/channels/FileChannel.java: New files.
11467
11468 2002-11-18  Michael Koch <konqueror@gmx.de>
11469
11470         * Makefile.am (ordinary_java_source_files):
11471         Added java/nio/ReadOnlyBufferException.java and
11472         java/nio/channels/ClosedSelectorException.java.
11473         * Makefile.in: Regenerated.
11474
11475 2002-11-18  Michael Koch <konqueror@gmx.de>
11476
11477         * java/net/PlainSocketImpl.java: Reworked imports.
11478         * java/net/ServerSocket.java
11479         (ServerSocket): Create socket.
11480         * java/net/SocketAddress.java: Documentation added.
11481         * java/net/natPlainSocketImpl.cc: Reindented.
11482         * java/nio/ReadOnlyBufferException.java: New file
11483         * java/nio/channels/ClosedChannelException.java: Documentation added.
11484         * java/nio/channels/ClosedSelectorException.java: New file.
11485
11486 2002-11-17  Mark Wielaard  <mark@klomp.org>
11487
11488         * java/net/HttpURLConnection.java ((getPermission): Take port
11489         into consideration.
11490         (getErrorStream): Implement.
11491
11492 2002-11-17  Mark Wielaard  <mark@klomp.org>
11493
11494         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11495
11496 2002-11-16  Mark Wielaard  <mark@klomp.org>
11497
11498         Integrate work by Raif S. Naffah (raif@fl.net.au)
11499         * java/security/DummyKeyPairGenerator.java (clone): New method.
11500         * java/security/DummyMessageDigest.java (clone): New method.
11501         (engineUpdate): Now public.
11502         (engineReset): Likewise.
11503         (engineDigest): Likewise.
11504         (engineGetDigestLength): New method.
11505         * java/security/DummySignature.java (clone): New method.
11506         * java/security/KeyPairGenerator.java (provider): Now package private.
11507         (getInstance(String)): Use getInstance(String,Provider).
11508         (getInstance(String,String): Use getInstance(String,Provider)
11509         (getInstance(String,Provider): New method.
11510         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11511         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11512         * java/security/MessageDigest.java (provider): Now package private.
11513         (getInstance(String): Use getInstance(String,Provider).
11514         (getInstance(String,String): Use getInstance(String,Provider)
11515         (getInstance(String,Provider): New method.
11516         * java/security/Provider.java (toCanonicalKey): New method.
11517         (get): New method that uses toCanonicalKey().
11518         (put): Use toCanonicalKey().
11519         (remove): Likewise.
11520         * java/security/Security.java (insertProviderAt): Provider index is one
11521         based, not zero based.
11522         (addProvider): Likewise.
11523         (removeProvider): Likewise.
11524         * java/security/Signature.java (provider): Now package private.
11525         (getInstance(String)): Use getInstance(String,Provider).
11526         (getInstance(String,String): Use getInstance(String,Provider)
11527         (getInstance(String,Provider): New method.
11528         (getInstance(String,String,Provider): Don't cast DummySignature.
11529
11530 2002-11-15  Tom Tromey  <tromey@redhat.com>
11531
11532         For PR libgcj/8593:
11533         * java/util/zip/GZIPInputStream.java (read): Check file size.
11534         Look in inflater for remaining input bytes.
11535         (read4): Added buf and offset arguments.
11536
11537 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11538
11539         * java/applet/AppletContext.java: Fix typo and remove redundant
11540         modifiers.
11541
11542 2002-11-14  Tom Tromey  <tromey@redhat.com>
11543
11544         * java/lang/natRuntime.cc (insertSystemProperties): Set
11545         gnu.classpath.home.
11546
11547 2002-11-13  Michael Koch <konqueror@gmx.de>
11548
11549         * java/nio/ByteBuffer.java
11550         (allocate): New method.
11551         (wrap): New method.
11552         (put): New method.
11553         (get): New method.
11554
11555 2002-11-13  Michael Koch <konqueror@gmx.de>
11556
11557         * java/nio/channels/AlreadyConnectedException.java:
11558         Removed unneeded import.
11559         (AlreadyConnectedException): Documentation added.
11560         * java/nio/channels/Pipe.java
11561         (SinkChannel.SinkChannel): Documentation added.
11562         (SinkChannel.validOps): New method.
11563         (SourceChannel.SourceChannel): Documentation added.
11564         (SourceChannel.validOps): New method.
11565         (Pipe): Documentation added.
11566         (open): Documentation added.
11567         (SinkChannel.channel): Documentation added.
11568         (SourceChannel.channel): Documentation added.
11569         * java/nio/channel/SelectableChannel.java
11570         (SelectableChannel): Documentation added.
11571         (blockingLock): Documentation added.
11572         (configureBlocking):Documentation added.
11573         (isBlocking):Documentation added.
11574         (isRegistered):Documentation added.
11575         (keyFor):Documentation added.
11576         (provider):Documentation added.
11577         (register): Documentation added.
11578         (validOps): Documentation added.
11579         * jaba/nio/channels/SelectionKey.java
11580         (SelectionKey): Documentation added.
11581         (attach): Documentation added.
11582         (attachment): Documentation added.
11583         (isAcceptable): Documentation added.
11584         (isConnetable): Documentation added.
11585         (isReadable): Documentation added.
11586         (isWritable): Documentation added.
11587         (cancel): Documentation added.
11588         (channel): Documentation added.
11589         (interestOps): Documentation added.
11590         (isValid): Documentation added.
11591         (readyOps): Documentation added.
11592         (selector): Documentation added.
11593         * jaba/nio/channels/Selector.java
11594         (Selector): Documentation added.
11595         (open): Documentation added.
11596         (close): Documentation added.
11597         (isOpen): Documentation added.
11598         (keys): Documentation added.
11599         (provider): Documentation added.
11600         (select): Documentation added.
11601         (selectedKeys): Documentation added.
11602         (selectNow): Documentation added.
11603         (wakeup): Documentation added.
11604         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11605         (AbstractInterruptibleChannel): Documentation added.
11606         (opened): Default to true;
11607         (begin): Documentation added.
11608         (close): Set opened to false, documentation added.
11609         (isOpen): Documentation added.
11610         * java/nio/channels/spi/AbstractSelectionKey.java
11611         (AbstractSelectionKey): Documentation added.
11612         (cancel): Documentation added.
11613         (isValid): Documentation added.
11614         * java/nio/channels/spi/AbstractSelector.java
11615         (AbstractSelector): Documentation added.
11616         (begin): Documentation added.
11617         (close): Documentation added.
11618         (isOpen): Documentation added.
11619         (deregister): Documentation added.
11620         (end): Documentation added.
11621         (provider): Documentation added.
11622         (implCloseSelector): Documentation added.
11623         (register): Documentation added.
11624         * java/nio/channels/spi/SelectorProvider.java
11625         (SelectorProvider): Documentation added.
11626         (openDatagramChannel): Documentation added.
11627         (openPipe): Documentation added.
11628         (openSelector): Documentation added.
11629         (openServerSocketChannel): Documentation added.
11630         (openSocketChannel): Documentation added.
11631         (provider): Documentation added.
11632
11633 2002-11-12  Michael Koch <konqueror@gmx.de>
11634
11635         * java/nio/Buffer.java: Implemented.
11636         * java/nio/CharBuffer.java: New file.
11637         * java/nio/InvalidMarkException.java: New file.
11638         * java/nio/channels/DatagramChannel.java: Implemented.
11639         * java/nio/channels/ServerSocketChannel.java: Implemented.
11640         * java/nio/channels/SocketChannel.java: Implemented.
11641         * java/nio/channels/spi/AbstractChannel.java: Removed.
11642         * java/nio/channels/spi/AbstractSelectableChannel.java:
11643         Implemented.
11644         * java/nio/charset/Charset.java:
11645         Merge from Classpath.
11646         * java/nio/charset/CharsetDecoder.java: New file.
11647         * java/nio/charset/CharsetEncoder.java: New file.
11648         * java/nio/charset/CoderResult.java: New file.
11649         * Makefile.am (ordinary_java_source_files): Added new files.
11650         * Makefile.in: Regenerated.
11651
11652 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11653
11654         * gnu/java/nio/charset/ISO_8859_1.java,
11655         gnu/java/nio/charset/Provider.java,
11656         gnu/java/nio/charset/US_ASCII.java,
11657         gnu/java/nio/charset/UTF_16.java,
11658         gnu/java/nio/charset/UTF_16BE.java,
11659         gnu/java/nio/charset/UTF_16Decoder.java,
11660         gnu/java/nio/charset/UTF_16Encoder.java,
11661         gnu/java/nio/charset/UTF_16LE.java,
11662         gnu/java/nio/charset/UTF_8.java: New files.
11663
11664 2002-11-11  Michael Koch <konqueror@gmx.de>
11665
11666         * java/nio/charset/CharacterCodingException.java:
11667         This class must be public.
11668         * java/nio/charset/CoderMalfunctionError.java:
11669         This class must be public.
11670         * java/nio/charset/CodingErrorAction.java:
11671         This class must be public.
11672         * java/nio/charset/IllegalCharsetNameException.java:
11673         This class must be public, better implementation.
11674         * java/nio/charset/MalformedInputException.java:
11675         This class must be public, better implementation.
11676         * java/nio/charset/UnmappableCharacterException.java:
11677         This class must be public, better implementation.
11678         * java/nio/charset/UnsupportedCharsetException.java:
11679         This class must be public, better implementation.
11680
11681 2002-11-11  Michael Koch <konqueror@gmx.de>
11682
11683         * java/nio/BufferOverflowException.java,
11684         java/nio/BufferUnderflowException.java: New file.
11685         * Makefile.am (ordinary_java_source_files):
11686         Added new files.
11687         * Makefile.in: Regenerated.
11688
11689 2002-11-10  Tom Tromey  <tromey@redhat.com>
11690
11691         * java/awt/Container.java (validate): Use tree lock.
11692         (getComponent): Likewise.
11693         (getComponents): Likewise.
11694         (addImpl): Likewise.
11695         (remove): Likewise.
11696         (removeAll): Likewise.
11697         (processEvent): Fixed indentation.
11698         (getComponentAt): Use tree lock.
11699         (findComponentAt): Likewise.
11700         (removeNotify): Likewise.
11701         (isAncestorOf): Likewise.
11702         (list): Likewise.
11703         (visitChildren): Likewise.
11704         (findNextFocusComponent): Likewise.
11705         (addNotifyContainerChildren): Likewise.
11706         (getAccessibleChildrenCount): Likewise.
11707         (getAccessibleChild): Likewise.
11708
11709         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11710         (getSize): Likewise.
11711         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11712         (getSize): Likewise.
11713         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11714         (calcSize): Likewise.
11715         * java/awt/CardLayout.java (getSize): Use tree lock.
11716         (gotoComponent): Likewise.
11717         (layoutContainer): Likewise.
11718
11719         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11720         count is 0.
11721         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11722         count is 0.
11723
11724         * java/io/Externalizable.java, java/io/FilePermission.java,
11725         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11726         java/io/SerializablePermission.java, java/text/Format.java,
11727         java/util/AbstractMap.java, java/util/HashMap.java,
11728         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11729         versions from Classpath.
11730
11731 2002-11-10  Anthony Green  <green@redhat.com>
11732
11733         * java/util/jar/Attributes.java (Name): Fix name check.
11734
11735 2002-11-10  Mark Wielaard  <mark@klomp.org>
11736
11737         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11738         with getName() as message.
11739         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11740         type as message.
11741
11742         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11743         unused.
11744
11745 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11746
11747         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11748         for Win32. JNICALL has been defined to __stdcall to be compatible
11749         with Sun's JDKs.
11750
11751 2002-11-10  Tom Tromey  <tromey@redhat.com>
11752
11753         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11754         (setRows): Check newRows, not rows.
11755
11756         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11757
11758 2002-11-09  Tom Tromey  <tromey@redhat.com>
11759
11760         * java/applet/Applet.java, java/applet/AppletContext.java,
11761         java/applet/AppletStub.java, java/applet/AudioClip.java,
11762         java/awt/CardLayout.java,
11763         java/awt/ContainerOrderFocusTraversalPolicy.java,
11764         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11765         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11766         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11767         java/awt/color/ICC_ColorSpace.java,
11768         java/awt/color/ICC_Profile.java,
11769         java/awt/color/ICC_ProfileGray.java,
11770         java/awt/color/ICC_ProfileRGB.java,
11771         java/awt/datatransfer/DataFlavor.java,
11772         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11773         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11774         New versions from Classpath.
11775         * Makefile.in: Rebuilt.
11776         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11777         ICC_ProfileRGB.
11778
11779         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11780         display policy.
11781
11782         * java/awt/List.java (processEvent): Added missing `else's.
11783
11784         * java/awt/Window.java (show): validate() before showing.  Make
11785         parent displayable.
11786         (isDisplayable): New method.
11787
11788 2002-11-07  Mark Wielaard  <mark@klomp.org>
11789
11790         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11791         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11792
11793         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11794         annotation.
11795         (loadClass): Take String as codebases.
11796         (getClassAnnotation): Use MyClassLoader annotations.
11797         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11798         call exportObject(this).
11799
11800         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11801         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11802         (setAnnotation): Don't set locBytesStream and locStream.
11803         (replaceObject): Removed.
11804         (flush): Don't test locStream.
11805         (getLocBytes): LikeWise.
11806         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11807         (leaseCache): New field.
11808         (dirty): Use leaseCache.
11809         (LeaseRecord): New inner class.
11810         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11811         explicitly call exportObject().
11812         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11813         false to communicate with Sun JDK130.
11814         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11815         * gnu/java/rmi/server/RMIObjectInputStream.java
11816         (UnicastConnectionManager): Removed field.
11817         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11818         Use UnicastServer.getExportedRef().
11819         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11820         (expireTime): Likewise.
11821         (CONNECTION_TIMEOUT): Likewise.
11822         (disconnect): Call sock.close().
11823         (isExpired): New method.
11824         (resetTime): Likewise.
11825         (run): Use do while loop and catch Exception for discardConnection().
11826         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11827         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11828         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11829         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11830         (exportObject): Use refcache.
11831         (unexportObject): Likewise.
11832         (getExportedRef): New method.
11833         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11834         constructor.
11835         (exportObject): Save manager.serverobj.
11836         (getStub): New method.
11837
11838 2002-11-07  Mark Wielaard  <mark@klomp.org>
11839
11840         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11841         (getByte): Likewise.
11842         (getShort): Likewise.
11843         (getInt): Likewise.
11844         (getLong): Likewise.
11845         (getFloat): Likewise.
11846         (getDouble): Likewise.
11847         (get): Likewise.
11848         (setChar): Likewise.
11849         (setByte): Likewise.
11850         (setShort): Likewise.
11851         (setInt): Likewise.
11852         (setLong): Likewise.
11853         (setFloat): Likewise.
11854         (setDouble): Likewise.
11855
11856 2002-11-07  Michael Koch <konqueror@gmx.de>
11857
11858         * java/awt/Choice.java,
11859         java/awt/Container.java,
11860         java/awt/GridBagLayout.java:
11861         Fixed documentation.
11862         * java/awt/peer/ContainerPeer.java:
11863         Reindented.
11864
11865 2002-11-07  Michael Koch <konqueror@gmx.de>
11866
11867         * java/awt/color/ICC_Profile.java:
11868         Added missing constants.
11869         * java/awt/color/ICC_ColorSpace.java
11870         (getMinValue): Added dummy implementation.
11871         (getMaxValue): Added dummy implementation.
11872         * java/awt/datatransfer/DataFlavor.java
11873         (imageFlavor): Added.
11874         (isMimeTypeEqual): Must be final.
11875         (getDefaultRepresentationClass): Must be non-static.
11876         (getDefaultRepresentationClassAsString): Must be non-static.
11877         * java/awt/dnd/DragSourceContext.java
11878         (dragExit): Corrected argument.
11879         (dragDropEnd): Corrected argument.
11880         * java/awt/dnd/DragSourceListener.java.java
11881         (dragExit): Corrected argument.
11882         (dragDropEnd): Corrected argument.
11883         * java/awt/font/TextHitInfo.java
11884         (toString): Added stubbed implementation.
11885         * java/awt/geom/PathIterator.java:
11886         The constants must be static.
11887         * java/awt/image/VolatileImage.java
11888         (IMAGE_INCOMPATIBLE): Fixed typo.
11889         * java/awt/image/renderable/RenderableImage.java
11890         (HINTS_OBSERVED): Must be static.
11891         * java/beans/BeanInfo.java:
11892         Constants must be final.
11893
11894 2002-11-06  Tom Tromey  <tromey@redhat.com>
11895
11896         From svens@it.uu.se.  For PR libgcj/8481.
11897         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11898
11899 2002-11-06  Tom Tromey  <tromey@redhat.com>
11900
11901         * jni.cc (array_from_valist): Assume that jlong won't be
11902         promoted.
11903
11904 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11905
11906         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11907         Return 20.
11908         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11909         Return 16.
11910
11911 2002-11-03  Tom Tromey  <tromey@redhat.com>
11912
11913         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11914         VMClassLoader, not findClass.
11915
11916 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11917
11918         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11919         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11920         _Jv_DetermineVTableIndex, to determine vtable offset.
11921         (_Jv_DetermineVTableIndex): Remove.
11922         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11923
11924         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11925
11926 2002-11-03  Tom Tromey  <tromey@redhat.com>
11927
11928         * java/nio/channels/AlreadyConnectedException.java: Extend
11929         IllegalStateException, per spec.
11930
11931 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11932
11933         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11934
11935 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11936
11937         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11938         size items.
11939
11940 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11941
11942         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11943         initial estimated size to avoid enlarge buffer frequently.
11944
11945 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11946
11947         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11948         ClassLoader when null.
11949         (ProxyType.hashCode): Loader null check no longer needed.
11950         (ProxyType.sameTypes): New method.
11951         (ProxyType.equals): Use new method.
11952
11953 2002-10-31  Mark Wielaard  <mark@klomp.org>
11954
11955         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11956         length of String.
11957         * java/net/URLEncoder.java (encode): Likewise.
11958
11959 2002-10-31  Mark Wielaard  <mark@klomp.org>
11960
11961         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11962         when stream is closed.
11963         (closeEntry): Likewise.
11964         (read): Likewise.
11965         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11966         ZipException when no entry active.
11967         (closeEntry): Likewise.
11968         (write): Likewise.
11969
11970 2002-11-02  Tom Tromey  <tromey@redhat.com>
11971
11972         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11973         * java/lang/natClass.cc (initializeClass): Don't return just
11974         because self==thread.
11975
11976         For PR java/8415:
11977         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11978         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11979
11980 2002-11-02  Andreas Schwab  <schwab@suse.de>
11981
11982         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11983         pass GCJFLAGS.
11984         (FLAGS_TO_PASS): Define.
11985         * Makefile.in: Regenerated.
11986
11987 2002-11-01  Michael Koch  <konqueror@gmx.de>
11988
11989         * java/nio/ByteOrder.java: New file.
11990         * java/nio/channels/DatagramChannel.java:
11991         (DatagramChannel): New constructor.
11992         * java/nio/channels/Pipe.java: New file.
11993         * java/nio/channels/SelectableChannel.java: New file.
11994         * java/nio/channels/SelectionKey.java: New file.
11995         * java/nio/channels/Selector.java: New file.
11996         * java/nio/channels/ServerSocketChannel.java
11997         (ServerSocketChannel): New constructor.
11998         * java/nio/channels/SocketChannel.java
11999         (SocketChannel): New constructor.
12000         * java/nio/channels/Pipe.java: New file.
12001         * java/nio/channels/spi/AbstractChannel.java: New file.
12002         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12003         * java/nio/channels/spi/AbstractSelectableChannel.java:
12004         License added
12005         (AbstractSelectableChannel): New stubbed method.
12006         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12007         * java/nio/channels/spi/AbstractSelector.java: New file.
12008         * java/nio/channels/spi/SelectorProvider.java: New file.
12009         * java/nio/charset/Charset.java: New file.
12010         * java/nio/charset/CoderMalfunctionError.java: New file.
12011         * java/nio/charset/CodingErrorAction.java: New file.
12012         * java/nio/charset/spi/CharsetProvider.java
12013         (charsetForName): Uncommented.
12014         * Makefile.am (java_native_source_files): Added new files.
12015         * Makefile.in: Regenerated.
12016
12017 2002-11-01  Michael Koch  <konqueror@gmx.de>
12018
12019         * java/net/InetAddress.java:
12020         (isAnyLocalAddress): Implemented.
12021         (isLoopbackAddress): Implemented, comment added.
12022         (isLinkLocalAddress): Implemented, documentation added.
12023         (isSiteLocalAddress): Implemented, documentation added.
12024         (isMCGlobal): Implemented, documentation added.
12025         (isMCNodeLocal): Implemented, documentation added.
12026         (isMCLinkLocal): Implemented, documentation added.
12027         (isMCSiteLocal): Implemented, documentation added.
12028         (isMCOrgLocal): Implemented, documentation added.
12029         (getHostName): Documentation added.
12030         (getCanonicalHostName): Implemented, documentation added.
12031         (getAddress): Documentation added.
12032         (hashCode): Documentation added.
12033         (equals): Documentation added.
12034         (toString): Fixed implementation.
12035         (getByAddress): Use Inet4Address and Inet6Address.
12036         (lookup): New linewrap.
12037         (getByName): SecurityManager check added, support Inet4Address and
12038         Inet6address, comments added.
12039         (getAllByName): SecurityManager check added, comments added.
12040         * java/net/Inet6Address.java:
12041         (Inet6Address): Initialize parent class with addr instead of null.
12042         * java/net/URL.java
12043         (equals): Documentation added.
12044         (getFile): Documentation added.
12045         (hashCode): Documentation added.
12046         * java/net/natInetAddress.cc:
12047         (aton): Fix IPv6 support.
12048         * java/net/natPlainDatagramSocketImpl.cc:
12049         (peek): Throw PortUnreachableException when suitable.
12050         (peekData): Throw PortUnreachableException when suitable.
12051         (send): Throw PortUnreachableException when suitable.
12052         (receive): Throw PortUnreachableException when suitable.
12053
12054 2002-10-27  Mark Wielaard  <mark@klomp.org>
12055
12056         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12057         argument.
12058         (readLeShort): Likewise and use byte[].
12059         (readLeInt): Likewise.
12060         (readEntries): Use new versions of methods and use byte[] for reading
12061         a complete zip entry. Add ZipFile name to exceptions.
12062         (entries): Add ZipFile name to exceptions.
12063         (getEntry): Likewise.
12064         (checkLocalHeader): Use new versions of methods and add ZipFile name
12065         to exceptions.
12066
12067 2002-10-31  Mark Anderson  <mark@panonet.net>
12068
12069         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12070         added
12071
12072 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12073
12074         * configure.in: Disable hash sync when not using threads.
12075         * configure: Regenerated.
12076
12077 2002-10-24  Tom Tromey  <tromey@redhat.com>
12078
12079         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12080         (_Jv_FindSymbolInExecutable): Removed argument name.
12081         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12082         java.library.path is set.
12083
12084         * gij.cc (help): Document --showversion.
12085         (version): Don't exit.
12086         (main): Handle --showversion.  Exit if --version given.
12087
12088 2002-10-23  Tom Tromey  <tromey@redhat.com>
12089
12090         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12091         (array_from_valist): Correctly handle promotion for jint, jlong,
12092         jfloat, and jdouble.
12093
12094 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12095
12096         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12097         GetFileAttributesEx( ) to find file length and modification times,
12098         as the latter is not present on Windows 95.
12099
12100 2002-10-21  Michael Koch  <konqueror@gmx.de>
12101
12102         * java/net/URL.java
12103         (URL): Activate SecurityManager checks.
12104         (equals): Use URLStreamHandler implementation instead of doing it
12105         alone. This allows special protocol stream handlers to change default
12106         behaviour.
12107         (hashCode): Use URLStreamHandler implementation instead of doing it
12108         alone. This allows special protocol stream handlers to change default
12109         behaviour.
12110         * java/net/URLStreamHandler.java
12111         (equals): Implemented default URL equality check.
12112         (hostsEqual): Implemented default URL equality check.
12113         (hashCode): Implemented default URL hashCode algorithm.
12114         * java/net/natPlainDatagramSocketImpl.cc:
12115         No lines longer then 80 characters.
12116
12117 2002-10-20  Adam Megacz <adam@xwt.org>
12118
12119         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12120         * configure.in: enabled hash sync on Win32
12121         * include/win32-threads.h (_Jv_ThreadId_t): added.
12122         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12123         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12124         removed some posix-isms, use Thread::sleep() instead of usleep,
12125         added code to clear bottom three bits if platform has a broken
12126         linker.
12127         * include/win32-threads.h (_Jv_ThreadId_t): added.
12128
12129 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12130
12131         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12132         runtime property "gnu.gcj.progname" containing the name used to
12133         invoke the current Java program (similar to argv[0] for C
12134         programs).
12135
12136 2002-10-15  Tom Tromey  <tromey@redhat.com>
12137
12138         Fix for PR libgcj/8234:
12139         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12140         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12141
12142 2002-10-13  Mark Wielaard  <mark@klomp.org>
12143
12144         * mauve-libgcj: Enable Mauve tests that compile now.
12145
12146 2002-10-11  Mark Wielaard  <mark@klomp.org>
12147
12148         Fix for PR libgcj/8142
12149         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12150         loading native modules.
12151
12152 2002-10-10  Michael Koch  <konqueror@gmx.de>
12153
12154         * javax/swing/AbstractListModel.java
12155         (getListDataListeners): New stubbed method.
12156         javax/swing/DefaultBoundedRangeModel.java
12157         (getChangeListeners): New stubbed method.
12158         javax/swing/DefaultSingleSelectionModel.java
12159         (getChangeListeners): New stubbed method.
12160
12161 2002-10-10  Michael Koch  <konqueror@gmx.de>
12162
12163         * gcj/.cvsignore: New file to ignore files generated during build.
12164         * include/.cvsignore: New file to ignore files generated during build.
12165
12166 2002-10-10  Michael Koch  <konqueror@gmx.de>
12167
12168         * java/net/HttpURLConnection.java
12169         (getPermission): New method.
12170         (getErrorStream): New stub method.
12171         (getHeaderFieldDate): New stub method.
12172         * java/net/Inet4Address.java:
12173         (isLinkLocalAddress): Typo fixed.
12174         * java/net/InetAddress.java:
12175         (readResolve): New stubbed method (for serialization).
12176         (isAnyLocalAddress): New stubbed method.
12177         (isLoopbackAddress): New stubbed method.
12178         (isLinkLocalAddress): New stubbed method.
12179         (isSiteLocalAddress): New stubbed method.
12180         (isMCGlobal): New stubbed method.
12181         (isMCNodeGlobal): New stubbed method.
12182         (isMCLinkLocal): New stubbed method.
12183         (isMCSiteLocal): New stubbed method.
12184         (isMCOrgLocal): New stubbed method.
12185         (getCanonicalHostName): New stubbed method.
12186         (getByAddress): Create instances of Inet4Address/Inet6Address,
12187         instead of InetAddress, documentation added.
12188         * java/net/MulticastSocket.java
12189         (getInterface): Removed FIXME.
12190         (getNetworkInterface): New method.
12191         (setNetworkInterface): New method.
12192         * java/net/NetworkInterface.java:
12193         (toString): Use property "line.separator" instead of "\n".
12194         * java/net/URLConnection.java
12195         (getContent): New stubbed method.
12196         * java/net/URLStreamHandler.java:
12197         (equals): New stubbed method.
12198         (hostsEqual): New stubbed method.
12199         (hashCode): New stubbed method.
12200         * java/net/natNetworkInterface.cc:
12201         (getRealNetworkInterfaces): Create Inet4Address object
12202         instead of InetAddress.
12203
12204 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12205
12206         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12207         unsigned long temporary to implement insn_iushr shifts.
12208
12209 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12210
12211         * configure.host [s390*-*]: Enable Java interpreter.
12212         Enable hash synchronization.  Add sysdeps dir.
12213         * sysdep/s390/locks.h: New file.
12214
12215 2002-10-06  Mark Wielaard  <mark@klomp.org>
12216
12217         * java/lang/Thread.java (setDaemon): Check startable_flag,
12218         not isAlive().
12219
12220 2002-10-07  Michael Koch  <konqueror@gmx.de>
12221
12222         * java/nio/Buffer.java: New stub file.
12223         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12224         of class Charset.
12225         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12226         * Makefile.in: Regenerated.
12227
12228 2002-10-07  Michael Koch  <konqueror@gmx.de>
12229
12230         * java/nio/ByteBuffer.java:
12231         removed import of not commited class.
12232
12233 2002-10-07  Michael Koch  <konqueror@gmx.de>
12234
12235         * java/nio/ByteBuffer.java,
12236         java/nio/MappedByteBuffer.java:
12237         New files, forgot to add these dummies.
12238         * Makefile.am (java_native_source_files): Added new files.
12239         * Makefile.in: Regenerated.
12240
12241 2002-10-07  Michael Koch  <konqueror@gmx.de>
12242
12243         * java/nio/channels/AlreadyConnectedException.java,
12244         java/nio/channels/ClosedChannelException.java,
12245         java/nio/channels/ReadableByteChannel.java,
12246         java/nio/channels/InterruptibleChannel.java,
12247         java/nio/channels/Channel.java,
12248         java/nio/channels/ByteChannel.java,
12249         java/nio/channels/GatheringByteChannel.java,
12250         java/nio/channels/ScatteringByteChannel.java,
12251         java/nio/channels/WritableByteChannel.java,
12252         java/nio/charset/CharacterCodingException.java,
12253         java/nio/charset/IllegalCharsetNameException.java,
12254         java/nio/charset/MalformedInputException.java,
12255         java/nio/charset/UnmappableCharacterException.java,
12256         java/nio/charset/UnsupportedCharsetException.java,
12257         java/nio/charset/spi/CharsetProvider.java: New file.
12258         These files are exceptions or interfaces,
12259         no real or abstract classes.
12260         * Makefile.am (java_native_source_files): Added new files.
12261         * Makefile.in: Regenerated.
12262
12263 2002-10-05  Michael Koch  <konqueror@gmx.de>
12264
12265         * java/net/InetAddress.java
12266         (getByAddress): Fixed documentation.
12267         (getByAddress): New method.
12268         * java/net/Inet4Address.java: New file.
12269         * java/net/URL.java
12270         (URL): Documentation added.
12271         (getContent): Documentation added.
12272         (getContent): New stubbed method.
12273         (getQuery): New method.
12274         (openConnection): Documentation added.
12275         (openStream): Documentation added.
12276         (setURLStreamHandlerFactory): Documentation added.
12277         * java/net/URI.java: New stub file.
12278         * Makefile.am
12279         (java_native_source_files): Added java/net/Inet4Address.java,
12280         java/net/Inet6Address.java and java/net/URI.java.
12281         * Makefile.in: Regenerated.
12282
12283 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12284
12285         * java/lang/ProtectionDomain.java (linesep): Remove field.
12286         (toString): Use System.getProperty("line.separator").
12287
12288 2002-10-04  Michael Koch  <konqueror@gmx.de>
12289
12290         * java/security/Identity.java: Added serialVersionUID.
12291         * java/security/KeyPair.java: Added serialVersionUID.
12292         * java/security/Provider.java: Added serialVersionUID.
12293         * java/security/SecureRandom.java: Added serialVersionUID.
12294         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12295         * java/security/SignedObject.java: Added serialVersionUID.
12296         * java/security/cert/Certificate.java: Added serialVersionUID.
12297
12298 2002-10-04  Mark Wielaard <mark@klomp.org>
12299
12300         * java/security/Security.java: Use java.home or gnu.classpath.home
12301         to load providers.
12302         (loadProviders): Extra dir argument.
12303         (getProvider): Return null when not found.
12304
12305 2002-10-04  Mark Wielaard  <mark@klomp.org>
12306
12307         * java/lang/Throwable.java: Remerge with Classpath.
12308
12309 2002-10-04  Michael Koch  <konqueror@gmx.de>
12310
12311         * java/net/InetAddress.java:
12312         (isMulticastAddress): Added documentation.
12313         (getHostAddress): Added documentation.
12314         (toString): Added documentation.
12315         (getByAddress): Fixed documentation.
12316         (getByName): Added documentation.
12317         (getAllByName): Added documentation.
12318         (getLocalHost): Added documentation.
12319
12320 2002-10-04  Michael Koch  <konqueror@gmx.de>
12321
12322         * java/beans/beancontext/BeanContextChildSupport.java:
12323         Added serialVersionUID.
12324         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12325         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12326         * javax/naming/Name.java: Added serialVersionUID.
12327
12328 2002-10-03  Adam Megacz <adam@xwt.org>
12329
12330         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12331         some functionality that isn't supported yet on WIN32.
12332
12333 2002-10-03  Tom Tromey  <tromey@redhat.com>
12334
12335         * Makefile.in: Rebuilt.
12336         * Makefile.am (awt_java_source_files): Added new files.
12337
12338 2002-10-03  Michael Koch  <konqueror@gmx.de>
12339
12340         * java/net/InetAddress.java
12341         (class InetAddress): Removed final keyword.
12342         (equals): Fixed typo.
12343         (getByAddress): New method.
12344
12345 2002-10-03  Michael Koch  <konqueror@gmx.de>
12346
12347         * java/awt/dnd/Autoscroll.java:
12348         New file, merge from Classpath.
12349         * java/awt/dnd/DragSourceAdapter.java:
12350         (dragExit): Fixed typos in argument type.
12351         (dragDropEnd): Fixed typos in argument type.
12352         * java/awt/dnd/DragSourceDropEvent.java:
12353         New file, merge from Classpath.
12354         * java/awt/dnd/DropTarget.java:
12355         Added stubs, merge from Classpath.
12356         * java/awt/dnd/DropTargetAdapter.java:
12357         New file, merge from Classpath.
12358         * java/awt/dnd/DropTargetContext.java:
12359         New file, merge from Classpath.
12360         * java/awt/dnd/DropTargetDragEvent.java:
12361         New file, merge from Classpath.
12362         * java/awt/dnd/DropTargetDropEvent.java:
12363         New file, merge from Classpath.
12364         * java/awt/dnd/DropTargetEvent.java:
12365         New file, merge from Classpath.
12366         * java/awt/dnd/DropTargetListener.java:
12367         New file, merge from Classpath.
12368         * java/awt/dnd/MouseDragGestureRecognizer.java:
12369         New file, merge from Classpath.
12370         * java/awt/dnd/peer/DropTargetContextPeer.java:
12371         New file, merge from Classpath.
12372
12373 2002-10-03  Michael Koch  <konqueror@gmx.de>
12374
12375         * java/net/DatagramPacket.java
12376         (setLength): Fixed typo and be HTML-aware.
12377         * java/net/InetSocketAddress.java
12378         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12379         (equals): Added comment about equality of InetSocketAddress objects.
12380         * java/net/ServerSocket.java
12381         (accept): Added checks.
12382         (isClosed): New stubbed method.
12383         * java/net/SocketOptions.java: Reindention.
12384         * java/net/SocketPermission
12385         (SocketPermission): Documentation fixed.
12386
12387 2002-10-03  Michael Koch  <konqueror@gmx.de>
12388
12389         * java/net/DatagramSocket.java
12390         (receive): Check with SecurityManager AFTER the packet is received,
12391         check if connected to multicast address, documentation added.
12392         (send): Only check SecurityManager if connected, check address of
12393         packet to send.
12394         (connect): Implemented, documentation added.
12395         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12396         * java/net/InetSocketAddress.java
12397         (whole file): Reindented.
12398         (hostname): New attribute.
12399         (InetSocketAddress): Initialize new attribute.
12400         (getAddress): Documentation added.
12401         (getHostName): Documentation added.
12402         (getPort): Documentation added.
12403         (hashCode): Documentation added.
12404         (isUnresolved): Documentation added.
12405         (toString): Conform to output of JDK 1.4.1, documentation added.
12406         * java/net/MulticastSocket.java
12407         (joinGroup): Removed FIXME, documentation added.
12408         (leaveGroup): Removed FIXME, documentation added.
12409         (send): Documentation added.
12410         * java/net/Socket.java
12411         (inputShutdown): New variable.
12412         (outputShutdown): New variable.
12413         (Socket): Initialize new variables.
12414         (getRemoteSocketAddress): Check if connected.
12415         (shutdownInput): Set new variable.
12416         (shutdownOutput): Set new variable.
12417         (isConnected): New method.
12418         (isClosed): New method.
12419         (isInputShutdown): New method.
12420         (isOutputShutdown): New method.
12421         * java/net/URLStreamHandler.java
12422         (URLStreamHandler): New method.
12423         (openConnection): Added documentation.
12424         (parseURL): Added documentation.
12425         (getHostAddress): New method.
12426         (getDefaultPort): New method.
12427
12428 2002-10-02  Tom Tromey  <tromey@redhat.com>
12429
12430         * java/rmi/activation/ActivationDesc.java,
12431         java/rmi/activation/ActivationGroupDesc.java,
12432         java/rmi/activation/ActivationGroupID.java,
12433         java/rmi/activation/ActivationID.java: New versions from
12434         Classpath.
12435
12436 2002-09-30  Bo Thorsen  <bo@suse.de>
12437
12438         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12439
12440 2002-09-30  Tom Tromey  <tromey@redhat.com>
12441
12442         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12443         from Classpath.
12444         * Makefile.in: Rebuilt.
12445         * Makefile.am (rmi_java_source_files): Added new files.
12446         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12447         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12448         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12449         Classpath.
12450         * gnu/java/rmi/dgc/DGCImpl.java,
12451         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12452         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12453         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12454         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12455         gnu/java/rmi/server/RMIHashes.java,
12456         gnu/java/rmi/server/RMIObjectInputStream.java,
12457         gnu/java/rmi/server/RMIObjectOutputStream.java,
12458         gnu/java/rmi/server/UnicastConnection.java,
12459         gnu/java/rmi/server/UnicastConnectionManager.java,
12460         gnu/java/rmi/server/UnicastRef.java,
12461         gnu/java/rmi/server/UnicastServer.java,
12462         gnu/java/rmi/server/UnicastServerRef.java,
12463         java/rmi/MarshalledObject.java,
12464         java/rmi/server/RMIClassLoader.java,
12465         java/rmi/server/RemoteObject.java,
12466         java/rmi/server/UnicastRemoteObject.java,
12467         java/security/SecureClassLoader.java: Merged from Classpath.
12468
12469 2002-09-29  Anthony Green  <green@redhat.com>
12470
12471         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12472         Imported from GNU Classpath.
12473         * java/lang/reflect/natProxy.cc: New file.
12474         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12475         from GNU Classpath.
12476         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12477         Classpath.
12478         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12479         Classpath.
12480         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12481         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12482         New statics.
12483         * gcj/javaprims.h ("Java"): Add new classes.
12484         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12485         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12486         java/lang/reflect/Proxy$$ProxyType.h): And this.
12487         (inner_nat_headers): Add these new headers.
12488         (ordinary_java_source_files): Add new files.
12489         (nat_source_files): Add new file.
12490         * Makefile.in: Rebuilt.
12491
12492 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12493
12494         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12495         a single configuration.
12496
12497 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12498
12499         * java/util/TimeZone.java (getDSTSavings): New method.
12500         Fixes PR libgcj/7786.
12501
12502 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12503
12504         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12505         to see if `the_method == 0' before looking up vtable index.
12506         Fixes PR libgcj/7709.
12507
12508 2002-09-25  Tom Tromey  <tromey@redhat.com>
12509
12510         * java/lang/natClassLoader.cc:
12511         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12512         * resolve.cc: Include NoClassDefFoundError.h, not
12513         ClassNotFoundException.h.
12514         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12515
12516         * defineclass.cc: Don't include ClassNotFoundException.h.
12517
12518         * resolve.cc: Include StringBuffer.
12519         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12520
12521         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12522         allocated but not initialized.
12523
12524 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12525
12526         Fix for PR libgcj/7766:
12527         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12528         (getNextEntry): Set it.
12529         (closeEntry): Likewise.
12530         (read): Likewise.
12531         (close): Likewise.
12532         (available): Use it.
12533
12534 2002-09-25  Michael Koch  <konqueror@gmx.de>
12535
12536         * java/net/DatagramSocket.java
12537         (DatagramSocket): Initialize new instance variables.
12538         (close): Reset new instance variables.
12539         (getLocalAddress): Remove unneeded SecurityManager usage.
12540         (getLocalPort): Check if socket is already bound.
12541         (isConnected): New method.
12542         (getInetAddress): Implemented.
12543         (getPort): Better Implementation, documentation fixed.
12544         (getRemoteSocketAddress): New method.
12545         * java/net/JarURLConnection.java
12546         (element): Typo fixed.
12547         (getMainAttributes): New method.
12548         (getAttributes): New method (stub only).
12549         (getManifest): New method (stub only).
12550         * java/net/NetPermission.java: Added serialVersionsUID.
12551         * java/net/Socket.java
12552         (connect): Check blocking mode of associated channel,
12553         documentation added.
12554         (getLocalSocketAddress): Better implementation.
12555         (getRemoteSocketAddress): Implemented.
12556         (isBound): New method.
12557         (setSendBufferSize): Documentation added.
12558         * java/net/SocketAddress.java: Added serialVersionsUID.
12559         * java/net/SocketPermission.java: Added serialVersionsUID.
12560         * java/net/URL.java
12561         (URL): Wrap for shorter lines, initialize new instance variables,
12562         documentation added.
12563         (equals): Check new instance variables too.
12564         (getContent): Documentation added.
12565         (getPath): Documentation added.
12566         (getAuthority): New method.
12567         (getHost): Documentation added.
12568         (getPort): Documentation added.
12569         (getDefaultPort): New method.
12570         (getProtocol): Documentation added.
12571         (getUserInfo): Documentation added.
12572         (set): Initialize new instance variables, documentation added.
12573         * java/net/URLStreamHandler.java
12574         (setURL): New method.
12575         * java/net/natPlainDatagramSocketImpl.cc
12576         (connect): Fix exception name.
12577         (disconnect): Fix exception name.
12578
12579 2002-09-25  Michael Koch  <konqueror@gmx.de>
12580
12581         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12582         * java/nio/channels/DatagramChannel.java:
12583         extends AbstractSelectableChannel
12584         * java/nio/channels/ServerSocketChannel.java:
12585         extends AbstractSelectableChannel
12586         * java/nio/channels/SocketChannel.java:
12587         extends AbstractSelectableChannel
12588         * Makefile.am (ordinary_java_source_files):
12589         java/nio/channels/spi/AbstractSelectableChannel.java added.
12590         * Makefile.in: Regenerated.
12591
12592 2002-09-25  Michael Koch  <konqueror@gmx.de>
12593
12594         * java/net/DatagramSocket.java
12595         (DatagramSocket): Exception documentation added.
12596         (bind): Exception documentation added, addded SecurityManager check,
12597         added SocketAddress type check.
12598         (getSoTimeout): Check impl.
12599         (receive): Fix SecurityManager check, check impl, documentation added.
12600         (send): Check channel mode, documentation added.
12601         (connect): New method.
12602         (disconnect): Implemented.
12603         (getLocalSocketAddress): New method.
12604         (getReceiveBufferSize): Check impl.
12605         (setReuseAddress): Check impl.
12606         (getReuseAddress): Check impl.
12607         (setBroadcast): Check impl.
12608         (getBroadcast): Check impl.
12609         (setTrafficClass): Check impl, Documentation cleared.
12610         (getTrafficClass): Check impl.
12611         (getSendBufferSize): Check impl.
12612         (setReceiveBufferSize): Check impl, documentation added.
12613         (setSendBufferSize): Documentation added.
12614         (setDatagramSocketImplFactory): New method.
12615         * java/net/HttpURLConnection.java
12616         (HTTP_INTERNAL_ERROR): The correct code is 500.
12617         (HTTP_NOT_IMPLEMENTED): Added new constant.
12618         (setFollowRedirects): Documentation added.
12619         (getInstanceFollowRedirects): New method.
12620         (setInstanceFollowRedirects): New method.
12621         (setRequestMethod): Documentation added.
12622         (getResponseCode): Documentation added.
12623         (getResponseMessage): Documentation added.
12624         * java/net/JarURLConnection.java
12625         (JarURLConnection): protected since JDK 1.4.
12626         (getJarEntry): java.io.IOException to IOException, documentation added.
12627         (getJarFile): Documentation added.
12628         * java/net/ServerSocket.java
12629         (ServerSocket): Private to public, exception added.
12630         (ServerSocket): java.io.IOException to IOException, documentation added.
12631         (bind): Check socket address type, documentation added.
12632         (bind): java.io.IOException to IOException, documentation added.
12633         (accept): Documentation added.
12634         (implAccept): Check ch is not non-blocking, documentation added.
12635         (setSoTimeout): Documentation fixed.
12636         (setReceiveBufferSize): Documentation added.
12637         * java/net/Socket.java
12638         (Socket): Documentation added.
12639         (bind): Documentation added.
12640         (connect): Check socket address type, documentation added.
12641         (getRemoteSocketAddress): New method.
12642         (getLocalSocketAddress): New method.
12643         (setSoLinger): Documentation added.
12644         (getReuseAddress): New method.
12645         (setReuseAddress): New method.
12646         (getTrafficClass): New method.
12647         (setTrafficClass): New method.
12648         * java/net/URLStreamHandler.java
12649         (openConnection): java.io.IOException to IOException.
12650         (parseURL): Documentation added.
12651         (sameFile): public to protected, documentation added.
12652         (setURL): Documentation added.
12653         * java/nio/IllegalBlockingModeException.java: New file.
12654         * Makefile.am (ordinary_java_source_files):
12655         added java/nio/IllegalBlockingModeException.java
12656         * Makefile.in: Regenerated.
12657
12658 2002-09-25  Michael Koch  <konqueror@gmx.de>
12659
12660         * java/net/DatagramPacket
12661         (DatagramPacket): Exception documentation added.
12662         (setData): Likewise.
12663         (setSocketAddress): Likewise.
12664         * java/net/DatagramSocketImpl.java
12665         (peek): Documentation addded.
12666         (peekData): Documentation addded.
12667         (send): Documentation addded.
12668         (receive): Documentation addded.
12669         (connect): New method.
12670         (disconnect): New method.
12671         (joinGroup): New abstract method.
12672         (leaveGroup): New abstract method.
12673         * java/net/InetSocketAddress.java
12674         (InetSocketAddress): Documentation added.
12675         (equals): final keyword added.
12676         (getAddress): final keyword added.
12677         (getHostName): final keyword added.
12678         (getPort): final keyword added.
12679         (hashCode): final keyword added.
12680         (isUnresolved): final keyword added.
12681         * java/net/MulticastSocket.java
12682         (MulticastSocket): Documentation added.
12683         (MulticastSocket): New method.
12684         (joinGroup): Documentation added.
12685         (joinGroup): New method.
12686         (leaveGroup): Documentation added.
12687         (leaveGroup): New method.
12688         (send): Documentation added.
12689         * java/net/NetworkInterface.java
12690         (getByName): Documentation added.
12691         (getByInetAddress): Documentation added.
12692         (getNetworkInterfaces): Documentation added.
12693         * java/net/PlainDatagramSocketImpl.java
12694         (connect): New method.
12695         (disconnect): New method.
12696         * java/net/SocketImpl.java
12697         (create): Documentation added.
12698         (shutdownInput): Convert public to protected, as it always was.
12699         (shutdownOutput): Convert public to protected, as it always was.
12700         * java/net/SocketOptions.java
12701         (whole file): Reintented.
12702         * java/net/URLClassLoader.java
12703         (URLClassLoader): SecurityManager check added, documentation added.
12704         (findResources): Documentation added.
12705         (findClass): Documentation added.
12706         (newInstance): More correct method arguments.
12707         * java/net/URLConnection.java
12708         (connect): Documentation added.
12709         (getContent): Documentation added.
12710         (getPermission): Documentation added.
12711         (getInputStream): Documentation added.
12712         (getOutputStream): Documentation added.
12713         (setDoInput): Throw correct exception, documentation added.
12714         (setDoOutput): Throw correct exception, documentation added.
12715         (setAllowUserInteraction): Throw correct exception, documentation added.
12716         (setUseCaches): Throw correct exception, documentation added.
12717         (setIfModifiedSince): Throw correct exception, documentation added.
12718         (setRequestProperty): Throw exception, documentation added.
12719         (addRequestProperty): Throw exception, documentation added.
12720         (getRequestProperty): Throw exception, documentation added.
12721         (getRequestProperties): Documentation added.
12722         (setContentHandlerFactory): Documentation added.
12723         (guessContentTypeFromName): protected to public.
12724         (setFileNameMap): Documentation added.
12725         * java/net/URLDecoder.java
12726         (URLDecoder): New method.
12727         (decode): Documentation added.
12728         (whole file): Reindented.
12729         * java/net/URLEncoder.java
12730         (encode): Documentation added.
12731         * java/net/natPlainDatagramSocketImpl.cc
12732         (connect): New method.
12733         (disconnect): New method.
12734         * javax/naming/RefAddr:
12735         (addrType): addrType was never final.
12736         (equals): Fix typo in method name.
12737         * javax/naming/BinaryRefAddr:
12738         (equals): Fix typo in method name.
12739
12740 2002-09-22  Tom Tromey  <tromey@redhat.com>
12741
12742         Fix for PR libgcj/6576:
12743         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12744         didn't find a given bundle.
12745         (getBundle): Don't require base bundle.
12746         (setParent): Removed old comment.
12747         (tryLocalBundle): Try components even if preceding components were
12748         empty.
12749
12750 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12751
12752         * Makefile.am (all-multi): Fix multilib parallel build.
12753
12754 2002-09-21  Michael Koch  <konqueror@gmx.de>
12755
12756         * java/net/Socket.java
12757         (sendUrgentData): New method.
12758         (getChannel): New method.
12759         * java/net/ServerSocket.java
12760         (getChannel): New method.
12761         (isBound): New method.
12762         * java/net/DatagramSocket.java
12763         (DatagramSocket): Two new methods.
12764         (bind): New method.
12765         (getChannel): New method.
12766         (isBound): New method.
12767         (send): Added newline to to make shorter lines.
12768         * java/net/PlainDatagramSocketImpl.java
12769         (mcastGrp): Added argument.
12770         (join): Use new mcastGrp.
12771         (leave): Use new mcastGrp.
12772         (joinGroup): New method.
12773         (leaveGroup): New method.
12774         * java/net/natPlainDatagramSocketImpl.cc
12775         (mcastGrp): Added argument, no yet really implemented.
12776         (getOption): Added newline for shorter lines.
12777         * java/net/natPlainSocketImpl.cc
12778         (read, setOption, getOption): Added newline for shorter lines.
12779
12780 2002-09-19  Tom Tromey  <tromey@redhat.com>
12781
12782        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12783        newly-created exception.
12784
12785 2002-09-18  Michael Koch  <konqueror@gmx.de>
12786
12787         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12788         java/util/regex/PatternSyntaxException.java:
12789         Merge with classpath, new files.
12790         * Makefile.am (core_java_source_files):
12791         Added java/util/regex/Matcher.java,
12792         java/util/regex/Pattern.java,
12793         java/util/regex/PatternSyntaxException.java
12794         * Makefile.in: Regenerated.
12795         * include/config.h.in: Added HAVE_NET_IF_H.
12796         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12797         Removed #if 0 ... #endif.
12798
12799 2002-09-17  Michael Koch  <konqueror@gmx.de>
12800
12801         * java/net/natNetworkInterface.cc:
12802         Removed unneed and yet wrong includes.
12803
12804 2002-09-17  Michael Koch  <konqueror@gmx.de>
12805
12806         * java/net/NetworkInterface.java: New file.
12807         * java/net/natNetworkInterface.java: New file.
12808         * configure.in: Added check for net/if.h.
12809         * configure: Regenerated.
12810         * Makefile.am
12811         (ordinary_java_source_files): Added NetworkInterface.java.
12812         (nat_source_files): Added natNetworkInterface.cc.
12813         * Makefile.in: Regenerated.
12814
12815 2002-09-16  Tom Tromey  <tromey@redhat.com>
12816
12817         * java/net/URLClassLoader.java (findClass): Code source for a
12818         class from a jar is not necessarily a jar: URL.
12819
12820 2002-09-16  Michael Koch  <konqueror@gmx.de>
12821
12822         * java/lang/AssertionError.java:
12823         Merge with classpath, fixes HTML.
12824         * java/rmi/server/LogStream.java:
12825         Merge with classpath, fixes some constants.
12826         * java/net/server/RemoteServer.java:
12827         Merge with classpath, adds serialVersionUID.
12828         * javax/naming/BinaryRefAddr.java:
12829         Merge with classpath, s/equal/equals/.
12830         * javax/naming/NamingException.java:
12831         Merge with classpath, fixed typo.
12832         * javax/naming/RefAddr.java:
12833         Merge with classpath, s/equal/equals/.
12834         * java/awt/Toolkit.java:
12835         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12836         and typo fixed.
12837
12838 2002-09-15  Adam Megacz <adam@xwt.org>
12839
12840         * java/net/natPlainSocketImpl.cc: fixed typo.
12841
12842 2002-09-15  Adam Megacz <adam@xwt.org>
12843
12844         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12845         which don't work on Win32 (yet).
12846
12847 2002-09-14  Adam Megacz <adam@xwt.org>
12848
12849         * java/net/natPlainDatagramSocket.cc: removed #include
12850         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12851         * include/win32.h: included definition for IP_TOS to satisfy
12852         natPlainDatagramSocket.cc
12853
12854 2002-09-13  Michael Koch  <konqueror@gmx.de>
12855
12856         * java/net/DatagramPacket.java (DatagramPacket):
12857         Added linebreak for 80 chars per line.
12858         * java/net/JarURLConection.java
12859         (getInputStreami, getJarEntry): Likewise.
12860         * java/net/SocketPErmission.java
12861         (SocketPermission class docu, implies): Likewise.
12862         * java/net/URLClassLoader.java (findResources): Likewise.
12863         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12864
12865 2002-09-13  Michael Koch  <konqueror@gmx.de>
12866
12867         * java/nio/channels/DatagramChannel.java,
12868         java/nio/channels/ServerSocketChannel.java
12869         java/nio/channels/SocketChannel.java:
12870         New dummy files to make java.net fully JDK 1.4 compatible
12871         * Makefile.am (ordinary_java_source_files): Added
12872         java/net/DatagramSocketImplFactory.java (long forgotten),
12873         java/nio/SocketChannel.java,
12874         java/nio/ServerSocketChannel.java,
12875         java/nio/DatagramChannel.java
12876         * Makefile.in: Regenrated.
12877
12878 2002-09-12  Michael Koch  <konqueror@gmx.de>
12879
12880         * java/net/DatagramSocketImpl.java
12881         (peekData): New method.
12882         * java/net/PlainDatagramSocketImpl.java
12883         (peekData): New method.
12884         * java/net/natPlainDatagramSocketImpl.cc
12885         (peekData): New method.
12886         * java/net/URLConnection
12887         (getPermission): New method.
12888         (addRequestProperty): New method.
12889         (getRequestProperties): New method.
12890         (guessContentTypeFromStream): New method, not really implemented.
12891         (URLConnection): Added/updated documentation.
12892         (connect): Added/updated documentation.
12893         (getURL): Added/updated documentation.
12894         (getContentLength): Added/updated documentation.
12895         (getContentType: Added/updated documentation.
12896         (getContentEncoding): Added/updated documentation.
12897         (getExpiration): Added/updated documentation.
12898         (getDate): Added/updated documentation.
12899         (getLastModified): Added/updated documentation.
12900         (getHeaderField): Added/updated documentation.
12901         (getHeaderFields): Added/updated documentation.
12902         (getHeaderFieldInt): Added/updated documentation.
12903         (getHeaderFieldDate): Added/updated documentation.
12904         (getHeaderFieldKey): Added/updated documentation.
12905         (getContent): Added/updated documentation.
12906         (getInputStream): Added/updated documentation.
12907         (getOutputStream): Added/updated documentation.
12908         (toString): Added/updated documentation.
12909         (setDoInput): Added/updated documentation.
12910         (getDoInput): Added/updated documentation.
12911         (setDoOutput): Added/updated documentation.
12912         (getDoOutput): Added/updated documentation.
12913         (setAllowUserInteraction): Added/updated documentation.
12914         (getAllowUserInteraction): Added/updated documentation.
12915         (setDefaultAllowUserInteraction): Added/updated documentation.
12916         (getDefaultAllowUserInteraction): Added/updated documentation.
12917         (setUseCaches): Added/updated documentation.
12918         (getUseCaches): Added/updated documentation.
12919         (setIfModifiedSince): Added/updated documentation.
12920         (getIfModifiedSince): Added/updated documentation.
12921         (getDefaultUseCaches): Added/updated documentation.
12922         (setDefaultUseCaches): Added/updated documentation.
12923         (setRequestProperty): Added/updated documentation.
12924         (getRequestProperty): Added/updated documentation.
12925         (setDefaultRequestProperty): Added/updated documentation.
12926         (getDefaultRequestProperty): Added/updated documentation.
12927         (setContentHandlerFactory): Added/updated documentation.
12928         (guessContentTypeFromName): Added/updated documentation.
12929         (getFileNameMap): Added/updated documentation.
12930         (setFileNameMap): Added/updated documentation.
12931
12932 2002-09-11  Michael Koch  <konqueror@gmx.de>
12933
12934         * java/net/Socket.java
12935         (Socket): protected to public (since JDK 1.4). Added @specnote.
12936         (bind): New method.
12937         (connect): Two new methods.
12938         (getKeepalive): Get correct socket option.
12939         (setKeepalive): Set correct socket option.
12940         (getOOBInline): New method.
12941         (setOOBInline): New method.
12942         * java/net/ServerSocket.java
12943         (bind): Two new methods.
12944         (getInetAddress): Reimplemented, catch exception.
12945         (getLocalSocketAddress): New method.
12946         (setReuseAddress): New method.
12947         (getReuseAdress): New method.
12948         (setReceiveBufferSize): New method.
12949         (getReceiveBufferSize): New method.
12950         (toString): Made string JDK 1.4 compliant.
12951
12952 2002-09-10  Michael Koch  <konqueror@gmx.de>
12953
12954         * java/net/SocketImpl.java
12955         (connect): New method.
12956         (supportsUrgentData): New method.
12957         (sendUrgentData): New method.
12958         * java/net/PlainSocketImpl.java
12959         (connect): One new method and two new implementation.
12960         (sendUrgentData): New method.
12961         * java/natPlainSocketImpl.cc
12962         (connect): Arguments changed, added support for timeouts.
12963         (getOption): Another __java_boolean to jboolean.
12964
12965 2002-09-07  Adam Megacz <adam@xwt.org>
12966
12967         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12968         definition of IP_TOS.
12969
12970 2002-09-04  Michael Koch  <konqueror@gmx.de>
12971
12972         * java/net/DatagramSocket.java
12973         (DatagramSocket): Added documentation.
12974         (close): Likewise.
12975         (getLocalAddress): Likewise.
12976         (getLocalPort): Likewise.
12977         (receive): Likewise.
12978         (send): Likewise.
12979         (setSoTimeout): Likewise.
12980         (connect): New method.
12981         (disconnect): New method.
12982         (getInetAddress): New method (FIXME)
12983         (getPort): New method.
12984         (setReuseAddress): New method.
12985         (getReuseAddress): New method.
12986         (setBroadcast): New method.
12987         (getBroadcast): New method.
12988         (setTrafficClass): New method.
12989         (getTrafficClass): New method.
12990         * java/net/MulticastSocket.java):
12991         (getTTL): Added @see in documentation.
12992         (setTTL): Added @see in documentation.
12993         (setLoopbackMode): New method.
12994         (getLoopbackMode): New method.
12995         * java/net/PlainSocketImpl.java:
12996         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12997         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12998         * java/net/PlainDatagramSocketImpl.java
12999         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13000         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13001         * java/net/natPlainSocketImpl.cc
13002         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13003         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13004         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13005         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13006         This should also fix SO_KEEPALIVE
13007         * java/net/natPlainDatagramSocketImpl.cc
13008         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13009         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13010         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13011         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13012
13013 2002-09-04  Michael Koch  <konqueror@gmx.de>
13014
13015         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13016         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13017         IP_MULTICAST_LOOP, IP_TOS
13018
13019 2002-09-03  Tom Tromey  <tromey@redhat.com>
13020
13021         * java/lang/Class.h (_getDeclaredMethod): Declare.
13022         (_getMethod): Now private.
13023         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13024         getDeclaredMethod.  Now returns NULL on failure.
13025         * java/lang/Class.java (_getDeclaredMethod): Declare.
13026         (getDeclaredMethod): No longer native; implements access checks.
13027
13028 2002-09-01  Mark Wielaard  <mark@klomp.org>
13029
13030         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13031         (sanitizeStack): Correctly reset unknown and interpreter counters,
13032         detect interpreter runtime frames.
13033         (demangleInterpreterMethod): New method.
13034         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13035         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13036         filling in addrs[].
13037
13038 2002-09-02  Michael Koch  <konqueror@gmx.de>
13039
13040         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13041         re-indented documentation.
13042
13043 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13044
13045         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13046         public, per 1.4 spec.  Fixes PR libgcj/7785.
13047
13048 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13049
13050         * Makefile.in: Rebuilt.
13051         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13052
13053 2002-08-29  Tom Tromey  <tromey@redhat.com>
13054
13055         * java/net/JarURLConnection.java (getCertificates): New method
13056         from Classpath.
13057         * java/net/URLClassLoader.java (URLClassLoader): Extends
13058         SecureClassLoader.
13059         (definePackage): New method from Classpath.
13060         (getPermissions): Likewise.
13061         (newInstance): Likewise.
13062         (findClass): Construct CodeSource for new class (from Classpath).
13063         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13064         methods.
13065         * java/net/URL.java (getUserInfo): New method.
13066         (set(String,String,int,String,String,String,String,String)): New
13067         method.
13068         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13069         (shutdownInput, shutdownOutput): Declare.
13070         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13071         Define.
13072         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13073         (getOption): Likewise.
13074         (shutdownInput): New method.
13075         (shutdownOutput): Likewise.
13076         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13077         keepalive.
13078         (getOption): Likewise.
13079         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13080         * java/net/Socket.java (setKeepAlive): New method.
13081         (getKeepAlive): Likewise.
13082         (shutdownInput, shutdownOutput): New methods.
13083
13084 2002-08-29  Michael Koch  <konqueror@gmx.de>
13085
13086         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13087         new methods are:
13088         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13089           address),
13090         DatagramPacket(byte[] buf, int length, SocketAddress address),
13091         void setSocketAddress(SocketAddress address)
13092         public SocketAddress getSocketAddress()
13093
13094 2002-08-29  Tom Tromey  <tromey@redhat.com>
13095
13096         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13097         ftruncate is missing.
13098         * configure, include/config.h.in: Rebuilt.
13099         * acconfig.h (HAVE_FTRUNCATE): Mention.
13100         * configure.in: Check for ftruncate.
13101
13102 2002-08-29  Tom Tromey  <tromey@redhat.com>
13103
13104         * include/jvm.h (struct _Jv_frame_info): New structure.
13105         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13106         java-interp.h.
13107         (lookupInterp): New method.
13108         (getAddrAsString): Use _Jv_frame_info.
13109         (dladdrLookup): Likewise.
13110         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13111         interpreted frame.
13112         (lookupInterp): Declare.
13113         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13114         (fillInStackTrace): Collect information on interpreted frames.
13115         Use _Jv_frame_info.
13116         * interpret.cc: Include Thread.h.
13117         (run): Create and push _Jv_MethodChain object.
13118         (_Jv_EndOfInterpreter): New global.
13119         * java/lang/Thread.java (interp_frame): New field.
13120         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13121         Include NameFinder.h.
13122
13123 2002-08-28  Tom Tromey  <tromey@redhat.com>
13124
13125         * java/lang/Class.h: Include Package.h.
13126         (Class::getProtectionDomain): Declare.
13127         (Class::getPackage): Declare.
13128
13129 2002-08-28  Michael Koch <konqueror@gmx.de>
13130
13131         * java/net/InetSocketAddress.java: Added some documentation and argument
13132         checks for the port numbers.
13133         * java/net/DatagramSocketImplFactory.java: New file.
13134
13135 2002-08-28  Michael Koch <konqueror@gmx.de>
13136
13137         * java/net/Authenticator.java: added some documentation.
13138
13139 2002-08-27  Tom Tromey  <tromey@redhat.com>
13140
13141         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13142         class.
13143         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13144
13145 2002-08-27  Michael Koch <konqueror@gmx.de>
13146
13147         * java/net/BindException.java,
13148         java/net/JarURLConnection.java,
13149         java/net/FileNameMap.java,
13150         java/net/HttpURLConnection.java,
13151         java/net/InetSocketAddress.java,
13152         java/net/DatagramPacket.java,
13153         java/net/DatagramSocket.java,
13154         java/net/DatagramSocketImpl.java,
13155         java/net/MulticastSocket.java,
13156         java/net/PasswordAuthentication.java,
13157         java/net/ServerSocket.java,
13158         java/net/Socket.java,
13159         java/net/URLClassLoader.java,
13160         java/net/URLConnection.java: add/update of some @since/@deprecated
13161
13162 2002-08-27  Tony Kimball <alk@pobox.com>
13163             Tom Tromey  <tromey@redhat.com>
13164
13165         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13166         define.
13167         (::close): Removed.
13168         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13169         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13170         (::close): Removed.
13171         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13172         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13173
13174 2002-08-25  Adam Megacz <adam@xwt.org>
13175
13176         * include/win32.h (getcwd): copied function declaration as
13177         temporary fix for header confusion.
13178
13179 2002-08-24  Mark Wielaard <mark@klomp.org>
13180
13181         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13182         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13183         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13184         and natNameFinder.cc.
13185         * Makefile.in: Regenerate.
13186         * prims.cc: Use trace_enabled from VMThrowable.
13187         * name-finder.cc: Removed.
13188         * gcj/javaprims.h: Add class VMThrowable.
13189         * gnu/gcj/runtime/NameFinder.java: New file.
13190         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13191         * include/name-finder.h: Removed.
13192         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13193         method stackTraceString().
13194         (printStackTrace (PrintWriter)): Likewise.
13195         (stackTraceString): Complete rewrite of old printStackTrace using
13196         StringBuffer.
13197         (stackTraceStringBuffer): New helper method for stackTraceString().
13198         (fillInStackTrace): Delegate to VMTrowable.
13199         (getStackTrace): Likewise.
13200         (getStackTrace0): Removed.
13201         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13202         (setStackTrace): Copy given array.
13203         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13204         * java/lang/VMThrowable.java: New class.
13205         * java/lang/natVMThrowable.cc: New file.
13206
13207 2003-08-23  Michael Koch  <konqueror@gmx.de>
13208
13209         * java/net/URLConnection.java,
13210         java/netJarURLConnection.java,
13211         gnu/gcj/protocol/core/Connection.java,
13212         gnu/gcj/protocol/file/Connection.java,
13213         gnu/gcj/protocol/http/Connection.java: Added implementation of
13214         getHeaderFields().
13215
13216 2002-08-22  Tom Tromey  <tromey@redhat.com>
13217
13218         * gij.cc (help): Document -cp and -classpath.
13219         (main): Handle -classpath.
13220
13221 2002-08-21  Tom Tromey  <tromey@redhat.com>
13222
13223         * Makefile.in: Rebuilt.
13224         * Makefile.am (ordinary_java_source_files): Added
13225         SocketAddress.java, InetSocketAddress.java.
13226         * java/net/PortUnreachableException.java: Merged with Classpath.
13227         * java/net/SocketTimeoutException.java: Likewise.
13228         * java/net/URISyntaxException.java: Likewise.
13229         * java/net/SocketAddress.java: New class from Classpath.
13230         * java/net/InetSocketAddress.java: Likewise.
13231
13232 2003-08-21  Michael Koch  <konqueror@gmx.de>
13233
13234         * java/net/Authenticator.java: updated JDK 1.4
13235         * java/net/ContentHandler.java: updated JDK 1.4
13236
13237 2002-08-20  Michael Koch  <konqueror@gmx.de>
13238
13239         * java/net/URISyntaxException.java: New file.
13240         * java/net/SocketTimeoutException.java: New file.
13241         * java/net/PortUnreachableException.java: New file.
13242         * Makefile.am: Updated.
13243         * Makefile.in: Rebuilt.
13244
13245 2002-08-18  Mark Wielaard  <mark@klomp.org>
13246
13247         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13248         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13249         MessageDigestSpi (fixes Classpath bug #783).
13250
13251 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13252
13253         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13254         (startProcess): Allocate path for chdir in async-signal-safe way.
13255
13256 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13257
13258         Fix for PR libgcj/7570 and PR libgcj/7578:
13259         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13260         (startProcess): Handle new `dir' argument.
13261         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13262         argument.
13263         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13264         argument.
13265         (startProcess): Likewise.
13266         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13267         argument.
13268         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13269         (exec): Don't create new environment if ENV==null.  Pass DIR to
13270         execInternal.
13271         * java/lang/natRuntime.cc: Include java/io/File.h.
13272         (execInternal): Added `dir' argument.
13273
13274 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13275
13276         * java/io/RandomAccessFile.java (skipBytes): Return number of
13277         bytes skipped.
13278
13279 2002-08-01  Mark Wielaard  <mark@klomp.org>
13280
13281         Reenable patch since shared library troubles on powerpc are solved:
13282         * gnu/java/security/provider/Gnu.java: Reference all implementation
13283         classes by using Class.getName().
13284         * gnu/java/security/der/DEREncodingException.java,
13285         gnu/java/security/provider/DERReader.java,
13286         gnu/java/security/provider/DERWriter.java,
13287         gnu/java/security/provider/DSAKeyPairGenerator.java,
13288         gnu/java/security/provider/DSAParameterGenerator.java,
13289         gnu/java/security/provider/DSAParameters.java,
13290         gnu/java/security/provider/DSASignature.java,
13291         gnu/java/security/provider/GnuDSAPrivateKey.java,
13292         gnu/java/security/provider/GnuDSAPublicKey.java,
13293         gnu/java/security/provider/MD5.java,
13294         gnu/java/security/util/Prime.java: New classes
13295         * Makefile.am (ordinary_java_source_files): Add above files.
13296         * Makefile.in: Regenerate.
13297         * gnu/java/security/provider/DefaultPolicy.java
13298         (getPermissions): Don't maintain static class variable of Permissions.
13299         * gnu/java/security/provider/SHA.java
13300         (engineUpdate): algorithm change.
13301         (engineDigest): algorithm change.
13302
13303 2002-08-09  Mark Wielaard  <mark@klomp.org>
13304
13305         * java/awt/image/MemoryImageSource.java: Change constructor to take
13306         int[] not byte[].
13307         * java/awt/Graphics2D.java: Uncomment methods that can now be
13308         compiled.
13309         * java/awt/GridBagLayout.java: New stub implementation.
13310         * javax/swing/text/html/HTML.java: Stub implementation.
13311         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13312         implementation.
13313
13314         * Makefile.am: Add new files.
13315         * Makefile.in: Rebuilt.
13316
13317 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13318
13319         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13320         methods in Graphics2D.
13321
13322 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13323
13324         AWT/Swing merge from GNU Classpath.
13325
13326         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13327         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13328         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13329         java/awt/color/ProfileDataException.java,
13330         java/awt/CompositeContext.java, java/awt/Composite.java,
13331         java/awt/ContainerOrderFocusTraversalPolicy.java,
13332         java/awt/datatransfer/FlavorTable.java,
13333         java/awt/DefaultFocusTraversalPolicy.java,
13334         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13335         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13336         java/awt/dnd/DragGestureListener.java,
13337         java/awt/dnd/DragGestureRecognizer.java,
13338         java/awt/dnd/DragSourceAdapter.java,
13339         java/awt/dnd/DragSourceContext.java,
13340         java/awt/dnd/DragSourceDragEvent.java,
13341         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13342         java/awt/dnd/DragSourceListener.java,
13343         java/awt/dnd/DragSourceMotionListener.java,
13344         java/awt/dnd/DropTarget.java,
13345         java/awt/dnd/InvalidDnDOperationException.java,
13346         java/awt/dnd/peer/DragSourceContextPeer.java,
13347         java/awt/event/AWTEventListenerProxy.java,
13348         java/awt/event/MouseWheelEvent.java,
13349         java/awt/event/MouseWheelListener.java,
13350         java/awt/event/WindowFocusListener.java,
13351         java/awt/event/WindowStateListener.java,
13352         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13353         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13354         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13355         java/awt/geom/FlatteningPathIterator.java,
13356         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13357         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13358         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13359         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13360         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13361         java/awt/image/ImagingOpException.java,
13362         java/awt/image/RasterFormatException.java,
13363         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13364         java/awt/image/VolatileImage.java,
13365         java/awt/image/WritableRenderedImage.java,
13366         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13367         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13368         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13369         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13370         java/awt/PageAttributes.java, java/awt/print/Book.java,
13371         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13372         java/awt/print/Paper.java, java/awt/print/Printable.java,
13373         java/awt/print/PrinterAbortException.java,
13374         java/awt/print/PrinterException.java,
13375         java/awt/print/PrinterGraphics.java,
13376         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13377         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13378         java/awt/Stroke.java, java/awt/TexturePaint.java,
13379         javax/accessibility/AccessibleAction.java,
13380         javax/accessibility/AccessibleBundle.java,
13381         javax/accessibility/AccessibleComponent.java,
13382         javax/accessibility/AccessibleContext.java,
13383         javax/accessibility/AccessibleEditableText.java,
13384         javax/accessibility/AccessibleExtendedComponent.java,
13385         javax/accessibility/AccessibleExtendedTable.java,
13386         javax/accessibility/AccessibleHyperlink.java,
13387         javax/accessibility/AccessibleHypertext.java,
13388         javax/accessibility/AccessibleIcon.java,
13389         javax/accessibility/Accessible.java,
13390         javax/accessibility/AccessibleKeyBinding.java,
13391         javax/accessibility/AccessibleRelation.java,
13392         javax/accessibility/AccessibleRelationSet.java,
13393         javax/accessibility/AccessibleResourceBundle.java,
13394         javax/accessibility/AccessibleRole.java,
13395         javax/accessibility/AccessibleSelection.java,
13396         javax/accessibility/AccessibleState.java,
13397         javax/accessibility/AccessibleStateSet.java,
13398         javax/accessibility/AccessibleTable.java,
13399         javax/accessibility/AccessibleTableModelChange.java,
13400         javax/accessibility/AccessibleText.java,
13401         javax/accessibility/AccessibleValue.java,
13402         javax/swing/AbstractAction.java,
13403         javax/swing/AbstractButton.java,
13404         javax/swing/AbstractCellEditor.java,
13405         javax/swing/AbstractListModel.java,
13406         javax/swing/AbstractSet.java, javax/swing/Action.java,
13407         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13408         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13409         javax/swing/border/CompoundBorder.java,
13410         javax/swing/border/EmptyBorder.java,
13411         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13412         javax/swing/border/LineBorder.java,
13413         javax/swing/border/MatteBorder.java,
13414         javax/swing/border/TitledBorder.java,
13415         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13416         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13417         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13418         javax/swing/CellRendererPane.java,
13419         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13420         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13421         javax/swing/colorchooser/ColorSelectionModel.java,
13422         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13423         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13424         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13425         javax/swing/DefaultBoundedRangeModel.java,
13426         javax/swing/DefaultButtonModel.java,
13427         javax/swing/DefaultCellEditor.java,
13428         javax/swing/DefaultCellRenderer.java,
13429         javax/swing/DefaultComboBoxModel.java,
13430         javax/swing/DefaultDesktopManager.java,
13431         javax/swing/DefaultFocusManager.java,
13432         javax/swing/DefaultListCellRenderer.java,
13433         javax/swing/DefaultListModel.java,
13434         javax/swing/DefaultListSelectionModel.java,
13435         javax/swing/DefaultSingleSelectionModel.java,
13436         javax/swing/DesktopManager.java,
13437         javax/swing/event/AncestorEvent.java,
13438         javax/swing/event/AncestorListener.java,
13439         javax/swing/event/CaretEvent.java,
13440         javax/swing/event/CaretListener.java,
13441         javax/swing/event/CellEditorListener.java,
13442         javax/swing/event/ChangeEvent.java,
13443         javax/swing/event/ChangeListener.java,
13444         javax/swing/event/DocumentEvent.java,
13445         javax/swing/event/DocumentListener.java,
13446         javax/swing/event/EventListenerList.java,
13447         javax/swing/event/HyperlinkEvent.java,
13448         javax/swing/event/HyperlinkListener.java,
13449         javax/swing/event/InternalFrameAdapter.java,
13450         javax/swing/event/InternalFrameEvent.java,
13451         javax/swing/event/InternalFrameListener.java,
13452         javax/swing/event/ListDataEvent.java,
13453         javax/swing/event/ListDataListener.java,
13454         javax/swing/event/ListSelectionEvent.java,
13455         javax/swing/event/ListSelectionListener.java,
13456         javax/swing/event/MenuDragMouseEvent.java,
13457         javax/swing/event/MenuDragMouseListener.java,
13458         javax/swing/event/MenuEvent.java,
13459         javax/swing/event/MenuKeyEvent.java,
13460         javax/swing/event/MenuKeyListener.java,
13461         javax/swing/event/MenuListener.java,
13462         javax/swing/event/MouseInputAdapter.java,
13463         javax/swing/event/MouseInputListener.java,
13464         javax/swing/event/PopupMenuEvent.java,
13465         javax/swing/event/PopupMenuListener.java,
13466         javax/swing/event/SwingPropertyChangeSupport.java,
13467         javax/swing/event/TableColumnModelEvent.java,
13468         javax/swing/event/TableColumnModelListener.java,
13469         javax/swing/event/TableModelEvent.java,
13470         javax/swing/event/TableModelListener.java,
13471         javax/swing/event/TreeExpansionEvent.java,
13472         javax/swing/event/TreeExpansionListener.java,
13473         javax/swing/event/TreeModelEvent.java,
13474         javax/swing/event/TreeModelListener.java,
13475         javax/swing/event/TreeSelectionEvent.java,
13476         javax/swing/event/TreeSelectionListener.java,
13477         javax/swing/event/TreeWillExpandListener.java,
13478         javax/swing/event/UndoableEditEvent.java,
13479         javax/swing/event/UndoableEditListener.java,
13480         javax/swing/filechooser/FileFilter.java,
13481         javax/swing/filechooser/FileSystemView.java,
13482         javax/swing/filechooser/FileView.java,
13483         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13484         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13485         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13486         javax/swing/JApplet.java, javax/swing/JButton.java,
13487         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13488         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13489         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13490         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13491         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13492         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13493         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13494         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13495         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13496         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13497         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13498         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13499         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13500         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13501         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13502         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13503         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13504         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13505         javax/swing/JToolTip.java, javax/swing/JTree.java,
13506         javax/swing/JViewport.java, javax/swing/JWindow.java,
13507         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13508         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13509         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13510         javax/swing/MenuSelectionManager.java,
13511         javax/swing/MutableComboBoxModel.java,
13512         javax/swing/OverlayLayout.java,
13513         javax/swing/plaf/ActionMapUIResource.java,
13514         javax/swing/plaf/basic/BasicBorders.java,
13515         javax/swing/plaf/basic/BasicButtonUI.java,
13516         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13517         javax/swing/plaf/basic/BasicDefaults.java,
13518         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13519         javax/swing/plaf/basic/BasicIconFactory.java,
13520         javax/swing/plaf/basic/BasicLabelUI.java,
13521         javax/swing/plaf/basic/BasicListUI.java,
13522         javax/swing/plaf/basic/BasicLookAndFeel.java,
13523         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13524         javax/swing/plaf/basic/BasicPanelUI.java,
13525         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13526         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13527         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13528         javax/swing/plaf/basic/BasicTextUI.java,
13529         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13530         javax/swing/plaf/basic/BasicTreeUI.java,
13531         javax/swing/plaf/basic/BasicViewportUI.java,
13532         javax/swing/plaf/BorderUIResource.java,
13533         javax/swing/plaf/ButtonUI.java,
13534         javax/swing/plaf/ColorChooserUI.java,
13535         javax/swing/plaf/ColorUIResource.java,
13536         javax/swing/plaf/ComboBoxUI.java,
13537         javax/swing/plaf/ComponentInputMapUIResource.java,
13538         javax/swing/plaf/ComponentUI.java,
13539         javax/swing/plaf/DesktopIconUI.java,
13540         javax/swing/plaf/DesktopPaneUI.java,
13541         javax/swing/plaf/DimensionUIResource.java,
13542         javax/swing/plaf/FileChooserUI.java,
13543         javax/swing/plaf/FontUIResource.java,
13544         javax/swing/plaf/IconUIResource.java,
13545         javax/swing/plaf/InputMapUIResource.java,
13546         javax/swing/plaf/InsetsUIResource.java,
13547         javax/swing/plaf/InternalFrameUI.java,
13548         javax/swing/plaf/LabelUI.java,
13549         javax/swing/plaf/ListUI.java,
13550         javax/swing/plaf/MenuBarUI.java,
13551         javax/swing/plaf/MenuItemUI.java,
13552         javax/swing/plaf/OptionPaneUI.java,
13553         javax/swing/plaf/PanelUI.java,
13554         javax/swing/plaf/PopupMenuUI.java,
13555         javax/swing/plaf/ProgressBarUI.java,
13556         javax/swing/plaf/RootPaneUI.java,
13557         javax/swing/plaf/ScrollBarUI.java,
13558         javax/swing/plaf/ScrollPaneUI.java,
13559         javax/swing/plaf/SeparatorUI.java,
13560         javax/swing/plaf/SliderUI.java,
13561         javax/swing/plaf/SplitPaneUI.java,
13562         javax/swing/plaf/TabbedPaneUI.java,
13563         javax/swing/plaf/TableHeaderUI.java,
13564         javax/swing/plaf/TableUI.java,
13565         javax/swing/plaf/TextUI.java,
13566         javax/swing/plaf/ToolBarUI.java,
13567         javax/swing/plaf/ToolTipUI.java,
13568         javax/swing/plaf/TreeUI.java,
13569         javax/swing/plaf/UIResource.java,
13570         javax/swing/plaf/ViewportUI.java,
13571         javax/swing/ProgressMonitorInputStream.java,
13572         javax/swing/ProgressMonitor.java,
13573         javax/swing/Renderer.java,
13574         javax/swing/RepaintManager.java,
13575         javax/swing/RootPaneContainer.java,
13576         javax/swing/Scrollable.java,
13577         javax/swing/ScrollPaneConstants.java,
13578         javax/swing/ScrollPaneLayout.java,
13579         javax/swing/SingleSelectionModel.java,
13580         javax/swing/SizeRequirements.java,
13581         javax/swing/SizeSequence.java,
13582         javax/swing/SwingConstants.java,
13583         javax/swing/SwingUtilities.java,
13584         javax/swing/table/AbstractTableModel.java,
13585         javax/swing/table/DefaultTableCellRenderer.java,
13586         javax/swing/table/DefaultTableColumnModel.java,
13587         javax/swing/table/DefaultTableModel.java,
13588         javax/swing/table/TableCellEditor.java,
13589         javax/swing/table/TableCellRenderer.java,
13590         javax/swing/table/TableColumn.java,
13591         javax/swing/table/TableColumnModel.java,
13592         javax/swing/table/TableModel.java,
13593         javax/swing/text/AbstractDocument.java,
13594         javax/swing/text/AttributeSet.java,
13595         javax/swing/text/BadLocationException.java,
13596         javax/swing/text/Caret.java,
13597         javax/swing/text/CharacterIterator.java,
13598         javax/swing/text/ComponentView.java,
13599         javax/swing/text/DefaultCaret.java,
13600         javax/swing/text/DefaultEditorKit.java,
13601         javax/swing/text/Document.java,
13602         javax/swing/text/EditorKit.java,
13603         javax/swing/text/Element.java,
13604         javax/swing/text/GapContent.java,
13605         javax/swing/text/JTextComponent.java,
13606         javax/swing/text/Keymap.java,
13607         javax/swing/text/MutableAttributeSet.java,
13608         javax/swing/text/PlainDocument.java,
13609         javax/swing/text/PlainEditorKit.java,
13610         javax/swing/text/Position.java,
13611         javax/swing/text/Segment.java,
13612         javax/swing/text/StyledDocument.java,
13613         javax/swing/text/StyledEditorKit.java,
13614         javax/swing/text/Style.java,
13615         javax/swing/text/TextAction.java,
13616         javax/swing/text/ViewFactory.java,
13617         javax/swing/text/View.java,
13618         javax/swing/Timer.java,
13619         javax/swing/ToggleButtonModel.java,
13620         javax/swing/ToolTipManager.java,
13621         javax/swing/tree/AbstractLayoutCache.java,
13622         javax/swing/tree/DefaultMutableTreeNode.java,
13623         javax/swing/tree/DefaultTreeCellEditor.java,
13624         javax/swing/tree/DefaultTreeCellRenderer.java,
13625         javax/swing/tree/DefaultTreeModel.java,
13626         javax/swing/tree/DefaultTreeSelectionModel.java,
13627         javax/swing/tree/ExpandVetoException.java,
13628         javax/swing/tree/FixedHeightLayoutCache.java,
13629         javax/swing/tree/MutableTreeNode.java,
13630         javax/swing/tree/RowMapper.java,
13631         javax/swing/tree/TreeCellEditor.java,
13632         javax/swing/tree/TreeCellRenderer.java,
13633         javax/swing/tree/TreeModel.java,
13634         javax/swing/tree/TreeNode.java,
13635         javax/swing/tree/TreePath.java,
13636         javax/swing/tree/TreeSelectionModel.java,
13637         javax/swing/tree/VariableHeightLayoutCache.java,
13638         javax/swing/UIDefaults.java,
13639         javax/swing/UIManager.java,
13640         javax/swing/undo/AbstractUndoableEdit.java,
13641         javax/swing/undo/CannotRedoException.java,
13642         javax/swing/undo/CannotUndoException.java,
13643         javax/swing/undo/CompoundEdit.java,
13644         javax/swing/undo/StateEditable.java,
13645         javax/swing/undo/StateEdit.java,
13646         javax/swing/undo/UndoableEdit.java,
13647         javax/swing/undo/UndoableEditSupport.java,
13648         javax/swing/undo/UndoManager.java,
13649         javax/swing/UnsupportedLookAndFeelException.java,
13650         javax/swing/ViewportLayout.java,
13651         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13652
13653         * java/awt/ActiveEvent.java,
13654         java/awt/Adjustable.java, java/awt/AWTError.java,
13655         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13656         java/awt/AWTException.java, java/awt/AWTPermission.java,
13657         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13658         java/awt/Color.java, java/awt/Component.java,
13659         java/awt/ComponentOrientation.java, java/awt/Container.java,
13660         java/awt/datatransfer/MimeTypeParseException.java,
13661         java/awt/datatransfer/Transferable.java,
13662         java/awt/datatransfer/UnsupportedFlavorException.java,
13663         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13664         java/awt/event/ActionListener.java,
13665         java/awt/event/AdjustmentEvent.java,
13666         java/awt/event/AdjustmentListener.java,
13667         java/awt/event/AWTEventListener.java,
13668         java/awt/event/ComponentAdapter.java,
13669         java/awt/event/ComponentEvent.java,
13670         java/awt/event/ComponentListener.java,
13671         java/awt/event/ContainerAdapter.java,
13672         java/awt/event/ContainerEvent.java,
13673         java/awt/event/ContainerListener.java,
13674         java/awt/event/FocusAdapter.java,
13675         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13676         java/awt/event/HierarchyBoundsAdapter.java,
13677         java/awt/event/HierarchyBoundsListener.java,
13678         java/awt/event/HierarchyEvent.java,
13679         java/awt/event/HierarchyListener.java,
13680         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13681         java/awt/event/InputMethodListener.java,
13682         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13683         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13684         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13685         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13686         java/awt/event/MouseListener.java,
13687         java/awt/event/MouseMotionAdapter.java,
13688         java/awt/event/MouseMotionListener.java,
13689         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13690         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13691         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13692         java/awt/event/WindowListener.java, java/awt/Font.java,
13693         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13694         java/awt/geom/Ellipse2D.java,
13695         java/awt/geom/IllegalPathStateException.java,
13696         java/awt/geom/Line2D.java,
13697         java/awt/geom/NoninvertibleTransformException.java,
13698         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13699         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13700         java/awt/geom/RoundRectangle2D.java,
13701         java/awt/GraphicsConfiguration.java,
13702         java/awt/IllegalComponentStateException.java,
13703         java/awt/image/IndexColorModel.java,
13704         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13705         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13706         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13707         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13708         java/awt/MenuItem.java, java/awt/PaintContext.java,
13709         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13710         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13711         java/awt/PrintJob.java, java/awt/Rectangle.java,
13712         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13713         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13714         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13715
13716         * java/awt/im/spi/InputMethod.java,
13717         java/awt/im/spi/InputMethodContext.java,
13718         java/awt/im/spi/InputMethodDescriptor.java,
13719         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13720         java/awt/image/renderable/ParameterBlock.java,
13721         java/awt/image/renderable/RenderContext.java,
13722         java/awt/image/renderable/RenderableImage.java,
13723         java/awt/image/renderable/RenderableImageOp.java,
13724         java/awt/image/renderable/RenderableImageProducer.java,
13725         java/awt/image/renderable/RenderedImageFactory.java: New files from
13726         classpath.
13727
13728         * gnu/java/awt/EventModifier.java,
13729         gnu/java/awt/image/ImageDecoder.java,
13730         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13731
13732         * gnu/awt/xlib/XGraphicsConfiguration.java,
13733         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13734         API.
13735
13736         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13737         GNU Classpath.
13738
13739         * Makefile.am: Add new files.
13740         * Makefile.in: Rebuilt.
13741
13742 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13743
13744         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13745         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13746         findResource, getResources, findResources): Add javadoc from classpath.
13747         (getSystemResources): Implemented.
13748
13749 2002-08-01  Mark Wielaard  <mark@klomp.org>
13750
13751         Revert patch that breaks libgcj shared library on powerpc:
13752         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13753         implementation classes by using Class.getName(). Uses Strings again.
13754         * gnu/java/security/der/DEREncodingException.java,
13755         gnu/java/security/provider/DERReader.java,
13756         gnu/java/security/provider/DERWriter.java,
13757         gnu/java/security/provider/DSAKeyPairGenerator.java,
13758         gnu/java/security/provider/DSAParameterGenerator.java,
13759         gnu/java/security/provider/DSAParameters.java,
13760         gnu/java/security/provider/DSASignature.java,
13761         gnu/java/security/provider/GnuDSAPrivateKey.java,
13762         gnu/java/security/provider/GnuDSAPublicKey.java,
13763         gnu/java/security/provider/MD5.java,
13764         gnu/java/security/util/Prime.java: Removed.
13765         * Makefile.am (ordinary_java_source_files): Remove above files.
13766         * Makefile.in: Regenerate.
13767         * gnu/java/security/provider/DefaultPolicy.java
13768         (getPermissions): Revert to maintaining static class variable of
13769         Permissions.
13770         * gnu/java/security/provider/SHA.java
13771         (engineUpdate): Revert algorithm change.
13772         (engineDigest): Revert algorithm change.
13773
13774 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13775
13776         * configure.host: Add SH support.
13777         * sysdep/sh/locks.h: New file.
13778
13779 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13780
13781         * java/awt/Frame.java (Frame): Remove println calls.
13782
13783 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13784
13785         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13786         * configure: Rebuilt.
13787
13788 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13789
13790         * sysdep/powerpc/locks.h: Formatting.
13791         (_LARX): Define.
13792         (_STCX): Define.
13793         (compare_and_swap): Use _LARX and _STCX.
13794         (compare_and_swap_release): Likewise.
13795
13796 2002-07-26  Tom Tromey  <tromey@redhat.com>
13797
13798         * java/net/Authenticator.java: New version from Classpath.
13799         * java/net/DatagramSocketImpl.java: New version from Classpath.
13800
13801 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13802
13803         * configure.host: Add powerpc64*-* entry.
13804
13805 2002-07-26  Tom Tromey  <tromey@redhat.com>
13806
13807         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13808         fcntl.h.
13809
13810 2002-07-24  Tom Tromey  <tromey@redhat.com>
13811
13812         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13813         argument to _load.
13814
13815 2002-07-24  Tom Tromey  <tromey@redhat.com>
13816             Tony Kimball <alk@pobox.com>
13817
13818         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13819         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13820         * java/io/RandomAccessFile.java (setLength): New method.
13821         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13822         * java/io/FileDescriptor.java (setLength): New method.
13823
13824 2002-07-24  Mark Wielaard  <mark@klomp.org>
13825
13826         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13827         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13828         field call setAccessible(true).
13829         (setByteField): Likewise.
13830         (setCharField): Likewise.
13831         (setDoubleField): Likewise.
13832         (setFloatField): Likewise.
13833         (setIntField): Likewise.
13834         (setLongField): Likewise.
13835         (setShortField): Likewise.
13836         (setObjectField): Likewise.
13837
13838 2002-07-24  Tom Tromey  <tromey@redhat.com>
13839
13840         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13841         use toString() to format array element.
13842
13843 2002-07-23  Mark Wielaard  <mark@klomp.org>
13844
13845         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13846         MessageDigestSpi (fixes Classpath bug #783).
13847
13848 2002-07-21  Mark Wielaard  <mark@klomp.org>
13849
13850         * gnu/java/security/provider/Gnu.java: Reference all implementation
13851         classes by using Class.getName().
13852
13853 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13854
13855         * java/lang/ieeefp.h: Add x86-64 support.
13856         * configure.in: Likewise.
13857         * configure.host: Likewise.
13858         * configure: Regenerated.
13859         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13860
13861 2002-07-16  Mark Wielaard  <mark@klomp.org>
13862
13863         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13864         (whitespaceChars): call resetChar().
13865
13866 2002-07-15  Tom Tromey  <tromey@redhat.com>
13867
13868         * Makefile.in: Rebuilt.
13869         * Makefile.am (awt_java_source_files): Added new files.
13870         * java/beans/ExceptionListener.java: Merged with Classpath.
13871         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13872         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13873         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13874         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13875         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13876         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13877         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13878
13879 2002-07-14  Mark Wielaard  <mark@klomp.org>
13880
13881         * gnu/java/security/der/DEREncodingException.java,
13882         gnu/java/security/provider/DERReader.java,
13883         gnu/java/security/provider/DERWriter.java,
13884         gnu/java/security/provider/DSAKeyPairGenerator.java,
13885         gnu/java/security/provider/DSAParameterGenerator.java,
13886         gnu/java/security/provider/DSAParameters.java,
13887         gnu/java/security/provider/DSASignature.java,
13888         gnu/java/security/provider/GnuDSAPrivateKey.java,
13889         gnu/java/security/provider/GnuDSAPublicKey.java,
13890         gnu/java/security/provider/MD5.java,
13891         gnu/java/security/util/Prime.java: New files from Classpath.
13892         * Makefile.am (ordinary_java_source_files): Add new files.
13893         * Makefile.in: Regenerate.
13894
13895 2002-07-14  C. Brian Jones <cbj@gnu.org>
13896
13897         * gnu/java/security/provider/DefaultPolicy.java
13898         (getPermissions): do not maintain static class variable of
13899         Permissions
13900         * gnu/java/security/provider/SHA.java
13901         (engineUpdate): algorithm change
13902         (engineDigest): algorithm change
13903
13904 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13905
13906         For PR libgcj/7292:
13907         * java/lang/Character.java (toString(char)): Now static.
13908
13909 2002-07-12  Mark Wielaard  <mark@klomp.org>
13910
13911         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13912         (getStackTrace0): new method.
13913         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13914         (printStackTrace(PrintWriter)): replace with pure java implementation.
13915         (printRawStackTrace): removed.
13916         (getStackTrace0): new method.
13917         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13918         * gcj/javaprims.h: regenerate class list.
13919         * include/name-finder.h (lookup): new returns StackTraceElement*.
13920         (method_name, file_name): fields removed.
13921         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13922         (~_Jv_name_finder): close new descriptors.
13923         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13924         (createStackTraceElement): new method.
13925         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13926
13927 2002-07-10  Tom Tromey  <tromey@redhat.com>
13928
13929         * configure: Rebuilt.
13930         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13931
13932 2002-07-08  Mark Wielaard  <mark@klomp.org>
13933
13934         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13935         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13936         java.sql.DatabaseMetaData.TestJdbc20
13937
13938 2002-07-05  Tony Kimball  <alk@pobox.com>
13939
13940         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13941
13942 2002-07-04  Tom Tromey  <tromey@redhat.com>
13943             Jeff Sturm  <jsturm@one-point.com>
13944
13945         Fix for PR libgcj/7060:
13946         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13947         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13948         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13949         * java/lang/Class.java (getMethod): New Java implementation;
13950         complies with spec.
13951         (_getMethod): New native method.
13952
13953 2002-07-02  Tom Tromey  <tromey@redhat.com>
13954             David Hovemeyer  <daveho@cs.umd.edu>
13955
13956         * java/text/ChoiceFormat.java
13957         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13958         in check loop.
13959         * java/text/MessageFormat.java
13960         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13961         to MessageFormat.
13962
13963 2002-07-01  Tom Tromey  <tromey@redhat.com>
13964
13965         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13966         StringTokenizer on null string.  For PR libgcj/7180.
13967         From daveho@cs.umd.edu.
13968
13969 2002-06-24  Tom Tromey  <tromey@redhat.com>
13970
13971         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13972         (IntegerClass): Likewise.
13973         * java/lang/natClass.cc (CloneableClass): Removed.
13974         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13975         ConstructorClass): Likewise.
13976         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13977         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13978         SerializableClass): Likewise.
13979         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13980         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13981         LongClass, FloatClass, DoubleClass): Likewise.
13982
13983         * verify.cc (branch_prepass): Updated for change to exception
13984         handler type.
13985         (verify_instructions_0): Likewise.
13986         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13987         (handleExceptionTableEntry): Updated for change to exception
13988         handler type.
13989         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13990         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13991         (union _Jv_InterpPC): New.
13992         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13993         (class _Jv_InterpMethod): Added new `prepared' field.
13994         (class _Jv_InterpMethod): Added `compile' method.  Removed
13995         `continue1' and `find_exception'.  Changed arguments to `run'.
13996         * interpret.cc (union insn_slot): New.
13997         (find_exception): Removed.
13998         (run_normal): Removed most logic.
13999         (run_synch_object): Likewise; also, use JvSynchronize.
14000         (run_synch_class): Likewise.
14001         (run): Removed.
14002         (continue1): Renamed as `run'.  Compile bytecode if required.
14003         Add new code to allow refinement of direct-threaded code at
14004         runtime.  Handle exceptions.
14005         (SAVE_PC): Removed.
14006         (compile): New method.
14007         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14008         (NULLARRAYCHECK): Don't use SAVE_PC.
14009         (pc_t): New typedef.
14010         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14011         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14012
14013 2002-06-23  Tom Tromey  <tromey@redhat.com>
14014
14015         * configure: Rebuilt.
14016         * configure.in (INTERPRETER): New subst.
14017         (AM_RUNTESTFLAGS): Don't subst.
14018
14019         * Makefile.in: Rebuilt.
14020         * Makefile.am ($(srcdir)/java/lang/Object.h,
14021         $(srcdir)/java/lang/Class.h): Added dummy targets.
14022
14023 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14024
14025         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14026
14027         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14028         java/sql/Savepoint.java: New files.
14029         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14030         java/sql/Blob.java, java/sql/CallableStatement.java,
14031         java/sql/Clob.java, java/sql/Connection.java,
14032         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14033         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14034         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14035         java/sql/Ref.java, java/sql/ResultSet.java,
14036         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14037         java/sql/SQLException.java, java/sql/SQLInput.java,
14038         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14039         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14040         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14041         (JDK 1.4) specification.
14042         * javax/sql/ConnectionEvent.java,
14043         javax/sql/ConnectionEventListener.java,
14044         javax/sql/ConnectionPoolDataSource.java,
14045         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14046         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14047         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14048         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14049         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14050         javax/sql/XADataSource.java: New files.
14051         * Makefile.am: Add new files.
14052         * Makefile.in: Rebuilt.
14053
14054 2002-06-20  Tom Tromey  <tromey@redhat.com>
14055
14056         For PR libgcj/7073:
14057         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14058         exists.
14059         * defineclass.cc (handleClassBegin): Superclass for interface is
14060         `null'.
14061
14062 2002-06-18  Tom Tromey  <tromey@redhat.com>
14063
14064         * gcj/javaprims.h: Updated class declaration list.
14065         * Makefile.in: Rebuilt.
14066         * Makefile.am (core_java_source_files): Removed
14067         BasicMapEntry.java.
14068         * java/util/BasicMapEntry.java: Removed.
14069
14070 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14071
14072         * java/net/natPlainDatagramSocketImpl.cc (receive):
14073         Check bounds of argument to FD_SET.
14074         (setOption): Throw exception if socket is closed.
14075
14076         * java/net/natPlainSocketImpl.cc (accept, read):
14077         Check bounds of argument to FD_SET.
14078         (setOption): Throw exception if socket is closed.
14079
14080 2002-06-18  Tom Tromey  <tromey@redhat.com>
14081
14082         * gcj/javaprims.h: Updated class declaration list.
14083         * Makefile.in: Rebuilt.
14084         * Makefile.am (core_java_source_files): Added
14085         PropertyPermissionCollection.java.
14086         * java/lang/Thread.java (group, name): Now package-private.
14087         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14088         * java/util/AbstractList.java: Likewise.
14089         * java/util/AbstractMap.java: Likewise.
14090         * java/util/Calendar.java: Likewise.
14091         * java/util/Collections.java: Likewise.
14092         * java/util/HashMap.java: Likewise.
14093         * java/util/Hashtable.java: Likewise.
14094         * java/util/LinkedHashMap.java: Likewise.
14095         * java/util/LinkedList.java: Likewise.
14096         * java/util/List.java: Likewise.
14097         * java/util/ListResourceBundle.java: Likewise.
14098         * java/util/Map.java: Likewise.
14099         * java/util/Observable.java: Likewise.
14100         * java/util/Properties.java: Likewise.
14101         * java/util/PropertyPermission.java: Likewise.
14102         * java/util/PropertyPermissionCollection.java: Likewise.
14103         * java/util/PropertyResourceBundle.java: Likewise.
14104         * java/util/Random.java: Likewise.
14105         * java/util/SimpleTimeZone.java: Likewise.
14106         * java/util/StringTokenizer.java: Likewise.
14107         * java/util/TimerTask.java: Likewise.
14108         * java/util/TreeMap.java: Likewise.
14109         * java/util/WeakHashMap.java: Likewise.
14110         * java/util/jar/Attributes.java: Likewise.
14111         * java/util/jar/JarException.java: Likewise.
14112         * java/util/jar/Manifest.java: Likewise.
14113
14114 2002-06-17  Tom Tromey  <tromey@redhat.com>
14115
14116         * gcj/javaprims.h: Updated class declaration list.
14117         * Makefile.in: Rebuilt.
14118         * Makefile.am (core_java_source_files): Added new file.
14119         * java/util/EventListenerProxy.java: New file.
14120         * java/util/EventListener.java: Re-merge with Classpath.
14121         * java/util/EventObject.java: Re-merge with Classpath.
14122
14123 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14124
14125         * java/lang/ClassNotFoundException.java: New Classpath version.
14126
14127 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14128
14129         * java/rmi/activation/ActivateFailedException.java: Remerge from
14130         Classpath version.
14131         * java/rmi/activation/ActivationException.java: Ditto.
14132         * java/rmi/activation/UnknownGroupException.java: Ditto.
14133         * java/rmi/activation/UnknownObjectException.java: Ditto.
14134         * java/rmi/server/ExportException: Ditto.
14135         * java/rmi/server/ServerCloneException: Ditto.
14136         * java/rmi/server/ServerNotActiveException: Ditto.
14137         * java/rmi/server/SkeletonMismatchException: Ditto.
14138         * java/rmi/server/SkeletonNotFoundException: Ditto.
14139         * java/rmi/server/SocketSecurityException: Ditto.
14140
14141 2002-06-16  Tom Tromey  <tromey@redhat.com>
14142
14143         * gcj/javaprims.h: Updated class declaration list.
14144
14145         * java/io/LineNumberInputStream.java: Merged with Classpath.
14146
14147         * java/lang/RuntimeException.java: Re-merge with Classpath.
14148         * java/util/ArrayList.java: Likewise.
14149         * java/util/Arrays.java: Likewise.
14150         * java/util/BitSet.java: Likewise.
14151         * java/util/Dictionary.java: Likewise.
14152         * java/util/IdentityHashMap.java: Likewise.
14153         * java/util/MissingResourceException.java: Likewise.
14154         * java/util/Observer.java: Likewise.
14155         * java/util/TooManyListenersException.java: Likewise.
14156         * java/util/zip/DataFormatException.java: Likewise.
14157         * java/util/zip/ZipException.java: Likewise.
14158
14159 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14160
14161         * java/rmi/AccessException.java: Remerge from Classpath.
14162         * java/rmi/AlreadyBoundException.java: Ditto.
14163         * java/rmi/ConnectException.java: Ditto.
14164         * java/rmi/ConnectIOException.java: Ditto.
14165         * java/rmi/MarshalException.java: Ditto.
14166         * java/rmi/NoSuchObjectException.java: Ditto.
14167         * java/rmi/NotBoundException.java: Ditto.
14168         * java/rmi/RemoteException.java: Ditto.
14169         * java/rmi/RMISecurityException.java: Ditto.
14170         * java/rmi/ServerError.java: Ditto.
14171         * java/rmi/ServerException.java: Ditto.
14172         * java/rmi/ServerRuntimeException.java: Ditto.
14173         * java/rmi/StubNotFoundException.java: Ditto.
14174         * java/rmi/UnexpectedExcpetion.java: Ditto.
14175         * java/rmi/UnknownHostException.java: Ditto.
14176         * java/rmi/UnmarshalException.java: Ditto.
14177
14178 2002-06-15  Tom Tromey  <tromey@redhat.com>
14179
14180         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14181         * java/lang/ArithmeticException.java: Likewise.
14182         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14183         * java/lang/ArrayStoreException.java: Likewise.
14184         * java/lang/Byte.java: Likewise.
14185         * java/lang/CharSequence.java: Likewise.
14186         * java/lang/ClassCastException.java: Likewise.
14187         * java/lang/ClassCircularityError.java: Likewise.
14188         * java/lang/ClassFormatError.java: Likewise.
14189         * java/lang/CloneNotSupportedException.java: Likewise.
14190         * java/lang/Cloneable.java: Likewise.
14191         * java/lang/Comparable.java: Likewise.
14192         * java/lang/Compiler.java: Likewise.
14193         * java/lang/Error.java: Likewise.
14194         * java/lang/ExceptionInInitializerError.java: Likewise.
14195         * java/lang/IllegalAccessError.java: Likewise.
14196         * java/lang/IllegalAccessException.java: Likewise.
14197         * java/lang/IllegalArgumentException.java: Likewise.
14198         * java/lang/IllegalMonitorStateException.java: Likewise.
14199         * java/lang/IllegalStateException.java: Likewise.
14200         * java/lang/IllegalThreadStateException.java: Likewise.
14201         * java/lang/IncompatibleClassChangeError.java: Likewise.
14202         * java/lang/IndexOutOfBoundsException.java: Likewise.
14203         * java/lang/InheritableThreadLocal.java: Likewise.
14204         * java/lang/InstantiationError.java: Likewise.
14205         * java/lang/InstantiationException.java: Likewise.
14206         * java/lang/InternalError.java: Likewise.
14207         * java/lang/InterruptedException.java: Likewise.
14208         * java/lang/LinkageError.java: Likewise.
14209         * java/lang/NegativeArraySizeException.java: Likewise.
14210         * java/lang/NoClassDefFoundError.java: Likewise.
14211         * java/lang/NoSuchFieldError.java: Likewise.
14212         * java/lang/NoSuchFieldException.java: Likewise.
14213         * java/lang/NoSuchMethodError.java: Likewise.
14214         * java/lang/NoSuchMethodException.java: Likewise.
14215         * java/lang/NullPointerException.java: Likewise.
14216         * java/lang/NumberFormatException.java: Likewise.
14217         * java/lang/OutOfMemoryError.java: Likewise.
14218         * java/lang/Process.java: Likewise.
14219         * java/lang/Runnable.java: Likewise.
14220         * java/lang/RuntimePermission.java: Likewise.
14221         * java/lang/SecurityException.java: Likewise.
14222         * java/lang/Short.java: Likewise.
14223         * java/lang/StackOverflowError.java: Likewise.
14224         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14225         * java/lang/ThreadDeath.java: Likewise.
14226         * java/lang/ThreadLocal.java: Likewise.
14227         * java/lang/UnknownError.java: Likewise.
14228         * java/lang/UnsatisfiedLinkError.java: Likewise.
14229         * java/lang/UnsupportedClassVersionError.java: Likewise.
14230         * java/lang/UnsupportedOperationException.java: Likewise.
14231         * java/lang/VerifyError.java: Likewise.
14232         * java/lang/VirtualMachineError.java: Likewise.
14233         * java/lang/reflect/InvocationTargetException.java: Likewise.
14234         * java/net/BindException.java: Likewise.
14235         * java/net/ConnectException.java: Likewise.
14236         * java/net/MalformedURLException.java: Likewise.
14237         * java/net/NoRouteToHostException.java: Likewise.
14238         * java/net/ProtocolException.java: Likewise.
14239         * java/net/SocketException.java: Likewise.
14240         * java/net/UnknownHostException.java: Likewise.
14241         * java/net/UnknownServiceException.java: Likewise.
14242
14243         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14244         * java/io/CharConversionException.java: Likewise.
14245         * java/io/EOFException.java: Likewise.
14246         * java/io/FileNotFoundException.java: Likewise.
14247         * java/io/IOException.java: Likewise.
14248         * java/io/InterruptedIOException.java: Likewise.
14249         * java/io/InvalidClassException.java: Likewise.
14250         * java/io/InvalidObjectException.java: Likewise.
14251         * java/io/NotActiveException.java: Likewise.
14252         * java/io/NotSerializableException.java: Likewise.
14253         * java/io/ObjectStreamException.java: Likewise.
14254         * java/io/ObjectStreamConstants.java: Likewise.
14255         * java/io/OptionalDataException.java: Likewise.
14256         * java/io/PipedInputStream.java: Likewise.
14257         * java/io/PushbackInputStream.java: Likewise.
14258         * java/io/StreamCorruptedException.java: Likewise.
14259         * java/io/SyncFailedException.java: Likewise.
14260         * java/io/UTFDataFormatException.java: Likewise.
14261         * java/io/UnsupportedEncodingException.java: Likewise.
14262         * java/io/WriteAbortedException.java: Likewise.
14263
14264 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14265
14266         * java/text/ChoiceFormat.java: Update comments from Classpath.
14267         * java/text/ParseException.java (serialVersionUID): New
14268         field from Classpath.
14269         * java/text/ParseException.java: Update formatting & comments
14270         from Classpath.
14271
14272 2002-06-15  Tom Tromey  <tromey@redhat.com>
14273
14274         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14275         been read but none output by inflater.
14276         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14277         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14278         is_finished.
14279         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14280         version.
14281         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14282         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14283         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14284         version.
14285         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14286
14287 2002-06-13  Tom Tromey  <tromey@redhat.com>
14288
14289         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14290         true and OFFSET!=0.
14291         * java/lang/String.java (String(char[],int,int,boolean): New
14292         constructor.
14293         * java/lang/Long.java: Imported new version from Classpath.
14294         * java/lang/Number.java: Likewise.
14295         * java/lang/Integer.java: Likewise.
14296         * java/lang/Long.java: Likewise.
14297         * java/lang/Float.java: Likewise.
14298         * java/lang/Boolean.java: Likewise.
14299         * java/lang/Double.java: Likewise.
14300         * java/lang/Void.java: Likewise.
14301
14302 2002-06-12  Tom Tromey  <tromey@redhat.com>
14303
14304         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14305         Fixes PR libgcj/6652.
14306
14307 2002-06-10  Tom Tromey  <tromey@redhat.com>
14308
14309         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14310         (Class::getPackagePortion): Likewise.
14311         * java/lang/Class.java (desiredAssertionStatus): New method from
14312         Classpath.
14313         (getPackagePortion): Likewise.
14314         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14315         packageAssertionStatus, classAssertionStatus): New methods from
14316         Classpath.
14317         * java/lang/ClassLoader.java (defaultAssertionStatus,
14318         systemPackageAssertionStatus, packageAssertionStatus,
14319         systemClassAssertionStatus, classAssertionStatus): New fields from
14320         Classpath.
14321         (setDefaultAssertionStatus, setPackageAssertionStatus,
14322         setClassAssertionStatus, clearAssertionStatus): New methods from
14323         Classpath.
14324         * Makefile.in: Rebuilt.
14325         * Makefile.am (core_java_source_files): Added AssertionError.java.
14326         * java/lang/AssertionError.java: New from Classpath.
14327
14328 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14329
14330         * configure.host: Disable hash synchronization and slow_pthread_self
14331         for cygwin.
14332
14333 2002-06-06  Adam Megacz <adam@xwt.org>
14334
14335         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14336         locking, just like the Sun JVM does.
14337
14338 2002-06-05  H.J. Lu  (hjl@gnu.org)
14339
14340         * Makefile.am (libgcj_convenience.la): Revert the last change.
14341         (libgcj.la): Likewise.
14342         * Makefile.in: Regenerated.
14343
14344 2002-06-04  H.J. Lu  (hjl@gnu.org)
14345
14346         * Makefile.am (libgcj_convenience.la): New target.
14347         (libgcj.la): Depend on libgcj_convenience.la.
14348         * Makefile.in: Regenerated.
14349
14350 2002-06-04  H.J. Lu  (hjl@gnu.org)
14351
14352         * configure.in (--with-newlib): New option:
14353         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14354         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14355         Linux.
14356         * configure: Regenerated.
14357
14358 2002-06-04  Tom Tromey  <tromey@redhat.com>
14359
14360         * java/util/natTimeZone.cc: Include <stdio.h>.
14361
14362 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14363
14364         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14365         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14366         Set SIGNAL_HANDLER=include/s390-linux.h.
14367         * configure: Regenerate.
14368         * include/s390-linux.h: New file.
14369
14370 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14371
14372         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14373         not "stackTrace".
14374
14375 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14376
14377         Merge JDK 1.4 java.security changes from classpath.
14378
14379         * java/security/AccessControlException.java: Merge from Classpath.
14380         * java/security/AccessController.java: Likewise.
14381         * java/security/AllPermission.java: Likewise.
14382         * java/security/BasicPermission.java: Likewise.
14383         * java/security/Certificate.java: Likewise.
14384         * java/security/CodeSource.java: Likewise.
14385         * java/security/DigestException.java: Likewise.
14386         * java/security/DigestOutputStream.java: Likewise.
14387         * java/security/DomainCombiner.java: Likewise.
14388         * java/security/GeneralSecurityException.java: Likewise.
14389         * java/security/Guard.java: Likewise.
14390         * java/security/GuardedObject.java: Likewise.
14391         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14392         * java/security/InvalidKeyException.java: Likewise.
14393         * java/security/InvalidParameterException.java: Likewise.
14394         * java/security/Key.java: Likewise.
14395         * java/security/KeyException.java: Likewise.
14396         * java/security/KeyManagementException.java: Likewise.
14397         * java/security/KeyStoreException.java: Likewise.
14398         * java/security/MessageDigest.java: Likewise.
14399         * java/security/NoSuchAlgorithmException.java: Likewise.
14400         * java/security/NoSuchProviderException.java: Likewise.
14401         * java/security/Permission.java: Likewise.
14402         * java/security/PermissionCollection.java: Likewise.
14403         * java/security/Permissions.java: Likewise.
14404         * java/security/Policy.java: Likewise.
14405         * java/security/Principal.java: Likewise.
14406         * java/security/PrivateKey.java: Likewise.
14407         * java/security/PrivilegedAction.java: Likewise.
14408         * java/security/PrivilegedActionException.java: Likewise.
14409         * java/security/PrivilegedExceptionAction.java: Likewise.
14410         * java/security/ProtectionDomain.java: Likewise.
14411         * java/security/ProviderException.java: Likewise.
14412         * java/security/PublicKey.java: Likewise.
14413         * java/security/SecureClassLoader.java: Likewise.
14414         * java/security/SecurityPermission.java: Likewise.
14415         * java/security/SignatureException.java: Likewise.
14416         * java/security/UnrecoverableKeyException.java: Likewise.
14417         * java/security/UnresolvedPermission.java: Likewise.
14418         * java/security/acl/AclNotFoundException.java: Likewise.
14419         * java/security/acl/LastOwnerException.java: Likewise.
14420         * java/security/acl/NotOwnerException.java: Likewise.
14421         * java/security/cert/CRLException.java: Likewise.
14422         * java/security/cert/CertificateEncodingException.java: Likewise.
14423         * java/security/cert/CertificateException.java: Likewise.
14424         * java/security/cert/CertificateExpiredException.java: Likewise.
14425         * java/security/cert/CertificateFactory.java: Likewise.
14426         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14427         * java/security/cert/CertificateParsingException.java: Likewise.
14428         * java/security/spec/InvalidKeySpecException.java: Likewise.
14429         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14430
14431         * java/security/cert/CertPath.java: New file.
14432         * java/security/cert/CertPathBuilderException.java: New file.
14433         * java/security/cert/CertPathValidatorException.java: New file.
14434         * java/security/cert/CertStoreException.java: New file.
14435
14436         * Makefile.am: Add new CertPath classes.
14437         * Makefile.in: Rebuilt.
14438
14439         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14440
14441 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14442
14443         Merge JDK 1.4 exception chaining support from classpath.
14444
14445         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14446         (stackTraceBytes): Rename from stackTrace.
14447         * java/lang/Exception.java: Merge from classpath.
14448         * java/lang/StackTraceElement: New file from classpath.
14449         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14450         * Makefile.am: Add StackTraceElement.
14451         * Makefile.in: Rebuilt.
14452
14453 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14454
14455         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14456         they build first.
14457         * Makefile.in: Rebuilt.
14458
14459 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14460
14461         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14462         * configure.in: Likewise.
14463         * aclocal.m4: Regenerate.
14464         * configure: Regenerate.
14465
14466 2002-05-13  Tom Tromey  <tromey@redhat.com>
14467
14468         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14469         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14470         Include platform.h.
14471
14472         Fixes PR libgcj/6389:
14473         * Makefile.in: Rebuilt.
14474         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14475         * java/util/natTimeZone.cc: New file.
14476         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14477         * java/lang/System.java: Merged with Classpath.
14478         * java/lang/Runtime.java: Merged with Classpath.
14479         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14480         security check.
14481         (setIn0): Renamed from setIn; don't run security check.
14482         (setOut0): Renamed from setOut; don't run security check.
14483         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14484         init_properties): Moved to natRuntime.cc.
14485         Moved many includes to natRuntime.cc.
14486         (isWordsBigEndian): New method.
14487         * java/lang/natRuntime.cc: Include Long.h, also other includes
14488         previously in natSystem.cc.
14489         (maxMemory): New function.
14490         (exitInternal): Renamed from `_exit'.
14491         (exit): Removed.
14492         (init): Don't set finalize_on_exit.
14493         (exitInternal): Use `finalizeOnExit'.
14494         (file_encoding, getpwuid_adaptor): New functions from
14495         natSystem.cc.
14496         (insertSystemProperties): New method, renamed from
14497         System::init_properties.  Don't set user.timezone.
14498         (_load): Don't call checkLink.
14499         (execInternal): New method.
14500         (availableProcessors): Likewise.
14501         (nativeGetLibname): Likewise.
14502
14503 2002-05-11  Mark Wielaard  <mark@klomp.org>
14504
14505         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14506         space characters.
14507         (previous_internal): Likewise.
14508
14509 2002-05-09  Tom Tromey  <tromey@redhat.com>
14510
14511         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14512
14513         * java/util/ResourceBundle.java: New version from Classpath.
14514         * java/util/Locale.java: Likewise.
14515
14516 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14517
14518         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14519         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14520         LD_LIBRARY_PATH.
14521
14522 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14523
14524         * libjava/Makefile.am (all_java_source_files): New variable.
14525         (all_java_class_files): Likewise.
14526         .java.class: New rule.
14527         (CLEANFILES): Remove tmp-list.
14528         * libjava/Makefile.in: Regenerated.
14529
14530 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14531
14532         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14533         Append .exe to executable names.  Fix for cygwin.
14534
14535 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14536
14537         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14538         script entry, and set LD to it when configuring multilibs.
14539         * configure: Rebuilt.
14540
14541 2002-05-07  Tom Tromey  <tromey@redhat.com>
14542
14543         * java/lang/natString.cc (unintern): Fixed typo.
14544
14545 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14546
14547         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14548         with -no-install on *-*-cygwin*.
14549
14550 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14551
14552         * testsuite/lib/libjava.exp (test_libjava_from_source):
14553         Add comment explaining last patch
14554
14555 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14556
14557         * testsuite/lib/libjava.exp (test_libjava_from_source):
14558         Append .exe to executable names.  If no suffix is present,
14559         then ".exe" is added by default on win32.  Harmless
14560         elsewhere so always do it.
14561
14562 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14563             Tom Tromey  <tromey@redhat.com>
14564
14565         * java/lang/natSystem.cc (getSystemTimeZone): Use
14566         HAVE_UNDERSCORE_TIMEZONE.
14567         * include/config.h.in: Rebuilt.
14568         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14569         * aclocal.m4, configure: Rebuilt.
14570         * acinclude.m4: Run AC_EXEEXT.
14571         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14572         Add test for `_timezone'.
14573
14574 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14575
14576         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14577         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14578         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14579         * Makefile.in: Rebuilt.
14580
14581 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14582
14583         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14584         use sigaction instead of __libc_sigaction.
14585
14586 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14587
14588         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14589         (libjava_init): Use it to find libgcj.spec.
14590         (libjava_arguments): Likewise.
14591
14592 2002-05-02  David S. Miller  <davem@redhat.com>
14593
14594         PR bootstrap/6525
14595         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14596         __libc_sigaction on Sparc.
14597
14598 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14599
14600         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14601         sys/filio.h, if present.
14602
14603 2002-04-30  Tom Tromey  <tromey@redhat.com>
14604
14605         * java/io/BufferedReader.java (fill): Handle case where markPos
14606         point to ignored \n.  Fixes PR libgcj/6301.
14607
14608 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14609
14610         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14611
14612 2002-04-29  Adam King <aking@dreammechanics.com>
14613
14614         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14615         of file in APPEND mode.
14616
14617 2002-04-25  David S. Miller  <davem@redhat.com>
14618
14619         PR target/6422
14620         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14621         program counter to next program counter minus 8.  Update
14622         comments in this macro to explain why.
14623
14624 2002-04-26  Tom Tromey  <tromey@redhat.com>
14625
14626         * verify.cc (construct_primitive_array_type) [void_type]: New
14627         case.
14628         (branch_prepass): Added dummy entries for unused instruction
14629         values.
14630         (verify_instructions_0): Likewise.
14631         * interpret.cc (continue1): Comment fix.
14632         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14633         * Makefile.in: Rebuilt.
14634         * Makefile.am: Added -Wswitch-enum.
14635
14636 2002-04-24  Tom Tromey  <tromey@redhat.com>
14637
14638         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14639         correct length of UTF-8 encoded name.  Strip leading `/'.
14640         (_Jv_RegisterResource): Use _Jv_Malloc.
14641
14642 2002-04-23  Adam Megacz <adam@xwt.org>
14643
14644         * win32.cc, include/win32.cc (backtrace): Added this function
14645         because Win32 does not supply it.
14646
14647 2002-04-21  David S. Miller  <davem@redhat.com>
14648
14649         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14650         magic instruction reading sequence.
14651
14652 2002-04-21  Mark Wielaard  <mark@klomp.org>
14653
14654         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14655
14656 2002-04-19  David S. Miller  <davem@redhat.com>
14657
14658         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14659         arg.
14660         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14661         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14662         on Sparc too.
14663         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14664         for 64-bit sparc.
14665         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14666         * sysdeps/sparc/locks.h: New file.
14667         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14668         on all sparc Solaris configurations.  Set to
14669         include/dwarf2-signal.h on sparc Linux.
14670         * configure: Regenerate
14671         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14672
14673 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14674
14675         * configure: Rebuilt.
14676         * configure.in (backtrace): Function doesn't work on IA-64.
14677
14678 2002-04-17  Adam King <aking@dreammechanics.com>
14679
14680         * java/io/File.java (normalizePath): Add Win32 support for auto
14681         conversion of a '/' path separator to Win32's '\' separator.
14682
14683 2002-04-16  Tom Tromey  <tromey@redhat.com>
14684
14685         Fix for PR libgcj/6081:
14686         * Makefile.in: Rebuilt.
14687         * Makefile.am (install-data-local): Use GNU make trick to avoid
14688         shell limit.
14689
14690 2002-04-16  Adam King <aking@dreammechanics.com>
14691             Tom Tromey  <tromey@redhat.com>
14692
14693         * java/io/natFileWin32.cc (performList): Return the correct array
14694         type.  Don't duplicate the creation of a File since it's already
14695         done earlier in the method and the existing code would cause a
14696         ArrayStoreException.  Don't use fixed-size array.
14697         (_access, _stat, attr, getCanonicalPath, performMkdir,
14698         performRenameTo): Don't use fixed-size array.
14699         (getCanonicalPath): Use throw, not _Jv_Throw.
14700
14701 2002-04-15  DJ Delorie  <dj@redhat.com>
14702
14703         * configure.in: Allow building in $srcdir.
14704         * configure: Regenerated.
14705
14706 2002-04-14  Mark Wielaard <mark@klomp.org>
14707
14708         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14709         * java/net/natSocketImpl.cc (close): Likewise.
14710
14711 2002-04-14  Mark Wielaard <mark@klomp.org>
14712
14713         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14714
14715 2002-04-13  Adam King <aking@dreammechanics.com>
14716
14717         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14718         the f/F/d/D modifiers.
14719
14720 2002-04-12  Anthony Green  <green@redhat.com>
14721
14722         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14723         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14724         * Makefile.in: Rebuilt.
14725         * configure.in: Substitute gcc_version.
14726         * configure: Rebuilt.
14727
14728 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14729
14730         * configure.host: Set can_unwind_signal on hosts which support it.
14731         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14732         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14733         exceptions and can_unwind_signal isn't set.
14734         * configure: Rebuilt.
14735
14736 2002-04-11  Tom Tromey  <tromey@redhat.com>
14737
14738         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14739
14740 2002-04-11  Adam King <aking@dreammechanics.com>
14741             Tom Tromey  <tromey@redhat.com>
14742
14743         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14744         _Jv_ThrowNullPointerException): Mark as noreturn.
14745         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14746         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14747         fixes.
14748
14749 2002-04-10  Tom Tromey  <tromey@redhat.com>
14750
14751         * Makefile.in: Rebuilt.
14752         * Makefile.am (java/lang/Thread.h): Mark
14753         _Jv_AttachCurrentThreadAsDaemon as friend.
14754         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14755         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14756         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14757         function.
14758         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14759         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14760         (_Jv_JNI_InvokeFunctions): Added
14761         _Jv_JNI_AttachCurrentThreadAsDaemon.
14762         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14763         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14764         (JNI_CreateJavaVM): Likewise.
14765         (_Jv_JNI_AttachCurrentThread): Likewise.
14766         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14767         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14768         (_Jv_JNIFunctions): Initialize new fields.
14769         (_Jv_JNI_NewDirectByteBuffer): New function.
14770         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14771         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14772         * include/jni.h (JNI_VERSION_1_4): New macro.
14773         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14774         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14775         (JNINativeInterface::NewDirectByteBuffer): New field.
14776         (JNINativeInterface::GetDirectBufferAddress): New field.
14777         (JNINativeInterface::GetDirectBufferCapacity): New field.
14778         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14779         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14780         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14781
14782 2002-04-09  Tom Tromey  <tromey@redhat.com>
14783
14784         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14785
14786 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14787
14788         Fix for PR libgcj/6187:
14789         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14790         distance.
14791
14792 2002-04-07  Mark Wielaard <mark@klomp.org>
14793
14794         * java/util/AbstractMap.java (putAll): Use entrySet size.
14795         (toString): Explicitly use getKey() and getValue().
14796
14797 2002-04-07  Mark Wielaard <mark@klomp.org>
14798
14799         * java/util/Hashtable.java (contains): Remove NullPointer check.
14800         (containsValue): Add NullPointer check.
14801         (remove): Always throw NullPointerException when key
14802         is null.
14803
14804 2002-04-07  Adam King <aking@dreammechanics.com>
14805
14806         * java/lang/natSystem.cc (init_properties): Call new function
14807         _Jv_platform_initProperties.
14808         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14809         support for the System properties os.name, os.arch, os.version,
14810         user.name, user.home, and user.dir.
14811         * include/posix.h, include/win32.h, posix.cc: New function
14812         _Jv_platform_initProperties.
14813
14814 2002-04-06  Mark Wielaard <mark@klomp.org>
14815
14816         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14817
14818 2002-04-06  Mark Wielaard <mark@klomp.org>
14819
14820         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14821         all of the remaining elements.
14822         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14823         (removeRange): If toIndex == fromIndex do
14824         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14825         (removeAll): Always throw NullPointerException when collection is
14826         null.
14827         (retrainAll): Likewise.
14828
14829 2002-04-05  Mark Wielaard <mark@klomp.org>
14830
14831         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14832         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14833
14834 2002-04-05  Adam Megacz <adam@xwt.org>
14835
14836         * exception.cc (abort): added static modifier
14837
14838 2002-04-04  Adam Megacz <adam@xwt.org>
14839
14840         * include/win32.h (_Jv_platform_close_on_exec): added inline
14841         modifier.
14842
14843 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14844
14845         * configure.host: Add case statement to support generic port
14846         properties.  Add *-*-freebsd* section.
14847
14848 2002-04-04  Mark Wielaard  <mark@klomp.org>
14849
14850         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14851         test.
14852         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14853         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14854         that depend on awt code and BufferedByteOutputStream.interrupt.
14855
14856 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14857
14858         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14859         incorrect "hi" value when count > 40.
14860
14861 2002-04-03  Mark Wielaard  <mark@klomp.org>
14862
14863         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14864         ordering.
14865
14866 2002-04-02  Tom Tromey  <tromey@redhat.com>
14867
14868         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14869         not `0'.
14870
14871 2002-04-02  Mark Wielaard  <mark@klomp.org>
14872
14873         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14874         list of testsuite crashers.
14875
14876 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14877
14878         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14879         when resizing table.
14880
14881 2002-04-01  Mark Wielaard  <mark@klomp.org>
14882
14883         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14884         NegativeArraySizeException
14885         (clear(int)): Use sign extended shift.
14886         (flip(int)): Likewise.
14887         (get(int)): Likewise.
14888         (nextClearBit(int)): Likewise.
14889         (nextSetBit(int)): Likewise.
14890         (set(int)): Likewise.
14891
14892 2002-04-01  Mark Wielaard  <mark@klomp.org>
14893
14894         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14895         that can be compiled now and add testsuite crashers to ignore list.
14896
14897 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14898
14899         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14900
14901         * libgcj.spec.in: Override libgcc, not lib.
14902         * libgcj-test.spec.in: Likewise.
14903
14904 2002-03-29  Tom Tromey  <tromey@redhat.com>
14905
14906         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14907         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14908
14909 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14910
14911         * java/net/PlainDatagramSocketImpl.java
14912         (close): Use native implementation.
14913         (finalize): New method.
14914
14915         * java/net/PlainSocketImpl.java (finalize): New method.
14916
14917         * java/net/natPlainDatagramSocketImpl.cc
14918         (java/io/FileDescriptor.h): Don't include.
14919         (close): Implement method here.
14920         (create): Don't assign fd.
14921
14922         * java/net/natPlainSocketImpl.cc
14923         (java/io/FileDescriptor.h): Don't include.
14924         (create): Don't assign fd.
14925         (accept): Likewise.
14926         (close): Synchronize.
14927
14928 2002-03-27  Richard Henderson  <rth@redhat.com>
14929
14930         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14931
14932 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14933
14934         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14935         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14936         instead of syscall on IA-64.
14937         Add FIXME comment.
14938
14939 2002-03-27  Anthony Green  <green@redhat.com>
14940
14941         * libgcj.spec.in: Add CHECKREFSPEC.
14942         * configure.in: Ditto.
14943         * configure.host: Ditto.  Check references for xscale-elf.
14944         * configure: Rebuilt.
14945
14946 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14947
14948         * include/dwarf2-signal.h: Temporarily back out last change.
14949
14950 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14951
14952         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14953
14954 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14955
14956         * configure.in, configure: enable dwarf2-exception-style
14957         exception handling on IA-64.
14958         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14959         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14960         Add FIXME comment.
14961
14962 2002-03-25  Tom Tromey  <tromey@redhat.com>
14963
14964         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14965         (jv_convert_LDFLAGS): Likewise.
14966         (gij_LDFLAGS): Likewise.
14967         (rmic_LDFLAGS): Likewise.
14968         (rmiregistry_LDFLAGS): Likewise.
14969         * configure.in (THREADLDFLAGS): New subst; set correctly for
14970         *BSD.
14971
14972 2002-03-25  Tom Tromey  <tromey@redhat.com>
14973
14974         For PR libgcj/5303:
14975         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14976         and --version.
14977         (help): New method.
14978         (version): Likewise.
14979         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14980         "GNU".
14981         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14982         "GNU".
14983
14984 2002-03-25  Tom Tromey  <tromey@redhat.com>
14985
14986         * java/awt/Component.java (processEvent): Check ComponentEvent
14987         after KeyEvent.
14988
14989 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14990
14991         * java/io/PushbackReader.java: Reformat.
14992
14993         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14994         calculate correct number of bytes skipped.
14995
14996         Based on patch from Intel's ORP team:
14997         * java/io/PushbackInputStream.java (available): Calculate correct
14998         number of bytes in buffer.
14999         (read): Remove redundant bound check. Return bytes from both the
15000         buffer and the stream.
15001
15002 2002-03-24  Tom Tromey  <tromey@redhat.com>
15003
15004         * java/awt/TextComponent.java (TextComponent): Editable by
15005         default.
15006
15007         * java/awt/MenuItem.java (eventMask): No longer private.
15008         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15009         superclass if we didn't handle event.
15010         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15011         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15012         * java/awt/Choice.java (dispatchEventImpl): New method.
15013         * java/awt/List.java (dispatchEventImpl): New method.
15014         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15015         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15016         * java/awt/TextField.java (dispatchEventImpl): New method.
15017
15018 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15019
15020         * java/beans/IntrospectionException.java: Update to 1.4.
15021         * java/beans/PropertyVetoException.java: Ditto.
15022
15023 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15024
15025         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15026         Arrays.equals instead of ArrayHelper.equalsArray.
15027
15028 2002-03-24  C. Brian Jones <cbj@gnu.org>
15029
15030         * java/beans/Introspector.java: added new static final fields
15031         introduced in 1.2, lots of other updates remain to be done
15032
15033 2002-03-24  C. Brian Jones <cbj@gnu.org>
15034
15035         * java/beans/Introspector.java: reformatting
15036
15037 2002-03-24  C. Brian Jones <cbj@gnu.org>
15038
15039         * java/beans/Introspector.java: default beanInfoSearchPath will
15040         not include sun.beans.infos given we provide no such package and
15041         the API doesn't really require it; gnu.java.beans.info is the
15042         default.
15043
15044 2002-03-24  Mark Wielaard  <mark@klomp.org>
15045
15046         Thanks to Orp developers
15047         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15048         switch TRUE and FALSE return values.
15049
15050 2002-03-23  Tom Tromey  <tromey@redhat.com>
15051
15052         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15053         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15054
15055 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15056
15057         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15058         MONTH entry.  Fixes PR libgcj/6045.
15059
15060 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15061
15062         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15063
15064 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15065
15066         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15067         not release_set.
15068         * sysdep/powerpc/locks.h (write_barrier): New function.
15069         * sysdep/i386/locks.h (write_barrier): New function.
15070
15071 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15072
15073         * include/jni.h Use correct C comments.
15074
15075 2002-03-18  Tom Tromey  <tromey@redhat.com>
15076
15077         * include/jni.h (JNIIMPORT): New macro.
15078         (JNIEXPORT): Likewise.
15079         (JNICALL): Likewise.
15080
15081 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15082
15083         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15084         systems.
15085
15086 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15087
15088         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15089         INIT_SEGV: Use old_i386_kernel_sigaction.
15090         INIT_FP: Likewise.
15091
15092 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15093
15094         * java/lang/natSystem.cc (init_properties): Update VM version
15095         properties.
15096         * configure.in: Set GCJVERSION.
15097         * acconfig.h: Add GCJVERSION.
15098         * configure: Rebuilt.
15099         * include/config.h.in: Rebuilt.
15100
15101 2002-03-17  Anthony Green  <green@redhat.com>
15102
15103         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15104
15105 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15106
15107         Build a single libgcj.so, without separate gc and zlib libraries.
15108         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15109         SYS_ZLIBS if system zlib is used.
15110         * configure: Rebuilt.
15111         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15112         * Makefile.in: Rebuilt.
15113         * libtool-version: Increment .so version number.
15114
15115         * Makefile.am: Escape quotes in echo.
15116         * Makefile.in: Rebuilt.
15117
15118 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15119
15120         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15121         * Makefile.in: Rebuilt.
15122
15123 2002-03-15  Anthony Green  <green@redhat.com>
15124
15125         * configure.host (FILE): New macro for specifing File
15126         implementation.
15127         * configure: Rebuilt.
15128         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15129
15130 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15131
15132         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15133         already implicitly brought in from libgcj.la.
15134         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15135         * Makefile.in: Rebuilt.
15136
15137 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15138
15139         * THANKS: Fix punctuation, alphabetization.
15140
15141 2002-03-15  Tom Tromey  <tromey@redhat.com>
15142             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15143
15144         Fix for PR libgcj/5944.
15145         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15146
15147 2002-03-15  Anthony Green  <green@redhat.com>
15148
15149         * configure.in (tool_include_dir): Define.
15150         * configure: Rebuilt.
15151         * gcj/Makefile.am: Install libgcj-config.h relative to
15152         tool_include_dir.
15153         * gcj/Makefile: Rebuilt.
15154         * gcj/libgcj-config.h: Add warning comment.
15155
15156 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15157
15158         * configure.host (powerpc*-darwin*): Enable interpreter.
15159
15160 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15161
15162         * include/posix.h: Add multiple include header protection.
15163         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15164
15165 2002-03-10  Adam Megacz <adam@xwt.org>
15166
15167         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15168
15169 2002-03-10  Tom Tromey  <tromey@redhat.com>
15170
15171         * java/awt/GridLayout.java (layoutContainer): Handle case where
15172         there are no items in container.
15173
15174         * java/lang/Win32Process.java: Added comment.
15175         * include/posix.h (_Jv_platform_close_on_exec): New function.
15176         Include fcntl.h.
15177         * include/win32.h (_Jv_platform_close_on_exec): New function.
15178         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15179         flag.
15180         (accept): Likewise.
15181         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15182         close-on-exec flag.
15183         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15184         flag.
15185
15186 2002-03-09  Tom Tromey  <tromey@redhat.com>
15187
15188         * verify.cc (state::NO_STACK): New constant.
15189         (state::is_unmerged_ret_state): Handle case where stacktop is
15190         NO_STACK.
15191         (state::merge): Handle NO_STACK merges.
15192         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15193         for instruction following jsr.
15194         (stacktop, stackdepth): Removed unused variables.
15195         (pop_jump): Ignore case where all remaining states are skipped.
15196
15197 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15198
15199         * java/awt/ImageMediaEntry: Removed.
15200         * java/awt/MediaEntry: Removed.
15201
15202 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15203
15204         Hashtable synchronization for PowerPC.
15205         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15206         slow_pthread_self. Set up symlink for sysdeps directory.
15207         * configure: Rebuild.
15208         * configure.host: Document more shell variables. Set sysdeps_dir
15209         for most platforms. Set slow_pthread_self for i686. Set
15210         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15211         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15212         that memory barrier is emitted where required.
15213         * prims.cc: 64-bit align static primitive class instances.
15214         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15215         read_barrier() to enforce ordering of reads.
15216         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15217         primitives for PowerPC.
15218         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15219         moved from natObject.cc.
15220         * sysdep/alpha/locks.h: Likewise.
15221         * sysdep/ia64/locks.h: Likewise.
15222         * sysdep/generic/locks.h: Likewise.
15223         * java/lang/natObject.cc: Move thread synchronization primitives to
15224         system-dependent headers.
15225
15226 2002-03-09  Adam Megacz  <adam@xwt.org>
15227
15228         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15229         bytes read and no failure code returned.
15230
15231 2002-03-09  Adam Megacz  <adam@xwt.org>
15232
15233         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15234         definitions to simulate -mthreads.
15235
15236 2002-03-09  Adam Megacz  <adam@xwt.org>
15237
15238         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15239         avoid precision loss.
15240
15241 2002-03-09  Per Bothner  <per@bothner.com>
15242
15243         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15244         * gnu/gcj/xlib/XImage.java:  Likewise.
15245         * gnu/gcj/xlib/XColor.java:  Likewise.
15246
15247 2002-03-09  Adam Megacz  <adam@xwt.org>
15248
15249         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15250         IOException so that Throwable.printStackTrace fails correctly.
15251
15252 2002-03-08  Adam Megacz  <adam@xwt.org>
15253
15254         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15255         fixed.
15256
15257 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15258
15259         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15260         truncated to int.
15261
15262 2002-03-08  Tom Tromey  <tromey@redhat.com>
15263
15264         * include/jni.h: Include stdio.h.
15265
15266 2002-03-08  Tom Tromey  <tromey@redhat.com>
15267
15268         * posix.cc (internal_gettimeofday): New function.
15269         (_Jv_select): Use it.
15270
15271 2002-03-07  Adam Megacz  <adam@xwt.org>
15272
15273         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15274         WIN32, and added thunks for read(), write(), and close().
15275         * java/net/natPlainSocketImpl.cc (accept, read, read):
15276         Disabled timeouts on WIN32 pending discussion.
15277
15278 2002-03-07  Adam Megacz  <adam@xwt.org>
15279
15280         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15281         returns jlong. Added implementation
15282         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15283         returns jlong.
15284         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15285         returns jlong.
15286         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15287         returns jlong.
15288         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15289         _Jv_platform_gettimeofday signature.
15290
15291 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15292
15293         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15294         (read): Call recv() directly, not _Jv_recv().
15295
15296 2002-03-06  Tom Tromey  <tromey@redhat.com>
15297
15298         * java/io/natFileDescriptorEcos.cc (init): Don't use
15299         GetStdHandle.
15300         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15301         is negative.
15302         (init): Don't use GetStdHandle.
15303
15304         * include/config.h.in: Rebuilt.
15305         * configure: Rebuilt.
15306         * Makefile.in: Rebuilt.
15307
15308 2002-03-06  Adam Megacz  <adam@xwt.org>
15309
15310         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15311         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15312         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15313         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15314
15315 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15316
15317         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15318         the code for generating include/java-chartables.h.
15319         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15320         merge with Classpath.
15321         * scripts/unicode-muncher.pl: Copy from Classpath.
15322         * scritps/MakeCharTables.java: New file.
15323         * gnu/gcj/convert/Blocks-3.txt: New file.
15324         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15325         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15326         * gnu/java/lang/CharData.java: Copy from Classpath.
15327         * Makefile.am (ordinary_java_source_files): Add
15328         gnu/java/lang/CharData.java.
15329         * configure.in: Remove --enable-fast-character option.
15330         * java/lang/Character.java: Merge algorithms and Javadoc with
15331         Classpath.
15332         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15333         efficiently.
15334         * include/java-chardecomp.h: Regenerate.
15335         * include/java-chartables.h: Regenerate.
15336
15337 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15338
15339         * java/awt/MediaTracker.java: Implemented.
15340         * Makefile.am: Add MediaTracker.
15341         * Makefile.in: Rebuilt.
15342
15343 2002-03-05  Tom Tromey  <tromey@redhat.com>
15344
15345         * java/lang/natPosixProcess.cc (fail): Removed.
15346         (startProcess): Simplified error-handling.  Preserve
15347         LD_LIBRARY_PATH across exec.
15348
15349         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15350         AbstractMethodError.
15351
15352 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15353
15354         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15355         * Makefile.in: Rebuilt.
15356
15357 2002-03-03 Mark Wielaard <mark@klomp.org>
15358
15359         * java/util/Timer (TaskQueue.stop): set elements to zero.
15360
15361 2002-02-28  Anthony Green  <green@redhat.com>
15362
15363         * java/lang/reflect/natMethod.cc (result): Add void* element.
15364         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15365         constructor test.
15366
15367 2002-02-27  Adam Megacz <adam@xwt.org>
15368
15369         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15370         '#undef STRICT'.
15371
15372 2002-02-26  Tom Tromey  <tromey@redhat.com>
15373
15374         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15375         * gij.cc (version): Use __VERSION__.
15376         * include/config.h.in: Rebuilt.
15377         * acconfig.h (GCJVERSION): Removed.
15378         * configure: Rebuilt.
15379         * configure.in (GCJVERSION): Removed.
15380
15381 2002-02-26  Andreas Schwab  <schwab@suse.de>
15382
15383         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15384         glibcpp_CXX, since libjava uses even another CXX.
15385         * aclocal.m4, configure: Regenerated.
15386
15387 2002-02-26  Tom Tromey  <tromey@redhat.com>
15388
15389         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15390         `1'.
15391
15392 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15393
15394         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15395         dependency tracking for .java files.
15396         * Makefile.in: Rebuilt.
15397
15398 2002-02-24  Adam Megacz  <adam@xwt.org>
15399
15400         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15401         typo. Sorry.
15402
15403 2002-02-24  Adam Megacz  <adam@xwt.org>
15404
15405         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15406         for Win32, changed #ifdefs to check WIN32 instead of the
15407         (now-obsolete) USE_WINSOCK, and removed support for socket
15408         timeouts on Win32 pending further discussion.
15409
15410 2002-02-24  Adam Megacz  <adam@xwt.org>
15411
15412         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15413         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15414         delete
15415
15416 2002-02-24  Adam Megacz  <adam@xwt.org>
15417
15418         * java/lang/Win32Process.java: Created a dummy class to allow
15419         build process to run to completion.
15420
15421 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15422
15423         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15424         Define ffi_result union for ffi_call result.  Cast
15425         ffi_result members to jvalue.
15426
15427 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15428
15429         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15430         * testsuite/Makefile.in: Likewise.
15431
15432 2002-02-20  Per Bothner  <per@bothner.com>
15433
15434         * java/net/URL.java (getPath):  New JDK 1.3 method.
15435
15436         * java/net/URLStreamHandler.java (parseURL):
15437         It is wrong to prepend '/' to the file part of a relative url.
15438
15439         * java/net/URLStreamHandler.java (parseURL):
15440         Minor optizations - append '/' rather than "/".
15441
15442         * java/net/URLStreamHandler.java (parseURL):
15443         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15444         We probably should canonicalize for a context-relative url, though.
15445         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15446         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15447         (sameFile):  New method.  Uses canonicalizeFilename.
15448
15449 2002-02-22  Tom Tromey  <tromey@redhat.com>
15450
15451         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15452         java.vendor and java.vm.vendor.
15453         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15454         recent copyright date.
15455         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15456         * gij.cc (version): Print `Inc'.
15457
15458 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15459
15460         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15461         * aclocal.m4, configure: Rebuilt.
15462
15463 2002-02-20  Per Bothner  <per@bothner.com>
15464
15465         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15466         and/or output streams immediately here, instead of using File.exists.
15467         (inputStream, outputStream):  New fields to save open streams.
15468         (getInputStream, getOutputStream):  Use already-opened streams.
15469
15470 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15471
15472         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15473         Use it.
15474         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15475         * aclocal.m4, configure, Makefile.in: Rebuilt.
15476
15477 2002-02-19  Tom Tromey  <tromey@redhat.com>
15478
15479         Fix for PR libgcj/5696:
15480         * verify.cc (is_assignable_from_slow): Never call
15481         _Jv_IsAssignableFrom.
15482         (verify_instructions_0): Added new debug statement.
15483         (state::print): Print information about whether local has
15484         changed.
15485         (state::merge): Don't call note_variable when merging locals.
15486         (state::set_exception): Removed old FIXME comment.
15487
15488 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15489
15490         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15491         enable SO_BROADCAST.
15492
15493 2002-02-18  Jason Merrill  <jason@redhat.com>
15494
15495         * name-finder.cc (toHex): Use word mode, not long long.
15496
15497         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15498
15499 2002-02-15  Tom Tromey  <tromey@redhat.com>
15500
15501         Fix for PR libgcj/5695:
15502         * verify.cc (is_assignable_from_slow): Check to see if target is
15503         an Object before checking to see if source is an interface.
15504         (verify_instructions_0) [op_invokeinterface]: Handle case where
15505         we're making an interface call on Object.
15506
15507 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15508
15509         * Makefile.in: Rebuilt with Eric's change below.
15510
15511         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15512         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15513         Removed functions which are now implemented in Math.java.
15514
15515 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15516
15517         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15518         * Makefile.am (core_java_source_files): Add
15519         java/lang/StrictMath.java.
15520         * java/lang/Math.java: Merge with Classpath.
15521         * java/lang/StrictMath.java: New file - merge with Classpath.
15522
15523 2002-02-14  Mark Wielaard  <mark@klomp.org>
15524
15525         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15526         package as a workaround for gcj 3.0.x
15527
15528 2002-02-14  Mark Wielaard <mark@klomp.org>
15529
15530         * java/security/BasicPermission.java: extends with fully qualified
15531         classname as workaround for gcj 3.0.4.
15532
15533 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15534
15535         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15536         around gcj bug of wrong emitted qualifier for inherited method.
15537         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15538         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15539         constructor to reduce amount of emitted bytecode. While this
15540         happens to work around a jikes 1.15 bug, it is still a useful
15541         patch even for correct compilers.
15542         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15543         * gnu/java/rmi/server/UnicastRemoteCall.java
15544         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15545
15546 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15547
15548         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15549         * java/net/SocketImpl.java: Ditto.
15550         * java/rmi/server/RMIClassLoader.java: Ditto.
15551         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15552
15553 2002-02-14  Mark Wielaard <mark@klomp.org>
15554
15555         Thanks to Takashi Okamoto
15556         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15557         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15558         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15559
15560 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15561
15562         Fix for PR libgcj/5670:
15563         * verify.cc (is_assignable_from_slow): If `source' is interface,
15564         recursively look for merge with `target'.
15565
15566 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15567
15568         * include/jni.h: Fix typo.
15569
15570 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15571
15572         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15573         correctly.
15574
15575 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15576
15577         Fix for PR libgcj/5671:
15578         * verify.cc (state::merge): Handle case where we're merging
15579         against an interface.
15580
15581 2002-02-12  Tom Tromey  <tromey@redhat.com>
15582
15583         * exception.cc (std::abort): Mark as noreturn.
15584
15585 2002-02-12  Adam Megacz <adam@xwt.org>
15586
15587         * java/lang/Win32Process.java: Filled in a placeholder
15588         implementation so Win32 will build.
15589
15590 2002-02-12  Adam Megacz <adam@xwt.org>
15591
15592         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15593         * java/io/natFile.cc: Removed from repository.
15594         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15595
15596 2002-02-12  Adam Megacz <adam@xwt.org>
15597
15598         * win32.cc: Added two #includes to make win32.cc compile.
15599
15600 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15601
15602         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15603         declarations.
15604         (_Jv_InitGC): Don't bother locking, as this is always called from a
15605         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15606
15607 2002-02-11  Adam Megacz <adam@xwt.org>
15608
15609         * include/win32.h: Added _Jv_platform_gettimeofday.
15610         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15611
15612 2002-02-11  Adam Megacz <adam@xwt.org>
15613
15614         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15615         Added #undef STRICT to make windows.h and
15616         java/lang/reflect/Modifier.h cooperate.
15617
15618 2002-02-11  Adam Megacz <adam@xwt.org>
15619
15620         * java/io/natFileWin32.cc: Created a placeholder class with lots
15621         of FIXMEs.
15622
15623 2002-02-11  Adam Megacz <adam@xwt.org>
15624
15625         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15626         std::abort() to simply abort(). Also added "fake" std::abort() so
15627         we can #include unwind-pe.h without having to link against
15628         libstdc++-v3.
15629
15630 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15631
15632         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15633
15634 2002-02-08  Tom Tromey  <tromey@redhat.com>
15635
15636         * interpret.cc (convert): New function.
15637         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15638         convert.
15639         Include Long.h.
15640
15641 2002-02-08  Anthony Green  <green@redhat.com>
15642
15643         * configure.host: Add support for xscale-elf embedded target.
15644
15645 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15646
15647         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15648         dereferenced.
15649         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15650         frame.
15651
15652 2002-02-07  Tom Tromey  <tromey@redhat.com>
15653
15654         * java/io/natFile.cc (_access): Use __builtin_alloca.
15655         (_stat): Likewise.
15656         (attr): Likewise.
15657         (getCanonicalPath): Likewise.
15658         (performList): Likewise.
15659         (performMkdir): Likewise.
15660         (performSetReadOnly): Likewise.
15661         (performRenameTo): Likewise.
15662         (performSetLastModified): Likewise.
15663         (performCreate): Likewise.
15664         (performDelete): Likewise.
15665
15666 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15667
15668         * HACKING: Fix URL for the automake-gcj.
15669
15670 2002-02-07  Tom Tromey  <tromey@redhat.com>
15671
15672         * java/lang/natThrowable.cc: Updated copyright.
15673         * java/io/natFileWin32.cc: Updated copyright.
15674         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15675         * win32-threads.cc: Updated copyright.
15676         * name-finder.cc: Updated copyright.
15677         * include/name-finder.h: Updated copyright.
15678
15679         * include/name-finder.h: Conditionally include sys/wait.h.
15680         * include/config.h.in: Rebuilt.
15681
15682         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15683         Size buffer based on real size of string.
15684         (_stat): Likewise.
15685         (attr): Likewise.
15686         (getCanonicalPath): Likewise.
15687         (performList): Likewise.
15688         (performMkdir): Likewise.
15689         (performSetReadOnly): Likewise.
15690         (unixroot): Removed.
15691         (performRenameTo): Likewise.
15692         (performSetLastModified): Likewise.
15693         (performCreate): Likewise.
15694         (performDelete): Likewise.
15695         (performListRoots): Always return new array.
15696
15697         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15698         * win32.cc (win32_exception_handler): Now static.
15699         * include/win32.h (_Jv_platform_initialize): Declare.
15700         (win32_exception_handler): Don't declare.
15701         * java/lang/natSystem.cc (currentTimeMillis): Use
15702         _Jv_platform_gettimeofday.
15703         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15704         (_Jv_select): Use new name.
15705         (_Jv_platform_initialize): New function.
15706         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15707         _Jv_gettimeofday.
15708         (_Jv_platform_initialize): Declare.
15709
15710         * configure: Rebuilt.
15711         * configure.in: Removed unnecessary parens.
15712
15713 2002-02-06  Adam Megacz <adam@xwt.org>
15714
15715        * configure.in: Changed mingw) to *mingw*).
15716        * win32.cc: Created this file.
15717        * win32.h: Created this file.
15718        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15719        win32_exception_handler from prims.cc to win32.cc, added
15720        header in win32.h.
15721        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15722        longer needed now that we have platform.h
15723
15724 2002-02-06  Adam Megacz <adam@xwt.org>
15725
15726         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15727         use uint<n>_t instead of LONG and BYTE
15728
15729 2002-02-06  Adam Megacz <adam@xwt.org>
15730
15731         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15732
15733 2002-02-06  Anthony Green  <green@redhat.com>
15734
15735         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15736         Implement missing method stubs.
15737         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15738         targets.
15739         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15740         concept of timezones.
15741         (init_properties): Don't refer to _Jv_Environment_Properties
15742         when this feature is not available.
15743         * include/config.h.in: Rebuilt.
15744         * acconfig.h: Add DISABLE_MAIN_ARGS.
15745         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15746         * configure: Rebuilt.
15747         * configure.in: Add --disable-main-args option.  Test for
15748           opendir function.  Replace AC_CHECK_SIZEOF with
15749           AC_COMPILE_CHECK_SIZEOF.
15750         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15751         * aclocal.m4: Rebuilt.
15752         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15753
15754 2002-02-06  Tom Tromey  <tromey@redhat.com>
15755
15756         * verify.cc (require_array_type): If argument is a null array of
15757         references, return null as the element type.
15758
15759 2002-02-06  Mark Wielaard  <mark@klomp.org>
15760
15761         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15762         duplicate of a wide type.
15763
15764 2002-02-06  Tom Tromey  <tromey@redhat.com>
15765
15766         * verify.cc (type::isnull): New method.
15767         (require_array_type): Handle case where array is null.
15768         (verify_instructions_0) [op_arraylength]: Likewise.
15769
15770 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15771
15772         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15773         Symlink PLATFORMH to platform.h.
15774         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15775         PLATFORMOBJS.
15776         * java/lang/natSystem.cc: #include platform.h not posix.h.
15777         * Makefile.in: Rebuilt with libgcj automake.
15778         * configure: Rebuilt.
15779
15780 2002-02-05  Richard Henderson  <rth@redhat.com>
15781
15782         * Makefile.in: Undo munging last change.
15783
15784 2002-02-04  Adam Megacz <adam@xwt.org>
15785
15786         * win32.cc: Created it.
15787         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15788         which is set to posix.cc or win32.cc.
15789         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15790
15791 2002-02-04  Adam Megacz <adam@xwt.org>
15792
15793         * configure.in: Corrected mingw case branches; added * before
15794         and after.
15795
15796 2002-02-04  Adam Megacz <adam@xwt.org>
15797
15798         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15799         if compiling for win32
15800
15801 2002-02-04  Adam Megacz <adam@xwt.org>
15802
15803         * win32-threads.cc: #undef STRICT after gc.h inclusion
15804
15805 2002-02-02  Tom Tromey  <tromey@redhat.com>
15806
15807         * Makefile.in: Rebuilt.
15808
15809 2002-02-02  Jason Merrill  <jason@redhat.com>
15810
15811         * Makefile.am (clean-nat): New target.
15812
15813 2002-02-02  Tom Tromey  <tromey@redhat.com>
15814
15815         * java/io/natFile.cc: Removed old "FIXME" comments.
15816
15817 2002-02-01  Tom Tromey  <tromey@redhat.com>
15818
15819         * java/lang/natPosixProcess.cc (myclose): New function.
15820         (fail): Use it.
15821         (startProcess): Likewise.
15822
15823 2002-02-01  Adam Megacz <adam@xwt.org>
15824
15825         * prims.cc: Added #undef STRICT after #include<windows.h>.
15826
15827 2002-02-01  Adam Megacz <adam@xwt.org>
15828
15829         * prims.cc
15830         (_Jv_CreateJavaVM): We now use WIN32 instead of
15831         USE_WIN32_SIGNALLING and USE_WINSOCK.
15832         (win32_exception_handler): Now throws an exception out of
15833         the signal handler; assumes SJLJ.
15834
15835 2002-02-01  Adam Megacz <adam@xwt.org>
15836
15837         * win32-threads.cc:
15838         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15839         wait() algorithm to make it safe.
15840         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15841         Added lazy creation of Win32 Events for better performance
15842         (really_start): This now uses GC_CreateThread so boehm-gc
15843         knows about new threads even when statically linked.
15844
15845 2002-02-01  Adam Megacz <adam@xwt.org>
15846
15847         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15848         enable safer wait() algorithm.
15849         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15850         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15851         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15852         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15853         instead of mutex.
15854         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15855
15856 2002-02-01  Adam Megacz <adam@xwt.org>
15857
15858         * configure.in: Added support for mingw.
15859         * java/lang/Win32Process.java: Created as empty file.
15860         * java/lang/natWin32Process.cc: Created as empty file.
15861
15862 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15863
15864         PR java/4972
15865         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15866         for libiconv in LIBICONV variable.
15867         * configure: Regenerated.
15868
15869 2002-01-31  Tom Tromey  <tromey@redhat.com>
15870
15871         * verify.cc (state::enter_subroutine): New method.
15872         (handle_jsr_insn): Use it.
15873         (state::merge): When processing a `ret', correctly use
15874         subroutine's state to determine which local variables have
15875         changed.
15876         (push_exception_jump): Don't let stack overflow.
15877
15878 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15879
15880         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15881         --version output.
15882
15883 2002-01-30  Tom Tromey  <tromey@redhat.com>
15884
15885         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15886         parameter for `recv' return type.
15887
15888         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15889         (state::merge): ... not here.
15890         (subr_entry_info): New structure.
15891         (entry_points): New field.
15892         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15893         entry_points.
15894
15895 2002-01-29  Tom Tromey  <tromey@redhat.com>
15896
15897         * java/awt/List.java (addNotify): Correctly check to see if peer
15898         does not exist.
15899
15900         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15901         to compute height of each cell, and number of columns to compute
15902         width of each cell.
15903         * java/awt/Window.java (getOwnedWindows): Don't return null.
15904         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15905         of component.  Increment x using horizontal gap, not vertical
15906         gap.
15907
15908 2002-01-28  Tom Tromey  <tromey@redhat.com>
15909
15910         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15911         `nargs' byte is number of words, not number of arguments.
15912
15913 2002-01-27  Tom Tromey  <tromey@redhat.com>
15914
15915         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15916         (when): Likewise.
15917         * java/awt/event/InputEvent.java (modifiers, when): Now
15918         package-private.
15919
15920         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15921         and to-do list.
15922         (state::merge): Use current class' class loader.
15923         (state::print): Print subroutine.
15924         (state::merge): Don't look at subroutine of unmerged `ret'.
15925
15926 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15927
15928         * nogc.cc: Remove warnings.
15929         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15930         New functions.
15931
15932 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15933
15934         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15935         int, int):  Remove empty "if" statement to work around compiler bug.
15936         (newPixels(int[], ColorModel, int, int): Likewise.
15937
15938 2002-01-25  Per Bothner  <per@bothner.com>
15939
15940         * verify.cc (verify_fail):  Change from being a top-level function
15941         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15942         Pass the current verifier to type: and state: methods as needed,
15943         for better error messages, and for resolve.
15944         (resolve):  Pass current class's loader for Class.forName and
15945         _Jv_FindClassFromSignature, rather than using the default loader.
15946         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15947         (get_type_val_for_signature):  Make non-static.
15948         (various methods):  Pass start_PC implicitly, not explicitly.
15949
15950 2002-01-25  Tom Tromey  <tromey@redhat.com>
15951
15952         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15953         loop termination condition.
15954         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15955         width.
15956
15957 2002-01-24  Tom Tromey  <tromey@redhat.com>
15958
15959         * java/awt/Shape.java: Merged with Classpath.
15960         * java/awt/Scrollbar.java: Merged with Classpath.
15961
15962         * java/awt/Container.java (addNotify): Unconditionally call
15963         addNotifyContainerChildren and superclass addNotify.
15964
15965         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15966         getAlpha, not getBlue.
15967
15968 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15969
15970         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15971
15972         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15973         (grabPixels(long)): Wait to be notified that the ImageProducer has
15974         completed.
15975
15976 2002-01-24  Per Bothner  <per@bothner.com>
15977
15978         * verify.cc (is_assignable_from_slow): If target is an interface,
15979         we must still check the source's superclass before giving up.
15980
15981 2002-01-24  Tom Tromey  <tromey@redhat.com>
15982
15983         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15984
15985 2002-01-23  Tom Tromey  <tromey@redhat.com>
15986
15987         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15988         `else'.
15989
15990         * Makefile.in: Rebuilt.
15991         * Makefile.am (awt_java_source_files): Added new files.
15992         * java/awt/Toolkit.java: Merged with Classpath.
15993         * java/awt/PrintGraphics.java: New file from Classpath.
15994         * java/awt/PrintJob.java: New file from Classpath.
15995         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15996         * java/awt/datatransfer/ClipboardOwner.java: New file from
15997         Classpath.
15998         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15999         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16000         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16001         Classpath.
16002         * java/awt/datatransfer/StringSelection.java: New file from
16003         Classpath.
16004         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16005         Classpath.
16006         * java/awt/datatransfer/Transferable.java: New file from
16007         Classpath.
16008         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16009         from Classpath.
16010
16011         * Makefile.in: Rebuilt.
16012         * Makefile.am (awt_java_source_files): Added new files.
16013         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16014         Classpath.
16015         * java/awt/image/CropImageFilter.java: New file from Classpath.
16016         * java/awt/image/FilteredImageSource.java: New file from
16017         Classpath.
16018         * java/awt/image/ImageFilter.java: New file from Classpath.
16019         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16020         * java/awt/image/PixelGrabber.java: New file from Classpath.
16021         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16022         * java/awt/image/ReplicateScaleFilter.java: New file from
16023         Classpath.
16024         * java/awt/image/ImageProducer.java: Replaced with Classpath
16025         version.
16026         * java/awt/image/ImageObserver.java: Replaced with Classpath
16027         version.
16028         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16029         version.
16030         * java/awt/GridBagConstraints.java (clone): Catch
16031         CloneNotSupportedException.
16032
16033 2002-01-23  Per Bothner  <per@bothner.com>
16034
16035         * java/lang/reflect/natField.cc (setAddr):  New function.
16036         Calls getAddr and then checks that the field isn't final.
16037         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16038         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16039         (set):  Call setAddr before check that new value has right type,
16040         to better match specified semantics.
16041
16042 2002-01-22  Tom Tromey  <tromey@redhat.com>
16043
16044         * java/awt/TextField.java: Replaced with Classpath version.
16045         * java/awt/TextArea.java: Replaced with Classpath version.
16046         * java/awt/TextComponent.java: Replaced with Classpath version.
16047
16048         * java/awt/GridBagConstraints.java: Updated copyright.
16049
16050 2002-01-22  Mark Wielaard <mark@klomp.org>
16051
16052         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16053         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16054         java/awt/Dialog.java java/awt/FileDialog.java
16055         java/awt/Font.java java/awt/FontMetrics.java
16056         java/awt/Image.java java/awt/ImageMediaEntry.java
16057         java/awt/Insets.java java/awt/List.java
16058         java/awt/MediaEntry.java java/awt/MediaTracker.java
16059         java/awt/Menu.java java/awt/MenuBar.java
16060         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16061         java/awt/PaintContext.java java/awt/Panel.java
16062         java/awt/PopupMenu.java java/awt/SystemColor.java
16063         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16064         java/awt/peer/CheckboxMenuItemPeer.java
16065         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16066         java/awt/peer/ComponentPeer.java
16067         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16068         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16069         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16070         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16071         java/awt/peer/MenuBarPeer.java
16072         java/awt/peer/MenuComponentPeer.java
16073         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16074         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16075         java/awt/peer/ScrollPanePeer.java
16076         java/awt/peer/ScrollbarPeer.java
16077         java/awt/peer/TextAreaPeer.java
16078         java/awt/peer/TextComponentPeer.java
16079         java/awt/peer/TextFieldPeer.java
16080         java/awt/peer/WindowPeer.java: Add license clarification.
16081
16082 2002-01-22  Mark Wielaard <mark@klomp.org>
16083
16084         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16085         gnu/gcj/runtime/StringBuffer.java
16086         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16087         gnu/java/awt/ComponentDataBlitOp.java
16088         gnu/java/awt/GLightweightPeer.java
16089         gnu/java/beans/BeanInfoEmbryo.java
16090         gnu/java/beans/EmptyBeanInfo.java
16091         gnu/java/beans/ExplicitBeanInfo.java
16092         gnu/java/beans/IntrospectionIncubator.java
16093         gnu/java/beans/editors/ColorEditor.java
16094         gnu/java/beans/editors/FontEditor.java
16095         gnu/java/beans/editors/NativeBooleanEditor.java
16096         gnu/java/beans/editors/NativeByteEditor.java
16097         gnu/java/beans/editors/NativeDoubleEditor.java
16098         gnu/java/beans/editors/NativeFloatEditor.java
16099         gnu/java/beans/editors/NativeIntEditor.java
16100         gnu/java/beans/editors/NativeLongEditor.java
16101         gnu/java/beans/editors/NativeShortEditor.java
16102         gnu/java/beans/editors/StringEditor.java
16103         gnu/java/beans/info/ComponentBeanInfo.java
16104         gnu/java/io/ClassLoaderObjectInputStream.java
16105         gnu/java/io/NullOutputStream.java
16106         gnu/java/io/ObjectIdentityWrapper.java
16107         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16108         gnu/java/lang/reflect/TypeSignature.java
16109         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16110         gnu/java/locale/Calendar_en.java
16111         gnu/java/locale/Calendar_nl.java
16112         gnu/java/locale/LocaleInformation.java
16113         gnu/java/locale/LocaleInformation_de.java
16114         gnu/java/locale/LocaleInformation_en.java
16115         gnu/java/locale/LocaleInformation_nl.java
16116         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16117         gnu/java/rmi/registry/RegistryImpl.java
16118         gnu/java/rmi/rmic/Compile_gcj.java
16119         gnu/java/rmi/rmic/Compiler.java
16120         gnu/java/rmi/rmic/CompilerProcess.java
16121         gnu/java/rmi/rmic/RMIC.java
16122         gnu/java/rmi/rmic/TabbedWriter.java
16123         gnu/java/rmi/server/ProtocolConstants.java
16124         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16125         gnu/java/rmi/server/RMIHashes.java
16126         gnu/java/rmi/server/RMIObjectInputStream.java
16127         gnu/java/rmi/server/RMIObjectOutputStream.java
16128         gnu/java/rmi/server/UnicastConnection.java
16129         gnu/java/rmi/server/UnicastConnectionManager.java
16130         gnu/java/rmi/server/UnicastRef.java
16131         gnu/java/rmi/server/UnicastRemoteCall.java
16132         gnu/java/rmi/server/UnicastRemoteStub.java
16133         gnu/java/rmi/server/UnicastServer.java
16134         gnu/java/rmi/server/UnicastServerRef.java
16135         gnu/java/security/provider/DefaultPolicy.java
16136         gnu/java/security/provider/Gnu.java
16137         gnu/java/security/provider/SHA.java
16138         gnu/java/security/provider/SHA1PRNG.java
16139         gnu/java/text/BaseBreakIterator.java
16140         gnu/java/text/CharacterBreakIterator.java
16141         gnu/java/text/LineBreakIterator.java
16142         gnu/java/text/SentenceBreakIterator.java
16143         gnu/java/text/WordBreakIterator.java
16144         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16145         java/applet/AppletContext.java java/applet/AppletStub.java
16146         java/applet/AudioClip.java java/awt/AWTError.java
16147         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16148         java/awt/AWTException.java java/awt/AWTPermission.java
16149         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16150         java/awt/Button.java java/awt/Canvas.java
16151         java/awt/CardLayout.java java/awt/Checkbox.java
16152         java/awt/CheckboxGroup.java java/awt/Component.java
16153         java/awt/ComponentOrientation.java java/awt/Container.java
16154         java/awt/Dimension.java java/awt/Event.java
16155         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16156         java/awt/FlowLayout.java java/awt/Frame.java
16157         java/awt/Graphics.java java/awt/Graphics2D.java
16158         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16159         java/awt/IllegalComponentStateException.java
16160         java/awt/ItemSelectable.java java/awt/Label.java
16161         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16162         java/awt/MenuComponent.java java/awt/MenuItem.java
16163         java/awt/Paint.java java/awt/Point.java
16164         java/awt/Rectangle.java java/awt/RenderingHints.java
16165         java/awt/Transparency.java java/awt/Window.java
16166         java/awt/color/ColorSpace.java
16167         java/awt/color/ICC_ColorSpace.java
16168         java/awt/color/ICC_Profile.java
16169         java/awt/event/HierarchyBoundsAdapter.java
16170         java/awt/event/HierarchyBoundsListener.java
16171         java/awt/event/HierarchyEvent.java
16172         java/awt/event/HierarchyListener.java
16173         java/awt/geom/AffineTransform.java
16174         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16175         java/awt/geom/IllegalPathStateException.java
16176         java/awt/geom/Line2D.java
16177         java/awt/geom/NoninvertibleTransformException.java
16178         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16179         java/awt/geom/Rectangle2D.java
16180         java/awt/geom/RectangularShape.java
16181         java/awt/geom/RoundRectangle2D.java
16182         java/awt/image/BufferedImage.java
16183         java/awt/image/ColorModel.java
16184         java/awt/image/ComponentColorModel.java
16185         java/awt/image/ComponentSampleModel.java
16186         java/awt/image/DataBuffer.java
16187         java/awt/image/DataBufferByte.java
16188         java/awt/image/DataBufferInt.java
16189         java/awt/image/DataBufferUShort.java
16190         java/awt/image/DirectColorModel.java
16191         java/awt/image/PackedColorModel.java
16192         java/awt/image/Raster.java java/awt/image/RasterOp.java
16193         java/awt/image/SampleModel.java
16194         java/awt/image/SinglePixelPackedSampleModel.java
16195         java/awt/image/WritableRaster.java
16196         java/beans/AppletInitializer.java
16197         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16198         java/beans/Beans.java java/beans/Customizer.java
16199         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16200         java/beans/FeatureDescriptor.java
16201         java/beans/IndexedPropertyDescriptor.java
16202         java/beans/IntrospectionException.java
16203         java/beans/Introspector.java java/beans/MethodDescriptor.java
16204         java/beans/ParameterDescriptor.java
16205         java/beans/PropertyChangeEvent.java
16206         java/beans/PropertyChangeListener.java
16207         java/beans/PropertyChangeSupport.java
16208         java/beans/PropertyDescriptor.java
16209         java/beans/PropertyEditor.java
16210         java/beans/PropertyEditorManager.java
16211         java/beans/PropertyEditorSupport.java
16212         java/beans/PropertyVetoException.java
16213         java/beans/SimpleBeanInfo.java
16214         java/beans/VetoableChangeListener.java
16215         java/beans/VetoableChangeSupport.java
16216         java/beans/Visibility.java
16217         java/beans/beancontext/BeanContext.java
16218         java/beans/beancontext/BeanContextChild.java
16219         java/beans/beancontext/BeanContextChildComponentProxy.java
16220         java/beans/beancontext/BeanContextChildSupport.java
16221         java/beans/beancontext/BeanContextContainerProxy.java
16222         java/beans/beancontext/BeanContextEvent.java
16223         java/beans/beancontext/BeanContextMembershipEvent.java
16224         java/beans/beancontext/BeanContextMembershipListener.java
16225         java/beans/beancontext/BeanContextProxy.java
16226         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16227         java/beans/beancontext/BeanContextServiceProvider.java
16228         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16229         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16230         java/beans/beancontext/BeanContextServiceRevokedListener.java
16231         java/beans/beancontext/BeanContextServices.java
16232         java/beans/beancontext/BeanContextServicesListener.java
16233         java/io/BufferedInputStream.java
16234         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16235         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16236         java/io/ByteArrayOutputStream.java
16237         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16238         java/io/CharConversionException.java java/io/DataInput.java
16239         java/io/DataInputStream.java java/io/DataOutput.java
16240         java/io/EOFException.java java/io/Externalizable.java
16241         java/io/FileFilter.java java/io/FileNotFoundException.java
16242         java/io/FilePermission.java java/io/FileReader.java
16243         java/io/FileWriter.java java/io/FilenameFilter.java
16244         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16245         java/io/FilterReader.java java/io/FilterWriter.java
16246         java/io/IOException.java java/io/InputStream.java
16247         java/io/InterruptedIOException.java
16248         java/io/InvalidClassException.java
16249         java/io/InvalidObjectException.java
16250         java/io/NotActiveException.java
16251         java/io/NotSerializableException.java java/io/ObjectInput.java
16252         java/io/ObjectInputStream.java
16253         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16254         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16255         java/io/ObjectStreamConstants.java
16256         java/io/ObjectStreamException.java
16257         java/io/ObjectStreamField.java
16258         java/io/OptionalDataException.java java/io/OutputStream.java
16259         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16260         java/io/PipedReader.java java/io/PipedWriter.java
16261         java/io/PrintWriter.java java/io/PushbackInputStream.java
16262         java/io/PushbackReader.java java/io/Reader.java
16263         java/io/SequenceInputStream.java java/io/Serializable.java
16264         java/io/SerializablePermission.java
16265         java/io/StreamCorruptedException.java
16266         java/io/StreamTokenizer.java
16267         java/io/StringBufferInputStream.java java/io/StringReader.java
16268         java/io/StringWriter.java java/io/SyncFailedException.java
16269         java/io/UTFDataFormatException.java
16270         java/io/UnsupportedEncodingException.java
16271         java/io/WriteAbortedException.java java/io/Writer.java
16272         java/lang/AbstractMethodError.java
16273         java/lang/ArithmeticException.java
16274         java/lang/ArrayIndexOutOfBoundsException.java
16275         java/lang/ArrayStoreException.java java/lang/Boolean.java
16276         java/lang/Byte.java java/lang/CharSequence.java
16277         java/lang/ClassCastException.java
16278         java/lang/ClassCircularityError.java
16279         java/lang/ClassFormatError.java
16280         java/lang/ClassNotFoundException.java
16281         java/lang/CloneNotSupportedException.java
16282         java/lang/Cloneable.java java/lang/Comparable.java
16283         java/lang/Compiler.java java/lang/Double.java
16284         java/lang/Error.java java/lang/Exception.java
16285         java/lang/ExceptionInInitializerError.java
16286         java/lang/Float.java java/lang/IllegalAccessError.java
16287         java/lang/IllegalAccessException.java
16288         java/lang/IllegalArgumentException.java
16289         java/lang/IllegalMonitorStateException.java
16290         java/lang/IllegalStateException.java
16291         java/lang/IllegalThreadStateException.java
16292         java/lang/IncompatibleClassChangeError.java
16293         java/lang/IndexOutOfBoundsException.java
16294         java/lang/InheritableThreadLocal.java
16295         java/lang/InstantiationError.java
16296         java/lang/InstantiationException.java java/lang/Integer.java
16297         java/lang/InternalError.java
16298         java/lang/InterruptedException.java
16299         java/lang/LinkageError.java java/lang/Long.java
16300         java/lang/NegativeArraySizeException.java
16301         java/lang/NoClassDefFoundError.java
16302         java/lang/NoSuchFieldError.java
16303         java/lang/NoSuchFieldException.java
16304         java/lang/NoSuchMethodError.java
16305         java/lang/NoSuchMethodException.java
16306         java/lang/NullPointerException.java java/lang/Number.java
16307         java/lang/NumberFormatException.java
16308         java/lang/OutOfMemoryError.java java/lang/Package.java
16309         java/lang/Process.java java/lang/Runnable.java
16310         java/lang/RuntimeException.java
16311         java/lang/RuntimePermission.java
16312         java/lang/SecurityException.java
16313         java/lang/SecurityManager.java java/lang/Short.java
16314         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16315         java/lang/StringIndexOutOfBoundsException.java
16316         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16317         java/lang/ThreadLocal.java java/lang/UnknownError.java
16318         java/lang/UnsatisfiedLinkError.java
16319         java/lang/UnsupportedClassVersionError.java
16320         java/lang/UnsupportedOperationException.java
16321         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16322         java/lang/Void.java java/lang/ref/PhantomReference.java
16323         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16324         java/lang/ref/SoftReference.java
16325         java/lang/ref/WeakReference.java
16326         java/lang/reflect/AccessibleObject.java
16327         java/lang/reflect/InvocationTargetException.java
16328         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16329         java/lang/reflect/ReflectPermission.java
16330         java/math/BigDecimal.java java/math/BigInteger.java
16331         java/net/Authenticator.java java/net/BindException.java
16332         java/net/ConnectException.java java/net/ContentHandler.java
16333         java/net/ContentHandlerFactory.java
16334         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16335         java/net/FileNameMap.java java/net/MalformedURLException.java
16336         java/net/MulticastSocket.java java/net/NetPermission.java
16337         java/net/NoRouteToHostException.java
16338         java/net/PasswordAuthentication.java
16339         java/net/ProtocolException.java java/net/ServerSocket.java
16340         java/net/Socket.java java/net/SocketException.java
16341         java/net/SocketImpl.java java/net/SocketImplFactory.java
16342         java/net/SocketOptions.java java/net/SocketPermission.java
16343         java/net/URLDecoder.java java/net/URLEncoder.java
16344         java/net/URLStreamHandlerFactory.java
16345         java/net/UnknownHostException.java
16346         java/net/UnknownServiceException.java
16347         java/rmi/AccessException.java
16348         java/rmi/AlreadyBoundException.java
16349         java/rmi/ConnectException.java
16350         java/rmi/ConnectIOException.java
16351         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16352         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16353         java/rmi/NotBoundException.java
16354         java/rmi/RMISecurityException.java
16355         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16356         java/rmi/RemoteException.java java/rmi/ServerError.java
16357         java/rmi/ServerException.java
16358         java/rmi/ServerRuntimeException.java
16359         java/rmi/StubNotFoundException.java
16360         java/rmi/UnexpectedException.java
16361         java/rmi/UnknownHostException.java
16362         java/rmi/UnmarshalException.java
16363         java/rmi/activation/Activatable.java
16364         java/rmi/activation/ActivateFailedException.java
16365         java/rmi/activation/ActivationDesc.java
16366         java/rmi/activation/ActivationException.java
16367         java/rmi/activation/ActivationGroup.java
16368         java/rmi/activation/ActivationGroupDesc.java
16369         java/rmi/activation/ActivationGroupID.java
16370         java/rmi/activation/ActivationID.java
16371         java/rmi/activation/ActivationInstantiator.java
16372         java/rmi/activation/ActivationMonitor.java
16373         java/rmi/activation/ActivationSystem.java
16374         java/rmi/activation/Activator.java
16375         java/rmi/activation/UnknownGroupException.java
16376         java/rmi/activation/UnknownObjectException.java
16377         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16378         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16379         java/rmi/registry/Registry.java
16380         java/rmi/registry/RegistryHandler.java
16381         java/rmi/server/ExportException.java
16382         java/rmi/server/LoaderHandler.java
16383         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16384         java/rmi/server/Operation.java
16385         java/rmi/server/RMIClassLoader.java
16386         java/rmi/server/RMIClientSocketFactory.java
16387         java/rmi/server/RMIFailureHandler.java
16388         java/rmi/server/RMIServerSocketFactory.java
16389         java/rmi/server/RMISocketFactory.java
16390         java/rmi/server/RemoteCall.java
16391         java/rmi/server/RemoteObject.java
16392         java/rmi/server/RemoteRef.java
16393         java/rmi/server/RemoteServer.java
16394         java/rmi/server/RemoteStub.java
16395         java/rmi/server/ServerCloneException.java
16396         java/rmi/server/ServerNotActiveException.java
16397         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16398         java/rmi/server/SkeletonMismatchException.java
16399         java/rmi/server/SkeletonNotFoundException.java
16400         java/rmi/server/SocketSecurityException.java
16401         java/rmi/server/UID.java
16402         java/rmi/server/UnicastRemoteObject.java
16403         java/rmi/server/Unreferenced.java
16404         java/security/AccessControlContext.java
16405         java/security/AccessControlException.java
16406         java/security/AccessController.java
16407         java/security/AlgorithmParameterGenerator.java
16408         java/security/AlgorithmParameterGeneratorSpi.java
16409         java/security/AlgorithmParameters.java
16410         java/security/AlgorithmParametersSpi.java
16411         java/security/AllPermission.java
16412         java/security/BasicPermission.java
16413         java/security/Certificate.java java/security/CodeSource.java
16414         java/security/DigestException.java
16415         java/security/DigestInputStream.java
16416         java/security/DigestOutputStream.java
16417         java/security/DomainCombiner.java
16418         java/security/DummyKeyPairGenerator.java
16419         java/security/DummyMessageDigest.java
16420         java/security/DummySignature.java
16421         java/security/GeneralSecurityException.java
16422         java/security/Guard.java java/security/GuardedObject.java
16423         java/security/Identity.java java/security/IdentityScope.java
16424         java/security/InvalidAlgorithmParameterException.java
16425         java/security/InvalidKeyException.java
16426         java/security/InvalidParameterException.java
16427         java/security/Key.java java/security/KeyException.java
16428         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16429         java/security/KeyManagementException.java
16430         java/security/KeyPair.java java/security/KeyPairGenerator.java
16431         java/security/KeyPairGeneratorSpi.java
16432         java/security/KeyStore.java
16433         java/security/KeyStoreException.java
16434         java/security/KeyStoreSpi.java
16435         java/security/MessageDigest.java
16436         java/security/MessageDigestSpi.java
16437         java/security/NoSuchAlgorithmException.java
16438         java/security/NoSuchProviderException.java
16439         java/security/Permission.java
16440         java/security/PermissionCollection.java
16441         java/security/Permissions.java java/security/Policy.java
16442         java/security/Principal.java java/security/PrivateKey.java
16443         java/security/PrivilegedAction.java
16444         java/security/PrivilegedActionException.java
16445         java/security/PrivilegedExceptionAction.java
16446         java/security/ProtectionDomain.java
16447         java/security/Provider.java
16448         java/security/ProviderException.java
16449         java/security/PublicKey.java
16450         java/security/SecureClassLoader.java
16451         java/security/SecureRandom.java
16452         java/security/SecureRandomSpi.java java/security/Security.java
16453         java/security/SecurityPermission.java
16454         java/security/Signature.java
16455         java/security/SignatureException.java
16456         java/security/SignatureSpi.java
16457         java/security/SignedObject.java java/security/Signer.java
16458         java/security/UnrecoverableKeyException.java
16459         java/security/UnresolvedPermission.java
16460         java/security/acl/Acl.java java/security/acl/AclEntry.java
16461         java/security/acl/AclNotFoundException.java
16462         java/security/acl/Group.java
16463         java/security/acl/LastOwnerException.java
16464         java/security/acl/NotOwnerException.java
16465         java/security/acl/Owner.java java/security/acl/Permission.java
16466         java/security/cert/CRL.java
16467         java/security/cert/CRLException.java
16468         java/security/cert/Certificate.java
16469         java/security/cert/CertificateEncodingException.java
16470         java/security/cert/CertificateException.java
16471         java/security/cert/CertificateExpiredException.java
16472         java/security/cert/CertificateFactory.java
16473         java/security/cert/CertificateFactorySpi.java
16474         java/security/cert/CertificateNotYetValidException.java
16475         java/security/cert/CertificateParsingException.java
16476         java/security/cert/X509CRL.java
16477         java/security/cert/X509CRLEntry.java
16478         java/security/cert/X509Certificate.java
16479         java/security/cert/X509Extension.java
16480         java/security/interfaces/DSAKey.java
16481         java/security/interfaces/DSAKeyPairGenerator.java
16482         java/security/interfaces/DSAParams.java
16483         java/security/interfaces/DSAPrivateKey.java
16484         java/security/interfaces/DSAPublicKey.java
16485         java/security/interfaces/RSAKey.java
16486         java/security/interfaces/RSAPrivateCrtKey.java
16487         java/security/interfaces/RSAPrivateKey.java
16488         java/security/interfaces/RSAPublicKey.java
16489         java/security/spec/AlgorithmParameterSpec.java
16490         java/security/spec/DSAParameterSpec.java
16491         java/security/spec/DSAPrivateKeySpec.java
16492         java/security/spec/DSAPublicKeySpec.java
16493         java/security/spec/EncodedKeySpec.java
16494         java/security/spec/InvalidKeySpecException.java
16495         java/security/spec/InvalidParameterSpecException.java
16496         java/security/spec/KeySpec.java
16497         java/security/spec/PKCS8EncodedKeySpec.java
16498         java/security/spec/RSAKeyGenParameterSpec.java
16499         java/security/spec/RSAPrivateCrtKeySpec.java
16500         java/security/spec/RSAPrivateKeySpec.java
16501         java/security/spec/RSAPublicKeySpec.java
16502         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16503         java/sql/BatchUpdateException.java java/sql/Blob.java
16504         java/sql/CallableStatement.java java/sql/Clob.java
16505         java/sql/Connection.java java/sql/DataTruncation.java
16506         java/sql/DatabaseMetaData.java java/sql/Date.java
16507         java/sql/Driver.java java/sql/DriverManager.java
16508         java/sql/DriverPropertyInfo.java
16509         java/sql/PreparedStatement.java java/sql/Ref.java
16510         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16511         java/sql/SQLData.java java/sql/SQLException.java
16512         java/sql/SQLInput.java java/sql/SQLOutput.java
16513         java/sql/SQLWarning.java java/sql/Statement.java
16514         java/sql/Struct.java java/sql/Time.java
16515         java/sql/Timestamp.java java/sql/Types.java
16516         java/text/Annotation.java
16517         java/text/AttributedCharacterIterator.java
16518         java/text/AttributedString.java
16519         java/text/AttributedStringIterator.java
16520         java/text/BreakIterator.java java/text/CharacterIterator.java
16521         java/text/ChoiceFormat.java java/text/Collator.java
16522         java/text/DateFormat.java java/text/DateFormatSymbols.java
16523         java/text/DecimalFormat.java
16524         java/text/DecimalFormatSymbols.java
16525         java/text/FieldPosition.java java/text/Format.java
16526         java/text/MessageFormat.java java/text/NumberFormat.java
16527         java/text/ParseException.java java/text/ParsePosition.java
16528         java/text/SimpleDateFormat.java
16529         java/text/StringCharacterIterator.java
16530         java/util/AbstractCollection.java java/util/AbstractList.java
16531         java/util/AbstractMap.java
16532         java/util/AbstractSequentialList.java
16533         java/util/AbstractSet.java java/util/ArrayList.java
16534         java/util/Arrays.java java/util/BasicMapEntry.java
16535         java/util/BitSet.java java/util/Calendar.java
16536         java/util/Collection.java java/util/Collections.java
16537         java/util/Comparator.java
16538         java/util/ConcurrentModificationException.java
16539         java/util/Date.java java/util/Dictionary.java
16540         java/util/EmptyStackException.java java/util/Enumeration.java
16541         java/util/EventListener.java java/util/EventObject.java
16542         java/util/GregorianCalendar.java java/util/HashMap.java
16543         java/util/HashSet.java java/util/Hashtable.java
16544         java/util/IdentityHashMap.java java/util/Iterator.java
16545         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16546         java/util/LinkedList.java java/util/List.java
16547         java/util/ListIterator.java java/util/ListResourceBundle.java
16548         java/util/Locale.java java/util/Map.java
16549         java/util/MissingResourceException.java
16550         java/util/NoSuchElementException.java
16551         java/util/Observable.java java/util/Observer.java
16552         java/util/Properties.java java/util/PropertyPermission.java
16553         java/util/PropertyResourceBundle.java java/util/Random.java
16554         java/util/RandomAccess.java java/util/ResourceBundle.java
16555         java/util/Set.java java/util/SimpleTimeZone.java
16556         java/util/SortedMap.java java/util/SortedSet.java
16557         java/util/Stack.java java/util/StringTokenizer.java
16558         java/util/TimeZone.java java/util/Timer.java
16559         java/util/TimerTask.java
16560         java/util/TooManyListenersException.java
16561         java/util/TreeMap.java java/util/TreeSet.java
16562         java/util/Vector.java java/util/WeakHashMap.java
16563         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16564         java/util/jar/JarException.java java/util/jar/JarFile.java
16565         java/util/jar/JarInputStream.java
16566         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16567         java/util/zip/Adler32.java java/util/zip/CRC32.java
16568         java/util/zip/CheckedInputStream.java
16569         java/util/zip/CheckedOutputStream.java
16570         java/util/zip/Checksum.java
16571         java/util/zip/DataFormatException.java
16572         java/util/zip/Deflater.java
16573         java/util/zip/DeflaterOutputStream.java
16574         java/util/zip/GZIPInputStream.java
16575         java/util/zip/GZIPOutputStream.java
16576         java/util/zip/Inflater.java
16577         java/util/zip/InflaterInputStream.java
16578         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16579         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16580         java/util/zip/ZipInputStream.java
16581         java/util/zip/ZipOutputStream.java
16582         javax/naming/BinaryRefAddr.java
16583         javax/naming/InvalidNameException.java javax/naming/Name.java
16584         javax/naming/NamingException.java javax/naming/RefAddr.java
16585         javax/naming/StringRefAddr.java: Add license clarification.
16586
16587 2002-01-22  Tom Tromey  <tromey@redhat.com>
16588
16589         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16590         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16591         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16592         version.
16593         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16594         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16595         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16596         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16597         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16598         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16599         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16600         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16601         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16602         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16603         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16604         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16605         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16606         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16607         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16608         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16609         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16610         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16611         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16612         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16613         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16614         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16615         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16616         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16617         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16618         (minimumSize, preferredSize, reshape): Likewise.
16619         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16620         getColorModel): New methods.
16621         * java/awt/PopupMenu.java: Merged with Classpath.
16622         * java/awt/MenuBar.java: Merged with Classpath.
16623         * java/awt/SystemColor.java: Replace with Classpath version.
16624         * java/awt/Panel.java: Merged with Classpath.
16625         * java/awt/PaintContext.java: Updated copyright.
16626         * java/awt/MenuShortcut.java: Merged with Classpath.
16627         * java/awt/MenuContainer.java: Merged with Classpath.
16628         * java/awt/Menu.java: Merged with Classpath.
16629         * java/awt/MediaEntry.java: New file from Classpath.
16630         * java/awt/MediaTracker.java: New file from Classpath.
16631         * java/awt/List.java: Merged with Classpath version.
16632         * java/awt/Insets.java: Merged with Classpath version.
16633         * java/awt/ImageMediaEntry.java: New file from Classpath.
16634         * java/awt/Image.java: Replaced with Classpath version.
16635         * java/awt/FontMetrics.java: Merged with Classpath version.
16636         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16637         constant.
16638         * java/awt/Font.java: Merged with Classpath version.
16639         * java/awt/Dialog.java: Merged with Classpath version.
16640         * java/awt/Color.java: Merged with Classpath version.
16641         * java/awt/Choice.java: Merged with Classpath version.
16642         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16643         * java/awt/Adjustable.java: Replace with Classpath version.
16644         * java/awt/MenuItem.java (paramString): Don't include class name
16645         or brackets.  Call superclass paramString.
16646         * java/awt/MenuComponent.java (toString): Call paramString.
16647         (paramString): Compute string; don't call toString.
16648         * java/awt/Label.java (paramString): Don't include class name
16649         or brackets.  Call superclass paramString.
16650         * java/awt/Checkbox.java (paramString): Don't include class name
16651         or brackets.  Call superclass paramString.
16652         * java/awt/Button.java (paramString): Don't include class name or
16653         brackets.  Call superclass paramString.
16654         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16655
16656 2002-01-20  Andreas Schwab  <schwab@suse.de>
16657
16658         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16659         function and of parameter recv_func to ssize_t, as specified by
16660         POSIX.
16661
16662 2002-01-19  Per Bothner  <per@bothner.com>
16663
16664         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16665         uncompressed_size in readiness for next entry.
16666
16667 2002-01-18  Tom Tromey  <tromey@redhat.com>
16668
16669         * java/net/natPlainSocketImpl.cc: Include
16670         IllegalArgumentException.h.
16671         (_Jv_recv): New template function.
16672         (BooleanClass): Removed.
16673         (read): Use _Jv_recv.
16674         (setOption): Use Boolean::class$.  Throw exception if object is
16675         not Boolean or Integer.
16676
16677 2002-01-17  Tom Tromey  <tromey@redhat.com>
16678
16679         * java/awt/MenuComponent.java: Merged with Classpath.
16680         * java/awt/MenuItem.java: Merged with Classpath.
16681         * java/awt/Button.java: Merged with Classpath.
16682
16683         * java/awt/ActiveEvent.java: Updated copyright.
16684
16685         * java/awt/AWTError.java: Replaced with Classpath version.
16686         * java/awt/AWTException.java: Replaced with Classpath version.
16687         * java/awt/IllegalComponentStateException.java: Replaced with
16688         Classpath version.
16689
16690 2002-01-16  Tom Tromey  <tromey@redhat.com>
16691
16692         * java/awt/Canvas.java (serialVersionUID): New constant.
16693         Updated copyright.  Added javadoc from Classpath.
16694         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16695
16696         * java/awt/CheckboxGroup.java: Merged with Classpath.
16697         * java/awt/Checkbox.java: Merged with Classpath.
16698
16699         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16700         Classpath.
16701         * java/awt/Point.java: Updated copyright.
16702
16703         * java/awt/Point.java (toString): Use getClass().getName().
16704         Added javadoc.
16705
16706         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16707         commented code.
16708         (hash): Correctly compute initial value for `h'.
16709
16710         * java/awt/Label.java: Merged with Classpath.
16711
16712 2002-01-15  Tom Tromey  <tromey@redhat.com>
16713
16714         * java/awt/AWTPermission.java: Updated copyright.
16715
16716         * java/awt/LayoutManager2.java: Merged with Classpath.
16717         * java/awt/LayoutManager.java: Merged with Classpath.
16718         * java/awt/GridLayout.java: Updated copyright and javadoc.
16719         (getSize): Use `parent.ncomponents'.  Handle insets.
16720         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16721         there are fewer children than columns.  Correctly compute size of
16722         each cell in the grid.  Handle case where there isn't enough
16723         space.
16724         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16725         all users.
16726         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16727         before calling setVisible() on it.  Last item is `num - 1', not
16728         `num'.
16729         (layoutContainer): Hoist invariants out of loop.
16730
16731         Start of AWT merge with Classpath:
16732         * Makefile.in: Rebuilt.
16733         * Makefile.am (awt_java_source_files): Reference files in
16734         gnu/java/awt, not gnu/gcj/awt.
16735         * java/awt/image/BufferedImage.java: Updated copyright.
16736         * java/awt/image/ComponentColorModel.java: Updated copyright.
16737         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16738         * java/awt/image/DataBuffer.java: Updated copyright.
16739         * java/awt/image/DataBufferByte.java: Updated copyright.
16740         * java/awt/image/DataBufferInt.java: Updated copyright.
16741         * java/awt/image/DataBufferUShort.java: Updated copyright.
16742         * java/awt/image/IndexColorModel.java: Updated copyright.
16743         * java/awt/image/PackedColorModel.java: Updated copyright.
16744         * java/awt/image/Raster.java: Updated copyright.
16745         * java/awt/image/RasterOp.java: Updated copyright.
16746         * java/awt/image/SampleModel.java: Updated copyright.
16747         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16748         * java/awt/image/WritableRaster.java: Updated copyright.
16749         * java/awt/color/ColorSpace.java: Updated copyright.
16750         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16751         * java/awt/color/ICC_Profile.java: Updated copyright.
16752         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16753         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16754         * java/awt/event/HierarchyEvent.java: Updated copyright.
16755         * java/awt/event/HierarchyListener.java: Updated copyright.
16756         * java/awt/geom/AffineTransform.java: Updated copyright.
16757         * java/awt/geom/Dimension2D.java: Updated copyright.
16758         * java/awt/geom/Ellipse2D.java: Updated copyright.
16759         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16760         * java/awt/geom/Line2D.java: Updated copyright.
16761         * java/awt/geom/NoninvertibleTransformException.java: Updated
16762         copyright.
16763         * java/awt/geom/PathIterator.java: Updated copyright.
16764         * java/awt/geom/Point2D.java: Updated copyright.
16765         * java/awt/geom/Rectangle2D.java: Updated copyright.
16766         * java/awt/geom/RectangularShape.java: Updated copyright.
16767         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16768         * java/awt/Toolkit.java: Updated import for file moves.
16769         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16770         Classpath.
16771         (hashCode): New method from Classpath.
16772         * java/awt/Graphics2D.java: Updated copyright.
16773         * java/awt/Transparency.java: Updated copyright.
16774         * java/awt/Paint.java: Updated copyright.
16775         * java/awt/Graphics.java: New version from Classpath.
16776         * java/awt/EventDispatchThread.java: Updated copyright.
16777         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16778         children.
16779         (gotoComponent): Wrap around on next/previous.
16780         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16781         * gnu/gcj/awt/Buffers.java: Removed.
16782         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16783         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16784         * gnu/java/awt/BitMaskExtent.java: Added.
16785         * gnu/java/awt/Buffers.java: Added.
16786         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16787         * gnu/java/awt/GLightweightPeer.java: Added.
16788         * java/awt/geom/Line2D.java (clone): Ignore
16789         CloneNotSupportedException.
16790         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16791         * java/awt/Frame.java: Merged with Classpath.
16792         * java/awt/RenderingHints.java: Copyright update.
16793         * java/awt/Paint.java: Copyright update.
16794         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16795         * java/awt/image/ColorModel.java: Merged with Classpath.
16796         * java/awt/Window.java (show): New Implementation from Classpath.
16797         (isShowing): Use super.isShowing().
16798         * java/awt/EventQueue.java: Merged with Classpath.
16799         * java/awt/AWTEventMulticaster.java (save): Throw
16800         RuntimeException.
16801         (saveInternal): Likewise.
16802         * java/awt/AWTEvent.java: Now implements Serializable.
16803         * java/awt/Event.java: Copyright update.
16804         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16805         * java/awt/image/BufferedImage.java: Copyright update.
16806         * java/awt/GraphicsConfiguration.java: Copyright update.
16807         * java/awt/Component.java: (addNotify): Don't call
16808         addNotifyContainerChildren().
16809         (addNotifyContainerChildren): Removed.
16810         (setPeer): New method from Classpath.
16811         (setTreeLock): Likewise.
16812         (setVisible): Rewrote.
16813         (show): Use it.
16814         (hide): Likewise.
16815         (validate): Set `valid'.
16816         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16817         (createImage(ImageProducer)): Likewise.
16818         (prepareImage): Likewise.
16819         * java/awt/Container.java (addImpl): Handle case where constraint
16820         is not a String.  Post event via system event queue.
16821         (remove): Post event via system event queue.
16822         (validateTree): Only validate child if it is invalid.
16823         (getAlignmentX): Call super method as default.
16824         (getAlignmentY): Likewise.
16825         (addContainerListener): Now synchronized.
16826         (removeContainerListener): Likewise.
16827         (addNotifyContainerChildren): Now private.
16828         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16829         @author.
16830         * java/awt/FlowLayout.java (serialVersionUID): New field.
16831         (setAlignment): Better exception message.
16832         (layoutContainer): Don't compute component's preferred size unless
16833         we're going to use it.
16834         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16835         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16836         (firstLine, lastLine, firstItem, lastItem): New fields.
16837         (addLayoutComponent): Handle case where constraints is null.
16838         Also, handle relative locations.
16839         (removeLayoutComponent): Handle relative locations.
16840         (MIN, MAX, PREF): New constants.
16841         (calcCompSize): New method.
16842         (calcSize): New method.
16843         (minimumLayoutSize): Use it.
16844         (preferredLayoutSize): Likewise.
16845         (maximumLayoutSize): Likewise.
16846         (toString): Include more information.
16847         (setBounds): New method.
16848         (layoutContainer): Use libgcj implementation; extended to handle
16849         relative locations.
16850
16851 2002-01-15  Tom Tromey  <tromey@redhat.com>
16852
16853         * java/lang/Float.java (equals): Preserve old code.
16854         * java/lang/Double.java (equals): Preserve old code.
16855
16856 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16857
16858         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16859         * java/lang/Float.java (equals, compare): Ditto.
16860
16861 2002-01-13  Mark Wielaard  <mark@klomp.org>
16862
16863         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16864         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16865         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16866         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16867
16868 2002-01-11  Mark Wielaard  <mark@klomp.org>
16869
16870         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16871         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16872         InetAddress.
16873         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16874         * java/net/Socket.java: Merge with Classpath.
16875         * java/net/ServerSocket.java: Likewise.
16876
16877 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16878
16879         * interpret.cc (NULLARRAYCHECK): New macro.
16880         (SAVE_PC): Just store `pc'.
16881         (find_exception): Subtract one from `pc' here.
16882         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16883         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16884         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16885         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16886         don't call SAVE_PC.
16887         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16888         call SAVE_PC.
16889
16890 2002-01-11  Tom Tromey  <tromey@redhat.com>
16891
16892         * java/lang/natSystem.cc (init_properties): Only look for default
16893         locale if LC_MESSAGES is defined.
16894         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16895         * configure.in: Call AM_LC_MESSAGES.
16896         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16897
16898 2002-01-10  Tom Tromey  <tromey@redhat.com>
16899
16900         For PR libgcj/5303:
16901         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16902         --version.  Recognize GNU-style long options.  Print GNU-style
16903         error messages.
16904         (usage): Print GNU-style help.  Exit with status 0.
16905         (error): New method.
16906         (run): Print error message if no class names found.
16907         (main): Don't print usage on error.
16908
16909 2002-01-09  Tom Tromey  <tromey@redhat.com>
16910
16911         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16912         property.
16913         (help, version): Use println(), not println("").
16914
16915         For PR libgcj/5303:
16916         * gnu/gcj/convert/Convert.java (error): Program is called
16917         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16918         -1.
16919         (main): Handle --help and --version.
16920         (help): New method.
16921         (version): Likewise.
16922
16923 2002-01-08  Tom Tromey  <tromey@redhat.com>
16924
16925         * Makefile.in: Rebuilt.
16926         * Makefile.am (ordinary_java_source_files): Added new files.
16927         * gnu/java/locale/LocaleInformation.java: Extend
16928         LocaleInformation_en.
16929         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16930         and time/date formats.
16931         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16932         generated.
16933         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16934         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16935         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16936         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16937         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16938         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16939         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16940         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16941         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16942         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16943         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16944         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16945         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16946         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16947         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16948         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16949         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16950         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16951         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16952         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16953         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16954         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16955         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16956         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16957         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16958         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16959         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16960         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16961         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16962         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16963         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16964         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16965         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16966         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16967         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16968         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16969         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16970         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16971         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16972         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16973         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16974         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16975         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16976         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16977         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16978         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16979         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16980         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16981         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16982         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16983         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16984         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16985         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16986         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16987         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16988         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16989         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16990         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16991         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16992         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16993         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16994         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16995         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16996         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16997         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16998         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16999         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17000         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17001         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17002         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17003         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17004         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17005         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17006         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17007         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17008         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17009         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17010         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17011         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17012         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17013         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17014         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17015         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17016         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17017         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17018         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17019         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17020         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17021         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17022         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17023         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17024         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17025         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17026         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17027         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17028         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17029         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17030         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17031         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17032         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17033         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17034         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17035         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17036         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17037         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17038         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17039         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17040         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17041         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17042         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17043         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17044         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17045         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17046         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17047         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17048         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17049         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17050         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17051         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17052         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17053         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17054         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17055         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17056         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17057         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17058         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17059         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17060         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17061         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17062         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17063
17064         For PR libgcj/5031:
17065         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17066         choose default locale.
17067
17068         * Makefile.in: Rebuilt.
17069         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17070
17071 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17072
17073         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17074         sockets.
17075         (close): New function closes the socket.
17076         (write): New functions for output to socket.
17077         (read): New functions for reading from socket.
17078         * java/net/PlainSocketImpl.java: Glue for new timeout
17079         implementation.
17080         (write): Call the native impl.
17081         (read): Likewise.
17082         (getInputStream): Get a stream to read from the socket.
17083         (getOutputStream): Get a stream to write to the socket.
17084
17085 2002-01-08  Tom Tromey  <tromey@redhat.com>
17086
17087         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17088
17089 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17090
17091         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17092         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17093
17094 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17095
17096         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17097         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17098         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17099         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17100         insn_bastore, insn_castore, insn_sastore]: Use it.
17101         (continue1) [insn_arraylength]: Check for null array.
17102
17103 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17104
17105         * configure, include/config.h.in: Rebuilt.
17106         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17107         * configure.in: Call AC_STRUCT_TIMEZONE.
17108
17109 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17110
17111         * configure.host: Disable the interpreter for Darwin.
17112
17113 2002-01-04  Tom Tromey  <tromey@redhat.com>
17114
17115         * java/lang/Thread.java (stop): No longer synchronized.
17116         (start): Likewise.
17117
17118 2002-01-02  Tom Tromey  <tromey@redhat.com>
17119
17120         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17121         patch.
17122
17123 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17124
17125         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17126         PPC Darwin, not for all of Darwin.