OSDN Git Service

* gnu/java/nio/SocketChannelImpl.java
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
2
3         * gnu/java/nio/SocketChannelImpl.java
4         (write): Removed diagnostic trace.
5         * gnu/java/nio/natSelectorImplPosix.cc: Added
6         includes for java.lang.Thread and java.io.InterruptedIOException.
7         (helper_put_filedescriptors): Don't put invalid file descriptors
8         in select set.
9         (helper_get_filedescriptors): Clear invalid file descriptors
10         from select set.
11         (helper_reset): New method for clearing our file descriptor
12         array.
13         (implSelect): Correctly calculate timeout if specified and
14         legal.
15         Intercept and deal with any java.io.InterruptedIOException
16         thrown by _Jv_select().
17
18 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
19
20         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
21         Most coded moved to pre_event_handler, with the modifications
22         mentioned below.
23         (pre_event_handler): New function.  Called on the Gtk "event" signal.
24         Do not retrieve the jobject from the window property as it is already
25         available as user data in the signal.
26         Do not try and find the grab widget as it is already done by Gtk at
27         this point.
28         Do not search for Window ancestor as Gtk already sends the signal to it.
29         Do not meddle with the activation state of peer widgets on each
30         key press or release.
31         Add CList to the special handling when looking for the focused widget.
32         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
33         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
34         New function.
35         (connectSignals): New function.
36         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
37         Rename to...
38         (connectSignals): New name.  Get rid of NewGlobalRef call.
39         Use g_signal_connect instead of deprecated gtk_signal_connect.
40         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
41         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
42         deprecated gtk_signal_connect.
43         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
44         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
45         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
46         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
47         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
48         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
49         function.
50         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
51         function.
52         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
53         function.
54         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
55         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
56         function.
57         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
58         function.
59         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
60         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
61         function.
62         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
63         function.
64         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
65         function.
66         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
67         code.
68         (item_select): Remove indirection.
69         (item_unselect): Ditto.
70         (connect_selectable_hook): Folded into connectSignals.
71         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
72         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
73         function.
74         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
75         function.
76         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
77         function.
78         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
79         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
80         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
81         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
82         function.
83         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
84         function.
85         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
86         connectJObject and connectSignals instead of connectHooks.
87         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
88         connectSignals.
89         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
90         and not connectHooks.
91         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
92         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
93         and not connectHooks.
94         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
95         connectSignals instead of connectHooks.
96         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
97         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
98         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
99
100 2003-12-09  Michael Koch  <konqueror@gmx.de>
101
102         * Makefile.am (nat_headers_install): New variable with header files to
103         install automatically.
104         (install-data-local): Install all headers listed in
105         nat_headers_install. Install innert nat headers explicitely.
106         * Makefile.in: Regenerated.
107
108 2003-12-09  Michael Koch  <konqueror@gmx.de>
109
110         * java/util/Calendar.java,
111         java/util/IdentityHashMap.java,
112         java/util/prefs/Preferences.java:
113         Import used classes explicitely.
114
115 2003-12-09  Michael Koch  <konqueror@gmx.de>
116
117         * java/net/DatagramSocket.java
118         (close): Directly return if socket is closed.
119         * java/net/ServerSocket.java
120         (close): Directly return if socket is closed.
121         * java/net/Socket.java
122         (close): Directly return if socket is closed.
123
124 2003-12-09  Michael Koch  <konqueror@gmx.de>
125
126         * gnu/java/nio/SelectorImpl.java
127         (implSelect): Throws IOException.
128         (select): Likewise.
129
130 2003-12-08  Kim Ho  <kho@redhat.com>
131
132         Fix for Checkbox states.
133         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
134         (currentState): New field.
135         (nativeCreate): Add initial state parameter.
136         (create): Changed to reflect new parameter.
137         (setState): Fire only on changed states.
138         (postItemEvent): Fire only on changed states. Also change the 
139         Java Checkbox to reflect new state.
140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
141         (nativeCreate): Add parameter and set active state.
142
143 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
144  
145         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
146         object of type expected by specified DataFlavor.
147
148 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
149  
150         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
151         error which was clipping off the first character of a parameter value.
152
153 2003-12-08  Olga Rodimina <rodimina@redhat.com>
154
155         * java/awt/Polygon.java
156         (translate): Fixed error that caused polygon 
157         to move right/left when up/down translation was required.
158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
159         (getSelectionStart): Initialized start position to 0. 
160         (getSelectionEnd): Initialized end position to 0.
161         (getCaretPosition): Initialized caret position to 0.
162         (getText): Initialized selected text to NULL 
163
164 2003-12-08  Michael Koch  <konqueror@gmx.de>
165
166         Fix for PR libgcj/13176.
167         * java/io/PrintStream.java: Partly revert my previous patches to get
168         (line_separator): New field.
169         (converter): New field.
170         (work): New field.
171         (work_bytes): New field.
172         (pw): Removed.
173         (closed): Removed.
174         (PrintStrean): Initialize converter and not pw.
175         (checkError): Flush always, pw doesn't exist anymore.
176         (close): Close underlying out stream.
177         (print): New method.
178         (writeChars): New method.
179         (print): Use new internal print method.
180         (println): Likewise.
181
182 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
183
184         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
185         putAllInternal.
186         (putAllInternal): Correct comment.
187         * java/util/HashMap.java (HashMap(Map)): As above.
188         (putAllInternal): As above.
189
190 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
191
192         * java/util/Hashtable.java (internalContainsValue): Removed.
193         (containsValue): Don't delegate to internalContainsValue.
194
195 2003-12-06  Michael Koch  <konqueror@gmx.de>
196
197         * javax/naming/directory/Attribute.java,
198         javax/naming/directory/Attributes.java,
199         javax/naming/directory/DirContext.java,
200         javax/naming/directory/InitialDirContext.java,
201         javax/naming/directory/SearchResult.java,
202         javax/naming/event/EventContext.java,
203         javax/naming/event/NamingEvent.java,
204         javax/naming/event/NamingExceptionEvent.java,
205         javax/naming/ldap/ControlFactory.java,
206         javax/naming/ldap/ExtendedRequest.java,
207         javax/naming/ldap/HasControls.java,
208         javax/naming/ldap/InitialLdapContext.java,
209         javax/naming/ldap/LdapContext.java,
210         javax/naming/ldap/LdapReferralException.java,
211         javax/naming/ldap/UnsolicitedNotification.java,
212         javax/naming/ldap/UnsolicitedNotificationListener.java,
213         javax/naming/spi/DirObjectFactory.java,
214         javax/naming/spi/DirStateFactory.java,
215         javax/naming/spi/DirectoryManager.java,
216         javax/naming/spi/NamingManager.java,
217         javax/naming/spi/ObjectFactoryBuilder.java,
218         javax/naming/spi/ResolveResult.java,
219         javax/naming/spi/Resolver.java,
220         javax/naming/spi/StateFactory.java:
221         Import used classes explicitely.
222
223 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
224
225         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
226         (clip): Removed field
227         (clipRectangles): New field.
228         (clone): Use new updateClip.
229         (setClipRectangles): Use new updateClip.
230         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
231
232 2003-12-04  Michael Koch  <konqueror@gmx.de>
233
234         * java/io/FilePermission.java:
235         Import used classes explicitely.
236
237 2003-12-04  Michael Koch  <konqueror@gmx.de>
238
239         * java/beans/BeanDescriptor.java,
240         java/beans/EventSetDescriptor.java,
241         java/beans/FeatureDescriptor.java,
242         java/beans/IndexedPropertyDescriptor.java,
243         java/beans/Introspector.java,
244         java/beans/MethodDescriptor.java,
245         java/beans/PropertyDescriptor.java,
246         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
247         * java/beans/beancontext/BeanContextServicesSupport.java
248         (serialVersionUID): New field.
249
250 2003-12-04  Michael Koch  <konqueror@gmx.de>
251
252         * java/awt/MenuComponent.java: Import java.io.Serialization.
253         * java/awt/MenuItem.java: Likewise.
254         * java/awt/TextComponent.java: Likewise.
255         * java/awt/image/ImagingOpException.java
256         (serialVersionUID): Fixed.
257
258 2003-12-04  Michael Koch  <konqueror@gmx.de>
259
260         * gnu/java/net/protocol/http/Connection.java
261         (sendRequest): Merged writing http headers with classpath.
262         (getInputStream): Merged documentation from classpath.
263         (getHeaderField): Likewise.
264         (getHeaderFieldKey): Likewise.
265
266 2003-12-04  Michael Koch  <konqueror@gmx.de>
267
268         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
269
270 2003-12-04  Michael Koch  <konqueror@gmx.de>
271
272         * java/net/DatagramPacket.java
273         (length): Made packge-private to make it accessible via CNI.
274         (maxlen): New field.
275         (DatagramPacket): Cleaned up.
276         (setSocketAddress): Add message to exception.
277         (setData): Call other setData().
278         (setData): Call setLength().
279         (setLength): Initialize maxlen too.
280         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
281         Get maximal length from maxlen field, set length field directly.
282         (receive): Likewise.
283         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
284         Get maximal length from maxlen field, set length field directly.
285         (receive): Likewise.
286
287 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
288
289         * gnu/java/nio/natSelectorImplPosix.cc
290         (implSelect): A timeout of 0 means an infinite
291         timeout.
292
293 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
294  
295         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
296         of ActionEvents.
297
298 2003-12-03  Michael Koch  <konqueror@gmx.de>
299
300         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
301         * java/lang/natClass.cc (getSigners): Likewise.
302         (setSigners): Likewise.
303
304 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
305
306         * configure.in: Added new MinGW-specific configure flag
307         --with-win32-nlsapi.
308         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
309         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
310         is set to unicows.
311         * configure: Rebuilt.
312         * include/config.h.in: Rebuilt.
313         * win32.cc (_Jv_Win32NewString): Implemented.
314         (nativeToUnicode): New helper function defined only for
315         non-UNICODE builds.
316         (unicodeToNative): Likewise.
317         (_Jv_Win32TempString): Implemented.
318         (lots): Refactored using tchar.h macros.
319         (WSAEventWrapper): Use _Jv_Win32NewString.
320         (_Jv_platform_initialize): Use GetModuleFileNameA instead
321         of GetModuleFileName.
322         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
323         Use temporary stack buffer instead of a heap buffer.
324         * include/win32.h
325         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
326         defined; added tchar.h include.
327         (_Jv_Win32TempString): Declared new helper class.
328         (JV_TEMP_STRING_WIN32): New helper macro.
329         (_Jv_Win32NewString): Declared new helper method.
330         * java/io/natFileDescriptorWin32.cc (open): Use
331         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
332         (write): Reformatted slightly.
333         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
334         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
335         (getCanonicalPath): Use _Jv_Win32NewString instead of
336         JvNewStringUTF.
337         (performList): Likewise.
338         * java/lang/natWin32Process.cc (ChildProcessPipe):
339         Use tchar.h macros.
340         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
341         and UNICODE environment flag for CreateProcess.
342         * java/net/natNetworkInterfaceWin32.cc
343         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
344         _Jv_Win32NewString.
345
346 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
347
348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
349         (initState): Mark obj parameter as unused.
350         (stringWidth): Mark obj parameter as unused.  Initialize
351         font_name properly.
352
353         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
354         BufferedImageBuilder class static.
355
356 2003-12-02  Mark Wielaard  <mark@klomp.org>
357
358         * java/security/Security.java: Don't use &nbsp; in the api doc.
359
360 2003-12-02  Dalibor Topic <robilad@kaffe.org>
361
362         Reported by: Jim Pick <jim@kaffe.org>
363         * libraries/javalib/java/util/Hashtable.java
364         (internalcontainsValue): New method.
365         (contains): Delegate to internalContainsValue.
366         
367         Reported by: Mark Wielaard  <mark@klomp.org>
368         * libraries/javalib/java/util/Hashtable.java
369         (contains): Improved comment.
370         
371         Reported by: Jeroen Frijters  <jeroen@frijters.net>
372         * libraries/javalib/java/util/Hashtable.java
373         (containsValue): Delegate to contains(Object) to make sure older
374         code overwriting it continues to work.
375
376 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
377
378         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
379         method. Handle mouse and key events that must generate
380         ActionEvents.
381         * java/awt/List.java (getSelectedIndex): Return -1
382         if no list element is selected.
383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
384         Correct handling of mouse and key events so that List receives them.
385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
386         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
387         multiple list elements. 
388
389 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
390
391         * java/text/SimpleDateFormat.java (compileFormat):
392         isLowerCase() and isUpperCase() allow too many characters.
393         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
394
395 2003-12-02  Dalibor Topic <robilad@kaffe.org>
396
397         * java/text/FieldPosition.java (equals): Fixed comment.
398
399 2003-12-02  Mark Wielaard  <mark@klomp.org>
400
401         Reported by Archie Cobbs:
402         * java/security/DigestInputStream.java (read(byte[], int, int): Call
403         digest.update() with temp, not len as lenght.
404
405 2003-12-02  Michael Koch  <konqueror@gmx.de>
406
407         * java/net/DatagramSocket.java
408         (close): Close associated DatagramChannel object.
409         * java/net/ServerSocket.java
410         * java/net/Socket.java
411         (close): Reset impl and bound before calling getChannel().close() to
412         prevent from loops.
413
414 2003-12-02  Michael Koch  <konqueror@gmx.de>
415
416         * java/nio/channels/spi/AbstractInterruptibleChannel.java
417         (opened): Removed.
418         (closed): New field.
419         (close): Check of channel is closed already.
420         (isOpen): Return !closed.
421
422 2003-12-02  Michael Koch  <konqueror@gmx.de>
423
424         * gnu/java/nio/DatagramChannelImpl.java
425         (blocking): Initialize with true by default.
426         * gnu/java/nio/ServerSocketChannelImpl.java
427         (serverSocket): Made private.
428         (blocking): Likewise.
429         (connected): Likewise.
430         * gnu/java/nio/SocketChannelImpl.java
431         (connectionPending): Made private.
432         * gnu/java/nio/FileLockImpl.java
433         (static): Load native library (needed for classpath).
434         * gnu/java/nio/SelectorImpl.java
435         (static): Load native library (needed for classpath).
436
437 2003-12-02  Michael Koch  <konqueror@gmx.de>
438
439         * gnu/java/net/protocol/file/Connection.java
440         (getLastModified): Implement for file connections.
441         (getContentLength): Likewise.
442
443 2003-12-02  Michael Koch  <konqueror@gmx.de>
444
445         * gnu/java/net/protocol/file/Connection.java:
446         Some reformating.
447         (file): Renamed from fileIn.
448         (getPermission): Moved around.
449
450 2003-12-02  Michael Koch  <konqueror@gmx.de>
451
452         * gnu/java/net/protocol/jar/Connection.java
453         (Connection): Made class final, merged documentation with classpath.
454         (file_cache): Made private.
455         (jar_file): Renamed from jarfile.
456
457 2003-12-02  Michael Koch  <konqueror@gmx.de>
458
459         * gnu/java/net/protocol/http/Connection.java
460         (Connection): Initialize doOutput to false;
461         (connect): Initialize inputStream, moved "send request" code to new
462         method.
463         (sendRequest): New method.
464         (getHttpHeaders): Don't reinitialize inputStream.
465
466 2003-12-02  Michael Koch  <konqueror@gmx.de>
467
468         * gnu/java/net/protocol//http/Connection.java
469         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
470         (requestProperties): Initialize, documentation added.
471         (inputStream): Renamed from bufferedIn.
472         (Connection): Dont initialize requestProperties.
473         (setDefaultRequestProperty): Removed.
474         (getDefaultRequestProperty): Removed.
475         (usingProxy): Documentation added.
476         (getHttpHeaders): Likewise.
477
478 2003-12-02  Michael Koch  <konqueror@gmx.de>
479
480         * java/text/DateFormat.java:
481         Explicitely import used classes.
482
483 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
484
485         * verify.cc (state::clean_subrs): Clear seen_subrs.
486         (state::copy): Walk seen_subrs from copy, not `this'.
487         Don't clear seen_subrs.
488
489 2003-12-01  Kim Ho <kho@redhat.com>
490
491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
492         Disable wrapping if TextArea has horizontal scroll bars.
493
494 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
495
496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
497         (awt_event_handler): Hard-code inset values.
498
499         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
500         Pass font name, not XLFD, to initState.
501         (stringWidth(String, int, String)): New method.
502         (stringWidth(String)): Call new stringWidth.
503         (getLeading): Always return 0.
504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
505         (initState): New Pango implementation.
506         (stringWidth): Likewise.
507
508 2003-12-01  Olga Rodimina <rodimina@redhat.com>
509
510         * java/awt/TextComponent.java:
511         (getSelectionStart): Updated javadocs.
512         (getSelectionEnd): Ditto.
513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
514         (getSelectionStart): Changed to return caret position if no
515         text is selected
516         (getSelectionEnd): Ditto.
517
518 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
519
520         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
521         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
522         gnu/awt/gtk/GtkContainerPeer.java,
523         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
524         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
525         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
526         gnu/awt/gtk/natGtkComponentPeer.cc,
527         gnu/awt/gtk/natGtkContainerPeer.cc,
528         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
529         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
530         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
531
532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
533         (closed): Mark loader parameter as unused.
534
535 2003-12-01  Michael Koch  <konqueror@gmx.de>
536
537         * gnu/java/net/protocol/http/Connection.java
538         (Connection): Merged class documentation.
539         (socket): Renamed from sock.
540         (Connection): Made protected, documentation added.
541         (connect): Give URL'S host instead of InetAddress to Socket
542         constructor.
543         (disconnect): Documentation added.
544         (getOutputStream): Rewrapped.
545
546 2003-12-01  Michael Koch  <konqueror@gmx.de>
547
548         * gnu/java/net/protocol/file/Connection.java
549         (fileIn): Documentation added.
550         (inputStream): Likewise.
551         (outputStream): Likewise.
552         (Connection): Likewise.
553         (connect): Simplified.
554
555 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
556
557         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
558         setProperties): Check that io is not null before calling
559         io.imageUpdate.
560         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
561         Update javadocs.
562         * java/awt/image/PixelGrabber.java: Fix implementation and
563         update javadocs.
564
565 2003-12-01  Michael Koch  <konqueror@gmx.de>
566
567         * gnu/java/net/natPlainSocketImplPosix.cc
568         bind(): Dont set SockedImpl.address field on succesful bind.
569         * gnu/java/net/natPlainSocketImplWin32.cc
570         bind(): Likewise.
571
572 2003-11-30  Jeff Sturm <jsturm@one-point.com>
573
574         * java/net/InetAddress.java:
575         (static): Don'f force DNS request for ANY_IF address.
576
577 2003-11-30  Michael Koch  <konqueror@gmx.de>
578
579         * java/net/InetAddress.java,
580         java/net/natInetAddressNoNet.cc,
581         java/net/natInetAddressPosix.cc,
582         java/net/natInetAddressWin32.cc:
583         Reverted my last patch.
584
585 2003-11-28  Michael Koch  <konqueror@gmx.de>
586
587         * java/net/InetAddress.java
588         (lookup): New method that doesnt lookup "0.0.0.0".
589         (ImplLookup): Renamed from lookup.
590         * java/net/natInetAddressNoNet.cc
591         (ImplLookup): Renamed from lookup.
592         * java/net/natInetAddressPosix.cc
593         (ImplLookup): Renamed from lookup.
594         * java/net/natInetAddressWin32.cc
595         (ImplLookup): Renamed from lookup.
596
597 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
598
599         * configure: Rebuilt.
600         * configure.in: Require gtk and glib 2.2.0.
601
602 2003-11-27  Dalibor Topic <robilad@kaffe.org>
603
604         * java/text/FieldPosition.java (equals): Adapted to handle
605         field_attribute. Added fast-circuit check for comparison to self.
606         Replaced use of instanceof by getClass to fix symmetry for derived
607         types.
608         (toString): Adapted to handle field_attribute. Improved readability.
609         (hashCode): New method.
610
611 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
612
613         * java/text/FieldPosition.java (field_attribute): New field.
614         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
615         getFieldAttribute): New methods.
616
617 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
618
619         * java/text/DecimalFormatSymbols.java (locale): New field.
620         (DecimalFormatSymbols (Locale)): Set locale.
621         (serialVersionOnStream): Upgraded to number 2.
622         (readObject): Assign locale if it wasn't by the serializer.
623
624 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
625
626         * java/text/FormatCharacterIterator.java: Documented the class and
627
628 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
629
630         * java/text/FormatCharacterIterator.java: Fixed some typos.
631
632 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
633
634         * java/text/NumberFormat.java:
635         (getIntegerInstance) Added the java version in the comments.
636
637 2003-11-27  Mark Wielaard  <mark@klomp.org>
638
639         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
640         (readResolve): Reformat.
641
642 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
643
644         * java/text/NumberFormat.java
645         (NumberFormat.Field): New implemented class to match Java 1.4. 
646         (getIntegerInstance): Two new Java 1.4 methods.o
647
648 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
649
650         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
651         the leap day of the leap year twice.
652         (computeFields): First week of month is 1 not 0.
653
654 2003-11-27  Mark Wielaard  <mark@klomp.org>
655
656         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
657         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
658
659 2003-11-27  Michael Koch  <konqueror@gmx.de>
660
661         * javax/swing/UIDefaults.java:
662         Reformated to match classpath's version.
663
664 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
665
666         * javax/swing/UIManager.java (getDefaults, getDimension,
667         getIcon, getInsets, getInstalledLookAndFeels, getInt,
668         getLookAndFeel, getString, getSystemLookAndFeelClassName):
669         Declare as public.
670
671 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
672
673         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
674         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
675         isSignificant): Likewise.
676
677 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
678
679         * javax/swing/undo/CompoundEdit.java: Re-format, document.
680         (inProgress): Set initial value to true.
681         (undo, redo, die, canUndo, canRedo): Also call inherited
682         implementation; simplify code structure.
683         (getPresentationName, getUndoPresentationName,
684         getRedoPresentationName): Make behavior dependent on lastEdit.
685         (addEdit, isSignificant): Completely re-written.
686
687 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
688
689         * javax/swing/undo/StateEdit.java: Re-format, document.
690         (undo, redo): Also call inherited implementation.
691
692 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
693
694         * javax/swing/undo/StateEditable.java: Re-format, document.
695
696 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
697
698         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
699         (AbstractUndoableEdit): Initialize hasBeenDone to true.
700         (canUndo, canRedo): Simplify.
701         (getUndoPresentationName, getRedoPresentationName): Support
702         localized message; call getPresentationName() only once.
703
704 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
705
706         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
707         (ZipFile(File,int)): Likewise.
708
709 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
710
711         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
712         (putAllInternal): Likewise.
713         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
714         (putAllInternal): Likewise.
715
716 2003-11-26  Michael Koch  <konqueror@gmx.de>
717
718         * java/net/URLStreamHandler.java
719         (parseURL): Added comment in catch statement.
720         (canonicalizeFilename): Add documentation.
721         (sameURL): Completed documentation.
722         (equals): Likewise.
723         (hostsEqual): Likewise.
724         (getDefaulPort): Likewise.
725         (hashCode): Likewise.
726         (toExternalForm): Likewise.
727         (getHostName): Fix empty hostname check, completed documentation.
728
729 2003-11-26  Tom Tromey  <tromey@redhat.com>
730
731         * java/lang/natDouble.cc (parseDouble): Reverted patch of
732         2003-11-13.
733
734 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
735             Mark Wielaard  <mark@klomp.org>
736
737         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
738         ('@' should be checked to distinguish port from userinfo).
739         (toExternalForm): Add @ userInfo if necessary.
740
741
742 2003-11-26  Michael Koch  <konqueror@gmx.de>
743
744         * java/net/DatagramSocket.java
745         (DategramSocket, bind): Moved binding code from DatagramSocket
746         constructor to bind method.
747
748 2003-11-26  Michael Koch  <konqueror@gmx.de>
749
750         * java/net/DatagramSocket.java
751         (impl): Made private.
752         (bound): New private member variable.
753         (DatagramSocket): Fixed documentation, use getImpl().
754         (getImpl): New package-private method.
755         (isClosed): Use getImpl().
756         (getLocalAddress): Completed documentation, use getImpl().
757         (getLocalPort): Use getImpl().
758         (getSoTimeout): Likewise.
759         (setSoTimeout): Likewise.
760         (getSendBufferSize): Likewise.
761         (setSendBufferSize): Likewise.
762         (getReceiveBufferSize): Likewise.
763         (setReceiveBufferSize): Likewise.
764         (connect): Likewise.
765         (disconnect): Likewise.
766         (receive): Likewise.
767         (send): Likewise.
768         (setReuseAddress): Likewise.
769         (setTrafficClass): Likewise.
770         (bind): Added message to exception.
771         (isClosed): Completed documentation.
772         (getChannel): Likewise.
773         (connect): Added missing exception, refined exception message.
774         (isBound): Completed documentation, just return bound.
775         (isConnected): Completed documentation.
776         (getRemoteSocketAddress): Likewise.
777         (getReuseAddress): Completed documentation, use getImpl().
778         (setSoBroadcast): Likewise.
779         (getSoBroadcast): Likewise.
780         (getTrafficClass): Likewise.
781         (getLocalSocketAddress): Simplified.
782         * java/net/MulticastSocket.java
783         (MulticastSocket): Removed comment not applying anymore.
784         (getInterface): Use getImpl().
785         (getTTL): Likewise.
786         (getTimeToLive): Likewise.
787         (setInterface): Likewise.
788         (setNetworkInterface): Likewise.
789         (getNetworkInterface): Likewise.
790         (setLoopback): Likewise.
791         (getLoopback): Likewise.
792         (setTTL): Likewise.
793         (setTimeToLive): Likewise.
794         (joinGroup): Likewise.
795         (leaveGroup): Likewise.
796         (send): Likewise.
797
798 2003-11-26  Michael Koch  <konqueror@gmx.de>
799
800         * java/net/Socket.java
801         (implCreated): Dont set default value explicitely, added
802         documentation.
803         (inputShutdown): Likewise.
804         (outputShutdown): Likewise.
805         (bound): New private member variable.
806         (bind): Set bound to true.
807         (close): Set bound to false.
808         (isBound): Return bound.
809         * java/net/ServerSocket.java
810         (bound): New private member variable.
811         (bind): Set bound to true.
812         (close): Set bound to false.
813         (isBound): Return bound.
814
815 2003-11-26  Michael Koch  <konqueror@gmx.de>
816
817         * java/net/URL.java
818         (URL): Fixed documentation to be HTML compliant.
819         (getContent): Completed documentation.
820         (getFile): Likewise.
821         (getPath): Likewise.
822         (getAuthority): Likewise.
823         (getHost): Likewise.
824         (getDefaultPort): Likewise.
825         (getProtocol): Likewise.
826         (hashCode): Likewise.
827         (openConnection): Likewise.
828         (openStream): Likewise.
829         (set): Likewise.
830         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
831
832 2003-11-26  Michael Koch  <konqueror@gmx.de>
833
834         * java/net/InetSocketAddress.java
835         (hostname): Made private, added documentation.
836         (addr): Likewise.
837         (port): Likewise.
838         (equals): Completed documentation.
839         (getAddress): Likewise.
840         (getHostName): Likewise.
841         (getPort): Likewise.
842         (hashCode): Likewise.
843         (isUnresolved): Likewise.
844         (toString): Likewise.
845
846 2003-11-26  Michael Koch  <konqueror@gmx.de>
847
848         * gnu/java/net/protocol/file/Handler.java
849         (Handler): New explicit constructor.
850         (openConnection): Added documentation.
851         * gnu/java/net/protocol/jar/Handler.java
852         (Handler): New explicit constructor.
853         (openConnection): Added documentation.
854
855 2003-11-26  Michael Koch  <konqueror@gmx.de>
856
857         * java/net/DatagramPacket.java
858         (DatagramPacket): Fixed documentation to become legal HTML.
859
860 2003-11-25  Michael Koch  <konqueror@gmx.de>
861
862         * gcj/javaprims.h: Added missing java.util.Currency.
863
864 2003-11-25  Michael Koch  <konqueror@gmx.de>
865
866         * testsuite/libjava.mauve/xfails:
867         Removed these two tests, they mystically pass now:
868         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
869         test_params failed - 5getInetAddress did not return proper values
870         (number 1)
871         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
872         test_BasicServer failed - 11 exception was thrown :Illegal seek
873         (number 1)
874
875 2003-11-25  Michael Koch  <konqueror@gmx.de>
876
877         * java/net/DatagramSocket.java
878         (factory): Made private.
879         (closed): Removed.
880         (DatagramSocket): Check impl argument, use constructor with
881         SocketAddress argument.
882         (close): Set impl to null, use isClosed().
883         (isClosed): Check for impl == null.
884         (getLocalAddress): Use isClosed().
885         (getLocalPort): Check if socket is closed.
886         (getSoTimeout): Likewise.
887         (setSoTimeout): Likewise.
888         (getSendBufferSize): Likewise.
889         (setSendBufferSize): Likewise.
890         (getReceiveBufferSize): Likewise.
891         (setReceiveBufferSize): Likewise.
892         (receive): Likewise.
893         (send): Likewise.
894         (bind): Likewise.
895         (connect): Likewise.
896         (setReuseAddress): Likewise.
897         (getReuseAddress): Likewise.
898         (setBroadcast): Likewise.
899         (getBroadcast): Likewise.
900         (setTrafficClass): Likewise.
901         (getTrafficClass): Likewise.
902         * java/net/MulticastSocket.java
903         (getInterface): Check if socket is closed.
904         (getTTL): Likewise.
905         (getTimeToLive): Likewise.
906         (setInterface): Likewise.
907         (setNetworkInterface): Likewise.
908         (getNetworkInterface): Likewise.
909         (setLoopbackMode): Likewise.
910         (setTTL): Likewise.
911         (setTimeToLive): Likewise.
912         (joinGroup): Likewise.
913         (leaveGroup): Likewise.
914         (send): Likewise.
915         * java/net/ServerSocket.java
916         (closed): Removed.
917         (close): Check if socket is closed, set impl to null.
918         (isClosed): Check impl == null;
919         (ServerSocket): Check impl argument.
920         (getInetAddress): Check if socket is bound.
921         (getLocalPort): Likewise.
922         (getLocalSocketAddress): Likewise.
923         (bind): Check if socket is closed.
924         (implAccept): Likewise.
925         (setSoTimeout): Likewise.
926         (getSoTimeout): Likewise.
927         (setReuseAddress): Likewise.
928         (getReuseAddress): Likewise.
929         (setReceiveBufferSize): Likewise.
930         (getReceiveBufferSize): Likewise.
931         (toString): Make output compliant to JDK 1.4.2.
932         * java/net/Socket.java
933         (closed): Removed.
934         (Socket): Fixed documentation.
935         (connect): Check if socket is closed, changed exception text,
936         fixed documentation.
937         (getInputStream): Check of socket is closed  and connected.
938         (getOutputStream): Likewise.
939         (bind): Check if socket is closed.
940         (setTcpNoDelay): Likewise.
941         (getTcpNoDelay): Likewise.
942         (setSoLinger): Likewise.
943         (getSoLinger): Likewise.
944         (sendUrgentData): Likewise.
945         (setOOBInline): Likewise.
946         (getOOBInline): Likewise.
947         (setSoTimeout): Likewise.
948         (getSoTimeout): Likewise.
949         (setSendBufferSize): Likewise.
950         (getSendBufferSize): Likewise.
951         (setReceiveBufferSize): Likewise.
952         (getReceiveBufferSize): Likewise.
953         (setKeepAlive): Likewise.
954         (getKeepAlive): Likewise.
955         (close): Likewise.
956         (shutdownInput): Likewise.
957         (shutdownOutput): Likewise.
958         (getReuseAddress): Likewise.
959         (getTrafficClass): Likewise.
960         (setTrafficClass): Likewise.
961         (isClosed): Check impl == null.
962         (toString): Added missing ']'.
963
964 2003-11-24  Tom Tromey  <tromey@redhat.com>
965
966         * Makefile.in: Rebuilt.
967         * Makefile.am (propdir): New macro.
968         (install-data-local): Install logging.properties.
969         (core_java_source_files): Added java.util.logging.*.
970         * java/util/logging/logging.properties: New file.
971
972 2003-11-25  Michael Koch  <konqueror@gmx.de>
973
974         * java/net/DatagramSocket.java
975         (DatagramSocket): Move binding code to bind(), simplify constructors.
976         * java/net/MulticastSocket.java
977         (MulticastSocket): Call parent constructor with null argument,
978         bind socket after setReuseAddress is called, simplify constructors.
979
980 2003-11-24  Michael Koch  <konqueror@gmx.de>
981
982         * javax/swing/BoxLayout.java
983         (serialVersionUIR): New member variable.
984         (X_AXIS, Y_AXIS): Documentation added.
985         (LINE_AXIS, PAGE_AXIS): New constants.
986         (grid): Renamed from gridbag.
987         (BoxLayout): Use new constants, throw exception if invalid value for
988         way, added documentation.
989         (BoxLayout): Removed.
990         (addLayoutComponent): Use new constants, added documentation.
991         (removeLayoutComponent): Likewise.
992         (addLayoutContainer): Added documentation.
993         (preferredLayoutSize): Added documentation, check given argument.
994         (minimumLayoutSize): Likewise.
995         (layoutContainer): Likewise.
996         (getLayoutAlignmentX): Likewise.
997         (getLayoutAlignmentY): Likewise.
998         (invalidateLayout): Likewise.
999         (maximumLayoutSize): Likewise.
1000
1001 2003-11-22  Michael Koch  <konqueror@gmx.de>
1002
1003         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1004         (peekData): Use offset and maximal free space in datagram packet.
1005         (receive): Likewise.
1006         (send): Use offset in datagram packet.
1007
1008 2003-11-22  Michael Koch  <konqueror@gmx.de>
1009
1010         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1011         (peekData): Use offset and maximal free space in datagram packet.
1012         (receive): Likewise.
1013         (send): Use offset in datagram packet.
1014
1015 2003-11-22  Michael Koch  <konqueror@gmx.de>
1016
1017         * gnu/java/nio/DatagramChannelImpl.java
1018         (getNativeFD): Use getPlainDatagramSocketImpl().
1019         * gnu/java/nio/NIODatagramSocket.java
1020         (getPlainDatagramSocketImpl): Renamed from getImpl().
1021         * gnu/java/nio/NIOSocket.java
1022         (getPlainSocketImpl): Renamed from getImpl().
1023         (setChannel): Use getPlainSocketImpl().
1024         * gnu/java/nio/SocketChannelImpl.java
1025         (SocketChannelImpl): Use getPlainSocketImpl().
1026         (getPlainSocketImpl): Renamed from getImpl().
1027         (getNativeFD): Use getPlainSocketImpl().
1028
1029 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1030
1031         * javax/swing/JLayeredPane.java: Implement.
1032         * javax/swing/JFrame.java (getContentPane): Make public
1033         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1034         Use JLayeredPane.FRAME_CONTENT_LAYER.
1035
1036 2003-11-21  Mark Wielaard  <mark@klomp.org>
1037
1038         * java/lang/Float.java (static): Removed.
1039
1040 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1041
1042         * java/awt/font/TextLayout.java: Implement simple layouts
1043         using attributed strings and glyph vectors.
1044
1045 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1046
1047         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1048         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1049         (GdkFontLineMetrics): New inner class.
1050         (getLineMetrics): Return new GdkFontLineMetrics.
1051         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1052         (layoutGlyphVector): Create GdkGlyphVector.
1053         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1054         (GdkGraphics2D): Initialize state via mathod calls.
1055         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1056         (cairoTranslate, cairoScale, cairoRotate): Remove.
1057         (various methods): use setTransform for special transform cases.
1058         (DrawState): New inner class.
1059         (stateSave): New method.
1060         (stateRestore): New method.
1061         (various methods): use stateSave, stateRestore.
1062         (getClipInDevSpace): New method.
1063         (clip, clipRect, setClip, getClip, getClipBounds): 
1064         Follow spec more closely.
1065         (getTransform): Return clone of transform.
1066         (setStroke): Set linewidth to passed width / 2.0.
1067         (setPaintMode): Set SrcOver rather than Xor.
1068         (setColor): Set paint to passed color.
1069         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1070         transform from image to user space.
1071         (drawRenderedImage, drawRenderableImage): Implement.
1072         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1073         Implement
1074         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1075         Implement.
1076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1077         Match changes to java side.
1078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1079         Release resources.
1080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1081         Don't use pango for metrics.
1082         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1083         New file.
1084
1085 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1086             Jim Pick  <jim@kaffe.org>
1087
1088         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1089         methods.
1090
1091 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1092
1093         * java/text/DecimalFormatSymbols.java (getCurrency,
1094         setCurrency): New methods.
1095
1096 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1097
1098         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1099         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1100         Describe how the implementation works.
1101
1102 2003-11-19  Michael Koch  <konqueror@gmx.de>
1103
1104         * java/net/Socket.java
1105         (implCreated): New variable that indicates created impl.
1106         (getImpl): New method.
1107         (toString): Return more SUN compliant string representation.
1108         (various): Use getImpl() instead of impl.
1109
1110 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1111
1112         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1113         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1114         flags.
1115
1116 2003-11-18  Tom Tromey  <tromey@redhat.com>
1117
1118         PR libgcj/13026:
1119         * verify.cc (state::copy): Only set local_changed if we're in a
1120         subroutine.  Correctly copy local variables which were modified
1121         by the subroutine.
1122         (push_jump_merge): Added more debugging output.
1123
1124         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1125         is null.
1126
1127 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1128
1129         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1130         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1131
1132 2003-11-16  Tom Tromey  <tromey@redhat.com>
1133
1134         PR libgcj/13062:
1135         * java/io/StreamTokenizer.java (commentChar): Clear other
1136         attributes for character.
1137         (quoteChar): Likewise.
1138
1139 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1140
1141         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1142         zero-length int arrays when layoutInfo is null.
1143         (getLayoutWeights): Return array of two zero-length double arrays when
1144         layoutInfo is null.
1145
1146 2003-11-13  Tom Tromey  <tromey@redhat.com>
1147
1148         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1149         JvGetStringUTFRegion.
1150         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1151         to JvGetStringUTFRegion.
1152         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1153         JvGetStringUTFRegion.
1154         * java/lang/natWin32Process.cc (startProcess): Pass length of
1155         string to JvGetStringUTFRegion.
1156         * java/lang/natClass.cc (forName): Pass length of string to
1157         JvGetStringUTFRegion.
1158         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1159         of string to JvGetStringUTFRegion.
1160         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1161         JvGetStringUTFRegion.
1162         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1163         to JvGetStringUTFRegion.
1164         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1165         string to JvGetStringUTFRegion.
1166
1167 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1168
1169         * gnu/java/nio/natSelectorImplPosix.cc
1170         (helper_put_filedescriptors): Change to static linkage.
1171         (helper_get_filedescriptors): Likewise.
1172
1173 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1174
1175         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1176         null check.
1177         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1178         * java/awt/Component.java (prepareImage): Likewise.
1179
1180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1181         Rename to nativeSetAlignment.
1182
1183 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1184
1185         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1186         (JNI_GetCreatedJavaVMs): Likewise.
1187         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1188         * include/jni.h (JNIIMPEXP): Remove definition
1189         and replace with...
1190         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1191         symbols,
1192         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1193
1194 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1195
1196         * Makefile.am: Add GdkPixbufDecoder.java and
1197         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1198         * Makefile.in: Regenerate.
1199         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1200         New constructor.
1201         (startProduction): Create ByteArrayInputStream when url and filename are
1202         null.
1203         (produce): Declare stream parameter as InputStream.
1204         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1205         as InputStream.
1206         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1207         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1208         (produce): Declare stream parameter as InputStream.
1209         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1210         if image is null.  Set image's observer before running PrepareImage
1211         thread.  Pass image to startProduction.
1212         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1213         source's member functions.
1214         (observer): New field.
1215         (setObserver): New method.
1216         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1217         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1218         new GtkImage.
1219         (prepareImage): Implement.
1220         * java/awt/Component.java: Add static fields incrementalDraw and
1221         redrawRate.
1222         (imageUpdate): Implement.
1223         (createImage): Call Toolkit's createImage if peer is null.
1224         (prepareImage): Throw NPE if image is null.
1225         * java/awt/MediaTracker.java: Fix return value.
1226
1227 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1228
1229         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1230         (create(String, float)): New method.
1231         (setText): Make native.
1232         (nativeSetAlignment): New method.
1233         (setAlignment): Call nativeSetAlignment.
1234         (getArgs): Remove method.
1235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1236         (find_fg_color_widget, find_bg_color_widget): New functions.
1237         (gtkWidgetSetForeground): Call find_fg_color_widget.
1238         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1239         prelight colors.
1240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1241         widget in event box.
1242         (setText, setAlignment): Implement new native methods.
1243
1244 2003-11-11  Michael Koch  <konqueror@gmx.de>
1245
1246         * java/awt/Font.java,
1247         java/awt/datatransfer/DataFlavor.java,
1248         java/math/BigInteger.java,
1249         java/net/Inet4Address.java,
1250         java/net/Inet6Address.java,
1251         java/rmi/MarshalledObject.java,
1252         java/rmi/server/RMIClassLoader.java,
1253         java/security/cert/CertStore.java,
1254         java/sql/Timestamp.java,
1255         java/text/SimpleDateFormat.java,
1256         javax/naming/CompoundName.java:
1257         Removed some redundant obj == null checks.
1258
1259 2003-11-11  Michael Koch  <konqueror@gmx.de>
1260
1261         * java/nio/ByteBuffer.java
1262         (equals): Remove redundant obj == null check.
1263
1264 2003-11-11  Michael Koch  <konqueror@gmx.de>
1265
1266         * gnu/java/nio/natPipeImpl.cc,
1267         gnu/java/nio/natSelectorImpl.cc: Removed
1268         * gnu/java/nio/natPipeImplEcos.cc,
1269         gnu/java/nio/natPipeImplPosix.cc,
1270         gnu/java/nio/natPipeImplWin32.cc,
1271         gnu/java/nio/natSelectorImplEcos.cc,
1272         gnu/java/nio/natSelectorImplPosix.cc,
1273         gnu/java/nio/natSelectorImplWin32.cc: New files
1274         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1275         gnu/java/nio/natSelectorImpl.cc
1276         * configure: Regenerated.
1277
1278 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1279
1280         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1281         if host is printed too and port was really given to URL.
1282
1283 2003-11-10  Gary Benson  <gbenson@redhat.com>
1284
1285         * java/sql/Timestamp.java (valueOf): Correctly handle
1286         nanoseconds.
1287
1288 2003-11-09  Tom Tromey  <tromey@redhat.com>
1289
1290         * java/net/Inet4Address.java (serialVersionUID): Updated.
1291
1292 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1293
1294         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1295         New fields.
1296
1297 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1298
1299         * java/io/ByteArrayOutputStream.java (resize):
1300         Fix off-by-one error.
1301
1302 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1303
1304         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1305         public.
1306
1307 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1308
1309         PR libgcj/12231
1310         * java/lang/Win32Process.java (hasExited) Changed from
1311         public to private.
1312         (startProcess): Likewise.
1313         (cleanup): Likewise.
1314         * java/lang/natWin32Process.cc (cleanup) Don't close
1315         input, output and error streams.
1316         (ChildProcessPipe): New helper class.
1317         (startProcess): Refactored to use ChildProcessPipe.
1318         Use CREATE_NO_WINDOW when launching child process.
1319
1320 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1321
1322         * include/win32.h (_Jv_platform_close_on_exec): Changed
1323         signature and declared extern.
1324         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1325         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1326         (create): Use new signature of _Jv_platform_close_on_exec.
1327         * gnu/java/net/natPlainSocketImplWin32.cc 
1328         (create): Eliminated a few typecasts
1329         Use new signature of _Jv_platform_close_on_exec.
1330         (accept): Eliminated a few typecasts
1331         Use new signature of _Jv_platform_close_on_exec.
1332         * java/io/natFileDescriptorWin32.cc (open): Use
1333         _Jv_platform_close_on_exec.
1334
1335 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1336
1337         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1338         if class has no null-argument constructor.
1339
1340 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1341
1342         PR libgcj/12647:
1343         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1344         refcount when releasing and reacquiring it.
1345
1346 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1347
1348         * win32.cc: (dirExists) Internal helper function to
1349         test for directory existence.
1350         (getUserHome) New helper function refactored out
1351         of _Jv_platform_initProperties. Uses USERPROFILE
1352         instead of HOMEDIR and attempts to support Win9X and NT.
1353         (_Jv_platform_initProperties) Use getUserHome.
1354
1355 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1356
1357         PR libgcj/11521:
1358         * gnu/java/net/natPlainSocketImplWin32.cc
1359         (bind): Don't use SO_REUSEADDR
1360
1361 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1362
1363         PR libgcj/6652:
1364         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1365
1366 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1367
1368         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1369         dispatch for final methods.
1370
1371 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1372
1373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1374         word wrapping.
1375
1376 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1377
1378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1379         scrolled window's size request.
1380
1381 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1382
1383         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1384         * java/awt/geom/QuadCurve2D.java: Likewise.
1385
1386 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1387
1388         * java/awt/geom/CubicCurve2D.java: Added documentation.
1389         * java/awt/geom/QuadCurve2D.java: Likewise.
1390
1391         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1392         java/awt/geom/doc-files/QuadCurve2D-5.png,
1393         java/awt/geom/doc-files/CubicCurve2D-4.png,
1394         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1395
1396 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1397
1398         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1399         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1400         (subdivide(double[],int,double[],int,double[],int)): Implement.
1401
1402 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1403
1404         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1405         java/awt/geom/doc-files/CubicCurve2D-2.png,
1406         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1407
1408 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1409
1410         * java/text/DecimalFormat.java
1411         (scanFormat) corrected so that '%' may appear in a pattern.
1412
1413 2003-10-29  Mark Wielaard  <mark@klomp.org>
1414
1415         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1416         * java/text/DateFormat.java (Field): New public static inner class.
1417         * java/text/Format.java (Field): Likewise.
1418         (formatToCharacterIterator): New method.
1419         * java/text/FormatCharacterIterator.java: New file.
1420
1421 2003-10-29  Mark Wielaard  <mark@klomp.org>
1422
1423         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1424         * java/util/Currency.java: New file.
1425
1426 2003-10-29  Michael Koch  <konqueror@gmx.de>
1427
1428         * Makefile.am (ordinary_java_source_files): Added
1429         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1430         * Makefile.in: Regenerated.
1431
1432 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1433
1434         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1435         static methods.
1436
1437 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1438
1439         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1440         getObjectInstance() with Object, Name, Context and environment
1441         Hashtable from exception. Call fillInStackTrace() on exception when
1442         rethrown.
1443         * javax/naming/InitialContext.java (lookup(Name)): When a
1444         CannotProceedException is thrown use the ContinuationContext.
1445         (lookup(String)): Likewise.
1446         (close): Clear myProps and defaultInitCtx.
1447
1448 2003-10-29  Michael Koch  <konqueror@gmx.de>
1449
1450         * java/net/InetAddress.java
1451         (equals): Remove redundant obj == null check.
1452         * java/net/SocketPermission.java
1453         (equals): Likewise.
1454         * java/net/URL.java
1455         (equals): Likewise.
1456         (getURLStreamHandler): Likewise.
1457
1458 2003-10-29  Michael Koch  <konqueror@gmx.de>
1459
1460         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1461         (setOption): Directly return if no error occured.
1462         * gnu/java/net/natPlainSocketImplPosix.cc
1463         (setOption): Likewise.
1464
1465 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1466
1467         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1468         vtable slot for final methods. Add FIXME comment.
1469
1470 2003-10-28  David S. Miller  <davem@redhat.com>
1471
1472         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1473
1474 2003-10-26  Mark Wielaard  <mark@klomp.org>
1475
1476         Reported by Helmer Kraemer <hkraemer@freenet.de>
1477         * java/util/jar/JarInputStream.java (readManifest): Don't call
1478         closeEntry().
1479
1480         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1481         (finish): Use inbufWrite().
1482         (write(int)): Likewise.
1483         (write(byte[],int,int)): Likewise.
1484
1485 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1486
1487         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1488         Don't check for AccessibleObject. Update javadocs.
1489         
1490         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1491
1492 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1493
1494         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1495         whitespace on constructor with no modifiers.
1496         * java/lang/reflect/natConstructor.java (newInstance): Look up
1497         caller and perform accessibility check only if constructor is
1498         non-public and accessible flag is not set.
1499
1500 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1501
1502         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1503         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1504         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1505         is_virtual_call argument.
1506         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1507         natClass.cc.
1508         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1509         _Jv_isVirtualMethod.
1510         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1511         _Jv_LookupDeclaredMethod.
1512         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1513         look up method in target object's vtable.
1514
1515 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1516
1517         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1518         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1519         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1520         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1521         New concrete implementation of ClasspathFontPeer, with native part.
1522         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1523         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1524         New class, with native part.
1525         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1526         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1527         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1528
1529 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1530
1531         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1532         on method with no modifiers.
1533
1534 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1535
1536         PR libgcj/11780:
1537         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1538         accessibility check only if target is non-public and accessible flag
1539         is not set.
1540         * java/lang/reflect/natField.cc (getAddr): Likewise.
1541
1542 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1543
1544         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1545         Remove method.
1546         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1547         New method.
1548         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1549         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1550         (dispose): Post WINDOW_CLOSED event.
1551         (addWindowFocusListener, addWindowStateListener): Assign result
1552         of multicaster add back to window listener.
1553         (removeWindowFocusListener, removeWindowStateListener): Assign
1554         result of multicaster remove back to window listener.
1555         (dispatchEventImpl): Add null checks for focus and state
1556         listeners.
1557         (processWindowEvent): Handle case where windowListener is null
1558         but state or focus listeners exist.
1559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1560         glue for postWindowEvent.
1561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1562         (window_delete_cb, window_destroy_cb, window_show_cb,
1563         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1564         window_get_new_state): New functions.
1565         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1566         macros.  Declare postWindowEventID.
1567
1568 2003-10-24  Anthony Green  <green@redhat.com>
1569
1570         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1571         we have no interpreter.
1572
1573 2003-10-22  Andrew Haley  <aph@redhat.com>
1574
1575         * java/lang/natClass.cc (initializeClass): Call
1576         _Jv_linkExceptionClassTable.
1577         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1578         _Jv_Defer_Resolution on a method whose ncode is NULL.
1579         (_Jv_linkExceptionClassTable): New function.
1580         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1581         entry, look it up.
1582         * java/lang/Class.h (struct _Jv_CatchClass): New.
1583         (_Jv_linkExceptionClassTable): New friend.
1584         (_Jv_Defer_Resolution): New friend.
1585         (class Class.catch_classes): New field.
1586         * include/java-interp.h (Jv_Defer_Resolution): New method.
1587         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1588         (_Jv_MethodBase.deferred): New field.
1589         (_Jv_Defer_Resolution): New function.
1590         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1591         * exception.cc (get_ttype_entry): Change return type to void**.
1592         (PERSONALITY_FUNCTION): Remove all code related to using a
1593         Utf8Const* for a match type.  Change match type to be a pointer to
1594         a pointer, rather than a pointer to a Class.
1595         * defineclass.cc (handleCodeAttribute): Initialize
1596         method->deferred.
1597         (handleMethodsEnd): Likewise.
1598
1599 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1600
1601         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1602         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1603
1604 2003-10-22  Tom Tromey  <tromey@redhat.com>
1605
1606         PR libgcj/12416:
1607         * java/lang/Class.h: Updated.
1608         * java/lang/natClass.cc (_getFields): Removed.
1609         (getFields): Likewise.
1610         (getDeclaredFields): Added `public_only' parameter.
1611         * java/lang/Class.java (getFields): Now implemented in java; from
1612         Classpath.
1613         (getDeclaredFields): Likewise.
1614         (getDeclaredFields(boolean)): Declare.
1615         (_getFields): Removed.
1616         (internalGetFields): New method, from Classpath.
1617
1618         PR libgcj/12656:
1619         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1620         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1621
1622 2003-10-22  David Daney  <ddaney@avtrex.com)
1623
1624         * include/mips-signal.h: New file.
1625         * sysdep/dwarf2-backtrace.cc: New file.
1626         * sysdep/mips: New directory.
1627         * sysdep/mips/locks.h: New file.
1628         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1629         added to libgcj.
1630         (extra_cc_source_files): Ditto.
1631         * configure.host(disable_dladdr):  New shell variable passed to
1632         configure.
1633         (mips*-*-linux*): sysdeps_dir=mips,
1634         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1635         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1636         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1637         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1638         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1639         (EXTRA_CC_FILES): New, to support conditional addition of
1640         sysdep/dwarf2-backtrace.cc.
1641         * configure: Regenerated.
1642         * Makefile.in: Regenerated.
1643         * gcj/Makefile.in: Regenerated.
1644         * include/config.h.in: Regenerated.
1645         * include/Makefile.in: Regenerated.
1646         * testsuite/Makefile.in: Regenerated.
1647         
1648 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1649
1650         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1651         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1652
1653 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1654
1655         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1656         * java/awt/geom/doc-files: New directory.
1657         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1658         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1659         
1660 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1661
1662         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1663
1664 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1665
1666         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1667
1668 2003-10-22  Michael Koch  <konqueror@gmx.de>
1669
1670         * java/io/File.java
1671         (equals): Removed redundant obj == null check.
1672         (createTempFile): Merged comments from classpath.
1673
1674 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1675
1676         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1677         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1678         (error): Synchronize on instance, not class.
1679
1680 2003-10-21  Mark Wielaard  <mark@klomp.org>
1681
1682         Reported by M.Negovanovic
1683         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1684         method.
1685         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1686
1687 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1688
1689         Fix for Classpath bug #6076.
1690         * java/awt/geom/GeneralPath.java (append): Re-written.
1691
1692 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1693
1694         Fix for Classpath bug #6089.
1695         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1696         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1697
1698 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1699
1700         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1701         point, not start of subpath.  Fixes Classpath bug #6075.
1702
1703 2003-10-21  Michael Koch  <konqueror@gmx.de>
1704
1705         * java/nio/ByteOrder.java,
1706         java/nio/DirectByteBufferImpl.java,
1707         java/nio/channels/FileChannelImpl.java:
1708         Add code to load library with code for native methods if needed.
1709
1710 2003-10-21  Michael Koch  <konqueror@gmx.de>
1711
1712         * gnu/java/net/PlainDatagramSocketImpl.java,
1713         gnu/java/net/PlainSocketImpl.java,
1714         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1715         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1716         gnu/java/net/natPlainSocketImplPosix.cc,
1717         gnu/java/net/natPlainSocketImplWin32.cc:
1718         Renamed fnum to native_fd to match classpath more.
1719
1720 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1721
1722         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1723         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1724         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1725         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1726         _Jv_PthreadCheckMonitor.  Simplify code.
1727         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1728         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1729         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1730         * java/lang/Thread.java (holdsLock): New.
1731         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1732         without JV_HASH_SYNCHRONIZATION.
1733         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1734
1735 2003-10-20  Michael Koch  <konqueror@gmx.de>
1736
1737         * java/text/RuleBasedCollator.java
1738         (RuleBasedCollator): Check rules not empty, fixed search in already
1739         existing collation elements.
1740         (is_special): Removed common whitespace characters.
1741         (text_argument): Dont return on whitespaces, add characters between
1742         two ' to string buffer.
1743
1744 2003-10-18  Michael Koch  <konqueror@gmx.de>
1745
1746         * gnu/java/net/protocol/file/Connection.java,
1747         gnu/java/net/protocol/file/Handler.java,
1748         gnu/java/net/protocol/http/Connection.java,
1749         gnu/java/net/protocol/http/Handler.java,
1750         gnu/java/net/protocol/jar/Connection.java,
1751         gnu/java/net/protocol/jar/Handler.java:
1752         Merged copyright text from classpath to make
1753         it possible to merge the classes.
1754
1755 2003-10-18  Mark Wielaard  <mark@klomp.org>
1756
1757         Reported by M.Negovanovic
1758         * java/beans/IndexedPropertyDescriptor.java
1759         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1760
1761 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1762
1763         * win32.cc (_Jv_pipe): Implemented.
1764         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1765         _Jv_pipe instead of ::pipe.
1766         * include/posix.h (_Jv_pipe): New inline.
1767         * include/win32.h (_Jv_pipe): New declaration.
1768         
1769 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1770
1771         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1772         (append, substring, insert): Likewise.
1773         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1774         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1775         
1776 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1777
1778         * java/lang/natString.cc (getChars):
1779         Fix validation of array indexes.
1780         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1781         * testsuite/libjava.lang/String_overflow.java: New file.
1782         * testsuite/libjava.lang/String_overflow.out: New file.
1783
1784 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1785
1786         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1787         overflow a jint.
1788         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1789         check for overflowing size_t, since the lower level functions
1790         take a jint.
1791         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1792         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1793         
1794 2003-10-15  Michael Koch  <konqueror@gmx.de>
1795
1796         * java/text/RuleBasedCollator.java
1797         (RuleBasedCollator): Moved around, documentation added.
1798         (compare): Documentation added.
1799         (equals): Likewise.
1800         (getCollationElementIterator): Likewise.
1801         (getCollationKey): Likewise.
1802         (getRules): Likewise.
1803         (hashCode): Likewise.
1804
1805 2003-10-15  Michael Koch  <konqueror@gmx.de>
1806
1807         * java/text/RuleBasedCollator.java
1808         (CollationElement): Renamed from RBCElement and moved into
1809         RuledBasedCollator as inner class.
1810
1811 2003-10-15  Michael Koch  <konqueror@gmx.de>
1812
1813         * java/text/CollationElementIterator.java
1814         (CollationElementIterator): Moved, documenatation added, call setText.
1815         (next): Reformated.
1816         (reset): Reformated.
1817         (setText): New method.
1818         (getOffset): New method.
1819         * java/text/CollationKey.java
1820         (getSourceString): Reformated.
1821         (hashCode): Reformated.
1822         (toByteArray): Reformated.
1823
1824 2003-10-15  Michael Koch  <konqueror@gmx.de>
1825
1826         * java/util/zip/InflaterInputStream.java
1827         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1828         added description to exception, check for inf == null and size < 0.
1829
1830 2003-10-15  Michael Koch  <konqueror@gmx.de>
1831
1832         * java/text/AttributedCharacterIterator.java,
1833         java/text/CharacterIterator.java: Reformated.
1834
1835 2003-10-15  Michael Koch  <konqueror@gmx.de>
1836
1837         * javax/swing/UIDefaults.java (putDefaults):
1838         Readded accidently removed "public" modifier.
1839
1840 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1841
1842         * interpret.cc (_Jv_InterpMethod::run): Don't
1843         use libffi types, they were meant to be internal.
1844         * gcj/javaprims.h (_Jv_ulong): New typedef.
1845
1846 2003-10-13  Tom Tromey  <tromey@redhat.com>
1847
1848         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1849         (defineClass): Updated.
1850         (_Jv_NewClass): Likewise.
1851         * prims.cc (_Jv_InitPrimClass): Don't call
1852         _Jv_InitNewClassFields.
1853
1854 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1855
1856         PR libgcj/12592
1857         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1858         not just \n.
1859
1860 2003-10-13  Michael Koch  <konqueror@gmx.de>
1861
1862         * java/io/File.java: Reformated.
1863         (equals): Check for obj == null.
1864
1865 2003-10-13  Michael Koch  <konqueror@gmx.de>
1866
1867         * java/net/JarURLConnection.java
1868         (jarFileURL): Added dcoumentation.
1869         (jarFileURLConnection): Reformated documentation.
1870         (entryName): Renamed from "element", documentation rewritten.
1871         (connectionCache): Renamed from "conn_cache", documentation
1872         reformated.
1873         (JarURLConnection): Check URL protocol.
1874         (getEntryName): Use entryName.
1875         (connect): Use connectionCache.
1876         (getInputStream): Use entryName, fixed comment.
1877         (getJarEntry): Use entryName.
1878         (getHeaders): Use entryName.
1879         * java/net/URLConnection.java
1880         (addRequestProperty): Fixed documentation.
1881         (setDefaultRequestProptery): Added comment that it does nothing since
1882         JDK 1.3.
1883         (getDefaultRequestProperty): Likewise.
1884
1885 2003-10-13  Michael Koch  <konqueror@gmx.de>
1886
1887         * java/net/java/net/URLStreamHandlerFactory.java
1888         (createURLStreamHandler): Removed redundant "public" modifier.
1889         * java/sql/DatabaseMetaData.java:
1890         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1891         * java/sql/ParameterMetaData.java:
1892         (ParameterMetaData): Readded accidently removed "public" modifier.
1893         * java/sql/PreparedStatement.java:
1894         (PreparedStatement): Readded accidently removed "public" modifier.
1895         * java/sql/Ref.java:
1896         (Ref): Readded accidently removed "public" modifier.
1897
1898 2003-10-13  Michael Koch  <konqueror@gmx.de>
1899
1900         * java/nio/Buffer.java
1901         (hasRemaining): Made implementation more clear.
1902         * java/nio/MappedByteBuffer.java
1903         (loaded): New member variable.
1904         (force): Added comment.
1905         (isLoaded): Return value of loaded.
1906         (load): Set loaded to true, added comment.
1907
1908 2003-10-12  Michael Koch  <konqueror@gmx.de>
1909
1910         * gnu/java/nio/PipeImpl.java
1911         (SourceChannelImpl): New inner class.
1912         (SinkChannelImpl): New inner class.
1913         (sink): New member variable.
1914         (source): New member variable.
1915         (PipeImpl): Add SelectorProvider argument, implemented.
1916         (nativeInit): New method.
1917         (sink): Return sink channel.
1918         (source): Return source channel.
1919         * gnu/java/nio/SelectorProviderImpl.java
1920         (openPipe): Give provider as argument to PipeImpl constructor.
1921         * java/nio/channels/spi/SelectorProvider.java
1922         (pr): Removed.
1923         (systemDefaultProvider): New member variable.
1924         (provider): Made it synchronized, use property
1925         java.nio.channels.spi.SelectorProvider.
1926         * gnu/java/nio/natPipeImpl.cc: New file.
1927         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1928         * Makefile.in: Regenerated.
1929
1930 2003-10-12  Michael Koch  <konqueror@gmx.de>
1931
1932         * javax/swing/table/DefaultTableModel.java,
1933         javax/swing/table/TableCellEditor.java,
1934         javax/swing/table/TableCellRenderer.java,
1935         javax/swing/table/TableColumnModel.java,
1936         javax/swing/table/TableModel.java,
1937         javax/swing/text/AbstractDocument.java,
1938         javax/swing/text/Document.java,
1939         javax/swing/text/MutableAttributeSet.java,
1940         javax/swing/text/StyledDocument.java,
1941         javax/swing/text/ViewFactory.java,
1942         javax/swing/tree/DefaultMutableTreeNode.java,
1943         javax/swing/tree/MutableTreeNode.java,
1944         javax/swing/tree/RowMapper.java,
1945         javax/swing/tree/TreeCellEditor.java,
1946         javax/swing/tree/TreeCellRenderer.java,
1947         javax/swing/tree/TreeModel.java,
1948         javax/swing/tree/TreeNode.java,
1949         javax/swing/tree/TreeSelectionModel.java,
1950         javax/swing/undo/StateEditable.java,
1951         javax/swing/undo/UndoableEdit.java:
1952         Removed redundant modifiers.
1953
1954 2003-10-12  Michael Koch  <konqueror@gmx.de>
1955
1956         * javax/swing/event/AncestorListener.java,
1957         javax/swing/event/CaretListener.java,
1958         javax/swing/event/CellEditorListener.java,
1959         javax/swing/event/ChangeListener.java,
1960         javax/swing/event/DocumentEvent.java,
1961         javax/swing/event/DocumentListener.java,
1962         javax/swing/event/HyperlinkListener.java,
1963         javax/swing/event/InternalFrameListener.java,
1964         javax/swing/event/ListDataListener.java,
1965         javax/swing/event/ListSelectionListener.java,
1966         javax/swing/event/MenuDragMouseListener.java,
1967         javax/swing/event/MenuKeyListener.java,
1968         javax/swing/event/MenuListener.java,
1969         javax/swing/event/MouseInputListener.java,
1970         javax/swing/event/PopupMenuListener.java,
1971         javax/swing/event/TableColumnModelListener.java,
1972         javax/swing/event/TableModelListener.java,
1973         javax/swing/event/TreeExpansionListener.java,
1974         javax/swing/event/TreeModelListener.java,
1975         javax/swing/event/TreeSelectionListener.java,
1976         javax/swing/event/TreeWillExpandListener.java,
1977         javax/swing/event/UndoableEditListener.java,
1978         javax/swing/plaf/UIResource.java,
1979         javax/swing/plaf/metal/MetalLookAndFeel.java:
1980         Removed redundant modifiers.
1981
1982 2003-10-12  Michael Koch  <konqueror@gmx.de>
1983
1984         * javax/swing/Action.java,
1985         javax/swing/BoundedRangeModel.java,
1986         javax/swing/CellEditor.java,
1987         javax/swing/ComboBoxEditor.java,
1988         javax/swing/ComboBoxModel.java,
1989         javax/swing/DesktopManager.java,
1990         javax/swing/JComboBox.java,
1991         javax/swing/ListCellRenderer.java,
1992         javax/swing/ListSelectionModel.java,
1993         javax/swing/MenuElement.java,
1994         javax/swing/MutableComboBoxModel.java,
1995         javax/swing/Renderer.java,
1996         javax/swing/RootPaneContainer.java,
1997         javax/swing/ScrollPaneConstants.java,
1998         javax/swing/SingleSelectionModel.java,
1999         javax/swing/SpinnerModel.java,
2000         javax/swing/SwingConstants.java,
2001         javax/swing/UIDefaults.java,
2002         javax/swing/WindowConstants.java,
2003         javax/swing/border/Border.java,
2004         javax/swing/colorchooser/ColorSelectionModel.java:
2005         Removed redundant modifiers.
2006
2007 2003-10-11  Michael Koch  <konqueror@gmx.de>
2008
2009         * javax/transaction/Status.java,
2010         javax/transaction/Synchronization.java,
2011         javax/transaction/Transaction.java,
2012         javax/transaction/TransactionManager.java,
2013         javax/transaction/UserTransaction.java,
2014         javax/transaction/xa/XAResource.java,
2015         javax/transaction/xa/Xid.java:
2016         Removing redundant modifiers.
2017
2018 2003-10-11  Michael Koch  <konqueror@gmx.de>
2019
2020         * javax/print/attribute/Attribute.java,
2021         javax/print/attribute/AttributeSet.java,
2022         javax/print/attribute/PrintRequestAttributeSet.java:
2023         Removing redundant modifiers.
2024
2025 2003-10-11  Michael Koch  <konqueror@gmx.de>
2026
2027         * javax/sql/ConnectionEventListener.java,
2028         javax/sql/ConnectionPoolDataSource.java,
2029         javax/sql/DataSource.java,
2030         javax/sql/PooledConnection.java,
2031         javax/sql/RowSet.java,
2032         javax/sql/RowSetInternal.java,
2033         javax/sql/RowSetListener.java,
2034         javax/sql/RowSetMetaData.java,
2035         javax/sql/RowSetReader.java,
2036         javax/sql/RowSetWriter.java,
2037         javax/sql/XAConnection.java,
2038         javax/sql/XADataSource.java:
2039         Removing redundant modifiers.
2040
2041 2003-10-11  Michael Koch  <konqueror@gmx.de>
2042
2043         * javax/naming/Context.java,
2044         javax/naming/Name.java,
2045         javax/naming/NameParser.java,
2046         javax/naming/NamingEnumeration.java,
2047         javax/naming/Referenceable.java,
2048         javax/naming/directory/Attribute.java,
2049         javax/naming/directory/Attributes.java,
2050         javax/naming/directory/DirContext.java,
2051         javax/naming/event/EventContext.java,
2052         javax/naming/event/EventDirContext.java,
2053         javax/naming/event/NamespaceChangeListener.java,
2054         javax/naming/event/NamingListener.java,
2055         javax/naming/event/ObjectChangeListener.java,
2056         javax/naming/ldap/Control.java,
2057         javax/naming/ldap/ExtendedRequest.java,
2058         javax/naming/ldap/ExtendedResponse.java,
2059         javax/naming/ldap/HasControls.java,
2060         javax/naming/ldap/LdapContext.java,
2061         javax/naming/ldap/UnsolicitedNotification.java,
2062         javax/naming/ldap/UnsolicitedNotificationListener.java,
2063         javax/naming/spi/DirObjectFactory.java,
2064         javax/naming/spi/DirStateFactory.java,
2065         javax/naming/spi/InitialContextFactory.java,
2066         javax/naming/spi/InitialContextFactoryBuilder.java,
2067         javax/naming/spi/ObjectFactory.java,
2068         javax/naming/spi/ObjectFactoryBuilder.java,
2069         javax/naming/spi/Resolver.java,
2070         javax/naming/spi/StateFactory.java:
2071         Removing redundant modifiers.
2072
2073 2003-10-11  Michael Koch  <konqueror@gmx.de>
2074
2075         * java/security/Key.java,
2076         * java/security/PrivateKey.java,
2077         * java/security/PublicKey.java,
2078         * java/security/acl/Acl.java,
2079         * java/security/acl/AclEntry.java,
2080         * java/security/acl/Group.java,
2081         * java/security/acl/Owner.java,
2082         * java/security/acl/Permission.java,
2083         * java/security/cert/X509Extension.java,
2084         * java/security/interfaces/DSAKey.java,
2085         * java/security/interfaces/DSAKeyPairGenerator.java,
2086         * java/security/interfaces/DSAParams.java,
2087         * java/security/interfaces/DSAPrivateKey.java,
2088         * java/security/interfaces/DSAPublicKey.java,
2089         * java/security/interfaces/RSAKey.java,
2090         * java/security/interfaces/RSAPrivateCrtKey.java,
2091         * java/security/interfaces/RSAPrivateKey.java,
2092         * java/security/interfaces/RSAPublicKey.java:
2093         Removed redundant modifiers.
2094
2095 2003-10-11  Michael Koch  <konqueror@gmx.de>
2096
2097         * gnu/java/rmi/server/ProtocolConstants.java,
2098         gnu/java/security/der/DER.java:
2099         Removing redundant modifiers.
2100
2101 2003-10-11  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/util/Map.java,
2104         java/util/Observer.java,
2105         java/util/zip/Checksum.java,
2106         java/util/zip/ZipConstants.java:
2107         Removed redundant modifiers.
2108
2109 2003-10-11  Michael Koch  <konqueror@gmx.de>
2110
2111         * java/text/AttributedCharacterIterator.java,
2112         java/text/CharacterIterator.java:
2113         Removed redundant modifiers.
2114
2115 2003-10-11  Michael Koch  <konqueror@gmx.de>
2116
2117         * java/sql/Array.java,
2118         java/sql/Blob.java,
2119         java/sql/CallableStatement.java,
2120         java/sql/Clob.java,
2121         java/sql/Connection.java,
2122         java/sql/DatabaseMetaData.java,
2123         java/sql/Driver.java,
2124         java/sql/ParameterMetaData.java,
2125         java/sql/PreparedStatement.java,
2126         java/sql/Ref.java,
2127         java/sql/ResultSet.java,
2128         java/sql/ResultSetMetaData.java,
2129         java/sql/SQLData.java,
2130         java/sql/SQLInput.java,
2131         java/sql/SQLOutput.java,
2132         java/sql/Savepoint.java,
2133         java/sql/Statement.java,
2134         java/sql/Struct.java:
2135         Removed redundant modifiers.
2136
2137 2003-10-11  Michael Koch  <konqueror@gmx.de>
2138
2139         * java/nio/channels/Channel.java,
2140         java/nio/channels/GatheringByteChannel.java,
2141         java/nio/channels/ReadableByteChannel.java,
2142         java/nio/channels/ScatteringByteChannel.java,
2143         java/nio/channels/WritableByteChannel.java:
2144         Removed redundant modifiers.
2145
2146 2003-10-11  Michael Koch  <konqueror@gmx.de>
2147
2148         * java/rmi/activation/ActivationInstantiator.java,
2149         java/rmi/activation/ActivationMonitor.java,
2150         java/rmi/activation/ActivationSystem.java,
2151         java/rmi/activation/Activator.java,
2152         java/rmi/dgc/DGC.java,
2153         java/rmi/registry/Registry.java,
2154         java/rmi/registry/RegistryHandler.java,
2155         java/rmi/server/LoaderHandler.java,
2156         java/rmi/server/RMIClientSocketFactory.java,
2157         java/rmi/server/RMIFailureHandler.java,
2158         java/rmi/server/RMIServerSocketFactory.java,
2159         java/rmi/server/RemoteCall.java,
2160         java/rmi/server/RemoteRef.java,
2161         java/rmi/server/ServerRef.java,
2162         java/rmi/server/Skeleton.java,
2163         java/rmi/server/Unreferenced.java:
2164         Removed redundant modifiers.
2165
2166 2003-10-11  Michael Koch  <konqueror@gmx.de>
2167
2168         * java/net/ContentHandlerFactory.java,
2169         java/net/DatagramSocketImplFactory.java,
2170         java/net/FileNameMap.java,
2171         java/net/SocketImplFactory.java,
2172         java/net/SocketOptions.java,
2173         java/net/URLStreamHandlerFactory.java:
2174         Removed redundant modifiers.
2175
2176 2003-10-11  Michael Koch  <konqueror@gmx.de>
2177
2178         * java/io/Externalizable.java,
2179         java/io/FileFilter.java,
2180         java/io/FilePermission.java,
2181         java/io/ObjectInput.java,
2182         java/io/ObjectInputValidation.java,
2183         java/io/ObjectOutput.java,
2184         java/io/ObjectStreamClass.java,
2185         java/io/ObjectStreamConstants.java,
2186         java/io/Serializable.java:
2187         Removed redundant modifiers.
2188
2189 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2190
2191         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2192         codebase and context classloader.
2193
2194 2003-10-11  Michael Koch  <konqueror@gmx.de>
2195
2196         * java/beans/beancontext/BeanContext.java,
2197         java/beans/beancontext/BeanContextChild.java,
2198         java/beans/beancontext/BeanContextChildComponentProxy.java,
2199         java/beans/beancontext/BeanContextChildSupport.java,
2200         java/beans/beancontext/BeanContextContainerProxy.java,
2201         java/beans/beancontext/BeanContextMembershipListener.java,
2202         java/beans/beancontext/BeanContextProxy.java,
2203         java/beans/beancontext/BeanContextServiceProvider.java,
2204         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2205         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2206         java/beans/beancontext/BeanContextServices.java,
2207         java/beans/beancontext/BeanContextServicesListener.java:
2208         Removed redundant modifiers.
2209
2210 2003-10-11  Michael Koch  <konqueror@gmx.de>
2211
2212         * java/beans/AppletInitializer.java,
2213         java/beans/BeanInfo.java,
2214         java/beans/Customizer.java,
2215         java/beans/DesignMode.java,
2216         java/beans/PropertyEditor.java,
2217         java/beans/Visibility.java:
2218         Removed redundant modifiers.
2219
2220 2003-10-11  Michael Koch  <konqueror@gmx.de>
2221
2222         * java/awt/print/Pageable.java,
2223         * java/awt/print/Printable.java,
2224         java/awt/print/PrinterGraphics.java:
2225         Removed redundant modifiers.
2226
2227 2003-10-11  Michael Koch  <konqueror@gmx.de>
2228
2229         * java/awt/peer/ButtonPeer.java,
2230         java/awt/peer/CheckboxMenuItemPeer.java,
2231         java/awt/peer/CheckboxPeer.java,
2232         java/awt/peer/ChoicePeer.java,
2233         java/awt/peer/ComponentPeer.java,
2234         java/awt/peer/ContainerPeer.java,
2235         java/awt/peer/DialogPeer.java,
2236         java/awt/peer/FileDialogPeer.java,
2237         java/awt/peer/FramePeer.java,
2238         java/awt/peer/LabelPeer.java,
2239         java/awt/peer/ListPeer.java,
2240         java/awt/peer/MenuBarPeer.java,
2241         java/awt/peer/MenuComponentPeer.java,
2242         java/awt/peer/MenuItemPeer.java,
2243         java/awt/peer/MenuPeer.java,
2244         java/awt/peer/PopupMenuPeer.java,
2245         java/awt/peer/RobotPeer.java,
2246         java/awt/peer/ScrollPanePeer.java,
2247         java/awt/peer/ScrollbarPeer.java,
2248         java/awt/peer/TextAreaPeer.java,
2249         java/awt/peer/TextComponentPeer.java,
2250         java/awt/peer/TextFieldPeer.java,
2251         java/awt/peer/WindowPeer.java:
2252         Removed redundant modifiers.
2253
2254 2003-10-11  Michael Koch  <konqueror@gmx.de>
2255
2256         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2257         * gnu/java/nio/ServerSocketChannelImpl.java
2258         (serverSocket): Made it a NIOServerSocket.
2259         (impl): Removed.
2260         (ServerSocketChannelImpl): Initialize only serverSocket.
2261         (initServerSocket): Removed.
2262         (getNativeFD): Rewritten.
2263         (implConfigureBlocking): Set socket timeout and removed comment.
2264         (accept): Rewritten.
2265         * gnu/java/nio/SocketChannelImpl.java
2266         (impl): New variable.
2267         (connected): Removed.
2268         (SocketChannelImpl): Initialize impl too.
2269         (getImpl): New method.
2270         (isConnected): Rewritten.
2271         (read): Rewritten, set position in buffer correctly.
2272         (write): Set position in buffer correctly.
2273         * java/net/ServerSocket.java (getImpl): New method.
2274         * gnu/java/nio/NIOServerSocket.java,
2275         gnu/java/nio/natNIOServerSocket.cc: New files.
2276         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2277         * Makefile.am
2278         (ordinary_java_source_files):
2279         Added gnu/java/nio/NIOServerSocket.java.
2280         (nat_source_files):
2281         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2282         and added gnu/java/nio/natNIOServerSocket.cc.
2283         * Makefile.in: Regenerated.
2284
2285 2003-10-11  Michael Koch  <konqueror@gmx.de>
2286
2287         * java/awt/ActiveEvent.java,
2288         java/awt/datatransfer/ClipboardOwner.java,
2289         java/awt/datatransfer/FlavorMap.java,
2290         java/awt/datatransfer/Transferable.java,
2291         java/awt/dnd/Autoscroll.java,
2292         java/awt/dnd/peer/DragSourceContextPeer.java,
2293         java/awt/dnd/peer/DropTargetContextPeer.java,
2294         java/awt/dnd/peer/DropTargetPeer.java,
2295         java/awt/font/MultipleMaster.java,
2296         java/awt/font/OpenType.java,
2297         java/awt/im/spi/InputMethodDescriptor.java,
2298         java/awt/image/ImageObserver.java,
2299         java/awt/image/ImageConsumer.java,
2300         java/awt/image/ImageProducer.java,
2301         java/awt/image/RGBImageFilter.java,
2302         java/awt/image/RasterOp.java,
2303         java/awt/image/renderable/RenderableImage.java:
2304         Removed redundant modifiers.
2305
2306 2003-10-11  Michael Koch  <konqueror@gmx.de>
2307
2308         * gnu/awt/j2d/DirectRasterGraphics.java,
2309         gnu/java/awt/EmbeddedWindowSupport.java:
2310         Removed redundant modifiers.
2311
2312 2003-10-09  Michael Koch  <konqueror@gmx.de>
2313
2314         * gnu/java/nio/SelectorImpl.java (register):
2315         Use ServerSocketChannelSelectionKey for server socket channels,
2316         removed unneeded comments.
2317         * gnu/java/nio/ServerSocketChannelImpl.java
2318         (ServerSocketChannelImpl): Made class public final.
2319         (impl): New member variable.
2320         (ServerSocketChannelImpl): Initialize member variables correctly.
2321         (initServerSocket): New method.
2322         (getNativeFD): Likewise.
2323         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2324         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2325         * Makefile.am (ordinary_java_source_files):
2326         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2327         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2328         * Makefile.in: Regenrated.
2329
2330 2003-10-09  Michael Koch  <konqueror@gmx.de>
2331
2332         * java/nio/channels/spi/AbstractSelectableChannel.java
2333         (registered): Made private.
2334         (blocking): Likewise.
2335         (LOCK): Likewise.
2336         (provider): Likewise.
2337         (keys): Made it a private LinkedList.
2338         (AbstractSelectableChannel): Initialize keys.
2339         (isRegistered): New implementation.
2340         (locate): Rewritten.
2341         (register): Rewritten.
2342         * java/nio/channels/spi/AbstractSelectionKey.java
2343         (ok): Removed.
2344         (cancelled): New member variable.
2345         (cancel): Rewritten.
2346         (isValid): Rewritten.
2347         * java/nio/channels/spi/AbstractSelector.java:
2348         Some methods moved.
2349         (closed): Make private.
2350         (provider): Likewise.
2351         (cancelledKeys): New member variable.
2352         (AbstractSelector): Initialize cancelledKeys.
2353         (cancelKey): New method.
2354
2355 2003-10-09  Tom Tromey  <tromey@redhat.com>
2356
2357         * java/lang/ClassLoader.java (setSigners): Implemented.
2358         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2359         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2360         Initialize new fields.
2361         * java/lang/Class.java (getSigners): Now native.
2362         (setSigners): Declare.
2363         * java/lang/natClass.cc (getSigners): New method.
2364         (getSigners): Likewise.
2365         * java/lang/Class.h (Class::signers): New field.
2366         (Class::setSigners): New method.
2367
2368 2003-10-09  Michael Koch  <konqueror@gmx.de>
2369
2370         * java/rmi/server/RMIClassLoader.java:
2371         Removed unused imports, little reformatings.
2372         (getClassLoader): New method, implementation was part of old loadCLass
2373         method.
2374         (loadClass): Simplified by moving functionality to new method and
2375         reworking the code a bit.
2376         (getClassAnnotation): Merged documentation from classpath.
2377
2378 2003-10-09  Michael Koch  <konqueror@gmx.de>
2379
2380         * java/math/BigInteger.java
2381         (add): Removed unused local variable len.
2382
2383 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2384
2385         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2386         modality check.
2387         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2388         Initialize insets to use latest insets.
2389         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2390         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2391         field.
2392         (postConfigureEvent): Update latestInsets field when insets
2393         change.  Remove call to setSize.  Move validate call outside of
2394         if blocks.
2395         (setVisible): Call setBounds before showing window.
2396         (nativeSetVisible): New native method.
2397         * java/awt/Window.java (show): Show visible owned windows.
2398         (hide): Hide visible owned windows.
2399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2400         (awt_event_handler): Implement modality using GTK grabs.
2401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2402         (global_gtk_window_group): New global variable.
2403         (gtkInit): Initialize global_gtk_window_group.
2404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2405         Clamp width and height values to at least 1.  Add this window to
2406         the global GTK window group.
2407         (setVisible): Rename to nativeSetVisible.
2408         (setup_window): Remove function.
2409         (setSize): Clamp width and height values to at least 1.
2410         (nativeSetBounds): Likewise.
2411         (gdk_window_get_root_geometry): Remove function.
2412         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2413         and setup_window declarations.  Declare global_gtk_window_group.
2414
2415         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2417         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2418         (gtkWidgetSetForeground): New method.
2419         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2421         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2422         (setBackground, setForeground): Implement.
2423         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2424         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2425         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2426         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2427         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2429         Position PangoLayout relative to text's baseline.
2430         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2431
2432         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2433         for CENTER and RIGHT alignments.
2434
2435 2003-10-08  Michael Koch  <konqueror@gmx.de>
2436
2437         * java/security/Security.java: Reformated.
2438
2439 2003-10-08  Michael Koch  <konqueror@gmx.de>
2440
2441         * java/text/SimpleDateFormat.java
2442         (compileFormat): Replace Character.isLetter() test with
2443         Character.isLowerCase() || Character.isUpperCase().
2444
2445 2003-10-08  Tom Tromey  <tromey@redhat.com>
2446
2447         * java/lang/StrictMath.java (toDegrees): Multiply before
2448         dividing.
2449         (toRadians): Likewise.
2450
2451 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2452
2453         * java/lang/Math.java
2454         (toRadians): multiply before dividing to reduce decimal error
2455         (toDegrees): ditto
2456
2457 2003-10-08  Michael Koch  <konqueror@gmx.de>
2458
2459         * gnu/gcj/protocol/core/Connection.java,
2460         gnu/gcj/protocol/core/CoreInputStream.java,
2461         gnu/gcj/protocol/core/Handler.java,
2462         gnu/gcj/protocol/core/natCoreInputStream.cc,
2463         gnu/gcj/protocol/file/Connection.java,
2464         gnu/gcj/protocol/file/Handler.java,
2465         gnu/gcj/protocol/gcjlib/Connection.java,
2466         gnu/gcj/protocol/gcjlib/Handler.java,
2467         gnu/gcj/protocol/http/Connection.java,
2468         gnu/gcj/protocol/http/Handler.java,
2469         gnu/gcj/protocol/jar/Connection.java,
2470         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2471         * gnu/java/net/protocol/core/Connection.java,
2472         gnu/java/net/protocol/core/CoreInputStream.java,
2473         gnu/java/net/protocol/core/Handler.java,
2474         gnu/java/net/protocol/core/natCoreInputStream.cc,
2475         gnu/java/net/protocol/file/Connection.java,
2476         gnu/java/net/protocol/file/Handler.java,
2477         gnu/java/net/protocol/gcjlib/Connection.java,
2478         gnu/java/net/protocol/gcjlib/Handler.java,
2479         gnu/java/net/protocol/http/Connection.java,
2480         gnu/java/net/protocol/http/Handler.java,
2481         gnu/java/net/protocol/jar/Connection.java,
2482         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2483         * gnu/gcj/runtime/FirstThread.java,
2484         java/net/URL.java: Use moved protocol handlers.
2485         * Makefile.am
2486         (ordinary_java_source_files): Moved files.
2487         (nat_source_files): Likewise.
2488         * Makefile.in: Regenerated.
2489
2490 2003-10-08  Michael Koch  <konqueror@gmx.de>
2491
2492         * gnu/java/nio/SocketChannelImpl.java
2493         (read): Write only read data to buffer.
2494
2495 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2496
2497         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2498         out.
2499         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2500         (JCL_free): Attach "unused" attribute to env parameter.
2501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2508         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2513         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2514         parameters.
2515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2516         (initNativeState): Pass 0 as info argument to
2517         gtk_selection_add_target.
2518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2519         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2520         unused method implementations.
2521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2522         (awt_event_handler): Add break statement after default label.
2523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2524         (drawPixels): Remove unused variable i.
2525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2526         (setEnabled): Remove method implementation.
2527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2528         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2529         argument.
2530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2531         unused function.
2532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2533         (menu_pos): Assign TRUE to push_in.
2534         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2535         argument.
2536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2537         (create): Remove unused variable layout.
2538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2539         Pass window_widget, rather than window, to
2540         gtk_widget_set_size_request.
2541         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2542         structure initialization with NULL values.
2543         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2544
2545 2003-10-08  Michael Koch  <konqueror@gmx.de>
2546
2547         * java/util/LinkedList.java:
2548         Removed whitespace to match classpath's version again.
2549
2550 2003-10-08  Michael Koch  <konqueror@gmx.de>
2551
2552         * java/util/prefs/Preferences.java
2553         (defaultFactoryClass): Fixed class name.
2554         (getFactory): Create instance of class returned by Class.forName(),
2555         reformated code.
2556
2557 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2558
2559         * javax/swing/table/AbstractTableModel.java
2560         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2561         helped stop pulling my hair on this +1 then -1 tricky thing!
2562
2563 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2564
2565         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2566         Remove unused parameters.
2567         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2568         Likewise.
2569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2570         (keyevent_state_to_awt_mods): Export function.
2571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2572         (getCaretPosition): Fix TextArea case.
2573         (textcomponent_commit_cb): Get exact event time and modifier
2574         state.
2575         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2576
2577 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2578
2579         * java/net/InetSocketAddress.java
2580         (InetSocketAddress): Made exception more clear.
2581         (equals): Handle case when addr is null.
2582         (toString): Likewise.
2583         * java/net/NetworkInterface.java
2584         (static): Load native library.
2585         (getNetworkInterfaces): Rewritten.
2586
2587 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2588
2589         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2590         field.
2591         (initializeInsets): New method.
2592         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2593         setBounds unconditionally.
2594         (setBounds): Convert coordinates if parent is a Window.
2595         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2596         field to GtkComponentPeer.
2597         (GtkContainerPeer): Don't initialize insets.
2598         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2599         New method.
2600         (create): Call new GtkWindowPeer create method.
2601         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2602         New method.
2603         (create): Call new GtkWindowPeer create method.
2604         (setBounds): Remove method.
2605         (postConfigureEvent): Likewise.
2606         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2607         type constants with GDK window type constants.
2608         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2609         (create(int,boolean)): Likewise.
2610         (create()): Call create(int,boolean).
2611         (nativeSetBounds): New native method declaration.
2612         (setBounds): Call native method declaration.
2613         (setSize): New native method declaration.
2614         (setBoundsCallback): Likewise.
2615         (postConfigureEvent): Handle change in insets.  Call setSize and
2616         setBoundsCallback methods.
2617         * java/awt/Window.java (Window): Set visible to false.
2618         (setBoundsCallback): New method.
2619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2620         (gtkWidgetGetLocationOnScreen): If this component is not a
2621         container, adjust the location returned based on the peer's
2622         allocation.
2623         (set(String,boolean)): Revert change from 2003-09-19.
2624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2625         (awt_event_handler): Fix inset calculation.
2626         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2627         glue for Window.setBoundsCallback.
2628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2629         Set up stacking order, window decorations and window manager
2630         hints.
2631         (setBoundsCallback): New method.
2632         (setSize): New method.
2633         (nativeSetBounds): New method.
2634         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2635
2636 2003-10-02  Tom Tromey  <tromey@redhat.com>
2637
2638         * java/lang/VMClassLoader.java (loadClass): Now native.
2639         * java/lang/natClassLoader.cc (loadClass): Implement.
2640         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2641
2642 2003-10-02  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/net/InetAddress.java
2645         (zeros): Removed.
2646         (ANY_IF): Initalizie in static block.
2647         (static): Load library with native methods here and initialize ANY_IF.
2648         (isAnyLocalAddress): Check if equal to ANY_IF.
2649         (equals): Use addr directly instead of addr1. Simplify for loop.
2650         (toString): Rename "result" to "host" and add IP address allways.
2651         (getLocalHost): Merged documentation from classpath.
2652         * java/net/ServerSocket.java
2653         (ServerSocket): New package-private constructor used by java.nio.
2654         * java/net/URLConnection.java
2655         (getRequestProperties): Check if already connected.
2656
2657 2003-10-02  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/nio/ByteBufferHelper.java:
2660         Rewrote all methods by suggestions from Eric Blake.
2661
2662 2003-10-02  Michael Koch  <konqueror@gmx.de>
2663
2664         * java/net/URL.java
2665         (DEFAULT_SEARCH_PATH): New static variable.
2666         (ph_cache): Made it a HashMap.
2667         (getURLStreamHandler): Rename propVal to ph_search_path and use
2668         DEFAULT_SEARCH_PATH.
2669
2670 2003-10-02  Michael Koch  <konqueror@gmx.de>
2671
2672         * javax/swing/table/AbstractTableModel.java
2673         (findColumnName): Prevent from NullPointerException if argument
2674         columnName is null.
2675
2676 2003-10-02  Michael Koch  <konqueror@gmx.de>
2677
2678         * javax/swing/table/AbstractTableModel.java:
2679         This patch is based on a patch done by Arnaud Vandyck
2680         <arnaud.vandyck@ulg.ac.be>.
2681         (getColumnName): Fixed method documentation.
2682         (findColumn): Likewise.
2683         (getColumnClass): Likewise.
2684         (isCellEditable): Likewise.
2685         (setValueAt): Likewise.
2686         (addTableModelListener): Likewise.
2687         (removeTableModelListener): Likewise.
2688         (getTableModelListeners): New method.
2689
2690 2003-10-02  Michael Koch  <konqueror@gmx.de>
2691
2692         * javax/swing/table/AbstractTableModel.java:
2693         Reformated.
2694
2695 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2696
2697         Fix PR libgcj/12475
2698         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2699         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2700
2701 2003-10-01  Tom Tromey  <tromey@redhat.com>
2702
2703         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2704
2705 2003-10-01  Andrew Haley  <aph@redhat.com>
2706
2707         * java/lang/natClass.cc (initializeClass): Check for otable and
2708         atable.
2709         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2710         loops using for().  Search superinterfaces.  Check for fields as
2711         well as methods.  Initialize atable as well as otable: check for
2712         static methods as well as virtual methods.
2713         * java/lang/Class.h (struct _Jv_AddressTable): New.
2714         (atable): New.
2715         (atable_syms): New.
2716         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2717         * prims.cc (_Jv_equalUtf8Consts): constify.
2718
2719 2003-09-29  Tom Tromey  <tromey@redhat.com>
2720
2721         PR libgcj/10596:
2722         * include/jvm.h (_Jv_FinalizeString,
2723         _Jv_RegisterStringFinalizer): Declare.
2724         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2725         unintern.
2726         (intern): Updated.
2727         (_Jv_NewStringUtf8Const): Likewise.
2728         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2729         Add special case when finalizing a String.
2730         (in_hash): New function.
2731         (_Jv_RegisterStringFinalizer): Likewise.
2732         (maybe_add_finalize): Likewise.
2733
2734 2003-09-29  Michael Koch  <konqueror@gmx.de>
2735
2736         * java/net/InetAddress.java:
2737         (isMulticastAddress): Dont use local variable to store address length.
2738         Let the compiler optimize this.
2739         (getHostName): Merged dcoumentation from classpath.
2740         (getAddress): Likewise.
2741         (getHostAddress): Likewise.
2742         (hashCode): Likewise.
2743         (equals): Likewise.
2744         (toString): Likewise.
2745         (getByName): Likewise.
2746         (getAllByName): Likewise.
2747
2748 2003-09-29  Michael Koch  <konqueror@gmx.de>
2749
2750         * java/awt/image/IndexColorModel.java: Reformated.
2751
2752 2003-09-29  Michael Koch  <konqueror@gmx.de>
2753
2754         * java/net/InetAddress.java,
2755         java/net/URL.java: Reformated.
2756
2757 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2758
2759         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2760         significant bit of descriptor. Include the vtable and sync_info 
2761         fields.
2762
2763 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2764
2765         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2766         if `obj' is not a Number or Date instance.
2767         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2768         instead of Vector.
2769
2770 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2771
2772         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2773         Don't call setTimeZone on calendar.
2774
2775 2003-09-27  Michael Koch  <konqueror@gmx.de>
2776
2777         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2778
2779 2003-09-27  Michael Koch  <konqueror@gmx.de>
2780
2781         * java/net/URL.java (getURLStreamHandler):
2782         Check if we have to use cache before trying to retrieve handler from
2783         cache. Rename facName to clsName to match classpath more. Reformated
2784         some little pieces.
2785
2786 2003-09-27  Michael Koch  <konqueror@gmx.de>
2787
2788         * gnu/java/nio/SelectionKeyImpl.java
2789         (ch): Make package-private again. Jikes found this bug.
2790         Jeff Sturm submitted PR12426 for this to bugzilla
2791         to fix this bug in gcj.
2792
2793 2003-09-26  Michael Koch  <konqueror@gmx.de>
2794
2795         * java/rmi/server/RMIClassLoader.java:
2796         Reformatted file, no functional code changes.
2797
2798 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2799
2800         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2801         Save space for some pixels at the buffer end.  Added Javadoc.
2802
2803 2003-09-26  Tom Tromey  <tromey@redhat.com>
2804
2805         * java/io/ObjectOutputStream.java (writeFields): Fixed
2806         indentation.
2807         (putFields): Likewise.
2808
2809 2003-09-26  Michael Koch  <konqueror@gmx.de>
2810
2811         * java/nio/ByteBufferHelper.java:
2812         Totally reworked with help from Eric Blake.
2813
2814 2003-09-26  Tom Tromey  <tromey@redhat.com>
2815
2816         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2817         * java/awt/geom/PathIterator.java: Documentation fixes.
2818
2819 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2820
2821         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2822         (select): Likewise.
2823         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2824
2825 2003-09-25  Michael Koch  <konqueror@gmx.de>
2826
2827         * gnu/java/nio/DatagramChannelImpl.java
2828         (getNativeFD): New method.
2829         * gnu/java/nio/SelectionKeyImpl.java
2830         (SelectionKeyImpl): Class made abstract.
2831         (fd): Removed.
2832         (SelectionKeyImpl): Remove fd argument.
2833         (getNativeFD): New method.
2834         * gnu/java/nio/SocketChannelImpl.java
2835         (getNativeFD): New method.
2836         gnu/java/nio/DatagramChannelSelectionKey.java,
2837         * gnu/java/nio/SocketChannelSelectionKey.java:
2838         New files.
2839         * Makefile.am (ordinary_java_source_files):
2840         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2841         gnu/java/nio/SocketChannelSelectionKey.java.
2842         * Makefile.in: Regenerated.
2843
2844 2003-09-25  Michael Koch  <konqueror@gmx.de>
2845
2846         * java/lang/reflect/Proxy.java
2847         (getProxyClass): Remove workaround for gcj 3.0.x.
2848
2849 2003-09-25  Michael Koch  <konqueror@gmx.de>
2850
2851         * gnu/java/net/PlainDatagramSocketImpl.java
2852         (finalize): Moved to directly after constructor.
2853         (getNativeFD): New method.
2854         * gnu/java/net/PlainSocketImpl.java
2855         (getNativeFD): New method.
2856
2857 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2858
2859         * java/io/ObjectOutputStream.java:
2860         Allow putFields be called more than once.
2861
2862 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2863
2864         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2865         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2866         * java/awt/image/BufferedImage.java (toString): Implement.
2867
2868 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2869
2870         * aclocal.m4: Rebuilt.
2871         * configure: Rebuilt.
2872
2873 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2874
2875         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2876         field.
2877
2878 2003-09-25  Michael Koch  <konqueror@gmx.de>
2879
2880         * gnu/java/nio/SelectorImpl.java
2881         (implSelect): Renamed from java_do_select.
2882         (select): Call native implSelect() and add support for Thread
2883         interruption.
2884         * gnu/java/nio/natSelectorImpl.cc
2885         (implSelect): Renamed from java_do_select.
2886
2887 2003-09-25  Michael Koch  <konqueror@gmx.de>
2888
2889         * gnu/java/nio/SelectorImpl.java
2890         (selectNow): Made final, throws IOException.
2891         (select): Likewise.
2892         (getFDsAsArray): Made final.
2893         (selectedKeys): Likewise.
2894         (wakeup): Likewise.
2895         (deregisterCancelledKeys): Likewise.
2896         (register): Likewise.
2897         (ass): Removed.
2898         (add_selected): Removed.
2899         * gnu/java/nio/natSelectorImpl.cc:
2900         No need to include bstring.h or gcj/cni.h.
2901         (helper_put_filedescriptors): Rewritten.
2902         (helper_get_filedescriptors): Rewritten.
2903
2904 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2905
2906         * java/awt/font/FontRenderContext.java (getTransform): Return
2907         copy of internal transform object. Add Javadoc.
2908         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2909         winding rule as Sun J2SE.
2910         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2911
2912 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2913
2914         * java/rmi/Naming.java:
2915         Added comments, now accepts pseudo protocol "rmi".
2916
2917 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2918
2919         * java/text/DecimalFormat.java (format): Don't immediatly round
2920         baseNumber to long.
2921         (setMinimumIntegerDigits): Call super.
2922         (setMinimumFractionDigits): Likewise.
2923         (setMaximumIntegerDigits): Likewise.
2924         (setMaximumFractionDigits): Likewise.
2925
2926 2003-09-25  Michael Koch  <konqueror@gmx.de>
2927
2928         * gnu/java/nio/DatagramChannelImpl.java
2929         (DatagramChannelImpl): Made class final.
2930         (blocking): Made private.
2931         (socket): Made it a NIODatagramSocket and private.
2932         (DatagramChannelImpl): create NIODatagramSocket instead of
2933         DatagramSocket.
2934         (implConfigureBlocking): Set socket timeout.
2935         (connect): Check that channel is not closed.
2936         (write): Implemented.
2937         (write): Rewritten.
2938         (read): Implemented.
2939         (read): Rewritten.
2940         (receive): Implemented.
2941         (send): Implemented.
2942         * gnu/java/nio/SelectionKeyImpl.java
2943         (readyOps): Made private.
2944         (interestOps): Made private.
2945         (impl): Made private.
2946         (ch): Made private.
2947         (readyOps): Check if selection key is valid.
2948         (interestOps): Likewise.
2949         * gnu/java/nio/SelectorImpl.java
2950         (closed): Removed.
2951         (keys): Made private.
2952         (selected): Made private.
2953         (finalize): New method.
2954         (implCloseSelector): Rewritten.
2955         (keys): Return unmodifiable Set.
2956         (deregisterCancelledKeys): Fixed typo in method name.
2957         * gnu/java/nio/SocketChannelImpl.java
2958         (SocketChannelImpl): Made class final.
2959         (socket): Made it a NIOSocket and private.
2960         (blocking): Made private.
2961         (connected): Made private.
2962         (connectionPending): New member variable.
2963         (SocketChannelImpl): New implementation.
2964         (finalizer): Use isConnected().
2965         (connect): Rewritten.
2966         (finishConnect): Throws IOException, implemented.
2967         (isConnectionPending): Return connectionPending.
2968         (read): Rewritten.
2969         (write): Rewritten.
2970         * gnu/java/nio/NIOConstants.java: New file.
2971         * Makefile.am (ordinary_java_source_files):
2972         Added gnu/java/nio/NIOConstants.java.
2973         * Makefile.in: Regenerated.
2974
2975 2003-09-25  Michael Koch  <konqueror@gmx.de>
2976
2977         * java/net/InetAddress.java:
2978         Reorder imports, remove implementation comment.
2979         (isMulticastAddress): Merged documentation from classpath.
2980         * java/net/URLConnection.java
2981         (setRequestProperty): Check key for null, fix documentation.
2982         (adREquestProperty): Check key for null, remove wrong implementation
2983         and replace it with comment to overwrite this method in subclasses,
2984         fix documentation.
2985
2986 2003-09-25  Tom Tromey  <tromey@redhat.com>
2987
2988         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2989         domain code.
2990         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2991         argument.
2992         (linkClass0): Now in VMClassLoader.
2993         (markClassErrorState0): Likewise.
2994         (getSystemClassLoaderInternal): New method.
2995         * java/lang/natClass.cc (initializeClass): Use
2996         VMClassLoader::resolveClass.
2997         * java/lang/ClassLoader.java: New version, from Classpath.
2998         * java/lang/Class.java (getProtectionDomain):
2999         protectionDomainPermission and unknownProtectionDomain now in
3000         VMClassLoader.
3001         * java/lang/Class.h: VMClassLoader now a friend class.
3002         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3003         package-private.
3004         * gcj/javaprims.h: Regenerated class list.
3005         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3006         * java/lang/VMClassLoader.java: New version from Classpath;
3007         modified for libgcj use.
3008
3009 2003-09-25  Michael Koch  <konqueror@gmx.de>
3010
3011         * java/nio/ByteBufferHelper.java:
3012         New file.
3013         * java/nio/ByteBufferImpl.java,
3014         java/nio/DirectByteBufferImpl.java,
3015         java/nio/MappedByteBufferImpl.java
3016         (getType,putType): Use new helper class ByteBufferHelper.
3017         * Makefile.am (ordinary_java_source_files):
3018         Added java/nio/ByteBufferHelper.java.
3019         * Makefile.in: Regenerated.
3020
3021 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3022
3023         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3024         PR libgcj/12388.
3025
3026 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3027
3028         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3029         Strings, even if buffer is already shared.
3030
3031 2003-09-24  Michael Koch  <konqueror@gmx.de>
3032
3033         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3034
3035 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3036
3037         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3038         (write): Likewise.
3039         (SocketInputStream): Declare `read' and `write' methods native.
3040         Remove implementations which called back into PlainSocketImpl.
3041         Remove unneccessary overridden methods.
3042         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3043         to inner class PlainSocketImpl.SocketInputStream.
3044         (write): Likewise.
3045         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3046         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3047         * gnu/java/net/SocketInputStream.java: Remove unused file.
3048         * gnu/java/net/SocketOutputStream.java: Likewise.
3049         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3050         and SocketOutputStream.
3051         * Makefile.in: Rebuilt.
3052
3053 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3054
3055         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3056
3057         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3058         markers.
3059
3060 2003-09-22  Anthony Green  <green@redhat.com>
3061
3062         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3063         * configure: Rebuilt.
3064
3065 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3066
3067         PR java/12350:
3068         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3069
3070 2003-09-22  Michael Koch  <konqueror@gmx.de>
3071
3072         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3073         compiler warning but produces a different one now.
3074
3075 2003-09-22  Michael Koch  <konqueror@gmx.de>
3076
3077         * java/net/InetAddress.java:
3078         Moves around some code, reformats and adds documentation.
3079         No functional changes.
3080
3081 2003-09-22  Michael Koch  <konqueror@gmx.de>
3082
3083         * java/net/JarURLConnection.java
3084         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3085         (getCertificates): Made it more error prone.
3086         (getMainAttributes): Likewise.
3087         (getAttributes): Implemented.
3088         (getManifest): Reformatted code.
3089
3090 2003-09-20  Tom Tromey  <tromey@redhat.com>
3091
3092         * java/awt/Component.java: Indentation cleanup from Classpath.
3093
3094 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3095
3096        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3097        checking to follow 1.4.2 spec.
3098
3099 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3100
3101         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3102         is compatible in case client and server are running in the same VM
3103         (remerged from Classpath on 2003-09-20)
3104
3105 2003-09-19  David Daney <ddaney@avtrex.com>
3106
3107         * java/lang/ref/Reference.java (clear): Set referent to null and
3108         synchronize.
3109
3110 2003-09-19  Michael Koch  <konqueror@gmx.de>
3111
3112         * gnu/java/nio/NIODatagramSocket.java,
3113         gnu/java/nio/NIOSocket.java: New files.
3114         * Makefile.am (ordinary_java_source_files):
3115         Added gnu/java/nio/NIODatagramSocket.java and
3116         gnu/java/nio/NIOSocket.java.
3117         * Makefile.in: Regenerated.
3118
3119 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3120
3121         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3122         top-level GTK window.
3123         (getArgs): Add "title" property.
3124         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3125         "allow_shrink" and "allow_grow" properties.
3126         * java/awt/Dialog.java: Initialize resizable to true and change
3127         comments accordingly.  Initialize visible to false in
3128         constructors.
3129         * java/awt/Frame.java (dispose): Remove method.
3130         * java/awt/Window.java (ownedWindows): New field.
3131         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3132         owner's ownedWindows vector.
3133         (finalize): Remove method.
3134         (hide): Hide owned windows.
3135         (dispose): Dispose of owned windows.
3136         (getOwnedWindows): Implement.
3137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3138         unused GtkArg code.
3139         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3140         to TRUE or FALSE.
3141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3142         (create): Set window's size requisition.
3143         (connectHooks): Fix indentation.
3144         (setResizable): Remove function.
3145         (static setBounds): Likewise.
3146         (setBounds): Replace call to setBounds with GTK size requisition
3147         and resize calls.
3148
3149 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3150
3151         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3152         function for lazy initialization of an auto-reset event.
3153         (_Jv_CondWait) Added thread interrupt support.
3154         (_Jv_ThreadInitData) Added initialization of interrupt support
3155         members.
3156         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3157         (_Jv_ThreadStart) Removed unused code.
3158         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3159         to an external caller.
3160         (_Jv_ThreadInterrupt) Implemented.
3161         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3162         event for interrupt support as well as a mutex which regulates
3163         access to this.
3164         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3165         event to an external caller.
3166         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3167         process.
3168         (waitFor) Added interrupt support.
3169
3170 2003-09-19  Michael Koch  <konqueror@gmx.de>
3171
3172         * java/net/DatagramSocket.java (getLocalAddress):
3173         Renamed result variable to localAddr.
3174         * java/net/MulticastSocket.java:
3175         No need to import gnu.java.net.PlainDatagramSocketImpl.
3176
3177 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3178
3179         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3180         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3181
3182 2003-09-18  Tom Tromey  <tromey@redhat.com>
3183
3184         * javax/naming/InitialContext.java: Reindented.
3185
3186 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3187             Helmer Kraemer <hkraemer@freenet.de>
3188
3189         * javax/naming/spi/NamingManager.java (getURLContext,
3190         getObjectInstance, getStateToBind): Always use current thread's
3191         context class loader when calling Class.forName.
3192
3193 2003-09-18  Michael Koch  <konqueror@gmx.de>
3194
3195         * java/util/Timer.java (finalize): Added "throws Throwable".
3196
3197 2003-09-18  Michael Koch  <konqueror@gmx.de>
3198
3199         * java/net/DatagramSocket.java
3200         (ch): Removed.
3201         (receive): Use getChannel() instead of ch.
3202         (send): Likewise.
3203         (getChannel): Return null.
3204         * java/net/ServerSocket.java
3205         (ch): Removed.
3206         (setChannel): Removed.
3207         (implAccept): Use getChannel() instead of ch.
3208         (close): Likewise.
3209         (getChannel): Return null.
3210         * java/net/Socket.java
3211         (ch): Removed.
3212         (connect): Use getChannel() instead of ch.
3213         (setChannel): Removed.
3214         (getChannel): Return null.
3215
3216 2003-09-18  Mark Wielaard  <mark@klomp.org>
3217
3218         Reported by Guilhem Lavaux and Julian Dolby
3219         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3220         field "serialPersistentFields", not "getSerialPersistentFields".
3221
3222 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3223
3224         * java/util/TimeZone.java: Initialize lazily.
3225         * java/util/Locale.java (readManifest): Fix check for country.
3226         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3227         traceable 
3228         * java/util/Calendar.java: Make use of ResourceBundle better
3229         traceable.
3230
3231 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3232
3233         * java/sql/Timestamp.java
3234         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3235
3236 2003-09-18  David P Grove  <groved@us.ibm.com>
3237
3238         * java/io/LineNumberReader (read): Don't reset pos & limit when
3239         markPos is 0.
3240
3241 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3242
3243         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3244         constant.
3245         (computeArguments): use computeTypicalArguments.
3246
3247         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3248         Compile_jikes.java and RMICException.java.
3249         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3250         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3251         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3252  
3253         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3254  
3255         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3256         (computeTypicalArguments): New method.
3257         (compile): Print compiler output to System.out. Collect compiler
3258         error output and use it in exception message.
3259  
3260         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3261         (destination): Initialize to null.
3262         (run): Replace file separator with '.' when processing class.
3263         (processClass): Replace '.' with file separator when compiling
3264         classes.
3265         (findClass): Use SystemClassLoader to load class.
3266         (generateStub): Use full class name for generated stub, that puts
3267         it in right path.  Replace '.' with file separator when generating
3268         stub file name. Write just the stub class name without package
3269         information as class name, and constructor name. Write only
3270         interface names for interfaces extending java.rmi.Remote as
3271         implemented.
3272         (generateSkel): Use full class name for generated skel, that puts
3273         it in right path.  Replace '.' with file separator when generating
3274         stub file name. Write just the stub class name without package
3275         information as class name.
3276
3277 2003-09-18  Michael Koch  <konqueror@gmx.de>
3278
3279         * Makefile.am (rmi_java_source_files):
3280         Added gnu/java/rmi/rmic/Compile_kjc.java,
3281         gnu/java/rmi/rmic/Compile_jikes.java and
3282         gnu/java/rmi/rmic/RMICException.java
3283         * Makefile.in: Regenerated.
3284
3285 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3286
3287         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3288         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3289         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3290         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3291         New files.
3292
3293 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3294
3295         * java/awt/BufferedImage.java (setData): Support non-component
3296         sample models.
3297         (getData): Same.
3298
3299 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3300
3301         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3302         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3303
3304 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3305
3306         * configure.in: Standardized help text case of
3307         --enable-hash-synchronization
3308         New configure switch --enable-libgcj-multifile and corresponding
3309         automake conditional ONESTEP.
3310         * configure: Rebuilt.
3311         * Makefile.am: Use automake conditional ONESTEP to determine
3312         whether classfiles should be compiled individually or all
3313         at once.
3314         * Makefile.in: Rebuilt.
3315
3316 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3317
3318         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3319         Remove method declaration.
3320         (create()): Call native create.
3321         (create(int)): New method.
3322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3323         (create): Add window_id parameter.  Call gtk_plug_new with
3324         window_id parameter.
3325         (construct): Remove method implementation.
3326
3327 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3328
3329         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3330         (mostlyclean-local): New target patterned after clean-local
3331         which recursively deletes all libtool objects using 'libtool rm'.
3332         (clean-local): Slightly modified comment to alleviate monotony.
3333         (distclean-local): New target patterned after clean-local
3334         which recursively deletes all .d files.
3335         * Makefile.in: Rebuilt.
3336
3337 2003-09-11  Tom Tromey  <tromey@redhat.com>
3338
3339         * java/net/URLStreamHandler.java (parseURL): If original file
3340         ends with "/", so must canonical result.
3341         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3342         with nul-termination and finding previous "/".
3343
3344 2003-09-11  Michael Koch  <konqueror@gmx.de>
3345
3346         * acconfig.h: Removed most items.
3347         * configure.in: Added descriptions to AC_DEFINE macros that where in
3348         acconfig.h before.
3349         * include/config.h.in: Regenerated.
3350
3351 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3352
3353         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3354         if one is installed. Improve Javadoc.
3355         (getSystemEventQueueImpl): Improve Javadoc.
3356
3357 2003-09-11  Tom Tromey  <tromey@redhat.com>
3358
3359         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3360         file does not exist.
3361
3362 2003-09-10  Anthony Green  <green@redhat.com>
3363
3364         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3365         Specify full name when referencing ::java::net::InetAddress.
3366         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3367         Fix argument type.
3368
3369 2003-09-10  Michael Koch  <konqueror@gmx.de>
3370
3371         * acconfig.h (__NO_MATH_INLINES): Removed.
3372         * configure.in: Removed check for g++ math inlining bug from 2000.
3373         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3374         libgcj_cxxflags.
3375         * configure: Regenerated.
3376
3377 2003-09-10  David Daney <ddaney@avtrex.com>
3378
3379         * java/util/Arrays.java (equals(all variants)): Quit using
3380         NullPointerException catching to detect null valued parameters.
3381
3382 2003-09-10  Michael Koch  <konqueror@gmx.de>
3383
3384         * java/net/DatagramSocket.java,
3385         java/net/MulticastSocket.java,
3386         java/net/ServerSocket.java,
3387         java/net/Socket.java:
3388         Use gnu.java.net.Plain*SocketImpl instead of
3389         java.net.PlainSocketImpl.
3390         * java/net/PlainDatagramSocketImpl.java,
3391         java/net/PlainSocketImpl.java,
3392         java/net/SocketInputStream.java,
3393         java/net/SocketOutputStream.java,
3394         java/net/natPlainDatagramSocketImplNoNet.cc,
3395         java/net/natPlainDatagramSocketImplPosix.cc,
3396         java/net/natPlainDatagramSocketImplWin32.cc,
3397         java/net/natPlainSocketImplNoNet.cc,
3398         java/net/natPlainSocketImplPosix.cc,
3399         java/net/natPlainSocketImplWin32.cc:
3400         Removed.
3401         * gnu/java/net/PlainDatagramSocketImpl.java,
3402         gnu/java/net/PlainSocketImpl.java,
3403         gnu/java/net/SocketInputStream.java,
3404         gnu/java/net/SocketOutputStream.java,
3405         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3406         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3407         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3408         gnu/java/net/natPlainSocketImplNoNet.cc,
3409         gnu/java/net/natPlainSocketImplPosix.cc,
3410         gnu/java/net/natPlainSocketImplWin32.cc:
3411         New files (moved from java/net).
3412         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3413         instead of java/net/natPlain*SocketImpl.cc.
3414         * configure: Regenerated.
3415         * Makefile.am: Moved files from java/net to gnu/java/net.
3416         * Makefile.in: Regenerated.
3417
3418 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3419
3420         * configure: Regenerate.
3421
3422 2003-09-04  Tom Tromey  <tromey@redhat.com>
3423
3424         * configure.host: Removed erroneous comment.
3425
3426         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3427         lvalue cast; use correct rvalue cast.
3428
3429 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3430
3431         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3432         and height arguments to GtkWindowPeer.create method call.
3433         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3434         (create(int,int,int)): New method.
3435         (create(int)): Add call to new create method.
3436         (create()): Add width and height arguments to create method
3437         call.
3438         (GtkWindowPeer): Remove call to setBounds.
3439         * java/awt/Frame.java (Frame(String)): Initialize visible field
3440         to false.
3441         (Frame(GraphicsConfiguration)): Likewise.
3442         (Frame(String,GraphicsConfiguration)): Likewise.
3443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3444         Add width and height parameters.  Call
3445         gtk_window_set_default_size.
3446         (connectHooks): Remove unused name variable.
3447         (static setBounds): Call gtk_window_resize not
3448         gtk_widget_set_usize.
3449         (setBounds): Remove unused nchildren variable.
3450
3451 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3452
3453         * java/util/logging/Logger.java: provide class and method information
3454         * java/util/logging/LogManager.java: create handlers
3455         * java/util/logging/SimpleFormatter.java: print souceClassName and
3456         sourceMethodName
3457
3458 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3459
3460         * win32.cc: fixed tab, indentation and whitespace
3461         inconsistencies
3462         removed jvm.h include
3463         added includes java/lang/UnsupportedOperationException.h,
3464         java/io/IOException.h, java/net/SocketException.h
3465         (WSAEventWrapper): class implementation
3466         (_Jv_WinStrError): implemented both overloads
3467         (_Jv_ThrowIOException): implemented both overloads
3468         (_Jv_ThrowSocketException): implemented both overloads
3469         (_Jv_select): implemented
3470         * include/win32.h: fixed tab, indentation and whitespace
3471         inconsistencies
3472         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3473         added jvm.h include
3474         (WSAEventWrapper): added class declaration
3475         (_Jv_WinStrError): added both overload declarations
3476         (_Jv_ThrowIOException): added both overload declarations
3477         (_Jv_ThrowSocketException): added both overload declarations
3478         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3479         (_Jv_select): added declaration
3480         (_Jv_socket): removed
3481         (_Jv_connect): removed
3482         (_Jv_close): removed
3483         (_Jv_bind): removed
3484         (_Jv_accept): removed
3485         (_Jv_listen): removed
3486         (_Jv_write): removed
3487         (_Jv_read): removed
3488         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3489         whitespace inconsistencies
3490         replaced <windows.h> #include with <platform.h>
3491         removed jvm.h include
3492         (testCanUseGetHandleInfo): new function which tests whether Win32
3493         GetHandleInformation() call can be used with console buffer handles
3494         (only supported on >=WinNT 5.0)
3495         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3496         (valid): rewrote implementation using GetHandleInformation()
3497         (sync):         changed exception throwing to use error string and exception
3498         helper methods declared in include/win32.h
3499         (open): likewise
3500         (write): likewise
3501         (setLength): likewise
3502         (close): likewise
3503         (seek): likewise
3504         (getFilePointer): likewise
3505         (read): likewise
3506         * java/io/natFileWin32.cc: fixed tab, indentation and
3507         whitespace inconsistencies
3508         replaced <windows.h> #include with <platform.h>
3509         removed jvm.h include
3510         (_access): use JV_TEMP_UTF_STRING
3511         (_stat): likewise
3512         (performMkDir): use JV_TEMP_UTF_STRING
3513         (performRenameTo): likewise
3514         (performDelete): likewise
3515         (performCreate): likewise
3516         (performSetReadOnly): likewise
3517         (performSetLastModified): likewise
3518         * java/lang/natWin32Process.cc: fixed tab, indentation and
3519         whitespace inconsistencies
3520         replaced <windows.h> #include with <platform.h>
3521         removed includes gcj/cni.h, jvm.h
3522         (new_string): removed
3523         (startProcess): use JV_TEMP_UTF_STRING,
3524         changed exception throwing to use error string and exception
3525         helper methods declared in include/win32.h
3526         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3527         whitespace inconsistencies
3528         replaced <windows.h> #include with <platform.h>
3529         removed jvm.h include
3530         removed DISABLE_JAVA_NET conditional code
3531         removed POSIX conditional code not relevant to Win32
3532         (aton): use JV_TEMP_UTF_STRING
3533         removed POSIX conditional code not relevant to Win32
3534         (lookup): likewise
3535         (getLocalHostName): likewise
3536         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3537         whitespace inconsistencies
3538         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3539         removed DISABLE_JAVA_NET conditional code
3540         removed POSIX conditional code not relevant to Win32
3541         (winsock2GetRealNetworkInterfaces): new function to compute network
3542         interfaces via Winsock2 API
3543         (determineGetRealNetworkInterfacesFN): new function for returning
3544         a function pointer to the function used to compute network interfaces.
3545         (getRealNetworkInterfaces): implemented
3546         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3547         whitespace inconsistencies
3548         removed gcj/cni.h include
3549         removed DISABLE_JAVA_NET conditional code
3550         removed POSIX conditional code not relevant to Win32
3551         changed net POSIXisms to Win32isms
3552         replaced _Jv socket-related calls with their real Win32 equivalents
3553         changed exception throwing to use error string and exception
3554         helper methods declared in include/win32.h
3555         (peekData): implemented timeout support
3556         (receive): likewise
3557         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3558         whitespace inconsistencies
3559         removed gcj/cni.h and gcj/javaprims.h includes
3560         removed DISABLE_JAVA_NET conditional code
3561         removed POSIX conditional code not relevant to Win32
3562         changed net POSIXisms to Win32isms
3563         replaced _Jv socket-related calls with their real Win32
3564         equivalents
3565         changed exception throwing to use error string and exception
3566         helper methods declared in include/win32.h
3567         (throwConnectException): helper function for connect()
3568         (connect): implemented timeout support
3569         (accept): likewise
3570         (doRead): new helper function common to both read() method overloads,
3571         includes timeout support
3572         (read): implemented both overloads in terms of doRead()
3573         (available): implemented using ioctlsocket()
3574
3575 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3576
3577         * java/net/natInetAddressWin32.cc,
3578         java/net/natNetworkInterfaceWin32.cc,
3579         java/net/natPlainDatagramSocketImplWin32.cc,
3580         java/net/natPlainSocketImplWin32.cc:
3581         Readded code enclosed in DISABLE_JAVA_NET defines
3582         in preparation for MinGW cleanup / networking
3583         patch
3584
3585 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3586
3587         * Makefile.am: Fixed problems with parallel makes.
3588         (all_java_class_files): Readded definition.
3589         (all_java_class_files): New target which depends on
3590         libgcj-@gcc_version@.jar
3591         * Makefile.in: Rebuilt
3592
3593 2003-08-28  Tom Tromey  <tromey@redhat.com>
3594
3595         * Makefile.in: Rebuilt.
3596         * Makefile.am (ordinary_java_source_files): Added new files.
3597         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3598         friend.
3599         * java/net/URLClassLoader.java (findClass): Don't use
3600         findURLResource.  Use loader's getClass method.
3601         (URLLoader.getClass): New method.
3602         (addURL): Handle `gcjlib' URLs.
3603         (SoURLLoader): New class.
3604         (SoResource): Likewise.
3605         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3606         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3607         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3608         (_Jv_RegisterCoreHook): Declare.
3609         (_Jv_FindCore): Declare.
3610         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3611         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3612         typedef.
3613         (core_hook): New function.
3614         (struct SharedLibDummy) [saved_core]: New field.
3615         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3616         (register_hook): Set protection domain and class loader on new
3617         class.
3618         (finalize): Free core chain.
3619         * gnu/gcj/Core.java (Core): New constructor.
3620         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3621         SharedLibHelper.
3622         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3623         (_Jv_create_core): New function.
3624         (create): Use it.
3625         (default_register_resource): New function.
3626         (_Jv_RegisterCoreHook): New global.
3627         (_Jv_RegisterResource): Use it.
3628         (core_chain_struct): Removed.
3629         (_Jv_FindCore): New function.
3630         (_Jv_FreeCoreChain): New function.
3631
3632 2003-08-29  Michael Koch  <konqueror@gmx.de>
3633
3634         * java/net/natInetAddressWin32.cc,
3635         java/net/natNetworkInterfaceWin32.cc,
3636         java/net/natPlainDatagramSocketImplWin32.cc,
3637         java/net/natPlainSocketImplWin32.cc:
3638         Removed code enclosed in DISABLE_JAVA_NET defines.
3639
3640 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3641
3642         * Makefile.am: (write_entries_to_file) New parameterized
3643         function for writing entries to a file one line at a time.
3644         (all_java_class_files): Removed definition.
3645         (.java.class) Removed.target.
3646         (libgcj-@gcc_version@.jar): Changed dependency to
3647         $(all_java_source_files); added compilation step which compiles
3648         all changed source files in one pass.
3649         (libgcj.la) Refactored to use write_entries_to_file.
3650         (lib-gnu-awt-xlib.la) Likewise.
3651         (install-data-local) Likewise.
3652         (write-entries-to-file-check) New target which tests write_entries_to_file.
3653         (all-recursive): Changed dependency from $(all_java_class_files)
3654         to libgcj-@gcc_version@.jar
3655         * Makefile.in: Rebuilt.
3656
3657 2003-08-26  Tom Tromey  <tromey@redhat.com>
3658
3659         * java/lang/StrictMath.java: Typo fix.
3660         * java/lang/Math.java: Typo fix.
3661
3662 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3663
3664         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3665         of the removed Thread.
3666
3667 2003-08-26  Mark Wielaard  <mark@klomp.org>
3668
3669         Reported by David Holmes <dholmes@dltech.com.au>.
3670         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3671         Collections.synchronizedMap.
3672         * java/lang/ThreadLocal.java (valueMap): Likewise.
3673
3674 2003-08-26  Mark Wielaard  <mark@klomp.org>
3675
3676         * java/security/acl/Acl.java: Fix broken p tag.
3677         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3678         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3679         * javax/swing/plaf/TreeUI.java: Likewise.
3680         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3681         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3682         documentation.
3683         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3684         tag.
3685
3686 2003-08-26  Tom Tromey  <tromey@redhat.com>
3687
3688         * Makefile.in: Rebuilt.
3689         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3690
3691         * java/lang/ref/Reference.java (get): Indentation fix.
3692         (clear): Comment fix.
3693         (enqueue): Likewise.
3694         (lock): Likewise.
3695         (referent): Likewise.
3696
3697 2003-08-26  Tom Tromey  <tromey@redhat.com>
3698
3699         PR java/12058:
3700         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3701
3702         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3703         (ProxyData.getPackage): New method.
3704         (ProxyData.getProxyData): Use package name, not Package.
3705         (ClassFactory.ClassFactory): Updated.
3706
3707 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3708         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3709         * Makefile.in: re-generated.
3710         * gnu/awt/j2d/IntegerGraphicsState.java
3711         (ScreenCoupledImage): new interface.
3712         (drawImage): detect ScreenCoupledImage instances.
3713         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3714         * gnu/awt/xlib/XEventLoop.java
3715         (createEvent): re-formatted, and rearranged to avoid null pointer.
3716         * gnu/awt/xlib/XGraphics.java
3717         (drawImage): added XOffScreenImage handling.
3718         * gnu/awt/xlib/XOffScreenImage.java: new file.
3719         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3720         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3721         * gnu/gcj/xlib/XAnyEvent.java
3722         (TYPE_KEY_PRESS): new constant.
3723         (TYPE_KEY_RELEASE): new constant.
3724         (TYPE_MOTION_NOTIFY): new constant.
3725         (TYPE_ENTER_NOTIFY): new constant.
3726         (TYPE_LEAVE_NOTIFY): new constant.
3727         (TYPE_FOCUS_IN): new constant.
3728         (TYPE_FOCUS_OUT): new constant.
3729         (TYPE_KEYMAP_NOTIFY): new constant.
3730         (TYPE_GRAPHICS_EXPOSE): new constant.
3731         (TYPE_NO_EXPOSE): new constant.
3732         (TYPE_VISIBILITY_NOTIFY): new constant.
3733         (TYPE_CREATE_NOTIFY): new constant.
3734         (TYPE_DESTROY_NOTIFY): new constant.
3735         (TYPE_MAP_REQUEST): new constant.
3736         (TYPE_CONFIGURE_REQUEST): new constant.
3737         (TYPE_GRAVITY_NOTIFY): new constant.
3738         (TYPE_RESIZE_REQUEST): new constant.
3739         (TYPE_CIRCULATE_NOTIFY): new constant.
3740         (TYPE_CIRCULATE_REQUEST): new constant.
3741         (TYPE_PROPERTY_NOTIFY): new constant.
3742         (TYPE_SELECTION_CLEAR): new constant.
3743         (TYPE_SELECTION_REQUEST): new constant.
3744         (TYPE_SELECTION_NOTIFY): new constant.
3745         (TYPE_COLORMAP_NOTIFY): new constant.
3746         (TYPE_MAPPING_NOTIFY): new constant.
3747         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3748         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3749         * java/awt/Component.java (createImage): changed to use peer method.
3750
3751 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3752
3753         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3754         name, not XLFD, to native drawString.
3755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3756         Replace XLFD-based implementation with Pango-based
3757         implementation.
3758
3759 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3760
3761         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3762         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3763
3764 2003-08-21  David Daney  <ddaney@avtrex.com>
3765
3766         Fix for PR libgcj/12013:
3767         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3768         Check `cleared' field.
3769         * java/lang/ref/Reference.java (copy): Updated comments.
3770         (cleared): New field.
3771         (clear): Rewrote.
3772
3773 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3774             Thomas Fitzsimmons  <fitzsim@redhat.com>
3775
3776         * Makefile.am (gtk_awt_peer_sources): Add
3777         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3778         gnu/java/awt/GLightweightPeer.java.
3779         * gnu/java/awt/GLightweightPeer.java: Remove file.
3780         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3781         * java/awt/Component.java (getToolkit): Add comment about
3782         lightweight components.
3783         * java/awt/Toolkit.java (createComponent): Return
3784         gnu.java.awt.peer.GLightweightPeer.
3785
3786 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3787
3788         * configure.in: Fix detection of gcj when building with newlib.
3789         * configure: Regenerated.
3790
3791 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3792
3793         * jni.cc: Replace "cheating" pointer-casting code with
3794         extract_from_jvalue<> template.
3795
3796 2003-08-20  Andrew Haley  <aph@redhat.com>
3797
3798         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3799         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3800         (classAt): Break out class lookup function into getClass().
3801         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3802         handlers when using -fno-assume-compiled.
3803
3804 2003-08-20  Tom Tromey  <tromey@redhat.com>
3805
3806         Fix for PR libgcj/9125:
3807         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3808         object outside of loop.  Respect lib_control setting.
3809         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3810         field.
3811         (lib_control): New field.
3812         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3813         (VMClassLoader): Initialize new field.
3814
3815         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3816         Set `list->reference' to DELETED_REFERENCE when removing dead
3817         object.
3818         (find_slot): Added an assert.
3819         (DELETED_REFERENCE): New define.
3820         (add_to_hash): Check for DELETED_REFERENCE.
3821         (remove_from_hash): Just return if found slot isn't ours.
3822
3823 2003-08-19  Andrew Haley  <aph@redhat.com>
3824
3825         * prims.cc (unblock_signal): New function.
3826         (catch_segv): Use it.
3827         (catch_fpe): Likewise.
3828
3829 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3830
3831         PR libgcj/11575
3832         * java/io/natFileDescriptorWin32.cc (open): Set create
3833         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3834         Honor EXCL when openning with WRITE flag. 
3835
3836 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3837
3838         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3839         getting a temporary C string from a jstring)
3840         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3841         but uses a stack buffer if the string length is less than 256
3842         bytes.
3843
3844 2003-08-18  Tom Tromey  <tromey@redhat.com>
3845
3846         PR libgcj/11951:
3847         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3848         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3849         value.  Added is_jni_call argument; only wrap exception if not a
3850         JNI call.  Use descriptive message if operation not supported.
3851         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3852         array class.
3853         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3854         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3855         _Jv_CallAnyMethodA.
3856         (_Jv_JNI_CallAnyMethodA): Likewise.
3857         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3858         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3859
3860 2003-08-13  Tom Tromey  <tromey@redhat.com>
3861
3862         * gij.cc (help): Document -? and -X.
3863
3864 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3865
3866         * java/awt/Font.java: 
3867         Stub out more recent API. 
3868
3869 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3870
3871         * java/awt/Color.java (getAlpha): 
3872         Prevent sign-extended alpha values.
3873
3874 2003-08-12  Tom Tromey  <tromey@redhat.com>
3875
3876         * gij.cc (main): Handle -? and -X.
3877
3878 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3879
3880         * java/awt/Container.java
3881         (getPreferredSize): Call preferredSize.
3882         (preferredSize): Moved body of getPreferredSize here.
3883         (getMinimumSize): Call minimumSize.
3884         (minimumSize): Moved body of getMinimumSize here.
3885
3886 2003-08-11  Tom Tromey  <tromey@redhat.com>
3887
3888         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3889         (postEvent): Removed FIXME comment.
3890         (isDispatchThread): Documented.
3891         (getCurrentEvent): New method.
3892         (dispatchEvent): Set currentEvent and lastWhen.
3893         (getMostRecentEventTime): Rewrote.
3894         (invokeLater): Documented.
3895
3896 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3897
3898         * java/io/PrintStream.java (print): Always flush if auto_flush is
3899         set. Don't check for newline characters.
3900         (write (int)): Implement without using a temporary array.
3901         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3902         check for newline characters.
3903         Fixes PR libgcj/11778.
3904
3905 2003-08-08  Andrew Haley  <aph@redhat.com>
3906
3907         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3908         * Makefile.in: Rebuild.
3909         * java/lang/natRuntime.cc (insertSystemProperties): Add
3910         "sun.boot.class.path".
3911
3912 2003-08-07  Andrew Haley  <aph@redhat.com>
3913
3914         * java/io/PrintStream.java: Don't crash on a null string.
3915         
3916 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3917
3918         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3919         * configure: Regenerate.
3920
3921 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3922
3923         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3924         SocketImpl. Update Javadoc.
3925         (bind): Call close() not impl.close() in event of exception.
3926         (connect): Likewise.
3927         Remove superfluous null checks throughout.
3928         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3929         Don't create an extra socket. Fix for PR libgcj/10868.
3930         (bind): Clean up exception handling.
3931         Remove superfluous null checks throughout.
3932
3933 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3934             Bryce McKinlay  <bryce@mckinlay.net.nz>
3935
3936         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3937         ready-to-write argument to _Jv_Select. Reset the socket back to 
3938         non-blocking state after connecting.
3939         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3940         Throw SocketTimeoutException not InterruptedIOException.
3941         (read): Throw SocketTimeoutException not InterruptedIOException.
3942
3943 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3944
3945         * java/lang/Thread.java (Thread): Check for null "name" from
3946         start of private constructor, not after calling the private
3947         constructor.
3948
3949 2003-08-06  Tom Tromey  <tromey@redhat.com>
3950
3951         * java/io/FilePermission.java (equals): Use correct index for
3952         last character of path.
3953
3954 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3955
3956         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3957         * configure.in: Compare with_cross_host to build_alias, not build.
3958         * aclocal.m4: Regenerate.
3959         * configure: Regenerate.
3960
3961 2003-08-05  Tom Tromey  <tromey@redhat.com>
3962
3963         Fix for PR libgcj/11779:
3964         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3965         class.
3966
3967         * java/lang/reflect/Method.java: Updated status comment.
3968         Imported javadoc from Classpath and re-ordered methods.
3969         * java/lang/reflect/Constructor.java: Reindented.  Updated
3970         status comment.  Imported javadoc from Classpath and re-ordered
3971         methods.
3972
3973 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3974
3975         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3976         Add keyLocation parameter.
3977         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3978         string.
3979         (paramString): Generate keyChar string according to keyChar, not
3980         keyCode.
3981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3982         (state_to_awt_mods): Handle ALT key.
3983         (keyevent_state_to_awt_mods): New function.
3984         (get_first_keyval_from_keymap): New function.
3985         (keysym_to_awt_keycode): Get virtual key code from keymap.
3986         Handle missing VK_ values.
3987         (keysym_to_awt_keylocation): New function.
3988         (keyevent_to_awt_keychar): New function.
3989         (generates_key_typed_event): Handle non-text-component case.
3990         Handle GDK_KP_Delete and GDK_KP_Enter.
3991         (awt_event_handler): Call new functions to get postKeyEvent
3992         parameters.
3993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3994         Update postKeyEvent method signature.
3995         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3996         VK_ defines.
3997
3998 2003-08-05  Matthias Klose  <doko@debian.org>
3999
4000         * aclocal.m4: check for libart-config binary
4001           under the name libart2-config as well.
4002         * configure: regenerated.
4003
4004 2003-08-04  David P Grove  <groved@us.ibm.com>
4005
4006         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4007         when groupingSize is 0.
4008         (parse): Likewise.
4009
4010 2003-08-04  Matthias Klose  <doko@debian.org>
4011
4012         * libart.m4: check for libart-config binary
4013           under the name libart2-config as well.
4014         * configure, aclocal.m4: regenerated.
4015
4016 2003-08-02  Michael Koch  <konqueror@gmx.de>
4017
4018         * java/nio/ByteBufferImpl.java
4019         (getChar): Check remaining bytes, fixed comment about endianess.
4020         (putChar): Likewise.
4021         (getShort): Likewise.
4022         (putShort): Likewise.
4023         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4024         endianess.
4025         (putInt): Likewise.
4026         (getLong): Likewise.
4027         (putLong): Likewise.
4028         (getFloat): Likewise.
4029         (putFloat): Likewise.
4030         (getDouble): Likewise.
4031         (putDouble): Likewise.
4032         * java/nio/DirectByteBufferImpl.java
4033         (getChar): Wrapped code, fixed comment about endianess.
4034         (putchar): Likewise.
4035         (getShort): Likewise.
4036         (putShort): Likewise.
4037         (getInt): Fixed conversion, fixed comment about endianess.
4038         (putInt): Likewise.
4039         (getLong): Likewise.
4040         (putLong): Likewise.
4041         (getFloat): Likewise.
4042         (putFloat): Likewise.
4043         (getDouble): Likewise.
4044         (putDouble): Likewise.
4045         * java/nio/MappedByteBufferImpl.java
4046         (compact): Implemented.
4047         (getChar): Implemented.
4048         (putChar): Implemented.
4049         (getDouble): Implemented.
4050         (putdouble): Implemented.
4051         (getFloat): Implemented.
4052         (putFloat): Implemented.
4053         (getInt): Implemented.
4054         (putInt): Implemented.
4055         (getLong): Implemented.
4056         (putLong): Implemented.
4057         (getShort): Implemented.
4058         (putShort): Implemented.
4059         * java/nio/channels/FileChannelImpl.java
4060         (read): Set position where to access file.
4061         (write): Likewise.
4062         (transferTo): Flip buffer after read and before write.
4063         (transferFrom): Likewise.
4064
4065 2003-08-02  Michael Koch  <konqueror@gmx.de>
4066
4067         * gnu/java/lang/ArrayHelper.java
4068         (equalsArray): Reformated, added method documentation.
4069
4070 2003-08-02  Michael Koch  <konqueror@gmx.de>
4071
4072         * java/net/URL.java
4073         (URL): Added paragraph about the
4074         gnu.java.net.nocache_protocol_handlers property.
4075         (ph_cache): Renamed from handlers to match classpath's implementation.
4076         Reordered it with factory and serialVersionUID member variables.
4077         (cache_handlers): New member variable.
4078         (static): New static initializer to initialize cache_handlers from
4079         gnu.java.net.nocache_protocol_handlers property.
4080         (URL): Use ph_cache instead of handlers, reformatted some code to
4081         match classpath's implementation.
4082
4083 2003-08-01  Tom Tromey  <tromey@redhat.com>
4084
4085         Fix for PR libgcj/11241:
4086         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4087         initialCapacity is 0, set it to 1.
4088
4089 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4090
4091         * java/net/SocketImpl.java (toString): Display the remote address
4092         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4093
4094 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4095
4096         * javax/swing/border/BevelBorder.java,
4097         javax/swing/border/EtchedBorder.java,
4098         javax/swing/border/LineBorder.java,
4099         javax/swing/border/MatteBorder.java,
4100         javax/swing/border/SoftBevelBorder.java,
4101         javax/swing/plaf/BorderUIResource.java,
4102         javax/swing/plaf/ComponentUI.java,
4103         javax/swing/plaf/TreeUI.java,
4104         javax/swing/plaf/basic/BasicBorders.java,
4105         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4106         javax/swing/plaf/basic/BasicTreeUI.java:
4107         Prepend "doc-files" to all paths to embedded Javadoc images, so
4108         that the generated documentation contains the correct URL.
4109
4110 2003-08-01  Tom Tromey  <tromey@redhat.com>
4111
4112         * configure: Rebuilt.
4113         * configure.in (tool_include_dir): Redefine to match gcc.
4114
4115 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4116             Mark Wielaard  <mark@klomp.org>
4117             
4118         * java/math/BigDecimal (divide): Correctly handle
4119         ROUND_HALF_EVEN when amount is greater than 0.5.
4120         Simplify and optimize code.
4121
4122 2003-07-31  Tom Tromey  <tromey@redhat.com>
4123
4124         More for PR libgcj/11737:
4125         * java/io/ObjectInputStream.java (processResolution): Use
4126         getMethod.
4127         (getMethod): Make method accessible.
4128         (getField): Make field accessible.
4129         (setBooleanField): Don't call setAccessible here.
4130         (setByteField, setCharField, setDoubleField, setFloatField,
4131         setIntField, setLongField, setShortField, setObjectField):
4132         Likewise.
4133         (callReadMethod): Don't check whether method is null.  Catch
4134         NoSuchMethodException.
4135         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4136         cause on thrown exceptions.
4137
4138 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4139
4140         Fix for PR libgcj/11728:
4141         * java/util/HashMap.java (readObject): Set size.
4142
4143 2003-07-31  Tom Tromey  <tromey@redhat.com>
4144
4145         Fix for PR libgcj/11737:
4146         * java/io/ObjectOutputStream.java (getMethod): Make method
4147         accessible.
4148         (getField): Likewise.
4149         (writeObject): Use getMethod.
4150         Import PrivilegedAction and AccessController.
4151         (callWriteMethod): Don't check whether m is null.  Catch
4152         NoSuchMethodException.
4153
4154         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4155         (containsAngle): Likewise.
4156         (getStartPoint): Rewrote.
4157         (getEndPoint): Likewise.
4158         (setAngleStart(Point2D)): Likewise.
4159
4160 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4161             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4162
4163         * configure.in: Add new THREADCXXFLAGS variable.
4164         Handle POSIX threads on alpha*-dec-osf*.
4165         * configure: Regenerate.
4166         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4167         * Makefile.in: Regenerate.
4168
4169 2003-07-08  Andrew Haley  <aph@redhat.com>
4170
4171         * include/i386-signal.h (RESTORE): New.
4172         (INIT_SEGV): Set restorer.
4173         (INIT_FPE): Likewise.
4174
4175 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4176
4177         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4178         than getXLFD.
4179         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4180         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4182         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4184         Likewise.
4185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4186         Likewise.
4187
4188 2003-07-29  Tom Tromey  <tromey@redhat.com>
4189
4190         * defineclass.cc (handleField): Throw exception if field name is
4191         duplicated.
4192         (handleMethod): Throw exception for duplicate method.
4193
4194 2003-07-29  Tom Tromey  <tromey@redhat.com>
4195
4196         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4197         output buffer is too small.
4198
4199 2003-07-28  Tom Tromey  <tromey@redhat.com>
4200
4201         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4202         New method.
4203         Include gnu/gcj/runtime/StringBuffer.h.
4204         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4205         native method.
4206         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4207
4208 2003-07-27  Anthony Green  <green@redhat.com>
4209
4210         * configure.in: Fix newlib check.
4211         * configure: Rebuilt.
4212
4213 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4214
4215         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4216         Create vbox and layout for GtkPlug.
4217
4218 2003-07-27  Michael Koch  <konqueror@gmx.de>
4219
4220         * java/awt/Window.java
4221         (Window): Removed now unused constructor. It became oboslete with the
4222         new embedded window patch.
4223
4224 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4225             Michael Koch  <konqueror@gmx.de>
4226
4227         * gnu/java/awt/EmbeddedWindow.java
4228         (EmbeddedWindow): Extends Frame instead of Window.
4229         (window_id): New member variable to store the native window handle.
4230         (create): Removed.
4231         (EmbeddedWindow): New constructor.
4232         (addNotify): New method.
4233         (getHandler): Likewise.
4234         (setWindowPeer): New native method.
4235         * gnu/java/awt/EmbeddedWindowSupport.java
4236         (EmbeddedWindowSupport): Fixed documentation.
4237         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4238         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4239         window data.
4240         * gnu/java/awt/natEmbeddedWindow.cc
4241         (create): Removed.
4242         (setWindowPeer): New method.
4243         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4244         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4245         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4246         New files
4247         * gnu/java/awt/peer/gtk/GtkToolkit.java
4248         (GtkToolkit): Implements EmbeddedWindowSupport.
4249         (createEmbeddedWindow): New method.
4250         * java/awt/Window.java
4251         (Window): Removed.
4252         * Makefile.am
4253         (java_source_files): Added EmbeddedWindowPeer.java.
4254         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4255         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4256         * Makefile.in: Regenerated.
4257
4258 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4259
4260         * java/lang/Win32Process.java (ConcreteProcess): Surround
4261         a command line element with quotes if it contains an
4262         embedded space or tab.
4263         * java/lang/natWin32Process.cc (startProcess): Do not
4264         surround command line elements with quotes here.
4265
4266         * configure.host: Use -fcheck-references and 
4267         -fuse-divide-subroutine for MinGW until we fix
4268         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4269         Structured Exception Handling (SEH).
4270
4271         * win32.cc (_Jv_platform_initProperties): Use generic names
4272         like "x86" for the "os.arch" property to be consistent with
4273         what Sun's JDK produces. Use the wProcessorArchitecture
4274         member of the Win32 SYSTEM_INFO structure, filled in a call 
4275         to GetSystemInfo( ), instead of dwProcessorType.
4276
4277 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4278             Ranjit Mathew  <rmathew@hotmail.com>
4279
4280         * Makefile.am: Use cross-compiling gcjh from the path for
4281         a crossed-native build.
4282         * Makefile.in: Rebuilt.
4283         * configure.in: Include libltdl in non-newlib builds.
4284         Moved determination of gcj used to build libraries to
4285         its own section. Fixed cross-compilation issues for
4286         non-newlib builds.
4287         * configure: Rebuilt.
4288
4289 2003-07-25  Tom Tromey  <tromey@redhat.com>
4290
4291         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4292         (write): Likewise.
4293         (read): Likewise.
4294         (read): Likewise.
4295
4296 2003-07-25  Mark Wielaard  <mark@klomp.org>
4297
4298         * java/lang/natRuntime.cc (_load): Add library name to
4299         UnsatisfiedLinkError when thrown.
4300
4301 2003-07-25  Mark Wielaard  <mark@klomp.org>
4302
4303         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4304         added.
4305         * Makefile.in: Likewise.
4306
4307 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4308
4309         * java/awt/Component.java
4310         (getPreferredSize): Call preferredSize.
4311         (preferredSize): Moved body of getPreferredSize here.
4312         (getMinimumSize): Call minimumSize.
4313         (minimumSize): Moved body of getMinimumSize here.
4314         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4315         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4316         pass -1
4317         * java/awt/Container.java
4318         (validate): Don't validate if there is no peer.
4319         (update): Clear background before calling paint.
4320         * java/awt/GridBagLayout.java
4321         Completed the implementation and fixed several bugs.
4322         * java/awt/MediaTracker.java
4323         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4324         combine flags.
4325         * java/awt/Window.java
4326         (Window): Don't call setVisible(false). Windows are invisible by
4327         default and calling virtual methods from constructor causes
4328         compatibility problems (e.g. subclasses may assume that the peer
4329         already exists).
4330
4331 2003-07-25  Michael Koch  <konqueror@gmx.de>
4332
4333         * java/awt/GridBagLayout.java:
4334         Totally reworked and partly implemented.
4335         * java/awt/GridBagLayoutInfo.java:
4336         New file.
4337
4338 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4339
4340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4341         Don't pack label in an event box.
4342
4343 2003-07-24  Tom Tromey  <tromey@redhat.com>
4344
4345         For PR libgcj/7482:
4346         * verify.cc (ref_intersection): New class.
4347         (type_val): Removed unresolved_reference_type,
4348         uninitialized_unresolved_reference_type.
4349         (is_assignable_from_slow): Rewrote.
4350         (type::data): Removed.
4351         (type::klass): New field.
4352         (type::type): Added verifier argument.
4353         (type::resolve): Removed.
4354         (type::set_uninitialized): Updated for change to type_val.
4355         (type::set_initialized): Likewise.
4356         (type::isinitialized): Likewise.
4357         (type::print): Likewise.
4358         (construct_primitive_array_type): Likewise.
4359         (type::compatible): Updated for change to type_val and to use
4360         ref_intersection.
4361         (type::isarray): Updated to use ref_intersection.
4362         (type::isinterface): Likewise.
4363         (type::element_type): Likewise.
4364         (type::to_array): Likewise.
4365         (type::verify_dimensions): Rewrote.
4366         (type::merge): Likewise.
4367         (check_class_constant): Updated for type constructor change.
4368         (check_constant): Likewise.
4369         (check_field_constant): Likewise.
4370         (get_one_type): Likewise.
4371         (initialize_stack): Likewise.
4372         (verify_instructions_0): Likewise.
4373         (verify_instructions_0) [op_invokeinterface]: Removed special
4374         case.
4375         (isect_list): New field.
4376         (_Jv_BytecodeVerifier): Initialize it.
4377         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4378
4379 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4380
4381         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4382         unless field size is 2.
4383
4384 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4385
4386         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4387         (connectHooks): New method.
4388         (handleEvent): Remove.
4389         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4390         (createHooks): Remove declaration.
4391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4392         (generates_key_typed_event): Change to handle only certain
4393         keyvals.
4394         (awt_event_handler): Add special handling for GtkTextView.
4395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4396         (textcomponent_commit_cb): New function.
4397         (textcomponent_changed_cb): Likewise.
4398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4399         (connectHooks): Remove.
4400
4401 2003-07-23  Tom Tromey  <tromey@redhat.com>
4402
4403         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4404
4405         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4406
4407 2003-07-22  Tom Tromey  <tromey@redhat.com>
4408
4409         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4410         Include limits.h.
4411
4412 2003-07-22  Tom Tromey  <tromey@redhat.com>
4413
4414         * java/awt/Window.java (getWarningString): Just return the
4415         string.
4416         (Window): Set warningString; check with security manager.
4417
4418 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4419
4420         * gnu/awt/xlib/XGraphicsConfiguration.java
4421         (FontMetricsCache): Made static.
4422  
4423 2003-07-22  Tom Tromey  <tromey@redhat.com>
4424
4425         * java/net/URLEncoder.java (encode(String)): Use platform default
4426         encoding.
4427         (encode(String,String)): Convert to 2-digit upper-case hex
4428         number.
4429         (hex): New field.
4430
4431 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4432
4433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4434         (create): Remove unused method implementation.
4435         (connectHooks): Remove debug messages.
4436
4437 2003-07-20  Anthony Green  <green@redhat.com>
4438
4439         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4440         CloneNotSupportedException.
4441         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4442         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4443         * gnu/gcj/xlib/GC.java (clone): Ditto.
4444         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4445         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4446
4447         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4448         handler.
4449         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4450
4451 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4452
4453         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4454         String.  Put dlerror() message into exception.
4455         Include UnsatisfiedLinkError.
4456         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4457         String.  Now native.
4458
4459 2003-07-20  Tom Tromey  <tromey@redhat.com>
4460
4461         * java/lang/Runtime.java: Comment fix.
4462         * java/lang/ClassLoader.java (isAncestorOf): New method.
4463         (getParent): Uncommented security check.  Use isAncestorOf.
4464         * include/jvm.h (_Jv_CheckAccess): Declare.
4465         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4466         access check.
4467         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4468         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4469         class loader to _Jv_GetArrayClass.
4470         Include ArrayIndexOutOfBoundsException.h.
4471         * java/lang/reflect/Field.java: Update comment to reflect status.
4472         (equals): Fixed indentation.
4473         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4474         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4475         * java/lang/Class.java (memberAccessCheck): New method from
4476         Classpath.
4477         (checkMemberAccess): Removed.
4478         (getDeclaredMethod): Use memberAccessCheck.
4479         (getField): Likewise.
4480         (getMethod): Likewise.
4481         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4482         (_Jv_SearchMethodInClass): Likewise.
4483         * prims.cc (_Jv_CheckAccess): New function.
4484         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4485         (_Jv_JNI_GetAnyFieldID): Likewise.
4486         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4487         (getClassLoader): Added security check.
4488         (getConstructor): Call memberAccessCheck.
4489         (getDeclaredClasses): Likewise.
4490         (getDeclaredField): Likewise.
4491         (getDeclaredFields): Likewise.
4492         (_getConstructors): Likewise.
4493         (getDeclaredConstructor): Likewise.
4494         (getDeclaredMethods): Likewise.
4495         (getFields): Likewise.
4496         (getMethods): Likewise.
4497         (newInstance): Likewise.
4498         (_Jv_MakeVTable): Put method name in exception.
4499         * java/lang/reflect/natMethod.cc (getType): Use
4500         getClassLoaderInternal.
4501         (_Jv_GetTypesFromSignature): Likewise.
4502         (invoke): Perform access check.
4503         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4504         Include ArrayIndexOutOfBoundsException.h.
4505         * java/lang/reflect/natField.cc (getType): Use
4506         getClassLoaderInternal.
4507         (_Jv_CheckFieldAccessibility): Removed.
4508         (getAddr): Use _Jv_CheckAccess; find caller.
4509         Include ArrayIndexOutOfBoundsException.h.
4510
4511 2003-07-20  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/net/URL.java
4514         (URL): Fixed documentation to name an argument correcty, Reformatted
4515         one method declaration.
4516         (getURLStreamHandler): Added documentation from classpath.
4517
4518 2003-07-19  Tom Tromey  <tromey@redhat.com>
4519
4520         * mauve-libgcj: Don't run CollationElementIterator tests.
4521
4522 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4523
4524         * java/net/URLClassLoader.java (addURL): Moved implementation to
4525         private addURLImpl() to avoid calling addURL from the constructor.
4526         (addURLImpl): Contains the code that was previously in addURL.
4527         (addURLs): Call addURLImpl(), not addURL().
4528
4529 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4530
4531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4532         Handle missing event cases, connect to "value-changed" signal.
4533
4534 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4535
4536         * java/awt/geom/CubicCurve2D.java,
4537         java/awt/geom/Line2D.java,
4538         java/awt/geom/QuadCurve2D.java,
4539         java/awt/geom/Rectangle2D.java: 
4540         Fix path some calculations, make path iterators follow
4541         a consistent style.
4542
4543 2003-07-18  Mark Wielaard  <mark@klomp.org>
4544
4545         * java/util/logging/Handler.java (isLoggable): Check record level
4546         smaller or equal.
4547
4548 2003-07-17  Michael Koch  <konqueror@gmx.de>
4549
4550         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4551         Reworked imports.
4552
4553 2003-07-14  Michael Koch  <konqueror@gmx.de>
4554
4555         * gnu/java/rmi/server/UnicastServerRef.java:
4556         New version from classpath.
4557
4558 2003-07-14  Michael Koch  <konqueror@gmx.de>
4559
4560         * java/awt/image/MemoryImageSource.java,
4561         java/beans/PropertyEditorManager.java,
4562         javax/naming/CompoundName.java,
4563         javax/naming/spi/NamingManager.java,
4564         javax/swing/AbstractButton.java,
4565         javax/swing/ButtonModel.java,
4566         javax/swing/SwingUtilities.java,
4567         javax/swing/UIManager.java,
4568         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4569         javax/swing/event/AncestorEvent.java,
4570         javax/swing/event/InternalFrameEvent.java,
4571         java/util/zip/ZipFile.java:
4572         New versions from classpath.
4573
4574 2003-07-13  Michael Koch  <konqueror@gmx.de>
4575
4576         * gnu/java/nio/FileChannelImpl.java,
4577         gnu/java/nio/natFileChannelImpl.cc: Removed.
4578         * java/io/FileInputStream.java,
4579         java/io/FileOutputStream.java,
4580         java/io/RandomAccessFile.java,
4581         java/nio/MappedByteBufferImpl.java:
4582         Import java.nio.channels.FileChannelImpl instead of
4583         gnu.java.nio.FileChannelImpl.
4584         * java/nio/channels/FileChannelImpl.java,
4585         java/nio/channels/natFileChannelImpl.cc:
4586         New files.
4587         * Makefile.am
4588         (ordinary_java_source_files):
4589         Removed gnu/java/nio/FileChannelImpl.java and added
4590         java/nio/channels/FileChannelImpl.java.
4591         (nat source_files):
4592         Removed gnu/java/nio/natFileChannelImpl.cc and added
4593         java/nio/channels/natFileChannelImpl.cc.
4594         * Makefile.in: Regenerated.
4595
4596 2003-07-13  Michael Koch  <konqueror@gmx.de>
4597
4598         * javax/swing/plaf/basic/BasicBorders.java,
4599         javax/swing/plaf/basic/BasicLabelUI.java,
4600         javax/swing/plaf/basic/BasicLookAndFeel.java,
4601         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4602         javax/swing/plaf/basic/BasicTextUI.java,
4603         javax/swing/plaf/metal/MetalLookAndFeel.java:
4604         New versions from classpath.
4605
4606 2003-07-13  Michael Koch  <konqueror@gmx.de>
4607
4608         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4609         * gnu/java/awt/peer/gtk/GdkGraphics.java
4610         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4611         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4612         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4613         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4614         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4615         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4616         * gnu/java/awt/peer/gtk/GtkClipboard.java
4617         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4618         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4619         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4620         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4621         * gnu/java/awt/peer/gtk/GtkImage.java
4622         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4623         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4624         * gnu/java/awt/peer/gtk/GtkListPeer.java
4625         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4626         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4627         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4628         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4629         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4630         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4631         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4632         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4633         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4634         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4635         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4636         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4637
4638 2003-07-13  Michael Koch  <konqueror@gmx.de>
4639
4640         * gnu/java/locale/LocaleInformation_de.java
4641         * gnu/java/locale/LocaleInformation_en.java
4642         * gnu/java/locale/LocaleInformation_nl.java
4643
4644 2003-07-13  Michael Koch  <konqueror@gmx.de>
4645
4646         * gnu/java/awt/EmbeddedWindow.java,
4647         gnu/java/awt/EmbeddedWindowSupport.java,
4648         gnu/java/awt/natEmbeddedWindow.cc:
4649         New files.
4650         * java/awt/Window.java
4651         (Window): New constructor to support embedded windows.
4652         * Makefile.am
4653         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4654         gnu/java/awt/EmbeddedWindowSupport.java.
4655         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4656         * Makefile.in: Regenerated.
4657
4658 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4659
4660         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4661         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4662         * java/awt/im/InputContext.java: Remove a redundant
4663         partial line.
4664
4665 2003-07-09  Tom Tromey  <tromey@redhat.com>
4666
4667         * Makefile.in: Rebuilt.
4668         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4669
4670 2003-07-09  Mark Wielaard  <mark@klomp.org>
4671
4672         * java/io/ObjectOutputStream.java (writeObject): break after
4673         calling writeClassDescriptor().
4674
4675 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4676
4677         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4678
4679 2003-07-09  Michael Koch  <konqueror@gmx.de>
4680
4681         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4682         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4683         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4684         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4685         Explicitly import used classes.
4686         * java/awt/Container.java: New version from classpath.
4687
4688 2003-07-09  Michael Koch  <konqueror@gmx.de>
4689
4690         * libgcj.pc.in: New file.
4691         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4692         * Makefile.in: Regenerated.
4693         * configure: Regenrated.
4694         * configure.in: Create libgcj.pc from libgcj.pc.in.
4695
4696 2003-07-08  Mark Wielaard <mark@klomp.org>
4697
4698         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4699
4700         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4701         * java/lang/fdlibm.h: Likewise.
4702
4703 2003-07-07  Adam Megacz <adam@xwt.org>
4704
4705         * posix.cc: added #include<stdio.h>
4706                 
4707 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4708
4709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4710         formatting.
4711
4712         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4713         (setCaretPosition, setEditable): Rely entirely on native
4714         implementation.
4715         (getArgs): Remove.
4716         (postTextEvent): New method.
4717         (handleEvent): New method.
4718         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4719         method.
4720         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4722         (keysym_to_awt_keycode): Fix range checks.
4723         (generates_key_typed_event): New function.
4724         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4725         queue.
4726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4727         (gtkInit): Store TextComponent's postTextEvent method ID.
4728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4729         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4730
4731 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4732
4733         * configure.in: Check for usleep declaration.
4734         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4735         * configure: Regenerate.
4736         * include/config.h.in: Likewise.
4737         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4738
4739 2003-07-01  Michael Koch  <konqueror@gmx.de>
4740
4741         * gnu/gcj/convert/natIconv.cc
4742         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4743         handle.
4744
4745 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4746
4747         * glib-2.0.m4: New file.
4748         * gtk-2.0.m4: New file.
4749         * glib.m4: Remove.
4750         * gtk.m4: Remove.
4751         * configure.in: Update AM_PATH_GTK macro call to
4752         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4754         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4755         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4756         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4757         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4758         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4759         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4760         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4761         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4762         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4763         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4764         jni/gtk-peer/gthread-jni.c,
4765         jni/gtk-peer/gthread-jni.h:
4766         New versions from classpath.
4767         * aclocal.m4: Regenerate.
4768         * configure: Regenerate.
4769         * Makefile.in: Regenerate.
4770         * gcj/Makefile.in: Regenerate.
4771         * include/Makefile.in: Regenerate.
4772         * testsuite/Makefile.in: Regenerate.
4773
4774 2003-06-30  Gary Benson  <gbenson@redhat.com>
4775
4776         For PR libgcj/11349:
4777         * javax/naming/spi/NamingManager.java (getURLContext): Use
4778         correct name for factory class.
4779
4780 2003-06-28  Michael Koch  <konqueror@gmx.de>
4781
4782         * java/io/PrintStream.java
4783         (checkError): Call flush() instead of direct flushing of the Writer
4784         object.
4785         (print): Call print(String) instead of direct print method of the
4786         Writer Object.
4787         (println): Call println(String) instead of direct println method of the
4788         Writer Object.
4789         (write): Simplified.
4790
4791 2003-06-28  Michael Koch  <konqueror@gmx.de>
4792
4793         * java/net/ServerSocket.java
4794         (setChannel): New method.
4795         * java/net/Socket.java
4796         (setChannel): New method.
4797
4798 2003-06-27  Michael Koch  <konqueror@gmx.de>
4799
4800         * java/beans/beancontext/BeanContextSupport.java:
4801         New version from classpath.
4802
4803 2003-06-27  Michael Koch  <konqueror@gmx.de>
4804
4805         * java/awt/Window.java,
4806         java/awt/font/GraphicAttribute.java,
4807         java/awt/font/ImageGraphicAttribute.java,
4808         java/awt/image/DataBufferByte.java,
4809         java/awt/image/DataBufferInt.java,
4810         java/awt/image/DataBufferUShort.java,
4811         java/awt/image/DirectColorModel.java,
4812         java/awt/image/PixelGrabber.java:
4813         New versions from classpath.
4814
4815 2003-06-27  Michael Koch  <konqueror@gmx.de>
4816
4817         * java/security/Certificate.java
4818         (getGuarantor): Removed wrong @deprecated tag.
4819         (getPrincipal): Likewise.
4820         (getPublicKey): Likewise.
4821         (encode): Likewise.
4822         (decode): Likewise.
4823         (getFormat): Likewise.
4824         (toString): Likewise.
4825         * java/security/cert/PolicyQualifierInfo.java
4826         (PolicyQualifierInfo): Made final.
4827         * javax/security/auth/x500/X500Principal.java
4828         (serialVersionUID): New member variable.
4829
4830 2003-06-27  Michael Koch  <konqueror@gmx.de>
4831
4832         * java/text/Format.java
4833         (serialVersionUID): Fixed value.
4834
4835 2003-06-27  Michael Koch  <konqueror@gmx.de>
4836
4837         * java/net/Inet4Address.java
4838         (Inet4Address): Made package-private.
4839         * java/net/Inet6Address.java
4840         (Inet4Address): Made package-private.
4841
4842 2003-06-27  Michael Koch  <konqueror@gmx.de>
4843
4844         * java/io/RandomAccessFile.java
4845         (readLine): Removed wrong @deprecated tag.
4846         (getChannel): Made final.
4847
4848 2003-06-27  Michael Koch  <konqueror@gmx.de>
4849
4850         * gnu/java/nio/FileChannelImpl.java
4851         (write): Removed.
4852
4853 2003-06-27  Michael Koch  <konqueror@gmx.de>
4854
4855         * java/nio/ByteBufferImpl.java
4856         (ByteBufferImpl): Made it a package-private class
4857         * java/nio/CharBufferImpl.java
4858         (CharBufferImpl): Made it a package-private class
4859         * java/nio/DirectByteBufferImpl.java
4860         (DirectByteBufferImpl): Made it a package-private class
4861         * java/nio/DoubleBufferImpl.java
4862         (DoubleBufferImpl): Made it a package-private class
4863         * java/nio/FloatBufferImpl.java
4864         (FloatBufferImpl): Made it a package-private class
4865         * java/nio/IntBufferImpl.java
4866         (IntBufferImpl): Made it a package-private class
4867         * java/nio/LongBufferImpl.java
4868         (LongBufferImpl): Made it a package-private class
4869         * java/nio/ShortBufferImpl.java
4870         (ShortBufferImpl): Made it a package-private class
4871         * java/nio/channels/FileChannel.java
4872         (write): Made final.
4873         * java/nio/channels/ServerSocketChannel.java
4874         (ServerSocketChanne): Made protected.
4875
4876 2003-06-27  Michael Koch  <konqueror@gmx.de>
4877
4878         * javax/naming/CompositeName.java
4879         (serialVersionUID): New member variable.
4880         * javax/naming/CompoundName.java
4881         (serialVersionUID): New member variable.
4882         * javax/naming/InitialContext.java
4883         (InitialContext): Throws NamingException.
4884         (init): Likewise.
4885         * javax/naming/LinkRef.java
4886         (serialVersionUID): New member variable.
4887         (gteLinkName): Throws NamingException.
4888         * javax/naming/NamingException.java
4889         (serialVersionUID): New member variable.
4890         * javax/naming/NamingSecurityException.java
4891         (NamingSecurityException): Made abstract.
4892         (serialVersionUID): New member variable.
4893         * javax/naming/ReferralException.java
4894         (serialVersionUID): New member variable.
4895         * javax/naming/StringRefAddr.java
4896         (serialVersionUID): New member variable.
4897         * javax/naming/directory/BasicAttribute.java:
4898         Reworked imports.
4899         (serialVersionUID): New member variable.
4900         (get): Throws NamingException.
4901         (getAll): Throws NamingException.
4902         * javax/naming/directory/BasicAttributes.java:
4903         Reworked imports.
4904         (serialVersionUID): New member variable.
4905         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4906         (serialVersionUID): New member variable.
4907
4908 2003-06-27  Michael Koch  <konqueror@gmx.de>
4909
4910         * Makefile.am
4911         (awt_java_source_files): Added new files:
4912         javax/swing/Popup.java,
4913         javax/swing/PopupFactory.java
4914         * Makefile.in: Regenerated.
4915
4916 2003-06-27  Michael Koch  <konqueror@gmx.de>
4917
4918         * javax/swing/JWindow.java,
4919         javax/swing/event/AncestorEvent.java,
4920         javax/swing/event/HyperlinkEvent.java,
4921         javax/swing/event/InternalFrameEvent.java,
4922         javax/swing/event/ListDataEvent.java,
4923         javax/swing/event/TableModelEvent.java,
4924         javax/swing/plaf/PopupMenuUI.java,
4925         javax/swing/plaf/SplitPaneUI.java,
4926         javax/swing/plaf/TabbedPaneUI.java,
4927         javax/swing/plaf/TextUI.java,
4928         javax/swing/plaf/TreeUI.java,
4929         javax/swing/plaf/basic/BasicTextUI.java,
4930         javax/swing/plaf/basic/BasicTreeUI.java:
4931         New versions from classpath.
4932         * javax/swing/Popup.java,
4933         javax/swing/PopupFactory.jav:
4934         New source files from classpath.
4935         * javax/swing/plaf/doc-files/TreeUI-1.png:
4936         New binary files from classpath.
4937
4938 2003-06-25  Michael Koch  <konqueror@gmx.de>
4939
4940         * Makefile.am
4941         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4942         * Makefile.in: Regenerated.
4943
4944 2003-06-25  Michael Koch  <konqueror@gmx.de>
4945
4946         * javax/swing/plaf/ActionMapUIResource.java,
4947         javax/swing/plaf/BorderUIResource.java,
4948         javax/swing/plaf/ButtonUI.java,
4949         javax/swing/plaf/ColorChooserUI.java,
4950         javax/swing/plaf/ColorUIResource.java,
4951         javax/swing/plaf/ComboBoxUI.java,
4952         javax/swing/plaf/ComponentInputMapUIResource.java,
4953         javax/swing/plaf/ComponentUI.java,
4954         javax/swing/plaf/DesktopIconUI.java,
4955         javax/swing/plaf/DesktopPaneUI.java,
4956         javax/swing/plaf/DimensionUIResource.java,
4957         javax/swing/plaf/FileChooserUI.java,
4958         javax/swing/plaf/FontUIResource.java,
4959         javax/swing/plaf/IconUIResource.java,
4960         javax/swing/plaf/InputMapUIResource.java,
4961         javax/swing/plaf/InsetsUIResource.java,
4962         javax/swing/plaf/InternalFrameUI.java,
4963         javax/swing/plaf/LabelUI.java,
4964         javax/swing/plaf/ListUI.java,
4965         javax/swing/plaf/MenuBarUI.java,
4966         javax/swing/plaf/MenuItemUI.java,
4967         javax/swing/plaf/OptionPaneUI.java,
4968         javax/swing/plaf/PanelUI.java,
4969         javax/swing/plaf/ProgressBarUI.java,
4970         javax/swing/plaf/RootPaneUI.java,
4971         javax/swing/plaf/ScrollBarUI.java,
4972         javax/swing/plaf/ScrollPaneUI.java,
4973         javax/swing/plaf/SeparatorUI.java,
4974         javax/swing/plaf/SliderUI.java,
4975         javax/swing/plaf/TableHeaderUI.java,
4976         javax/swing/plaf/TableUI.java,
4977         javax/swing/plaf/ToolBarUI.java,
4978         javax/swing/plaf/ToolTipUI.java,
4979         javax/swing/plaf/ViewportUI.java:
4980         New versions from classpath.
4981         * javax/swing/plaf/SpinnerUI.java: 
4982         New file from classpath
4983
4984 2003-06-25  Michael Koch  <konqueror@gmx.de>
4985
4986         * java/awt/image/ColorModel.java:
4987         New version from classpath.
4988
4989 2003-06-25  Michael Koch  <konqueror@gmx.de>
4990
4991         * java/net/PlainDatagramSocketImpl.java:
4992         Partly merged with classpath, this mainly adds documentation.
4993
4994 2003-06-25  Michael Koch  <konqueror@gmx.de>
4995
4996         * java/io/ObjectInputStream.java
4997         (readClassDescriptor): New method.
4998         (readObject): Moved functionality to readClassDescriptor().
4999         * java/io/ObjectOutputStream.java
5000         (writeClassDescriptor): New method.
5001         (writeObject): Moved functionality to writeClassDescriptor().
5002
5003 2003-06-25  Michael Koch  <konqueror@gmx.de>
5004
5005         * javax/swing/plaf/basic/BasicListUI.java,
5006         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5007         Added missing methods.
5008
5009 2003-06-25  Michael Koch  <konqueror@gmx.de>
5010
5011         * javax/swing/event/AncestorEvent.java
5012         javax/swing/event/HyperlinkEvent.java
5013         javax/swing/event/InternalFrameEvent.java
5014         javax/swing/event/ListDataEvent.java
5015         javax/swing/event/TableModelEvent.java:
5016         Compile fixes.
5017
5018 2003-06-24  Michael Koch  <konqueror@gmx.de>
5019
5020         * java/net/URL.java:
5021         Renamed "handler" to "ph" in the whole file to match classpaths
5022         version.
5023         * java/net/URLStreamHandler.java:
5024         (equals): Renamed "handler" to "ph".
5025
5026 2003-06-24  Michael Koch  <konqueror@gmx.de>
5027
5028         * javax/swing/event/AncestorEvent.java,
5029         javax/swing/event/HyperlinkEvent.java,
5030         javax/swing/event/InternalFrameEvent.java,
5031         javax/swing/event/ListDataEvent.java,
5032         javax/swing/event/TableModelEvent.java,
5033         javax/swing/event/TreeWillExpandListener.java,
5034         javax/swing/plaf/ComponentUI.java,
5035         javax/swing/plaf/DesktopIconUI.java,
5036         javax/swing/plaf/DesktopPaneUI.java,
5037         javax/swing/plaf/DimensionUIResource.java,
5038         javax/swing/plaf/FileChooserUI.java,
5039         javax/swing/plaf/FontUIResource.java,
5040         javax/swing/plaf/IconUIResource.java,
5041         javax/swing/plaf/InputMapUIResource.java,
5042         javax/swing/plaf/InsetsUIResource.java,
5043         javax/swing/plaf/InternalFrameUI.java,
5044         javax/swing/plaf/LabelUI.java,
5045         javax/swing/plaf/ListUI.java,
5046         javax/swing/plaf/MenuBarUI.java,
5047         javax/swing/plaf/MenuItemUI.java,
5048         javax/swing/plaf/OptionPaneUI.java,
5049         javax/swing/plaf/PanelUI.java,
5050         javax/swing/plaf/ProgressBarUI.java,
5051         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5052         javax/swing/plaf/doc-files/ComponentUI-1.png:
5053         New versions from classpath.
5054
5055 2003-06-24  Michael Koch  <konqueror@gmx.de>
5056
5057         * java/nio/Buffer.java
5058         (cap): Made package-private.
5059         (pos): Likewise.
5060         (limit): Likewise.
5061         (mark): Likewise.
5062
5063 2003-06-24  Michael Koch  <konqueror@gmx.de>
5064
5065         * java/net/SocketImpl.java
5066         (shutdownInput): Made it non-abstract method throwing an exception
5067         like in SUNs JRE.
5068         (shutdownOutput): Likewise.
5069         * java/net/SocketInputStream.java,
5070         java/net/SocketOutputStream.java:
5071         New files from classpath.
5072
5073 2003-06-24  Michael Koch  <konqueror@gmx.de>
5074
5075         * java/awt/Font.java,
5076         java/awt/Window.java,
5077         java/awt/color/ColorSpace.java,
5078         java/awt/datatransfer/StringSelection.java,
5079         java/awt/image/ColorModel.java:
5080         New versions from classpath.
5081
5082 2003-06-24  Michael Koch  <konqueror@gmx.de>
5083
5084         * Makefile.am
5085         (awt_java_source_files): Added new files:
5086         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5087         javax/swing/plaf/basic/BasicSplitPaneUI.java
5088         * Makefile.in: Regenerated.
5089
5090 2003-06-24  Michael Koch  <konqueror@gmx.de>
5091
5092         * javax/swing/text/JTextComponent.java:
5093         New version from classpath.
5094
5095 2003-06-24  Michael Koch  <konqueror@gmx.de>
5096
5097         * javax/swing/Timer.java,
5098         javax/swing/plaf/ActionMapUIResource.java,
5099         javax/swing/plaf/ButtonUI.java,
5100         javax/swing/plaf/ColorChooserUI.java,
5101         javax/swing/plaf/ColorUIResource.java,
5102         javax/swing/plaf/ComboBoxUI.java,
5103         javax/swing/plaf/ComponentInputMapUIResource.java,
5104         javax/swing/plaf/basic/BasicBorders.java:
5105         New versions from classpath.
5106         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5107         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5108         New file from classpath.
5109         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5110         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5111         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5112         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5113         javax/swing/plaf/doc-files/ComponentUI-1.png:
5114         New binary files from classpath.
5115
5116 2003-06-24  Michael Koch  <konqueror@gmx.de>
5117
5118         * java/io/LineNumberReader.java
5119         (skip): Dont do line number accounting here as this is already done in
5120         read(), simplified.
5121
5122 2003-06-21  Michael Koch  <konqueror@gmx.de>
5123
5124         * java/io/File.java
5125         (static): Load javaio lib if existing (only in classpath).
5126         (File): Revised documentation to show the correct argument name.
5127         (createTempFile): Partly merged with classpath.
5128         (compareTo): Simplified.
5129         (lastModified): Throw exception if time < 0.
5130         (deleteOnExit): Revised documentation.
5131
5132 2003-06-21  Michael Koch  <konqueror@gmx.de>
5133
5134         * java/net/PlainSocketImpl.java:
5135         Reformatted.
5136         (PlainSocketImpl): Merged class documentaion with classpath.
5137         (in): Moved.
5138         (out): Moved.
5139         (PlainSocketImpl): New empty constructor.
5140         (finalize): Moved.
5141         (setOption): Merged documentation from classpath.
5142         (getOption): Likewise.
5143         (create): Likewise.
5144         (connect): Likewise.
5145         (bind): Likewise.
5146         (listen): Likewise.
5147         (accept): Likewise.
5148         (available): Likewise.
5149         (close): Likewise.
5150         (read): Likewise.
5151         (write): Likewise.
5152         (getInputStream): Made synchronozed to get sure that only one stream
5153         object can be created for this socket, merged documentation from
5154         classpath.
5155         (getOutputStream): Likewise.
5156
5157 2003-06-21  Michael Koch  <konqueror@gmx.de>
5158
5159         * java/net/PlainSocketImpl.java:
5160         Reformatting.
5161         (static): New implicit method.
5162         (read): Made package private.
5163         (write): Likewise.
5164
5165 2003-06-21  Michael Koch  <konqueror@gmx.de>
5166
5167         * java/util/SimpleTimeZone.java:
5168         Removed unneeded import, reformatting.
5169
5170 2003-06-21  Michael Koch  <konqueror@gmx.de>
5171
5172         * java/text/DateFormat.java,
5173         java/text/SimpleDateFormat.java,
5174         java/util/Locale.java:
5175         New versions from classpath.
5176
5177 2003-06-21  Michael Koch  <konqueror@gmx.de>
5178
5179         * javax/swing/SpinnerModel.java:
5180         New file from classpath.
5181         * javax/swing/border/LineBorder.java,
5182         javax/swing/border/SoftBevelBorder.java,
5183         javax/swing/plaf/BorderUIResource.java,
5184         javax/swing/plaf/basic/BasicBorders.java:
5185         New versions from classpath.
5186         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5187         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5188         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5189         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5190         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5191         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5192         New binary files from classpath.
5193
5194 2003-06-21  Michael Koch  <konqueror@gmx.de>
5195
5196         * java/util/logging/LogRecord.java,
5197         java/util/logging/Logger.java,
5198         java/util/logging/SocketHandler.java,
5199         java/util/logging/SimpleFormatter.java,
5200         java/util/logging/Formatter.java,
5201         java/util/logging/ErrorManager.java,
5202         java/util/logging/Handler.java,
5203         java/util/logging/FileHandler.java,
5204         java/util/logging/LogManager.java,
5205         java/util/logging/Level.java,
5206         java/util/logging/ConsoleHandler.java,
5207         java/util/logging/StreamHandler.java,
5208         java/util/logging/LoggingPermission.java,
5209         java/util/logging/Filter.java,
5210         java/util/logging/MemoryHandler.java,
5211         java/util/logging/XMLFormatter.java:
5212         New files from classpath.
5213
5214 2003-06-20  Michael Koch  <konqueror@gmx.de>
5215
5216         * java/io/ObjectStreamField.java
5217         (unshared): new member variable.
5218         (ObjectStreamField): New constructor.
5219         (isUnshared): New method.
5220
5221 2003-06-20  Michael Koch  <konqueror@gmx.de>
5222
5223         * java/net/URLStreamHandler.java
5224         (hostsEqual): Rewritten.
5225
5226 2003-06-20  Michael Koch  <konqueror@gmx.de>
5227
5228         * gnu/java/nio/MappedByteFileBuffer.java,
5229         gnu/java/nio/natMappedByteFileBuffer.cc:
5230         Removed
5231         * java/nio/MappedByteBufferImpl.java:
5232         New file.
5233         * gnu/java/nio/FileChannelImpl.java:
5234         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5235         * Makefile.am
5236         (ordinary_java_source_files): Removed
5237         gnu/java/nio/MappedByteFileBuffer.java and added
5238         java/nio/MappedByteBufferImpl.java.
5239         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5240         * Makefile.in: Regenerated.
5241
5242 2003-06-19  Michael Koch  <konqueror@gmx.de>
5243
5244         * gnu/java/nio/DatagramChannelImpl.java
5245         (fd): Removed.
5246         (blocking): New member variable.
5247         (socket): Likewise.
5248         (DatagramChannelImpl): Throws IOException, initialize socket.
5249         (socket):Implemented.
5250         (implCloseSelectableChannel): Throws IOException, implemented.
5251         (implConfigureBlocking): Likewise.
5252         (connect): Likewise.
5253         (disconnect): Likewise.
5254         (isConnected): Likewise.
5255         (write): Likewise.
5256         (read): Likewise.
5257         (receive): Throws IOException.
5258         (send): Likewise.
5259         * gnu/java/nio/SocketChannelImpl.java
5260         (read): Implemented.
5261         (write): Implemented.
5262
5263 2003-06-19  Michael Koch  <konqueror@gmx.de>
5264
5265         * javax/swing/JComponent.java,
5266         javax/swing/JInternalFrame.java,
5267         javax/swing/MenuSelectionManager.java,
5268         javax/swing/SwingUtilities.java,
5269         javax/swing/ToggleButtonModel.java:
5270         New versions from classpath.
5271
5272 2003-06-19  Michael Koch  <konqueror@gmx.de>
5273
5274         * java/text/CollationElementIterator.java
5275         (NULLORDER): Initialize with -1 as JDK documentation says.
5276
5277 2003-06-19  Michael Koch  <konqueror@gmx.de>
5278
5279         * java/net/HttpURLConnection.java,
5280         java/net/Inet4Address.java,
5281         java/net/Inet6Address.java,
5282         java/net/SocketImpl.java,
5283         java/net/URLClassLoader.java:
5284         Reworked import statements.
5285         * java/net/InetAddress.java
5286         (getByAddress): Simplified.
5287         * java/net/ServerSocket.java
5288         (ServerSocket): Moved special handling during bind operation to
5289         bind().
5290         (bind): Handle different cases when trying to bind a socket.
5291         * java/net/URLConnection.java
5292         (getHeaderFieldDate): Merged with classpath.
5293         (getHeaderFieldInt): Likewise.
5294
5295 2003-06-19  Michael Koch  <konqueror@gmx.de>
5296
5297         * java/util/zip/InflaterInputStream.java
5298         (InflaterInputStream): Throw NullPointerException if in is null (as
5299         JDK does).
5300
5301 2003-06-19  Michael Koch  <konqueror@gmx.de>
5302
5303         * java/awt/Font.java
5304         javax/swing/UIManager.java
5305         javax/swing/border/AbstractBorder.java
5306         javax/swing/border/BevelBorder.java
5307         javax/swing/border/Border.java
5308         javax/swing/border/CompoundBorder.java
5309         javax/swing/border/EmptyBorder.java
5310         javax/swing/border/EtchedBorder.java
5311         javax/swing/border/LineBorder.java
5312         javax/swing/border/MatteBorder.java
5313         javax/swing/border/TitledBorder.java
5314         javax/swing/plaf/BorderUIResource.java
5315         javax/swing/plaf/basic/BasicBorders.java
5316         javax/swing/plaf/basic/BasicButtonUI.java
5317         javax/swing/plaf/basic/BasicCheckBoxUI.java
5318         javax/swing/plaf/basic/BasicGraphicsUtils.java
5319         javax/swing/plaf/basic/BasicLabelUI.java
5320         javax/swing/plaf/basic/BasicRadioButtonUI.java
5321         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5322         New versions from classpath.
5323         * javax/swing/border/SoftBevelBorder.java:
5324         New file from classpath.
5325         * javax/swing/border/doc-files/LineBorder-1.png,
5326         javax/swing/border/doc-files/BevelBorder-1.png,
5327         javax/swing/border/doc-files/BevelBorder-2.png,
5328         javax/swing/border/doc-files/BevelBorder-3.png,
5329         javax/swing/border/doc-files/EmptyBorder-1.png,
5330         javax/swing/border/doc-files/EtchedBorder-1.png,
5331         javax/swing/border/doc-files/EtchedBorder-2.png,
5332         javax/swing/border/doc-files/MatteBorder-1.png,
5333         javax/swing/border/doc-files/MatteBorder-2.png,
5334         javax/swing/border/doc-files/MatteBorder-3.png,
5335         javax/swing/border/doc-files/MatteBorder-4.png,
5336         javax/swing/border/doc-files/MatteBorder-5.png,
5337         javax/swing/border/doc-files/MatteBorder-6.png,
5338         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5339         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5340         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5341         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5342         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5343         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5344         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5345         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5346         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5347         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5348         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5349         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5350         New binary files from classpath.
5351         * Makefile.am
5352         (awt_java_source_files): Added
5353         javax/swing/border/SoftBevelBorder.java.
5354         * Makefile.in: Regenerated.
5355
5356 2003-06-19  Michael Koch  <konqueror@gmx.de>
5357
5358         * gnu/java/security/x509/X509Certificate.java
5359         (writeReplace): Merged from classpath.
5360
5361 2003-06-19  Michael Koch  <konqueror@gmx.de>
5362
5363         * gnu/java/nio/FileChannelImpl.java
5364         (map_address): Made public.
5365         (FileChannelImpl): Merged with classpath.
5366         * gnu/java/nio/natFileChannelImpl.cc
5367         (nio_mmap_file): Commented out unused arguments.
5368         (nio_unmmap_file): Likewise.
5369         (niu_msync): Likewise.
5370
5371 2003-06-19  Michael Koch  <konqueror@gmx.de>
5372
5373         * java/awt/image/IndexColorModel.java:
5374         New version from classpath.
5375
5376 2003-06-18  Tom Tromey  <tromey@redhat.com>
5377
5378         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5379         on arrays.
5380         (isLoopbackAddress): Likewise.
5381         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5382         on arrays.
5383
5384 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5385
5386         * java/lang/natVMSecurityManager.cc (getClassContext):
5387         Use maxlen instead of len for loop bound.
5388
5389 2003-06-18  Michael Koch  <konqueror@gmx.de>
5390
5391         * gnu/java/nio/SelectorImpl.java
5392         (register): Use fd with value 0 for now, will be fixed later.
5393         * gnu/java/nio/ServerSocketChannelImpl.java
5394         (fd): Removed.
5395         (local_port): Removed.
5396         (InetSocketAddress): Removed.
5397         (ServerSocketChannelImpl): Just initialize internal socket object.
5398         (implCloseSelectableChannel): Close internal socket object.
5399         (implConfigureBlocking): Added comment.
5400         (accept): Use jaba.net stuff to accept socket.
5401         * gnu/java/nio/SocketChannelImpl.java
5402         (fd): Removed.
5403         (local_port): Removed.
5404         (InetSocketAddress): Removed.
5405         (SocketCreate): Removed.
5406         (SocketConnect): Removed.
5407         (SocketBind): Removed.
5408         (SocketListen): Removed.
5409         (SocketAvailable): Removed.
5410         (SocketClose): Removed.
5411         (SocketRead): Removed.
5412         (SocketWrite): Removed.
5413         (SocketChannelImpl): Just initialize internal socket object.
5414         (implCloseSelectableChannel): Close internal socket object.
5415         (implConfigureBlocking): Fixed implementation, added comment.
5416         (connect): Use internal socket object to connect.
5417         (socket): No need for sanity checks.
5418         (read): Comment out some stuff, this will be reimplemented in the next
5419         commit.
5420         (write): Likewise.
5421         * gnu/java/nio/natFileChannelImpl.cc
5422         (nio_mmap_file): Line wrapped.
5423         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5424         * Makefile.am
5425         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5426         * Makefile.in: Regenerated.
5427
5428 2003-06-18  Michael Koch  <konqueror@gmx.de>
5429
5430         * java/util/Locale.java
5431         (equals): Merged from classpath.
5432
5433 2003-06-18  Michael Koch  <konqueror@gmx.de>
5434
5435         * java/net/InetAddress.java:
5436         Reformatted to better match classpath's version.
5437         * java/net/URL.java
5438         (equals): Simplified.
5439         * java/net/URLConnection.java
5440         (setDoInput): Revised documentation.
5441         (getDefaultUseCaches): Likewise.
5442         (setRequestProperty): Added @since tag.
5443
5444 2003-06-17  Michael Koch  <konqueror@gmx.de>
5445
5446         * java/net/InetSocketAddress.java
5447         (InetSocketAddress): Use wildcard address if addr is null.
5448         (InetSocketAddress): Dont duplicate implementation.
5449         (InetSocketAddress): Throw exception when hostname is null.
5450         * java/net/Socket.java:
5451         Reworked imports.
5452         (Socket): Throw exception when raddr is null, handle case when laddr
5453         is null.
5454
5455 2003-06-17  Michael Koch  <konqueror@gmx.de>
5456
5457         * java/nio/DirectByteBufferImpl.java
5458         (address): Made package private.
5459         (DirectByteBufferImpl): New constructor.
5460         * java/nio/natDirectByteBufferImpl.cc
5461         (allocateImpl): Moved to java.nio namespace, implemented.
5462         (freeImpl): Likewise.
5463         (getImpl): Likewise.
5464         (putImpl): Likewise.
5465         * jni.cc
5466         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5467         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5468         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5469
5470 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5471
5472         * include/powerpc-signal.h: New File.
5473         * configure.in: Use it.
5474         * configure: Regenerated.
5475
5476 2003-06-17  Michael Koch  <konqueror@gmx.de>
5477
5478         * java/util/Locale.java
5479         (getDisplayLanguage): Made it final.
5480         (getDisplayCountry): Likewise.
5481         (getDisplayVariant): Likewise.
5482         (getDisplayName): Likewise.
5483
5484 2003-06-17  Michael Koch  <konqueror@gmx.de>
5485
5486         * java/util/PropertyResourceBundle.java:
5487         Removed unneeded import.
5488
5489 2003-06-17  Michael Koch  <konqueror@gmx.de>
5490
5491         * java/util/prefs/AbstractPreferences.java,
5492         java/util/prefs/PreferencesFactory.java:
5493         Reworked imports, removed unused imports.
5494         * java/util/prefs/Preferences.java
5495         (systemNodeForPackage): Method takes a Class not an Object.
5496         (userNodeForPackage): Likewise.
5497         (nodeForPackage): Likewise.
5498
5499 2003-06-17  Michael Koch  <konqueror@gmx.de>
5500
5501         * gnu/java/security/x509/X509Certificate.java:
5502         Explicitely import used classes.
5503
5504 2003-06-17  Michael Koch  <konqueror@gmx.de>
5505
5506         * java/util/zip/ZipEntry.java,
5507         java/util/zip/ZipFile.java,
5508         java/util/zip/ZipInputStream.java,
5509         java/util/zip/ZipOutputStream.java:
5510         Reworked imports, only import used classes.
5511
5512 2003-06-17  Michael Koch  <konqueror@gmx.de>
5513
5514         * gnu/java/lang/ArrayHelper.java,
5515         gnu/java/lang/ClassHelper.java:
5516         Reformatted to match classpath's versions.
5517
5518 2003-06-14  Michael Koch  <konqueror@gmx.de>
5519
5520         * gnu/java/nio/FileChannelImpl.java
5521         (map_address): Removed incorrect comment.        
5522         * gnu/java/nio/SelectorImpl.java
5523         (register): Remove code duplication and code for file channel handling.        
5524         * gnu/java/nio/ServerSocketChannelImpl.java
5525         (serverSocket): Renamed from sock_object.
5526         (ServerSocketChannel): Initialize serverSocket.
5527         (socket): Return serverSocket.
5528         * gnu/java/nio/SocketChannelImpl.java
5529         (socket): Renamed from sock_object.
5530         (isConnectionPenging): Simplified.
5531         (socket): Return socket.
5532 2003-06-14  Michael Koch  <konqueror@gmx.de>
5533
5534         * java/security/BasicPermission.java:
5535         New version from classpath.
5536
5537 2003-06-14  Michael Koch  <konqueror@gmx.de>
5538
5539         * javax/naming/directory/Attribute.java:
5540         New version from classpath.
5541
5542 2003-06-14  Michael Koch  <konqueror@gmx.de>
5543
5544         * java/io/BufferedReader.java,
5545         java/io/FileOutputStream.java:
5546         New versions from classpath.
5547
5548 2003-06-12  Andrew Haley  <aph@redhat.com>
5549
5550         * prims.cc (catch_segv): Create exception in handler.
5551         (catch_fpe): Likewise.  
5552         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5553         (_Jv_ThrowSignal): Remove.
5554
5555         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5556         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5557         to nullp and arithexception.
5558         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5559         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5560         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5561         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5562         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5563
5564 2003-06-11  Andrew Haley  <aph@redhat.com>
5565
5566         * jni.cc (_Jv_JNI_check_types): New.
5567         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5568         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5569         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5570         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5571         
5572         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5573         infinite loop.
5574
5575 2003-06-11  Tom Tromey  <tromey@redhat.com>
5576
5577         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5578         * java/io/PrintStream.java: Not deprecated.
5579
5580 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5581
5582         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5583         (fillOval): implemented
5584         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5585         (fillArc): implemented.
5586         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5587         (fillArc): added native method.
5588         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5589         (fillArc): added native method.
5590
5591 2003-06-11  Michael Koch  <konqueror@gmx.de>
5592
5593         * java/awt/im/InputSubset.java:
5594         New version from classpath.
5595
5596 2003-06-11  Michael Koch  <konqueror@gmx.de>
5597
5598         * javax/swing/AbstractAction.java,
5599         javax/swing/AbstractButton.java,
5600         javax/swing/AbstractCellEditor.java,
5601         javax/swing/AbstractListModel.java,
5602         javax/swing/BorderFactory.java,
5603         javax/swing/Box.java,
5604         javax/swing/BoxLayout.java,
5605         javax/swing/ButtonGroup.java,
5606         javax/swing/DefaultButtonModel.java,
5607         javax/swing/DefaultListModel.java,
5608         javax/swing/DefaultListSelectionModel.java,
5609         javax/swing/FocusManager.java,
5610         javax/swing/ImageIcon.java,
5611         javax/swing/InputMap.java,
5612         javax/swing/JApplet.java,
5613         javax/swing/JButton.java,
5614         javax/swing/JCheckBox.java,
5615         javax/swing/JCheckBoxMenuItem.java,
5616         javax/swing/JColorChooser.java,
5617         javax/swing/JComboBox.java,
5618         javax/swing/JComponent.java,
5619         javax/swing/JDesktopPane.java,
5620         javax/swing/JDialog.java,
5621         javax/swing/JEditorPane.java,
5622         javax/swing/JFileChooser.java,
5623         javax/swing/JFormattedTextField.java,
5624         javax/swing/JFrame.java,
5625         javax/swing/JLabel.java,
5626         javax/swing/JLayeredPane.java,
5627         javax/swing/JList.java,
5628         javax/swing/JMenuBar.java,
5629         javax/swing/JMenuItem.java,
5630         javax/swing/JOptionPane.java,
5631         javax/swing/JPanel.java,
5632         javax/swing/JPasswordField.java,
5633         javax/swing/JPopupMenu.java,
5634         javax/swing/JProgressBar.java,
5635         javax/swing/JRadioButton.java,
5636         javax/swing/JRadioButtonMenuItem.java,
5637         javax/swing/JRootPane.java,
5638         javax/swing/JScrollBar.java,
5639         javax/swing/JScrollPane.java,
5640         javax/swing/JSeparator.java,
5641         javax/swing/JSlider.java,
5642         javax/swing/JTabbedPane.java,
5643         javax/swing/JTable.java,
5644         javax/swing/JTextField.java,
5645         javax/swing/JToggleButton.java,
5646         javax/swing/JToolBar.java,
5647         javax/swing/JToolTip.java,
5648         javax/swing/JTree.java,
5649         javax/swing/JViewport.java,
5650         javax/swing/JWindow.java,
5651         javax/swing/KeyStroke.java,
5652         javax/swing/ListSelectionModel.java,
5653         javax/swing/LookAndFeel.java,
5654         javax/swing/RepaintManager.java,
5655         javax/swing/ScrollPaneLayout.java,
5656         javax/swing/SizeRequirements.java,
5657         javax/swing/SwingConstants.java,
5658         javax/swing/Timer.java,
5659         javax/swing/UIDefaults.java,
5660         javax/swing/UIManager.java,
5661         javax/swing/border/AbstractBorder.java,
5662         javax/swing/border/CompoundBorder.java,
5663         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5664         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5665         javax/swing/colorchooser/ColorSelectionModel.java,
5666         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5667         javax/swing/event/AncestorEvent.java,
5668         javax/swing/event/HyperlinkEvent.java,
5669         javax/swing/event/InternalFrameAdapter.java,
5670         javax/swing/event/InternalFrameEvent.java,
5671         javax/swing/event/ListDataEvent.java,
5672         javax/swing/event/MouseInputAdapter.java,
5673         javax/swing/event/SwingPropertyChangeSupport.java,
5674         javax/swing/event/TableModelEvent.java,
5675         javax/swing/event/TreeWillExpandListener.java,
5676         javax/swing/event/UndoableEditEvent.java,
5677         javax/swing/filechooser/FileFilter.java,
5678         javax/swing/filechooser/FileSystemView.java,
5679         javax/swing/filechooser/FileView.java,
5680         javax/swing/plaf/BorderUIResource.java,
5681         javax/swing/plaf/basic/BasicDefaults.java,
5682         javax/swing/table/AbstractTableModel.java,
5683         javax/swing/table/DefaultTableCellRenderer.java,
5684         javax/swing/table/DefaultTableColumnModel.java,
5685         javax/swing/table/DefaultTableModel.java,
5686         javax/swing/table/TableColumn.java,
5687         javax/swing/text/JTextComponent.java,
5688         javax/swing/tree/AbstractLayoutCache.java,
5689         javax/swing/tree/DefaultMutableTreeNode.java,
5690         javax/swing/tree/DefaultTreeCellEditor.java,
5691         javax/swing/tree/DefaultTreeCellRenderer.java,
5692         javax/swing/tree/DefaultTreeModel.java,
5693         javax/swing/tree/DefaultTreeSelectionModel.java,
5694         javax/swing/tree/FixedHeightLayoutCache.java,
5695         javax/swing/tree/TreeCellEditor.java,
5696         javax/swing/tree/TreeModel.java,
5697         javax/swing/tree/TreeNode.java,
5698         javax/swing/tree/TreePath.java,
5699         javax/swing/tree/TreeSelectionModel.java,
5700         javax/swing/tree/VariableHeightLayoutCache.java,
5701         javax/swing/undo/AbstractUndoableEdit.java,
5702         javax/swing/undo/CompoundEdit.java,
5703         javax/swing/undo/StateEdit.java,
5704         javax/swing/undo/UndoManager.java,
5705         javax/swing/undo/UndoableEditSupport.java:
5706         New versions from classpath.
5707         * javax/swing/table/JTableHeader.java:
5708         New file from classpath.
5709         * Makefile.am
5710         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5711         * Makefile.in: Regenerated.
5712
5713 2003-06-11  Michael Koch  <konqueror@gmx.de>
5714
5715         * java/nio/MappedByteBuffer.java,
5716         java/nio/channels/Channels.java,
5717         java/nio/channels/ServerSocketChannel.java,
5718         java/nio/channels/spi/AbstractSelector.java:
5719         Removed unneeded imports.
5720
5721 2003-06-11  Michael Koch  <konqueror@gmx.de>
5722
5723         * java/net/DatagramSocket.java:
5724         Partly merged with classpath.
5725
5726 2003-06-11  Michael Koch  <konqueror@gmx.de>
5727
5728         * java/awt/Frame.java,
5729         java/awt/Graphics.java,
5730         java/awt/Menu.java,
5731         java/awt/Robot.java,
5732         java/awt/image/ColorModel.java:
5733         New versions from classpath.
5734
5735 2003-06-10  Michael Koch  <konqueror@gmx.de>
5736
5737         * java/io/PrintStream.java:
5738         Merged version from classpath.
5739         (close): Removed sychronized keyword. This class is not garantied to
5740         be thread-safe.
5741         (write): Likewise.
5742
5743 2003-06-09  Tom Tromey  <tromey@redhat.com>
5744
5745         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5746         field.
5747         (getDescent): Likewise, for "descent".
5748
5749 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5750
5751         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5752         (getMaxDescent): adjusted return value.
5753         (getAscent): modified to use metrics for 'O'.
5754         (getDescent): modified to use metrics for 'y'.
5755
5756 2003-06-08  Anthony Green  <green@redhat.com>
5757
5758         * java/net/URLStreamHandler.java (sameFile): Fix port value
5759         comparison.
5760         * java/net/URL.java (handler): Make package private.
5761         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5762
5763 2003-06-07  Tom Tromey  <tromey@redhat.com>
5764
5765         For PR libgcj/11085:
5766         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5767         Limit number of characters in numeric field when required.
5768         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5769         Respect maximumIntegerDigits.
5770
5771 2003-06-08  Michael Koch  <konqueror@gmx.de>
5772
5773         * java/net/Socket.java
5774         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5775         call bind() and connect() to actually do the bind and connect tasks.
5776         (bind): Connect to canonical address if bindpoint is null, create
5777         socket and bind it to bindpoint.
5778         (connect): Check for exceptions.
5779
5780 2003-06-08  Michael Koch  <konqueror@gmx.de>
5781
5782         * java/net/DatagramSocket.java
5783         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5784         into the Multicast constructors.
5785         * java/net/DatagramSocketImpl.java
5786         (getOption): Removed.
5787         (setOption): Removed.
5788         * java/net/MulticastSocket.java
5789         (MulticastSocket): Call setReuseAddress (true).
5790         * java/net/SocketImpl.java
5791         (getOption): Removed.
5792         (setOption): Removed.
5793
5794 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5795
5796         PR libgcj/10886:
5797         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5798         Test for empty vector.
5799
5800 2003-06-06  Mark Wielaard  <mark@klomp.org>
5801
5802         * java/security/Security.java (secprops): Initialize.
5803         (loadProviders): Return boolean.
5804         (static): Check result of loadProvider calls. If necessary
5805         display WARNING and fallback to Gnu provider.
5806
5807 2002-06-06  James Clark  <jjc@jclark.com>
5808
5809         Fix for PR libgcj/8738:
5810         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5811         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5812         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5813         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5814         (write): Always decrease avail when count is increased.
5815         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5816         and whether output buffer is full before increasing size.
5817
5818 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5819
5820         * java/io/PrintStream.java (writeChars(char[],int, int)):
5821         Check converter.havePendingBytes().
5822         (writeChars(String,int,int)): Likewise.
5823         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5824         Check converter.havePendingBytes() and flush buffer when stalled.
5825
5826 2003-06-07  Michael Koch  <konqueror@gmx.de>
5827
5828         * include/posix.h
5829         (O_DSYNC): Define O_DSYNC on platforms not
5830         supporting O_FSYNC (newlib).
5831
5832 2003-06-06  Mark Wielaard  <mark@klomp.org>
5833
5834         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5835         AWTError.
5836
5837 2003-06-06  Michael Koch  <konqueror@gmx.de>
5838
5839         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5840         More compile fixes from my stupid work yesterday.
5841
5842 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5843
5844         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5845         if _IEEE_LIBM is undefined.
5846
5847 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5848
5849         * libjava/include/posix.h (O_SYNC): Define if not available
5850         and a reasonable, perhaps more conservative, replacement exists.
5851         (O_DSYNC): Likewise.
5852         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5853
5854 2003-06-05  Michael Koch  <konqueror@gmx.de>
5855
5856         * javax/swing/plaf/BorderUIResource.java,
5857         javax/swing/plaf/basic/BasicDefaults.java,
5858         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5859         More compile fixes for latest Border commit. I should not commit
5860         something in this heat here ...
5861
5862 2003-06-05  Michael Koch  <konqueror@gmx.de>
5863
5864         * javax/swing/border/BevelBorder.java
5865         (BevelBorder): Removed.
5866         * javax/swing/border/EmptyBorder.java:
5867         Reformatted.
5868         (EmptyBorder): Removed.
5869         (getBorderInsets): Dont use l, r, t and b.
5870         * javax/swing/border/EtchedBorder.java
5871         (EtchedBorder): Removed.
5872         * javax/swing/border/LineBorder.java
5873         (LineBorder): Removed.
5874         * javax/swing/border/MatteBorder.java
5875         (MatteBorder): Removed.
5876         * javax/swing/border/TitledBorder.java
5877         (defaultBorder): Use other default for now.
5878         (defaultFont): Likewise.
5879         (defaultColor): Likewise.
5880
5881 2003-06-05  Michael Koch  <konqueror@gmx.de>
5882
5883         * javax/swing/border/Border.java:
5884         New version from classpath.
5885
5886 2003-06-05  Michael Koch  <konqueror@gmx.de>
5887
5888         * javax/swing/border/AbstractBorder.java,
5889         javax/swing/border/BevelBorder.java,
5890         javax/swing/border/CompoundBorder.java,
5891         javax/swing/border/EmptyBorder.java,
5892         javax/swing/border/EtchedBorder.java,
5893         javax/swing/border/LineBorder.java,
5894         javax/swing/border/MatteBorder.java,
5895         javax/swing/border/TitledBorder.java:
5896         New versions from Classpath.
5897
5898 2003-06-05  Michael Koch  <konqueror@gmx.de>
5899
5900         * java/awt/Button.java,
5901         java/awt/Checkbox.java,
5902         java/awt/CheckboxMenuItem.java,
5903         java/awt/Choice.java,
5904         java/awt/Container.java,
5905         java/awt/Dialog.java,
5906         java/awt/EventQueue.java,
5907         java/awt/FileDialog.java,
5908         java/awt/Frame.java,
5909         java/awt/Label.java,
5910         java/awt/List.java,
5911         java/awt/Menu.java,
5912         java/awt/MenuItem.java,
5913         java/awt/Panel.java,
5914         java/awt/PopupMenu.java,
5915         java/awt/Rectangle.java,
5916         java/awt/ScrollPane.java,
5917         java/awt/Scrollbar.java,
5918         java/awt/TextArea.java,
5919         java/awt/TextField.java,
5920         java/awt/Window.java,
5921         java/awt/datatransfer/DataFlavor.java,
5922         java/awt/dnd/DragSource.java,
5923         java/awt/dnd/DragSourceContext.java,
5924         java/awt/event/HierarchyEvent.java,
5925         java/awt/event/MouseWheelEvent.java,
5926         java/awt/im/InputContext.java,
5927         java/awt/image/BufferedImage.java,
5928         java/awt/image/ComponentColorModel.java,
5929         java/awt/image/Raster.java,
5930         java/awt/image/WritableRaster.java,
5931         java/awt/peer/ComponentPeer.java,
5932         java/awt/print/PageFormat.java,
5933         java/awt/print/PrinterJob.java:
5934         New versions from Classpath.
5935
5936 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5937
5938         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5939         numberFormat.setParseIntegerOnly(true).
5940
5941 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5942
5943         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5944
5945 2003-06-03  Andrew Haley  <aph@redhat.com>
5946
5947         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5948         stack volatile to prevent optimization from removing it.
5949
5950 2003-05-27  Michael Koch  <konqueror@gmx.de>
5951
5952         * java/util/zip/Deflater.java
5953         (FILTERED): Merged documentation from classpath.
5954         * java/util/zip/DeflaterOutputStream.java
5955         (DeflaterOutputStream): Merged documentation and argument validity
5956         check from classpath.
5957         (deflate): Merged documentation from classpath.
5958         (finish): Likewise.
5959         * java/util/zip/Inflater.java
5960         (Inflater): Merged class documentation from classpath.
5961         (zstream): Reordered.
5962         (is_finished): Reordered.
5963         (dict_needed): Reordered.
5964         (Inflater): Reordered, merged documentation from classpath.
5965         (end): Likewise.
5966         (finalize): Merged documentation from classpath.
5967         (finished): Likewise.
5968         (getAdler): Likewise.
5969         (getRemaining): Likewise.
5970         (getTotalIn): Likewise.
5971         (getTotalOut): Likewise.
5972         (inflate): Likewise.
5973         (needsDictionary): Likewise.
5974         (needsInput): Likewise.
5975         (reset): Likewise.
5976         (setDictionary): Likewise.
5977         (setInput): Likewise.
5978
5979 2003-05-27  Michael Koch  <konqueror@gmx.de>
5980
5981         * java/net/URLConnection.java
5982         (getHeaderFieldInt): Merged with classpath.
5983
5984 2003-05-27  Michael Koch  <konqueror@gmx.de>
5985
5986         * java/io/PrintStream.java
5987         (PrintStream): Reformatted.
5988         (PrintStream): New method, merged from classpath.
5989         (write): Reformatted.
5990
5991 2003-05-27  Michael Koch  <konqueror@gmx.de>
5992
5993         * java/lang/System.java:
5994         Explicitely import needed classes.
5995
5996 2003-05-26  Michael Koch  <konqueror@gmx.de>
5997
5998         * java/net/NetPermission.java,
5999         java/net/NetworkInterface.java,
6000         java/net/PasswordAuthentication.java,
6001         java/net/SocketPermission.java:
6002         New versions from classpath.
6003
6004 2003-05-25  Michael Koch  <konqueror@gmx.de>
6005
6006         * java/io/PushbackInputStream.java,
6007         java/net/Authenticator.java,
6008         java/net/ContentHandler.java,
6009         java/net/ContentHandlerFactory.java,
6010         java/net/DatagramSocket.java,
6011         java/net/DatagramSocketImpl.java,
6012         java/net/DatagramSocketImplFactory.java,
6013         java/net/FileNameMap.java,
6014         java/net/SocketImplFactory.java,
6015         java/net/SocketOptions.java,
6016         java/net/URLStreamHandlerFactory.java:
6017         Merged new versions from classpath.
6018
6019 2003-05-25  Michael Koch  <konqueror@gmx.de>
6020
6021         * java/awt/Checkbox.java,
6022         java/awt/Dialog.java,
6023         java/awt/Font.java,
6024         java/awt/Frame.java,
6025         java/awt/ScrollPaneAdjustable.java,
6026         java/awt/Scrollbar.java,
6027         java/awt/Window.java:
6028         New versions from classpath.
6029
6030 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6031
6032         PR libgcj/10838:
6033         * java/io/ObjectInputStream (enableResolveObject):
6034         Fixed spelling of permission name.
6035
6036 2003-05-20  Michael Koch  <konqueror@gmx.de>
6037
6038         * java/io/DataInputStream.java
6039         (convertFromUTF): Merged comment from classpath.
6040         * java/io/PrintStream.java
6041         (error_occured): Renamed from error, merged comment from classpath.
6042         (PrintStream): No need to initialized error.
6043         (checkError): Replace error with error_occurred.
6044         (setError): Likewise.
6045
6046 2003-05-20  Michael Koch  <konqueror@gmx.de>
6047
6048         * java/io/DataInputStream.java:
6049         Reformatted, Replaced < and & with html entitites in documentation.
6050         * java/io/File.java:
6051         Reformatted.
6052         * java/io/PrintWriter.java:
6053         Moved class documentation.
6054
6055 2003-05-20  Michael Koch  <konqueror@gmx.de>
6056
6057         * gnu/java/nio/ByteBufferImpl.java,
6058         gnu/java/nio/CharBufferImpl.java,
6059         gnu/java/nio/CharViewBufferImpl.java,
6060         gnu/java/nio/DirectByteBufferImpl.java,
6061         gnu/java/nio/DoubleBufferImpl.java,
6062         gnu/java/nio/DoubleViewBufferImpl.java,
6063         gnu/java/nio/FloatBufferImpl.java,
6064         gnu/java/nio/FloatViewBufferImpl.java,
6065         gnu/java/nio/IntBufferImpl.java,
6066         gnu/java/nio/IntViewBufferImpl.java,
6067         gnu/java/nio/LongBufferImpl.java,
6068         gnu/java/nio/LongViewBufferImpl.java,
6069         gnu/java/nio/natDirectByteBufferImpl.cc,
6070         gnu/java/nio/ShortBufferImpl.java,
6071         gnu/java/nio/ShortViewBufferImpl.java:
6072         Moved files to java/nio.
6073         * gnu/java/nio/SocketChannelImpl.java
6074         
6075         * java/nio/ByteBuffer.java,
6076         java/nio/CharBuffer.java,
6077         java/nio/DoubleBuffer.java,
6078         java/nio/FloatBuffer.java,
6079         java/nio/IntBuffer.java,
6080         java/nio/LongBuffer.java,
6081         java/nio/ShortBuffer.java:
6082         Dont import anything.
6083         * java/nio/ByteBufferImpl.java,
6084         java/nio/CharBufferImpl.java,
6085         java/nio/CharViewBufferImpl.java,
6086         java/nio/DirectByteBufferImpl.java,
6087         java/nio/DoubleBufferImpl.java,
6088         java/nio/DoubleViewBufferImpl.java,
6089         java/nio/FloatBufferImpl.java,
6090         java/nio/FloatViewBufferImpl.java,
6091         java/nio/IntBufferImpl.java,
6092         java/nio/IntViewBufferImpl.java,
6093         java/nio/LongBufferImpl.java,
6094         java/nio/LongViewBufferImpl.java,
6095         java/nio/natDirectByteBufferImpl.cc,
6096         java/nio/ShortBufferImpl.java,
6097         java/nio/ShortViewBufferImpl.java:
6098         Moved from gnu/java/nio.
6099         * Makefile.am
6100         (ordinary_java_source_files): Moved files from gnu/java/nio to
6101         java/nio.
6102         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6103         to java/nio.
6104         * Makefile.in: Regenerated.
6105
6106 2003-05-19  Michael Koch  <konqueror@gmx.de>
6107
6108         * java/util/Calendar.java
6109         (get): Not final anymore since JDK 1.4
6110         (set): Likewise.
6111
6112 2003-05-19  Michael Koch  <konqueror@gmx.de>
6113
6114         * java/text/CollationKey.java:
6115         Merged copyright and dat from classpath.
6116         * java/text/RuleBasedCollator.java:
6117         Merged class documentation from classpath.
6118
6119 2003-05-19  Michael Koch  <konqueror@gmx.de>
6120
6121         * java/nio/CharBuffer.java
6122         (toString): Compile fix.
6123
6124 2003-05-19  Michael Koch  <konqueror@gmx.de>
6125
6126         * gnu/java/nio/ByteBufferImpl.java
6127         (putLong): Fixed conversion to bytes.
6128         (putDouble): Fixed conversion to bytes.
6129         * gnu/java/nio/DirectByteBufferImpl.java
6130         (putLong): Fixed conversion to bytes.
6131         (putDouble): Fixed conversion to bytes.
6132         * gnu/java/nio/FileLockImpl.java
6133         (isValid): Reformatted.
6134         * java/nio/Buffer.java
6135         (Buffer): Fixed off-by-one bug in handling mark.
6136         * java/nio/ByteBuffer.java:
6137         Added newline.
6138         * java/nio/CharBuffer.java
6139         (toString): Don't use relative get to get string data.
6140
6141 2003-05-16  Michael Koch  <konqueror@gmx.de>
6142
6143         * java/io/natFileDescriptorPosix.cc
6144         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6145         tested.
6146
6147 2003-05-14  Michael Koch  <konqueror@gmx.de>
6148
6149         * gnu/java/nio/FileLockImpl.java
6150         (released): New member variable.
6151         (FileLockImpl): Initialize released.
6152         (releaseImpl): New native method.
6153         (release): Implemented.
6154         * gnu/java/nio/SelectorImpl.java: Reformatted.
6155         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6156         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6157         (accept): Throws IOException.
6158         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6159         (implConfigureBlocking): Throws IOException.
6160         (connect): Likewise.
6161         (read): Likewise.
6162         (write): Likewise.
6163         * gnu/java/nio/natFileLockImpl.cc: New file.
6164         * java/nio/channels/FileLock.java: Reformatted.
6165         * Makefile.am:
6166         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6167         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6168         * Makefile.in: Regenerated.
6169
6170 2003-05-13  Michael Koch  <konqueror@gmx.de>
6171
6172         * gnu/java/nio/CharViewBufferImpl.java
6173         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6174         (get): Shift bits to the right direction.
6175         (put): Likewise.
6176         * gnu/java/nio/DoubleViewBufferImpl.java
6177         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6178         (get): Shift bits to the right direction.
6179         (put): Likewise.
6180         * gnu/java/nio/FloatViewBufferImpl.java
6181         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6182         (get): Shift bits to the right direction.
6183         (put): Likewise.
6184         * gnu/java/nio/IntViewBufferImpl.java
6185         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6186         (get): Shift bits to the right direction.
6187         (put): Likewise.
6188         * gnu/java/nio/LongViewBufferImpl.java
6189         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6190         (get): Shift bits to the right direction.
6191         (put): Likewise.
6192         * gnu/java/nio/ShortViewBufferImpl.java
6193         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6194         (get): Shift bits to the right direction.
6195         (put): Likewise.
6196
6197 2003-05-13  Michael Koch  <konqueror@gmx.de>
6198
6199         * gnu/java/nio/natDirectByteBufferImpl.cc
6200         (allocateImpl): jlong -> RawData*.
6201         (freeImpl): Likewise.
6202
6203 2003-05-13  Michael Koch  <konqueror@gmx.de>
6204
6205         * java/nio/channels/FileChannel.java
6206         (MapMode.m): Made it package-private to match JDK 1.4.
6207         * java/nio/charset/Charset.java
6208         (decode): Made it final to match JDK 1.4.
6209
6210 2003-05-13  Michael Koch  <konqueror@gmx.de>
6211
6212        * java/io/FileDescriptor.java
6213        (SYNC): New constant.
6214        (DSYNC): Likewise.
6215        (getLength): Renamed from lenght() to match classpath's
6216        FileDescriptor.java.
6217        * java/io/RandomAccessFile.java
6218        (RandomAccessFile): Removed unneeded mode check, implemented mode
6219        "rws" and "rwd", merged documentation from classpath.
6220        (setLength): Reformatted.
6221        (length): Use new getLength() of FileDescriptor.
6222        * java/io/natFileDescriptorEcos.cc
6223        (getLength): Renamed from length().
6224        * java/io/natFileDescriptorPosix.cc
6225        (open): Implemented support for SYNC and DSYNC.
6226        (seek): Use getLength() instead of length().
6227        (getLength): Renamed from length().
6228        * java/io/natFileDescriptorWin32.cc
6229        (getLength): Renamed from length().
6230        (seek): Use getLength() instead of length().
6231        (available): Likewise.
6232        * gnu/java/nio/natFileChannelImpl.cc
6233        (size): Use getLength() instead of length().
6234
6235 2003-05-13  Michael Koch  <konqueror@gmx.de>
6236
6237         * gnu/java/nio/ByteBufferImpl.java
6238         (ByteBufferImpl): All constructors revised.
6239         (slice): Reimplemented.
6240         (duplicate): Reimplemented.
6241         (asReadOnlyBuffer): Reimplemented.
6242         * java/nio/ByteBuffer.java:
6243         Reformatted.
6244         (array_offset): Renamed from "offset" to match all other buffer
6245         classes.
6246         (ByteBuffer): All constructors revised.
6247         (allocateDirect): Implemented.
6248         (allocate): New implementation, documentation reworked.
6249         (wrap): Likewise.
6250         (get): Documentation reworked.
6251         (put): New implementation, documentation reworked.
6252         (hasArray): Documentation reworked.
6253         (arrayOffset): Likewise.
6254         (hashCode): Likewise.
6255         (equals): Likewise.
6256         (compareTo): Likewise.
6257         (order): Likewise.
6258         (compact): Likewise.
6259         (isDirect): Likewise.
6260         (slice): Likewise.
6261         (duplicate): Likewise.
6262         (asReadOnlyBuffer): Likewise.
6263         * Makefile.am
6264         (ordinary_java_source_files):
6265         Added gnu/java/nio/DirectByteBufferImpl.java.
6266         (nat_source_files):
6267         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6268         * Makefile.in: Regenerated.
6269
6270 2003-05-12  Michael Koch  <konqueror@gmx.de>
6271
6272         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6273         (nio_get_*): Removed.
6274         (nio_put_*): Removed.
6275         (as*Buffer): Implemented.
6276         (compact): Implemented.
6277         (get): Documentation added.
6278         (put): Documentation added.
6279         (get*): Newly implemented.
6280         (put*): Newly implemented.
6281         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6282         (CharBufferImpl): Revised.
6283         (slice): New implementation.
6284         (duplicate): New implementation.
6285         (compact): New implementation.
6286         (asReadOnlyBuffer): New implementation.
6287         (get): Documentation revised.
6288         (order): Return native byte order.
6289         * gnu/java/nio/DirectByteBufferImpl.java
6290         (allocateDirect): objects can be null not 0.
6291         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6292         (DoubleBufferImpl): Revised.
6293         (slice): New implementation.
6294         (duplicate): New implementation.
6295         (compact): New implementation.
6296         (asReadOnlyBuffer): New implementation.
6297         (get): Documentation revised.
6298         (order): Return native byte order.
6299         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6300         (FloatBufferImpl): Revised.
6301         (slice): New implementation.
6302         (duplicate): New implementation.
6303         (compact): New implementation.
6304         (asReadOnlyBuffer): New implementation.
6305         (get): Documentation revised.
6306         (order): Return native byte order.
6307         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6308         (IntBufferImpl): Revised.
6309         (slice): New implementation.
6310         (duplicate): New implementation.
6311         (compact): New implementation.
6312         (asReadOnlyBuffer): New implementation.
6313         (get): Documentation revised.
6314         (order): Return native byte order.
6315         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6316         (LongBufferImpl): Revised.
6317         (slice): New implementation.
6318         (duplicate): New implementation.
6319         (compact): New implementation.
6320         (asReadOnlyBuffer): New implementation.
6321         (get): Documentation revised.
6322         (order): Return native byte order.
6323         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6324         (ShortBufferImpl): Revised.
6325         (slice): New implementation.
6326         (duplicate): New implementation.
6327         (compact): New implementation.
6328         (asReadOnlyBuffer): New implementation.
6329         (get): Documentation revised.
6330         (order): Return native byte order.
6331         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6332         (CharBuffer): Revised.
6333         (order): Removed.
6334         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6335         (DoubleBuffer): Revised.
6336         (allocateDirect): Removed.
6337         (order): Removed.
6338         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6339         (FloatBuffer): Revised.
6340         (allocateDirect): Removed.
6341         (order): Removed.
6342         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6343         (IntBuffer): Revised.
6344         (allocateDirect): Removed.
6345         (order): Removed.
6346         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6347         (LongBuffer): Revised.
6348         (allocateDirect): Removed.
6349         (order): Removed.
6350         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6351         (ShortBuffer): Revised.
6352         (allocateDirect): Removed.
6353         (order): Removed.
6354         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6355         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6356         * Makefile.am
6357         (ordinary_java_source_files): Added the following files:
6358         gnu/java/nio/CharViewBufferImpl.java,
6359         gnu/java/nio/DoubleViewBufferImpl.java,
6360         gnu/java/nio/FloatViewBufferImpl.java,
6361         gnu/java/nio/IntViewBufferImpl.java,
6362         gnu/java/nio/LongViewBufferImpl.java,
6363         gnu/java/nio/ShortViewBufferImpl.java
6364         (nat_source_files): Removed the following files:
6365         gnu/java/nio/natByteBufferImpl.cc,
6366         gnu/java/nio/natCharBufferImpl.cc
6367         * Makefile.in: Regenerated.
6368
6369 2003-05-12  Michael Koch  <konqueror@gmx.de>
6370
6371         * gnu/java/nio/CharViewBufferImpl.java,
6372         gnu/java/nio/DirectByteBufferImpl.java,
6373         gnu/java/nio/DoubleViewBufferImpl.java,
6374         gnu/java/nio/FloatViewBufferImpl.java,
6375         gnu/java/nio/IntViewBufferImpl.java,
6376         gnu/java/nio/LongViewBufferImpl.java,
6377         gnu/java/nio/ShortViewBufferImpl.java,
6378         gnu/java/nio/natDirectByteBufferImpl.cc:
6379         New files, not yet to be compiled.
6380
6381 2003-05-10  Michael Koch  <konqueror@gmx.de>
6382
6383         * javax/swing/plaf/ButtonUI.java,
6384         javax/swing/plaf/ColorUIResource.java,
6385         javax/swing/plaf/ComponentUI.java,
6386         javax/swing/plaf/DimensionUIResource.java,
6387         javax/swing/plaf/FontUIResource.java,
6388         javax/swing/plaf/IconUIResource.java,
6389         javax/swing/plaf/InsetsUIResource.java,
6390         javax/swing/plaf/LabelUI.java,
6391         javax/swing/plaf/ListUI.java,
6392         javax/swing/plaf/OptionPaneUI.java,
6393         javax/swing/plaf/PanelUI.java,
6394         javax/swing/plaf/TabbedPaneUI.java,
6395         javax/swing/plaf/TextUI.java,
6396         javax/swing/plaf/TreeUI.java,
6397         javax/swing/plaf/ViewportUI.java,
6398         javax/swing/plaf/basic/BasicBorders.java,
6399         javax/swing/plaf/basic/BasicButtonUI.java,
6400         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6401         javax/swing/plaf/basic/BasicDefaults.java,
6402         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6403         javax/swing/plaf/basic/BasicIconFactory.java,
6404         javax/swing/plaf/basic/BasicLabelUI.java,
6405         javax/swing/plaf/basic/BasicListUI.java,
6406         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6407         javax/swing/plaf/basic/BasicPanelUI.java,
6408         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6409         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6410         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6411         javax/swing/plaf/basic/BasicTextUI.java,
6412         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6413         javax/swing/plaf/basic/BasicTreeUI.java,
6414         javax/swing/plaf/basic/BasicViewportUI.java,
6415         javax/swing/plaf/metal/MetalLookAndFeel.java:
6416         New versions from classpath. This adds copyrights to all files and
6417         some serialVersionUIDs.
6418
6419 2003-05-10  Michael Koch  <konqueror@gmx.de>
6420
6421         * java/nio/CharBuffer.java
6422         (offset): Make it package-private.
6423         (backing_buffer): Likewise.
6424         * java/nio/DoubleBuffer.java
6425         (offset): Make it package-private.
6426         (backing_buffer): Likewise.
6427         (put): Reformatted.
6428         * java/nio/FloatBuffer.java
6429         (offset): Make it package-private.
6430         (backing_buffer): Likewise.
6431         * java/nio/IntBuffer.java
6432         (offset): Make it package-private.
6433         (backing_buffer): Likewise.
6434         * java/nio/LongBuffer.java
6435         (offset): Make it package-private.
6436         (backing_buffer): Likewise.
6437         * java/nio/ShortBuffer.java
6438         (offset): Make it package-private.
6439         (backing_buffer): Likewise.
6440
6441 2003-05-10  Michael Koch  <konqueror@gmx.de>
6442
6443         * java/nio/CharBuffer.java
6444         (put): Fixed precondtion check.
6445         (toString): Make it work without backing array.
6446         (put): Skip one level of method calling.
6447
6448 2003-05-10  Michael Koch  <konqueror@gmx.de>
6449
6450         * java/security/Identity.java,
6451         java/security/IdentityScope.java,
6452         java/security/Key.java,
6453         java/security/KeyPair.java,
6454         java/security/PrivateKey.java,
6455         java/security/Provider.java,
6456         java/security/PublicKey.java,
6457         java/security/SecureRandom.java,
6458         java/security/SecureRandomSpi.java,
6459         java/security/SignedObject.java,
6460         java/security/Signer.java,
6461         java/security/cert/Certificate.java,
6462         java/security/cert/PKIXCertPathBuilderResult.java,
6463         java/security/cert/X509Certificate.java:
6464         New versions from classpath.
6465
6466 2003-05-09  Tom Tromey  <tromey@redhat.com>
6467
6468         * Makefile.in: Rebuilt.
6469         * Makefile.am (nat_source_files): Removed old files.
6470         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6471         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6472         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6473         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6474         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6475
6476 2003-05-09  Michael Koch  <konqueror@gmx.de>
6477
6478         * gnu/java/nio/ByteBufferImpl.java
6479         (nio_cast): Removed.
6480         (ByteBufferImpl): Removed.
6481         (nio_get_Byte): Removed.
6482         (nio_put_Byte): Removed.
6483         (asByteBuffer): Removed.
6484         (asCharBuffer): Removed implementation and throw exception.
6485         (asShortBuffer): Likewise.
6486         (asIntBuffer): Likewise.
6487         (asLongBuffer): Likewise.
6488         (asFloatBuffer): Likewise.
6489         (asDoubleBuffer): Likewise.
6490         * gnu/java/nio/CharBufferImpl.java
6491         (CharBufferImpl): Removed.
6492         (nio_get_Byte): Removed.
6493         (nio_put_Byte): Removed.
6494         (asByteBuffer): Removed.
6495         * gnu/java/nio/DoubleBufferImpl.java
6496         (DoubleBufferImpl): Removed.
6497         (nio_get_Byte): Removed.
6498         (nio_put_Byte): Removed.
6499         (asByteBuffer): Removed.
6500         * gnu/java/nio/FloatBufferImpl.java
6501         (FloatBufferImpl): Removed.
6502         (nio_get_Byte): Removed.
6503         (nio_put_Byte): Removed.
6504         (asByteBuffer): Removed.
6505         * gnu/java/nio/IntBufferImpl.java
6506         (IntBufferImpl): Removed.
6507         (nio_get_Byte): Removed.
6508         (nio_put_Byte): Removed.
6509         (asByteBuffer): Removed.
6510         * gnu/java/nio/LongBufferImpl.java
6511         (LongBufferImpl): Removed.
6512         (nio_get_Byte): Removed.
6513         (nio_put_Byte): Removed.
6514         (asByteBuffer): Removed.
6515         * gnu/java/nio/ShortBufferImpl.java
6516         (ShortBufferImpl): Removed.
6517         (nio_get_Byte): Removed.
6518         (nio_put_Byte): Removed.
6519         (asByteBuffer): Removed.
6520         * gnu/java/nio/natByteBufferImpl.cc
6521         (nio_cast): Removed.
6522         (nio_get_Byte): Removed.
6523         (nio_put_Byte): Removed.
6524         * gnu/java/nio/natCharBufferImpl.cc
6525         (nio_get_Byte): Removed.
6526         (nio_put_Byte): Removed.
6527
6528 2003-05-09  Michael Koch  <konqueror@gmx.de>
6529
6530         * java/net/JarURLConnection.java
6531         (getJarEntry): Merged documentation from classpath.
6532         (getJarFile): Likewise.
6533         (getMainAttributes): Likewise.
6534         (getAttributes): Likewise.
6535         (getManifest): Likewise.
6536         (getCertificates): Reformatted.
6537         * java/net/URLConnection.java:
6538         Little classpath merge.
6539
6540 2003-05-09  Michael Koch  <konqueror@gmx.de>
6541
6542         * java/io/DataOutputStream.java
6543         (writeShort): Made it synchronized.
6544         (writeChar): Likewise.
6545         (writeInt): Likewise.
6546         (writeLong): Liekwise.
6547         (writeUTF): Made it synchronized, renamed argument to match classpath.
6548         * java/io/InputStreamReader.java
6549         (converter): Added documentation.
6550         (read): Merged documentation from classpath.
6551         * java/io/OutputStreamWriter.java
6552         (OutputStreamWriter): Merged documentation from classpath.
6553         (close): Reformatted.
6554         (getEncoding): Likewise.
6555         (flush): Likewise.
6556         (write): Merged documentation from classpath, reformatted.
6557
6558 2003-05-08  Tom Tromey  <tromey@redhat.com>
6559
6560         * configure.host <powerpc64*-*>: Set with_libffi_default and
6561         libgcj_interpreter to "yes".
6562
6563 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6564
6565         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6566         
6567 2003-05-06  Tom Tromey  <tromey@redhat.com>
6568
6569         * verify.cc: Reverted previous patch.
6570
6571 2003-05-06  Michael Koch  <konqueror@gmx.de>
6572
6573         * java/io/DataOutputStream.java
6574         (write): Renamed argument to "value", merged documentation from
6575         classpath.
6576         (writeBoolean): Likewise.
6577         (writeByte): Likewise.
6578         (writeShort): Likewise.
6579         (writeChar): Likewise.
6580         (writeInt): Likewise.
6581         (writeLong): Likewise.
6582         (writeFloat): Likewise.
6583         (writeDouble): Likewise.
6584         (writeBytes): Likewise.
6585         (writeChars): Likewise.
6586         (writeUTF): Likewise.
6587         * java/io/File.java
6588         (performDelete): Added documentation.
6589         (performList): Likewise.
6590         (performMkdir): Likewise.
6591         (performSetReadOnly): Likewise.
6592         (performRenameTo): Likewise.
6593         (performSetLastModified): Likewise.
6594         (delete): Made it sychronized.
6595         (renameTo): Made it sychronized.
6596         (equals): Reformatted.
6597         (isHidden): Likewise.
6598         (listFiles): Likewise.
6599         (setReadOnly): Likewise.
6600         (listRoots): Likewise.
6601         (setLastModified): Likewise.
6602         (checkRead): Likewise.
6603         (checkWrite): Likewise.
6604         * java/io/FileInputStream.java
6605         (skip): Made it sychronized, merged from classpath.
6606         * java/io/FileOutputStream.java
6607         (write): Merged from classpath.
6608         * java/io/InputStreamReader.java:
6609         (InputStreamReader): Merged documentation from classpath.
6610
6611 2003-05-05  Michael Koch  <konqueror@gmx.de>
6612
6613         * java/net/NetworkInterface.java
6614         (networkInterfaces): Removed.
6615         (getByName): Use getRealNetworkInterfaces() instead of
6616         networkInterfaces.
6617         (getByInetAddress): Likewise.
6618         (getNetworkInterfaces): Likewise.
6619         (toString): Fix output of addresses of an interface.
6620
6621 2003-05-05  Michael Koch  <konqueror@gmx.de>
6622
6623         * java/io/DataInputStream.java:
6624         Merged new documentation from classpath.
6625
6626 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6627
6628         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6629         "version".
6630         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6631         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6632         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6633         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6634         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6635         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6636         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6637         * java/security/Key.java: Likewise.
6638         * java/security/PrivateKey.java: Likewise.
6639         * java/security/Provider.java: Likewise.
6640         * java/security/PublicKey.java: Likewise.
6641
6642 2003-05-02  Michael Koch  <konqueror@gmx.de>
6643
6644         * java/net/URI.java
6645         (create): Doesnt throws any exceptions.
6646         * java/net/URLConnection.java
6647         (URLConnection): Commend added.
6648         (getExpiration): The header field is called "expires" not
6649         "expiration".
6650         (getHeaderField): Merged documentation with classpath.
6651         (getHeaderFieldInt): Likewise.
6652         (getHeaderFieldDate): Likewise.
6653         (getHeaderFieldKey): Likewise.
6654         (getPermission): Likewise.
6655         (setDefaultUseCaches): Likewise.
6656         (setRequestProperty): Likewise.
6657         (addRequestProperty): Likewise.
6658         (getRequestProperty): Likewise.
6659         (getRequestProperties): Likewise.
6660         (setDefaultRequestProperty): Likewise.
6661         (getDefaultRequestProperty): Likewise.
6662         (guessContentTypeFromStream): Likewise.
6663         (getFileNameMap): Likewise.
6664         (setFileNameMap): Likewise.
6665         (setDoInput): Merged implementation and documentation with classpath.
6666         (setDoOutput): Likewise.
6667         (setAllowUserInteraction): Likewise.
6668         (setDefaultAllowUserInteraction): Likewise.
6669         (setContentHandlerFactory): Made it synchronized, merged documentation
6670         with classpath.
6671         (guessContentTypeFromName): Renamed argument fname to filename to
6672         match classpath, merged documentation with classpath.
6673
6674 2003-05-02  Michael Koch  <konqueror@gmx.de>
6675
6676         * java/net/JarURLConnection.java
6677         (JarURLConnection): Class documentation merged with classpath.
6678         (getJarFileURL): Moved and documentation merged with classpath.
6679         (getEntryName): Likewise.
6680         (JarURLConnection): Documentation merged with classpath.
6681         (getJarEntry): Likewise.
6682         (getJarFile): Likewise.
6683         * java/net/PlainDatagramSocketImpl.java:
6684         Class documentation moved.
6685         * java/net/URLConnection.java
6686         (fileNameMap): Moved and documentation merged with classpath.
6687         (factory): Likewise.
6688         (defaultAllowUserInteraction): Likewis.
6689         (defaultUseCaches): Likewise.
6690         (allowUserInteraction): Likewise.
6691         (connected): Likewise.
6692         (url): Likewise.
6693         (connect): Documentation merged with classpath.
6694         (getURL): Likewise.
6695         (getContentLength): Likewise.
6696         (getContentType): Likewise.
6697         (getContentEncoding): Likewise.
6698         (getExpiration): Likewise.
6699         (getDate): Likewise.
6700         (getLastModified): Likewise.
6701         (getHeaderField): Likewise.
6702         (getContent): Likewise.
6703         (getPermission): Likewise.
6704         (getInputStream): Likewise.
6705         (getOutputStream): Likewise.
6706         (toString): Likewise.
6707         (getDoInput): Likewise.
6708         (getDoOutput): Likewise.
6709         (setAllowUserInteraction): Likewise.
6710         (getAllowUserInteraction): Likewise.
6711         (setDefaultAllowUserInteraction): Likewise.
6712         (getDefaultAllowUserInteraction): Likewise.
6713         (setUseCaches): Likewise.
6714         (getUseCaches): Likewise.
6715         (setIfModifiedSince): Likewise.
6716         (getIfModifiedSince): Likewise.
6717         (setDefaultRequestProperty): Likewise.
6718         (getDefaultRequestProperty): Likewise.
6719         (setContentHandlerFactory): Likewise.
6720         (setFileNameMap): Likewise.
6721
6722 2003-05-02  Michael Koch  <konqueror@gmx.de>
6723
6724         * java/net/InetAddress.java:
6725         Merged class documentation with classpath.
6726         * java/net/JarURLConnection.java:
6727         Explicitely import all used classes.
6728         * java/net/URL.java:
6729         Reformatting.
6730         * java/net/ServerSocket.java,
6731         java/net/Socket.java:
6732         New versions from classpath.
6733
6734 2003-05-02  Michael Koch  <konqueror@gmx.de>
6735
6736         * gnu/java/nio/FileChannelImpl.java
6737         (read): New implementation.
6738         (implRead): New methods.
6739         (write): New implementation, call other write insteal of read method.
6740         (implWrite): New methods.
6741         (map): Added comment.
6742         (transferFrom): Implemented.
6743         (transferTo): Implemented.
6744         (lock): Added checks to throw exceptions.
6745         (truncate): Added check to throw exception.
6746         * gnu/java/nio/natFileChannelImpl.cc
6747         (implRead): New method.
6748         (implWrite): New method.
6749         * java/nio/ByteBuffer.java
6750         (hashCode): Fixed comment.
6751         (get): Fixed exception documentation.
6752         (put): Fixed exception documentation.
6753         * java/nio/CharBuffer.java:
6754         Added comment for later optimizations.
6755
6756 2003-04-30  Tom Tromey  <tromey@redhat.com>
6757
6758         PR libgcj/10582:
6759         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6760         Removed.
6761         (type::compatible): Use _Jv_IsAssignableFrom.
6762         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6763         (_Jv_IsAssignableFrom): Work even when source or target class is
6764         not prepared.
6765
6766 2003-04-30  Michael Koch  <konqueror@gmx.de>
6767
6768         * java/text/BreakIterator.java
6769         (clone): New method.
6770
6771 2003-04-30  Michael Koch  <konqueror@gmx.de>
6772
6773         * java/text/CollationElementIterator.java,
6774         java/text/CollationKey.java,
6775         java/text/RuleBasedCollator.java:
6776         Merged copyright and documentation from classpath and
6777         rearranged some code. No code changes done.
6778
6779 2003-04-30  Michael Koch  <konqueror@gmx.de>
6780
6781         * java/util/regex/Matcher.java
6782         (pattern): New member variable.
6783         (appendReplacement): New method.
6784         (appendTail): New method.
6785         (end): New method.
6786         (find): New method.
6787         (group): New method.
6788         (replaceFirst): Added documentation.
6789         (replaceAll): Added documentation.
6790         (groupCount): New method.
6791         (lookingAt): New method.
6792         (matches): New method.
6793         (reset): New method.
6794         (start): New method.
6795         * java/util/regex/Pattern.java
6796         (serialVersionUID): New constant.
6797         (CANON_EQ): New constant.
6798         (CASE_INSENSITIVE): New constant.
6799         (COMMENTS): New constant.
6800         (DOTALL): New constant.
6801         (MULTILINE): New constant.
6802         (UNICODE_CASE): New constant.
6803         (UNIX_LINES): New constant.
6804         (regex): New member variable.
6805         (flags): New member variable.
6806         (Pattern): New method.
6807         (compile): Documentation added.
6808         (flags): New method.
6809         (matches): Documentation added.
6810         (matcher): Documentation added.
6811         (split): Documentation added.
6812         (pattern): New method.
6813
6814 2003-04-30  Michael Koch  <konqueror@gmx.de>
6815
6816         * gnu/java/security/Engine.java,
6817         gnu/java/security/OID.java,
6818         gnu/java/security/der/BitString.java,
6819         gnu/java/security/der/DER.java,
6820         gnu/java/security/der/DERReader.java,
6821         gnu/java/security/der/DERValue.java,
6822         gnu/java/security/der/DERWriter.java,
6823         gnu/java/security/provider/DSAKeyFactory.java,
6824         gnu/java/security/provider/X509CertificateFactory.java,
6825         gnu/java/security/x509/X500DistinguishedName.java,
6826         gnu/java/security/x509/X509CRL.java,
6827         gnu/java/security/x509/X509CRLEntry.java,
6828         gnu/java/security/x509/X509Certificate.java,
6829         java/security/cert/CRLSelector.java,
6830         java/security/cert/CertPathBuilder.java,
6831         java/security/cert/CertPathBuilderResult.java,
6832         java/security/cert/CertPathBuilderSpi.java,
6833         java/security/cert/CertPathParameters.java,
6834         java/security/cert/CertPathValidator.java,
6835         java/security/cert/CertPathValidatorResult.java,
6836         java/security/cert/CertPathValidatorSpi.java,
6837         java/security/cert/CertSelector.java,
6838         java/security/cert/CertStore.java,
6839         java/security/cert/CertStoreParameters.java,
6840         java/security/cert/CertStoreSpi.java,
6841         java/security/cert/CollectionCertStoreParameters.java,
6842         java/security/cert/LDAPCertStoreParameters.java,
6843         java/security/cert/PKIXBuilderParameters.java,
6844         java/security/cert/PKIXCertPathBuilderResult.java,
6845         java/security/cert/PKIXCertPathChecker.java,
6846         java/security/cert/PKIXCertPathValidatorResult.java,
6847         java/security/cert/PKIXParameters.java,
6848         java/security/cert/PolicyNode.java,
6849         java/security/cert/PolicyQualifierInfo.java,
6850         java/security/cert/TrustAnchor.java,
6851         javax/security/auth/x500/X500Principal.java:
6852         New files from classpath.
6853         * gnu/java/io/ASN1ParsingException.java,
6854         gnu/java/io/Base64InputStream.java,
6855         gnu/java/security/der/DEREncodingException.java,
6856         gnu/java/security/provider/DSAParameters.java,
6857         gnu/java/security/provider/DSASignature.java,
6858         gnu/java/security/provider/Gnu.java,
6859         gnu/java/security/provider/GnuDSAPrivateKey.java,
6860         gnu/java/security/provider/GnuDSAPublicKey.java,
6861         java/security/AlgorithmParameterGenerator.java,
6862         java/security/AlgorithmParameters.java,
6863         java/security/KeyFactory.java,
6864         java/security/KeyPairGenerator.java,
6865         java/security/KeyStore.java,
6866         java/security/MessageDigest.java,
6867         java/security/SecureClassLoader.java,
6868         java/security/SecureRandom.java,
6869         java/security/Security.java,
6870         java/security/Signature.java,
6871         java/security/cert/Certificate.java,
6872         java/security/cert/CertificateFactory.java,
6873         java/security/cert/CertificateFactorySpi.java,
6874         java/security/cert/X509CRL.java,
6875         java/security/cert/X509Certificate.java,
6876         java/security/spec/DSAPublicKeySpec.java:
6877         New versions from classpath.
6878         * gnu/java/security/provider/DERReader.java,
6879         gnu/java/security/provider/DERWriter.java,
6880         java/security/Engine.java: Removed.
6881         * Makefile.am
6882         (java_source_files, javax_source_files): Added new files.
6883         * Makefile.in: Regenerated.
6884
6885 2003-04-29  Michael Koch  <konqueror@gmx.de>
6886
6887         * javax/swing/JTable.java
6888         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6889         (AUTO_RESIZE_LAST_COLUMN): New constant.
6890         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6891         (AUTO_RESIZE_OFF): New constant.
6892         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6893         (JTable): New method.
6894         (columnAdded): New method.
6895         (columnMarginChanged): New method.
6896         (columnMoved): New method.
6897         (columnRemoved): New method.
6898         (columnSelectionChanged): New method.
6899         (editingCanceled): New method.
6900         (editingStopped): New method.
6901         (getColumnModel): New method.
6902         (getPreferredScrollableViewportSize): New method.
6903         (getScrollableBlockIncrement): New method.
6904         (getScrollableTracksViewportHeight): New method.
6905         (getScrollableTracksViewportWidth): New method.
6906         (getScrollableUnitIncrement): New method.
6907         (getSelectedRow): New method.
6908         (getSelectionModel): New method.
6909         (tableChanged): New method.
6910         (setModel): New method.
6911         (setSelectionMode): New method.
6912         (setSelectionModel): New method.
6913         (setShowGrid): New method.
6914         (valueChanged): New method.
6915         * javax/swing/text/DefaultEditorKit.java
6916         (backwardAction): New constant.
6917         (beepAction): New constant.
6918         (beginAction): New constant.
6919         (beginLineAction): New constant.
6920         (beginParagraphAction): New constant.
6921         (beginWordAction): New constant.
6922         (copyAction): New constant.
6923         (cutAction): New constant.
6924         (defaultKeyTypedAction): New constant.
6925         (deleteNextCharAction): New constant.
6926         (deletePrevCharAction): New constant.
6927         (downAction): New constant.
6928         (endAction): New constant.
6929         (endLineAction): New constant.
6930         (endOfLineStringProperty): New constant.
6931         (endParagraphAction): New constant.
6932         (endWordAction): New constant.
6933         (forwardAction): New constant.
6934         (insertBreakAction): New constant.
6935         (insertContentAction): New constant.
6936         (insertTabAction): New constant.
6937         (nextWordAction): New constant.
6938         (pageDownAction): New constant.
6939         (pageUpAction): New constant.
6940         (pasteAction): New constant.
6941         (previousWordAction): New constant.
6942         (readOnlyAction): New constant.
6943         (selectAllAction): New constant.
6944         (selectionBackwardAction): New constant.
6945         (selectionBeginAction): New constant.
6946         (selectionBeginLineAction): New constant.
6947         (selectionBeginParagraphAction): New constant.
6948         (selectionBeginWordAction): New constant.
6949         (selectionDownAction): New constant.
6950         (selectionEndAction): New constant.
6951         (selectionEndLineAction): New constant.
6952         (selectionEndParagraphAction): New constant.
6953         (selectionEndWordAction): New constant.
6954         (selectionForwardAction): New constant.
6955         (selectionNextWordAction): New constant.
6956         (selectionPreviousWordAction): New constant.
6957         (selectionUpAction): New constant.
6958         (selectLineAction): New constant.
6959         (selectParagraphAction): New constant.
6960         (selectWordAction): New constant.
6961         (upAction): New constant.
6962         (writableAction): New constant.
6963
6964 2003-04-29  Michael Koch  <konqueror@gmx.de>
6965
6966         * java/util/PropertyPermission.java:
6967         New version from classpath
6968         * java/util/ResourceBundle.java:
6969         Partly merged from classpath
6970         (getObject): Reformated.
6971         (tryBundle): Set foundBundle = null if no bundle found.
6972
6973 2003-04-29  Michael Koch  <konqueror@gmx.de>
6974
6975         * javax/swing/AbstractListModel.java,
6976         javax/swing/DefaultBoundedRangeModel.java,
6977         javax/swing/DefaultSingleSelectionModel.java:
6978         New Versions from classpath.
6979
6980 2003-04-29  Michael Koch  <konqueror@gmx.de>
6981
6982         * java/awt/Window.java
6983         (show): Call super.show() instead of setVisible() to avoid endless
6984         loop.
6985         (hide): Call super.hide() instead of setVisible() to avoid endless
6986         loop.
6987
6988 2003-04-29  Michael Koch  <konqueror@gmx.de>
6989
6990         * java/util/zip/Deflater.java,
6991         java/util/zip/DeflaterOutputStream.java:
6992         Partly merged with classpath.
6993
6994 2003-04-27  Tom Tromey  <tromey@redhat.com>
6995
6996         * java/lang/natString.cc (_Jv_AllocString): Initialize
6997         cachedHashCode.
6998         (init): Likewise.
6999         (_Jv_NewStringUtf8Const): Likewise.
7000
7001 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7002
7003         * include/jvm.h: (_Jv_GetNbArgs) added
7004         (_Jv_GetSafeArg) added
7005         (_Jv_SetArgs) added
7006         * prims.cc: (_Jv_GetNbArgs) implemented
7007         (_Jv_GetSafeArg) implemented
7008         (_Jv_SetArgs) implemented
7009         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7010         setting _Jv_argc and _Jv_argv
7011         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7012         instead of _Jv_argv
7013         * java/lang/natRuntime.cc: (insertSystemProperties) use
7014         _Jv_GetSafeArg() instead of _Jv_argv
7015
7016 2003-04-23  Tom Tromey  <tromey@redhat.com>
7017
7018         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7019         required by this object.  Search superclasses to find required
7020         alignment.
7021         (get_alignment_from_class): Use alignment of type as it appears
7022         in a struct.
7023         (ALIGNOF): New macro.
7024         (struct aligner): New helper structure.
7025
7026 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7027
7028         * java/awt/Container.java (addImpl): Enable paint events if adding
7029         a lightweight to a heavyweight.
7030         (addNotify): Ensure that peer is created before
7031         addNotifyContainerChildren.
7032         (addNotifyContainerChildren): Enable paint events if a heavyweight
7033         container contains a lightweight.
7034
7035 2003-04-20  Tom Tromey  <tromey@redhat.com>
7036
7037         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7038         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7039         Classpath.
7040
7041 2003-04-19  Tom Tromey  <tromey@redhat.com>
7042
7043         * java/sql/Date.java, java/sql/DriverManager.java,
7044         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7045         Classpath.
7046
7047         * Makefile.in: Rebuilt.
7048         * Makefile.am (ordinary_java_source_files): Added new files.
7049         * java/security/AlgorithmParameterGenerator.java,
7050         java/security/AlgorithmParameters.java, java/security/Engine.java,
7051         java/security/Identity.java, java/security/IdentityScope.java,
7052         java/security/KeyFactory.java,
7053         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7054         java/security/MessageDigest.java, java/security/Policy.java,
7055         java/security/ProtectionDomain.java,
7056         java/security/SecureRandom.java, java/security/Security.java,
7057         java/security/Signature.java, java/security/SignatureSpi.java,
7058         java/security/SignedObject.java, java/security/Signer.java,
7059         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7060         java/security/spec/PSSParameterSpec.java,
7061         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7062         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7063         Classpath.
7064
7065 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7066
7067         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7068         (dispose): Null metrics.
7069         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7070         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7071         finalize.
7072         (finalize): Call dispose.
7073         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7074         (gcCachedCount): New field.
7075         (finalize): New method.
7076         (putGCInCache): New method.
7077         (getGCFromCache): New method.
7078         * gnu/gcj/xlib/GC.java (GC): Make protected.
7079         (clone): Get new GC from cache if possible.
7080         (create): New static method.
7081         (dispose): Save old GC in cache.
7082         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7083         deleting.
7084         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7085         is null.
7086         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7087         * java/awt/Container.java (visitChild): Dispose gfx2 when
7088         finished.
7089
7090 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7091
7092         * java/math/BigInteger.java (probablePrime): New.
7093         * java/math/BigDecimal.java (unscaledValue): New.
7094
7095 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7096
7097         * java/io/File.java (getAbsolutePath): On Windows, take care
7098         of paths like "C:", "G:foo\bar", etc.
7099         (getName): Make it work correctly on Windows.
7100         (getParent): Make it work correctly on Windows. For UNIX,
7101         fix bug that causes "/" to be returned as the parent of "/",
7102         instead of null as returned by Sun's JRE.
7103
7104         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7105
7106 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7107
7108         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7109         inner class.
7110         (CACHE_SIZE_PER_DISPLAY): New field
7111         (fontMetricsCache): New field
7112         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7113         loading ISO10646-1 fonts.
7114
7115 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7116
7117         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7118         characters.
7119         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7120         characters.
7121
7122 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7123
7124         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7125         floating point.
7126
7127 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7128
7129         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7130         installed libpthread is either linuxthreads with floating stacks or
7131         NPTL.
7132
7133 2003-04-14  Tom Tromey  <tromey@redhat.com>
7134
7135         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7136         of alignment.
7137
7138 2003-04-10  Tom Tromey  <tromey@redhat.com>
7139
7140         * verify.cc (pop64): Removed.
7141         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7142         exception if top-of-stack is narrow.
7143         (initialize_stack): Check to ensure that <init> is not static and
7144         <clinit> is.
7145
7146 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7147
7148         * java/io/ObjectStreamException
7149         * java/io/FileFilter
7150         * java/io/FilenameFilter
7151         * java/io/ObjectInput
7152         * java/io/ObjectOutput
7153         * java/io/ObjectStreamConstants
7154         Minor doc fixes, format fixes, spelling corrections, etc.
7155         * java/io/DataInput
7156         Corrected code samples in Javadocs to match reality
7157         * java/io/DataOutput
7158         * java/io/ObjectInputValidation
7159         Major documentation fixes - all Javadocs re-written or updated
7160
7161 2003-04-06  Michael Koch  <konqueror@gmx.de>
7162
7163         * java/net/URLConnection.java:
7164         Import classes directly.
7165         (URLConnection): Merged class documentation with classpath.
7166         (url): Moved, documentation from classpath added.
7167         (doInput): Moved, documentation from classpath added.
7168         (doOutput): Moved, documentation from classpath added.
7169         (allowUserInteraction): Moved.
7170         (useCaches): Moved, documentation from classpath added.
7171         (ifModifiedSince): Moved, documentation from classpath added.
7172         (connected): Moved, documentation from classpath added.
7173
7174 2003-04-06  Michael Koch  <konqueror@gmx.de>
7175
7176         * java/io/FileInputStream.java
7177         (skip): Renamed some variables to match classpath, added
7178         checks from classpath.
7179
7180 2003-03-31  Michael Koch  <konqueror@gmx.de>
7181
7182         * javax/swing/AbstractAction.java
7183         (AbstractAction): Reformatted.
7184         (serialVersionUID): New private member variable.
7185         * javax/swing/plaf/BorderUIResource.java
7186         (serialVersionUID): New private member variable.
7187         * javax/swing/plaf/basic/BasicLookAndFeel.java
7188         (serialVersionUID): New private member variable.
7189
7190 2003-03-31  Michael Koch  <konqueror@gmx.de>
7191
7192         * java/sql/Date.java
7193         (valueOf): Deprecated, reformatted.
7194         (toString): Deprecated, reformatted.
7195         * java/sql/Time.java
7196         (valueOf): Deprecated, reformatted.
7197         (toString): Deprecated, reformatted.
7198
7199 2003-03-31  Michael Koch  <konqueror@gmx.de>
7200
7201         * java/rmi/dgc/VMID.java
7202         (isUnique): Deprecated.
7203
7204 2003-03-31  Michael Koch  <konqueror@gmx.de>
7205
7206         * java/io/File.java
7207         (separator): Merged documentation from classpath.
7208         (separatorChar): Merged documentation from classpath.
7209         (pathSeparator): Merged documentation from classpath.
7210         (pathSeparatorChar): Merged documentation from classpath.
7211         (path): Merged documentation from classpath.
7212         (canRead): Merged documentation from classpath.
7213         (canWrite): Merged documentation from classpath.
7214         (createNewFile): Merged documentation from classpath.
7215         (delete): Merged documentation from classpath.
7216         (equals): Merged documentation from classpath.
7217         (exists): Merged documentation from classpath.
7218         (File): Renamed p to name to match classpath, merged documentation
7219         from classpath.
7220         (getAbsolutePath): Merged documentation from classpath.
7221         (getCanonicalPath): Merged documentation from classpath.
7222         (getCanonicalFile): Merged documentation from classpath.
7223         (getName): Merged documentation from classpath.
7224         (getParent): Merged documentation from classpath.
7225         (getParentFile): Merged documentation from classpath.
7226         (getPath): Merged documentation from classpath.
7227         (hashCode): Merged documentation from classpath.
7228         (isAbsolute): Merged documentation from classpath.
7229         (isDirectory): Merged documentation from classpath.
7230         (isFile): Merged documentation from classpath.
7231         (isHidden): Merged documentation from classpath.
7232         (lastModified): Merged documentation from classpath.
7233         (length): Merged documentation from classpath.
7234         (list): Merged documentation from classpath.
7235         (listFiles): Merged documentation from classpath.
7236         (toString): Merged documentation from classpath.
7237         (toURL): Merged documentation from classpath.
7238         (mkdir): Merged documentation from classpath.
7239         (mkdirs): Merged documentation from classpath.
7240         (createTempFile): Merged documentation from classpath.
7241         (setReadOnly): Merged documentation from classpath.
7242         (listRoots): Merged documentation from classpath.
7243         (compareTo): Merged documentation from classpath.
7244         (renameTo): Merged documentation from classpath.
7245         (setLastModified): Merged documentation from classpath.
7246         * java/io/PrintStream.java
7247         (auto_flush): Merged documentation from classpath.
7248         (PrintStream): Merged documentation from classpath.
7249         (checkError): Merged documentation from classpath.
7250         (setError): Merged documentation from classpath.
7251         (close): Merged documentation from classpath.
7252         (flush): Merged documentation from classpath.
7253         (print): Merged documentation from classpath.
7254         (println):  Merged documentation from classpath.
7255         (write): Renamed count to len to match classpath,
7256         merged documentation from classpath.
7257         * java/io/RandomAccessFile.java
7258         (readShort): Merged documentation from classpath.
7259         (readUnsignedByte): Merged documentation from classpath.
7260         (readUnsignedShort): Merged documentation from classpath.
7261         (readUTF): Merged documentation from classpath.
7262         (seek): Reformatted, merged documentation from classpath.
7263         (skipBytes): Renamed some variables to match classpath, reformatted,
7264         merged documentation from classpath.
7265         (write): Merged documentation from classpath.
7266         (writeBoolean): Merged documentation from classpath.
7267         (writeByte): Merged documentation from classpath.
7268         (writeShort): Merged documentation from classpath.
7269         (writeChar): Merged documentation from classpath.
7270         (writeInt): Merged documentation from classpath.
7271         (writeLong): Merged documentation from classpath.
7272         (writeFloat): Merged documentation from classpath.
7273         (writeDouble): Merged documentation from classpath.
7274         (writeBytes): Merged documentation from classpath.
7275         (writeChars): Merged documentation from classpath.
7276         (writeUTF): Reformatted.
7277         (getChannel): Reformatted.
7278
7279 2003-03-31  Michael Koch  <konqueror@gmx.de>
7280
7281         * java/awt/font/TextAttribute.java
7282         (readResolve): Throws java.io.InvalidObjectException.
7283
7284 2003-03-31  Michael Koch  <konqueror@gmx.de>
7285
7286         * java/rmi/server/LoaderHandler.java
7287         (loadClass): Deprecated.
7288         (getSecurityContext): Deprecated.
7289         * java/rmi/server/LogStream.java
7290         (getDefaultStream): Deprecated.
7291         (setDefaultStream): Deprecated.
7292         (getOutputStream): Deprecated.
7293         (setOutputStream): Deprecated.
7294         (write): Deprecated.
7295         (toString): Deprecated.
7296         (parseLevel): Deprecated.
7297         * java/rmi/server/Operation.java
7298         (Operation): Deprecated.
7299         (getOperation): Deprecated.
7300         (toString): Deprecated.
7301         * java/rmi/server/RemoteCall.java
7302         (getOutputStream): Deprecated.
7303         (releaseOutputStream): Deprecated.
7304         (getInputStream): Deprecated.
7305         (releaseInputStream): Deprecated.
7306         (getResultStream): Deprecated.
7307         (executeCall): Deprecated.
7308         (done): Deprecated.
7309         * java/rmi/server/RemoteRef.java
7310         (invoke): Deprecated.
7311         (newCall): Deprecated.
7312         (done): Deprecated.
7313         * java/rmi/server/RemoteStub.java
7314         (setRef): Deprecated.
7315         * java/rmi/server/Skeleton.java:
7316         No need to import java.lang.Exception explicitly.
7317         (dispatch): Deprecated.
7318         (getOperations): Deprecated.
7319
7320 2003-03-31  Michael Koch  <konqueror@gmx.de>
7321
7322         * java/rmi/dgc/VMID.java,
7323         java/rmi/registry/RegistryHandler.java,
7324         java/rmi/server/LogStream.java,
7325         java/rmi/server/Operation.java,
7326         java/rmi/server/RemoteCall.java,
7327         java/rmi/server/RemoteRef.java,
7328         java/rmi/server/RemoteStub.java:
7329         Reformatted.
7330
7331 2003-03-31  Michael Koch  <konqueror@gmx.de>
7332
7333         * javax/swing/AbstractCellEditor.java,
7334         javax/swing/AbstractListModel.java,
7335         javax/swing/ActionMap.java,
7336         javax/swing/BorderFactory.java,
7337         javax/swing/ButtonGroup.java,
7338         javax/swing/DefaultBoundedRangeModel.java,
7339         javax/swing/DefaultButtonModel.java,
7340         javax/swing/DefaultCellEditor.java,
7341         javax/swing/DefaultComboBoxModel.java,
7342         javax/swing/DefaultDesktopManager.java,
7343         javax/swing/DefaultListCellRenderer.java,
7344         javax/swing/DefaultSingleSelectionModel.java,
7345         javax/swing/InputMap.java,
7346         javax/swing/JComponent.java,
7347         javax/swing/JMenu.java,
7348         javax/swing/JSlider.java,
7349         javax/swing/KeyStroke.java,
7350         javax/swing/OverlayLayout.java,
7351         javax/swing/ScrollPaneLayout.java,
7352         javax/swing/SizeRequirements.java,
7353         javax/swing/UIManager.java,
7354         javax/swing/ViewportLayout.java,
7355         javax/swing/border/AbstractBorder.java,
7356         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7357         javax/swing/event/EventListenerList.java,
7358         javax/swing/table/AbstractTableModel.java,
7359         javax/swing/table/DefaultTableCellRenderer.java,
7360         javax/swing/table/DefaultTableColumnModel.java,
7361         javax/swing/table/DefaultTableModel.java,
7362         javax/swing/table/TableColumn.java,
7363         javax/swing/text/StyledEditorKit.java,
7364         javax/swing/tree/DefaultMutableTreeNode.java,
7365         javax/swing/tree/DefaultTreeModel.java,
7366         javax/swing/tree/DefaultTreeSelectionModel.java,
7367         javax/swing/tree/TreePath.java,
7368         javax/swing/undo/AbstractUndoableEdit.java,
7369         javax/swing/undo/StateEdit.java,
7370         javax/swing/undo/StateEditable.java,
7371         javax/swing/undo/UndoableEditSupport.java:
7372         Merges from classpath.
7373
7374 2003-03-30  Tom Tromey  <tromey@redhat.com>
7375
7376         * java/lang/String.java (data, boffset, count): Documented.
7377         (String(byte[],String)): Reformatted.
7378         (String(byte[])): Likewise.
7379         (lastIndexOf(int)): Likewise.
7380         (lastIndexOf(String)): Likewise.
7381         (substring(int)): Renamed argument to match Classpath.
7382         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7383
7384         * java/lang/String.java: Miscellaneous minor formatting changes
7385         to match Classpath more closely.
7386
7387 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7388             Tom Tromey  <tromey@redhat.com>
7389
7390         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7391         (init()): Removed.
7392         (charAt): Put index in exception.
7393         (contentEquals): New method.
7394         Include StringBuffer.h.
7395         * java/lang/String.java (cachedHashCode): New field.
7396         (String()): Follow classpath implementation.
7397         (init()): Removed.
7398         (contentEquals): Declare.
7399         (subSequence): Don't declare IndexOutIfBoundsException in throws
7400         clause.
7401         (matches, replaceFirst, replaceAll, split): New methods from
7402         Classpath.
7403
7404 2003-03-29  Tom Tromey  <tromey@redhat.com>
7405
7406         * java/lang/String.java: Reordered to follow Classpath; merged in
7407         javadoc.
7408
7409         * java/text/MessageFormat.java: Removed some whitespace.
7410
7411         * Makefile.in: Rebuilt.
7412         * Makefile.am (awt_java_source_files): Added new files.
7413         * gnu/javax/rmi/PortableServer.java,
7414         gnu/javax/rmi/CORBA/DelegateFactory.java,
7415         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7416         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7417         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7418         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7419         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7420         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7421         javax/rmi/PortableRemoteObject.java,
7422         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7423         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7424         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7425         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7426         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7427         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7428
7429         * java/lang/natClass.cc (newInstance): Put method name in
7430         exception.
7431         (getConstructor): Likewise.
7432         (getDeclaredConstructor): Likewise.
7433         (getPrivateMethod): Likewise.
7434
7435 2003-03-28  Tom Tromey  <tromey@redhat.com>
7436
7437         * java/lang/reflect/Proxy.java: New version from Classpath.
7438         * java/lang/Package.java: New version from Classpath.
7439
7440 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7441
7442         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7443         * configure: Regenerate.
7444
7445 2003-03-28  Michael Koch  <konqueror@gmx.de>
7446
7447         * java/io/File.java:
7448         Import needed classes instead of whole packages, merged class
7449         documentation with classpath, moved constants and variables to top of
7450         class.
7451         * java/io/PrintStream.java:
7452         Merged class documentation with classpath, moved constants and
7453         variables to top of class.
7454         * java/io/RandomAccessFile.java
7455         (RandomAccessFile): Merged with classpath.
7456         (read): Merged with classpath).
7457         (read*): Reformatted.
7458
7459 2003-03-28  Michael Koch  <konqueror@gmx.de>
7460
7461         * java/io/FileDescriptor.java
7462         (finalize): Throws Throwable, not IOException.
7463         * java/io/ObjectOutputStream.java
7464         (PutField.put): Doesnt throws anything.
7465
7466 2003­03-28  Michael Koch  <konqueror@gmx.de>
7467
7468         * java/io/FileOutputStream.java:
7469         Merged class documentation and authors with classpath.
7470         (FileOutputStream): Partly merged with classpath.
7471         (write): Merged with classpath.
7472         (getChannel): Make it synchronized instead of explicit block in this
7473         method.
7474         * java/io/RandomAccessFile.java:
7475         Merged class documentation and authors with classpath.
7476
7477 2003-03-26  Tom Tromey  <tromey@redhat.com>
7478
7479         * java/lang/natRuntime.cc (insertSystemProperties): Set
7480         gnu.classpath.home.url.
7481         * Makefile.in: Rebuilt.
7482         * Makefile.am: Define LIBDIR.
7483
7484 2003-03-25  Michael Koch  <konqueror@gmx.de>
7485
7486         * java/io/FileInputStream.java
7487         (read): Renamed b to buf and off to offset.
7488         * java/io/FileOutputStream.java
7489         (ch): Documentation added.
7490         (FileOutputStream): Documentation added.
7491         (getFD): Documentation added.
7492         (write): Documentation added.
7493         (close): Documentation added.
7494         (getChannel): Documentation added.
7495
7496 2003-03-24  Michael Koch  <konqueror@gmx.de>
7497
7498         * java/io/DataOutputStream.java
7499         (write): Merged from classpath.
7500         * java/io/File.java:
7501         Merged copyrigth with classpath.
7502         * java/io/FileInputStream.java
7503         (getChannel): Made it synchronized instead of using a synchronized
7504         block.
7505         * java/io/FileOutputStream.java: Reformatted.
7506         * java/io/InputStreamReader.java
7507         (InputStreamReader): Renamed enc to encoding_name.
7508         (close): Merged documentation from classpath.
7509         (getEncoding): Merged documentation from classpath.
7510         (ready): Merged documentation from classpath.
7511         (read): Merged documentation from classpath.
7512         * java/io/LineNumberReader.java
7513         (lineNumber): Made it private.
7514         (LineNumberReader): Use Constant instead of a direct value.
7515         * java/io/OutputStreamWriter.java
7516         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7517         documentation from classpath.
7518         (close): Merged documentation from classpath.
7519         (flush): Merged documentation from classpath.
7520         (write): Merged documentation from classpath.
7521         * java/io/PrintStream.java: Reformatted.
7522
7523 2003-03-24  Michael Koch  <konqueror@gmx.de>
7524
7525         * javax/swing/text/ComponentView.java
7526         (getComponent): Must be final.
7527         * javax/swing/tree/DefaultTreeCellRenderer.java:
7528         Reformatted.
7529         * javax/swing/undo/StateEditable.java:
7530         Reformatted.
7531
7532 2003-03-24  Michael Koch  <konqueror@gmx.de>
7533
7534         * java/rmi/activation/ActivationInstantiator.java:
7535         Reformatted.
7536         * java/rmi/activation/Activator.java:
7537         Reformatted.
7538         * java/rmi/registry/RegistryHandler.java:
7539         Remerged from classpath.
7540
7541 2003-03-24  Michael Koch  <konqueror@gmx.de>
7542
7543         * java/util/Date.java:
7544         Fixed documentation starting tag to make javadoc happy.
7545         * java/util/regex/Pattern.java
7546         (Pattern): Implements Serializable.
7547         * java/util/PatternSyntaxException.java
7548         (serialVersionUID): New member variable.
7549
7550 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7551
7552         * java/awt/ContainerOrderFocusTraversalPolicy.java
7553         (getFirstComponent): Implemented.
7554         (getLastComponent): Implemented.
7555         (getDefaultComponent): Implemented.
7556         (setImplicitDownCycleTraversal): Fixed implementation.
7557         * java/awt/Robot.java
7558         (Robot): Added documentation.
7559         * java/awt/Toolkit.java
7560         (getFontList): Deprecated.
7561         (getFontMetrics): Deprecated.
7562         (getPrintJob): Added documentation.
7563         (getSystemSelection): Added documentation.
7564         (getLockingKeyState): Added documentation.
7565         (setLockingKeyState): Added documentation.
7566         (createCustomCursor): Added documentation.
7567         (getBestCursorSize): Added documentation.
7568         (getMaximumCursorColors): Added documentation.
7569         (isFrameStateSupported): Added documentation.
7570
7571 2003-03-24  Michael Koch  <konqueror@gmx.de>
7572
7573         * java/io/RandomAccessFile.java:
7574         More little merges with classpath. No code changes.
7575
7576 2003-03-24  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/net/natInetAddressNoNet.cc:
7579         Include stddef.h.
7580         * java/net/natPlainDatagramSocketImplNoNet.cc:
7581         Fixed inlcude of java/net/DatagramPacket.h.
7582         * java/net/natPlainSocketImplNoNet.cc:
7583         Include some missing classes.
7584
7585 2003-03-24  Michael Koch  <konqueror@gmx.de>
7586
7587         * java/awt/dnd/DropTarget.java
7588         (DropTargetAutoScroller): According to the online documentation, this
7589         is protected, but in reality it is public.
7590         * java/awt/dnd/DropTargetContext.java
7591         (TransferableProxy): According to the online documentation, this
7592         is protected, but in reality it is public.
7593
7594 2003-03-24  Michael Koch  <konqueror@gmx.de>
7595
7596         * java/io/DataInputStream.java
7597         (): Wrapped documentation line.
7598         (): Fixed @return tag.
7599         * java/io/DataOutputStream.java
7600         (written): Moved to top of class.
7601         (all methods): Merged documentation from classpath.
7602         * java/io/File.java:
7603         Merged copyright year with classpath.
7604         * java/io/FileInputStream.java
7605         (all methods): Merged documentation from classpath.
7606         * java/io/LineNumberReader.java
7607         (getLineNumber): Fixed @return tag.
7608         * java/io/ObjectInputStream.java.
7609         Reformatted.
7610         * java/io/ObjectOutputStream.java:
7611         Reformatted, fixed some @see tags.
7612         * java/io/OutputStreamWriter.java:
7613         Deleted empty line.
7614         * java/io/Writer.java:
7615         Reformatted.
7616
7617 2003-03-24  Michael Koch  <konqueror@gmx.de>
7618
7619         * java/awt/Frame.java
7620         (DEFAULT_CURSOR): Fixed @deprecated tag.
7621         (setCursor): Fixed @deprecated tag.
7622
7623 2003-03-24  Michael Koch  <konqueror@gmx.de>
7624
7625         * java/beans/beancontext/BeanContextEvent.java:
7626         Reformated.
7627
7628 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7629
7630         * java/lang/natStringBuffer.cc (regionMatches): New function.
7631         * java/lang/String.java (count): Now package-private.
7632         * java/lang/StringBuffer.java: Merged with Classpath.
7633
7634 2003-03-23  Michael Koch  <konqueror@gmx.de>
7635
7636         * java/io/BufferedOutputStream.java:
7637         Reformated.
7638         * java/io/BufferedReader.java:
7639         Reformated.
7640         * java/io/ByteArrayOutputStream.java
7641         (size): Fixed @see tag.
7642         * java/io/CharArrayWriter.java
7643         (size): Fixed @see tag.
7644         * java/io/DataInput.java:
7645         Reformated.
7646         * java/io/DataOutput.java:
7647         Reformated.
7648         * java/io/DataOutputStream.java:
7649         Merged copyright years with classpath.
7650         * java/io/Externalizable.java:
7651         Reformated.
7652         * java/io/FileFilter.java:
7653         Reformated.
7654         * java/io/FileInputStream.java:
7655         Merged copyright years with classpath.
7656         * java/io/FileOutputStream.java:
7657         Merged copyright years with classpath.
7658         * java/io/FilePermission.java
7659         (FilePermission): Replaced @XXX with FIXME:.
7660         * java/io/FileWriter.java:
7661         Reformated.
7662         * java/io/FilenameFilter.java:
7663         Reformated.
7664         * java/io/FilterInputStream.java:
7665         Reformated.
7666         * java/io/FilterOutputStream.java:
7667         Reformated.
7668         * java/io/FilterReader.java:
7669         Reformated.
7670         * java/io/FilterWriter.java:
7671         Reformated.
7672         * java/io/LineNumberInputStream.java
7673         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7674         happy.
7675         (getLineNumber): Fixed @return tag.
7676         * java/io/ObjectInput.java:
7677         Reformated.
7678         * java/io/ObjectOutput.java:
7679         Reformated.
7680         * java/io/ObjectStreamClass.java:
7681         Reformated.
7682         * java/io/PrintStream.java:
7683         Merged copyright years with classpath.
7684         * java/io/PushbackReader.java
7685         (PushbackReader): Replaced @code with @param.
7686         * java/io/SerializablePermission.java:
7687         Reformated.
7688         * java/io/StreamTokenizer.java
7689         (resetSyntax): Fixed @see tag.
7690
7691 2003-03-22  Richard Henderson  <rth@redhat.com>
7692
7693         * sysdep/ia64/locks.h: Include ia64intrin.h.
7694         (compare_and_swap): Use __sync_bool_compare_and_swap.
7695         (compare_and_swap_release): Expose ar.ccv assignment.
7696
7697 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7698
7699         * include/posix.h: Add suffix for darwin dynamic libraries.
7700
7701 2003-03-21  Michael Koch  <konqueror@gmx.de>
7702
7703         * javax/swing/Action.java
7704         (ACCELERATOR_KEY): New constant.
7705         (ACTION_COMMAND_KEY): Likewise.
7706         (MNEMONIC_KEY): Likewise.
7707         * javax/swing/UnsupportedLookAndFeelException.java
7708         (UnsupportedLookAndFeelException): Must be public.
7709         * javax/swing/WindowConstants.java
7710         (EXIT_ON_CLOSE): New constant.
7711         * javax/swing/text/BadLocationException.java
7712         (offset): New member variable.
7713         (BadLocationException): New implementation, documentation added.
7714         (offsetRequested): New method.
7715         * javax/swing/text/Caret.java:
7716         Reformated.
7717         * javax/swing/text/Document.java:
7718         Reformated.
7719
7720 2003-03-21  Michael Koch  <konqueror@gmx.de>
7721
7722         * java/rmi/activation/Activatable.java
7723         (serialVersionUID): New member variable.
7724         * java/rmi/activation/ActivationGroup.java
7725         (serialVersionUID): New member variable.
7726         * java/rmi/activation/ActivationGroupDesc.java
7727         (serialVersionUID): New member variable.
7728         * java/rmi/registry/Registry.java:
7729         Reformated.
7730         (Registry): Deprecated.
7731         * java/rmi/server/LoaderHandler.java
7732         Reformated.
7733         (LoaderHandler): Deprecated.
7734         * java/rmi/server/LogStream.java
7735         Reformated.
7736         (LogStream): Deprecated.
7737         * java/rmi/server/Operation.java
7738         (Operation): Deprecated.
7739         * java/rmi/server/RMIFailureHandler.java:
7740         Reformated.
7741         * java/rmi/server/RMISocketFactory.java:
7742         Reformated.
7743         * java/rmi/server/RemoteCall.java
7744         (RemoteCall): Deprecated.
7745         * java/rmi/server/RemoteStub.java:
7746         Reformated.
7747         * java/rmi/server/Skeleton.java
7748         Reformated.
7749         (Skeleton): Deprecated.
7750
7751 2003-03-21  Michael Koch  <konqueror@gmx.de>
7752
7753         * java/io/LineNumberReader.java
7754         (LineNumberReader): Merged documentation with classpath.
7755         (getLineNumber): Likewise.
7756         (setLineNumber): Likewise.
7757         (mark): Likewise.
7758         (reset): Likewise.
7759         (read): Likewise.
7760         (readLine): Likewise.
7761         (skip): Likewise.
7762
7763 2003-03-21  Michael Koch  <konqueror@gmx.de>
7764
7765         * java/rmi/RMISecurityManager.java
7766         (checkAccept): Removed.
7767         (checkAccess): Likewise.
7768         (checkAccess): Likewise.
7769         (checkAwtEventQueueAccess): Likewise.
7770         (checkConnect): Likewise.
7771         (checkCreateClassLoader): Likewise.
7772         (checkDelete): Likewise.
7773         (checkExec): Likewise.
7774         (checkExit): Likewise.
7775         (checkLink): Likewise.
7776         (checkListen): Likewise.
7777         (checkMemberAccess): Likewise.
7778         (checkMulticast): Likewise.
7779         (checkPackageAccess): Likewise.
7780         (checkPackageDefinition): Likewise.
7781         (checkPermission): Likewise.
7782         (checkPrintJobAccess): Likewise.
7783         (checkPropertiesAccess): Likewise.
7784         (checkPropertyAccess): Likewise.
7785         (checkRead): Likewise.
7786         (checkSecurityAccess): Likewise.
7787         (checkSetFactory): Likewise.
7788         (checkSystemClipboardAccess): Likewise.
7789         (checkTopLevelWindow): Likewise.
7790         (checkWrite): Likewise.
7791
7792 2003-03-20  Michael Koch  <konqueror@gmx.de>
7793
7794         * gnu/java/nio/FileChannelImpl.java
7795         (address): Removed.
7796         (map_address): New member variable.
7797         (length): Make it package private.
7798         (fd): Make it package private.
7799         (buf): Make it package private.
7800         (file_obj): Make it package private.
7801         (FileChannelImpl): New constructor.
7802         (nio_mmap_file): Use RawData instead of long.
7803         (nio_munmap_file): Use RawData instead of long.
7804         (nio_msync): Use RawData instead of long.
7805         (implCloseChannel): New implementation using map_address.
7806         (read): Reformated.
7807         (map): Implemented.
7808         (create_direct_mapped_buffer): Implemented, use RawData, throws
7809         IOException.
7810         (force): Use map_address instead of address.
7811         * gnu/java/nio/MappedByteFileBuffer.java
7812         (address): Removed.
7813         (map_address): New member variable.
7814         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7815         (several methods): Use map_address instead of address, replaced long
7816         with RawData where appropriate.
7817         * gnu/java/nio/natFileChannelImpl.cc
7818         (nio_mmap_file): Replaced long with RawData.
7819         (nio_munmap_file): Replaced long with RawData.
7820         (nio_msync): Replaced long with RawData.
7821         * gnu/java/nio/natMappedByteFileBuffer.cc
7822         (several methods): Replaced long with RawData where appropriate.
7823
7824 2003-03-20  Michael Koch  <konqueror@gmx.de>
7825
7826         * java/net/InetAddress.java,
7827         java/net/JarURLConnection.java,
7828         java/net/PlainDatagramSocketImpl.java,
7829         java/net/PlainSocketImpl.java,
7830         java/net/URLConnection.java:
7831         Merged copyright statements with classpath for easier merging.
7832
7833 2003-03-20  Michael Koch  <konqueror@gmx.de>
7834
7835         * java/io/FileInputStream.java
7836         (getChannel): New implementation.
7837         * java/io/FileOutputStream.java
7838         (ch): New member variable.
7839         (getChannel): Implemented.
7840         * java/io/RandomAccessFile.java
7841         (RandomAccessFile): Throws FileNotFoundException instead of
7842         IOException.
7843         (getChannel): New method.
7844         (ch): New member variable.
7845
7846 2003-03-20  Michael Koch  <konqueror@gmx.de>
7847
7848         * java/io/DataOutputStream.java,
7849         java/io/File.java,
7850         java/io/FileInputStream.java,
7851         java/io/FileOutputStream.java,
7852         java/io/InputStreamReader.java,
7853         java/io/LineNumberReader.java,
7854         java/io/OutputStreamWriter.java,
7855         java/io/PrintStream.java,
7856         java/io/RandomAccessFile.java:
7857         Merged copyright statements with classpath for easier merging.
7858
7859 2003-03-19  Michael Koch  <konqueror@gmx.de>
7860
7861         * java/lang/Process.java:
7862         Merged from classpath.
7863
7864 2003-03-19  Michael Koch  <konqueror@gmx.de>
7865
7866         * java/io/FileOutputStream.java
7867         (FileOutputStream): New constructor, merged from classpath.
7868         * java/io/FileWriter.java
7869         (FileWriter): New constructor, merged from classpath.
7870
7871 2003-03-18  Michael Koch  <konqueror@gmx.de>
7872
7873         * java/awt/ScrollPane.java
7874         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7875         (getViewportSize): Likewise.
7876         (addNotify): Likewise.
7877         (removeNotify): Likewise.
7878         * java/awt/ScrollPaneAdjustable.java
7879         (ScrollPaneAdjustable): No longer extends Scrollbar.
7880         * java/beans/beancontext/BeanContextServices.java:
7881         Reformated.
7882         (getService): Added throws TooManyListenersException;
7883         * java/beans/beancontext/BeanContextServicesSupport.java:
7884         Reformated.
7885
7886 2003-03-18  Michael Koch  <konqueror@gmx.de>
7887
7888         * java/io/BufferedOutputStream.java,
7889         java/io/DataInput.java,
7890         java/io/DataInputStream.java,
7891         java/io/DataOutput.java,
7892         java/io/Externalizable.java:
7893         More merges from classpath.
7894
7895 2003-03-18  Michael Koch  <konqueror@gmx.de>
7896
7897         * configure.in: Fixed links to platform dependant java.net files.
7898         * configure: Regenerated.
7899         * java/net/natInetAddress.cc,
7900         java/net/natNetworkInterface.cc,
7901         java/net/natPlainDatagramSocketImpl.cc,
7902         java/net/natPlainSocketImpl.cc:
7903         Removed.
7904
7905 2003-03-18  Michael Koch  <konqueror@gmx.de>
7906
7907         * configure.in: Create links to architecture dependent files,
7908         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7909         * configure: Regenerated.
7910         * java/net/natInetAddressNoNet.cc,
7911         java/net/natInetAddressPosix.cc,
7912         java/net/natInetAddressWin32.cc,
7913         java/net/natNetworkInterfaceNoNet.cc,
7914         java/net/natNetworkInterfacePosix.cc,
7915         java/net/natNetworkInterfaceWin32.cc,
7916         java/net/natPlainDatagramSocketImplNoNet.cc,
7917         java/net/natPlainDatagramSocketImplPosix.cc,
7918         java/net/natPlainDatagramSocketImplWin32.cc,
7919         java/net/natPlainSocketImplNoNet.cc,
7920         java/net/natPlainSocketImplPosix.cc,
7921         java/net/natPlainSocketImplWin32.cc: New files.
7922
7923 2003-03-18  Michael Koch  <konqueror@gmx.de>
7924
7925         * java/io/BufferedReader.java,
7926         java/io/BufferedWriter.java,
7927         java/io/ByteArrayOutputStream.java,
7928         java/io/FileFilter.java,
7929         java/io/FilePermission.java,
7930         java/io/FileReader.java,
7931         java/io/FileWriter.java,
7932         java/io/FilenameFilter.java,
7933         java/io/FilterInputStream.java,
7934         java/io/FilterOutputStream.java,
7935         java/io/FilterReader.java,
7936         java/io/FilterWriter.java,
7937         java/io/ObjectInput.java,
7938         java/io/ObjectInputValidation.java,
7939         java/io/ObjectOutput.java,
7940         java/io/ObjectStreamField.java,
7941         java/io/PipedInputStream.java,
7942         java/io/PipedReader.java,
7943         java/io/PrintWriter.java,
7944         java/io/PushbackReader.java,
7945         java/io/Reader.java,
7946         java/io/SerializablePermission.java,
7947         java/io/StringReader.java,
7948         java/io/Writer.java:
7949         Merged from classpath.
7950
7951 2003-03-17  Michael Koch  <konqueror@gmx.de>
7952
7953         * java/awt/ScrollPaneAdjustable.java:
7954         Compile fixes.
7955         
7956 2003-03-17  Michael Koch  <konqueror@gmx.de>
7957
7958         * java/net/DatagramSocket.java
7959         (connect): Fixed comment.
7960         * java/nio/ByteBuffer.java
7961         (hasArray): Fixed comment.
7962
7963 2003-03-17  Michael Koch  <konqueror@gmx.de>
7964
7965         * java/beans/Beans.java:
7966         Explicitely import classes not packages.
7967         * java/beans/FeatureDescriptor.java
7968         (preferred): New member variable.
7969         (isPreferred): New method.
7970         (setPreferred): New method.
7971         * java/beans/PropertyEditorManager.java:
7972         Explicitely import used classes.
7973         * java/beans/beancontext/BeanContextChild.java:
7974         Added line wrapping.
7975         * java/beans/beancontext/BeanContextChildSupport.java:
7976         Reindented.
7977         * java/beans/beancontext/BeanContextEvent.java:
7978         Reindented.
7979
7980 2003-03-17  Michael Koch  <konqueror@gmx.de>
7981
7982         * java/awt/Dialog.java
7983         (Dialog): New constructor, changed implementations, added
7984         documentation.
7985         * java/awt/ScrollPaneAdjustable.java
7986         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7987         Serializable.
7988         (serialVersionUID): New member variable.
7989         (sp): New member variable.
7990         (orientation): New member variable.
7991         (value): New member variable.
7992         (minimum): New member variable.
7993         (maximum): New member variable.
7994         (visibleAmount): New member variable.
7995         (unitIncrement): New member variable.
7996         (blockIncrement): New member variable.
7997         (AdjustmentListener): New member variable.
7998         (ScrollPaneAdjustable): New implementation.
7999         (addAdjustmentListener): New method.
8000         (removeAdjustmentListener): New method.
8001         (getAdjustmentListeners): New method.
8002         (getBlockIncrement): New method.
8003         (getMaximum): New method.
8004         (getMinimum): New method.
8005         (getOrientation): New method.
8006         (getUnitIncrement): New method.
8007         (getValue): New method.
8008         (getVisibleAmount): New method.
8009         (setBlockIncrement): New method.
8010         (setMaximum): Implemented.
8011         (setMinimum): Implemented.
8012         (setUnitIncrement): New method.
8013         (setValue): New method.
8014         (setVisibleAmount): Implemented. 
8015         (paramString): New stubbed method.
8016         * java/awt/Window.java
8017         (show): Call setVisible().
8018         (hide): Call setVisible().
8019         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8020         and WINDOW_STATE_CHANGED.
8021         (processWindowFocusEvent): New method.
8022         (processWindowStateEvent): New method.
8023         (postEvent): Deprecated.
8024         (applyResourceBundle): Deprecated.
8025         * java/awt/datatransfer/DataFlavor.java
8026         (DataFlavor): Doesn't thow ClassNotFoundException.
8027
8028 2003-03-17  Michael Koch
8029
8030         * javax/print/attribute/Attribute.java,
8031         javax/print/attribute/AttributeSet.java,
8032         javax/print/attribute/PrintRequestAttributeSet.java:
8033         New files.
8034         * Makefile.am
8035         (javax_source_files): Added new files:
8036         javax/print/attribute/Attribute.java
8037         javax/print/attribute/AttributeSet.java
8038         javax/print/attribute/PrintRequestAttributeSet.java
8039         * Makefile.in: Regenerated.
8040
8041 2003-03-17  Michael Koch
8042
8043         * javax/print/attribute/Attribute.java,
8044         javax/print/attribute/AttributeSet.java,
8045         javax/print/attribute/PrintRequestAttributeSet.java:
8046         New files.
8047         * Makefile.am
8048         (awt_java_source_files): Added new files:
8049         javax/print/attribute/Attribute.java
8050         javax/print/attribute/AttributeSet.java
8051         javax/print/attribute/PrintRequestAttributeSet.java
8052         * Makefile.in: Regenerated.
8053
8054 2003-03-16  Tom Tromey  <tromey@redhat.com>
8055
8056         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8057         Include platform.h.
8058         * java/lang/natRuntime.cc (insertSystemProperties): Use
8059         _Jv_platform_path_separator.
8060         (nativeGetLibname): Use _Jv_platform_file_separator.
8061         (_load): Use _Jv_platform_onload_names.
8062         (onload_names): New global.
8063         * include/win32.h (_Jv_platform_file_separator): New define.
8064         (_Jv_platform_path_separator): Likewise.
8065         (_Jv_platform_onload_names): Likewise.
8066         (_Jv_platform_ffi_abi): Likewise.
8067         * include/posix.h (_Jv_platform_file_separator): New define.
8068         (_Jv_platform_path_separator): Likewise.
8069         (_Jv_platform_onload_names): Likewise.
8070         (_Jv_platform_ffi_abi): Likewise.
8071
8072 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8073
8074         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8075
8076 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8077
8078         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8079         hierarchy loop.
8080         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8081         list to Object,ObjectStreamClass, moved callReadMethod code up into
8082         readObject and added Class argument to all setXxxField calls.
8083         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8084         consistent with ObjectOutputStream and to facilitate caching the
8085         Method in the future.
8086         (setBooleanField): Added Class argument.
8087         (setByteField): Likewise.
8088         (setCharField): Likewise.
8089         (setDoubleField): Likewise.
8090         (setFloatField): Likewise.
8091         (setIntField): Likewise.
8092         (setLongField): Likewise.
8093         (setShortField): Likewise.
8094         (setObjectField): Likewise.
8095         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8096         class hierarchy loop.
8097         (defaultWriteObject): Call writeFields with new argument list.
8098         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8099         list to Object,ObjectStreamClass, moved callWriteMethod up into
8100         writeObject and added Class argument to all getXxxField calls.
8101         (callWriteMethod): Added ObjectStreamClass argument to be able to
8102         get the proper class to call getMethod on (each class can have (or
8103         not have) its own writeObject method).
8104         (getBooleanField): Added Class argument.
8105         (getByteField): Likewise.
8106         (getCharField): Likewise.
8107         (getDoubleField): Likewise.
8108         (getFloatField): Likewise.
8109         (getIntField): Likewise.
8110         (getLongField): Likewise.
8111         (getShortField): Likewise.
8112         (getObjectField): Likewise.
8113         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8114         facilitate caching the Method object in the future.
8115
8116 2003-03-12  Andreas Schwab  <schwab@suse.de>
8117
8118         * configure.in: Avoid trailing /. in toolexeclibdir.
8119         * configure: Rebuilt.
8120
8121 2003-03-11  Michael Koch  <konqueror@gmx.de>
8122
8123         * gnu/java/nio/ByteBufferImpl.java
8124         (putInt): Use limit() instead of limit.
8125         * gnu/java/nio/CharBufferImpl.java
8126         (slice): Fixed implementation.
8127         (subSequence): Better bounds checking.
8128         * gnu/java/nio/MappedByteFileBuffer.java:
8129         Import all needed classes directly.
8130         * java/nio/ByteBuffer.java
8131         (hashCode): New dummy method.
8132         * java/nio/CharBuffer.java
8133         (array_offset): New member variable.
8134         (hasArray): Fixed documentation.
8135         (arrayOffset): Return array_offset.
8136
8137 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8138
8139         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8140         setter; made return value of getter const char* instead of char*
8141         * prims.cc: removed all references to _Jv_ThisExecutable().
8142         These are in the platform-specific sections now.
8143         * posix.cc: define platform-specific _Jv_ThisExecutable().
8144         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8145         * win32.cc: define platform-specific _Jv_ThisExecutable()
8146         using GetModuleFilename()
8147         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8148         to argv[0] instead of _Jv_ThisExecutable()
8149
8150 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8151
8152         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8153         that is set if we are using addr2name.awk instead of addr2line.
8154         (NameFinder): Set usingAddr2name if using addr2name.awk.
8155         (getExternalLabel): New native method to convert a method 
8156         name to an external label.
8157         (lookup): Convert name given by addr2line to an external label
8158         before demangling.
8159
8160         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8161         constant representing the prefix attached to method names to
8162         convert them to an external label.
8163         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8164         using LABEL_PREFIX.
8165
8166 2003-03-10  Tom Tromey  <tromey@redhat.com>
8167
8168         * Makefile.in: Rebuilt.
8169         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8170         (JC1FLAGS): Removed -Wno-deprecated.
8171
8172 2003-03-10  Michael Koch  <konqueror@gmx.de>
8173
8174         * java/nio/ByteOrder.java
8175         (nativeOrder): Working implementation, added documentation.
8176         (toString): Added documentation.
8177
8178 2003-03-10  Michael Koch  <konqueror@gmx.de>
8179
8180         * java/net/DatagramSocket.java,
8181         java/net/MulticastSocket.java,
8182         java/net/Socket.java,
8183         java/net/URL.java,
8184         java/net/URLConnection.java:
8185         Fixed some documentation tags to make javadoc and friends happy.
8186
8187 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8188
8189         * java/beans/beancontext/BeanContextServicesSupport.java,
8190         java/beans/beancontext/BeanContextSupport.java: New files.
8191         * Makefile.am
8192         (awt_source_files): Added new files.
8193         * Makefile.in: Regenerated.
8194
8195 2003-03-10  Michael Koch  <konqueror@gmx.de>
8196
8197         * java/awt/FocusTraversalPolicy.java
8198         (FocusTraversalPolicy): Documentation added.
8199         (getComponentAfter): Documentation added.
8200         (getComponentBefore): Documentation added.
8201         (getFirstComponent): Documentation added.
8202         (getLastComponent): Documentation added.
8203         (getDefaultComponent): Documentation added.
8204         (getInitialComponent): Documentation added.
8205         * java/awt/ScrollPaneAdjustable.java
8206         (sp): New member variable.
8207         (orientation): New member variable.
8208         (value): New member variable.
8209         (minimum): New member variable.
8210         (maximum): New member variable.
8211         (visibleAmount): New member variable.
8212         (unitIncrement): New member variable.
8213         (blockIncrement): New member variable.
8214         (adjustmentListener): New member variable.
8215         (ScrollPaneAdjustable): Rewrote.
8216         (addAdjustmentListener): New method.
8217         (removeAdjustmentListener): New method.
8218         (getAdjustmentListeners): New method.
8219         (getBlockIncrement): New method.
8220         (getMaximum): New method.
8221         (getMinimum): New method.
8222         (getOrientation): New method.
8223         (getUnitIncrement): New method.
8224         (getValue): New method.
8225         (getVisibleAmount): New method.
8226         (setBlockIncrement): New method.
8227         (setUnitIncrement): New method.
8228         (setMaximum): Implemented.
8229         (setMinimum): Implemented.
8230         (setValue): New method.
8231         (setVisibleAmount): Implemented.
8232         (paramString): New method.
8233         * java/awt/Window.java
8234         (show): Use setVisible(true) instead of super.show().
8235         (hide): Use sevVisible(false) instead of super.hide().
8236         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8237         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8238         (postEvent): Deprecated.
8239         (applyResourceBundle): Deprecated.
8240         (processWindowFocusEvent): New method.
8241         (processWindowStateEvent): New method.
8242         * java/awt/datatransfer/DataFlavor.java: Reindented.
8243         * java/awt/font/TextHitInfo.java
8244         (charIndex): New member variable.
8245         (leadingEdge): New member variable.
8246         (TextHitInfo): New constructor.
8247         (getCharIndex): Implemented.
8248         (isLeadingEdge): Implemented.
8249         (getInsertionIndex): Implemented.
8250         (hashCode): Access charIndex directly.
8251         (equals): Reformated.
8252         (leading): Implemented.
8253         (trailing): Implemented.
8254         (beforeOffset): Implemented.
8255         (afterOffset): Implemented.
8256         (getOtherHit): Implemented.
8257         (getOffsetHit): Implemented.
8258         (toString): Implemented.
8259         * java/awt/image/BufferedImage.java
8260         (BufferedImage): Implements WritableRenderedImage.
8261         (observers): New member variable.
8262         (addTileObserver): New method.
8263         (removeTileObserver): New method.
8264
8265 2003-03-09  Tom Tromey  <tromey@redhat.com>
8266
8267         PR libgcj/9934:
8268         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8269         to lseek.  Return 0 if we can't compute the value.
8270
8271 2003-03-03  Michael Koch  <konqueror@gmx.de>
8272
8273         * java/net/NetworkInterface.java: Merged with classpath.
8274
8275 2003-03-03  Tom Tromey  <tromey@redhat.com>
8276
8277         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8278         of bytecode.
8279         (handle_ret_insn): Fail if returning to jsr that appears at end of
8280         bytecode.
8281
8282 2003-03-03  Michael Koch  <konqueror@gmx.de>
8283
8284         * Makefile.am
8285         (ordinary_java_source_files):
8286         Added gnu/java/nio/MappedByteFileBuffer.java.
8287         (nat_source_files):
8288         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8289         * Makefile.in: Regenerated.
8290
8291 2003-03-03  Michael Koch  <konqueror@gmx.de>
8292
8293         * java/net/DatagramSocket.java
8294         (connect): Merged comment from classpath.
8295         (receive): Merged documentation from classpath.
8296         * java/net/Socket.java
8297         (setSoTimeout): Clarified documentation.
8298         * java/net/URL.java
8299         (getPath): Merged from classpath.
8300         (getUserInfo): Merged from classpath.
8301         (getQuery): Merged from classpath.
8302         * java/net/URLStreamHandler.java
8303         (toExternalForm): Merged from classpath.
8304
8305 2003-03-02  Mark Wielaard  <mark@klomp.org>
8306
8307         * java/util/Properties.java (load): Only skip line if the first
8308         character is a comment, whitespaces don't count.
8309
8310 2003-03-02  Michael Koch  <konqueror@gmx.de>
8311
8312         * java/net/NetPermission.java:
8313         Merged copyright with classpath.
8314
8315 2003-03-02  Michael Koch  <konqueror@gmx.de>
8316
8317         * java/lang/Package.java:
8318         Remerged from classpath.
8319
8320 2003-03-02  Michael Koch  <konqueror@gmx.de>
8321
8322         * java/net/HttpURLConnection.java
8323         (HTTP_SERVER_ERROR): Deprecated.
8324         * java/net/MulticastSocket.java
8325         (send): Replaced checkMulticast with appropriate checkPermission call,
8326         deprecated.
8327         * java/net/URLDecoder.java
8328         (decode): Deprecated.
8329         * java/net/URLEncoder.java
8330         (encode): Deprecated.
8331
8332 2003-03-02  Michael Koch  <konqueror@gmx.de>
8333
8334         * javax/swing/text/Caret.java
8335         (getMagicCaretPosition): Fixed typo in method name.
8336         * javax/swing/text/DefaultCaret.java
8337         (getMagicCaretPosition): Fixed typo in method name.
8338
8339 2003-03-02  Michael Koch  <konqueror@gmx.de>
8340
8341         * java/awt/List.java
8342         (setMultipleSelections): Deprecated.
8343         (delItem): Deprecated.
8344         * java/awt/MenuComponent.java
8345         (getPeer): Deprecated.
8346         * java/awt/ScrollPane.java
8347         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8348         * java/awt/dnd/MouseDragGestureRecognizer.java
8349         (mouseClicked): Added comment.
8350         (mousePressed): Added comment.
8351         (mouseReleased): Added comment.
8352         (mouseEntered): Added comment.
8353         (mouseExited): Added comment.
8354         (mouseDragged): Added comment.
8355         (mouseMoved): Added comment.
8356         * java/awt/event/KeyEvent.java
8357         (KeyEvent): Deprecated.
8358         (setModifiers): Deprecated.
8359         
8360 2003-03-02  Michael Koch  <konqueror@gmx.de>
8361
8362         * gnu/java/nio/FileChannelImpl.java
8363         (fd): Type FileDescriptor instead of int.
8364         (lengthInternal): Removed.
8365         (FileChannelImpl): Fixed arguments, check type of file object.
8366         (size): Made it native.
8367         (implPosition): New native method.
8368         (implTruncate): New native method.
8369         (position): Implemented.
8370         (truncate): Implemented.
8371         (nio_mmap_file): Changed arguments.
8372         (nio_munmap_file): Changed arguments.
8373         (nio_msync): Changed arguments.
8374         * gnu/java/nio/natFileChannelImpl.cc
8375         (lengthInternal): Removed.
8376         (size): New method.
8377         (implPosition): New method.
8378         (implTruncate): New method.
8379         (nio_mmap_file): Changed arguments.
8380         (nio_munmap_file): Changed arguments.
8381         (nio_msync): Changed arguments.
8382
8383 2003-03-02  Michael Koch  <konqueror@gmx.de>
8384
8385         * java/awt/dnd/DropTargetContext.java:
8386         Compile fix: Forgot to commit import.
8387         
8388 2003-03-02  Michael Koch  <konqueror@gmx.de>
8389
8390         * java/awt/Component.java,
8391         java/awt/ScrollPane.java:
8392         Fixed typos.
8393
8394 2003-03-02  Michael Koch  <konqueror@gmx.de>
8395
8396         * java/awt/dnd/DnDEventMulticaster.java: New file.
8397         * java/awt/dnd/DragSource.java
8398         (flavorMap): New member variable.
8399         (dragSourceListener): New member variable.
8400         (dragSourceMotionListener): New member variable.
8401         (getFlavorMap): Implemented.
8402         (createDragGestureRecognizer): Implemented.
8403         (addDragSourceListener): Implemented.
8404         (removeDragSourceListener): Implemented.
8405         (getDragSourceListeners): Implemented.
8406         (addDragSourceMotionListener): Implemented.
8407         (removeDragSourceMotionListener): Implemented.
8408         (getDragSourceMotionListeners): Implemented.
8409         (getListeners): Implemented.
8410         * java/awt/dnd/DragSourceContext.java
8411         (peer): New member variable.
8412         (cursor): New member variable.
8413         (transferable): New member variable.
8414         (trigger): New member variable.
8415         (dragSourceListener): New member variable.
8416         (image): New member variable.
8417         (offset): New member variable.
8418         (DragSourceContext): Implemented.
8419         (getDragSource): Implemented.
8420         (getComponent): Implemented.
8421         (getTrigger): Implemented.
8422         (getSourceActions): Implemented.
8423         (setCursor): Implemented.
8424         (getCursor): Implemented.
8425         (addDragSourceListener): Implemented.
8426         (removeDragSourceListener): Implemented.
8427         (getTransferable): Implemented.
8428         * java/awt/dnd/DropTarget.java
8429         (DropTargetAutoScroller.component): New member variable.
8430         (DropTargetAutoScroller.point): New member variable.
8431         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8432         (DropTargetAutoScroller.updateLocation): Implemented.
8433         (active): Renamed from isActive, defaults to true now.
8434         (component): New member variable.
8435         (flavorMap): New member variable.
8436         (actions): New member variable.
8437         (dropTargetContext): New member variable.
8438         (dropTargetListener): New member variable.
8439         (DropTarget): Implemented.
8440         (getComponent): Implemented.
8441         (setComponent): Implemented.
8442         (setDefaultActions): Implemented.
8443         (getDefaultActions): Implemented.
8444         (setActive): Use active instead of isActive.
8445         (isActive): Use active instead of isActive.
8446         (addDropTargetListener): Implemented.
8447         (removeDropTargetListener): Implemented.
8448         (getFlavorMap): Implemented.
8449         (setFlavorMap): Implemented.
8450         (getDropTargetContext): Implemented.
8451         (createDropTargetContext): Implemented.
8452         (createDropTargetAutoScroller): Implemented.
8453         * java/awt/dnd/DropTargetContext.java
8454         (TransferableProxy.getTransferDataFlavors): Implemented.
8455         (TransferableProxy.isDataFlavorSupported): Implemented.
8456         (TransferableProxy.getTransferData): Implemented.
8457         (dropTarget):  New member variable.
8458         (dtcp): New member variable.
8459         (DropTargetContext): New package private constructor.
8460         (getDropTarget): Implemented.
8461         (getComponent): Implemented.
8462         (addNotify): Implemented.
8463         (removeNotify): Implemented.
8464         (getCurrentDataFlavorsAsList): Implemented.
8465         (isDataFlavorSupported): Implemented.
8466         * java/awt/dnd/MouseDragGestureRecognizer.java
8467         (registerListeners): Implemented.
8468         (unregisterListeners): Implemented.
8469         * Makefile.am
8470         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8471         * Makefile.in: Regenerated.
8472
8473 2003-03-02  Michael Koch  <konqueror@gmx.de>
8474
8475         * java/awt/Component.java
8476         (eventTypeEnabled): New method.
8477         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8478         * java/awt/Container.java
8479         (changeSupport): New member variable.
8480         (addPropertyChangeListener): New methods.
8481         * java/awt/ContainerOrderFocusTraversalPolicy.java
8482         (ContainerOrderFocusTraversalPolicy): Added comment.
8483         (getComponentAfter): Throw exception, documentation added.
8484         (getComponentBefore): Throw exception, documentation added.
8485         (getFirstComponent): Throw exception, documentation added.
8486         (getLastComponent): Throw exception, documentation added.
8487         (getDefaultComponent): Throw exception, documentation added.
8488         * java/awt/EventQueue.java: Reindented.
8489         * java/awt/FocusTraversalPolicy.java:
8490         (FocusTraversalPolicy): Added comment.
8491         (getComponentAfter): Documentation added.
8492         (getComponentBefore): Documentation added.
8493         (getFirstComponent): Documentation added.
8494         (getLastComponent): Documentation added.
8495         (getDefaultComponent): Documentation added.
8496         (getInitialComponent): Documentation added.
8497         * java/awt/ScrollPane.java
8498         (wheelScrollingEnabled): New member variable.
8499         (ScrollPane): Initialize wheelScollingEnabled.
8500         (eventTypeEnabled): New method.
8501         (isWheelScrollingEnabled): New method.
8502         (setWheelScrollingEnabled): New method.
8503
8504 2003-03-02  Michael Koch  <konqueror@gmx.de>
8505
8506         * java/net/DatagramSocket.java
8507         (closed): New member variable.
8508         (close): Use closed variable.
8509         (getInetAddress): No need to call isConnected().
8510         (getPort): No need to call isConnected().
8511         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8512         (isClosed): Reimplemented.
8513         
8514 2003-03-02  Michael Koch  <konqueror@gmx.de>
8515
8516         * configure.in: Added check for memory mapping of files.
8517         * configure: Regenerated.
8518         * config.h.in: Regenerated.
8519
8520 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8521
8522         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8523         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8524
8525 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8526
8527         * java/io/File.java (normalizePath): Remove trailing separator
8528         on Windows only if path is not of the form "x:\".
8529
8530         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8531         (java::io::File::attr): Change formatting a bit and use
8532         WIN32_EPOCH_MILLIS instead of magic numbers.
8533         (java::io::File::isAbsolute): Path must have at least 3 
8534         characters for a UNC network path.
8535         (java::io::File::init_native): Define.
8536         (java::io::File::performCreate): Likewise.
8537         (java::io::File::performSetReadOnly): Likewise.
8538         (java::io::File::performSetLastModified): Likewise.
8539         (java::io::File::performListRoots): Likewise.
8540
8541 2003-03-01  Tom Tromey  <tromey@redhat.com>
8542
8543         * java/lang/natObject.cc: Don't include assert.h.
8544         (heavy_lock_obj_finalization_proc): Use JvAssert.
8545         (remove_all_heavy): Likewise.
8546         (_Jv_MonitorEnter): Likewise.
8547         (_Jv_MonitorExit): Likewise.
8548         (wait): Likewise.
8549
8550 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8551
8552         * java/io/File (getAbsolutePath): Prefix drive specifier on
8553         Windows for paths starting with a '\'.
8554         (toURL): Make URL more consistent with what Sun's JDK returns.
8555
8556         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8557         true only if the path is a UNC network path or it starts with a
8558         drive specifier.
8559
8560         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8561         Be prepared to handle either '/' or '\\' in the file path for
8562         Windows if using the "file" protocol.
8563         Canonicalise the file path if using a relative path in the given
8564         context and the "file" protocol.
8565
8566 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8567
8568         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8569         program array element passed to CreateProcess.
8570
8571 2003-03-01  Tom Tromey  <tromey@redhat.com>
8572
8573         * java/rmi/registry/RegistryHandler.java: Deprecate.
8574
8575 2003-03-01  Tom Tromey  <tromey@redhat.com>
8576
8577         * javax/accessibility/AccessibleEditableText.java,
8578         javax/accessibility/AccessibleHyperlink.java: New versions from
8579         Classpath.
8580
8581         * gnu/java/locale/LocaleInformation_af_ZA.java,
8582         gnu/java/locale/LocaleInformation_ar_AE.java,
8583         gnu/java/locale/LocaleInformation_ar_BH.java,
8584         gnu/java/locale/LocaleInformation_ar_DZ.java,
8585         gnu/java/locale/LocaleInformation_ar_EG.java,
8586         gnu/java/locale/LocaleInformation_ar_IN.java,
8587         gnu/java/locale/LocaleInformation_ar_IQ.java,
8588         gnu/java/locale/LocaleInformation_ar_JO.java,
8589         gnu/java/locale/LocaleInformation_ar_KW.java,
8590         gnu/java/locale/LocaleInformation_ar_LB.java,
8591         gnu/java/locale/LocaleInformation_ar_LY.java,
8592         gnu/java/locale/LocaleInformation_ar_MA.java,
8593         gnu/java/locale/LocaleInformation_ar_OM.java,
8594         gnu/java/locale/LocaleInformation_ar_QA.java,
8595         gnu/java/locale/LocaleInformation_ar_SD.java,
8596         gnu/java/locale/LocaleInformation_ar_SY.java,
8597         gnu/java/locale/LocaleInformation_ar_TN.java,
8598         gnu/java/locale/LocaleInformation_ar_YE.java,
8599         gnu/java/locale/LocaleInformation_be_BY.java,
8600         gnu/java/locale/LocaleInformation_bn_IN.java,
8601         gnu/java/locale/LocaleInformation_br_FR.java,
8602         gnu/java/locale/LocaleInformation_bs_BA.java,
8603         gnu/java/locale/LocaleInformation_ca_ES.java,
8604         gnu/java/locale/LocaleInformation_cs_CZ.java,
8605         gnu/java/locale/LocaleInformation_cy_GB.java,
8606         gnu/java/locale/LocaleInformation_da_DK.java,
8607         gnu/java/locale/LocaleInformation_de_AT.java,
8608         gnu/java/locale/LocaleInformation_de_BE.java,
8609         gnu/java/locale/LocaleInformation_de_CH.java,
8610         gnu/java/locale/LocaleInformation_de_DE.java,
8611         gnu/java/locale/LocaleInformation_de_LU.java,
8612         gnu/java/locale/LocaleInformation_el_GR.java,
8613         gnu/java/locale/LocaleInformation_en_AU.java,
8614         gnu/java/locale/LocaleInformation_en_BW.java,
8615         gnu/java/locale/LocaleInformation_en_CA.java,
8616         gnu/java/locale/LocaleInformation_en_DK.java,
8617         gnu/java/locale/LocaleInformation_en_GB.java,
8618         gnu/java/locale/LocaleInformation_en_HK.java,
8619         gnu/java/locale/LocaleInformation_en_IE.java,
8620         gnu/java/locale/LocaleInformation_en_IN.java,
8621         gnu/java/locale/LocaleInformation_en_NZ.java,
8622         gnu/java/locale/LocaleInformation_en_PH.java,
8623         gnu/java/locale/LocaleInformation_en_SG.java,
8624         gnu/java/locale/LocaleInformation_en_US.java,
8625         gnu/java/locale/LocaleInformation_en_ZA.java,
8626         gnu/java/locale/LocaleInformation_en_ZW.java,
8627         gnu/java/locale/LocaleInformation_es_AR.java,
8628         gnu/java/locale/LocaleInformation_es_BO.java,
8629         gnu/java/locale/LocaleInformation_es_CL.java,
8630         gnu/java/locale/LocaleInformation_es_CO.java,
8631         gnu/java/locale/LocaleInformation_es_CR.java,
8632         gnu/java/locale/LocaleInformation_es_DO.java,
8633         gnu/java/locale/LocaleInformation_es_EC.java,
8634         gnu/java/locale/LocaleInformation_es_ES.java,
8635         gnu/java/locale/LocaleInformation_es_GT.java,
8636         gnu/java/locale/LocaleInformation_es_HN.java,
8637         gnu/java/locale/LocaleInformation_es_MX.java,
8638         gnu/java/locale/LocaleInformation_es_NI.java,
8639         gnu/java/locale/LocaleInformation_es_PA.java,
8640         gnu/java/locale/LocaleInformation_es_PE.java,
8641         gnu/java/locale/LocaleInformation_es_PR.java,
8642         gnu/java/locale/LocaleInformation_es_PY.java,
8643         gnu/java/locale/LocaleInformation_es_SV.java,
8644         gnu/java/locale/LocaleInformation_es_US.java,
8645         gnu/java/locale/LocaleInformation_es_UY.java,
8646         gnu/java/locale/LocaleInformation_es_VE.java,
8647         gnu/java/locale/LocaleInformation_et_EE.java,
8648         gnu/java/locale/LocaleInformation_eu_ES.java,
8649         gnu/java/locale/LocaleInformation_fa_IR.java,
8650         gnu/java/locale/LocaleInformation_fi_FI.java,
8651         gnu/java/locale/LocaleInformation_fo_FO.java,
8652         gnu/java/locale/LocaleInformation_fr_BE.java,
8653         gnu/java/locale/LocaleInformation_fr_CA.java,
8654         gnu/java/locale/LocaleInformation_fr_CH.java,
8655         gnu/java/locale/LocaleInformation_fr_FR.java,
8656         gnu/java/locale/LocaleInformation_fr_LU.java,
8657         gnu/java/locale/LocaleInformation_ga_IE.java,
8658         gnu/java/locale/LocaleInformation_gd_GB.java,
8659         gnu/java/locale/LocaleInformation_gl_ES.java,
8660         gnu/java/locale/LocaleInformation_gv_GB.java,
8661         gnu/java/locale/LocaleInformation_he_IL.java,
8662         gnu/java/locale/LocaleInformation_hi_IN.java,
8663         gnu/java/locale/LocaleInformation_hr_HR.java,
8664         gnu/java/locale/LocaleInformation_hu_HU.java,
8665         gnu/java/locale/LocaleInformation_id_ID.java,
8666         gnu/java/locale/LocaleInformation_it_CH.java,
8667         gnu/java/locale/LocaleInformation_it_IT.java,
8668         gnu/java/locale/LocaleInformation_iw_IL.java,
8669         gnu/java/locale/LocaleInformation_ja_JP.java,
8670         gnu/java/locale/LocaleInformation_ka_GE.java,
8671         gnu/java/locale/LocaleInformation_kl_GL.java,
8672         gnu/java/locale/LocaleInformation_ko_KR.java,
8673         gnu/java/locale/LocaleInformation_kw_GB.java,
8674         gnu/java/locale/LocaleInformation_lt_LT.java,
8675         gnu/java/locale/LocaleInformation_lv_LV.java,
8676         gnu/java/locale/LocaleInformation_mi_NZ.java,
8677         gnu/java/locale/LocaleInformation_mk_MK.java,
8678         gnu/java/locale/LocaleInformation_mr_IN.java,
8679         gnu/java/locale/LocaleInformation_mt_MT.java,
8680         gnu/java/locale/LocaleInformation_nl_BE.java,
8681         gnu/java/locale/LocaleInformation_nl_NL.java,
8682         gnu/java/locale/LocaleInformation_nn_NO.java,
8683         gnu/java/locale/LocaleInformation_no_NO.java,
8684         gnu/java/locale/LocaleInformation_oc_FR.java,
8685         gnu/java/locale/LocaleInformation_pl_PL.java,
8686         gnu/java/locale/LocaleInformation_pt_BR.java,
8687         gnu/java/locale/LocaleInformation_pt_PT.java,
8688         gnu/java/locale/LocaleInformation_ro_RO.java,
8689         gnu/java/locale/LocaleInformation_ru_RU.java,
8690         gnu/java/locale/LocaleInformation_ru_UA.java,
8691         gnu/java/locale/LocaleInformation_se_NO.java,
8692         gnu/java/locale/LocaleInformation_sk_SK.java,
8693         gnu/java/locale/LocaleInformation_sl_SI.java,
8694         gnu/java/locale/LocaleInformation_sq_AL.java,
8695         gnu/java/locale/LocaleInformation_sr_YU.java,
8696         gnu/java/locale/LocaleInformation_sv_FI.java,
8697         gnu/java/locale/LocaleInformation_sv_SE.java,
8698         gnu/java/locale/LocaleInformation_ta_IN.java,
8699         gnu/java/locale/LocaleInformation_te_IN.java,
8700         gnu/java/locale/LocaleInformation_tg_TJ.java,
8701         gnu/java/locale/LocaleInformation_tl_PH.java,
8702         gnu/java/locale/LocaleInformation_tr_TR.java,
8703         gnu/java/locale/LocaleInformation_uk_UA.java,
8704         gnu/java/locale/LocaleInformation_ur_PK.java,
8705         gnu/java/locale/LocaleInformation_uz_UZ.java,
8706         gnu/java/locale/LocaleInformation_vi_VN.java,
8707         gnu/java/locale/LocaleInformation_yi_US.java,
8708         gnu/java/locale/LocaleInformation_zh_CN.java,
8709         gnu/java/locale/LocaleInformation_zh_HK.java,
8710         gnu/java/locale/LocaleInformation_zh_SG.java,
8711         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8712         info; from Classpath.
8713
8714         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8715         isPaintPending): New methods.
8716         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8717         setMaximizedBounds): New methods.
8718         (beginLayout, endLayout, isPaintPending): Likewise.
8719         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8720         (requestFocus): Likewise.
8721         (isObscured): Likewise.
8722         (canDetermineObscurity): Likewise.
8723         (coalescePaintEvent): Likewise.
8724         (updateCursorImmediately): Likewise.
8725         (createVolatileImage): Likewise.
8726         (handlesWheelScrolling): Likewise.
8727         (createBuffers): Likewise.
8728         (getBackBuffer): Likewise.
8729         (flip): Likewise.
8730         (destroyBuffers): Likewise.
8731
8732         * Makefile.in: Rebuilt.
8733         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8734         RobotPeer.java.
8735         * gnu/java/awt/GLightweightPeer.java,
8736         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8737         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8738         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8739         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8740         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8741         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8742         java/awt/dnd/peer/DragSourceContextPeer.java,
8743         java/awt/dnd/peer/DropTargetContextPeer.java,
8744         java/awt/peer/ButtonPeer.java,
8745         java/awt/peer/CheckboxMenuItemPeer.java,
8746         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8747         java/awt/peer/ComponentPeer.java,
8748         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8749         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8750         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8751         java/awt/peer/MenuBarPeer.java,
8752         java/awt/peer/MenuComponentPeer.java,
8753         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8754         java/awt/peer/PopupMenuPeer.java,
8755         java/awt/peer/ScrollPanePeer.java,
8756         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8757         java/awt/peer/TextComponentPeer.java,
8758         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8759         New versions from Classpath.
8760         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8761         * java/awt/peer/RobotPeer.java: Likewise.
8762
8763 2003-03-01  Mark Wielaard  <mark@klomp.org>
8764
8765         * java/io/ObjectInputStream.java: Reindent.
8766         * java/io/ObjectOutputStream.java: Likewise.
8767
8768 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8769
8770         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8771         jvalue for each argument. Simplify.
8772         * testsuite/libjava.jni/calls.c (docall),
8773         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8774         misalignment.
8775
8776 2003-02-28  Mark Wielaard  <mark@klomp.org>
8777
8778         * Makefile.am (nat_source_files): Remove
8779         java/io/natObjectOutputStream.cc.
8780         * Makefile.in: Regenerated.
8781         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8782         * java/io/ObjectStreamField.java (typename): New field.
8783         (ObjectStreamField(String, Class)): Initialize new field.
8784         (ObjectStreamField(String, String)): New Constructor.
8785         (getTypeCode): Use new field.
8786         (getTypeString): Use new field.
8787         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8788         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8789         Handle reading of Proxy classes. Never drain(), just write
8790         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8791         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8792         (flush): Call flush(), not just drain().
8793         (writeBoolean): Always use blockDataOutput.
8794         (writeByte): Likewise.
8795         (writeShort): Likewise.
8796         (writeChar): Likewise.
8797         (writeInt): Likewise.
8798         (writeLong): Likewise.
8799         (writeFloat): Likewise.
8800         (writeDouble): Likewise.
8801         (writeBytes): Likewise.
8802         (putfield (put(String,Object))): Throw IllegalArgumentException if
8803         field cannot be found.
8804         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8805         (writeArraySizeAndElements): Write byte[] in one go.
8806         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8807         set BlockDataMode to false.
8808         (annotateProxyClass): New method.
8809         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8810         (getField): No longer native.
8811         (getMethod): Likewise.
8812         (setBlockDataMode): Always drain() on switch, return old mode.
8813         (static): New static code block.
8814         * java/io/natObjectOutputStream.cc: Removed.
8815         * java/io/ObjectInputStream.java (getField): No longer native.
8816         (getMethod): Likewise.
8817         (readObject): Remember and reset old BlockDataMode. Track whether
8818         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8819         TC_LONGSTRING.
8820         (defaultReadObject): Set BlockDataMode to false during readFields.
8821         (resolveClass): Create new SecurityManager if necessary.
8822         Use Class.forName() if null ClassLoader found.
8823         (read(byte[],int,int): Copy remaining bytes to data before calling
8824         readNextBlock().
8825         (readFields): Set and reset BlockDataMode on call_read_method.
8826         Catch NoSuchFieldErrors.
8827         (setBlockDataMode): Return old mode.
8828         (static): New static code block.
8829         * java/io/natObjectInputStream.cc (getField): Removed.
8830         (getMethod): Likewise.
8831
8832 2003-02-27  Michael Koch  <konqueror@gmx.de>
8833
8834         * java/beans/Beans.java,
8835         java/beans/FeatureDescriptor.java
8836         java/beans/PropertyEditorManager.java:
8837         Reformated to GNU style.
8838
8839 2003-02-25  Michael Koch  <konqueror@gmx.de>
8840
8841         * gnu/java/nio/MappedByteFileBuffer.java,
8842         gnu/java/nio/natMappedByteFileBuffer.cc:
8843         New files, both are not compiled yet to get not noncompiling CVS.
8844
8845 2003-02-24  Tom Tromey  <tromey@redhat.com>
8846
8847         * java/util/prefs/AbstractPreferences.java (isUserNode):
8848         Implemented.
8849
8850 2003-02-24  Tom Tromey  <tromey@redhat.com>
8851
8852         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8853         Deprecate.
8854         * java/lang/Thread.java (resume): Deprecate.
8855         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8856         in @deprecated.
8857
8858 2003-02-23  Tom Tromey  <tromey@redhat.com>
8859
8860         * Makefile.in: Rebuilt.
8861         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8862
8863 2003-02-23  Tom Tromey  <tromey@redhat.com>
8864
8865         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8866         libraries): Removed.
8867         (add_library): Removed.
8868         (_load): Don't call add_library.
8869         (loadLibraryInternal): Likewise.
8870         (init): Likewise.
8871         (lookup_data): New struct.
8872         (find_symbol): New function.
8873         (_Jv_FindSymbolInExecutable): Use it.
8874
8875 2002-02-21  Anthony Green  <green@redhat.com>
8876
8877         * java/lang/Thread.java (Thread): New constructor taking stack
8878         size parameter (ignored for now).
8879         * Many methods: Merged GNU Classpath documentation.
8880
8881         * java/lang/Class.java (finalize): throws a Throwable.
8882
8883 2003-02-21  Mark Wielaard  <mark@klomp.org>
8884
8885         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8886         argument is null.
8887
8888 2003-02-21  Mark Wielaard  <mark@klomp.org>
8889
8890         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8891         then 65535 chars throw IllegalArgumentException.
8892
8893 2003-02-21  Mark Wielaard  <mark@klomp.org>
8894
8895         * java/util/zip/ZipFile.java (finalize): New method.
8896
8897 2003-02-21  Michael Koch  <konqueror@gmx.de>
8898
8899         * gnu/java/nio/natSocketChannelImpl.cc:
8900         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8901         <cato@df.lth.se> for pointing to it.
8902
8903 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8904
8905         * java/math/BigInteger.java (euclidInv): Take result array as an
8906         argument.  Updated all callers.
8907         (modInverse): Removed unused variables.
8908
8909 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8910
8911         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8912         config.status.
8913         * configure: Rebuilt.
8914
8915 2003-02-19  Michael Koch  <konqueror@gmx.de>
8916
8917         * gnu/java/nio/natSocketChannelImpl.cc:
8918         Added support for platforms without network support.
8919
8920 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8921
8922         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8923         after config.h.  Use <> for consistency.
8924         * java/lang/natObject.cc: Likewise.
8925         * java/lang/natRuntime.cc: Likewise.
8926         * java/lang/natSystem.cc: Likewise.
8927         * java/util/natTimeZone.cc: Likewise.
8928         * win32.cc: Likewise.
8929         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8930         listen, write, read): Undef to avoid interference from OS macros.
8931
8932 2003-02-19  Michael Koch  <konqueror@gmx.de>
8933
8934         * gnu/java/nio/ByteBufferImpl.java
8935         (ByteBufferImpl): Renamed two variables.
8936         * gnu/java/nio/CharBufferImpl.java
8937         (CharBufferImpl): Renamed two variables.
8938         * gnu/java/nio/DoubleBufferImpl.java
8939         (DoubleBufferImpl): Renamed two variables.
8940         * gnu/java/nio/FloatBufferImpl.java
8941         (FloatBufferImpl): Renamed two variables.
8942         * gnu/java/nio/IntBufferImpl.java
8943         (IntBufferImpl): Renamed two variables.
8944         * gnu/java/nio/LongBufferImpl.java
8945         (LongBufferImpl): Renamed two variables.
8946         * gnu/java/nio/ShortBufferImpl.java
8947         (ShortBufferImpl): Renamed two variables.
8948         * java/nio/CharBuffer.java
8949         (wrap): Fixed arguments to CharBufferImpl constructor.
8950         (hasArray): Only not read-only buffers have backing arrays.
8951         (length): Documentation added.
8952         (subSequence): Documentation added.
8953         * java/nio/DoubleBuffer.java
8954         (hasArray): Only not read-only buffers have backing arrays.
8955         * java/nio/FloatBuffer.java
8956         (hasArray): Only not read-only buffers have backing arrays.
8957         * java/nio/IntBuffer.java
8958         (hasArray): Only not read-only buffers have backing arrays.
8959         * java/nio/LongBuffer.java
8960         (hasArray): Only not read-only buffers have backing arrays.
8961         * java/nio/ShortBuffer.java
8962         (hasArray): Only not read-only buffers have backing arrays.
8963         
8964 2003-02-19  Michael Koch  <konqueror@gmx.de>
8965
8966         * javax/accessibility/AccessibleContext.java
8967         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8968
8969 2003-02-19  Michael Koch  <konqueror@gmx.de>
8970
8971         * java/awt/ScrollPaneAdjustable.java: Reformated.
8972
8973 2003-02-19  Michael Koch <konqueror@gmx.de>
8974
8975         * gnu/awt/j2d/Graphics2DImpl.java
8976         (getFontRenderContext): New method.
8977         (drawGlyphVector): New method.
8978         * java/awt/Graphics2D.java
8979         (getFontRenderContext): New abstract method.
8980         (drawGlyphVector): New abstract method.
8981         
8982 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8983
8984         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8985         if necessary.
8986         
8987         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8988         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8989         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8990         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8991         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8992         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8993         (setFont, gtkSetFont): add.
8994         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8995         Propagate font to peer.  (setFont): add FIXME comment.
8996
8997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8998         (gtkTextGetSize): fix height, width computation.
8999
9000         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9001         Make X font name a bit less bogus.
9002
9003         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9004         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9005
9006         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9007         (processAdjustmentEvent): Adjust value.
9008
9009         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9010         logic errors.
9011
9012         * java/awt/Component.java (setVisible, show, hide): Call show and
9013         hide methods in subclasses.
9014         (getPreferredSize): don't set prefSize before we have peer.
9015
9016         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9017         Guess (0,0) if we don't have peer.
9018
9019
9020 2003-02-18  Michael Koch  <konqueror@gmx.de>
9021
9022         * java/nio/channels/FileChannel.java
9023         (toString): New implementation, added documentation.
9024         (map): Added exception documentation.
9025         (size): Added exception documentation.
9026         (write): New methods, documentation work.
9027         (read): New methods, documentation work.
9028         (implCloseChannel): Rewrote exception documentation.
9029         (force): Throws IOException, added documentation.
9030         (lock): New methods.
9031         (tryLock): New methods.
9032         (position): New methods.
9033         (transferTo): New method.
9034         (transferFrom): New method.
9035         (truncate): New method.
9036         * java/nio/channels/spi/SelectorProvider.java
9037         (provider): Implemented.
9038         * Makefile.am
9039         (ordinary_java_source_files): Added the following files:
9040         gnu/java/nio/DatagramChannelImpl.java
9041         gnu/java/nio/FileChannelImpl.java
9042         gnu/java/nio/PipeImpl.java
9043         gnu/java/nio/SelectionKeyImpl.java
9044         gnu/java/nio/SelectorImpl.java
9045         gnu/java/nio/SelectorProviderImpl.java
9046         gnu/java/nio/ServerSocketChannelImpl.java
9047         gnu/java/nio/SocketChannelImpl.java
9048         java/nio/channels/FileLock.java
9049         (nat_java_source_files): Added the following files:
9050         gnu/java/nio/natFileChannelImpl.cc
9051         gnu/java/nio/natSelectorImpl.cc
9052         gnu/java/nio/natSocketChannelImpl.cc
9053         * Makefile.in: Regenerated.
9054
9055 2003-02-17  Tom Tromey  <tromey@redhat.com>
9056
9057         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9058         * java/awt/image/ImageFilter.java: Likewise.
9059
9060 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9061
9062         * java/math/BigInteger.java (euclidInv): Return array of
9063         `BigInteger's.  Changed all callers.
9064
9065 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9066
9067         * java/util/Properties.java (store): Move the code formerly in
9068         list(), into this method.
9069         (list (PrintStream)): Just call list (PrintWriter) with a 
9070         PrintWriter object constructed from the given PrintStream object.
9071         (list (PrintWriter)): Emulate the output of Properties.list()
9072         as found in JDK 1.3/1.4.
9073
9074 2003-02-17  Michael Koch  <konqueror@gmx.de>
9075
9076         * java/net/DatagramSocket.java
9077         (connect): Merged with classpath.
9078         (disconnect): Merged documentation with classpath.
9079         (receice): Merged documentation with classpath.
9080         (send): Merged documentation with classpath.
9081         
9082 2003-02-17  Michael Koch  <konqueror@gmx.de>
9083
9084         * java/awt/dnd/DragSourceContext.java
9085         (addDragSourceListener): Added documentation.
9086         * java/awt/dnd/DragSourceDragEvent.java
9087         (serialVersionUID): New member variable.
9088         (getDropAction): Reformated.
9089         * java/awt/dnd/DragSourceDropEvent.java
9090         (serialVersionUID): New member variable.
9091         (dropSuccess): Renamed from success for serialization issues.
9092         * java/awt/dnd/DragSourceEvent.java
9093         (serialVersionUID): New member variable.
9094         * java/awt/dnd/DropTarget.java
9095         (serialVersionUID): New member variable.
9096         (DropTarget): Implemented, documentation reworked.
9097         (setComponent): Documentation added.
9098         (getComponent): Documentation added.
9099         (setDefaultActions): Documentation added.
9100         (getDefaultActions): Documentation added.
9101         (addDropTargetListener): Documentation added.
9102         * java/awt/dnd/DropTargetContext.java
9103         (DropTargetContext): Documentation added.
9104         (TransferableProxy.TransferableProxy): New method.
9105         (dropComplete): Fixed documentation.
9106         (getTransferable): Fixed documentation.
9107         (createTransferableProxy): Implemented.
9108         * java/awt/dnd/DropTargetDragEvent.java
9109         (DropTargetDragEvent): Documentation added.
9110         (serialVersionUID): New member variable.
9111         (DropTargetDragEvent): Throw exceptions, documentation added.
9112         (acceptDrag): Implemented.
9113         (getCurrentDataFlavors): Implemented.3yy
9114         (getCurrentDataFlavorsAsList): Implemented.
9115         (isDataFlavorSupported): Implemented.
9116         (rejectDrag): Implemented.
9117         * java/awt/dnd/DropTargetDropEvent.java
9118         (DropTargetDropEvent): Documentation added.
9119         (serialVersionUID): New member variable.
9120         (actions): Renamed from srcActions for serialization issues.
9121         (isLocalTx): Renamed from isLocalTx for serialization issues.
9122         (DropTargetDropEvent): New implementation, throw exceptions,
9123         documentation added.
9124         (getCurrentDataFlavors): Implemented.
9125         (getCurrentDataFlavorsAsList): Implemented.
9126         (isDataFlavorSupported): Implemented.
9127         (getSourceActions): Implemented.
9128         (getDropAction): Implemented.
9129         (getTransferable): Implemented.
9130         (acceptDrop): Implemented.
9131         (rejectDrop): Implemented.
9132         * java/awt/dnd/DropTargetListener.java
9133         (drop): Fixed documentation.
9134         * java/awt/dnd/MouseDragGestureRecognizer.java
9135         (MouseDragGestureRecognizer): Documentation added.
9136
9137 2003-02-17  Michael Koch  <konqueror@gmx.de>
9138
9139         * java/awt/font/FontRenderContext.java,
9140         java/awt/font/ShapeGraphicAttribute.java,
9141         java/awt/font/MultipleMaster.java,
9142         java/awt/font/TransformAttribute.java,
9143         java/awt/font/GlyphJustificationInfo.java,
9144         java/awt/font/LineBreakMeasurer.java,
9145         java/awt/font/TextMeasurer.java,
9146         java/awt/font/TextLayout.java,
9147         java/awt/font/LineMetrics.java,
9148         java/awt/font/TextAttribute.java,
9149         java/awt/font/GlyphMetrics.java,
9150         java/awt/font/OpenType.java,
9151         java/awt/font/GlyphVector.java,
9152         java/awt/font/GraphicAttribute.java,
9153         java/awt/font/ImageGraphicAttribute.java,
9154         java/awt/font/NumericShaper.java: New files.
9155         * Makefile.am
9156         (awt_java_source_files): Added the following files:
9157         java/awt/font/FontRenderContext.java
9158         java/awt/font/ShapeGraphicAttribute.java
9159         java/awt/font/MultipleMaster.java
9160         java/awt/font/TransformAttribute.java
9161         java/awt/font/GlyphJustificationInfo.java
9162         java/awt/font/LineBreakMeasurer.java
9163         java/awt/font/TextMeasurer.java
9164         java/awt/font/TextLayout.java
9165         java/awt/font/LineMetrics.java
9166         java/awt/font/TextAttribute.java
9167         java/awt/font/GlyphMetrics.java
9168         java/awt/font/OpenType.java
9169         java/awt/font/GlyphVector.java
9170         java/awt/font/GraphicAttribute.java
9171         java/awt/font/ImageGraphicAttribute.java
9172         java/awt/font/NumericShaper.java
9173         * Makefile.in: Regenerated.
9174
9175 2003-02-17  Michael Koch  <konqueror@gmx.de>
9176
9177         * java/awt/print/Paper.java
9178         (Paper): Implements Cloneable.
9179         * java/awt/print/PrinterJob.java
9180         (setJobName): Return value must be void.
9181         (print): Throws PrinterException.
9182         
9183 2003-02-16  Tom Tromey  <tromey@redhat.com>
9184
9185         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9186         variable.
9187
9188 2003-02-15  Michael Koch  <konqueror@gmx.de>
9189
9190         * java/awt/datatransfer/DataFlavor.java
9191         (isRepresentationClassByteBuffer): Removed try-catch block.
9192         (isRepresentationClassCharBuffer): Removed try-catch block.
9193         (isRepresentationClassReader): Removed try-catch block.
9194
9195 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9196
9197         * java/nio/charset/Charset.java
9198         (isRegistered): Fixed method args and implementation.
9199         * java/nio/charset/CharsetEncoder.java
9200         (unmappableCharacterAction): New method.
9201
9202 2003-02-15  Michael Koch  <konqueror@gmx.de>
9203
9204         * java/awt/CheckboxMenuItem.java
9205         (CheckBoxMenuItem): Dont implement Serializable.
9206         (getListeners): New method,
9207         (getItemListeners): New method.
9208         * java/awt/Choice.java
9209         (getListeners): New method,
9210         (getItemListeners): New method.
9211         * java/awt/Container.java
9212         (getListeners): Added exception documentation.
9213         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9214         (getFocusTraversalKeys): Added documentation.
9215         (areFocusTraversalKeysSet): Added documentation.
9216         (applyComponentOrientation): Added documentation.
9217         * java/awt/ContainerOrderFocusTraversalPolicy.java
9218         (implicitDownCycleTraversal): Renamed from downCycle for
9219         serialization.
9220         (ContainerOrderFocusTraversalPolicy): Added documentation.
9221         (accept): Reformated.
9222         * java/awt/Dialog.java
9223         (Dialog): Dont implement Serializable.
9224         (Dialog): Added documentation.
9225         * java/awt/Font.java
9226         (Font): Dont use absolute class name.
9227         * java/awt/Frame.java
9228         (Frame): Font implement Serializable.
9229         * java/awt/List.java
9230         (getListeners): New method,
9231         (getActionListeners): New method.       
9232         (getItemListeners): New method.
9233         * java/awt/Menu.java
9234         (countItems): New deprecated method.
9235         * java/awt/Scrollbar.java
9236         (getListeners): New method,
9237         (getAdjustmentListeners): New method,
9238         * java/awt/TextComponent.java
9239         (getListeners): New method,
9240         (getTextListeners): New method,
9241         * java/awt/TextField.java
9242         (getListeners): New method,
9243         (getActionListeners): New method.       
9244         * java/awt/Window.java
9245         (windowFocusListener): New member variable.
9246         (windowStateListener): New member variable.
9247         (getWindowFocusListeners): New method.
9248         (getWindowStateListeners): New method.
9249         (addWindowFocusListener): New method.
9250         (addWindowStateListener): New method.
9251         (removeWindowFocusListener): New method.
9252         (removeWindowStateListener): New method.
9253         * java/awt/datatransfer/DataFlavor.java
9254         (isRepresentationClassByteBuffer): New method.
9255         (isRepresentationClassCharBuffer): New method.
9256         (isRepresentationClassReader): New method.
9257
9258 2003-02-14  Mark Wielaard  <mark@klomp.org>
9259
9260         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9261         zero when there is an exponent and the significant is zero.
9262         (divide): Always set scale to newScale even in special ZERO case.
9263
9264 2003-02-14  Tom Tromey  <tromey@redhat.com>
9265
9266         * java/lang/System.java (properties): Use Properties.clone.
9267         (setProperties): Likewise.
9268
9269 2003-02-14  Michael Koch  <konqueror@gmx.de>
9270
9271         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9272         * gnu/java/nio/ServerSocketChannelImpl.java
9273         (SocketAccept): Removed.
9274         (accept): Commented out use of SocketAccept.
9275
9276 2003-02-13  Tom Tromey  <tromey@redhat.com>
9277
9278         * verify.cc (state::seen_subrs): New field.
9279         (state::state): Initialize it.
9280         (state::clean_subrs): New method.
9281         (state::~state): Call it.
9282         (state::copy): Copy subroutine list.
9283         (state::add_subr): New method.
9284         (state::merge): Only register a change if the current subroutine
9285         hasn't yet been noted.
9286
9287 2003-02-13  Mark Wielaard  <mark@klomp.org>
9288
9289         * java/io/InputStreamReader.java (getEncoding): Return null when
9290         closed.
9291         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9292
9293 2003-02-13  Mark Wielaard  <mark@klomp.org>
9294  
9295         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9296         is zero.
9297
9298 2003-02-13  Mark Wielaard  <mark@klomp.org>
9299
9300         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9301         next byte cannot be buffered.
9302
9303 2003-02-13  Michael Koch  <konqueror@gmx.de>
9304  
9305         * java/awt/Label.java
9306         (Label): Don't implement Serializable directly.
9307         (addNotify): Fixed typo in documentation.
9308         * java/awt/List.java
9309         (List): Don't implement Serializable directly.
9310         * java/awt/PopupMenu.java
9311         (PopupMenu): Don't implement Serializable directly.
9312         * java/awt/ScrollPane.java
9313         (ScrollPane): Don't implement Serializable directly.
9314         * java/awt/Scrollbar.java
9315         (Scrollbar): Don't implement Serializable directly.
9316         * java/awt/TextArea.java
9317         (preferredSize): Fixed method arguments.
9318         * java/awt/TextField.java
9319         (TextField): Don't implement Serializable directly.
9320         * java/awt/color/ICC_ColorSpace.java
9321         (fromCIOXYZ): Documentation added.
9322         (getMinValue): Documentation added.
9323         (getMaxValue): Documentation added.
9324         * java/awt/datatransfer/DataFlavor.java
9325         (isMimeTypeEqual): May not be final.
9326         (clone): Throws CloneNotSupportedException.
9327         (getReaderForText): Don't throws UnsupportedEncodingException.
9328
9329 2003-02-13  Michael Koch  <konqueror@gmx.de>
9330  
9331         * gnu/java/awt/peer/gtk/GdkGraphics.java
9332         (drawString): New stubbed method.
9333         * java/awt/Graphics.java
9334         (drawString): New method.
9335
9336 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9337
9338         PR libgcj/9271:
9339         * java/security/SecureRandom.java (next): Avoid bias in results.
9340
9341 2003-02-13  Michael  <konqueror@gmx.de>
9342
9343         * gnu/java/nio/FileChannelImpl.java
9344         (lengthInternal): Must be native.
9345         (size): Check if channel is already closed.
9346         (implCloseChannel): Reformated.
9347         (read): w was unused, removed it.
9348         (read): Removed.
9349         (read): New method.
9350         (write): New method.
9351         (map): Check arguments.
9352         (force): Throws IOException, check if channel is closed.
9353         (transferTo): New method.
9354         (transferFrom): New method.
9355         (lock): New method.
9356         (tryLock): New method.
9357         (position): New method.
9358         (truncate): New method.
9359         (nio_mmap_file): Uncommented.
9360         (nio_munmap_file): Uncommented.
9361         (nio_msync): Uncommented.
9362         * gnu/java/nio/natFileChannelImpl.cc: New file.
9363         
9364 2003-02-13  Michael Koch  <konqueror@gmx.de>
9365
9366         * java/nio/ByteBuffer.java
9367         (endian): New member variable.
9368         (get): New methods.
9369         (equals): New method.
9370         (compareTo): New method.
9371         (order): New methods.
9372         (compact): New method.
9373         (isDirect): New method.
9374         (slice): New method.
9375         (duplicate): New method.
9376         (asReadOnlyBuffer): New method.
9377         (asCharBuffer): New method.
9378         (asDoubleBuffer): New method.
9379         (asFloatBuffer): New method.
9380         (asIntBuffer): New method.
9381         (asLongBuffer): New method.
9382         (asShortBuffer): New method.
9383         (get*): New methods.
9384         (put*): New methods.
9385         (toString): New method.
9386         * java/nio/CharBuffer.java
9387         (CharBuffer): Implement Comparable instead of Cloneable.
9388         (get): May not be final.
9389         (put): May not be final.
9390         
9391 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9392
9393         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9394         lastIndexOf( ) instead of indexOf( ) to find the colon before
9395         the line number, because Win32 file names might contain a 
9396         drive letter and a colon at the start of an absolute path.
9397
9398 2003-02-13  Michael Koch  <konqueror@gmx.de>
9399
9400         * gnu/java/nio/natSocketChannelImpl.cc
9401         (SocketConnect): This is not implemented yet.
9402         (SocketBind): This is not implemented yet.
9403
9404 2003-02-13  Michael Koch  <konqueror@gmx.de>
9405
9406         * gnu/java/nio/natByteBufferImpl.cc,
9407         gnu/java/nio/natCharBufferImpl.cc,
9408         gnu/java/nio/natDoubleBufferImpl.cc,
9409         gnu/java/nio/natFloatBufferImpl.cc,
9410         gnu/java/nio/natIntBufferImpl.cc,
9411         gnu/java/nio/natLongBufferImpl.cc,
9412         gnu/java/nio/natShortBufferImpl.cc:
9413         Added copyright and license.
9414         * java/nio/DoubleBuffer.java,
9415         java/nio/FloatBuffer.java,
9416         java/nio/IntBuffer.java,
9417         java/nio/LongBuffer.java,
9418         java/nio/ShortBuffer.java
9419         (array): Throw exceptions.
9420         (arrayOffset): Throw exceptions.
9421
9422 2003-02-13  Michael Koch  <konqueror@gmx.de>
9423  
9424         * gnu/java/util/prefs/FileBasedFactory.java,
9425         gnu/java/util/prefs/MemmoryBasedFactory.java,
9426         gnu/java/util/prefs/MemoryBasedPreferences.java,
9427         gnu/java/util/prefs/NodeReader.java,
9428         gnu/java/util/prefs/NodeWriter.java,
9429         java/util/prefs/AbstractPreferences.java,
9430         java/util/prefs/BackingStoreException.java,
9431         java/util/prefs/InvalidPreferencesFormatException.java,
9432         java/util/prefs/NodeChangeEvent.java,
9433         java/util/prefs/NodeChangeListener.java,
9434         java/util/prefs/PreferenceChangeEvent.java,
9435         java/util/prefs/PreferenceChangeListener.java,
9436         java/util/prefs/Preferences.java,
9437         java/util/prefs/PreferencesFactory.java:
9438         New files, all merged from classpath.
9439         * Makefile.am
9440         (ordinary_java_source_files): Added the following files:
9441         gnu/java/util/prefs/FileBasedFactory.java,
9442         gnu/java/util/prefs/MemmoryBasedFactory.java,
9443         gnu/java/util/prefs/MemoryBasedPreferences.java,
9444         gnu/java/util/prefs/NodeReader.java,
9445         gnu/java/util/prefs/NodeWriter.java,
9446         (core_java_source_files): Added the following files:
9447         java/util/prefs/AbstractPreferences.java,
9448         java/util/prefs/BackingStoreException.java,
9449         java/util/prefs/InvalidPreferencesFormatException.java,
9450         java/util/prefs/NodeChangeEvent.java,
9451         java/util/prefs/NodeChangeListener.java,
9452         java/util/prefs/PreferenceChangeEvent.java,
9453         java/util/prefs/PreferenceChangeListener.java,
9454         java/util/prefs/Preferences.java,
9455         java/util/prefs/PreferencesFactory.java
9456         * Makefile.in: Regenerated.
9457  
9458 2003-02-13  Michael Koch  <konqueror@gmx.de>
9459
9460         * java/net/NetPermission.java
9461         (NetPermission): Make doucmentation match the method declaration.
9462         * java/net/NetworkInterface.java
9463         (equals): Reformated for GNU coding style.
9464         * java/net/ServerSocket.java: Merged with classpath.
9465         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9466         * java/net/SocketImpl.java
9467         (localPort): Merged with classpath (initialize with -1).
9468         * java/net/SocketPermission.java: Merged with classpath (reindented).
9469         * java/net/URLDecoder.java: Merged with classpath (reindented).
9470
9471 2003-02-13  Michael Koch  <konqueror@gmx.de>
9472
9473         * java/awt/GridBagConstraints.java
9474         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9475         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9476         * java/awt/KeyboardFocusManager.java
9477         (setGlobalCurrentFocusCycleRoot): Must be public.
9478         * java/awt/MenuComponent.java
9479         (MenuComponent): Must be public.
9480         * java/awt/Toolkit.java:
9481         Added some empty lines to make documentation more readable.
9482         (getFontPeer): Added @deprecated.
9483         (getColorModel): Added exception documentation.
9484         (getProperty): Fixed documentation.
9485  
9486 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9487
9488         * configure.host (alpha*-*): Default to -mieee.
9489         * configure.in (IEEESPEC): New.
9490         * libgcj.spec.in (jc1): Add IEEESPEC.
9491         * configure: Rebuild.
9492
9493 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9494
9495         * include/win32.h: Include ws2tcpip.h instead of
9496         winsock.h to obtain definition of the socklen_t type.
9497         Remove IP_TOS definition - not needed with ws2tcpip.h
9498         (_Jv_connect): Correct slight formatting error.
9499
9500 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9501
9502         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9503         size of the arguments for a JNI function. For Win32,
9504         modify to search for all forms of possible exported
9505         names of an stdcall JNI function.
9506         (_Jv_JNIMethod::call): Modify to calculate the size
9507         of the arguments passed to a JNI function and pass
9508         it to _Jv_LookupJNIMethod.
9509
9510 2003-02-12  Michael Koch  <konqueror@gmx.de>
9511
9512         * java/nio/channels/Channels.java: New file.
9513         * Makefile.am
9514         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9515         * Makefile.in: Regenerated.
9516
9517 2003-02-12  Michael Koch  <konqueror@gmx.de>
9518
9519         * java/nio/ByteBuffer.java
9520         (allocate): Implemented.
9521         (wrap): Implemented.
9522         * java/nio/CharBuffer.java:
9523         Some documentation added and reworked.
9524         (endian): Removed.
9525         (allocate): Implemented.
9526         (wrap): Implemented.
9527         (array): Throw exceptions.
9528         (arrayOffset): Throw exceptions.
9529         (toString): Implemented.
9530         (length): Implemented.
9531         (put): Implemented.
9532         (charAt): Implemented.
9533
9534 2003-02-11  John Leuner  <jewel@debian.org>
9535
9536         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9537         reads from end of file.
9538
9539 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9540
9541         * java/io/natFileDescriptorWin32.cc 
9542         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9543         returns with Win32 error code ERROR_BROKEN_PIPE.
9544
9545 2003-02-11  Michael Koch  <konqueror@gmx.de>
9546
9547         * Makefile.in
9548         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9549
9550 2003-02-11  Michael Koch  <konqueror@gmx.de>
9551
9552         * gnu/java/nio/ByteBufferImpl.java:
9553         Reformated and removed some code.
9554         (backing_buffer): Removed.      
9555         (array_offset): Removed.
9556         (ro): Renamed to readOnly.
9557         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9558         * gnu/java/nio/CharBufferImpl.java:
9559         Reformated and removed some code.
9560         (array_offset): Removed.
9561         (ro): Renamed to readOnly.
9562         (CharBufferImpl): Use parent constructor, initialize readOnly.
9563         (inc_pos): Removed.
9564         (order): New method.
9565         * gnu/java/nio/DoubleBufferImpl.java:
9566         Reformated and removed some code.
9567         (array_offset): Removed.
9568         (ro): Renamed to readOnly.
9569         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9570         (inc_pos): Removed.
9571         (order): New method.
9572         * gnu/java/nio/FloatBufferImpl.java:
9573         Reformated and removed some code.
9574         (array_offset): Removed.
9575         (ro): Renamed to readOnly.
9576         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9577         (inc_pos): Removed.
9578         (order): New method.
9579         * gnu/java/nio/IntBufferImpl.java:
9580         Reformated and removed some code.
9581         (array_offset): Removed.
9582         (ro): Renamed to readOnly.
9583         (IntBufferImpl): Use parent constructor, initialize readOnly.
9584         (inc_pos): Removed.
9585         (order): New method.
9586         * gnu/java/nio/LongBufferImpl.java:
9587         Reformated and removed some code.
9588         (array_offset): Removed.
9589         (ro): Renamed to readOnly.
9590         (LongBufferImpl): Use parent constructor, initialize readOnly.
9591         (inc_pos): Removed.
9592         (order): New method.
9593         * gnu/java/nio/ShortBufferImpl.java:
9594         Reformated and removed some code.
9595         (array_offset): Removed.
9596         (ro): Renamed to readOnly.
9597         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9598         (inc_pos): Removed.
9599         (order): New method.
9600         * Makefile.am
9601         (ordinary_java_source_files): Added the following files:
9602         gnu/java/nio/ByteBufferImpl.java
9603         gnu/java/nio/CharBufferImpl.java
9604         gnu/java/nio/DoubleBufferImpl.java
9605         gnu/java/nio/FloatBufferImpl.java
9606         gnu/java/nio/IntBufferImpl.java
9607         gnu/java/nio/LongBufferImpl.java
9608         gnu/java/nio/ShortBufferImpl.java
9609         java/nio/DoubleBuffer.java
9610         java/nio/FloatBuffer.java
9611         java/nio/IntBuffer.java
9612         java/nio/LongBuffer.java
9613         java/nio/ShortBuffer.java
9614         (nat_source_files): Added the following files:
9615         gnu/java/nio/natByteBufferImpl.cc
9616         gnu/java/nio/natCharBufferImpl.cc
9617         gnu/java/nio/natDoubleBufferImpl.cc
9618         gnu/java/nio/natFloatBufferImpl.cc
9619         gnu/java/nio/natIntBufferImpl.cc
9620         gnu/java/nio/natLongBufferImpl.cc
9621         gnu/java/nio/natShortBufferImpl.cc
9622         * Makefile.in: Regenerated.
9623
9624 2003-02-11  Michael Koch  <konqueror@gmx.de>
9625
9626         * gnu/java/nio/natCharBufferImpl.cc
9627         (nio_cast): Removed.
9628         (nio_put_*): Removed.
9629         (nio_get_*): Removed.
9630         * gnu/java/nio/natDoubleBufferImpl.cc
9631         (nio_cast): Removed.
9632         (nio_put_*): Removed.
9633         (nio_get_*): Removed.
9634         * gnu/java/nio/natFloatBufferImpl.cc
9635         (nio_cast): Removed.
9636         (nio_put_*): Removed.
9637         (nio_get_*): Removed.
9638         * gnu/java/nio/natIntBufferImpl.cc
9639         (nio_cast): Removed.
9640         (nio_put_*): Removed.
9641         (nio_get_*): Removed.
9642         * gnu/java/nio/natLongBufferImpl.cc
9643         (nio_cast): Removed.
9644         (nio_put_*): Removed.
9645         (nio_get_*): Removed.
9646         * gnu/java/nio/natShortBufferImpl.cc
9647         (nio_cast): Removed.
9648         (nio_put_*): Removed.
9649         (nio_get_*): Removed.
9650         * gnu/java/nio/SelectorProviderImpl.java
9651         (openDatagramChannel): Throws IOException.
9652         (openPipe): Throws IOException.
9653         (openSelector): Throws IOException.
9654         (openServerSocketChannel): Throws IOException.
9655         (openSocketChannel): Throws IOException.
9656         * gnu/java/nio/ServerSocketChannelImpl.java
9657         (ServerSocketChannelImpl): Throws IOException.
9658         (implCloseSelectableChannel): Throws IOException.
9659         (implConfigureBlocking): Throws IOException.
9660         * java/nio/ByteBuffer.java
9661         (readOnly): Removed.
9662         (hasArray): Use isReadOnly() instead of readOnly.
9663         (array): Use isReadOnly() instead of readOnly.
9664         (arrayOffset): Use isReadOnly() instead of readOnly.
9665         * java/nio/CharBuffer.java
9666         (CharBuffer): Implements Cloneable and CharSequence.
9667
9668 2003-02-11  Michael Koch  <konqueror@gmx.de>
9669
9670         * java/nio/DoubleBuffer.java
9671         (DoubleBuffer): Implements Comparable.
9672         (endian): Removed.
9673         (array_offset): New member variable.
9674         (DoubleBuffer): New constuctor.
9675         (get): May not be final.
9676         (put): May not be final.
9677         (arrayOffset): Implemented.
9678         (order): Made abstract.
9679         (order): Removed.
9680         (as*Buffer): Removed.
9681         (get*): Removed.
9682         (put*): Removed.
9683         * java/nio/FloatBuffer.java
9684         (FloatBuffer): Implements Comparable.
9685         (endian): Removed.
9686         (array_offset): New member variable.
9687         (FloatBuffer): New constuctor.
9688         (get): May not be final.
9689         (put): May not be final.
9690         (arrayOffset): Implemented.
9691         (order): Made abstract.
9692         (order): Removed.
9693         (as*Buffer): Removed.
9694         (get*): Removed.
9695         (put*): Removed.
9696         * java/nio/IntBuffer.java
9697         (IntBuffer): Implements Comparable.
9698         (endian): Removed.
9699         (array_offset): New member variable.
9700         (IntBuffer): New constuctor.
9701         (get): May not be final.
9702         (put): May not be final.
9703         (arrayOffset): Implemented.
9704         (order): Made abstract.
9705         (order): Removed.
9706         (as*Buffer): Removed.
9707         (get*): Removed.
9708         (put*): Removed.
9709         * java/nio/LongBuffer.java
9710         (LongBuffer): Implements Comparable.
9711         (endian): Removed.
9712         (array_offset): New member variable.
9713         (LongBuffer): New constuctor.
9714         (get): May not be final.
9715         (put): May not be final.
9716         (arrayOffset): Implemented.
9717         (order): Made abstract.
9718         (order): Removed.
9719         (as*Buffer): Removed.
9720         (get*): Removed.
9721         (put*): Removed.
9722         * java/nio/ShortBuffer.java
9723         (ShortBuffer): Implements Comparable.
9724         (endian): Removed.
9725         (array_offset): New member variable.
9726         (ShortBuffer): New constuctor.
9727         (get): May not be final.
9728         (put): May not be final.
9729         (arrayOffset): Implemented.
9730         (order): Made abstract.
9731         (order): Removed.
9732         (as*Buffer): Removed.
9733         (get*): Removed.
9734         (put*): Removed.
9735
9736 2003-02-11   Michael Koch  <konqueror@gmx.de>
9737
9738         * java/nio/channels/SelectionKey.java
9739         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9740         values.
9741
9742 2003-02-11  Michael Koch  <konqueror@gmx.de>
9743
9744         * java/nio/channels/DatagramChannel.java
9745         (write): Throws IOException.
9746         (connect): Throws IOException.
9747         (disconnect): Throws IOException.
9748         (read): Throws IOException.
9749         (receive): Throws IOException.
9750         (send): Throws IOException.
9751         * java/nio/channels/Pipe.java
9752         (open): Throws IOException.
9753         * java/nio/channels/SelectableChannel.java
9754         (configureBlocking): Throws IOException.
9755         * java/nio/channels/ServerSocketChannel.java
9756         (accept): Throws IOException.
9757         * java/nio/channels/SocketChannel.java
9758         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9759         GatheringByteChannel.
9760         (read): Throws IOException.
9761         (write): Throws IOException.
9762         (finishConnect): Throws IOException.
9763         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9764         (end): Throws AsynchronousCloseException.
9765         * java/nio/channels/spi/AbstractSelectableChannel.java
9766         (configureBlocking): Throws IOException.
9767         (implCloseChannel): Throws IOException.
9768         (implCloseSelectableChannel): Throws IOException.
9769         (implConfigureBlocking): Throws IOException.
9770         * java/nio/channels/spi/SelectorProvider.java
9771         (openDatagramChannel): Throws IOException.
9772         (openPipe): Throws IOException.
9773         (openSelector): Throws IOException.
9774         (openServerSocketChannel): Throws IOException.
9775         (openSocketChannel): Throws IOException.
9776
9777 2003-02-11  Michael Koch  <konqueror@gmx.de>
9778
9779         * gnu/java/nio/FileLockImpl.java,
9780         java/nio/channels/FileLock.java: New files.
9781
9782 2003-02-11  Michael Koch  <konqueror@gmx.de>
9783
9784         * java/nio/charset/IllegalCharsetNameException.java
9785         (serialVersionUID): New member variable.
9786         (charsetName): New member variable.
9787         (IllegalCharsetException): New implementation.
9788         (getCharsetName): New implementation.
9789         * java/nio/charset/UnsupportedCharsetException.java
9790         (serialVersionUID): New member variable.
9791         (charsetName): New member variable.
9792         (UnsupportedCharsetException): New implementation.
9793         (getCharsetName): New implementation.
9794
9795 2003-02-10  Tom Tromey  <tromey@redhat.com>
9796
9797         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9798         (ex): Renamed from sqlException.
9799
9800 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9801
9802         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9803         method used to ensure seeding has occurred and that a specific 
9804         seed can be set and used.
9805
9806 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9807
9808         * java/lang/Win32Process.java (destroy): Declare as native.
9809         (hasExited): New native method.
9810         (exitValue): Define.
9811         (getErrorStream): Likewise.
9812         (getInputStream): Likewise.
9813         (getOutputStream): Likewise.
9814         (waitFor): Declare as native.
9815         (startProcess): New native method.
9816         (cleanup): Likewise.
9817         (ConcreteProcess): Define.
9818         (outputStream, inputStream, errorStream): New members.
9819         (procHandle, exitCode): Likewise.
9820
9821         * java/lang/natWin32Process.cc
9822         (java::lang::ConcreteProcess::cleanup): Define.
9823         (java::lang::ConcreteProcess::destroy): Likewise.
9824         (java::lang::ConcreteProcess::hasExited): Likewise.
9825         (java::lang::ConcreteProcess::waitFor): Likewise.
9826         (new_string): Likewise.
9827         (java::lang::ConcreteProcess::startProcess): Likewise.
9828
9829 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9830
9831         * java/math/BigInteger.java:
9832         Updated notice to include years 2002 and 3.
9833         Added 2 private (int) arrays with values from the HAC (Handbook of
9834         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9835         and t[] that contains nbr. of tests --used in isProbablePrime().
9836
9837         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9838
9839         * java/math/BigInteger.java (make(int[],int), add(int,int),
9840         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9841         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9842         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9843         make(long).
9844
9845         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9846         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9847         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9848         BIs and returns void.
9849         (modInverse(BI)): Use new signatures of euclidInv().
9850
9851         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9852         static small primes instead of remainder().
9853         Use pre-computed max nbr of trials based on bitlength of BI to test.
9854         Use pre-computed small primes for the trial tests instead of random
9855         numbers.
9856
9857         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9858         not used.
9859
9860         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9861         invoacation of MPN.chars_per_word().  not used.
9862
9863         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9864         local var and used where needed.
9865
9866         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9867         Combined declaration with initialisation of locals.
9868         Removed unused var.
9869
9870         * java/math/BigInteger.java: Style changes
9871         (pow(int)): Removed 'else' keyword.
9872         (toString(int)): idem.
9873         (doubleValue()): idem.
9874         (bitLength()): idem.
9875         (equals(Object)): Use static methods name in same class w/o prepending
9876         class name.
9877         (doubleValue()): idem.
9878         (setNegative(BI)): idem.
9879         (negate()): idem.
9880         (and(BI,int)): idem.
9881         (and(BI)): idem.
9882         (gcd(BI)): idem.
9883         (byteArrayToIntArray()): Removed casting to (int). this is
9884         std. behaviour.
9885         (canonicalize()): idem.
9886         (alloc(int)): Always instantiate a new BI.
9887
9888 2003-02-10  Tom Tromey  <tromey@redhat.com>
9889
9890         * java/sql/Timestamp.java (compareTo(Object)): New method.
9891         (compareTo(Timestamp)): Likewise.
9892         (serialVersionUID): Updated.
9893
9894 2003-02-07  Mark Wielaard  <mark@klomp.org>
9895
9896         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9897         when verify is true.
9898         (JarFile(File, boolean)): Likewise.
9899         (manifestRead): Set manifestRead field correctly.
9900
9901 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9902
9903         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9904         tests; see patch #1016 on Savannah.
9905
9906 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9907
9908         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9909         (toString): do not return Strings starting with . and - erroneously.
9910         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9911         DiagBigDecimal.
9912
9913 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9914
9915         * java/beans/PropertyDescriptor.java
9916         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9917         methods.
9918         (PropertyDescriptor(String, Class, String, String)): Likewise.
9919         (PropertyDescriptor(String, Method, Method): Factor out getter and
9920         setter method sanity checks into new method.
9921         (findMethods): Don't do parameter sanity checking of get method here.
9922         (checkMethods): New method.
9923
9924 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9925
9926         * java/beans/PropertyDescriptor.java: Reformat.
9927
9928 2003-02-04  Tom Tromey  <tromey@redhat.com>
9929
9930         * java/io/PipedOutputStream.java (flush): Declare as throwing
9931         IOException.
9932         (close): Likewise.
9933         * java/io/PipedWriter.java (close): Declare as throwing
9934         IOException.
9935         * java/io/StringWriter.java (close): Declare as throwing
9936         IOException.
9937
9938 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9939
9940         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9941         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9942         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9943         "_JNI_OnLoad@8" (MSVC).
9944
9945 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9946
9947         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9948         convention on Win32 to invoke native JNI methods.
9949
9950 2003-02-03  Andrew Haley  <aph@redhat.com>
9951
9952         * configure.host (x86_64): Enable interpreter.
9953
9954 2003-02-03  Andrew Haley  <aph@redhat.com>
9955
9956         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9957         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9958         * configure.in (BACKTRACESPEC): New.
9959         * configure: Regenerate.
9960
9961 2003-02-02  Tom Tromey  <tromey@redhat.com>
9962
9963         * configure: Rebuilt.
9964         * configure.in (TOOLKIT) [xlib]: Set correctly.
9965
9966         * Makefile.in: Rebuilt.
9967         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9968         libstdc++.
9969
9970 2003-01-31  Mark WIelaard  <mark@klomp.org>
9971
9972         * Makefile.in: Rebuilt.
9973         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9974
9975 2003-01-31  Tom Tromey  <tromey@redhat.com>
9976
9977         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9978         cast to element type.
9979         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9980         (_Jv_JNI_GetObjectArrayElement): Likewise.
9981
9982         * Makefile.in: Rebuilt.
9983         * Makefile.am (cond_x_ltlibrary): Renamed library to
9984         lib-gnu-awt-xlib.la.
9985         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9986         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9987         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9988         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9989         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9990         (lib_gnu_awt_xlib_la_LINK): Likewise.
9991         (install-exec-hook): Removed.
9992         (lib-gnu-awt-xlib.la): Renamed.
9993
9994 2003-01-31  Tom Tromey  <tromey@redhat.com>
9995
9996         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9997         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9998         aclocal.m4 and lost in some merge.
9999
10000         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10001         Don't try to find graphics configuration.
10002         * java/awt/Toolkit.java (default_toolkit_name): Use new
10003         Configuration entry.
10004         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10005         New global.
10006         * configure: Rebuilt.
10007         * configure.in (TOOLKIT): New subst.
10008         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10009         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10010         directory.  Make output directories for .c files.
10011         * Makefile.in: Rebuilt.
10012         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10013         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10014         (all_java_source_files): Added new sources.
10015         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10016         (gtk_c_files): New macro.
10017         (gtk_c_source_files): New macro.
10018         (cond_gtk_ltlibrary): New macro.
10019         ($(gtk_c_files)): New target.
10020         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10021         (gtk_awt_peer_sources): New macro.
10022         (gtk_c_headers): New macro.
10023         ($(gtk_c_headers)): New target.
10024         (ACLOCAL_AMFLAGS): New macro.
10025         * gtk.m4, glib.m4, libart.m4: New files.
10026         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10027         gnu/java/awt/peer/gtk/GdkGraphics.java,
10028         gnu/java/awt/peer/gtk/GtkArg.java,
10029         gnu/java/awt/peer/gtk/GtkArgList.java,
10030         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10031         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10032         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10033         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10034         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10035         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10036         gnu/java/awt/peer/gtk/GtkClipboard.java,
10037         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10038         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10039         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10040         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10041         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10042         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10043         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10044         gnu/java/awt/peer/gtk/GtkImage.java,
10045         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10046         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10047         gnu/java/awt/peer/gtk/GtkListPeer.java,
10048         gnu/java/awt/peer/gtk/GtkMainThread.java,
10049         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10050         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10051         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10052         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10053         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10054         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10055         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10056         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10057         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10058         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10059         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10060         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10061         gnu/java/awt/peer/gtk/GtkToolkit.java,
10062         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10063         gnu/java/awt/peer/gtk/TestAWT.java,
10064         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10066         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10067         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10071         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10072         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10073         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10074         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10075         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10076         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10077         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10078         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10079         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10080         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10081         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10082         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10083         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10084         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10085         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10086         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10087         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10088         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10089         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10090         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10091         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10092         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10093         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10094         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10095         jni/classpath/native_state.c, jni/classpath/native_state.h,
10096         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10097
10098 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10099
10100         * java/util/Properties.java (load): Ignore backslash before EOF.
10101
10102 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10103
10104         * java/lang/natClass.cc (initializeClass): Check tables when
10105         (state == JV_STATE_IN_PROGRESS).
10106         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10107         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10108         interpreted classes.
10109         (linkClass0): Use _Jv_WaitForState.
10110
10111 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10112
10113         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10114         object when finished.
10115
10116 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10117
10118         * libjava/configure.host: Disable can_unwind_signal on darwin.
10119
10120 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10121
10122         Fixes PR java/9254:
10123         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10124         additionally containing id of the owner thread as well as
10125         the number of nested times the thread has acquired the mutex.
10126         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10127         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10128         (_Jv_MutexUnlock): Check if really the owner thread, reset
10129         owner thread id to 0 before leaving, if leaving for the last
10130         time.
10131         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10132         refcount.
10133         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10134         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10135         the passed mutex.
10136         Pass handle of the broadcast event, instead of a pointer to it
10137         in Win32 ResetEvent( ) call.
10138         Remove incorrect return values.
10139         (_Jv_CondDestroy): Close both event handles and delete
10140         critical section.
10141         (_Jv_CondNotify): Check if really the owner thread.
10142         (_Jv_CondNotifyAll): Check if really the owner thread.
10143         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10144         (really_start): Use SetEvent( ) to signal daemon_cond.
10145         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10146         WaitForSingleObject( ) instead to wait for daemon_cond to be
10147         signalled.
10148
10149 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10150
10151         * configure.in: Specifically define HAVE_BACKTRACE if building
10152         for MinGW.
10153         * include/win32.h: Remove HAVE_BACKTRACE definition.
10154         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10155         * configure: Rebuilt.
10156
10157 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10158
10159         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10160         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10161         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10162         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10163         * Makefile.in, configure: Rebuilt.
10164
10165 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10166
10167         Fixes PR java/9253:
10168         * java/io/natFileWin32.cc (performList): Append only "*.*"
10169         if the canonical file path already has a "\" at the end.
10170
10171 2003-01-24  Tom Tromey  <tromey@redhat.com>
10172
10173         * defineclass.cc (handleMethodsEnd): Precompute code for static
10174         method.
10175         (handleCodeAttribute): Likewise.
10176         * resolve.cc (ncode): Use run_class for unsynchronized static
10177         methods.
10178         * include/java-interp.h (class _Jv_InterpMethod): Declare
10179         run_class.
10180         * interpret.cc (run_synch_class): Initialize class.
10181         (run) [insn_invokestatic]: Don't initialize class.
10182         [insn_anewarray]: Likewise.
10183         [insn_multianewarray]: Likewise.
10184         (run_class): New function.
10185
10186 2003-01-24  Tom Tromey  <tromey@redhat.com>
10187
10188         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10189         comment.
10190
10191 2003-01-22  Andrew Haley  <aph@redhat.com>
10192
10193         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10194         * configure.host (CHECKREFSPEC): Define for x86_64.
10195
10196 2003-01-21  Tom Tromey  <tromey@redhat.com>
10197
10198         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10199         search at 2, not 3.
10200
10201 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10202
10203         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10204         looking at any characters.
10205         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10206         be used.
10207         (isAbsolute): Check path's length as well.
10208
10209 2003-01-17  Mark Wielaard  <mark@klomp.org>
10210
10211         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10212         (nat_source_files): Add natVMObjectStreamClass.cc.
10213         * Makefile.in: Regenerated.
10214         * gcj/javaprims.h (namespace java): Regenerated.
10215         * java/io/ObjectStreamClass.java (getClassUID): Call
10216         VMObjectStreamClass.hasClassInitializer().
10217         (hasClassInitializer): Removed.
10218         * java/io/VMObjectStreamClass.java: New class.
10219         * java/io/natVMObjectStreamClass.cc: New file.
10220         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10221
10222 2003-01-16  Mark Wielaard  <mark@klomp.org>
10223
10224         * java/net/SocketImpl.java (toString): Don't explicitly call
10225         toString() on possible null address.
10226
10227 2003-01-16  Michael Koch  <konqueror@gmx.de>
10228
10229         * java/net/MulticastSocket.java
10230         (setInterface): Reindented.
10231
10232 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10233
10234         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10235         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10236         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10237         translateY arguments.  Implement.
10238         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10239         down translation arguments.
10240         (drawPolyline, drawPolygon): Fix incorrect tests.
10241         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10242         translateX and translateY arguments.
10243
10244 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10245
10246         * Makefile.in: Rebuilt.
10247         * Makefile.am (xlib_includes): New macro.
10248         (INCLUDES): Use it.
10249
10250 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10251
10252         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10253         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10254         16-bit display mode.
10255
10256 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10257
10258         * java/awt/CardLayout.java (show): Rewrote.
10259         (gotoComponent): Removed `target' argument.  Simplified code.
10260         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10261         Changed all callers.
10262         (NONE): Removed.
10263         
10264 2003-01-14  Michael Koch  <konqueror@gmx.de>
10265
10266         * java/net/InetSocketAddress.java
10267         (serialVersionUID): New member variable.
10268         * java/net/NetPermission.java
10269         (NetPermission): Dont implement java.io.Serialization directly.
10270         * java/net/SocketAddress.java:
10271         (serialVersionUID): Documentation added.
10272         
10273 2003-01-14  Michael Koch  <konqueror@gmx.de>
10274
10275         * java/awt/Label.java
10276         (Label): Implements javax.accessibility.Accessible;
10277         * java/awt/List.java
10278         (List): Implements javax.accessibility.Accessible;
10279         * java/awt/ScrollPane.java
10280         (ScrollPane): Implements javax.accessibility.Accessible;
10281         * java/awt/Scrollbar.java
10282         (Scrollbar): Implements javax.accessibility.Accessible;
10283         * java/awt/TextComponent.java
10284         (setCaretPosition): Throw exception, documentation added.
10285         * java/awt/Toolkit.java:
10286         Added some newlines in method documentations.
10287         (createButton): Exception documentation added.
10288         (createTextField): Exception documentation added.
10289         (createLabel): Exception documentation added.
10290         (createList): Exception documentation added.
10291         (createCheckbox): Exception documentation added.
10292         (createScrollbar): Exception documentation added.
10293         (createScrollPane): Exception documentation added.
10294         (createTextArea): Exception documentation added.
10295         (createChoice): Exception documentation added.
10296         (createFrame): Exception documentation added.
10297         (createWindow): Exception documentation added.
10298         (createDialog): Exception documentation added.
10299         (createMenuBar): Exception documentation added.
10300         (createMenu): Exception documentation added.
10301         (createMenuItem): Exception documentation added.
10302         (createFileDialog): Exception documentation added.
10303         (createCheckboxMenuItem): Exception documentation added.
10304         (loadSystemColors): Exception documentation added.
10305         (setDynamicLayout): Exception documentation added.
10306         (isDynamicLayoutSet): Exception documentation added.
10307         (isDynamicLayoutActive): Exception documentation added.
10308         (getScreenSize): Exception documentation added.
10309         (getScreenResolution): Exception documentation added.
10310         (getScreenInsets): Exception documentation added.
10311         (getColorModel): Exception documentation added.
10312         (getSystemClipboard): Exception documentation added.
10313         (getSystemSelection): Exception documentation added.
10314         (getMenuShortcutKeyMask): Exception documentation added.
10315         (getSystemEventQueue): Exception documentation added.
10316         * java/awt/Window.java:
10317         Reindented some code.
10318         (Window): Centralized implementation, documentation added.
10319         (finalize): Documentation added.
10320         (hide): Fixed typo in comment.
10321         (getWindowListeners): Documentation added.
10322         * java/awt/color/ColorSpace.java
10323         (toRGB): Documentation added.
10324         * java/awt/color/ICC_ColorSpace.java
10325         (ICC_ColorSpace): Documentation added.
10326         (toRGB): Throw exception, documentation added.
10327         (fromRGB): Throw exception, documentation added.
10328         (toCIEXYZ): Documentation added.
10329         (fromCIEXYZ): Documentation added.
10330         (getMinValue): Documentation added.
10331         (getMaxValue): Documentation added.
10332         * java/awt/geom/Dimension2D.java
10333         (clone): Documentation added.
10334         * java/awt/geom/GeneralPath.java
10335         (clone): Documentation added.
10336         * java/awt/geom/Line2D.java
10337         (clone): Documentation added.
10338         * java/awt/geom/QuadCurve2D.java
10339         (clone): Documentation added.
10340         * java/awt/image/ColorModel.java
10341         (ColorModel): Throw exception, documentation added.
10342         * java/awt/image/ImageFilter.java
10343         (clone): Doesnt throw CloneNotSupportedException.
10344
10345 2003-01-14  Andrew Haley  <aph@redhat.com>
10346
10347         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10348         in a try block.
10349
10350 2003-01-10  Andrew Haley  <aph@redhat.com>
10351
10352         * include/dwarf2-signal.h: Remove x86_64.
10353         * configure.host (x86_64 DIVIDESPEC): Remove.
10354         * include/x86_64-signal.h: New file.
10355         * configure.in: Regenerate.
10356
10357 2003-01-10  Michael Koch  <konqueror@gmx.de>
10358
10359         * java/net/DatagramSocket.java
10360         (ch): Description added.
10361         (remotePort): Initialize with -1.
10362         (connect): Doesnt throws SocketException.
10363         * java/net/MulticastSocket.java
10364         (setInterface): Merge with Classpath.
10365         * java/net/ServerSocket.java
10366         (closed): New member variable.
10367         (bind): Check if socket is closed.
10368         (close): Close an associated channel too, set new value to closed.
10369         (isBound): Reindented.
10370         (isClosed): Implemented.
10371         * java/net/Socket.java
10372         (closed): New member variable.
10373         (bind): Check if socket is closed.
10374         (connect): Check if socket is closed.
10375         (close): Close an associated channel too, set new value to closed.
10376         (isClosed): Implemented.
10377
10378 2003-01-10  Michael Koch  <konqueror@gmx.de>
10379
10380         * java/awt/DisplayMode.java
10381         (equals): Fixed argument type and implementation.
10382
10383 2003-01-07  Tom Tromey  <tromey@redhat.com>
10384
10385         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10386         JV_HASH_SYNCHRONIZATION.
10387         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10388         JV_HASH_SYNCHRONIZATION.
10389
10390 2003-01-07  Michael Koch  <konqueror@gmx.de>
10391  
10392         * java/net/DatagramSocket.java:
10393         Added classpath license info.
10394         (DatagramSocket): Merged description with classpath.
10395         (close): Merged description with classpath.
10396         (getChannel): Merged description with classpath.
10397         (getInetAddress): Merged description with classpath.
10398         (getPort): Merged description with classpath.
10399         (getLocalAddress): Merged description with classpath.
10400         (getLocalPort): Merged description with classpath.
10401         (getSoTimeout): Merged description with classpath.
10402         (setSoTimeout): Merged description with classpath.
10403         (getSendBufferSize): Merged description with classpath.
10404         (setSendBufferSize): Merged description with classpath.
10405         (getReceiveBufferSize): Merged description with classpath.
10406         (setReceiveBufferSize): Merged description with classpath.
10407         
10408 2003-01-04  Tom Tromey  <tromey@redhat.com>
10409
10410         * java/awt/List.java: Merged with Classpath.
10411
10412 2003-01-03  Mark Wielaard  <mark@klomp.org>
10413
10414         * java/io/FileDescriptor.java (position): New private field.
10415         * java/io/natFileDescriptorPosix.cc (write): Up position.
10416         (setLength): Use and set position.
10417         (seek): Set position.
10418         (getFilePointer): Return position.
10419         (read): Up position.
10420
10421 2003-01-03  Mark Wielaard  <mark@klomp.org>
10422
10423         Merge with Classpath:
10424         * java/io/ObjectStreamClass.java (lookup): Split method and call
10425         lookupForClassObject().
10426         (lookupForClassObject): New method.
10427         (isProxyClass): New field.
10428         (setClass): Set isProxyClass, add object to classLookupTable, set
10429         superClass and calculateOffsets.
10430         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10431         and not a proxy class.
10432         (setFields): Set accessible true for serialPersistentFields.
10433         (getClassUID): Same for suid. And check if suid is of type long.
10434         (hasClassInitializer): Don't throw NoSuchMethodError.
10435
10436 2003-01-03  Mark Wielaard  <mark@klomp.org>
10437
10438         * java/io/FileInputStream.java (finalize): Don't explicitly
10439         finalize FileDescriptor.
10440
10441 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10442
10443         * configure.host (sparc*-*): Enable bytecode interpreter.
10444
10445 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10446
10447         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10448         Don't throw RemoteException.
10449         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10450         throw RemoteException.
10451
10452 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10453
10454         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10455         proxyHost): New static fields.
10456         (<clinit>): Initialize new fields.
10457         (connect): Use proxy if necessary.
10458         (usingProxy): Implement.
10459
10460 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10461
10462         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10463         (TreeIterator.remove): Prefer IllegalStateException over
10464         ConcurrentModificationException, to match Sun.
10465
10466 2002-12-22  Anthony Green  <green@redhat.com>
10467
10468         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10469
10470 2003-01-02  Mark Wielaard  <mark@klomp.org>
10471
10472         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10473         public.
10474         (HTTP_USE_PROXY): Add field.
10475         (getResponseVals): Only set responseCode when not yet explicitly
10476         set by subclass.
10477
10478 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10479             Mark Wielaard  <mark@klomp.org>
10480
10481         * java/util/zip/ZipFile.java (entries): Now HashMap.
10482         (readLeShort(DataInput, byte[])): Read from given byte array.
10483         (readLeInt(DataInput, byte[]): Likewise.
10484         (readLeShort(byte[] b, int off)): New method.
10485         (readLeInt(byte[] b, int off)): Likewise.
10486         (readEntries): Use byte arrays to read info in bigger chunks.
10487         (getEntries): Return HashMap.
10488         (getEntry): Use HashMap.
10489         (locBuf): New private field.
10490         (checkLocalHeader): Use locBuf to read info in one chunk.
10491         (getInputStream): Use entries HashMap, wrap PartialInputStream
10492         in BufferedInputStream.
10493         (ZipEntryEnumeration): Use HashMap and Interator.
10494
10495 2003-01-02  Mark Wielaard  <mark@klomp.org>
10496             Jeroen Frijters  <jeroen@sumatra.nl>
10497
10498         * java/net/URLClassLoader.java (Resource.getCodeSource):
10499         Fix check certs == null.
10500         (getCanonicalFileURL): Removed method.
10501         (JarURLLoader): Don't call removed method.
10502         (FileURLLoader): Likewise.
10503         (FileURLLoader.getResource): Don't canonicalize file name.
10504
10505 2003-01-01  Tom Tromey  <tromey@redhat.com>
10506
10507         * Makefile.in: Rebuilt.
10508         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10509         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10510         java/awt/BufferCapabilities.java, java/awt/Button.java,
10511         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10512         java/awt/Container.java, java/awt/Cursor.java,
10513         java/awt/EventQueue.java, java/awt/FileDialog.java,
10514         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10515         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10516         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10517         java/awt/Scrollbar.java, java/awt/TextArea.java,
10518         java/awt/TextField.java, java/awt/color/CMMException.java,
10519         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10520         java/awt/color/ProfileDataException.java,
10521         java/awt/datatransfer/Clipboard.java,
10522         java/awt/datatransfer/DataFlavor.java,
10523         java/awt/datatransfer/FlavorMap.java,
10524         java/awt/datatransfer/SystemFlavorMap.java,
10525         java/awt/dnd/DragGestureEvent.java,
10526         java/awt/dnd/DragGestureRecognizer.java,
10527         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10528         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10529         java/awt/im/InputMethodHighlight.java,
10530         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10531         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10532
10533         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10534         `op' to BufferedImageOp.
10535
10536 2002-12-31  Tom Tromey  <tromey@redhat.com>
10537
10538         Fix for PR libgcj/7416:
10539         * javax/naming/InitialContext.java (init): Use
10540         gnu.classpath.home.url.
10541         * java/security/Security.java: Use new properties.
10542         (loadProviders): Accept base url; use it.
10543         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10544         gnu.classpath.home.url.
10545         (gnu.classpath.home.url): Define.
10546         (gnu.classpath.vm.shortname): Likewise.
10547
10548 2002-12-31  Tom Tromey  <tromey@redhat.com>
10549             Ranjit Mathew  <rmathew@hotmail.com>
10550
10551         Fix for PR libgcj/8997:
10552         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10553         Include platform.h.
10554         * include/posix.h (_Jv_platform_usleep): New function.
10555         * include/win32.h (_Jv_platform_usleep): New function.
10556
10557 2002-12-29  Tom Tromey  <tromey@redhat.com>
10558
10559         * gcj/javaprims.h: Updated.
10560         * scripts/classes.pl (scan): Removed stray semicolon.
10561
10562 2002-12-30  Mark Wielaard  <mark@klomp.org>
10563
10564         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10565         if zero or smaller.
10566
10567 2002-12-30  Mark Wielaard  <mark@klomp.org>
10568
10569         * java/util/Properties (formatForOutput): Don't fall through to
10570         default case after escaping character.
10571
10572 2002-12-30  Mark Wielaard  <mark@klomp.org>
10573
10574         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10575         against count.
10576
10577 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10578
10579         * boehm.cc: Remove stray semicolon.
10580         * interpret.cc: Likewise.
10581         * prims.cc: Likewise.
10582         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10583         earlier to ensure default arguments are processed.
10584         * gcj/array.h (JArray): Add forward declaration.
10585         (elements): Likewise.
10586         * gcj/javaprim.h: Remove stray semicolons.
10587         * include/bohm-gc.h: Likewise.
10588         * include/jni.h: Likewise.
10589         * include/jvm.h: Likewise.
10590         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10591         
10592 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10593
10594         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10595         of catch_type.
10596         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10597         idt tables after initializing superclass.
10598         * java/lang/natClassLoader.cc (uaddr): New typedef.
10599         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10600         if they are constant pool indicies.  Don't link vtable, otable yet.
10601
10602 2002-12-21  Anthony Green  <green@redhat.com>
10603
10604         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10605         libraries.
10606         * Makefile.in: Rebuilt.
10607
10608 2002-12-19  Anthony Green  <green@redhat.com>
10609
10610         * Makefile.am (ordinary_java_source_files): Add
10611         org/xml/sax/helpers/NewInstance.java.
10612         * Makefile.in: Rebuilt.
10613         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10614         org/xml/sax/helpers/package.html: New files.
10615         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10616         http://www.saxproject.org.
10617
10618 2002-12-19  Andrew Haley  <aph@redhat.com>
10619
10620         * java/util/natResourceBundle.cc: Include
10621         ArrayIndexOutOfBoundsException.h.
10622         (getCallingClassLoader): Don't put upper bound on stack search.
10623         Catch ArrayIndexOutOfBoundsException.
10624
10625 2002-12-19  Tom Tromey  <tromey@redhat.com>
10626
10627         * libtool-version: Increased `current'.
10628
10629 2002-12-19  Tom Tromey  <tromey@redhat.com>
10630
10631         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10632         comment.
10633         * java/lang/ClassLoader.java (defineClass): Use chained
10634         exception when rethrowing.
10635         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10636         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10637         constants.
10638         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10639         (_Jv_PrepareClass): Use it.
10640         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10641         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10642         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10643         (Class): _Jv_PrepareMissingMethods now friend.
10644         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10645         Record `NULL' for system class loader.
10646         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10647         system class loader.
10648         (_Jv_FindClassInCache): Likewise.
10649         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10650         (_Jv_FindClass): Special case system class loader.
10651         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10652         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10653         vtable slots.
10654         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10655         in a final class.
10656         (_getDeclaredMethod): Don't return synthetic methods.
10657         (getDeclaredMethods): Likewise.
10658         (_getMethod): Likewise.
10659         (_getMethods): Likewise.
10660
10661 2002-12-18  Raif Naffah  <raif@fl.net.au>
10662
10663         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10664         canonical form after divide().
10665         (modInverse): Likewise.
10666
10667 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10668             Mark Wielaard  <mark@klomp.org>
10669
10670         * java/security/SecurityRandom (digest): Removed field.
10671         (SecureRandom): Check all providers for case-insensitive SecureRandom
10672         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10673         if necessary.
10674         (getInstance(String,Provider,boolean): New method.
10675         (getInstance(String)): Use new method.
10676         (getInstance(String,String)): Likewise.
10677         (getInstance(String,Provider)): Likewise.
10678
10679 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10680
10681         * java/security/Security.java (loadProviders): Increment i only once.
10682
10683 2002-12-12  Mark Wielaard  <mark@klomp.org>
10684
10685         * java/lang/ClassLoader.java (resolveClass0): Transform
10686         ClassNotFoundException to NoClassDefFoundError. Transform all other
10687         throwables to LinkageError.
10688
10689 2002-12-11  Tom Tromey  <tromey@redhat.com>
10690
10691         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10692
10693         * java/lang/ClassLoader.java (loadedClasses): New field.
10694         (defineClass): Fixed indentation.  Put new class in
10695         loadedClasses.
10696         (findLoadedClass): Implement here.
10697         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10698
10699 2002-12-10  Tom Tromey  <tromey@redhat.com>
10700
10701         * Makefile.in: Rebuilt.
10702         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10703         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10704         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10705         * java/lang/natClassLoader.cc
10706         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10707
10708 2002-12-10  Mark Wielaard  <mark@klomp.org>
10709             Tom Tromey  <tromey@redhat.com>
10710
10711         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10712         (JarURLLoader): Use it.
10713         (FileURLLoader): Likewise.
10714         (JarURLResource.getURL): Use chained exception.
10715         (FileResource.getURL): Likewise.
10716         (FileURLLoader.getResource): Use canonical file name.
10717         (addURL): Indentation fix.
10718
10719 2002-12-10  Tom Tromey  <tromey@redhat.com>
10720
10721         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10722         From Laurent Bardet <l.bardet@magic.fr>.
10723
10724 2002-12-09  Tom Tromey  <tromey@redhat.com>
10725
10726         * include/win32.h (_Jv_platform_solib_prefix): New define.
10727         (_Jv_platform_solib_suffix): Likewise.
10728         * include/posix.h (_Jv_platform_solib_prefix): New define.
10729         (_Jv_platform_solib_suffix): Likewise.
10730         * java/lang/natRuntime.cc: Include StackTrace.h.
10731         (_load): Use findLibrary and new platform defines.
10732         (nativeGetLibname): Use new platform defines.
10733
10734         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10735         `t' won't be null.
10736
10737 2002-12-08  Mark Wielaard  <mark@klomp.org>
10738
10739         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10740         cache remote jar files.
10741         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10742         add File.separator to URL when it is a directory.
10743         * java/lang/ClassLoader.java: Add Classpath javadoc.
10744         (parent): final.
10745         (getParent): Add (disabled) security check.
10746         (findLibrary): New default method.
10747         * java/net/JarURLConnection.java (getManifest): Implement.
10748         (getInputStream): Only create InputStream when entry exists.
10749         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10750         when they exist.
10751         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10752
10753 2002-12-08  Mark Wielaard  <mark@klomp.org>
10754
10755         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10756         (lastDefaultLocale): New field.
10757         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10758         resourceBundleCache.
10759
10760 2002-12-06  Mark Wielaard  <mark@klomp.org>
10761
10762         * java/net/InetAddress.java (toString): Use hostname when not null,
10763         don't do an explicit reverse getHostName() lookup.
10764         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10765         NullPointerException.
10766
10767 2002-12-06  Tom Tromey  <tromey@redhat.com>
10768
10769         * include/java-interp.h (class _Jv_InterpMethod): Added
10770         JV_MARKOBJ_DECL.
10771         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10772         mark `prepared' field of interpreted method.
10773         * interpret.cc (compile): Use _Jv_AllocBytes.
10774
10775 2002-12-05  Andrew Haley  <aph@redhat.com>
10776
10777         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10778         #ifdef (HAVE_BACKTRACE) around the whole function body.
10779
10780 2002-12-05  Tom Tromey  <tromey@redhat.com>
10781
10782         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10783         * resolve.cc: Don't include AbstractMethodError.h.
10784         (_Jv_abstractMethodError): Removed.
10785         * defineclass.cc (handleMethodsBegin): Initialize method index to
10786         -1.
10787         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10788         method index for "new" final method.
10789         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10790         isVirtualMethod.  Added `flags' argument.
10791         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10792         class.
10793
10794 2002-12-04  Tom Tromey  <tromey@redhat.com>
10795
10796         * java/net/SocketPermission.java (hashCode): Rewrote.
10797
10798 2002-12-04  Tom Tromey  <tromey@redhat.com>
10799
10800         * Makefile.in: Rebuilt.
10801         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10802         natResourceBundle.
10803         * java/util/ResourceBundle.java (Security): Removed.
10804         (getCallingClassLoader): Now native.
10805         * java/util/natResourceBundle.cc: New file.
10806         * java/lang/natVMSecurityManager.cc: New file.
10807         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10808
10809 2002-12-03  Mark Wielaard  <mark@klomp.org>
10810
10811         * java/util/jar/JarFile.java (manifest): Not final.
10812         (manifestRead): New field.
10813         (JarFile): Don't read Manifest in constructor.
10814         (getManifest): New method.
10815         (JarEnumeration.nextElement): Use new method.
10816         (getEntry): Likewise.
10817         * java/util/zip/ZipFile.java (name): Final.
10818         (raf): Likewsie.
10819         (entries): Change type to Hashtable.
10820         (closed): New field.
10821         (ZipFile): Don't read enties in constructor.
10822         (readEntries): Use Hashtable.
10823         (close): Set new close flag and set entries to null inside
10824         synchronized block.
10825         (entries): Contruct enumeration using new getEntries() method and
10826         entries Hashtable.
10827         (getEntryIndex): Removed.
10828         (getEntries): New method.
10829         (getEntry): Use new getEntries() method and entries Hastable.
10830         (getInputStream): Likewise.
10831         (size): Return getEntries().size().
10832         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10833         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10834         (time): Removed
10835         (dostime): New field.
10836         (zipFileIndex): Removed.
10837         (ZipEntry(ZipEntry)): Copy dostime.
10838         (setDOSTime): Now final and doesn't convert dos time.
10839         (getDOSTime): Likewise.
10840         (setTime): Convert dos time.
10841         (getTime): Likewise.
10842         (getCalendar): New method.
10843         (setExtra): Use setTime().
10844         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10845
10846 2002-12-03  Tom Tromey  <tromey@redhat.com>
10847
10848         * java/lang/Character.java (forDigit): Formatting fix.
10849
10850 2002-12-03  Raif Naffah  <raif@fl.net.au>
10851
10852         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10853         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10854         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10855
10856 2002-12-03  Andrew Haley  <aph@redhat.com>
10857
10858         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10859         _Jv_PushClass.
10860         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10861         (_Jv_PopClass): New.
10862         (_Jv_PushClass): New.
10863         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10864         discover the ClassLoader of our caller.
10865         (_Jv_CheckArrayStore): Don't check that a class is assignment
10866         compatible with Object.
10867         * java/lang/natVMTHrowable.cc: Delete.
10868         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10869         java.lang.VMThrowable.
10870         (StackTrace(), StackTrace(int)): New constructors.
10871         (classAt, methodAt, update, methodAtAddress): New methods.
10872         (map): New field.
10873         * java/lang/VMThrowable.java: Use StackTrace instead of
10874         natVMTHrowable.
10875         * java/lang/Class.h (getClassLoaderInternal): New.
10876         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10877         Be friendly with gnu::gcj::runtime::StackTrace.
10878         (Object.chain): New field.
10879         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10880         gnu::gcj::runtime::StackTrace.
10881         * gnu/gcj/runtime/natStackTrace.cc: New file.
10882         * gnu/gcj/runtime/MethodRef.java: New file.
10883         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10884         instead of getClassLoader().
10885         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10886         java::lang::VMThrowable.
10887         * Makefile.am (core_java_source_files): Add MethodRef.java,
10888         StackTrace.java.
10889         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10890         * Makefile.in: Rebuild.
10891
10892 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10893
10894         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10895         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10896         yes also for sh-linux* and sh[34]*-linux*.
10897         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10898         set SIGNAL_HANDLER to use DWARF2 exception for them.
10899         * configure: Regenerate.
10900
10901 2002-12-02  Tom Tromey  <tromey@redhat.com>
10902
10903         * jni.cc: Added `name' argument.
10904         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10905         `const char *' argument.
10906         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10907
10908 2002-12-01  Tom Tromey  <tromey@redhat.com>
10909
10910         Bug compatibility, for PR libgcj/8738:
10911         * java/io/CharArrayWriter.java (close): Do nothing.
10912         (flush): Likewise.
10913         (reset): Don't touch `closed'.
10914         (write(int)): Don't throw IOException.
10915         (write(char[],int,int)): Likewise.
10916         (write(String,int,int)): Likewise.
10917         (closed): Removed.
10918
10919 2002-12-01  Mark Wielaard  <mark@klomp.org>
10920
10921         * java/lang/SecurityManager.java: Remerge comments, indenting and
10922         checkXXX methods with Classpath.
10923
10924 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10925
10926         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10927         getNormalizedComponents): Fix calculation which was using one too
10928         many bits in the unnormalized format.
10929
10930 2002-11-29  Gary Benson  <gbenson@redhat.com>
10931
10932         For PR libgcj/8759:
10933         * java/beans/Introspector.java (flushCaches): New method.
10934         (flushFromCaches): Likewise.
10935
10936 2002-11-29  Michael Koch <konqueror@gmx.de>
10937
10938         * java/nio/channels/DatagramChannel.java
10939         (open): Added exception documentation.
10940         (write): Added exception documentation.
10941         (connect): Added exception documentation.
10942         (disconnect): Added exception documentation.
10943         (isConnected): Added exception documentation.
10944         (read): Added exception documentation.
10945         (receive): Added exception documentation.
10946         (send): Added exception documentation.
10947         (validOps): Added exception documentation.
10948         * java/nio/channels/SocketChannel.java
10949         (open): Added exception documentation.
10950         (read): Added exception documentation.
10951         (write): Added exception documentation.
10952         (connect): Added exception documentation.
10953         (finishConnect): Added exception documentation.
10954
10955 2002-11-29  Michael Koch <konqueror@gmx.de>
10956
10957         * gnu/java/nio/DatagramChannelImpl:
10958         (fd): New member variable to store file descriptor of socket.
10959         * gnu/java/nio/SelectionKeyImpl.java:
10960         (ops): Removed.
10961         (readyOps): New member variable.
10962         (interestOps): New member variable.
10963         (readyOps): Implemented.
10964         (readyOps): New method to set member variable readyOps.
10965         (interestOps): Replaced ops by interestOps.
10966         * gnu/java/nio/SelectorImpl.java:
10967         (SelectorImpl): Initialize key sets.
10968         (select): Call select with -1 instead of Long.MAX_VALUE).
10969         (java_do_select): Make it a native method.
10970         (getFDsAsArray): New helper method.
10971         (select): Remove canceled keys, give only interested file discriptors
10972         to java_do_select, set ready ops.
10973         (add): No need to initialize keys set here.
10974         (add_selected): No need to initialize selected set here.
10975         (deregisterCanceledKeys): New helper method.
10976         (register): Set interest ops, set attachments, added handling of datagram
10977         channels.
10978         * gnu/java/nio/ServerSocketChannelImpl:
10979         (SocketAccept): Renamed from NioSocketAccept.
10980         (implConfigureBlocking): Implemented.
10981         (accept): Use SocketAccept instead of NioSocketAccept.
10982         * gnu/java/nio/SocketChannelImpl:
10983         Reactivate native methods.
10984
10985 2002-11-29  Michael Koch <konqueror@gmx.de>
10986
10987         * gnu/java/nio/natByteBufferImpl.cc,
10988         gnu/java/nio/natCharBufferImpl.cc,
10989         gnu/java/nio/natDoubleBufferImpl.cc,
10990         gnu/java/nio/natFloatBufferImpl.cc,
10991         gnu/java/nio/natIntBufferImpl.cc,
10992         gnu/java/nio/natLongBufferImpl.cc,
10993         gnu/java/nio/natSelectorImpl.cc,
10994         gnu/java/nio/natServerSocketChannelImpl.cc,
10995         gnu/java/nio/natShortBufferImpl.cc,
10996         gnu/java/nio/natSocketChannelImpl.cc:
10997         New files that implement native functionalities.
10998
10999 2002-11-29  Michael Koch <konqueror@gmx.de>
11000
11001         * gnu/java/nio/ByteBufferImpl.java
11002         (ByteBufferImpl): Moved position() after limit.
11003         (nio_*): Use native implementation.
11004         * gnu/java/nio/CharBufferImpl.java:
11005         Reformated.
11006         (endian): New member variable string endianess of buffer.
11007         (CharBufferImpl): Moved position() after limit.
11008         (nio_*): Use native implementation.
11009         (subSequence): Implemented.
11010         * gnu/java/nio/DoubleBufferImpl.java
11011         (DoubleBufferImpl): Moved position() after limit.
11012         (nio_*): Use native implementation.
11013         * gnu/java/nio/FloatBufferImpl.java
11014         Reformated.
11015         (FloatBufferImpl): Moved position() after limit.
11016         (nio_*): Use native implementation.
11017         * gnu/java/nio/IntBufferImpl.java
11018         Added needed imports, Reformated.
11019         (IntBufferImpl): Moved position() after limit.
11020         (nio_*): Use native implementation.
11021         * gnu/java/nio/LongBufferImpl.java
11022         Reformated.
11023         (LongBufferImpl): Moved position() after limit.
11024         (nio_*): Use native implementation.
11025         * gnu/java/nio/ShortBufferImpl.java
11026         Reformated.
11027         (ShortBufferImpl): Moved position() after limit.
11028         (nio_*): Use native implementation.
11029
11030 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11031
11032         * java/util/Locale.java (toString): Improve efficiency if country
11033         and variant are both empty.
11034
11035 2002-11-26  Tom Tromey  <tromey@redhat.com>
11036
11037         * verify.cc (pop_init_ref): New method.
11038         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11039         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11040         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11041         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11042         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11043         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11044         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11045         let `this' argument be uninitialized.  Don't let `null' be passed
11046         as `this' to construtor.
11047
11048 2002-11-26  Mark Wielaard  <mark@klomp.org>
11049
11050         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11051         * javax/transaction/HeuristicMixedException.java: Likewise.
11052         * javax/transaction/HeuristicRollbackException.java: Likewise.
11053         * javax/transaction/InvalidTransactionException.java: Likewise.
11054         * javax/transaction/NotSupportedException.java: Likewise.
11055         * javax/transaction/RollbackException.java: Likewise.
11056         * javax/transaction/Status.java: Likewise.
11057         * javax/transaction/Synchronization.java: Likewise.
11058         * javax/transaction/SystemException.java: Likewise.
11059         * javax/transaction/Transaction.java: Likewise.
11060         * javax/transaction/TransactionManager.java: Likewise.
11061         * javax/transaction/TransactionRequiredException.java: Likewise.
11062         * javax/transaction/TransactionRolledbackException.java: Likewise.
11063         * javax/transaction/UserTransaction.java: Likewise.
11064         * javax/transaction/xa/XAException.java: Likewise.
11065         * javax/transaction/xa/XAResource.java: Likewise.
11066         * javax/transaction/xa/Xid.java: Likewise.
11067
11068 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11069
11070         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11071         define.
11072         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11073         * include/posix.h (socklen_t): Define if not already defined.
11074
11075 2002-11-25  Tom Tromey  <tromey@redhat.com>
11076
11077         * verify.cc (type::compatible): Backed out broken change.
11078
11079         * verify.cc (type::compatible): Check initialization status
11080         first.
11081         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11082         Don't use NULLCHECK.
11083
11084 2002-11-23  H.J. Lu <hjl@gnu.org>
11085
11086         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11087         Include ../config/accross.m4.
11088         * aclocal.m4; Rebuild.
11089         * configure: Likewise.
11090
11091 2002-11-23  Mark Wielaard  <mark@klomp.org>
11092
11093         * javax/naming/AuthenticationException.java: Update copyright header.
11094         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11095         * javax/naming/Binding.java: Likewise.
11096         * javax/naming/CannotProceedException.java: Likewise.
11097         * javax/naming/CommunicationException.java: Likewise.
11098         * javax/naming/CompositeName.java: Likewise.
11099         * javax/naming/CompoundName.java: Likewise.
11100         * javax/naming/ConfigurationException.java: Likewise.
11101         * javax/naming/Context.java: Likewise.
11102         * javax/naming/ContextNotEmptyException.java: Likewise.
11103         * javax/naming/InitialContext.java: Likewise.
11104         * javax/naming/InsufficientResourcesException.java: Likewise.
11105         * javax/naming/InterruptedNamingException.java: Likewise.
11106         * javax/naming/LimitExceededException.java: Likewise.
11107         * javax/naming/LinkException.java: Likewise.
11108         * javax/naming/LinkLoopException.java: Likewise.
11109         * javax/naming/LinkRef.java: Likewise.
11110         * javax/naming/MalformedLinkException.java: Likewise.
11111         * javax/naming/NameAlreadyBoundException.java: Likewise.
11112         * javax/naming/NameClassPair.java: Likewise.
11113         * javax/naming/NameNotFoundException.java: Likewise.
11114         * javax/naming/NameParser.java: Likewise.
11115         * javax/naming/NamingEnumeration.java: Likewise.
11116         * javax/naming/NamingSecurityException.java: Likewise.
11117         * javax/naming/NoInitialContextException.java: Likewise.
11118         * javax/naming/NoPermissionException.java: Likewise.
11119         * javax/naming/NotContextException.java: Likewise.
11120         * javax/naming/OperationNotSupportedException.java: Likewise.
11121         * javax/naming/PartialResultException.java: Likewise.
11122         * javax/naming/Reference.java: Likewise.
11123         * javax/naming/Referenceable.java: Likewise.
11124         * javax/naming/ReferralException.java: Likewise.
11125         * javax/naming/ServiceUnavailableException.java: Likewise.
11126         * javax/naming/SizeLimitExceededException.java: Likewise.
11127         * javax/naming/TimeLimitExceededException.java: Likewise.
11128         * javax/naming/directory/Attribute.java: Likewise.
11129         * javax/naming/directory/AttributeInUseException.java: Likewise.
11130         * javax/naming/directory/AttributeModificationException.java: Likewise.
11131         * javax/naming/directory/Attributes.java: Likewise.
11132         * javax/naming/directory/BasicAttribute.java: Likewise.
11133         * javax/naming/directory/BasicAttributes.java: Likewise.
11134         * javax/naming/directory/DirContext.java: Likewise.
11135         * javax/naming/directory/InitialDirContext.java: Likewise.
11136         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11137         Likewise.
11138         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11139         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11140         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11141         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11142         * javax/naming/directory/ModificationItem.java: Likewise.
11143         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11144         * javax/naming/directory/SchemaViolationException.java: Likewise.
11145         * javax/naming/directory/SearchControls.java: Likewise.
11146         * javax/naming/directory/SearchResult.java: Likewise.
11147         * javax/naming/event/EventContext.java: Likewise.
11148         * javax/naming/event/EventDirContext.java: Likewise.
11149         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11150         * javax/naming/event/NamingEvent.java: Likewise.
11151         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11152         * javax/naming/event/NamingListener.java: Likewise.
11153         * javax/naming/event/ObjectChangeListener.java: Likewise.
11154         * javax/naming/ldap/Control.java: Likewise.
11155         * javax/naming/ldap/ControlFactory.java: Likewise.
11156         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11157         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11158         * javax/naming/ldap/HasControls.java: Likewise.
11159         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11160         * javax/naming/ldap/LdapContext.java: Likewise.
11161         * javax/naming/ldap/LdapReferralException.java: Likewise.
11162         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11163         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11164         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11165         * javax/naming/spi/DirObjectFactory.java: Likewise.
11166         * javax/naming/spi/DirStateFactory.java: Likewise.
11167         * javax/naming/spi/DirectoryManager.java: Likewise.
11168         * javax/naming/spi/InitialContextFactory.java: Likewise.
11169         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11170         * javax/naming/spi/NamingManager.java: Likewise.
11171         * javax/naming/spi/ObjectFactory.java: Likewise.
11172         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11173         * javax/naming/spi/ResolveResult.java: Likewise.
11174         * javax/naming/spi/Resolver.java: Likewise.
11175         * javax/naming/spi/StateFactory.java: Likewise.
11176
11177         * javax/naming/spi/NamingManager.java (ofb): Package private.
11178
11179 2002-11-21  Mark Wielaard  <mark@klomp.org>
11180
11181         * java/net/URL.java: Merge with Classpath (partly).
11182         * java/net/URLStreamHandler: Merge with Classpath.
11183
11184 2002-11-22  Michael Koch <konqueror@gmx.de>
11185
11186         * include/posix.h:
11187         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11188         * include/win32.h:
11189         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11190         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11191
11192 2002-11-21  Michael Koch <konqueror@gmx.de>
11193
11194         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11195         Only the new network functions should be in it.
11196
11197 2002-11-21  Michael Koch <konqueror@gmx.de>
11198
11199         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11200         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11201
11202 2002-11-21  Michael Koch <konqueror@gmx.de>
11203
11204         * java/nio/channels/AsynchronousCloseException.java,
11205         java/nio/channels/CancelledKeyException.java,
11206         java/nio/channels/ClosedByInterruptException.java,
11207         java/nio/channels/ConnectionPendingException.java,
11208         java/nio/channels/FileLockInterruptionException.java,
11209         java/nio/channels/IllegalSelectorException.java,
11210         java/nio/channels/NoConnectionPendingException.java,
11211         java/nio/channels/NonReadableChannelException.java,
11212         java/nio/channels/NonWritableChannelException.java,
11213         java/nio/channels/NotYetBoundException.java,
11214         java/nio/channels/NotYetConnectedException.java,
11215         java/nio/channels/OverlappingFileLockException.java,
11216         java/nio/channels/UnresolvedAddressException.java,
11217         java/nio/channels/UnsupportedAddressTypeException.java:
11218         New files.
11219         * Makefile.am (ordinary_java_source_files): Added new files.
11220         * Makefile.in: Regenerated.
11221
11222 2002-11-21  Michael Koch <konqueror@gmx.de>
11223
11224         * include/posix.h
11225         (_Jv_socket): New method.
11226         (_Jv_connect): New method.
11227         (_Jv_close): New method.
11228         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11229         (_Jv_bind): New method.
11230         (_Jv_listen): New method.
11231         (_Jv_write): New method.
11232         (_Jv_read): New method.
11233         * include/win32.h
11234         (_Jv_socket): New method.
11235         (_Jv_connect): New method.
11236         (_Jv_close): New method.
11237         (_Jv_bind): New method.
11238         (_Jv_listen): New method.
11239         (_Jv_write): New method.
11240         (_Jv_read): New method.
11241         * java/net/natNetworkInterface.cc:
11242         Include platform.h, removed inclusion of socket.h
11243         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11244         ::close() by _Jv_close().
11245         * java/net/natPlainDatagramSocketImpl.cc:
11246         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11247         added some new lines to make code more readable.
11248         (create): Replaced ::socket() by _Jv_socket().
11249         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11250         * java/net/natPlainSocketImpl.cc:
11251         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11252         removed include of socket.h, removed some windows defines
11253         (now in include/win32.h).
11254         (create): Replaced ::socket() by _Jv_socket().
11255         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11256         (write): Replaced ::read by _Jv_write().
11257         (read): Replaced ::read by _Jv_read().
11258
11259 2002-11-20  Michael Koch <konqueror@gmx.de>
11260
11261         * Makefile.am (ordinary_java_source_files):
11262         Added java/nio/channels/FileChannel.java.
11263         * Makefile.in: Regenerated.
11264
11265 2002-11-20  Michael Koch <konqueror@gmx.de>
11266
11267         * java/io/FileInputStream.java
11268         (getChannel): New method.
11269         * java/io/FileOutputStream.java
11270         (getChannel): New method.
11271         * java/net/ServerSocket.java
11272         (bind): Removed duplicate code and called another bind method instead.
11273         * java/nio/channels/SelectionKey.java
11274         (isValid): Removed wrong exception documentation.
11275         * java/nio/channels/ServerSocketChannel.java
11276         (accept): Added exception documentation.
11277         (open): Fixed typo, added exception documentation.
11278         * java/nio/channels/spi/AbstractSelectableChannel.java
11279         (implCloseChannel): Added exception documentation.
11280         (add): Reformated.
11281         (register): Added exception documentation.
11282
11283 2002-11-20  Andreas Jaeger  <aj@suse.de>
11284
11285         * configure: Regenerated with new libtool.m4.
11286
11287 2002-11-19  Tom Tromey  <tromey@redhat.com>
11288
11289         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11290         `referent'.
11291         (finalize_referred_to_object): Don't modify `referent' or `copy'
11292         fields.
11293         (add_to_hash): Correctly set `n->next' when updating list.
11294         * java/lang/ref/Reference.java (enqueue): Return false if already
11295         enqueued.
11296
11297 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11298
11299         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11300         to function and function pointer declarations in accordance with
11301         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11302         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11303         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11304         JNI function definitions.
11305
11306 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11307
11308         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11309         that was causing CoderResults to be cached, not WeakReferences
11310         to CoderResults.
11311
11312 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11313
11314         * java/security/KeyStore.java (getInstance): Fix
11315         comment and throw IllegalArgumentException if
11316         given provider is null.
11317         (getInstance): New method for jdk1.4 compatibility.
11318
11319 2002-11-18  Michael Koch <konqueror@gmx.de>
11320
11321         * java/net/PlainSocketImpl.java: Fix imports.
11322
11323 2002-11-18  Michael Koch <konqueror@gmx.de>
11324
11325         * java/nio/channels/SelectionKey.java
11326         (isValid): Added exception documentation.
11327         * java/nio/channels/Selector.java
11328         (open): Declare "throws IOException".
11329
11330 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11331
11332         * java/nio/charset/Charset.java
11333         (<clinit>): New method.
11334         (encode): Synchronize use of cached encoder object.
11335         (decode): Synchronize use of cached encoder object.
11336
11337 2002-11-18  Michael Koch <konqueror@gmx.de>
11338
11339         * gnu/java/nio/ByteBufferImpl.java,
11340         gnu/java/nio/CharBufferImpl.java,
11341         gnu/java/nio/DatagramChannelImpl.java,
11342         gnu/java/nio/DoubleBufferImpl.java,
11343         gnu/java/nio/FileChannelImpl.java,
11344         gnu/java/nio/FloatBufferImpl.java,
11345         gnu/java/nio/IntBufferImpl.java,
11346         gnu/java/nio/LongBufferImpl.java,
11347         gnu/java/nio/PipeImpl.java,
11348         gnu/java/nio/SelectionKeyImpl.java,
11349         gnu/java/nio/SelectorImpl.java,
11350         gnu/java/nio/SelectorProviderImpl.java,
11351         gnu/java/nio/ServerSocketChannelImpl.java,
11352         gnu/java/nio/ShortBufferImpl.java,
11353         gnu/java/nio/SocketChannelImpl.java,
11354         java/nio/DoubleBuffer.java,
11355         java/nio/FloatBuffer.java,
11356         java/nio/IntBuffer.java,
11357         java/nio/LongBuffer.java,
11358         java/nio/ShortBuffer.java,
11359         java/nio/channels/FileChannel.java: New files.
11360
11361 2002-11-18  Michael Koch <konqueror@gmx.de>
11362
11363         * Makefile.am (ordinary_java_source_files):
11364         Added java/nio/ReadOnlyBufferException.java and
11365         java/nio/channels/ClosedSelectorException.java.
11366         * Makefile.in: Regenerated.
11367
11368 2002-11-18  Michael Koch <konqueror@gmx.de>
11369
11370         * java/net/PlainSocketImpl.java: Reworked imports.
11371         * java/net/ServerSocket.java
11372         (ServerSocket): Create socket.
11373         * java/net/SocketAddress.java: Documentation added.
11374         * java/net/natPlainSocketImpl.cc: Reindented.
11375         * java/nio/ReadOnlyBufferException.java: New file
11376         * java/nio/channels/ClosedChannelException.java: Documentation added.
11377         * java/nio/channels/ClosedSelectorException.java: New file.
11378
11379 2002-11-17  Mark Wielaard  <mark@klomp.org>
11380
11381         * java/net/HttpURLConnection.java ((getPermission): Take port
11382         into consideration.
11383         (getErrorStream): Implement.
11384
11385 2002-11-17  Mark Wielaard  <mark@klomp.org>
11386
11387         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11388
11389 2002-11-16  Mark Wielaard  <mark@klomp.org>
11390
11391         Integrate work by Raif S. Naffah (raif@fl.net.au)
11392         * java/security/DummyKeyPairGenerator.java (clone): New method.
11393         * java/security/DummyMessageDigest.java (clone): New method.
11394         (engineUpdate): Now public.
11395         (engineReset): Likewise.
11396         (engineDigest): Likewise.
11397         (engineGetDigestLength): New method.
11398         * java/security/DummySignature.java (clone): New method.
11399         * java/security/KeyPairGenerator.java (provider): Now package private.
11400         (getInstance(String)): Use getInstance(String,Provider).
11401         (getInstance(String,String): Use getInstance(String,Provider)
11402         (getInstance(String,Provider): New method.
11403         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11404         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11405         * java/security/MessageDigest.java (provider): Now package private.
11406         (getInstance(String): Use getInstance(String,Provider).
11407         (getInstance(String,String): Use getInstance(String,Provider)
11408         (getInstance(String,Provider): New method.
11409         * java/security/Provider.java (toCanonicalKey): New method.
11410         (get): New method that uses toCanonicalKey().
11411         (put): Use toCanonicalKey().
11412         (remove): Likewise.
11413         * java/security/Security.java (insertProviderAt): Provider index is one
11414         based, not zero based.
11415         (addProvider): Likewise.
11416         (removeProvider): Likewise.
11417         * java/security/Signature.java (provider): Now package private.
11418         (getInstance(String)): Use getInstance(String,Provider).
11419         (getInstance(String,String): Use getInstance(String,Provider)
11420         (getInstance(String,Provider): New method.
11421         (getInstance(String,String,Provider): Don't cast DummySignature.
11422
11423 2002-11-15  Tom Tromey  <tromey@redhat.com>
11424
11425         For PR libgcj/8593:
11426         * java/util/zip/GZIPInputStream.java (read): Check file size.
11427         Look in inflater for remaining input bytes.
11428         (read4): Added buf and offset arguments.
11429
11430 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11431
11432         * java/applet/AppletContext.java: Fix typo and remove redundant
11433         modifiers.
11434
11435 2002-11-14  Tom Tromey  <tromey@redhat.com>
11436
11437         * java/lang/natRuntime.cc (insertSystemProperties): Set
11438         gnu.classpath.home.
11439
11440 2002-11-13  Michael Koch <konqueror@gmx.de>
11441
11442         * java/nio/ByteBuffer.java
11443         (allocate): New method.
11444         (wrap): New method.
11445         (put): New method.
11446         (get): New method.
11447
11448 2002-11-13  Michael Koch <konqueror@gmx.de>
11449
11450         * java/nio/channels/AlreadyConnectedException.java:
11451         Removed unneeded import.
11452         (AlreadyConnectedException): Documentation added.
11453         * java/nio/channels/Pipe.java
11454         (SinkChannel.SinkChannel): Documentation added.
11455         (SinkChannel.validOps): New method.
11456         (SourceChannel.SourceChannel): Documentation added.
11457         (SourceChannel.validOps): New method.
11458         (Pipe): Documentation added.
11459         (open): Documentation added.
11460         (SinkChannel.channel): Documentation added.
11461         (SourceChannel.channel): Documentation added.
11462         * java/nio/channel/SelectableChannel.java
11463         (SelectableChannel): Documentation added.
11464         (blockingLock): Documentation added.
11465         (configureBlocking):Documentation added.
11466         (isBlocking):Documentation added.
11467         (isRegistered):Documentation added.
11468         (keyFor):Documentation added.
11469         (provider):Documentation added.
11470         (register): Documentation added.
11471         (validOps): Documentation added.
11472         * jaba/nio/channels/SelectionKey.java
11473         (SelectionKey): Documentation added.
11474         (attach): Documentation added.
11475         (attachment): Documentation added.
11476         (isAcceptable): Documentation added.
11477         (isConnetable): Documentation added.
11478         (isReadable): Documentation added.
11479         (isWritable): Documentation added.
11480         (cancel): Documentation added.
11481         (channel): Documentation added.
11482         (interestOps): Documentation added.
11483         (isValid): Documentation added.
11484         (readyOps): Documentation added.
11485         (selector): Documentation added.
11486         * jaba/nio/channels/Selector.java
11487         (Selector): Documentation added.
11488         (open): Documentation added.
11489         (close): Documentation added.
11490         (isOpen): Documentation added.
11491         (keys): Documentation added.
11492         (provider): Documentation added.
11493         (select): Documentation added.
11494         (selectedKeys): Documentation added.
11495         (selectNow): Documentation added.
11496         (wakeup): Documentation added.
11497         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11498         (AbstractInterruptibleChannel): Documentation added.
11499         (opened): Default to true;
11500         (begin): Documentation added.
11501         (close): Set opened to false, documentation added.
11502         (isOpen): Documentation added.
11503         * java/nio/channels/spi/AbstractSelectionKey.java
11504         (AbstractSelectionKey): Documentation added.
11505         (cancel): Documentation added.
11506         (isValid): Documentation added.
11507         * java/nio/channels/spi/AbstractSelector.java
11508         (AbstractSelector): Documentation added.
11509         (begin): Documentation added.
11510         (close): Documentation added.
11511         (isOpen): Documentation added.
11512         (deregister): Documentation added.
11513         (end): Documentation added.
11514         (provider): Documentation added.
11515         (implCloseSelector): Documentation added.
11516         (register): Documentation added.
11517         * java/nio/channels/spi/SelectorProvider.java
11518         (SelectorProvider): Documentation added.
11519         (openDatagramChannel): Documentation added.
11520         (openPipe): Documentation added.
11521         (openSelector): Documentation added.
11522         (openServerSocketChannel): Documentation added.
11523         (openSocketChannel): Documentation added.
11524         (provider): Documentation added.
11525
11526 2002-11-12  Michael Koch <konqueror@gmx.de>
11527
11528         * java/nio/Buffer.java: Implemented.
11529         * java/nio/CharBuffer.java: New file.
11530         * java/nio/InvalidMarkException.java: New file.
11531         * java/nio/channels/DatagramChannel.java: Implemented.
11532         * java/nio/channels/ServerSocketChannel.java: Implemented.
11533         * java/nio/channels/SocketChannel.java: Implemented.
11534         * java/nio/channels/spi/AbstractChannel.java: Removed.
11535         * java/nio/channels/spi/AbstractSelectableChannel.java:
11536         Implemented.
11537         * java/nio/charset/Charset.java:
11538         Merge from Classpath.
11539         * java/nio/charset/CharsetDecoder.java: New file.
11540         * java/nio/charset/CharsetEncoder.java: New file.
11541         * java/nio/charset/CoderResult.java: New file.
11542         * Makefile.am (ordinary_java_source_files): Added new files.
11543         * Makefile.in: Regenerated.
11544
11545 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11546
11547         * gnu/java/nio/charset/ISO_8859_1.java,
11548         gnu/java/nio/charset/Provider.java,
11549         gnu/java/nio/charset/US_ASCII.java,
11550         gnu/java/nio/charset/UTF_16.java,
11551         gnu/java/nio/charset/UTF_16BE.java,
11552         gnu/java/nio/charset/UTF_16Decoder.java,
11553         gnu/java/nio/charset/UTF_16Encoder.java,
11554         gnu/java/nio/charset/UTF_16LE.java,
11555         gnu/java/nio/charset/UTF_8.java: New files.
11556
11557 2002-11-11  Michael Koch <konqueror@gmx.de>
11558
11559         * java/nio/charset/CharacterCodingException.java:
11560         This class must be public.
11561         * java/nio/charset/CoderMalfunctionError.java:
11562         This class must be public.
11563         * java/nio/charset/CodingErrorAction.java:
11564         This class must be public.
11565         * java/nio/charset/IllegalCharsetNameException.java:
11566         This class must be public, better implementation.
11567         * java/nio/charset/MalformedInputException.java:
11568         This class must be public, better implementation.
11569         * java/nio/charset/UnmappableCharacterException.java:
11570         This class must be public, better implementation.
11571         * java/nio/charset/UnsupportedCharsetException.java:
11572         This class must be public, better implementation.
11573
11574 2002-11-11  Michael Koch <konqueror@gmx.de>
11575
11576         * java/nio/BufferOverflowException.java,
11577         java/nio/BufferUnderflowException.java: New file.
11578         * Makefile.am (ordinary_java_source_files):
11579         Added new files.
11580         * Makefile.in: Regenerated.
11581
11582 2002-11-10  Tom Tromey  <tromey@redhat.com>
11583
11584         * java/awt/Container.java (validate): Use tree lock.
11585         (getComponent): Likewise.
11586         (getComponents): Likewise.
11587         (addImpl): Likewise.
11588         (remove): Likewise.
11589         (removeAll): Likewise.
11590         (processEvent): Fixed indentation.
11591         (getComponentAt): Use tree lock.
11592         (findComponentAt): Likewise.
11593         (removeNotify): Likewise.
11594         (isAncestorOf): Likewise.
11595         (list): Likewise.
11596         (visitChildren): Likewise.
11597         (findNextFocusComponent): Likewise.
11598         (addNotifyContainerChildren): Likewise.
11599         (getAccessibleChildrenCount): Likewise.
11600         (getAccessibleChild): Likewise.
11601
11602         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11603         (getSize): Likewise.
11604         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11605         (getSize): Likewise.
11606         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11607         (calcSize): Likewise.
11608         * java/awt/CardLayout.java (getSize): Use tree lock.
11609         (gotoComponent): Likewise.
11610         (layoutContainer): Likewise.
11611
11612         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11613         count is 0.
11614         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11615         count is 0.
11616
11617         * java/io/Externalizable.java, java/io/FilePermission.java,
11618         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11619         java/io/SerializablePermission.java, java/text/Format.java,
11620         java/util/AbstractMap.java, java/util/HashMap.java,
11621         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11622         versions from Classpath.
11623
11624 2002-11-10  Anthony Green  <green@redhat.com>
11625
11626         * java/util/jar/Attributes.java (Name): Fix name check.
11627
11628 2002-11-10  Mark Wielaard  <mark@klomp.org>
11629
11630         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11631         with getName() as message.
11632         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11633         type as message.
11634
11635         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11636         unused.
11637
11638 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11639
11640         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11641         for Win32. JNICALL has been defined to __stdcall to be compatible
11642         with Sun's JDKs.
11643
11644 2002-11-10  Tom Tromey  <tromey@redhat.com>
11645
11646         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11647         (setRows): Check newRows, not rows.
11648
11649         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11650
11651 2002-11-09  Tom Tromey  <tromey@redhat.com>
11652
11653         * java/applet/Applet.java, java/applet/AppletContext.java,
11654         java/applet/AppletStub.java, java/applet/AudioClip.java,
11655         java/awt/CardLayout.java,
11656         java/awt/ContainerOrderFocusTraversalPolicy.java,
11657         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11658         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11659         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11660         java/awt/color/ICC_ColorSpace.java,
11661         java/awt/color/ICC_Profile.java,
11662         java/awt/color/ICC_ProfileGray.java,
11663         java/awt/color/ICC_ProfileRGB.java,
11664         java/awt/datatransfer/DataFlavor.java,
11665         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11666         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11667         New versions from Classpath.
11668         * Makefile.in: Rebuilt.
11669         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11670         ICC_ProfileRGB.
11671
11672         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11673         display policy.
11674
11675         * java/awt/List.java (processEvent): Added missing `else's.
11676
11677         * java/awt/Window.java (show): validate() before showing.  Make
11678         parent displayable.
11679         (isDisplayable): New method.
11680
11681 2002-11-07  Mark Wielaard  <mark@klomp.org>
11682
11683         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11684         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11685
11686         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11687         annotation.
11688         (loadClass): Take String as codebases.
11689         (getClassAnnotation): Use MyClassLoader annotations.
11690         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11691         call exportObject(this).
11692
11693         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11694         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11695         (setAnnotation): Don't set locBytesStream and locStream.
11696         (replaceObject): Removed.
11697         (flush): Don't test locStream.
11698         (getLocBytes): LikeWise.
11699         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11700         (leaseCache): New field.
11701         (dirty): Use leaseCache.
11702         (LeaseRecord): New inner class.
11703         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11704         explicitly call exportObject().
11705         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11706         false to communicate with Sun JDK130.
11707         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11708         * gnu/java/rmi/server/RMIObjectInputStream.java
11709         (UnicastConnectionManager): Removed field.
11710         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11711         Use UnicastServer.getExportedRef().
11712         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11713         (expireTime): Likewise.
11714         (CONNECTION_TIMEOUT): Likewise.
11715         (disconnect): Call sock.close().
11716         (isExpired): New method.
11717         (resetTime): Likewise.
11718         (run): Use do while loop and catch Exception for discardConnection().
11719         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11720         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11721         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11722         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11723         (exportObject): Use refcache.
11724         (unexportObject): Likewise.
11725         (getExportedRef): New method.
11726         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11727         constructor.
11728         (exportObject): Save manager.serverobj.
11729         (getStub): New method.
11730
11731 2002-11-07  Mark Wielaard  <mark@klomp.org>
11732
11733         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11734         (getByte): Likewise.
11735         (getShort): Likewise.
11736         (getInt): Likewise.
11737         (getLong): Likewise.
11738         (getFloat): Likewise.
11739         (getDouble): Likewise.
11740         (get): Likewise.
11741         (setChar): Likewise.
11742         (setByte): Likewise.
11743         (setShort): Likewise.
11744         (setInt): Likewise.
11745         (setLong): Likewise.
11746         (setFloat): Likewise.
11747         (setDouble): Likewise.
11748
11749 2002-11-07  Michael Koch <konqueror@gmx.de>
11750
11751         * java/awt/Choice.java,
11752         java/awt/Container.java,
11753         java/awt/GridBagLayout.java:
11754         Fixed documentation.
11755         * java/awt/peer/ContainerPeer.java:
11756         Reindented.
11757
11758 2002-11-07  Michael Koch <konqueror@gmx.de>
11759
11760         * java/awt/color/ICC_Profile.java:
11761         Added missing constants.
11762         * java/awt/color/ICC_ColorSpace.java
11763         (getMinValue): Added dummy implementation.
11764         (getMaxValue): Added dummy implementation.
11765         * java/awt/datatransfer/DataFlavor.java
11766         (imageFlavor): Added.
11767         (isMimeTypeEqual): Must be final.
11768         (getDefaultRepresentationClass): Must be non-static.
11769         (getDefaultRepresentationClassAsString): Must be non-static.
11770         * java/awt/dnd/DragSourceContext.java
11771         (dragExit): Corrected argument.
11772         (dragDropEnd): Corrected argument.
11773         * java/awt/dnd/DragSourceListener.java.java
11774         (dragExit): Corrected argument.
11775         (dragDropEnd): Corrected argument.
11776         * java/awt/font/TextHitInfo.java
11777         (toString): Added stubbed implementation.
11778         * java/awt/geom/PathIterator.java:
11779         The constants must be static.
11780         * java/awt/image/VolatileImage.java
11781         (IMAGE_INCOMPATIBLE): Fixed typo.
11782         * java/awt/image/renderable/RenderableImage.java
11783         (HINTS_OBSERVED): Must be static.
11784         * java/beans/BeanInfo.java:
11785         Constants must be final.
11786
11787 2002-11-06  Tom Tromey  <tromey@redhat.com>
11788
11789         From svens@it.uu.se.  For PR libgcj/8481.
11790         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11791
11792 2002-11-06  Tom Tromey  <tromey@redhat.com>
11793
11794         * jni.cc (array_from_valist): Assume that jlong won't be
11795         promoted.
11796
11797 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11798
11799         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11800         Return 20.
11801         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11802         Return 16.
11803
11804 2002-11-03  Tom Tromey  <tromey@redhat.com>
11805
11806         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11807         VMClassLoader, not findClass.
11808
11809 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11810
11811         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11812         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11813         _Jv_DetermineVTableIndex, to determine vtable offset.
11814         (_Jv_DetermineVTableIndex): Remove.
11815         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11816
11817         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11818
11819 2002-11-03  Tom Tromey  <tromey@redhat.com>
11820
11821         * java/nio/channels/AlreadyConnectedException.java: Extend
11822         IllegalStateException, per spec.
11823
11824 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11825
11826         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11827
11828 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11829
11830         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11831         size items.
11832
11833 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11834
11835         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11836         initial estimated size to avoid enlarge buffer frequently.
11837
11838 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11839
11840         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11841         ClassLoader when null.
11842         (ProxyType.hashCode): Loader null check no longer needed.
11843         (ProxyType.sameTypes): New method.
11844         (ProxyType.equals): Use new method.
11845
11846 2002-10-31  Mark Wielaard  <mark@klomp.org>
11847
11848         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11849         length of String.
11850         * java/net/URLEncoder.java (encode): Likewise.
11851
11852 2002-10-31  Mark Wielaard  <mark@klomp.org>
11853
11854         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11855         when stream is closed.
11856         (closeEntry): Likewise.
11857         (read): Likewise.
11858         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11859         ZipException when no entry active.
11860         (closeEntry): Likewise.
11861         (write): Likewise.
11862
11863 2002-11-02  Tom Tromey  <tromey@redhat.com>
11864
11865         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11866         * java/lang/natClass.cc (initializeClass): Don't return just
11867         because self==thread.
11868
11869         For PR java/8415:
11870         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11871         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11872
11873 2002-11-02  Andreas Schwab  <schwab@suse.de>
11874
11875         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11876         pass GCJFLAGS.
11877         (FLAGS_TO_PASS): Define.
11878         * Makefile.in: Regenerated.
11879
11880 2002-11-01  Michael Koch  <konqueror@gmx.de>
11881
11882         * java/nio/ByteOrder.java: New file.
11883         * java/nio/channels/DatagramChannel.java:
11884         (DatagramChannel): New constructor.
11885         * java/nio/channels/Pipe.java: New file.
11886         * java/nio/channels/SelectableChannel.java: New file.
11887         * java/nio/channels/SelectionKey.java: New file.
11888         * java/nio/channels/Selector.java: New file.
11889         * java/nio/channels/ServerSocketChannel.java
11890         (ServerSocketChannel): New constructor.
11891         * java/nio/channels/SocketChannel.java
11892         (SocketChannel): New constructor.
11893         * java/nio/channels/Pipe.java: New file.
11894         * java/nio/channels/spi/AbstractChannel.java: New file.
11895         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11896         * java/nio/channels/spi/AbstractSelectableChannel.java:
11897         License added
11898         (AbstractSelectableChannel): New stubbed method.
11899         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11900         * java/nio/channels/spi/AbstractSelector.java: New file.
11901         * java/nio/channels/spi/SelectorProvider.java: New file.
11902         * java/nio/charset/Charset.java: New file.
11903         * java/nio/charset/CoderMalfunctionError.java: New file.
11904         * java/nio/charset/CodingErrorAction.java: New file.
11905         * java/nio/charset/spi/CharsetProvider.java
11906         (charsetForName): Uncommented.
11907         * Makefile.am (java_native_source_files): Added new files.
11908         * Makefile.in: Regenerated.
11909
11910 2002-11-01  Michael Koch  <konqueror@gmx.de>
11911
11912         * java/net/InetAddress.java:
11913         (isAnyLocalAddress): Implemented.
11914         (isLoopbackAddress): Implemented, comment added.
11915         (isLinkLocalAddress): Implemented, documentation added.
11916         (isSiteLocalAddress): Implemented, documentation added.
11917         (isMCGlobal): Implemented, documentation added.
11918         (isMCNodeLocal): Implemented, documentation added.
11919         (isMCLinkLocal): Implemented, documentation added.
11920         (isMCSiteLocal): Implemented, documentation added.
11921         (isMCOrgLocal): Implemented, documentation added.
11922         (getHostName): Documentation added.
11923         (getCanonicalHostName): Implemented, documentation added.
11924         (getAddress): Documentation added.
11925         (hashCode): Documentation added.
11926         (equals): Documentation added.
11927         (toString): Fixed implementation.
11928         (getByAddress): Use Inet4Address and Inet6Address.
11929         (lookup): New linewrap.
11930         (getByName): SecurityManager check added, support Inet4Address and
11931         Inet6address, comments added.
11932         (getAllByName): SecurityManager check added, comments added.
11933         * java/net/Inet6Address.java:
11934         (Inet6Address): Initialize parent class with addr instead of null.
11935         * java/net/URL.java
11936         (equals): Documentation added.
11937         (getFile): Documentation added.
11938         (hashCode): Documentation added.
11939         * java/net/natInetAddress.cc:
11940         (aton): Fix IPv6 support.
11941         * java/net/natPlainDatagramSocketImpl.cc:
11942         (peek): Throw PortUnreachableException when suitable.
11943         (peekData): Throw PortUnreachableException when suitable.
11944         (send): Throw PortUnreachableException when suitable.
11945         (receive): Throw PortUnreachableException when suitable.
11946
11947 2002-10-27  Mark Wielaard  <mark@klomp.org>
11948
11949         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11950         argument.
11951         (readLeShort): Likewise and use byte[].
11952         (readLeInt): Likewise.
11953         (readEntries): Use new versions of methods and use byte[] for reading
11954         a complete zip entry. Add ZipFile name to exceptions.
11955         (entries): Add ZipFile name to exceptions.
11956         (getEntry): Likewise.
11957         (checkLocalHeader): Use new versions of methods and add ZipFile name
11958         to exceptions.
11959
11960 2002-10-31  Mark Anderson  <mark@panonet.net>
11961
11962         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11963         added
11964
11965 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11966
11967         * configure.in: Disable hash sync when not using threads.
11968         * configure: Regenerated.
11969
11970 2002-10-24  Tom Tromey  <tromey@redhat.com>
11971
11972         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11973         (_Jv_FindSymbolInExecutable): Removed argument name.
11974         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11975         java.library.path is set.
11976
11977         * gij.cc (help): Document --showversion.
11978         (version): Don't exit.
11979         (main): Handle --showversion.  Exit if --version given.
11980
11981 2002-10-23  Tom Tromey  <tromey@redhat.com>
11982
11983         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11984         (array_from_valist): Correctly handle promotion for jint, jlong,
11985         jfloat, and jdouble.
11986
11987 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11988
11989         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11990         GetFileAttributesEx( ) to find file length and modification times,
11991         as the latter is not present on Windows 95.
11992
11993 2002-10-21  Michael Koch  <konqueror@gmx.de>
11994
11995         * java/net/URL.java
11996         (URL): Activate SecurityManager checks.
11997         (equals): Use URLStreamHandler implementation instead of doing it
11998         alone. This allows special protocol stream handlers to change default
11999         behaviour.
12000         (hashCode): Use URLStreamHandler implementation instead of doing it
12001         alone. This allows special protocol stream handlers to change default
12002         behaviour.
12003         * java/net/URLStreamHandler.java
12004         (equals): Implemented default URL equality check.
12005         (hostsEqual): Implemented default URL equality check.
12006         (hashCode): Implemented default URL hashCode algorithm.
12007         * java/net/natPlainDatagramSocketImpl.cc:
12008         No lines longer then 80 characters.
12009
12010 2002-10-20  Adam Megacz <adam@xwt.org>
12011
12012         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12013         * configure.in: enabled hash sync on Win32
12014         * include/win32-threads.h (_Jv_ThreadId_t): added.
12015         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12016         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12017         removed some posix-isms, use Thread::sleep() instead of usleep,
12018         added code to clear bottom three bits if platform has a broken
12019         linker.
12020         * include/win32-threads.h (_Jv_ThreadId_t): added.
12021
12022 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12023
12024         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12025         runtime property "gnu.gcj.progname" containing the name used to
12026         invoke the current Java program (similar to argv[0] for C
12027         programs).
12028
12029 2002-10-15  Tom Tromey  <tromey@redhat.com>
12030
12031         Fix for PR libgcj/8234:
12032         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12033         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12034
12035 2002-10-13  Mark Wielaard  <mark@klomp.org>
12036
12037         * mauve-libgcj: Enable Mauve tests that compile now.
12038
12039 2002-10-11  Mark Wielaard  <mark@klomp.org>
12040
12041         Fix for PR libgcj/8142
12042         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12043         loading native modules.
12044
12045 2002-10-10  Michael Koch  <konqueror@gmx.de>
12046
12047         * javax/swing/AbstractListModel.java
12048         (getListDataListeners): New stubbed method.
12049         javax/swing/DefaultBoundedRangeModel.java
12050         (getChangeListeners): New stubbed method.
12051         javax/swing/DefaultSingleSelectionModel.java
12052         (getChangeListeners): New stubbed method.
12053
12054 2002-10-10  Michael Koch  <konqueror@gmx.de>
12055
12056         * gcj/.cvsignore: New file to ignore files generated during build.
12057         * include/.cvsignore: New file to ignore files generated during build.
12058
12059 2002-10-10  Michael Koch  <konqueror@gmx.de>
12060
12061         * java/net/HttpURLConnection.java
12062         (getPermission): New method.
12063         (getErrorStream): New stub method.
12064         (getHeaderFieldDate): New stub method.
12065         * java/net/Inet4Address.java:
12066         (isLinkLocalAddress): Typo fixed.
12067         * java/net/InetAddress.java:
12068         (readResolve): New stubbed method (for serialization).
12069         (isAnyLocalAddress): New stubbed method.
12070         (isLoopbackAddress): New stubbed method.
12071         (isLinkLocalAddress): New stubbed method.
12072         (isSiteLocalAddress): New stubbed method.
12073         (isMCGlobal): New stubbed method.
12074         (isMCNodeGlobal): New stubbed method.
12075         (isMCLinkLocal): New stubbed method.
12076         (isMCSiteLocal): New stubbed method.
12077         (isMCOrgLocal): New stubbed method.
12078         (getCanonicalHostName): New stubbed method.
12079         (getByAddress): Create instances of Inet4Address/Inet6Address,
12080         instead of InetAddress, documentation added.
12081         * java/net/MulticastSocket.java
12082         (getInterface): Removed FIXME.
12083         (getNetworkInterface): New method.
12084         (setNetworkInterface): New method.
12085         * java/net/NetworkInterface.java:
12086         (toString): Use property "line.separator" instead of "\n".
12087         * java/net/URLConnection.java
12088         (getContent): New stubbed method.
12089         * java/net/URLStreamHandler.java:
12090         (equals): New stubbed method.
12091         (hostsEqual): New stubbed method.
12092         (hashCode): New stubbed method.
12093         * java/net/natNetworkInterface.cc:
12094         (getRealNetworkInterfaces): Create Inet4Address object
12095         instead of InetAddress.
12096
12097 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12098
12099         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12100         unsigned long temporary to implement insn_iushr shifts.
12101
12102 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12103
12104         * configure.host [s390*-*]: Enable Java interpreter.
12105         Enable hash synchronization.  Add sysdeps dir.
12106         * sysdep/s390/locks.h: New file.
12107
12108 2002-10-06  Mark Wielaard  <mark@klomp.org>
12109
12110         * java/lang/Thread.java (setDaemon): Check startable_flag,
12111         not isAlive().
12112
12113 2002-10-07  Michael Koch  <konqueror@gmx.de>
12114
12115         * java/nio/Buffer.java: New stub file.
12116         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12117         of class Charset.
12118         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12119         * Makefile.in: Regenerated.
12120
12121 2002-10-07  Michael Koch  <konqueror@gmx.de>
12122
12123         * java/nio/ByteBuffer.java:
12124         removed import of not commited class.
12125
12126 2002-10-07  Michael Koch  <konqueror@gmx.de>
12127
12128         * java/nio/ByteBuffer.java,
12129         java/nio/MappedByteBuffer.java:
12130         New files, forgot to add these dummies.
12131         * Makefile.am (java_native_source_files): Added new files.
12132         * Makefile.in: Regenerated.
12133
12134 2002-10-07  Michael Koch  <konqueror@gmx.de>
12135
12136         * java/nio/channels/AlreadyConnectedException.java,
12137         java/nio/channels/ClosedChannelException.java,
12138         java/nio/channels/ReadableByteChannel.java,
12139         java/nio/channels/InterruptibleChannel.java,
12140         java/nio/channels/Channel.java,
12141         java/nio/channels/ByteChannel.java,
12142         java/nio/channels/GatheringByteChannel.java,
12143         java/nio/channels/ScatteringByteChannel.java,
12144         java/nio/channels/WritableByteChannel.java,
12145         java/nio/charset/CharacterCodingException.java,
12146         java/nio/charset/IllegalCharsetNameException.java,
12147         java/nio/charset/MalformedInputException.java,
12148         java/nio/charset/UnmappableCharacterException.java,
12149         java/nio/charset/UnsupportedCharsetException.java,
12150         java/nio/charset/spi/CharsetProvider.java: New file.
12151         These files are exceptions or interfaces,
12152         no real or abstract classes.
12153         * Makefile.am (java_native_source_files): Added new files.
12154         * Makefile.in: Regenerated.
12155
12156 2002-10-05  Michael Koch  <konqueror@gmx.de>
12157
12158         * java/net/InetAddress.java
12159         (getByAddress): Fixed documentation.
12160         (getByAddress): New method.
12161         * java/net/Inet4Address.java: New file.
12162         * java/net/URL.java
12163         (URL): Documentation added.
12164         (getContent): Documentation added.
12165         (getContent): New stubbed method.
12166         (getQuery): New method.
12167         (openConnection): Documentation added.
12168         (openStream): Documentation added.
12169         (setURLStreamHandlerFactory): Documentation added.
12170         * java/net/URI.java: New stub file.
12171         * Makefile.am
12172         (java_native_source_files): Added java/net/Inet4Address.java,
12173         java/net/Inet6Address.java and java/net/URI.java.
12174         * Makefile.in: Regenerated.
12175
12176 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12177
12178         * java/lang/ProtectionDomain.java (linesep): Remove field.
12179         (toString): Use System.getProperty("line.separator").
12180
12181 2002-10-04  Michael Koch  <konqueror@gmx.de>
12182
12183         * java/security/Identity.java: Added serialVersionUID.
12184         * java/security/KeyPair.java: Added serialVersionUID.
12185         * java/security/Provider.java: Added serialVersionUID.
12186         * java/security/SecureRandom.java: Added serialVersionUID.
12187         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12188         * java/security/SignedObject.java: Added serialVersionUID.
12189         * java/security/cert/Certificate.java: Added serialVersionUID.
12190
12191 2002-10-04  Mark Wielaard <mark@klomp.org>
12192
12193         * java/security/Security.java: Use java.home or gnu.classpath.home
12194         to load providers.
12195         (loadProviders): Extra dir argument.
12196         (getProvider): Return null when not found.
12197
12198 2002-10-04  Mark Wielaard  <mark@klomp.org>
12199
12200         * java/lang/Throwable.java: Remerge with Classpath.
12201
12202 2002-10-04  Michael Koch  <konqueror@gmx.de>
12203
12204         * java/net/InetAddress.java:
12205         (isMulticastAddress): Added documentation.
12206         (getHostAddress): Added documentation.
12207         (toString): Added documentation.
12208         (getByAddress): Fixed documentation.
12209         (getByName): Added documentation.
12210         (getAllByName): Added documentation.
12211         (getLocalHost): Added documentation.
12212
12213 2002-10-04  Michael Koch  <konqueror@gmx.de>
12214
12215         * java/beans/beancontext/BeanContextChildSupport.java:
12216         Added serialVersionUID.
12217         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12218         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12219         * javax/naming/Name.java: Added serialVersionUID.
12220
12221 2002-10-03  Adam Megacz <adam@xwt.org>
12222
12223         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12224         some functionality that isn't supported yet on WIN32.
12225
12226 2002-10-03  Tom Tromey  <tromey@redhat.com>
12227
12228         * Makefile.in: Rebuilt.
12229         * Makefile.am (awt_java_source_files): Added new files.
12230
12231 2002-10-03  Michael Koch  <konqueror@gmx.de>
12232
12233         * java/net/InetAddress.java
12234         (class InetAddress): Removed final keyword.
12235         (equals): Fixed typo.
12236         (getByAddress): New method.
12237
12238 2002-10-03  Michael Koch  <konqueror@gmx.de>
12239
12240         * java/awt/dnd/Autoscroll.java:
12241         New file, merge from Classpath.
12242         * java/awt/dnd/DragSourceAdapter.java:
12243         (dragExit): Fixed typos in argument type.
12244         (dragDropEnd): Fixed typos in argument type.
12245         * java/awt/dnd/DragSourceDropEvent.java:
12246         New file, merge from Classpath.
12247         * java/awt/dnd/DropTarget.java:
12248         Added stubs, merge from Classpath.
12249         * java/awt/dnd/DropTargetAdapter.java:
12250         New file, merge from Classpath.
12251         * java/awt/dnd/DropTargetContext.java:
12252         New file, merge from Classpath.
12253         * java/awt/dnd/DropTargetDragEvent.java:
12254         New file, merge from Classpath.
12255         * java/awt/dnd/DropTargetDropEvent.java:
12256         New file, merge from Classpath.
12257         * java/awt/dnd/DropTargetEvent.java:
12258         New file, merge from Classpath.
12259         * java/awt/dnd/DropTargetListener.java:
12260         New file, merge from Classpath.
12261         * java/awt/dnd/MouseDragGestureRecognizer.java:
12262         New file, merge from Classpath.
12263         * java/awt/dnd/peer/DropTargetContextPeer.java:
12264         New file, merge from Classpath.
12265
12266 2002-10-03  Michael Koch  <konqueror@gmx.de>
12267
12268         * java/net/DatagramPacket.java
12269         (setLength): Fixed typo and be HTML-aware.
12270         * java/net/InetSocketAddress.java
12271         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12272         (equals): Added comment about equality of InetSocketAddress objects.
12273         * java/net/ServerSocket.java
12274         (accept): Added checks.
12275         (isClosed): New stubbed method.
12276         * java/net/SocketOptions.java: Reindention.
12277         * java/net/SocketPermission
12278         (SocketPermission): Documentation fixed.
12279
12280 2002-10-03  Michael Koch  <konqueror@gmx.de>
12281
12282         * java/net/DatagramSocket.java
12283         (receive): Check with SecurityManager AFTER the packet is received,
12284         check if connected to multicast address, documentation added.
12285         (send): Only check SecurityManager if connected, check address of
12286         packet to send.
12287         (connect): Implemented, documentation added.
12288         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12289         * java/net/InetSocketAddress.java
12290         (whole file): Reindented.
12291         (hostname): New attribute.
12292         (InetSocketAddress): Initialize new attribute.
12293         (getAddress): Documentation added.
12294         (getHostName): Documentation added.
12295         (getPort): Documentation added.
12296         (hashCode): Documentation added.
12297         (isUnresolved): Documentation added.
12298         (toString): Conform to output of JDK 1.4.1, documentation added.
12299         * java/net/MulticastSocket.java
12300         (joinGroup): Removed FIXME, documentation added.
12301         (leaveGroup): Removed FIXME, documentation added.
12302         (send): Documentation added.
12303         * java/net/Socket.java
12304         (inputShutdown): New variable.
12305         (outputShutdown): New variable.
12306         (Socket): Initialize new variables.
12307         (getRemoteSocketAddress): Check if connected.
12308         (shutdownInput): Set new variable.
12309         (shutdownOutput): Set new variable.
12310         (isConnected): New method.
12311         (isClosed): New method.
12312         (isInputShutdown): New method.
12313         (isOutputShutdown): New method.
12314         * java/net/URLStreamHandler.java
12315         (URLStreamHandler): New method.
12316         (openConnection): Added documentation.
12317         (parseURL): Added documentation.
12318         (getHostAddress): New method.
12319         (getDefaultPort): New method.
12320
12321 2002-10-02  Tom Tromey  <tromey@redhat.com>
12322
12323         * java/rmi/activation/ActivationDesc.java,
12324         java/rmi/activation/ActivationGroupDesc.java,
12325         java/rmi/activation/ActivationGroupID.java,
12326         java/rmi/activation/ActivationID.java: New versions from
12327         Classpath.
12328
12329 2002-09-30  Bo Thorsen  <bo@suse.de>
12330
12331         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12332
12333 2002-09-30  Tom Tromey  <tromey@redhat.com>
12334
12335         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12336         from Classpath.
12337         * Makefile.in: Rebuilt.
12338         * Makefile.am (rmi_java_source_files): Added new files.
12339         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12340         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12341         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12342         Classpath.
12343         * gnu/java/rmi/dgc/DGCImpl.java,
12344         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12345         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12346         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12347         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12348         gnu/java/rmi/server/RMIHashes.java,
12349         gnu/java/rmi/server/RMIObjectInputStream.java,
12350         gnu/java/rmi/server/RMIObjectOutputStream.java,
12351         gnu/java/rmi/server/UnicastConnection.java,
12352         gnu/java/rmi/server/UnicastConnectionManager.java,
12353         gnu/java/rmi/server/UnicastRef.java,
12354         gnu/java/rmi/server/UnicastServer.java,
12355         gnu/java/rmi/server/UnicastServerRef.java,
12356         java/rmi/MarshalledObject.java,
12357         java/rmi/server/RMIClassLoader.java,
12358         java/rmi/server/RemoteObject.java,
12359         java/rmi/server/UnicastRemoteObject.java,
12360         java/security/SecureClassLoader.java: Merged from Classpath.
12361
12362 2002-09-29  Anthony Green  <green@redhat.com>
12363
12364         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12365         Imported from GNU Classpath.
12366         * java/lang/reflect/natProxy.cc: New file.
12367         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12368         from GNU Classpath.
12369         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12370         Classpath.
12371         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12372         Classpath.
12373         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12374         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12375         New statics.
12376         * gcj/javaprims.h ("Java"): Add new classes.
12377         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12378         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12379         java/lang/reflect/Proxy$$ProxyType.h): And this.
12380         (inner_nat_headers): Add these new headers.
12381         (ordinary_java_source_files): Add new files.
12382         (nat_source_files): Add new file.
12383         * Makefile.in: Rebuilt.
12384
12385 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12386
12387         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12388         a single configuration.
12389
12390 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12391
12392         * java/util/TimeZone.java (getDSTSavings): New method.
12393         Fixes PR libgcj/7786.
12394
12395 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12396
12397         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12398         to see if `the_method == 0' before looking up vtable index.
12399         Fixes PR libgcj/7709.
12400
12401 2002-09-25  Tom Tromey  <tromey@redhat.com>
12402
12403         * java/lang/natClassLoader.cc:
12404         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12405         * resolve.cc: Include NoClassDefFoundError.h, not
12406         ClassNotFoundException.h.
12407         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12408
12409         * defineclass.cc: Don't include ClassNotFoundException.h.
12410
12411         * resolve.cc: Include StringBuffer.
12412         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12413
12414         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12415         allocated but not initialized.
12416
12417 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12418
12419         Fix for PR libgcj/7766:
12420         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12421         (getNextEntry): Set it.
12422         (closeEntry): Likewise.
12423         (read): Likewise.
12424         (close): Likewise.
12425         (available): Use it.
12426
12427 2002-09-25  Michael Koch  <konqueror@gmx.de>
12428
12429         * java/net/DatagramSocket.java
12430         (DatagramSocket): Initialize new instance variables.
12431         (close): Reset new instance variables.
12432         (getLocalAddress): Remove unneeded SecurityManager usage.
12433         (getLocalPort): Check if socket is already bound.
12434         (isConnected): New method.
12435         (getInetAddress): Implemented.
12436         (getPort): Better Implementation, documentation fixed.
12437         (getRemoteSocketAddress): New method.
12438         * java/net/JarURLConnection.java
12439         (element): Typo fixed.
12440         (getMainAttributes): New method.
12441         (getAttributes): New method (stub only).
12442         (getManifest): New method (stub only).
12443         * java/net/NetPermission.java: Added serialVersionsUID.
12444         * java/net/Socket.java
12445         (connect): Check blocking mode of associated channel,
12446         documentation added.
12447         (getLocalSocketAddress): Better implementation.
12448         (getRemoteSocketAddress): Implemented.
12449         (isBound): New method.
12450         (setSendBufferSize): Documentation added.
12451         * java/net/SocketAddress.java: Added serialVersionsUID.
12452         * java/net/SocketPermission.java: Added serialVersionsUID.
12453         * java/net/URL.java
12454         (URL): Wrap for shorter lines, initialize new instance variables,
12455         documentation added.
12456         (equals): Check new instance variables too.
12457         (getContent): Documentation added.
12458         (getPath): Documentation added.
12459         (getAuthority): New method.
12460         (getHost): Documentation added.
12461         (getPort): Documentation added.
12462         (getDefaultPort): New method.
12463         (getProtocol): Documentation added.
12464         (getUserInfo): Documentation added.
12465         (set): Initialize new instance variables, documentation added.
12466         * java/net/URLStreamHandler.java
12467         (setURL): New method.
12468         * java/net/natPlainDatagramSocketImpl.cc
12469         (connect): Fix exception name.
12470         (disconnect): Fix exception name.
12471
12472 2002-09-25  Michael Koch  <konqueror@gmx.de>
12473
12474         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12475         * java/nio/channels/DatagramChannel.java:
12476         extends AbstractSelectableChannel
12477         * java/nio/channels/ServerSocketChannel.java:
12478         extends AbstractSelectableChannel
12479         * java/nio/channels/SocketChannel.java:
12480         extends AbstractSelectableChannel
12481         * Makefile.am (ordinary_java_source_files):
12482         java/nio/channels/spi/AbstractSelectableChannel.java added.
12483         * Makefile.in: Regenerated.
12484
12485 2002-09-25  Michael Koch  <konqueror@gmx.de>
12486
12487         * java/net/DatagramSocket.java
12488         (DatagramSocket): Exception documentation added.
12489         (bind): Exception documentation added, addded SecurityManager check,
12490         added SocketAddress type check.
12491         (getSoTimeout): Check impl.
12492         (receive): Fix SecurityManager check, check impl, documentation added.
12493         (send): Check channel mode, documentation added.
12494         (connect): New method.
12495         (disconnect): Implemented.
12496         (getLocalSocketAddress): New method.
12497         (getReceiveBufferSize): Check impl.
12498         (setReuseAddress): Check impl.
12499         (getReuseAddress): Check impl.
12500         (setBroadcast): Check impl.
12501         (getBroadcast): Check impl.
12502         (setTrafficClass): Check impl, Documentation cleared.
12503         (getTrafficClass): Check impl.
12504         (getSendBufferSize): Check impl.
12505         (setReceiveBufferSize): Check impl, documentation added.
12506         (setSendBufferSize): Documentation added.
12507         (setDatagramSocketImplFactory): New method.
12508         * java/net/HttpURLConnection.java
12509         (HTTP_INTERNAL_ERROR): The correct code is 500.
12510         (HTTP_NOT_IMPLEMENTED): Added new constant.
12511         (setFollowRedirects): Documentation added.
12512         (getInstanceFollowRedirects): New method.
12513         (setInstanceFollowRedirects): New method.
12514         (setRequestMethod): Documentation added.
12515         (getResponseCode): Documentation added.
12516         (getResponseMessage): Documentation added.
12517         * java/net/JarURLConnection.java
12518         (JarURLConnection): protected since JDK 1.4.
12519         (getJarEntry): java.io.IOException to IOException, documentation added.
12520         (getJarFile): Documentation added.
12521         * java/net/ServerSocket.java
12522         (ServerSocket): Private to public, exception added.
12523         (ServerSocket): java.io.IOException to IOException, documentation added.
12524         (bind): Check socket address type, documentation added.
12525         (bind): java.io.IOException to IOException, documentation added.
12526         (accept): Documentation added.
12527         (implAccept): Check ch is not non-blocking, documentation added.
12528         (setSoTimeout): Documentation fixed.
12529         (setReceiveBufferSize): Documentation added.
12530         * java/net/Socket.java
12531         (Socket): Documentation added.
12532         (bind): Documentation added.
12533         (connect): Check socket address type, documentation added.
12534         (getRemoteSocketAddress): New method.
12535         (getLocalSocketAddress): New method.
12536         (setSoLinger): Documentation added.
12537         (getReuseAddress): New method.
12538         (setReuseAddress): New method.
12539         (getTrafficClass): New method.
12540         (setTrafficClass): New method.
12541         * java/net/URLStreamHandler.java
12542         (openConnection): java.io.IOException to IOException.
12543         (parseURL): Documentation added.
12544         (sameFile): public to protected, documentation added.
12545         (setURL): Documentation added.
12546         * java/nio/IllegalBlockingModeException.java: New file.
12547         * Makefile.am (ordinary_java_source_files):
12548         added java/nio/IllegalBlockingModeException.java
12549         * Makefile.in: Regenerated.
12550
12551 2002-09-25  Michael Koch  <konqueror@gmx.de>
12552
12553         * java/net/DatagramPacket
12554         (DatagramPacket): Exception documentation added.
12555         (setData): Likewise.
12556         (setSocketAddress): Likewise.
12557         * java/net/DatagramSocketImpl.java
12558         (peek): Documentation addded.
12559         (peekData): Documentation addded.
12560         (send): Documentation addded.
12561         (receive): Documentation addded.
12562         (connect): New method.
12563         (disconnect): New method.
12564         (joinGroup): New abstract method.
12565         (leaveGroup): New abstract method.
12566         * java/net/InetSocketAddress.java
12567         (InetSocketAddress): Documentation added.
12568         (equals): final keyword added.
12569         (getAddress): final keyword added.
12570         (getHostName): final keyword added.
12571         (getPort): final keyword added.
12572         (hashCode): final keyword added.
12573         (isUnresolved): final keyword added.
12574         * java/net/MulticastSocket.java
12575         (MulticastSocket): Documentation added.
12576         (MulticastSocket): New method.
12577         (joinGroup): Documentation added.
12578         (joinGroup): New method.
12579         (leaveGroup): Documentation added.
12580         (leaveGroup): New method.
12581         (send): Documentation added.
12582         * java/net/NetworkInterface.java
12583         (getByName): Documentation added.
12584         (getByInetAddress): Documentation added.
12585         (getNetworkInterfaces): Documentation added.
12586         * java/net/PlainDatagramSocketImpl.java
12587         (connect): New method.
12588         (disconnect): New method.
12589         * java/net/SocketImpl.java
12590         (create): Documentation added.
12591         (shutdownInput): Convert public to protected, as it always was.
12592         (shutdownOutput): Convert public to protected, as it always was.
12593         * java/net/SocketOptions.java
12594         (whole file): Reintented.
12595         * java/net/URLClassLoader.java
12596         (URLClassLoader): SecurityManager check added, documentation added.
12597         (findResources): Documentation added.
12598         (findClass): Documentation added.
12599         (newInstance): More correct method arguments.
12600         * java/net/URLConnection.java
12601         (connect): Documentation added.
12602         (getContent): Documentation added.
12603         (getPermission): Documentation added.
12604         (getInputStream): Documentation added.
12605         (getOutputStream): Documentation added.
12606         (setDoInput): Throw correct exception, documentation added.
12607         (setDoOutput): Throw correct exception, documentation added.
12608         (setAllowUserInteraction): Throw correct exception, documentation added.
12609         (setUseCaches): Throw correct exception, documentation added.
12610         (setIfModifiedSince): Throw correct exception, documentation added.
12611         (setRequestProperty): Throw exception, documentation added.
12612         (addRequestProperty): Throw exception, documentation added.
12613         (getRequestProperty): Throw exception, documentation added.
12614         (getRequestProperties): Documentation added.
12615         (setContentHandlerFactory): Documentation added.
12616         (guessContentTypeFromName): protected to public.
12617         (setFileNameMap): Documentation added.
12618         * java/net/URLDecoder.java
12619         (URLDecoder): New method.
12620         (decode): Documentation added.
12621         (whole file): Reindented.
12622         * java/net/URLEncoder.java
12623         (encode): Documentation added.
12624         * java/net/natPlainDatagramSocketImpl.cc
12625         (connect): New method.
12626         (disconnect): New method.
12627         * javax/naming/RefAddr:
12628         (addrType): addrType was never final.
12629         (equals): Fix typo in method name.
12630         * javax/naming/BinaryRefAddr:
12631         (equals): Fix typo in method name.
12632
12633 2002-09-22  Tom Tromey  <tromey@redhat.com>
12634
12635         Fix for PR libgcj/6576:
12636         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12637         didn't find a given bundle.
12638         (getBundle): Don't require base bundle.
12639         (setParent): Removed old comment.
12640         (tryLocalBundle): Try components even if preceding components were
12641         empty.
12642
12643 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12644
12645         * Makefile.am (all-multi): Fix multilib parallel build.
12646
12647 2002-09-21  Michael Koch  <konqueror@gmx.de>
12648
12649         * java/net/Socket.java
12650         (sendUrgentData): New method.
12651         (getChannel): New method.
12652         * java/net/ServerSocket.java
12653         (getChannel): New method.
12654         (isBound): New method.
12655         * java/net/DatagramSocket.java
12656         (DatagramSocket): Two new methods.
12657         (bind): New method.
12658         (getChannel): New method.
12659         (isBound): New method.
12660         (send): Added newline to to make shorter lines.
12661         * java/net/PlainDatagramSocketImpl.java
12662         (mcastGrp): Added argument.
12663         (join): Use new mcastGrp.
12664         (leave): Use new mcastGrp.
12665         (joinGroup): New method.
12666         (leaveGroup): New method.
12667         * java/net/natPlainDatagramSocketImpl.cc
12668         (mcastGrp): Added argument, no yet really implemented.
12669         (getOption): Added newline for shorter lines.
12670         * java/net/natPlainSocketImpl.cc
12671         (read, setOption, getOption): Added newline for shorter lines.
12672
12673 2002-09-19  Tom Tromey  <tromey@redhat.com>
12674
12675        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12676        newly-created exception.
12677
12678 2002-09-18  Michael Koch  <konqueror@gmx.de>
12679
12680         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12681         java/util/regex/PatternSyntaxException.java:
12682         Merge with classpath, new files.
12683         * Makefile.am (core_java_source_files):
12684         Added java/util/regex/Matcher.java,
12685         java/util/regex/Pattern.java,
12686         java/util/regex/PatternSyntaxException.java
12687         * Makefile.in: Regenerated.
12688         * include/config.h.in: Added HAVE_NET_IF_H.
12689         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12690         Removed #if 0 ... #endif.
12691
12692 2002-09-17  Michael Koch  <konqueror@gmx.de>
12693
12694         * java/net/natNetworkInterface.cc:
12695         Removed unneed and yet wrong includes.
12696
12697 2002-09-17  Michael Koch  <konqueror@gmx.de>
12698
12699         * java/net/NetworkInterface.java: New file.
12700         * java/net/natNetworkInterface.java: New file.
12701         * configure.in: Added check for net/if.h.
12702         * configure: Regenerated.
12703         * Makefile.am
12704         (ordinary_java_source_files): Added NetworkInterface.java.
12705         (nat_source_files): Added natNetworkInterface.cc.
12706         * Makefile.in: Regenerated.
12707
12708 2002-09-16  Tom Tromey  <tromey@redhat.com>
12709
12710         * java/net/URLClassLoader.java (findClass): Code source for a
12711         class from a jar is not necessarily a jar: URL.
12712
12713 2002-09-16  Michael Koch  <konqueror@gmx.de>
12714
12715         * java/lang/AssertionError.java:
12716         Merge with classpath, fixes HTML.
12717         * java/rmi/server/LogStream.java:
12718         Merge with classpath, fixes some constants.
12719         * java/net/server/RemoteServer.java:
12720         Merge with classpath, adds serialVersionUID.
12721         * javax/naming/BinaryRefAddr.java:
12722         Merge with classpath, s/equal/equals/.
12723         * javax/naming/NamingException.java:
12724         Merge with classpath, fixed typo.
12725         * javax/naming/RefAddr.java:
12726         Merge with classpath, s/equal/equals/.
12727         * java/awt/Toolkit.java:
12728         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12729         and typo fixed.
12730
12731 2002-09-15  Adam Megacz <adam@xwt.org>
12732
12733         * java/net/natPlainSocketImpl.cc: fixed typo.
12734
12735 2002-09-15  Adam Megacz <adam@xwt.org>
12736
12737         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12738         which don't work on Win32 (yet).
12739
12740 2002-09-14  Adam Megacz <adam@xwt.org>
12741
12742         * java/net/natPlainDatagramSocket.cc: removed #include
12743         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12744         * include/win32.h: included definition for IP_TOS to satisfy
12745         natPlainDatagramSocket.cc
12746
12747 2002-09-13  Michael Koch  <konqueror@gmx.de>
12748
12749         * java/net/DatagramPacket.java (DatagramPacket):
12750         Added linebreak for 80 chars per line.
12751         * java/net/JarURLConection.java
12752         (getInputStreami, getJarEntry): Likewise.
12753         * java/net/SocketPErmission.java
12754         (SocketPermission class docu, implies): Likewise.
12755         * java/net/URLClassLoader.java (findResources): Likewise.
12756         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12757
12758 2002-09-13  Michael Koch  <konqueror@gmx.de>
12759
12760         * java/nio/channels/DatagramChannel.java,
12761         java/nio/channels/ServerSocketChannel.java
12762         java/nio/channels/SocketChannel.java:
12763         New dummy files to make java.net fully JDK 1.4 compatible
12764         * Makefile.am (ordinary_java_source_files): Added
12765         java/net/DatagramSocketImplFactory.java (long forgotten),
12766         java/nio/SocketChannel.java,
12767         java/nio/ServerSocketChannel.java,
12768         java/nio/DatagramChannel.java
12769         * Makefile.in: Regenrated.
12770
12771 2002-09-12  Michael Koch  <konqueror@gmx.de>
12772
12773         * java/net/DatagramSocketImpl.java
12774         (peekData): New method.
12775         * java/net/PlainDatagramSocketImpl.java
12776         (peekData): New method.
12777         * java/net/natPlainDatagramSocketImpl.cc
12778         (peekData): New method.
12779         * java/net/URLConnection
12780         (getPermission): New method.
12781         (addRequestProperty): New method.
12782         (getRequestProperties): New method.
12783         (guessContentTypeFromStream): New method, not really implemented.
12784         (URLConnection): Added/updated documentation.
12785         (connect): Added/updated documentation.
12786         (getURL): Added/updated documentation.
12787         (getContentLength): Added/updated documentation.
12788         (getContentType: Added/updated documentation.
12789         (getContentEncoding): Added/updated documentation.
12790         (getExpiration): Added/updated documentation.
12791         (getDate): Added/updated documentation.
12792         (getLastModified): Added/updated documentation.
12793         (getHeaderField): Added/updated documentation.
12794         (getHeaderFields): Added/updated documentation.
12795         (getHeaderFieldInt): Added/updated documentation.
12796         (getHeaderFieldDate): Added/updated documentation.
12797         (getHeaderFieldKey): Added/updated documentation.
12798         (getContent): Added/updated documentation.
12799         (getInputStream): Added/updated documentation.
12800         (getOutputStream): Added/updated documentation.
12801         (toString): Added/updated documentation.
12802         (setDoInput): Added/updated documentation.
12803         (getDoInput): Added/updated documentation.
12804         (setDoOutput): Added/updated documentation.
12805         (getDoOutput): Added/updated documentation.
12806         (setAllowUserInteraction): Added/updated documentation.
12807         (getAllowUserInteraction): Added/updated documentation.
12808         (setDefaultAllowUserInteraction): Added/updated documentation.
12809         (getDefaultAllowUserInteraction): Added/updated documentation.
12810         (setUseCaches): Added/updated documentation.
12811         (getUseCaches): Added/updated documentation.
12812         (setIfModifiedSince): Added/updated documentation.
12813         (getIfModifiedSince): Added/updated documentation.
12814         (getDefaultUseCaches): Added/updated documentation.
12815         (setDefaultUseCaches): Added/updated documentation.
12816         (setRequestProperty): Added/updated documentation.
12817         (getRequestProperty): Added/updated documentation.
12818         (setDefaultRequestProperty): Added/updated documentation.
12819         (getDefaultRequestProperty): Added/updated documentation.
12820         (setContentHandlerFactory): Added/updated documentation.
12821         (guessContentTypeFromName): Added/updated documentation.
12822         (getFileNameMap): Added/updated documentation.
12823         (setFileNameMap): Added/updated documentation.
12824
12825 2002-09-11  Michael Koch  <konqueror@gmx.de>
12826
12827         * java/net/Socket.java
12828         (Socket): protected to public (since JDK 1.4). Added @specnote.
12829         (bind): New method.
12830         (connect): Two new methods.
12831         (getKeepalive): Get correct socket option.
12832         (setKeepalive): Set correct socket option.
12833         (getOOBInline): New method.
12834         (setOOBInline): New method.
12835         * java/net/ServerSocket.java
12836         (bind): Two new methods.
12837         (getInetAddress): Reimplemented, catch exception.
12838         (getLocalSocketAddress): New method.
12839         (setReuseAddress): New method.
12840         (getReuseAdress): New method.
12841         (setReceiveBufferSize): New method.
12842         (getReceiveBufferSize): New method.
12843         (toString): Made string JDK 1.4 compliant.
12844
12845 2002-09-10  Michael Koch  <konqueror@gmx.de>
12846
12847         * java/net/SocketImpl.java
12848         (connect): New method.
12849         (supportsUrgentData): New method.
12850         (sendUrgentData): New method.
12851         * java/net/PlainSocketImpl.java
12852         (connect): One new method and two new implementation.
12853         (sendUrgentData): New method.
12854         * java/natPlainSocketImpl.cc
12855         (connect): Arguments changed, added support for timeouts.
12856         (getOption): Another __java_boolean to jboolean.
12857
12858 2002-09-07  Adam Megacz <adam@xwt.org>
12859
12860         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12861         definition of IP_TOS.
12862
12863 2002-09-04  Michael Koch  <konqueror@gmx.de>
12864
12865         * java/net/DatagramSocket.java
12866         (DatagramSocket): Added documentation.
12867         (close): Likewise.
12868         (getLocalAddress): Likewise.
12869         (getLocalPort): Likewise.
12870         (receive): Likewise.
12871         (send): Likewise.
12872         (setSoTimeout): Likewise.
12873         (connect): New method.
12874         (disconnect): New method.
12875         (getInetAddress): New method (FIXME)
12876         (getPort): New method.
12877         (setReuseAddress): New method.
12878         (getReuseAddress): New method.
12879         (setBroadcast): New method.
12880         (getBroadcast): New method.
12881         (setTrafficClass): New method.
12882         (getTrafficClass): New method.
12883         * java/net/MulticastSocket.java):
12884         (getTTL): Added @see in documentation.
12885         (setTTL): Added @see in documentation.
12886         (setLoopbackMode): New method.
12887         (getLoopbackMode): New method.
12888         * java/net/PlainSocketImpl.java:
12889         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12890         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12891         * java/net/PlainDatagramSocketImpl.java
12892         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12893         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12894         * java/net/natPlainSocketImpl.cc
12895         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12896         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12897         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12898         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12899         This should also fix SO_KEEPALIVE
12900         * java/net/natPlainDatagramSocketImpl.cc
12901         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12902         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12903         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12904         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12905
12906 2002-09-04  Michael Koch  <konqueror@gmx.de>
12907
12908         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12909         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12910         IP_MULTICAST_LOOP, IP_TOS
12911
12912 2002-09-03  Tom Tromey  <tromey@redhat.com>
12913
12914         * java/lang/Class.h (_getDeclaredMethod): Declare.
12915         (_getMethod): Now private.
12916         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12917         getDeclaredMethod.  Now returns NULL on failure.
12918         * java/lang/Class.java (_getDeclaredMethod): Declare.
12919         (getDeclaredMethod): No longer native; implements access checks.
12920
12921 2002-09-01  Mark Wielaard  <mark@klomp.org>
12922
12923         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12924         (sanitizeStack): Correctly reset unknown and interpreter counters,
12925         detect interpreter runtime frames.
12926         (demangleInterpreterMethod): New method.
12927         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12928         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12929         filling in addrs[].
12930
12931 2002-09-02  Michael Koch  <konqueror@gmx.de>
12932
12933         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12934         re-indented documentation.
12935
12936 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12937
12938         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12939         public, per 1.4 spec.  Fixes PR libgcj/7785.
12940
12941 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12942
12943         * Makefile.in: Rebuilt.
12944         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12945
12946 2002-08-29  Tom Tromey  <tromey@redhat.com>
12947
12948         * java/net/JarURLConnection.java (getCertificates): New method
12949         from Classpath.
12950         * java/net/URLClassLoader.java (URLClassLoader): Extends
12951         SecureClassLoader.
12952         (definePackage): New method from Classpath.
12953         (getPermissions): Likewise.
12954         (newInstance): Likewise.
12955         (findClass): Construct CodeSource for new class (from Classpath).
12956         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12957         methods.
12958         * java/net/URL.java (getUserInfo): New method.
12959         (set(String,String,int,String,String,String,String,String)): New
12960         method.
12961         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12962         (shutdownInput, shutdownOutput): Declare.
12963         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12964         Define.
12965         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12966         (getOption): Likewise.
12967         (shutdownInput): New method.
12968         (shutdownOutput): Likewise.
12969         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12970         keepalive.
12971         (getOption): Likewise.
12972         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12973         * java/net/Socket.java (setKeepAlive): New method.
12974         (getKeepAlive): Likewise.
12975         (shutdownInput, shutdownOutput): New methods.
12976
12977 2002-08-29  Michael Koch  <konqueror@gmx.de>
12978
12979         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12980         new methods are:
12981         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12982           address),
12983         DatagramPacket(byte[] buf, int length, SocketAddress address),
12984         void setSocketAddress(SocketAddress address)
12985         public SocketAddress getSocketAddress()
12986
12987 2002-08-29  Tom Tromey  <tromey@redhat.com>
12988
12989         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12990         ftruncate is missing.
12991         * configure, include/config.h.in: Rebuilt.
12992         * acconfig.h (HAVE_FTRUNCATE): Mention.
12993         * configure.in: Check for ftruncate.
12994
12995 2002-08-29  Tom Tromey  <tromey@redhat.com>
12996
12997         * include/jvm.h (struct _Jv_frame_info): New structure.
12998         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12999         java-interp.h.
13000         (lookupInterp): New method.
13001         (getAddrAsString): Use _Jv_frame_info.
13002         (dladdrLookup): Likewise.
13003         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13004         interpreted frame.
13005         (lookupInterp): Declare.
13006         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13007         (fillInStackTrace): Collect information on interpreted frames.
13008         Use _Jv_frame_info.
13009         * interpret.cc: Include Thread.h.
13010         (run): Create and push _Jv_MethodChain object.
13011         (_Jv_EndOfInterpreter): New global.
13012         * java/lang/Thread.java (interp_frame): New field.
13013         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13014         Include NameFinder.h.
13015
13016 2002-08-28  Tom Tromey  <tromey@redhat.com>
13017
13018         * java/lang/Class.h: Include Package.h.
13019         (Class::getProtectionDomain): Declare.
13020         (Class::getPackage): Declare.
13021
13022 2002-08-28  Michael Koch <konqueror@gmx.de>
13023
13024         * java/net/InetSocketAddress.java: Added some documentation and argument
13025         checks for the port numbers.
13026         * java/net/DatagramSocketImplFactory.java: New file.
13027
13028 2002-08-28  Michael Koch <konqueror@gmx.de>
13029
13030         * java/net/Authenticator.java: added some documentation.
13031
13032 2002-08-27  Tom Tromey  <tromey@redhat.com>
13033
13034         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13035         class.
13036         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13037
13038 2002-08-27  Michael Koch <konqueror@gmx.de>
13039
13040         * java/net/BindException.java,
13041         java/net/JarURLConnection.java,
13042         java/net/FileNameMap.java,
13043         java/net/HttpURLConnection.java,
13044         java/net/InetSocketAddress.java,
13045         java/net/DatagramPacket.java,
13046         java/net/DatagramSocket.java,
13047         java/net/DatagramSocketImpl.java,
13048         java/net/MulticastSocket.java,
13049         java/net/PasswordAuthentication.java,
13050         java/net/ServerSocket.java,
13051         java/net/Socket.java,
13052         java/net/URLClassLoader.java,
13053         java/net/URLConnection.java: add/update of some @since/@deprecated
13054
13055 2002-08-27  Tony Kimball <alk@pobox.com>
13056             Tom Tromey  <tromey@redhat.com>
13057
13058         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13059         define.
13060         (::close): Removed.
13061         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13062         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13063         (::close): Removed.
13064         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13065         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13066
13067 2002-08-25  Adam Megacz <adam@xwt.org>
13068
13069         * include/win32.h (getcwd): copied function declaration as
13070         temporary fix for header confusion.
13071
13072 2002-08-24  Mark Wielaard <mark@klomp.org>
13073
13074         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13075         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13076         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13077         and natNameFinder.cc.
13078         * Makefile.in: Regenerate.
13079         * prims.cc: Use trace_enabled from VMThrowable.
13080         * name-finder.cc: Removed.
13081         * gcj/javaprims.h: Add class VMThrowable.
13082         * gnu/gcj/runtime/NameFinder.java: New file.
13083         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13084         * include/name-finder.h: Removed.
13085         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13086         method stackTraceString().
13087         (printStackTrace (PrintWriter)): Likewise.
13088         (stackTraceString): Complete rewrite of old printStackTrace using
13089         StringBuffer.
13090         (stackTraceStringBuffer): New helper method for stackTraceString().
13091         (fillInStackTrace): Delegate to VMTrowable.
13092         (getStackTrace): Likewise.
13093         (getStackTrace0): Removed.
13094         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13095         (setStackTrace): Copy given array.
13096         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13097         * java/lang/VMThrowable.java: New class.
13098         * java/lang/natVMThrowable.cc: New file.
13099
13100 2003-08-23  Michael Koch  <konqueror@gmx.de>
13101
13102         * java/net/URLConnection.java,
13103         java/netJarURLConnection.java,
13104         gnu/gcj/protocol/core/Connection.java,
13105         gnu/gcj/protocol/file/Connection.java,
13106         gnu/gcj/protocol/http/Connection.java: Added implementation of
13107         getHeaderFields().
13108
13109 2002-08-22  Tom Tromey  <tromey@redhat.com>
13110
13111         * gij.cc (help): Document -cp and -classpath.
13112         (main): Handle -classpath.
13113
13114 2002-08-21  Tom Tromey  <tromey@redhat.com>
13115
13116         * Makefile.in: Rebuilt.
13117         * Makefile.am (ordinary_java_source_files): Added
13118         SocketAddress.java, InetSocketAddress.java.
13119         * java/net/PortUnreachableException.java: Merged with Classpath.
13120         * java/net/SocketTimeoutException.java: Likewise.
13121         * java/net/URISyntaxException.java: Likewise.
13122         * java/net/SocketAddress.java: New class from Classpath.
13123         * java/net/InetSocketAddress.java: Likewise.
13124
13125 2003-08-21  Michael Koch  <konqueror@gmx.de>
13126
13127         * java/net/Authenticator.java: updated JDK 1.4
13128         * java/net/ContentHandler.java: updated JDK 1.4
13129
13130 2002-08-20  Michael Koch  <konqueror@gmx.de>
13131
13132         * java/net/URISyntaxException.java: New file.
13133         * java/net/SocketTimeoutException.java: New file.
13134         * java/net/PortUnreachableException.java: New file.
13135         * Makefile.am: Updated.
13136         * Makefile.in: Rebuilt.
13137
13138 2002-08-18  Mark Wielaard  <mark@klomp.org>
13139
13140         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13141         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13142         MessageDigestSpi (fixes Classpath bug #783).
13143
13144 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13145
13146         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13147         (startProcess): Allocate path for chdir in async-signal-safe way.
13148
13149 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13150
13151         Fix for PR libgcj/7570 and PR libgcj/7578:
13152         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13153         (startProcess): Handle new `dir' argument.
13154         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13155         argument.
13156         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13157         argument.
13158         (startProcess): Likewise.
13159         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13160         argument.
13161         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13162         (exec): Don't create new environment if ENV==null.  Pass DIR to
13163         execInternal.
13164         * java/lang/natRuntime.cc: Include java/io/File.h.
13165         (execInternal): Added `dir' argument.
13166
13167 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13168
13169         * java/io/RandomAccessFile.java (skipBytes): Return number of
13170         bytes skipped.
13171
13172 2002-08-01  Mark Wielaard  <mark@klomp.org>
13173
13174         Reenable patch since shared library troubles on powerpc are solved:
13175         * gnu/java/security/provider/Gnu.java: Reference all implementation
13176         classes by using Class.getName().
13177         * gnu/java/security/der/DEREncodingException.java,
13178         gnu/java/security/provider/DERReader.java,
13179         gnu/java/security/provider/DERWriter.java,
13180         gnu/java/security/provider/DSAKeyPairGenerator.java,
13181         gnu/java/security/provider/DSAParameterGenerator.java,
13182         gnu/java/security/provider/DSAParameters.java,
13183         gnu/java/security/provider/DSASignature.java,
13184         gnu/java/security/provider/GnuDSAPrivateKey.java,
13185         gnu/java/security/provider/GnuDSAPublicKey.java,
13186         gnu/java/security/provider/MD5.java,
13187         gnu/java/security/util/Prime.java: New classes
13188         * Makefile.am (ordinary_java_source_files): Add above files.
13189         * Makefile.in: Regenerate.
13190         * gnu/java/security/provider/DefaultPolicy.java
13191         (getPermissions): Don't maintain static class variable of Permissions.
13192         * gnu/java/security/provider/SHA.java
13193         (engineUpdate): algorithm change.
13194         (engineDigest): algorithm change.
13195
13196 2002-08-09  Mark Wielaard  <mark@klomp.org>
13197
13198         * java/awt/image/MemoryImageSource.java: Change constructor to take
13199         int[] not byte[].
13200         * java/awt/Graphics2D.java: Uncomment methods that can now be
13201         compiled.
13202         * java/awt/GridBagLayout.java: New stub implementation.
13203         * javax/swing/text/html/HTML.java: Stub implementation.
13204         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13205         implementation.
13206
13207         * Makefile.am: Add new files.
13208         * Makefile.in: Rebuilt.
13209
13210 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13211
13212         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13213         methods in Graphics2D.
13214
13215 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13216
13217         AWT/Swing merge from GNU Classpath.
13218
13219         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13220         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13221         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13222         java/awt/color/ProfileDataException.java,
13223         java/awt/CompositeContext.java, java/awt/Composite.java,
13224         java/awt/ContainerOrderFocusTraversalPolicy.java,
13225         java/awt/datatransfer/FlavorTable.java,
13226         java/awt/DefaultFocusTraversalPolicy.java,
13227         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13228         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13229         java/awt/dnd/DragGestureListener.java,
13230         java/awt/dnd/DragGestureRecognizer.java,
13231         java/awt/dnd/DragSourceAdapter.java,
13232         java/awt/dnd/DragSourceContext.java,
13233         java/awt/dnd/DragSourceDragEvent.java,
13234         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13235         java/awt/dnd/DragSourceListener.java,
13236         java/awt/dnd/DragSourceMotionListener.java,
13237         java/awt/dnd/DropTarget.java,
13238         java/awt/dnd/InvalidDnDOperationException.java,
13239         java/awt/dnd/peer/DragSourceContextPeer.java,
13240         java/awt/event/AWTEventListenerProxy.java,
13241         java/awt/event/MouseWheelEvent.java,
13242         java/awt/event/MouseWheelListener.java,
13243         java/awt/event/WindowFocusListener.java,
13244         java/awt/event/WindowStateListener.java,
13245         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13246         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13247         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13248         java/awt/geom/FlatteningPathIterator.java,
13249         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13250         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13251         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13252         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13253         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13254         java/awt/image/ImagingOpException.java,
13255         java/awt/image/RasterFormatException.java,
13256         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13257         java/awt/image/VolatileImage.java,
13258         java/awt/image/WritableRenderedImage.java,
13259         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13260         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13261         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13262         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13263         java/awt/PageAttributes.java, java/awt/print/Book.java,
13264         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13265         java/awt/print/Paper.java, java/awt/print/Printable.java,
13266         java/awt/print/PrinterAbortException.java,
13267         java/awt/print/PrinterException.java,
13268         java/awt/print/PrinterGraphics.java,
13269         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13270         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13271         java/awt/Stroke.java, java/awt/TexturePaint.java,
13272         javax/accessibility/AccessibleAction.java,
13273         javax/accessibility/AccessibleBundle.java,
13274         javax/accessibility/AccessibleComponent.java,
13275         javax/accessibility/AccessibleContext.java,
13276         javax/accessibility/AccessibleEditableText.java,
13277         javax/accessibility/AccessibleExtendedComponent.java,
13278         javax/accessibility/AccessibleExtendedTable.java,
13279         javax/accessibility/AccessibleHyperlink.java,
13280         javax/accessibility/AccessibleHypertext.java,
13281         javax/accessibility/AccessibleIcon.java,
13282         javax/accessibility/Accessible.java,
13283         javax/accessibility/AccessibleKeyBinding.java,
13284         javax/accessibility/AccessibleRelation.java,
13285         javax/accessibility/AccessibleRelationSet.java,
13286         javax/accessibility/AccessibleResourceBundle.java,
13287         javax/accessibility/AccessibleRole.java,
13288         javax/accessibility/AccessibleSelection.java,
13289         javax/accessibility/AccessibleState.java,
13290         javax/accessibility/AccessibleStateSet.java,
13291         javax/accessibility/AccessibleTable.java,
13292         javax/accessibility/AccessibleTableModelChange.java,
13293         javax/accessibility/AccessibleText.java,
13294         javax/accessibility/AccessibleValue.java,
13295         javax/swing/AbstractAction.java,
13296         javax/swing/AbstractButton.java,
13297         javax/swing/AbstractCellEditor.java,
13298         javax/swing/AbstractListModel.java,
13299         javax/swing/AbstractSet.java, javax/swing/Action.java,
13300         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13301         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13302         javax/swing/border/CompoundBorder.java,
13303         javax/swing/border/EmptyBorder.java,
13304         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13305         javax/swing/border/LineBorder.java,
13306         javax/swing/border/MatteBorder.java,
13307         javax/swing/border/TitledBorder.java,
13308         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13309         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13310         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13311         javax/swing/CellRendererPane.java,
13312         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13313         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13314         javax/swing/colorchooser/ColorSelectionModel.java,
13315         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13316         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13317         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13318         javax/swing/DefaultBoundedRangeModel.java,
13319         javax/swing/DefaultButtonModel.java,
13320         javax/swing/DefaultCellEditor.java,
13321         javax/swing/DefaultCellRenderer.java,
13322         javax/swing/DefaultComboBoxModel.java,
13323         javax/swing/DefaultDesktopManager.java,
13324         javax/swing/DefaultFocusManager.java,
13325         javax/swing/DefaultListCellRenderer.java,
13326         javax/swing/DefaultListModel.java,
13327         javax/swing/DefaultListSelectionModel.java,
13328         javax/swing/DefaultSingleSelectionModel.java,
13329         javax/swing/DesktopManager.java,
13330         javax/swing/event/AncestorEvent.java,
13331         javax/swing/event/AncestorListener.java,
13332         javax/swing/event/CaretEvent.java,
13333         javax/swing/event/CaretListener.java,
13334         javax/swing/event/CellEditorListener.java,
13335         javax/swing/event/ChangeEvent.java,
13336         javax/swing/event/ChangeListener.java,
13337         javax/swing/event/DocumentEvent.java,
13338         javax/swing/event/DocumentListener.java,
13339         javax/swing/event/EventListenerList.java,
13340         javax/swing/event/HyperlinkEvent.java,
13341         javax/swing/event/HyperlinkListener.java,
13342         javax/swing/event/InternalFrameAdapter.java,
13343         javax/swing/event/InternalFrameEvent.java,
13344         javax/swing/event/InternalFrameListener.java,
13345         javax/swing/event/ListDataEvent.java,
13346         javax/swing/event/ListDataListener.java,
13347         javax/swing/event/ListSelectionEvent.java,
13348         javax/swing/event/ListSelectionListener.java,
13349         javax/swing/event/MenuDragMouseEvent.java,
13350         javax/swing/event/MenuDragMouseListener.java,
13351         javax/swing/event/MenuEvent.java,
13352         javax/swing/event/MenuKeyEvent.java,
13353         javax/swing/event/MenuKeyListener.java,
13354         javax/swing/event/MenuListener.java,
13355         javax/swing/event/MouseInputAdapter.java,
13356         javax/swing/event/MouseInputListener.java,
13357         javax/swing/event/PopupMenuEvent.java,
13358         javax/swing/event/PopupMenuListener.java,
13359         javax/swing/event/SwingPropertyChangeSupport.java,
13360         javax/swing/event/TableColumnModelEvent.java,
13361         javax/swing/event/TableColumnModelListener.java,
13362         javax/swing/event/TableModelEvent.java,
13363         javax/swing/event/TableModelListener.java,
13364         javax/swing/event/TreeExpansionEvent.java,
13365         javax/swing/event/TreeExpansionListener.java,
13366         javax/swing/event/TreeModelEvent.java,
13367         javax/swing/event/TreeModelListener.java,
13368         javax/swing/event/TreeSelectionEvent.java,
13369         javax/swing/event/TreeSelectionListener.java,
13370         javax/swing/event/TreeWillExpandListener.java,
13371         javax/swing/event/UndoableEditEvent.java,
13372         javax/swing/event/UndoableEditListener.java,
13373         javax/swing/filechooser/FileFilter.java,
13374         javax/swing/filechooser/FileSystemView.java,
13375         javax/swing/filechooser/FileView.java,
13376         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13377         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13378         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13379         javax/swing/JApplet.java, javax/swing/JButton.java,
13380         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13381         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13382         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13383         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13384         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13385         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13386         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13387         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13388         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13389         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13390         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13391         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13392         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13393         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13394         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13395         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13396         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13397         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13398         javax/swing/JToolTip.java, javax/swing/JTree.java,
13399         javax/swing/JViewport.java, javax/swing/JWindow.java,
13400         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13401         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13402         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13403         javax/swing/MenuSelectionManager.java,
13404         javax/swing/MutableComboBoxModel.java,
13405         javax/swing/OverlayLayout.java,
13406         javax/swing/plaf/ActionMapUIResource.java,
13407         javax/swing/plaf/basic/BasicBorders.java,
13408         javax/swing/plaf/basic/BasicButtonUI.java,
13409         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13410         javax/swing/plaf/basic/BasicDefaults.java,
13411         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13412         javax/swing/plaf/basic/BasicIconFactory.java,
13413         javax/swing/plaf/basic/BasicLabelUI.java,
13414         javax/swing/plaf/basic/BasicListUI.java,
13415         javax/swing/plaf/basic/BasicLookAndFeel.java,
13416         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13417         javax/swing/plaf/basic/BasicPanelUI.java,
13418         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13419         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13420         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13421         javax/swing/plaf/basic/BasicTextUI.java,
13422         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13423         javax/swing/plaf/basic/BasicTreeUI.java,
13424         javax/swing/plaf/basic/BasicViewportUI.java,
13425         javax/swing/plaf/BorderUIResource.java,
13426         javax/swing/plaf/ButtonUI.java,
13427         javax/swing/plaf/ColorChooserUI.java,
13428         javax/swing/plaf/ColorUIResource.java,
13429         javax/swing/plaf/ComboBoxUI.java,
13430         javax/swing/plaf/ComponentInputMapUIResource.java,
13431         javax/swing/plaf/ComponentUI.java,
13432         javax/swing/plaf/DesktopIconUI.java,
13433         javax/swing/plaf/DesktopPaneUI.java,
13434         javax/swing/plaf/DimensionUIResource.java,
13435         javax/swing/plaf/FileChooserUI.java,
13436         javax/swing/plaf/FontUIResource.java,
13437         javax/swing/plaf/IconUIResource.java,
13438         javax/swing/plaf/InputMapUIResource.java,
13439         javax/swing/plaf/InsetsUIResource.java,
13440         javax/swing/plaf/InternalFrameUI.java,
13441         javax/swing/plaf/LabelUI.java,
13442         javax/swing/plaf/ListUI.java,
13443         javax/swing/plaf/MenuBarUI.java,
13444         javax/swing/plaf/MenuItemUI.java,
13445         javax/swing/plaf/OptionPaneUI.java,
13446         javax/swing/plaf/PanelUI.java,
13447         javax/swing/plaf/PopupMenuUI.java,
13448         javax/swing/plaf/ProgressBarUI.java,
13449         javax/swing/plaf/RootPaneUI.java,
13450         javax/swing/plaf/ScrollBarUI.java,
13451         javax/swing/plaf/ScrollPaneUI.java,
13452         javax/swing/plaf/SeparatorUI.java,
13453         javax/swing/plaf/SliderUI.java,
13454         javax/swing/plaf/SplitPaneUI.java,
13455         javax/swing/plaf/TabbedPaneUI.java,
13456         javax/swing/plaf/TableHeaderUI.java,
13457         javax/swing/plaf/TableUI.java,
13458         javax/swing/plaf/TextUI.java,
13459         javax/swing/plaf/ToolBarUI.java,
13460         javax/swing/plaf/ToolTipUI.java,
13461         javax/swing/plaf/TreeUI.java,
13462         javax/swing/plaf/UIResource.java,
13463         javax/swing/plaf/ViewportUI.java,
13464         javax/swing/ProgressMonitorInputStream.java,
13465         javax/swing/ProgressMonitor.java,
13466         javax/swing/Renderer.java,
13467         javax/swing/RepaintManager.java,
13468         javax/swing/RootPaneContainer.java,
13469         javax/swing/Scrollable.java,
13470         javax/swing/ScrollPaneConstants.java,
13471         javax/swing/ScrollPaneLayout.java,
13472         javax/swing/SingleSelectionModel.java,
13473         javax/swing/SizeRequirements.java,
13474         javax/swing/SizeSequence.java,
13475         javax/swing/SwingConstants.java,
13476         javax/swing/SwingUtilities.java,
13477         javax/swing/table/AbstractTableModel.java,
13478         javax/swing/table/DefaultTableCellRenderer.java,
13479         javax/swing/table/DefaultTableColumnModel.java,
13480         javax/swing/table/DefaultTableModel.java,
13481         javax/swing/table/TableCellEditor.java,
13482         javax/swing/table/TableCellRenderer.java,
13483         javax/swing/table/TableColumn.java,
13484         javax/swing/table/TableColumnModel.java,
13485         javax/swing/table/TableModel.java,
13486         javax/swing/text/AbstractDocument.java,
13487         javax/swing/text/AttributeSet.java,
13488         javax/swing/text/BadLocationException.java,
13489         javax/swing/text/Caret.java,
13490         javax/swing/text/CharacterIterator.java,
13491         javax/swing/text/ComponentView.java,
13492         javax/swing/text/DefaultCaret.java,
13493         javax/swing/text/DefaultEditorKit.java,
13494         javax/swing/text/Document.java,
13495         javax/swing/text/EditorKit.java,
13496         javax/swing/text/Element.java,
13497         javax/swing/text/GapContent.java,
13498         javax/swing/text/JTextComponent.java,
13499         javax/swing/text/Keymap.java,
13500         javax/swing/text/MutableAttributeSet.java,
13501         javax/swing/text/PlainDocument.java,
13502         javax/swing/text/PlainEditorKit.java,
13503         javax/swing/text/Position.java,
13504         javax/swing/text/Segment.java,
13505         javax/swing/text/StyledDocument.java,
13506         javax/swing/text/StyledEditorKit.java,
13507         javax/swing/text/Style.java,
13508         javax/swing/text/TextAction.java,
13509         javax/swing/text/ViewFactory.java,
13510         javax/swing/text/View.java,
13511         javax/swing/Timer.java,
13512         javax/swing/ToggleButtonModel.java,
13513         javax/swing/ToolTipManager.java,
13514         javax/swing/tree/AbstractLayoutCache.java,
13515         javax/swing/tree/DefaultMutableTreeNode.java,
13516         javax/swing/tree/DefaultTreeCellEditor.java,
13517         javax/swing/tree/DefaultTreeCellRenderer.java,
13518         javax/swing/tree/DefaultTreeModel.java,
13519         javax/swing/tree/DefaultTreeSelectionModel.java,
13520         javax/swing/tree/ExpandVetoException.java,
13521         javax/swing/tree/FixedHeightLayoutCache.java,
13522         javax/swing/tree/MutableTreeNode.java,
13523         javax/swing/tree/RowMapper.java,
13524         javax/swing/tree/TreeCellEditor.java,
13525         javax/swing/tree/TreeCellRenderer.java,
13526         javax/swing/tree/TreeModel.java,
13527         javax/swing/tree/TreeNode.java,
13528         javax/swing/tree/TreePath.java,
13529         javax/swing/tree/TreeSelectionModel.java,
13530         javax/swing/tree/VariableHeightLayoutCache.java,
13531         javax/swing/UIDefaults.java,
13532         javax/swing/UIManager.java,
13533         javax/swing/undo/AbstractUndoableEdit.java,
13534         javax/swing/undo/CannotRedoException.java,
13535         javax/swing/undo/CannotUndoException.java,
13536         javax/swing/undo/CompoundEdit.java,
13537         javax/swing/undo/StateEditable.java,
13538         javax/swing/undo/StateEdit.java,
13539         javax/swing/undo/UndoableEdit.java,
13540         javax/swing/undo/UndoableEditSupport.java,
13541         javax/swing/undo/UndoManager.java,
13542         javax/swing/UnsupportedLookAndFeelException.java,
13543         javax/swing/ViewportLayout.java,
13544         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13545
13546         * java/awt/ActiveEvent.java,
13547         java/awt/Adjustable.java, java/awt/AWTError.java,
13548         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13549         java/awt/AWTException.java, java/awt/AWTPermission.java,
13550         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13551         java/awt/Color.java, java/awt/Component.java,
13552         java/awt/ComponentOrientation.java, java/awt/Container.java,
13553         java/awt/datatransfer/MimeTypeParseException.java,
13554         java/awt/datatransfer/Transferable.java,
13555         java/awt/datatransfer/UnsupportedFlavorException.java,
13556         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13557         java/awt/event/ActionListener.java,
13558         java/awt/event/AdjustmentEvent.java,
13559         java/awt/event/AdjustmentListener.java,
13560         java/awt/event/AWTEventListener.java,
13561         java/awt/event/ComponentAdapter.java,
13562         java/awt/event/ComponentEvent.java,
13563         java/awt/event/ComponentListener.java,
13564         java/awt/event/ContainerAdapter.java,
13565         java/awt/event/ContainerEvent.java,
13566         java/awt/event/ContainerListener.java,
13567         java/awt/event/FocusAdapter.java,
13568         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13569         java/awt/event/HierarchyBoundsAdapter.java,
13570         java/awt/event/HierarchyBoundsListener.java,
13571         java/awt/event/HierarchyEvent.java,
13572         java/awt/event/HierarchyListener.java,
13573         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13574         java/awt/event/InputMethodListener.java,
13575         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13576         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13577         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13578         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13579         java/awt/event/MouseListener.java,
13580         java/awt/event/MouseMotionAdapter.java,
13581         java/awt/event/MouseMotionListener.java,
13582         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13583         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13584         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13585         java/awt/event/WindowListener.java, java/awt/Font.java,
13586         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13587         java/awt/geom/Ellipse2D.java,
13588         java/awt/geom/IllegalPathStateException.java,
13589         java/awt/geom/Line2D.java,
13590         java/awt/geom/NoninvertibleTransformException.java,
13591         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13592         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13593         java/awt/geom/RoundRectangle2D.java,
13594         java/awt/GraphicsConfiguration.java,
13595         java/awt/IllegalComponentStateException.java,
13596         java/awt/image/IndexColorModel.java,
13597         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13598         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13599         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13600         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13601         java/awt/MenuItem.java, java/awt/PaintContext.java,
13602         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13603         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13604         java/awt/PrintJob.java, java/awt/Rectangle.java,
13605         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13606         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13607         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13608
13609         * java/awt/im/spi/InputMethod.java,
13610         java/awt/im/spi/InputMethodContext.java,
13611         java/awt/im/spi/InputMethodDescriptor.java,
13612         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13613         java/awt/image/renderable/ParameterBlock.java,
13614         java/awt/image/renderable/RenderContext.java,
13615         java/awt/image/renderable/RenderableImage.java,
13616         java/awt/image/renderable/RenderableImageOp.java,
13617         java/awt/image/renderable/RenderableImageProducer.java,
13618         java/awt/image/renderable/RenderedImageFactory.java: New files from
13619         classpath.
13620
13621         * gnu/java/awt/EventModifier.java,
13622         gnu/java/awt/image/ImageDecoder.java,
13623         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13624
13625         * gnu/awt/xlib/XGraphicsConfiguration.java,
13626         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13627         API.
13628
13629         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13630         GNU Classpath.
13631
13632         * Makefile.am: Add new files.
13633         * Makefile.in: Rebuilt.
13634
13635 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13636
13637         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13638         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13639         findResource, getResources, findResources): Add javadoc from classpath.
13640         (getSystemResources): Implemented.
13641
13642 2002-08-01  Mark Wielaard  <mark@klomp.org>
13643
13644         Revert patch that breaks libgcj shared library on powerpc:
13645         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13646         implementation classes by using Class.getName(). Uses Strings again.
13647         * gnu/java/security/der/DEREncodingException.java,
13648         gnu/java/security/provider/DERReader.java,
13649         gnu/java/security/provider/DERWriter.java,
13650         gnu/java/security/provider/DSAKeyPairGenerator.java,
13651         gnu/java/security/provider/DSAParameterGenerator.java,
13652         gnu/java/security/provider/DSAParameters.java,
13653         gnu/java/security/provider/DSASignature.java,
13654         gnu/java/security/provider/GnuDSAPrivateKey.java,
13655         gnu/java/security/provider/GnuDSAPublicKey.java,
13656         gnu/java/security/provider/MD5.java,
13657         gnu/java/security/util/Prime.java: Removed.
13658         * Makefile.am (ordinary_java_source_files): Remove above files.
13659         * Makefile.in: Regenerate.
13660         * gnu/java/security/provider/DefaultPolicy.java
13661         (getPermissions): Revert to maintaining static class variable of
13662         Permissions.
13663         * gnu/java/security/provider/SHA.java
13664         (engineUpdate): Revert algorithm change.
13665         (engineDigest): Revert algorithm change.
13666
13667 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13668
13669         * configure.host: Add SH support.
13670         * sysdep/sh/locks.h: New file.
13671
13672 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13673
13674         * java/awt/Frame.java (Frame): Remove println calls.
13675
13676 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13677
13678         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13679         * configure: Rebuilt.
13680
13681 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13682
13683         * sysdep/powerpc/locks.h: Formatting.
13684         (_LARX): Define.
13685         (_STCX): Define.
13686         (compare_and_swap): Use _LARX and _STCX.
13687         (compare_and_swap_release): Likewise.
13688
13689 2002-07-26  Tom Tromey  <tromey@redhat.com>
13690
13691         * java/net/Authenticator.java: New version from Classpath.
13692         * java/net/DatagramSocketImpl.java: New version from Classpath.
13693
13694 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13695
13696         * configure.host: Add powerpc64*-* entry.
13697
13698 2002-07-26  Tom Tromey  <tromey@redhat.com>
13699
13700         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13701         fcntl.h.
13702
13703 2002-07-24  Tom Tromey  <tromey@redhat.com>
13704
13705         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13706         argument to _load.
13707
13708 2002-07-24  Tom Tromey  <tromey@redhat.com>
13709             Tony Kimball <alk@pobox.com>
13710
13711         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13712         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13713         * java/io/RandomAccessFile.java (setLength): New method.
13714         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13715         * java/io/FileDescriptor.java (setLength): New method.
13716
13717 2002-07-24  Mark Wielaard  <mark@klomp.org>
13718
13719         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13720         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13721         field call setAccessible(true).
13722         (setByteField): Likewise.
13723         (setCharField): Likewise.
13724         (setDoubleField): Likewise.
13725         (setFloatField): Likewise.
13726         (setIntField): Likewise.
13727         (setLongField): Likewise.
13728         (setShortField): Likewise.
13729         (setObjectField): Likewise.
13730
13731 2002-07-24  Tom Tromey  <tromey@redhat.com>
13732
13733         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13734         use toString() to format array element.
13735
13736 2002-07-23  Mark Wielaard  <mark@klomp.org>
13737
13738         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13739         MessageDigestSpi (fixes Classpath bug #783).
13740
13741 2002-07-21  Mark Wielaard  <mark@klomp.org>
13742
13743         * gnu/java/security/provider/Gnu.java: Reference all implementation
13744         classes by using Class.getName().
13745
13746 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13747
13748         * java/lang/ieeefp.h: Add x86-64 support.
13749         * configure.in: Likewise.
13750         * configure.host: Likewise.
13751         * configure: Regenerated.
13752         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13753
13754 2002-07-16  Mark Wielaard  <mark@klomp.org>
13755
13756         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13757         (whitespaceChars): call resetChar().
13758
13759 2002-07-15  Tom Tromey  <tromey@redhat.com>
13760
13761         * Makefile.in: Rebuilt.
13762         * Makefile.am (awt_java_source_files): Added new files.
13763         * java/beans/ExceptionListener.java: Merged with Classpath.
13764         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13765         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13766         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13767         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13768         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13769         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13770         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13771
13772 2002-07-14  Mark Wielaard  <mark@klomp.org>
13773
13774         * gnu/java/security/der/DEREncodingException.java,
13775         gnu/java/security/provider/DERReader.java,
13776         gnu/java/security/provider/DERWriter.java,
13777         gnu/java/security/provider/DSAKeyPairGenerator.java,
13778         gnu/java/security/provider/DSAParameterGenerator.java,
13779         gnu/java/security/provider/DSAParameters.java,
13780         gnu/java/security/provider/DSASignature.java,
13781         gnu/java/security/provider/GnuDSAPrivateKey.java,
13782         gnu/java/security/provider/GnuDSAPublicKey.java,
13783         gnu/java/security/provider/MD5.java,
13784         gnu/java/security/util/Prime.java: New files from Classpath.
13785         * Makefile.am (ordinary_java_source_files): Add new files.
13786         * Makefile.in: Regenerate.
13787
13788 2002-07-14  C. Brian Jones <cbj@gnu.org>
13789
13790         * gnu/java/security/provider/DefaultPolicy.java
13791         (getPermissions): do not maintain static class variable of
13792         Permissions
13793         * gnu/java/security/provider/SHA.java
13794         (engineUpdate): algorithm change
13795         (engineDigest): algorithm change
13796
13797 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13798
13799         For PR libgcj/7292:
13800         * java/lang/Character.java (toString(char)): Now static.
13801
13802 2002-07-12  Mark Wielaard  <mark@klomp.org>
13803
13804         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13805         (getStackTrace0): new method.
13806         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13807         (printStackTrace(PrintWriter)): replace with pure java implementation.
13808         (printRawStackTrace): removed.
13809         (getStackTrace0): new method.
13810         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13811         * gcj/javaprims.h: regenerate class list.
13812         * include/name-finder.h (lookup): new returns StackTraceElement*.
13813         (method_name, file_name): fields removed.
13814         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13815         (~_Jv_name_finder): close new descriptors.
13816         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13817         (createStackTraceElement): new method.
13818         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13819
13820 2002-07-10  Tom Tromey  <tromey@redhat.com>
13821
13822         * configure: Rebuilt.
13823         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13824
13825 2002-07-08  Mark Wielaard  <mark@klomp.org>
13826
13827         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13828         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13829         java.sql.DatabaseMetaData.TestJdbc20
13830
13831 2002-07-05  Tony Kimball  <alk@pobox.com>
13832
13833         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13834
13835 2002-07-04  Tom Tromey  <tromey@redhat.com>
13836             Jeff Sturm  <jsturm@one-point.com>
13837
13838         Fix for PR libgcj/7060:
13839         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13840         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13841         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13842         * java/lang/Class.java (getMethod): New Java implementation;
13843         complies with spec.
13844         (_getMethod): New native method.
13845
13846 2002-07-02  Tom Tromey  <tromey@redhat.com>
13847             David Hovemeyer  <daveho@cs.umd.edu>
13848
13849         * java/text/ChoiceFormat.java
13850         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13851         in check loop.
13852         * java/text/MessageFormat.java
13853         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13854         to MessageFormat.
13855
13856 2002-07-01  Tom Tromey  <tromey@redhat.com>
13857
13858         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13859         StringTokenizer on null string.  For PR libgcj/7180.
13860         From daveho@cs.umd.edu.
13861
13862 2002-06-24  Tom Tromey  <tromey@redhat.com>
13863
13864         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13865         (IntegerClass): Likewise.
13866         * java/lang/natClass.cc (CloneableClass): Removed.
13867         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13868         ConstructorClass): Likewise.
13869         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13870         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13871         SerializableClass): Likewise.
13872         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13873         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13874         LongClass, FloatClass, DoubleClass): Likewise.
13875
13876         * verify.cc (branch_prepass): Updated for change to exception
13877         handler type.
13878         (verify_instructions_0): Likewise.
13879         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13880         (handleExceptionTableEntry): Updated for change to exception
13881         handler type.
13882         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13883         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13884         (union _Jv_InterpPC): New.
13885         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13886         (class _Jv_InterpMethod): Added new `prepared' field.
13887         (class _Jv_InterpMethod): Added `compile' method.  Removed
13888         `continue1' and `find_exception'.  Changed arguments to `run'.
13889         * interpret.cc (union insn_slot): New.
13890         (find_exception): Removed.
13891         (run_normal): Removed most logic.
13892         (run_synch_object): Likewise; also, use JvSynchronize.
13893         (run_synch_class): Likewise.
13894         (run): Removed.
13895         (continue1): Renamed as `run'.  Compile bytecode if required.
13896         Add new code to allow refinement of direct-threaded code at
13897         runtime.  Handle exceptions.
13898         (SAVE_PC): Removed.
13899         (compile): New method.
13900         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13901         (NULLARRAYCHECK): Don't use SAVE_PC.
13902         (pc_t): New typedef.
13903         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13904         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13905
13906 2002-06-23  Tom Tromey  <tromey@redhat.com>
13907
13908         * configure: Rebuilt.
13909         * configure.in (INTERPRETER): New subst.
13910         (AM_RUNTESTFLAGS): Don't subst.
13911
13912         * Makefile.in: Rebuilt.
13913         * Makefile.am ($(srcdir)/java/lang/Object.h,
13914         $(srcdir)/java/lang/Class.h): Added dummy targets.
13915
13916 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13917
13918         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13919
13920         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13921         java/sql/Savepoint.java: New files.
13922         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13923         java/sql/Blob.java, java/sql/CallableStatement.java,
13924         java/sql/Clob.java, java/sql/Connection.java,
13925         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13926         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13927         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13928         java/sql/Ref.java, java/sql/ResultSet.java,
13929         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13930         java/sql/SQLException.java, java/sql/SQLInput.java,
13931         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13932         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13933         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13934         (JDK 1.4) specification.
13935         * javax/sql/ConnectionEvent.java,
13936         javax/sql/ConnectionEventListener.java,
13937         javax/sql/ConnectionPoolDataSource.java,
13938         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13939         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13940         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13941         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13942         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13943         javax/sql/XADataSource.java: New files.
13944         * Makefile.am: Add new files.
13945         * Makefile.in: Rebuilt.
13946
13947 2002-06-20  Tom Tromey  <tromey@redhat.com>
13948
13949         For PR libgcj/7073:
13950         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13951         exists.
13952         * defineclass.cc (handleClassBegin): Superclass for interface is
13953         `null'.
13954
13955 2002-06-18  Tom Tromey  <tromey@redhat.com>
13956
13957         * gcj/javaprims.h: Updated class declaration list.
13958         * Makefile.in: Rebuilt.
13959         * Makefile.am (core_java_source_files): Removed
13960         BasicMapEntry.java.
13961         * java/util/BasicMapEntry.java: Removed.
13962
13963 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13964
13965         * java/net/natPlainDatagramSocketImpl.cc (receive):
13966         Check bounds of argument to FD_SET.
13967         (setOption): Throw exception if socket is closed.
13968
13969         * java/net/natPlainSocketImpl.cc (accept, read):
13970         Check bounds of argument to FD_SET.
13971         (setOption): Throw exception if socket is closed.
13972
13973 2002-06-18  Tom Tromey  <tromey@redhat.com>
13974
13975         * gcj/javaprims.h: Updated class declaration list.
13976         * Makefile.in: Rebuilt.
13977         * Makefile.am (core_java_source_files): Added
13978         PropertyPermissionCollection.java.
13979         * java/lang/Thread.java (group, name): Now package-private.
13980         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13981         * java/util/AbstractList.java: Likewise.
13982         * java/util/AbstractMap.java: Likewise.
13983         * java/util/Calendar.java: Likewise.
13984         * java/util/Collections.java: Likewise.
13985         * java/util/HashMap.java: Likewise.
13986         * java/util/Hashtable.java: Likewise.
13987         * java/util/LinkedHashMap.java: Likewise.
13988         * java/util/LinkedList.java: Likewise.
13989         * java/util/List.java: Likewise.
13990         * java/util/ListResourceBundle.java: Likewise.
13991         * java/util/Map.java: Likewise.
13992         * java/util/Observable.java: Likewise.
13993         * java/util/Properties.java: Likewise.
13994         * java/util/PropertyPermission.java: Likewise.
13995         * java/util/PropertyPermissionCollection.java: Likewise.
13996         * java/util/PropertyResourceBundle.java: Likewise.
13997         * java/util/Random.java: Likewise.
13998         * java/util/SimpleTimeZone.java: Likewise.
13999         * java/util/StringTokenizer.java: Likewise.
14000         * java/util/TimerTask.java: Likewise.
14001         * java/util/TreeMap.java: Likewise.
14002         * java/util/WeakHashMap.java: Likewise.
14003         * java/util/jar/Attributes.java: Likewise.
14004         * java/util/jar/JarException.java: Likewise.
14005         * java/util/jar/Manifest.java: Likewise.
14006
14007 2002-06-17  Tom Tromey  <tromey@redhat.com>
14008
14009         * gcj/javaprims.h: Updated class declaration list.
14010         * Makefile.in: Rebuilt.
14011         * Makefile.am (core_java_source_files): Added new file.
14012         * java/util/EventListenerProxy.java: New file.
14013         * java/util/EventListener.java: Re-merge with Classpath.
14014         * java/util/EventObject.java: Re-merge with Classpath.
14015
14016 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14017
14018         * java/lang/ClassNotFoundException.java: New Classpath version.
14019
14020 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14021
14022         * java/rmi/activation/ActivateFailedException.java: Remerge from
14023         Classpath version.
14024         * java/rmi/activation/ActivationException.java: Ditto.
14025         * java/rmi/activation/UnknownGroupException.java: Ditto.
14026         * java/rmi/activation/UnknownObjectException.java: Ditto.
14027         * java/rmi/server/ExportException: Ditto.
14028         * java/rmi/server/ServerCloneException: Ditto.
14029         * java/rmi/server/ServerNotActiveException: Ditto.
14030         * java/rmi/server/SkeletonMismatchException: Ditto.
14031         * java/rmi/server/SkeletonNotFoundException: Ditto.
14032         * java/rmi/server/SocketSecurityException: Ditto.
14033
14034 2002-06-16  Tom Tromey  <tromey@redhat.com>
14035
14036         * gcj/javaprims.h: Updated class declaration list.
14037
14038         * java/io/LineNumberInputStream.java: Merged with Classpath.
14039
14040         * java/lang/RuntimeException.java: Re-merge with Classpath.
14041         * java/util/ArrayList.java: Likewise.
14042         * java/util/Arrays.java: Likewise.
14043         * java/util/BitSet.java: Likewise.
14044         * java/util/Dictionary.java: Likewise.
14045         * java/util/IdentityHashMap.java: Likewise.
14046         * java/util/MissingResourceException.java: Likewise.
14047         * java/util/Observer.java: Likewise.
14048         * java/util/TooManyListenersException.java: Likewise.
14049         * java/util/zip/DataFormatException.java: Likewise.
14050         * java/util/zip/ZipException.java: Likewise.
14051
14052 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14053
14054         * java/rmi/AccessException.java: Remerge from Classpath.
14055         * java/rmi/AlreadyBoundException.java: Ditto.
14056         * java/rmi/ConnectException.java: Ditto.
14057         * java/rmi/ConnectIOException.java: Ditto.
14058         * java/rmi/MarshalException.java: Ditto.
14059         * java/rmi/NoSuchObjectException.java: Ditto.
14060         * java/rmi/NotBoundException.java: Ditto.
14061         * java/rmi/RemoteException.java: Ditto.
14062         * java/rmi/RMISecurityException.java: Ditto.
14063         * java/rmi/ServerError.java: Ditto.
14064         * java/rmi/ServerException.java: Ditto.
14065         * java/rmi/ServerRuntimeException.java: Ditto.
14066         * java/rmi/StubNotFoundException.java: Ditto.
14067         * java/rmi/UnexpectedExcpetion.java: Ditto.
14068         * java/rmi/UnknownHostException.java: Ditto.
14069         * java/rmi/UnmarshalException.java: Ditto.
14070
14071 2002-06-15  Tom Tromey  <tromey@redhat.com>
14072
14073         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14074         * java/lang/ArithmeticException.java: Likewise.
14075         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14076         * java/lang/ArrayStoreException.java: Likewise.
14077         * java/lang/Byte.java: Likewise.
14078         * java/lang/CharSequence.java: Likewise.
14079         * java/lang/ClassCastException.java: Likewise.
14080         * java/lang/ClassCircularityError.java: Likewise.
14081         * java/lang/ClassFormatError.java: Likewise.
14082         * java/lang/CloneNotSupportedException.java: Likewise.
14083         * java/lang/Cloneable.java: Likewise.
14084         * java/lang/Comparable.java: Likewise.
14085         * java/lang/Compiler.java: Likewise.
14086         * java/lang/Error.java: Likewise.
14087         * java/lang/ExceptionInInitializerError.java: Likewise.
14088         * java/lang/IllegalAccessError.java: Likewise.
14089         * java/lang/IllegalAccessException.java: Likewise.
14090         * java/lang/IllegalArgumentException.java: Likewise.
14091         * java/lang/IllegalMonitorStateException.java: Likewise.
14092         * java/lang/IllegalStateException.java: Likewise.
14093         * java/lang/IllegalThreadStateException.java: Likewise.
14094         * java/lang/IncompatibleClassChangeError.java: Likewise.
14095         * java/lang/IndexOutOfBoundsException.java: Likewise.
14096         * java/lang/InheritableThreadLocal.java: Likewise.
14097         * java/lang/InstantiationError.java: Likewise.
14098         * java/lang/InstantiationException.java: Likewise.
14099         * java/lang/InternalError.java: Likewise.
14100         * java/lang/InterruptedException.java: Likewise.
14101         * java/lang/LinkageError.java: Likewise.
14102         * java/lang/NegativeArraySizeException.java: Likewise.
14103         * java/lang/NoClassDefFoundError.java: Likewise.
14104         * java/lang/NoSuchFieldError.java: Likewise.
14105         * java/lang/NoSuchFieldException.java: Likewise.
14106         * java/lang/NoSuchMethodError.java: Likewise.
14107         * java/lang/NoSuchMethodException.java: Likewise.
14108         * java/lang/NullPointerException.java: Likewise.
14109         * java/lang/NumberFormatException.java: Likewise.
14110         * java/lang/OutOfMemoryError.java: Likewise.
14111         * java/lang/Process.java: Likewise.
14112         * java/lang/Runnable.java: Likewise.
14113         * java/lang/RuntimePermission.java: Likewise.
14114         * java/lang/SecurityException.java: Likewise.
14115         * java/lang/Short.java: Likewise.
14116         * java/lang/StackOverflowError.java: Likewise.
14117         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14118         * java/lang/ThreadDeath.java: Likewise.
14119         * java/lang/ThreadLocal.java: Likewise.
14120         * java/lang/UnknownError.java: Likewise.
14121         * java/lang/UnsatisfiedLinkError.java: Likewise.
14122         * java/lang/UnsupportedClassVersionError.java: Likewise.
14123         * java/lang/UnsupportedOperationException.java: Likewise.
14124         * java/lang/VerifyError.java: Likewise.
14125         * java/lang/VirtualMachineError.java: Likewise.
14126         * java/lang/reflect/InvocationTargetException.java: Likewise.
14127         * java/net/BindException.java: Likewise.
14128         * java/net/ConnectException.java: Likewise.
14129         * java/net/MalformedURLException.java: Likewise.
14130         * java/net/NoRouteToHostException.java: Likewise.
14131         * java/net/ProtocolException.java: Likewise.
14132         * java/net/SocketException.java: Likewise.
14133         * java/net/UnknownHostException.java: Likewise.
14134         * java/net/UnknownServiceException.java: Likewise.
14135
14136         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14137         * java/io/CharConversionException.java: Likewise.
14138         * java/io/EOFException.java: Likewise.
14139         * java/io/FileNotFoundException.java: Likewise.
14140         * java/io/IOException.java: Likewise.
14141         * java/io/InterruptedIOException.java: Likewise.
14142         * java/io/InvalidClassException.java: Likewise.
14143         * java/io/InvalidObjectException.java: Likewise.
14144         * java/io/NotActiveException.java: Likewise.
14145         * java/io/NotSerializableException.java: Likewise.
14146         * java/io/ObjectStreamException.java: Likewise.
14147         * java/io/ObjectStreamConstants.java: Likewise.
14148         * java/io/OptionalDataException.java: Likewise.
14149         * java/io/PipedInputStream.java: Likewise.
14150         * java/io/PushbackInputStream.java: Likewise.
14151         * java/io/StreamCorruptedException.java: Likewise.
14152         * java/io/SyncFailedException.java: Likewise.
14153         * java/io/UTFDataFormatException.java: Likewise.
14154         * java/io/UnsupportedEncodingException.java: Likewise.
14155         * java/io/WriteAbortedException.java: Likewise.
14156
14157 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14158
14159         * java/text/ChoiceFormat.java: Update comments from Classpath.
14160         * java/text/ParseException.java (serialVersionUID): New
14161         field from Classpath.
14162         * java/text/ParseException.java: Update formatting & comments
14163         from Classpath.
14164
14165 2002-06-15  Tom Tromey  <tromey@redhat.com>
14166
14167         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14168         been read but none output by inflater.
14169         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14170         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14171         is_finished.
14172         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14173         version.
14174         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14175         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14176         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14177         version.
14178         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14179
14180 2002-06-13  Tom Tromey  <tromey@redhat.com>
14181
14182         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14183         true and OFFSET!=0.
14184         * java/lang/String.java (String(char[],int,int,boolean): New
14185         constructor.
14186         * java/lang/Long.java: Imported new version from Classpath.
14187         * java/lang/Number.java: Likewise.
14188         * java/lang/Integer.java: Likewise.
14189         * java/lang/Long.java: Likewise.
14190         * java/lang/Float.java: Likewise.
14191         * java/lang/Boolean.java: Likewise.
14192         * java/lang/Double.java: Likewise.
14193         * java/lang/Void.java: Likewise.
14194
14195 2002-06-12  Tom Tromey  <tromey@redhat.com>
14196
14197         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14198         Fixes PR libgcj/6652.
14199
14200 2002-06-10  Tom Tromey  <tromey@redhat.com>
14201
14202         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14203         (Class::getPackagePortion): Likewise.
14204         * java/lang/Class.java (desiredAssertionStatus): New method from
14205         Classpath.
14206         (getPackagePortion): Likewise.
14207         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14208         packageAssertionStatus, classAssertionStatus): New methods from
14209         Classpath.
14210         * java/lang/ClassLoader.java (defaultAssertionStatus,
14211         systemPackageAssertionStatus, packageAssertionStatus,
14212         systemClassAssertionStatus, classAssertionStatus): New fields from
14213         Classpath.
14214         (setDefaultAssertionStatus, setPackageAssertionStatus,
14215         setClassAssertionStatus, clearAssertionStatus): New methods from
14216         Classpath.
14217         * Makefile.in: Rebuilt.
14218         * Makefile.am (core_java_source_files): Added AssertionError.java.
14219         * java/lang/AssertionError.java: New from Classpath.
14220
14221 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14222
14223         * configure.host: Disable hash synchronization and slow_pthread_self
14224         for cygwin.
14225
14226 2002-06-06  Adam Megacz <adam@xwt.org>
14227
14228         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14229         locking, just like the Sun JVM does.
14230
14231 2002-06-05  H.J. Lu  (hjl@gnu.org)
14232
14233         * Makefile.am (libgcj_convenience.la): Revert the last change.
14234         (libgcj.la): Likewise.
14235         * Makefile.in: Regenerated.
14236
14237 2002-06-04  H.J. Lu  (hjl@gnu.org)
14238
14239         * Makefile.am (libgcj_convenience.la): New target.
14240         (libgcj.la): Depend on libgcj_convenience.la.
14241         * Makefile.in: Regenerated.
14242
14243 2002-06-04  H.J. Lu  (hjl@gnu.org)
14244
14245         * configure.in (--with-newlib): New option:
14246         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14247         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14248         Linux.
14249         * configure: Regenerated.
14250
14251 2002-06-04  Tom Tromey  <tromey@redhat.com>
14252
14253         * java/util/natTimeZone.cc: Include <stdio.h>.
14254
14255 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14256
14257         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14258         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14259         Set SIGNAL_HANDLER=include/s390-linux.h.
14260         * configure: Regenerate.
14261         * include/s390-linux.h: New file.
14262
14263 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14264
14265         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14266         not "stackTrace".
14267
14268 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14269
14270         Merge JDK 1.4 java.security changes from classpath.
14271
14272         * java/security/AccessControlException.java: Merge from Classpath.
14273         * java/security/AccessController.java: Likewise.
14274         * java/security/AllPermission.java: Likewise.
14275         * java/security/BasicPermission.java: Likewise.
14276         * java/security/Certificate.java: Likewise.
14277         * java/security/CodeSource.java: Likewise.
14278         * java/security/DigestException.java: Likewise.
14279         * java/security/DigestOutputStream.java: Likewise.
14280         * java/security/DomainCombiner.java: Likewise.
14281         * java/security/GeneralSecurityException.java: Likewise.
14282         * java/security/Guard.java: Likewise.
14283         * java/security/GuardedObject.java: Likewise.
14284         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14285         * java/security/InvalidKeyException.java: Likewise.
14286         * java/security/InvalidParameterException.java: Likewise.
14287         * java/security/Key.java: Likewise.
14288         * java/security/KeyException.java: Likewise.
14289         * java/security/KeyManagementException.java: Likewise.
14290         * java/security/KeyStoreException.java: Likewise.
14291         * java/security/MessageDigest.java: Likewise.
14292         * java/security/NoSuchAlgorithmException.java: Likewise.
14293         * java/security/NoSuchProviderException.java: Likewise.
14294         * java/security/Permission.java: Likewise.
14295         * java/security/PermissionCollection.java: Likewise.
14296         * java/security/Permissions.java: Likewise.
14297         * java/security/Policy.java: Likewise.
14298         * java/security/Principal.java: Likewise.
14299         * java/security/PrivateKey.java: Likewise.
14300         * java/security/PrivilegedAction.java: Likewise.
14301         * java/security/PrivilegedActionException.java: Likewise.
14302         * java/security/PrivilegedExceptionAction.java: Likewise.
14303         * java/security/ProtectionDomain.java: Likewise.
14304         * java/security/ProviderException.java: Likewise.
14305         * java/security/PublicKey.java: Likewise.
14306         * java/security/SecureClassLoader.java: Likewise.
14307         * java/security/SecurityPermission.java: Likewise.
14308         * java/security/SignatureException.java: Likewise.
14309         * java/security/UnrecoverableKeyException.java: Likewise.
14310         * java/security/UnresolvedPermission.java: Likewise.
14311         * java/security/acl/AclNotFoundException.java: Likewise.
14312         * java/security/acl/LastOwnerException.java: Likewise.
14313         * java/security/acl/NotOwnerException.java: Likewise.
14314         * java/security/cert/CRLException.java: Likewise.
14315         * java/security/cert/CertificateEncodingException.java: Likewise.
14316         * java/security/cert/CertificateException.java: Likewise.
14317         * java/security/cert/CertificateExpiredException.java: Likewise.
14318         * java/security/cert/CertificateFactory.java: Likewise.
14319         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14320         * java/security/cert/CertificateParsingException.java: Likewise.
14321         * java/security/spec/InvalidKeySpecException.java: Likewise.
14322         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14323
14324         * java/security/cert/CertPath.java: New file.
14325         * java/security/cert/CertPathBuilderException.java: New file.
14326         * java/security/cert/CertPathValidatorException.java: New file.
14327         * java/security/cert/CertStoreException.java: New file.
14328
14329         * Makefile.am: Add new CertPath classes.
14330         * Makefile.in: Rebuilt.
14331
14332         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14333
14334 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14335
14336         Merge JDK 1.4 exception chaining support from classpath.
14337
14338         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14339         (stackTraceBytes): Rename from stackTrace.
14340         * java/lang/Exception.java: Merge from classpath.
14341         * java/lang/StackTraceElement: New file from classpath.
14342         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14343         * Makefile.am: Add StackTraceElement.
14344         * Makefile.in: Rebuilt.
14345
14346 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14347
14348         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14349         they build first.
14350         * Makefile.in: Rebuilt.
14351
14352 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14353
14354         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14355         * configure.in: Likewise.
14356         * aclocal.m4: Regenerate.
14357         * configure: Regenerate.
14358
14359 2002-05-13  Tom Tromey  <tromey@redhat.com>
14360
14361         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14362         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14363         Include platform.h.
14364
14365         Fixes PR libgcj/6389:
14366         * Makefile.in: Rebuilt.
14367         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14368         * java/util/natTimeZone.cc: New file.
14369         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14370         * java/lang/System.java: Merged with Classpath.
14371         * java/lang/Runtime.java: Merged with Classpath.
14372         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14373         security check.
14374         (setIn0): Renamed from setIn; don't run security check.
14375         (setOut0): Renamed from setOut; don't run security check.
14376         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14377         init_properties): Moved to natRuntime.cc.
14378         Moved many includes to natRuntime.cc.
14379         (isWordsBigEndian): New method.
14380         * java/lang/natRuntime.cc: Include Long.h, also other includes
14381         previously in natSystem.cc.
14382         (maxMemory): New function.
14383         (exitInternal): Renamed from `_exit'.
14384         (exit): Removed.
14385         (init): Don't set finalize_on_exit.
14386         (exitInternal): Use `finalizeOnExit'.
14387         (file_encoding, getpwuid_adaptor): New functions from
14388         natSystem.cc.
14389         (insertSystemProperties): New method, renamed from
14390         System::init_properties.  Don't set user.timezone.
14391         (_load): Don't call checkLink.
14392         (execInternal): New method.
14393         (availableProcessors): Likewise.
14394         (nativeGetLibname): Likewise.
14395
14396 2002-05-11  Mark Wielaard  <mark@klomp.org>
14397
14398         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14399         space characters.
14400         (previous_internal): Likewise.
14401
14402 2002-05-09  Tom Tromey  <tromey@redhat.com>
14403
14404         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14405
14406         * java/util/ResourceBundle.java: New version from Classpath.
14407         * java/util/Locale.java: Likewise.
14408
14409 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14410
14411         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14412         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14413         LD_LIBRARY_PATH.
14414
14415 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14416
14417         * libjava/Makefile.am (all_java_source_files): New variable.
14418         (all_java_class_files): Likewise.
14419         .java.class: New rule.
14420         (CLEANFILES): Remove tmp-list.
14421         * libjava/Makefile.in: Regenerated.
14422
14423 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14424
14425         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14426         Append .exe to executable names.  Fix for cygwin.
14427
14428 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14429
14430         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14431         script entry, and set LD to it when configuring multilibs.
14432         * configure: Rebuilt.
14433
14434 2002-05-07  Tom Tromey  <tromey@redhat.com>
14435
14436         * java/lang/natString.cc (unintern): Fixed typo.
14437
14438 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14439
14440         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14441         with -no-install on *-*-cygwin*.
14442
14443 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14444
14445         * testsuite/lib/libjava.exp (test_libjava_from_source):
14446         Add comment explaining last patch
14447
14448 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14449
14450         * testsuite/lib/libjava.exp (test_libjava_from_source):
14451         Append .exe to executable names.  If no suffix is present,
14452         then ".exe" is added by default on win32.  Harmless
14453         elsewhere so always do it.
14454
14455 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14456             Tom Tromey  <tromey@redhat.com>
14457
14458         * java/lang/natSystem.cc (getSystemTimeZone): Use
14459         HAVE_UNDERSCORE_TIMEZONE.
14460         * include/config.h.in: Rebuilt.
14461         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14462         * aclocal.m4, configure: Rebuilt.
14463         * acinclude.m4: Run AC_EXEEXT.
14464         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14465         Add test for `_timezone'.
14466
14467 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14468
14469         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14470         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14471         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14472         * Makefile.in: Rebuilt.
14473
14474 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14475
14476         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14477         use sigaction instead of __libc_sigaction.
14478
14479 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14480
14481         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14482         (libjava_init): Use it to find libgcj.spec.
14483         (libjava_arguments): Likewise.
14484
14485 2002-05-02  David S. Miller  <davem@redhat.com>
14486
14487         PR bootstrap/6525
14488         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14489         __libc_sigaction on Sparc.
14490
14491 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14492
14493         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14494         sys/filio.h, if present.
14495
14496 2002-04-30  Tom Tromey  <tromey@redhat.com>
14497
14498         * java/io/BufferedReader.java (fill): Handle case where markPos
14499         point to ignored \n.  Fixes PR libgcj/6301.
14500
14501 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14502
14503         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14504
14505 2002-04-29  Adam King <aking@dreammechanics.com>
14506
14507         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14508         of file in APPEND mode.
14509
14510 2002-04-25  David S. Miller  <davem@redhat.com>
14511
14512         PR target/6422
14513         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14514         program counter to next program counter minus 8.  Update
14515         comments in this macro to explain why.
14516
14517 2002-04-26  Tom Tromey  <tromey@redhat.com>
14518
14519         * verify.cc (construct_primitive_array_type) [void_type]: New
14520         case.
14521         (branch_prepass): Added dummy entries for unused instruction
14522         values.
14523         (verify_instructions_0): Likewise.
14524         * interpret.cc (continue1): Comment fix.
14525         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14526         * Makefile.in: Rebuilt.
14527         * Makefile.am: Added -Wswitch-enum.
14528
14529 2002-04-24  Tom Tromey  <tromey@redhat.com>
14530
14531         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14532         correct length of UTF-8 encoded name.  Strip leading `/'.
14533         (_Jv_RegisterResource): Use _Jv_Malloc.
14534
14535 2002-04-23  Adam Megacz <adam@xwt.org>
14536
14537         * win32.cc, include/win32.cc (backtrace): Added this function
14538         because Win32 does not supply it.
14539
14540 2002-04-21  David S. Miller  <davem@redhat.com>
14541
14542         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14543         magic instruction reading sequence.
14544
14545 2002-04-21  Mark Wielaard  <mark@klomp.org>
14546
14547         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14548
14549 2002-04-19  David S. Miller  <davem@redhat.com>
14550
14551         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14552         arg.
14553         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14554         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14555         on Sparc too.
14556         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14557         for 64-bit sparc.
14558         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14559         * sysdeps/sparc/locks.h: New file.
14560         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14561         on all sparc Solaris configurations.  Set to
14562         include/dwarf2-signal.h on sparc Linux.
14563         * configure: Regenerate
14564         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14565
14566 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14567
14568         * configure: Rebuilt.
14569         * configure.in (backtrace): Function doesn't work on IA-64.
14570
14571 2002-04-17  Adam King <aking@dreammechanics.com>
14572
14573         * java/io/File.java (normalizePath): Add Win32 support for auto
14574         conversion of a '/' path separator to Win32's '\' separator.
14575
14576 2002-04-16  Tom Tromey  <tromey@redhat.com>
14577
14578         Fix for PR libgcj/6081:
14579         * Makefile.in: Rebuilt.
14580         * Makefile.am (install-data-local): Use GNU make trick to avoid
14581         shell limit.
14582
14583 2002-04-16  Adam King <aking@dreammechanics.com>
14584             Tom Tromey  <tromey@redhat.com>
14585
14586         * java/io/natFileWin32.cc (performList): Return the correct array
14587         type.  Don't duplicate the creation of a File since it's already
14588         done earlier in the method and the existing code would cause a
14589         ArrayStoreException.  Don't use fixed-size array.
14590         (_access, _stat, attr, getCanonicalPath, performMkdir,
14591         performRenameTo): Don't use fixed-size array.
14592         (getCanonicalPath): Use throw, not _Jv_Throw.
14593
14594 2002-04-15  DJ Delorie  <dj@redhat.com>
14595
14596         * configure.in: Allow building in $srcdir.
14597         * configure: Regenerated.
14598
14599 2002-04-14  Mark Wielaard <mark@klomp.org>
14600
14601         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14602         * java/net/natSocketImpl.cc (close): Likewise.
14603
14604 2002-04-14  Mark Wielaard <mark@klomp.org>
14605
14606         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14607
14608 2002-04-13  Adam King <aking@dreammechanics.com>
14609
14610         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14611         the f/F/d/D modifiers.
14612
14613 2002-04-12  Anthony Green  <green@redhat.com>
14614
14615         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14616         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14617         * Makefile.in: Rebuilt.
14618         * configure.in: Substitute gcc_version.
14619         * configure: Rebuilt.
14620
14621 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14622
14623         * configure.host: Set can_unwind_signal on hosts which support it.
14624         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14625         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14626         exceptions and can_unwind_signal isn't set.
14627         * configure: Rebuilt.
14628
14629 2002-04-11  Tom Tromey  <tromey@redhat.com>
14630
14631         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14632
14633 2002-04-11  Adam King <aking@dreammechanics.com>
14634             Tom Tromey  <tromey@redhat.com>
14635
14636         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14637         _Jv_ThrowNullPointerException): Mark as noreturn.
14638         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14639         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14640         fixes.
14641
14642 2002-04-10  Tom Tromey  <tromey@redhat.com>
14643
14644         * Makefile.in: Rebuilt.
14645         * Makefile.am (java/lang/Thread.h): Mark
14646         _Jv_AttachCurrentThreadAsDaemon as friend.
14647         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14648         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14649         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14650         function.
14651         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14652         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14653         (_Jv_JNI_InvokeFunctions): Added
14654         _Jv_JNI_AttachCurrentThreadAsDaemon.
14655         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14656         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14657         (JNI_CreateJavaVM): Likewise.
14658         (_Jv_JNI_AttachCurrentThread): Likewise.
14659         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14660         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14661         (_Jv_JNIFunctions): Initialize new fields.
14662         (_Jv_JNI_NewDirectByteBuffer): New function.
14663         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14664         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14665         * include/jni.h (JNI_VERSION_1_4): New macro.
14666         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14667         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14668         (JNINativeInterface::NewDirectByteBuffer): New field.
14669         (JNINativeInterface::GetDirectBufferAddress): New field.
14670         (JNINativeInterface::GetDirectBufferCapacity): New field.
14671         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14672         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14673         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14674
14675 2002-04-09  Tom Tromey  <tromey@redhat.com>
14676
14677         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14678
14679 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14680
14681         Fix for PR libgcj/6187:
14682         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14683         distance.
14684
14685 2002-04-07  Mark Wielaard <mark@klomp.org>
14686
14687         * java/util/AbstractMap.java (putAll): Use entrySet size.
14688         (toString): Explicitly use getKey() and getValue().
14689
14690 2002-04-07  Mark Wielaard <mark@klomp.org>
14691
14692         * java/util/Hashtable.java (contains): Remove NullPointer check.
14693         (containsValue): Add NullPointer check.
14694         (remove): Always throw NullPointerException when key
14695         is null.
14696
14697 2002-04-07  Adam King <aking@dreammechanics.com>
14698
14699         * java/lang/natSystem.cc (init_properties): Call new function
14700         _Jv_platform_initProperties.
14701         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14702         support for the System properties os.name, os.arch, os.version,
14703         user.name, user.home, and user.dir.
14704         * include/posix.h, include/win32.h, posix.cc: New function
14705         _Jv_platform_initProperties.
14706
14707 2002-04-06  Mark Wielaard <mark@klomp.org>
14708
14709         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14710
14711 2002-04-06  Mark Wielaard <mark@klomp.org>
14712
14713         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14714         all of the remaining elements.
14715         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14716         (removeRange): If toIndex == fromIndex do
14717         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14718         (removeAll): Always throw NullPointerException when collection is
14719         null.
14720         (retrainAll): Likewise.
14721
14722 2002-04-05  Mark Wielaard <mark@klomp.org>
14723
14724         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14725         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14726
14727 2002-04-05  Adam Megacz <adam@xwt.org>
14728
14729         * exception.cc (abort): added static modifier
14730
14731 2002-04-04  Adam Megacz <adam@xwt.org>
14732
14733         * include/win32.h (_Jv_platform_close_on_exec): added inline
14734         modifier.
14735
14736 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14737
14738         * configure.host: Add case statement to support generic port
14739         properties.  Add *-*-freebsd* section.
14740
14741 2002-04-04  Mark Wielaard  <mark@klomp.org>
14742
14743         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14744         test.
14745         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14746         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14747         that depend on awt code and BufferedByteOutputStream.interrupt.
14748
14749 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14750
14751         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14752         incorrect "hi" value when count > 40.
14753
14754 2002-04-03  Mark Wielaard  <mark@klomp.org>
14755
14756         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14757         ordering.
14758
14759 2002-04-02  Tom Tromey  <tromey@redhat.com>
14760
14761         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14762         not `0'.
14763
14764 2002-04-02  Mark Wielaard  <mark@klomp.org>
14765
14766         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14767         list of testsuite crashers.
14768
14769 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14770
14771         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14772         when resizing table.
14773
14774 2002-04-01  Mark Wielaard  <mark@klomp.org>
14775
14776         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14777         NegativeArraySizeException
14778         (clear(int)): Use sign extended shift.
14779         (flip(int)): Likewise.
14780         (get(int)): Likewise.
14781         (nextClearBit(int)): Likewise.
14782         (nextSetBit(int)): Likewise.
14783         (set(int)): Likewise.
14784
14785 2002-04-01  Mark Wielaard  <mark@klomp.org>
14786
14787         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14788         that can be compiled now and add testsuite crashers to ignore list.
14789
14790 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14791
14792         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14793
14794         * libgcj.spec.in: Override libgcc, not lib.
14795         * libgcj-test.spec.in: Likewise.
14796
14797 2002-03-29  Tom Tromey  <tromey@redhat.com>
14798
14799         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14800         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14801
14802 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14803
14804         * java/net/PlainDatagramSocketImpl.java
14805         (close): Use native implementation.
14806         (finalize): New method.
14807
14808         * java/net/PlainSocketImpl.java (finalize): New method.
14809
14810         * java/net/natPlainDatagramSocketImpl.cc
14811         (java/io/FileDescriptor.h): Don't include.
14812         (close): Implement method here.
14813         (create): Don't assign fd.
14814
14815         * java/net/natPlainSocketImpl.cc
14816         (java/io/FileDescriptor.h): Don't include.
14817         (create): Don't assign fd.
14818         (accept): Likewise.
14819         (close): Synchronize.
14820
14821 2002-03-27  Richard Henderson  <rth@redhat.com>
14822
14823         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14824
14825 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14826
14827         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14828         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14829         instead of syscall on IA-64.
14830         Add FIXME comment.
14831
14832 2002-03-27  Anthony Green  <green@redhat.com>
14833
14834         * libgcj.spec.in: Add CHECKREFSPEC.
14835         * configure.in: Ditto.
14836         * configure.host: Ditto.  Check references for xscale-elf.
14837         * configure: Rebuilt.
14838
14839 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14840
14841         * include/dwarf2-signal.h: Temporarily back out last change.
14842
14843 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14844
14845         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14846
14847 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14848
14849         * configure.in, configure: enable dwarf2-exception-style
14850         exception handling on IA-64.
14851         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14852         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14853         Add FIXME comment.
14854
14855 2002-03-25  Tom Tromey  <tromey@redhat.com>
14856
14857         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14858         (jv_convert_LDFLAGS): Likewise.
14859         (gij_LDFLAGS): Likewise.
14860         (rmic_LDFLAGS): Likewise.
14861         (rmiregistry_LDFLAGS): Likewise.
14862         * configure.in (THREADLDFLAGS): New subst; set correctly for
14863         *BSD.
14864
14865 2002-03-25  Tom Tromey  <tromey@redhat.com>
14866
14867         For PR libgcj/5303:
14868         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14869         and --version.
14870         (help): New method.
14871         (version): Likewise.
14872         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14873         "GNU".
14874         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14875         "GNU".
14876
14877 2002-03-25  Tom Tromey  <tromey@redhat.com>
14878
14879         * java/awt/Component.java (processEvent): Check ComponentEvent
14880         after KeyEvent.
14881
14882 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14883
14884         * java/io/PushbackReader.java: Reformat.
14885
14886         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14887         calculate correct number of bytes skipped.
14888
14889         Based on patch from Intel's ORP team:
14890         * java/io/PushbackInputStream.java (available): Calculate correct
14891         number of bytes in buffer.
14892         (read): Remove redundant bound check. Return bytes from both the
14893         buffer and the stream.
14894
14895 2002-03-24  Tom Tromey  <tromey@redhat.com>
14896
14897         * java/awt/TextComponent.java (TextComponent): Editable by
14898         default.
14899
14900         * java/awt/MenuItem.java (eventMask): No longer private.
14901         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14902         superclass if we didn't handle event.
14903         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14904         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14905         * java/awt/Choice.java (dispatchEventImpl): New method.
14906         * java/awt/List.java (dispatchEventImpl): New method.
14907         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14908         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14909         * java/awt/TextField.java (dispatchEventImpl): New method.
14910
14911 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14912
14913         * java/beans/IntrospectionException.java: Update to 1.4.
14914         * java/beans/PropertyVetoException.java: Ditto.
14915
14916 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14917
14918         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14919         Arrays.equals instead of ArrayHelper.equalsArray.
14920
14921 2002-03-24  C. Brian Jones <cbj@gnu.org>
14922
14923         * java/beans/Introspector.java: added new static final fields
14924         introduced in 1.2, lots of other updates remain to be done
14925
14926 2002-03-24  C. Brian Jones <cbj@gnu.org>
14927
14928         * java/beans/Introspector.java: reformatting
14929
14930 2002-03-24  C. Brian Jones <cbj@gnu.org>
14931
14932         * java/beans/Introspector.java: default beanInfoSearchPath will
14933         not include sun.beans.infos given we provide no such package and
14934         the API doesn't really require it; gnu.java.beans.info is the
14935         default.
14936
14937 2002-03-24  Mark Wielaard  <mark@klomp.org>
14938
14939         Thanks to Orp developers
14940         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14941         switch TRUE and FALSE return values.
14942
14943 2002-03-23  Tom Tromey  <tromey@redhat.com>
14944
14945         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14946         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14947
14948 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14949
14950         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14951         MONTH entry.  Fixes PR libgcj/6045.
14952
14953 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14954
14955         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14956
14957 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14958
14959         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14960         not release_set.
14961         * sysdep/powerpc/locks.h (write_barrier): New function.
14962         * sysdep/i386/locks.h (write_barrier): New function.
14963
14964 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14965
14966         * include/jni.h Use correct C comments.
14967
14968 2002-03-18  Tom Tromey  <tromey@redhat.com>
14969
14970         * include/jni.h (JNIIMPORT): New macro.
14971         (JNIEXPORT): Likewise.
14972         (JNICALL): Likewise.
14973
14974 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14975
14976         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14977         systems.
14978
14979 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14980
14981         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14982         INIT_SEGV: Use old_i386_kernel_sigaction.
14983         INIT_FP: Likewise.
14984
14985 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14986
14987         * java/lang/natSystem.cc (init_properties): Update VM version
14988         properties.
14989         * configure.in: Set GCJVERSION.
14990         * acconfig.h: Add GCJVERSION.
14991         * configure: Rebuilt.
14992         * include/config.h.in: Rebuilt.
14993
14994 2002-03-17  Anthony Green  <green@redhat.com>
14995
14996         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14997
14998 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14999
15000         Build a single libgcj.so, without separate gc and zlib libraries.
15001         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15002         SYS_ZLIBS if system zlib is used.
15003         * configure: Rebuilt.
15004         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15005         * Makefile.in: Rebuilt.
15006         * libtool-version: Increment .so version number.
15007
15008         * Makefile.am: Escape quotes in echo.
15009         * Makefile.in: Rebuilt.
15010
15011 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15012
15013         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15014         * Makefile.in: Rebuilt.
15015
15016 2002-03-15  Anthony Green  <green@redhat.com>
15017
15018         * configure.host (FILE): New macro for specifing File
15019         implementation.
15020         * configure: Rebuilt.
15021         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15022
15023 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15024
15025         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15026         already implicitly brought in from libgcj.la.
15027         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15028         * Makefile.in: Rebuilt.
15029
15030 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15031
15032         * THANKS: Fix punctuation, alphabetization.
15033
15034 2002-03-15  Tom Tromey  <tromey@redhat.com>
15035             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15036
15037         Fix for PR libgcj/5944.
15038         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15039
15040 2002-03-15  Anthony Green  <green@redhat.com>
15041
15042         * configure.in (tool_include_dir): Define.
15043         * configure: Rebuilt.
15044         * gcj/Makefile.am: Install libgcj-config.h relative to
15045         tool_include_dir.
15046         * gcj/Makefile: Rebuilt.
15047         * gcj/libgcj-config.h: Add warning comment.
15048
15049 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15050
15051         * configure.host (powerpc*-darwin*): Enable interpreter.
15052
15053 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15054
15055         * include/posix.h: Add multiple include header protection.
15056         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15057
15058 2002-03-10  Adam Megacz <adam@xwt.org>
15059
15060         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15061
15062 2002-03-10  Tom Tromey  <tromey@redhat.com>
15063
15064         * java/awt/GridLayout.java (layoutContainer): Handle case where
15065         there are no items in container.
15066
15067         * java/lang/Win32Process.java: Added comment.
15068         * include/posix.h (_Jv_platform_close_on_exec): New function.
15069         Include fcntl.h.
15070         * include/win32.h (_Jv_platform_close_on_exec): New function.
15071         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15072         flag.
15073         (accept): Likewise.
15074         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15075         close-on-exec flag.
15076         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15077         flag.
15078
15079 2002-03-09  Tom Tromey  <tromey@redhat.com>
15080
15081         * verify.cc (state::NO_STACK): New constant.
15082         (state::is_unmerged_ret_state): Handle case where stacktop is
15083         NO_STACK.
15084         (state::merge): Handle NO_STACK merges.
15085         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15086         for instruction following jsr.
15087         (stacktop, stackdepth): Removed unused variables.
15088         (pop_jump): Ignore case where all remaining states are skipped.
15089
15090 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15091
15092         * java/awt/ImageMediaEntry: Removed.
15093         * java/awt/MediaEntry: Removed.
15094
15095 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15096
15097         Hashtable synchronization for PowerPC.
15098         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15099         slow_pthread_self. Set up symlink for sysdeps directory.
15100         * configure: Rebuild.
15101         * configure.host: Document more shell variables. Set sysdeps_dir
15102         for most platforms. Set slow_pthread_self for i686. Set
15103         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15104         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15105         that memory barrier is emitted where required.
15106         * prims.cc: 64-bit align static primitive class instances.
15107         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15108         read_barrier() to enforce ordering of reads.
15109         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15110         primitives for PowerPC.
15111         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15112         moved from natObject.cc.
15113         * sysdep/alpha/locks.h: Likewise.
15114         * sysdep/ia64/locks.h: Likewise.
15115         * sysdep/generic/locks.h: Likewise.
15116         * java/lang/natObject.cc: Move thread synchronization primitives to
15117         system-dependent headers.
15118
15119 2002-03-09  Adam Megacz  <adam@xwt.org>
15120
15121         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15122         bytes read and no failure code returned.
15123
15124 2002-03-09  Adam Megacz  <adam@xwt.org>
15125
15126         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15127         definitions to simulate -mthreads.
15128
15129 2002-03-09  Adam Megacz  <adam@xwt.org>
15130
15131         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15132         avoid precision loss.
15133
15134 2002-03-09  Per Bothner  <per@bothner.com>
15135
15136         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15137         * gnu/gcj/xlib/XImage.java:  Likewise.
15138         * gnu/gcj/xlib/XColor.java:  Likewise.
15139
15140 2002-03-09  Adam Megacz  <adam@xwt.org>
15141
15142         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15143         IOException so that Throwable.printStackTrace fails correctly.
15144
15145 2002-03-08  Adam Megacz  <adam@xwt.org>
15146
15147         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15148         fixed.
15149
15150 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15151
15152         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15153         truncated to int.
15154
15155 2002-03-08  Tom Tromey  <tromey@redhat.com>
15156
15157         * include/jni.h: Include stdio.h.
15158
15159 2002-03-08  Tom Tromey  <tromey@redhat.com>
15160
15161         * posix.cc (internal_gettimeofday): New function.
15162         (_Jv_select): Use it.
15163
15164 2002-03-07  Adam Megacz  <adam@xwt.org>
15165
15166         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15167         WIN32, and added thunks for read(), write(), and close().
15168         * java/net/natPlainSocketImpl.cc (accept, read, read):
15169         Disabled timeouts on WIN32 pending discussion.
15170
15171 2002-03-07  Adam Megacz  <adam@xwt.org>
15172
15173         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15174         returns jlong. Added implementation
15175         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15176         returns jlong.
15177         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15178         returns jlong.
15179         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15180         returns jlong.
15181         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15182         _Jv_platform_gettimeofday signature.
15183
15184 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15185
15186         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15187         (read): Call recv() directly, not _Jv_recv().
15188
15189 2002-03-06  Tom Tromey  <tromey@redhat.com>
15190
15191         * java/io/natFileDescriptorEcos.cc (init): Don't use
15192         GetStdHandle.
15193         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15194         is negative.
15195         (init): Don't use GetStdHandle.
15196
15197         * include/config.h.in: Rebuilt.
15198         * configure: Rebuilt.
15199         * Makefile.in: Rebuilt.
15200
15201 2002-03-06  Adam Megacz  <adam@xwt.org>
15202
15203         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15204         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15205         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15206         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15207
15208 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15209
15210         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15211         the code for generating include/java-chartables.h.
15212         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15213         merge with Classpath.
15214         * scripts/unicode-muncher.pl: Copy from Classpath.
15215         * scritps/MakeCharTables.java: New file.
15216         * gnu/gcj/convert/Blocks-3.txt: New file.
15217         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15218         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15219         * gnu/java/lang/CharData.java: Copy from Classpath.
15220         * Makefile.am (ordinary_java_source_files): Add
15221         gnu/java/lang/CharData.java.
15222         * configure.in: Remove --enable-fast-character option.
15223         * java/lang/Character.java: Merge algorithms and Javadoc with
15224         Classpath.
15225         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15226         efficiently.
15227         * include/java-chardecomp.h: Regenerate.
15228         * include/java-chartables.h: Regenerate.
15229
15230 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15231
15232         * java/awt/MediaTracker.java: Implemented.
15233         * Makefile.am: Add MediaTracker.
15234         * Makefile.in: Rebuilt.
15235
15236 2002-03-05  Tom Tromey  <tromey@redhat.com>
15237
15238         * java/lang/natPosixProcess.cc (fail): Removed.
15239         (startProcess): Simplified error-handling.  Preserve
15240         LD_LIBRARY_PATH across exec.
15241
15242         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15243         AbstractMethodError.
15244
15245 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15246
15247         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15248         * Makefile.in: Rebuilt.
15249
15250 2002-03-03 Mark Wielaard <mark@klomp.org>
15251
15252         * java/util/Timer (TaskQueue.stop): set elements to zero.
15253
15254 2002-02-28  Anthony Green  <green@redhat.com>
15255
15256         * java/lang/reflect/natMethod.cc (result): Add void* element.
15257         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15258         constructor test.
15259
15260 2002-02-27  Adam Megacz <adam@xwt.org>
15261
15262         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15263         '#undef STRICT'.
15264
15265 2002-02-26  Tom Tromey  <tromey@redhat.com>
15266
15267         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15268         * gij.cc (version): Use __VERSION__.
15269         * include/config.h.in: Rebuilt.
15270         * acconfig.h (GCJVERSION): Removed.
15271         * configure: Rebuilt.
15272         * configure.in (GCJVERSION): Removed.
15273
15274 2002-02-26  Andreas Schwab  <schwab@suse.de>
15275
15276         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15277         glibcpp_CXX, since libjava uses even another CXX.
15278         * aclocal.m4, configure: Regenerated.
15279
15280 2002-02-26  Tom Tromey  <tromey@redhat.com>
15281
15282         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15283         `1'.
15284
15285 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15286
15287         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15288         dependency tracking for .java files.
15289         * Makefile.in: Rebuilt.
15290
15291 2002-02-24  Adam Megacz  <adam@xwt.org>
15292
15293         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15294         typo. Sorry.
15295
15296 2002-02-24  Adam Megacz  <adam@xwt.org>
15297
15298         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15299         for Win32, changed #ifdefs to check WIN32 instead of the
15300         (now-obsolete) USE_WINSOCK, and removed support for socket
15301         timeouts on Win32 pending further discussion.
15302
15303 2002-02-24  Adam Megacz  <adam@xwt.org>
15304
15305         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15306         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15307         delete
15308
15309 2002-02-24  Adam Megacz  <adam@xwt.org>
15310
15311         * java/lang/Win32Process.java: Created a dummy class to allow
15312         build process to run to completion.
15313
15314 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15315
15316         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15317         Define ffi_result union for ffi_call result.  Cast
15318         ffi_result members to jvalue.
15319
15320 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15321
15322         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15323         * testsuite/Makefile.in: Likewise.
15324
15325 2002-02-20  Per Bothner  <per@bothner.com>
15326
15327         * java/net/URL.java (getPath):  New JDK 1.3 method.
15328
15329         * java/net/URLStreamHandler.java (parseURL):
15330         It is wrong to prepend '/' to the file part of a relative url.
15331
15332         * java/net/URLStreamHandler.java (parseURL):
15333         Minor optizations - append '/' rather than "/".
15334
15335         * java/net/URLStreamHandler.java (parseURL):
15336         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15337         We probably should canonicalize for a context-relative url, though.
15338         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15339         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15340         (sameFile):  New method.  Uses canonicalizeFilename.
15341
15342 2002-02-22  Tom Tromey  <tromey@redhat.com>
15343
15344         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15345         java.vendor and java.vm.vendor.
15346         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15347         recent copyright date.
15348         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15349         * gij.cc (version): Print `Inc'.
15350
15351 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15352
15353         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15354         * aclocal.m4, configure: Rebuilt.
15355
15356 2002-02-20  Per Bothner  <per@bothner.com>
15357
15358         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15359         and/or output streams immediately here, instead of using File.exists.
15360         (inputStream, outputStream):  New fields to save open streams.
15361         (getInputStream, getOutputStream):  Use already-opened streams.
15362
15363 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15364
15365         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15366         Use it.
15367         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15368         * aclocal.m4, configure, Makefile.in: Rebuilt.
15369
15370 2002-02-19  Tom Tromey  <tromey@redhat.com>
15371
15372         Fix for PR libgcj/5696:
15373         * verify.cc (is_assignable_from_slow): Never call
15374         _Jv_IsAssignableFrom.
15375         (verify_instructions_0): Added new debug statement.
15376         (state::print): Print information about whether local has
15377         changed.
15378         (state::merge): Don't call note_variable when merging locals.
15379         (state::set_exception): Removed old FIXME comment.
15380
15381 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15382
15383         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15384         enable SO_BROADCAST.
15385
15386 2002-02-18  Jason Merrill  <jason@redhat.com>
15387
15388         * name-finder.cc (toHex): Use word mode, not long long.
15389
15390         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15391
15392 2002-02-15  Tom Tromey  <tromey@redhat.com>
15393
15394         Fix for PR libgcj/5695:
15395         * verify.cc (is_assignable_from_slow): Check to see if target is
15396         an Object before checking to see if source is an interface.
15397         (verify_instructions_0) [op_invokeinterface]: Handle case where
15398         we're making an interface call on Object.
15399
15400 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15401
15402         * Makefile.in: Rebuilt with Eric's change below.
15403
15404         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15405         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15406         Removed functions which are now implemented in Math.java.
15407
15408 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15409
15410         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15411         * Makefile.am (core_java_source_files): Add
15412         java/lang/StrictMath.java.
15413         * java/lang/Math.java: Merge with Classpath.
15414         * java/lang/StrictMath.java: New file - merge with Classpath.
15415
15416 2002-02-14  Mark Wielaard  <mark@klomp.org>
15417
15418         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15419         package as a workaround for gcj 3.0.x
15420
15421 2002-02-14  Mark Wielaard <mark@klomp.org>
15422
15423         * java/security/BasicPermission.java: extends with fully qualified
15424         classname as workaround for gcj 3.0.4.
15425
15426 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15427
15428         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15429         around gcj bug of wrong emitted qualifier for inherited method.
15430         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15431         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15432         constructor to reduce amount of emitted bytecode. While this
15433         happens to work around a jikes 1.15 bug, it is still a useful
15434         patch even for correct compilers.
15435         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15436         * gnu/java/rmi/server/UnicastRemoteCall.java
15437         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15438
15439 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15440
15441         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15442         * java/net/SocketImpl.java: Ditto.
15443         * java/rmi/server/RMIClassLoader.java: Ditto.
15444         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15445
15446 2002-02-14  Mark Wielaard <mark@klomp.org>
15447
15448         Thanks to Takashi Okamoto
15449         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15450         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15451         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15452
15453 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15454
15455         Fix for PR libgcj/5670:
15456         * verify.cc (is_assignable_from_slow): If `source' is interface,
15457         recursively look for merge with `target'.
15458
15459 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15460
15461         * include/jni.h: Fix typo.
15462
15463 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15464
15465         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15466         correctly.
15467
15468 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15469
15470         Fix for PR libgcj/5671:
15471         * verify.cc (state::merge): Handle case where we're merging
15472         against an interface.
15473
15474 2002-02-12  Tom Tromey  <tromey@redhat.com>
15475
15476         * exception.cc (std::abort): Mark as noreturn.
15477
15478 2002-02-12  Adam Megacz <adam@xwt.org>
15479
15480         * java/lang/Win32Process.java: Filled in a placeholder
15481         implementation so Win32 will build.
15482
15483 2002-02-12  Adam Megacz <adam@xwt.org>
15484
15485         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15486         * java/io/natFile.cc: Removed from repository.
15487         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15488
15489 2002-02-12  Adam Megacz <adam@xwt.org>
15490
15491         * win32.cc: Added two #includes to make win32.cc compile.
15492
15493 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15494
15495         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15496         declarations.
15497         (_Jv_InitGC): Don't bother locking, as this is always called from a
15498         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15499
15500 2002-02-11  Adam Megacz <adam@xwt.org>
15501
15502         * include/win32.h: Added _Jv_platform_gettimeofday.
15503         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15504
15505 2002-02-11  Adam Megacz <adam@xwt.org>
15506
15507         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15508         Added #undef STRICT to make windows.h and
15509         java/lang/reflect/Modifier.h cooperate.
15510
15511 2002-02-11  Adam Megacz <adam@xwt.org>
15512
15513         * java/io/natFileWin32.cc: Created a placeholder class with lots
15514         of FIXMEs.
15515
15516 2002-02-11  Adam Megacz <adam@xwt.org>
15517
15518         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15519         std::abort() to simply abort(). Also added "fake" std::abort() so
15520         we can #include unwind-pe.h without having to link against
15521         libstdc++-v3.
15522
15523 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15524
15525         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15526
15527 2002-02-08  Tom Tromey  <tromey@redhat.com>
15528
15529         * interpret.cc (convert): New function.
15530         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15531         convert.
15532         Include Long.h.
15533
15534 2002-02-08  Anthony Green  <green@redhat.com>
15535
15536         * configure.host: Add support for xscale-elf embedded target.
15537
15538 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15539
15540         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15541         dereferenced.
15542         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15543         frame.
15544
15545 2002-02-07  Tom Tromey  <tromey@redhat.com>
15546
15547         * java/io/natFile.cc (_access): Use __builtin_alloca.
15548         (_stat): Likewise.
15549         (attr): Likewise.
15550         (getCanonicalPath): Likewise.
15551         (performList): Likewise.
15552         (performMkdir): Likewise.
15553         (performSetReadOnly): Likewise.
15554         (performRenameTo): Likewise.
15555         (performSetLastModified): Likewise.
15556         (performCreate): Likewise.
15557         (performDelete): Likewise.
15558
15559 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15560
15561         * HACKING: Fix URL for the automake-gcj.
15562
15563 2002-02-07  Tom Tromey  <tromey@redhat.com>
15564
15565         * java/lang/natThrowable.cc: Updated copyright.
15566         * java/io/natFileWin32.cc: Updated copyright.
15567         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15568         * win32-threads.cc: Updated copyright.
15569         * name-finder.cc: Updated copyright.
15570         * include/name-finder.h: Updated copyright.
15571
15572         * include/name-finder.h: Conditionally include sys/wait.h.
15573         * include/config.h.in: Rebuilt.
15574
15575         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15576         Size buffer based on real size of string.
15577         (_stat): Likewise.
15578         (attr): Likewise.
15579         (getCanonicalPath): Likewise.
15580         (performList): Likewise.
15581         (performMkdir): Likewise.
15582         (performSetReadOnly): Likewise.
15583         (unixroot): Removed.
15584         (performRenameTo): Likewise.
15585         (performSetLastModified): Likewise.
15586         (performCreate): Likewise.
15587         (performDelete): Likewise.
15588         (performListRoots): Always return new array.
15589
15590         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15591         * win32.cc (win32_exception_handler): Now static.
15592         * include/win32.h (_Jv_platform_initialize): Declare.
15593         (win32_exception_handler): Don't declare.
15594         * java/lang/natSystem.cc (currentTimeMillis): Use
15595         _Jv_platform_gettimeofday.
15596         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15597         (_Jv_select): Use new name.
15598         (_Jv_platform_initialize): New function.
15599         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15600         _Jv_gettimeofday.
15601         (_Jv_platform_initialize): Declare.
15602
15603         * configure: Rebuilt.
15604         * configure.in: Removed unnecessary parens.
15605
15606 2002-02-06  Adam Megacz <adam@xwt.org>
15607
15608        * configure.in: Changed mingw) to *mingw*).
15609        * win32.cc: Created this file.
15610        * win32.h: Created this file.
15611        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15612        win32_exception_handler from prims.cc to win32.cc, added
15613        header in win32.h.
15614        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15615        longer needed now that we have platform.h
15616
15617 2002-02-06  Adam Megacz <adam@xwt.org>
15618
15619         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15620         use uint<n>_t instead of LONG and BYTE
15621
15622 2002-02-06  Adam Megacz <adam@xwt.org>
15623
15624         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15625
15626 2002-02-06  Anthony Green  <green@redhat.com>
15627
15628         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15629         Implement missing method stubs.
15630         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15631         targets.
15632         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15633         concept of timezones.
15634         (init_properties): Don't refer to _Jv_Environment_Properties
15635         when this feature is not available.
15636         * include/config.h.in: Rebuilt.
15637         * acconfig.h: Add DISABLE_MAIN_ARGS.
15638         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15639         * configure: Rebuilt.
15640         * configure.in: Add --disable-main-args option.  Test for
15641           opendir function.  Replace AC_CHECK_SIZEOF with
15642           AC_COMPILE_CHECK_SIZEOF.
15643         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15644         * aclocal.m4: Rebuilt.
15645         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15646
15647 2002-02-06  Tom Tromey  <tromey@redhat.com>
15648
15649         * verify.cc (require_array_type): If argument is a null array of
15650         references, return null as the element type.
15651
15652 2002-02-06  Mark Wielaard  <mark@klomp.org>
15653
15654         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15655         duplicate of a wide type.
15656
15657 2002-02-06  Tom Tromey  <tromey@redhat.com>
15658
15659         * verify.cc (type::isnull): New method.
15660         (require_array_type): Handle case where array is null.
15661         (verify_instructions_0) [op_arraylength]: Likewise.
15662
15663 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15664
15665         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15666         Symlink PLATFORMH to platform.h.
15667         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15668         PLATFORMOBJS.
15669         * java/lang/natSystem.cc: #include platform.h not posix.h.
15670         * Makefile.in: Rebuilt with libgcj automake.
15671         * configure: Rebuilt.
15672
15673 2002-02-05  Richard Henderson  <rth@redhat.com>
15674
15675         * Makefile.in: Undo munging last change.
15676
15677 2002-02-04  Adam Megacz <adam@xwt.org>
15678
15679         * win32.cc: Created it.
15680         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15681         which is set to posix.cc or win32.cc.
15682         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15683
15684 2002-02-04  Adam Megacz <adam@xwt.org>
15685
15686         * configure.in: Corrected mingw case branches; added * before
15687         and after.
15688
15689 2002-02-04  Adam Megacz <adam@xwt.org>
15690
15691         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15692         if compiling for win32
15693
15694 2002-02-04  Adam Megacz <adam@xwt.org>
15695
15696         * win32-threads.cc: #undef STRICT after gc.h inclusion
15697
15698 2002-02-02  Tom Tromey  <tromey@redhat.com>
15699
15700         * Makefile.in: Rebuilt.
15701
15702 2002-02-02  Jason Merrill  <jason@redhat.com>
15703
15704         * Makefile.am (clean-nat): New target.
15705
15706 2002-02-02  Tom Tromey  <tromey@redhat.com>
15707
15708         * java/io/natFile.cc: Removed old "FIXME" comments.
15709
15710 2002-02-01  Tom Tromey  <tromey@redhat.com>
15711
15712         * java/lang/natPosixProcess.cc (myclose): New function.
15713         (fail): Use it.
15714         (startProcess): Likewise.
15715
15716 2002-02-01  Adam Megacz <adam@xwt.org>
15717
15718         * prims.cc: Added #undef STRICT after #include<windows.h>.
15719
15720 2002-02-01  Adam Megacz <adam@xwt.org>
15721
15722         * prims.cc
15723         (_Jv_CreateJavaVM): We now use WIN32 instead of
15724         USE_WIN32_SIGNALLING and USE_WINSOCK.
15725         (win32_exception_handler): Now throws an exception out of
15726         the signal handler; assumes SJLJ.
15727
15728 2002-02-01  Adam Megacz <adam@xwt.org>
15729
15730         * win32-threads.cc:
15731         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15732         wait() algorithm to make it safe.
15733         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15734         Added lazy creation of Win32 Events for better performance
15735         (really_start): This now uses GC_CreateThread so boehm-gc
15736         knows about new threads even when statically linked.
15737
15738 2002-02-01  Adam Megacz <adam@xwt.org>
15739
15740         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15741         enable safer wait() algorithm.
15742         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15743         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15744         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15745         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15746         instead of mutex.
15747         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15748
15749 2002-02-01  Adam Megacz <adam@xwt.org>
15750
15751         * configure.in: Added support for mingw.
15752         * java/lang/Win32Process.java: Created as empty file.
15753         * java/lang/natWin32Process.cc: Created as empty file.
15754
15755 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15756
15757         PR java/4972
15758         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15759         for libiconv in LIBICONV variable.
15760         * configure: Regenerated.
15761
15762 2002-01-31  Tom Tromey  <tromey@redhat.com>
15763
15764         * verify.cc (state::enter_subroutine): New method.
15765         (handle_jsr_insn): Use it.
15766         (state::merge): When processing a `ret', correctly use
15767         subroutine's state to determine which local variables have
15768         changed.
15769         (push_exception_jump): Don't let stack overflow.
15770
15771 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15772
15773         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15774         --version output.
15775
15776 2002-01-30  Tom Tromey  <tromey@redhat.com>
15777
15778         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15779         parameter for `recv' return type.
15780
15781         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15782         (state::merge): ... not here.
15783         (subr_entry_info): New structure.
15784         (entry_points): New field.
15785         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15786         entry_points.
15787
15788 2002-01-29  Tom Tromey  <tromey@redhat.com>
15789
15790         * java/awt/List.java (addNotify): Correctly check to see if peer
15791         does not exist.
15792
15793         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15794         to compute height of each cell, and number of columns to compute
15795         width of each cell.
15796         * java/awt/Window.java (getOwnedWindows): Don't return null.
15797         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15798         of component.  Increment x using horizontal gap, not vertical
15799         gap.
15800
15801 2002-01-28  Tom Tromey  <tromey@redhat.com>
15802
15803         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15804         `nargs' byte is number of words, not number of arguments.
15805
15806 2002-01-27  Tom Tromey  <tromey@redhat.com>
15807
15808         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15809         (when): Likewise.
15810         * java/awt/event/InputEvent.java (modifiers, when): Now
15811         package-private.
15812
15813         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15814         and to-do list.
15815         (state::merge): Use current class' class loader.
15816         (state::print): Print subroutine.
15817         (state::merge): Don't look at subroutine of unmerged `ret'.
15818
15819 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15820
15821         * nogc.cc: Remove warnings.
15822         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15823         New functions.
15824
15825 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15826
15827         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15828         int, int):  Remove empty "if" statement to work around compiler bug.
15829         (newPixels(int[], ColorModel, int, int): Likewise.
15830
15831 2002-01-25  Per Bothner  <per@bothner.com>
15832
15833         * verify.cc (verify_fail):  Change from being a top-level function
15834         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15835         Pass the current verifier to type: and state: methods as needed,
15836         for better error messages, and for resolve.
15837         (resolve):  Pass current class's loader for Class.forName and
15838         _Jv_FindClassFromSignature, rather than using the default loader.
15839         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15840         (get_type_val_for_signature):  Make non-static.
15841         (various methods):  Pass start_PC implicitly, not explicitly.
15842
15843 2002-01-25  Tom Tromey  <tromey@redhat.com>
15844
15845         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15846         loop termination condition.
15847         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15848         width.
15849
15850 2002-01-24  Tom Tromey  <tromey@redhat.com>
15851
15852         * java/awt/Shape.java: Merged with Classpath.
15853         * java/awt/Scrollbar.java: Merged with Classpath.
15854
15855         * java/awt/Container.java (addNotify): Unconditionally call
15856         addNotifyContainerChildren and superclass addNotify.
15857
15858         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15859         getAlpha, not getBlue.
15860
15861 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15862
15863         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15864
15865         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15866         (grabPixels(long)): Wait to be notified that the ImageProducer has
15867         completed.
15868
15869 2002-01-24  Per Bothner  <per@bothner.com>
15870
15871         * verify.cc (is_assignable_from_slow): If target is an interface,
15872         we must still check the source's superclass before giving up.
15873
15874 2002-01-24  Tom Tromey  <tromey@redhat.com>
15875
15876         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15877
15878 2002-01-23  Tom Tromey  <tromey@redhat.com>
15879
15880         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15881         `else'.
15882
15883         * Makefile.in: Rebuilt.
15884         * Makefile.am (awt_java_source_files): Added new files.
15885         * java/awt/Toolkit.java: Merged with Classpath.
15886         * java/awt/PrintGraphics.java: New file from Classpath.
15887         * java/awt/PrintJob.java: New file from Classpath.
15888         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15889         * java/awt/datatransfer/ClipboardOwner.java: New file from
15890         Classpath.
15891         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15892         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15893         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15894         Classpath.
15895         * java/awt/datatransfer/StringSelection.java: New file from
15896         Classpath.
15897         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15898         Classpath.
15899         * java/awt/datatransfer/Transferable.java: New file from
15900         Classpath.
15901         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15902         from Classpath.
15903
15904         * Makefile.in: Rebuilt.
15905         * Makefile.am (awt_java_source_files): Added new files.
15906         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15907         Classpath.
15908         * java/awt/image/CropImageFilter.java: New file from Classpath.
15909         * java/awt/image/FilteredImageSource.java: New file from
15910         Classpath.
15911         * java/awt/image/ImageFilter.java: New file from Classpath.
15912         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15913         * java/awt/image/PixelGrabber.java: New file from Classpath.
15914         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15915         * java/awt/image/ReplicateScaleFilter.java: New file from
15916         Classpath.
15917         * java/awt/image/ImageProducer.java: Replaced with Classpath
15918         version.
15919         * java/awt/image/ImageObserver.java: Replaced with Classpath
15920         version.
15921         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15922         version.
15923         * java/awt/GridBagConstraints.java (clone): Catch
15924         CloneNotSupportedException.
15925
15926 2002-01-23  Per Bothner  <per@bothner.com>
15927
15928         * java/lang/reflect/natField.cc (setAddr):  New function.
15929         Calls getAddr and then checks that the field isn't final.
15930         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15931         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15932         (set):  Call setAddr before check that new value has right type,
15933         to better match specified semantics.
15934
15935 2002-01-22  Tom Tromey  <tromey@redhat.com>
15936
15937         * java/awt/TextField.java: Replaced with Classpath version.
15938         * java/awt/TextArea.java: Replaced with Classpath version.
15939         * java/awt/TextComponent.java: Replaced with Classpath version.
15940
15941         * java/awt/GridBagConstraints.java: Updated copyright.
15942
15943 2002-01-22  Mark Wielaard <mark@klomp.org>
15944
15945         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15946         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15947         java/awt/Dialog.java java/awt/FileDialog.java
15948         java/awt/Font.java java/awt/FontMetrics.java
15949         java/awt/Image.java java/awt/ImageMediaEntry.java
15950         java/awt/Insets.java java/awt/List.java
15951         java/awt/MediaEntry.java java/awt/MediaTracker.java
15952         java/awt/Menu.java java/awt/MenuBar.java
15953         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15954         java/awt/PaintContext.java java/awt/Panel.java
15955         java/awt/PopupMenu.java java/awt/SystemColor.java
15956         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15957         java/awt/peer/CheckboxMenuItemPeer.java
15958         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15959         java/awt/peer/ComponentPeer.java
15960         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15961         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15962         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15963         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15964         java/awt/peer/MenuBarPeer.java
15965         java/awt/peer/MenuComponentPeer.java
15966         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15967         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15968         java/awt/peer/ScrollPanePeer.java
15969         java/awt/peer/ScrollbarPeer.java
15970         java/awt/peer/TextAreaPeer.java
15971         java/awt/peer/TextComponentPeer.java
15972         java/awt/peer/TextFieldPeer.java
15973         java/awt/peer/WindowPeer.java: Add license clarification.
15974
15975 2002-01-22  Mark Wielaard <mark@klomp.org>
15976
15977         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15978         gnu/gcj/runtime/StringBuffer.java
15979         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15980         gnu/java/awt/ComponentDataBlitOp.java
15981         gnu/java/awt/GLightweightPeer.java
15982         gnu/java/beans/BeanInfoEmbryo.java
15983         gnu/java/beans/EmptyBeanInfo.java
15984         gnu/java/beans/ExplicitBeanInfo.java
15985         gnu/java/beans/IntrospectionIncubator.java
15986         gnu/java/beans/editors/ColorEditor.java
15987         gnu/java/beans/editors/FontEditor.java
15988         gnu/java/beans/editors/NativeBooleanEditor.java
15989         gnu/java/beans/editors/NativeByteEditor.java
15990         gnu/java/beans/editors/NativeDoubleEditor.java
15991         gnu/java/beans/editors/NativeFloatEditor.java
15992         gnu/java/beans/editors/NativeIntEditor.java
15993         gnu/java/beans/editors/NativeLongEditor.java
15994         gnu/java/beans/editors/NativeShortEditor.java
15995         gnu/java/beans/editors/StringEditor.java
15996         gnu/java/beans/info/ComponentBeanInfo.java
15997         gnu/java/io/ClassLoaderObjectInputStream.java
15998         gnu/java/io/NullOutputStream.java
15999         gnu/java/io/ObjectIdentityWrapper.java
16000         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16001         gnu/java/lang/reflect/TypeSignature.java
16002         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16003         gnu/java/locale/Calendar_en.java
16004         gnu/java/locale/Calendar_nl.java
16005         gnu/java/locale/LocaleInformation.java
16006         gnu/java/locale/LocaleInformation_de.java
16007         gnu/java/locale/LocaleInformation_en.java
16008         gnu/java/locale/LocaleInformation_nl.java
16009         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16010         gnu/java/rmi/registry/RegistryImpl.java
16011         gnu/java/rmi/rmic/Compile_gcj.java
16012         gnu/java/rmi/rmic/Compiler.java
16013         gnu/java/rmi/rmic/CompilerProcess.java
16014         gnu/java/rmi/rmic/RMIC.java
16015         gnu/java/rmi/rmic/TabbedWriter.java
16016         gnu/java/rmi/server/ProtocolConstants.java
16017         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16018         gnu/java/rmi/server/RMIHashes.java
16019         gnu/java/rmi/server/RMIObjectInputStream.java
16020         gnu/java/rmi/server/RMIObjectOutputStream.java
16021         gnu/java/rmi/server/UnicastConnection.java
16022         gnu/java/rmi/server/UnicastConnectionManager.java
16023         gnu/java/rmi/server/UnicastRef.java
16024         gnu/java/rmi/server/UnicastRemoteCall.java
16025         gnu/java/rmi/server/UnicastRemoteStub.java
16026         gnu/java/rmi/server/UnicastServer.java
16027         gnu/java/rmi/server/UnicastServerRef.java
16028         gnu/java/security/provider/DefaultPolicy.java
16029         gnu/java/security/provider/Gnu.java
16030         gnu/java/security/provider/SHA.java
16031         gnu/java/security/provider/SHA1PRNG.java
16032         gnu/java/text/BaseBreakIterator.java
16033         gnu/java/text/CharacterBreakIterator.java
16034         gnu/java/text/LineBreakIterator.java
16035         gnu/java/text/SentenceBreakIterator.java
16036         gnu/java/text/WordBreakIterator.java
16037         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16038         java/applet/AppletContext.java java/applet/AppletStub.java
16039         java/applet/AudioClip.java java/awt/AWTError.java
16040         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16041         java/awt/AWTException.java java/awt/AWTPermission.java
16042         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16043         java/awt/Button.java java/awt/Canvas.java
16044         java/awt/CardLayout.java java/awt/Checkbox.java
16045         java/awt/CheckboxGroup.java java/awt/Component.java
16046         java/awt/ComponentOrientation.java java/awt/Container.java
16047         java/awt/Dimension.java java/awt/Event.java
16048         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16049         java/awt/FlowLayout.java java/awt/Frame.java
16050         java/awt/Graphics.java java/awt/Graphics2D.java
16051         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16052         java/awt/IllegalComponentStateException.java
16053         java/awt/ItemSelectable.java java/awt/Label.java
16054         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16055         java/awt/MenuComponent.java java/awt/MenuItem.java
16056         java/awt/Paint.java java/awt/Point.java
16057         java/awt/Rectangle.java java/awt/RenderingHints.java
16058         java/awt/Transparency.java java/awt/Window.java
16059         java/awt/color/ColorSpace.java
16060         java/awt/color/ICC_ColorSpace.java
16061         java/awt/color/ICC_Profile.java
16062         java/awt/event/HierarchyBoundsAdapter.java
16063         java/awt/event/HierarchyBoundsListener.java
16064         java/awt/event/HierarchyEvent.java
16065         java/awt/event/HierarchyListener.java
16066         java/awt/geom/AffineTransform.java
16067         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16068         java/awt/geom/IllegalPathStateException.java
16069         java/awt/geom/Line2D.java
16070         java/awt/geom/NoninvertibleTransformException.java
16071         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16072         java/awt/geom/Rectangle2D.java
16073         java/awt/geom/RectangularShape.java
16074         java/awt/geom/RoundRectangle2D.java
16075         java/awt/image/BufferedImage.java
16076         java/awt/image/ColorModel.java
16077         java/awt/image/ComponentColorModel.java
16078         java/awt/image/ComponentSampleModel.java
16079         java/awt/image/DataBuffer.java
16080         java/awt/image/DataBufferByte.java
16081         java/awt/image/DataBufferInt.java
16082         java/awt/image/DataBufferUShort.java
16083         java/awt/image/DirectColorModel.java
16084         java/awt/image/PackedColorModel.java
16085         java/awt/image/Raster.java java/awt/image/RasterOp.java
16086         java/awt/image/SampleModel.java
16087         java/awt/image/SinglePixelPackedSampleModel.java
16088         java/awt/image/WritableRaster.java
16089         java/beans/AppletInitializer.java
16090         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16091         java/beans/Beans.java java/beans/Customizer.java
16092         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16093         java/beans/FeatureDescriptor.java
16094         java/beans/IndexedPropertyDescriptor.java
16095         java/beans/IntrospectionException.java
16096         java/beans/Introspector.java java/beans/MethodDescriptor.java
16097         java/beans/ParameterDescriptor.java
16098         java/beans/PropertyChangeEvent.java
16099         java/beans/PropertyChangeListener.java
16100         java/beans/PropertyChangeSupport.java
16101         java/beans/PropertyDescriptor.java
16102         java/beans/PropertyEditor.java
16103         java/beans/PropertyEditorManager.java
16104         java/beans/PropertyEditorSupport.java
16105         java/beans/PropertyVetoException.java
16106         java/beans/SimpleBeanInfo.java
16107         java/beans/VetoableChangeListener.java
16108         java/beans/VetoableChangeSupport.java
16109         java/beans/Visibility.java
16110         java/beans/beancontext/BeanContext.java
16111         java/beans/beancontext/BeanContextChild.java
16112         java/beans/beancontext/BeanContextChildComponentProxy.java
16113         java/beans/beancontext/BeanContextChildSupport.java
16114         java/beans/beancontext/BeanContextContainerProxy.java
16115         java/beans/beancontext/BeanContextEvent.java
16116         java/beans/beancontext/BeanContextMembershipEvent.java
16117         java/beans/beancontext/BeanContextMembershipListener.java
16118         java/beans/beancontext/BeanContextProxy.java
16119         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16120         java/beans/beancontext/BeanContextServiceProvider.java
16121         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16122         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16123         java/beans/beancontext/BeanContextServiceRevokedListener.java
16124         java/beans/beancontext/BeanContextServices.java
16125         java/beans/beancontext/BeanContextServicesListener.java
16126         java/io/BufferedInputStream.java
16127         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16128         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16129         java/io/ByteArrayOutputStream.java
16130         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16131         java/io/CharConversionException.java java/io/DataInput.java
16132         java/io/DataInputStream.java java/io/DataOutput.java
16133         java/io/EOFException.java java/io/Externalizable.java
16134         java/io/FileFilter.java java/io/FileNotFoundException.java
16135         java/io/FilePermission.java java/io/FileReader.java
16136         java/io/FileWriter.java java/io/FilenameFilter.java
16137         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16138         java/io/FilterReader.java java/io/FilterWriter.java
16139         java/io/IOException.java java/io/InputStream.java
16140         java/io/InterruptedIOException.java
16141         java/io/InvalidClassException.java
16142         java/io/InvalidObjectException.java
16143         java/io/NotActiveException.java
16144         java/io/NotSerializableException.java java/io/ObjectInput.java
16145         java/io/ObjectInputStream.java
16146         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16147         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16148         java/io/ObjectStreamConstants.java
16149         java/io/ObjectStreamException.java
16150         java/io/ObjectStreamField.java
16151         java/io/OptionalDataException.java java/io/OutputStream.java
16152         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16153         java/io/PipedReader.java java/io/PipedWriter.java
16154         java/io/PrintWriter.java java/io/PushbackInputStream.java
16155         java/io/PushbackReader.java java/io/Reader.java
16156         java/io/SequenceInputStream.java java/io/Serializable.java
16157         java/io/SerializablePermission.java
16158         java/io/StreamCorruptedException.java
16159         java/io/StreamTokenizer.java
16160         java/io/StringBufferInputStream.java java/io/StringReader.java
16161         java/io/StringWriter.java java/io/SyncFailedException.java
16162         java/io/UTFDataFormatException.java
16163         java/io/UnsupportedEncodingException.java
16164         java/io/WriteAbortedException.java java/io/Writer.java
16165         java/lang/AbstractMethodError.java
16166         java/lang/ArithmeticException.java
16167         java/lang/ArrayIndexOutOfBoundsException.java
16168         java/lang/ArrayStoreException.java java/lang/Boolean.java
16169         java/lang/Byte.java java/lang/CharSequence.java
16170         java/lang/ClassCastException.java
16171         java/lang/ClassCircularityError.java
16172         java/lang/ClassFormatError.java
16173         java/lang/ClassNotFoundException.java
16174         java/lang/CloneNotSupportedException.java
16175         java/lang/Cloneable.java java/lang/Comparable.java
16176         java/lang/Compiler.java java/lang/Double.java
16177         java/lang/Error.java java/lang/Exception.java
16178         java/lang/ExceptionInInitializerError.java
16179         java/lang/Float.java java/lang/IllegalAccessError.java
16180         java/lang/IllegalAccessException.java
16181         java/lang/IllegalArgumentException.java
16182         java/lang/IllegalMonitorStateException.java
16183         java/lang/IllegalStateException.java
16184         java/lang/IllegalThreadStateException.java
16185         java/lang/IncompatibleClassChangeError.java
16186         java/lang/IndexOutOfBoundsException.java
16187         java/lang/InheritableThreadLocal.java
16188         java/lang/InstantiationError.java
16189         java/lang/InstantiationException.java java/lang/Integer.java
16190         java/lang/InternalError.java
16191         java/lang/InterruptedException.java
16192         java/lang/LinkageError.java java/lang/Long.java
16193         java/lang/NegativeArraySizeException.java
16194         java/lang/NoClassDefFoundError.java
16195         java/lang/NoSuchFieldError.java
16196         java/lang/NoSuchFieldException.java
16197         java/lang/NoSuchMethodError.java
16198         java/lang/NoSuchMethodException.java
16199         java/lang/NullPointerException.java java/lang/Number.java
16200         java/lang/NumberFormatException.java
16201         java/lang/OutOfMemoryError.java java/lang/Package.java
16202         java/lang/Process.java java/lang/Runnable.java
16203         java/lang/RuntimeException.java
16204         java/lang/RuntimePermission.java
16205         java/lang/SecurityException.java
16206         java/lang/SecurityManager.java java/lang/Short.java
16207         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16208         java/lang/StringIndexOutOfBoundsException.java
16209         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16210         java/lang/ThreadLocal.java java/lang/UnknownError.java
16211         java/lang/UnsatisfiedLinkError.java
16212         java/lang/UnsupportedClassVersionError.java
16213         java/lang/UnsupportedOperationException.java
16214         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16215         java/lang/Void.java java/lang/ref/PhantomReference.java
16216         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16217         java/lang/ref/SoftReference.java
16218         java/lang/ref/WeakReference.java
16219         java/lang/reflect/AccessibleObject.java
16220         java/lang/reflect/InvocationTargetException.java
16221         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16222         java/lang/reflect/ReflectPermission.java
16223         java/math/BigDecimal.java java/math/BigInteger.java
16224         java/net/Authenticator.java java/net/BindException.java
16225         java/net/ConnectException.java java/net/ContentHandler.java
16226         java/net/ContentHandlerFactory.java
16227         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16228         java/net/FileNameMap.java java/net/MalformedURLException.java
16229         java/net/MulticastSocket.java java/net/NetPermission.java
16230         java/net/NoRouteToHostException.java
16231         java/net/PasswordAuthentication.java
16232         java/net/ProtocolException.java java/net/ServerSocket.java
16233         java/net/Socket.java java/net/SocketException.java
16234         java/net/SocketImpl.java java/net/SocketImplFactory.java
16235         java/net/SocketOptions.java java/net/SocketPermission.java
16236         java/net/URLDecoder.java java/net/URLEncoder.java
16237         java/net/URLStreamHandlerFactory.java
16238         java/net/UnknownHostException.java
16239         java/net/UnknownServiceException.java
16240         java/rmi/AccessException.java
16241         java/rmi/AlreadyBoundException.java
16242         java/rmi/ConnectException.java
16243         java/rmi/ConnectIOException.java
16244         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16245         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16246         java/rmi/NotBoundException.java
16247         java/rmi/RMISecurityException.java
16248         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16249         java/rmi/RemoteException.java java/rmi/ServerError.java
16250         java/rmi/ServerException.java
16251         java/rmi/ServerRuntimeException.java
16252         java/rmi/StubNotFoundException.java
16253         java/rmi/UnexpectedException.java
16254         java/rmi/UnknownHostException.java
16255         java/rmi/UnmarshalException.java
16256         java/rmi/activation/Activatable.java
16257         java/rmi/activation/ActivateFailedException.java
16258         java/rmi/activation/ActivationDesc.java
16259         java/rmi/activation/ActivationException.java
16260         java/rmi/activation/ActivationGroup.java
16261         java/rmi/activation/ActivationGroupDesc.java
16262         java/rmi/activation/ActivationGroupID.java
16263         java/rmi/activation/ActivationID.java
16264         java/rmi/activation/ActivationInstantiator.java
16265         java/rmi/activation/ActivationMonitor.java
16266         java/rmi/activation/ActivationSystem.java
16267         java/rmi/activation/Activator.java
16268         java/rmi/activation/UnknownGroupException.java
16269         java/rmi/activation/UnknownObjectException.java
16270         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16271         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16272         java/rmi/registry/Registry.java
16273         java/rmi/registry/RegistryHandler.java
16274         java/rmi/server/ExportException.java
16275         java/rmi/server/LoaderHandler.java
16276         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16277         java/rmi/server/Operation.java
16278         java/rmi/server/RMIClassLoader.java
16279         java/rmi/server/RMIClientSocketFactory.java
16280         java/rmi/server/RMIFailureHandler.java
16281         java/rmi/server/RMIServerSocketFactory.java
16282         java/rmi/server/RMISocketFactory.java
16283         java/rmi/server/RemoteCall.java
16284         java/rmi/server/RemoteObject.java
16285         java/rmi/server/RemoteRef.java
16286         java/rmi/server/RemoteServer.java
16287         java/rmi/server/RemoteStub.java
16288         java/rmi/server/ServerCloneException.java
16289         java/rmi/server/ServerNotActiveException.java
16290         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16291         java/rmi/server/SkeletonMismatchException.java
16292         java/rmi/server/SkeletonNotFoundException.java
16293         java/rmi/server/SocketSecurityException.java
16294         java/rmi/server/UID.java
16295         java/rmi/server/UnicastRemoteObject.java
16296         java/rmi/server/Unreferenced.java
16297         java/security/AccessControlContext.java
16298         java/security/AccessControlException.java
16299         java/security/AccessController.java
16300         java/security/AlgorithmParameterGenerator.java
16301         java/security/AlgorithmParameterGeneratorSpi.java
16302         java/security/AlgorithmParameters.java
16303         java/security/AlgorithmParametersSpi.java
16304         java/security/AllPermission.java
16305         java/security/BasicPermission.java
16306         java/security/Certificate.java java/security/CodeSource.java
16307         java/security/DigestException.java
16308         java/security/DigestInputStream.java
16309         java/security/DigestOutputStream.java
16310         java/security/DomainCombiner.java
16311         java/security/DummyKeyPairGenerator.java
16312         java/security/DummyMessageDigest.java
16313         java/security/DummySignature.java
16314         java/security/GeneralSecurityException.java
16315         java/security/Guard.java java/security/GuardedObject.java
16316         java/security/Identity.java java/security/IdentityScope.java
16317         java/security/InvalidAlgorithmParameterException.java
16318         java/security/InvalidKeyException.java
16319         java/security/InvalidParameterException.java
16320         java/security/Key.java java/security/KeyException.java
16321         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16322         java/security/KeyManagementException.java
16323         java/security/KeyPair.java java/security/KeyPairGenerator.java
16324         java/security/KeyPairGeneratorSpi.java
16325         java/security/KeyStore.java
16326         java/security/KeyStoreException.java
16327         java/security/KeyStoreSpi.java
16328         java/security/MessageDigest.java
16329         java/security/MessageDigestSpi.java
16330         java/security/NoSuchAlgorithmException.java
16331         java/security/NoSuchProviderException.java
16332         java/security/Permission.java
16333         java/security/PermissionCollection.java
16334         java/security/Permissions.java java/security/Policy.java
16335         java/security/Principal.java java/security/PrivateKey.java
16336         java/security/PrivilegedAction.java
16337         java/security/PrivilegedActionException.java
16338         java/security/PrivilegedExceptionAction.java
16339         java/security/ProtectionDomain.java
16340         java/security/Provider.java
16341         java/security/ProviderException.java
16342         java/security/PublicKey.java
16343         java/security/SecureClassLoader.java
16344         java/security/SecureRandom.java
16345         java/security/SecureRandomSpi.java java/security/Security.java
16346         java/security/SecurityPermission.java
16347         java/security/Signature.java
16348         java/security/SignatureException.java
16349         java/security/SignatureSpi.java
16350         java/security/SignedObject.java java/security/Signer.java
16351         java/security/UnrecoverableKeyException.java
16352         java/security/UnresolvedPermission.java
16353         java/security/acl/Acl.java java/security/acl/AclEntry.java
16354         java/security/acl/AclNotFoundException.java
16355         java/security/acl/Group.java
16356         java/security/acl/LastOwnerException.java
16357         java/security/acl/NotOwnerException.java
16358         java/security/acl/Owner.java java/security/acl/Permission.java
16359         java/security/cert/CRL.java
16360         java/security/cert/CRLException.java
16361         java/security/cert/Certificate.java
16362         java/security/cert/CertificateEncodingException.java
16363         java/security/cert/CertificateException.java
16364         java/security/cert/CertificateExpiredException.java
16365         java/security/cert/CertificateFactory.java
16366         java/security/cert/CertificateFactorySpi.java
16367         java/security/cert/CertificateNotYetValidException.java
16368         java/security/cert/CertificateParsingException.java
16369         java/security/cert/X509CRL.java
16370         java/security/cert/X509CRLEntry.java
16371         java/security/cert/X509Certificate.java
16372         java/security/cert/X509Extension.java
16373         java/security/interfaces/DSAKey.java
16374         java/security/interfaces/DSAKeyPairGenerator.java
16375         java/security/interfaces/DSAParams.java
16376         java/security/interfaces/DSAPrivateKey.java
16377         java/security/interfaces/DSAPublicKey.java
16378         java/security/interfaces/RSAKey.java
16379         java/security/interfaces/RSAPrivateCrtKey.java
16380         java/security/interfaces/RSAPrivateKey.java
16381         java/security/interfaces/RSAPublicKey.java
16382         java/security/spec/AlgorithmParameterSpec.java
16383         java/security/spec/DSAParameterSpec.java
16384         java/security/spec/DSAPrivateKeySpec.java
16385         java/security/spec/DSAPublicKeySpec.java
16386         java/security/spec/EncodedKeySpec.java
16387         java/security/spec/InvalidKeySpecException.java
16388         java/security/spec/InvalidParameterSpecException.java
16389         java/security/spec/KeySpec.java
16390         java/security/spec/PKCS8EncodedKeySpec.java
16391         java/security/spec/RSAKeyGenParameterSpec.java
16392         java/security/spec/RSAPrivateCrtKeySpec.java
16393         java/security/spec/RSAPrivateKeySpec.java
16394         java/security/spec/RSAPublicKeySpec.java
16395         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16396         java/sql/BatchUpdateException.java java/sql/Blob.java
16397         java/sql/CallableStatement.java java/sql/Clob.java
16398         java/sql/Connection.java java/sql/DataTruncation.java
16399         java/sql/DatabaseMetaData.java java/sql/Date.java
16400         java/sql/Driver.java java/sql/DriverManager.java
16401         java/sql/DriverPropertyInfo.java
16402         java/sql/PreparedStatement.java java/sql/Ref.java
16403         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16404         java/sql/SQLData.java java/sql/SQLException.java
16405         java/sql/SQLInput.java java/sql/SQLOutput.java
16406         java/sql/SQLWarning.java java/sql/Statement.java
16407         java/sql/Struct.java java/sql/Time.java
16408         java/sql/Timestamp.java java/sql/Types.java
16409         java/text/Annotation.java
16410         java/text/AttributedCharacterIterator.java
16411         java/text/AttributedString.java
16412         java/text/AttributedStringIterator.java
16413         java/text/BreakIterator.java java/text/CharacterIterator.java
16414         java/text/ChoiceFormat.java java/text/Collator.java
16415         java/text/DateFormat.java java/text/DateFormatSymbols.java
16416         java/text/DecimalFormat.java
16417         java/text/DecimalFormatSymbols.java
16418         java/text/FieldPosition.java java/text/Format.java
16419         java/text/MessageFormat.java java/text/NumberFormat.java
16420         java/text/ParseException.java java/text/ParsePosition.java
16421         java/text/SimpleDateFormat.java
16422         java/text/StringCharacterIterator.java
16423         java/util/AbstractCollection.java java/util/AbstractList.java
16424         java/util/AbstractMap.java
16425         java/util/AbstractSequentialList.java
16426         java/util/AbstractSet.java java/util/ArrayList.java
16427         java/util/Arrays.java java/util/BasicMapEntry.java
16428         java/util/BitSet.java java/util/Calendar.java
16429         java/util/Collection.java java/util/Collections.java
16430         java/util/Comparator.java
16431         java/util/ConcurrentModificationException.java
16432         java/util/Date.java java/util/Dictionary.java
16433         java/util/EmptyStackException.java java/util/Enumeration.java
16434         java/util/EventListener.java java/util/EventObject.java
16435         java/util/GregorianCalendar.java java/util/HashMap.java
16436         java/util/HashSet.java java/util/Hashtable.java
16437         java/util/IdentityHashMap.java java/util/Iterator.java
16438         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16439         java/util/LinkedList.java java/util/List.java
16440         java/util/ListIterator.java java/util/ListResourceBundle.java
16441         java/util/Locale.java java/util/Map.java
16442         java/util/MissingResourceException.java
16443         java/util/NoSuchElementException.java
16444         java/util/Observable.java java/util/Observer.java
16445         java/util/Properties.java java/util/PropertyPermission.java
16446         java/util/PropertyResourceBundle.java java/util/Random.java
16447         java/util/RandomAccess.java java/util/ResourceBundle.java
16448         java/util/Set.java java/util/SimpleTimeZone.java
16449         java/util/SortedMap.java java/util/SortedSet.java
16450         java/util/Stack.java java/util/StringTokenizer.java
16451         java/util/TimeZone.java java/util/Timer.java
16452         java/util/TimerTask.java
16453         java/util/TooManyListenersException.java
16454         java/util/TreeMap.java java/util/TreeSet.java
16455         java/util/Vector.java java/util/WeakHashMap.java
16456         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16457         java/util/jar/JarException.java java/util/jar/JarFile.java
16458         java/util/jar/JarInputStream.java
16459         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16460         java/util/zip/Adler32.java java/util/zip/CRC32.java
16461         java/util/zip/CheckedInputStream.java
16462         java/util/zip/CheckedOutputStream.java
16463         java/util/zip/Checksum.java
16464         java/util/zip/DataFormatException.java
16465         java/util/zip/Deflater.java
16466         java/util/zip/DeflaterOutputStream.java
16467         java/util/zip/GZIPInputStream.java
16468         java/util/zip/GZIPOutputStream.java
16469         java/util/zip/Inflater.java
16470         java/util/zip/InflaterInputStream.java
16471         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16472         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16473         java/util/zip/ZipInputStream.java
16474         java/util/zip/ZipOutputStream.java
16475         javax/naming/BinaryRefAddr.java
16476         javax/naming/InvalidNameException.java javax/naming/Name.java
16477         javax/naming/NamingException.java javax/naming/RefAddr.java
16478         javax/naming/StringRefAddr.java: Add license clarification.
16479
16480 2002-01-22  Tom Tromey  <tromey@redhat.com>
16481
16482         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16483         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16484         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16485         version.
16486         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16487         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16488         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16489         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16490         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16491         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16492         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16493         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16494         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16495         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16496         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16497         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16498         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16499         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16500         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16501         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16502         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16503         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16504         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16505         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16506         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16507         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16508         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16509         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16510         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16511         (minimumSize, preferredSize, reshape): Likewise.
16512         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16513         getColorModel): New methods.
16514         * java/awt/PopupMenu.java: Merged with Classpath.
16515         * java/awt/MenuBar.java: Merged with Classpath.
16516         * java/awt/SystemColor.java: Replace with Classpath version.
16517         * java/awt/Panel.java: Merged with Classpath.
16518         * java/awt/PaintContext.java: Updated copyright.
16519         * java/awt/MenuShortcut.java: Merged with Classpath.
16520         * java/awt/MenuContainer.java: Merged with Classpath.
16521         * java/awt/Menu.java: Merged with Classpath.
16522         * java/awt/MediaEntry.java: New file from Classpath.
16523         * java/awt/MediaTracker.java: New file from Classpath.
16524         * java/awt/List.java: Merged with Classpath version.
16525         * java/awt/Insets.java: Merged with Classpath version.
16526         * java/awt/ImageMediaEntry.java: New file from Classpath.
16527         * java/awt/Image.java: Replaced with Classpath version.
16528         * java/awt/FontMetrics.java: Merged with Classpath version.
16529         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16530         constant.
16531         * java/awt/Font.java: Merged with Classpath version.
16532         * java/awt/Dialog.java: Merged with Classpath version.
16533         * java/awt/Color.java: Merged with Classpath version.
16534         * java/awt/Choice.java: Merged with Classpath version.
16535         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16536         * java/awt/Adjustable.java: Replace with Classpath version.
16537         * java/awt/MenuItem.java (paramString): Don't include class name
16538         or brackets.  Call superclass paramString.
16539         * java/awt/MenuComponent.java (toString): Call paramString.
16540         (paramString): Compute string; don't call toString.
16541         * java/awt/Label.java (paramString): Don't include class name
16542         or brackets.  Call superclass paramString.
16543         * java/awt/Checkbox.java (paramString): Don't include class name
16544         or brackets.  Call superclass paramString.
16545         * java/awt/Button.java (paramString): Don't include class name or
16546         brackets.  Call superclass paramString.
16547         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16548
16549 2002-01-20  Andreas Schwab  <schwab@suse.de>
16550
16551         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16552         function and of parameter recv_func to ssize_t, as specified by
16553         POSIX.
16554
16555 2002-01-19  Per Bothner  <per@bothner.com>
16556
16557         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16558         uncompressed_size in readiness for next entry.
16559
16560 2002-01-18  Tom Tromey  <tromey@redhat.com>
16561
16562         * java/net/natPlainSocketImpl.cc: Include
16563         IllegalArgumentException.h.
16564         (_Jv_recv): New template function.
16565         (BooleanClass): Removed.
16566         (read): Use _Jv_recv.
16567         (setOption): Use Boolean::class$.  Throw exception if object is
16568         not Boolean or Integer.
16569
16570 2002-01-17  Tom Tromey  <tromey@redhat.com>
16571
16572         * java/awt/MenuComponent.java: Merged with Classpath.
16573         * java/awt/MenuItem.java: Merged with Classpath.
16574         * java/awt/Button.java: Merged with Classpath.
16575
16576         * java/awt/ActiveEvent.java: Updated copyright.
16577
16578         * java/awt/AWTError.java: Replaced with Classpath version.
16579         * java/awt/AWTException.java: Replaced with Classpath version.
16580         * java/awt/IllegalComponentStateException.java: Replaced with
16581         Classpath version.
16582
16583 2002-01-16  Tom Tromey  <tromey@redhat.com>
16584
16585         * java/awt/Canvas.java (serialVersionUID): New constant.
16586         Updated copyright.  Added javadoc from Classpath.
16587         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16588
16589         * java/awt/CheckboxGroup.java: Merged with Classpath.
16590         * java/awt/Checkbox.java: Merged with Classpath.
16591
16592         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16593         Classpath.
16594         * java/awt/Point.java: Updated copyright.
16595
16596         * java/awt/Point.java (toString): Use getClass().getName().
16597         Added javadoc.
16598
16599         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16600         commented code.
16601         (hash): Correctly compute initial value for `h'.
16602
16603         * java/awt/Label.java: Merged with Classpath.
16604
16605 2002-01-15  Tom Tromey  <tromey@redhat.com>
16606
16607         * java/awt/AWTPermission.java: Updated copyright.
16608
16609         * java/awt/LayoutManager2.java: Merged with Classpath.
16610         * java/awt/LayoutManager.java: Merged with Classpath.
16611         * java/awt/GridLayout.java: Updated copyright and javadoc.
16612         (getSize): Use `parent.ncomponents'.  Handle insets.
16613         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16614         there are fewer children than columns.  Correctly compute size of
16615         each cell in the grid.  Handle case where there isn't enough
16616         space.
16617         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16618         all users.
16619         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16620         before calling setVisible() on it.  Last item is `num - 1', not
16621         `num'.
16622         (layoutContainer): Hoist invariants out of loop.
16623
16624         Start of AWT merge with Classpath:
16625         * Makefile.in: Rebuilt.
16626         * Makefile.am (awt_java_source_files): Reference files in
16627         gnu/java/awt, not gnu/gcj/awt.
16628         * java/awt/image/BufferedImage.java: Updated copyright.
16629         * java/awt/image/ComponentColorModel.java: Updated copyright.
16630         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16631         * java/awt/image/DataBuffer.java: Updated copyright.
16632         * java/awt/image/DataBufferByte.java: Updated copyright.
16633         * java/awt/image/DataBufferInt.java: Updated copyright.
16634         * java/awt/image/DataBufferUShort.java: Updated copyright.
16635         * java/awt/image/IndexColorModel.java: Updated copyright.
16636         * java/awt/image/PackedColorModel.java: Updated copyright.
16637         * java/awt/image/Raster.java: Updated copyright.
16638         * java/awt/image/RasterOp.java: Updated copyright.
16639         * java/awt/image/SampleModel.java: Updated copyright.
16640         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16641         * java/awt/image/WritableRaster.java: Updated copyright.
16642         * java/awt/color/ColorSpace.java: Updated copyright.
16643         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16644         * java/awt/color/ICC_Profile.java: Updated copyright.
16645         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16646         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16647         * java/awt/event/HierarchyEvent.java: Updated copyright.
16648         * java/awt/event/HierarchyListener.java: Updated copyright.
16649         * java/awt/geom/AffineTransform.java: Updated copyright.
16650         * java/awt/geom/Dimension2D.java: Updated copyright.
16651         * java/awt/geom/Ellipse2D.java: Updated copyright.
16652         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16653         * java/awt/geom/Line2D.java: Updated copyright.
16654         * java/awt/geom/NoninvertibleTransformException.java: Updated
16655         copyright.
16656         * java/awt/geom/PathIterator.java: Updated copyright.
16657         * java/awt/geom/Point2D.java: Updated copyright.
16658         * java/awt/geom/Rectangle2D.java: Updated copyright.
16659         * java/awt/geom/RectangularShape.java: Updated copyright.
16660         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16661         * java/awt/Toolkit.java: Updated import for file moves.
16662         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16663         Classpath.
16664         (hashCode): New method from Classpath.
16665         * java/awt/Graphics2D.java: Updated copyright.
16666         * java/awt/Transparency.java: Updated copyright.
16667         * java/awt/Paint.java: Updated copyright.
16668         * java/awt/Graphics.java: New version from Classpath.
16669         * java/awt/EventDispatchThread.java: Updated copyright.
16670         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16671         children.
16672         (gotoComponent): Wrap around on next/previous.
16673         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16674         * gnu/gcj/awt/Buffers.java: Removed.
16675         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16676         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16677         * gnu/java/awt/BitMaskExtent.java: Added.
16678         * gnu/java/awt/Buffers.java: Added.
16679         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16680         * gnu/java/awt/GLightweightPeer.java: Added.
16681         * java/awt/geom/Line2D.java (clone): Ignore
16682         CloneNotSupportedException.
16683         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16684         * java/awt/Frame.java: Merged with Classpath.
16685         * java/awt/RenderingHints.java: Copyright update.
16686         * java/awt/Paint.java: Copyright update.
16687         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16688         * java/awt/image/ColorModel.java: Merged with Classpath.
16689         * java/awt/Window.java (show): New Implementation from Classpath.
16690         (isShowing): Use super.isShowing().
16691         * java/awt/EventQueue.java: Merged with Classpath.
16692         * java/awt/AWTEventMulticaster.java (save): Throw
16693         RuntimeException.
16694         (saveInternal): Likewise.
16695         * java/awt/AWTEvent.java: Now implements Serializable.
16696         * java/awt/Event.java: Copyright update.
16697         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16698         * java/awt/image/BufferedImage.java: Copyright update.
16699         * java/awt/GraphicsConfiguration.java: Copyright update.
16700         * java/awt/Component.java: (addNotify): Don't call
16701         addNotifyContainerChildren().
16702         (addNotifyContainerChildren): Removed.
16703         (setPeer): New method from Classpath.
16704         (setTreeLock): Likewise.
16705         (setVisible): Rewrote.
16706         (show): Use it.
16707         (hide): Likewise.
16708         (validate): Set `valid'.
16709         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16710         (createImage(ImageProducer)): Likewise.
16711         (prepareImage): Likewise.
16712         * java/awt/Container.java (addImpl): Handle case where constraint
16713         is not a String.  Post event via system event queue.
16714         (remove): Post event via system event queue.
16715         (validateTree): Only validate child if it is invalid.
16716         (getAlignmentX): Call super method as default.
16717         (getAlignmentY): Likewise.
16718         (addContainerListener): Now synchronized.
16719         (removeContainerListener): Likewise.
16720         (addNotifyContainerChildren): Now private.
16721         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16722         @author.
16723         * java/awt/FlowLayout.java (serialVersionUID): New field.
16724         (setAlignment): Better exception message.
16725         (layoutContainer): Don't compute component's preferred size unless
16726         we're going to use it.
16727         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16728         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16729         (firstLine, lastLine, firstItem, lastItem): New fields.
16730         (addLayoutComponent): Handle case where constraints is null.
16731         Also, handle relative locations.
16732         (removeLayoutComponent): Handle relative locations.
16733         (MIN, MAX, PREF): New constants.
16734         (calcCompSize): New method.
16735         (calcSize): New method.
16736         (minimumLayoutSize): Use it.
16737         (preferredLayoutSize): Likewise.
16738         (maximumLayoutSize): Likewise.
16739         (toString): Include more information.
16740         (setBounds): New method.
16741         (layoutContainer): Use libgcj implementation; extended to handle
16742         relative locations.
16743
16744 2002-01-15  Tom Tromey  <tromey@redhat.com>
16745
16746         * java/lang/Float.java (equals): Preserve old code.
16747         * java/lang/Double.java (equals): Preserve old code.
16748
16749 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16750
16751         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16752         * java/lang/Float.java (equals, compare): Ditto.
16753
16754 2002-01-13  Mark Wielaard  <mark@klomp.org>
16755
16756         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16757         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16758         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16759         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16760
16761 2002-01-11  Mark Wielaard  <mark@klomp.org>
16762
16763         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16764         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16765         InetAddress.
16766         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16767         * java/net/Socket.java: Merge with Classpath.
16768         * java/net/ServerSocket.java: Likewise.
16769
16770 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16771
16772         * interpret.cc (NULLARRAYCHECK): New macro.
16773         (SAVE_PC): Just store `pc'.
16774         (find_exception): Subtract one from `pc' here.
16775         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16776         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16777         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16778         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16779         don't call SAVE_PC.
16780         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16781         call SAVE_PC.
16782
16783 2002-01-11  Tom Tromey  <tromey@redhat.com>
16784
16785         * java/lang/natSystem.cc (init_properties): Only look for default
16786         locale if LC_MESSAGES is defined.
16787         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16788         * configure.in: Call AM_LC_MESSAGES.
16789         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16790
16791 2002-01-10  Tom Tromey  <tromey@redhat.com>
16792
16793         For PR libgcj/5303:
16794         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16795         --version.  Recognize GNU-style long options.  Print GNU-style
16796         error messages.
16797         (usage): Print GNU-style help.  Exit with status 0.
16798         (error): New method.
16799         (run): Print error message if no class names found.
16800         (main): Don't print usage on error.
16801
16802 2002-01-09  Tom Tromey  <tromey@redhat.com>
16803
16804         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16805         property.
16806         (help, version): Use println(), not println("").
16807
16808         For PR libgcj/5303:
16809         * gnu/gcj/convert/Convert.java (error): Program is called
16810         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16811         -1.
16812         (main): Handle --help and --version.
16813         (help): New method.
16814         (version): Likewise.
16815
16816 2002-01-08  Tom Tromey  <tromey@redhat.com>
16817
16818         * Makefile.in: Rebuilt.
16819         * Makefile.am (ordinary_java_source_files): Added new files.
16820         * gnu/java/locale/LocaleInformation.java: Extend
16821         LocaleInformation_en.
16822         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16823         and time/date formats.
16824         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16825         generated.
16826         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16827         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16828         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16829         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16830         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16831         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16832         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16833         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16834         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16835         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16836         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16837         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16838         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16839         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16840         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16841         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16842         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16843         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16844         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16845         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16846         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16847         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16848         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16849         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16850         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16851         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16852         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16853         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16854         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16855         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16856         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16857         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16858         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16859         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16860         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16861         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16862         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16863         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16864         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16865         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16866         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16867         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16868         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16869         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16870         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16871         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16872         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16873         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16874         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16875         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16876         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16877         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16878         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16879         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16880         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16881         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16882         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16883         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16884         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16885         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16886         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16887         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16888         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16889         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16890         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16891         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16892         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16893         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16894         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16895         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16896         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16897         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16898         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16899         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16900         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16901         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16902         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16903         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16904         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16905         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16906         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16907         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16908         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16909         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16910         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16911         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16912         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16913         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16914         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16915         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16916         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16917         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16918         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16919         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16920         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16921         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16922         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16923         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16924         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16925         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16926         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16927         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16928         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16929         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16930         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16931         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16932         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16933         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16934         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16935         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16936         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16937         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16938         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16939         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16940         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16941         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16942         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16943         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16944         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16945         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16946         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16947         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16948         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16949         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16950         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16951         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16952         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16953         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16954         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16955         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16956
16957         For PR libgcj/5031:
16958         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16959         choose default locale.
16960
16961         * Makefile.in: Rebuilt.
16962         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16963
16964 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16965
16966         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16967         sockets.
16968         (close): New function closes the socket.
16969         (write): New functions for output to socket.
16970         (read): New functions for reading from socket.
16971         * java/net/PlainSocketImpl.java: Glue for new timeout
16972         implementation.
16973         (write): Call the native impl.
16974         (read): Likewise.
16975         (getInputStream): Get a stream to read from the socket.
16976         (getOutputStream): Get a stream to write to the socket.
16977
16978 2002-01-08  Tom Tromey  <tromey@redhat.com>
16979
16980         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16981
16982 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16983
16984         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16985         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16986
16987 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16988
16989         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16990         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16991         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16992         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16993         insn_bastore, insn_castore, insn_sastore]: Use it.
16994         (continue1) [insn_arraylength]: Check for null array.
16995
16996 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16997
16998         * configure, include/config.h.in: Rebuilt.
16999         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17000         * configure.in: Call AC_STRUCT_TIMEZONE.
17001
17002 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17003
17004         * configure.host: Disable the interpreter for Darwin.
17005
17006 2002-01-04  Tom Tromey  <tromey@redhat.com>
17007
17008         * java/lang/Thread.java (stop): No longer synchronized.
17009         (start): Likewise.
17010
17011 2002-01-02  Tom Tromey  <tromey@redhat.com>
17012
17013         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17014         patch.
17015
17016 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17017
17018         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17019         PPC Darwin, not for all of Darwin.