OSDN Git Service

2003-12-18 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-18  Michael Koch  <konqueror@gmx.de>
2
3         * libltdl/.cvsignore: Ignore autom4te.cache
4         * libltdl/Makefile.in: Regenerated.
5         * libltdl/aclocal.m4: Regenerated.
6         * libltdl/acconfig.h: Removed (obsolete).
7         * libltdl/config-h.in: Regenerated.
8         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
9         * libltdl/configure: Regenerated.
10
11 2003-12-18  Michael Koch  <konqueror@gmx.de>
12
13         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
14         java.text.CollationElementIterator tests as they compile again.
15         * testsuite/libjava.mauve/xfails: Added failing
16         java.text.CollationElementIterator tests.
17
18 2003-12-18  Michael Koch  <konqueror@gmx.de>
19
20         * java/util/prefs/AbstractPreferences.java
21         (cachedChildren): New method.
22
23 2003-12-18  Michael Koch  <konqueror@gmx.de>
24
25         * java/util/TimeZone.java (getOffset): New method.
26
27 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
28  
29         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
30         of ActionEvents for mouse double-clicks.
31
32 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
33
34         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
35         null Graphics pointer returned by FileDialogPeer.
36
37 2003-12-17  Michael Koch  <konqueror@gmx.de>
38
39         * libltdl/stamp-h.in: Removed, not used anymore.
40
41 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
42
43         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
44         Removed unused InterruptedIOException.h include.
45         * gnu/java/net/natPlainSocketImplWin32.cc
46         (connect): Reset and ignore our thread's interrupted
47         flag instead of testing and throwing an InterruptedIOException
48         if set.
49         (accept): Likewise + changed case of SocketTimeoutException
50         text.
51         (write): Likewise (for both overloads).
52         (doRead): Likewise.
53
54 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
55
56         * win32.cc (WSAEventWrapper): Implemented default
57         constructor and init() methods.
58         (_Jv_select): Removed.
59         * gnu/java/nio/natSelectorImplWin32.cc
60         (helper_put_filedescriptors): Removed.
61         (helper_get_filedescriptors): Removed.
62         (implSelect): Implemented in terms of WSAEventWrapper
63         and WSAWaitForMultipleEvents instead of _Jv_select().
64         Added support for thread interruption.
65         * include/win32.h (WSAEventWrapper): Minor formatting
66         changes; added default constructor declaration, init(),
67         getFD() and getEventHandle() methods.
68         (_Jv_select): Removed.
69
70 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
71
72         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
73         (peekData): Throw SocketTimeoutException instead of
74         InterruptedIOException on timeout.
75         (receive): Likewise.
76         * gnu/java/net/natPlainSocketImplPosix.cc
77         (read): Made a minor exception text case change.
78
79 2003-12-16  Michael Koch  <konqueror@gmx.de>
80
81         Fix for PR libgcj/13056.
82         * libltdl/configure.in,
83         libltdl/config.h.in: Removed.
84         * libltdl/configure.ac,
85         libltdl/config-h.in,
86         libltdl/install-sh,
87         libltdl/config.guess,
88         libltdl/config.sub,
89         libltdl/missing,
90         libltdl/mkinstalldirs,
91         libltdl/ltmain.sh: New files.
92         * libltdl/Makefile.am,
93         libltdl/acinclude.m4,
94         libltdl/aclocal.m4,
95         libltdl/ltdl.c,
96         libltdl/ltdl.h,
97         libltdl/README: Update to versions from libtool 1.5.
98         libltdl/configure,
99         * libltdl/Makefile.in: Regenerated.
100         * java/lang/natRuntime.cc (find_symbol):
101         Use type 'lt_ptr' instead of 'lt_ptr_t'.
102
103 2003-12-16  Michael Koch  <konqueror@gmx.de>
104
105         * java/awt/MenuComponent.java
106         (serialVersionUID): Fixed value.
107
108 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
109
110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
111         (pre_event_handler): Handle GtkButton widgets differently as events
112         go to its event_window.
113         (connect_awt_hook): Remove compiler warning.
114
115 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
116
117         * java/io/ObjectInputStream.java
118         (lookupClass): New method.
119         (currentLoader): New method.
120         (inputGetObjectStreamClasses): New method.
121         (assignNewHandle): Documented.
122         (currentClassLoader): Documented.
123         * java/io/ObjectStreamClass.java
124         (setClass): Changed API. Better handling of the imported/exported
125         fields.
126         (getSerialPersistentFields): Make it throw previously caught exceptions
127         so they can handled in setClass.
128
129 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
130  
131         * java/io/ObjectStreamField.java: A few methods were added in prevision
132         of the upcoming upgrade of the serialization code. This also adds
133         some missing documentation.
134         (ObjectStreamField): We should throw a NullPointerException when 'name'
135         is null.
136
137  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
138   
139         * java/io/ObjectInputStream.java (setBooleanField):
140         Throw an InvalidClassException if the field hasn't the required type,
141         documentation added.
142         (setByteField) Likewise.
143         (setCharField) Likewise.
144         (setDoubleField) Likewise.
145         (setFloatField) Likewise.
146         (setIntField) Likewise.
147         (setShortField) Likewise.
148         (setLongField) Likewise.
149         (setObjectField) Likewise.
150
151 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
152            Helmer Kraemer <hkraemer@freenet.de>
153  
154         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
155         Splitted the method so we can specify an explicit boot loader.
156
157 2003-12-15  Graydon Hoare  <graydon@redhat.com>
158
159         * jni/gtk-peer/gdkfont.h: New file.
160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
161         include of cairo-xlib.h, add extra gdk_flush().
162
163 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
164
165         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
166         native state table -- native_global_ref_table.
167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
168         native_global_ref_table pointer.
169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
170         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
171         global reference is deleted and memory allocated for pointer freed.
172         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
173         JNI global reference instead of JNI local reference.
174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
175         (pre_event_handler): Remove compilation warning.
176         (connect_awt_hook): Use saved JNI global reference instead of creating
177         a new one.
178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
179         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
180         reference to the Java object.
181         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
182         unused variable declaration and add comment.
183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
184         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
185         reference to the Java object.
186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
187         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
189         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
190         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
191         JNI global reference instead of JNI local reference.
192         (item_toggled): Add debug statement.
193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
194         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
195         reference to the Java object.
196         (connect_choice_item_selectable_hook): Use saved JNI global references
197         instead of JNI local reference.
198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
199         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
200         global reference to the Java object.
201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
202         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
203         reference to the Java object.
204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
205         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
207         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
209         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
211         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
212         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
213         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
215         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
217         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
218         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
219         JNI global reference instead of JNI local reference.
220         (item_selected): Add debug statement.
221         (item_unselected): Add debug statement.
222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
223         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
224         reference to the Java object.
225         Connect "activate" signal handler using global JNI reference.
226         (connect_activate_hook): Removed in favor of inline code.
227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
228         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
229         reference to the Java object.
230         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
231         JNI global reference instead of JNI local reference.  Add FIXME comment.
232         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
233         reference to the Java object.  Add FIXME comment.
234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
235         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
236         reference to the Java object.
237         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
238         JNI global reference instead of JNI local reference.
239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
240         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
241         saved JNI global reference instead of JNI local reference.
242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
243         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
244         reference to the Java object.
245         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
246         JNI global reference instead of JNI local reference.
247
248 2003-12-11  Michael Koch  <konqueror@gmx.de>
249
250         * java/text/Format.java (serialVersionUID): Fixed value.
251
252 2003-12-11  Michael Koch  <konqueror@gmx.de>
253
254         * javax/naming/event/EventDirContext.java: Jalopied.
255         (addNamingListener): Fixed typo in method name.
256         
257
258 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
259
260         * gnu/java/nio/SocketChannelImpl.java
261         (write): Removed diagnostic trace.
262         * gnu/java/nio/natSelectorImplPosix.cc: Added
263         includes for java.lang.Thread and java.io.InterruptedIOException.
264         (helper_put_filedescriptors): Don't put invalid file descriptors
265         in select set.
266         (helper_get_filedescriptors): Clear invalid file descriptors
267         from select set.
268         (helper_reset): New method for clearing our file descriptor
269         array.
270         (implSelect): Correctly calculate timeout if specified and
271         legal.
272         Intercept and deal with any java.io.InterruptedIOException
273         thrown by _Jv_select().
274
275 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
276
277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
278         Most coded moved to pre_event_handler, with the modifications
279         mentioned below.
280         (pre_event_handler): New function.  Called on the Gtk "event" signal.
281         Do not retrieve the jobject from the window property as it is already
282         available as user data in the signal.
283         Do not try and find the grab widget as it is already done by Gtk at
284         this point.
285         Do not search for Window ancestor as Gtk already sends the signal to it.
286         Do not meddle with the activation state of peer widgets on each
287         key press or release.
288         Add CList to the special handling when looking for the focused widget.
289         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
291         New function.
292         (connectSignals): New function.
293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
294         Rename to...
295         (connectSignals): New name.  Get rid of NewGlobalRef call.
296         Use g_signal_connect instead of deprecated gtk_signal_connect.
297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
298         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
299         deprecated gtk_signal_connect.
300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
303         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
305         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
306         function.
307         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
308         function.
309         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
310         function.
311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
312         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
313         function.
314         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
315         function.
316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
317         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
318         function.
319         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
320         function.
321         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
322         function.
323         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
324         code.
325         (item_select): Remove indirection.
326         (item_unselect): Ditto.
327         (connect_selectable_hook): Folded into connectSignals.
328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
329         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
330         function.
331         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
332         function.
333         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
334         function.
335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
338         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
339         function.
340         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
341         function.
342         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
343         connectJObject and connectSignals instead of connectHooks.
344         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
345         connectSignals.
346         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
347         and not connectHooks.
348         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
349         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
350         and not connectHooks.
351         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
352         connectSignals instead of connectHooks.
353         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
354         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
355         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
356
357 2003-12-09  Michael Koch  <konqueror@gmx.de>
358
359         * Makefile.am (nat_headers_install): New variable with header files to
360         install automatically.
361         (install-data-local): Install all headers listed in
362         nat_headers_install. Install innert nat headers explicitely.
363         * Makefile.in: Regenerated.
364
365 2003-12-09  Michael Koch  <konqueror@gmx.de>
366
367         * java/util/Calendar.java,
368         java/util/IdentityHashMap.java,
369         java/util/prefs/Preferences.java:
370         Import used classes explicitely.
371
372 2003-12-09  Michael Koch  <konqueror@gmx.de>
373
374         * java/net/DatagramSocket.java
375         (close): Directly return if socket is closed.
376         * java/net/ServerSocket.java
377         (close): Directly return if socket is closed.
378         * java/net/Socket.java
379         (close): Directly return if socket is closed.
380
381 2003-12-09  Michael Koch  <konqueror@gmx.de>
382
383         * gnu/java/nio/SelectorImpl.java
384         (implSelect): Throws IOException.
385         (select): Likewise.
386
387 2003-12-08  Kim Ho  <kho@redhat.com>
388
389         Fix for Checkbox states.
390         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
391         (currentState): New field.
392         (nativeCreate): Add initial state parameter.
393         (create): Changed to reflect new parameter.
394         (setState): Fire only on changed states.
395         (postItemEvent): Fire only on changed states. Also change the 
396         Java Checkbox to reflect new state.
397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
398         (nativeCreate): Add parameter and set active state.
399
400 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
401  
402         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
403         object of type expected by specified DataFlavor.
404
405 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
406  
407         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
408         error which was clipping off the first character of a parameter value.
409
410 2003-12-08  Olga Rodimina <rodimina@redhat.com>
411
412         * java/awt/Polygon.java
413         (translate): Fixed error that caused polygon 
414         to move right/left when up/down translation was required.
415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
416         (getSelectionStart): Initialized start position to 0. 
417         (getSelectionEnd): Initialized end position to 0.
418         (getCaretPosition): Initialized caret position to 0.
419         (getText): Initialized selected text to NULL 
420
421 2003-12-08  Michael Koch  <konqueror@gmx.de>
422
423         Fix for PR libgcj/13176.
424         * java/io/PrintStream.java: Partly revert my previous patches to get
425         (line_separator): New field.
426         (converter): New field.
427         (work): New field.
428         (work_bytes): New field.
429         (pw): Removed.
430         (closed): Removed.
431         (PrintStrean): Initialize converter and not pw.
432         (checkError): Flush always, pw doesn't exist anymore.
433         (close): Close underlying out stream.
434         (print): New method.
435         (writeChars): New method.
436         (print): Use new internal print method.
437         (println): Likewise.
438
439 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
440
441         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
442         putAllInternal.
443         (putAllInternal): Correct comment.
444         * java/util/HashMap.java (HashMap(Map)): As above.
445         (putAllInternal): As above.
446
447 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
448
449         * java/util/Hashtable.java (internalContainsValue): Removed.
450         (containsValue): Don't delegate to internalContainsValue.
451
452 2003-12-06  Michael Koch  <konqueror@gmx.de>
453
454         * javax/naming/directory/Attribute.java,
455         javax/naming/directory/Attributes.java,
456         javax/naming/directory/DirContext.java,
457         javax/naming/directory/InitialDirContext.java,
458         javax/naming/directory/SearchResult.java,
459         javax/naming/event/EventContext.java,
460         javax/naming/event/NamingEvent.java,
461         javax/naming/event/NamingExceptionEvent.java,
462         javax/naming/ldap/ControlFactory.java,
463         javax/naming/ldap/ExtendedRequest.java,
464         javax/naming/ldap/HasControls.java,
465         javax/naming/ldap/InitialLdapContext.java,
466         javax/naming/ldap/LdapContext.java,
467         javax/naming/ldap/LdapReferralException.java,
468         javax/naming/ldap/UnsolicitedNotification.java,
469         javax/naming/ldap/UnsolicitedNotificationListener.java,
470         javax/naming/spi/DirObjectFactory.java,
471         javax/naming/spi/DirStateFactory.java,
472         javax/naming/spi/DirectoryManager.java,
473         javax/naming/spi/NamingManager.java,
474         javax/naming/spi/ObjectFactoryBuilder.java,
475         javax/naming/spi/ResolveResult.java,
476         javax/naming/spi/Resolver.java,
477         javax/naming/spi/StateFactory.java:
478         Import used classes explicitely.
479
480 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
481
482         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
483         (clip): Removed field
484         (clipRectangles): New field.
485         (clone): Use new updateClip.
486         (setClipRectangles): Use new updateClip.
487         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
488
489 2003-12-04  Michael Koch  <konqueror@gmx.de>
490
491         * java/io/FilePermission.java:
492         Import used classes explicitely.
493
494 2003-12-04  Michael Koch  <konqueror@gmx.de>
495
496         * java/beans/BeanDescriptor.java,
497         java/beans/EventSetDescriptor.java,
498         java/beans/FeatureDescriptor.java,
499         java/beans/IndexedPropertyDescriptor.java,
500         java/beans/Introspector.java,
501         java/beans/MethodDescriptor.java,
502         java/beans/PropertyDescriptor.java,
503         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
504         * java/beans/beancontext/BeanContextServicesSupport.java
505         (serialVersionUID): New field.
506
507 2003-12-04  Michael Koch  <konqueror@gmx.de>
508
509         * java/awt/MenuComponent.java: Import java.io.Serialization.
510         * java/awt/MenuItem.java: Likewise.
511         * java/awt/TextComponent.java: Likewise.
512         * java/awt/image/ImagingOpException.java
513         (serialVersionUID): Fixed.
514
515 2003-12-04  Michael Koch  <konqueror@gmx.de>
516
517         * gnu/java/net/protocol/http/Connection.java
518         (sendRequest): Merged writing http headers with classpath.
519         (getInputStream): Merged documentation from classpath.
520         (getHeaderField): Likewise.
521         (getHeaderFieldKey): Likewise.
522
523 2003-12-04  Michael Koch  <konqueror@gmx.de>
524
525         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
526
527 2003-12-04  Michael Koch  <konqueror@gmx.de>
528
529         * java/net/DatagramPacket.java
530         (length): Made packge-private to make it accessible via CNI.
531         (maxlen): New field.
532         (DatagramPacket): Cleaned up.
533         (setSocketAddress): Add message to exception.
534         (setData): Call other setData().
535         (setData): Call setLength().
536         (setLength): Initialize maxlen too.
537         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
538         Get maximal length from maxlen field, set length field directly.
539         (receive): Likewise.
540         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
541         Get maximal length from maxlen field, set length field directly.
542         (receive): Likewise.
543
544 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
545
546         * gnu/java/nio/natSelectorImplPosix.cc
547         (implSelect): A timeout of 0 means an infinite
548         timeout.
549
550 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
551  
552         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
553         of ActionEvents.
554
555 2003-12-03  Michael Koch  <konqueror@gmx.de>
556
557         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
558         * java/lang/natClass.cc (getSigners): Likewise.
559         (setSigners): Likewise.
560
561 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
562
563         * configure.in: Added new MinGW-specific configure flag
564         --with-win32-nlsapi.
565         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
566         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
567         is set to unicows.
568         * configure: Rebuilt.
569         * include/config.h.in: Rebuilt.
570         * win32.cc (_Jv_Win32NewString): Implemented.
571         (nativeToUnicode): New helper function defined only for
572         non-UNICODE builds.
573         (unicodeToNative): Likewise.
574         (_Jv_Win32TempString): Implemented.
575         (lots): Refactored using tchar.h macros.
576         (WSAEventWrapper): Use _Jv_Win32NewString.
577         (_Jv_platform_initialize): Use GetModuleFileNameA instead
578         of GetModuleFileName.
579         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
580         Use temporary stack buffer instead of a heap buffer.
581         * include/win32.h
582         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
583         defined; added tchar.h include.
584         (_Jv_Win32TempString): Declared new helper class.
585         (JV_TEMP_STRING_WIN32): New helper macro.
586         (_Jv_Win32NewString): Declared new helper method.
587         * java/io/natFileDescriptorWin32.cc (open): Use
588         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
589         (write): Reformatted slightly.
590         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
591         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
592         (getCanonicalPath): Use _Jv_Win32NewString instead of
593         JvNewStringUTF.
594         (performList): Likewise.
595         * java/lang/natWin32Process.cc (ChildProcessPipe):
596         Use tchar.h macros.
597         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
598         and UNICODE environment flag for CreateProcess.
599         * java/net/natNetworkInterfaceWin32.cc
600         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
601         _Jv_Win32NewString.
602
603 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
604
605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
606         (initState): Mark obj parameter as unused.
607         (stringWidth): Mark obj parameter as unused.  Initialize
608         font_name properly.
609
610         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
611         BufferedImageBuilder class static.
612
613 2003-12-02  Mark Wielaard  <mark@klomp.org>
614
615         * java/security/Security.java: Don't use &nbsp; in the api doc.
616
617 2003-12-02  Dalibor Topic <robilad@kaffe.org>
618
619         Reported by: Jim Pick <jim@kaffe.org>
620         * libraries/javalib/java/util/Hashtable.java
621         (internalcontainsValue): New method.
622         (contains): Delegate to internalContainsValue.
623         
624         Reported by: Mark Wielaard  <mark@klomp.org>
625         * libraries/javalib/java/util/Hashtable.java
626         (contains): Improved comment.
627         
628         Reported by: Jeroen Frijters  <jeroen@frijters.net>
629         * libraries/javalib/java/util/Hashtable.java
630         (containsValue): Delegate to contains(Object) to make sure older
631         code overwriting it continues to work.
632
633 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
634
635         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
636         method. Handle mouse and key events that must generate
637         ActionEvents.
638         * java/awt/List.java (getSelectedIndex): Return -1
639         if no list element is selected.
640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
641         Correct handling of mouse and key events so that List receives them.
642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
643         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
644         multiple list elements. 
645
646 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
647
648         * java/text/SimpleDateFormat.java (compileFormat):
649         isLowerCase() and isUpperCase() allow too many characters.
650         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
651
652 2003-12-02  Dalibor Topic <robilad@kaffe.org>
653
654         * java/text/FieldPosition.java (equals): Fixed comment.
655
656 2003-12-02  Mark Wielaard  <mark@klomp.org>
657
658         Reported by Archie Cobbs:
659         * java/security/DigestInputStream.java (read(byte[], int, int): Call
660         digest.update() with temp, not len as lenght.
661
662 2003-12-02  Michael Koch  <konqueror@gmx.de>
663
664         * java/net/DatagramSocket.java
665         (close): Close associated DatagramChannel object.
666         * java/net/ServerSocket.java
667         * java/net/Socket.java
668         (close): Reset impl and bound before calling getChannel().close() to
669         prevent from loops.
670
671 2003-12-02  Michael Koch  <konqueror@gmx.de>
672
673         * java/nio/channels/spi/AbstractInterruptibleChannel.java
674         (opened): Removed.
675         (closed): New field.
676         (close): Check of channel is closed already.
677         (isOpen): Return !closed.
678
679 2003-12-02  Michael Koch  <konqueror@gmx.de>
680
681         * gnu/java/nio/DatagramChannelImpl.java
682         (blocking): Initialize with true by default.
683         * gnu/java/nio/ServerSocketChannelImpl.java
684         (serverSocket): Made private.
685         (blocking): Likewise.
686         (connected): Likewise.
687         * gnu/java/nio/SocketChannelImpl.java
688         (connectionPending): Made private.
689         * gnu/java/nio/FileLockImpl.java
690         (static): Load native library (needed for classpath).
691         * gnu/java/nio/SelectorImpl.java
692         (static): Load native library (needed for classpath).
693
694 2003-12-02  Michael Koch  <konqueror@gmx.de>
695
696         * gnu/java/net/protocol/file/Connection.java
697         (getLastModified): Implement for file connections.
698         (getContentLength): Likewise.
699
700 2003-12-02  Michael Koch  <konqueror@gmx.de>
701
702         * gnu/java/net/protocol/file/Connection.java:
703         Some reformating.
704         (file): Renamed from fileIn.
705         (getPermission): Moved around.
706
707 2003-12-02  Michael Koch  <konqueror@gmx.de>
708
709         * gnu/java/net/protocol/jar/Connection.java
710         (Connection): Made class final, merged documentation with classpath.
711         (file_cache): Made private.
712         (jar_file): Renamed from jarfile.
713
714 2003-12-02  Michael Koch  <konqueror@gmx.de>
715
716         * gnu/java/net/protocol/http/Connection.java
717         (Connection): Initialize doOutput to false;
718         (connect): Initialize inputStream, moved "send request" code to new
719         method.
720         (sendRequest): New method.
721         (getHttpHeaders): Don't reinitialize inputStream.
722
723 2003-12-02  Michael Koch  <konqueror@gmx.de>
724
725         * gnu/java/net/protocol//http/Connection.java
726         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
727         (requestProperties): Initialize, documentation added.
728         (inputStream): Renamed from bufferedIn.
729         (Connection): Dont initialize requestProperties.
730         (setDefaultRequestProperty): Removed.
731         (getDefaultRequestProperty): Removed.
732         (usingProxy): Documentation added.
733         (getHttpHeaders): Likewise.
734
735 2003-12-02  Michael Koch  <konqueror@gmx.de>
736
737         * java/text/DateFormat.java:
738         Explicitely import used classes.
739
740 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
741
742         * verify.cc (state::clean_subrs): Clear seen_subrs.
743         (state::copy): Walk seen_subrs from copy, not `this'.
744         Don't clear seen_subrs.
745
746 2003-12-01  Kim Ho <kho@redhat.com>
747
748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
749         Disable wrapping if TextArea has horizontal scroll bars.
750
751 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
752
753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
754         (awt_event_handler): Hard-code inset values.
755
756         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
757         Pass font name, not XLFD, to initState.
758         (stringWidth(String, int, String)): New method.
759         (stringWidth(String)): Call new stringWidth.
760         (getLeading): Always return 0.
761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
762         (initState): New Pango implementation.
763         (stringWidth): Likewise.
764
765 2003-12-01  Olga Rodimina <rodimina@redhat.com>
766
767         * java/awt/TextComponent.java:
768         (getSelectionStart): Updated javadocs.
769         (getSelectionEnd): Ditto.
770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
771         (getSelectionStart): Changed to return caret position if no
772         text is selected
773         (getSelectionEnd): Ditto.
774
775 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
776
777         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
778         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
779         gnu/awt/gtk/GtkContainerPeer.java,
780         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
781         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
782         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
783         gnu/awt/gtk/natGtkComponentPeer.cc,
784         gnu/awt/gtk/natGtkContainerPeer.cc,
785         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
786         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
787         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
788
789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
790         (closed): Mark loader parameter as unused.
791
792 2003-12-01  Michael Koch  <konqueror@gmx.de>
793
794         * gnu/java/net/protocol/http/Connection.java
795         (Connection): Merged class documentation.
796         (socket): Renamed from sock.
797         (Connection): Made protected, documentation added.
798         (connect): Give URL'S host instead of InetAddress to Socket
799         constructor.
800         (disconnect): Documentation added.
801         (getOutputStream): Rewrapped.
802
803 2003-12-01  Michael Koch  <konqueror@gmx.de>
804
805         * gnu/java/net/protocol/file/Connection.java
806         (fileIn): Documentation added.
807         (inputStream): Likewise.
808         (outputStream): Likewise.
809         (Connection): Likewise.
810         (connect): Simplified.
811
812 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
813
814         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
815         setProperties): Check that io is not null before calling
816         io.imageUpdate.
817         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
818         Update javadocs.
819         * java/awt/image/PixelGrabber.java: Fix implementation and
820         update javadocs.
821
822 2003-12-01  Michael Koch  <konqueror@gmx.de>
823
824         * gnu/java/net/natPlainSocketImplPosix.cc
825         bind(): Dont set SockedImpl.address field on succesful bind.
826         * gnu/java/net/natPlainSocketImplWin32.cc
827         bind(): Likewise.
828
829 2003-11-30  Jeff Sturm <jsturm@one-point.com>
830
831         * java/net/InetAddress.java:
832         (static): Don'f force DNS request for ANY_IF address.
833
834 2003-11-30  Michael Koch  <konqueror@gmx.de>
835
836         * java/net/InetAddress.java,
837         java/net/natInetAddressNoNet.cc,
838         java/net/natInetAddressPosix.cc,
839         java/net/natInetAddressWin32.cc:
840         Reverted my last patch.
841
842 2003-11-28  Michael Koch  <konqueror@gmx.de>
843
844         * java/net/InetAddress.java
845         (lookup): New method that doesnt lookup "0.0.0.0".
846         (ImplLookup): Renamed from lookup.
847         * java/net/natInetAddressNoNet.cc
848         (ImplLookup): Renamed from lookup.
849         * java/net/natInetAddressPosix.cc
850         (ImplLookup): Renamed from lookup.
851         * java/net/natInetAddressWin32.cc
852         (ImplLookup): Renamed from lookup.
853
854 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
855
856         * configure: Rebuilt.
857         * configure.in: Require gtk and glib 2.2.0.
858
859 2003-11-27  Dalibor Topic <robilad@kaffe.org>
860
861         * java/text/FieldPosition.java (equals): Adapted to handle
862         field_attribute. Added fast-circuit check for comparison to self.
863         Replaced use of instanceof by getClass to fix symmetry for derived
864         types.
865         (toString): Adapted to handle field_attribute. Improved readability.
866         (hashCode): New method.
867
868 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
869
870         * java/text/FieldPosition.java (field_attribute): New field.
871         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
872         getFieldAttribute): New methods.
873
874 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
875
876         * java/text/DecimalFormatSymbols.java (locale): New field.
877         (DecimalFormatSymbols (Locale)): Set locale.
878         (serialVersionOnStream): Upgraded to number 2.
879         (readObject): Assign locale if it wasn't by the serializer.
880
881 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
882
883         * java/text/FormatCharacterIterator.java: Documented the class and
884
885 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
886
887         * java/text/FormatCharacterIterator.java: Fixed some typos.
888
889 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
890
891         * java/text/NumberFormat.java:
892         (getIntegerInstance) Added the java version in the comments.
893
894 2003-11-27  Mark Wielaard  <mark@klomp.org>
895
896         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
897         (readResolve): Reformat.
898
899 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
900
901         * java/text/NumberFormat.java
902         (NumberFormat.Field): New implemented class to match Java 1.4. 
903         (getIntegerInstance): Two new Java 1.4 methods.o
904
905 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
906
907         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
908         the leap day of the leap year twice.
909         (computeFields): First week of month is 1 not 0.
910
911 2003-11-27  Mark Wielaard  <mark@klomp.org>
912
913         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
914         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
915
916 2003-11-27  Michael Koch  <konqueror@gmx.de>
917
918         * javax/swing/UIDefaults.java:
919         Reformated to match classpath's version.
920
921 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
922
923         * javax/swing/UIManager.java (getDefaults, getDimension,
924         getIcon, getInsets, getInstalledLookAndFeels, getInt,
925         getLookAndFeel, getString, getSystemLookAndFeelClassName):
926         Declare as public.
927
928 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
929
930         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
931         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
932         isSignificant): Likewise.
933
934 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
935
936         * javax/swing/undo/CompoundEdit.java: Re-format, document.
937         (inProgress): Set initial value to true.
938         (undo, redo, die, canUndo, canRedo): Also call inherited
939         implementation; simplify code structure.
940         (getPresentationName, getUndoPresentationName,
941         getRedoPresentationName): Make behavior dependent on lastEdit.
942         (addEdit, isSignificant): Completely re-written.
943
944 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
945
946         * javax/swing/undo/StateEdit.java: Re-format, document.
947         (undo, redo): Also call inherited implementation.
948
949 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
950
951         * javax/swing/undo/StateEditable.java: Re-format, document.
952
953 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
954
955         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
956         (AbstractUndoableEdit): Initialize hasBeenDone to true.
957         (canUndo, canRedo): Simplify.
958         (getUndoPresentationName, getRedoPresentationName): Support
959         localized message; call getPresentationName() only once.
960
961 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
962
963         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
964         (ZipFile(File,int)): Likewise.
965
966 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
967
968         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
969         (putAllInternal): Likewise.
970         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
971         (putAllInternal): Likewise.
972
973 2003-11-26  Michael Koch  <konqueror@gmx.de>
974
975         * java/net/URLStreamHandler.java
976         (parseURL): Added comment in catch statement.
977         (canonicalizeFilename): Add documentation.
978         (sameURL): Completed documentation.
979         (equals): Likewise.
980         (hostsEqual): Likewise.
981         (getDefaulPort): Likewise.
982         (hashCode): Likewise.
983         (toExternalForm): Likewise.
984         (getHostName): Fix empty hostname check, completed documentation.
985
986 2003-11-26  Tom Tromey  <tromey@redhat.com>
987
988         * java/lang/natDouble.cc (parseDouble): Reverted patch of
989         2003-11-13.
990
991 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
992             Mark Wielaard  <mark@klomp.org>
993
994         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
995         ('@' should be checked to distinguish port from userinfo).
996         (toExternalForm): Add @ userInfo if necessary.
997
998
999 2003-11-26  Michael Koch  <konqueror@gmx.de>
1000
1001         * java/net/DatagramSocket.java
1002         (DategramSocket, bind): Moved binding code from DatagramSocket
1003         constructor to bind method.
1004
1005 2003-11-26  Michael Koch  <konqueror@gmx.de>
1006
1007         * java/net/DatagramSocket.java
1008         (impl): Made private.
1009         (bound): New private member variable.
1010         (DatagramSocket): Fixed documentation, use getImpl().
1011         (getImpl): New package-private method.
1012         (isClosed): Use getImpl().
1013         (getLocalAddress): Completed documentation, use getImpl().
1014         (getLocalPort): Use getImpl().
1015         (getSoTimeout): Likewise.
1016         (setSoTimeout): Likewise.
1017         (getSendBufferSize): Likewise.
1018         (setSendBufferSize): Likewise.
1019         (getReceiveBufferSize): Likewise.
1020         (setReceiveBufferSize): Likewise.
1021         (connect): Likewise.
1022         (disconnect): Likewise.
1023         (receive): Likewise.
1024         (send): Likewise.
1025         (setReuseAddress): Likewise.
1026         (setTrafficClass): Likewise.
1027         (bind): Added message to exception.
1028         (isClosed): Completed documentation.
1029         (getChannel): Likewise.
1030         (connect): Added missing exception, refined exception message.
1031         (isBound): Completed documentation, just return bound.
1032         (isConnected): Completed documentation.
1033         (getRemoteSocketAddress): Likewise.
1034         (getReuseAddress): Completed documentation, use getImpl().
1035         (setSoBroadcast): Likewise.
1036         (getSoBroadcast): Likewise.
1037         (getTrafficClass): Likewise.
1038         (getLocalSocketAddress): Simplified.
1039         * java/net/MulticastSocket.java
1040         (MulticastSocket): Removed comment not applying anymore.
1041         (getInterface): Use getImpl().
1042         (getTTL): Likewise.
1043         (getTimeToLive): Likewise.
1044         (setInterface): Likewise.
1045         (setNetworkInterface): Likewise.
1046         (getNetworkInterface): Likewise.
1047         (setLoopback): Likewise.
1048         (getLoopback): Likewise.
1049         (setTTL): Likewise.
1050         (setTimeToLive): Likewise.
1051         (joinGroup): Likewise.
1052         (leaveGroup): Likewise.
1053         (send): Likewise.
1054
1055 2003-11-26  Michael Koch  <konqueror@gmx.de>
1056
1057         * java/net/Socket.java
1058         (implCreated): Dont set default value explicitely, added
1059         documentation.
1060         (inputShutdown): Likewise.
1061         (outputShutdown): Likewise.
1062         (bound): New private member variable.
1063         (bind): Set bound to true.
1064         (close): Set bound to false.
1065         (isBound): Return bound.
1066         * java/net/ServerSocket.java
1067         (bound): New private member variable.
1068         (bind): Set bound to true.
1069         (close): Set bound to false.
1070         (isBound): Return bound.
1071
1072 2003-11-26  Michael Koch  <konqueror@gmx.de>
1073
1074         * java/net/URL.java
1075         (URL): Fixed documentation to be HTML compliant.
1076         (getContent): Completed documentation.
1077         (getFile): Likewise.
1078         (getPath): Likewise.
1079         (getAuthority): Likewise.
1080         (getHost): Likewise.
1081         (getDefaultPort): Likewise.
1082         (getProtocol): Likewise.
1083         (hashCode): Likewise.
1084         (openConnection): Likewise.
1085         (openStream): Likewise.
1086         (set): Likewise.
1087         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1088
1089 2003-11-26  Michael Koch  <konqueror@gmx.de>
1090
1091         * java/net/InetSocketAddress.java
1092         (hostname): Made private, added documentation.
1093         (addr): Likewise.
1094         (port): Likewise.
1095         (equals): Completed documentation.
1096         (getAddress): Likewise.
1097         (getHostName): Likewise.
1098         (getPort): Likewise.
1099         (hashCode): Likewise.
1100         (isUnresolved): Likewise.
1101         (toString): Likewise.
1102
1103 2003-11-26  Michael Koch  <konqueror@gmx.de>
1104
1105         * gnu/java/net/protocol/file/Handler.java
1106         (Handler): New explicit constructor.
1107         (openConnection): Added documentation.
1108         * gnu/java/net/protocol/jar/Handler.java
1109         (Handler): New explicit constructor.
1110         (openConnection): Added documentation.
1111
1112 2003-11-26  Michael Koch  <konqueror@gmx.de>
1113
1114         * java/net/DatagramPacket.java
1115         (DatagramPacket): Fixed documentation to become legal HTML.
1116
1117 2003-11-25  Michael Koch  <konqueror@gmx.de>
1118
1119         * gcj/javaprims.h: Added missing java.util.Currency.
1120
1121 2003-11-25  Michael Koch  <konqueror@gmx.de>
1122
1123         * testsuite/libjava.mauve/xfails:
1124         Removed these two tests, they mystically pass now:
1125         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1126         test_params failed - 5getInetAddress did not return proper values
1127         (number 1)
1128         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1129         test_BasicServer failed - 11 exception was thrown :Illegal seek
1130         (number 1)
1131
1132 2003-11-25  Michael Koch  <konqueror@gmx.de>
1133
1134         * java/net/DatagramSocket.java
1135         (factory): Made private.
1136         (closed): Removed.
1137         (DatagramSocket): Check impl argument, use constructor with
1138         SocketAddress argument.
1139         (close): Set impl to null, use isClosed().
1140         (isClosed): Check for impl == null.
1141         (getLocalAddress): Use isClosed().
1142         (getLocalPort): Check if socket is closed.
1143         (getSoTimeout): Likewise.
1144         (setSoTimeout): Likewise.
1145         (getSendBufferSize): Likewise.
1146         (setSendBufferSize): Likewise.
1147         (getReceiveBufferSize): Likewise.
1148         (setReceiveBufferSize): Likewise.
1149         (receive): Likewise.
1150         (send): Likewise.
1151         (bind): Likewise.
1152         (connect): Likewise.
1153         (setReuseAddress): Likewise.
1154         (getReuseAddress): Likewise.
1155         (setBroadcast): Likewise.
1156         (getBroadcast): Likewise.
1157         (setTrafficClass): Likewise.
1158         (getTrafficClass): Likewise.
1159         * java/net/MulticastSocket.java
1160         (getInterface): Check if socket is closed.
1161         (getTTL): Likewise.
1162         (getTimeToLive): Likewise.
1163         (setInterface): Likewise.
1164         (setNetworkInterface): Likewise.
1165         (getNetworkInterface): Likewise.
1166         (setLoopbackMode): Likewise.
1167         (setTTL): Likewise.
1168         (setTimeToLive): Likewise.
1169         (joinGroup): Likewise.
1170         (leaveGroup): Likewise.
1171         (send): Likewise.
1172         * java/net/ServerSocket.java
1173         (closed): Removed.
1174         (close): Check if socket is closed, set impl to null.
1175         (isClosed): Check impl == null;
1176         (ServerSocket): Check impl argument.
1177         (getInetAddress): Check if socket is bound.
1178         (getLocalPort): Likewise.
1179         (getLocalSocketAddress): Likewise.
1180         (bind): Check if socket is closed.
1181         (implAccept): Likewise.
1182         (setSoTimeout): Likewise.
1183         (getSoTimeout): Likewise.
1184         (setReuseAddress): Likewise.
1185         (getReuseAddress): Likewise.
1186         (setReceiveBufferSize): Likewise.
1187         (getReceiveBufferSize): Likewise.
1188         (toString): Make output compliant to JDK 1.4.2.
1189         * java/net/Socket.java
1190         (closed): Removed.
1191         (Socket): Fixed documentation.
1192         (connect): Check if socket is closed, changed exception text,
1193         fixed documentation.
1194         (getInputStream): Check of socket is closed  and connected.
1195         (getOutputStream): Likewise.
1196         (bind): Check if socket is closed.
1197         (setTcpNoDelay): Likewise.
1198         (getTcpNoDelay): Likewise.
1199         (setSoLinger): Likewise.
1200         (getSoLinger): Likewise.
1201         (sendUrgentData): Likewise.
1202         (setOOBInline): Likewise.
1203         (getOOBInline): Likewise.
1204         (setSoTimeout): Likewise.
1205         (getSoTimeout): Likewise.
1206         (setSendBufferSize): Likewise.
1207         (getSendBufferSize): Likewise.
1208         (setReceiveBufferSize): Likewise.
1209         (getReceiveBufferSize): Likewise.
1210         (setKeepAlive): Likewise.
1211         (getKeepAlive): Likewise.
1212         (close): Likewise.
1213         (shutdownInput): Likewise.
1214         (shutdownOutput): Likewise.
1215         (getReuseAddress): Likewise.
1216         (getTrafficClass): Likewise.
1217         (setTrafficClass): Likewise.
1218         (isClosed): Check impl == null.
1219         (toString): Added missing ']'.
1220
1221 2003-11-24  Tom Tromey  <tromey@redhat.com>
1222
1223         * Makefile.in: Rebuilt.
1224         * Makefile.am (propdir): New macro.
1225         (install-data-local): Install logging.properties.
1226         (core_java_source_files): Added java.util.logging.*.
1227         * java/util/logging/logging.properties: New file.
1228
1229 2003-11-25  Michael Koch  <konqueror@gmx.de>
1230
1231         * java/net/DatagramSocket.java
1232         (DatagramSocket): Move binding code to bind(), simplify constructors.
1233         * java/net/MulticastSocket.java
1234         (MulticastSocket): Call parent constructor with null argument,
1235         bind socket after setReuseAddress is called, simplify constructors.
1236
1237 2003-11-24  Michael Koch  <konqueror@gmx.de>
1238
1239         * javax/swing/BoxLayout.java
1240         (serialVersionUIR): New member variable.
1241         (X_AXIS, Y_AXIS): Documentation added.
1242         (LINE_AXIS, PAGE_AXIS): New constants.
1243         (grid): Renamed from gridbag.
1244         (BoxLayout): Use new constants, throw exception if invalid value for
1245         way, added documentation.
1246         (BoxLayout): Removed.
1247         (addLayoutComponent): Use new constants, added documentation.
1248         (removeLayoutComponent): Likewise.
1249         (addLayoutContainer): Added documentation.
1250         (preferredLayoutSize): Added documentation, check given argument.
1251         (minimumLayoutSize): Likewise.
1252         (layoutContainer): Likewise.
1253         (getLayoutAlignmentX): Likewise.
1254         (getLayoutAlignmentY): Likewise.
1255         (invalidateLayout): Likewise.
1256         (maximumLayoutSize): Likewise.
1257
1258 2003-11-22  Michael Koch  <konqueror@gmx.de>
1259
1260         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1261         (peekData): Use offset and maximal free space in datagram packet.
1262         (receive): Likewise.
1263         (send): Use offset in datagram packet.
1264
1265 2003-11-22  Michael Koch  <konqueror@gmx.de>
1266
1267         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1268         (peekData): Use offset and maximal free space in datagram packet.
1269         (receive): Likewise.
1270         (send): Use offset in datagram packet.
1271
1272 2003-11-22  Michael Koch  <konqueror@gmx.de>
1273
1274         * gnu/java/nio/DatagramChannelImpl.java
1275         (getNativeFD): Use getPlainDatagramSocketImpl().
1276         * gnu/java/nio/NIODatagramSocket.java
1277         (getPlainDatagramSocketImpl): Renamed from getImpl().
1278         * gnu/java/nio/NIOSocket.java
1279         (getPlainSocketImpl): Renamed from getImpl().
1280         (setChannel): Use getPlainSocketImpl().
1281         * gnu/java/nio/SocketChannelImpl.java
1282         (SocketChannelImpl): Use getPlainSocketImpl().
1283         (getPlainSocketImpl): Renamed from getImpl().
1284         (getNativeFD): Use getPlainSocketImpl().
1285
1286 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1287
1288         * javax/swing/JLayeredPane.java: Implement.
1289         * javax/swing/JFrame.java (getContentPane): Make public
1290         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
1291         Use JLayeredPane.FRAME_CONTENT_LAYER.
1292
1293 2003-11-21  Mark Wielaard  <mark@klomp.org>
1294
1295         * java/lang/Float.java (static): Removed.
1296
1297 2003-11-18  Graydon Hoare  <graydon@redhat.com>
1298
1299         * java/awt/font/TextLayout.java: Implement simple layouts
1300         using attributed strings and glyph vectors.
1301
1302 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1303
1304         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1305         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
1306         (GdkFontLineMetrics): New inner class.
1307         (getLineMetrics): Return new GdkFontLineMetrics.
1308         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1309         (layoutGlyphVector): Create GdkGlyphVector.
1310         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1311         (GdkGraphics2D): Initialize state via mathod calls.
1312         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1313         (cairoTranslate, cairoScale, cairoRotate): Remove.
1314         (various methods): use setTransform for special transform cases.
1315         (DrawState): New inner class.
1316         (stateSave): New method.
1317         (stateRestore): New method.
1318         (various methods): use stateSave, stateRestore.
1319         (getClipInDevSpace): New method.
1320         (clip, clipRect, setClip, getClip, getClipBounds): 
1321         Follow spec more closely.
1322         (getTransform): Return clone of transform.
1323         (setStroke): Set linewidth to passed width / 2.0.
1324         (setPaintMode): Set SrcOver rather than Xor.
1325         (setColor): Set paint to passed color.
1326         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1327         transform from image to user space.
1328         (drawRenderedImage, drawRenderableImage): Implement.
1329         (getFontRenderContext, getFontMetrics, drawString, getFont): 
1330         Implement
1331         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
1332         Implement.
1333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
1334         Match changes to java side.
1335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
1336         Release resources.
1337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1338         Don't use pango for metrics.
1339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
1340         New file.
1341
1342 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
1343             Jim Pick  <jim@kaffe.org>
1344
1345         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1346         methods.
1347
1348 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
1349
1350         * java/text/DecimalFormatSymbols.java (getCurrency,
1351         setCurrency): New methods.
1352
1353 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
1354
1355         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1356         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1357         Describe how the implementation works.
1358
1359 2003-11-19  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/net/Socket.java
1362         (implCreated): New variable that indicates created impl.
1363         (getImpl): New method.
1364         (toString): Return more SUN compliant string representation.
1365         (various): Use getImpl() instead of impl.
1366
1367 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1368
1369         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1370         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1371         flags.
1372
1373 2003-11-18  Tom Tromey  <tromey@redhat.com>
1374
1375         PR libgcj/13026:
1376         * verify.cc (state::copy): Only set local_changed if we're in a
1377         subroutine.  Correctly copy local variables which were modified
1378         by the subroutine.
1379         (push_jump_merge): Added more debugging output.
1380
1381         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1382         is null.
1383
1384 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1385
1386         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1387         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1388
1389 2003-11-16  Tom Tromey  <tromey@redhat.com>
1390
1391         PR libgcj/13062:
1392         * java/io/StreamTokenizer.java (commentChar): Clear other
1393         attributes for character.
1394         (quoteChar): Likewise.
1395
1396 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1397
1398         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1399         zero-length int arrays when layoutInfo is null.
1400         (getLayoutWeights): Return array of two zero-length double arrays when
1401         layoutInfo is null.
1402
1403 2003-11-13  Tom Tromey  <tromey@redhat.com>
1404
1405         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1406         JvGetStringUTFRegion.
1407         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1408         to JvGetStringUTFRegion.
1409         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1410         JvGetStringUTFRegion.
1411         * java/lang/natWin32Process.cc (startProcess): Pass length of
1412         string to JvGetStringUTFRegion.
1413         * java/lang/natClass.cc (forName): Pass length of string to
1414         JvGetStringUTFRegion.
1415         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1416         of string to JvGetStringUTFRegion.
1417         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1418         JvGetStringUTFRegion.
1419         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1420         to JvGetStringUTFRegion.
1421         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1422         string to JvGetStringUTFRegion.
1423
1424 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1425
1426         * gnu/java/nio/natSelectorImplPosix.cc
1427         (helper_put_filedescriptors): Change to static linkage.
1428         (helper_get_filedescriptors): Likewise.
1429
1430 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1431
1432         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1433         null check.
1434         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1435         * java/awt/Component.java (prepareImage): Likewise.
1436
1437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1438         Rename to nativeSetAlignment.
1439
1440 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1441
1442         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1443         (JNI_GetCreatedJavaVMs): Likewise.
1444         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1445         * include/jni.h (JNIIMPEXP): Remove definition
1446         and replace with...
1447         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1448         symbols,
1449         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1450
1451 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1452
1453         * Makefile.am: Add GdkPixbufDecoder.java and
1454         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1455         * Makefile.in: Regenerate.
1456         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1457         New constructor.
1458         (startProduction): Create ByteArrayInputStream when url and filename are
1459         null.
1460         (produce): Declare stream parameter as InputStream.
1461         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1462         as InputStream.
1463         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1464         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1465         (produce): Declare stream parameter as InputStream.
1466         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1467         if image is null.  Set image's observer before running PrepareImage
1468         thread.  Pass image to startProduction.
1469         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1470         source's member functions.
1471         (observer): New field.
1472         (setObserver): New method.
1473         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1474         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1475         new GtkImage.
1476         (prepareImage): Implement.
1477         * java/awt/Component.java: Add static fields incrementalDraw and
1478         redrawRate.
1479         (imageUpdate): Implement.
1480         (createImage): Call Toolkit's createImage if peer is null.
1481         (prepareImage): Throw NPE if image is null.
1482         * java/awt/MediaTracker.java: Fix return value.
1483
1484 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1485
1486         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1487         (create(String, float)): New method.
1488         (setText): Make native.
1489         (nativeSetAlignment): New method.
1490         (setAlignment): Call nativeSetAlignment.
1491         (getArgs): Remove method.
1492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1493         (find_fg_color_widget, find_bg_color_widget): New functions.
1494         (gtkWidgetSetForeground): Call find_fg_color_widget.
1495         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1496         prelight colors.
1497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1498         widget in event box.
1499         (setText, setAlignment): Implement new native methods.
1500
1501 2003-11-11  Michael Koch  <konqueror@gmx.de>
1502
1503         * java/awt/Font.java,
1504         java/awt/datatransfer/DataFlavor.java,
1505         java/math/BigInteger.java,
1506         java/net/Inet4Address.java,
1507         java/net/Inet6Address.java,
1508         java/rmi/MarshalledObject.java,
1509         java/rmi/server/RMIClassLoader.java,
1510         java/security/cert/CertStore.java,
1511         java/sql/Timestamp.java,
1512         java/text/SimpleDateFormat.java,
1513         javax/naming/CompoundName.java:
1514         Removed some redundant obj == null checks.
1515
1516 2003-11-11  Michael Koch  <konqueror@gmx.de>
1517
1518         * java/nio/ByteBuffer.java
1519         (equals): Remove redundant obj == null check.
1520
1521 2003-11-11  Michael Koch  <konqueror@gmx.de>
1522
1523         * gnu/java/nio/natPipeImpl.cc,
1524         gnu/java/nio/natSelectorImpl.cc: Removed
1525         * gnu/java/nio/natPipeImplEcos.cc,
1526         gnu/java/nio/natPipeImplPosix.cc,
1527         gnu/java/nio/natPipeImplWin32.cc,
1528         gnu/java/nio/natSelectorImplEcos.cc,
1529         gnu/java/nio/natSelectorImplPosix.cc,
1530         gnu/java/nio/natSelectorImplWin32.cc: New files
1531         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1532         gnu/java/nio/natSelectorImpl.cc
1533         * configure: Regenerated.
1534
1535 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1536
1537         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1538         if host is printed too and port was really given to URL.
1539
1540 2003-11-10  Gary Benson  <gbenson@redhat.com>
1541
1542         * java/sql/Timestamp.java (valueOf): Correctly handle
1543         nanoseconds.
1544
1545 2003-11-09  Tom Tromey  <tromey@redhat.com>
1546
1547         * java/net/Inet4Address.java (serialVersionUID): Updated.
1548
1549 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1550
1551         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1552         New fields.
1553
1554 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1555
1556         * java/io/ByteArrayOutputStream.java (resize):
1557         Fix off-by-one error.
1558
1559 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1560
1561         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1562         public.
1563
1564 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1565
1566         PR libgcj/12231
1567         * java/lang/Win32Process.java (hasExited) Changed from
1568         public to private.
1569         (startProcess): Likewise.
1570         (cleanup): Likewise.
1571         * java/lang/natWin32Process.cc (cleanup) Don't close
1572         input, output and error streams.
1573         (ChildProcessPipe): New helper class.
1574         (startProcess): Refactored to use ChildProcessPipe.
1575         Use CREATE_NO_WINDOW when launching child process.
1576
1577 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1578
1579         * include/win32.h (_Jv_platform_close_on_exec): Changed
1580         signature and declared extern.
1581         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1582         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1583         (create): Use new signature of _Jv_platform_close_on_exec.
1584         * gnu/java/net/natPlainSocketImplWin32.cc 
1585         (create): Eliminated a few typecasts
1586         Use new signature of _Jv_platform_close_on_exec.
1587         (accept): Eliminated a few typecasts
1588         Use new signature of _Jv_platform_close_on_exec.
1589         * java/io/natFileDescriptorWin32.cc (open): Use
1590         _Jv_platform_close_on_exec.
1591
1592 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1593
1594         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1595         if class has no null-argument constructor.
1596
1597 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1598
1599         PR libgcj/12647:
1600         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1601         refcount when releasing and reacquiring it.
1602
1603 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1604
1605         * win32.cc: (dirExists) Internal helper function to
1606         test for directory existence.
1607         (getUserHome) New helper function refactored out
1608         of _Jv_platform_initProperties. Uses USERPROFILE
1609         instead of HOMEDIR and attempts to support Win9X and NT.
1610         (_Jv_platform_initProperties) Use getUserHome.
1611
1612 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1613
1614         PR libgcj/11521:
1615         * gnu/java/net/natPlainSocketImplWin32.cc
1616         (bind): Don't use SO_REUSEADDR
1617
1618 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1619
1620         PR libgcj/6652:
1621         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1622
1623 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1624
1625         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1626         dispatch for final methods.
1627
1628 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1629
1630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1631         word wrapping.
1632
1633 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1634
1635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1636         scrolled window's size request.
1637
1638 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1639
1640         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1641         * java/awt/geom/QuadCurve2D.java: Likewise.
1642
1643 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1644
1645         * java/awt/geom/CubicCurve2D.java: Added documentation.
1646         * java/awt/geom/QuadCurve2D.java: Likewise.
1647
1648         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1649         java/awt/geom/doc-files/QuadCurve2D-5.png,
1650         java/awt/geom/doc-files/CubicCurve2D-4.png,
1651         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1652
1653 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1654
1655         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1656         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1657         (subdivide(double[],int,double[],int,double[],int)): Implement.
1658
1659 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1660
1661         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1662         java/awt/geom/doc-files/CubicCurve2D-2.png,
1663         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1664
1665 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1666
1667         * java/text/DecimalFormat.java
1668         (scanFormat) corrected so that '%' may appear in a pattern.
1669
1670 2003-10-29  Mark Wielaard  <mark@klomp.org>
1671
1672         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1673         * java/text/DateFormat.java (Field): New public static inner class.
1674         * java/text/Format.java (Field): Likewise.
1675         (formatToCharacterIterator): New method.
1676         * java/text/FormatCharacterIterator.java: New file.
1677
1678 2003-10-29  Mark Wielaard  <mark@klomp.org>
1679
1680         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1681         * java/util/Currency.java: New file.
1682
1683 2003-10-29  Michael Koch  <konqueror@gmx.de>
1684
1685         * Makefile.am (ordinary_java_source_files): Added
1686         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1687         * Makefile.in: Regenerated.
1688
1689 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1690
1691         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1692         static methods.
1693
1694 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1695
1696         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1697         getObjectInstance() with Object, Name, Context and environment
1698         Hashtable from exception. Call fillInStackTrace() on exception when
1699         rethrown.
1700         * javax/naming/InitialContext.java (lookup(Name)): When a
1701         CannotProceedException is thrown use the ContinuationContext.
1702         (lookup(String)): Likewise.
1703         (close): Clear myProps and defaultInitCtx.
1704
1705 2003-10-29  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/net/InetAddress.java
1708         (equals): Remove redundant obj == null check.
1709         * java/net/SocketPermission.java
1710         (equals): Likewise.
1711         * java/net/URL.java
1712         (equals): Likewise.
1713         (getURLStreamHandler): Likewise.
1714
1715 2003-10-29  Michael Koch  <konqueror@gmx.de>
1716
1717         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1718         (setOption): Directly return if no error occured.
1719         * gnu/java/net/natPlainSocketImplPosix.cc
1720         (setOption): Likewise.
1721
1722 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1723
1724         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1725         vtable slot for final methods. Add FIXME comment.
1726
1727 2003-10-28  David S. Miller  <davem@redhat.com>
1728
1729         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1730
1731 2003-10-26  Mark Wielaard  <mark@klomp.org>
1732
1733         Reported by Helmer Kraemer <hkraemer@freenet.de>
1734         * java/util/jar/JarInputStream.java (readManifest): Don't call
1735         closeEntry().
1736
1737         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1738         (finish): Use inbufWrite().
1739         (write(int)): Likewise.
1740         (write(byte[],int,int)): Likewise.
1741
1742 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1743
1744         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1745         Don't check for AccessibleObject. Update javadocs.
1746         
1747         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1748
1749 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1750
1751         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1752         whitespace on constructor with no modifiers.
1753         * java/lang/reflect/natConstructor.java (newInstance): Look up
1754         caller and perform accessibility check only if constructor is
1755         non-public and accessible flag is not set.
1756
1757 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1758
1759         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1760         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1761         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1762         is_virtual_call argument.
1763         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1764         natClass.cc.
1765         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1766         _Jv_isVirtualMethod.
1767         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1768         _Jv_LookupDeclaredMethod.
1769         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1770         look up method in target object's vtable.
1771
1772 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1773
1774         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1775         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1776         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1777         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1778         New concrete implementation of ClasspathFontPeer, with native part.
1779         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1780         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1781         New class, with native part.
1782         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1783         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1784         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1785
1786 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1787
1788         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1789         on method with no modifiers.
1790
1791 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1792
1793         PR libgcj/11780:
1794         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1795         accessibility check only if target is non-public and accessible flag
1796         is not set.
1797         * java/lang/reflect/natField.cc (getAddr): Likewise.
1798
1799 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1800
1801         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1802         Remove method.
1803         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1804         New method.
1805         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1806         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1807         (dispose): Post WINDOW_CLOSED event.
1808         (addWindowFocusListener, addWindowStateListener): Assign result
1809         of multicaster add back to window listener.
1810         (removeWindowFocusListener, removeWindowStateListener): Assign
1811         result of multicaster remove back to window listener.
1812         (dispatchEventImpl): Add null checks for focus and state
1813         listeners.
1814         (processWindowEvent): Handle case where windowListener is null
1815         but state or focus listeners exist.
1816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1817         glue for postWindowEvent.
1818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1819         (window_delete_cb, window_destroy_cb, window_show_cb,
1820         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1821         window_get_new_state): New functions.
1822         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1823         macros.  Declare postWindowEventID.
1824
1825 2003-10-24  Anthony Green  <green@redhat.com>
1826
1827         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1828         we have no interpreter.
1829
1830 2003-10-22  Andrew Haley  <aph@redhat.com>
1831
1832         * java/lang/natClass.cc (initializeClass): Call
1833         _Jv_linkExceptionClassTable.
1834         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1835         _Jv_Defer_Resolution on a method whose ncode is NULL.
1836         (_Jv_linkExceptionClassTable): New function.
1837         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1838         entry, look it up.
1839         * java/lang/Class.h (struct _Jv_CatchClass): New.
1840         (_Jv_linkExceptionClassTable): New friend.
1841         (_Jv_Defer_Resolution): New friend.
1842         (class Class.catch_classes): New field.
1843         * include/java-interp.h (Jv_Defer_Resolution): New method.
1844         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1845         (_Jv_MethodBase.deferred): New field.
1846         (_Jv_Defer_Resolution): New function.
1847         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1848         * exception.cc (get_ttype_entry): Change return type to void**.
1849         (PERSONALITY_FUNCTION): Remove all code related to using a
1850         Utf8Const* for a match type.  Change match type to be a pointer to
1851         a pointer, rather than a pointer to a Class.
1852         * defineclass.cc (handleCodeAttribute): Initialize
1853         method->deferred.
1854         (handleMethodsEnd): Likewise.
1855
1856 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1857
1858         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1859         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1860
1861 2003-10-22  Tom Tromey  <tromey@redhat.com>
1862
1863         PR libgcj/12416:
1864         * java/lang/Class.h: Updated.
1865         * java/lang/natClass.cc (_getFields): Removed.
1866         (getFields): Likewise.
1867         (getDeclaredFields): Added `public_only' parameter.
1868         * java/lang/Class.java (getFields): Now implemented in java; from
1869         Classpath.
1870         (getDeclaredFields): Likewise.
1871         (getDeclaredFields(boolean)): Declare.
1872         (_getFields): Removed.
1873         (internalGetFields): New method, from Classpath.
1874
1875         PR libgcj/12656:
1876         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1877         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1878
1879 2003-10-22  David Daney  <ddaney@avtrex.com)
1880
1881         * include/mips-signal.h: New file.
1882         * sysdep/dwarf2-backtrace.cc: New file.
1883         * sysdep/mips: New directory.
1884         * sysdep/mips/locks.h: New file.
1885         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1886         added to libgcj.
1887         (extra_cc_source_files): Ditto.
1888         * configure.host(disable_dladdr):  New shell variable passed to
1889         configure.
1890         (mips*-*-linux*): sysdeps_dir=mips,
1891         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1892         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1893         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1894         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1895         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1896         (EXTRA_CC_FILES): New, to support conditional addition of
1897         sysdep/dwarf2-backtrace.cc.
1898         * configure: Regenerated.
1899         * Makefile.in: Regenerated.
1900         * gcj/Makefile.in: Regenerated.
1901         * include/config.h.in: Regenerated.
1902         * include/Makefile.in: Regenerated.
1903         * testsuite/Makefile.in: Regenerated.
1904         
1905 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1906
1907         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1908         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1909
1910 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1911
1912         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1913         * java/awt/geom/doc-files: New directory.
1914         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1915         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1916         
1917 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1918
1919         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1920
1921 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1922
1923         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1924
1925 2003-10-22  Michael Koch  <konqueror@gmx.de>
1926
1927         * java/io/File.java
1928         (equals): Removed redundant obj == null check.
1929         (createTempFile): Merged comments from classpath.
1930
1931 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1932
1933         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1934         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1935         (error): Synchronize on instance, not class.
1936
1937 2003-10-21  Mark Wielaard  <mark@klomp.org>
1938
1939         Reported by M.Negovanovic
1940         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1941         method.
1942         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1943
1944 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1945
1946         Fix for Classpath bug #6076.
1947         * java/awt/geom/GeneralPath.java (append): Re-written.
1948
1949 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1950
1951         Fix for Classpath bug #6089.
1952         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1953         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1954
1955 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1956
1957         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1958         point, not start of subpath.  Fixes Classpath bug #6075.
1959
1960 2003-10-21  Michael Koch  <konqueror@gmx.de>
1961
1962         * java/nio/ByteOrder.java,
1963         java/nio/DirectByteBufferImpl.java,
1964         java/nio/channels/FileChannelImpl.java:
1965         Add code to load library with code for native methods if needed.
1966
1967 2003-10-21  Michael Koch  <konqueror@gmx.de>
1968
1969         * gnu/java/net/PlainDatagramSocketImpl.java,
1970         gnu/java/net/PlainSocketImpl.java,
1971         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1972         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1973         gnu/java/net/natPlainSocketImplPosix.cc,
1974         gnu/java/net/natPlainSocketImplWin32.cc:
1975         Renamed fnum to native_fd to match classpath more.
1976
1977 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1978
1979         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1980         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1981         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1982         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1983         _Jv_PthreadCheckMonitor.  Simplify code.
1984         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1985         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1986         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1987         * java/lang/Thread.java (holdsLock): New.
1988         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1989         without JV_HASH_SYNCHRONIZATION.
1990         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1991
1992 2003-10-20  Michael Koch  <konqueror@gmx.de>
1993
1994         * java/text/RuleBasedCollator.java
1995         (RuleBasedCollator): Check rules not empty, fixed search in already
1996         existing collation elements.
1997         (is_special): Removed common whitespace characters.
1998         (text_argument): Dont return on whitespaces, add characters between
1999         two ' to string buffer.
2000
2001 2003-10-18  Michael Koch  <konqueror@gmx.de>
2002
2003         * gnu/java/net/protocol/file/Connection.java,
2004         gnu/java/net/protocol/file/Handler.java,
2005         gnu/java/net/protocol/http/Connection.java,
2006         gnu/java/net/protocol/http/Handler.java,
2007         gnu/java/net/protocol/jar/Connection.java,
2008         gnu/java/net/protocol/jar/Handler.java:
2009         Merged copyright text from classpath to make
2010         it possible to merge the classes.
2011
2012 2003-10-18  Mark Wielaard  <mark@klomp.org>
2013
2014         Reported by M.Negovanovic
2015         * java/beans/IndexedPropertyDescriptor.java
2016         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2017
2018 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
2019
2020         * win32.cc (_Jv_pipe): Implemented.
2021         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2022         _Jv_pipe instead of ::pipe.
2023         * include/posix.h (_Jv_pipe): New inline.
2024         * include/win32.h (_Jv_pipe): New declaration.
2025         
2026 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2027
2028         * java/lang/StringBuffer.java (getChars): Fix array index checks.
2029         (append, substring, insert): Likewise.
2030         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2031         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2032         
2033 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2034
2035         * java/lang/natString.cc (getChars):
2036         Fix validation of array indexes.
2037         (getBytes, regionMatches, startsWith, valueOf): Likewise.
2038         * testsuite/libjava.lang/String_overflow.java: New file.
2039         * testsuite/libjava.lang/String_overflow.out: New file.
2040
2041 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
2042
2043         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2044         overflow a jint.
2045         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2046         check for overflowing size_t, since the lower level functions
2047         take a jint.
2048         * testsuite/libjava.lang/newarray_overflow.java:  New file.
2049         * testsuite/libjava.lang/newarray_overflow.out:  New file.
2050         
2051 2003-10-15  Michael Koch  <konqueror@gmx.de>
2052
2053         * java/text/RuleBasedCollator.java
2054         (RuleBasedCollator): Moved around, documentation added.
2055         (compare): Documentation added.
2056         (equals): Likewise.
2057         (getCollationElementIterator): Likewise.
2058         (getCollationKey): Likewise.
2059         (getRules): Likewise.
2060         (hashCode): Likewise.
2061
2062 2003-10-15  Michael Koch  <konqueror@gmx.de>
2063
2064         * java/text/RuleBasedCollator.java
2065         (CollationElement): Renamed from RBCElement and moved into
2066         RuledBasedCollator as inner class.
2067
2068 2003-10-15  Michael Koch  <konqueror@gmx.de>
2069
2070         * java/text/CollationElementIterator.java
2071         (CollationElementIterator): Moved, documenatation added, call setText.
2072         (next): Reformated.
2073         (reset): Reformated.
2074         (setText): New method.
2075         (getOffset): New method.
2076         * java/text/CollationKey.java
2077         (getSourceString): Reformated.
2078         (hashCode): Reformated.
2079         (toByteArray): Reformated.
2080
2081 2003-10-15  Michael Koch  <konqueror@gmx.de>
2082
2083         * java/util/zip/InflaterInputStream.java
2084         (InflaterInputStream): Renamed infl to inf and bufsize to size,
2085         added description to exception, check for inf == null and size < 0.
2086
2087 2003-10-15  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/text/AttributedCharacterIterator.java,
2090         java/text/CharacterIterator.java: Reformated.
2091
2092 2003-10-15  Michael Koch  <konqueror@gmx.de>
2093
2094         * javax/swing/UIDefaults.java (putDefaults):
2095         Readded accidently removed "public" modifier.
2096
2097 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
2098
2099         * interpret.cc (_Jv_InterpMethod::run): Don't
2100         use libffi types, they were meant to be internal.
2101         * gcj/javaprims.h (_Jv_ulong): New typedef.
2102
2103 2003-10-13  Tom Tromey  <tromey@redhat.com>
2104
2105         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2106         (defineClass): Updated.
2107         (_Jv_NewClass): Likewise.
2108         * prims.cc (_Jv_InitPrimClass): Don't call
2109         _Jv_InitNewClassFields.
2110
2111 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
2112
2113         PR libgcj/12592
2114         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2115         not just \n.
2116
2117 2003-10-13  Michael Koch  <konqueror@gmx.de>
2118
2119         * java/io/File.java: Reformated.
2120         (equals): Check for obj == null.
2121
2122 2003-10-13  Michael Koch  <konqueror@gmx.de>
2123
2124         * java/net/JarURLConnection.java
2125         (jarFileURL): Added dcoumentation.
2126         (jarFileURLConnection): Reformated documentation.
2127         (entryName): Renamed from "element", documentation rewritten.
2128         (connectionCache): Renamed from "conn_cache", documentation
2129         reformated.
2130         (JarURLConnection): Check URL protocol.
2131         (getEntryName): Use entryName.
2132         (connect): Use connectionCache.
2133         (getInputStream): Use entryName, fixed comment.
2134         (getJarEntry): Use entryName.
2135         (getHeaders): Use entryName.
2136         * java/net/URLConnection.java
2137         (addRequestProperty): Fixed documentation.
2138         (setDefaultRequestProptery): Added comment that it does nothing since
2139         JDK 1.3.
2140         (getDefaultRequestProperty): Likewise.
2141
2142 2003-10-13  Michael Koch  <konqueror@gmx.de>
2143
2144         * java/net/java/net/URLStreamHandlerFactory.java
2145         (createURLStreamHandler): Removed redundant "public" modifier.
2146         * java/sql/DatabaseMetaData.java:
2147         (DatabaseMetaData):  Readded accidently removed "public" modifier.
2148         * java/sql/ParameterMetaData.java:
2149         (ParameterMetaData): Readded accidently removed "public" modifier.
2150         * java/sql/PreparedStatement.java:
2151         (PreparedStatement): Readded accidently removed "public" modifier.
2152         * java/sql/Ref.java:
2153         (Ref): Readded accidently removed "public" modifier.
2154
2155 2003-10-13  Michael Koch  <konqueror@gmx.de>
2156
2157         * java/nio/Buffer.java
2158         (hasRemaining): Made implementation more clear.
2159         * java/nio/MappedByteBuffer.java
2160         (loaded): New member variable.
2161         (force): Added comment.
2162         (isLoaded): Return value of loaded.
2163         (load): Set loaded to true, added comment.
2164
2165 2003-10-12  Michael Koch  <konqueror@gmx.de>
2166
2167         * gnu/java/nio/PipeImpl.java
2168         (SourceChannelImpl): New inner class.
2169         (SinkChannelImpl): New inner class.
2170         (sink): New member variable.
2171         (source): New member variable.
2172         (PipeImpl): Add SelectorProvider argument, implemented.
2173         (nativeInit): New method.
2174         (sink): Return sink channel.
2175         (source): Return source channel.
2176         * gnu/java/nio/SelectorProviderImpl.java
2177         (openPipe): Give provider as argument to PipeImpl constructor.
2178         * java/nio/channels/spi/SelectorProvider.java
2179         (pr): Removed.
2180         (systemDefaultProvider): New member variable.
2181         (provider): Made it synchronized, use property
2182         java.nio.channels.spi.SelectorProvider.
2183         * gnu/java/nio/natPipeImpl.cc: New file.
2184         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2185         * Makefile.in: Regenerated.
2186
2187 2003-10-12  Michael Koch  <konqueror@gmx.de>
2188
2189         * javax/swing/table/DefaultTableModel.java,
2190         javax/swing/table/TableCellEditor.java,
2191         javax/swing/table/TableCellRenderer.java,
2192         javax/swing/table/TableColumnModel.java,
2193         javax/swing/table/TableModel.java,
2194         javax/swing/text/AbstractDocument.java,
2195         javax/swing/text/Document.java,
2196         javax/swing/text/MutableAttributeSet.java,
2197         javax/swing/text/StyledDocument.java,
2198         javax/swing/text/ViewFactory.java,
2199         javax/swing/tree/DefaultMutableTreeNode.java,
2200         javax/swing/tree/MutableTreeNode.java,
2201         javax/swing/tree/RowMapper.java,
2202         javax/swing/tree/TreeCellEditor.java,
2203         javax/swing/tree/TreeCellRenderer.java,
2204         javax/swing/tree/TreeModel.java,
2205         javax/swing/tree/TreeNode.java,
2206         javax/swing/tree/TreeSelectionModel.java,
2207         javax/swing/undo/StateEditable.java,
2208         javax/swing/undo/UndoableEdit.java:
2209         Removed redundant modifiers.
2210
2211 2003-10-12  Michael Koch  <konqueror@gmx.de>
2212
2213         * javax/swing/event/AncestorListener.java,
2214         javax/swing/event/CaretListener.java,
2215         javax/swing/event/CellEditorListener.java,
2216         javax/swing/event/ChangeListener.java,
2217         javax/swing/event/DocumentEvent.java,
2218         javax/swing/event/DocumentListener.java,
2219         javax/swing/event/HyperlinkListener.java,
2220         javax/swing/event/InternalFrameListener.java,
2221         javax/swing/event/ListDataListener.java,
2222         javax/swing/event/ListSelectionListener.java,
2223         javax/swing/event/MenuDragMouseListener.java,
2224         javax/swing/event/MenuKeyListener.java,
2225         javax/swing/event/MenuListener.java,
2226         javax/swing/event/MouseInputListener.java,
2227         javax/swing/event/PopupMenuListener.java,
2228         javax/swing/event/TableColumnModelListener.java,
2229         javax/swing/event/TableModelListener.java,
2230         javax/swing/event/TreeExpansionListener.java,
2231         javax/swing/event/TreeModelListener.java,
2232         javax/swing/event/TreeSelectionListener.java,
2233         javax/swing/event/TreeWillExpandListener.java,
2234         javax/swing/event/UndoableEditListener.java,
2235         javax/swing/plaf/UIResource.java,
2236         javax/swing/plaf/metal/MetalLookAndFeel.java:
2237         Removed redundant modifiers.
2238
2239 2003-10-12  Michael Koch  <konqueror@gmx.de>
2240
2241         * javax/swing/Action.java,
2242         javax/swing/BoundedRangeModel.java,
2243         javax/swing/CellEditor.java,
2244         javax/swing/ComboBoxEditor.java,
2245         javax/swing/ComboBoxModel.java,
2246         javax/swing/DesktopManager.java,
2247         javax/swing/JComboBox.java,
2248         javax/swing/ListCellRenderer.java,
2249         javax/swing/ListSelectionModel.java,
2250         javax/swing/MenuElement.java,
2251         javax/swing/MutableComboBoxModel.java,
2252         javax/swing/Renderer.java,
2253         javax/swing/RootPaneContainer.java,
2254         javax/swing/ScrollPaneConstants.java,
2255         javax/swing/SingleSelectionModel.java,
2256         javax/swing/SpinnerModel.java,
2257         javax/swing/SwingConstants.java,
2258         javax/swing/UIDefaults.java,
2259         javax/swing/WindowConstants.java,
2260         javax/swing/border/Border.java,
2261         javax/swing/colorchooser/ColorSelectionModel.java:
2262         Removed redundant modifiers.
2263
2264 2003-10-11  Michael Koch  <konqueror@gmx.de>
2265
2266         * javax/transaction/Status.java,
2267         javax/transaction/Synchronization.java,
2268         javax/transaction/Transaction.java,
2269         javax/transaction/TransactionManager.java,
2270         javax/transaction/UserTransaction.java,
2271         javax/transaction/xa/XAResource.java,
2272         javax/transaction/xa/Xid.java:
2273         Removing redundant modifiers.
2274
2275 2003-10-11  Michael Koch  <konqueror@gmx.de>
2276
2277         * javax/print/attribute/Attribute.java,
2278         javax/print/attribute/AttributeSet.java,
2279         javax/print/attribute/PrintRequestAttributeSet.java:
2280         Removing redundant modifiers.
2281
2282 2003-10-11  Michael Koch  <konqueror@gmx.de>
2283
2284         * javax/sql/ConnectionEventListener.java,
2285         javax/sql/ConnectionPoolDataSource.java,
2286         javax/sql/DataSource.java,
2287         javax/sql/PooledConnection.java,
2288         javax/sql/RowSet.java,
2289         javax/sql/RowSetInternal.java,
2290         javax/sql/RowSetListener.java,
2291         javax/sql/RowSetMetaData.java,
2292         javax/sql/RowSetReader.java,
2293         javax/sql/RowSetWriter.java,
2294         javax/sql/XAConnection.java,
2295         javax/sql/XADataSource.java:
2296         Removing redundant modifiers.
2297
2298 2003-10-11  Michael Koch  <konqueror@gmx.de>
2299
2300         * javax/naming/Context.java,
2301         javax/naming/Name.java,
2302         javax/naming/NameParser.java,
2303         javax/naming/NamingEnumeration.java,
2304         javax/naming/Referenceable.java,
2305         javax/naming/directory/Attribute.java,
2306         javax/naming/directory/Attributes.java,
2307         javax/naming/directory/DirContext.java,
2308         javax/naming/event/EventContext.java,
2309         javax/naming/event/EventDirContext.java,
2310         javax/naming/event/NamespaceChangeListener.java,
2311         javax/naming/event/NamingListener.java,
2312         javax/naming/event/ObjectChangeListener.java,
2313         javax/naming/ldap/Control.java,
2314         javax/naming/ldap/ExtendedRequest.java,
2315         javax/naming/ldap/ExtendedResponse.java,
2316         javax/naming/ldap/HasControls.java,
2317         javax/naming/ldap/LdapContext.java,
2318         javax/naming/ldap/UnsolicitedNotification.java,
2319         javax/naming/ldap/UnsolicitedNotificationListener.java,
2320         javax/naming/spi/DirObjectFactory.java,
2321         javax/naming/spi/DirStateFactory.java,
2322         javax/naming/spi/InitialContextFactory.java,
2323         javax/naming/spi/InitialContextFactoryBuilder.java,
2324         javax/naming/spi/ObjectFactory.java,
2325         javax/naming/spi/ObjectFactoryBuilder.java,
2326         javax/naming/spi/Resolver.java,
2327         javax/naming/spi/StateFactory.java:
2328         Removing redundant modifiers.
2329
2330 2003-10-11  Michael Koch  <konqueror@gmx.de>
2331
2332         * java/security/Key.java,
2333         * java/security/PrivateKey.java,
2334         * java/security/PublicKey.java,
2335         * java/security/acl/Acl.java,
2336         * java/security/acl/AclEntry.java,
2337         * java/security/acl/Group.java,
2338         * java/security/acl/Owner.java,
2339         * java/security/acl/Permission.java,
2340         * java/security/cert/X509Extension.java,
2341         * java/security/interfaces/DSAKey.java,
2342         * java/security/interfaces/DSAKeyPairGenerator.java,
2343         * java/security/interfaces/DSAParams.java,
2344         * java/security/interfaces/DSAPrivateKey.java,
2345         * java/security/interfaces/DSAPublicKey.java,
2346         * java/security/interfaces/RSAKey.java,
2347         * java/security/interfaces/RSAPrivateCrtKey.java,
2348         * java/security/interfaces/RSAPrivateKey.java,
2349         * java/security/interfaces/RSAPublicKey.java:
2350         Removed redundant modifiers.
2351
2352 2003-10-11  Michael Koch  <konqueror@gmx.de>
2353
2354         * gnu/java/rmi/server/ProtocolConstants.java,
2355         gnu/java/security/der/DER.java:
2356         Removing redundant modifiers.
2357
2358 2003-10-11  Michael Koch  <konqueror@gmx.de>
2359
2360         * java/util/Map.java,
2361         java/util/Observer.java,
2362         java/util/zip/Checksum.java,
2363         java/util/zip/ZipConstants.java:
2364         Removed redundant modifiers.
2365
2366 2003-10-11  Michael Koch  <konqueror@gmx.de>
2367
2368         * java/text/AttributedCharacterIterator.java,
2369         java/text/CharacterIterator.java:
2370         Removed redundant modifiers.
2371
2372 2003-10-11  Michael Koch  <konqueror@gmx.de>
2373
2374         * java/sql/Array.java,
2375         java/sql/Blob.java,
2376         java/sql/CallableStatement.java,
2377         java/sql/Clob.java,
2378         java/sql/Connection.java,
2379         java/sql/DatabaseMetaData.java,
2380         java/sql/Driver.java,
2381         java/sql/ParameterMetaData.java,
2382         java/sql/PreparedStatement.java,
2383         java/sql/Ref.java,
2384         java/sql/ResultSet.java,
2385         java/sql/ResultSetMetaData.java,
2386         java/sql/SQLData.java,
2387         java/sql/SQLInput.java,
2388         java/sql/SQLOutput.java,
2389         java/sql/Savepoint.java,
2390         java/sql/Statement.java,
2391         java/sql/Struct.java:
2392         Removed redundant modifiers.
2393
2394 2003-10-11  Michael Koch  <konqueror@gmx.de>
2395
2396         * java/nio/channels/Channel.java,
2397         java/nio/channels/GatheringByteChannel.java,
2398         java/nio/channels/ReadableByteChannel.java,
2399         java/nio/channels/ScatteringByteChannel.java,
2400         java/nio/channels/WritableByteChannel.java:
2401         Removed redundant modifiers.
2402
2403 2003-10-11  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/rmi/activation/ActivationInstantiator.java,
2406         java/rmi/activation/ActivationMonitor.java,
2407         java/rmi/activation/ActivationSystem.java,
2408         java/rmi/activation/Activator.java,
2409         java/rmi/dgc/DGC.java,
2410         java/rmi/registry/Registry.java,
2411         java/rmi/registry/RegistryHandler.java,
2412         java/rmi/server/LoaderHandler.java,
2413         java/rmi/server/RMIClientSocketFactory.java,
2414         java/rmi/server/RMIFailureHandler.java,
2415         java/rmi/server/RMIServerSocketFactory.java,
2416         java/rmi/server/RemoteCall.java,
2417         java/rmi/server/RemoteRef.java,
2418         java/rmi/server/ServerRef.java,
2419         java/rmi/server/Skeleton.java,
2420         java/rmi/server/Unreferenced.java:
2421         Removed redundant modifiers.
2422
2423 2003-10-11  Michael Koch  <konqueror@gmx.de>
2424
2425         * java/net/ContentHandlerFactory.java,
2426         java/net/DatagramSocketImplFactory.java,
2427         java/net/FileNameMap.java,
2428         java/net/SocketImplFactory.java,
2429         java/net/SocketOptions.java,
2430         java/net/URLStreamHandlerFactory.java:
2431         Removed redundant modifiers.
2432
2433 2003-10-11  Michael Koch  <konqueror@gmx.de>
2434
2435         * java/io/Externalizable.java,
2436         java/io/FileFilter.java,
2437         java/io/FilePermission.java,
2438         java/io/ObjectInput.java,
2439         java/io/ObjectInputValidation.java,
2440         java/io/ObjectOutput.java,
2441         java/io/ObjectStreamClass.java,
2442         java/io/ObjectStreamConstants.java,
2443         java/io/Serializable.java:
2444         Removed redundant modifiers.
2445
2446 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2447
2448         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2449         codebase and context classloader.
2450
2451 2003-10-11  Michael Koch  <konqueror@gmx.de>
2452
2453         * java/beans/beancontext/BeanContext.java,
2454         java/beans/beancontext/BeanContextChild.java,
2455         java/beans/beancontext/BeanContextChildComponentProxy.java,
2456         java/beans/beancontext/BeanContextChildSupport.java,
2457         java/beans/beancontext/BeanContextContainerProxy.java,
2458         java/beans/beancontext/BeanContextMembershipListener.java,
2459         java/beans/beancontext/BeanContextProxy.java,
2460         java/beans/beancontext/BeanContextServiceProvider.java,
2461         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2462         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2463         java/beans/beancontext/BeanContextServices.java,
2464         java/beans/beancontext/BeanContextServicesListener.java:
2465         Removed redundant modifiers.
2466
2467 2003-10-11  Michael Koch  <konqueror@gmx.de>
2468
2469         * java/beans/AppletInitializer.java,
2470         java/beans/BeanInfo.java,
2471         java/beans/Customizer.java,
2472         java/beans/DesignMode.java,
2473         java/beans/PropertyEditor.java,
2474         java/beans/Visibility.java:
2475         Removed redundant modifiers.
2476
2477 2003-10-11  Michael Koch  <konqueror@gmx.de>
2478
2479         * java/awt/print/Pageable.java,
2480         * java/awt/print/Printable.java,
2481         java/awt/print/PrinterGraphics.java:
2482         Removed redundant modifiers.
2483
2484 2003-10-11  Michael Koch  <konqueror@gmx.de>
2485
2486         * java/awt/peer/ButtonPeer.java,
2487         java/awt/peer/CheckboxMenuItemPeer.java,
2488         java/awt/peer/CheckboxPeer.java,
2489         java/awt/peer/ChoicePeer.java,
2490         java/awt/peer/ComponentPeer.java,
2491         java/awt/peer/ContainerPeer.java,
2492         java/awt/peer/DialogPeer.java,
2493         java/awt/peer/FileDialogPeer.java,
2494         java/awt/peer/FramePeer.java,
2495         java/awt/peer/LabelPeer.java,
2496         java/awt/peer/ListPeer.java,
2497         java/awt/peer/MenuBarPeer.java,
2498         java/awt/peer/MenuComponentPeer.java,
2499         java/awt/peer/MenuItemPeer.java,
2500         java/awt/peer/MenuPeer.java,
2501         java/awt/peer/PopupMenuPeer.java,
2502         java/awt/peer/RobotPeer.java,
2503         java/awt/peer/ScrollPanePeer.java,
2504         java/awt/peer/ScrollbarPeer.java,
2505         java/awt/peer/TextAreaPeer.java,
2506         java/awt/peer/TextComponentPeer.java,
2507         java/awt/peer/TextFieldPeer.java,
2508         java/awt/peer/WindowPeer.java:
2509         Removed redundant modifiers.
2510
2511 2003-10-11  Michael Koch  <konqueror@gmx.de>
2512
2513         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2514         * gnu/java/nio/ServerSocketChannelImpl.java
2515         (serverSocket): Made it a NIOServerSocket.
2516         (impl): Removed.
2517         (ServerSocketChannelImpl): Initialize only serverSocket.
2518         (initServerSocket): Removed.
2519         (getNativeFD): Rewritten.
2520         (implConfigureBlocking): Set socket timeout and removed comment.
2521         (accept): Rewritten.
2522         * gnu/java/nio/SocketChannelImpl.java
2523         (impl): New variable.
2524         (connected): Removed.
2525         (SocketChannelImpl): Initialize impl too.
2526         (getImpl): New method.
2527         (isConnected): Rewritten.
2528         (read): Rewritten, set position in buffer correctly.
2529         (write): Set position in buffer correctly.
2530         * java/net/ServerSocket.java (getImpl): New method.
2531         * gnu/java/nio/NIOServerSocket.java,
2532         gnu/java/nio/natNIOServerSocket.cc: New files.
2533         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2534         * Makefile.am
2535         (ordinary_java_source_files):
2536         Added gnu/java/nio/NIOServerSocket.java.
2537         (nat_source_files):
2538         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2539         and added gnu/java/nio/natNIOServerSocket.cc.
2540         * Makefile.in: Regenerated.
2541
2542 2003-10-11  Michael Koch  <konqueror@gmx.de>
2543
2544         * java/awt/ActiveEvent.java,
2545         java/awt/datatransfer/ClipboardOwner.java,
2546         java/awt/datatransfer/FlavorMap.java,
2547         java/awt/datatransfer/Transferable.java,
2548         java/awt/dnd/Autoscroll.java,
2549         java/awt/dnd/peer/DragSourceContextPeer.java,
2550         java/awt/dnd/peer/DropTargetContextPeer.java,
2551         java/awt/dnd/peer/DropTargetPeer.java,
2552         java/awt/font/MultipleMaster.java,
2553         java/awt/font/OpenType.java,
2554         java/awt/im/spi/InputMethodDescriptor.java,
2555         java/awt/image/ImageObserver.java,
2556         java/awt/image/ImageConsumer.java,
2557         java/awt/image/ImageProducer.java,
2558         java/awt/image/RGBImageFilter.java,
2559         java/awt/image/RasterOp.java,
2560         java/awt/image/renderable/RenderableImage.java:
2561         Removed redundant modifiers.
2562
2563 2003-10-11  Michael Koch  <konqueror@gmx.de>
2564
2565         * gnu/awt/j2d/DirectRasterGraphics.java,
2566         gnu/java/awt/EmbeddedWindowSupport.java:
2567         Removed redundant modifiers.
2568
2569 2003-10-09  Michael Koch  <konqueror@gmx.de>
2570
2571         * gnu/java/nio/SelectorImpl.java (register):
2572         Use ServerSocketChannelSelectionKey for server socket channels,
2573         removed unneeded comments.
2574         * gnu/java/nio/ServerSocketChannelImpl.java
2575         (ServerSocketChannelImpl): Made class public final.
2576         (impl): New member variable.
2577         (ServerSocketChannelImpl): Initialize member variables correctly.
2578         (initServerSocket): New method.
2579         (getNativeFD): Likewise.
2580         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2581         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2582         * Makefile.am (ordinary_java_source_files):
2583         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2584         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2585         * Makefile.in: Regenrated.
2586
2587 2003-10-09  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/nio/channels/spi/AbstractSelectableChannel.java
2590         (registered): Made private.
2591         (blocking): Likewise.
2592         (LOCK): Likewise.
2593         (provider): Likewise.
2594         (keys): Made it a private LinkedList.
2595         (AbstractSelectableChannel): Initialize keys.
2596         (isRegistered): New implementation.
2597         (locate): Rewritten.
2598         (register): Rewritten.
2599         * java/nio/channels/spi/AbstractSelectionKey.java
2600         (ok): Removed.
2601         (cancelled): New member variable.
2602         (cancel): Rewritten.
2603         (isValid): Rewritten.
2604         * java/nio/channels/spi/AbstractSelector.java:
2605         Some methods moved.
2606         (closed): Make private.
2607         (provider): Likewise.
2608         (cancelledKeys): New member variable.
2609         (AbstractSelector): Initialize cancelledKeys.
2610         (cancelKey): New method.
2611
2612 2003-10-09  Tom Tromey  <tromey@redhat.com>
2613
2614         * java/lang/ClassLoader.java (setSigners): Implemented.
2615         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2616         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2617         Initialize new fields.
2618         * java/lang/Class.java (getSigners): Now native.
2619         (setSigners): Declare.
2620         * java/lang/natClass.cc (getSigners): New method.
2621         (getSigners): Likewise.
2622         * java/lang/Class.h (Class::signers): New field.
2623         (Class::setSigners): New method.
2624
2625 2003-10-09  Michael Koch  <konqueror@gmx.de>
2626
2627         * java/rmi/server/RMIClassLoader.java:
2628         Removed unused imports, little reformatings.
2629         (getClassLoader): New method, implementation was part of old loadCLass
2630         method.
2631         (loadClass): Simplified by moving functionality to new method and
2632         reworking the code a bit.
2633         (getClassAnnotation): Merged documentation from classpath.
2634
2635 2003-10-09  Michael Koch  <konqueror@gmx.de>
2636
2637         * java/math/BigInteger.java
2638         (add): Removed unused local variable len.
2639
2640 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2641
2642         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2643         modality check.
2644         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2645         Initialize insets to use latest insets.
2646         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2647         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2648         field.
2649         (postConfigureEvent): Update latestInsets field when insets
2650         change.  Remove call to setSize.  Move validate call outside of
2651         if blocks.
2652         (setVisible): Call setBounds before showing window.
2653         (nativeSetVisible): New native method.
2654         * java/awt/Window.java (show): Show visible owned windows.
2655         (hide): Hide visible owned windows.
2656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2657         (awt_event_handler): Implement modality using GTK grabs.
2658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2659         (global_gtk_window_group): New global variable.
2660         (gtkInit): Initialize global_gtk_window_group.
2661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2662         Clamp width and height values to at least 1.  Add this window to
2663         the global GTK window group.
2664         (setVisible): Rename to nativeSetVisible.
2665         (setup_window): Remove function.
2666         (setSize): Clamp width and height values to at least 1.
2667         (nativeSetBounds): Likewise.
2668         (gdk_window_get_root_geometry): Remove function.
2669         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2670         and setup_window declarations.  Declare global_gtk_window_group.
2671
2672         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2674         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2675         (gtkWidgetSetForeground): New method.
2676         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2677         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2678         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2679         (setBackground, setForeground): Implement.
2680         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2681         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2682         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2683         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2684         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2686         Position PangoLayout relative to text's baseline.
2687         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2688
2689         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2690         for CENTER and RIGHT alignments.
2691
2692 2003-10-08  Michael Koch  <konqueror@gmx.de>
2693
2694         * java/security/Security.java: Reformated.
2695
2696 2003-10-08  Michael Koch  <konqueror@gmx.de>
2697
2698         * java/text/SimpleDateFormat.java
2699         (compileFormat): Replace Character.isLetter() test with
2700         Character.isLowerCase() || Character.isUpperCase().
2701
2702 2003-10-08  Tom Tromey  <tromey@redhat.com>
2703
2704         * java/lang/StrictMath.java (toDegrees): Multiply before
2705         dividing.
2706         (toRadians): Likewise.
2707
2708 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2709
2710         * java/lang/Math.java
2711         (toRadians): multiply before dividing to reduce decimal error
2712         (toDegrees): ditto
2713
2714 2003-10-08  Michael Koch  <konqueror@gmx.de>
2715
2716         * gnu/gcj/protocol/core/Connection.java,
2717         gnu/gcj/protocol/core/CoreInputStream.java,
2718         gnu/gcj/protocol/core/Handler.java,
2719         gnu/gcj/protocol/core/natCoreInputStream.cc,
2720         gnu/gcj/protocol/file/Connection.java,
2721         gnu/gcj/protocol/file/Handler.java,
2722         gnu/gcj/protocol/gcjlib/Connection.java,
2723         gnu/gcj/protocol/gcjlib/Handler.java,
2724         gnu/gcj/protocol/http/Connection.java,
2725         gnu/gcj/protocol/http/Handler.java,
2726         gnu/gcj/protocol/jar/Connection.java,
2727         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2728         * gnu/java/net/protocol/core/Connection.java,
2729         gnu/java/net/protocol/core/CoreInputStream.java,
2730         gnu/java/net/protocol/core/Handler.java,
2731         gnu/java/net/protocol/core/natCoreInputStream.cc,
2732         gnu/java/net/protocol/file/Connection.java,
2733         gnu/java/net/protocol/file/Handler.java,
2734         gnu/java/net/protocol/gcjlib/Connection.java,
2735         gnu/java/net/protocol/gcjlib/Handler.java,
2736         gnu/java/net/protocol/http/Connection.java,
2737         gnu/java/net/protocol/http/Handler.java,
2738         gnu/java/net/protocol/jar/Connection.java,
2739         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2740         * gnu/gcj/runtime/FirstThread.java,
2741         java/net/URL.java: Use moved protocol handlers.
2742         * Makefile.am
2743         (ordinary_java_source_files): Moved files.
2744         (nat_source_files): Likewise.
2745         * Makefile.in: Regenerated.
2746
2747 2003-10-08  Michael Koch  <konqueror@gmx.de>
2748
2749         * gnu/java/nio/SocketChannelImpl.java
2750         (read): Write only read data to buffer.
2751
2752 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2753
2754         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2755         out.
2756         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2757         (JCL_free): Attach "unused" attribute to env parameter.
2758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2759         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2760         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2761         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2762         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2763         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2764         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2765         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2767         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2768         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2769         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2770         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2771         parameters.
2772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2773         (initNativeState): Pass 0 as info argument to
2774         gtk_selection_add_target.
2775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2776         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2777         unused method implementations.
2778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2779         (awt_event_handler): Add break statement after default label.
2780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2781         (drawPixels): Remove unused variable i.
2782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2783         (setEnabled): Remove method implementation.
2784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2785         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2786         argument.
2787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2788         unused function.
2789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2790         (menu_pos): Assign TRUE to push_in.
2791         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2792         argument.
2793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2794         (create): Remove unused variable layout.
2795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2796         Pass window_widget, rather than window, to
2797         gtk_widget_set_size_request.
2798         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2799         structure initialization with NULL values.
2800         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2801
2802 2003-10-08  Michael Koch  <konqueror@gmx.de>
2803
2804         * java/util/LinkedList.java:
2805         Removed whitespace to match classpath's version again.
2806
2807 2003-10-08  Michael Koch  <konqueror@gmx.de>
2808
2809         * java/util/prefs/Preferences.java
2810         (defaultFactoryClass): Fixed class name.
2811         (getFactory): Create instance of class returned by Class.forName(),
2812         reformated code.
2813
2814 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2815
2816         * javax/swing/table/AbstractTableModel.java
2817         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2818         helped stop pulling my hair on this +1 then -1 tricky thing!
2819
2820 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2821
2822         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2823         Remove unused parameters.
2824         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2825         Likewise.
2826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2827         (keyevent_state_to_awt_mods): Export function.
2828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2829         (getCaretPosition): Fix TextArea case.
2830         (textcomponent_commit_cb): Get exact event time and modifier
2831         state.
2832         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2833
2834 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2835
2836         * java/net/InetSocketAddress.java
2837         (InetSocketAddress): Made exception more clear.
2838         (equals): Handle case when addr is null.
2839         (toString): Likewise.
2840         * java/net/NetworkInterface.java
2841         (static): Load native library.
2842         (getNetworkInterfaces): Rewritten.
2843
2844 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2845
2846         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2847         field.
2848         (initializeInsets): New method.
2849         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2850         setBounds unconditionally.
2851         (setBounds): Convert coordinates if parent is a Window.
2852         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2853         field to GtkComponentPeer.
2854         (GtkContainerPeer): Don't initialize insets.
2855         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2856         New method.
2857         (create): Call new GtkWindowPeer create method.
2858         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2859         New method.
2860         (create): Call new GtkWindowPeer create method.
2861         (setBounds): Remove method.
2862         (postConfigureEvent): Likewise.
2863         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2864         type constants with GDK window type constants.
2865         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2866         (create(int,boolean)): Likewise.
2867         (create()): Call create(int,boolean).
2868         (nativeSetBounds): New native method declaration.
2869         (setBounds): Call native method declaration.
2870         (setSize): New native method declaration.
2871         (setBoundsCallback): Likewise.
2872         (postConfigureEvent): Handle change in insets.  Call setSize and
2873         setBoundsCallback methods.
2874         * java/awt/Window.java (Window): Set visible to false.
2875         (setBoundsCallback): New method.
2876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2877         (gtkWidgetGetLocationOnScreen): If this component is not a
2878         container, adjust the location returned based on the peer's
2879         allocation.
2880         (set(String,boolean)): Revert change from 2003-09-19.
2881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2882         (awt_event_handler): Fix inset calculation.
2883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2884         glue for Window.setBoundsCallback.
2885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2886         Set up stacking order, window decorations and window manager
2887         hints.
2888         (setBoundsCallback): New method.
2889         (setSize): New method.
2890         (nativeSetBounds): New method.
2891         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2892
2893 2003-10-02  Tom Tromey  <tromey@redhat.com>
2894
2895         * java/lang/VMClassLoader.java (loadClass): Now native.
2896         * java/lang/natClassLoader.cc (loadClass): Implement.
2897         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2898
2899 2003-10-02  Michael Koch  <konqueror@gmx.de>
2900
2901         * java/net/InetAddress.java
2902         (zeros): Removed.
2903         (ANY_IF): Initalizie in static block.
2904         (static): Load library with native methods here and initialize ANY_IF.
2905         (isAnyLocalAddress): Check if equal to ANY_IF.
2906         (equals): Use addr directly instead of addr1. Simplify for loop.
2907         (toString): Rename "result" to "host" and add IP address allways.
2908         (getLocalHost): Merged documentation from classpath.
2909         * java/net/ServerSocket.java
2910         (ServerSocket): New package-private constructor used by java.nio.
2911         * java/net/URLConnection.java
2912         (getRequestProperties): Check if already connected.
2913
2914 2003-10-02  Michael Koch  <konqueror@gmx.de>
2915
2916         * java/nio/ByteBufferHelper.java:
2917         Rewrote all methods by suggestions from Eric Blake.
2918
2919 2003-10-02  Michael Koch  <konqueror@gmx.de>
2920
2921         * java/net/URL.java
2922         (DEFAULT_SEARCH_PATH): New static variable.
2923         (ph_cache): Made it a HashMap.
2924         (getURLStreamHandler): Rename propVal to ph_search_path and use
2925         DEFAULT_SEARCH_PATH.
2926
2927 2003-10-02  Michael Koch  <konqueror@gmx.de>
2928
2929         * javax/swing/table/AbstractTableModel.java
2930         (findColumnName): Prevent from NullPointerException if argument
2931         columnName is null.
2932
2933 2003-10-02  Michael Koch  <konqueror@gmx.de>
2934
2935         * javax/swing/table/AbstractTableModel.java:
2936         This patch is based on a patch done by Arnaud Vandyck
2937         <arnaud.vandyck@ulg.ac.be>.
2938         (getColumnName): Fixed method documentation.
2939         (findColumn): Likewise.
2940         (getColumnClass): Likewise.
2941         (isCellEditable): Likewise.
2942         (setValueAt): Likewise.
2943         (addTableModelListener): Likewise.
2944         (removeTableModelListener): Likewise.
2945         (getTableModelListeners): New method.
2946
2947 2003-10-02  Michael Koch  <konqueror@gmx.de>
2948
2949         * javax/swing/table/AbstractTableModel.java:
2950         Reformated.
2951
2952 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2953
2954         Fix PR libgcj/12475
2955         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2956         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2957
2958 2003-10-01  Tom Tromey  <tromey@redhat.com>
2959
2960         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2961
2962 2003-10-01  Andrew Haley  <aph@redhat.com>
2963
2964         * java/lang/natClass.cc (initializeClass): Check for otable and
2965         atable.
2966         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2967         loops using for().  Search superinterfaces.  Check for fields as
2968         well as methods.  Initialize atable as well as otable: check for
2969         static methods as well as virtual methods.
2970         * java/lang/Class.h (struct _Jv_AddressTable): New.
2971         (atable): New.
2972         (atable_syms): New.
2973         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2974         * prims.cc (_Jv_equalUtf8Consts): constify.
2975
2976 2003-09-29  Tom Tromey  <tromey@redhat.com>
2977
2978         PR libgcj/10596:
2979         * include/jvm.h (_Jv_FinalizeString,
2980         _Jv_RegisterStringFinalizer): Declare.
2981         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2982         unintern.
2983         (intern): Updated.
2984         (_Jv_NewStringUtf8Const): Likewise.
2985         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2986         Add special case when finalizing a String.
2987         (in_hash): New function.
2988         (_Jv_RegisterStringFinalizer): Likewise.
2989         (maybe_add_finalize): Likewise.
2990
2991 2003-09-29  Michael Koch  <konqueror@gmx.de>
2992
2993         * java/net/InetAddress.java:
2994         (isMulticastAddress): Dont use local variable to store address length.
2995         Let the compiler optimize this.
2996         (getHostName): Merged dcoumentation from classpath.
2997         (getAddress): Likewise.
2998         (getHostAddress): Likewise.
2999         (hashCode): Likewise.
3000         (equals): Likewise.
3001         (toString): Likewise.
3002         (getByName): Likewise.
3003         (getAllByName): Likewise.
3004
3005 2003-09-29  Michael Koch  <konqueror@gmx.de>
3006
3007         * java/awt/image/IndexColorModel.java: Reformated.
3008
3009 2003-09-29  Michael Koch  <konqueror@gmx.de>
3010
3011         * java/net/InetAddress.java,
3012         java/net/URL.java: Reformated.
3013
3014 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
3015
3016         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
3017         significant bit of descriptor. Include the vtable and sync_info 
3018         fields.
3019
3020 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3021
3022         * java/text/DateFormat.java (format): Throw IllegalArgumentException
3023         if `obj' is not a Number or Date instance.
3024         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3025         instead of Vector.
3026
3027 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3028
3029         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3030         Don't call setTimeZone on calendar.
3031
3032 2003-09-27  Michael Koch  <konqueror@gmx.de>
3033
3034         * java/net/URL.java (getURLStreamHandler): Compile fixes.
3035
3036 2003-09-27  Michael Koch  <konqueror@gmx.de>
3037
3038         * java/net/URL.java (getURLStreamHandler):
3039         Check if we have to use cache before trying to retrieve handler from
3040         cache. Rename facName to clsName to match classpath more. Reformated
3041         some little pieces.
3042
3043 2003-09-27  Michael Koch  <konqueror@gmx.de>
3044
3045         * gnu/java/nio/SelectionKeyImpl.java
3046         (ch): Make package-private again. Jikes found this bug.
3047         Jeff Sturm submitted PR12426 for this to bugzilla
3048         to fix this bug in gcj.
3049
3050 2003-09-26  Michael Koch  <konqueror@gmx.de>
3051
3052         * java/rmi/server/RMIClassLoader.java:
3053         Reformatted file, no functional code changes.
3054
3055 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
3056
3057         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
3058         Save space for some pixels at the buffer end.  Added Javadoc.
3059
3060 2003-09-26  Tom Tromey  <tromey@redhat.com>
3061
3062         * java/io/ObjectOutputStream.java (writeFields): Fixed
3063         indentation.
3064         (putFields): Likewise.
3065
3066 2003-09-26  Michael Koch  <konqueror@gmx.de>
3067
3068         * java/nio/ByteBufferHelper.java:
3069         Totally reworked with help from Eric Blake.
3070
3071 2003-09-26  Tom Tromey  <tromey@redhat.com>
3072
3073         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3074         * java/awt/geom/PathIterator.java: Documentation fixes.
3075
3076 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3077
3078         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3079         (select): Likewise.
3080         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3081
3082 2003-09-25  Michael Koch  <konqueror@gmx.de>
3083
3084         * gnu/java/nio/DatagramChannelImpl.java
3085         (getNativeFD): New method.
3086         * gnu/java/nio/SelectionKeyImpl.java
3087         (SelectionKeyImpl): Class made abstract.
3088         (fd): Removed.
3089         (SelectionKeyImpl): Remove fd argument.
3090         (getNativeFD): New method.
3091         * gnu/java/nio/SocketChannelImpl.java
3092         (getNativeFD): New method.
3093         gnu/java/nio/DatagramChannelSelectionKey.java,
3094         * gnu/java/nio/SocketChannelSelectionKey.java:
3095         New files.
3096         * Makefile.am (ordinary_java_source_files):
3097         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3098         gnu/java/nio/SocketChannelSelectionKey.java.
3099         * Makefile.in: Regenerated.
3100
3101 2003-09-25  Michael Koch  <konqueror@gmx.de>
3102
3103         * java/lang/reflect/Proxy.java
3104         (getProxyClass): Remove workaround for gcj 3.0.x.
3105
3106 2003-09-25  Michael Koch  <konqueror@gmx.de>
3107
3108         * gnu/java/net/PlainDatagramSocketImpl.java
3109         (finalize): Moved to directly after constructor.
3110         (getNativeFD): New method.
3111         * gnu/java/net/PlainSocketImpl.java
3112         (getNativeFD): New method.
3113
3114 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3115
3116         * java/io/ObjectOutputStream.java:
3117         Allow putFields be called more than once.
3118
3119 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3120
3121         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3122         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3123         * java/awt/image/BufferedImage.java (toString): Implement.
3124
3125 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
3126
3127         * aclocal.m4: Rebuilt.
3128         * configure: Rebuilt.
3129
3130 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3131
3132         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3133         field.
3134
3135 2003-09-25  Michael Koch  <konqueror@gmx.de>
3136
3137         * gnu/java/nio/SelectorImpl.java
3138         (implSelect): Renamed from java_do_select.
3139         (select): Call native implSelect() and add support for Thread
3140         interruption.
3141         * gnu/java/nio/natSelectorImpl.cc
3142         (implSelect): Renamed from java_do_select.
3143
3144 2003-09-25  Michael Koch  <konqueror@gmx.de>
3145
3146         * gnu/java/nio/SelectorImpl.java
3147         (selectNow): Made final, throws IOException.
3148         (select): Likewise.
3149         (getFDsAsArray): Made final.
3150         (selectedKeys): Likewise.
3151         (wakeup): Likewise.
3152         (deregisterCancelledKeys): Likewise.
3153         (register): Likewise.
3154         (ass): Removed.
3155         (add_selected): Removed.
3156         * gnu/java/nio/natSelectorImpl.cc:
3157         No need to include bstring.h or gcj/cni.h.
3158         (helper_put_filedescriptors): Rewritten.
3159         (helper_get_filedescriptors): Rewritten.
3160
3161 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
3162
3163         * java/awt/font/FontRenderContext.java (getTransform): Return
3164         copy of internal transform object. Add Javadoc.
3165         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3166         winding rule as Sun J2SE.
3167         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3168
3169 2003-09-25  Ingo Proetel  <proetel@aicas.com>
3170
3171         * java/rmi/Naming.java:
3172         Added comments, now accepts pseudo protocol "rmi".
3173
3174 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
3175
3176         * java/text/DecimalFormat.java (format): Don't immediatly round
3177         baseNumber to long.
3178         (setMinimumIntegerDigits): Call super.
3179         (setMinimumFractionDigits): Likewise.
3180         (setMaximumIntegerDigits): Likewise.
3181         (setMaximumFractionDigits): Likewise.
3182
3183 2003-09-25  Michael Koch  <konqueror@gmx.de>
3184
3185         * gnu/java/nio/DatagramChannelImpl.java
3186         (DatagramChannelImpl): Made class final.
3187         (blocking): Made private.
3188         (socket): Made it a NIODatagramSocket and private.
3189         (DatagramChannelImpl): create NIODatagramSocket instead of
3190         DatagramSocket.
3191         (implConfigureBlocking): Set socket timeout.
3192         (connect): Check that channel is not closed.
3193         (write): Implemented.
3194         (write): Rewritten.
3195         (read): Implemented.
3196         (read): Rewritten.
3197         (receive): Implemented.
3198         (send): Implemented.
3199         * gnu/java/nio/SelectionKeyImpl.java
3200         (readyOps): Made private.
3201         (interestOps): Made private.
3202         (impl): Made private.
3203         (ch): Made private.
3204         (readyOps): Check if selection key is valid.
3205         (interestOps): Likewise.
3206         * gnu/java/nio/SelectorImpl.java
3207         (closed): Removed.
3208         (keys): Made private.
3209         (selected): Made private.
3210         (finalize): New method.
3211         (implCloseSelector): Rewritten.
3212         (keys): Return unmodifiable Set.
3213         (deregisterCancelledKeys): Fixed typo in method name.
3214         * gnu/java/nio/SocketChannelImpl.java
3215         (SocketChannelImpl): Made class final.
3216         (socket): Made it a NIOSocket and private.
3217         (blocking): Made private.
3218         (connected): Made private.
3219         (connectionPending): New member variable.
3220         (SocketChannelImpl): New implementation.
3221         (finalizer): Use isConnected().
3222         (connect): Rewritten.
3223         (finishConnect): Throws IOException, implemented.
3224         (isConnectionPending): Return connectionPending.
3225         (read): Rewritten.
3226         (write): Rewritten.
3227         * gnu/java/nio/NIOConstants.java: New file.
3228         * Makefile.am (ordinary_java_source_files):
3229         Added gnu/java/nio/NIOConstants.java.
3230         * Makefile.in: Regenerated.
3231
3232 2003-09-25  Michael Koch  <konqueror@gmx.de>
3233
3234         * java/net/InetAddress.java:
3235         Reorder imports, remove implementation comment.
3236         (isMulticastAddress): Merged documentation from classpath.
3237         * java/net/URLConnection.java
3238         (setRequestProperty): Check key for null, fix documentation.
3239         (adREquestProperty): Check key for null, remove wrong implementation
3240         and replace it with comment to overwrite this method in subclasses,
3241         fix documentation.
3242
3243 2003-09-25  Tom Tromey  <tromey@redhat.com>
3244
3245         * java/lang/reflect/Proxy.java (generate): Uncomment protection
3246         domain code.
3247         * java/lang/natClassLoader.cc (defineClass): Added `loader'
3248         argument.
3249         (linkClass0): Now in VMClassLoader.
3250         (markClassErrorState0): Likewise.
3251         (getSystemClassLoaderInternal): New method.
3252         * java/lang/natClass.cc (initializeClass): Use
3253         VMClassLoader::resolveClass.
3254         * java/lang/ClassLoader.java: New version, from Classpath.
3255         * java/lang/Class.java (getProtectionDomain):
3256         protectionDomainPermission and unknownProtectionDomain now in
3257         VMClassLoader.
3258         * java/lang/Class.h: VMClassLoader now a friend class.
3259         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3260         package-private.
3261         * gcj/javaprims.h: Regenerated class list.
3262         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3263         * java/lang/VMClassLoader.java: New version from Classpath;
3264         modified for libgcj use.
3265
3266 2003-09-25  Michael Koch  <konqueror@gmx.de>
3267
3268         * java/nio/ByteBufferHelper.java:
3269         New file.
3270         * java/nio/ByteBufferImpl.java,
3271         java/nio/DirectByteBufferImpl.java,
3272         java/nio/MappedByteBufferImpl.java
3273         (getType,putType): Use new helper class ByteBufferHelper.
3274         * Makefile.am (ordinary_java_source_files):
3275         Added java/nio/ByteBufferHelper.java.
3276         * Makefile.in: Regenerated.
3277
3278 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3279
3280         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3281         PR libgcj/12388.
3282
3283 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3284
3285         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3286         Strings, even if buffer is already shared.
3287
3288 2003-09-24  Michael Koch  <konqueror@gmx.de>
3289
3290         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3291
3292 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
3293
3294         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3295         (write): Likewise.
3296         (SocketInputStream): Declare `read' and `write' methods native.
3297         Remove implementations which called back into PlainSocketImpl.
3298         Remove unneccessary overridden methods.
3299         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
3300         to inner class PlainSocketImpl.SocketInputStream.
3301         (write): Likewise.
3302         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3303         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3304         * gnu/java/net/SocketInputStream.java: Remove unused file.
3305         * gnu/java/net/SocketOutputStream.java: Likewise.
3306         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3307         and SocketOutputStream.
3308         * Makefile.in: Rebuilt.
3309
3310 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3311
3312         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3313
3314         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3315         markers.
3316
3317 2003-09-22  Anthony Green  <green@redhat.com>
3318
3319         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3320         * configure: Rebuilt.
3321
3322 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
3323
3324         PR java/12350:
3325         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3326
3327 2003-09-22  Michael Koch  <konqueror@gmx.de>
3328
3329         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3330         compiler warning but produces a different one now.
3331
3332 2003-09-22  Michael Koch  <konqueror@gmx.de>
3333
3334         * java/net/InetAddress.java:
3335         Moves around some code, reformats and adds documentation.
3336         No functional changes.
3337
3338 2003-09-22  Michael Koch  <konqueror@gmx.de>
3339
3340         * java/net/JarURLConnection.java
3341         (JarURLConnection): Modifed code to match classpath more, fixed comment.
3342         (getCertificates): Made it more error prone.
3343         (getMainAttributes): Likewise.
3344         (getAttributes): Implemented.
3345         (getManifest): Reformatted code.
3346
3347 2003-09-20  Tom Tromey  <tromey@redhat.com>
3348
3349         * java/awt/Component.java: Indentation cleanup from Classpath.
3350
3351 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
3352
3353        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3354        checking to follow 1.4.2 spec.
3355
3356 2003-08-11  Ingo Proetel  <proetel@aicas.com>
3357
3358         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
3359         is compatible in case client and server are running in the same VM
3360         (remerged from Classpath on 2003-09-20)
3361
3362 2003-09-19  David Daney <ddaney@avtrex.com>
3363
3364         * java/lang/ref/Reference.java (clear): Set referent to null and
3365         synchronize.
3366
3367 2003-09-19  Michael Koch  <konqueror@gmx.de>
3368
3369         * gnu/java/nio/NIODatagramSocket.java,
3370         gnu/java/nio/NIOSocket.java: New files.
3371         * Makefile.am (ordinary_java_source_files):
3372         Added gnu/java/nio/NIODatagramSocket.java and
3373         gnu/java/nio/NIOSocket.java.
3374         * Makefile.in: Regenerated.
3375
3376 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3377
3378         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3379         top-level GTK window.
3380         (getArgs): Add "title" property.
3381         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3382         "allow_shrink" and "allow_grow" properties.
3383         * java/awt/Dialog.java: Initialize resizable to true and change
3384         comments accordingly.  Initialize visible to false in
3385         constructors.
3386         * java/awt/Frame.java (dispose): Remove method.
3387         * java/awt/Window.java (ownedWindows): New field.
3388         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3389         owner's ownedWindows vector.
3390         (finalize): Remove method.
3391         (hide): Hide owned windows.
3392         (dispose): Dispose of owned windows.
3393         (getOwnedWindows): Implement.
3394         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3395         unused GtkArg code.
3396         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3397         to TRUE or FALSE.
3398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3399         (create): Set window's size requisition.
3400         (connectHooks): Fix indentation.
3401         (setResizable): Remove function.
3402         (static setBounds): Likewise.
3403         (setBounds): Replace call to setBounds with GTK size requisition
3404         and resize calls.
3405
3406 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3407
3408         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3409         function for lazy initialization of an auto-reset event.
3410         (_Jv_CondWait) Added thread interrupt support.
3411         (_Jv_ThreadInitData) Added initialization of interrupt support
3412         members.
3413         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3414         (_Jv_ThreadStart) Removed unused code.
3415         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3416         to an external caller.
3417         (_Jv_ThreadInterrupt) Implemented.
3418         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3419         event for interrupt support as well as a mutex which regulates
3420         access to this.
3421         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3422         event to an external caller.
3423         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3424         process.
3425         (waitFor) Added interrupt support.
3426
3427 2003-09-19  Michael Koch  <konqueror@gmx.de>
3428
3429         * java/net/DatagramSocket.java (getLocalAddress):
3430         Renamed result variable to localAddr.
3431         * java/net/MulticastSocket.java:
3432         No need to import gnu.java.net.PlainDatagramSocketImpl.
3433
3434 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3435
3436         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3437         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3438
3439 2003-09-18  Tom Tromey  <tromey@redhat.com>
3440
3441         * javax/naming/InitialContext.java: Reindented.
3442
3443 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3444             Helmer Kraemer <hkraemer@freenet.de>
3445
3446         * javax/naming/spi/NamingManager.java (getURLContext,
3447         getObjectInstance, getStateToBind): Always use current thread's
3448         context class loader when calling Class.forName.
3449
3450 2003-09-18  Michael Koch  <konqueror@gmx.de>
3451
3452         * java/util/Timer.java (finalize): Added "throws Throwable".
3453
3454 2003-09-18  Michael Koch  <konqueror@gmx.de>
3455
3456         * java/net/DatagramSocket.java
3457         (ch): Removed.
3458         (receive): Use getChannel() instead of ch.
3459         (send): Likewise.
3460         (getChannel): Return null.
3461         * java/net/ServerSocket.java
3462         (ch): Removed.
3463         (setChannel): Removed.
3464         (implAccept): Use getChannel() instead of ch.
3465         (close): Likewise.
3466         (getChannel): Return null.
3467         * java/net/Socket.java
3468         (ch): Removed.
3469         (connect): Use getChannel() instead of ch.
3470         (setChannel): Removed.
3471         (getChannel): Return null.
3472
3473 2003-09-18  Mark Wielaard  <mark@klomp.org>
3474
3475         Reported by Guilhem Lavaux and Julian Dolby
3476         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3477         field "serialPersistentFields", not "getSerialPersistentFields".
3478
3479 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3480
3481         * java/util/TimeZone.java: Initialize lazily.
3482         * java/util/Locale.java (readManifest): Fix check for country.
3483         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3484         traceable 
3485         * java/util/Calendar.java: Make use of ResourceBundle better
3486         traceable.
3487
3488 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3489
3490         * java/sql/Timestamp.java
3491         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3492
3493 2003-09-18  David P Grove  <groved@us.ibm.com>
3494
3495         * java/io/LineNumberReader (read): Don't reset pos & limit when
3496         markPos is 0.
3497
3498 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3499
3500         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3501         constant.
3502         (computeArguments): use computeTypicalArguments.
3503
3504         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3505         Compile_jikes.java and RMICException.java.
3506         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3507         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3508         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3509  
3510         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3511  
3512         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3513         (computeTypicalArguments): New method.
3514         (compile): Print compiler output to System.out. Collect compiler
3515         error output and use it in exception message.
3516  
3517         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3518         (destination): Initialize to null.
3519         (run): Replace file separator with '.' when processing class.
3520         (processClass): Replace '.' with file separator when compiling
3521         classes.
3522         (findClass): Use SystemClassLoader to load class.
3523         (generateStub): Use full class name for generated stub, that puts
3524         it in right path.  Replace '.' with file separator when generating
3525         stub file name. Write just the stub class name without package
3526         information as class name, and constructor name. Write only
3527         interface names for interfaces extending java.rmi.Remote as
3528         implemented.
3529         (generateSkel): Use full class name for generated skel, that puts
3530         it in right path.  Replace '.' with file separator when generating
3531         stub file name. Write just the stub class name without package
3532         information as class name.
3533
3534 2003-09-18  Michael Koch  <konqueror@gmx.de>
3535
3536         * Makefile.am (rmi_java_source_files):
3537         Added gnu/java/rmi/rmic/Compile_kjc.java,
3538         gnu/java/rmi/rmic/Compile_jikes.java and
3539         gnu/java/rmi/rmic/RMICException.java
3540         * Makefile.in: Regenerated.
3541
3542 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3543
3544         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3545         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3546         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3547         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3548         New files.
3549
3550 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3551
3552         * java/awt/BufferedImage.java (setData): Support non-component
3553         sample models.
3554         (getData): Same.
3555
3556 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3557
3558         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3559         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3560
3561 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3562
3563         * configure.in: Standardized help text case of
3564         --enable-hash-synchronization
3565         New configure switch --enable-libgcj-multifile and corresponding
3566         automake conditional ONESTEP.
3567         * configure: Rebuilt.
3568         * Makefile.am: Use automake conditional ONESTEP to determine
3569         whether classfiles should be compiled individually or all
3570         at once.
3571         * Makefile.in: Rebuilt.
3572
3573 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3574
3575         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3576         Remove method declaration.
3577         (create()): Call native create.
3578         (create(int)): New method.
3579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3580         (create): Add window_id parameter.  Call gtk_plug_new with
3581         window_id parameter.
3582         (construct): Remove method implementation.
3583
3584 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3585
3586         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3587         (mostlyclean-local): New target patterned after clean-local
3588         which recursively deletes all libtool objects using 'libtool rm'.
3589         (clean-local): Slightly modified comment to alleviate monotony.
3590         (distclean-local): New target patterned after clean-local
3591         which recursively deletes all .d files.
3592         * Makefile.in: Rebuilt.
3593
3594 2003-09-11  Tom Tromey  <tromey@redhat.com>
3595
3596         * java/net/URLStreamHandler.java (parseURL): If original file
3597         ends with "/", so must canonical result.
3598         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3599         with nul-termination and finding previous "/".
3600
3601 2003-09-11  Michael Koch  <konqueror@gmx.de>
3602
3603         * acconfig.h: Removed most items.
3604         * configure.in: Added descriptions to AC_DEFINE macros that where in
3605         acconfig.h before.
3606         * include/config.h.in: Regenerated.
3607
3608 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3609
3610         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3611         if one is installed. Improve Javadoc.
3612         (getSystemEventQueueImpl): Improve Javadoc.
3613
3614 2003-09-11  Tom Tromey  <tromey@redhat.com>
3615
3616         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3617         file does not exist.
3618
3619 2003-09-10  Anthony Green  <green@redhat.com>
3620
3621         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3622         Specify full name when referencing ::java::net::InetAddress.
3623         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3624         Fix argument type.
3625
3626 2003-09-10  Michael Koch  <konqueror@gmx.de>
3627
3628         * acconfig.h (__NO_MATH_INLINES): Removed.
3629         * configure.in: Removed check for g++ math inlining bug from 2000.
3630         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3631         libgcj_cxxflags.
3632         * configure: Regenerated.
3633
3634 2003-09-10  David Daney <ddaney@avtrex.com>
3635
3636         * java/util/Arrays.java (equals(all variants)): Quit using
3637         NullPointerException catching to detect null valued parameters.
3638
3639 2003-09-10  Michael Koch  <konqueror@gmx.de>
3640
3641         * java/net/DatagramSocket.java,
3642         java/net/MulticastSocket.java,
3643         java/net/ServerSocket.java,
3644         java/net/Socket.java:
3645         Use gnu.java.net.Plain*SocketImpl instead of
3646         java.net.PlainSocketImpl.
3647         * java/net/PlainDatagramSocketImpl.java,
3648         java/net/PlainSocketImpl.java,
3649         java/net/SocketInputStream.java,
3650         java/net/SocketOutputStream.java,
3651         java/net/natPlainDatagramSocketImplNoNet.cc,
3652         java/net/natPlainDatagramSocketImplPosix.cc,
3653         java/net/natPlainDatagramSocketImplWin32.cc,
3654         java/net/natPlainSocketImplNoNet.cc,
3655         java/net/natPlainSocketImplPosix.cc,
3656         java/net/natPlainSocketImplWin32.cc:
3657         Removed.
3658         * gnu/java/net/PlainDatagramSocketImpl.java,
3659         gnu/java/net/PlainSocketImpl.java,
3660         gnu/java/net/SocketInputStream.java,
3661         gnu/java/net/SocketOutputStream.java,
3662         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3663         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3664         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3665         gnu/java/net/natPlainSocketImplNoNet.cc,
3666         gnu/java/net/natPlainSocketImplPosix.cc,
3667         gnu/java/net/natPlainSocketImplWin32.cc:
3668         New files (moved from java/net).
3669         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3670         instead of java/net/natPlain*SocketImpl.cc.
3671         * configure: Regenerated.
3672         * Makefile.am: Moved files from java/net to gnu/java/net.
3673         * Makefile.in: Regenerated.
3674
3675 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3676
3677         * configure: Regenerate.
3678
3679 2003-09-04  Tom Tromey  <tromey@redhat.com>
3680
3681         * configure.host: Removed erroneous comment.
3682
3683         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3684         lvalue cast; use correct rvalue cast.
3685
3686 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3687
3688         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3689         and height arguments to GtkWindowPeer.create method call.
3690         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3691         (create(int,int,int)): New method.
3692         (create(int)): Add call to new create method.
3693         (create()): Add width and height arguments to create method
3694         call.
3695         (GtkWindowPeer): Remove call to setBounds.
3696         * java/awt/Frame.java (Frame(String)): Initialize visible field
3697         to false.
3698         (Frame(GraphicsConfiguration)): Likewise.
3699         (Frame(String,GraphicsConfiguration)): Likewise.
3700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3701         Add width and height parameters.  Call
3702         gtk_window_set_default_size.
3703         (connectHooks): Remove unused name variable.
3704         (static setBounds): Call gtk_window_resize not
3705         gtk_widget_set_usize.
3706         (setBounds): Remove unused nchildren variable.
3707
3708 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3709
3710         * java/util/logging/Logger.java: provide class and method information
3711         * java/util/logging/LogManager.java: create handlers
3712         * java/util/logging/SimpleFormatter.java: print souceClassName and
3713         sourceMethodName
3714
3715 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3716
3717         * win32.cc: fixed tab, indentation and whitespace
3718         inconsistencies
3719         removed jvm.h include
3720         added includes java/lang/UnsupportedOperationException.h,
3721         java/io/IOException.h, java/net/SocketException.h
3722         (WSAEventWrapper): class implementation
3723         (_Jv_WinStrError): implemented both overloads
3724         (_Jv_ThrowIOException): implemented both overloads
3725         (_Jv_ThrowSocketException): implemented both overloads
3726         (_Jv_select): implemented
3727         * include/win32.h: fixed tab, indentation and whitespace
3728         inconsistencies
3729         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3730         added jvm.h include
3731         (WSAEventWrapper): added class declaration
3732         (_Jv_WinStrError): added both overload declarations
3733         (_Jv_ThrowIOException): added both overload declarations
3734         (_Jv_ThrowSocketException): added both overload declarations
3735         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3736         (_Jv_select): added declaration
3737         (_Jv_socket): removed
3738         (_Jv_connect): removed
3739         (_Jv_close): removed
3740         (_Jv_bind): removed
3741         (_Jv_accept): removed
3742         (_Jv_listen): removed
3743         (_Jv_write): removed
3744         (_Jv_read): removed
3745         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3746         whitespace inconsistencies
3747         replaced <windows.h> #include with <platform.h>
3748         removed jvm.h include
3749         (testCanUseGetHandleInfo): new function which tests whether Win32
3750         GetHandleInformation() call can be used with console buffer handles
3751         (only supported on >=WinNT 5.0)
3752         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3753         (valid): rewrote implementation using GetHandleInformation()
3754         (sync):         changed exception throwing to use error string and exception
3755         helper methods declared in include/win32.h
3756         (open): likewise
3757         (write): likewise
3758         (setLength): likewise
3759         (close): likewise
3760         (seek): likewise
3761         (getFilePointer): likewise
3762         (read): likewise
3763         * java/io/natFileWin32.cc: fixed tab, indentation and
3764         whitespace inconsistencies
3765         replaced <windows.h> #include with <platform.h>
3766         removed jvm.h include
3767         (_access): use JV_TEMP_UTF_STRING
3768         (_stat): likewise
3769         (performMkDir): use JV_TEMP_UTF_STRING
3770         (performRenameTo): likewise
3771         (performDelete): likewise
3772         (performCreate): likewise
3773         (performSetReadOnly): likewise
3774         (performSetLastModified): likewise
3775         * java/lang/natWin32Process.cc: fixed tab, indentation and
3776         whitespace inconsistencies
3777         replaced <windows.h> #include with <platform.h>
3778         removed includes gcj/cni.h, jvm.h
3779         (new_string): removed
3780         (startProcess): use JV_TEMP_UTF_STRING,
3781         changed exception throwing to use error string and exception
3782         helper methods declared in include/win32.h
3783         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3784         whitespace inconsistencies
3785         replaced <windows.h> #include with <platform.h>
3786         removed jvm.h include
3787         removed DISABLE_JAVA_NET conditional code
3788         removed POSIX conditional code not relevant to Win32
3789         (aton): use JV_TEMP_UTF_STRING
3790         removed POSIX conditional code not relevant to Win32
3791         (lookup): likewise
3792         (getLocalHostName): likewise
3793         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3794         whitespace inconsistencies
3795         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3796         removed DISABLE_JAVA_NET conditional code
3797         removed POSIX conditional code not relevant to Win32
3798         (winsock2GetRealNetworkInterfaces): new function to compute network
3799         interfaces via Winsock2 API
3800         (determineGetRealNetworkInterfacesFN): new function for returning
3801         a function pointer to the function used to compute network interfaces.
3802         (getRealNetworkInterfaces): implemented
3803         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3804         whitespace inconsistencies
3805         removed gcj/cni.h include
3806         removed DISABLE_JAVA_NET conditional code
3807         removed POSIX conditional code not relevant to Win32
3808         changed net POSIXisms to Win32isms
3809         replaced _Jv socket-related calls with their real Win32 equivalents
3810         changed exception throwing to use error string and exception
3811         helper methods declared in include/win32.h
3812         (peekData): implemented timeout support
3813         (receive): likewise
3814         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3815         whitespace inconsistencies
3816         removed gcj/cni.h and gcj/javaprims.h includes
3817         removed DISABLE_JAVA_NET conditional code
3818         removed POSIX conditional code not relevant to Win32
3819         changed net POSIXisms to Win32isms
3820         replaced _Jv socket-related calls with their real Win32
3821         equivalents
3822         changed exception throwing to use error string and exception
3823         helper methods declared in include/win32.h
3824         (throwConnectException): helper function for connect()
3825         (connect): implemented timeout support
3826         (accept): likewise
3827         (doRead): new helper function common to both read() method overloads,
3828         includes timeout support
3829         (read): implemented both overloads in terms of doRead()
3830         (available): implemented using ioctlsocket()
3831
3832 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3833
3834         * java/net/natInetAddressWin32.cc,
3835         java/net/natNetworkInterfaceWin32.cc,
3836         java/net/natPlainDatagramSocketImplWin32.cc,
3837         java/net/natPlainSocketImplWin32.cc:
3838         Readded code enclosed in DISABLE_JAVA_NET defines
3839         in preparation for MinGW cleanup / networking
3840         patch
3841
3842 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3843
3844         * Makefile.am: Fixed problems with parallel makes.
3845         (all_java_class_files): Readded definition.
3846         (all_java_class_files): New target which depends on
3847         libgcj-@gcc_version@.jar
3848         * Makefile.in: Rebuilt
3849
3850 2003-08-28  Tom Tromey  <tromey@redhat.com>
3851
3852         * Makefile.in: Rebuilt.
3853         * Makefile.am (ordinary_java_source_files): Added new files.
3854         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3855         friend.
3856         * java/net/URLClassLoader.java (findClass): Don't use
3857         findURLResource.  Use loader's getClass method.
3858         (URLLoader.getClass): New method.
3859         (addURL): Handle `gcjlib' URLs.
3860         (SoURLLoader): New class.
3861         (SoResource): Likewise.
3862         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3863         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3864         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3865         (_Jv_RegisterCoreHook): Declare.
3866         (_Jv_FindCore): Declare.
3867         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3868         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3869         typedef.
3870         (core_hook): New function.
3871         (struct SharedLibDummy) [saved_core]: New field.
3872         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3873         (register_hook): Set protection domain and class loader on new
3874         class.
3875         (finalize): Free core chain.
3876         * gnu/gcj/Core.java (Core): New constructor.
3877         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3878         SharedLibHelper.
3879         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3880         (_Jv_create_core): New function.
3881         (create): Use it.
3882         (default_register_resource): New function.
3883         (_Jv_RegisterCoreHook): New global.
3884         (_Jv_RegisterResource): Use it.
3885         (core_chain_struct): Removed.
3886         (_Jv_FindCore): New function.
3887         (_Jv_FreeCoreChain): New function.
3888
3889 2003-08-29  Michael Koch  <konqueror@gmx.de>
3890
3891         * java/net/natInetAddressWin32.cc,
3892         java/net/natNetworkInterfaceWin32.cc,
3893         java/net/natPlainDatagramSocketImplWin32.cc,
3894         java/net/natPlainSocketImplWin32.cc:
3895         Removed code enclosed in DISABLE_JAVA_NET defines.
3896
3897 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3898
3899         * Makefile.am: (write_entries_to_file) New parameterized
3900         function for writing entries to a file one line at a time.
3901         (all_java_class_files): Removed definition.
3902         (.java.class) Removed.target.
3903         (libgcj-@gcc_version@.jar): Changed dependency to
3904         $(all_java_source_files); added compilation step which compiles
3905         all changed source files in one pass.
3906         (libgcj.la) Refactored to use write_entries_to_file.
3907         (lib-gnu-awt-xlib.la) Likewise.
3908         (install-data-local) Likewise.
3909         (write-entries-to-file-check) New target which tests write_entries_to_file.
3910         (all-recursive): Changed dependency from $(all_java_class_files)
3911         to libgcj-@gcc_version@.jar
3912         * Makefile.in: Rebuilt.
3913
3914 2003-08-26  Tom Tromey  <tromey@redhat.com>
3915
3916         * java/lang/StrictMath.java: Typo fix.
3917         * java/lang/Math.java: Typo fix.
3918
3919 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3920
3921         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3922         of the removed Thread.
3923
3924 2003-08-26  Mark Wielaard  <mark@klomp.org>
3925
3926         Reported by David Holmes <dholmes@dltech.com.au>.
3927         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3928         Collections.synchronizedMap.
3929         * java/lang/ThreadLocal.java (valueMap): Likewise.
3930
3931 2003-08-26  Mark Wielaard  <mark@klomp.org>
3932
3933         * java/security/acl/Acl.java: Fix broken p tag.
3934         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3935         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3936         * javax/swing/plaf/TreeUI.java: Likewise.
3937         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3938         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3939         documentation.
3940         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3941         tag.
3942
3943 2003-08-26  Tom Tromey  <tromey@redhat.com>
3944
3945         * Makefile.in: Rebuilt.
3946         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3947
3948         * java/lang/ref/Reference.java (get): Indentation fix.
3949         (clear): Comment fix.
3950         (enqueue): Likewise.
3951         (lock): Likewise.
3952         (referent): Likewise.
3953
3954 2003-08-26  Tom Tromey  <tromey@redhat.com>
3955
3956         PR java/12058:
3957         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3958
3959         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3960         (ProxyData.getPackage): New method.
3961         (ProxyData.getProxyData): Use package name, not Package.
3962         (ClassFactory.ClassFactory): Updated.
3963
3964 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3965         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3966         * Makefile.in: re-generated.
3967         * gnu/awt/j2d/IntegerGraphicsState.java
3968         (ScreenCoupledImage): new interface.
3969         (drawImage): detect ScreenCoupledImage instances.
3970         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3971         * gnu/awt/xlib/XEventLoop.java
3972         (createEvent): re-formatted, and rearranged to avoid null pointer.
3973         * gnu/awt/xlib/XGraphics.java
3974         (drawImage): added XOffScreenImage handling.
3975         * gnu/awt/xlib/XOffScreenImage.java: new file.
3976         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3977         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3978         * gnu/gcj/xlib/XAnyEvent.java
3979         (TYPE_KEY_PRESS): new constant.
3980         (TYPE_KEY_RELEASE): new constant.
3981         (TYPE_MOTION_NOTIFY): new constant.
3982         (TYPE_ENTER_NOTIFY): new constant.
3983         (TYPE_LEAVE_NOTIFY): new constant.
3984         (TYPE_FOCUS_IN): new constant.
3985         (TYPE_FOCUS_OUT): new constant.
3986         (TYPE_KEYMAP_NOTIFY): new constant.
3987         (TYPE_GRAPHICS_EXPOSE): new constant.
3988         (TYPE_NO_EXPOSE): new constant.
3989         (TYPE_VISIBILITY_NOTIFY): new constant.
3990         (TYPE_CREATE_NOTIFY): new constant.
3991         (TYPE_DESTROY_NOTIFY): new constant.
3992         (TYPE_MAP_REQUEST): new constant.
3993         (TYPE_CONFIGURE_REQUEST): new constant.
3994         (TYPE_GRAVITY_NOTIFY): new constant.
3995         (TYPE_RESIZE_REQUEST): new constant.
3996         (TYPE_CIRCULATE_NOTIFY): new constant.
3997         (TYPE_CIRCULATE_REQUEST): new constant.
3998         (TYPE_PROPERTY_NOTIFY): new constant.
3999         (TYPE_SELECTION_CLEAR): new constant.
4000         (TYPE_SELECTION_REQUEST): new constant.
4001         (TYPE_SELECTION_NOTIFY): new constant.
4002         (TYPE_COLORMAP_NOTIFY): new constant.
4003         (TYPE_MAPPING_NOTIFY): new constant.
4004         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4005         * gnu/gcj/xlib/natGC.cc (copyArea): new method
4006         * java/awt/Component.java (createImage): changed to use peer method.
4007
4008 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4009
4010         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4011         name, not XLFD, to native drawString.
4012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4013         Replace XLFD-based implementation with Pango-based
4014         implementation.
4015
4016 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4017
4018         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4019         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
4020
4021 2003-08-21  David Daney  <ddaney@avtrex.com>
4022
4023         Fix for PR libgcj/12013:
4024         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4025         Check `cleared' field.
4026         * java/lang/ref/Reference.java (copy): Updated comments.
4027         (cleared): New field.
4028         (clear): Rewrote.
4029
4030 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
4031             Thomas Fitzsimmons  <fitzsim@redhat.com>
4032
4033         * Makefile.am (gtk_awt_peer_sources): Add
4034         gnu/java/awt/peer/GLightweightPeer.java.  Remove
4035         gnu/java/awt/GLightweightPeer.java.
4036         * gnu/java/awt/GLightweightPeer.java: Remove file.
4037         * gnu/java/awt/peer/GLightweightPeer.java: New file.
4038         * java/awt/Component.java (getToolkit): Add comment about
4039         lightweight components.
4040         * java/awt/Toolkit.java (createComponent): Return
4041         gnu.java.awt.peer.GLightweightPeer.
4042
4043 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
4044
4045         * configure.in: Fix detection of gcj when building with newlib.
4046         * configure: Regenerated.
4047
4048 2003-08-20  Graydon Hoare  <graydon@redhat.com>
4049
4050         * jni.cc: Replace "cheating" pointer-casting code with
4051         extract_from_jvalue<> template.
4052
4053 2003-08-20  Andrew Haley  <aph@redhat.com>
4054
4055         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4056         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4057         (classAt): Break out class lookup function into getClass().
4058         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4059         handlers when using -fno-assume-compiled.
4060
4061 2003-08-20  Tom Tromey  <tromey@redhat.com>
4062
4063         Fix for PR libgcj/9125:
4064         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4065         object outside of loop.  Respect lib_control setting.
4066         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4067         field.
4068         (lib_control): New field.
4069         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4070         (VMClassLoader): Initialize new field.
4071
4072         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4073         Set `list->reference' to DELETED_REFERENCE when removing dead
4074         object.
4075         (find_slot): Added an assert.
4076         (DELETED_REFERENCE): New define.
4077         (add_to_hash): Check for DELETED_REFERENCE.
4078         (remove_from_hash): Just return if found slot isn't ours.
4079
4080 2003-08-19  Andrew Haley  <aph@redhat.com>
4081
4082         * prims.cc (unblock_signal): New function.
4083         (catch_segv): Use it.
4084         (catch_fpe): Likewise.
4085
4086 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
4087
4088         PR libgcj/11575
4089         * java/io/natFileDescriptorWin32.cc (open): Set create
4090         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4091         Honor EXCL when openning with WRITE flag. 
4092
4093 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
4094
4095         * include/jvm.h: New class _Jv_TempUTFString (helper class for
4096         getting a temporary C string from a jstring)
4097         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4098         but uses a stack buffer if the string length is less than 256
4099         bytes.
4100
4101 2003-08-18  Tom Tromey  <tromey@redhat.com>
4102
4103         PR libgcj/11951:
4104         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4105         void.  Throw VirtualMachineError if ffi fails.  Initialize return
4106         value.  Added is_jni_call argument; only wrap exception if not a
4107         JNI call.  Use descriptive message if operation not supported.
4108         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4109         array class.
4110         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4111         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4112         _Jv_CallAnyMethodA.
4113         (_Jv_JNI_CallAnyMethodA): Likewise.
4114         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4115         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4116
4117 2003-08-13  Tom Tromey  <tromey@redhat.com>
4118
4119         * gij.cc (help): Document -? and -X.
4120
4121 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4122
4123         * java/awt/Font.java: 
4124         Stub out more recent API. 
4125
4126 2003-08-12  Graydon Hoare  <graydon@redhat.com>
4127
4128         * java/awt/Color.java (getAlpha): 
4129         Prevent sign-extended alpha values.
4130
4131 2003-08-12  Tom Tromey  <tromey@redhat.com>
4132
4133         * gij.cc (main): Handle -? and -X.
4134
4135 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
4136
4137         * java/awt/Container.java
4138         (getPreferredSize): Call preferredSize.
4139         (preferredSize): Moved body of getPreferredSize here.
4140         (getMinimumSize): Call minimumSize.
4141         (minimumSize): Moved body of getMinimumSize here.
4142
4143 2003-08-11  Tom Tromey  <tromey@redhat.com>
4144
4145         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4146         (postEvent): Removed FIXME comment.
4147         (isDispatchThread): Documented.
4148         (getCurrentEvent): New method.
4149         (dispatchEvent): Set currentEvent and lastWhen.
4150         (getMostRecentEventTime): Rewrote.
4151         (invokeLater): Documented.
4152
4153 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
4154
4155         * java/io/PrintStream.java (print): Always flush if auto_flush is
4156         set. Don't check for newline characters.
4157         (write (int)): Implement without using a temporary array.
4158         (write (byte[], int, int): Always flush if auto_flush is set. Don't
4159         check for newline characters.
4160         Fixes PR libgcj/11778.
4161
4162 2003-08-08  Andrew Haley  <aph@redhat.com>
4163
4164         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4165         * Makefile.in: Rebuild.
4166         * java/lang/natRuntime.cc (insertSystemProperties): Add
4167         "sun.boot.class.path".
4168
4169 2003-08-07  Andrew Haley  <aph@redhat.com>
4170
4171         * java/io/PrintStream.java: Don't crash on a null string.
4172         
4173 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4174
4175         * configure.in: Don't initialize GCINCS to boehm-gc/include.
4176         * configure: Regenerate.
4177
4178 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4179
4180         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4181         SocketImpl. Update Javadoc.
4182         (bind): Call close() not impl.close() in event of exception.
4183         (connect): Likewise.
4184         Remove superfluous null checks throughout.
4185         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4186         Don't create an extra socket. Fix for PR libgcj/10868.
4187         (bind): Clean up exception handling.
4188         Remove superfluous null checks throughout.
4189
4190 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
4191             Bryce McKinlay  <bryce@mckinlay.net.nz>
4192
4193         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4194         ready-to-write argument to _Jv_Select. Reset the socket back to 
4195         non-blocking state after connecting.
4196         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4197         Throw SocketTimeoutException not InterruptedIOException.
4198         (read): Throw SocketTimeoutException not InterruptedIOException.
4199
4200 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
4201
4202         * java/lang/Thread.java (Thread): Check for null "name" from
4203         start of private constructor, not after calling the private
4204         constructor.
4205
4206 2003-08-06  Tom Tromey  <tromey@redhat.com>
4207
4208         * java/io/FilePermission.java (equals): Use correct index for
4209         last character of path.
4210
4211 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
4212
4213         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4214         * configure.in: Compare with_cross_host to build_alias, not build.
4215         * aclocal.m4: Regenerate.
4216         * configure: Regenerate.
4217
4218 2003-08-05  Tom Tromey  <tromey@redhat.com>
4219
4220         Fix for PR libgcj/11779:
4221         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4222         class.
4223
4224         * java/lang/reflect/Method.java: Updated status comment.
4225         Imported javadoc from Classpath and re-ordered methods.
4226         * java/lang/reflect/Constructor.java: Reindented.  Updated
4227         status comment.  Imported javadoc from Classpath and re-ordered
4228         methods.
4229
4230 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4231
4232         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4233         Add keyLocation parameter.
4234         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4235         string.
4236         (paramString): Generate keyChar string according to keyChar, not
4237         keyCode.
4238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4239         (state_to_awt_mods): Handle ALT key.
4240         (keyevent_state_to_awt_mods): New function.
4241         (get_first_keyval_from_keymap): New function.
4242         (keysym_to_awt_keycode): Get virtual key code from keymap.
4243         Handle missing VK_ values.
4244         (keysym_to_awt_keylocation): New function.
4245         (keyevent_to_awt_keychar): New function.
4246         (generates_key_typed_event): Handle non-text-component case.
4247         Handle GDK_KP_Delete and GDK_KP_Enter.
4248         (awt_event_handler): Call new functions to get postKeyEvent
4249         parameters.
4250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4251         Update postKeyEvent method signature.
4252         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
4253         VK_ defines.
4254
4255 2003-08-05  Matthias Klose  <doko@debian.org>
4256
4257         * aclocal.m4: check for libart-config binary
4258           under the name libart2-config as well.
4259         * configure: regenerated.
4260
4261 2003-08-04  David P Grove  <groved@us.ibm.com>
4262
4263         * java/text/DecimalFormat.java (format): avoid ArithmeticException
4264         when groupingSize is 0.
4265         (parse): Likewise.
4266
4267 2003-08-04  Matthias Klose  <doko@debian.org>
4268
4269         * libart.m4: check for libart-config binary
4270           under the name libart2-config as well.
4271         * configure, aclocal.m4: regenerated.
4272
4273 2003-08-02  Michael Koch  <konqueror@gmx.de>
4274
4275         * java/nio/ByteBufferImpl.java
4276         (getChar): Check remaining bytes, fixed comment about endianess.
4277         (putChar): Likewise.
4278         (getShort): Likewise.
4279         (putShort): Likewise.
4280         (getInt): Check remaining bytes, fixed conversion, fixed comment about
4281         endianess.
4282         (putInt): Likewise.
4283         (getLong): Likewise.
4284         (putLong): Likewise.
4285         (getFloat): Likewise.
4286         (putFloat): Likewise.
4287         (getDouble): Likewise.
4288         (putDouble): Likewise.
4289         * java/nio/DirectByteBufferImpl.java
4290         (getChar): Wrapped code, fixed comment about endianess.
4291         (putchar): Likewise.
4292         (getShort): Likewise.
4293         (putShort): Likewise.
4294         (getInt): Fixed conversion, fixed comment about endianess.
4295         (putInt): Likewise.
4296         (getLong): Likewise.
4297         (putLong): Likewise.
4298         (getFloat): Likewise.
4299         (putFloat): Likewise.
4300         (getDouble): Likewise.
4301         (putDouble): Likewise.
4302         * java/nio/MappedByteBufferImpl.java
4303         (compact): Implemented.
4304         (getChar): Implemented.
4305         (putChar): Implemented.
4306         (getDouble): Implemented.
4307         (putdouble): Implemented.
4308         (getFloat): Implemented.
4309         (putFloat): Implemented.
4310         (getInt): Implemented.
4311         (putInt): Implemented.
4312         (getLong): Implemented.
4313         (putLong): Implemented.
4314         (getShort): Implemented.
4315         (putShort): Implemented.
4316         * java/nio/channels/FileChannelImpl.java
4317         (read): Set position where to access file.
4318         (write): Likewise.
4319         (transferTo): Flip buffer after read and before write.
4320         (transferFrom): Likewise.
4321
4322 2003-08-02  Michael Koch  <konqueror@gmx.de>
4323
4324         * gnu/java/lang/ArrayHelper.java
4325         (equalsArray): Reformated, added method documentation.
4326
4327 2003-08-02  Michael Koch  <konqueror@gmx.de>
4328
4329         * java/net/URL.java
4330         (URL): Added paragraph about the
4331         gnu.java.net.nocache_protocol_handlers property.
4332         (ph_cache): Renamed from handlers to match classpath's implementation.
4333         Reordered it with factory and serialVersionUID member variables.
4334         (cache_handlers): New member variable.
4335         (static): New static initializer to initialize cache_handlers from
4336         gnu.java.net.nocache_protocol_handlers property.
4337         (URL): Use ph_cache instead of handlers, reformatted some code to
4338         match classpath's implementation.
4339
4340 2003-08-01  Tom Tromey  <tromey@redhat.com>
4341
4342         Fix for PR libgcj/11241:
4343         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4344         initialCapacity is 0, set it to 1.
4345
4346 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
4347
4348         * java/net/SocketImpl.java (toString): Display the remote address
4349         of an unconnected server socket as "0.0.0.0/0.0.0.0".
4350
4351 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
4352
4353         * javax/swing/border/BevelBorder.java,
4354         javax/swing/border/EtchedBorder.java,
4355         javax/swing/border/LineBorder.java,
4356         javax/swing/border/MatteBorder.java,
4357         javax/swing/border/SoftBevelBorder.java,
4358         javax/swing/plaf/BorderUIResource.java,
4359         javax/swing/plaf/ComponentUI.java,
4360         javax/swing/plaf/TreeUI.java,
4361         javax/swing/plaf/basic/BasicBorders.java,
4362         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4363         javax/swing/plaf/basic/BasicTreeUI.java:
4364         Prepend "doc-files" to all paths to embedded Javadoc images, so
4365         that the generated documentation contains the correct URL.
4366
4367 2003-08-01  Tom Tromey  <tromey@redhat.com>
4368
4369         * configure: Rebuilt.
4370         * configure.in (tool_include_dir): Redefine to match gcc.
4371
4372 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4373             Mark Wielaard  <mark@klomp.org>
4374             
4375         * java/math/BigDecimal (divide): Correctly handle
4376         ROUND_HALF_EVEN when amount is greater than 0.5.
4377         Simplify and optimize code.
4378
4379 2003-07-31  Tom Tromey  <tromey@redhat.com>
4380
4381         More for PR libgcj/11737:
4382         * java/io/ObjectInputStream.java (processResolution): Use
4383         getMethod.
4384         (getMethod): Make method accessible.
4385         (getField): Make field accessible.
4386         (setBooleanField): Don't call setAccessible here.
4387         (setByteField, setCharField, setDoubleField, setFloatField,
4388         setIntField, setLongField, setShortField, setObjectField):
4389         Likewise.
4390         (callReadMethod): Don't check whether method is null.  Catch
4391         NoSuchMethodException.
4392         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4393         cause on thrown exceptions.
4394
4395 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4396
4397         Fix for PR libgcj/11728:
4398         * java/util/HashMap.java (readObject): Set size.
4399
4400 2003-07-31  Tom Tromey  <tromey@redhat.com>
4401
4402         Fix for PR libgcj/11737:
4403         * java/io/ObjectOutputStream.java (getMethod): Make method
4404         accessible.
4405         (getField): Likewise.
4406         (writeObject): Use getMethod.
4407         Import PrivilegedAction and AccessController.
4408         (callWriteMethod): Don't check whether m is null.  Catch
4409         NoSuchMethodException.
4410
4411         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4412         (containsAngle): Likewise.
4413         (getStartPoint): Rewrote.
4414         (getEndPoint): Likewise.
4415         (setAngleStart(Point2D)): Likewise.
4416
4417 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4418             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4419
4420         * configure.in: Add new THREADCXXFLAGS variable.
4421         Handle POSIX threads on alpha*-dec-osf*.
4422         * configure: Regenerate.
4423         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4424         * Makefile.in: Regenerate.
4425
4426 2003-07-08  Andrew Haley  <aph@redhat.com>
4427
4428         * include/i386-signal.h (RESTORE): New.
4429         (INIT_SEGV): Set restorer.
4430         (INIT_FPE): Likewise.
4431
4432 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4433
4434         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4435         than getXLFD.
4436         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4437         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4439         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4441         Likewise.
4442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4443         Likewise.
4444
4445 2003-07-29  Tom Tromey  <tromey@redhat.com>
4446
4447         * defineclass.cc (handleField): Throw exception if field name is
4448         duplicated.
4449         (handleMethod): Throw exception for duplicate method.
4450
4451 2003-07-29  Tom Tromey  <tromey@redhat.com>
4452
4453         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4454         output buffer is too small.
4455
4456 2003-07-28  Tom Tromey  <tromey@redhat.com>
4457
4458         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4459         New method.
4460         Include gnu/gcj/runtime/StringBuffer.h.
4461         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4462         native method.
4463         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4464
4465 2003-07-27  Anthony Green  <green@redhat.com>
4466
4467         * configure.in: Fix newlib check.
4468         * configure: Rebuilt.
4469
4470 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4471
4472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4473         Create vbox and layout for GtkPlug.
4474
4475 2003-07-27  Michael Koch  <konqueror@gmx.de>
4476
4477         * java/awt/Window.java
4478         (Window): Removed now unused constructor. It became oboslete with the
4479         new embedded window patch.
4480
4481 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4482             Michael Koch  <konqueror@gmx.de>
4483
4484         * gnu/java/awt/EmbeddedWindow.java
4485         (EmbeddedWindow): Extends Frame instead of Window.
4486         (window_id): New member variable to store the native window handle.
4487         (create): Removed.
4488         (EmbeddedWindow): New constructor.
4489         (addNotify): New method.
4490         (getHandler): Likewise.
4491         (setWindowPeer): New native method.
4492         * gnu/java/awt/EmbeddedWindowSupport.java
4493         (EmbeddedWindowSupport): Fixed documentation.
4494         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4495         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4496         window data.
4497         * gnu/java/awt/natEmbeddedWindow.cc
4498         (create): Removed.
4499         (setWindowPeer): New method.
4500         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4501         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4503         New files
4504         * gnu/java/awt/peer/gtk/GtkToolkit.java
4505         (GtkToolkit): Implements EmbeddedWindowSupport.
4506         (createEmbeddedWindow): New method.
4507         * java/awt/Window.java
4508         (Window): Removed.
4509         * Makefile.am
4510         (java_source_files): Added EmbeddedWindowPeer.java.
4511         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4512         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4513         * Makefile.in: Regenerated.
4514
4515 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4516
4517         * java/lang/Win32Process.java (ConcreteProcess): Surround
4518         a command line element with quotes if it contains an
4519         embedded space or tab.
4520         * java/lang/natWin32Process.cc (startProcess): Do not
4521         surround command line elements with quotes here.
4522
4523         * configure.host: Use -fcheck-references and 
4524         -fuse-divide-subroutine for MinGW until we fix
4525         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4526         Structured Exception Handling (SEH).
4527
4528         * win32.cc (_Jv_platform_initProperties): Use generic names
4529         like "x86" for the "os.arch" property to be consistent with
4530         what Sun's JDK produces. Use the wProcessorArchitecture
4531         member of the Win32 SYSTEM_INFO structure, filled in a call 
4532         to GetSystemInfo( ), instead of dwProcessorType.
4533
4534 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4535             Ranjit Mathew  <rmathew@hotmail.com>
4536
4537         * Makefile.am: Use cross-compiling gcjh from the path for
4538         a crossed-native build.
4539         * Makefile.in: Rebuilt.
4540         * configure.in: Include libltdl in non-newlib builds.
4541         Moved determination of gcj used to build libraries to
4542         its own section. Fixed cross-compilation issues for
4543         non-newlib builds.
4544         * configure: Rebuilt.
4545
4546 2003-07-25  Tom Tromey  <tromey@redhat.com>
4547
4548         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4549         (write): Likewise.
4550         (read): Likewise.
4551         (read): Likewise.
4552
4553 2003-07-25  Mark Wielaard  <mark@klomp.org>
4554
4555         * java/lang/natRuntime.cc (_load): Add library name to
4556         UnsatisfiedLinkError when thrown.
4557
4558 2003-07-25  Mark Wielaard  <mark@klomp.org>
4559
4560         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4561         added.
4562         * Makefile.in: Likewise.
4563
4564 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4565
4566         * java/awt/Component.java
4567         (getPreferredSize): Call preferredSize.
4568         (preferredSize): Moved body of getPreferredSize here.
4569         (getMinimumSize): Call minimumSize.
4570         (minimumSize): Moved body of getMinimumSize here.
4571         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4572         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4573         pass -1
4574         * java/awt/Container.java
4575         (validate): Don't validate if there is no peer.
4576         (update): Clear background before calling paint.
4577         * java/awt/GridBagLayout.java
4578         Completed the implementation and fixed several bugs.
4579         * java/awt/MediaTracker.java
4580         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4581         combine flags.
4582         * java/awt/Window.java
4583         (Window): Don't call setVisible(false). Windows are invisible by
4584         default and calling virtual methods from constructor causes
4585         compatibility problems (e.g. subclasses may assume that the peer
4586         already exists).
4587
4588 2003-07-25  Michael Koch  <konqueror@gmx.de>
4589
4590         * java/awt/GridBagLayout.java:
4591         Totally reworked and partly implemented.
4592         * java/awt/GridBagLayoutInfo.java:
4593         New file.
4594
4595 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4596
4597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4598         Don't pack label in an event box.
4599
4600 2003-07-24  Tom Tromey  <tromey@redhat.com>
4601
4602         For PR libgcj/7482:
4603         * verify.cc (ref_intersection): New class.
4604         (type_val): Removed unresolved_reference_type,
4605         uninitialized_unresolved_reference_type.
4606         (is_assignable_from_slow): Rewrote.
4607         (type::data): Removed.
4608         (type::klass): New field.
4609         (type::type): Added verifier argument.
4610         (type::resolve): Removed.
4611         (type::set_uninitialized): Updated for change to type_val.
4612         (type::set_initialized): Likewise.
4613         (type::isinitialized): Likewise.
4614         (type::print): Likewise.
4615         (construct_primitive_array_type): Likewise.
4616         (type::compatible): Updated for change to type_val and to use
4617         ref_intersection.
4618         (type::isarray): Updated to use ref_intersection.
4619         (type::isinterface): Likewise.
4620         (type::element_type): Likewise.
4621         (type::to_array): Likewise.
4622         (type::verify_dimensions): Rewrote.
4623         (type::merge): Likewise.
4624         (check_class_constant): Updated for type constructor change.
4625         (check_constant): Likewise.
4626         (check_field_constant): Likewise.
4627         (get_one_type): Likewise.
4628         (initialize_stack): Likewise.
4629         (verify_instructions_0): Likewise.
4630         (verify_instructions_0) [op_invokeinterface]: Removed special
4631         case.
4632         (isect_list): New field.
4633         (_Jv_BytecodeVerifier): Initialize it.
4634         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4635
4636 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4637
4638         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4639         unless field size is 2.
4640
4641 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4642
4643         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4644         (connectHooks): New method.
4645         (handleEvent): Remove.
4646         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4647         (createHooks): Remove declaration.
4648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4649         (generates_key_typed_event): Change to handle only certain
4650         keyvals.
4651         (awt_event_handler): Add special handling for GtkTextView.
4652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4653         (textcomponent_commit_cb): New function.
4654         (textcomponent_changed_cb): Likewise.
4655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4656         (connectHooks): Remove.
4657
4658 2003-07-23  Tom Tromey  <tromey@redhat.com>
4659
4660         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4661
4662         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4663
4664 2003-07-22  Tom Tromey  <tromey@redhat.com>
4665
4666         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4667         Include limits.h.
4668
4669 2003-07-22  Tom Tromey  <tromey@redhat.com>
4670
4671         * java/awt/Window.java (getWarningString): Just return the
4672         string.
4673         (Window): Set warningString; check with security manager.
4674
4675 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4676
4677         * gnu/awt/xlib/XGraphicsConfiguration.java
4678         (FontMetricsCache): Made static.
4679  
4680 2003-07-22  Tom Tromey  <tromey@redhat.com>
4681
4682         * java/net/URLEncoder.java (encode(String)): Use platform default
4683         encoding.
4684         (encode(String,String)): Convert to 2-digit upper-case hex
4685         number.
4686         (hex): New field.
4687
4688 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4689
4690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4691         (create): Remove unused method implementation.
4692         (connectHooks): Remove debug messages.
4693
4694 2003-07-20  Anthony Green  <green@redhat.com>
4695
4696         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4697         CloneNotSupportedException.
4698         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4699         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4700         * gnu/gcj/xlib/GC.java (clone): Ditto.
4701         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4702         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4703
4704         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4705         handler.
4706         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4707
4708 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4709
4710         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4711         String.  Put dlerror() message into exception.
4712         Include UnsatisfiedLinkError.
4713         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4714         String.  Now native.
4715
4716 2003-07-20  Tom Tromey  <tromey@redhat.com>
4717
4718         * java/lang/Runtime.java: Comment fix.
4719         * java/lang/ClassLoader.java (isAncestorOf): New method.
4720         (getParent): Uncommented security check.  Use isAncestorOf.
4721         * include/jvm.h (_Jv_CheckAccess): Declare.
4722         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4723         access check.
4724         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4725         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4726         class loader to _Jv_GetArrayClass.
4727         Include ArrayIndexOutOfBoundsException.h.
4728         * java/lang/reflect/Field.java: Update comment to reflect status.
4729         (equals): Fixed indentation.
4730         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4731         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4732         * java/lang/Class.java (memberAccessCheck): New method from
4733         Classpath.
4734         (checkMemberAccess): Removed.
4735         (getDeclaredMethod): Use memberAccessCheck.
4736         (getField): Likewise.
4737         (getMethod): Likewise.
4738         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4739         (_Jv_SearchMethodInClass): Likewise.
4740         * prims.cc (_Jv_CheckAccess): New function.
4741         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4742         (_Jv_JNI_GetAnyFieldID): Likewise.
4743         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4744         (getClassLoader): Added security check.
4745         (getConstructor): Call memberAccessCheck.
4746         (getDeclaredClasses): Likewise.
4747         (getDeclaredField): Likewise.
4748         (getDeclaredFields): Likewise.
4749         (_getConstructors): Likewise.
4750         (getDeclaredConstructor): Likewise.
4751         (getDeclaredMethods): Likewise.
4752         (getFields): Likewise.
4753         (getMethods): Likewise.
4754         (newInstance): Likewise.
4755         (_Jv_MakeVTable): Put method name in exception.
4756         * java/lang/reflect/natMethod.cc (getType): Use
4757         getClassLoaderInternal.
4758         (_Jv_GetTypesFromSignature): Likewise.
4759         (invoke): Perform access check.
4760         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4761         Include ArrayIndexOutOfBoundsException.h.
4762         * java/lang/reflect/natField.cc (getType): Use
4763         getClassLoaderInternal.
4764         (_Jv_CheckFieldAccessibility): Removed.
4765         (getAddr): Use _Jv_CheckAccess; find caller.
4766         Include ArrayIndexOutOfBoundsException.h.
4767
4768 2003-07-20  Michael Koch  <konqueror@gmx.de>
4769
4770         * java/net/URL.java
4771         (URL): Fixed documentation to name an argument correcty, Reformatted
4772         one method declaration.
4773         (getURLStreamHandler): Added documentation from classpath.
4774
4775 2003-07-19  Tom Tromey  <tromey@redhat.com>
4776
4777         * mauve-libgcj: Don't run CollationElementIterator tests.
4778
4779 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4780
4781         * java/net/URLClassLoader.java (addURL): Moved implementation to
4782         private addURLImpl() to avoid calling addURL from the constructor.
4783         (addURLImpl): Contains the code that was previously in addURL.
4784         (addURLs): Call addURLImpl(), not addURL().
4785
4786 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4787
4788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4789         Handle missing event cases, connect to "value-changed" signal.
4790
4791 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4792
4793         * java/awt/geom/CubicCurve2D.java,
4794         java/awt/geom/Line2D.java,
4795         java/awt/geom/QuadCurve2D.java,
4796         java/awt/geom/Rectangle2D.java: 
4797         Fix path some calculations, make path iterators follow
4798         a consistent style.
4799
4800 2003-07-18  Mark Wielaard  <mark@klomp.org>
4801
4802         * java/util/logging/Handler.java (isLoggable): Check record level
4803         smaller or equal.
4804
4805 2003-07-17  Michael Koch  <konqueror@gmx.de>
4806
4807         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4808         Reworked imports.
4809
4810 2003-07-14  Michael Koch  <konqueror@gmx.de>
4811
4812         * gnu/java/rmi/server/UnicastServerRef.java:
4813         New version from classpath.
4814
4815 2003-07-14  Michael Koch  <konqueror@gmx.de>
4816
4817         * java/awt/image/MemoryImageSource.java,
4818         java/beans/PropertyEditorManager.java,
4819         javax/naming/CompoundName.java,
4820         javax/naming/spi/NamingManager.java,
4821         javax/swing/AbstractButton.java,
4822         javax/swing/ButtonModel.java,
4823         javax/swing/SwingUtilities.java,
4824         javax/swing/UIManager.java,
4825         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4826         javax/swing/event/AncestorEvent.java,
4827         javax/swing/event/InternalFrameEvent.java,
4828         java/util/zip/ZipFile.java:
4829         New versions from classpath.
4830
4831 2003-07-13  Michael Koch  <konqueror@gmx.de>
4832
4833         * gnu/java/nio/FileChannelImpl.java,
4834         gnu/java/nio/natFileChannelImpl.cc: Removed.
4835         * java/io/FileInputStream.java,
4836         java/io/FileOutputStream.java,
4837         java/io/RandomAccessFile.java,
4838         java/nio/MappedByteBufferImpl.java:
4839         Import java.nio.channels.FileChannelImpl instead of
4840         gnu.java.nio.FileChannelImpl.
4841         * java/nio/channels/FileChannelImpl.java,
4842         java/nio/channels/natFileChannelImpl.cc:
4843         New files.
4844         * Makefile.am
4845         (ordinary_java_source_files):
4846         Removed gnu/java/nio/FileChannelImpl.java and added
4847         java/nio/channels/FileChannelImpl.java.
4848         (nat source_files):
4849         Removed gnu/java/nio/natFileChannelImpl.cc and added
4850         java/nio/channels/natFileChannelImpl.cc.
4851         * Makefile.in: Regenerated.
4852
4853 2003-07-13  Michael Koch  <konqueror@gmx.de>
4854
4855         * javax/swing/plaf/basic/BasicBorders.java,
4856         javax/swing/plaf/basic/BasicLabelUI.java,
4857         javax/swing/plaf/basic/BasicLookAndFeel.java,
4858         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4859         javax/swing/plaf/basic/BasicTextUI.java,
4860         javax/swing/plaf/metal/MetalLookAndFeel.java:
4861         New versions from classpath.
4862
4863 2003-07-13  Michael Koch  <konqueror@gmx.de>
4864
4865         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4866         * gnu/java/awt/peer/gtk/GdkGraphics.java
4867         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4868         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4869         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4870         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4871         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4872         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4873         * gnu/java/awt/peer/gtk/GtkClipboard.java
4874         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4875         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4876         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4877         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4878         * gnu/java/awt/peer/gtk/GtkImage.java
4879         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4880         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4881         * gnu/java/awt/peer/gtk/GtkListPeer.java
4882         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4883         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4884         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4885         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4886         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4887         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4888         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4889         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4890         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4891         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4892         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4893         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4894
4895 2003-07-13  Michael Koch  <konqueror@gmx.de>
4896
4897         * gnu/java/locale/LocaleInformation_de.java
4898         * gnu/java/locale/LocaleInformation_en.java
4899         * gnu/java/locale/LocaleInformation_nl.java
4900
4901 2003-07-13  Michael Koch  <konqueror@gmx.de>
4902
4903         * gnu/java/awt/EmbeddedWindow.java,
4904         gnu/java/awt/EmbeddedWindowSupport.java,
4905         gnu/java/awt/natEmbeddedWindow.cc:
4906         New files.
4907         * java/awt/Window.java
4908         (Window): New constructor to support embedded windows.
4909         * Makefile.am
4910         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4911         gnu/java/awt/EmbeddedWindowSupport.java.
4912         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4913         * Makefile.in: Regenerated.
4914
4915 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4916
4917         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4918         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4919         * java/awt/im/InputContext.java: Remove a redundant
4920         partial line.
4921
4922 2003-07-09  Tom Tromey  <tromey@redhat.com>
4923
4924         * Makefile.in: Rebuilt.
4925         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4926
4927 2003-07-09  Mark Wielaard  <mark@klomp.org>
4928
4929         * java/io/ObjectOutputStream.java (writeObject): break after
4930         calling writeClassDescriptor().
4931
4932 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4933
4934         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4935
4936 2003-07-09  Michael Koch  <konqueror@gmx.de>
4937
4938         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4939         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4940         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4941         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4942         Explicitly import used classes.
4943         * java/awt/Container.java: New version from classpath.
4944
4945 2003-07-09  Michael Koch  <konqueror@gmx.de>
4946
4947         * libgcj.pc.in: New file.
4948         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4949         * Makefile.in: Regenerated.
4950         * configure: Regenrated.
4951         * configure.in: Create libgcj.pc from libgcj.pc.in.
4952
4953 2003-07-08  Mark Wielaard <mark@klomp.org>
4954
4955         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4956
4957         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4958         * java/lang/fdlibm.h: Likewise.
4959
4960 2003-07-07  Adam Megacz <adam@xwt.org>
4961
4962         * posix.cc: added #include<stdio.h>
4963                 
4964 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4965
4966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4967         formatting.
4968
4969         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4970         (setCaretPosition, setEditable): Rely entirely on native
4971         implementation.
4972         (getArgs): Remove.
4973         (postTextEvent): New method.
4974         (handleEvent): New method.
4975         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4976         method.
4977         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4979         (keysym_to_awt_keycode): Fix range checks.
4980         (generates_key_typed_event): New function.
4981         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4982         queue.
4983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4984         (gtkInit): Store TextComponent's postTextEvent method ID.
4985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4986         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4987
4988 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4989
4990         * configure.in: Check for usleep declaration.
4991         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4992         * configure: Regenerate.
4993         * include/config.h.in: Likewise.
4994         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4995
4996 2003-07-01  Michael Koch  <konqueror@gmx.de>
4997
4998         * gnu/gcj/convert/natIconv.cc
4999         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5000         handle.
5001
5002 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5003
5004         * glib-2.0.m4: New file.
5005         * gtk-2.0.m4: New file.
5006         * glib.m4: Remove.
5007         * gtk.m4: Remove.
5008         * configure.in: Update AM_PATH_GTK macro call to
5009         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
5010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5011         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5012         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5015         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5018         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5019         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5020         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5021         jni/gtk-peer/gthread-jni.c,
5022         jni/gtk-peer/gthread-jni.h:
5023         New versions from classpath.
5024         * aclocal.m4: Regenerate.
5025         * configure: Regenerate.
5026         * Makefile.in: Regenerate.
5027         * gcj/Makefile.in: Regenerate.
5028         * include/Makefile.in: Regenerate.
5029         * testsuite/Makefile.in: Regenerate.
5030
5031 2003-06-30  Gary Benson  <gbenson@redhat.com>
5032
5033         For PR libgcj/11349:
5034         * javax/naming/spi/NamingManager.java (getURLContext): Use
5035         correct name for factory class.
5036
5037 2003-06-28  Michael Koch  <konqueror@gmx.de>
5038
5039         * java/io/PrintStream.java
5040         (checkError): Call flush() instead of direct flushing of the Writer
5041         object.
5042         (print): Call print(String) instead of direct print method of the
5043         Writer Object.
5044         (println): Call println(String) instead of direct println method of the
5045         Writer Object.
5046         (write): Simplified.
5047
5048 2003-06-28  Michael Koch  <konqueror@gmx.de>
5049
5050         * java/net/ServerSocket.java
5051         (setChannel): New method.
5052         * java/net/Socket.java
5053         (setChannel): New method.
5054
5055 2003-06-27  Michael Koch  <konqueror@gmx.de>
5056
5057         * java/beans/beancontext/BeanContextSupport.java:
5058         New version from classpath.
5059
5060 2003-06-27  Michael Koch  <konqueror@gmx.de>
5061
5062         * java/awt/Window.java,
5063         java/awt/font/GraphicAttribute.java,
5064         java/awt/font/ImageGraphicAttribute.java,
5065         java/awt/image/DataBufferByte.java,
5066         java/awt/image/DataBufferInt.java,
5067         java/awt/image/DataBufferUShort.java,
5068         java/awt/image/DirectColorModel.java,
5069         java/awt/image/PixelGrabber.java:
5070         New versions from classpath.
5071
5072 2003-06-27  Michael Koch  <konqueror@gmx.de>
5073
5074         * java/security/Certificate.java
5075         (getGuarantor): Removed wrong @deprecated tag.
5076         (getPrincipal): Likewise.
5077         (getPublicKey): Likewise.
5078         (encode): Likewise.
5079         (decode): Likewise.
5080         (getFormat): Likewise.
5081         (toString): Likewise.
5082         * java/security/cert/PolicyQualifierInfo.java
5083         (PolicyQualifierInfo): Made final.
5084         * javax/security/auth/x500/X500Principal.java
5085         (serialVersionUID): New member variable.
5086
5087 2003-06-27  Michael Koch  <konqueror@gmx.de>
5088
5089         * java/text/Format.java
5090         (serialVersionUID): Fixed value.
5091
5092 2003-06-27  Michael Koch  <konqueror@gmx.de>
5093
5094         * java/net/Inet4Address.java
5095         (Inet4Address): Made package-private.
5096         * java/net/Inet6Address.java
5097         (Inet4Address): Made package-private.
5098
5099 2003-06-27  Michael Koch  <konqueror@gmx.de>
5100
5101         * java/io/RandomAccessFile.java
5102         (readLine): Removed wrong @deprecated tag.
5103         (getChannel): Made final.
5104
5105 2003-06-27  Michael Koch  <konqueror@gmx.de>
5106
5107         * gnu/java/nio/FileChannelImpl.java
5108         (write): Removed.
5109
5110 2003-06-27  Michael Koch  <konqueror@gmx.de>
5111
5112         * java/nio/ByteBufferImpl.java
5113         (ByteBufferImpl): Made it a package-private class
5114         * java/nio/CharBufferImpl.java
5115         (CharBufferImpl): Made it a package-private class
5116         * java/nio/DirectByteBufferImpl.java
5117         (DirectByteBufferImpl): Made it a package-private class
5118         * java/nio/DoubleBufferImpl.java
5119         (DoubleBufferImpl): Made it a package-private class
5120         * java/nio/FloatBufferImpl.java
5121         (FloatBufferImpl): Made it a package-private class
5122         * java/nio/IntBufferImpl.java
5123         (IntBufferImpl): Made it a package-private class
5124         * java/nio/LongBufferImpl.java
5125         (LongBufferImpl): Made it a package-private class
5126         * java/nio/ShortBufferImpl.java
5127         (ShortBufferImpl): Made it a package-private class
5128         * java/nio/channels/FileChannel.java
5129         (write): Made final.
5130         * java/nio/channels/ServerSocketChannel.java
5131         (ServerSocketChanne): Made protected.
5132
5133 2003-06-27  Michael Koch  <konqueror@gmx.de>
5134
5135         * javax/naming/CompositeName.java
5136         (serialVersionUID): New member variable.
5137         * javax/naming/CompoundName.java
5138         (serialVersionUID): New member variable.
5139         * javax/naming/InitialContext.java
5140         (InitialContext): Throws NamingException.
5141         (init): Likewise.
5142         * javax/naming/LinkRef.java
5143         (serialVersionUID): New member variable.
5144         (gteLinkName): Throws NamingException.
5145         * javax/naming/NamingException.java
5146         (serialVersionUID): New member variable.
5147         * javax/naming/NamingSecurityException.java
5148         (NamingSecurityException): Made abstract.
5149         (serialVersionUID): New member variable.
5150         * javax/naming/ReferralException.java
5151         (serialVersionUID): New member variable.
5152         * javax/naming/StringRefAddr.java
5153         (serialVersionUID): New member variable.
5154         * javax/naming/directory/BasicAttribute.java:
5155         Reworked imports.
5156         (serialVersionUID): New member variable.
5157         (get): Throws NamingException.
5158         (getAll): Throws NamingException.
5159         * javax/naming/directory/BasicAttributes.java:
5160         Reworked imports.
5161         (serialVersionUID): New member variable.
5162         * javax/naming/ldap/UnsolicitedNotificationEvent.java
5163         (serialVersionUID): New member variable.
5164
5165 2003-06-27  Michael Koch  <konqueror@gmx.de>
5166
5167         * Makefile.am
5168         (awt_java_source_files): Added new files:
5169         javax/swing/Popup.java,
5170         javax/swing/PopupFactory.java
5171         * Makefile.in: Regenerated.
5172
5173 2003-06-27  Michael Koch  <konqueror@gmx.de>
5174
5175         * javax/swing/JWindow.java,
5176         javax/swing/event/AncestorEvent.java,
5177         javax/swing/event/HyperlinkEvent.java,
5178         javax/swing/event/InternalFrameEvent.java,
5179         javax/swing/event/ListDataEvent.java,
5180         javax/swing/event/TableModelEvent.java,
5181         javax/swing/plaf/PopupMenuUI.java,
5182         javax/swing/plaf/SplitPaneUI.java,
5183         javax/swing/plaf/TabbedPaneUI.java,
5184         javax/swing/plaf/TextUI.java,
5185         javax/swing/plaf/TreeUI.java,
5186         javax/swing/plaf/basic/BasicTextUI.java,
5187         javax/swing/plaf/basic/BasicTreeUI.java:
5188         New versions from classpath.
5189         * javax/swing/Popup.java,
5190         javax/swing/PopupFactory.jav:
5191         New source files from classpath.
5192         * javax/swing/plaf/doc-files/TreeUI-1.png:
5193         New binary files from classpath.
5194
5195 2003-06-25  Michael Koch  <konqueror@gmx.de>
5196
5197         * Makefile.am
5198         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5199         * Makefile.in: Regenerated.
5200
5201 2003-06-25  Michael Koch  <konqueror@gmx.de>
5202
5203         * javax/swing/plaf/ActionMapUIResource.java,
5204         javax/swing/plaf/BorderUIResource.java,
5205         javax/swing/plaf/ButtonUI.java,
5206         javax/swing/plaf/ColorChooserUI.java,
5207         javax/swing/plaf/ColorUIResource.java,
5208         javax/swing/plaf/ComboBoxUI.java,
5209         javax/swing/plaf/ComponentInputMapUIResource.java,
5210         javax/swing/plaf/ComponentUI.java,
5211         javax/swing/plaf/DesktopIconUI.java,
5212         javax/swing/plaf/DesktopPaneUI.java,
5213         javax/swing/plaf/DimensionUIResource.java,
5214         javax/swing/plaf/FileChooserUI.java,
5215         javax/swing/plaf/FontUIResource.java,
5216         javax/swing/plaf/IconUIResource.java,
5217         javax/swing/plaf/InputMapUIResource.java,
5218         javax/swing/plaf/InsetsUIResource.java,
5219         javax/swing/plaf/InternalFrameUI.java,
5220         javax/swing/plaf/LabelUI.java,
5221         javax/swing/plaf/ListUI.java,
5222         javax/swing/plaf/MenuBarUI.java,
5223         javax/swing/plaf/MenuItemUI.java,
5224         javax/swing/plaf/OptionPaneUI.java,
5225         javax/swing/plaf/PanelUI.java,
5226         javax/swing/plaf/ProgressBarUI.java,
5227         javax/swing/plaf/RootPaneUI.java,
5228         javax/swing/plaf/ScrollBarUI.java,
5229         javax/swing/plaf/ScrollPaneUI.java,
5230         javax/swing/plaf/SeparatorUI.java,
5231         javax/swing/plaf/SliderUI.java,
5232         javax/swing/plaf/TableHeaderUI.java,
5233         javax/swing/plaf/TableUI.java,
5234         javax/swing/plaf/ToolBarUI.java,
5235         javax/swing/plaf/ToolTipUI.java,
5236         javax/swing/plaf/ViewportUI.java:
5237         New versions from classpath.
5238         * javax/swing/plaf/SpinnerUI.java: 
5239         New file from classpath
5240
5241 2003-06-25  Michael Koch  <konqueror@gmx.de>
5242
5243         * java/awt/image/ColorModel.java:
5244         New version from classpath.
5245
5246 2003-06-25  Michael Koch  <konqueror@gmx.de>
5247
5248         * java/net/PlainDatagramSocketImpl.java:
5249         Partly merged with classpath, this mainly adds documentation.
5250
5251 2003-06-25  Michael Koch  <konqueror@gmx.de>
5252
5253         * java/io/ObjectInputStream.java
5254         (readClassDescriptor): New method.
5255         (readObject): Moved functionality to readClassDescriptor().
5256         * java/io/ObjectOutputStream.java
5257         (writeClassDescriptor): New method.
5258         (writeObject): Moved functionality to writeClassDescriptor().
5259
5260 2003-06-25  Michael Koch  <konqueror@gmx.de>
5261
5262         * javax/swing/plaf/basic/BasicListUI.java,
5263         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5264         Added missing methods.
5265
5266 2003-06-25  Michael Koch  <konqueror@gmx.de>
5267
5268         * javax/swing/event/AncestorEvent.java
5269         javax/swing/event/HyperlinkEvent.java
5270         javax/swing/event/InternalFrameEvent.java
5271         javax/swing/event/ListDataEvent.java
5272         javax/swing/event/TableModelEvent.java:
5273         Compile fixes.
5274
5275 2003-06-24  Michael Koch  <konqueror@gmx.de>
5276
5277         * java/net/URL.java:
5278         Renamed "handler" to "ph" in the whole file to match classpaths
5279         version.
5280         * java/net/URLStreamHandler.java:
5281         (equals): Renamed "handler" to "ph".
5282
5283 2003-06-24  Michael Koch  <konqueror@gmx.de>
5284
5285         * javax/swing/event/AncestorEvent.java,
5286         javax/swing/event/HyperlinkEvent.java,
5287         javax/swing/event/InternalFrameEvent.java,
5288         javax/swing/event/ListDataEvent.java,
5289         javax/swing/event/TableModelEvent.java,
5290         javax/swing/event/TreeWillExpandListener.java,
5291         javax/swing/plaf/ComponentUI.java,
5292         javax/swing/plaf/DesktopIconUI.java,
5293         javax/swing/plaf/DesktopPaneUI.java,
5294         javax/swing/plaf/DimensionUIResource.java,
5295         javax/swing/plaf/FileChooserUI.java,
5296         javax/swing/plaf/FontUIResource.java,
5297         javax/swing/plaf/IconUIResource.java,
5298         javax/swing/plaf/InputMapUIResource.java,
5299         javax/swing/plaf/InsetsUIResource.java,
5300         javax/swing/plaf/InternalFrameUI.java,
5301         javax/swing/plaf/LabelUI.java,
5302         javax/swing/plaf/ListUI.java,
5303         javax/swing/plaf/MenuBarUI.java,
5304         javax/swing/plaf/MenuItemUI.java,
5305         javax/swing/plaf/OptionPaneUI.java,
5306         javax/swing/plaf/PanelUI.java,
5307         javax/swing/plaf/ProgressBarUI.java,
5308         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5309         javax/swing/plaf/doc-files/ComponentUI-1.png:
5310         New versions from classpath.
5311
5312 2003-06-24  Michael Koch  <konqueror@gmx.de>
5313
5314         * java/nio/Buffer.java
5315         (cap): Made package-private.
5316         (pos): Likewise.
5317         (limit): Likewise.
5318         (mark): Likewise.
5319
5320 2003-06-24  Michael Koch  <konqueror@gmx.de>
5321
5322         * java/net/SocketImpl.java
5323         (shutdownInput): Made it non-abstract method throwing an exception
5324         like in SUNs JRE.
5325         (shutdownOutput): Likewise.
5326         * java/net/SocketInputStream.java,
5327         java/net/SocketOutputStream.java:
5328         New files from classpath.
5329
5330 2003-06-24  Michael Koch  <konqueror@gmx.de>
5331
5332         * java/awt/Font.java,
5333         java/awt/Window.java,
5334         java/awt/color/ColorSpace.java,
5335         java/awt/datatransfer/StringSelection.java,
5336         java/awt/image/ColorModel.java:
5337         New versions from classpath.
5338
5339 2003-06-24  Michael Koch  <konqueror@gmx.de>
5340
5341         * Makefile.am
5342         (awt_java_source_files): Added new files:
5343         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5344         javax/swing/plaf/basic/BasicSplitPaneUI.java
5345         * Makefile.in: Regenerated.
5346
5347 2003-06-24  Michael Koch  <konqueror@gmx.de>
5348
5349         * javax/swing/text/JTextComponent.java:
5350         New version from classpath.
5351
5352 2003-06-24  Michael Koch  <konqueror@gmx.de>
5353
5354         * javax/swing/Timer.java,
5355         javax/swing/plaf/ActionMapUIResource.java,
5356         javax/swing/plaf/ButtonUI.java,
5357         javax/swing/plaf/ColorChooserUI.java,
5358         javax/swing/plaf/ColorUIResource.java,
5359         javax/swing/plaf/ComboBoxUI.java,
5360         javax/swing/plaf/ComponentInputMapUIResource.java,
5361         javax/swing/plaf/basic/BasicBorders.java:
5362         New versions from classpath.
5363         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5364         javax/swing/plaf/basic/BasicSplitPaneUI.java:
5365         New file from classpath.
5366         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5367         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5368         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5369         javax/swing/plaf/doc-files/ComponentUI-1.dia,
5370         javax/swing/plaf/doc-files/ComponentUI-1.png:
5371         New binary files from classpath.
5372
5373 2003-06-24  Michael Koch  <konqueror@gmx.de>
5374
5375         * java/io/LineNumberReader.java
5376         (skip): Dont do line number accounting here as this is already done in
5377         read(), simplified.
5378
5379 2003-06-21  Michael Koch  <konqueror@gmx.de>
5380
5381         * java/io/File.java
5382         (static): Load javaio lib if existing (only in classpath).
5383         (File): Revised documentation to show the correct argument name.
5384         (createTempFile): Partly merged with classpath.
5385         (compareTo): Simplified.
5386         (lastModified): Throw exception if time < 0.
5387         (deleteOnExit): Revised documentation.
5388
5389 2003-06-21  Michael Koch  <konqueror@gmx.de>
5390
5391         * java/net/PlainSocketImpl.java:
5392         Reformatted.
5393         (PlainSocketImpl): Merged class documentaion with classpath.
5394         (in): Moved.
5395         (out): Moved.
5396         (PlainSocketImpl): New empty constructor.
5397         (finalize): Moved.
5398         (setOption): Merged documentation from classpath.
5399         (getOption): Likewise.
5400         (create): Likewise.
5401         (connect): Likewise.
5402         (bind): Likewise.
5403         (listen): Likewise.
5404         (accept): Likewise.
5405         (available): Likewise.
5406         (close): Likewise.
5407         (read): Likewise.
5408         (write): Likewise.
5409         (getInputStream): Made synchronozed to get sure that only one stream
5410         object can be created for this socket, merged documentation from
5411         classpath.
5412         (getOutputStream): Likewise.
5413
5414 2003-06-21  Michael Koch  <konqueror@gmx.de>
5415
5416         * java/net/PlainSocketImpl.java:
5417         Reformatting.
5418         (static): New implicit method.
5419         (read): Made package private.
5420         (write): Likewise.
5421
5422 2003-06-21  Michael Koch  <konqueror@gmx.de>
5423
5424         * java/util/SimpleTimeZone.java:
5425         Removed unneeded import, reformatting.
5426
5427 2003-06-21  Michael Koch  <konqueror@gmx.de>
5428
5429         * java/text/DateFormat.java,
5430         java/text/SimpleDateFormat.java,
5431         java/util/Locale.java:
5432         New versions from classpath.
5433
5434 2003-06-21  Michael Koch  <konqueror@gmx.de>
5435
5436         * javax/swing/SpinnerModel.java:
5437         New file from classpath.
5438         * javax/swing/border/LineBorder.java,
5439         javax/swing/border/SoftBevelBorder.java,
5440         javax/swing/plaf/BorderUIResource.java,
5441         javax/swing/plaf/basic/BasicBorders.java:
5442         New versions from classpath.
5443         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5444         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5445         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5446         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5447         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5448         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5449         New binary files from classpath.
5450
5451 2003-06-21  Michael Koch  <konqueror@gmx.de>
5452
5453         * java/util/logging/LogRecord.java,
5454         java/util/logging/Logger.java,
5455         java/util/logging/SocketHandler.java,
5456         java/util/logging/SimpleFormatter.java,
5457         java/util/logging/Formatter.java,
5458         java/util/logging/ErrorManager.java,
5459         java/util/logging/Handler.java,
5460         java/util/logging/FileHandler.java,
5461         java/util/logging/LogManager.java,
5462         java/util/logging/Level.java,
5463         java/util/logging/ConsoleHandler.java,
5464         java/util/logging/StreamHandler.java,
5465         java/util/logging/LoggingPermission.java,
5466         java/util/logging/Filter.java,
5467         java/util/logging/MemoryHandler.java,
5468         java/util/logging/XMLFormatter.java:
5469         New files from classpath.
5470
5471 2003-06-20  Michael Koch  <konqueror@gmx.de>
5472
5473         * java/io/ObjectStreamField.java
5474         (unshared): new member variable.
5475         (ObjectStreamField): New constructor.
5476         (isUnshared): New method.
5477
5478 2003-06-20  Michael Koch  <konqueror@gmx.de>
5479
5480         * java/net/URLStreamHandler.java
5481         (hostsEqual): Rewritten.
5482
5483 2003-06-20  Michael Koch  <konqueror@gmx.de>
5484
5485         * gnu/java/nio/MappedByteFileBuffer.java,
5486         gnu/java/nio/natMappedByteFileBuffer.cc:
5487         Removed
5488         * java/nio/MappedByteBufferImpl.java:
5489         New file.
5490         * gnu/java/nio/FileChannelImpl.java:
5491         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5492         * Makefile.am
5493         (ordinary_java_source_files): Removed
5494         gnu/java/nio/MappedByteFileBuffer.java and added
5495         java/nio/MappedByteBufferImpl.java.
5496         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5497         * Makefile.in: Regenerated.
5498
5499 2003-06-19  Michael Koch  <konqueror@gmx.de>
5500
5501         * gnu/java/nio/DatagramChannelImpl.java
5502         (fd): Removed.
5503         (blocking): New member variable.
5504         (socket): Likewise.
5505         (DatagramChannelImpl): Throws IOException, initialize socket.
5506         (socket):Implemented.
5507         (implCloseSelectableChannel): Throws IOException, implemented.
5508         (implConfigureBlocking): Likewise.
5509         (connect): Likewise.
5510         (disconnect): Likewise.
5511         (isConnected): Likewise.
5512         (write): Likewise.
5513         (read): Likewise.
5514         (receive): Throws IOException.
5515         (send): Likewise.
5516         * gnu/java/nio/SocketChannelImpl.java
5517         (read): Implemented.
5518         (write): Implemented.
5519
5520 2003-06-19  Michael Koch  <konqueror@gmx.de>
5521
5522         * javax/swing/JComponent.java,
5523         javax/swing/JInternalFrame.java,
5524         javax/swing/MenuSelectionManager.java,
5525         javax/swing/SwingUtilities.java,
5526         javax/swing/ToggleButtonModel.java:
5527         New versions from classpath.
5528
5529 2003-06-19  Michael Koch  <konqueror@gmx.de>
5530
5531         * java/text/CollationElementIterator.java
5532         (NULLORDER): Initialize with -1 as JDK documentation says.
5533
5534 2003-06-19  Michael Koch  <konqueror@gmx.de>
5535
5536         * java/net/HttpURLConnection.java,
5537         java/net/Inet4Address.java,
5538         java/net/Inet6Address.java,
5539         java/net/SocketImpl.java,
5540         java/net/URLClassLoader.java:
5541         Reworked import statements.
5542         * java/net/InetAddress.java
5543         (getByAddress): Simplified.
5544         * java/net/ServerSocket.java
5545         (ServerSocket): Moved special handling during bind operation to
5546         bind().
5547         (bind): Handle different cases when trying to bind a socket.
5548         * java/net/URLConnection.java
5549         (getHeaderFieldDate): Merged with classpath.
5550         (getHeaderFieldInt): Likewise.
5551
5552 2003-06-19  Michael Koch  <konqueror@gmx.de>
5553
5554         * java/util/zip/InflaterInputStream.java
5555         (InflaterInputStream): Throw NullPointerException if in is null (as
5556         JDK does).
5557
5558 2003-06-19  Michael Koch  <konqueror@gmx.de>
5559
5560         * java/awt/Font.java
5561         javax/swing/UIManager.java
5562         javax/swing/border/AbstractBorder.java
5563         javax/swing/border/BevelBorder.java
5564         javax/swing/border/Border.java
5565         javax/swing/border/CompoundBorder.java
5566         javax/swing/border/EmptyBorder.java
5567         javax/swing/border/EtchedBorder.java
5568         javax/swing/border/LineBorder.java
5569         javax/swing/border/MatteBorder.java
5570         javax/swing/border/TitledBorder.java
5571         javax/swing/plaf/BorderUIResource.java
5572         javax/swing/plaf/basic/BasicBorders.java
5573         javax/swing/plaf/basic/BasicButtonUI.java
5574         javax/swing/plaf/basic/BasicCheckBoxUI.java
5575         javax/swing/plaf/basic/BasicGraphicsUtils.java
5576         javax/swing/plaf/basic/BasicLabelUI.java
5577         javax/swing/plaf/basic/BasicRadioButtonUI.java
5578         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5579         New versions from classpath.
5580         * javax/swing/border/SoftBevelBorder.java:
5581         New file from classpath.
5582         * javax/swing/border/doc-files/LineBorder-1.png,
5583         javax/swing/border/doc-files/BevelBorder-1.png,
5584         javax/swing/border/doc-files/BevelBorder-2.png,
5585         javax/swing/border/doc-files/BevelBorder-3.png,
5586         javax/swing/border/doc-files/EmptyBorder-1.png,
5587         javax/swing/border/doc-files/EtchedBorder-1.png,
5588         javax/swing/border/doc-files/EtchedBorder-2.png,
5589         javax/swing/border/doc-files/MatteBorder-1.png,
5590         javax/swing/border/doc-files/MatteBorder-2.png,
5591         javax/swing/border/doc-files/MatteBorder-3.png,
5592         javax/swing/border/doc-files/MatteBorder-4.png,
5593         javax/swing/border/doc-files/MatteBorder-5.png,
5594         javax/swing/border/doc-files/MatteBorder-6.png,
5595         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5596         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5597         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5598         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5599         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5600         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5601         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5602         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5603         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5604         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5605         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5606         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5607         New binary files from classpath.
5608         * Makefile.am
5609         (awt_java_source_files): Added
5610         javax/swing/border/SoftBevelBorder.java.
5611         * Makefile.in: Regenerated.
5612
5613 2003-06-19  Michael Koch  <konqueror@gmx.de>
5614
5615         * gnu/java/security/x509/X509Certificate.java
5616         (writeReplace): Merged from classpath.
5617
5618 2003-06-19  Michael Koch  <konqueror@gmx.de>
5619
5620         * gnu/java/nio/FileChannelImpl.java
5621         (map_address): Made public.
5622         (FileChannelImpl): Merged with classpath.
5623         * gnu/java/nio/natFileChannelImpl.cc
5624         (nio_mmap_file): Commented out unused arguments.
5625         (nio_unmmap_file): Likewise.
5626         (niu_msync): Likewise.
5627
5628 2003-06-19  Michael Koch  <konqueror@gmx.de>
5629
5630         * java/awt/image/IndexColorModel.java:
5631         New version from classpath.
5632
5633 2003-06-18  Tom Tromey  <tromey@redhat.com>
5634
5635         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5636         on arrays.
5637         (isLoopbackAddress): Likewise.
5638         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5639         on arrays.
5640
5641 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5642
5643         * java/lang/natVMSecurityManager.cc (getClassContext):
5644         Use maxlen instead of len for loop bound.
5645
5646 2003-06-18  Michael Koch  <konqueror@gmx.de>
5647
5648         * gnu/java/nio/SelectorImpl.java
5649         (register): Use fd with value 0 for now, will be fixed later.
5650         * gnu/java/nio/ServerSocketChannelImpl.java
5651         (fd): Removed.
5652         (local_port): Removed.
5653         (InetSocketAddress): Removed.
5654         (ServerSocketChannelImpl): Just initialize internal socket object.
5655         (implCloseSelectableChannel): Close internal socket object.
5656         (implConfigureBlocking): Added comment.
5657         (accept): Use jaba.net stuff to accept socket.
5658         * gnu/java/nio/SocketChannelImpl.java
5659         (fd): Removed.
5660         (local_port): Removed.
5661         (InetSocketAddress): Removed.
5662         (SocketCreate): Removed.
5663         (SocketConnect): Removed.
5664         (SocketBind): Removed.
5665         (SocketListen): Removed.
5666         (SocketAvailable): Removed.
5667         (SocketClose): Removed.
5668         (SocketRead): Removed.
5669         (SocketWrite): Removed.
5670         (SocketChannelImpl): Just initialize internal socket object.
5671         (implCloseSelectableChannel): Close internal socket object.
5672         (implConfigureBlocking): Fixed implementation, added comment.
5673         (connect): Use internal socket object to connect.
5674         (socket): No need for sanity checks.
5675         (read): Comment out some stuff, this will be reimplemented in the next
5676         commit.
5677         (write): Likewise.
5678         * gnu/java/nio/natFileChannelImpl.cc
5679         (nio_mmap_file): Line wrapped.
5680         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5681         * Makefile.am
5682         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5683         * Makefile.in: Regenerated.
5684
5685 2003-06-18  Michael Koch  <konqueror@gmx.de>
5686
5687         * java/util/Locale.java
5688         (equals): Merged from classpath.
5689
5690 2003-06-18  Michael Koch  <konqueror@gmx.de>
5691
5692         * java/net/InetAddress.java:
5693         Reformatted to better match classpath's version.
5694         * java/net/URL.java
5695         (equals): Simplified.
5696         * java/net/URLConnection.java
5697         (setDoInput): Revised documentation.
5698         (getDefaultUseCaches): Likewise.
5699         (setRequestProperty): Added @since tag.
5700
5701 2003-06-17  Michael Koch  <konqueror@gmx.de>
5702
5703         * java/net/InetSocketAddress.java
5704         (InetSocketAddress): Use wildcard address if addr is null.
5705         (InetSocketAddress): Dont duplicate implementation.
5706         (InetSocketAddress): Throw exception when hostname is null.
5707         * java/net/Socket.java:
5708         Reworked imports.
5709         (Socket): Throw exception when raddr is null, handle case when laddr
5710         is null.
5711
5712 2003-06-17  Michael Koch  <konqueror@gmx.de>
5713
5714         * java/nio/DirectByteBufferImpl.java
5715         (address): Made package private.
5716         (DirectByteBufferImpl): New constructor.
5717         * java/nio/natDirectByteBufferImpl.cc
5718         (allocateImpl): Moved to java.nio namespace, implemented.
5719         (freeImpl): Likewise.
5720         (getImpl): Likewise.
5721         (putImpl): Likewise.
5722         * jni.cc
5723         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5724         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5725         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5726
5727 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5728
5729         * include/powerpc-signal.h: New File.
5730         * configure.in: Use it.
5731         * configure: Regenerated.
5732
5733 2003-06-17  Michael Koch  <konqueror@gmx.de>
5734
5735         * java/util/Locale.java
5736         (getDisplayLanguage): Made it final.
5737         (getDisplayCountry): Likewise.
5738         (getDisplayVariant): Likewise.
5739         (getDisplayName): Likewise.
5740
5741 2003-06-17  Michael Koch  <konqueror@gmx.de>
5742
5743         * java/util/PropertyResourceBundle.java:
5744         Removed unneeded import.
5745
5746 2003-06-17  Michael Koch  <konqueror@gmx.de>
5747
5748         * java/util/prefs/AbstractPreferences.java,
5749         java/util/prefs/PreferencesFactory.java:
5750         Reworked imports, removed unused imports.
5751         * java/util/prefs/Preferences.java
5752         (systemNodeForPackage): Method takes a Class not an Object.
5753         (userNodeForPackage): Likewise.
5754         (nodeForPackage): Likewise.
5755
5756 2003-06-17  Michael Koch  <konqueror@gmx.de>
5757
5758         * gnu/java/security/x509/X509Certificate.java:
5759         Explicitely import used classes.
5760
5761 2003-06-17  Michael Koch  <konqueror@gmx.de>
5762
5763         * java/util/zip/ZipEntry.java,
5764         java/util/zip/ZipFile.java,
5765         java/util/zip/ZipInputStream.java,
5766         java/util/zip/ZipOutputStream.java:
5767         Reworked imports, only import used classes.
5768
5769 2003-06-17  Michael Koch  <konqueror@gmx.de>
5770
5771         * gnu/java/lang/ArrayHelper.java,
5772         gnu/java/lang/ClassHelper.java:
5773         Reformatted to match classpath's versions.
5774
5775 2003-06-14  Michael Koch  <konqueror@gmx.de>
5776
5777         * gnu/java/nio/FileChannelImpl.java
5778         (map_address): Removed incorrect comment.        
5779         * gnu/java/nio/SelectorImpl.java
5780         (register): Remove code duplication and code for file channel handling.        
5781         * gnu/java/nio/ServerSocketChannelImpl.java
5782         (serverSocket): Renamed from sock_object.
5783         (ServerSocketChannel): Initialize serverSocket.
5784         (socket): Return serverSocket.
5785         * gnu/java/nio/SocketChannelImpl.java
5786         (socket): Renamed from sock_object.
5787         (isConnectionPenging): Simplified.
5788         (socket): Return socket.
5789 2003-06-14  Michael Koch  <konqueror@gmx.de>
5790
5791         * java/security/BasicPermission.java:
5792         New version from classpath.
5793
5794 2003-06-14  Michael Koch  <konqueror@gmx.de>
5795
5796         * javax/naming/directory/Attribute.java:
5797         New version from classpath.
5798
5799 2003-06-14  Michael Koch  <konqueror@gmx.de>
5800
5801         * java/io/BufferedReader.java,
5802         java/io/FileOutputStream.java:
5803         New versions from classpath.
5804
5805 2003-06-12  Andrew Haley  <aph@redhat.com>
5806
5807         * prims.cc (catch_segv): Create exception in handler.
5808         (catch_fpe): Likewise.  
5809         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5810         (_Jv_ThrowSignal): Remove.
5811
5812         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5813         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5814         to nullp and arithexception.
5815         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5816         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5817         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5818         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5819         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5820
5821 2003-06-11  Andrew Haley  <aph@redhat.com>
5822
5823         * jni.cc (_Jv_JNI_check_types): New.
5824         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5825         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5826         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5827         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5828         
5829         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5830         infinite loop.
5831
5832 2003-06-11  Tom Tromey  <tromey@redhat.com>
5833
5834         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5835         * java/io/PrintStream.java: Not deprecated.
5836
5837 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5838
5839         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5840         (fillOval): implemented
5841         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5842         (fillArc): implemented.
5843         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5844         (fillArc): added native method.
5845         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5846         (fillArc): added native method.
5847
5848 2003-06-11  Michael Koch  <konqueror@gmx.de>
5849
5850         * java/awt/im/InputSubset.java:
5851         New version from classpath.
5852
5853 2003-06-11  Michael Koch  <konqueror@gmx.de>
5854
5855         * javax/swing/AbstractAction.java,
5856         javax/swing/AbstractButton.java,
5857         javax/swing/AbstractCellEditor.java,
5858         javax/swing/AbstractListModel.java,
5859         javax/swing/BorderFactory.java,
5860         javax/swing/Box.java,
5861         javax/swing/BoxLayout.java,
5862         javax/swing/ButtonGroup.java,
5863         javax/swing/DefaultButtonModel.java,
5864         javax/swing/DefaultListModel.java,
5865         javax/swing/DefaultListSelectionModel.java,
5866         javax/swing/FocusManager.java,
5867         javax/swing/ImageIcon.java,
5868         javax/swing/InputMap.java,
5869         javax/swing/JApplet.java,
5870         javax/swing/JButton.java,
5871         javax/swing/JCheckBox.java,
5872         javax/swing/JCheckBoxMenuItem.java,
5873         javax/swing/JColorChooser.java,
5874         javax/swing/JComboBox.java,
5875         javax/swing/JComponent.java,
5876         javax/swing/JDesktopPane.java,
5877         javax/swing/JDialog.java,
5878         javax/swing/JEditorPane.java,
5879         javax/swing/JFileChooser.java,
5880         javax/swing/JFormattedTextField.java,
5881         javax/swing/JFrame.java,
5882         javax/swing/JLabel.java,
5883         javax/swing/JLayeredPane.java,
5884         javax/swing/JList.java,
5885         javax/swing/JMenuBar.java,
5886         javax/swing/JMenuItem.java,
5887         javax/swing/JOptionPane.java,
5888         javax/swing/JPanel.java,
5889         javax/swing/JPasswordField.java,
5890         javax/swing/JPopupMenu.java,
5891         javax/swing/JProgressBar.java,
5892         javax/swing/JRadioButton.java,
5893         javax/swing/JRadioButtonMenuItem.java,
5894         javax/swing/JRootPane.java,
5895         javax/swing/JScrollBar.java,
5896         javax/swing/JScrollPane.java,
5897         javax/swing/JSeparator.java,
5898         javax/swing/JSlider.java,
5899         javax/swing/JTabbedPane.java,
5900         javax/swing/JTable.java,
5901         javax/swing/JTextField.java,
5902         javax/swing/JToggleButton.java,
5903         javax/swing/JToolBar.java,
5904         javax/swing/JToolTip.java,
5905         javax/swing/JTree.java,
5906         javax/swing/JViewport.java,
5907         javax/swing/JWindow.java,
5908         javax/swing/KeyStroke.java,
5909         javax/swing/ListSelectionModel.java,
5910         javax/swing/LookAndFeel.java,
5911         javax/swing/RepaintManager.java,
5912         javax/swing/ScrollPaneLayout.java,
5913         javax/swing/SizeRequirements.java,
5914         javax/swing/SwingConstants.java,
5915         javax/swing/Timer.java,
5916         javax/swing/UIDefaults.java,
5917         javax/swing/UIManager.java,
5918         javax/swing/border/AbstractBorder.java,
5919         javax/swing/border/CompoundBorder.java,
5920         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5921         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5922         javax/swing/colorchooser/ColorSelectionModel.java,
5923         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5924         javax/swing/event/AncestorEvent.java,
5925         javax/swing/event/HyperlinkEvent.java,
5926         javax/swing/event/InternalFrameAdapter.java,
5927         javax/swing/event/InternalFrameEvent.java,
5928         javax/swing/event/ListDataEvent.java,
5929         javax/swing/event/MouseInputAdapter.java,
5930         javax/swing/event/SwingPropertyChangeSupport.java,
5931         javax/swing/event/TableModelEvent.java,
5932         javax/swing/event/TreeWillExpandListener.java,
5933         javax/swing/event/UndoableEditEvent.java,
5934         javax/swing/filechooser/FileFilter.java,
5935         javax/swing/filechooser/FileSystemView.java,
5936         javax/swing/filechooser/FileView.java,
5937         javax/swing/plaf/BorderUIResource.java,
5938         javax/swing/plaf/basic/BasicDefaults.java,
5939         javax/swing/table/AbstractTableModel.java,
5940         javax/swing/table/DefaultTableCellRenderer.java,
5941         javax/swing/table/DefaultTableColumnModel.java,
5942         javax/swing/table/DefaultTableModel.java,
5943         javax/swing/table/TableColumn.java,
5944         javax/swing/text/JTextComponent.java,
5945         javax/swing/tree/AbstractLayoutCache.java,
5946         javax/swing/tree/DefaultMutableTreeNode.java,
5947         javax/swing/tree/DefaultTreeCellEditor.java,
5948         javax/swing/tree/DefaultTreeCellRenderer.java,
5949         javax/swing/tree/DefaultTreeModel.java,
5950         javax/swing/tree/DefaultTreeSelectionModel.java,
5951         javax/swing/tree/FixedHeightLayoutCache.java,
5952         javax/swing/tree/TreeCellEditor.java,
5953         javax/swing/tree/TreeModel.java,
5954         javax/swing/tree/TreeNode.java,
5955         javax/swing/tree/TreePath.java,
5956         javax/swing/tree/TreeSelectionModel.java,
5957         javax/swing/tree/VariableHeightLayoutCache.java,
5958         javax/swing/undo/AbstractUndoableEdit.java,
5959         javax/swing/undo/CompoundEdit.java,
5960         javax/swing/undo/StateEdit.java,
5961         javax/swing/undo/UndoManager.java,
5962         javax/swing/undo/UndoableEditSupport.java:
5963         New versions from classpath.
5964         * javax/swing/table/JTableHeader.java:
5965         New file from classpath.
5966         * Makefile.am
5967         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5968         * Makefile.in: Regenerated.
5969
5970 2003-06-11  Michael Koch  <konqueror@gmx.de>
5971
5972         * java/nio/MappedByteBuffer.java,
5973         java/nio/channels/Channels.java,
5974         java/nio/channels/ServerSocketChannel.java,
5975         java/nio/channels/spi/AbstractSelector.java:
5976         Removed unneeded imports.
5977
5978 2003-06-11  Michael Koch  <konqueror@gmx.de>
5979
5980         * java/net/DatagramSocket.java:
5981         Partly merged with classpath.
5982
5983 2003-06-11  Michael Koch  <konqueror@gmx.de>
5984
5985         * java/awt/Frame.java,
5986         java/awt/Graphics.java,
5987         java/awt/Menu.java,
5988         java/awt/Robot.java,
5989         java/awt/image/ColorModel.java:
5990         New versions from classpath.
5991
5992 2003-06-10  Michael Koch  <konqueror@gmx.de>
5993
5994         * java/io/PrintStream.java:
5995         Merged version from classpath.
5996         (close): Removed sychronized keyword. This class is not garantied to
5997         be thread-safe.
5998         (write): Likewise.
5999
6000 2003-06-09  Tom Tromey  <tromey@redhat.com>
6001
6002         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6003         field.
6004         (getDescent): Likewise, for "descent".
6005
6006 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
6007
6008         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6009         (getMaxDescent): adjusted return value.
6010         (getAscent): modified to use metrics for 'O'.
6011         (getDescent): modified to use metrics for 'y'.
6012
6013 2003-06-08  Anthony Green  <green@redhat.com>
6014
6015         * java/net/URLStreamHandler.java (sameFile): Fix port value
6016         comparison.
6017         * java/net/URL.java (handler): Make package private.
6018         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6019
6020 2003-06-07  Tom Tromey  <tromey@redhat.com>
6021
6022         For PR libgcj/11085:
6023         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6024         Limit number of characters in numeric field when required.
6025         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6026         Respect maximumIntegerDigits.
6027
6028 2003-06-08  Michael Koch  <konqueror@gmx.de>
6029
6030         * java/net/Socket.java
6031         (Socket): Dont initialize inputShutdown and outputShutdown twice,
6032         call bind() and connect() to actually do the bind and connect tasks.
6033         (bind): Connect to canonical address if bindpoint is null, create
6034         socket and bind it to bindpoint.
6035         (connect): Check for exceptions.
6036
6037 2003-06-08  Michael Koch  <konqueror@gmx.de>
6038
6039         * java/net/DatagramSocket.java
6040         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6041         into the Multicast constructors.
6042         * java/net/DatagramSocketImpl.java
6043         (getOption): Removed.
6044         (setOption): Removed.
6045         * java/net/MulticastSocket.java
6046         (MulticastSocket): Call setReuseAddress (true).
6047         * java/net/SocketImpl.java
6048         (getOption): Removed.
6049         (setOption): Removed.
6050
6051 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
6052
6053         PR libgcj/10886:
6054         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6055         Test for empty vector.
6056
6057 2003-06-06  Mark Wielaard  <mark@klomp.org>
6058
6059         * java/security/Security.java (secprops): Initialize.
6060         (loadProviders): Return boolean.
6061         (static): Check result of loadProvider calls. If necessary
6062         display WARNING and fallback to Gnu provider.
6063
6064 2002-06-06  James Clark  <jjc@jclark.com>
6065
6066         Fix for PR libgcj/8738:
6067         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6068         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6069         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6070         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6071         (write): Always decrease avail when count is increased.
6072         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6073         and whether output buffer is full before increasing size.
6074
6075 2002-06-06  Mark Wielaard  <mark@klomp dot org>
6076
6077         * java/io/PrintStream.java (writeChars(char[],int, int)):
6078         Check converter.havePendingBytes().
6079         (writeChars(String,int,int)): Likewise.
6080         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6081         Check converter.havePendingBytes() and flush buffer when stalled.
6082
6083 2003-06-07  Michael Koch  <konqueror@gmx.de>
6084
6085         * include/posix.h
6086         (O_DSYNC): Define O_DSYNC on platforms not
6087         supporting O_FSYNC (newlib).
6088
6089 2003-06-06  Mark Wielaard  <mark@klomp.org>
6090
6091         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6092         AWTError.
6093
6094 2003-06-06  Michael Koch  <konqueror@gmx.de>
6095
6096         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6097         More compile fixes from my stupid work yesterday.
6098
6099 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
6100
6101         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6102         if _IEEE_LIBM is undefined.
6103
6104 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
6105
6106         * libjava/include/posix.h (O_SYNC): Define if not available
6107         and a reasonable, perhaps more conservative, replacement exists.
6108         (O_DSYNC): Likewise.
6109         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6110
6111 2003-06-05  Michael Koch  <konqueror@gmx.de>
6112
6113         * javax/swing/plaf/BorderUIResource.java,
6114         javax/swing/plaf/basic/BasicDefaults.java,
6115         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6116         More compile fixes for latest Border commit. I should not commit
6117         something in this heat here ...
6118
6119 2003-06-05  Michael Koch  <konqueror@gmx.de>
6120
6121         * javax/swing/border/BevelBorder.java
6122         (BevelBorder): Removed.
6123         * javax/swing/border/EmptyBorder.java:
6124         Reformatted.
6125         (EmptyBorder): Removed.
6126         (getBorderInsets): Dont use l, r, t and b.
6127         * javax/swing/border/EtchedBorder.java
6128         (EtchedBorder): Removed.
6129         * javax/swing/border/LineBorder.java
6130         (LineBorder): Removed.
6131         * javax/swing/border/MatteBorder.java
6132         (MatteBorder): Removed.
6133         * javax/swing/border/TitledBorder.java
6134         (defaultBorder): Use other default for now.
6135         (defaultFont): Likewise.
6136         (defaultColor): Likewise.
6137
6138 2003-06-05  Michael Koch  <konqueror@gmx.de>
6139
6140         * javax/swing/border/Border.java:
6141         New version from classpath.
6142
6143 2003-06-05  Michael Koch  <konqueror@gmx.de>
6144
6145         * javax/swing/border/AbstractBorder.java,
6146         javax/swing/border/BevelBorder.java,
6147         javax/swing/border/CompoundBorder.java,
6148         javax/swing/border/EmptyBorder.java,
6149         javax/swing/border/EtchedBorder.java,
6150         javax/swing/border/LineBorder.java,
6151         javax/swing/border/MatteBorder.java,
6152         javax/swing/border/TitledBorder.java:
6153         New versions from Classpath.
6154
6155 2003-06-05  Michael Koch  <konqueror@gmx.de>
6156
6157         * java/awt/Button.java,
6158         java/awt/Checkbox.java,
6159         java/awt/CheckboxMenuItem.java,
6160         java/awt/Choice.java,
6161         java/awt/Container.java,
6162         java/awt/Dialog.java,
6163         java/awt/EventQueue.java,
6164         java/awt/FileDialog.java,
6165         java/awt/Frame.java,
6166         java/awt/Label.java,
6167         java/awt/List.java,
6168         java/awt/Menu.java,
6169         java/awt/MenuItem.java,
6170         java/awt/Panel.java,
6171         java/awt/PopupMenu.java,
6172         java/awt/Rectangle.java,
6173         java/awt/ScrollPane.java,
6174         java/awt/Scrollbar.java,
6175         java/awt/TextArea.java,
6176         java/awt/TextField.java,
6177         java/awt/Window.java,
6178         java/awt/datatransfer/DataFlavor.java,
6179         java/awt/dnd/DragSource.java,
6180         java/awt/dnd/DragSourceContext.java,
6181         java/awt/event/HierarchyEvent.java,
6182         java/awt/event/MouseWheelEvent.java,
6183         java/awt/im/InputContext.java,
6184         java/awt/image/BufferedImage.java,
6185         java/awt/image/ComponentColorModel.java,
6186         java/awt/image/Raster.java,
6187         java/awt/image/WritableRaster.java,
6188         java/awt/peer/ComponentPeer.java,
6189         java/awt/print/PageFormat.java,
6190         java/awt/print/PrinterJob.java:
6191         New versions from Classpath.
6192
6193 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
6194
6195         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6196         numberFormat.setParseIntegerOnly(true).
6197
6198 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
6199
6200         * include/posix-threads.h: Include <machine/pal.h> on OSF.
6201
6202 2003-06-03  Andrew Haley  <aph@redhat.com>
6203
6204         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6205         stack volatile to prevent optimization from removing it.
6206
6207 2003-05-27  Michael Koch  <konqueror@gmx.de>
6208
6209         * java/util/zip/Deflater.java
6210         (FILTERED): Merged documentation from classpath.
6211         * java/util/zip/DeflaterOutputStream.java
6212         (DeflaterOutputStream): Merged documentation and argument validity
6213         check from classpath.
6214         (deflate): Merged documentation from classpath.
6215         (finish): Likewise.
6216         * java/util/zip/Inflater.java
6217         (Inflater): Merged class documentation from classpath.
6218         (zstream): Reordered.
6219         (is_finished): Reordered.
6220         (dict_needed): Reordered.
6221         (Inflater): Reordered, merged documentation from classpath.
6222         (end): Likewise.
6223         (finalize): Merged documentation from classpath.
6224         (finished): Likewise.
6225         (getAdler): Likewise.
6226         (getRemaining): Likewise.
6227         (getTotalIn): Likewise.
6228         (getTotalOut): Likewise.
6229         (inflate): Likewise.
6230         (needsDictionary): Likewise.
6231         (needsInput): Likewise.
6232         (reset): Likewise.
6233         (setDictionary): Likewise.
6234         (setInput): Likewise.
6235
6236 2003-05-27  Michael Koch  <konqueror@gmx.de>
6237
6238         * java/net/URLConnection.java
6239         (getHeaderFieldInt): Merged with classpath.
6240
6241 2003-05-27  Michael Koch  <konqueror@gmx.de>
6242
6243         * java/io/PrintStream.java
6244         (PrintStream): Reformatted.
6245         (PrintStream): New method, merged from classpath.
6246         (write): Reformatted.
6247
6248 2003-05-27  Michael Koch  <konqueror@gmx.de>
6249
6250         * java/lang/System.java:
6251         Explicitely import needed classes.
6252
6253 2003-05-26  Michael Koch  <konqueror@gmx.de>
6254
6255         * java/net/NetPermission.java,
6256         java/net/NetworkInterface.java,
6257         java/net/PasswordAuthentication.java,
6258         java/net/SocketPermission.java:
6259         New versions from classpath.
6260
6261 2003-05-25  Michael Koch  <konqueror@gmx.de>
6262
6263         * java/io/PushbackInputStream.java,
6264         java/net/Authenticator.java,
6265         java/net/ContentHandler.java,
6266         java/net/ContentHandlerFactory.java,
6267         java/net/DatagramSocket.java,
6268         java/net/DatagramSocketImpl.java,
6269         java/net/DatagramSocketImplFactory.java,
6270         java/net/FileNameMap.java,
6271         java/net/SocketImplFactory.java,
6272         java/net/SocketOptions.java,
6273         java/net/URLStreamHandlerFactory.java:
6274         Merged new versions from classpath.
6275
6276 2003-05-25  Michael Koch  <konqueror@gmx.de>
6277
6278         * java/awt/Checkbox.java,
6279         java/awt/Dialog.java,
6280         java/awt/Font.java,
6281         java/awt/Frame.java,
6282         java/awt/ScrollPaneAdjustable.java,
6283         java/awt/Scrollbar.java,
6284         java/awt/Window.java:
6285         New versions from classpath.
6286
6287 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
6288
6289         PR libgcj/10838:
6290         * java/io/ObjectInputStream (enableResolveObject):
6291         Fixed spelling of permission name.
6292
6293 2003-05-20  Michael Koch  <konqueror@gmx.de>
6294
6295         * java/io/DataInputStream.java
6296         (convertFromUTF): Merged comment from classpath.
6297         * java/io/PrintStream.java
6298         (error_occured): Renamed from error, merged comment from classpath.
6299         (PrintStream): No need to initialized error.
6300         (checkError): Replace error with error_occurred.
6301         (setError): Likewise.
6302
6303 2003-05-20  Michael Koch  <konqueror@gmx.de>
6304
6305         * java/io/DataInputStream.java:
6306         Reformatted, Replaced < and & with html entitites in documentation.
6307         * java/io/File.java:
6308         Reformatted.
6309         * java/io/PrintWriter.java:
6310         Moved class documentation.
6311
6312 2003-05-20  Michael Koch  <konqueror@gmx.de>
6313
6314         * gnu/java/nio/ByteBufferImpl.java,
6315         gnu/java/nio/CharBufferImpl.java,
6316         gnu/java/nio/CharViewBufferImpl.java,
6317         gnu/java/nio/DirectByteBufferImpl.java,
6318         gnu/java/nio/DoubleBufferImpl.java,
6319         gnu/java/nio/DoubleViewBufferImpl.java,
6320         gnu/java/nio/FloatBufferImpl.java,
6321         gnu/java/nio/FloatViewBufferImpl.java,
6322         gnu/java/nio/IntBufferImpl.java,
6323         gnu/java/nio/IntViewBufferImpl.java,
6324         gnu/java/nio/LongBufferImpl.java,
6325         gnu/java/nio/LongViewBufferImpl.java,
6326         gnu/java/nio/natDirectByteBufferImpl.cc,
6327         gnu/java/nio/ShortBufferImpl.java,
6328         gnu/java/nio/ShortViewBufferImpl.java:
6329         Moved files to java/nio.
6330         * gnu/java/nio/SocketChannelImpl.java
6331         
6332         * java/nio/ByteBuffer.java,
6333         java/nio/CharBuffer.java,
6334         java/nio/DoubleBuffer.java,
6335         java/nio/FloatBuffer.java,
6336         java/nio/IntBuffer.java,
6337         java/nio/LongBuffer.java,
6338         java/nio/ShortBuffer.java:
6339         Dont import anything.
6340         * java/nio/ByteBufferImpl.java,
6341         java/nio/CharBufferImpl.java,
6342         java/nio/CharViewBufferImpl.java,
6343         java/nio/DirectByteBufferImpl.java,
6344         java/nio/DoubleBufferImpl.java,
6345         java/nio/DoubleViewBufferImpl.java,
6346         java/nio/FloatBufferImpl.java,
6347         java/nio/FloatViewBufferImpl.java,
6348         java/nio/IntBufferImpl.java,
6349         java/nio/IntViewBufferImpl.java,
6350         java/nio/LongBufferImpl.java,
6351         java/nio/LongViewBufferImpl.java,
6352         java/nio/natDirectByteBufferImpl.cc,
6353         java/nio/ShortBufferImpl.java,
6354         java/nio/ShortViewBufferImpl.java:
6355         Moved from gnu/java/nio.
6356         * Makefile.am
6357         (ordinary_java_source_files): Moved files from gnu/java/nio to
6358         java/nio.
6359         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6360         to java/nio.
6361         * Makefile.in: Regenerated.
6362
6363 2003-05-19  Michael Koch  <konqueror@gmx.de>
6364
6365         * java/util/Calendar.java
6366         (get): Not final anymore since JDK 1.4
6367         (set): Likewise.
6368
6369 2003-05-19  Michael Koch  <konqueror@gmx.de>
6370
6371         * java/text/CollationKey.java:
6372         Merged copyright and dat from classpath.
6373         * java/text/RuleBasedCollator.java:
6374         Merged class documentation from classpath.
6375
6376 2003-05-19  Michael Koch  <konqueror@gmx.de>
6377
6378         * java/nio/CharBuffer.java
6379         (toString): Compile fix.
6380
6381 2003-05-19  Michael Koch  <konqueror@gmx.de>
6382
6383         * gnu/java/nio/ByteBufferImpl.java
6384         (putLong): Fixed conversion to bytes.
6385         (putDouble): Fixed conversion to bytes.
6386         * gnu/java/nio/DirectByteBufferImpl.java
6387         (putLong): Fixed conversion to bytes.
6388         (putDouble): Fixed conversion to bytes.
6389         * gnu/java/nio/FileLockImpl.java
6390         (isValid): Reformatted.
6391         * java/nio/Buffer.java
6392         (Buffer): Fixed off-by-one bug in handling mark.
6393         * java/nio/ByteBuffer.java:
6394         Added newline.
6395         * java/nio/CharBuffer.java
6396         (toString): Don't use relative get to get string data.
6397
6398 2003-05-16  Michael Koch  <konqueror@gmx.de>
6399
6400         * java/io/natFileDescriptorPosix.cc
6401         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6402         tested.
6403
6404 2003-05-14  Michael Koch  <konqueror@gmx.de>
6405
6406         * gnu/java/nio/FileLockImpl.java
6407         (released): New member variable.
6408         (FileLockImpl): Initialize released.
6409         (releaseImpl): New native method.
6410         (release): Implemented.
6411         * gnu/java/nio/SelectorImpl.java: Reformatted.
6412         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6413         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6414         (accept): Throws IOException.
6415         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6416         (implConfigureBlocking): Throws IOException.
6417         (connect): Likewise.
6418         (read): Likewise.
6419         (write): Likewise.
6420         * gnu/java/nio/natFileLockImpl.cc: New file.
6421         * java/nio/channels/FileLock.java: Reformatted.
6422         * Makefile.am:
6423         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6424         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6425         * Makefile.in: Regenerated.
6426
6427 2003-05-13  Michael Koch  <konqueror@gmx.de>
6428
6429         * gnu/java/nio/CharViewBufferImpl.java
6430         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6431         (get): Shift bits to the right direction.
6432         (put): Likewise.
6433         * gnu/java/nio/DoubleViewBufferImpl.java
6434         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6435         (get): Shift bits to the right direction.
6436         (put): Likewise.
6437         * gnu/java/nio/FloatViewBufferImpl.java
6438         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6439         (get): Shift bits to the right direction.
6440         (put): Likewise.
6441         * gnu/java/nio/IntViewBufferImpl.java
6442         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6443         (get): Shift bits to the right direction.
6444         (put): Likewise.
6445         * gnu/java/nio/LongViewBufferImpl.java
6446         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6447         (get): Shift bits to the right direction.
6448         (put): Likewise.
6449         * gnu/java/nio/ShortViewBufferImpl.java
6450         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6451         (get): Shift bits to the right direction.
6452         (put): Likewise.
6453
6454 2003-05-13  Michael Koch  <konqueror@gmx.de>
6455
6456         * gnu/java/nio/natDirectByteBufferImpl.cc
6457         (allocateImpl): jlong -> RawData*.
6458         (freeImpl): Likewise.
6459
6460 2003-05-13  Michael Koch  <konqueror@gmx.de>
6461
6462         * java/nio/channels/FileChannel.java
6463         (MapMode.m): Made it package-private to match JDK 1.4.
6464         * java/nio/charset/Charset.java
6465         (decode): Made it final to match JDK 1.4.
6466
6467 2003-05-13  Michael Koch  <konqueror@gmx.de>
6468
6469        * java/io/FileDescriptor.java
6470        (SYNC): New constant.
6471        (DSYNC): Likewise.
6472        (getLength): Renamed from lenght() to match classpath's
6473        FileDescriptor.java.
6474        * java/io/RandomAccessFile.java
6475        (RandomAccessFile): Removed unneeded mode check, implemented mode
6476        "rws" and "rwd", merged documentation from classpath.
6477        (setLength): Reformatted.
6478        (length): Use new getLength() of FileDescriptor.
6479        * java/io/natFileDescriptorEcos.cc
6480        (getLength): Renamed from length().
6481        * java/io/natFileDescriptorPosix.cc
6482        (open): Implemented support for SYNC and DSYNC.
6483        (seek): Use getLength() instead of length().
6484        (getLength): Renamed from length().
6485        * java/io/natFileDescriptorWin32.cc
6486        (getLength): Renamed from length().
6487        (seek): Use getLength() instead of length().
6488        (available): Likewise.
6489        * gnu/java/nio/natFileChannelImpl.cc
6490        (size): Use getLength() instead of length().
6491
6492 2003-05-13  Michael Koch  <konqueror@gmx.de>
6493
6494         * gnu/java/nio/ByteBufferImpl.java
6495         (ByteBufferImpl): All constructors revised.
6496         (slice): Reimplemented.
6497         (duplicate): Reimplemented.
6498         (asReadOnlyBuffer): Reimplemented.
6499         * java/nio/ByteBuffer.java:
6500         Reformatted.
6501         (array_offset): Renamed from "offset" to match all other buffer
6502         classes.
6503         (ByteBuffer): All constructors revised.
6504         (allocateDirect): Implemented.
6505         (allocate): New implementation, documentation reworked.
6506         (wrap): Likewise.
6507         (get): Documentation reworked.
6508         (put): New implementation, documentation reworked.
6509         (hasArray): Documentation reworked.
6510         (arrayOffset): Likewise.
6511         (hashCode): Likewise.
6512         (equals): Likewise.
6513         (compareTo): Likewise.
6514         (order): Likewise.
6515         (compact): Likewise.
6516         (isDirect): Likewise.
6517         (slice): Likewise.
6518         (duplicate): Likewise.
6519         (asReadOnlyBuffer): Likewise.
6520         * Makefile.am
6521         (ordinary_java_source_files):
6522         Added gnu/java/nio/DirectByteBufferImpl.java.
6523         (nat_source_files):
6524         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6525         * Makefile.in: Regenerated.
6526
6527 2003-05-12  Michael Koch  <konqueror@gmx.de>
6528
6529         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6530         (nio_get_*): Removed.
6531         (nio_put_*): Removed.
6532         (as*Buffer): Implemented.
6533         (compact): Implemented.
6534         (get): Documentation added.
6535         (put): Documentation added.
6536         (get*): Newly implemented.
6537         (put*): Newly implemented.
6538         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6539         (CharBufferImpl): Revised.
6540         (slice): New implementation.
6541         (duplicate): New implementation.
6542         (compact): New implementation.
6543         (asReadOnlyBuffer): New implementation.
6544         (get): Documentation revised.
6545         (order): Return native byte order.
6546         * gnu/java/nio/DirectByteBufferImpl.java
6547         (allocateDirect): objects can be null not 0.
6548         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6549         (DoubleBufferImpl): Revised.
6550         (slice): New implementation.
6551         (duplicate): New implementation.
6552         (compact): New implementation.
6553         (asReadOnlyBuffer): New implementation.
6554         (get): Documentation revised.
6555         (order): Return native byte order.
6556         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6557         (FloatBufferImpl): Revised.
6558         (slice): New implementation.
6559         (duplicate): New implementation.
6560         (compact): New implementation.
6561         (asReadOnlyBuffer): New implementation.
6562         (get): Documentation revised.
6563         (order): Return native byte order.
6564         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6565         (IntBufferImpl): Revised.
6566         (slice): New implementation.
6567         (duplicate): New implementation.
6568         (compact): New implementation.
6569         (asReadOnlyBuffer): New implementation.
6570         (get): Documentation revised.
6571         (order): Return native byte order.
6572         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6573         (LongBufferImpl): Revised.
6574         (slice): New implementation.
6575         (duplicate): New implementation.
6576         (compact): New implementation.
6577         (asReadOnlyBuffer): New implementation.
6578         (get): Documentation revised.
6579         (order): Return native byte order.
6580         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6581         (ShortBufferImpl): Revised.
6582         (slice): New implementation.
6583         (duplicate): New implementation.
6584         (compact): New implementation.
6585         (asReadOnlyBuffer): New implementation.
6586         (get): Documentation revised.
6587         (order): Return native byte order.
6588         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6589         (CharBuffer): Revised.
6590         (order): Removed.
6591         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6592         (DoubleBuffer): Revised.
6593         (allocateDirect): Removed.
6594         (order): Removed.
6595         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6596         (FloatBuffer): Revised.
6597         (allocateDirect): Removed.
6598         (order): Removed.
6599         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6600         (IntBuffer): Revised.
6601         (allocateDirect): Removed.
6602         (order): Removed.
6603         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6604         (LongBuffer): Revised.
6605         (allocateDirect): Removed.
6606         (order): Removed.
6607         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6608         (ShortBuffer): Revised.
6609         (allocateDirect): Removed.
6610         (order): Removed.
6611         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6612         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6613         * Makefile.am
6614         (ordinary_java_source_files): Added the following files:
6615         gnu/java/nio/CharViewBufferImpl.java,
6616         gnu/java/nio/DoubleViewBufferImpl.java,
6617         gnu/java/nio/FloatViewBufferImpl.java,
6618         gnu/java/nio/IntViewBufferImpl.java,
6619         gnu/java/nio/LongViewBufferImpl.java,
6620         gnu/java/nio/ShortViewBufferImpl.java
6621         (nat_source_files): Removed the following files:
6622         gnu/java/nio/natByteBufferImpl.cc,
6623         gnu/java/nio/natCharBufferImpl.cc
6624         * Makefile.in: Regenerated.
6625
6626 2003-05-12  Michael Koch  <konqueror@gmx.de>
6627
6628         * gnu/java/nio/CharViewBufferImpl.java,
6629         gnu/java/nio/DirectByteBufferImpl.java,
6630         gnu/java/nio/DoubleViewBufferImpl.java,
6631         gnu/java/nio/FloatViewBufferImpl.java,
6632         gnu/java/nio/IntViewBufferImpl.java,
6633         gnu/java/nio/LongViewBufferImpl.java,
6634         gnu/java/nio/ShortViewBufferImpl.java,
6635         gnu/java/nio/natDirectByteBufferImpl.cc:
6636         New files, not yet to be compiled.
6637
6638 2003-05-10  Michael Koch  <konqueror@gmx.de>
6639
6640         * javax/swing/plaf/ButtonUI.java,
6641         javax/swing/plaf/ColorUIResource.java,
6642         javax/swing/plaf/ComponentUI.java,
6643         javax/swing/plaf/DimensionUIResource.java,
6644         javax/swing/plaf/FontUIResource.java,
6645         javax/swing/plaf/IconUIResource.java,
6646         javax/swing/plaf/InsetsUIResource.java,
6647         javax/swing/plaf/LabelUI.java,
6648         javax/swing/plaf/ListUI.java,
6649         javax/swing/plaf/OptionPaneUI.java,
6650         javax/swing/plaf/PanelUI.java,
6651         javax/swing/plaf/TabbedPaneUI.java,
6652         javax/swing/plaf/TextUI.java,
6653         javax/swing/plaf/TreeUI.java,
6654         javax/swing/plaf/ViewportUI.java,
6655         javax/swing/plaf/basic/BasicBorders.java,
6656         javax/swing/plaf/basic/BasicButtonUI.java,
6657         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6658         javax/swing/plaf/basic/BasicDefaults.java,
6659         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6660         javax/swing/plaf/basic/BasicIconFactory.java,
6661         javax/swing/plaf/basic/BasicLabelUI.java,
6662         javax/swing/plaf/basic/BasicListUI.java,
6663         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6664         javax/swing/plaf/basic/BasicPanelUI.java,
6665         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6666         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6667         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6668         javax/swing/plaf/basic/BasicTextUI.java,
6669         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6670         javax/swing/plaf/basic/BasicTreeUI.java,
6671         javax/swing/plaf/basic/BasicViewportUI.java,
6672         javax/swing/plaf/metal/MetalLookAndFeel.java:
6673         New versions from classpath. This adds copyrights to all files and
6674         some serialVersionUIDs.
6675
6676 2003-05-10  Michael Koch  <konqueror@gmx.de>
6677
6678         * java/nio/CharBuffer.java
6679         (offset): Make it package-private.
6680         (backing_buffer): Likewise.
6681         * java/nio/DoubleBuffer.java
6682         (offset): Make it package-private.
6683         (backing_buffer): Likewise.
6684         (put): Reformatted.
6685         * java/nio/FloatBuffer.java
6686         (offset): Make it package-private.
6687         (backing_buffer): Likewise.
6688         * java/nio/IntBuffer.java
6689         (offset): Make it package-private.
6690         (backing_buffer): Likewise.
6691         * java/nio/LongBuffer.java
6692         (offset): Make it package-private.
6693         (backing_buffer): Likewise.
6694         * java/nio/ShortBuffer.java
6695         (offset): Make it package-private.
6696         (backing_buffer): Likewise.
6697
6698 2003-05-10  Michael Koch  <konqueror@gmx.de>
6699
6700         * java/nio/CharBuffer.java
6701         (put): Fixed precondtion check.
6702         (toString): Make it work without backing array.
6703         (put): Skip one level of method calling.
6704
6705 2003-05-10  Michael Koch  <konqueror@gmx.de>
6706
6707         * java/security/Identity.java,
6708         java/security/IdentityScope.java,
6709         java/security/Key.java,
6710         java/security/KeyPair.java,
6711         java/security/PrivateKey.java,
6712         java/security/Provider.java,
6713         java/security/PublicKey.java,
6714         java/security/SecureRandom.java,
6715         java/security/SecureRandomSpi.java,
6716         java/security/SignedObject.java,
6717         java/security/Signer.java,
6718         java/security/cert/Certificate.java,
6719         java/security/cert/PKIXCertPathBuilderResult.java,
6720         java/security/cert/X509Certificate.java:
6721         New versions from classpath.
6722
6723 2003-05-09  Tom Tromey  <tromey@redhat.com>
6724
6725         * Makefile.in: Rebuilt.
6726         * Makefile.am (nat_source_files): Removed old files.
6727         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6728         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6729         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6730         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6731         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6732
6733 2003-05-09  Michael Koch  <konqueror@gmx.de>
6734
6735         * gnu/java/nio/ByteBufferImpl.java
6736         (nio_cast): Removed.
6737         (ByteBufferImpl): Removed.
6738         (nio_get_Byte): Removed.
6739         (nio_put_Byte): Removed.
6740         (asByteBuffer): Removed.
6741         (asCharBuffer): Removed implementation and throw exception.
6742         (asShortBuffer): Likewise.
6743         (asIntBuffer): Likewise.
6744         (asLongBuffer): Likewise.
6745         (asFloatBuffer): Likewise.
6746         (asDoubleBuffer): Likewise.
6747         * gnu/java/nio/CharBufferImpl.java
6748         (CharBufferImpl): Removed.
6749         (nio_get_Byte): Removed.
6750         (nio_put_Byte): Removed.
6751         (asByteBuffer): Removed.
6752         * gnu/java/nio/DoubleBufferImpl.java
6753         (DoubleBufferImpl): Removed.
6754         (nio_get_Byte): Removed.
6755         (nio_put_Byte): Removed.
6756         (asByteBuffer): Removed.
6757         * gnu/java/nio/FloatBufferImpl.java
6758         (FloatBufferImpl): Removed.
6759         (nio_get_Byte): Removed.
6760         (nio_put_Byte): Removed.
6761         (asByteBuffer): Removed.
6762         * gnu/java/nio/IntBufferImpl.java
6763         (IntBufferImpl): Removed.
6764         (nio_get_Byte): Removed.
6765         (nio_put_Byte): Removed.
6766         (asByteBuffer): Removed.
6767         * gnu/java/nio/LongBufferImpl.java
6768         (LongBufferImpl): Removed.
6769         (nio_get_Byte): Removed.
6770         (nio_put_Byte): Removed.
6771         (asByteBuffer): Removed.
6772         * gnu/java/nio/ShortBufferImpl.java
6773         (ShortBufferImpl): Removed.
6774         (nio_get_Byte): Removed.
6775         (nio_put_Byte): Removed.
6776         (asByteBuffer): Removed.
6777         * gnu/java/nio/natByteBufferImpl.cc
6778         (nio_cast): Removed.
6779         (nio_get_Byte): Removed.
6780         (nio_put_Byte): Removed.
6781         * gnu/java/nio/natCharBufferImpl.cc
6782         (nio_get_Byte): Removed.
6783         (nio_put_Byte): Removed.
6784
6785 2003-05-09  Michael Koch  <konqueror@gmx.de>
6786
6787         * java/net/JarURLConnection.java
6788         (getJarEntry): Merged documentation from classpath.
6789         (getJarFile): Likewise.
6790         (getMainAttributes): Likewise.
6791         (getAttributes): Likewise.
6792         (getManifest): Likewise.
6793         (getCertificates): Reformatted.
6794         * java/net/URLConnection.java:
6795         Little classpath merge.
6796
6797 2003-05-09  Michael Koch  <konqueror@gmx.de>
6798
6799         * java/io/DataOutputStream.java
6800         (writeShort): Made it synchronized.
6801         (writeChar): Likewise.
6802         (writeInt): Likewise.
6803         (writeLong): Liekwise.
6804         (writeUTF): Made it synchronized, renamed argument to match classpath.
6805         * java/io/InputStreamReader.java
6806         (converter): Added documentation.
6807         (read): Merged documentation from classpath.
6808         * java/io/OutputStreamWriter.java
6809         (OutputStreamWriter): Merged documentation from classpath.
6810         (close): Reformatted.
6811         (getEncoding): Likewise.
6812         (flush): Likewise.
6813         (write): Merged documentation from classpath, reformatted.
6814
6815 2003-05-08  Tom Tromey  <tromey@redhat.com>
6816
6817         * configure.host <powerpc64*-*>: Set with_libffi_default and
6818         libgcj_interpreter to "yes".
6819
6820 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6821
6822         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6823         
6824 2003-05-06  Tom Tromey  <tromey@redhat.com>
6825
6826         * verify.cc: Reverted previous patch.
6827
6828 2003-05-06  Michael Koch  <konqueror@gmx.de>
6829
6830         * java/io/DataOutputStream.java
6831         (write): Renamed argument to "value", merged documentation from
6832         classpath.
6833         (writeBoolean): Likewise.
6834         (writeByte): Likewise.
6835         (writeShort): Likewise.
6836         (writeChar): Likewise.
6837         (writeInt): Likewise.
6838         (writeLong): Likewise.
6839         (writeFloat): Likewise.
6840         (writeDouble): Likewise.
6841         (writeBytes): Likewise.
6842         (writeChars): Likewise.
6843         (writeUTF): Likewise.
6844         * java/io/File.java
6845         (performDelete): Added documentation.
6846         (performList): Likewise.
6847         (performMkdir): Likewise.
6848         (performSetReadOnly): Likewise.
6849         (performRenameTo): Likewise.
6850         (performSetLastModified): Likewise.
6851         (delete): Made it sychronized.
6852         (renameTo): Made it sychronized.
6853         (equals): Reformatted.
6854         (isHidden): Likewise.
6855         (listFiles): Likewise.
6856         (setReadOnly): Likewise.
6857         (listRoots): Likewise.
6858         (setLastModified): Likewise.
6859         (checkRead): Likewise.
6860         (checkWrite): Likewise.
6861         * java/io/FileInputStream.java
6862         (skip): Made it sychronized, merged from classpath.
6863         * java/io/FileOutputStream.java
6864         (write): Merged from classpath.
6865         * java/io/InputStreamReader.java:
6866         (InputStreamReader): Merged documentation from classpath.
6867
6868 2003-05-05  Michael Koch  <konqueror@gmx.de>
6869
6870         * java/net/NetworkInterface.java
6871         (networkInterfaces): Removed.
6872         (getByName): Use getRealNetworkInterfaces() instead of
6873         networkInterfaces.
6874         (getByInetAddress): Likewise.
6875         (getNetworkInterfaces): Likewise.
6876         (toString): Fix output of addresses of an interface.
6877
6878 2003-05-05  Michael Koch  <konqueror@gmx.de>
6879
6880         * java/io/DataInputStream.java:
6881         Merged new documentation from classpath.
6882
6883 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6884
6885         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6886         "version".
6887         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6888         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6889         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6890         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6891         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6892         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6893         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6894         * java/security/Key.java: Likewise.
6895         * java/security/PrivateKey.java: Likewise.
6896         * java/security/Provider.java: Likewise.
6897         * java/security/PublicKey.java: Likewise.
6898
6899 2003-05-02  Michael Koch  <konqueror@gmx.de>
6900
6901         * java/net/URI.java
6902         (create): Doesnt throws any exceptions.
6903         * java/net/URLConnection.java
6904         (URLConnection): Commend added.
6905         (getExpiration): The header field is called "expires" not
6906         "expiration".
6907         (getHeaderField): Merged documentation with classpath.
6908         (getHeaderFieldInt): Likewise.
6909         (getHeaderFieldDate): Likewise.
6910         (getHeaderFieldKey): Likewise.
6911         (getPermission): Likewise.
6912         (setDefaultUseCaches): Likewise.
6913         (setRequestProperty): Likewise.
6914         (addRequestProperty): Likewise.
6915         (getRequestProperty): Likewise.
6916         (getRequestProperties): Likewise.
6917         (setDefaultRequestProperty): Likewise.
6918         (getDefaultRequestProperty): Likewise.
6919         (guessContentTypeFromStream): Likewise.
6920         (getFileNameMap): Likewise.
6921         (setFileNameMap): Likewise.
6922         (setDoInput): Merged implementation and documentation with classpath.
6923         (setDoOutput): Likewise.
6924         (setAllowUserInteraction): Likewise.
6925         (setDefaultAllowUserInteraction): Likewise.
6926         (setContentHandlerFactory): Made it synchronized, merged documentation
6927         with classpath.
6928         (guessContentTypeFromName): Renamed argument fname to filename to
6929         match classpath, merged documentation with classpath.
6930
6931 2003-05-02  Michael Koch  <konqueror@gmx.de>
6932
6933         * java/net/JarURLConnection.java
6934         (JarURLConnection): Class documentation merged with classpath.
6935         (getJarFileURL): Moved and documentation merged with classpath.
6936         (getEntryName): Likewise.
6937         (JarURLConnection): Documentation merged with classpath.
6938         (getJarEntry): Likewise.
6939         (getJarFile): Likewise.
6940         * java/net/PlainDatagramSocketImpl.java:
6941         Class documentation moved.
6942         * java/net/URLConnection.java
6943         (fileNameMap): Moved and documentation merged with classpath.
6944         (factory): Likewise.
6945         (defaultAllowUserInteraction): Likewis.
6946         (defaultUseCaches): Likewise.
6947         (allowUserInteraction): Likewise.
6948         (connected): Likewise.
6949         (url): Likewise.
6950         (connect): Documentation merged with classpath.
6951         (getURL): Likewise.
6952         (getContentLength): Likewise.
6953         (getContentType): Likewise.
6954         (getContentEncoding): Likewise.
6955         (getExpiration): Likewise.
6956         (getDate): Likewise.
6957         (getLastModified): Likewise.
6958         (getHeaderField): Likewise.
6959         (getContent): Likewise.
6960         (getPermission): Likewise.
6961         (getInputStream): Likewise.
6962         (getOutputStream): Likewise.
6963         (toString): Likewise.
6964         (getDoInput): Likewise.
6965         (getDoOutput): Likewise.
6966         (setAllowUserInteraction): Likewise.
6967         (getAllowUserInteraction): Likewise.
6968         (setDefaultAllowUserInteraction): Likewise.
6969         (getDefaultAllowUserInteraction): Likewise.
6970         (setUseCaches): Likewise.
6971         (getUseCaches): Likewise.
6972         (setIfModifiedSince): Likewise.
6973         (getIfModifiedSince): Likewise.
6974         (setDefaultRequestProperty): Likewise.
6975         (getDefaultRequestProperty): Likewise.
6976         (setContentHandlerFactory): Likewise.
6977         (setFileNameMap): Likewise.
6978
6979 2003-05-02  Michael Koch  <konqueror@gmx.de>
6980
6981         * java/net/InetAddress.java:
6982         Merged class documentation with classpath.
6983         * java/net/JarURLConnection.java:
6984         Explicitely import all used classes.
6985         * java/net/URL.java:
6986         Reformatting.
6987         * java/net/ServerSocket.java,
6988         java/net/Socket.java:
6989         New versions from classpath.
6990
6991 2003-05-02  Michael Koch  <konqueror@gmx.de>
6992
6993         * gnu/java/nio/FileChannelImpl.java
6994         (read): New implementation.
6995         (implRead): New methods.
6996         (write): New implementation, call other write insteal of read method.
6997         (implWrite): New methods.
6998         (map): Added comment.
6999         (transferFrom): Implemented.
7000         (transferTo): Implemented.
7001         (lock): Added checks to throw exceptions.
7002         (truncate): Added check to throw exception.
7003         * gnu/java/nio/natFileChannelImpl.cc
7004         (implRead): New method.
7005         (implWrite): New method.
7006         * java/nio/ByteBuffer.java
7007         (hashCode): Fixed comment.
7008         (get): Fixed exception documentation.
7009         (put): Fixed exception documentation.
7010         * java/nio/CharBuffer.java:
7011         Added comment for later optimizations.
7012
7013 2003-04-30  Tom Tromey  <tromey@redhat.com>
7014
7015         PR libgcj/10582:
7016         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7017         Removed.
7018         (type::compatible): Use _Jv_IsAssignableFrom.
7019         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7020         (_Jv_IsAssignableFrom): Work even when source or target class is
7021         not prepared.
7022
7023 2003-04-30  Michael Koch  <konqueror@gmx.de>
7024
7025         * java/text/BreakIterator.java
7026         (clone): New method.
7027
7028 2003-04-30  Michael Koch  <konqueror@gmx.de>
7029
7030         * java/text/CollationElementIterator.java,
7031         java/text/CollationKey.java,
7032         java/text/RuleBasedCollator.java:
7033         Merged copyright and documentation from classpath and
7034         rearranged some code. No code changes done.
7035
7036 2003-04-30  Michael Koch  <konqueror@gmx.de>
7037
7038         * java/util/regex/Matcher.java
7039         (pattern): New member variable.
7040         (appendReplacement): New method.
7041         (appendTail): New method.
7042         (end): New method.
7043         (find): New method.
7044         (group): New method.
7045         (replaceFirst): Added documentation.
7046         (replaceAll): Added documentation.
7047         (groupCount): New method.
7048         (lookingAt): New method.
7049         (matches): New method.
7050         (reset): New method.
7051         (start): New method.
7052         * java/util/regex/Pattern.java
7053         (serialVersionUID): New constant.
7054         (CANON_EQ): New constant.
7055         (CASE_INSENSITIVE): New constant.
7056         (COMMENTS): New constant.
7057         (DOTALL): New constant.
7058         (MULTILINE): New constant.
7059         (UNICODE_CASE): New constant.
7060         (UNIX_LINES): New constant.
7061         (regex): New member variable.
7062         (flags): New member variable.
7063         (Pattern): New method.
7064         (compile): Documentation added.
7065         (flags): New method.
7066         (matches): Documentation added.
7067         (matcher): Documentation added.
7068         (split): Documentation added.
7069         (pattern): New method.
7070
7071 2003-04-30  Michael Koch  <konqueror@gmx.de>
7072
7073         * gnu/java/security/Engine.java,
7074         gnu/java/security/OID.java,
7075         gnu/java/security/der/BitString.java,
7076         gnu/java/security/der/DER.java,
7077         gnu/java/security/der/DERReader.java,
7078         gnu/java/security/der/DERValue.java,
7079         gnu/java/security/der/DERWriter.java,
7080         gnu/java/security/provider/DSAKeyFactory.java,
7081         gnu/java/security/provider/X509CertificateFactory.java,
7082         gnu/java/security/x509/X500DistinguishedName.java,
7083         gnu/java/security/x509/X509CRL.java,
7084         gnu/java/security/x509/X509CRLEntry.java,
7085         gnu/java/security/x509/X509Certificate.java,
7086         java/security/cert/CRLSelector.java,
7087         java/security/cert/CertPathBuilder.java,
7088         java/security/cert/CertPathBuilderResult.java,
7089         java/security/cert/CertPathBuilderSpi.java,
7090         java/security/cert/CertPathParameters.java,
7091         java/security/cert/CertPathValidator.java,
7092         java/security/cert/CertPathValidatorResult.java,
7093         java/security/cert/CertPathValidatorSpi.java,
7094         java/security/cert/CertSelector.java,
7095         java/security/cert/CertStore.java,
7096         java/security/cert/CertStoreParameters.java,
7097         java/security/cert/CertStoreSpi.java,
7098         java/security/cert/CollectionCertStoreParameters.java,
7099         java/security/cert/LDAPCertStoreParameters.java,
7100         java/security/cert/PKIXBuilderParameters.java,
7101         java/security/cert/PKIXCertPathBuilderResult.java,
7102         java/security/cert/PKIXCertPathChecker.java,
7103         java/security/cert/PKIXCertPathValidatorResult.java,
7104         java/security/cert/PKIXParameters.java,
7105         java/security/cert/PolicyNode.java,
7106         java/security/cert/PolicyQualifierInfo.java,
7107         java/security/cert/TrustAnchor.java,
7108         javax/security/auth/x500/X500Principal.java:
7109         New files from classpath.
7110         * gnu/java/io/ASN1ParsingException.java,
7111         gnu/java/io/Base64InputStream.java,
7112         gnu/java/security/der/DEREncodingException.java,
7113         gnu/java/security/provider/DSAParameters.java,
7114         gnu/java/security/provider/DSASignature.java,
7115         gnu/java/security/provider/Gnu.java,
7116         gnu/java/security/provider/GnuDSAPrivateKey.java,
7117         gnu/java/security/provider/GnuDSAPublicKey.java,
7118         java/security/AlgorithmParameterGenerator.java,
7119         java/security/AlgorithmParameters.java,
7120         java/security/KeyFactory.java,
7121         java/security/KeyPairGenerator.java,
7122         java/security/KeyStore.java,
7123         java/security/MessageDigest.java,
7124         java/security/SecureClassLoader.java,
7125         java/security/SecureRandom.java,
7126         java/security/Security.java,
7127         java/security/Signature.java,
7128         java/security/cert/Certificate.java,
7129         java/security/cert/CertificateFactory.java,
7130         java/security/cert/CertificateFactorySpi.java,
7131         java/security/cert/X509CRL.java,
7132         java/security/cert/X509Certificate.java,
7133         java/security/spec/DSAPublicKeySpec.java:
7134         New versions from classpath.
7135         * gnu/java/security/provider/DERReader.java,
7136         gnu/java/security/provider/DERWriter.java,
7137         java/security/Engine.java: Removed.
7138         * Makefile.am
7139         (java_source_files, javax_source_files): Added new files.
7140         * Makefile.in: Regenerated.
7141
7142 2003-04-29  Michael Koch  <konqueror@gmx.de>
7143
7144         * javax/swing/JTable.java
7145         (AUTO_RESIZE_ALL_COLUMNS): New constant.
7146         (AUTO_RESIZE_LAST_COLUMN): New constant.
7147         (AUTO_RESIZE_NEXT_COLUMN): New constant.
7148         (AUTO_RESIZE_OFF): New constant.
7149         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7150         (JTable): New method.
7151         (columnAdded): New method.
7152         (columnMarginChanged): New method.
7153         (columnMoved): New method.
7154         (columnRemoved): New method.
7155         (columnSelectionChanged): New method.
7156         (editingCanceled): New method.
7157         (editingStopped): New method.
7158         (getColumnModel): New method.
7159         (getPreferredScrollableViewportSize): New method.
7160         (getScrollableBlockIncrement): New method.
7161         (getScrollableTracksViewportHeight): New method.
7162         (getScrollableTracksViewportWidth): New method.
7163         (getScrollableUnitIncrement): New method.
7164         (getSelectedRow): New method.
7165         (getSelectionModel): New method.
7166         (tableChanged): New method.
7167         (setModel): New method.
7168         (setSelectionMode): New method.
7169         (setSelectionModel): New method.
7170         (setShowGrid): New method.
7171         (valueChanged): New method.
7172         * javax/swing/text/DefaultEditorKit.java
7173         (backwardAction): New constant.
7174         (beepAction): New constant.
7175         (beginAction): New constant.
7176         (beginLineAction): New constant.
7177         (beginParagraphAction): New constant.
7178         (beginWordAction): New constant.
7179         (copyAction): New constant.
7180         (cutAction): New constant.
7181         (defaultKeyTypedAction): New constant.
7182         (deleteNextCharAction): New constant.
7183         (deletePrevCharAction): New constant.
7184         (downAction): New constant.
7185         (endAction): New constant.
7186         (endLineAction): New constant.
7187         (endOfLineStringProperty): New constant.
7188         (endParagraphAction): New constant.
7189         (endWordAction): New constant.
7190         (forwardAction): New constant.
7191         (insertBreakAction): New constant.
7192         (insertContentAction): New constant.
7193         (insertTabAction): New constant.
7194         (nextWordAction): New constant.
7195         (pageDownAction): New constant.
7196         (pageUpAction): New constant.
7197         (pasteAction): New constant.
7198         (previousWordAction): New constant.
7199         (readOnlyAction): New constant.
7200         (selectAllAction): New constant.
7201         (selectionBackwardAction): New constant.
7202         (selectionBeginAction): New constant.
7203         (selectionBeginLineAction): New constant.
7204         (selectionBeginParagraphAction): New constant.
7205         (selectionBeginWordAction): New constant.
7206         (selectionDownAction): New constant.
7207         (selectionEndAction): New constant.
7208         (selectionEndLineAction): New constant.
7209         (selectionEndParagraphAction): New constant.
7210         (selectionEndWordAction): New constant.
7211         (selectionForwardAction): New constant.
7212         (selectionNextWordAction): New constant.
7213         (selectionPreviousWordAction): New constant.
7214         (selectionUpAction): New constant.
7215         (selectLineAction): New constant.
7216         (selectParagraphAction): New constant.
7217         (selectWordAction): New constant.
7218         (upAction): New constant.
7219         (writableAction): New constant.
7220
7221 2003-04-29  Michael Koch  <konqueror@gmx.de>
7222
7223         * java/util/PropertyPermission.java:
7224         New version from classpath
7225         * java/util/ResourceBundle.java:
7226         Partly merged from classpath
7227         (getObject): Reformated.
7228         (tryBundle): Set foundBundle = null if no bundle found.
7229
7230 2003-04-29  Michael Koch  <konqueror@gmx.de>
7231
7232         * javax/swing/AbstractListModel.java,
7233         javax/swing/DefaultBoundedRangeModel.java,
7234         javax/swing/DefaultSingleSelectionModel.java:
7235         New Versions from classpath.
7236
7237 2003-04-29  Michael Koch  <konqueror@gmx.de>
7238
7239         * java/awt/Window.java
7240         (show): Call super.show() instead of setVisible() to avoid endless
7241         loop.
7242         (hide): Call super.hide() instead of setVisible() to avoid endless
7243         loop.
7244
7245 2003-04-29  Michael Koch  <konqueror@gmx.de>
7246
7247         * java/util/zip/Deflater.java,
7248         java/util/zip/DeflaterOutputStream.java:
7249         Partly merged with classpath.
7250
7251 2003-04-27  Tom Tromey  <tromey@redhat.com>
7252
7253         * java/lang/natString.cc (_Jv_AllocString): Initialize
7254         cachedHashCode.
7255         (init): Likewise.
7256         (_Jv_NewStringUtf8Const): Likewise.
7257
7258 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
7259
7260         * include/jvm.h: (_Jv_GetNbArgs) added
7261         (_Jv_GetSafeArg) added
7262         (_Jv_SetArgs) added
7263         * prims.cc: (_Jv_GetNbArgs) implemented
7264         (_Jv_GetSafeArg) implemented
7265         (_Jv_SetArgs) implemented
7266         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7267         setting _Jv_argc and _Jv_argv
7268         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7269         instead of _Jv_argv
7270         * java/lang/natRuntime.cc: (insertSystemProperties) use
7271         _Jv_GetSafeArg() instead of _Jv_argv
7272
7273 2003-04-23  Tom Tromey  <tromey@redhat.com>
7274
7275         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7276         required by this object.  Search superclasses to find required
7277         alignment.
7278         (get_alignment_from_class): Use alignment of type as it appears
7279         in a struct.
7280         (ALIGNOF): New macro.
7281         (struct aligner): New helper structure.
7282
7283 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
7284
7285         * java/awt/Container.java (addImpl): Enable paint events if adding
7286         a lightweight to a heavyweight.
7287         (addNotify): Ensure that peer is created before
7288         addNotifyContainerChildren.
7289         (addNotifyContainerChildren): Enable paint events if a heavyweight
7290         container contains a lightweight.
7291
7292 2003-04-20  Tom Tromey  <tromey@redhat.com>
7293
7294         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7295         java/io/DataInput.java, java/io/DataOutput.java: Imports from
7296         Classpath.
7297
7298 2003-04-19  Tom Tromey  <tromey@redhat.com>
7299
7300         * java/sql/Date.java, java/sql/DriverManager.java,
7301         java/sql/Time.java, java/sql/Timestamp.java: New versions from
7302         Classpath.
7303
7304         * Makefile.in: Rebuilt.
7305         * Makefile.am (ordinary_java_source_files): Added new files.
7306         * java/security/AlgorithmParameterGenerator.java,
7307         java/security/AlgorithmParameters.java, java/security/Engine.java,
7308         java/security/Identity.java, java/security/IdentityScope.java,
7309         java/security/KeyFactory.java,
7310         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7311         java/security/MessageDigest.java, java/security/Policy.java,
7312         java/security/ProtectionDomain.java,
7313         java/security/SecureRandom.java, java/security/Security.java,
7314         java/security/Signature.java, java/security/SignatureSpi.java,
7315         java/security/SignedObject.java, java/security/Signer.java,
7316         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7317         java/security/spec/PSSParameterSpec.java,
7318         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7319         java/security/spec/RSAOtherPrimeInfo.java: New versions from
7320         Classpath.
7321
7322 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7323
7324         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7325         (dispose): Null metrics.
7326         * gnu/awt/xlib/XToolkit.java (sync): Implement.
7327         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7328         finalize.
7329         (finalize): Call dispose.
7330         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7331         (gcCachedCount): New field.
7332         (finalize): New method.
7333         (putGCInCache): New method.
7334         (getGCFromCache): New method.
7335         * gnu/gcj/xlib/GC.java (GC): Make protected.
7336         (clone): Get new GC from cache if possible.
7337         (create): New static method.
7338         (dispose): Save old GC in cache.
7339         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7340         deleting.
7341         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7342         is null.
7343         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7344         * java/awt/Container.java (visitChild): Dispose gfx2 when
7345         finished.
7346
7347 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
7348
7349         * java/math/BigInteger.java (probablePrime): New.
7350         * java/math/BigDecimal.java (unscaledValue): New.
7351
7352 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
7353
7354         * java/io/File.java (getAbsolutePath): On Windows, take care
7355         of paths like "C:", "G:foo\bar", etc.
7356         (getName): Make it work correctly on Windows.
7357         (getParent): Make it work correctly on Windows. For UNIX,
7358         fix bug that causes "/" to be returned as the parent of "/",
7359         instead of null as returned by Sun's JRE.
7360
7361         * java/io/natFileWin32.cc: Change copyright owner to FSF.
7362
7363 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7364
7365         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7366         inner class.
7367         (CACHE_SIZE_PER_DISPLAY): New field
7368         (fontMetricsCache): New field
7369         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7370         loading ISO10646-1 fonts.
7371
7372 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7373
7374         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7375         characters.
7376         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7377         characters.
7378
7379 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7380
7381         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7382         floating point.
7383
7384 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7385
7386         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7387         installed libpthread is either linuxthreads with floating stacks or
7388         NPTL.
7389
7390 2003-04-14  Tom Tromey  <tromey@redhat.com>
7391
7392         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7393         of alignment.
7394
7395 2003-04-10  Tom Tromey  <tromey@redhat.com>
7396
7397         * verify.cc (pop64): Removed.
7398         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7399         exception if top-of-stack is narrow.
7400         (initialize_stack): Check to ensure that <init> is not static and
7401         <clinit> is.
7402
7403 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7404
7405         * java/io/ObjectStreamException
7406         * java/io/FileFilter
7407         * java/io/FilenameFilter
7408         * java/io/ObjectInput
7409         * java/io/ObjectOutput
7410         * java/io/ObjectStreamConstants
7411         Minor doc fixes, format fixes, spelling corrections, etc.
7412         * java/io/DataInput
7413         Corrected code samples in Javadocs to match reality
7414         * java/io/DataOutput
7415         * java/io/ObjectInputValidation
7416         Major documentation fixes - all Javadocs re-written or updated
7417
7418 2003-04-06  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/net/URLConnection.java:
7421         Import classes directly.
7422         (URLConnection): Merged class documentation with classpath.
7423         (url): Moved, documentation from classpath added.
7424         (doInput): Moved, documentation from classpath added.
7425         (doOutput): Moved, documentation from classpath added.
7426         (allowUserInteraction): Moved.
7427         (useCaches): Moved, documentation from classpath added.
7428         (ifModifiedSince): Moved, documentation from classpath added.
7429         (connected): Moved, documentation from classpath added.
7430
7431 2003-04-06  Michael Koch  <konqueror@gmx.de>
7432
7433         * java/io/FileInputStream.java
7434         (skip): Renamed some variables to match classpath, added
7435         checks from classpath.
7436
7437 2003-03-31  Michael Koch  <konqueror@gmx.de>
7438
7439         * javax/swing/AbstractAction.java
7440         (AbstractAction): Reformatted.
7441         (serialVersionUID): New private member variable.
7442         * javax/swing/plaf/BorderUIResource.java
7443         (serialVersionUID): New private member variable.
7444         * javax/swing/plaf/basic/BasicLookAndFeel.java
7445         (serialVersionUID): New private member variable.
7446
7447 2003-03-31  Michael Koch  <konqueror@gmx.de>
7448
7449         * java/sql/Date.java
7450         (valueOf): Deprecated, reformatted.
7451         (toString): Deprecated, reformatted.
7452         * java/sql/Time.java
7453         (valueOf): Deprecated, reformatted.
7454         (toString): Deprecated, reformatted.
7455
7456 2003-03-31  Michael Koch  <konqueror@gmx.de>
7457
7458         * java/rmi/dgc/VMID.java
7459         (isUnique): Deprecated.
7460
7461 2003-03-31  Michael Koch  <konqueror@gmx.de>
7462
7463         * java/io/File.java
7464         (separator): Merged documentation from classpath.
7465         (separatorChar): Merged documentation from classpath.
7466         (pathSeparator): Merged documentation from classpath.
7467         (pathSeparatorChar): Merged documentation from classpath.
7468         (path): Merged documentation from classpath.
7469         (canRead): Merged documentation from classpath.
7470         (canWrite): Merged documentation from classpath.
7471         (createNewFile): Merged documentation from classpath.
7472         (delete): Merged documentation from classpath.
7473         (equals): Merged documentation from classpath.
7474         (exists): Merged documentation from classpath.
7475         (File): Renamed p to name to match classpath, merged documentation
7476         from classpath.
7477         (getAbsolutePath): Merged documentation from classpath.
7478         (getCanonicalPath): Merged documentation from classpath.
7479         (getCanonicalFile): Merged documentation from classpath.
7480         (getName): Merged documentation from classpath.
7481         (getParent): Merged documentation from classpath.
7482         (getParentFile): Merged documentation from classpath.
7483         (getPath): Merged documentation from classpath.
7484         (hashCode): Merged documentation from classpath.
7485         (isAbsolute): Merged documentation from classpath.
7486         (isDirectory): Merged documentation from classpath.
7487         (isFile): Merged documentation from classpath.
7488         (isHidden): Merged documentation from classpath.
7489         (lastModified): Merged documentation from classpath.
7490         (length): Merged documentation from classpath.
7491         (list): Merged documentation from classpath.
7492         (listFiles): Merged documentation from classpath.
7493         (toString): Merged documentation from classpath.
7494         (toURL): Merged documentation from classpath.
7495         (mkdir): Merged documentation from classpath.
7496         (mkdirs): Merged documentation from classpath.
7497         (createTempFile): Merged documentation from classpath.
7498         (setReadOnly): Merged documentation from classpath.
7499         (listRoots): Merged documentation from classpath.
7500         (compareTo): Merged documentation from classpath.
7501         (renameTo): Merged documentation from classpath.
7502         (setLastModified): Merged documentation from classpath.
7503         * java/io/PrintStream.java
7504         (auto_flush): Merged documentation from classpath.
7505         (PrintStream): Merged documentation from classpath.
7506         (checkError): Merged documentation from classpath.
7507         (setError): Merged documentation from classpath.
7508         (close): Merged documentation from classpath.
7509         (flush): Merged documentation from classpath.
7510         (print): Merged documentation from classpath.
7511         (println):  Merged documentation from classpath.
7512         (write): Renamed count to len to match classpath,
7513         merged documentation from classpath.
7514         * java/io/RandomAccessFile.java
7515         (readShort): Merged documentation from classpath.
7516         (readUnsignedByte): Merged documentation from classpath.
7517         (readUnsignedShort): Merged documentation from classpath.
7518         (readUTF): Merged documentation from classpath.
7519         (seek): Reformatted, merged documentation from classpath.
7520         (skipBytes): Renamed some variables to match classpath, reformatted,
7521         merged documentation from classpath.
7522         (write): Merged documentation from classpath.
7523         (writeBoolean): Merged documentation from classpath.
7524         (writeByte): Merged documentation from classpath.
7525         (writeShort): Merged documentation from classpath.
7526         (writeChar): Merged documentation from classpath.
7527         (writeInt): Merged documentation from classpath.
7528         (writeLong): Merged documentation from classpath.
7529         (writeFloat): Merged documentation from classpath.
7530         (writeDouble): Merged documentation from classpath.
7531         (writeBytes): Merged documentation from classpath.
7532         (writeChars): Merged documentation from classpath.
7533         (writeUTF): Reformatted.
7534         (getChannel): Reformatted.
7535
7536 2003-03-31  Michael Koch  <konqueror@gmx.de>
7537
7538         * java/awt/font/TextAttribute.java
7539         (readResolve): Throws java.io.InvalidObjectException.
7540
7541 2003-03-31  Michael Koch  <konqueror@gmx.de>
7542
7543         * java/rmi/server/LoaderHandler.java
7544         (loadClass): Deprecated.
7545         (getSecurityContext): Deprecated.
7546         * java/rmi/server/LogStream.java
7547         (getDefaultStream): Deprecated.
7548         (setDefaultStream): Deprecated.
7549         (getOutputStream): Deprecated.
7550         (setOutputStream): Deprecated.
7551         (write): Deprecated.
7552         (toString): Deprecated.
7553         (parseLevel): Deprecated.
7554         * java/rmi/server/Operation.java
7555         (Operation): Deprecated.
7556         (getOperation): Deprecated.
7557         (toString): Deprecated.
7558         * java/rmi/server/RemoteCall.java
7559         (getOutputStream): Deprecated.
7560         (releaseOutputStream): Deprecated.
7561         (getInputStream): Deprecated.
7562         (releaseInputStream): Deprecated.
7563         (getResultStream): Deprecated.
7564         (executeCall): Deprecated.
7565         (done): Deprecated.
7566         * java/rmi/server/RemoteRef.java
7567         (invoke): Deprecated.
7568         (newCall): Deprecated.
7569         (done): Deprecated.
7570         * java/rmi/server/RemoteStub.java
7571         (setRef): Deprecated.
7572         * java/rmi/server/Skeleton.java:
7573         No need to import java.lang.Exception explicitly.
7574         (dispatch): Deprecated.
7575         (getOperations): Deprecated.
7576
7577 2003-03-31  Michael Koch  <konqueror@gmx.de>
7578
7579         * java/rmi/dgc/VMID.java,
7580         java/rmi/registry/RegistryHandler.java,
7581         java/rmi/server/LogStream.java,
7582         java/rmi/server/Operation.java,
7583         java/rmi/server/RemoteCall.java,
7584         java/rmi/server/RemoteRef.java,
7585         java/rmi/server/RemoteStub.java:
7586         Reformatted.
7587
7588 2003-03-31  Michael Koch  <konqueror@gmx.de>
7589
7590         * javax/swing/AbstractCellEditor.java,
7591         javax/swing/AbstractListModel.java,
7592         javax/swing/ActionMap.java,
7593         javax/swing/BorderFactory.java,
7594         javax/swing/ButtonGroup.java,
7595         javax/swing/DefaultBoundedRangeModel.java,
7596         javax/swing/DefaultButtonModel.java,
7597         javax/swing/DefaultCellEditor.java,
7598         javax/swing/DefaultComboBoxModel.java,
7599         javax/swing/DefaultDesktopManager.java,
7600         javax/swing/DefaultListCellRenderer.java,
7601         javax/swing/DefaultSingleSelectionModel.java,
7602         javax/swing/InputMap.java,
7603         javax/swing/JComponent.java,
7604         javax/swing/JMenu.java,
7605         javax/swing/JSlider.java,
7606         javax/swing/KeyStroke.java,
7607         javax/swing/OverlayLayout.java,
7608         javax/swing/ScrollPaneLayout.java,
7609         javax/swing/SizeRequirements.java,
7610         javax/swing/UIManager.java,
7611         javax/swing/ViewportLayout.java,
7612         javax/swing/border/AbstractBorder.java,
7613         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7614         javax/swing/event/EventListenerList.java,
7615         javax/swing/table/AbstractTableModel.java,
7616         javax/swing/table/DefaultTableCellRenderer.java,
7617         javax/swing/table/DefaultTableColumnModel.java,
7618         javax/swing/table/DefaultTableModel.java,
7619         javax/swing/table/TableColumn.java,
7620         javax/swing/text/StyledEditorKit.java,
7621         javax/swing/tree/DefaultMutableTreeNode.java,
7622         javax/swing/tree/DefaultTreeModel.java,
7623         javax/swing/tree/DefaultTreeSelectionModel.java,
7624         javax/swing/tree/TreePath.java,
7625         javax/swing/undo/AbstractUndoableEdit.java,
7626         javax/swing/undo/StateEdit.java,
7627         javax/swing/undo/StateEditable.java,
7628         javax/swing/undo/UndoableEditSupport.java:
7629         Merges from classpath.
7630
7631 2003-03-30  Tom Tromey  <tromey@redhat.com>
7632
7633         * java/lang/String.java (data, boffset, count): Documented.
7634         (String(byte[],String)): Reformatted.
7635         (String(byte[])): Likewise.
7636         (lastIndexOf(int)): Likewise.
7637         (lastIndexOf(String)): Likewise.
7638         (substring(int)): Renamed argument to match Classpath.
7639         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7640
7641         * java/lang/String.java: Miscellaneous minor formatting changes
7642         to match Classpath more closely.
7643
7644 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7645             Tom Tromey  <tromey@redhat.com>
7646
7647         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7648         (init()): Removed.
7649         (charAt): Put index in exception.
7650         (contentEquals): New method.
7651         Include StringBuffer.h.
7652         * java/lang/String.java (cachedHashCode): New field.
7653         (String()): Follow classpath implementation.
7654         (init()): Removed.
7655         (contentEquals): Declare.
7656         (subSequence): Don't declare IndexOutIfBoundsException in throws
7657         clause.
7658         (matches, replaceFirst, replaceAll, split): New methods from
7659         Classpath.
7660
7661 2003-03-29  Tom Tromey  <tromey@redhat.com>
7662
7663         * java/lang/String.java: Reordered to follow Classpath; merged in
7664         javadoc.
7665
7666         * java/text/MessageFormat.java: Removed some whitespace.
7667
7668         * Makefile.in: Rebuilt.
7669         * Makefile.am (awt_java_source_files): Added new files.
7670         * gnu/javax/rmi/PortableServer.java,
7671         gnu/javax/rmi/CORBA/DelegateFactory.java,
7672         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7673         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7674         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7675         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7676         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7677         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7678         javax/rmi/PortableRemoteObject.java,
7679         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7680         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7681         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7682         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7683         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7684         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7685
7686         * java/lang/natClass.cc (newInstance): Put method name in
7687         exception.
7688         (getConstructor): Likewise.
7689         (getDeclaredConstructor): Likewise.
7690         (getPrivateMethod): Likewise.
7691
7692 2003-03-28  Tom Tromey  <tromey@redhat.com>
7693
7694         * java/lang/reflect/Proxy.java: New version from Classpath.
7695         * java/lang/Package.java: New version from Classpath.
7696
7697 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7698
7699         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7700         * configure: Regenerate.
7701
7702 2003-03-28  Michael Koch  <konqueror@gmx.de>
7703
7704         * java/io/File.java:
7705         Import needed classes instead of whole packages, merged class
7706         documentation with classpath, moved constants and variables to top of
7707         class.
7708         * java/io/PrintStream.java:
7709         Merged class documentation with classpath, moved constants and
7710         variables to top of class.
7711         * java/io/RandomAccessFile.java
7712         (RandomAccessFile): Merged with classpath.
7713         (read): Merged with classpath).
7714         (read*): Reformatted.
7715
7716 2003-03-28  Michael Koch  <konqueror@gmx.de>
7717
7718         * java/io/FileDescriptor.java
7719         (finalize): Throws Throwable, not IOException.
7720         * java/io/ObjectOutputStream.java
7721         (PutField.put): Doesnt throws anything.
7722
7723 2003­03-28  Michael Koch  <konqueror@gmx.de>
7724
7725         * java/io/FileOutputStream.java:
7726         Merged class documentation and authors with classpath.
7727         (FileOutputStream): Partly merged with classpath.
7728         (write): Merged with classpath.
7729         (getChannel): Make it synchronized instead of explicit block in this
7730         method.
7731         * java/io/RandomAccessFile.java:
7732         Merged class documentation and authors with classpath.
7733
7734 2003-03-26  Tom Tromey  <tromey@redhat.com>
7735
7736         * java/lang/natRuntime.cc (insertSystemProperties): Set
7737         gnu.classpath.home.url.
7738         * Makefile.in: Rebuilt.
7739         * Makefile.am: Define LIBDIR.
7740
7741 2003-03-25  Michael Koch  <konqueror@gmx.de>
7742
7743         * java/io/FileInputStream.java
7744         (read): Renamed b to buf and off to offset.
7745         * java/io/FileOutputStream.java
7746         (ch): Documentation added.
7747         (FileOutputStream): Documentation added.
7748         (getFD): Documentation added.
7749         (write): Documentation added.
7750         (close): Documentation added.
7751         (getChannel): Documentation added.
7752
7753 2003-03-24  Michael Koch  <konqueror@gmx.de>
7754
7755         * java/io/DataOutputStream.java
7756         (write): Merged from classpath.
7757         * java/io/File.java:
7758         Merged copyrigth with classpath.
7759         * java/io/FileInputStream.java
7760         (getChannel): Made it synchronized instead of using a synchronized
7761         block.
7762         * java/io/FileOutputStream.java: Reformatted.
7763         * java/io/InputStreamReader.java
7764         (InputStreamReader): Renamed enc to encoding_name.
7765         (close): Merged documentation from classpath.
7766         (getEncoding): Merged documentation from classpath.
7767         (ready): Merged documentation from classpath.
7768         (read): Merged documentation from classpath.
7769         * java/io/LineNumberReader.java
7770         (lineNumber): Made it private.
7771         (LineNumberReader): Use Constant instead of a direct value.
7772         * java/io/OutputStreamWriter.java
7773         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7774         documentation from classpath.
7775         (close): Merged documentation from classpath.
7776         (flush): Merged documentation from classpath.
7777         (write): Merged documentation from classpath.
7778         * java/io/PrintStream.java: Reformatted.
7779
7780 2003-03-24  Michael Koch  <konqueror@gmx.de>
7781
7782         * javax/swing/text/ComponentView.java
7783         (getComponent): Must be final.
7784         * javax/swing/tree/DefaultTreeCellRenderer.java:
7785         Reformatted.
7786         * javax/swing/undo/StateEditable.java:
7787         Reformatted.
7788
7789 2003-03-24  Michael Koch  <konqueror@gmx.de>
7790
7791         * java/rmi/activation/ActivationInstantiator.java:
7792         Reformatted.
7793         * java/rmi/activation/Activator.java:
7794         Reformatted.
7795         * java/rmi/registry/RegistryHandler.java:
7796         Remerged from classpath.
7797
7798 2003-03-24  Michael Koch  <konqueror@gmx.de>
7799
7800         * java/util/Date.java:
7801         Fixed documentation starting tag to make javadoc happy.
7802         * java/util/regex/Pattern.java
7803         (Pattern): Implements Serializable.
7804         * java/util/PatternSyntaxException.java
7805         (serialVersionUID): New member variable.
7806
7807 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7808
7809         * java/awt/ContainerOrderFocusTraversalPolicy.java
7810         (getFirstComponent): Implemented.
7811         (getLastComponent): Implemented.
7812         (getDefaultComponent): Implemented.
7813         (setImplicitDownCycleTraversal): Fixed implementation.
7814         * java/awt/Robot.java
7815         (Robot): Added documentation.
7816         * java/awt/Toolkit.java
7817         (getFontList): Deprecated.
7818         (getFontMetrics): Deprecated.
7819         (getPrintJob): Added documentation.
7820         (getSystemSelection): Added documentation.
7821         (getLockingKeyState): Added documentation.
7822         (setLockingKeyState): Added documentation.
7823         (createCustomCursor): Added documentation.
7824         (getBestCursorSize): Added documentation.
7825         (getMaximumCursorColors): Added documentation.
7826         (isFrameStateSupported): Added documentation.
7827
7828 2003-03-24  Michael Koch  <konqueror@gmx.de>
7829
7830         * java/io/RandomAccessFile.java:
7831         More little merges with classpath. No code changes.
7832
7833 2003-03-24  Michael Koch  <konqueror@gmx.de>
7834
7835         * java/net/natInetAddressNoNet.cc:
7836         Include stddef.h.
7837         * java/net/natPlainDatagramSocketImplNoNet.cc:
7838         Fixed inlcude of java/net/DatagramPacket.h.
7839         * java/net/natPlainSocketImplNoNet.cc:
7840         Include some missing classes.
7841
7842 2003-03-24  Michael Koch  <konqueror@gmx.de>
7843
7844         * java/awt/dnd/DropTarget.java
7845         (DropTargetAutoScroller): According to the online documentation, this
7846         is protected, but in reality it is public.
7847         * java/awt/dnd/DropTargetContext.java
7848         (TransferableProxy): According to the online documentation, this
7849         is protected, but in reality it is public.
7850
7851 2003-03-24  Michael Koch  <konqueror@gmx.de>
7852
7853         * java/io/DataInputStream.java
7854         (): Wrapped documentation line.
7855         (): Fixed @return tag.
7856         * java/io/DataOutputStream.java
7857         (written): Moved to top of class.
7858         (all methods): Merged documentation from classpath.
7859         * java/io/File.java:
7860         Merged copyright year with classpath.
7861         * java/io/FileInputStream.java
7862         (all methods): Merged documentation from classpath.
7863         * java/io/LineNumberReader.java
7864         (getLineNumber): Fixed @return tag.
7865         * java/io/ObjectInputStream.java.
7866         Reformatted.
7867         * java/io/ObjectOutputStream.java:
7868         Reformatted, fixed some @see tags.
7869         * java/io/OutputStreamWriter.java:
7870         Deleted empty line.
7871         * java/io/Writer.java:
7872         Reformatted.
7873
7874 2003-03-24  Michael Koch  <konqueror@gmx.de>
7875
7876         * java/awt/Frame.java
7877         (DEFAULT_CURSOR): Fixed @deprecated tag.
7878         (setCursor): Fixed @deprecated tag.
7879
7880 2003-03-24  Michael Koch  <konqueror@gmx.de>
7881
7882         * java/beans/beancontext/BeanContextEvent.java:
7883         Reformated.
7884
7885 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7886
7887         * java/lang/natStringBuffer.cc (regionMatches): New function.
7888         * java/lang/String.java (count): Now package-private.
7889         * java/lang/StringBuffer.java: Merged with Classpath.
7890
7891 2003-03-23  Michael Koch  <konqueror@gmx.de>
7892
7893         * java/io/BufferedOutputStream.java:
7894         Reformated.
7895         * java/io/BufferedReader.java:
7896         Reformated.
7897         * java/io/ByteArrayOutputStream.java
7898         (size): Fixed @see tag.
7899         * java/io/CharArrayWriter.java
7900         (size): Fixed @see tag.
7901         * java/io/DataInput.java:
7902         Reformated.
7903         * java/io/DataOutput.java:
7904         Reformated.
7905         * java/io/DataOutputStream.java:
7906         Merged copyright years with classpath.
7907         * java/io/Externalizable.java:
7908         Reformated.
7909         * java/io/FileFilter.java:
7910         Reformated.
7911         * java/io/FileInputStream.java:
7912         Merged copyright years with classpath.
7913         * java/io/FileOutputStream.java:
7914         Merged copyright years with classpath.
7915         * java/io/FilePermission.java
7916         (FilePermission): Replaced @XXX with FIXME:.
7917         * java/io/FileWriter.java:
7918         Reformated.
7919         * java/io/FilenameFilter.java:
7920         Reformated.
7921         * java/io/FilterInputStream.java:
7922         Reformated.
7923         * java/io/FilterOutputStream.java:
7924         Reformated.
7925         * java/io/FilterReader.java:
7926         Reformated.
7927         * java/io/FilterWriter.java:
7928         Reformated.
7929         * java/io/LineNumberInputStream.java
7930         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7931         happy.
7932         (getLineNumber): Fixed @return tag.
7933         * java/io/ObjectInput.java:
7934         Reformated.
7935         * java/io/ObjectOutput.java:
7936         Reformated.
7937         * java/io/ObjectStreamClass.java:
7938         Reformated.
7939         * java/io/PrintStream.java:
7940         Merged copyright years with classpath.
7941         * java/io/PushbackReader.java
7942         (PushbackReader): Replaced @code with @param.
7943         * java/io/SerializablePermission.java:
7944         Reformated.
7945         * java/io/StreamTokenizer.java
7946         (resetSyntax): Fixed @see tag.
7947
7948 2003-03-22  Richard Henderson  <rth@redhat.com>
7949
7950         * sysdep/ia64/locks.h: Include ia64intrin.h.
7951         (compare_and_swap): Use __sync_bool_compare_and_swap.
7952         (compare_and_swap_release): Expose ar.ccv assignment.
7953
7954 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7955
7956         * include/posix.h: Add suffix for darwin dynamic libraries.
7957
7958 2003-03-21  Michael Koch  <konqueror@gmx.de>
7959
7960         * javax/swing/Action.java
7961         (ACCELERATOR_KEY): New constant.
7962         (ACTION_COMMAND_KEY): Likewise.
7963         (MNEMONIC_KEY): Likewise.
7964         * javax/swing/UnsupportedLookAndFeelException.java
7965         (UnsupportedLookAndFeelException): Must be public.
7966         * javax/swing/WindowConstants.java
7967         (EXIT_ON_CLOSE): New constant.
7968         * javax/swing/text/BadLocationException.java
7969         (offset): New member variable.
7970         (BadLocationException): New implementation, documentation added.
7971         (offsetRequested): New method.
7972         * javax/swing/text/Caret.java:
7973         Reformated.
7974         * javax/swing/text/Document.java:
7975         Reformated.
7976
7977 2003-03-21  Michael Koch  <konqueror@gmx.de>
7978
7979         * java/rmi/activation/Activatable.java
7980         (serialVersionUID): New member variable.
7981         * java/rmi/activation/ActivationGroup.java
7982         (serialVersionUID): New member variable.
7983         * java/rmi/activation/ActivationGroupDesc.java
7984         (serialVersionUID): New member variable.
7985         * java/rmi/registry/Registry.java:
7986         Reformated.
7987         (Registry): Deprecated.
7988         * java/rmi/server/LoaderHandler.java
7989         Reformated.
7990         (LoaderHandler): Deprecated.
7991         * java/rmi/server/LogStream.java
7992         Reformated.
7993         (LogStream): Deprecated.
7994         * java/rmi/server/Operation.java
7995         (Operation): Deprecated.
7996         * java/rmi/server/RMIFailureHandler.java:
7997         Reformated.
7998         * java/rmi/server/RMISocketFactory.java:
7999         Reformated.
8000         * java/rmi/server/RemoteCall.java
8001         (RemoteCall): Deprecated.
8002         * java/rmi/server/RemoteStub.java:
8003         Reformated.
8004         * java/rmi/server/Skeleton.java
8005         Reformated.
8006         (Skeleton): Deprecated.
8007
8008 2003-03-21  Michael Koch  <konqueror@gmx.de>
8009
8010         * java/io/LineNumberReader.java
8011         (LineNumberReader): Merged documentation with classpath.
8012         (getLineNumber): Likewise.
8013         (setLineNumber): Likewise.
8014         (mark): Likewise.
8015         (reset): Likewise.
8016         (read): Likewise.
8017         (readLine): Likewise.
8018         (skip): Likewise.
8019
8020 2003-03-21  Michael Koch  <konqueror@gmx.de>
8021
8022         * java/rmi/RMISecurityManager.java
8023         (checkAccept): Removed.
8024         (checkAccess): Likewise.
8025         (checkAccess): Likewise.
8026         (checkAwtEventQueueAccess): Likewise.
8027         (checkConnect): Likewise.
8028         (checkCreateClassLoader): Likewise.
8029         (checkDelete): Likewise.
8030         (checkExec): Likewise.
8031         (checkExit): Likewise.
8032         (checkLink): Likewise.
8033         (checkListen): Likewise.
8034         (checkMemberAccess): Likewise.
8035         (checkMulticast): Likewise.
8036         (checkPackageAccess): Likewise.
8037         (checkPackageDefinition): Likewise.
8038         (checkPermission): Likewise.
8039         (checkPrintJobAccess): Likewise.
8040         (checkPropertiesAccess): Likewise.
8041         (checkPropertyAccess): Likewise.
8042         (checkRead): Likewise.
8043         (checkSecurityAccess): Likewise.
8044         (checkSetFactory): Likewise.
8045         (checkSystemClipboardAccess): Likewise.
8046         (checkTopLevelWindow): Likewise.
8047         (checkWrite): Likewise.
8048
8049 2003-03-20  Michael Koch  <konqueror@gmx.de>
8050
8051         * gnu/java/nio/FileChannelImpl.java
8052         (address): Removed.
8053         (map_address): New member variable.
8054         (length): Make it package private.
8055         (fd): Make it package private.
8056         (buf): Make it package private.
8057         (file_obj): Make it package private.
8058         (FileChannelImpl): New constructor.
8059         (nio_mmap_file): Use RawData instead of long.
8060         (nio_munmap_file): Use RawData instead of long.
8061         (nio_msync): Use RawData instead of long.
8062         (implCloseChannel): New implementation using map_address.
8063         (read): Reformated.
8064         (map): Implemented.
8065         (create_direct_mapped_buffer): Implemented, use RawData, throws
8066         IOException.
8067         (force): Use map_address instead of address.
8068         * gnu/java/nio/MappedByteFileBuffer.java
8069         (address): Removed.
8070         (map_address): New member variable.
8071         (MappedByteFileBuffer): Use map_address instead of address, reformated.
8072         (several methods): Use map_address instead of address, replaced long
8073         with RawData where appropriate.
8074         * gnu/java/nio/natFileChannelImpl.cc
8075         (nio_mmap_file): Replaced long with RawData.
8076         (nio_munmap_file): Replaced long with RawData.
8077         (nio_msync): Replaced long with RawData.
8078         * gnu/java/nio/natMappedByteFileBuffer.cc
8079         (several methods): Replaced long with RawData where appropriate.
8080
8081 2003-03-20  Michael Koch  <konqueror@gmx.de>
8082
8083         * java/net/InetAddress.java,
8084         java/net/JarURLConnection.java,
8085         java/net/PlainDatagramSocketImpl.java,
8086         java/net/PlainSocketImpl.java,
8087         java/net/URLConnection.java:
8088         Merged copyright statements with classpath for easier merging.
8089
8090 2003-03-20  Michael Koch  <konqueror@gmx.de>
8091
8092         * java/io/FileInputStream.java
8093         (getChannel): New implementation.
8094         * java/io/FileOutputStream.java
8095         (ch): New member variable.
8096         (getChannel): Implemented.
8097         * java/io/RandomAccessFile.java
8098         (RandomAccessFile): Throws FileNotFoundException instead of
8099         IOException.
8100         (getChannel): New method.
8101         (ch): New member variable.
8102
8103 2003-03-20  Michael Koch  <konqueror@gmx.de>
8104
8105         * java/io/DataOutputStream.java,
8106         java/io/File.java,
8107         java/io/FileInputStream.java,
8108         java/io/FileOutputStream.java,
8109         java/io/InputStreamReader.java,
8110         java/io/LineNumberReader.java,
8111         java/io/OutputStreamWriter.java,
8112         java/io/PrintStream.java,
8113         java/io/RandomAccessFile.java:
8114         Merged copyright statements with classpath for easier merging.
8115
8116 2003-03-19  Michael Koch  <konqueror@gmx.de>
8117
8118         * java/lang/Process.java:
8119         Merged from classpath.
8120
8121 2003-03-19  Michael Koch  <konqueror@gmx.de>
8122
8123         * java/io/FileOutputStream.java
8124         (FileOutputStream): New constructor, merged from classpath.
8125         * java/io/FileWriter.java
8126         (FileWriter): New constructor, merged from classpath.
8127
8128 2003-03-18  Michael Koch  <konqueror@gmx.de>
8129
8130         * java/awt/ScrollPane.java
8131         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8132         (getViewportSize): Likewise.
8133         (addNotify): Likewise.
8134         (removeNotify): Likewise.
8135         * java/awt/ScrollPaneAdjustable.java
8136         (ScrollPaneAdjustable): No longer extends Scrollbar.
8137         * java/beans/beancontext/BeanContextServices.java:
8138         Reformated.
8139         (getService): Added throws TooManyListenersException;
8140         * java/beans/beancontext/BeanContextServicesSupport.java:
8141         Reformated.
8142
8143 2003-03-18  Michael Koch  <konqueror@gmx.de>
8144
8145         * java/io/BufferedOutputStream.java,
8146         java/io/DataInput.java,
8147         java/io/DataInputStream.java,
8148         java/io/DataOutput.java,
8149         java/io/Externalizable.java:
8150         More merges from classpath.
8151
8152 2003-03-18  Michael Koch  <konqueror@gmx.de>
8153
8154         * configure.in: Fixed links to platform dependant java.net files.
8155         * configure: Regenerated.
8156         * java/net/natInetAddress.cc,
8157         java/net/natNetworkInterface.cc,
8158         java/net/natPlainDatagramSocketImpl.cc,
8159         java/net/natPlainSocketImpl.cc:
8160         Removed.
8161
8162 2003-03-18  Michael Koch  <konqueror@gmx.de>
8163
8164         * configure.in: Create links to architecture dependent files,
8165         introduced PLATFORMNET variable (set to NoNet for newlib usage).
8166         * configure: Regenerated.
8167         * java/net/natInetAddressNoNet.cc,
8168         java/net/natInetAddressPosix.cc,
8169         java/net/natInetAddressWin32.cc,
8170         java/net/natNetworkInterfaceNoNet.cc,
8171         java/net/natNetworkInterfacePosix.cc,
8172         java/net/natNetworkInterfaceWin32.cc,
8173         java/net/natPlainDatagramSocketImplNoNet.cc,
8174         java/net/natPlainDatagramSocketImplPosix.cc,
8175         java/net/natPlainDatagramSocketImplWin32.cc,
8176         java/net/natPlainSocketImplNoNet.cc,
8177         java/net/natPlainSocketImplPosix.cc,
8178         java/net/natPlainSocketImplWin32.cc: New files.
8179
8180 2003-03-18  Michael Koch  <konqueror@gmx.de>
8181
8182         * java/io/BufferedReader.java,
8183         java/io/BufferedWriter.java,
8184         java/io/ByteArrayOutputStream.java,
8185         java/io/FileFilter.java,
8186         java/io/FilePermission.java,
8187         java/io/FileReader.java,
8188         java/io/FileWriter.java,
8189         java/io/FilenameFilter.java,
8190         java/io/FilterInputStream.java,
8191         java/io/FilterOutputStream.java,
8192         java/io/FilterReader.java,
8193         java/io/FilterWriter.java,
8194         java/io/ObjectInput.java,
8195         java/io/ObjectInputValidation.java,
8196         java/io/ObjectOutput.java,
8197         java/io/ObjectStreamField.java,
8198         java/io/PipedInputStream.java,
8199         java/io/PipedReader.java,
8200         java/io/PrintWriter.java,
8201         java/io/PushbackReader.java,
8202         java/io/Reader.java,
8203         java/io/SerializablePermission.java,
8204         java/io/StringReader.java,
8205         java/io/Writer.java:
8206         Merged from classpath.
8207
8208 2003-03-17  Michael Koch  <konqueror@gmx.de>
8209
8210         * java/awt/ScrollPaneAdjustable.java:
8211         Compile fixes.
8212         
8213 2003-03-17  Michael Koch  <konqueror@gmx.de>
8214
8215         * java/net/DatagramSocket.java
8216         (connect): Fixed comment.
8217         * java/nio/ByteBuffer.java
8218         (hasArray): Fixed comment.
8219
8220 2003-03-17  Michael Koch  <konqueror@gmx.de>
8221
8222         * java/beans/Beans.java:
8223         Explicitely import classes not packages.
8224         * java/beans/FeatureDescriptor.java
8225         (preferred): New member variable.
8226         (isPreferred): New method.
8227         (setPreferred): New method.
8228         * java/beans/PropertyEditorManager.java:
8229         Explicitely import used classes.
8230         * java/beans/beancontext/BeanContextChild.java:
8231         Added line wrapping.
8232         * java/beans/beancontext/BeanContextChildSupport.java:
8233         Reindented.
8234         * java/beans/beancontext/BeanContextEvent.java:
8235         Reindented.
8236
8237 2003-03-17  Michael Koch  <konqueror@gmx.de>
8238
8239         * java/awt/Dialog.java
8240         (Dialog): New constructor, changed implementations, added
8241         documentation.
8242         * java/awt/ScrollPaneAdjustable.java
8243         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8244         Serializable.
8245         (serialVersionUID): New member variable.
8246         (sp): New member variable.
8247         (orientation): New member variable.
8248         (value): New member variable.
8249         (minimum): New member variable.
8250         (maximum): New member variable.
8251         (visibleAmount): New member variable.
8252         (unitIncrement): New member variable.
8253         (blockIncrement): New member variable.
8254         (AdjustmentListener): New member variable.
8255         (ScrollPaneAdjustable): New implementation.
8256         (addAdjustmentListener): New method.
8257         (removeAdjustmentListener): New method.
8258         (getAdjustmentListeners): New method.
8259         (getBlockIncrement): New method.
8260         (getMaximum): New method.
8261         (getMinimum): New method.
8262         (getOrientation): New method.
8263         (getUnitIncrement): New method.
8264         (getValue): New method.
8265         (getVisibleAmount): New method.
8266         (setBlockIncrement): New method.
8267         (setMaximum): Implemented.
8268         (setMinimum): Implemented.
8269         (setUnitIncrement): New method.
8270         (setValue): New method.
8271         (setVisibleAmount): Implemented. 
8272         (paramString): New stubbed method.
8273         * java/awt/Window.java
8274         (show): Call setVisible().
8275         (hide): Call setVisible().
8276         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8277         and WINDOW_STATE_CHANGED.
8278         (processWindowFocusEvent): New method.
8279         (processWindowStateEvent): New method.
8280         (postEvent): Deprecated.
8281         (applyResourceBundle): Deprecated.
8282         * java/awt/datatransfer/DataFlavor.java
8283         (DataFlavor): Doesn't thow ClassNotFoundException.
8284
8285 2003-03-17  Michael Koch
8286
8287         * javax/print/attribute/Attribute.java,
8288         javax/print/attribute/AttributeSet.java,
8289         javax/print/attribute/PrintRequestAttributeSet.java:
8290         New files.
8291         * Makefile.am
8292         (javax_source_files): Added new files:
8293         javax/print/attribute/Attribute.java
8294         javax/print/attribute/AttributeSet.java
8295         javax/print/attribute/PrintRequestAttributeSet.java
8296         * Makefile.in: Regenerated.
8297
8298 2003-03-17  Michael Koch
8299
8300         * javax/print/attribute/Attribute.java,
8301         javax/print/attribute/AttributeSet.java,
8302         javax/print/attribute/PrintRequestAttributeSet.java:
8303         New files.
8304         * Makefile.am
8305         (awt_java_source_files): Added new files:
8306         javax/print/attribute/Attribute.java
8307         javax/print/attribute/AttributeSet.java
8308         javax/print/attribute/PrintRequestAttributeSet.java
8309         * Makefile.in: Regenerated.
8310
8311 2003-03-16  Tom Tromey  <tromey@redhat.com>
8312
8313         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8314         Include platform.h.
8315         * java/lang/natRuntime.cc (insertSystemProperties): Use
8316         _Jv_platform_path_separator.
8317         (nativeGetLibname): Use _Jv_platform_file_separator.
8318         (_load): Use _Jv_platform_onload_names.
8319         (onload_names): New global.
8320         * include/win32.h (_Jv_platform_file_separator): New define.
8321         (_Jv_platform_path_separator): Likewise.
8322         (_Jv_platform_onload_names): Likewise.
8323         (_Jv_platform_ffi_abi): Likewise.
8324         * include/posix.h (_Jv_platform_file_separator): New define.
8325         (_Jv_platform_path_separator): Likewise.
8326         (_Jv_platform_onload_names): Likewise.
8327         (_Jv_platform_ffi_abi): Likewise.
8328
8329 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
8330
8331         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8332
8333 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
8334
8335         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8336         hierarchy loop.
8337         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8338         list to Object,ObjectStreamClass, moved callReadMethod code up into
8339         readObject and added Class argument to all setXxxField calls.
8340         (callReadMethod): Changed Class argument to ObjectStreamClass to be
8341         consistent with ObjectOutputStream and to facilitate caching the
8342         Method in the future.
8343         (setBooleanField): Added Class argument.
8344         (setByteField): Likewise.
8345         (setCharField): Likewise.
8346         (setDoubleField): Likewise.
8347         (setFloatField): Likewise.
8348         (setIntField): Likewise.
8349         (setLongField): Likewise.
8350         (setShortField): Likewise.
8351         (setObjectField): Likewise.
8352         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8353         class hierarchy loop.
8354         (defaultWriteObject): Call writeFields with new argument list.
8355         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8356         list to Object,ObjectStreamClass, moved callWriteMethod up into
8357         writeObject and added Class argument to all getXxxField calls.
8358         (callWriteMethod): Added ObjectStreamClass argument to be able to
8359         get the proper class to call getMethod on (each class can have (or
8360         not have) its own writeObject method).
8361         (getBooleanField): Added Class argument.
8362         (getByteField): Likewise.
8363         (getCharField): Likewise.
8364         (getDoubleField): Likewise.
8365         (getFloatField): Likewise.
8366         (getIntField): Likewise.
8367         (getLongField): Likewise.
8368         (getShortField): Likewise.
8369         (getObjectField): Likewise.
8370         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8371         facilitate caching the Method object in the future.
8372
8373 2003-03-12  Andreas Schwab  <schwab@suse.de>
8374
8375         * configure.in: Avoid trailing /. in toolexeclibdir.
8376         * configure: Rebuilt.
8377
8378 2003-03-11  Michael Koch  <konqueror@gmx.de>
8379
8380         * gnu/java/nio/ByteBufferImpl.java
8381         (putInt): Use limit() instead of limit.
8382         * gnu/java/nio/CharBufferImpl.java
8383         (slice): Fixed implementation.
8384         (subSequence): Better bounds checking.
8385         * gnu/java/nio/MappedByteFileBuffer.java:
8386         Import all needed classes directly.
8387         * java/nio/ByteBuffer.java
8388         (hashCode): New dummy method.
8389         * java/nio/CharBuffer.java
8390         (array_offset): New member variable.
8391         (hasArray): Fixed documentation.
8392         (arrayOffset): Return array_offset.
8393
8394 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8395
8396         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8397         setter; made return value of getter const char* instead of char*
8398         * prims.cc: removed all references to _Jv_ThisExecutable().
8399         These are in the platform-specific sections now.
8400         * posix.cc: define platform-specific _Jv_ThisExecutable().
8401         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8402         * win32.cc: define platform-specific _Jv_ThisExecutable()
8403         using GetModuleFilename()
8404         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8405         to argv[0] instead of _Jv_ThisExecutable()
8406
8407 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8408
8409         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8410         that is set if we are using addr2name.awk instead of addr2line.
8411         (NameFinder): Set usingAddr2name if using addr2name.awk.
8412         (getExternalLabel): New native method to convert a method 
8413         name to an external label.
8414         (lookup): Convert name given by addr2line to an external label
8415         before demangling.
8416
8417         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8418         constant representing the prefix attached to method names to
8419         convert them to an external label.
8420         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8421         using LABEL_PREFIX.
8422
8423 2003-03-10  Tom Tromey  <tromey@redhat.com>
8424
8425         * Makefile.in: Rebuilt.
8426         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8427         (JC1FLAGS): Removed -Wno-deprecated.
8428
8429 2003-03-10  Michael Koch  <konqueror@gmx.de>
8430
8431         * java/nio/ByteOrder.java
8432         (nativeOrder): Working implementation, added documentation.
8433         (toString): Added documentation.
8434
8435 2003-03-10  Michael Koch  <konqueror@gmx.de>
8436
8437         * java/net/DatagramSocket.java,
8438         java/net/MulticastSocket.java,
8439         java/net/Socket.java,
8440         java/net/URL.java,
8441         java/net/URLConnection.java:
8442         Fixed some documentation tags to make javadoc and friends happy.
8443
8444 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8445
8446         * java/beans/beancontext/BeanContextServicesSupport.java,
8447         java/beans/beancontext/BeanContextSupport.java: New files.
8448         * Makefile.am
8449         (awt_source_files): Added new files.
8450         * Makefile.in: Regenerated.
8451
8452 2003-03-10  Michael Koch  <konqueror@gmx.de>
8453
8454         * java/awt/FocusTraversalPolicy.java
8455         (FocusTraversalPolicy): Documentation added.
8456         (getComponentAfter): Documentation added.
8457         (getComponentBefore): Documentation added.
8458         (getFirstComponent): Documentation added.
8459         (getLastComponent): Documentation added.
8460         (getDefaultComponent): Documentation added.
8461         (getInitialComponent): Documentation added.
8462         * java/awt/ScrollPaneAdjustable.java
8463         (sp): New member variable.
8464         (orientation): New member variable.
8465         (value): New member variable.
8466         (minimum): New member variable.
8467         (maximum): New member variable.
8468         (visibleAmount): New member variable.
8469         (unitIncrement): New member variable.
8470         (blockIncrement): New member variable.
8471         (adjustmentListener): New member variable.
8472         (ScrollPaneAdjustable): Rewrote.
8473         (addAdjustmentListener): New method.
8474         (removeAdjustmentListener): New method.
8475         (getAdjustmentListeners): New method.
8476         (getBlockIncrement): New method.
8477         (getMaximum): New method.
8478         (getMinimum): New method.
8479         (getOrientation): New method.
8480         (getUnitIncrement): New method.
8481         (getValue): New method.
8482         (getVisibleAmount): New method.
8483         (setBlockIncrement): New method.
8484         (setUnitIncrement): New method.
8485         (setMaximum): Implemented.
8486         (setMinimum): Implemented.
8487         (setValue): New method.
8488         (setVisibleAmount): Implemented.
8489         (paramString): New method.
8490         * java/awt/Window.java
8491         (show): Use setVisible(true) instead of super.show().
8492         (hide): Use sevVisible(false) instead of super.hide().
8493         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8494         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8495         (postEvent): Deprecated.
8496         (applyResourceBundle): Deprecated.
8497         (processWindowFocusEvent): New method.
8498         (processWindowStateEvent): New method.
8499         * java/awt/datatransfer/DataFlavor.java: Reindented.
8500         * java/awt/font/TextHitInfo.java
8501         (charIndex): New member variable.
8502         (leadingEdge): New member variable.
8503         (TextHitInfo): New constructor.
8504         (getCharIndex): Implemented.
8505         (isLeadingEdge): Implemented.
8506         (getInsertionIndex): Implemented.
8507         (hashCode): Access charIndex directly.
8508         (equals): Reformated.
8509         (leading): Implemented.
8510         (trailing): Implemented.
8511         (beforeOffset): Implemented.
8512         (afterOffset): Implemented.
8513         (getOtherHit): Implemented.
8514         (getOffsetHit): Implemented.
8515         (toString): Implemented.
8516         * java/awt/image/BufferedImage.java
8517         (BufferedImage): Implements WritableRenderedImage.
8518         (observers): New member variable.
8519         (addTileObserver): New method.
8520         (removeTileObserver): New method.
8521
8522 2003-03-09  Tom Tromey  <tromey@redhat.com>
8523
8524         PR libgcj/9934:
8525         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8526         to lseek.  Return 0 if we can't compute the value.
8527
8528 2003-03-03  Michael Koch  <konqueror@gmx.de>
8529
8530         * java/net/NetworkInterface.java: Merged with classpath.
8531
8532 2003-03-03  Tom Tromey  <tromey@redhat.com>
8533
8534         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8535         of bytecode.
8536         (handle_ret_insn): Fail if returning to jsr that appears at end of
8537         bytecode.
8538
8539 2003-03-03  Michael Koch  <konqueror@gmx.de>
8540
8541         * Makefile.am
8542         (ordinary_java_source_files):
8543         Added gnu/java/nio/MappedByteFileBuffer.java.
8544         (nat_source_files):
8545         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8546         * Makefile.in: Regenerated.
8547
8548 2003-03-03  Michael Koch  <konqueror@gmx.de>
8549
8550         * java/net/DatagramSocket.java
8551         (connect): Merged comment from classpath.
8552         (receive): Merged documentation from classpath.
8553         * java/net/Socket.java
8554         (setSoTimeout): Clarified documentation.
8555         * java/net/URL.java
8556         (getPath): Merged from classpath.
8557         (getUserInfo): Merged from classpath.
8558         (getQuery): Merged from classpath.
8559         * java/net/URLStreamHandler.java
8560         (toExternalForm): Merged from classpath.
8561
8562 2003-03-02  Mark Wielaard  <mark@klomp.org>
8563
8564         * java/util/Properties.java (load): Only skip line if the first
8565         character is a comment, whitespaces don't count.
8566
8567 2003-03-02  Michael Koch  <konqueror@gmx.de>
8568
8569         * java/net/NetPermission.java:
8570         Merged copyright with classpath.
8571
8572 2003-03-02  Michael Koch  <konqueror@gmx.de>
8573
8574         * java/lang/Package.java:
8575         Remerged from classpath.
8576
8577 2003-03-02  Michael Koch  <konqueror@gmx.de>
8578
8579         * java/net/HttpURLConnection.java
8580         (HTTP_SERVER_ERROR): Deprecated.
8581         * java/net/MulticastSocket.java
8582         (send): Replaced checkMulticast with appropriate checkPermission call,
8583         deprecated.
8584         * java/net/URLDecoder.java
8585         (decode): Deprecated.
8586         * java/net/URLEncoder.java
8587         (encode): Deprecated.
8588
8589 2003-03-02  Michael Koch  <konqueror@gmx.de>
8590
8591         * javax/swing/text/Caret.java
8592         (getMagicCaretPosition): Fixed typo in method name.
8593         * javax/swing/text/DefaultCaret.java
8594         (getMagicCaretPosition): Fixed typo in method name.
8595
8596 2003-03-02  Michael Koch  <konqueror@gmx.de>
8597
8598         * java/awt/List.java
8599         (setMultipleSelections): Deprecated.
8600         (delItem): Deprecated.
8601         * java/awt/MenuComponent.java
8602         (getPeer): Deprecated.
8603         * java/awt/ScrollPane.java
8604         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8605         * java/awt/dnd/MouseDragGestureRecognizer.java
8606         (mouseClicked): Added comment.
8607         (mousePressed): Added comment.
8608         (mouseReleased): Added comment.
8609         (mouseEntered): Added comment.
8610         (mouseExited): Added comment.
8611         (mouseDragged): Added comment.
8612         (mouseMoved): Added comment.
8613         * java/awt/event/KeyEvent.java
8614         (KeyEvent): Deprecated.
8615         (setModifiers): Deprecated.
8616         
8617 2003-03-02  Michael Koch  <konqueror@gmx.de>
8618
8619         * gnu/java/nio/FileChannelImpl.java
8620         (fd): Type FileDescriptor instead of int.
8621         (lengthInternal): Removed.
8622         (FileChannelImpl): Fixed arguments, check type of file object.
8623         (size): Made it native.
8624         (implPosition): New native method.
8625         (implTruncate): New native method.
8626         (position): Implemented.
8627         (truncate): Implemented.
8628         (nio_mmap_file): Changed arguments.
8629         (nio_munmap_file): Changed arguments.
8630         (nio_msync): Changed arguments.
8631         * gnu/java/nio/natFileChannelImpl.cc
8632         (lengthInternal): Removed.
8633         (size): New method.
8634         (implPosition): New method.
8635         (implTruncate): New method.
8636         (nio_mmap_file): Changed arguments.
8637         (nio_munmap_file): Changed arguments.
8638         (nio_msync): Changed arguments.
8639
8640 2003-03-02  Michael Koch  <konqueror@gmx.de>
8641
8642         * java/awt/dnd/DropTargetContext.java:
8643         Compile fix: Forgot to commit import.
8644         
8645 2003-03-02  Michael Koch  <konqueror@gmx.de>
8646
8647         * java/awt/Component.java,
8648         java/awt/ScrollPane.java:
8649         Fixed typos.
8650
8651 2003-03-02  Michael Koch  <konqueror@gmx.de>
8652
8653         * java/awt/dnd/DnDEventMulticaster.java: New file.
8654         * java/awt/dnd/DragSource.java
8655         (flavorMap): New member variable.
8656         (dragSourceListener): New member variable.
8657         (dragSourceMotionListener): New member variable.
8658         (getFlavorMap): Implemented.
8659         (createDragGestureRecognizer): Implemented.
8660         (addDragSourceListener): Implemented.
8661         (removeDragSourceListener): Implemented.
8662         (getDragSourceListeners): Implemented.
8663         (addDragSourceMotionListener): Implemented.
8664         (removeDragSourceMotionListener): Implemented.
8665         (getDragSourceMotionListeners): Implemented.
8666         (getListeners): Implemented.
8667         * java/awt/dnd/DragSourceContext.java
8668         (peer): New member variable.
8669         (cursor): New member variable.
8670         (transferable): New member variable.
8671         (trigger): New member variable.
8672         (dragSourceListener): New member variable.
8673         (image): New member variable.
8674         (offset): New member variable.
8675         (DragSourceContext): Implemented.
8676         (getDragSource): Implemented.
8677         (getComponent): Implemented.
8678         (getTrigger): Implemented.
8679         (getSourceActions): Implemented.
8680         (setCursor): Implemented.
8681         (getCursor): Implemented.
8682         (addDragSourceListener): Implemented.
8683         (removeDragSourceListener): Implemented.
8684         (getTransferable): Implemented.
8685         * java/awt/dnd/DropTarget.java
8686         (DropTargetAutoScroller.component): New member variable.
8687         (DropTargetAutoScroller.point): New member variable.
8688         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8689         (DropTargetAutoScroller.updateLocation): Implemented.
8690         (active): Renamed from isActive, defaults to true now.
8691         (component): New member variable.
8692         (flavorMap): New member variable.
8693         (actions): New member variable.
8694         (dropTargetContext): New member variable.
8695         (dropTargetListener): New member variable.
8696         (DropTarget): Implemented.
8697         (getComponent): Implemented.
8698         (setComponent): Implemented.
8699         (setDefaultActions): Implemented.
8700         (getDefaultActions): Implemented.
8701         (setActive): Use active instead of isActive.
8702         (isActive): Use active instead of isActive.
8703         (addDropTargetListener): Implemented.
8704         (removeDropTargetListener): Implemented.
8705         (getFlavorMap): Implemented.
8706         (setFlavorMap): Implemented.
8707         (getDropTargetContext): Implemented.
8708         (createDropTargetContext): Implemented.
8709         (createDropTargetAutoScroller): Implemented.
8710         * java/awt/dnd/DropTargetContext.java
8711         (TransferableProxy.getTransferDataFlavors): Implemented.
8712         (TransferableProxy.isDataFlavorSupported): Implemented.
8713         (TransferableProxy.getTransferData): Implemented.
8714         (dropTarget):  New member variable.
8715         (dtcp): New member variable.
8716         (DropTargetContext): New package private constructor.
8717         (getDropTarget): Implemented.
8718         (getComponent): Implemented.
8719         (addNotify): Implemented.
8720         (removeNotify): Implemented.
8721         (getCurrentDataFlavorsAsList): Implemented.
8722         (isDataFlavorSupported): Implemented.
8723         * java/awt/dnd/MouseDragGestureRecognizer.java
8724         (registerListeners): Implemented.
8725         (unregisterListeners): Implemented.
8726         * Makefile.am
8727         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8728         * Makefile.in: Regenerated.
8729
8730 2003-03-02  Michael Koch  <konqueror@gmx.de>
8731
8732         * java/awt/Component.java
8733         (eventTypeEnabled): New method.
8734         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8735         * java/awt/Container.java
8736         (changeSupport): New member variable.
8737         (addPropertyChangeListener): New methods.
8738         * java/awt/ContainerOrderFocusTraversalPolicy.java
8739         (ContainerOrderFocusTraversalPolicy): Added comment.
8740         (getComponentAfter): Throw exception, documentation added.
8741         (getComponentBefore): Throw exception, documentation added.
8742         (getFirstComponent): Throw exception, documentation added.
8743         (getLastComponent): Throw exception, documentation added.
8744         (getDefaultComponent): Throw exception, documentation added.
8745         * java/awt/EventQueue.java: Reindented.
8746         * java/awt/FocusTraversalPolicy.java:
8747         (FocusTraversalPolicy): Added comment.
8748         (getComponentAfter): Documentation added.
8749         (getComponentBefore): Documentation added.
8750         (getFirstComponent): Documentation added.
8751         (getLastComponent): Documentation added.
8752         (getDefaultComponent): Documentation added.
8753         (getInitialComponent): Documentation added.
8754         * java/awt/ScrollPane.java
8755         (wheelScrollingEnabled): New member variable.
8756         (ScrollPane): Initialize wheelScollingEnabled.
8757         (eventTypeEnabled): New method.
8758         (isWheelScrollingEnabled): New method.
8759         (setWheelScrollingEnabled): New method.
8760
8761 2003-03-02  Michael Koch  <konqueror@gmx.de>
8762
8763         * java/net/DatagramSocket.java
8764         (closed): New member variable.
8765         (close): Use closed variable.
8766         (getInetAddress): No need to call isConnected().
8767         (getPort): No need to call isConnected().
8768         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8769         (isClosed): Reimplemented.
8770         
8771 2003-03-02  Michael Koch  <konqueror@gmx.de>
8772
8773         * configure.in: Added check for memory mapping of files.
8774         * configure: Regenerated.
8775         * config.h.in: Regenerated.
8776
8777 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8778
8779         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8780         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8781
8782 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8783
8784         * java/io/File.java (normalizePath): Remove trailing separator
8785         on Windows only if path is not of the form "x:\".
8786
8787         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8788         (java::io::File::attr): Change formatting a bit and use
8789         WIN32_EPOCH_MILLIS instead of magic numbers.
8790         (java::io::File::isAbsolute): Path must have at least 3 
8791         characters for a UNC network path.
8792         (java::io::File::init_native): Define.
8793         (java::io::File::performCreate): Likewise.
8794         (java::io::File::performSetReadOnly): Likewise.
8795         (java::io::File::performSetLastModified): Likewise.
8796         (java::io::File::performListRoots): Likewise.
8797
8798 2003-03-01  Tom Tromey  <tromey@redhat.com>
8799
8800         * java/lang/natObject.cc: Don't include assert.h.
8801         (heavy_lock_obj_finalization_proc): Use JvAssert.
8802         (remove_all_heavy): Likewise.
8803         (_Jv_MonitorEnter): Likewise.
8804         (_Jv_MonitorExit): Likewise.
8805         (wait): Likewise.
8806
8807 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8808
8809         * java/io/File (getAbsolutePath): Prefix drive specifier on
8810         Windows for paths starting with a '\'.
8811         (toURL): Make URL more consistent with what Sun's JDK returns.
8812
8813         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8814         true only if the path is a UNC network path or it starts with a
8815         drive specifier.
8816
8817         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8818         Be prepared to handle either '/' or '\\' in the file path for
8819         Windows if using the "file" protocol.
8820         Canonicalise the file path if using a relative path in the given
8821         context and the "file" protocol.
8822
8823 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8824
8825         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8826         program array element passed to CreateProcess.
8827
8828 2003-03-01  Tom Tromey  <tromey@redhat.com>
8829
8830         * java/rmi/registry/RegistryHandler.java: Deprecate.
8831
8832 2003-03-01  Tom Tromey  <tromey@redhat.com>
8833
8834         * javax/accessibility/AccessibleEditableText.java,
8835         javax/accessibility/AccessibleHyperlink.java: New versions from
8836         Classpath.
8837
8838         * gnu/java/locale/LocaleInformation_af_ZA.java,
8839         gnu/java/locale/LocaleInformation_ar_AE.java,
8840         gnu/java/locale/LocaleInformation_ar_BH.java,
8841         gnu/java/locale/LocaleInformation_ar_DZ.java,
8842         gnu/java/locale/LocaleInformation_ar_EG.java,
8843         gnu/java/locale/LocaleInformation_ar_IN.java,
8844         gnu/java/locale/LocaleInformation_ar_IQ.java,
8845         gnu/java/locale/LocaleInformation_ar_JO.java,
8846         gnu/java/locale/LocaleInformation_ar_KW.java,
8847         gnu/java/locale/LocaleInformation_ar_LB.java,
8848         gnu/java/locale/LocaleInformation_ar_LY.java,
8849         gnu/java/locale/LocaleInformation_ar_MA.java,
8850         gnu/java/locale/LocaleInformation_ar_OM.java,
8851         gnu/java/locale/LocaleInformation_ar_QA.java,
8852         gnu/java/locale/LocaleInformation_ar_SD.java,
8853         gnu/java/locale/LocaleInformation_ar_SY.java,
8854         gnu/java/locale/LocaleInformation_ar_TN.java,
8855         gnu/java/locale/LocaleInformation_ar_YE.java,
8856         gnu/java/locale/LocaleInformation_be_BY.java,
8857         gnu/java/locale/LocaleInformation_bn_IN.java,
8858         gnu/java/locale/LocaleInformation_br_FR.java,
8859         gnu/java/locale/LocaleInformation_bs_BA.java,
8860         gnu/java/locale/LocaleInformation_ca_ES.java,
8861         gnu/java/locale/LocaleInformation_cs_CZ.java,
8862         gnu/java/locale/LocaleInformation_cy_GB.java,
8863         gnu/java/locale/LocaleInformation_da_DK.java,
8864         gnu/java/locale/LocaleInformation_de_AT.java,
8865         gnu/java/locale/LocaleInformation_de_BE.java,
8866         gnu/java/locale/LocaleInformation_de_CH.java,
8867         gnu/java/locale/LocaleInformation_de_DE.java,
8868         gnu/java/locale/LocaleInformation_de_LU.java,
8869         gnu/java/locale/LocaleInformation_el_GR.java,
8870         gnu/java/locale/LocaleInformation_en_AU.java,
8871         gnu/java/locale/LocaleInformation_en_BW.java,
8872         gnu/java/locale/LocaleInformation_en_CA.java,
8873         gnu/java/locale/LocaleInformation_en_DK.java,
8874         gnu/java/locale/LocaleInformation_en_GB.java,
8875         gnu/java/locale/LocaleInformation_en_HK.java,
8876         gnu/java/locale/LocaleInformation_en_IE.java,
8877         gnu/java/locale/LocaleInformation_en_IN.java,
8878         gnu/java/locale/LocaleInformation_en_NZ.java,
8879         gnu/java/locale/LocaleInformation_en_PH.java,
8880         gnu/java/locale/LocaleInformation_en_SG.java,
8881         gnu/java/locale/LocaleInformation_en_US.java,
8882         gnu/java/locale/LocaleInformation_en_ZA.java,
8883         gnu/java/locale/LocaleInformation_en_ZW.java,
8884         gnu/java/locale/LocaleInformation_es_AR.java,
8885         gnu/java/locale/LocaleInformation_es_BO.java,
8886         gnu/java/locale/LocaleInformation_es_CL.java,
8887         gnu/java/locale/LocaleInformation_es_CO.java,
8888         gnu/java/locale/LocaleInformation_es_CR.java,
8889         gnu/java/locale/LocaleInformation_es_DO.java,
8890         gnu/java/locale/LocaleInformation_es_EC.java,
8891         gnu/java/locale/LocaleInformation_es_ES.java,
8892         gnu/java/locale/LocaleInformation_es_GT.java,
8893         gnu/java/locale/LocaleInformation_es_HN.java,
8894         gnu/java/locale/LocaleInformation_es_MX.java,
8895         gnu/java/locale/LocaleInformation_es_NI.java,
8896         gnu/java/locale/LocaleInformation_es_PA.java,
8897         gnu/java/locale/LocaleInformation_es_PE.java,
8898         gnu/java/locale/LocaleInformation_es_PR.java,
8899         gnu/java/locale/LocaleInformation_es_PY.java,
8900         gnu/java/locale/LocaleInformation_es_SV.java,
8901         gnu/java/locale/LocaleInformation_es_US.java,
8902         gnu/java/locale/LocaleInformation_es_UY.java,
8903         gnu/java/locale/LocaleInformation_es_VE.java,
8904         gnu/java/locale/LocaleInformation_et_EE.java,
8905         gnu/java/locale/LocaleInformation_eu_ES.java,
8906         gnu/java/locale/LocaleInformation_fa_IR.java,
8907         gnu/java/locale/LocaleInformation_fi_FI.java,
8908         gnu/java/locale/LocaleInformation_fo_FO.java,
8909         gnu/java/locale/LocaleInformation_fr_BE.java,
8910         gnu/java/locale/LocaleInformation_fr_CA.java,
8911         gnu/java/locale/LocaleInformation_fr_CH.java,
8912         gnu/java/locale/LocaleInformation_fr_FR.java,
8913         gnu/java/locale/LocaleInformation_fr_LU.java,
8914         gnu/java/locale/LocaleInformation_ga_IE.java,
8915         gnu/java/locale/LocaleInformation_gd_GB.java,
8916         gnu/java/locale/LocaleInformation_gl_ES.java,
8917         gnu/java/locale/LocaleInformation_gv_GB.java,
8918         gnu/java/locale/LocaleInformation_he_IL.java,
8919         gnu/java/locale/LocaleInformation_hi_IN.java,
8920         gnu/java/locale/LocaleInformation_hr_HR.java,
8921         gnu/java/locale/LocaleInformation_hu_HU.java,
8922         gnu/java/locale/LocaleInformation_id_ID.java,
8923         gnu/java/locale/LocaleInformation_it_CH.java,
8924         gnu/java/locale/LocaleInformation_it_IT.java,
8925         gnu/java/locale/LocaleInformation_iw_IL.java,
8926         gnu/java/locale/LocaleInformation_ja_JP.java,
8927         gnu/java/locale/LocaleInformation_ka_GE.java,
8928         gnu/java/locale/LocaleInformation_kl_GL.java,
8929         gnu/java/locale/LocaleInformation_ko_KR.java,
8930         gnu/java/locale/LocaleInformation_kw_GB.java,
8931         gnu/java/locale/LocaleInformation_lt_LT.java,
8932         gnu/java/locale/LocaleInformation_lv_LV.java,
8933         gnu/java/locale/LocaleInformation_mi_NZ.java,
8934         gnu/java/locale/LocaleInformation_mk_MK.java,
8935         gnu/java/locale/LocaleInformation_mr_IN.java,
8936         gnu/java/locale/LocaleInformation_mt_MT.java,
8937         gnu/java/locale/LocaleInformation_nl_BE.java,
8938         gnu/java/locale/LocaleInformation_nl_NL.java,
8939         gnu/java/locale/LocaleInformation_nn_NO.java,
8940         gnu/java/locale/LocaleInformation_no_NO.java,
8941         gnu/java/locale/LocaleInformation_oc_FR.java,
8942         gnu/java/locale/LocaleInformation_pl_PL.java,
8943         gnu/java/locale/LocaleInformation_pt_BR.java,
8944         gnu/java/locale/LocaleInformation_pt_PT.java,
8945         gnu/java/locale/LocaleInformation_ro_RO.java,
8946         gnu/java/locale/LocaleInformation_ru_RU.java,
8947         gnu/java/locale/LocaleInformation_ru_UA.java,
8948         gnu/java/locale/LocaleInformation_se_NO.java,
8949         gnu/java/locale/LocaleInformation_sk_SK.java,
8950         gnu/java/locale/LocaleInformation_sl_SI.java,
8951         gnu/java/locale/LocaleInformation_sq_AL.java,
8952         gnu/java/locale/LocaleInformation_sr_YU.java,
8953         gnu/java/locale/LocaleInformation_sv_FI.java,
8954         gnu/java/locale/LocaleInformation_sv_SE.java,
8955         gnu/java/locale/LocaleInformation_ta_IN.java,
8956         gnu/java/locale/LocaleInformation_te_IN.java,
8957         gnu/java/locale/LocaleInformation_tg_TJ.java,
8958         gnu/java/locale/LocaleInformation_tl_PH.java,
8959         gnu/java/locale/LocaleInformation_tr_TR.java,
8960         gnu/java/locale/LocaleInformation_uk_UA.java,
8961         gnu/java/locale/LocaleInformation_ur_PK.java,
8962         gnu/java/locale/LocaleInformation_uz_UZ.java,
8963         gnu/java/locale/LocaleInformation_vi_VN.java,
8964         gnu/java/locale/LocaleInformation_yi_US.java,
8965         gnu/java/locale/LocaleInformation_zh_CN.java,
8966         gnu/java/locale/LocaleInformation_zh_HK.java,
8967         gnu/java/locale/LocaleInformation_zh_SG.java,
8968         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8969         info; from Classpath.
8970
8971         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8972         isPaintPending): New methods.
8973         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8974         setMaximizedBounds): New methods.
8975         (beginLayout, endLayout, isPaintPending): Likewise.
8976         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8977         (requestFocus): Likewise.
8978         (isObscured): Likewise.
8979         (canDetermineObscurity): Likewise.
8980         (coalescePaintEvent): Likewise.
8981         (updateCursorImmediately): Likewise.
8982         (createVolatileImage): Likewise.
8983         (handlesWheelScrolling): Likewise.
8984         (createBuffers): Likewise.
8985         (getBackBuffer): Likewise.
8986         (flip): Likewise.
8987         (destroyBuffers): Likewise.
8988
8989         * Makefile.in: Rebuilt.
8990         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8991         RobotPeer.java.
8992         * gnu/java/awt/GLightweightPeer.java,
8993         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8994         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8995         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8996         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8997         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8998         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8999         java/awt/dnd/peer/DragSourceContextPeer.java,
9000         java/awt/dnd/peer/DropTargetContextPeer.java,
9001         java/awt/peer/ButtonPeer.java,
9002         java/awt/peer/CheckboxMenuItemPeer.java,
9003         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9004         java/awt/peer/ComponentPeer.java,
9005         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9006         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9007         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9008         java/awt/peer/MenuBarPeer.java,
9009         java/awt/peer/MenuComponentPeer.java,
9010         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9011         java/awt/peer/PopupMenuPeer.java,
9012         java/awt/peer/ScrollPanePeer.java,
9013         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9014         java/awt/peer/TextComponentPeer.java,
9015         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9016         New versions from Classpath.
9017         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9018         * java/awt/peer/RobotPeer.java: Likewise.
9019
9020 2003-03-01  Mark Wielaard  <mark@klomp.org>
9021
9022         * java/io/ObjectInputStream.java: Reindent.
9023         * java/io/ObjectOutputStream.java: Likewise.
9024
9025 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
9026
9027         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9028         jvalue for each argument. Simplify.
9029         * testsuite/libjava.jni/calls.c (docall),
9030         testsuite/libjava.jni/calls.java (longpb_f): check for argument
9031         misalignment.
9032
9033 2003-02-28  Mark Wielaard  <mark@klomp.org>
9034
9035         * Makefile.am (nat_source_files): Remove
9036         java/io/natObjectOutputStream.cc.
9037         * Makefile.in: Regenerated.
9038         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9039         * java/io/ObjectStreamField.java (typename): New field.
9040         (ObjectStreamField(String, Class)): Initialize new field.
9041         (ObjectStreamField(String, String)): New Constructor.
9042         (getTypeCode): Use new field.
9043         (getTypeString): Use new field.
9044         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9045         ObjectStreamExceptions. Remember and reset old BlockDataMode.
9046         Handle reading of Proxy classes. Never drain(), just write
9047         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9048         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9049         (flush): Call flush(), not just drain().
9050         (writeBoolean): Always use blockDataOutput.
9051         (writeByte): Likewise.
9052         (writeShort): Likewise.
9053         (writeChar): Likewise.
9054         (writeInt): Likewise.
9055         (writeLong): Likewise.
9056         (writeFloat): Likewise.
9057         (writeDouble): Likewise.
9058         (writeBytes): Likewise.
9059         (putfield (put(String,Object))): Throw IllegalArgumentException if
9060         field cannot be found.
9061         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9062         (writeArraySizeAndElements): Write byte[] in one go.
9063         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9064         set BlockDataMode to false.
9065         (annotateProxyClass): New method.
9066         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9067         (getField): No longer native.
9068         (getMethod): Likewise.
9069         (setBlockDataMode): Always drain() on switch, return old mode.
9070         (static): New static code block.
9071         * java/io/natObjectOutputStream.cc: Removed.
9072         * java/io/ObjectInputStream.java (getField): No longer native.
9073         (getMethod): Likewise.
9074         (readObject): Remember and reset old BlockDataMode. Track whether
9075         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9076         TC_LONGSTRING.
9077         (defaultReadObject): Set BlockDataMode to false during readFields.
9078         (resolveClass): Create new SecurityManager if necessary.
9079         Use Class.forName() if null ClassLoader found.
9080         (read(byte[],int,int): Copy remaining bytes to data before calling
9081         readNextBlock().
9082         (readFields): Set and reset BlockDataMode on call_read_method.
9083         Catch NoSuchFieldErrors.
9084         (setBlockDataMode): Return old mode.
9085         (static): New static code block.
9086         * java/io/natObjectInputStream.cc (getField): Removed.
9087         (getMethod): Likewise.
9088
9089 2003-02-27  Michael Koch  <konqueror@gmx.de>
9090
9091         * java/beans/Beans.java,
9092         java/beans/FeatureDescriptor.java
9093         java/beans/PropertyEditorManager.java:
9094         Reformated to GNU style.
9095
9096 2003-02-25  Michael Koch  <konqueror@gmx.de>
9097
9098         * gnu/java/nio/MappedByteFileBuffer.java,
9099         gnu/java/nio/natMappedByteFileBuffer.cc:
9100         New files, both are not compiled yet to get not noncompiling CVS.
9101
9102 2003-02-24  Tom Tromey  <tromey@redhat.com>
9103
9104         * java/util/prefs/AbstractPreferences.java (isUserNode):
9105         Implemented.
9106
9107 2003-02-24  Tom Tromey  <tromey@redhat.com>
9108
9109         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9110         Deprecate.
9111         * java/lang/Thread.java (resume): Deprecate.
9112         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9113         in @deprecated.
9114
9115 2003-02-23  Tom Tromey  <tromey@redhat.com>
9116
9117         * Makefile.in: Rebuilt.
9118         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9119
9120 2003-02-23  Tom Tromey  <tromey@redhat.com>
9121
9122         * java/lang/natRuntime.cc (libraries_size, libraries_count,
9123         libraries): Removed.
9124         (add_library): Removed.
9125         (_load): Don't call add_library.
9126         (loadLibraryInternal): Likewise.
9127         (init): Likewise.
9128         (lookup_data): New struct.
9129         (find_symbol): New function.
9130         (_Jv_FindSymbolInExecutable): Use it.
9131
9132 2002-02-21  Anthony Green  <green@redhat.com>
9133
9134         * java/lang/Thread.java (Thread): New constructor taking stack
9135         size parameter (ignored for now).
9136         * Many methods: Merged GNU Classpath documentation.
9137
9138         * java/lang/Class.java (finalize): throws a Throwable.
9139
9140 2003-02-21  Mark Wielaard  <mark@klomp.org>
9141
9142         * java/util/zip/ZipEntry.java (setComment): Don't check length when
9143         argument is null.
9144
9145 2003-02-21  Mark Wielaard  <mark@klomp.org>
9146
9147         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9148         then 65535 chars throw IllegalArgumentException.
9149
9150 2003-02-21  Mark Wielaard  <mark@klomp.org>
9151
9152         * java/util/zip/ZipFile.java (finalize): New method.
9153
9154 2003-02-21  Michael Koch  <konqueror@gmx.de>
9155
9156         * gnu/java/nio/natSocketChannelImpl.cc:
9157         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9158         <cato@df.lth.se> for pointing to it.
9159
9160 2003-02-20  Raif S. Naffah <raif@fl.net.au>
9161
9162         * java/math/BigInteger.java (euclidInv): Take result array as an
9163         argument.  Updated all callers.
9164         (modInverse): Removed unused variables.
9165
9166 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
9167
9168         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9169         config.status.
9170         * configure: Rebuilt.
9171
9172 2003-02-19  Michael Koch  <konqueror@gmx.de>
9173
9174         * gnu/java/nio/natSocketChannelImpl.cc:
9175         Added support for platforms without network support.
9176
9177 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9178
9179         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9180         after config.h.  Use <> for consistency.
9181         * java/lang/natObject.cc: Likewise.
9182         * java/lang/natRuntime.cc: Likewise.
9183         * java/lang/natSystem.cc: Likewise.
9184         * java/util/natTimeZone.cc: Likewise.
9185         * win32.cc: Likewise.
9186         * include/posix.h (fcntl, socket, connect, close, bind, accept,
9187         listen, write, read): Undef to avoid interference from OS macros.
9188
9189 2003-02-19  Michael Koch  <konqueror@gmx.de>
9190
9191         * gnu/java/nio/ByteBufferImpl.java
9192         (ByteBufferImpl): Renamed two variables.
9193         * gnu/java/nio/CharBufferImpl.java
9194         (CharBufferImpl): Renamed two variables.
9195         * gnu/java/nio/DoubleBufferImpl.java
9196         (DoubleBufferImpl): Renamed two variables.
9197         * gnu/java/nio/FloatBufferImpl.java
9198         (FloatBufferImpl): Renamed two variables.
9199         * gnu/java/nio/IntBufferImpl.java
9200         (IntBufferImpl): Renamed two variables.
9201         * gnu/java/nio/LongBufferImpl.java
9202         (LongBufferImpl): Renamed two variables.
9203         * gnu/java/nio/ShortBufferImpl.java
9204         (ShortBufferImpl): Renamed two variables.
9205         * java/nio/CharBuffer.java
9206         (wrap): Fixed arguments to CharBufferImpl constructor.
9207         (hasArray): Only not read-only buffers have backing arrays.
9208         (length): Documentation added.
9209         (subSequence): Documentation added.
9210         * java/nio/DoubleBuffer.java
9211         (hasArray): Only not read-only buffers have backing arrays.
9212         * java/nio/FloatBuffer.java
9213         (hasArray): Only not read-only buffers have backing arrays.
9214         * java/nio/IntBuffer.java
9215         (hasArray): Only not read-only buffers have backing arrays.
9216         * java/nio/LongBuffer.java
9217         (hasArray): Only not read-only buffers have backing arrays.
9218         * java/nio/ShortBuffer.java
9219         (hasArray): Only not read-only buffers have backing arrays.
9220         
9221 2003-02-19  Michael Koch  <konqueror@gmx.de>
9222
9223         * javax/accessibility/AccessibleContext.java
9224         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9225
9226 2003-02-19  Michael Koch  <konqueror@gmx.de>
9227
9228         * java/awt/ScrollPaneAdjustable.java: Reformated.
9229
9230 2003-02-19  Michael Koch <konqueror@gmx.de>
9231
9232         * gnu/awt/j2d/Graphics2DImpl.java
9233         (getFontRenderContext): New method.
9234         (drawGlyphVector): New method.
9235         * java/awt/Graphics2D.java
9236         (getFontRenderContext): New abstract method.
9237         (drawGlyphVector): New abstract method.
9238         
9239 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
9240
9241         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9242         if necessary.
9243         
9244         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9245         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9246         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9247         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9248         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9249         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9250         (setFont, gtkSetFont): add.
9251         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9252         Propagate font to peer.  (setFont): add FIXME comment.
9253
9254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9255         (gtkTextGetSize): fix height, width computation.
9256
9257         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9258         Make X font name a bit less bogus.
9259
9260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9261         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9262
9263         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9264         (processAdjustmentEvent): Adjust value.
9265
9266         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9267         logic errors.
9268
9269         * java/awt/Component.java (setVisible, show, hide): Call show and
9270         hide methods in subclasses.
9271         (getPreferredSize): don't set prefSize before we have peer.
9272
9273         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9274         Guess (0,0) if we don't have peer.
9275
9276
9277 2003-02-18  Michael Koch  <konqueror@gmx.de>
9278
9279         * java/nio/channels/FileChannel.java
9280         (toString): New implementation, added documentation.
9281         (map): Added exception documentation.
9282         (size): Added exception documentation.
9283         (write): New methods, documentation work.
9284         (read): New methods, documentation work.
9285         (implCloseChannel): Rewrote exception documentation.
9286         (force): Throws IOException, added documentation.
9287         (lock): New methods.
9288         (tryLock): New methods.
9289         (position): New methods.
9290         (transferTo): New method.
9291         (transferFrom): New method.
9292         (truncate): New method.
9293         * java/nio/channels/spi/SelectorProvider.java
9294         (provider): Implemented.
9295         * Makefile.am
9296         (ordinary_java_source_files): Added the following files:
9297         gnu/java/nio/DatagramChannelImpl.java
9298         gnu/java/nio/FileChannelImpl.java
9299         gnu/java/nio/PipeImpl.java
9300         gnu/java/nio/SelectionKeyImpl.java
9301         gnu/java/nio/SelectorImpl.java
9302         gnu/java/nio/SelectorProviderImpl.java
9303         gnu/java/nio/ServerSocketChannelImpl.java
9304         gnu/java/nio/SocketChannelImpl.java
9305         java/nio/channels/FileLock.java
9306         (nat_java_source_files): Added the following files:
9307         gnu/java/nio/natFileChannelImpl.cc
9308         gnu/java/nio/natSelectorImpl.cc
9309         gnu/java/nio/natSocketChannelImpl.cc
9310         * Makefile.in: Regenerated.
9311
9312 2003-02-17  Tom Tromey  <tromey@redhat.com>
9313
9314         * java/awt/image/ColorModel.java: Re-merged with Classpath.
9315         * java/awt/image/ImageFilter.java: Likewise.
9316
9317 2003-02-17  Raif S. Naffah <raif@fl.net.au>
9318
9319         * java/math/BigInteger.java (euclidInv): Return array of
9320         `BigInteger's.  Changed all callers.
9321
9322 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
9323
9324         * java/util/Properties.java (store): Move the code formerly in
9325         list(), into this method.
9326         (list (PrintStream)): Just call list (PrintWriter) with a 
9327         PrintWriter object constructed from the given PrintStream object.
9328         (list (PrintWriter)): Emulate the output of Properties.list()
9329         as found in JDK 1.3/1.4.
9330
9331 2003-02-17  Michael Koch  <konqueror@gmx.de>
9332
9333         * java/net/DatagramSocket.java
9334         (connect): Merged with classpath.
9335         (disconnect): Merged documentation with classpath.
9336         (receice): Merged documentation with classpath.
9337         (send): Merged documentation with classpath.
9338         
9339 2003-02-17  Michael Koch  <konqueror@gmx.de>
9340
9341         * java/awt/dnd/DragSourceContext.java
9342         (addDragSourceListener): Added documentation.
9343         * java/awt/dnd/DragSourceDragEvent.java
9344         (serialVersionUID): New member variable.
9345         (getDropAction): Reformated.
9346         * java/awt/dnd/DragSourceDropEvent.java
9347         (serialVersionUID): New member variable.
9348         (dropSuccess): Renamed from success for serialization issues.
9349         * java/awt/dnd/DragSourceEvent.java
9350         (serialVersionUID): New member variable.
9351         * java/awt/dnd/DropTarget.java
9352         (serialVersionUID): New member variable.
9353         (DropTarget): Implemented, documentation reworked.
9354         (setComponent): Documentation added.
9355         (getComponent): Documentation added.
9356         (setDefaultActions): Documentation added.
9357         (getDefaultActions): Documentation added.
9358         (addDropTargetListener): Documentation added.
9359         * java/awt/dnd/DropTargetContext.java
9360         (DropTargetContext): Documentation added.
9361         (TransferableProxy.TransferableProxy): New method.
9362         (dropComplete): Fixed documentation.
9363         (getTransferable): Fixed documentation.
9364         (createTransferableProxy): Implemented.
9365         * java/awt/dnd/DropTargetDragEvent.java
9366         (DropTargetDragEvent): Documentation added.
9367         (serialVersionUID): New member variable.
9368         (DropTargetDragEvent): Throw exceptions, documentation added.
9369         (acceptDrag): Implemented.
9370         (getCurrentDataFlavors): Implemented.3yy
9371         (getCurrentDataFlavorsAsList): Implemented.
9372         (isDataFlavorSupported): Implemented.
9373         (rejectDrag): Implemented.
9374         * java/awt/dnd/DropTargetDropEvent.java
9375         (DropTargetDropEvent): Documentation added.
9376         (serialVersionUID): New member variable.
9377         (actions): Renamed from srcActions for serialization issues.
9378         (isLocalTx): Renamed from isLocalTx for serialization issues.
9379         (DropTargetDropEvent): New implementation, throw exceptions,
9380         documentation added.
9381         (getCurrentDataFlavors): Implemented.
9382         (getCurrentDataFlavorsAsList): Implemented.
9383         (isDataFlavorSupported): Implemented.
9384         (getSourceActions): Implemented.
9385         (getDropAction): Implemented.
9386         (getTransferable): Implemented.
9387         (acceptDrop): Implemented.
9388         (rejectDrop): Implemented.
9389         * java/awt/dnd/DropTargetListener.java
9390         (drop): Fixed documentation.
9391         * java/awt/dnd/MouseDragGestureRecognizer.java
9392         (MouseDragGestureRecognizer): Documentation added.
9393
9394 2003-02-17  Michael Koch  <konqueror@gmx.de>
9395
9396         * java/awt/font/FontRenderContext.java,
9397         java/awt/font/ShapeGraphicAttribute.java,
9398         java/awt/font/MultipleMaster.java,
9399         java/awt/font/TransformAttribute.java,
9400         java/awt/font/GlyphJustificationInfo.java,
9401         java/awt/font/LineBreakMeasurer.java,
9402         java/awt/font/TextMeasurer.java,
9403         java/awt/font/TextLayout.java,
9404         java/awt/font/LineMetrics.java,
9405         java/awt/font/TextAttribute.java,
9406         java/awt/font/GlyphMetrics.java,
9407         java/awt/font/OpenType.java,
9408         java/awt/font/GlyphVector.java,
9409         java/awt/font/GraphicAttribute.java,
9410         java/awt/font/ImageGraphicAttribute.java,
9411         java/awt/font/NumericShaper.java: New files.
9412         * Makefile.am
9413         (awt_java_source_files): Added the following files:
9414         java/awt/font/FontRenderContext.java
9415         java/awt/font/ShapeGraphicAttribute.java
9416         java/awt/font/MultipleMaster.java
9417         java/awt/font/TransformAttribute.java
9418         java/awt/font/GlyphJustificationInfo.java
9419         java/awt/font/LineBreakMeasurer.java
9420         java/awt/font/TextMeasurer.java
9421         java/awt/font/TextLayout.java
9422         java/awt/font/LineMetrics.java
9423         java/awt/font/TextAttribute.java
9424         java/awt/font/GlyphMetrics.java
9425         java/awt/font/OpenType.java
9426         java/awt/font/GlyphVector.java
9427         java/awt/font/GraphicAttribute.java
9428         java/awt/font/ImageGraphicAttribute.java
9429         java/awt/font/NumericShaper.java
9430         * Makefile.in: Regenerated.
9431
9432 2003-02-17  Michael Koch  <konqueror@gmx.de>
9433
9434         * java/awt/print/Paper.java
9435         (Paper): Implements Cloneable.
9436         * java/awt/print/PrinterJob.java
9437         (setJobName): Return value must be void.
9438         (print): Throws PrinterException.
9439         
9440 2003-02-16  Tom Tromey  <tromey@redhat.com>
9441
9442         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9443         variable.
9444
9445 2003-02-15  Michael Koch  <konqueror@gmx.de>
9446
9447         * java/awt/datatransfer/DataFlavor.java
9448         (isRepresentationClassByteBuffer): Removed try-catch block.
9449         (isRepresentationClassCharBuffer): Removed try-catch block.
9450         (isRepresentationClassReader): Removed try-catch block.
9451
9452 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9453
9454         * java/nio/charset/Charset.java
9455         (isRegistered): Fixed method args and implementation.
9456         * java/nio/charset/CharsetEncoder.java
9457         (unmappableCharacterAction): New method.
9458
9459 2003-02-15  Michael Koch  <konqueror@gmx.de>
9460
9461         * java/awt/CheckboxMenuItem.java
9462         (CheckBoxMenuItem): Dont implement Serializable.
9463         (getListeners): New method,
9464         (getItemListeners): New method.
9465         * java/awt/Choice.java
9466         (getListeners): New method,
9467         (getItemListeners): New method.
9468         * java/awt/Container.java
9469         (getListeners): Added exception documentation.
9470         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9471         (getFocusTraversalKeys): Added documentation.
9472         (areFocusTraversalKeysSet): Added documentation.
9473         (applyComponentOrientation): Added documentation.
9474         * java/awt/ContainerOrderFocusTraversalPolicy.java
9475         (implicitDownCycleTraversal): Renamed from downCycle for
9476         serialization.
9477         (ContainerOrderFocusTraversalPolicy): Added documentation.
9478         (accept): Reformated.
9479         * java/awt/Dialog.java
9480         (Dialog): Dont implement Serializable.
9481         (Dialog): Added documentation.
9482         * java/awt/Font.java
9483         (Font): Dont use absolute class name.
9484         * java/awt/Frame.java
9485         (Frame): Font implement Serializable.
9486         * java/awt/List.java
9487         (getListeners): New method,
9488         (getActionListeners): New method.       
9489         (getItemListeners): New method.
9490         * java/awt/Menu.java
9491         (countItems): New deprecated method.
9492         * java/awt/Scrollbar.java
9493         (getListeners): New method,
9494         (getAdjustmentListeners): New method,
9495         * java/awt/TextComponent.java
9496         (getListeners): New method,
9497         (getTextListeners): New method,
9498         * java/awt/TextField.java
9499         (getListeners): New method,
9500         (getActionListeners): New method.       
9501         * java/awt/Window.java
9502         (windowFocusListener): New member variable.
9503         (windowStateListener): New member variable.
9504         (getWindowFocusListeners): New method.
9505         (getWindowStateListeners): New method.
9506         (addWindowFocusListener): New method.
9507         (addWindowStateListener): New method.
9508         (removeWindowFocusListener): New method.
9509         (removeWindowStateListener): New method.
9510         * java/awt/datatransfer/DataFlavor.java
9511         (isRepresentationClassByteBuffer): New method.
9512         (isRepresentationClassCharBuffer): New method.
9513         (isRepresentationClassReader): New method.
9514
9515 2003-02-14  Mark Wielaard  <mark@klomp.org>
9516
9517         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9518         zero when there is an exponent and the significant is zero.
9519         (divide): Always set scale to newScale even in special ZERO case.
9520
9521 2003-02-14  Tom Tromey  <tromey@redhat.com>
9522
9523         * java/lang/System.java (properties): Use Properties.clone.
9524         (setProperties): Likewise.
9525
9526 2003-02-14  Michael Koch  <konqueror@gmx.de>
9527
9528         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9529         * gnu/java/nio/ServerSocketChannelImpl.java
9530         (SocketAccept): Removed.
9531         (accept): Commented out use of SocketAccept.
9532
9533 2003-02-13  Tom Tromey  <tromey@redhat.com>
9534
9535         * verify.cc (state::seen_subrs): New field.
9536         (state::state): Initialize it.
9537         (state::clean_subrs): New method.
9538         (state::~state): Call it.
9539         (state::copy): Copy subroutine list.
9540         (state::add_subr): New method.
9541         (state::merge): Only register a change if the current subroutine
9542         hasn't yet been noted.
9543
9544 2003-02-13  Mark Wielaard  <mark@klomp.org>
9545
9546         * java/io/InputStreamReader.java (getEncoding): Return null when
9547         closed.
9548         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9549
9550 2003-02-13  Mark Wielaard  <mark@klomp.org>
9551  
9552         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9553         is zero.
9554
9555 2003-02-13  Mark Wielaard  <mark@klomp.org>
9556
9557         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9558         next byte cannot be buffered.
9559
9560 2003-02-13  Michael Koch  <konqueror@gmx.de>
9561  
9562         * java/awt/Label.java
9563         (Label): Don't implement Serializable directly.
9564         (addNotify): Fixed typo in documentation.
9565         * java/awt/List.java
9566         (List): Don't implement Serializable directly.
9567         * java/awt/PopupMenu.java
9568         (PopupMenu): Don't implement Serializable directly.
9569         * java/awt/ScrollPane.java
9570         (ScrollPane): Don't implement Serializable directly.
9571         * java/awt/Scrollbar.java
9572         (Scrollbar): Don't implement Serializable directly.
9573         * java/awt/TextArea.java
9574         (preferredSize): Fixed method arguments.
9575         * java/awt/TextField.java
9576         (TextField): Don't implement Serializable directly.
9577         * java/awt/color/ICC_ColorSpace.java
9578         (fromCIOXYZ): Documentation added.
9579         (getMinValue): Documentation added.
9580         (getMaxValue): Documentation added.
9581         * java/awt/datatransfer/DataFlavor.java
9582         (isMimeTypeEqual): May not be final.
9583         (clone): Throws CloneNotSupportedException.
9584         (getReaderForText): Don't throws UnsupportedEncodingException.
9585
9586 2003-02-13  Michael Koch  <konqueror@gmx.de>
9587  
9588         * gnu/java/awt/peer/gtk/GdkGraphics.java
9589         (drawString): New stubbed method.
9590         * java/awt/Graphics.java
9591         (drawString): New method.
9592
9593 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9594
9595         PR libgcj/9271:
9596         * java/security/SecureRandom.java (next): Avoid bias in results.
9597
9598 2003-02-13  Michael  <konqueror@gmx.de>
9599
9600         * gnu/java/nio/FileChannelImpl.java
9601         (lengthInternal): Must be native.
9602         (size): Check if channel is already closed.
9603         (implCloseChannel): Reformated.
9604         (read): w was unused, removed it.
9605         (read): Removed.
9606         (read): New method.
9607         (write): New method.
9608         (map): Check arguments.
9609         (force): Throws IOException, check if channel is closed.
9610         (transferTo): New method.
9611         (transferFrom): New method.
9612         (lock): New method.
9613         (tryLock): New method.
9614         (position): New method.
9615         (truncate): New method.
9616         (nio_mmap_file): Uncommented.
9617         (nio_munmap_file): Uncommented.
9618         (nio_msync): Uncommented.
9619         * gnu/java/nio/natFileChannelImpl.cc: New file.
9620         
9621 2003-02-13  Michael Koch  <konqueror@gmx.de>
9622
9623         * java/nio/ByteBuffer.java
9624         (endian): New member variable.
9625         (get): New methods.
9626         (equals): New method.
9627         (compareTo): New method.
9628         (order): New methods.
9629         (compact): New method.
9630         (isDirect): New method.
9631         (slice): New method.
9632         (duplicate): New method.
9633         (asReadOnlyBuffer): New method.
9634         (asCharBuffer): New method.
9635         (asDoubleBuffer): New method.
9636         (asFloatBuffer): New method.
9637         (asIntBuffer): New method.
9638         (asLongBuffer): New method.
9639         (asShortBuffer): New method.
9640         (get*): New methods.
9641         (put*): New methods.
9642         (toString): New method.
9643         * java/nio/CharBuffer.java
9644         (CharBuffer): Implement Comparable instead of Cloneable.
9645         (get): May not be final.
9646         (put): May not be final.
9647         
9648 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9649
9650         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9651         lastIndexOf( ) instead of indexOf( ) to find the colon before
9652         the line number, because Win32 file names might contain a 
9653         drive letter and a colon at the start of an absolute path.
9654
9655 2003-02-13  Michael Koch  <konqueror@gmx.de>
9656
9657         * gnu/java/nio/natSocketChannelImpl.cc
9658         (SocketConnect): This is not implemented yet.
9659         (SocketBind): This is not implemented yet.
9660
9661 2003-02-13  Michael Koch  <konqueror@gmx.de>
9662
9663         * gnu/java/nio/natByteBufferImpl.cc,
9664         gnu/java/nio/natCharBufferImpl.cc,
9665         gnu/java/nio/natDoubleBufferImpl.cc,
9666         gnu/java/nio/natFloatBufferImpl.cc,
9667         gnu/java/nio/natIntBufferImpl.cc,
9668         gnu/java/nio/natLongBufferImpl.cc,
9669         gnu/java/nio/natShortBufferImpl.cc:
9670         Added copyright and license.
9671         * java/nio/DoubleBuffer.java,
9672         java/nio/FloatBuffer.java,
9673         java/nio/IntBuffer.java,
9674         java/nio/LongBuffer.java,
9675         java/nio/ShortBuffer.java
9676         (array): Throw exceptions.
9677         (arrayOffset): Throw exceptions.
9678
9679 2003-02-13  Michael Koch  <konqueror@gmx.de>
9680  
9681         * gnu/java/util/prefs/FileBasedFactory.java,
9682         gnu/java/util/prefs/MemmoryBasedFactory.java,
9683         gnu/java/util/prefs/MemoryBasedPreferences.java,
9684         gnu/java/util/prefs/NodeReader.java,
9685         gnu/java/util/prefs/NodeWriter.java,
9686         java/util/prefs/AbstractPreferences.java,
9687         java/util/prefs/BackingStoreException.java,
9688         java/util/prefs/InvalidPreferencesFormatException.java,
9689         java/util/prefs/NodeChangeEvent.java,
9690         java/util/prefs/NodeChangeListener.java,
9691         java/util/prefs/PreferenceChangeEvent.java,
9692         java/util/prefs/PreferenceChangeListener.java,
9693         java/util/prefs/Preferences.java,
9694         java/util/prefs/PreferencesFactory.java:
9695         New files, all merged from classpath.
9696         * Makefile.am
9697         (ordinary_java_source_files): Added the following files:
9698         gnu/java/util/prefs/FileBasedFactory.java,
9699         gnu/java/util/prefs/MemmoryBasedFactory.java,
9700         gnu/java/util/prefs/MemoryBasedPreferences.java,
9701         gnu/java/util/prefs/NodeReader.java,
9702         gnu/java/util/prefs/NodeWriter.java,
9703         (core_java_source_files): Added the following files:
9704         java/util/prefs/AbstractPreferences.java,
9705         java/util/prefs/BackingStoreException.java,
9706         java/util/prefs/InvalidPreferencesFormatException.java,
9707         java/util/prefs/NodeChangeEvent.java,
9708         java/util/prefs/NodeChangeListener.java,
9709         java/util/prefs/PreferenceChangeEvent.java,
9710         java/util/prefs/PreferenceChangeListener.java,
9711         java/util/prefs/Preferences.java,
9712         java/util/prefs/PreferencesFactory.java
9713         * Makefile.in: Regenerated.
9714  
9715 2003-02-13  Michael Koch  <konqueror@gmx.de>
9716
9717         * java/net/NetPermission.java
9718         (NetPermission): Make doucmentation match the method declaration.
9719         * java/net/NetworkInterface.java
9720         (equals): Reformated for GNU coding style.
9721         * java/net/ServerSocket.java: Merged with classpath.
9722         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9723         * java/net/SocketImpl.java
9724         (localPort): Merged with classpath (initialize with -1).
9725         * java/net/SocketPermission.java: Merged with classpath (reindented).
9726         * java/net/URLDecoder.java: Merged with classpath (reindented).
9727
9728 2003-02-13  Michael Koch  <konqueror@gmx.de>
9729
9730         * java/awt/GridBagConstraints.java
9731         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9732         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9733         * java/awt/KeyboardFocusManager.java
9734         (setGlobalCurrentFocusCycleRoot): Must be public.
9735         * java/awt/MenuComponent.java
9736         (MenuComponent): Must be public.
9737         * java/awt/Toolkit.java:
9738         Added some empty lines to make documentation more readable.
9739         (getFontPeer): Added @deprecated.
9740         (getColorModel): Added exception documentation.
9741         (getProperty): Fixed documentation.
9742  
9743 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9744
9745         * configure.host (alpha*-*): Default to -mieee.
9746         * configure.in (IEEESPEC): New.
9747         * libgcj.spec.in (jc1): Add IEEESPEC.
9748         * configure: Rebuild.
9749
9750 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9751
9752         * include/win32.h: Include ws2tcpip.h instead of
9753         winsock.h to obtain definition of the socklen_t type.
9754         Remove IP_TOS definition - not needed with ws2tcpip.h
9755         (_Jv_connect): Correct slight formatting error.
9756
9757 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9758
9759         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9760         size of the arguments for a JNI function. For Win32,
9761         modify to search for all forms of possible exported
9762         names of an stdcall JNI function.
9763         (_Jv_JNIMethod::call): Modify to calculate the size
9764         of the arguments passed to a JNI function and pass
9765         it to _Jv_LookupJNIMethod.
9766
9767 2003-02-12  Michael Koch  <konqueror@gmx.de>
9768
9769         * java/nio/channels/Channels.java: New file.
9770         * Makefile.am
9771         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9772         * Makefile.in: Regenerated.
9773
9774 2003-02-12  Michael Koch  <konqueror@gmx.de>
9775
9776         * java/nio/ByteBuffer.java
9777         (allocate): Implemented.
9778         (wrap): Implemented.
9779         * java/nio/CharBuffer.java:
9780         Some documentation added and reworked.
9781         (endian): Removed.
9782         (allocate): Implemented.
9783         (wrap): Implemented.
9784         (array): Throw exceptions.
9785         (arrayOffset): Throw exceptions.
9786         (toString): Implemented.
9787         (length): Implemented.
9788         (put): Implemented.
9789         (charAt): Implemented.
9790
9791 2003-02-11  John Leuner  <jewel@debian.org>
9792
9793         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9794         reads from end of file.
9795
9796 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9797
9798         * java/io/natFileDescriptorWin32.cc 
9799         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9800         returns with Win32 error code ERROR_BROKEN_PIPE.
9801
9802 2003-02-11  Michael Koch  <konqueror@gmx.de>
9803
9804         * Makefile.in
9805         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9806
9807 2003-02-11  Michael Koch  <konqueror@gmx.de>
9808
9809         * gnu/java/nio/ByteBufferImpl.java:
9810         Reformated and removed some code.
9811         (backing_buffer): Removed.      
9812         (array_offset): Removed.
9813         (ro): Renamed to readOnly.
9814         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9815         * gnu/java/nio/CharBufferImpl.java:
9816         Reformated and removed some code.
9817         (array_offset): Removed.
9818         (ro): Renamed to readOnly.
9819         (CharBufferImpl): Use parent constructor, initialize readOnly.
9820         (inc_pos): Removed.
9821         (order): New method.
9822         * gnu/java/nio/DoubleBufferImpl.java:
9823         Reformated and removed some code.
9824         (array_offset): Removed.
9825         (ro): Renamed to readOnly.
9826         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9827         (inc_pos): Removed.
9828         (order): New method.
9829         * gnu/java/nio/FloatBufferImpl.java:
9830         Reformated and removed some code.
9831         (array_offset): Removed.
9832         (ro): Renamed to readOnly.
9833         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9834         (inc_pos): Removed.
9835         (order): New method.
9836         * gnu/java/nio/IntBufferImpl.java:
9837         Reformated and removed some code.
9838         (array_offset): Removed.
9839         (ro): Renamed to readOnly.
9840         (IntBufferImpl): Use parent constructor, initialize readOnly.
9841         (inc_pos): Removed.
9842         (order): New method.
9843         * gnu/java/nio/LongBufferImpl.java:
9844         Reformated and removed some code.
9845         (array_offset): Removed.
9846         (ro): Renamed to readOnly.
9847         (LongBufferImpl): Use parent constructor, initialize readOnly.
9848         (inc_pos): Removed.
9849         (order): New method.
9850         * gnu/java/nio/ShortBufferImpl.java:
9851         Reformated and removed some code.
9852         (array_offset): Removed.
9853         (ro): Renamed to readOnly.
9854         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9855         (inc_pos): Removed.
9856         (order): New method.
9857         * Makefile.am
9858         (ordinary_java_source_files): Added the following files:
9859         gnu/java/nio/ByteBufferImpl.java
9860         gnu/java/nio/CharBufferImpl.java
9861         gnu/java/nio/DoubleBufferImpl.java
9862         gnu/java/nio/FloatBufferImpl.java
9863         gnu/java/nio/IntBufferImpl.java
9864         gnu/java/nio/LongBufferImpl.java
9865         gnu/java/nio/ShortBufferImpl.java
9866         java/nio/DoubleBuffer.java
9867         java/nio/FloatBuffer.java
9868         java/nio/IntBuffer.java
9869         java/nio/LongBuffer.java
9870         java/nio/ShortBuffer.java
9871         (nat_source_files): Added the following files:
9872         gnu/java/nio/natByteBufferImpl.cc
9873         gnu/java/nio/natCharBufferImpl.cc
9874         gnu/java/nio/natDoubleBufferImpl.cc
9875         gnu/java/nio/natFloatBufferImpl.cc
9876         gnu/java/nio/natIntBufferImpl.cc
9877         gnu/java/nio/natLongBufferImpl.cc
9878         gnu/java/nio/natShortBufferImpl.cc
9879         * Makefile.in: Regenerated.
9880
9881 2003-02-11  Michael Koch  <konqueror@gmx.de>
9882
9883         * gnu/java/nio/natCharBufferImpl.cc
9884         (nio_cast): Removed.
9885         (nio_put_*): Removed.
9886         (nio_get_*): Removed.
9887         * gnu/java/nio/natDoubleBufferImpl.cc
9888         (nio_cast): Removed.
9889         (nio_put_*): Removed.
9890         (nio_get_*): Removed.
9891         * gnu/java/nio/natFloatBufferImpl.cc
9892         (nio_cast): Removed.
9893         (nio_put_*): Removed.
9894         (nio_get_*): Removed.
9895         * gnu/java/nio/natIntBufferImpl.cc
9896         (nio_cast): Removed.
9897         (nio_put_*): Removed.
9898         (nio_get_*): Removed.
9899         * gnu/java/nio/natLongBufferImpl.cc
9900         (nio_cast): Removed.
9901         (nio_put_*): Removed.
9902         (nio_get_*): Removed.
9903         * gnu/java/nio/natShortBufferImpl.cc
9904         (nio_cast): Removed.
9905         (nio_put_*): Removed.
9906         (nio_get_*): Removed.
9907         * gnu/java/nio/SelectorProviderImpl.java
9908         (openDatagramChannel): Throws IOException.
9909         (openPipe): Throws IOException.
9910         (openSelector): Throws IOException.
9911         (openServerSocketChannel): Throws IOException.
9912         (openSocketChannel): Throws IOException.
9913         * gnu/java/nio/ServerSocketChannelImpl.java
9914         (ServerSocketChannelImpl): Throws IOException.
9915         (implCloseSelectableChannel): Throws IOException.
9916         (implConfigureBlocking): Throws IOException.
9917         * java/nio/ByteBuffer.java
9918         (readOnly): Removed.
9919         (hasArray): Use isReadOnly() instead of readOnly.
9920         (array): Use isReadOnly() instead of readOnly.
9921         (arrayOffset): Use isReadOnly() instead of readOnly.
9922         * java/nio/CharBuffer.java
9923         (CharBuffer): Implements Cloneable and CharSequence.
9924
9925 2003-02-11  Michael Koch  <konqueror@gmx.de>
9926
9927         * java/nio/DoubleBuffer.java
9928         (DoubleBuffer): Implements Comparable.
9929         (endian): Removed.
9930         (array_offset): New member variable.
9931         (DoubleBuffer): New constuctor.
9932         (get): May not be final.
9933         (put): May not be final.
9934         (arrayOffset): Implemented.
9935         (order): Made abstract.
9936         (order): Removed.
9937         (as*Buffer): Removed.
9938         (get*): Removed.
9939         (put*): Removed.
9940         * java/nio/FloatBuffer.java
9941         (FloatBuffer): Implements Comparable.
9942         (endian): Removed.
9943         (array_offset): New member variable.
9944         (FloatBuffer): New constuctor.
9945         (get): May not be final.
9946         (put): May not be final.
9947         (arrayOffset): Implemented.
9948         (order): Made abstract.
9949         (order): Removed.
9950         (as*Buffer): Removed.
9951         (get*): Removed.
9952         (put*): Removed.
9953         * java/nio/IntBuffer.java
9954         (IntBuffer): Implements Comparable.
9955         (endian): Removed.
9956         (array_offset): New member variable.
9957         (IntBuffer): New constuctor.
9958         (get): May not be final.
9959         (put): May not be final.
9960         (arrayOffset): Implemented.
9961         (order): Made abstract.
9962         (order): Removed.
9963         (as*Buffer): Removed.
9964         (get*): Removed.
9965         (put*): Removed.
9966         * java/nio/LongBuffer.java
9967         (LongBuffer): Implements Comparable.
9968         (endian): Removed.
9969         (array_offset): New member variable.
9970         (LongBuffer): New constuctor.
9971         (get): May not be final.
9972         (put): May not be final.
9973         (arrayOffset): Implemented.
9974         (order): Made abstract.
9975         (order): Removed.
9976         (as*Buffer): Removed.
9977         (get*): Removed.
9978         (put*): Removed.
9979         * java/nio/ShortBuffer.java
9980         (ShortBuffer): Implements Comparable.
9981         (endian): Removed.
9982         (array_offset): New member variable.
9983         (ShortBuffer): New constuctor.
9984         (get): May not be final.
9985         (put): May not be final.
9986         (arrayOffset): Implemented.
9987         (order): Made abstract.
9988         (order): Removed.
9989         (as*Buffer): Removed.
9990         (get*): Removed.
9991         (put*): Removed.
9992
9993 2003-02-11   Michael Koch  <konqueror@gmx.de>
9994
9995         * java/nio/channels/SelectionKey.java
9996         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9997         values.
9998
9999 2003-02-11  Michael Koch  <konqueror@gmx.de>
10000
10001         * java/nio/channels/DatagramChannel.java
10002         (write): Throws IOException.
10003         (connect): Throws IOException.
10004         (disconnect): Throws IOException.
10005         (read): Throws IOException.
10006         (receive): Throws IOException.
10007         (send): Throws IOException.
10008         * java/nio/channels/Pipe.java
10009         (open): Throws IOException.
10010         * java/nio/channels/SelectableChannel.java
10011         (configureBlocking): Throws IOException.
10012         * java/nio/channels/ServerSocketChannel.java
10013         (accept): Throws IOException.
10014         * java/nio/channels/SocketChannel.java
10015         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10016         GatheringByteChannel.
10017         (read): Throws IOException.
10018         (write): Throws IOException.
10019         (finishConnect): Throws IOException.
10020         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10021         (end): Throws AsynchronousCloseException.
10022         * java/nio/channels/spi/AbstractSelectableChannel.java
10023         (configureBlocking): Throws IOException.
10024         (implCloseChannel): Throws IOException.
10025         (implCloseSelectableChannel): Throws IOException.
10026         (implConfigureBlocking): Throws IOException.
10027         * java/nio/channels/spi/SelectorProvider.java
10028         (openDatagramChannel): Throws IOException.
10029         (openPipe): Throws IOException.
10030         (openSelector): Throws IOException.
10031         (openServerSocketChannel): Throws IOException.
10032         (openSocketChannel): Throws IOException.
10033
10034 2003-02-11  Michael Koch  <konqueror@gmx.de>
10035
10036         * gnu/java/nio/FileLockImpl.java,
10037         java/nio/channels/FileLock.java: New files.
10038
10039 2003-02-11  Michael Koch  <konqueror@gmx.de>
10040
10041         * java/nio/charset/IllegalCharsetNameException.java
10042         (serialVersionUID): New member variable.
10043         (charsetName): New member variable.
10044         (IllegalCharsetException): New implementation.
10045         (getCharsetName): New implementation.
10046         * java/nio/charset/UnsupportedCharsetException.java
10047         (serialVersionUID): New member variable.
10048         (charsetName): New member variable.
10049         (UnsupportedCharsetException): New implementation.
10050         (getCharsetName): New implementation.
10051
10052 2003-02-10  Tom Tromey  <tromey@redhat.com>
10053
10054         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10055         (ex): Renamed from sqlException.
10056
10057 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
10058
10059         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
10060         method used to ensure seeding has occurred and that a specific 
10061         seed can be set and used.
10062
10063 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
10064
10065         * java/lang/Win32Process.java (destroy): Declare as native.
10066         (hasExited): New native method.
10067         (exitValue): Define.
10068         (getErrorStream): Likewise.
10069         (getInputStream): Likewise.
10070         (getOutputStream): Likewise.
10071         (waitFor): Declare as native.
10072         (startProcess): New native method.
10073         (cleanup): Likewise.
10074         (ConcreteProcess): Define.
10075         (outputStream, inputStream, errorStream): New members.
10076         (procHandle, exitCode): Likewise.
10077
10078         * java/lang/natWin32Process.cc
10079         (java::lang::ConcreteProcess::cleanup): Define.
10080         (java::lang::ConcreteProcess::destroy): Likewise.
10081         (java::lang::ConcreteProcess::hasExited): Likewise.
10082         (java::lang::ConcreteProcess::waitFor): Likewise.
10083         (new_string): Likewise.
10084         (java::lang::ConcreteProcess::startProcess): Likewise.
10085
10086 2003-02-10  Raif S. Naffah <raif@fl.net.au>
10087
10088         * java/math/BigInteger.java:
10089         Updated notice to include years 2002 and 3.
10090         Added 2 private (int) arrays with values from the HAC (Handbook of
10091         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10092         and t[] that contains nbr. of tests --used in isProbablePrime().
10093
10094         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10095
10096         * java/math/BigInteger.java (make(int[],int), add(int,int),
10097         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10098         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10099         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10100         make(long).
10101
10102         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10103         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10104         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10105         BIs and returns void.
10106         (modInverse(BI)): Use new signatures of euclidInv().
10107
10108         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10109         static small primes instead of remainder().
10110         Use pre-computed max nbr of trials based on bitlength of BI to test.
10111         Use pre-computed small primes for the trial tests instead of random
10112         numbers.
10113
10114         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10115         not used.
10116
10117         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10118         invoacation of MPN.chars_per_word().  not used.
10119
10120         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10121         local var and used where needed.
10122
10123         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10124         Combined declaration with initialisation of locals.
10125         Removed unused var.
10126
10127         * java/math/BigInteger.java: Style changes
10128         (pow(int)): Removed 'else' keyword.
10129         (toString(int)): idem.
10130         (doubleValue()): idem.
10131         (bitLength()): idem.
10132         (equals(Object)): Use static methods name in same class w/o prepending
10133         class name.
10134         (doubleValue()): idem.
10135         (setNegative(BI)): idem.
10136         (negate()): idem.
10137         (and(BI,int)): idem.
10138         (and(BI)): idem.
10139         (gcd(BI)): idem.
10140         (byteArrayToIntArray()): Removed casting to (int). this is
10141         std. behaviour.
10142         (canonicalize()): idem.
10143         (alloc(int)): Always instantiate a new BI.
10144
10145 2003-02-10  Tom Tromey  <tromey@redhat.com>
10146
10147         * java/sql/Timestamp.java (compareTo(Object)): New method.
10148         (compareTo(Timestamp)): Likewise.
10149         (serialVersionUID): Updated.
10150
10151 2003-02-07  Mark Wielaard  <mark@klomp.org>
10152
10153         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10154         when verify is true.
10155         (JarFile(File, boolean)): Likewise.
10156         (manifestRead): Set manifestRead field correctly.
10157
10158 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10159
10160         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10161         tests; see patch #1016 on Savannah.
10162
10163 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10164
10165         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10166         (toString): do not return Strings starting with . and - erroneously.
10167         Improves Mauve results to 12 of 600 instead of 16 of 338 on
10168         DiagBigDecimal.
10169
10170 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10171
10172         * java/beans/PropertyDescriptor.java
10173         (PropertyDescriptor(String, Class)): Sanity check getter and setter
10174         methods.
10175         (PropertyDescriptor(String, Class, String, String)): Likewise.
10176         (PropertyDescriptor(String, Method, Method): Factor out getter and
10177         setter method sanity checks into new method.
10178         (findMethods): Don't do parameter sanity checking of get method here.
10179         (checkMethods): New method.
10180
10181 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
10182
10183         * java/beans/PropertyDescriptor.java: Reformat.
10184
10185 2003-02-04  Tom Tromey  <tromey@redhat.com>
10186
10187         * java/io/PipedOutputStream.java (flush): Declare as throwing
10188         IOException.
10189         (close): Likewise.
10190         * java/io/PipedWriter.java (close): Declare as throwing
10191         IOException.
10192         * java/io/StringWriter.java (close): Declare as throwing
10193         IOException.
10194
10195 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10196
10197         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10198         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10199         could also have been exported as "JNI_OnLoad@8" (MinGW) or
10200         "_JNI_OnLoad@8" (MSVC).
10201
10202 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
10203
10204         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10205         convention on Win32 to invoke native JNI methods.
10206
10207 2003-02-03  Andrew Haley  <aph@redhat.com>
10208
10209         * configure.host (x86_64): Enable interpreter.
10210
10211 2003-02-03  Andrew Haley  <aph@redhat.com>
10212
10213         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10214         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10215         * configure.in (BACKTRACESPEC): New.
10216         * configure: Regenerate.
10217
10218 2003-02-02  Tom Tromey  <tromey@redhat.com>
10219
10220         * configure: Rebuilt.
10221         * configure.in (TOOLKIT) [xlib]: Set correctly.
10222
10223         * Makefile.in: Rebuilt.
10224         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10225         libstdc++.
10226
10227 2003-01-31  Mark WIelaard  <mark@klomp.org>
10228
10229         * Makefile.in: Rebuilt.
10230         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10231
10232 2003-01-31  Tom Tromey  <tromey@redhat.com>
10233
10234         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10235         cast to element type.
10236         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10237         (_Jv_JNI_GetObjectArrayElement): Likewise.
10238
10239         * Makefile.in: Rebuilt.
10240         * Makefile.am (cond_x_ltlibrary): Renamed library to
10241         lib-gnu-awt-xlib.la.
10242         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10243         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10244         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10245         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10246         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10247         (lib_gnu_awt_xlib_la_LINK): Likewise.
10248         (install-exec-hook): Removed.
10249         (lib-gnu-awt-xlib.la): Renamed.
10250
10251 2003-01-31  Tom Tromey  <tromey@redhat.com>
10252
10253         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10254         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10255         aclocal.m4 and lost in some merge.
10256
10257         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10258         Don't try to find graphics configuration.
10259         * java/awt/Toolkit.java (default_toolkit_name): Use new
10260         Configuration entry.
10261         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10262         New global.
10263         * configure: Rebuilt.
10264         * configure.in (TOOLKIT): New subst.
10265         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10266         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
10267         directory.  Make output directories for .c files.
10268         * Makefile.in: Rebuilt.
10269         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10270         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10271         (all_java_source_files): Added new sources.
10272         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10273         (gtk_c_files): New macro.
10274         (gtk_c_source_files): New macro.
10275         (cond_gtk_ltlibrary): New macro.
10276         ($(gtk_c_files)): New target.
10277         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10278         (gtk_awt_peer_sources): New macro.
10279         (gtk_c_headers): New macro.
10280         ($(gtk_c_headers)): New target.
10281         (ACLOCAL_AMFLAGS): New macro.
10282         * gtk.m4, glib.m4, libart.m4: New files.
10283         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10284         gnu/java/awt/peer/gtk/GdkGraphics.java,
10285         gnu/java/awt/peer/gtk/GtkArg.java,
10286         gnu/java/awt/peer/gtk/GtkArgList.java,
10287         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10288         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10289         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10290         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10291         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10292         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10293         gnu/java/awt/peer/gtk/GtkClipboard.java,
10294         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10295         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10296         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10297         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10298         gnu/java/awt/peer/gtk/GtkFontPeer.java,
10299         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10300         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10301         gnu/java/awt/peer/gtk/GtkImage.java,
10302         gnu/java/awt/peer/gtk/GtkImagePainter.java,
10303         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10304         gnu/java/awt/peer/gtk/GtkListPeer.java,
10305         gnu/java/awt/peer/gtk/GtkMainThread.java,
10306         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10307         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10308         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10309         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10310         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10311         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10312         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10313         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10314         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10315         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10316         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10317         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10318         gnu/java/awt/peer/gtk/GtkToolkit.java,
10319         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10320         gnu/java/awt/peer/gtk/TestAWT.java,
10321         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10323         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10325         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10326         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10329         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10332         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10347         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10349         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10350         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10351         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10352         jni/classpath/native_state.c, jni/classpath/native_state.h,
10353         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10354
10355 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
10356
10357         * java/util/Properties.java (load): Ignore backslash before EOF.
10358
10359 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
10360
10361         * java/lang/natClass.cc (initializeClass): Check tables when
10362         (state == JV_STATE_IN_PROGRESS).
10363         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10364         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10365         interpreted classes.
10366         (linkClass0): Use _Jv_WaitForState.
10367
10368 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
10369
10370         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10371         object when finished.
10372
10373 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10374
10375         * libjava/configure.host: Disable can_unwind_signal on darwin.
10376
10377 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10378
10379         Fixes PR java/9254:
10380         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10381         additionally containing id of the owner thread as well as
10382         the number of nested times the thread has acquired the mutex.
10383         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10384         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10385         (_Jv_MutexUnlock): Check if really the owner thread, reset
10386         owner thread id to 0 before leaving, if leaving for the last
10387         time.
10388         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10389         refcount.
10390         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10391         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10392         the passed mutex.
10393         Pass handle of the broadcast event, instead of a pointer to it
10394         in Win32 ResetEvent( ) call.
10395         Remove incorrect return values.
10396         (_Jv_CondDestroy): Close both event handles and delete
10397         critical section.
10398         (_Jv_CondNotify): Check if really the owner thread.
10399         (_Jv_CondNotifyAll): Check if really the owner thread.
10400         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10401         (really_start): Use SetEvent( ) to signal daemon_cond.
10402         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10403         WaitForSingleObject( ) instead to wait for daemon_cond to be
10404         signalled.
10405
10406 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10407
10408         * configure.in: Specifically define HAVE_BACKTRACE if building
10409         for MinGW.
10410         * include/win32.h: Remove HAVE_BACKTRACE definition.
10411         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10412         * configure: Rebuilt.
10413
10414 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10415
10416         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10417         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10418         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10419         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10420         * Makefile.in, configure: Rebuilt.
10421
10422 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10423
10424         Fixes PR java/9253:
10425         * java/io/natFileWin32.cc (performList): Append only "*.*"
10426         if the canonical file path already has a "\" at the end.
10427
10428 2003-01-24  Tom Tromey  <tromey@redhat.com>
10429
10430         * defineclass.cc (handleMethodsEnd): Precompute code for static
10431         method.
10432         (handleCodeAttribute): Likewise.
10433         * resolve.cc (ncode): Use run_class for unsynchronized static
10434         methods.
10435         * include/java-interp.h (class _Jv_InterpMethod): Declare
10436         run_class.
10437         * interpret.cc (run_synch_class): Initialize class.
10438         (run) [insn_invokestatic]: Don't initialize class.
10439         [insn_anewarray]: Likewise.
10440         [insn_multianewarray]: Likewise.
10441         (run_class): New function.
10442
10443 2003-01-24  Tom Tromey  <tromey@redhat.com>
10444
10445         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10446         comment.
10447
10448 2003-01-22  Andrew Haley  <aph@redhat.com>
10449
10450         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10451         * configure.host (CHECKREFSPEC): Define for x86_64.
10452
10453 2003-01-21  Tom Tromey  <tromey@redhat.com>
10454
10455         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10456         search at 2, not 3.
10457
10458 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10459
10460         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10461         looking at any characters.
10462         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10463         be used.
10464         (isAbsolute): Check path's length as well.
10465
10466 2003-01-17  Mark Wielaard  <mark@klomp.org>
10467
10468         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10469         (nat_source_files): Add natVMObjectStreamClass.cc.
10470         * Makefile.in: Regenerated.
10471         * gcj/javaprims.h (namespace java): Regenerated.
10472         * java/io/ObjectStreamClass.java (getClassUID): Call
10473         VMObjectStreamClass.hasClassInitializer().
10474         (hasClassInitializer): Removed.
10475         * java/io/VMObjectStreamClass.java: New class.
10476         * java/io/natVMObjectStreamClass.cc: New file.
10477         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10478
10479 2003-01-16  Mark Wielaard  <mark@klomp.org>
10480
10481         * java/net/SocketImpl.java (toString): Don't explicitly call
10482         toString() on possible null address.
10483
10484 2003-01-16  Michael Koch  <konqueror@gmx.de>
10485
10486         * java/net/MulticastSocket.java
10487         (setInterface): Reindented.
10488
10489 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10490
10491         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10492         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10493         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10494         translateY arguments.  Implement.
10495         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10496         down translation arguments.
10497         (drawPolyline, drawPolygon): Fix incorrect tests.
10498         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10499         translateX and translateY arguments.
10500
10501 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10502
10503         * Makefile.in: Rebuilt.
10504         * Makefile.am (xlib_includes): New macro.
10505         (INCLUDES): Use it.
10506
10507 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10508
10509         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10510         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10511         16-bit display mode.
10512
10513 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10514
10515         * java/awt/CardLayout.java (show): Rewrote.
10516         (gotoComponent): Removed `target' argument.  Simplified code.
10517         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10518         Changed all callers.
10519         (NONE): Removed.
10520         
10521 2003-01-14  Michael Koch  <konqueror@gmx.de>
10522
10523         * java/net/InetSocketAddress.java
10524         (serialVersionUID): New member variable.
10525         * java/net/NetPermission.java
10526         (NetPermission): Dont implement java.io.Serialization directly.
10527         * java/net/SocketAddress.java:
10528         (serialVersionUID): Documentation added.
10529         
10530 2003-01-14  Michael Koch  <konqueror@gmx.de>
10531
10532         * java/awt/Label.java
10533         (Label): Implements javax.accessibility.Accessible;
10534         * java/awt/List.java
10535         (List): Implements javax.accessibility.Accessible;
10536         * java/awt/ScrollPane.java
10537         (ScrollPane): Implements javax.accessibility.Accessible;
10538         * java/awt/Scrollbar.java
10539         (Scrollbar): Implements javax.accessibility.Accessible;
10540         * java/awt/TextComponent.java
10541         (setCaretPosition): Throw exception, documentation added.
10542         * java/awt/Toolkit.java:
10543         Added some newlines in method documentations.
10544         (createButton): Exception documentation added.
10545         (createTextField): Exception documentation added.
10546         (createLabel): Exception documentation added.
10547         (createList): Exception documentation added.
10548         (createCheckbox): Exception documentation added.
10549         (createScrollbar): Exception documentation added.
10550         (createScrollPane): Exception documentation added.
10551         (createTextArea): Exception documentation added.
10552         (createChoice): Exception documentation added.
10553         (createFrame): Exception documentation added.
10554         (createWindow): Exception documentation added.
10555         (createDialog): Exception documentation added.
10556         (createMenuBar): Exception documentation added.
10557         (createMenu): Exception documentation added.
10558         (createMenuItem): Exception documentation added.
10559         (createFileDialog): Exception documentation added.
10560         (createCheckboxMenuItem): Exception documentation added.
10561         (loadSystemColors): Exception documentation added.
10562         (setDynamicLayout): Exception documentation added.
10563         (isDynamicLayoutSet): Exception documentation added.
10564         (isDynamicLayoutActive): Exception documentation added.
10565         (getScreenSize): Exception documentation added.
10566         (getScreenResolution): Exception documentation added.
10567         (getScreenInsets): Exception documentation added.
10568         (getColorModel): Exception documentation added.
10569         (getSystemClipboard): Exception documentation added.
10570         (getSystemSelection): Exception documentation added.
10571         (getMenuShortcutKeyMask): Exception documentation added.
10572         (getSystemEventQueue): Exception documentation added.
10573         * java/awt/Window.java:
10574         Reindented some code.
10575         (Window): Centralized implementation, documentation added.
10576         (finalize): Documentation added.
10577         (hide): Fixed typo in comment.
10578         (getWindowListeners): Documentation added.
10579         * java/awt/color/ColorSpace.java
10580         (toRGB): Documentation added.
10581         * java/awt/color/ICC_ColorSpace.java
10582         (ICC_ColorSpace): Documentation added.
10583         (toRGB): Throw exception, documentation added.
10584         (fromRGB): Throw exception, documentation added.
10585         (toCIEXYZ): Documentation added.
10586         (fromCIEXYZ): Documentation added.
10587         (getMinValue): Documentation added.
10588         (getMaxValue): Documentation added.
10589         * java/awt/geom/Dimension2D.java
10590         (clone): Documentation added.
10591         * java/awt/geom/GeneralPath.java
10592         (clone): Documentation added.
10593         * java/awt/geom/Line2D.java
10594         (clone): Documentation added.
10595         * java/awt/geom/QuadCurve2D.java
10596         (clone): Documentation added.
10597         * java/awt/image/ColorModel.java
10598         (ColorModel): Throw exception, documentation added.
10599         * java/awt/image/ImageFilter.java
10600         (clone): Doesnt throw CloneNotSupportedException.
10601
10602 2003-01-14  Andrew Haley  <aph@redhat.com>
10603
10604         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10605         in a try block.
10606
10607 2003-01-10  Andrew Haley  <aph@redhat.com>
10608
10609         * include/dwarf2-signal.h: Remove x86_64.
10610         * configure.host (x86_64 DIVIDESPEC): Remove.
10611         * include/x86_64-signal.h: New file.
10612         * configure.in: Regenerate.
10613
10614 2003-01-10  Michael Koch  <konqueror@gmx.de>
10615
10616         * java/net/DatagramSocket.java
10617         (ch): Description added.
10618         (remotePort): Initialize with -1.
10619         (connect): Doesnt throws SocketException.
10620         * java/net/MulticastSocket.java
10621         (setInterface): Merge with Classpath.
10622         * java/net/ServerSocket.java
10623         (closed): New member variable.
10624         (bind): Check if socket is closed.
10625         (close): Close an associated channel too, set new value to closed.
10626         (isBound): Reindented.
10627         (isClosed): Implemented.
10628         * java/net/Socket.java
10629         (closed): New member variable.
10630         (bind): Check if socket is closed.
10631         (connect): Check if socket is closed.
10632         (close): Close an associated channel too, set new value to closed.
10633         (isClosed): Implemented.
10634
10635 2003-01-10  Michael Koch  <konqueror@gmx.de>
10636
10637         * java/awt/DisplayMode.java
10638         (equals): Fixed argument type and implementation.
10639
10640 2003-01-07  Tom Tromey  <tromey@redhat.com>
10641
10642         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10643         JV_HASH_SYNCHRONIZATION.
10644         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10645         JV_HASH_SYNCHRONIZATION.
10646
10647 2003-01-07  Michael Koch  <konqueror@gmx.de>
10648  
10649         * java/net/DatagramSocket.java:
10650         Added classpath license info.
10651         (DatagramSocket): Merged description with classpath.
10652         (close): Merged description with classpath.
10653         (getChannel): Merged description with classpath.
10654         (getInetAddress): Merged description with classpath.
10655         (getPort): Merged description with classpath.
10656         (getLocalAddress): Merged description with classpath.
10657         (getLocalPort): Merged description with classpath.
10658         (getSoTimeout): Merged description with classpath.
10659         (setSoTimeout): Merged description with classpath.
10660         (getSendBufferSize): Merged description with classpath.
10661         (setSendBufferSize): Merged description with classpath.
10662         (getReceiveBufferSize): Merged description with classpath.
10663         (setReceiveBufferSize): Merged description with classpath.
10664         
10665 2003-01-04  Tom Tromey  <tromey@redhat.com>
10666
10667         * java/awt/List.java: Merged with Classpath.
10668
10669 2003-01-03  Mark Wielaard  <mark@klomp.org>
10670
10671         * java/io/FileDescriptor.java (position): New private field.
10672         * java/io/natFileDescriptorPosix.cc (write): Up position.
10673         (setLength): Use and set position.
10674         (seek): Set position.
10675         (getFilePointer): Return position.
10676         (read): Up position.
10677
10678 2003-01-03  Mark Wielaard  <mark@klomp.org>
10679
10680         Merge with Classpath:
10681         * java/io/ObjectStreamClass.java (lookup): Split method and call
10682         lookupForClassObject().
10683         (lookupForClassObject): New method.
10684         (isProxyClass): New field.
10685         (setClass): Set isProxyClass, add object to classLookupTable, set
10686         superClass and calculateOffsets.
10687         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10688         and not a proxy class.
10689         (setFields): Set accessible true for serialPersistentFields.
10690         (getClassUID): Same for suid. And check if suid is of type long.
10691         (hasClassInitializer): Don't throw NoSuchMethodError.
10692
10693 2003-01-03  Mark Wielaard  <mark@klomp.org>
10694
10695         * java/io/FileInputStream.java (finalize): Don't explicitly
10696         finalize FileDescriptor.
10697
10698 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10699
10700         * configure.host (sparc*-*): Enable bytecode interpreter.
10701
10702 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10703
10704         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10705         Don't throw RemoteException.
10706         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10707         throw RemoteException.
10708
10709 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10710
10711         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10712         proxyHost): New static fields.
10713         (<clinit>): Initialize new fields.
10714         (connect): Use proxy if necessary.
10715         (usingProxy): Implement.
10716
10717 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10718
10719         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10720         (TreeIterator.remove): Prefer IllegalStateException over
10721         ConcurrentModificationException, to match Sun.
10722
10723 2002-12-22  Anthony Green  <green@redhat.com>
10724
10725         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10726
10727 2003-01-02  Mark Wielaard  <mark@klomp.org>
10728
10729         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10730         public.
10731         (HTTP_USE_PROXY): Add field.
10732         (getResponseVals): Only set responseCode when not yet explicitly
10733         set by subclass.
10734
10735 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10736             Mark Wielaard  <mark@klomp.org>
10737
10738         * java/util/zip/ZipFile.java (entries): Now HashMap.
10739         (readLeShort(DataInput, byte[])): Read from given byte array.
10740         (readLeInt(DataInput, byte[]): Likewise.
10741         (readLeShort(byte[] b, int off)): New method.
10742         (readLeInt(byte[] b, int off)): Likewise.
10743         (readEntries): Use byte arrays to read info in bigger chunks.
10744         (getEntries): Return HashMap.
10745         (getEntry): Use HashMap.
10746         (locBuf): New private field.
10747         (checkLocalHeader): Use locBuf to read info in one chunk.
10748         (getInputStream): Use entries HashMap, wrap PartialInputStream
10749         in BufferedInputStream.
10750         (ZipEntryEnumeration): Use HashMap and Interator.
10751
10752 2003-01-02  Mark Wielaard  <mark@klomp.org>
10753             Jeroen Frijters  <jeroen@sumatra.nl>
10754
10755         * java/net/URLClassLoader.java (Resource.getCodeSource):
10756         Fix check certs == null.
10757         (getCanonicalFileURL): Removed method.
10758         (JarURLLoader): Don't call removed method.
10759         (FileURLLoader): Likewise.
10760         (FileURLLoader.getResource): Don't canonicalize file name.
10761
10762 2003-01-01  Tom Tromey  <tromey@redhat.com>
10763
10764         * Makefile.in: Rebuilt.
10765         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10766         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10767         java/awt/BufferCapabilities.java, java/awt/Button.java,
10768         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10769         java/awt/Container.java, java/awt/Cursor.java,
10770         java/awt/EventQueue.java, java/awt/FileDialog.java,
10771         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10772         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10773         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10774         java/awt/Scrollbar.java, java/awt/TextArea.java,
10775         java/awt/TextField.java, java/awt/color/CMMException.java,
10776         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10777         java/awt/color/ProfileDataException.java,
10778         java/awt/datatransfer/Clipboard.java,
10779         java/awt/datatransfer/DataFlavor.java,
10780         java/awt/datatransfer/FlavorMap.java,
10781         java/awt/datatransfer/SystemFlavorMap.java,
10782         java/awt/dnd/DragGestureEvent.java,
10783         java/awt/dnd/DragGestureRecognizer.java,
10784         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10785         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10786         java/awt/im/InputMethodHighlight.java,
10787         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10788         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10789
10790         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10791         `op' to BufferedImageOp.
10792
10793 2002-12-31  Tom Tromey  <tromey@redhat.com>
10794
10795         Fix for PR libgcj/7416:
10796         * javax/naming/InitialContext.java (init): Use
10797         gnu.classpath.home.url.
10798         * java/security/Security.java: Use new properties.
10799         (loadProviders): Accept base url; use it.
10800         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10801         gnu.classpath.home.url.
10802         (gnu.classpath.home.url): Define.
10803         (gnu.classpath.vm.shortname): Likewise.
10804
10805 2002-12-31  Tom Tromey  <tromey@redhat.com>
10806             Ranjit Mathew  <rmathew@hotmail.com>
10807
10808         Fix for PR libgcj/8997:
10809         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10810         Include platform.h.
10811         * include/posix.h (_Jv_platform_usleep): New function.
10812         * include/win32.h (_Jv_platform_usleep): New function.
10813
10814 2002-12-29  Tom Tromey  <tromey@redhat.com>
10815
10816         * gcj/javaprims.h: Updated.
10817         * scripts/classes.pl (scan): Removed stray semicolon.
10818
10819 2002-12-30  Mark Wielaard  <mark@klomp.org>
10820
10821         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10822         if zero or smaller.
10823
10824 2002-12-30  Mark Wielaard  <mark@klomp.org>
10825
10826         * java/util/Properties (formatForOutput): Don't fall through to
10827         default case after escaping character.
10828
10829 2002-12-30  Mark Wielaard  <mark@klomp.org>
10830
10831         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10832         against count.
10833
10834 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10835
10836         * boehm.cc: Remove stray semicolon.
10837         * interpret.cc: Likewise.
10838         * prims.cc: Likewise.
10839         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10840         earlier to ensure default arguments are processed.
10841         * gcj/array.h (JArray): Add forward declaration.
10842         (elements): Likewise.
10843         * gcj/javaprim.h: Remove stray semicolons.
10844         * include/bohm-gc.h: Likewise.
10845         * include/jni.h: Likewise.
10846         * include/jvm.h: Likewise.
10847         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10848         
10849 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10850
10851         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10852         of catch_type.
10853         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10854         idt tables after initializing superclass.
10855         * java/lang/natClassLoader.cc (uaddr): New typedef.
10856         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10857         if they are constant pool indicies.  Don't link vtable, otable yet.
10858
10859 2002-12-21  Anthony Green  <green@redhat.com>
10860
10861         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10862         libraries.
10863         * Makefile.in: Rebuilt.
10864
10865 2002-12-19  Anthony Green  <green@redhat.com>
10866
10867         * Makefile.am (ordinary_java_source_files): Add
10868         org/xml/sax/helpers/NewInstance.java.
10869         * Makefile.in: Rebuilt.
10870         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10871         org/xml/sax/helpers/package.html: New files.
10872         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10873         http://www.saxproject.org.
10874
10875 2002-12-19  Andrew Haley  <aph@redhat.com>
10876
10877         * java/util/natResourceBundle.cc: Include
10878         ArrayIndexOutOfBoundsException.h.
10879         (getCallingClassLoader): Don't put upper bound on stack search.
10880         Catch ArrayIndexOutOfBoundsException.
10881
10882 2002-12-19  Tom Tromey  <tromey@redhat.com>
10883
10884         * libtool-version: Increased `current'.
10885
10886 2002-12-19  Tom Tromey  <tromey@redhat.com>
10887
10888         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10889         comment.
10890         * java/lang/ClassLoader.java (defineClass): Use chained
10891         exception when rethrowing.
10892         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10893         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10894         constants.
10895         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10896         (_Jv_PrepareClass): Use it.
10897         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10898         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10899         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10900         (Class): _Jv_PrepareMissingMethods now friend.
10901         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10902         Record `NULL' for system class loader.
10903         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10904         system class loader.
10905         (_Jv_FindClassInCache): Likewise.
10906         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10907         (_Jv_FindClass): Special case system class loader.
10908         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10909         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10910         vtable slots.
10911         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10912         in a final class.
10913         (_getDeclaredMethod): Don't return synthetic methods.
10914         (getDeclaredMethods): Likewise.
10915         (_getMethod): Likewise.
10916         (_getMethods): Likewise.
10917
10918 2002-12-18  Raif Naffah  <raif@fl.net.au>
10919
10920         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10921         canonical form after divide().
10922         (modInverse): Likewise.
10923
10924 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10925             Mark Wielaard  <mark@klomp.org>
10926
10927         * java/security/SecurityRandom (digest): Removed field.
10928         (SecureRandom): Check all providers for case-insensitive SecureRandom
10929         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10930         if necessary.
10931         (getInstance(String,Provider,boolean): New method.
10932         (getInstance(String)): Use new method.
10933         (getInstance(String,String)): Likewise.
10934         (getInstance(String,Provider)): Likewise.
10935
10936 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10937
10938         * java/security/Security.java (loadProviders): Increment i only once.
10939
10940 2002-12-12  Mark Wielaard  <mark@klomp.org>
10941
10942         * java/lang/ClassLoader.java (resolveClass0): Transform
10943         ClassNotFoundException to NoClassDefFoundError. Transform all other
10944         throwables to LinkageError.
10945
10946 2002-12-11  Tom Tromey  <tromey@redhat.com>
10947
10948         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10949
10950         * java/lang/ClassLoader.java (loadedClasses): New field.
10951         (defineClass): Fixed indentation.  Put new class in
10952         loadedClasses.
10953         (findLoadedClass): Implement here.
10954         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10955
10956 2002-12-10  Tom Tromey  <tromey@redhat.com>
10957
10958         * Makefile.in: Rebuilt.
10959         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10960         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10961         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10962         * java/lang/natClassLoader.cc
10963         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10964
10965 2002-12-10  Mark Wielaard  <mark@klomp.org>
10966             Tom Tromey  <tromey@redhat.com>
10967
10968         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10969         (JarURLLoader): Use it.
10970         (FileURLLoader): Likewise.
10971         (JarURLResource.getURL): Use chained exception.
10972         (FileResource.getURL): Likewise.
10973         (FileURLLoader.getResource): Use canonical file name.
10974         (addURL): Indentation fix.
10975
10976 2002-12-10  Tom Tromey  <tromey@redhat.com>
10977
10978         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10979         From Laurent Bardet <l.bardet@magic.fr>.
10980
10981 2002-12-09  Tom Tromey  <tromey@redhat.com>
10982
10983         * include/win32.h (_Jv_platform_solib_prefix): New define.
10984         (_Jv_platform_solib_suffix): Likewise.
10985         * include/posix.h (_Jv_platform_solib_prefix): New define.
10986         (_Jv_platform_solib_suffix): Likewise.
10987         * java/lang/natRuntime.cc: Include StackTrace.h.
10988         (_load): Use findLibrary and new platform defines.
10989         (nativeGetLibname): Use new platform defines.
10990
10991         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10992         `t' won't be null.
10993
10994 2002-12-08  Mark Wielaard  <mark@klomp.org>
10995
10996         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10997         cache remote jar files.
10998         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10999         add File.separator to URL when it is a directory.
11000         * java/lang/ClassLoader.java: Add Classpath javadoc.
11001         (parent): final.
11002         (getParent): Add (disabled) security check.
11003         (findLibrary): New default method.
11004         * java/net/JarURLConnection.java (getManifest): Implement.
11005         (getInputStream): Only create InputStream when entry exists.
11006         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11007         when they exist.
11008         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11009
11010 2002-12-08  Mark Wielaard  <mark@klomp.org>
11011
11012         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11013         (lastDefaultLocale): New field.
11014         (getBundle): When Locale.getDefault != lastDefaultLocale reset
11015         resourceBundleCache.
11016
11017 2002-12-06  Mark Wielaard  <mark@klomp.org>
11018
11019         * java/net/InetAddress.java (toString): Use hostname when not null,
11020         don't do an explicit reverse getHostName() lookup.
11021         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11022         NullPointerException.
11023
11024 2002-12-06  Tom Tromey  <tromey@redhat.com>
11025
11026         * include/java-interp.h (class _Jv_InterpMethod): Added
11027         JV_MARKOBJ_DECL.
11028         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
11029         mark `prepared' field of interpreted method.
11030         * interpret.cc (compile): Use _Jv_AllocBytes.
11031
11032 2002-12-05  Andrew Haley  <aph@redhat.com>
11033
11034         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11035         #ifdef (HAVE_BACKTRACE) around the whole function body.
11036
11037 2002-12-05  Tom Tromey  <tromey@redhat.com>
11038
11039         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11040         * resolve.cc: Don't include AbstractMethodError.h.
11041         (_Jv_abstractMethodError): Removed.
11042         * defineclass.cc (handleMethodsBegin): Initialize method index to
11043         -1.
11044         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11045         method index for "new" final method.
11046         (_Jv_SetVTableEntries): Compare index against -1 instead of using
11047         isVirtualMethod.  Added `flags' argument.
11048         (_Jv_MakeVTable): Throw exception for abstract method in concrete
11049         class.
11050
11051 2002-12-04  Tom Tromey  <tromey@redhat.com>
11052
11053         * java/net/SocketPermission.java (hashCode): Rewrote.
11054
11055 2002-12-04  Tom Tromey  <tromey@redhat.com>
11056
11057         * Makefile.in: Rebuilt.
11058         * Makefile.am (nat_source_files): Added natVMSecurityManager,
11059         natResourceBundle.
11060         * java/util/ResourceBundle.java (Security): Removed.
11061         (getCallingClassLoader): Now native.
11062         * java/util/natResourceBundle.cc: New file.
11063         * java/lang/natVMSecurityManager.cc: New file.
11064         * java/lang/VMSecurityManager.java (getClassContext): Now native.
11065
11066 2002-12-03  Mark Wielaard  <mark@klomp.org>
11067
11068         * java/util/jar/JarFile.java (manifest): Not final.
11069         (manifestRead): New field.
11070         (JarFile): Don't read Manifest in constructor.
11071         (getManifest): New method.
11072         (JarEnumeration.nextElement): Use new method.
11073         (getEntry): Likewise.
11074         * java/util/zip/ZipFile.java (name): Final.
11075         (raf): Likewsie.
11076         (entries): Change type to Hashtable.
11077         (closed): New field.
11078         (ZipFile): Don't read enties in constructor.
11079         (readEntries): Use Hashtable.
11080         (close): Set new close flag and set entries to null inside
11081         synchronized block.
11082         (entries): Contruct enumeration using new getEntries() method and
11083         entries Hashtable.
11084         (getEntryIndex): Removed.
11085         (getEntries): New method.
11086         (getEntry): Use new getEntries() method and entries Hastable.
11087         (getInputStream): Likewise.
11088         (size): Return getEntries().size().
11089         (ZipEntryEnumeration): Wrap entries Hashtable elements.
11090         * java/util/zip/ZipEntry.java (cal): Don't initialize.
11091         (time): Removed
11092         (dostime): New field.
11093         (zipFileIndex): Removed.
11094         (ZipEntry(ZipEntry)): Copy dostime.
11095         (setDOSTime): Now final and doesn't convert dos time.
11096         (getDOSTime): Likewise.
11097         (setTime): Convert dos time.
11098         (getTime): Likewise.
11099         (getCalendar): New method.
11100         (setExtra): Use setTime().
11101         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11102
11103 2002-12-03  Tom Tromey  <tromey@redhat.com>
11104
11105         * java/lang/Character.java (forDigit): Formatting fix.
11106
11107 2002-12-03  Raif Naffah  <raif@fl.net.au>
11108
11109         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11110         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11111         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11112
11113 2002-12-03  Andrew Haley  <aph@redhat.com>
11114
11115         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11116         _Jv_PushClass.
11117         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11118         (_Jv_PopClass): New.
11119         (_Jv_PushClass): New.
11120         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11121         discover the ClassLoader of our caller.
11122         (_Jv_CheckArrayStore): Don't check that a class is assignment
11123         compatible with Object.
11124         * java/lang/natVMTHrowable.cc: Delete.
11125         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11126         java.lang.VMThrowable.
11127         (StackTrace(), StackTrace(int)): New constructors.
11128         (classAt, methodAt, update, methodAtAddress): New methods.
11129         (map): New field.
11130         * java/lang/VMThrowable.java: Use StackTrace instead of
11131         natVMTHrowable.
11132         * java/lang/Class.h (getClassLoaderInternal): New.
11133         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11134         Be friendly with gnu::gcj::runtime::StackTrace.
11135         (Object.chain): New field.
11136         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11137         gnu::gcj::runtime::StackTrace.
11138         * gnu/gcj/runtime/natStackTrace.cc: New file.
11139         * gnu/gcj/runtime/MethodRef.java: New file.
11140         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11141         instead of getClassLoader().
11142         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11143         java::lang::VMThrowable.
11144         * Makefile.am (core_java_source_files): Add MethodRef.java,
11145         StackTrace.java.
11146         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11147         * Makefile.in: Rebuild.
11148
11149 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11150
11151         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11152         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11153         yes also for sh-linux* and sh[34]*-linux*.
11154         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11155         set SIGNAL_HANDLER to use DWARF2 exception for them.
11156         * configure: Regenerate.
11157
11158 2002-12-02  Tom Tromey  <tromey@redhat.com>
11159
11160         * jni.cc: Added `name' argument.
11161         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11162         `const char *' argument.
11163         (class _Jv_JNIEnv) [DefineClass]: Likewise.
11164
11165 2002-12-01  Tom Tromey  <tromey@redhat.com>
11166
11167         Bug compatibility, for PR libgcj/8738:
11168         * java/io/CharArrayWriter.java (close): Do nothing.
11169         (flush): Likewise.
11170         (reset): Don't touch `closed'.
11171         (write(int)): Don't throw IOException.
11172         (write(char[],int,int)): Likewise.
11173         (write(String,int,int)): Likewise.
11174         (closed): Removed.
11175
11176 2002-12-01  Mark Wielaard  <mark@klomp.org>
11177
11178         * java/lang/SecurityManager.java: Remerge comments, indenting and
11179         checkXXX methods with Classpath.
11180
11181 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
11182
11183         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11184         getNormalizedComponents): Fix calculation which was using one too
11185         many bits in the unnormalized format.
11186
11187 2002-11-29  Gary Benson  <gbenson@redhat.com>
11188
11189         For PR libgcj/8759:
11190         * java/beans/Introspector.java (flushCaches): New method.
11191         (flushFromCaches): Likewise.
11192
11193 2002-11-29  Michael Koch <konqueror@gmx.de>
11194
11195         * java/nio/channels/DatagramChannel.java
11196         (open): Added exception documentation.
11197         (write): Added exception documentation.
11198         (connect): Added exception documentation.
11199         (disconnect): Added exception documentation.
11200         (isConnected): Added exception documentation.
11201         (read): Added exception documentation.
11202         (receive): Added exception documentation.
11203         (send): Added exception documentation.
11204         (validOps): Added exception documentation.
11205         * java/nio/channels/SocketChannel.java
11206         (open): Added exception documentation.
11207         (read): Added exception documentation.
11208         (write): Added exception documentation.
11209         (connect): Added exception documentation.
11210         (finishConnect): Added exception documentation.
11211
11212 2002-11-29  Michael Koch <konqueror@gmx.de>
11213
11214         * gnu/java/nio/DatagramChannelImpl:
11215         (fd): New member variable to store file descriptor of socket.
11216         * gnu/java/nio/SelectionKeyImpl.java:
11217         (ops): Removed.
11218         (readyOps): New member variable.
11219         (interestOps): New member variable.
11220         (readyOps): Implemented.
11221         (readyOps): New method to set member variable readyOps.
11222         (interestOps): Replaced ops by interestOps.
11223         * gnu/java/nio/SelectorImpl.java:
11224         (SelectorImpl): Initialize key sets.
11225         (select): Call select with -1 instead of Long.MAX_VALUE).
11226         (java_do_select): Make it a native method.
11227         (getFDsAsArray): New helper method.
11228         (select): Remove canceled keys, give only interested file discriptors
11229         to java_do_select, set ready ops.
11230         (add): No need to initialize keys set here.
11231         (add_selected): No need to initialize selected set here.
11232         (deregisterCanceledKeys): New helper method.
11233         (register): Set interest ops, set attachments, added handling of datagram
11234         channels.
11235         * gnu/java/nio/ServerSocketChannelImpl:
11236         (SocketAccept): Renamed from NioSocketAccept.
11237         (implConfigureBlocking): Implemented.
11238         (accept): Use SocketAccept instead of NioSocketAccept.
11239         * gnu/java/nio/SocketChannelImpl:
11240         Reactivate native methods.
11241
11242 2002-11-29  Michael Koch <konqueror@gmx.de>
11243
11244         * gnu/java/nio/natByteBufferImpl.cc,
11245         gnu/java/nio/natCharBufferImpl.cc,
11246         gnu/java/nio/natDoubleBufferImpl.cc,
11247         gnu/java/nio/natFloatBufferImpl.cc,
11248         gnu/java/nio/natIntBufferImpl.cc,
11249         gnu/java/nio/natLongBufferImpl.cc,
11250         gnu/java/nio/natSelectorImpl.cc,
11251         gnu/java/nio/natServerSocketChannelImpl.cc,
11252         gnu/java/nio/natShortBufferImpl.cc,
11253         gnu/java/nio/natSocketChannelImpl.cc:
11254         New files that implement native functionalities.
11255
11256 2002-11-29  Michael Koch <konqueror@gmx.de>
11257
11258         * gnu/java/nio/ByteBufferImpl.java
11259         (ByteBufferImpl): Moved position() after limit.
11260         (nio_*): Use native implementation.
11261         * gnu/java/nio/CharBufferImpl.java:
11262         Reformated.
11263         (endian): New member variable string endianess of buffer.
11264         (CharBufferImpl): Moved position() after limit.
11265         (nio_*): Use native implementation.
11266         (subSequence): Implemented.
11267         * gnu/java/nio/DoubleBufferImpl.java
11268         (DoubleBufferImpl): Moved position() after limit.
11269         (nio_*): Use native implementation.
11270         * gnu/java/nio/FloatBufferImpl.java
11271         Reformated.
11272         (FloatBufferImpl): Moved position() after limit.
11273         (nio_*): Use native implementation.
11274         * gnu/java/nio/IntBufferImpl.java
11275         Added needed imports, Reformated.
11276         (IntBufferImpl): Moved position() after limit.
11277         (nio_*): Use native implementation.
11278         * gnu/java/nio/LongBufferImpl.java
11279         Reformated.
11280         (LongBufferImpl): Moved position() after limit.
11281         (nio_*): Use native implementation.
11282         * gnu/java/nio/ShortBufferImpl.java
11283         Reformated.
11284         (ShortBufferImpl): Moved position() after limit.
11285         (nio_*): Use native implementation.
11286
11287 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
11288
11289         * java/util/Locale.java (toString): Improve efficiency if country
11290         and variant are both empty.
11291
11292 2002-11-26  Tom Tromey  <tromey@redhat.com>
11293
11294         * verify.cc (pop_init_ref): New method.
11295         (verify_instructions_0) [op_iaload, op_laload, op_faload,
11296         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11297         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11298         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11299         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11300         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11301         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
11302         let `this' argument be uninitialized.  Don't let `null' be passed
11303         as `this' to construtor.
11304
11305 2002-11-26  Mark Wielaard  <mark@klomp.org>
11306
11307         * javax/transaction/HeuristicCommitException.java: Classpath merge.
11308         * javax/transaction/HeuristicMixedException.java: Likewise.
11309         * javax/transaction/HeuristicRollbackException.java: Likewise.
11310         * javax/transaction/InvalidTransactionException.java: Likewise.
11311         * javax/transaction/NotSupportedException.java: Likewise.
11312         * javax/transaction/RollbackException.java: Likewise.
11313         * javax/transaction/Status.java: Likewise.
11314         * javax/transaction/Synchronization.java: Likewise.
11315         * javax/transaction/SystemException.java: Likewise.
11316         * javax/transaction/Transaction.java: Likewise.
11317         * javax/transaction/TransactionManager.java: Likewise.
11318         * javax/transaction/TransactionRequiredException.java: Likewise.
11319         * javax/transaction/TransactionRolledbackException.java: Likewise.
11320         * javax/transaction/UserTransaction.java: Likewise.
11321         * javax/transaction/xa/XAException.java: Likewise.
11322         * javax/transaction/xa/XAResource.java: Likewise.
11323         * javax/transaction/xa/Xid.java: Likewise.
11324
11325 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
11326
11327         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11328         define.
11329         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11330         * include/posix.h (socklen_t): Define if not already defined.
11331
11332 2002-11-25  Tom Tromey  <tromey@redhat.com>
11333
11334         * verify.cc (type::compatible): Backed out broken change.
11335
11336         * verify.cc (type::compatible): Check initialization status
11337         first.
11338         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11339         Don't use NULLCHECK.
11340
11341 2002-11-23  H.J. Lu <hjl@gnu.org>
11342
11343         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11344         Include ../config/accross.m4.
11345         * aclocal.m4; Rebuild.
11346         * configure: Likewise.
11347
11348 2002-11-23  Mark Wielaard  <mark@klomp.org>
11349
11350         * javax/naming/AuthenticationException.java: Update copyright header.
11351         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11352         * javax/naming/Binding.java: Likewise.
11353         * javax/naming/CannotProceedException.java: Likewise.
11354         * javax/naming/CommunicationException.java: Likewise.
11355         * javax/naming/CompositeName.java: Likewise.
11356         * javax/naming/CompoundName.java: Likewise.
11357         * javax/naming/ConfigurationException.java: Likewise.
11358         * javax/naming/Context.java: Likewise.
11359         * javax/naming/ContextNotEmptyException.java: Likewise.
11360         * javax/naming/InitialContext.java: Likewise.
11361         * javax/naming/InsufficientResourcesException.java: Likewise.
11362         * javax/naming/InterruptedNamingException.java: Likewise.
11363         * javax/naming/LimitExceededException.java: Likewise.
11364         * javax/naming/LinkException.java: Likewise.
11365         * javax/naming/LinkLoopException.java: Likewise.
11366         * javax/naming/LinkRef.java: Likewise.
11367         * javax/naming/MalformedLinkException.java: Likewise.
11368         * javax/naming/NameAlreadyBoundException.java: Likewise.
11369         * javax/naming/NameClassPair.java: Likewise.
11370         * javax/naming/NameNotFoundException.java: Likewise.
11371         * javax/naming/NameParser.java: Likewise.
11372         * javax/naming/NamingEnumeration.java: Likewise.
11373         * javax/naming/NamingSecurityException.java: Likewise.
11374         * javax/naming/NoInitialContextException.java: Likewise.
11375         * javax/naming/NoPermissionException.java: Likewise.
11376         * javax/naming/NotContextException.java: Likewise.
11377         * javax/naming/OperationNotSupportedException.java: Likewise.
11378         * javax/naming/PartialResultException.java: Likewise.
11379         * javax/naming/Reference.java: Likewise.
11380         * javax/naming/Referenceable.java: Likewise.
11381         * javax/naming/ReferralException.java: Likewise.
11382         * javax/naming/ServiceUnavailableException.java: Likewise.
11383         * javax/naming/SizeLimitExceededException.java: Likewise.
11384         * javax/naming/TimeLimitExceededException.java: Likewise.
11385         * javax/naming/directory/Attribute.java: Likewise.
11386         * javax/naming/directory/AttributeInUseException.java: Likewise.
11387         * javax/naming/directory/AttributeModificationException.java: Likewise.
11388         * javax/naming/directory/Attributes.java: Likewise.
11389         * javax/naming/directory/BasicAttribute.java: Likewise.
11390         * javax/naming/directory/BasicAttributes.java: Likewise.
11391         * javax/naming/directory/DirContext.java: Likewise.
11392         * javax/naming/directory/InitialDirContext.java: Likewise.
11393         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11394         Likewise.
11395         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11396         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11397         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11398         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11399         * javax/naming/directory/ModificationItem.java: Likewise.
11400         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11401         * javax/naming/directory/SchemaViolationException.java: Likewise.
11402         * javax/naming/directory/SearchControls.java: Likewise.
11403         * javax/naming/directory/SearchResult.java: Likewise.
11404         * javax/naming/event/EventContext.java: Likewise.
11405         * javax/naming/event/EventDirContext.java: Likewise.
11406         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11407         * javax/naming/event/NamingEvent.java: Likewise.
11408         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11409         * javax/naming/event/NamingListener.java: Likewise.
11410         * javax/naming/event/ObjectChangeListener.java: Likewise.
11411         * javax/naming/ldap/Control.java: Likewise.
11412         * javax/naming/ldap/ControlFactory.java: Likewise.
11413         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11414         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11415         * javax/naming/ldap/HasControls.java: Likewise.
11416         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11417         * javax/naming/ldap/LdapContext.java: Likewise.
11418         * javax/naming/ldap/LdapReferralException.java: Likewise.
11419         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11420         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11421         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11422         * javax/naming/spi/DirObjectFactory.java: Likewise.
11423         * javax/naming/spi/DirStateFactory.java: Likewise.
11424         * javax/naming/spi/DirectoryManager.java: Likewise.
11425         * javax/naming/spi/InitialContextFactory.java: Likewise.
11426         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11427         * javax/naming/spi/NamingManager.java: Likewise.
11428         * javax/naming/spi/ObjectFactory.java: Likewise.
11429         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11430         * javax/naming/spi/ResolveResult.java: Likewise.
11431         * javax/naming/spi/Resolver.java: Likewise.
11432         * javax/naming/spi/StateFactory.java: Likewise.
11433
11434         * javax/naming/spi/NamingManager.java (ofb): Package private.
11435
11436 2002-11-21  Mark Wielaard  <mark@klomp.org>
11437
11438         * java/net/URL.java: Merge with Classpath (partly).
11439         * java/net/URLStreamHandler: Merge with Classpath.
11440
11441 2002-11-22  Michael Koch <konqueror@gmx.de>
11442
11443         * include/posix.h:
11444         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11445         * include/win32.h:
11446         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11447         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11448
11449 2002-11-21  Michael Koch <konqueror@gmx.de>
11450
11451         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11452         Only the new network functions should be in it.
11453
11454 2002-11-21  Michael Koch <konqueror@gmx.de>
11455
11456         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11457         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11458
11459 2002-11-21  Michael Koch <konqueror@gmx.de>
11460
11461         * java/nio/channels/AsynchronousCloseException.java,
11462         java/nio/channels/CancelledKeyException.java,
11463         java/nio/channels/ClosedByInterruptException.java,
11464         java/nio/channels/ConnectionPendingException.java,
11465         java/nio/channels/FileLockInterruptionException.java,
11466         java/nio/channels/IllegalSelectorException.java,
11467         java/nio/channels/NoConnectionPendingException.java,
11468         java/nio/channels/NonReadableChannelException.java,
11469         java/nio/channels/NonWritableChannelException.java,
11470         java/nio/channels/NotYetBoundException.java,
11471         java/nio/channels/NotYetConnectedException.java,
11472         java/nio/channels/OverlappingFileLockException.java,
11473         java/nio/channels/UnresolvedAddressException.java,
11474         java/nio/channels/UnsupportedAddressTypeException.java:
11475         New files.
11476         * Makefile.am (ordinary_java_source_files): Added new files.
11477         * Makefile.in: Regenerated.
11478
11479 2002-11-21  Michael Koch <konqueror@gmx.de>
11480
11481         * include/posix.h
11482         (_Jv_socket): New method.
11483         (_Jv_connect): New method.
11484         (_Jv_close): New method.
11485         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11486         (_Jv_bind): New method.
11487         (_Jv_listen): New method.
11488         (_Jv_write): New method.
11489         (_Jv_read): New method.
11490         * include/win32.h
11491         (_Jv_socket): New method.
11492         (_Jv_connect): New method.
11493         (_Jv_close): New method.
11494         (_Jv_bind): New method.
11495         (_Jv_listen): New method.
11496         (_Jv_write): New method.
11497         (_Jv_read): New method.
11498         * java/net/natNetworkInterface.cc:
11499         Include platform.h, removed inclusion of socket.h
11500         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11501         ::close() by _Jv_close().
11502         * java/net/natPlainDatagramSocketImpl.cc:
11503         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11504         added some new lines to make code more readable.
11505         (create): Replaced ::socket() by _Jv_socket().
11506         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11507         * java/net/natPlainSocketImpl.cc:
11508         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11509         removed include of socket.h, removed some windows defines
11510         (now in include/win32.h).
11511         (create): Replaced ::socket() by _Jv_socket().
11512         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11513         (write): Replaced ::read by _Jv_write().
11514         (read): Replaced ::read by _Jv_read().
11515
11516 2002-11-20  Michael Koch <konqueror@gmx.de>
11517
11518         * Makefile.am (ordinary_java_source_files):
11519         Added java/nio/channels/FileChannel.java.
11520         * Makefile.in: Regenerated.
11521
11522 2002-11-20  Michael Koch <konqueror@gmx.de>
11523
11524         * java/io/FileInputStream.java
11525         (getChannel): New method.
11526         * java/io/FileOutputStream.java
11527         (getChannel): New method.
11528         * java/net/ServerSocket.java
11529         (bind): Removed duplicate code and called another bind method instead.
11530         * java/nio/channels/SelectionKey.java
11531         (isValid): Removed wrong exception documentation.
11532         * java/nio/channels/ServerSocketChannel.java
11533         (accept): Added exception documentation.
11534         (open): Fixed typo, added exception documentation.
11535         * java/nio/channels/spi/AbstractSelectableChannel.java
11536         (implCloseChannel): Added exception documentation.
11537         (add): Reformated.
11538         (register): Added exception documentation.
11539
11540 2002-11-20  Andreas Jaeger  <aj@suse.de>
11541
11542         * configure: Regenerated with new libtool.m4.
11543
11544 2002-11-19  Tom Tromey  <tromey@redhat.com>
11545
11546         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11547         `referent'.
11548         (finalize_referred_to_object): Don't modify `referent' or `copy'
11549         fields.
11550         (add_to_hash): Correctly set `n->next' when updating list.
11551         * java/lang/ref/Reference.java (enqueue): Return false if already
11552         enqueued.
11553
11554 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11555
11556         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11557         to function and function pointer declarations in accordance with
11558         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11559         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11560         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11561         JNI function definitions.
11562
11563 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11564
11565         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11566         that was causing CoderResults to be cached, not WeakReferences
11567         to CoderResults.
11568
11569 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11570
11571         * java/security/KeyStore.java (getInstance): Fix
11572         comment and throw IllegalArgumentException if
11573         given provider is null.
11574         (getInstance): New method for jdk1.4 compatibility.
11575
11576 2002-11-18  Michael Koch <konqueror@gmx.de>
11577
11578         * java/net/PlainSocketImpl.java: Fix imports.
11579
11580 2002-11-18  Michael Koch <konqueror@gmx.de>
11581
11582         * java/nio/channels/SelectionKey.java
11583         (isValid): Added exception documentation.
11584         * java/nio/channels/Selector.java
11585         (open): Declare "throws IOException".
11586
11587 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11588
11589         * java/nio/charset/Charset.java
11590         (<clinit>): New method.
11591         (encode): Synchronize use of cached encoder object.
11592         (decode): Synchronize use of cached encoder object.
11593
11594 2002-11-18  Michael Koch <konqueror@gmx.de>
11595
11596         * gnu/java/nio/ByteBufferImpl.java,
11597         gnu/java/nio/CharBufferImpl.java,
11598         gnu/java/nio/DatagramChannelImpl.java,
11599         gnu/java/nio/DoubleBufferImpl.java,
11600         gnu/java/nio/FileChannelImpl.java,
11601         gnu/java/nio/FloatBufferImpl.java,
11602         gnu/java/nio/IntBufferImpl.java,
11603         gnu/java/nio/LongBufferImpl.java,
11604         gnu/java/nio/PipeImpl.java,
11605         gnu/java/nio/SelectionKeyImpl.java,
11606         gnu/java/nio/SelectorImpl.java,
11607         gnu/java/nio/SelectorProviderImpl.java,
11608         gnu/java/nio/ServerSocketChannelImpl.java,
11609         gnu/java/nio/ShortBufferImpl.java,
11610         gnu/java/nio/SocketChannelImpl.java,
11611         java/nio/DoubleBuffer.java,
11612         java/nio/FloatBuffer.java,
11613         java/nio/IntBuffer.java,
11614         java/nio/LongBuffer.java,
11615         java/nio/ShortBuffer.java,
11616         java/nio/channels/FileChannel.java: New files.
11617
11618 2002-11-18  Michael Koch <konqueror@gmx.de>
11619
11620         * Makefile.am (ordinary_java_source_files):
11621         Added java/nio/ReadOnlyBufferException.java and
11622         java/nio/channels/ClosedSelectorException.java.
11623         * Makefile.in: Regenerated.
11624
11625 2002-11-18  Michael Koch <konqueror@gmx.de>
11626
11627         * java/net/PlainSocketImpl.java: Reworked imports.
11628         * java/net/ServerSocket.java
11629         (ServerSocket): Create socket.
11630         * java/net/SocketAddress.java: Documentation added.
11631         * java/net/natPlainSocketImpl.cc: Reindented.
11632         * java/nio/ReadOnlyBufferException.java: New file
11633         * java/nio/channels/ClosedChannelException.java: Documentation added.
11634         * java/nio/channels/ClosedSelectorException.java: New file.
11635
11636 2002-11-17  Mark Wielaard  <mark@klomp.org>
11637
11638         * java/net/HttpURLConnection.java ((getPermission): Take port
11639         into consideration.
11640         (getErrorStream): Implement.
11641
11642 2002-11-17  Mark Wielaard  <mark@klomp.org>
11643
11644         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11645
11646 2002-11-16  Mark Wielaard  <mark@klomp.org>
11647
11648         Integrate work by Raif S. Naffah (raif@fl.net.au)
11649         * java/security/DummyKeyPairGenerator.java (clone): New method.
11650         * java/security/DummyMessageDigest.java (clone): New method.
11651         (engineUpdate): Now public.
11652         (engineReset): Likewise.
11653         (engineDigest): Likewise.
11654         (engineGetDigestLength): New method.
11655         * java/security/DummySignature.java (clone): New method.
11656         * java/security/KeyPairGenerator.java (provider): Now package private.
11657         (getInstance(String)): Use getInstance(String,Provider).
11658         (getInstance(String,String): Use getInstance(String,Provider)
11659         (getInstance(String,Provider): New method.
11660         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11661         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11662         * java/security/MessageDigest.java (provider): Now package private.
11663         (getInstance(String): Use getInstance(String,Provider).
11664         (getInstance(String,String): Use getInstance(String,Provider)
11665         (getInstance(String,Provider): New method.
11666         * java/security/Provider.java (toCanonicalKey): New method.
11667         (get): New method that uses toCanonicalKey().
11668         (put): Use toCanonicalKey().
11669         (remove): Likewise.
11670         * java/security/Security.java (insertProviderAt): Provider index is one
11671         based, not zero based.
11672         (addProvider): Likewise.
11673         (removeProvider): Likewise.
11674         * java/security/Signature.java (provider): Now package private.
11675         (getInstance(String)): Use getInstance(String,Provider).
11676         (getInstance(String,String): Use getInstance(String,Provider)
11677         (getInstance(String,Provider): New method.
11678         (getInstance(String,String,Provider): Don't cast DummySignature.
11679
11680 2002-11-15  Tom Tromey  <tromey@redhat.com>
11681
11682         For PR libgcj/8593:
11683         * java/util/zip/GZIPInputStream.java (read): Check file size.
11684         Look in inflater for remaining input bytes.
11685         (read4): Added buf and offset arguments.
11686
11687 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11688
11689         * java/applet/AppletContext.java: Fix typo and remove redundant
11690         modifiers.
11691
11692 2002-11-14  Tom Tromey  <tromey@redhat.com>
11693
11694         * java/lang/natRuntime.cc (insertSystemProperties): Set
11695         gnu.classpath.home.
11696
11697 2002-11-13  Michael Koch <konqueror@gmx.de>
11698
11699         * java/nio/ByteBuffer.java
11700         (allocate): New method.
11701         (wrap): New method.
11702         (put): New method.
11703         (get): New method.
11704
11705 2002-11-13  Michael Koch <konqueror@gmx.de>
11706
11707         * java/nio/channels/AlreadyConnectedException.java:
11708         Removed unneeded import.
11709         (AlreadyConnectedException): Documentation added.
11710         * java/nio/channels/Pipe.java
11711         (SinkChannel.SinkChannel): Documentation added.
11712         (SinkChannel.validOps): New method.
11713         (SourceChannel.SourceChannel): Documentation added.
11714         (SourceChannel.validOps): New method.
11715         (Pipe): Documentation added.
11716         (open): Documentation added.
11717         (SinkChannel.channel): Documentation added.
11718         (SourceChannel.channel): Documentation added.
11719         * java/nio/channel/SelectableChannel.java
11720         (SelectableChannel): Documentation added.
11721         (blockingLock): Documentation added.
11722         (configureBlocking):Documentation added.
11723         (isBlocking):Documentation added.
11724         (isRegistered):Documentation added.
11725         (keyFor):Documentation added.
11726         (provider):Documentation added.
11727         (register): Documentation added.
11728         (validOps): Documentation added.
11729         * jaba/nio/channels/SelectionKey.java
11730         (SelectionKey): Documentation added.
11731         (attach): Documentation added.
11732         (attachment): Documentation added.
11733         (isAcceptable): Documentation added.
11734         (isConnetable): Documentation added.
11735         (isReadable): Documentation added.
11736         (isWritable): Documentation added.
11737         (cancel): Documentation added.
11738         (channel): Documentation added.
11739         (interestOps): Documentation added.
11740         (isValid): Documentation added.
11741         (readyOps): Documentation added.
11742         (selector): Documentation added.
11743         * jaba/nio/channels/Selector.java
11744         (Selector): Documentation added.
11745         (open): Documentation added.
11746         (close): Documentation added.
11747         (isOpen): Documentation added.
11748         (keys): Documentation added.
11749         (provider): Documentation added.
11750         (select): Documentation added.
11751         (selectedKeys): Documentation added.
11752         (selectNow): Documentation added.
11753         (wakeup): Documentation added.
11754         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11755         (AbstractInterruptibleChannel): Documentation added.
11756         (opened): Default to true;
11757         (begin): Documentation added.
11758         (close): Set opened to false, documentation added.
11759         (isOpen): Documentation added.
11760         * java/nio/channels/spi/AbstractSelectionKey.java
11761         (AbstractSelectionKey): Documentation added.
11762         (cancel): Documentation added.
11763         (isValid): Documentation added.
11764         * java/nio/channels/spi/AbstractSelector.java
11765         (AbstractSelector): Documentation added.
11766         (begin): Documentation added.
11767         (close): Documentation added.
11768         (isOpen): Documentation added.
11769         (deregister): Documentation added.
11770         (end): Documentation added.
11771         (provider): Documentation added.
11772         (implCloseSelector): Documentation added.
11773         (register): Documentation added.
11774         * java/nio/channels/spi/SelectorProvider.java
11775         (SelectorProvider): Documentation added.
11776         (openDatagramChannel): Documentation added.
11777         (openPipe): Documentation added.
11778         (openSelector): Documentation added.
11779         (openServerSocketChannel): Documentation added.
11780         (openSocketChannel): Documentation added.
11781         (provider): Documentation added.
11782
11783 2002-11-12  Michael Koch <konqueror@gmx.de>
11784
11785         * java/nio/Buffer.java: Implemented.
11786         * java/nio/CharBuffer.java: New file.
11787         * java/nio/InvalidMarkException.java: New file.
11788         * java/nio/channels/DatagramChannel.java: Implemented.
11789         * java/nio/channels/ServerSocketChannel.java: Implemented.
11790         * java/nio/channels/SocketChannel.java: Implemented.
11791         * java/nio/channels/spi/AbstractChannel.java: Removed.
11792         * java/nio/channels/spi/AbstractSelectableChannel.java:
11793         Implemented.
11794         * java/nio/charset/Charset.java:
11795         Merge from Classpath.
11796         * java/nio/charset/CharsetDecoder.java: New file.
11797         * java/nio/charset/CharsetEncoder.java: New file.
11798         * java/nio/charset/CoderResult.java: New file.
11799         * Makefile.am (ordinary_java_source_files): Added new files.
11800         * Makefile.in: Regenerated.
11801
11802 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11803
11804         * gnu/java/nio/charset/ISO_8859_1.java,
11805         gnu/java/nio/charset/Provider.java,
11806         gnu/java/nio/charset/US_ASCII.java,
11807         gnu/java/nio/charset/UTF_16.java,
11808         gnu/java/nio/charset/UTF_16BE.java,
11809         gnu/java/nio/charset/UTF_16Decoder.java,
11810         gnu/java/nio/charset/UTF_16Encoder.java,
11811         gnu/java/nio/charset/UTF_16LE.java,
11812         gnu/java/nio/charset/UTF_8.java: New files.
11813
11814 2002-11-11  Michael Koch <konqueror@gmx.de>
11815
11816         * java/nio/charset/CharacterCodingException.java:
11817         This class must be public.
11818         * java/nio/charset/CoderMalfunctionError.java:
11819         This class must be public.
11820         * java/nio/charset/CodingErrorAction.java:
11821         This class must be public.
11822         * java/nio/charset/IllegalCharsetNameException.java:
11823         This class must be public, better implementation.
11824         * java/nio/charset/MalformedInputException.java:
11825         This class must be public, better implementation.
11826         * java/nio/charset/UnmappableCharacterException.java:
11827         This class must be public, better implementation.
11828         * java/nio/charset/UnsupportedCharsetException.java:
11829         This class must be public, better implementation.
11830
11831 2002-11-11  Michael Koch <konqueror@gmx.de>
11832
11833         * java/nio/BufferOverflowException.java,
11834         java/nio/BufferUnderflowException.java: New file.
11835         * Makefile.am (ordinary_java_source_files):
11836         Added new files.
11837         * Makefile.in: Regenerated.
11838
11839 2002-11-10  Tom Tromey  <tromey@redhat.com>
11840
11841         * java/awt/Container.java (validate): Use tree lock.
11842         (getComponent): Likewise.
11843         (getComponents): Likewise.
11844         (addImpl): Likewise.
11845         (remove): Likewise.
11846         (removeAll): Likewise.
11847         (processEvent): Fixed indentation.
11848         (getComponentAt): Use tree lock.
11849         (findComponentAt): Likewise.
11850         (removeNotify): Likewise.
11851         (isAncestorOf): Likewise.
11852         (list): Likewise.
11853         (visitChildren): Likewise.
11854         (findNextFocusComponent): Likewise.
11855         (addNotifyContainerChildren): Likewise.
11856         (getAccessibleChildrenCount): Likewise.
11857         (getAccessibleChild): Likewise.
11858
11859         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11860         (getSize): Likewise.
11861         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11862         (getSize): Likewise.
11863         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11864         (calcSize): Likewise.
11865         * java/awt/CardLayout.java (getSize): Use tree lock.
11866         (gotoComponent): Likewise.
11867         (layoutContainer): Likewise.
11868
11869         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11870         count is 0.
11871         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11872         count is 0.
11873
11874         * java/io/Externalizable.java, java/io/FilePermission.java,
11875         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11876         java/io/SerializablePermission.java, java/text/Format.java,
11877         java/util/AbstractMap.java, java/util/HashMap.java,
11878         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11879         versions from Classpath.
11880
11881 2002-11-10  Anthony Green  <green@redhat.com>
11882
11883         * java/util/jar/Attributes.java (Name): Fix name check.
11884
11885 2002-11-10  Mark Wielaard  <mark@klomp.org>
11886
11887         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11888         with getName() as message.
11889         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11890         type as message.
11891
11892         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11893         unused.
11894
11895 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11896
11897         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11898         for Win32. JNICALL has been defined to __stdcall to be compatible
11899         with Sun's JDKs.
11900
11901 2002-11-10  Tom Tromey  <tromey@redhat.com>
11902
11903         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11904         (setRows): Check newRows, not rows.
11905
11906         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11907
11908 2002-11-09  Tom Tromey  <tromey@redhat.com>
11909
11910         * java/applet/Applet.java, java/applet/AppletContext.java,
11911         java/applet/AppletStub.java, java/applet/AudioClip.java,
11912         java/awt/CardLayout.java,
11913         java/awt/ContainerOrderFocusTraversalPolicy.java,
11914         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11915         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11916         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11917         java/awt/color/ICC_ColorSpace.java,
11918         java/awt/color/ICC_Profile.java,
11919         java/awt/color/ICC_ProfileGray.java,
11920         java/awt/color/ICC_ProfileRGB.java,
11921         java/awt/datatransfer/DataFlavor.java,
11922         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11923         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11924         New versions from Classpath.
11925         * Makefile.in: Rebuilt.
11926         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11927         ICC_ProfileRGB.
11928
11929         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11930         display policy.
11931
11932         * java/awt/List.java (processEvent): Added missing `else's.
11933
11934         * java/awt/Window.java (show): validate() before showing.  Make
11935         parent displayable.
11936         (isDisplayable): New method.
11937
11938 2002-11-07  Mark Wielaard  <mark@klomp.org>
11939
11940         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11941         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11942
11943         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11944         annotation.
11945         (loadClass): Take String as codebases.
11946         (getClassAnnotation): Use MyClassLoader annotations.
11947         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11948         call exportObject(this).
11949
11950         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11951         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11952         (setAnnotation): Don't set locBytesStream and locStream.
11953         (replaceObject): Removed.
11954         (flush): Don't test locStream.
11955         (getLocBytes): LikeWise.
11956         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11957         (leaseCache): New field.
11958         (dirty): Use leaseCache.
11959         (LeaseRecord): New inner class.
11960         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11961         explicitly call exportObject().
11962         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11963         false to communicate with Sun JDK130.
11964         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11965         * gnu/java/rmi/server/RMIObjectInputStream.java
11966         (UnicastConnectionManager): Removed field.
11967         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11968         Use UnicastServer.getExportedRef().
11969         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11970         (expireTime): Likewise.
11971         (CONNECTION_TIMEOUT): Likewise.
11972         (disconnect): Call sock.close().
11973         (isExpired): New method.
11974         (resetTime): Likewise.
11975         (run): Use do while loop and catch Exception for discardConnection().
11976         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11977         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11978         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11979         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11980         (exportObject): Use refcache.
11981         (unexportObject): Likewise.
11982         (getExportedRef): New method.
11983         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11984         constructor.
11985         (exportObject): Save manager.serverobj.
11986         (getStub): New method.
11987
11988 2002-11-07  Mark Wielaard  <mark@klomp.org>
11989
11990         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11991         (getByte): Likewise.
11992         (getShort): Likewise.
11993         (getInt): Likewise.
11994         (getLong): Likewise.
11995         (getFloat): Likewise.
11996         (getDouble): Likewise.
11997         (get): Likewise.
11998         (setChar): Likewise.
11999         (setByte): Likewise.
12000         (setShort): Likewise.
12001         (setInt): Likewise.
12002         (setLong): Likewise.
12003         (setFloat): Likewise.
12004         (setDouble): Likewise.
12005
12006 2002-11-07  Michael Koch <konqueror@gmx.de>
12007
12008         * java/awt/Choice.java,
12009         java/awt/Container.java,
12010         java/awt/GridBagLayout.java:
12011         Fixed documentation.
12012         * java/awt/peer/ContainerPeer.java:
12013         Reindented.
12014
12015 2002-11-07  Michael Koch <konqueror@gmx.de>
12016
12017         * java/awt/color/ICC_Profile.java:
12018         Added missing constants.
12019         * java/awt/color/ICC_ColorSpace.java
12020         (getMinValue): Added dummy implementation.
12021         (getMaxValue): Added dummy implementation.
12022         * java/awt/datatransfer/DataFlavor.java
12023         (imageFlavor): Added.
12024         (isMimeTypeEqual): Must be final.
12025         (getDefaultRepresentationClass): Must be non-static.
12026         (getDefaultRepresentationClassAsString): Must be non-static.
12027         * java/awt/dnd/DragSourceContext.java
12028         (dragExit): Corrected argument.
12029         (dragDropEnd): Corrected argument.
12030         * java/awt/dnd/DragSourceListener.java.java
12031         (dragExit): Corrected argument.
12032         (dragDropEnd): Corrected argument.
12033         * java/awt/font/TextHitInfo.java
12034         (toString): Added stubbed implementation.
12035         * java/awt/geom/PathIterator.java:
12036         The constants must be static.
12037         * java/awt/image/VolatileImage.java
12038         (IMAGE_INCOMPATIBLE): Fixed typo.
12039         * java/awt/image/renderable/RenderableImage.java
12040         (HINTS_OBSERVED): Must be static.
12041         * java/beans/BeanInfo.java:
12042         Constants must be final.
12043
12044 2002-11-06  Tom Tromey  <tromey@redhat.com>
12045
12046         From svens@it.uu.se.  For PR libgcj/8481.
12047         * java/util/Random.java (nextInt(int)): Only use 31 bits.
12048
12049 2002-11-06  Tom Tromey  <tromey@redhat.com>
12050
12051         * jni.cc (array_from_valist): Assume that jlong won't be
12052         promoted.
12053
12054 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
12055
12056         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12057         Return 20.
12058         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12059         Return 16.
12060
12061 2002-11-03  Tom Tromey  <tromey@redhat.com>
12062
12063         * java/lang/ClassLoader.java (loadClass): Call loadClass on
12064         VMClassLoader, not findClass.
12065
12066 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
12067
12068         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12069         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12070         _Jv_DetermineVTableIndex, to determine vtable offset.
12071         (_Jv_DetermineVTableIndex): Remove.
12072         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
12073
12074         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12075
12076 2002-11-03  Tom Tromey  <tromey@redhat.com>
12077
12078         * java/nio/channels/AlreadyConnectedException.java: Extend
12079         IllegalStateException, per spec.
12080
12081 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
12082
12083         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12084
12085 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12086
12087         * java/util/ArrayList.java (readObject, writeObject): Only read/write
12088         size items.
12089
12090 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12091
12092         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12093         initial estimated size to avoid enlarge buffer frequently.
12094
12095 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
12096
12097         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12098         ClassLoader when null.
12099         (ProxyType.hashCode): Loader null check no longer needed.
12100         (ProxyType.sameTypes): New method.
12101         (ProxyType.equals): Use new method.
12102
12103 2002-10-31  Mark Wielaard  <mark@klomp.org>
12104
12105         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12106         length of String.
12107         * java/net/URLEncoder.java (encode): Likewise.
12108
12109 2002-10-31  Mark Wielaard  <mark@klomp.org>
12110
12111         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12112         when stream is closed.
12113         (closeEntry): Likewise.
12114         (read): Likewise.
12115         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12116         ZipException when no entry active.
12117         (closeEntry): Likewise.
12118         (write): Likewise.
12119
12120 2002-11-02  Tom Tromey  <tromey@redhat.com>
12121
12122         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12123         * java/lang/natClass.cc (initializeClass): Don't return just
12124         because self==thread.
12125
12126         For PR java/8415:
12127         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12128         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12129
12130 2002-11-02  Andreas Schwab  <schwab@suse.de>
12131
12132         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12133         pass GCJFLAGS.
12134         (FLAGS_TO_PASS): Define.
12135         * Makefile.in: Regenerated.
12136
12137 2002-11-01  Michael Koch  <konqueror@gmx.de>
12138
12139         * java/nio/ByteOrder.java: New file.
12140         * java/nio/channels/DatagramChannel.java:
12141         (DatagramChannel): New constructor.
12142         * java/nio/channels/Pipe.java: New file.
12143         * java/nio/channels/SelectableChannel.java: New file.
12144         * java/nio/channels/SelectionKey.java: New file.
12145         * java/nio/channels/Selector.java: New file.
12146         * java/nio/channels/ServerSocketChannel.java
12147         (ServerSocketChannel): New constructor.
12148         * java/nio/channels/SocketChannel.java
12149         (SocketChannel): New constructor.
12150         * java/nio/channels/Pipe.java: New file.
12151         * java/nio/channels/spi/AbstractChannel.java: New file.
12152         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12153         * java/nio/channels/spi/AbstractSelectableChannel.java:
12154         License added
12155         (AbstractSelectableChannel): New stubbed method.
12156         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12157         * java/nio/channels/spi/AbstractSelector.java: New file.
12158         * java/nio/channels/spi/SelectorProvider.java: New file.
12159         * java/nio/charset/Charset.java: New file.
12160         * java/nio/charset/CoderMalfunctionError.java: New file.
12161         * java/nio/charset/CodingErrorAction.java: New file.
12162         * java/nio/charset/spi/CharsetProvider.java
12163         (charsetForName): Uncommented.
12164         * Makefile.am (java_native_source_files): Added new files.
12165         * Makefile.in: Regenerated.
12166
12167 2002-11-01  Michael Koch  <konqueror@gmx.de>
12168
12169         * java/net/InetAddress.java:
12170         (isAnyLocalAddress): Implemented.
12171         (isLoopbackAddress): Implemented, comment added.
12172         (isLinkLocalAddress): Implemented, documentation added.
12173         (isSiteLocalAddress): Implemented, documentation added.
12174         (isMCGlobal): Implemented, documentation added.
12175         (isMCNodeLocal): Implemented, documentation added.
12176         (isMCLinkLocal): Implemented, documentation added.
12177         (isMCSiteLocal): Implemented, documentation added.
12178         (isMCOrgLocal): Implemented, documentation added.
12179         (getHostName): Documentation added.
12180         (getCanonicalHostName): Implemented, documentation added.
12181         (getAddress): Documentation added.
12182         (hashCode): Documentation added.
12183         (equals): Documentation added.
12184         (toString): Fixed implementation.
12185         (getByAddress): Use Inet4Address and Inet6Address.
12186         (lookup): New linewrap.
12187         (getByName): SecurityManager check added, support Inet4Address and
12188         Inet6address, comments added.
12189         (getAllByName): SecurityManager check added, comments added.
12190         * java/net/Inet6Address.java:
12191         (Inet6Address): Initialize parent class with addr instead of null.
12192         * java/net/URL.java
12193         (equals): Documentation added.
12194         (getFile): Documentation added.
12195         (hashCode): Documentation added.
12196         * java/net/natInetAddress.cc:
12197         (aton): Fix IPv6 support.
12198         * java/net/natPlainDatagramSocketImpl.cc:
12199         (peek): Throw PortUnreachableException when suitable.
12200         (peekData): Throw PortUnreachableException when suitable.
12201         (send): Throw PortUnreachableException when suitable.
12202         (receive): Throw PortUnreachableException when suitable.
12203
12204 2002-10-27  Mark Wielaard  <mark@klomp.org>
12205
12206         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12207         argument.
12208         (readLeShort): Likewise and use byte[].
12209         (readLeInt): Likewise.
12210         (readEntries): Use new versions of methods and use byte[] for reading
12211         a complete zip entry. Add ZipFile name to exceptions.
12212         (entries): Add ZipFile name to exceptions.
12213         (getEntry): Likewise.
12214         (checkLocalHeader): Use new versions of methods and add ZipFile name
12215         to exceptions.
12216
12217 2002-10-31  Mark Anderson  <mark@panonet.net>
12218
12219         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12220         added
12221
12222 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
12223
12224         * configure.in: Disable hash sync when not using threads.
12225         * configure: Regenerated.
12226
12227 2002-10-24  Tom Tromey  <tromey@redhat.com>
12228
12229         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12230         (_Jv_FindSymbolInExecutable): Removed argument name.
12231         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12232         java.library.path is set.
12233
12234         * gij.cc (help): Document --showversion.
12235         (version): Don't exit.
12236         (main): Handle --showversion.  Exit if --version given.
12237
12238 2002-10-23  Tom Tromey  <tromey@redhat.com>
12239
12240         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12241         (array_from_valist): Correctly handle promotion for jint, jlong,
12242         jfloat, and jdouble.
12243
12244 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
12245
12246         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12247         GetFileAttributesEx( ) to find file length and modification times,
12248         as the latter is not present on Windows 95.
12249
12250 2002-10-21  Michael Koch  <konqueror@gmx.de>
12251
12252         * java/net/URL.java
12253         (URL): Activate SecurityManager checks.
12254         (equals): Use URLStreamHandler implementation instead of doing it
12255         alone. This allows special protocol stream handlers to change default
12256         behaviour.
12257         (hashCode): Use URLStreamHandler implementation instead of doing it
12258         alone. This allows special protocol stream handlers to change default
12259         behaviour.
12260         * java/net/URLStreamHandler.java
12261         (equals): Implemented default URL equality check.
12262         (hostsEqual): Implemented default URL equality check.
12263         (hashCode): Implemented default URL hashCode algorithm.
12264         * java/net/natPlainDatagramSocketImpl.cc:
12265         No lines longer then 80 characters.
12266
12267 2002-10-20  Adam Megacz <adam@xwt.org>
12268
12269         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12270         * configure.in: enabled hash sync on Win32
12271         * include/win32-threads.h (_Jv_ThreadId_t): added.
12272         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12273         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12274         removed some posix-isms, use Thread::sleep() instead of usleep,
12275         added code to clear bottom three bits if platform has a broken
12276         linker.
12277         * include/win32-threads.h (_Jv_ThreadId_t): added.
12278
12279 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
12280
12281         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12282         runtime property "gnu.gcj.progname" containing the name used to
12283         invoke the current Java program (similar to argv[0] for C
12284         programs).
12285
12286 2002-10-15  Tom Tromey  <tromey@redhat.com>
12287
12288         Fix for PR libgcj/8234:
12289         * java/util/zip/natInflater.cc (reset): Reset avail_in.
12290         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12291
12292 2002-10-13  Mark Wielaard  <mark@klomp.org>
12293
12294         * mauve-libgcj: Enable Mauve tests that compile now.
12295
12296 2002-10-11  Mark Wielaard  <mark@klomp.org>
12297
12298         Fix for PR libgcj/8142
12299         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12300         loading native modules.
12301
12302 2002-10-10  Michael Koch  <konqueror@gmx.de>
12303
12304         * javax/swing/AbstractListModel.java
12305         (getListDataListeners): New stubbed method.
12306         javax/swing/DefaultBoundedRangeModel.java
12307         (getChangeListeners): New stubbed method.
12308         javax/swing/DefaultSingleSelectionModel.java
12309         (getChangeListeners): New stubbed method.
12310
12311 2002-10-10  Michael Koch  <konqueror@gmx.de>
12312
12313         * gcj/.cvsignore: New file to ignore files generated during build.
12314         * include/.cvsignore: New file to ignore files generated during build.
12315
12316 2002-10-10  Michael Koch  <konqueror@gmx.de>
12317
12318         * java/net/HttpURLConnection.java
12319         (getPermission): New method.
12320         (getErrorStream): New stub method.
12321         (getHeaderFieldDate): New stub method.
12322         * java/net/Inet4Address.java:
12323         (isLinkLocalAddress): Typo fixed.
12324         * java/net/InetAddress.java:
12325         (readResolve): New stubbed method (for serialization).
12326         (isAnyLocalAddress): New stubbed method.
12327         (isLoopbackAddress): New stubbed method.
12328         (isLinkLocalAddress): New stubbed method.
12329         (isSiteLocalAddress): New stubbed method.
12330         (isMCGlobal): New stubbed method.
12331         (isMCNodeGlobal): New stubbed method.
12332         (isMCLinkLocal): New stubbed method.
12333         (isMCSiteLocal): New stubbed method.
12334         (isMCOrgLocal): New stubbed method.
12335         (getCanonicalHostName): New stubbed method.
12336         (getByAddress): Create instances of Inet4Address/Inet6Address,
12337         instead of InetAddress, documentation added.
12338         * java/net/MulticastSocket.java
12339         (getInterface): Removed FIXME.
12340         (getNetworkInterface): New method.
12341         (setNetworkInterface): New method.
12342         * java/net/NetworkInterface.java:
12343         (toString): Use property "line.separator" instead of "\n".
12344         * java/net/URLConnection.java
12345         (getContent): New stubbed method.
12346         * java/net/URLStreamHandler.java:
12347         (equals): New stubbed method.
12348         (hostsEqual): New stubbed method.
12349         (hashCode): New stubbed method.
12350         * java/net/natNetworkInterface.cc:
12351         (getRealNetworkInterfaces): Create Inet4Address object
12352         instead of InetAddress.
12353
12354 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12355
12356         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12357         unsigned long temporary to implement insn_iushr shifts.
12358
12359 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
12360
12361         * configure.host [s390*-*]: Enable Java interpreter.
12362         Enable hash synchronization.  Add sysdeps dir.
12363         * sysdep/s390/locks.h: New file.
12364
12365 2002-10-06  Mark Wielaard  <mark@klomp.org>
12366
12367         * java/lang/Thread.java (setDaemon): Check startable_flag,
12368         not isAlive().
12369
12370 2002-10-07  Michael Koch  <konqueror@gmx.de>
12371
12372         * java/nio/Buffer.java: New stub file.
12373         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12374         of class Charset.
12375         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12376         * Makefile.in: Regenerated.
12377
12378 2002-10-07  Michael Koch  <konqueror@gmx.de>
12379
12380         * java/nio/ByteBuffer.java:
12381         removed import of not commited class.
12382
12383 2002-10-07  Michael Koch  <konqueror@gmx.de>
12384
12385         * java/nio/ByteBuffer.java,
12386         java/nio/MappedByteBuffer.java:
12387         New files, forgot to add these dummies.
12388         * Makefile.am (java_native_source_files): Added new files.
12389         * Makefile.in: Regenerated.
12390
12391 2002-10-07  Michael Koch  <konqueror@gmx.de>
12392
12393         * java/nio/channels/AlreadyConnectedException.java,
12394         java/nio/channels/ClosedChannelException.java,
12395         java/nio/channels/ReadableByteChannel.java,
12396         java/nio/channels/InterruptibleChannel.java,
12397         java/nio/channels/Channel.java,
12398         java/nio/channels/ByteChannel.java,
12399         java/nio/channels/GatheringByteChannel.java,
12400         java/nio/channels/ScatteringByteChannel.java,
12401         java/nio/channels/WritableByteChannel.java,
12402         java/nio/charset/CharacterCodingException.java,
12403         java/nio/charset/IllegalCharsetNameException.java,
12404         java/nio/charset/MalformedInputException.java,
12405         java/nio/charset/UnmappableCharacterException.java,
12406         java/nio/charset/UnsupportedCharsetException.java,
12407         java/nio/charset/spi/CharsetProvider.java: New file.
12408         These files are exceptions or interfaces,
12409         no real or abstract classes.
12410         * Makefile.am (java_native_source_files): Added new files.
12411         * Makefile.in: Regenerated.
12412
12413 2002-10-05  Michael Koch  <konqueror@gmx.de>
12414
12415         * java/net/InetAddress.java
12416         (getByAddress): Fixed documentation.
12417         (getByAddress): New method.
12418         * java/net/Inet4Address.java: New file.
12419         * java/net/URL.java
12420         (URL): Documentation added.
12421         (getContent): Documentation added.
12422         (getContent): New stubbed method.
12423         (getQuery): New method.
12424         (openConnection): Documentation added.
12425         (openStream): Documentation added.
12426         (setURLStreamHandlerFactory): Documentation added.
12427         * java/net/URI.java: New stub file.
12428         * Makefile.am
12429         (java_native_source_files): Added java/net/Inet4Address.java,
12430         java/net/Inet6Address.java and java/net/URI.java.
12431         * Makefile.in: Regenerated.
12432
12433 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12434
12435         * java/lang/ProtectionDomain.java (linesep): Remove field.
12436         (toString): Use System.getProperty("line.separator").
12437
12438 2002-10-04  Michael Koch  <konqueror@gmx.de>
12439
12440         * java/security/Identity.java: Added serialVersionUID.
12441         * java/security/KeyPair.java: Added serialVersionUID.
12442         * java/security/Provider.java: Added serialVersionUID.
12443         * java/security/SecureRandom.java: Added serialVersionUID.
12444         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12445         * java/security/SignedObject.java: Added serialVersionUID.
12446         * java/security/cert/Certificate.java: Added serialVersionUID.
12447
12448 2002-10-04  Mark Wielaard <mark@klomp.org>
12449
12450         * java/security/Security.java: Use java.home or gnu.classpath.home
12451         to load providers.
12452         (loadProviders): Extra dir argument.
12453         (getProvider): Return null when not found.
12454
12455 2002-10-04  Mark Wielaard  <mark@klomp.org>
12456
12457         * java/lang/Throwable.java: Remerge with Classpath.
12458
12459 2002-10-04  Michael Koch  <konqueror@gmx.de>
12460
12461         * java/net/InetAddress.java:
12462         (isMulticastAddress): Added documentation.
12463         (getHostAddress): Added documentation.
12464         (toString): Added documentation.
12465         (getByAddress): Fixed documentation.
12466         (getByName): Added documentation.
12467         (getAllByName): Added documentation.
12468         (getLocalHost): Added documentation.
12469
12470 2002-10-04  Michael Koch  <konqueror@gmx.de>
12471
12472         * java/beans/beancontext/BeanContextChildSupport.java:
12473         Added serialVersionUID.
12474         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12475         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12476         * javax/naming/Name.java: Added serialVersionUID.
12477
12478 2002-10-03  Adam Megacz <adam@xwt.org>
12479
12480         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12481         some functionality that isn't supported yet on WIN32.
12482
12483 2002-10-03  Tom Tromey  <tromey@redhat.com>
12484
12485         * Makefile.in: Rebuilt.
12486         * Makefile.am (awt_java_source_files): Added new files.
12487
12488 2002-10-03  Michael Koch  <konqueror@gmx.de>
12489
12490         * java/net/InetAddress.java
12491         (class InetAddress): Removed final keyword.
12492         (equals): Fixed typo.
12493         (getByAddress): New method.
12494
12495 2002-10-03  Michael Koch  <konqueror@gmx.de>
12496
12497         * java/awt/dnd/Autoscroll.java:
12498         New file, merge from Classpath.
12499         * java/awt/dnd/DragSourceAdapter.java:
12500         (dragExit): Fixed typos in argument type.
12501         (dragDropEnd): Fixed typos in argument type.
12502         * java/awt/dnd/DragSourceDropEvent.java:
12503         New file, merge from Classpath.
12504         * java/awt/dnd/DropTarget.java:
12505         Added stubs, merge from Classpath.
12506         * java/awt/dnd/DropTargetAdapter.java:
12507         New file, merge from Classpath.
12508         * java/awt/dnd/DropTargetContext.java:
12509         New file, merge from Classpath.
12510         * java/awt/dnd/DropTargetDragEvent.java:
12511         New file, merge from Classpath.
12512         * java/awt/dnd/DropTargetDropEvent.java:
12513         New file, merge from Classpath.
12514         * java/awt/dnd/DropTargetEvent.java:
12515         New file, merge from Classpath.
12516         * java/awt/dnd/DropTargetListener.java:
12517         New file, merge from Classpath.
12518         * java/awt/dnd/MouseDragGestureRecognizer.java:
12519         New file, merge from Classpath.
12520         * java/awt/dnd/peer/DropTargetContextPeer.java:
12521         New file, merge from Classpath.
12522
12523 2002-10-03  Michael Koch  <konqueror@gmx.de>
12524
12525         * java/net/DatagramPacket.java
12526         (setLength): Fixed typo and be HTML-aware.
12527         * java/net/InetSocketAddress.java
12528         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12529         (equals): Added comment about equality of InetSocketAddress objects.
12530         * java/net/ServerSocket.java
12531         (accept): Added checks.
12532         (isClosed): New stubbed method.
12533         * java/net/SocketOptions.java: Reindention.
12534         * java/net/SocketPermission
12535         (SocketPermission): Documentation fixed.
12536
12537 2002-10-03  Michael Koch  <konqueror@gmx.de>
12538
12539         * java/net/DatagramSocket.java
12540         (receive): Check with SecurityManager AFTER the packet is received,
12541         check if connected to multicast address, documentation added.
12542         (send): Only check SecurityManager if connected, check address of
12543         packet to send.
12544         (connect): Implemented, documentation added.
12545         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12546         * java/net/InetSocketAddress.java
12547         (whole file): Reindented.
12548         (hostname): New attribute.
12549         (InetSocketAddress): Initialize new attribute.
12550         (getAddress): Documentation added.
12551         (getHostName): Documentation added.
12552         (getPort): Documentation added.
12553         (hashCode): Documentation added.
12554         (isUnresolved): Documentation added.
12555         (toString): Conform to output of JDK 1.4.1, documentation added.
12556         * java/net/MulticastSocket.java
12557         (joinGroup): Removed FIXME, documentation added.
12558         (leaveGroup): Removed FIXME, documentation added.
12559         (send): Documentation added.
12560         * java/net/Socket.java
12561         (inputShutdown): New variable.
12562         (outputShutdown): New variable.
12563         (Socket): Initialize new variables.
12564         (getRemoteSocketAddress): Check if connected.
12565         (shutdownInput): Set new variable.
12566         (shutdownOutput): Set new variable.
12567         (isConnected): New method.
12568         (isClosed): New method.
12569         (isInputShutdown): New method.
12570         (isOutputShutdown): New method.
12571         * java/net/URLStreamHandler.java
12572         (URLStreamHandler): New method.
12573         (openConnection): Added documentation.
12574         (parseURL): Added documentation.
12575         (getHostAddress): New method.
12576         (getDefaultPort): New method.
12577
12578 2002-10-02  Tom Tromey  <tromey@redhat.com>
12579
12580         * java/rmi/activation/ActivationDesc.java,
12581         java/rmi/activation/ActivationGroupDesc.java,
12582         java/rmi/activation/ActivationGroupID.java,
12583         java/rmi/activation/ActivationID.java: New versions from
12584         Classpath.
12585
12586 2002-09-30  Bo Thorsen  <bo@suse.de>
12587
12588         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12589
12590 2002-09-30  Tom Tromey  <tromey@redhat.com>
12591
12592         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12593         from Classpath.
12594         * Makefile.in: Rebuilt.
12595         * Makefile.am (rmi_java_source_files): Added new files.
12596         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12597         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12598         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12599         Classpath.
12600         * gnu/java/rmi/dgc/DGCImpl.java,
12601         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12602         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12603         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12604         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12605         gnu/java/rmi/server/RMIHashes.java,
12606         gnu/java/rmi/server/RMIObjectInputStream.java,
12607         gnu/java/rmi/server/RMIObjectOutputStream.java,
12608         gnu/java/rmi/server/UnicastConnection.java,
12609         gnu/java/rmi/server/UnicastConnectionManager.java,
12610         gnu/java/rmi/server/UnicastRef.java,
12611         gnu/java/rmi/server/UnicastServer.java,
12612         gnu/java/rmi/server/UnicastServerRef.java,
12613         java/rmi/MarshalledObject.java,
12614         java/rmi/server/RMIClassLoader.java,
12615         java/rmi/server/RemoteObject.java,
12616         java/rmi/server/UnicastRemoteObject.java,
12617         java/security/SecureClassLoader.java: Merged from Classpath.
12618
12619 2002-09-29  Anthony Green  <green@redhat.com>
12620
12621         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12622         Imported from GNU Classpath.
12623         * java/lang/reflect/natProxy.cc: New file.
12624         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12625         from GNU Classpath.
12626         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12627         Classpath.
12628         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12629         Classpath.
12630         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12631         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12632         New statics.
12633         * gcj/javaprims.h ("Java"): Add new classes.
12634         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12635         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12636         java/lang/reflect/Proxy$$ProxyType.h): And this.
12637         (inner_nat_headers): Add these new headers.
12638         (ordinary_java_source_files): Add new files.
12639         (nat_source_files): Add new file.
12640         * Makefile.in: Rebuilt.
12641
12642 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12643
12644         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12645         a single configuration.
12646
12647 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12648
12649         * java/util/TimeZone.java (getDSTSavings): New method.
12650         Fixes PR libgcj/7786.
12651
12652 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12653
12654         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12655         to see if `the_method == 0' before looking up vtable index.
12656         Fixes PR libgcj/7709.
12657
12658 2002-09-25  Tom Tromey  <tromey@redhat.com>
12659
12660         * java/lang/natClassLoader.cc:
12661         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12662         * resolve.cc: Include NoClassDefFoundError.h, not
12663         ClassNotFoundException.h.
12664         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12665
12666         * defineclass.cc: Don't include ClassNotFoundException.h.
12667
12668         * resolve.cc: Include StringBuffer.
12669         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12670
12671         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12672         allocated but not initialized.
12673
12674 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12675
12676         Fix for PR libgcj/7766:
12677         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12678         (getNextEntry): Set it.
12679         (closeEntry): Likewise.
12680         (read): Likewise.
12681         (close): Likewise.
12682         (available): Use it.
12683
12684 2002-09-25  Michael Koch  <konqueror@gmx.de>
12685
12686         * java/net/DatagramSocket.java
12687         (DatagramSocket): Initialize new instance variables.
12688         (close): Reset new instance variables.
12689         (getLocalAddress): Remove unneeded SecurityManager usage.
12690         (getLocalPort): Check if socket is already bound.
12691         (isConnected): New method.
12692         (getInetAddress): Implemented.
12693         (getPort): Better Implementation, documentation fixed.
12694         (getRemoteSocketAddress): New method.
12695         * java/net/JarURLConnection.java
12696         (element): Typo fixed.
12697         (getMainAttributes): New method.
12698         (getAttributes): New method (stub only).
12699         (getManifest): New method (stub only).
12700         * java/net/NetPermission.java: Added serialVersionsUID.
12701         * java/net/Socket.java
12702         (connect): Check blocking mode of associated channel,
12703         documentation added.
12704         (getLocalSocketAddress): Better implementation.
12705         (getRemoteSocketAddress): Implemented.
12706         (isBound): New method.
12707         (setSendBufferSize): Documentation added.
12708         * java/net/SocketAddress.java: Added serialVersionsUID.
12709         * java/net/SocketPermission.java: Added serialVersionsUID.
12710         * java/net/URL.java
12711         (URL): Wrap for shorter lines, initialize new instance variables,
12712         documentation added.
12713         (equals): Check new instance variables too.
12714         (getContent): Documentation added.
12715         (getPath): Documentation added.
12716         (getAuthority): New method.
12717         (getHost): Documentation added.
12718         (getPort): Documentation added.
12719         (getDefaultPort): New method.
12720         (getProtocol): Documentation added.
12721         (getUserInfo): Documentation added.
12722         (set): Initialize new instance variables, documentation added.
12723         * java/net/URLStreamHandler.java
12724         (setURL): New method.
12725         * java/net/natPlainDatagramSocketImpl.cc
12726         (connect): Fix exception name.
12727         (disconnect): Fix exception name.
12728
12729 2002-09-25  Michael Koch  <konqueror@gmx.de>
12730
12731         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12732         * java/nio/channels/DatagramChannel.java:
12733         extends AbstractSelectableChannel
12734         * java/nio/channels/ServerSocketChannel.java:
12735         extends AbstractSelectableChannel
12736         * java/nio/channels/SocketChannel.java:
12737         extends AbstractSelectableChannel
12738         * Makefile.am (ordinary_java_source_files):
12739         java/nio/channels/spi/AbstractSelectableChannel.java added.
12740         * Makefile.in: Regenerated.
12741
12742 2002-09-25  Michael Koch  <konqueror@gmx.de>
12743
12744         * java/net/DatagramSocket.java
12745         (DatagramSocket): Exception documentation added.
12746         (bind): Exception documentation added, addded SecurityManager check,
12747         added SocketAddress type check.
12748         (getSoTimeout): Check impl.
12749         (receive): Fix SecurityManager check, check impl, documentation added.
12750         (send): Check channel mode, documentation added.
12751         (connect): New method.
12752         (disconnect): Implemented.
12753         (getLocalSocketAddress): New method.
12754         (getReceiveBufferSize): Check impl.
12755         (setReuseAddress): Check impl.
12756         (getReuseAddress): Check impl.
12757         (setBroadcast): Check impl.
12758         (getBroadcast): Check impl.
12759         (setTrafficClass): Check impl, Documentation cleared.
12760         (getTrafficClass): Check impl.
12761         (getSendBufferSize): Check impl.
12762         (setReceiveBufferSize): Check impl, documentation added.
12763         (setSendBufferSize): Documentation added.
12764         (setDatagramSocketImplFactory): New method.
12765         * java/net/HttpURLConnection.java
12766         (HTTP_INTERNAL_ERROR): The correct code is 500.
12767         (HTTP_NOT_IMPLEMENTED): Added new constant.
12768         (setFollowRedirects): Documentation added.
12769         (getInstanceFollowRedirects): New method.
12770         (setInstanceFollowRedirects): New method.
12771         (setRequestMethod): Documentation added.
12772         (getResponseCode): Documentation added.
12773         (getResponseMessage): Documentation added.
12774         * java/net/JarURLConnection.java
12775         (JarURLConnection): protected since JDK 1.4.
12776         (getJarEntry): java.io.IOException to IOException, documentation added.
12777         (getJarFile): Documentation added.
12778         * java/net/ServerSocket.java
12779         (ServerSocket): Private to public, exception added.
12780         (ServerSocket): java.io.IOException to IOException, documentation added.
12781         (bind): Check socket address type, documentation added.
12782         (bind): java.io.IOException to IOException, documentation added.
12783         (accept): Documentation added.
12784         (implAccept): Check ch is not non-blocking, documentation added.
12785         (setSoTimeout): Documentation fixed.
12786         (setReceiveBufferSize): Documentation added.
12787         * java/net/Socket.java
12788         (Socket): Documentation added.
12789         (bind): Documentation added.
12790         (connect): Check socket address type, documentation added.
12791         (getRemoteSocketAddress): New method.
12792         (getLocalSocketAddress): New method.
12793         (setSoLinger): Documentation added.
12794         (getReuseAddress): New method.
12795         (setReuseAddress): New method.
12796         (getTrafficClass): New method.
12797         (setTrafficClass): New method.
12798         * java/net/URLStreamHandler.java
12799         (openConnection): java.io.IOException to IOException.
12800         (parseURL): Documentation added.
12801         (sameFile): public to protected, documentation added.
12802         (setURL): Documentation added.
12803         * java/nio/IllegalBlockingModeException.java: New file.
12804         * Makefile.am (ordinary_java_source_files):
12805         added java/nio/IllegalBlockingModeException.java
12806         * Makefile.in: Regenerated.
12807
12808 2002-09-25  Michael Koch  <konqueror@gmx.de>
12809
12810         * java/net/DatagramPacket
12811         (DatagramPacket): Exception documentation added.
12812         (setData): Likewise.
12813         (setSocketAddress): Likewise.
12814         * java/net/DatagramSocketImpl.java
12815         (peek): Documentation addded.
12816         (peekData): Documentation addded.
12817         (send): Documentation addded.
12818         (receive): Documentation addded.
12819         (connect): New method.
12820         (disconnect): New method.
12821         (joinGroup): New abstract method.
12822         (leaveGroup): New abstract method.
12823         * java/net/InetSocketAddress.java
12824         (InetSocketAddress): Documentation added.
12825         (equals): final keyword added.
12826         (getAddress): final keyword added.
12827         (getHostName): final keyword added.
12828         (getPort): final keyword added.
12829         (hashCode): final keyword added.
12830         (isUnresolved): final keyword added.
12831         * java/net/MulticastSocket.java
12832         (MulticastSocket): Documentation added.
12833         (MulticastSocket): New method.
12834         (joinGroup): Documentation added.
12835         (joinGroup): New method.
12836         (leaveGroup): Documentation added.
12837         (leaveGroup): New method.
12838         (send): Documentation added.
12839         * java/net/NetworkInterface.java
12840         (getByName): Documentation added.
12841         (getByInetAddress): Documentation added.
12842         (getNetworkInterfaces): Documentation added.
12843         * java/net/PlainDatagramSocketImpl.java
12844         (connect): New method.
12845         (disconnect): New method.
12846         * java/net/SocketImpl.java
12847         (create): Documentation added.
12848         (shutdownInput): Convert public to protected, as it always was.
12849         (shutdownOutput): Convert public to protected, as it always was.
12850         * java/net/SocketOptions.java
12851         (whole file): Reintented.
12852         * java/net/URLClassLoader.java
12853         (URLClassLoader): SecurityManager check added, documentation added.
12854         (findResources): Documentation added.
12855         (findClass): Documentation added.
12856         (newInstance): More correct method arguments.
12857         * java/net/URLConnection.java
12858         (connect): Documentation added.
12859         (getContent): Documentation added.
12860         (getPermission): Documentation added.
12861         (getInputStream): Documentation added.
12862         (getOutputStream): Documentation added.
12863         (setDoInput): Throw correct exception, documentation added.
12864         (setDoOutput): Throw correct exception, documentation added.
12865         (setAllowUserInteraction): Throw correct exception, documentation added.
12866         (setUseCaches): Throw correct exception, documentation added.
12867         (setIfModifiedSince): Throw correct exception, documentation added.
12868         (setRequestProperty): Throw exception, documentation added.
12869         (addRequestProperty): Throw exception, documentation added.
12870         (getRequestProperty): Throw exception, documentation added.
12871         (getRequestProperties): Documentation added.
12872         (setContentHandlerFactory): Documentation added.
12873         (guessContentTypeFromName): protected to public.
12874         (setFileNameMap): Documentation added.
12875         * java/net/URLDecoder.java
12876         (URLDecoder): New method.
12877         (decode): Documentation added.
12878         (whole file): Reindented.
12879         * java/net/URLEncoder.java
12880         (encode): Documentation added.
12881         * java/net/natPlainDatagramSocketImpl.cc
12882         (connect): New method.
12883         (disconnect): New method.
12884         * javax/naming/RefAddr:
12885         (addrType): addrType was never final.
12886         (equals): Fix typo in method name.
12887         * javax/naming/BinaryRefAddr:
12888         (equals): Fix typo in method name.
12889
12890 2002-09-22  Tom Tromey  <tromey@redhat.com>
12891
12892         Fix for PR libgcj/6576:
12893         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12894         didn't find a given bundle.
12895         (getBundle): Don't require base bundle.
12896         (setParent): Removed old comment.
12897         (tryLocalBundle): Try components even if preceding components were
12898         empty.
12899
12900 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12901
12902         * Makefile.am (all-multi): Fix multilib parallel build.
12903
12904 2002-09-21  Michael Koch  <konqueror@gmx.de>
12905
12906         * java/net/Socket.java
12907         (sendUrgentData): New method.
12908         (getChannel): New method.
12909         * java/net/ServerSocket.java
12910         (getChannel): New method.
12911         (isBound): New method.
12912         * java/net/DatagramSocket.java
12913         (DatagramSocket): Two new methods.
12914         (bind): New method.
12915         (getChannel): New method.
12916         (isBound): New method.
12917         (send): Added newline to to make shorter lines.
12918         * java/net/PlainDatagramSocketImpl.java
12919         (mcastGrp): Added argument.
12920         (join): Use new mcastGrp.
12921         (leave): Use new mcastGrp.
12922         (joinGroup): New method.
12923         (leaveGroup): New method.
12924         * java/net/natPlainDatagramSocketImpl.cc
12925         (mcastGrp): Added argument, no yet really implemented.
12926         (getOption): Added newline for shorter lines.
12927         * java/net/natPlainSocketImpl.cc
12928         (read, setOption, getOption): Added newline for shorter lines.
12929
12930 2002-09-19  Tom Tromey  <tromey@redhat.com>
12931
12932        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12933        newly-created exception.
12934
12935 2002-09-18  Michael Koch  <konqueror@gmx.de>
12936
12937         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12938         java/util/regex/PatternSyntaxException.java:
12939         Merge with classpath, new files.
12940         * Makefile.am (core_java_source_files):
12941         Added java/util/regex/Matcher.java,
12942         java/util/regex/Pattern.java,
12943         java/util/regex/PatternSyntaxException.java
12944         * Makefile.in: Regenerated.
12945         * include/config.h.in: Added HAVE_NET_IF_H.
12946         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12947         Removed #if 0 ... #endif.
12948
12949 2002-09-17  Michael Koch  <konqueror@gmx.de>
12950
12951         * java/net/natNetworkInterface.cc:
12952         Removed unneed and yet wrong includes.
12953
12954 2002-09-17  Michael Koch  <konqueror@gmx.de>
12955
12956         * java/net/NetworkInterface.java: New file.
12957         * java/net/natNetworkInterface.java: New file.
12958         * configure.in: Added check for net/if.h.
12959         * configure: Regenerated.
12960         * Makefile.am
12961         (ordinary_java_source_files): Added NetworkInterface.java.
12962         (nat_source_files): Added natNetworkInterface.cc.
12963         * Makefile.in: Regenerated.
12964
12965 2002-09-16  Tom Tromey  <tromey@redhat.com>
12966
12967         * java/net/URLClassLoader.java (findClass): Code source for a
12968         class from a jar is not necessarily a jar: URL.
12969
12970 2002-09-16  Michael Koch  <konqueror@gmx.de>
12971
12972         * java/lang/AssertionError.java:
12973         Merge with classpath, fixes HTML.
12974         * java/rmi/server/LogStream.java:
12975         Merge with classpath, fixes some constants.
12976         * java/net/server/RemoteServer.java:
12977         Merge with classpath, adds serialVersionUID.
12978         * javax/naming/BinaryRefAddr.java:
12979         Merge with classpath, s/equal/equals/.
12980         * javax/naming/NamingException.java:
12981         Merge with classpath, fixed typo.
12982         * javax/naming/RefAddr.java:
12983         Merge with classpath, s/equal/equals/.
12984         * java/awt/Toolkit.java:
12985         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12986         and typo fixed.
12987
12988 2002-09-15  Adam Megacz <adam@xwt.org>
12989
12990         * java/net/natPlainSocketImpl.cc: fixed typo.
12991
12992 2002-09-15  Adam Megacz <adam@xwt.org>
12993
12994         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12995         which don't work on Win32 (yet).
12996
12997 2002-09-14  Adam Megacz <adam@xwt.org>
12998
12999         * java/net/natPlainDatagramSocket.cc: removed #include
13000         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13001         * include/win32.h: included definition for IP_TOS to satisfy
13002         natPlainDatagramSocket.cc
13003
13004 2002-09-13  Michael Koch  <konqueror@gmx.de>
13005
13006         * java/net/DatagramPacket.java (DatagramPacket):
13007         Added linebreak for 80 chars per line.
13008         * java/net/JarURLConection.java
13009         (getInputStreami, getJarEntry): Likewise.
13010         * java/net/SocketPErmission.java
13011         (SocketPermission class docu, implies): Likewise.
13012         * java/net/URLClassLoader.java (findResources): Likewise.
13013         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13014
13015 2002-09-13  Michael Koch  <konqueror@gmx.de>
13016
13017         * java/nio/channels/DatagramChannel.java,
13018         java/nio/channels/ServerSocketChannel.java
13019         java/nio/channels/SocketChannel.java:
13020         New dummy files to make java.net fully JDK 1.4 compatible
13021         * Makefile.am (ordinary_java_source_files): Added
13022         java/net/DatagramSocketImplFactory.java (long forgotten),
13023         java/nio/SocketChannel.java,
13024         java/nio/ServerSocketChannel.java,
13025         java/nio/DatagramChannel.java
13026         * Makefile.in: Regenrated.
13027
13028 2002-09-12  Michael Koch  <konqueror@gmx.de>
13029
13030         * java/net/DatagramSocketImpl.java
13031         (peekData): New method.
13032         * java/net/PlainDatagramSocketImpl.java
13033         (peekData): New method.
13034         * java/net/natPlainDatagramSocketImpl.cc
13035         (peekData): New method.
13036         * java/net/URLConnection
13037         (getPermission): New method.
13038         (addRequestProperty): New method.
13039         (getRequestProperties): New method.
13040         (guessContentTypeFromStream): New method, not really implemented.
13041         (URLConnection): Added/updated documentation.
13042         (connect): Added/updated documentation.
13043         (getURL): Added/updated documentation.
13044         (getContentLength): Added/updated documentation.
13045         (getContentType: Added/updated documentation.
13046         (getContentEncoding): Added/updated documentation.
13047         (getExpiration): Added/updated documentation.
13048         (getDate): Added/updated documentation.
13049         (getLastModified): Added/updated documentation.
13050         (getHeaderField): Added/updated documentation.
13051         (getHeaderFields): Added/updated documentation.
13052         (getHeaderFieldInt): Added/updated documentation.
13053         (getHeaderFieldDate): Added/updated documentation.
13054         (getHeaderFieldKey): Added/updated documentation.
13055         (getContent): Added/updated documentation.
13056         (getInputStream): Added/updated documentation.
13057         (getOutputStream): Added/updated documentation.
13058         (toString): Added/updated documentation.
13059         (setDoInput): Added/updated documentation.
13060         (getDoInput): Added/updated documentation.
13061         (setDoOutput): Added/updated documentation.
13062         (getDoOutput): Added/updated documentation.
13063         (setAllowUserInteraction): Added/updated documentation.
13064         (getAllowUserInteraction): Added/updated documentation.
13065         (setDefaultAllowUserInteraction): Added/updated documentation.
13066         (getDefaultAllowUserInteraction): Added/updated documentation.
13067         (setUseCaches): Added/updated documentation.
13068         (getUseCaches): Added/updated documentation.
13069         (setIfModifiedSince): Added/updated documentation.
13070         (getIfModifiedSince): Added/updated documentation.
13071         (getDefaultUseCaches): Added/updated documentation.
13072         (setDefaultUseCaches): Added/updated documentation.
13073         (setRequestProperty): Added/updated documentation.
13074         (getRequestProperty): Added/updated documentation.
13075         (setDefaultRequestProperty): Added/updated documentation.
13076         (getDefaultRequestProperty): Added/updated documentation.
13077         (setContentHandlerFactory): Added/updated documentation.
13078         (guessContentTypeFromName): Added/updated documentation.
13079         (getFileNameMap): Added/updated documentation.
13080         (setFileNameMap): Added/updated documentation.
13081
13082 2002-09-11  Michael Koch  <konqueror@gmx.de>
13083
13084         * java/net/Socket.java
13085         (Socket): protected to public (since JDK 1.4). Added @specnote.
13086         (bind): New method.
13087         (connect): Two new methods.
13088         (getKeepalive): Get correct socket option.
13089         (setKeepalive): Set correct socket option.
13090         (getOOBInline): New method.
13091         (setOOBInline): New method.
13092         * java/net/ServerSocket.java
13093         (bind): Two new methods.
13094         (getInetAddress): Reimplemented, catch exception.
13095         (getLocalSocketAddress): New method.
13096         (setReuseAddress): New method.
13097         (getReuseAdress): New method.
13098         (setReceiveBufferSize): New method.
13099         (getReceiveBufferSize): New method.
13100         (toString): Made string JDK 1.4 compliant.
13101
13102 2002-09-10  Michael Koch  <konqueror@gmx.de>
13103
13104         * java/net/SocketImpl.java
13105         (connect): New method.
13106         (supportsUrgentData): New method.
13107         (sendUrgentData): New method.
13108         * java/net/PlainSocketImpl.java
13109         (connect): One new method and two new implementation.
13110         (sendUrgentData): New method.
13111         * java/natPlainSocketImpl.cc
13112         (connect): Arguments changed, added support for timeouts.
13113         (getOption): Another __java_boolean to jboolean.
13114
13115 2002-09-07  Adam Megacz <adam@xwt.org>
13116
13117         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13118         definition of IP_TOS.
13119
13120 2002-09-04  Michael Koch  <konqueror@gmx.de>
13121
13122         * java/net/DatagramSocket.java
13123         (DatagramSocket): Added documentation.
13124         (close): Likewise.
13125         (getLocalAddress): Likewise.
13126         (getLocalPort): Likewise.
13127         (receive): Likewise.
13128         (send): Likewise.
13129         (setSoTimeout): Likewise.
13130         (connect): New method.
13131         (disconnect): New method.
13132         (getInetAddress): New method (FIXME)
13133         (getPort): New method.
13134         (setReuseAddress): New method.
13135         (getReuseAddress): New method.
13136         (setBroadcast): New method.
13137         (getBroadcast): New method.
13138         (setTrafficClass): New method.
13139         (getTrafficClass): New method.
13140         * java/net/MulticastSocket.java):
13141         (getTTL): Added @see in documentation.
13142         (setTTL): Added @see in documentation.
13143         (setLoopbackMode): New method.
13144         (getLoopbackMode): New method.
13145         * java/net/PlainSocketImpl.java:
13146         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13147         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13148         * java/net/PlainDatagramSocketImpl.java
13149         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13150         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13151         * java/net/natPlainSocketImpl.cc
13152         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13153         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13154         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13155         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13156         This should also fix SO_KEEPALIVE
13157         * java/net/natPlainDatagramSocketImpl.cc
13158         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13159         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13160         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13161         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13162
13163 2002-09-04  Michael Koch  <konqueror@gmx.de>
13164
13165         * java/net/SocketOptions.java: added static variables to be JDK 1.4
13166         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13167         IP_MULTICAST_LOOP, IP_TOS
13168
13169 2002-09-03  Tom Tromey  <tromey@redhat.com>
13170
13171         * java/lang/Class.h (_getDeclaredMethod): Declare.
13172         (_getMethod): Now private.
13173         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13174         getDeclaredMethod.  Now returns NULL on failure.
13175         * java/lang/Class.java (_getDeclaredMethod): Declare.
13176         (getDeclaredMethod): No longer native; implements access checks.
13177
13178 2002-09-01  Mark Wielaard  <mark@klomp.org>
13179
13180         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13181         (sanitizeStack): Correctly reset unknown and interpreter counters,
13182         detect interpreter runtime frames.
13183         (demangleInterpreterMethod): New method.
13184         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13185         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13186         filling in addrs[].
13187
13188 2002-09-02  Michael Koch  <konqueror@gmx.de>
13189
13190         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13191         re-indented documentation.
13192
13193 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13194
13195         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13196         public, per 1.4 spec.  Fixes PR libgcj/7785.
13197
13198 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
13199
13200         * Makefile.in: Rebuilt.
13201         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13202
13203 2002-08-29  Tom Tromey  <tromey@redhat.com>
13204
13205         * java/net/JarURLConnection.java (getCertificates): New method
13206         from Classpath.
13207         * java/net/URLClassLoader.java (URLClassLoader): Extends
13208         SecureClassLoader.
13209         (definePackage): New method from Classpath.
13210         (getPermissions): Likewise.
13211         (newInstance): Likewise.
13212         (findClass): Construct CodeSource for new class (from Classpath).
13213         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13214         methods.
13215         * java/net/URL.java (getUserInfo): New method.
13216         (set(String,String,int,String,String,String,String,String)): New
13217         method.
13218         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13219         (shutdownInput, shutdownOutput): Declare.
13220         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13221         Define.
13222         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13223         (getOption): Likewise.
13224         (shutdownInput): New method.
13225         (shutdownOutput): Likewise.
13226         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13227         keepalive.
13228         (getOption): Likewise.
13229         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13230         * java/net/Socket.java (setKeepAlive): New method.
13231         (getKeepAlive): Likewise.
13232         (shutdownInput, shutdownOutput): New methods.
13233
13234 2002-08-29  Michael Koch  <konqueror@gmx.de>
13235
13236         * java/net/DatagramPacket.java: updated to JDK 1.4 API
13237         new methods are:
13238         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13239           address),
13240         DatagramPacket(byte[] buf, int length, SocketAddress address),
13241         void setSocketAddress(SocketAddress address)
13242         public SocketAddress getSocketAddress()
13243
13244 2002-08-29  Tom Tromey  <tromey@redhat.com>
13245
13246         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13247         ftruncate is missing.
13248         * configure, include/config.h.in: Rebuilt.
13249         * acconfig.h (HAVE_FTRUNCATE): Mention.
13250         * configure.in: Check for ftruncate.
13251
13252 2002-08-29  Tom Tromey  <tromey@redhat.com>
13253
13254         * include/jvm.h (struct _Jv_frame_info): New structure.
13255         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13256         java-interp.h.
13257         (lookupInterp): New method.
13258         (getAddrAsString): Use _Jv_frame_info.
13259         (dladdrLookup): Likewise.
13260         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13261         interpreted frame.
13262         (lookupInterp): Declare.
13263         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13264         (fillInStackTrace): Collect information on interpreted frames.
13265         Use _Jv_frame_info.
13266         * interpret.cc: Include Thread.h.
13267         (run): Create and push _Jv_MethodChain object.
13268         (_Jv_EndOfInterpreter): New global.
13269         * java/lang/Thread.java (interp_frame): New field.
13270         * include/java-interp.h (struct _Jv_MethodChain): New structure.
13271         Include NameFinder.h.
13272
13273 2002-08-28  Tom Tromey  <tromey@redhat.com>
13274
13275         * java/lang/Class.h: Include Package.h.
13276         (Class::getProtectionDomain): Declare.
13277         (Class::getPackage): Declare.
13278
13279 2002-08-28  Michael Koch <konqueror@gmx.de>
13280
13281         * java/net/InetSocketAddress.java: Added some documentation and argument
13282         checks for the port numbers.
13283         * java/net/DatagramSocketImplFactory.java: New file.
13284
13285 2002-08-28  Michael Koch <konqueror@gmx.de>
13286
13287         * java/net/Authenticator.java: added some documentation.
13288
13289 2002-08-27  Tom Tromey  <tromey@redhat.com>
13290
13291         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13292         class.
13293         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13294
13295 2002-08-27  Michael Koch <konqueror@gmx.de>
13296
13297         * java/net/BindException.java,
13298         java/net/JarURLConnection.java,
13299         java/net/FileNameMap.java,
13300         java/net/HttpURLConnection.java,
13301         java/net/InetSocketAddress.java,
13302         java/net/DatagramPacket.java,
13303         java/net/DatagramSocket.java,
13304         java/net/DatagramSocketImpl.java,
13305         java/net/MulticastSocket.java,
13306         java/net/PasswordAuthentication.java,
13307         java/net/ServerSocket.java,
13308         java/net/Socket.java,
13309         java/net/URLClassLoader.java,
13310         java/net/URLConnection.java: add/update of some @since/@deprecated
13311
13312 2002-08-27  Tony Kimball <alk@pobox.com>
13313             Tom Tromey  <tromey@redhat.com>
13314
13315         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13316         define.
13317         (::close): Removed.
13318         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13319         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13320         (::close): Removed.
13321         (PlainSocketImpl::close): Use NATIVE_CLOSE.
13322         * include/win32.h (getcwd): Removed declaration.  Include io.h.
13323
13324 2002-08-25  Adam Megacz <adam@xwt.org>
13325
13326         * include/win32.h (getcwd): copied function declaration as
13327         temporary fix for header confusion.
13328
13329 2002-08-24  Mark Wielaard <mark@klomp.org>
13330
13331         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13332         (core_java_source_files): Add VMThrowable.java and NameFinder.java
13333         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13334         and natNameFinder.cc.
13335         * Makefile.in: Regenerate.
13336         * prims.cc: Use trace_enabled from VMThrowable.
13337         * name-finder.cc: Removed.
13338         * gcj/javaprims.h: Add class VMThrowable.
13339         * gnu/gcj/runtime/NameFinder.java: New file.
13340         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13341         * include/name-finder.h: Removed.
13342         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13343         method stackTraceString().
13344         (printStackTrace (PrintWriter)): Likewise.
13345         (stackTraceString): Complete rewrite of old printStackTrace using
13346         StringBuffer.
13347         (stackTraceStringBuffer): New helper method for stackTraceString().
13348         (fillInStackTrace): Delegate to VMTrowable.
13349         (getStackTrace): Likewise.
13350         (getStackTrace0): Removed.
13351         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13352         (setStackTrace): Copy given array.
13353         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13354         * java/lang/VMThrowable.java: New class.
13355         * java/lang/natVMThrowable.cc: New file.
13356
13357 2003-08-23  Michael Koch  <konqueror@gmx.de>
13358
13359         * java/net/URLConnection.java,
13360         java/netJarURLConnection.java,
13361         gnu/gcj/protocol/core/Connection.java,
13362         gnu/gcj/protocol/file/Connection.java,
13363         gnu/gcj/protocol/http/Connection.java: Added implementation of
13364         getHeaderFields().
13365
13366 2002-08-22  Tom Tromey  <tromey@redhat.com>
13367
13368         * gij.cc (help): Document -cp and -classpath.
13369         (main): Handle -classpath.
13370
13371 2002-08-21  Tom Tromey  <tromey@redhat.com>
13372
13373         * Makefile.in: Rebuilt.
13374         * Makefile.am (ordinary_java_source_files): Added
13375         SocketAddress.java, InetSocketAddress.java.
13376         * java/net/PortUnreachableException.java: Merged with Classpath.
13377         * java/net/SocketTimeoutException.java: Likewise.
13378         * java/net/URISyntaxException.java: Likewise.
13379         * java/net/SocketAddress.java: New class from Classpath.
13380         * java/net/InetSocketAddress.java: Likewise.
13381
13382 2003-08-21  Michael Koch  <konqueror@gmx.de>
13383
13384         * java/net/Authenticator.java: updated JDK 1.4
13385         * java/net/ContentHandler.java: updated JDK 1.4
13386
13387 2002-08-20  Michael Koch  <konqueror@gmx.de>
13388
13389         * java/net/URISyntaxException.java: New file.
13390         * java/net/SocketTimeoutException.java: New file.
13391         * java/net/PortUnreachableException.java: New file.
13392         * Makefile.am: Updated.
13393         * Makefile.in: Rebuilt.
13394
13395 2002-08-18  Mark Wielaard  <mark@klomp.org>
13396
13397         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13398         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13399         MessageDigestSpi (fixes Classpath bug #783).
13400
13401 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13402
13403         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13404         (startProcess): Allocate path for chdir in async-signal-safe way.
13405
13406 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13407
13408         Fix for PR libgcj/7570 and PR libgcj/7578:
13409         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13410         (startProcess): Handle new `dir' argument.
13411         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13412         argument.
13413         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13414         argument.
13415         (startProcess): Likewise.
13416         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13417         argument.
13418         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13419         (exec): Don't create new environment if ENV==null.  Pass DIR to
13420         execInternal.
13421         * java/lang/natRuntime.cc: Include java/io/File.h.
13422         (execInternal): Added `dir' argument.
13423
13424 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13425
13426         * java/io/RandomAccessFile.java (skipBytes): Return number of
13427         bytes skipped.
13428
13429 2002-08-01  Mark Wielaard  <mark@klomp.org>
13430
13431         Reenable patch since shared library troubles on powerpc are solved:
13432         * gnu/java/security/provider/Gnu.java: Reference all implementation
13433         classes by using Class.getName().
13434         * gnu/java/security/der/DEREncodingException.java,
13435         gnu/java/security/provider/DERReader.java,
13436         gnu/java/security/provider/DERWriter.java,
13437         gnu/java/security/provider/DSAKeyPairGenerator.java,
13438         gnu/java/security/provider/DSAParameterGenerator.java,
13439         gnu/java/security/provider/DSAParameters.java,
13440         gnu/java/security/provider/DSASignature.java,
13441         gnu/java/security/provider/GnuDSAPrivateKey.java,
13442         gnu/java/security/provider/GnuDSAPublicKey.java,
13443         gnu/java/security/provider/MD5.java,
13444         gnu/java/security/util/Prime.java: New classes
13445         * Makefile.am (ordinary_java_source_files): Add above files.
13446         * Makefile.in: Regenerate.
13447         * gnu/java/security/provider/DefaultPolicy.java
13448         (getPermissions): Don't maintain static class variable of Permissions.
13449         * gnu/java/security/provider/SHA.java
13450         (engineUpdate): algorithm change.
13451         (engineDigest): algorithm change.
13452
13453 2002-08-09  Mark Wielaard  <mark@klomp.org>
13454
13455         * java/awt/image/MemoryImageSource.java: Change constructor to take
13456         int[] not byte[].
13457         * java/awt/Graphics2D.java: Uncomment methods that can now be
13458         compiled.
13459         * java/awt/GridBagLayout.java: New stub implementation.
13460         * javax/swing/text/html/HTML.java: Stub implementation.
13461         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13462         implementation.
13463
13464         * Makefile.am: Add new files.
13465         * Makefile.in: Rebuilt.
13466
13467 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13468
13469         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13470         methods in Graphics2D.
13471
13472 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13473
13474         AWT/Swing merge from GNU Classpath.
13475
13476         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13477         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13478         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13479         java/awt/color/ProfileDataException.java,
13480         java/awt/CompositeContext.java, java/awt/Composite.java,
13481         java/awt/ContainerOrderFocusTraversalPolicy.java,
13482         java/awt/datatransfer/FlavorTable.java,
13483         java/awt/DefaultFocusTraversalPolicy.java,
13484         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13485         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13486         java/awt/dnd/DragGestureListener.java,
13487         java/awt/dnd/DragGestureRecognizer.java,
13488         java/awt/dnd/DragSourceAdapter.java,
13489         java/awt/dnd/DragSourceContext.java,
13490         java/awt/dnd/DragSourceDragEvent.java,
13491         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13492         java/awt/dnd/DragSourceListener.java,
13493         java/awt/dnd/DragSourceMotionListener.java,
13494         java/awt/dnd/DropTarget.java,
13495         java/awt/dnd/InvalidDnDOperationException.java,
13496         java/awt/dnd/peer/DragSourceContextPeer.java,
13497         java/awt/event/AWTEventListenerProxy.java,
13498         java/awt/event/MouseWheelEvent.java,
13499         java/awt/event/MouseWheelListener.java,
13500         java/awt/event/WindowFocusListener.java,
13501         java/awt/event/WindowStateListener.java,
13502         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13503         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13504         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13505         java/awt/geom/FlatteningPathIterator.java,
13506         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13507         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13508         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13509         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13510         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13511         java/awt/image/ImagingOpException.java,
13512         java/awt/image/RasterFormatException.java,
13513         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13514         java/awt/image/VolatileImage.java,
13515         java/awt/image/WritableRenderedImage.java,
13516         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13517         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13518         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13519         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13520         java/awt/PageAttributes.java, java/awt/print/Book.java,
13521         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13522         java/awt/print/Paper.java, java/awt/print/Printable.java,
13523         java/awt/print/PrinterAbortException.java,
13524         java/awt/print/PrinterException.java,
13525         java/awt/print/PrinterGraphics.java,
13526         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13527         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13528         java/awt/Stroke.java, java/awt/TexturePaint.java,
13529         javax/accessibility/AccessibleAction.java,
13530         javax/accessibility/AccessibleBundle.java,
13531         javax/accessibility/AccessibleComponent.java,
13532         javax/accessibility/AccessibleContext.java,
13533         javax/accessibility/AccessibleEditableText.java,
13534         javax/accessibility/AccessibleExtendedComponent.java,
13535         javax/accessibility/AccessibleExtendedTable.java,
13536         javax/accessibility/AccessibleHyperlink.java,
13537         javax/accessibility/AccessibleHypertext.java,
13538         javax/accessibility/AccessibleIcon.java,
13539         javax/accessibility/Accessible.java,
13540         javax/accessibility/AccessibleKeyBinding.java,
13541         javax/accessibility/AccessibleRelation.java,
13542         javax/accessibility/AccessibleRelationSet.java,
13543         javax/accessibility/AccessibleResourceBundle.java,
13544         javax/accessibility/AccessibleRole.java,
13545         javax/accessibility/AccessibleSelection.java,
13546         javax/accessibility/AccessibleState.java,
13547         javax/accessibility/AccessibleStateSet.java,
13548         javax/accessibility/AccessibleTable.java,
13549         javax/accessibility/AccessibleTableModelChange.java,
13550         javax/accessibility/AccessibleText.java,
13551         javax/accessibility/AccessibleValue.java,
13552         javax/swing/AbstractAction.java,
13553         javax/swing/AbstractButton.java,
13554         javax/swing/AbstractCellEditor.java,
13555         javax/swing/AbstractListModel.java,
13556         javax/swing/AbstractSet.java, javax/swing/Action.java,
13557         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13558         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13559         javax/swing/border/CompoundBorder.java,
13560         javax/swing/border/EmptyBorder.java,
13561         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13562         javax/swing/border/LineBorder.java,
13563         javax/swing/border/MatteBorder.java,
13564         javax/swing/border/TitledBorder.java,
13565         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13566         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13567         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13568         javax/swing/CellRendererPane.java,
13569         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13570         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13571         javax/swing/colorchooser/ColorSelectionModel.java,
13572         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13573         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13574         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13575         javax/swing/DefaultBoundedRangeModel.java,
13576         javax/swing/DefaultButtonModel.java,
13577         javax/swing/DefaultCellEditor.java,
13578         javax/swing/DefaultCellRenderer.java,
13579         javax/swing/DefaultComboBoxModel.java,
13580         javax/swing/DefaultDesktopManager.java,
13581         javax/swing/DefaultFocusManager.java,
13582         javax/swing/DefaultListCellRenderer.java,
13583         javax/swing/DefaultListModel.java,
13584         javax/swing/DefaultListSelectionModel.java,
13585         javax/swing/DefaultSingleSelectionModel.java,
13586         javax/swing/DesktopManager.java,
13587         javax/swing/event/AncestorEvent.java,
13588         javax/swing/event/AncestorListener.java,
13589         javax/swing/event/CaretEvent.java,
13590         javax/swing/event/CaretListener.java,
13591         javax/swing/event/CellEditorListener.java,
13592         javax/swing/event/ChangeEvent.java,
13593         javax/swing/event/ChangeListener.java,
13594         javax/swing/event/DocumentEvent.java,
13595         javax/swing/event/DocumentListener.java,
13596         javax/swing/event/EventListenerList.java,
13597         javax/swing/event/HyperlinkEvent.java,
13598         javax/swing/event/HyperlinkListener.java,
13599         javax/swing/event/InternalFrameAdapter.java,
13600         javax/swing/event/InternalFrameEvent.java,
13601         javax/swing/event/InternalFrameListener.java,
13602         javax/swing/event/ListDataEvent.java,
13603         javax/swing/event/ListDataListener.java,
13604         javax/swing/event/ListSelectionEvent.java,
13605         javax/swing/event/ListSelectionListener.java,
13606         javax/swing/event/MenuDragMouseEvent.java,
13607         javax/swing/event/MenuDragMouseListener.java,
13608         javax/swing/event/MenuEvent.java,
13609         javax/swing/event/MenuKeyEvent.java,
13610         javax/swing/event/MenuKeyListener.java,
13611         javax/swing/event/MenuListener.java,
13612         javax/swing/event/MouseInputAdapter.java,
13613         javax/swing/event/MouseInputListener.java,
13614         javax/swing/event/PopupMenuEvent.java,
13615         javax/swing/event/PopupMenuListener.java,
13616         javax/swing/event/SwingPropertyChangeSupport.java,
13617         javax/swing/event/TableColumnModelEvent.java,
13618         javax/swing/event/TableColumnModelListener.java,
13619         javax/swing/event/TableModelEvent.java,
13620         javax/swing/event/TableModelListener.java,
13621         javax/swing/event/TreeExpansionEvent.java,
13622         javax/swing/event/TreeExpansionListener.java,
13623         javax/swing/event/TreeModelEvent.java,
13624         javax/swing/event/TreeModelListener.java,
13625         javax/swing/event/TreeSelectionEvent.java,
13626         javax/swing/event/TreeSelectionListener.java,
13627         javax/swing/event/TreeWillExpandListener.java,
13628         javax/swing/event/UndoableEditEvent.java,
13629         javax/swing/event/UndoableEditListener.java,
13630         javax/swing/filechooser/FileFilter.java,
13631         javax/swing/filechooser/FileSystemView.java,
13632         javax/swing/filechooser/FileView.java,
13633         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13634         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13635         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13636         javax/swing/JApplet.java, javax/swing/JButton.java,
13637         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13638         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13639         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13640         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13641         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13642         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13643         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13644         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13645         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13646         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13647         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13648         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13649         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13650         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13651         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13652         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13653         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13654         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13655         javax/swing/JToolTip.java, javax/swing/JTree.java,
13656         javax/swing/JViewport.java, javax/swing/JWindow.java,
13657         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13658         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13659         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13660         javax/swing/MenuSelectionManager.java,
13661         javax/swing/MutableComboBoxModel.java,
13662         javax/swing/OverlayLayout.java,
13663         javax/swing/plaf/ActionMapUIResource.java,
13664         javax/swing/plaf/basic/BasicBorders.java,
13665         javax/swing/plaf/basic/BasicButtonUI.java,
13666         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13667         javax/swing/plaf/basic/BasicDefaults.java,
13668         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13669         javax/swing/plaf/basic/BasicIconFactory.java,
13670         javax/swing/plaf/basic/BasicLabelUI.java,
13671         javax/swing/plaf/basic/BasicListUI.java,
13672         javax/swing/plaf/basic/BasicLookAndFeel.java,
13673         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13674         javax/swing/plaf/basic/BasicPanelUI.java,
13675         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13676         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13677         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13678         javax/swing/plaf/basic/BasicTextUI.java,
13679         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13680         javax/swing/plaf/basic/BasicTreeUI.java,
13681         javax/swing/plaf/basic/BasicViewportUI.java,
13682         javax/swing/plaf/BorderUIResource.java,
13683         javax/swing/plaf/ButtonUI.java,
13684         javax/swing/plaf/ColorChooserUI.java,
13685         javax/swing/plaf/ColorUIResource.java,
13686         javax/swing/plaf/ComboBoxUI.java,
13687         javax/swing/plaf/ComponentInputMapUIResource.java,
13688         javax/swing/plaf/ComponentUI.java,
13689         javax/swing/plaf/DesktopIconUI.java,
13690         javax/swing/plaf/DesktopPaneUI.java,
13691         javax/swing/plaf/DimensionUIResource.java,
13692         javax/swing/plaf/FileChooserUI.java,
13693         javax/swing/plaf/FontUIResource.java,
13694         javax/swing/plaf/IconUIResource.java,
13695         javax/swing/plaf/InputMapUIResource.java,
13696         javax/swing/plaf/InsetsUIResource.java,
13697         javax/swing/plaf/InternalFrameUI.java,
13698         javax/swing/plaf/LabelUI.java,
13699         javax/swing/plaf/ListUI.java,
13700         javax/swing/plaf/MenuBarUI.java,
13701         javax/swing/plaf/MenuItemUI.java,
13702         javax/swing/plaf/OptionPaneUI.java,
13703         javax/swing/plaf/PanelUI.java,
13704         javax/swing/plaf/PopupMenuUI.java,
13705         javax/swing/plaf/ProgressBarUI.java,
13706         javax/swing/plaf/RootPaneUI.java,
13707         javax/swing/plaf/ScrollBarUI.java,
13708         javax/swing/plaf/ScrollPaneUI.java,
13709         javax/swing/plaf/SeparatorUI.java,
13710         javax/swing/plaf/SliderUI.java,
13711         javax/swing/plaf/SplitPaneUI.java,
13712         javax/swing/plaf/TabbedPaneUI.java,
13713         javax/swing/plaf/TableHeaderUI.java,
13714         javax/swing/plaf/TableUI.java,
13715         javax/swing/plaf/TextUI.java,
13716         javax/swing/plaf/ToolBarUI.java,
13717         javax/swing/plaf/ToolTipUI.java,
13718         javax/swing/plaf/TreeUI.java,
13719         javax/swing/plaf/UIResource.java,
13720         javax/swing/plaf/ViewportUI.java,
13721         javax/swing/ProgressMonitorInputStream.java,
13722         javax/swing/ProgressMonitor.java,
13723         javax/swing/Renderer.java,
13724         javax/swing/RepaintManager.java,
13725         javax/swing/RootPaneContainer.java,
13726         javax/swing/Scrollable.java,
13727         javax/swing/ScrollPaneConstants.java,
13728         javax/swing/ScrollPaneLayout.java,
13729         javax/swing/SingleSelectionModel.java,
13730         javax/swing/SizeRequirements.java,
13731         javax/swing/SizeSequence.java,
13732         javax/swing/SwingConstants.java,
13733         javax/swing/SwingUtilities.java,
13734         javax/swing/table/AbstractTableModel.java,
13735         javax/swing/table/DefaultTableCellRenderer.java,
13736         javax/swing/table/DefaultTableColumnModel.java,
13737         javax/swing/table/DefaultTableModel.java,
13738         javax/swing/table/TableCellEditor.java,
13739         javax/swing/table/TableCellRenderer.java,
13740         javax/swing/table/TableColumn.java,
13741         javax/swing/table/TableColumnModel.java,
13742         javax/swing/table/TableModel.java,
13743         javax/swing/text/AbstractDocument.java,
13744         javax/swing/text/AttributeSet.java,
13745         javax/swing/text/BadLocationException.java,
13746         javax/swing/text/Caret.java,
13747         javax/swing/text/CharacterIterator.java,
13748         javax/swing/text/ComponentView.java,
13749         javax/swing/text/DefaultCaret.java,
13750         javax/swing/text/DefaultEditorKit.java,
13751         javax/swing/text/Document.java,
13752         javax/swing/text/EditorKit.java,
13753         javax/swing/text/Element.java,
13754         javax/swing/text/GapContent.java,
13755         javax/swing/text/JTextComponent.java,
13756         javax/swing/text/Keymap.java,
13757         javax/swing/text/MutableAttributeSet.java,
13758         javax/swing/text/PlainDocument.java,
13759         javax/swing/text/PlainEditorKit.java,
13760         javax/swing/text/Position.java,
13761         javax/swing/text/Segment.java,
13762         javax/swing/text/StyledDocument.java,
13763         javax/swing/text/StyledEditorKit.java,
13764         javax/swing/text/Style.java,
13765         javax/swing/text/TextAction.java,
13766         javax/swing/text/ViewFactory.java,
13767         javax/swing/text/View.java,
13768         javax/swing/Timer.java,
13769         javax/swing/ToggleButtonModel.java,
13770         javax/swing/ToolTipManager.java,
13771         javax/swing/tree/AbstractLayoutCache.java,
13772         javax/swing/tree/DefaultMutableTreeNode.java,
13773         javax/swing/tree/DefaultTreeCellEditor.java,
13774         javax/swing/tree/DefaultTreeCellRenderer.java,
13775         javax/swing/tree/DefaultTreeModel.java,
13776         javax/swing/tree/DefaultTreeSelectionModel.java,
13777         javax/swing/tree/ExpandVetoException.java,
13778         javax/swing/tree/FixedHeightLayoutCache.java,
13779         javax/swing/tree/MutableTreeNode.java,
13780         javax/swing/tree/RowMapper.java,
13781         javax/swing/tree/TreeCellEditor.java,
13782         javax/swing/tree/TreeCellRenderer.java,
13783         javax/swing/tree/TreeModel.java,
13784         javax/swing/tree/TreeNode.java,
13785         javax/swing/tree/TreePath.java,
13786         javax/swing/tree/TreeSelectionModel.java,
13787         javax/swing/tree/VariableHeightLayoutCache.java,
13788         javax/swing/UIDefaults.java,
13789         javax/swing/UIManager.java,
13790         javax/swing/undo/AbstractUndoableEdit.java,
13791         javax/swing/undo/CannotRedoException.java,
13792         javax/swing/undo/CannotUndoException.java,
13793         javax/swing/undo/CompoundEdit.java,
13794         javax/swing/undo/StateEditable.java,
13795         javax/swing/undo/StateEdit.java,
13796         javax/swing/undo/UndoableEdit.java,
13797         javax/swing/undo/UndoableEditSupport.java,
13798         javax/swing/undo/UndoManager.java,
13799         javax/swing/UnsupportedLookAndFeelException.java,
13800         javax/swing/ViewportLayout.java,
13801         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13802
13803         * java/awt/ActiveEvent.java,
13804         java/awt/Adjustable.java, java/awt/AWTError.java,
13805         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13806         java/awt/AWTException.java, java/awt/AWTPermission.java,
13807         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13808         java/awt/Color.java, java/awt/Component.java,
13809         java/awt/ComponentOrientation.java, java/awt/Container.java,
13810         java/awt/datatransfer/MimeTypeParseException.java,
13811         java/awt/datatransfer/Transferable.java,
13812         java/awt/datatransfer/UnsupportedFlavorException.java,
13813         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13814         java/awt/event/ActionListener.java,
13815         java/awt/event/AdjustmentEvent.java,
13816         java/awt/event/AdjustmentListener.java,
13817         java/awt/event/AWTEventListener.java,
13818         java/awt/event/ComponentAdapter.java,
13819         java/awt/event/ComponentEvent.java,
13820         java/awt/event/ComponentListener.java,
13821         java/awt/event/ContainerAdapter.java,
13822         java/awt/event/ContainerEvent.java,
13823         java/awt/event/ContainerListener.java,
13824         java/awt/event/FocusAdapter.java,
13825         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13826         java/awt/event/HierarchyBoundsAdapter.java,
13827         java/awt/event/HierarchyBoundsListener.java,
13828         java/awt/event/HierarchyEvent.java,
13829         java/awt/event/HierarchyListener.java,
13830         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13831         java/awt/event/InputMethodListener.java,
13832         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13833         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13834         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13835         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13836         java/awt/event/MouseListener.java,
13837         java/awt/event/MouseMotionAdapter.java,
13838         java/awt/event/MouseMotionListener.java,
13839         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13840         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13841         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13842         java/awt/event/WindowListener.java, java/awt/Font.java,
13843         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13844         java/awt/geom/Ellipse2D.java,
13845         java/awt/geom/IllegalPathStateException.java,
13846         java/awt/geom/Line2D.java,
13847         java/awt/geom/NoninvertibleTransformException.java,
13848         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13849         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13850         java/awt/geom/RoundRectangle2D.java,
13851         java/awt/GraphicsConfiguration.java,
13852         java/awt/IllegalComponentStateException.java,
13853         java/awt/image/IndexColorModel.java,
13854         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13855         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13856         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13857         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13858         java/awt/MenuItem.java, java/awt/PaintContext.java,
13859         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13860         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13861         java/awt/PrintJob.java, java/awt/Rectangle.java,
13862         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13863         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13864         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13865
13866         * java/awt/im/spi/InputMethod.java,
13867         java/awt/im/spi/InputMethodContext.java,
13868         java/awt/im/spi/InputMethodDescriptor.java,
13869         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13870         java/awt/image/renderable/ParameterBlock.java,
13871         java/awt/image/renderable/RenderContext.java,
13872         java/awt/image/renderable/RenderableImage.java,
13873         java/awt/image/renderable/RenderableImageOp.java,
13874         java/awt/image/renderable/RenderableImageProducer.java,
13875         java/awt/image/renderable/RenderedImageFactory.java: New files from
13876         classpath.
13877
13878         * gnu/java/awt/EventModifier.java,
13879         gnu/java/awt/image/ImageDecoder.java,
13880         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13881
13882         * gnu/awt/xlib/XGraphicsConfiguration.java,
13883         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13884         API.
13885
13886         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13887         GNU Classpath.
13888
13889         * Makefile.am: Add new files.
13890         * Makefile.in: Rebuilt.
13891
13892 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13893
13894         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13895         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13896         findResource, getResources, findResources): Add javadoc from classpath.
13897         (getSystemResources): Implemented.
13898
13899 2002-08-01  Mark Wielaard  <mark@klomp.org>
13900
13901         Revert patch that breaks libgcj shared library on powerpc:
13902         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13903         implementation classes by using Class.getName(). Uses Strings again.
13904         * gnu/java/security/der/DEREncodingException.java,
13905         gnu/java/security/provider/DERReader.java,
13906         gnu/java/security/provider/DERWriter.java,
13907         gnu/java/security/provider/DSAKeyPairGenerator.java,
13908         gnu/java/security/provider/DSAParameterGenerator.java,
13909         gnu/java/security/provider/DSAParameters.java,
13910         gnu/java/security/provider/DSASignature.java,
13911         gnu/java/security/provider/GnuDSAPrivateKey.java,
13912         gnu/java/security/provider/GnuDSAPublicKey.java,
13913         gnu/java/security/provider/MD5.java,
13914         gnu/java/security/util/Prime.java: Removed.
13915         * Makefile.am (ordinary_java_source_files): Remove above files.
13916         * Makefile.in: Regenerate.
13917         * gnu/java/security/provider/DefaultPolicy.java
13918         (getPermissions): Revert to maintaining static class variable of
13919         Permissions.
13920         * gnu/java/security/provider/SHA.java
13921         (engineUpdate): Revert algorithm change.
13922         (engineDigest): Revert algorithm change.
13923
13924 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13925
13926         * configure.host: Add SH support.
13927         * sysdep/sh/locks.h: New file.
13928
13929 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13930
13931         * java/awt/Frame.java (Frame): Remove println calls.
13932
13933 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13934
13935         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13936         * configure: Rebuilt.
13937
13938 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13939
13940         * sysdep/powerpc/locks.h: Formatting.
13941         (_LARX): Define.
13942         (_STCX): Define.
13943         (compare_and_swap): Use _LARX and _STCX.
13944         (compare_and_swap_release): Likewise.
13945
13946 2002-07-26  Tom Tromey  <tromey@redhat.com>
13947
13948         * java/net/Authenticator.java: New version from Classpath.
13949         * java/net/DatagramSocketImpl.java: New version from Classpath.
13950
13951 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13952
13953         * configure.host: Add powerpc64*-* entry.
13954
13955 2002-07-26  Tom Tromey  <tromey@redhat.com>
13956
13957         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13958         fcntl.h.
13959
13960 2002-07-24  Tom Tromey  <tromey@redhat.com>
13961
13962         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13963         argument to _load.
13964
13965 2002-07-24  Tom Tromey  <tromey@redhat.com>
13966             Tony Kimball <alk@pobox.com>
13967
13968         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13969         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13970         * java/io/RandomAccessFile.java (setLength): New method.
13971         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13972         * java/io/FileDescriptor.java (setLength): New method.
13973
13974 2002-07-24  Mark Wielaard  <mark@klomp.org>
13975
13976         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13977         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13978         field call setAccessible(true).
13979         (setByteField): Likewise.
13980         (setCharField): Likewise.
13981         (setDoubleField): Likewise.
13982         (setFloatField): Likewise.
13983         (setIntField): Likewise.
13984         (setLongField): Likewise.
13985         (setShortField): Likewise.
13986         (setObjectField): Likewise.
13987
13988 2002-07-24  Tom Tromey  <tromey@redhat.com>
13989
13990         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13991         use toString() to format array element.
13992
13993 2002-07-23  Mark Wielaard  <mark@klomp.org>
13994
13995         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13996         MessageDigestSpi (fixes Classpath bug #783).
13997
13998 2002-07-21  Mark Wielaard  <mark@klomp.org>
13999
14000         * gnu/java/security/provider/Gnu.java: Reference all implementation
14001         classes by using Class.getName().
14002
14003 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
14004
14005         * java/lang/ieeefp.h: Add x86-64 support.
14006         * configure.in: Likewise.
14007         * configure.host: Likewise.
14008         * configure: Regenerated.
14009         * sysdep/x86-64/locks.h: New file with x86-64 locks.
14010
14011 2002-07-16  Mark Wielaard  <mark@klomp.org>
14012
14013         * java/io/StreamTokenizer.java (pushBack): Update documentation.
14014         (whitespaceChars): call resetChar().
14015
14016 2002-07-15  Tom Tromey  <tromey@redhat.com>
14017
14018         * Makefile.in: Rebuilt.
14019         * Makefile.am (awt_java_source_files): Added new files.
14020         * java/beans/ExceptionListener.java: Merged with Classpath.
14021         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14022         * java/beans/PropertyChangeListener.java: Merged with Classpath.
14023         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14024         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14025         * java/beans/VetoableChangeListener.java: Merged with Classpath.
14026         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14027         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14028
14029 2002-07-14  Mark Wielaard  <mark@klomp.org>
14030
14031         * gnu/java/security/der/DEREncodingException.java,
14032         gnu/java/security/provider/DERReader.java,
14033         gnu/java/security/provider/DERWriter.java,
14034         gnu/java/security/provider/DSAKeyPairGenerator.java,
14035         gnu/java/security/provider/DSAParameterGenerator.java,
14036         gnu/java/security/provider/DSAParameters.java,
14037         gnu/java/security/provider/DSASignature.java,
14038         gnu/java/security/provider/GnuDSAPrivateKey.java,
14039         gnu/java/security/provider/GnuDSAPublicKey.java,
14040         gnu/java/security/provider/MD5.java,
14041         gnu/java/security/util/Prime.java: New files from Classpath.
14042         * Makefile.am (ordinary_java_source_files): Add new files.
14043         * Makefile.in: Regenerate.
14044
14045 2002-07-14  C. Brian Jones <cbj@gnu.org>
14046
14047         * gnu/java/security/provider/DefaultPolicy.java
14048         (getPermissions): do not maintain static class variable of
14049         Permissions
14050         * gnu/java/security/provider/SHA.java
14051         (engineUpdate): algorithm change
14052         (engineDigest): algorithm change
14053
14054 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
14055
14056         For PR libgcj/7292:
14057         * java/lang/Character.java (toString(char)): Now static.
14058
14059 2002-07-12  Mark Wielaard  <mark@klomp.org>
14060
14061         * java/lang/natThrowable.cc (printRawStackTrace): removed.
14062         (getStackTrace0): new method.
14063         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14064         (printStackTrace(PrintWriter)): replace with pure java implementation.
14065         (printRawStackTrace): removed.
14066         (getStackTrace0): new method.
14067         * java/lang/StackTraceElement.java (toString): add extra whitespace.
14068         * gcj/javaprims.h: regenerate class list.
14069         * include/name-finder.h (lookup): new returns StackTraceElement*.
14070         (method_name, file_name): fields removed.
14071         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14072         (~_Jv_name_finder): close new descriptors.
14073         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14074         (createStackTraceElement): new method.
14075         (lookup): returns StackTraceElement*, uses createStackTraceElement().
14076
14077 2002-07-10  Tom Tromey  <tromey@redhat.com>
14078
14079         * configure: Rebuilt.
14080         * configure.in: Use `test' after `&&'.  From Chris Faylor.
14081
14082 2002-07-08  Mark Wielaard  <mark@klomp.org>
14083
14084         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14085         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14086         java.sql.DatabaseMetaData.TestJdbc20
14087
14088 2002-07-05  Tony Kimball  <alk@pobox.com>
14089
14090         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14091
14092 2002-07-04  Tom Tromey  <tromey@redhat.com>
14093             Jeff Sturm  <jsturm@one-point.com>
14094
14095         Fix for PR libgcj/7060:
14096         * java/lang/Class.h (_getMethod): Renamed from getMethod.
14097         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14098         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
14099         * java/lang/Class.java (getMethod): New Java implementation;
14100         complies with spec.
14101         (_getMethod): New native method.
14102
14103 2002-07-02  Tom Tromey  <tromey@redhat.com>
14104             David Hovemeyer  <daveho@cs.umd.edu>
14105
14106         * java/text/ChoiceFormat.java
14107         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14108         in check loop.
14109         * java/text/MessageFormat.java
14110         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14111         to MessageFormat.
14112
14113 2002-07-01  Tom Tromey  <tromey@redhat.com>
14114
14115         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14116         StringTokenizer on null string.  For PR libgcj/7180.
14117         From daveho@cs.umd.edu.
14118
14119 2002-06-24  Tom Tromey  <tromey@redhat.com>
14120
14121         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14122         (IntegerClass): Likewise.
14123         * java/lang/natClass.cc (CloneableClass): Removed.
14124         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14125         ConstructorClass): Likewise.
14126         * java/lang/natClassLoader.cc (CloneableClass): Removed.
14127         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14128         SerializableClass): Likewise.
14129         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14130         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14131         LongClass, FloatClass, DoubleClass): Likewise.
14132
14133         * verify.cc (branch_prepass): Updated for change to exception
14134         handler type.
14135         (verify_instructions_0): Likewise.
14136         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14137         (handleExceptionTableEntry): Updated for change to exception
14138         handler type.
14139         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14140         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14141         (union _Jv_InterpPC): New.
14142         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14143         (class _Jv_InterpMethod): Added new `prepared' field.
14144         (class _Jv_InterpMethod): Added `compile' method.  Removed
14145         `continue1' and `find_exception'.  Changed arguments to `run'.
14146         * interpret.cc (union insn_slot): New.
14147         (find_exception): Removed.
14148         (run_normal): Removed most logic.
14149         (run_synch_object): Likewise; also, use JvSynchronize.
14150         (run_synch_class): Likewise.
14151         (run): Removed.
14152         (continue1): Renamed as `run'.  Compile bytecode if required.
14153         Add new code to allow refinement of direct-threaded code at
14154         runtime.  Handle exceptions.
14155         (SAVE_PC): Removed.
14156         (compile): New method.
14157         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14158         (NULLARRAYCHECK): Don't use SAVE_PC.
14159         (pc_t): New typedef.
14160         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14161         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14162
14163 2002-06-23  Tom Tromey  <tromey@redhat.com>
14164
14165         * configure: Rebuilt.
14166         * configure.in (INTERPRETER): New subst.
14167         (AM_RUNTESTFLAGS): Don't subst.
14168
14169         * Makefile.in: Rebuilt.
14170         * Makefile.am ($(srcdir)/java/lang/Object.h,
14171         $(srcdir)/java/lang/Class.h): Added dummy targets.
14172
14173 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14174
14175         Reformat JDBC classes and add new JDK 1.4 classes and methods.
14176
14177         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14178         java/sql/Savepoint.java: New files.
14179         * java/sql/Array.java, java/sql/BatchUpdateException.java,
14180         java/sql/Blob.java, java/sql/CallableStatement.java,
14181         java/sql/Clob.java, java/sql/Connection.java,
14182         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14183         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14184         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14185         java/sql/Ref.java, java/sql/ResultSet.java,
14186         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14187         java/sql/SQLException.java, java/sql/SQLInput.java,
14188         java/sql/SQLOutput.java, java/sql/SQLWarning.java
14189         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14190         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14191         (JDK 1.4) specification.
14192         * javax/sql/ConnectionEvent.java,
14193         javax/sql/ConnectionEventListener.java,
14194         javax/sql/ConnectionPoolDataSource.java,
14195         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14196         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14197         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14198         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14199         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14200         javax/sql/XADataSource.java: New files.
14201         * Makefile.am: Add new files.
14202         * Makefile.in: Rebuilt.
14203
14204 2002-06-20  Tom Tromey  <tromey@redhat.com>
14205
14206         For PR libgcj/7073:
14207         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14208         exists.
14209         * defineclass.cc (handleClassBegin): Superclass for interface is
14210         `null'.
14211
14212 2002-06-18  Tom Tromey  <tromey@redhat.com>
14213
14214         * gcj/javaprims.h: Updated class declaration list.
14215         * Makefile.in: Rebuilt.
14216         * Makefile.am (core_java_source_files): Removed
14217         BasicMapEntry.java.
14218         * java/util/BasicMapEntry.java: Removed.
14219
14220 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
14221
14222         * java/net/natPlainDatagramSocketImpl.cc (receive):
14223         Check bounds of argument to FD_SET.
14224         (setOption): Throw exception if socket is closed.
14225
14226         * java/net/natPlainSocketImpl.cc (accept, read):
14227         Check bounds of argument to FD_SET.
14228         (setOption): Throw exception if socket is closed.
14229
14230 2002-06-18  Tom Tromey  <tromey@redhat.com>
14231
14232         * gcj/javaprims.h: Updated class declaration list.
14233         * Makefile.in: Rebuilt.
14234         * Makefile.am (core_java_source_files): Added
14235         PropertyPermissionCollection.java.
14236         * java/lang/Thread.java (group, name): Now package-private.
14237         * java/lang/ThreadGroup.java: Re-merge with Classpath.
14238         * java/util/AbstractList.java: Likewise.
14239         * java/util/AbstractMap.java: Likewise.
14240         * java/util/Calendar.java: Likewise.
14241         * java/util/Collections.java: Likewise.
14242         * java/util/HashMap.java: Likewise.
14243         * java/util/Hashtable.java: Likewise.
14244         * java/util/LinkedHashMap.java: Likewise.
14245         * java/util/LinkedList.java: Likewise.
14246         * java/util/List.java: Likewise.
14247         * java/util/ListResourceBundle.java: Likewise.
14248         * java/util/Map.java: Likewise.
14249         * java/util/Observable.java: Likewise.
14250         * java/util/Properties.java: Likewise.
14251         * java/util/PropertyPermission.java: Likewise.
14252         * java/util/PropertyPermissionCollection.java: Likewise.
14253         * java/util/PropertyResourceBundle.java: Likewise.
14254         * java/util/Random.java: Likewise.
14255         * java/util/SimpleTimeZone.java: Likewise.
14256         * java/util/StringTokenizer.java: Likewise.
14257         * java/util/TimerTask.java: Likewise.
14258         * java/util/TreeMap.java: Likewise.
14259         * java/util/WeakHashMap.java: Likewise.
14260         * java/util/jar/Attributes.java: Likewise.
14261         * java/util/jar/JarException.java: Likewise.
14262         * java/util/jar/Manifest.java: Likewise.
14263
14264 2002-06-17  Tom Tromey  <tromey@redhat.com>
14265
14266         * gcj/javaprims.h: Updated class declaration list.
14267         * Makefile.in: Rebuilt.
14268         * Makefile.am (core_java_source_files): Added new file.
14269         * java/util/EventListenerProxy.java: New file.
14270         * java/util/EventListener.java: Re-merge with Classpath.
14271         * java/util/EventObject.java: Re-merge with Classpath.
14272
14273 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14274
14275         * java/lang/ClassNotFoundException.java: New Classpath version.
14276
14277 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
14278
14279         * java/rmi/activation/ActivateFailedException.java: Remerge from
14280         Classpath version.
14281         * java/rmi/activation/ActivationException.java: Ditto.
14282         * java/rmi/activation/UnknownGroupException.java: Ditto.
14283         * java/rmi/activation/UnknownObjectException.java: Ditto.
14284         * java/rmi/server/ExportException: Ditto.
14285         * java/rmi/server/ServerCloneException: Ditto.
14286         * java/rmi/server/ServerNotActiveException: Ditto.
14287         * java/rmi/server/SkeletonMismatchException: Ditto.
14288         * java/rmi/server/SkeletonNotFoundException: Ditto.
14289         * java/rmi/server/SocketSecurityException: Ditto.
14290
14291 2002-06-16  Tom Tromey  <tromey@redhat.com>
14292
14293         * gcj/javaprims.h: Updated class declaration list.
14294
14295         * java/io/LineNumberInputStream.java: Merged with Classpath.
14296
14297         * java/lang/RuntimeException.java: Re-merge with Classpath.
14298         * java/util/ArrayList.java: Likewise.
14299         * java/util/Arrays.java: Likewise.
14300         * java/util/BitSet.java: Likewise.
14301         * java/util/Dictionary.java: Likewise.
14302         * java/util/IdentityHashMap.java: Likewise.
14303         * java/util/MissingResourceException.java: Likewise.
14304         * java/util/Observer.java: Likewise.
14305         * java/util/TooManyListenersException.java: Likewise.
14306         * java/util/zip/DataFormatException.java: Likewise.
14307         * java/util/zip/ZipException.java: Likewise.
14308
14309 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
14310
14311         * java/rmi/AccessException.java: Remerge from Classpath.
14312         * java/rmi/AlreadyBoundException.java: Ditto.
14313         * java/rmi/ConnectException.java: Ditto.
14314         * java/rmi/ConnectIOException.java: Ditto.
14315         * java/rmi/MarshalException.java: Ditto.
14316         * java/rmi/NoSuchObjectException.java: Ditto.
14317         * java/rmi/NotBoundException.java: Ditto.
14318         * java/rmi/RemoteException.java: Ditto.
14319         * java/rmi/RMISecurityException.java: Ditto.
14320         * java/rmi/ServerError.java: Ditto.
14321         * java/rmi/ServerException.java: Ditto.
14322         * java/rmi/ServerRuntimeException.java: Ditto.
14323         * java/rmi/StubNotFoundException.java: Ditto.
14324         * java/rmi/UnexpectedExcpetion.java: Ditto.
14325         * java/rmi/UnknownHostException.java: Ditto.
14326         * java/rmi/UnmarshalException.java: Ditto.
14327
14328 2002-06-15  Tom Tromey  <tromey@redhat.com>
14329
14330         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14331         * java/lang/ArithmeticException.java: Likewise.
14332         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14333         * java/lang/ArrayStoreException.java: Likewise.
14334         * java/lang/Byte.java: Likewise.
14335         * java/lang/CharSequence.java: Likewise.
14336         * java/lang/ClassCastException.java: Likewise.
14337         * java/lang/ClassCircularityError.java: Likewise.
14338         * java/lang/ClassFormatError.java: Likewise.
14339         * java/lang/CloneNotSupportedException.java: Likewise.
14340         * java/lang/Cloneable.java: Likewise.
14341         * java/lang/Comparable.java: Likewise.
14342         * java/lang/Compiler.java: Likewise.
14343         * java/lang/Error.java: Likewise.
14344         * java/lang/ExceptionInInitializerError.java: Likewise.
14345         * java/lang/IllegalAccessError.java: Likewise.
14346         * java/lang/IllegalAccessException.java: Likewise.
14347         * java/lang/IllegalArgumentException.java: Likewise.
14348         * java/lang/IllegalMonitorStateException.java: Likewise.
14349         * java/lang/IllegalStateException.java: Likewise.
14350         * java/lang/IllegalThreadStateException.java: Likewise.
14351         * java/lang/IncompatibleClassChangeError.java: Likewise.
14352         * java/lang/IndexOutOfBoundsException.java: Likewise.
14353         * java/lang/InheritableThreadLocal.java: Likewise.
14354         * java/lang/InstantiationError.java: Likewise.
14355         * java/lang/InstantiationException.java: Likewise.
14356         * java/lang/InternalError.java: Likewise.
14357         * java/lang/InterruptedException.java: Likewise.
14358         * java/lang/LinkageError.java: Likewise.
14359         * java/lang/NegativeArraySizeException.java: Likewise.
14360         * java/lang/NoClassDefFoundError.java: Likewise.
14361         * java/lang/NoSuchFieldError.java: Likewise.
14362         * java/lang/NoSuchFieldException.java: Likewise.
14363         * java/lang/NoSuchMethodError.java: Likewise.
14364         * java/lang/NoSuchMethodException.java: Likewise.
14365         * java/lang/NullPointerException.java: Likewise.
14366         * java/lang/NumberFormatException.java: Likewise.
14367         * java/lang/OutOfMemoryError.java: Likewise.
14368         * java/lang/Process.java: Likewise.
14369         * java/lang/Runnable.java: Likewise.
14370         * java/lang/RuntimePermission.java: Likewise.
14371         * java/lang/SecurityException.java: Likewise.
14372         * java/lang/Short.java: Likewise.
14373         * java/lang/StackOverflowError.java: Likewise.
14374         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14375         * java/lang/ThreadDeath.java: Likewise.
14376         * java/lang/ThreadLocal.java: Likewise.
14377         * java/lang/UnknownError.java: Likewise.
14378         * java/lang/UnsatisfiedLinkError.java: Likewise.
14379         * java/lang/UnsupportedClassVersionError.java: Likewise.
14380         * java/lang/UnsupportedOperationException.java: Likewise.
14381         * java/lang/VerifyError.java: Likewise.
14382         * java/lang/VirtualMachineError.java: Likewise.
14383         * java/lang/reflect/InvocationTargetException.java: Likewise.
14384         * java/net/BindException.java: Likewise.
14385         * java/net/ConnectException.java: Likewise.
14386         * java/net/MalformedURLException.java: Likewise.
14387         * java/net/NoRouteToHostException.java: Likewise.
14388         * java/net/ProtocolException.java: Likewise.
14389         * java/net/SocketException.java: Likewise.
14390         * java/net/UnknownHostException.java: Likewise.
14391         * java/net/UnknownServiceException.java: Likewise.
14392
14393         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14394         * java/io/CharConversionException.java: Likewise.
14395         * java/io/EOFException.java: Likewise.
14396         * java/io/FileNotFoundException.java: Likewise.
14397         * java/io/IOException.java: Likewise.
14398         * java/io/InterruptedIOException.java: Likewise.
14399         * java/io/InvalidClassException.java: Likewise.
14400         * java/io/InvalidObjectException.java: Likewise.
14401         * java/io/NotActiveException.java: Likewise.
14402         * java/io/NotSerializableException.java: Likewise.
14403         * java/io/ObjectStreamException.java: Likewise.
14404         * java/io/ObjectStreamConstants.java: Likewise.
14405         * java/io/OptionalDataException.java: Likewise.
14406         * java/io/PipedInputStream.java: Likewise.
14407         * java/io/PushbackInputStream.java: Likewise.
14408         * java/io/StreamCorruptedException.java: Likewise.
14409         * java/io/SyncFailedException.java: Likewise.
14410         * java/io/UTFDataFormatException.java: Likewise.
14411         * java/io/UnsupportedEncodingException.java: Likewise.
14412         * java/io/WriteAbortedException.java: Likewise.
14413
14414 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14415
14416         * java/text/ChoiceFormat.java: Update comments from Classpath.
14417         * java/text/ParseException.java (serialVersionUID): New
14418         field from Classpath.
14419         * java/text/ParseException.java: Update formatting & comments
14420         from Classpath.
14421
14422 2002-06-15  Tom Tromey  <tromey@redhat.com>
14423
14424         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14425         been read but none output by inflater.
14426         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14427         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14428         is_finished.
14429         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14430         version.
14431         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14432         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14433         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14434         version.
14435         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14436
14437 2002-06-13  Tom Tromey  <tromey@redhat.com>
14438
14439         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14440         true and OFFSET!=0.
14441         * java/lang/String.java (String(char[],int,int,boolean): New
14442         constructor.
14443         * java/lang/Long.java: Imported new version from Classpath.
14444         * java/lang/Number.java: Likewise.
14445         * java/lang/Integer.java: Likewise.
14446         * java/lang/Long.java: Likewise.
14447         * java/lang/Float.java: Likewise.
14448         * java/lang/Boolean.java: Likewise.
14449         * java/lang/Double.java: Likewise.
14450         * java/lang/Void.java: Likewise.
14451
14452 2002-06-12  Tom Tromey  <tromey@redhat.com>
14453
14454         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14455         Fixes PR libgcj/6652.
14456
14457 2002-06-10  Tom Tromey  <tromey@redhat.com>
14458
14459         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14460         (Class::getPackagePortion): Likewise.
14461         * java/lang/Class.java (desiredAssertionStatus): New method from
14462         Classpath.
14463         (getPackagePortion): Likewise.
14464         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14465         packageAssertionStatus, classAssertionStatus): New methods from
14466         Classpath.
14467         * java/lang/ClassLoader.java (defaultAssertionStatus,
14468         systemPackageAssertionStatus, packageAssertionStatus,
14469         systemClassAssertionStatus, classAssertionStatus): New fields from
14470         Classpath.
14471         (setDefaultAssertionStatus, setPackageAssertionStatus,
14472         setClassAssertionStatus, clearAssertionStatus): New methods from
14473         Classpath.
14474         * Makefile.in: Rebuilt.
14475         * Makefile.am (core_java_source_files): Added AssertionError.java.
14476         * java/lang/AssertionError.java: New from Classpath.
14477
14478 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14479
14480         * configure.host: Disable hash synchronization and slow_pthread_self
14481         for cygwin.
14482
14483 2002-06-06  Adam Megacz <adam@xwt.org>
14484
14485         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14486         locking, just like the Sun JVM does.
14487
14488 2002-06-05  H.J. Lu  (hjl@gnu.org)
14489
14490         * Makefile.am (libgcj_convenience.la): Revert the last change.
14491         (libgcj.la): Likewise.
14492         * Makefile.in: Regenerated.
14493
14494 2002-06-04  H.J. Lu  (hjl@gnu.org)
14495
14496         * Makefile.am (libgcj_convenience.la): New target.
14497         (libgcj.la): Depend on libgcj_convenience.la.
14498         * Makefile.in: Regenerated.
14499
14500 2002-06-04  H.J. Lu  (hjl@gnu.org)
14501
14502         * configure.in (--with-newlib): New option:
14503         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14504         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14505         Linux.
14506         * configure: Regenerated.
14507
14508 2002-06-04  Tom Tromey  <tromey@redhat.com>
14509
14510         * java/util/natTimeZone.cc: Include <stdio.h>.
14511
14512 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14513
14514         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14515         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14516         Set SIGNAL_HANDLER=include/s390-linux.h.
14517         * configure: Regenerate.
14518         * include/s390-linux.h: New file.
14519
14520 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14521
14522         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14523         not "stackTrace".
14524
14525 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14526
14527         Merge JDK 1.4 java.security changes from classpath.
14528
14529         * java/security/AccessControlException.java: Merge from Classpath.
14530         * java/security/AccessController.java: Likewise.
14531         * java/security/AllPermission.java: Likewise.
14532         * java/security/BasicPermission.java: Likewise.
14533         * java/security/Certificate.java: Likewise.
14534         * java/security/CodeSource.java: Likewise.
14535         * java/security/DigestException.java: Likewise.
14536         * java/security/DigestOutputStream.java: Likewise.
14537         * java/security/DomainCombiner.java: Likewise.
14538         * java/security/GeneralSecurityException.java: Likewise.
14539         * java/security/Guard.java: Likewise.
14540         * java/security/GuardedObject.java: Likewise.
14541         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14542         * java/security/InvalidKeyException.java: Likewise.
14543         * java/security/InvalidParameterException.java: Likewise.
14544         * java/security/Key.java: Likewise.
14545         * java/security/KeyException.java: Likewise.
14546         * java/security/KeyManagementException.java: Likewise.
14547         * java/security/KeyStoreException.java: Likewise.
14548         * java/security/MessageDigest.java: Likewise.
14549         * java/security/NoSuchAlgorithmException.java: Likewise.
14550         * java/security/NoSuchProviderException.java: Likewise.
14551         * java/security/Permission.java: Likewise.
14552         * java/security/PermissionCollection.java: Likewise.
14553         * java/security/Permissions.java: Likewise.
14554         * java/security/Policy.java: Likewise.
14555         * java/security/Principal.java: Likewise.
14556         * java/security/PrivateKey.java: Likewise.
14557         * java/security/PrivilegedAction.java: Likewise.
14558         * java/security/PrivilegedActionException.java: Likewise.
14559         * java/security/PrivilegedExceptionAction.java: Likewise.
14560         * java/security/ProtectionDomain.java: Likewise.
14561         * java/security/ProviderException.java: Likewise.
14562         * java/security/PublicKey.java: Likewise.
14563         * java/security/SecureClassLoader.java: Likewise.
14564         * java/security/SecurityPermission.java: Likewise.
14565         * java/security/SignatureException.java: Likewise.
14566         * java/security/UnrecoverableKeyException.java: Likewise.
14567         * java/security/UnresolvedPermission.java: Likewise.
14568         * java/security/acl/AclNotFoundException.java: Likewise.
14569         * java/security/acl/LastOwnerException.java: Likewise.
14570         * java/security/acl/NotOwnerException.java: Likewise.
14571         * java/security/cert/CRLException.java: Likewise.
14572         * java/security/cert/CertificateEncodingException.java: Likewise.
14573         * java/security/cert/CertificateException.java: Likewise.
14574         * java/security/cert/CertificateExpiredException.java: Likewise.
14575         * java/security/cert/CertificateFactory.java: Likewise.
14576         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14577         * java/security/cert/CertificateParsingException.java: Likewise.
14578         * java/security/spec/InvalidKeySpecException.java: Likewise.
14579         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14580
14581         * java/security/cert/CertPath.java: New file.
14582         * java/security/cert/CertPathBuilderException.java: New file.
14583         * java/security/cert/CertPathValidatorException.java: New file.
14584         * java/security/cert/CertStoreException.java: New file.
14585
14586         * Makefile.am: Add new CertPath classes.
14587         * Makefile.in: Rebuilt.
14588
14589         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14590
14591 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14592
14593         Merge JDK 1.4 exception chaining support from classpath.
14594
14595         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14596         (stackTraceBytes): Rename from stackTrace.
14597         * java/lang/Exception.java: Merge from classpath.
14598         * java/lang/StackTraceElement: New file from classpath.
14599         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14600         * Makefile.am: Add StackTraceElement.
14601         * Makefile.in: Rebuilt.
14602
14603 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14604
14605         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14606         they build first.
14607         * Makefile.in: Rebuilt.
14608
14609 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14610
14611         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14612         * configure.in: Likewise.
14613         * aclocal.m4: Regenerate.
14614         * configure: Regenerate.
14615
14616 2002-05-13  Tom Tromey  <tromey@redhat.com>
14617
14618         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14619         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14620         Include platform.h.
14621
14622         Fixes PR libgcj/6389:
14623         * Makefile.in: Rebuilt.
14624         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14625         * java/util/natTimeZone.cc: New file.
14626         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14627         * java/lang/System.java: Merged with Classpath.
14628         * java/lang/Runtime.java: Merged with Classpath.
14629         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14630         security check.
14631         (setIn0): Renamed from setIn; don't run security check.
14632         (setOut0): Renamed from setOut; don't run security check.
14633         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14634         init_properties): Moved to natRuntime.cc.
14635         Moved many includes to natRuntime.cc.
14636         (isWordsBigEndian): New method.
14637         * java/lang/natRuntime.cc: Include Long.h, also other includes
14638         previously in natSystem.cc.
14639         (maxMemory): New function.
14640         (exitInternal): Renamed from `_exit'.
14641         (exit): Removed.
14642         (init): Don't set finalize_on_exit.
14643         (exitInternal): Use `finalizeOnExit'.
14644         (file_encoding, getpwuid_adaptor): New functions from
14645         natSystem.cc.
14646         (insertSystemProperties): New method, renamed from
14647         System::init_properties.  Don't set user.timezone.
14648         (_load): Don't call checkLink.
14649         (execInternal): New method.
14650         (availableProcessors): Likewise.
14651         (nativeGetLibname): Likewise.
14652
14653 2002-05-11  Mark Wielaard  <mark@klomp.org>
14654
14655         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14656         space characters.
14657         (previous_internal): Likewise.
14658
14659 2002-05-09  Tom Tromey  <tromey@redhat.com>
14660
14661         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14662
14663         * java/util/ResourceBundle.java: New version from Classpath.
14664         * java/util/Locale.java: Likewise.
14665
14666 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14667
14668         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14669         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14670         LD_LIBRARY_PATH.
14671
14672 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14673
14674         * libjava/Makefile.am (all_java_source_files): New variable.
14675         (all_java_class_files): Likewise.
14676         .java.class: New rule.
14677         (CLEANFILES): Remove tmp-list.
14678         * libjava/Makefile.in: Regenerated.
14679
14680 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14681
14682         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14683         Append .exe to executable names.  Fix for cygwin.
14684
14685 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14686
14687         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14688         script entry, and set LD to it when configuring multilibs.
14689         * configure: Rebuilt.
14690
14691 2002-05-07  Tom Tromey  <tromey@redhat.com>
14692
14693         * java/lang/natString.cc (unintern): Fixed typo.
14694
14695 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14696
14697         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14698         with -no-install on *-*-cygwin*.
14699
14700 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14701
14702         * testsuite/lib/libjava.exp (test_libjava_from_source):
14703         Add comment explaining last patch
14704
14705 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14706
14707         * testsuite/lib/libjava.exp (test_libjava_from_source):
14708         Append .exe to executable names.  If no suffix is present,
14709         then ".exe" is added by default on win32.  Harmless
14710         elsewhere so always do it.
14711
14712 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14713             Tom Tromey  <tromey@redhat.com>
14714
14715         * java/lang/natSystem.cc (getSystemTimeZone): Use
14716         HAVE_UNDERSCORE_TIMEZONE.
14717         * include/config.h.in: Rebuilt.
14718         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14719         * aclocal.m4, configure: Rebuilt.
14720         * acinclude.m4: Run AC_EXEEXT.
14721         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14722         Add test for `_timezone'.
14723
14724 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14725
14726         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14727         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14728         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14729         * Makefile.in: Rebuilt.
14730
14731 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14732
14733         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14734         use sigaction instead of __libc_sigaction.
14735
14736 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14737
14738         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14739         (libjava_init): Use it to find libgcj.spec.
14740         (libjava_arguments): Likewise.
14741
14742 2002-05-02  David S. Miller  <davem@redhat.com>
14743
14744         PR bootstrap/6525
14745         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14746         __libc_sigaction on Sparc.
14747
14748 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14749
14750         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14751         sys/filio.h, if present.
14752
14753 2002-04-30  Tom Tromey  <tromey@redhat.com>
14754
14755         * java/io/BufferedReader.java (fill): Handle case where markPos
14756         point to ignored \n.  Fixes PR libgcj/6301.
14757
14758 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14759
14760         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14761
14762 2002-04-29  Adam King <aking@dreammechanics.com>
14763
14764         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14765         of file in APPEND mode.
14766
14767 2002-04-25  David S. Miller  <davem@redhat.com>
14768
14769         PR target/6422
14770         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14771         program counter to next program counter minus 8.  Update
14772         comments in this macro to explain why.
14773
14774 2002-04-26  Tom Tromey  <tromey@redhat.com>
14775
14776         * verify.cc (construct_primitive_array_type) [void_type]: New
14777         case.
14778         (branch_prepass): Added dummy entries for unused instruction
14779         values.
14780         (verify_instructions_0): Likewise.
14781         * interpret.cc (continue1): Comment fix.
14782         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14783         * Makefile.in: Rebuilt.
14784         * Makefile.am: Added -Wswitch-enum.
14785
14786 2002-04-24  Tom Tromey  <tromey@redhat.com>
14787
14788         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14789         correct length of UTF-8 encoded name.  Strip leading `/'.
14790         (_Jv_RegisterResource): Use _Jv_Malloc.
14791
14792 2002-04-23  Adam Megacz <adam@xwt.org>
14793
14794         * win32.cc, include/win32.cc (backtrace): Added this function
14795         because Win32 does not supply it.
14796
14797 2002-04-21  David S. Miller  <davem@redhat.com>
14798
14799         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14800         magic instruction reading sequence.
14801
14802 2002-04-21  Mark Wielaard  <mark@klomp.org>
14803
14804         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14805
14806 2002-04-19  David S. Miller  <davem@redhat.com>
14807
14808         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14809         arg.
14810         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14811         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14812         on Sparc too.
14813         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14814         for 64-bit sparc.
14815         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14816         * sysdeps/sparc/locks.h: New file.
14817         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14818         on all sparc Solaris configurations.  Set to
14819         include/dwarf2-signal.h on sparc Linux.
14820         * configure: Regenerate
14821         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14822
14823 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14824
14825         * configure: Rebuilt.
14826         * configure.in (backtrace): Function doesn't work on IA-64.
14827
14828 2002-04-17  Adam King <aking@dreammechanics.com>
14829
14830         * java/io/File.java (normalizePath): Add Win32 support for auto
14831         conversion of a '/' path separator to Win32's '\' separator.
14832
14833 2002-04-16  Tom Tromey  <tromey@redhat.com>
14834
14835         Fix for PR libgcj/6081:
14836         * Makefile.in: Rebuilt.
14837         * Makefile.am (install-data-local): Use GNU make trick to avoid
14838         shell limit.
14839
14840 2002-04-16  Adam King <aking@dreammechanics.com>
14841             Tom Tromey  <tromey@redhat.com>
14842
14843         * java/io/natFileWin32.cc (performList): Return the correct array
14844         type.  Don't duplicate the creation of a File since it's already
14845         done earlier in the method and the existing code would cause a
14846         ArrayStoreException.  Don't use fixed-size array.
14847         (_access, _stat, attr, getCanonicalPath, performMkdir,
14848         performRenameTo): Don't use fixed-size array.
14849         (getCanonicalPath): Use throw, not _Jv_Throw.
14850
14851 2002-04-15  DJ Delorie  <dj@redhat.com>
14852
14853         * configure.in: Allow building in $srcdir.
14854         * configure: Regenerated.
14855
14856 2002-04-14  Mark Wielaard <mark@klomp.org>
14857
14858         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14859         * java/net/natSocketImpl.cc (close): Likewise.
14860
14861 2002-04-14  Mark Wielaard <mark@klomp.org>
14862
14863         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14864
14865 2002-04-13  Adam King <aking@dreammechanics.com>
14866
14867         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14868         the f/F/d/D modifiers.
14869
14870 2002-04-12  Anthony Green  <green@redhat.com>
14871
14872         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14873         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14874         * Makefile.in: Rebuilt.
14875         * configure.in: Substitute gcc_version.
14876         * configure: Rebuilt.
14877
14878 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14879
14880         * configure.host: Set can_unwind_signal on hosts which support it.
14881         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14882         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14883         exceptions and can_unwind_signal isn't set.
14884         * configure: Rebuilt.
14885
14886 2002-04-11  Tom Tromey  <tromey@redhat.com>
14887
14888         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14889
14890 2002-04-11  Adam King <aking@dreammechanics.com>
14891             Tom Tromey  <tromey@redhat.com>
14892
14893         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14894         _Jv_ThrowNullPointerException): Mark as noreturn.
14895         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14896         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14897         fixes.
14898
14899 2002-04-10  Tom Tromey  <tromey@redhat.com>
14900
14901         * Makefile.in: Rebuilt.
14902         * Makefile.am (java/lang/Thread.h): Mark
14903         _Jv_AttachCurrentThreadAsDaemon as friend.
14904         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14905         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14906         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14907         function.
14908         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14909         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14910         (_Jv_JNI_InvokeFunctions): Added
14911         _Jv_JNI_AttachCurrentThreadAsDaemon.
14912         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14913         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14914         (JNI_CreateJavaVM): Likewise.
14915         (_Jv_JNI_AttachCurrentThread): Likewise.
14916         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14917         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14918         (_Jv_JNIFunctions): Initialize new fields.
14919         (_Jv_JNI_NewDirectByteBuffer): New function.
14920         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14921         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14922         * include/jni.h (JNI_VERSION_1_4): New macro.
14923         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14924         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14925         (JNINativeInterface::NewDirectByteBuffer): New field.
14926         (JNINativeInterface::GetDirectBufferAddress): New field.
14927         (JNINativeInterface::GetDirectBufferCapacity): New field.
14928         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14929         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14930         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14931
14932 2002-04-09  Tom Tromey  <tromey@redhat.com>
14933
14934         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14935
14936 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14937
14938         Fix for PR libgcj/6187:
14939         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14940         distance.
14941
14942 2002-04-07  Mark Wielaard <mark@klomp.org>
14943
14944         * java/util/AbstractMap.java (putAll): Use entrySet size.
14945         (toString): Explicitly use getKey() and getValue().
14946
14947 2002-04-07  Mark Wielaard <mark@klomp.org>
14948
14949         * java/util/Hashtable.java (contains): Remove NullPointer check.
14950         (containsValue): Add NullPointer check.
14951         (remove): Always throw NullPointerException when key
14952         is null.
14953
14954 2002-04-07  Adam King <aking@dreammechanics.com>
14955
14956         * java/lang/natSystem.cc (init_properties): Call new function
14957         _Jv_platform_initProperties.
14958         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14959         support for the System properties os.name, os.arch, os.version,
14960         user.name, user.home, and user.dir.
14961         * include/posix.h, include/win32.h, posix.cc: New function
14962         _Jv_platform_initProperties.
14963
14964 2002-04-06  Mark Wielaard <mark@klomp.org>
14965
14966         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14967
14968 2002-04-06  Mark Wielaard <mark@klomp.org>
14969
14970         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14971         all of the remaining elements.
14972         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14973         (removeRange): If toIndex == fromIndex do
14974         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14975         (removeAll): Always throw NullPointerException when collection is
14976         null.
14977         (retrainAll): Likewise.
14978
14979 2002-04-05  Mark Wielaard <mark@klomp.org>
14980
14981         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14982         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14983
14984 2002-04-05  Adam Megacz <adam@xwt.org>
14985
14986         * exception.cc (abort): added static modifier
14987
14988 2002-04-04  Adam Megacz <adam@xwt.org>
14989
14990         * include/win32.h (_Jv_platform_close_on_exec): added inline
14991         modifier.
14992
14993 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14994
14995         * configure.host: Add case statement to support generic port
14996         properties.  Add *-*-freebsd* section.
14997
14998 2002-04-04  Mark Wielaard  <mark@klomp.org>
14999
15000         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15001         test.
15002         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15003         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15004         that depend on awt code and BufferedByteOutputStream.interrupt.
15005
15006 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15007
15008         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15009         incorrect "hi" value when count > 40.
15010
15011 2002-04-03  Mark Wielaard  <mark@klomp.org>
15012
15013         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15014         ordering.
15015
15016 2002-04-02  Tom Tromey  <tromey@redhat.com>
15017
15018         * java/lang/natClassLoader.cc (findClass): Compare against `3',
15019         not `0'.
15020
15021 2002-04-02  Mark Wielaard  <mark@klomp.org>
15022
15023         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15024         list of testsuite crashers.
15025
15026 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15027
15028         * java/util/IdentityHashMap.java (put): Set new threshold correctly
15029         when resizing table.
15030
15031 2002-04-01  Mark Wielaard  <mark@klomp.org>
15032
15033         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15034         NegativeArraySizeException
15035         (clear(int)): Use sign extended shift.
15036         (flip(int)): Likewise.
15037         (get(int)): Likewise.
15038         (nextClearBit(int)): Likewise.
15039         (nextSetBit(int)): Likewise.
15040         (set(int)): Likewise.
15041
15042 2002-04-01  Mark Wielaard  <mark@klomp.org>
15043
15044         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15045         that can be compiled now and add testsuite crashers to ignore list.
15046
15047 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
15048
15049         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15050
15051         * libgcj.spec.in: Override libgcc, not lib.
15052         * libgcj-test.spec.in: Likewise.
15053
15054 2002-03-29  Tom Tromey  <tromey@redhat.com>
15055
15056         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15057         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15058
15059 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
15060
15061         * java/net/PlainDatagramSocketImpl.java
15062         (close): Use native implementation.
15063         (finalize): New method.
15064
15065         * java/net/PlainSocketImpl.java (finalize): New method.
15066
15067         * java/net/natPlainDatagramSocketImpl.cc
15068         (java/io/FileDescriptor.h): Don't include.
15069         (close): Implement method here.
15070         (create): Don't assign fd.
15071
15072         * java/net/natPlainSocketImpl.cc
15073         (java/io/FileDescriptor.h): Don't include.
15074         (create): Don't assign fd.
15075         (accept): Likewise.
15076         (close): Synchronize.
15077
15078 2002-03-27  Richard Henderson  <rth@redhat.com>
15079
15080         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15081
15082 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15083
15084         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15085         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15086         instead of syscall on IA-64.
15087         Add FIXME comment.
15088
15089 2002-03-27  Anthony Green  <green@redhat.com>
15090
15091         * libgcj.spec.in: Add CHECKREFSPEC.
15092         * configure.in: Ditto.
15093         * configure.host: Ditto.  Check references for xscale-elf.
15094         * configure: Rebuilt.
15095
15096 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
15097
15098         * include/dwarf2-signal.h: Temporarily back out last change.
15099
15100 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
15101
15102         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15103
15104 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15105
15106         * configure.in, configure: enable dwarf2-exception-style
15107         exception handling on IA-64.
15108         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15109         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15110         Add FIXME comment.
15111
15112 2002-03-25  Tom Tromey  <tromey@redhat.com>
15113
15114         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15115         (jv_convert_LDFLAGS): Likewise.
15116         (gij_LDFLAGS): Likewise.
15117         (rmic_LDFLAGS): Likewise.
15118         (rmiregistry_LDFLAGS): Likewise.
15119         * configure.in (THREADLDFLAGS): New subst; set correctly for
15120         *BSD.
15121
15122 2002-03-25  Tom Tromey  <tromey@redhat.com>
15123
15124         For PR libgcj/5303:
15125         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15126         and --version.
15127         (help): New method.
15128         (version): Likewise.
15129         * gnu/gcj/convert/Convert.java (version): Removed extraneous
15130         "GNU".
15131         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15132         "GNU".
15133
15134 2002-03-25  Tom Tromey  <tromey@redhat.com>
15135
15136         * java/awt/Component.java (processEvent): Check ComponentEvent
15137         after KeyEvent.
15138
15139 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15140
15141         * java/io/PushbackReader.java: Reformat.
15142
15143         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15144         calculate correct number of bytes skipped.
15145
15146         Based on patch from Intel's ORP team:
15147         * java/io/PushbackInputStream.java (available): Calculate correct
15148         number of bytes in buffer.
15149         (read): Remove redundant bound check. Return bytes from both the
15150         buffer and the stream.
15151
15152 2002-03-24  Tom Tromey  <tromey@redhat.com>
15153
15154         * java/awt/TextComponent.java (TextComponent): Editable by
15155         default.
15156
15157         * java/awt/MenuItem.java (eventMask): No longer private.
15158         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15159         superclass if we didn't handle event.
15160         * java/awt/Checkbox.java (dispatchEventImpl): New method.
15161         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15162         * java/awt/Choice.java (dispatchEventImpl): New method.
15163         * java/awt/List.java (dispatchEventImpl): New method.
15164         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15165         * java/awt/TextComponent.java (dispatchEventImpl): New method.
15166         * java/awt/TextField.java (dispatchEventImpl): New method.
15167
15168 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15169
15170         * java/beans/IntrospectionException.java: Update to 1.4.
15171         * java/beans/PropertyVetoException.java: Ditto.
15172
15173 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
15174
15175         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15176         Arrays.equals instead of ArrayHelper.equalsArray.
15177
15178 2002-03-24  C. Brian Jones <cbj@gnu.org>
15179
15180         * java/beans/Introspector.java: added new static final fields
15181         introduced in 1.2, lots of other updates remain to be done
15182
15183 2002-03-24  C. Brian Jones <cbj@gnu.org>
15184
15185         * java/beans/Introspector.java: reformatting
15186
15187 2002-03-24  C. Brian Jones <cbj@gnu.org>
15188
15189         * java/beans/Introspector.java: default beanInfoSearchPath will
15190         not include sun.beans.infos given we provide no such package and
15191         the API doesn't really require it; gnu.java.beans.info is the
15192         default.
15193
15194 2002-03-24  Mark Wielaard  <mark@klomp.org>
15195
15196         Thanks to Orp developers
15197         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15198         switch TRUE and FALSE return values.
15199
15200 2002-03-23  Tom Tromey  <tromey@redhat.com>
15201
15202         * include/name-finder.h (_Jv_name_finder::myclose): New method.
15203         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15204
15205 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
15206
15207         * java/util/GregorianCalendar.java (minimums, maximums): Correct
15208         MONTH entry.  Fixes PR libgcj/6045.
15209
15210 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
15211
15212         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15213
15214 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15215
15216         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15217         not release_set.
15218         * sysdep/powerpc/locks.h (write_barrier): New function.
15219         * sysdep/i386/locks.h (write_barrier): New function.
15220
15221 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
15222
15223         * include/jni.h Use correct C comments.
15224
15225 2002-03-18  Tom Tromey  <tromey@redhat.com>
15226
15227         * include/jni.h (JNIIMPORT): New macro.
15228         (JNIEXPORT): Likewise.
15229         (JNICALL): Likewise.
15230
15231 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15232
15233         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15234         systems.
15235
15236 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
15237
15238         * include/i386-signal.h (old_i386_kernel_sigaction): New.
15239         INIT_SEGV: Use old_i386_kernel_sigaction.
15240         INIT_FP: Likewise.
15241
15242 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15243
15244         * java/lang/natSystem.cc (init_properties): Update VM version
15245         properties.
15246         * configure.in: Set GCJVERSION.
15247         * acconfig.h: Add GCJVERSION.
15248         * configure: Rebuilt.
15249         * include/config.h.in: Rebuilt.
15250
15251 2002-03-17  Anthony Green  <green@redhat.com>
15252
15253         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15254
15255 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15256
15257         Build a single libgcj.so, without separate gc and zlib libraries.
15258         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15259         SYS_ZLIBS if system zlib is used.
15260         * configure: Rebuilt.
15261         * Makefile.am: Use boehm-gc and zlib convenience libraries.
15262         * Makefile.in: Rebuilt.
15263         * libtool-version: Increment .so version number.
15264
15265         * Makefile.am: Escape quotes in echo.
15266         * Makefile.in: Rebuilt.
15267
15268 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15269
15270         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15271         * Makefile.in: Rebuilt.
15272
15273 2002-03-15  Anthony Green  <green@redhat.com>
15274
15275         * configure.host (FILE): New macro for specifing File
15276         implementation.
15277         * configure: Rebuilt.
15278         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
15279
15280 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
15281
15282         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15283         already implicitly brought in from libgcj.la.
15284         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15285         * Makefile.in: Rebuilt.
15286
15287 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
15288
15289         * THANKS: Fix punctuation, alphabetization.
15290
15291 2002-03-15  Tom Tromey  <tromey@redhat.com>
15292             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15293
15294         Fix for PR libgcj/5944.
15295         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15296
15297 2002-03-15  Anthony Green  <green@redhat.com>
15298
15299         * configure.in (tool_include_dir): Define.
15300         * configure: Rebuilt.
15301         * gcj/Makefile.am: Install libgcj-config.h relative to
15302         tool_include_dir.
15303         * gcj/Makefile: Rebuilt.
15304         * gcj/libgcj-config.h: Add warning comment.
15305
15306 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
15307
15308         * configure.host (powerpc*-darwin*): Enable interpreter.
15309
15310 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15311
15312         * include/posix.h: Add multiple include header protection.
15313         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15314
15315 2002-03-10  Adam Megacz <adam@xwt.org>
15316
15317         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15318
15319 2002-03-10  Tom Tromey  <tromey@redhat.com>
15320
15321         * java/awt/GridLayout.java (layoutContainer): Handle case where
15322         there are no items in container.
15323
15324         * java/lang/Win32Process.java: Added comment.
15325         * include/posix.h (_Jv_platform_close_on_exec): New function.
15326         Include fcntl.h.
15327         * include/win32.h (_Jv_platform_close_on_exec): New function.
15328         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15329         flag.
15330         (accept): Likewise.
15331         * java/net/natPlainDatagramSocketImpl.cc (create): Set
15332         close-on-exec flag.
15333         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15334         flag.
15335
15336 2002-03-09  Tom Tromey  <tromey@redhat.com>
15337
15338         * verify.cc (state::NO_STACK): New constant.
15339         (state::is_unmerged_ret_state): Handle case where stacktop is
15340         NO_STACK.
15341         (state::merge): Handle NO_STACK merges.
15342         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15343         for instruction following jsr.
15344         (stacktop, stackdepth): Removed unused variables.
15345         (pop_jump): Ignore case where all remaining states are skipped.
15346
15347 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15348
15349         * java/awt/ImageMediaEntry: Removed.
15350         * java/awt/MediaEntry: Removed.
15351
15352 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15353
15354         Hashtable synchronization for PowerPC.
15355         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15356         slow_pthread_self. Set up symlink for sysdeps directory.
15357         * configure: Rebuild.
15358         * configure.host: Document more shell variables. Set sysdeps_dir
15359         for most platforms. Set slow_pthread_self for i686. Set
15360         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15361         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15362         that memory barrier is emitted where required.
15363         * prims.cc: 64-bit align static primitive class instances.
15364         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15365         read_barrier() to enforce ordering of reads.
15366         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15367         primitives for PowerPC.
15368         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15369         moved from natObject.cc.
15370         * sysdep/alpha/locks.h: Likewise.
15371         * sysdep/ia64/locks.h: Likewise.
15372         * sysdep/generic/locks.h: Likewise.
15373         * java/lang/natObject.cc: Move thread synchronization primitives to
15374         system-dependent headers.
15375
15376 2002-03-09  Adam Megacz  <adam@xwt.org>
15377
15378         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15379         bytes read and no failure code returned.
15380
15381 2002-03-09  Adam Megacz  <adam@xwt.org>
15382
15383         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15384         definitions to simulate -mthreads.
15385
15386 2002-03-09  Adam Megacz  <adam@xwt.org>
15387
15388         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15389         avoid precision loss.
15390
15391 2002-03-09  Per Bothner  <per@bothner.com>
15392
15393         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15394         * gnu/gcj/xlib/XImage.java:  Likewise.
15395         * gnu/gcj/xlib/XColor.java:  Likewise.
15396
15397 2002-03-09  Adam Megacz  <adam@xwt.org>
15398
15399         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15400         IOException so that Throwable.printStackTrace fails correctly.
15401
15402 2002-03-08  Adam Megacz  <adam@xwt.org>
15403
15404         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15405         fixed.
15406
15407 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15408
15409         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15410         truncated to int.
15411
15412 2002-03-08  Tom Tromey  <tromey@redhat.com>
15413
15414         * include/jni.h: Include stdio.h.
15415
15416 2002-03-08  Tom Tromey  <tromey@redhat.com>
15417
15418         * posix.cc (internal_gettimeofday): New function.
15419         (_Jv_select): Use it.
15420
15421 2002-03-07  Adam Megacz  <adam@xwt.org>
15422
15423         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15424         WIN32, and added thunks for read(), write(), and close().
15425         * java/net/natPlainSocketImpl.cc (accept, read, read):
15426         Disabled timeouts on WIN32 pending discussion.
15427
15428 2002-03-07  Adam Megacz  <adam@xwt.org>
15429
15430         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15431         returns jlong. Added implementation
15432         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15433         returns jlong.
15434         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15435         returns jlong.
15436         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15437         returns jlong.
15438         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15439         _Jv_platform_gettimeofday signature.
15440
15441 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15442
15443         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15444         (read): Call recv() directly, not _Jv_recv().
15445
15446 2002-03-06  Tom Tromey  <tromey@redhat.com>
15447
15448         * java/io/natFileDescriptorEcos.cc (init): Don't use
15449         GetStdHandle.
15450         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15451         is negative.
15452         (init): Don't use GetStdHandle.
15453
15454         * include/config.h.in: Rebuilt.
15455         * configure: Rebuilt.
15456         * Makefile.in: Rebuilt.
15457
15458 2002-03-06  Adam Megacz  <adam@xwt.org>
15459
15460         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15461         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15462         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15463         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15464
15465 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15466
15467         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15468         the code for generating include/java-chartables.h.
15469         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15470         merge with Classpath.
15471         * scripts/unicode-muncher.pl: Copy from Classpath.
15472         * scritps/MakeCharTables.java: New file.
15473         * gnu/gcj/convert/Blocks-3.txt: New file.
15474         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15475         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15476         * gnu/java/lang/CharData.java: Copy from Classpath.
15477         * Makefile.am (ordinary_java_source_files): Add
15478         gnu/java/lang/CharData.java.
15479         * configure.in: Remove --enable-fast-character option.
15480         * java/lang/Character.java: Merge algorithms and Javadoc with
15481         Classpath.
15482         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15483         efficiently.
15484         * include/java-chardecomp.h: Regenerate.
15485         * include/java-chartables.h: Regenerate.
15486
15487 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15488
15489         * java/awt/MediaTracker.java: Implemented.
15490         * Makefile.am: Add MediaTracker.
15491         * Makefile.in: Rebuilt.
15492
15493 2002-03-05  Tom Tromey  <tromey@redhat.com>
15494
15495         * java/lang/natPosixProcess.cc (fail): Removed.
15496         (startProcess): Simplified error-handling.  Preserve
15497         LD_LIBRARY_PATH across exec.
15498
15499         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15500         AbstractMethodError.
15501
15502 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15503
15504         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15505         * Makefile.in: Rebuilt.
15506
15507 2002-03-03 Mark Wielaard <mark@klomp.org>
15508
15509         * java/util/Timer (TaskQueue.stop): set elements to zero.
15510
15511 2002-02-28  Anthony Green  <green@redhat.com>
15512
15513         * java/lang/reflect/natMethod.cc (result): Add void* element.
15514         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15515         constructor test.
15516
15517 2002-02-27  Adam Megacz <adam@xwt.org>
15518
15519         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15520         '#undef STRICT'.
15521
15522 2002-02-26  Tom Tromey  <tromey@redhat.com>
15523
15524         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15525         * gij.cc (version): Use __VERSION__.
15526         * include/config.h.in: Rebuilt.
15527         * acconfig.h (GCJVERSION): Removed.
15528         * configure: Rebuilt.
15529         * configure.in (GCJVERSION): Removed.
15530
15531 2002-02-26  Andreas Schwab  <schwab@suse.de>
15532
15533         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15534         glibcpp_CXX, since libjava uses even another CXX.
15535         * aclocal.m4, configure: Regenerated.
15536
15537 2002-02-26  Tom Tromey  <tromey@redhat.com>
15538
15539         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15540         `1'.
15541
15542 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15543
15544         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15545         dependency tracking for .java files.
15546         * Makefile.in: Rebuilt.
15547
15548 2002-02-24  Adam Megacz  <adam@xwt.org>
15549
15550         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15551         typo. Sorry.
15552
15553 2002-02-24  Adam Megacz  <adam@xwt.org>
15554
15555         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15556         for Win32, changed #ifdefs to check WIN32 instead of the
15557         (now-obsolete) USE_WINSOCK, and removed support for socket
15558         timeouts on Win32 pending further discussion.
15559
15560 2002-02-24  Adam Megacz  <adam@xwt.org>
15561
15562         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15563         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15564         delete
15565
15566 2002-02-24  Adam Megacz  <adam@xwt.org>
15567
15568         * java/lang/Win32Process.java: Created a dummy class to allow
15569         build process to run to completion.
15570
15571 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15572
15573         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15574         Define ffi_result union for ffi_call result.  Cast
15575         ffi_result members to jvalue.
15576
15577 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15578
15579         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15580         * testsuite/Makefile.in: Likewise.
15581
15582 2002-02-20  Per Bothner  <per@bothner.com>
15583
15584         * java/net/URL.java (getPath):  New JDK 1.3 method.
15585
15586         * java/net/URLStreamHandler.java (parseURL):
15587         It is wrong to prepend '/' to the file part of a relative url.
15588
15589         * java/net/URLStreamHandler.java (parseURL):
15590         Minor optizations - append '/' rather than "/".
15591
15592         * java/net/URLStreamHandler.java (parseURL):
15593         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15594         We probably should canonicalize for a context-relative url, though.
15595         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15596         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15597         (sameFile):  New method.  Uses canonicalizeFilename.
15598
15599 2002-02-22  Tom Tromey  <tromey@redhat.com>
15600
15601         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15602         java.vendor and java.vm.vendor.
15603         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15604         recent copyright date.
15605         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15606         * gij.cc (version): Print `Inc'.
15607
15608 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15609
15610         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15611         * aclocal.m4, configure: Rebuilt.
15612
15613 2002-02-20  Per Bothner  <per@bothner.com>
15614
15615         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15616         and/or output streams immediately here, instead of using File.exists.
15617         (inputStream, outputStream):  New fields to save open streams.
15618         (getInputStream, getOutputStream):  Use already-opened streams.
15619
15620 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15621
15622         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15623         Use it.
15624         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15625         * aclocal.m4, configure, Makefile.in: Rebuilt.
15626
15627 2002-02-19  Tom Tromey  <tromey@redhat.com>
15628
15629         Fix for PR libgcj/5696:
15630         * verify.cc (is_assignable_from_slow): Never call
15631         _Jv_IsAssignableFrom.
15632         (verify_instructions_0): Added new debug statement.
15633         (state::print): Print information about whether local has
15634         changed.
15635         (state::merge): Don't call note_variable when merging locals.
15636         (state::set_exception): Removed old FIXME comment.
15637
15638 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15639
15640         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15641         enable SO_BROADCAST.
15642
15643 2002-02-18  Jason Merrill  <jason@redhat.com>
15644
15645         * name-finder.cc (toHex): Use word mode, not long long.
15646
15647         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15648
15649 2002-02-15  Tom Tromey  <tromey@redhat.com>
15650
15651         Fix for PR libgcj/5695:
15652         * verify.cc (is_assignable_from_slow): Check to see if target is
15653         an Object before checking to see if source is an interface.
15654         (verify_instructions_0) [op_invokeinterface]: Handle case where
15655         we're making an interface call on Object.
15656
15657 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15658
15659         * Makefile.in: Rebuilt with Eric's change below.
15660
15661         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15662         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15663         Removed functions which are now implemented in Math.java.
15664
15665 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15666
15667         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15668         * Makefile.am (core_java_source_files): Add
15669         java/lang/StrictMath.java.
15670         * java/lang/Math.java: Merge with Classpath.
15671         * java/lang/StrictMath.java: New file - merge with Classpath.
15672
15673 2002-02-14  Mark Wielaard  <mark@klomp.org>
15674
15675         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15676         package as a workaround for gcj 3.0.x
15677
15678 2002-02-14  Mark Wielaard <mark@klomp.org>
15679
15680         * java/security/BasicPermission.java: extends with fully qualified
15681         classname as workaround for gcj 3.0.4.
15682
15683 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15684
15685         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15686         around gcj bug of wrong emitted qualifier for inherited method.
15687         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15688         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15689         constructor to reduce amount of emitted bytecode. While this
15690         happens to work around a jikes 1.15 bug, it is still a useful
15691         patch even for correct compilers.
15692         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15693         * gnu/java/rmi/server/UnicastRemoteCall.java
15694         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15695
15696 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15697
15698         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15699         * java/net/SocketImpl.java: Ditto.
15700         * java/rmi/server/RMIClassLoader.java: Ditto.
15701         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15702
15703 2002-02-14  Mark Wielaard <mark@klomp.org>
15704
15705         Thanks to Takashi Okamoto
15706         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15707         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15708         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15709
15710 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15711
15712         Fix for PR libgcj/5670:
15713         * verify.cc (is_assignable_from_slow): If `source' is interface,
15714         recursively look for merge with `target'.
15715
15716 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15717
15718         * include/jni.h: Fix typo.
15719
15720 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15721
15722         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15723         correctly.
15724
15725 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15726
15727         Fix for PR libgcj/5671:
15728         * verify.cc (state::merge): Handle case where we're merging
15729         against an interface.
15730
15731 2002-02-12  Tom Tromey  <tromey@redhat.com>
15732
15733         * exception.cc (std::abort): Mark as noreturn.
15734
15735 2002-02-12  Adam Megacz <adam@xwt.org>
15736
15737         * java/lang/Win32Process.java: Filled in a placeholder
15738         implementation so Win32 will build.
15739
15740 2002-02-12  Adam Megacz <adam@xwt.org>
15741
15742         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15743         * java/io/natFile.cc: Removed from repository.
15744         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15745
15746 2002-02-12  Adam Megacz <adam@xwt.org>
15747
15748         * win32.cc: Added two #includes to make win32.cc compile.
15749
15750 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15751
15752         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15753         declarations.
15754         (_Jv_InitGC): Don't bother locking, as this is always called from a
15755         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15756
15757 2002-02-11  Adam Megacz <adam@xwt.org>
15758
15759         * include/win32.h: Added _Jv_platform_gettimeofday.
15760         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15761
15762 2002-02-11  Adam Megacz <adam@xwt.org>
15763
15764         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15765         Added #undef STRICT to make windows.h and
15766         java/lang/reflect/Modifier.h cooperate.
15767
15768 2002-02-11  Adam Megacz <adam@xwt.org>
15769
15770         * java/io/natFileWin32.cc: Created a placeholder class with lots
15771         of FIXMEs.
15772
15773 2002-02-11  Adam Megacz <adam@xwt.org>
15774
15775         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15776         std::abort() to simply abort(). Also added "fake" std::abort() so
15777         we can #include unwind-pe.h without having to link against
15778         libstdc++-v3.
15779
15780 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15781
15782         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15783
15784 2002-02-08  Tom Tromey  <tromey@redhat.com>
15785
15786         * interpret.cc (convert): New function.
15787         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15788         convert.
15789         Include Long.h.
15790
15791 2002-02-08  Anthony Green  <green@redhat.com>
15792
15793         * configure.host: Add support for xscale-elf embedded target.
15794
15795 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15796
15797         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15798         dereferenced.
15799         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15800         frame.
15801
15802 2002-02-07  Tom Tromey  <tromey@redhat.com>
15803
15804         * java/io/natFile.cc (_access): Use __builtin_alloca.
15805         (_stat): Likewise.
15806         (attr): Likewise.
15807         (getCanonicalPath): Likewise.
15808         (performList): Likewise.
15809         (performMkdir): Likewise.
15810         (performSetReadOnly): Likewise.
15811         (performRenameTo): Likewise.
15812         (performSetLastModified): Likewise.
15813         (performCreate): Likewise.
15814         (performDelete): Likewise.
15815
15816 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15817
15818         * HACKING: Fix URL for the automake-gcj.
15819
15820 2002-02-07  Tom Tromey  <tromey@redhat.com>
15821
15822         * java/lang/natThrowable.cc: Updated copyright.
15823         * java/io/natFileWin32.cc: Updated copyright.
15824         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15825         * win32-threads.cc: Updated copyright.
15826         * name-finder.cc: Updated copyright.
15827         * include/name-finder.h: Updated copyright.
15828
15829         * include/name-finder.h: Conditionally include sys/wait.h.
15830         * include/config.h.in: Rebuilt.
15831
15832         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15833         Size buffer based on real size of string.
15834         (_stat): Likewise.
15835         (attr): Likewise.
15836         (getCanonicalPath): Likewise.
15837         (performList): Likewise.
15838         (performMkdir): Likewise.
15839         (performSetReadOnly): Likewise.
15840         (unixroot): Removed.
15841         (performRenameTo): Likewise.
15842         (performSetLastModified): Likewise.
15843         (performCreate): Likewise.
15844         (performDelete): Likewise.
15845         (performListRoots): Always return new array.
15846
15847         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15848         * win32.cc (win32_exception_handler): Now static.
15849         * include/win32.h (_Jv_platform_initialize): Declare.
15850         (win32_exception_handler): Don't declare.
15851         * java/lang/natSystem.cc (currentTimeMillis): Use
15852         _Jv_platform_gettimeofday.
15853         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15854         (_Jv_select): Use new name.
15855         (_Jv_platform_initialize): New function.
15856         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15857         _Jv_gettimeofday.
15858         (_Jv_platform_initialize): Declare.
15859
15860         * configure: Rebuilt.
15861         * configure.in: Removed unnecessary parens.
15862
15863 2002-02-06  Adam Megacz <adam@xwt.org>
15864
15865        * configure.in: Changed mingw) to *mingw*).
15866        * win32.cc: Created this file.
15867        * win32.h: Created this file.
15868        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15869        win32_exception_handler from prims.cc to win32.cc, added
15870        header in win32.h.
15871        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15872        longer needed now that we have platform.h
15873
15874 2002-02-06  Adam Megacz <adam@xwt.org>
15875
15876         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15877         use uint<n>_t instead of LONG and BYTE
15878
15879 2002-02-06  Adam Megacz <adam@xwt.org>
15880
15881         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15882
15883 2002-02-06  Anthony Green  <green@redhat.com>
15884
15885         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15886         Implement missing method stubs.
15887         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15888         targets.
15889         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15890         concept of timezones.
15891         (init_properties): Don't refer to _Jv_Environment_Properties
15892         when this feature is not available.
15893         * include/config.h.in: Rebuilt.
15894         * acconfig.h: Add DISABLE_MAIN_ARGS.
15895         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15896         * configure: Rebuilt.
15897         * configure.in: Add --disable-main-args option.  Test for
15898           opendir function.  Replace AC_CHECK_SIZEOF with
15899           AC_COMPILE_CHECK_SIZEOF.
15900         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15901         * aclocal.m4: Rebuilt.
15902         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15903
15904 2002-02-06  Tom Tromey  <tromey@redhat.com>
15905
15906         * verify.cc (require_array_type): If argument is a null array of
15907         references, return null as the element type.
15908
15909 2002-02-06  Mark Wielaard  <mark@klomp.org>
15910
15911         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15912         duplicate of a wide type.
15913
15914 2002-02-06  Tom Tromey  <tromey@redhat.com>
15915
15916         * verify.cc (type::isnull): New method.
15917         (require_array_type): Handle case where array is null.
15918         (verify_instructions_0) [op_arraylength]: Likewise.
15919
15920 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15921
15922         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15923         Symlink PLATFORMH to platform.h.
15924         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15925         PLATFORMOBJS.
15926         * java/lang/natSystem.cc: #include platform.h not posix.h.
15927         * Makefile.in: Rebuilt with libgcj automake.
15928         * configure: Rebuilt.
15929
15930 2002-02-05  Richard Henderson  <rth@redhat.com>
15931
15932         * Makefile.in: Undo munging last change.
15933
15934 2002-02-04  Adam Megacz <adam@xwt.org>
15935
15936         * win32.cc: Created it.
15937         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15938         which is set to posix.cc or win32.cc.
15939         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15940
15941 2002-02-04  Adam Megacz <adam@xwt.org>
15942
15943         * configure.in: Corrected mingw case branches; added * before
15944         and after.
15945
15946 2002-02-04  Adam Megacz <adam@xwt.org>
15947
15948         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15949         if compiling for win32
15950
15951 2002-02-04  Adam Megacz <adam@xwt.org>
15952
15953         * win32-threads.cc: #undef STRICT after gc.h inclusion
15954
15955 2002-02-02  Tom Tromey  <tromey@redhat.com>
15956
15957         * Makefile.in: Rebuilt.
15958
15959 2002-02-02  Jason Merrill  <jason@redhat.com>
15960
15961         * Makefile.am (clean-nat): New target.
15962
15963 2002-02-02  Tom Tromey  <tromey@redhat.com>
15964
15965         * java/io/natFile.cc: Removed old "FIXME" comments.
15966
15967 2002-02-01  Tom Tromey  <tromey@redhat.com>
15968
15969         * java/lang/natPosixProcess.cc (myclose): New function.
15970         (fail): Use it.
15971         (startProcess): Likewise.
15972
15973 2002-02-01  Adam Megacz <adam@xwt.org>
15974
15975         * prims.cc: Added #undef STRICT after #include<windows.h>.
15976
15977 2002-02-01  Adam Megacz <adam@xwt.org>
15978
15979         * prims.cc
15980         (_Jv_CreateJavaVM): We now use WIN32 instead of
15981         USE_WIN32_SIGNALLING and USE_WINSOCK.
15982         (win32_exception_handler): Now throws an exception out of
15983         the signal handler; assumes SJLJ.
15984
15985 2002-02-01  Adam Megacz <adam@xwt.org>
15986
15987         * win32-threads.cc:
15988         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15989         wait() algorithm to make it safe.
15990         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15991         Added lazy creation of Win32 Events for better performance
15992         (really_start): This now uses GC_CreateThread so boehm-gc
15993         knows about new threads even when statically linked.
15994
15995 2002-02-01  Adam Megacz <adam@xwt.org>
15996
15997         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15998         enable safer wait() algorithm.
15999         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16000         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16001         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16002         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16003         instead of mutex.
16004         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16005
16006 2002-02-01  Adam Megacz <adam@xwt.org>
16007
16008         * configure.in: Added support for mingw.
16009         * java/lang/Win32Process.java: Created as empty file.
16010         * java/lang/natWin32Process.cc: Created as empty file.
16011
16012 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
16013
16014         PR java/4972
16015         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16016         for libiconv in LIBICONV variable.
16017         * configure: Regenerated.
16018
16019 2002-01-31  Tom Tromey  <tromey@redhat.com>
16020
16021         * verify.cc (state::enter_subroutine): New method.
16022         (handle_jsr_insn): Use it.
16023         (state::merge): When processing a `ret', correctly use
16024         subroutine's state to determine which local variables have
16025         changed.
16026         (push_exception_jump): Don't let stack overflow.
16027
16028 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
16029
16030         * gnu/gcj/convert/Convert.java: Only include one copyright year in
16031         --version output.
16032
16033 2002-01-30  Tom Tromey  <tromey@redhat.com>
16034
16035         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16036         parameter for `recv' return type.
16037
16038         * verify.cc (handle_ret_insn): Check for subroutine merge here...
16039         (state::merge): ... not here.
16040         (subr_entry_info): New structure.
16041         (entry_points): New field.
16042         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
16043         entry_points.
16044
16045 2002-01-29  Tom Tromey  <tromey@redhat.com>
16046
16047         * java/awt/List.java (addNotify): Correctly check to see if peer
16048         does not exist.
16049
16050         * java/awt/GridLayout.java (layoutContainer): Use number of rows
16051         to compute height of each cell, and number of columns to compute
16052         width of each cell.
16053         * java/awt/Window.java (getOwnedWindows): Don't return null.
16054         * java/awt/FlowLayout.java (layoutContainer): Set width and height
16055         of component.  Increment x using horizontal gap, not vertical
16056         gap.
16057
16058 2002-01-28  Tom Tromey  <tromey@redhat.com>
16059
16060         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16061         `nargs' byte is number of words, not number of arguments.
16062
16063 2002-01-27  Tom Tromey  <tromey@redhat.com>
16064
16065         * java/awt/event/MouseEvent.java (modifiers): Removed field.
16066         (when): Likewise.
16067         * java/awt/event/InputEvent.java (modifiers, when): Now
16068         package-private.
16069
16070         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16071         and to-do list.
16072         (state::merge): Use current class' class loader.
16073         (state::print): Print subroutine.
16074         (state::merge): Don't look at subroutine of unmerged `ret'.
16075
16076 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16077
16078         * nogc.cc: Remove warnings.
16079         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16080         New functions.
16081
16082 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16083
16084         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16085         int, int):  Remove empty "if" statement to work around compiler bug.
16086         (newPixels(int[], ColorModel, int, int): Likewise.
16087
16088 2002-01-25  Per Bothner  <per@bothner.com>
16089
16090         * verify.cc (verify_fail):  Change from being a top-level function
16091         to e method of _Jv_BytecodeVerifier.  Emit current method name.
16092         Pass the current verifier to type: and state: methods as needed,
16093         for better error messages, and for resolve.
16094         (resolve):  Pass current class's loader for Class.forName and
16095         _Jv_FindClassFromSignature, rather than using the default loader.
16096         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
16097         (get_type_val_for_signature):  Make non-static.
16098         (various methods):  Pass start_PC implicitly, not explicitly.
16099
16100 2002-01-25  Tom Tromey  <tromey@redhat.com>
16101
16102         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16103         loop termination condition.
16104         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16105         width.
16106
16107 2002-01-24  Tom Tromey  <tromey@redhat.com>
16108
16109         * java/awt/Shape.java: Merged with Classpath.
16110         * java/awt/Scrollbar.java: Merged with Classpath.
16111
16112         * java/awt/Container.java (addNotify): Unconditionally call
16113         addNotifyContainerChildren and superclass addNotify.
16114
16115         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16116         getAlpha, not getBlue.
16117
16118 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16119
16120         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16121
16122         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16123         (grabPixels(long)): Wait to be notified that the ImageProducer has
16124         completed.
16125
16126 2002-01-24  Per Bothner  <per@bothner.com>
16127
16128         * verify.cc (is_assignable_from_slow): If target is an interface,
16129         we must still check the source's superclass before giving up.
16130
16131 2002-01-24  Tom Tromey  <tromey@redhat.com>
16132
16133         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16134
16135 2002-01-23  Tom Tromey  <tromey@redhat.com>
16136
16137         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16138         `else'.
16139
16140         * Makefile.in: Rebuilt.
16141         * Makefile.am (awt_java_source_files): Added new files.
16142         * java/awt/Toolkit.java: Merged with Classpath.
16143         * java/awt/PrintGraphics.java: New file from Classpath.
16144         * java/awt/PrintJob.java: New file from Classpath.
16145         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16146         * java/awt/datatransfer/ClipboardOwner.java: New file from
16147         Classpath.
16148         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16149         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16150         * java/awt/datatransfer/MimeTypeParseException.java: New file from
16151         Classpath.
16152         * java/awt/datatransfer/StringSelection.java: New file from
16153         Classpath.
16154         * java/awt/datatransfer/SystemFlavorMap.java: New file from
16155         Classpath.
16156         * java/awt/datatransfer/Transferable.java: New file from
16157         Classpath.
16158         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16159         from Classpath.
16160
16161         * Makefile.in: Rebuilt.
16162         * Makefile.am (awt_java_source_files): Added new files.
16163         * java/awt/image/AreaAveragingScaleFilter.java: New file from
16164         Classpath.
16165         * java/awt/image/CropImageFilter.java: New file from Classpath.
16166         * java/awt/image/FilteredImageSource.java: New file from
16167         Classpath.
16168         * java/awt/image/ImageFilter.java: New file from Classpath.
16169         * java/awt/image/MemoryImageSource.java: New file from Classpath.
16170         * java/awt/image/PixelGrabber.java: New file from Classpath.
16171         * java/awt/image/RGBImageFilter.java: New file from Classpath.
16172         * java/awt/image/ReplicateScaleFilter.java: New file from
16173         Classpath.
16174         * java/awt/image/ImageProducer.java: Replaced with Classpath
16175         version.
16176         * java/awt/image/ImageObserver.java: Replaced with Classpath
16177         version.
16178         * java/awt/image/ImageConsumer.java: Replaced with Classpath
16179         version.
16180         * java/awt/GridBagConstraints.java (clone): Catch
16181         CloneNotSupportedException.
16182
16183 2002-01-23  Per Bothner  <per@bothner.com>
16184
16185         * java/lang/reflect/natField.cc (setAddr):  New function.
16186         Calls getAddr and then checks that the field isn't final.
16187         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16188         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
16189         (set):  Call setAddr before check that new value has right type,
16190         to better match specified semantics.
16191
16192 2002-01-22  Tom Tromey  <tromey@redhat.com>
16193
16194         * java/awt/TextField.java: Replaced with Classpath version.
16195         * java/awt/TextArea.java: Replaced with Classpath version.
16196         * java/awt/TextComponent.java: Replaced with Classpath version.
16197
16198         * java/awt/GridBagConstraints.java: Updated copyright.
16199
16200 2002-01-22  Mark Wielaard <mark@klomp.org>
16201
16202         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16203         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16204         java/awt/Dialog.java java/awt/FileDialog.java
16205         java/awt/Font.java java/awt/FontMetrics.java
16206         java/awt/Image.java java/awt/ImageMediaEntry.java
16207         java/awt/Insets.java java/awt/List.java
16208         java/awt/MediaEntry.java java/awt/MediaTracker.java
16209         java/awt/Menu.java java/awt/MenuBar.java
16210         java/awt/MenuContainer.java java/awt/MenuShortcut.java
16211         java/awt/PaintContext.java java/awt/Panel.java
16212         java/awt/PopupMenu.java java/awt/SystemColor.java
16213         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16214         java/awt/peer/CheckboxMenuItemPeer.java
16215         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16216         java/awt/peer/ComponentPeer.java
16217         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16218         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16219         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16220         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16221         java/awt/peer/MenuBarPeer.java
16222         java/awt/peer/MenuComponentPeer.java
16223         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16224         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16225         java/awt/peer/ScrollPanePeer.java
16226         java/awt/peer/ScrollbarPeer.java
16227         java/awt/peer/TextAreaPeer.java
16228         java/awt/peer/TextComponentPeer.java
16229         java/awt/peer/TextFieldPeer.java
16230         java/awt/peer/WindowPeer.java: Add license clarification.
16231
16232 2002-01-22  Mark Wielaard <mark@klomp.org>
16233
16234         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16235         gnu/gcj/runtime/StringBuffer.java
16236         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16237         gnu/java/awt/ComponentDataBlitOp.java
16238         gnu/java/awt/GLightweightPeer.java
16239         gnu/java/beans/BeanInfoEmbryo.java
16240         gnu/java/beans/EmptyBeanInfo.java
16241         gnu/java/beans/ExplicitBeanInfo.java
16242         gnu/java/beans/IntrospectionIncubator.java
16243         gnu/java/beans/editors/ColorEditor.java
16244         gnu/java/beans/editors/FontEditor.java
16245         gnu/java/beans/editors/NativeBooleanEditor.java
16246         gnu/java/beans/editors/NativeByteEditor.java
16247         gnu/java/beans/editors/NativeDoubleEditor.java
16248         gnu/java/beans/editors/NativeFloatEditor.java
16249         gnu/java/beans/editors/NativeIntEditor.java
16250         gnu/java/beans/editors/NativeLongEditor.java
16251         gnu/java/beans/editors/NativeShortEditor.java
16252         gnu/java/beans/editors/StringEditor.java
16253         gnu/java/beans/info/ComponentBeanInfo.java
16254         gnu/java/io/ClassLoaderObjectInputStream.java
16255         gnu/java/io/NullOutputStream.java
16256         gnu/java/io/ObjectIdentityWrapper.java
16257         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16258         gnu/java/lang/reflect/TypeSignature.java
16259         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16260         gnu/java/locale/Calendar_en.java
16261         gnu/java/locale/Calendar_nl.java
16262         gnu/java/locale/LocaleInformation.java
16263         gnu/java/locale/LocaleInformation_de.java
16264         gnu/java/locale/LocaleInformation_en.java
16265         gnu/java/locale/LocaleInformation_nl.java
16266         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16267         gnu/java/rmi/registry/RegistryImpl.java
16268         gnu/java/rmi/rmic/Compile_gcj.java
16269         gnu/java/rmi/rmic/Compiler.java
16270         gnu/java/rmi/rmic/CompilerProcess.java
16271         gnu/java/rmi/rmic/RMIC.java
16272         gnu/java/rmi/rmic/TabbedWriter.java
16273         gnu/java/rmi/server/ProtocolConstants.java
16274         gnu/java/rmi/server/RMIDefaultSocketFactory.java
16275         gnu/java/rmi/server/RMIHashes.java
16276         gnu/java/rmi/server/RMIObjectInputStream.java
16277         gnu/java/rmi/server/RMIObjectOutputStream.java
16278         gnu/java/rmi/server/UnicastConnection.java
16279         gnu/java/rmi/server/UnicastConnectionManager.java
16280         gnu/java/rmi/server/UnicastRef.java
16281         gnu/java/rmi/server/UnicastRemoteCall.java
16282         gnu/java/rmi/server/UnicastRemoteStub.java
16283         gnu/java/rmi/server/UnicastServer.java
16284         gnu/java/rmi/server/UnicastServerRef.java
16285         gnu/java/security/provider/DefaultPolicy.java
16286         gnu/java/security/provider/Gnu.java
16287         gnu/java/security/provider/SHA.java
16288         gnu/java/security/provider/SHA1PRNG.java
16289         gnu/java/text/BaseBreakIterator.java
16290         gnu/java/text/CharacterBreakIterator.java
16291         gnu/java/text/LineBreakIterator.java
16292         gnu/java/text/SentenceBreakIterator.java
16293         gnu/java/text/WordBreakIterator.java
16294         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16295         java/applet/AppletContext.java java/applet/AppletStub.java
16296         java/applet/AudioClip.java java/awt/AWTError.java
16297         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16298         java/awt/AWTException.java java/awt/AWTPermission.java
16299         java/awt/ActiveEvent.java java/awt/BorderLayout.java
16300         java/awt/Button.java java/awt/Canvas.java
16301         java/awt/CardLayout.java java/awt/Checkbox.java
16302         java/awt/CheckboxGroup.java java/awt/Component.java
16303         java/awt/ComponentOrientation.java java/awt/Container.java
16304         java/awt/Dimension.java java/awt/Event.java
16305         java/awt/EventDispatchThread.java java/awt/EventQueue.java
16306         java/awt/FlowLayout.java java/awt/Frame.java
16307         java/awt/Graphics.java java/awt/Graphics2D.java
16308         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16309         java/awt/IllegalComponentStateException.java
16310         java/awt/ItemSelectable.java java/awt/Label.java
16311         java/awt/LayoutManager.java java/awt/LayoutManager2.java
16312         java/awt/MenuComponent.java java/awt/MenuItem.java
16313         java/awt/Paint.java java/awt/Point.java
16314         java/awt/Rectangle.java java/awt/RenderingHints.java
16315         java/awt/Transparency.java java/awt/Window.java
16316         java/awt/color/ColorSpace.java
16317         java/awt/color/ICC_ColorSpace.java
16318         java/awt/color/ICC_Profile.java
16319         java/awt/event/HierarchyBoundsAdapter.java
16320         java/awt/event/HierarchyBoundsListener.java
16321         java/awt/event/HierarchyEvent.java
16322         java/awt/event/HierarchyListener.java
16323         java/awt/geom/AffineTransform.java
16324         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16325         java/awt/geom/IllegalPathStateException.java
16326         java/awt/geom/Line2D.java
16327         java/awt/geom/NoninvertibleTransformException.java
16328         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16329         java/awt/geom/Rectangle2D.java
16330         java/awt/geom/RectangularShape.java
16331         java/awt/geom/RoundRectangle2D.java
16332         java/awt/image/BufferedImage.java
16333         java/awt/image/ColorModel.java
16334         java/awt/image/ComponentColorModel.java
16335         java/awt/image/ComponentSampleModel.java
16336         java/awt/image/DataBuffer.java
16337         java/awt/image/DataBufferByte.java
16338         java/awt/image/DataBufferInt.java
16339         java/awt/image/DataBufferUShort.java
16340         java/awt/image/DirectColorModel.java
16341         java/awt/image/PackedColorModel.java
16342         java/awt/image/Raster.java java/awt/image/RasterOp.java
16343         java/awt/image/SampleModel.java
16344         java/awt/image/SinglePixelPackedSampleModel.java
16345         java/awt/image/WritableRaster.java
16346         java/beans/AppletInitializer.java
16347         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16348         java/beans/Beans.java java/beans/Customizer.java
16349         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16350         java/beans/FeatureDescriptor.java
16351         java/beans/IndexedPropertyDescriptor.java
16352         java/beans/IntrospectionException.java
16353         java/beans/Introspector.java java/beans/MethodDescriptor.java
16354         java/beans/ParameterDescriptor.java
16355         java/beans/PropertyChangeEvent.java
16356         java/beans/PropertyChangeListener.java
16357         java/beans/PropertyChangeSupport.java
16358         java/beans/PropertyDescriptor.java
16359         java/beans/PropertyEditor.java
16360         java/beans/PropertyEditorManager.java
16361         java/beans/PropertyEditorSupport.java
16362         java/beans/PropertyVetoException.java
16363         java/beans/SimpleBeanInfo.java
16364         java/beans/VetoableChangeListener.java
16365         java/beans/VetoableChangeSupport.java
16366         java/beans/Visibility.java
16367         java/beans/beancontext/BeanContext.java
16368         java/beans/beancontext/BeanContextChild.java
16369         java/beans/beancontext/BeanContextChildComponentProxy.java
16370         java/beans/beancontext/BeanContextChildSupport.java
16371         java/beans/beancontext/BeanContextContainerProxy.java
16372         java/beans/beancontext/BeanContextEvent.java
16373         java/beans/beancontext/BeanContextMembershipEvent.java
16374         java/beans/beancontext/BeanContextMembershipListener.java
16375         java/beans/beancontext/BeanContextProxy.java
16376         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16377         java/beans/beancontext/BeanContextServiceProvider.java
16378         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16379         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16380         java/beans/beancontext/BeanContextServiceRevokedListener.java
16381         java/beans/beancontext/BeanContextServices.java
16382         java/beans/beancontext/BeanContextServicesListener.java
16383         java/io/BufferedInputStream.java
16384         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16385         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16386         java/io/ByteArrayOutputStream.java
16387         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16388         java/io/CharConversionException.java java/io/DataInput.java
16389         java/io/DataInputStream.java java/io/DataOutput.java
16390         java/io/EOFException.java java/io/Externalizable.java
16391         java/io/FileFilter.java java/io/FileNotFoundException.java
16392         java/io/FilePermission.java java/io/FileReader.java
16393         java/io/FileWriter.java java/io/FilenameFilter.java
16394         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16395         java/io/FilterReader.java java/io/FilterWriter.java
16396         java/io/IOException.java java/io/InputStream.java
16397         java/io/InterruptedIOException.java
16398         java/io/InvalidClassException.java
16399         java/io/InvalidObjectException.java
16400         java/io/NotActiveException.java
16401         java/io/NotSerializableException.java java/io/ObjectInput.java
16402         java/io/ObjectInputStream.java
16403         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16404         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16405         java/io/ObjectStreamConstants.java
16406         java/io/ObjectStreamException.java
16407         java/io/ObjectStreamField.java
16408         java/io/OptionalDataException.java java/io/OutputStream.java
16409         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16410         java/io/PipedReader.java java/io/PipedWriter.java
16411         java/io/PrintWriter.java java/io/PushbackInputStream.java
16412         java/io/PushbackReader.java java/io/Reader.java
16413         java/io/SequenceInputStream.java java/io/Serializable.java
16414         java/io/SerializablePermission.java
16415         java/io/StreamCorruptedException.java
16416         java/io/StreamTokenizer.java
16417         java/io/StringBufferInputStream.java java/io/StringReader.java
16418         java/io/StringWriter.java java/io/SyncFailedException.java
16419         java/io/UTFDataFormatException.java
16420         java/io/UnsupportedEncodingException.java
16421         java/io/WriteAbortedException.java java/io/Writer.java
16422         java/lang/AbstractMethodError.java
16423         java/lang/ArithmeticException.java
16424         java/lang/ArrayIndexOutOfBoundsException.java
16425         java/lang/ArrayStoreException.java java/lang/Boolean.java
16426         java/lang/Byte.java java/lang/CharSequence.java
16427         java/lang/ClassCastException.java
16428         java/lang/ClassCircularityError.java
16429         java/lang/ClassFormatError.java
16430         java/lang/ClassNotFoundException.java
16431         java/lang/CloneNotSupportedException.java
16432         java/lang/Cloneable.java java/lang/Comparable.java
16433         java/lang/Compiler.java java/lang/Double.java
16434         java/lang/Error.java java/lang/Exception.java
16435         java/lang/ExceptionInInitializerError.java
16436         java/lang/Float.java java/lang/IllegalAccessError.java
16437         java/lang/IllegalAccessException.java
16438         java/lang/IllegalArgumentException.java
16439         java/lang/IllegalMonitorStateException.java
16440         java/lang/IllegalStateException.java
16441         java/lang/IllegalThreadStateException.java
16442         java/lang/IncompatibleClassChangeError.java
16443         java/lang/IndexOutOfBoundsException.java
16444         java/lang/InheritableThreadLocal.java
16445         java/lang/InstantiationError.java
16446         java/lang/InstantiationException.java java/lang/Integer.java
16447         java/lang/InternalError.java
16448         java/lang/InterruptedException.java
16449         java/lang/LinkageError.java java/lang/Long.java
16450         java/lang/NegativeArraySizeException.java
16451         java/lang/NoClassDefFoundError.java
16452         java/lang/NoSuchFieldError.java
16453         java/lang/NoSuchFieldException.java
16454         java/lang/NoSuchMethodError.java
16455         java/lang/NoSuchMethodException.java
16456         java/lang/NullPointerException.java java/lang/Number.java
16457         java/lang/NumberFormatException.java
16458         java/lang/OutOfMemoryError.java java/lang/Package.java
16459         java/lang/Process.java java/lang/Runnable.java
16460         java/lang/RuntimeException.java
16461         java/lang/RuntimePermission.java
16462         java/lang/SecurityException.java
16463         java/lang/SecurityManager.java java/lang/Short.java
16464         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16465         java/lang/StringIndexOutOfBoundsException.java
16466         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16467         java/lang/ThreadLocal.java java/lang/UnknownError.java
16468         java/lang/UnsatisfiedLinkError.java
16469         java/lang/UnsupportedClassVersionError.java
16470         java/lang/UnsupportedOperationException.java
16471         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16472         java/lang/Void.java java/lang/ref/PhantomReference.java
16473         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16474         java/lang/ref/SoftReference.java
16475         java/lang/ref/WeakReference.java
16476         java/lang/reflect/AccessibleObject.java
16477         java/lang/reflect/InvocationTargetException.java
16478         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16479         java/lang/reflect/ReflectPermission.java
16480         java/math/BigDecimal.java java/math/BigInteger.java
16481         java/net/Authenticator.java java/net/BindException.java
16482         java/net/ConnectException.java java/net/ContentHandler.java
16483         java/net/ContentHandlerFactory.java
16484         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16485         java/net/FileNameMap.java java/net/MalformedURLException.java
16486         java/net/MulticastSocket.java java/net/NetPermission.java
16487         java/net/NoRouteToHostException.java
16488         java/net/PasswordAuthentication.java
16489         java/net/ProtocolException.java java/net/ServerSocket.java
16490         java/net/Socket.java java/net/SocketException.java
16491         java/net/SocketImpl.java java/net/SocketImplFactory.java
16492         java/net/SocketOptions.java java/net/SocketPermission.java
16493         java/net/URLDecoder.java java/net/URLEncoder.java
16494         java/net/URLStreamHandlerFactory.java
16495         java/net/UnknownHostException.java
16496         java/net/UnknownServiceException.java
16497         java/rmi/AccessException.java
16498         java/rmi/AlreadyBoundException.java
16499         java/rmi/ConnectException.java
16500         java/rmi/ConnectIOException.java
16501         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16502         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16503         java/rmi/NotBoundException.java
16504         java/rmi/RMISecurityException.java
16505         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16506         java/rmi/RemoteException.java java/rmi/ServerError.java
16507         java/rmi/ServerException.java
16508         java/rmi/ServerRuntimeException.java
16509         java/rmi/StubNotFoundException.java
16510         java/rmi/UnexpectedException.java
16511         java/rmi/UnknownHostException.java
16512         java/rmi/UnmarshalException.java
16513         java/rmi/activation/Activatable.java
16514         java/rmi/activation/ActivateFailedException.java
16515         java/rmi/activation/ActivationDesc.java
16516         java/rmi/activation/ActivationException.java
16517         java/rmi/activation/ActivationGroup.java
16518         java/rmi/activation/ActivationGroupDesc.java
16519         java/rmi/activation/ActivationGroupID.java
16520         java/rmi/activation/ActivationID.java
16521         java/rmi/activation/ActivationInstantiator.java
16522         java/rmi/activation/ActivationMonitor.java
16523         java/rmi/activation/ActivationSystem.java
16524         java/rmi/activation/Activator.java
16525         java/rmi/activation/UnknownGroupException.java
16526         java/rmi/activation/UnknownObjectException.java
16527         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16528         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16529         java/rmi/registry/Registry.java
16530         java/rmi/registry/RegistryHandler.java
16531         java/rmi/server/ExportException.java
16532         java/rmi/server/LoaderHandler.java
16533         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16534         java/rmi/server/Operation.java
16535         java/rmi/server/RMIClassLoader.java
16536         java/rmi/server/RMIClientSocketFactory.java
16537         java/rmi/server/RMIFailureHandler.java
16538         java/rmi/server/RMIServerSocketFactory.java
16539         java/rmi/server/RMISocketFactory.java
16540         java/rmi/server/RemoteCall.java
16541         java/rmi/server/RemoteObject.java
16542         java/rmi/server/RemoteRef.java
16543         java/rmi/server/RemoteServer.java
16544         java/rmi/server/RemoteStub.java
16545         java/rmi/server/ServerCloneException.java
16546         java/rmi/server/ServerNotActiveException.java
16547         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16548         java/rmi/server/SkeletonMismatchException.java
16549         java/rmi/server/SkeletonNotFoundException.java
16550         java/rmi/server/SocketSecurityException.java
16551         java/rmi/server/UID.java
16552         java/rmi/server/UnicastRemoteObject.java
16553         java/rmi/server/Unreferenced.java
16554         java/security/AccessControlContext.java
16555         java/security/AccessControlException.java
16556         java/security/AccessController.java
16557         java/security/AlgorithmParameterGenerator.java
16558         java/security/AlgorithmParameterGeneratorSpi.java
16559         java/security/AlgorithmParameters.java
16560         java/security/AlgorithmParametersSpi.java
16561         java/security/AllPermission.java
16562         java/security/BasicPermission.java
16563         java/security/Certificate.java java/security/CodeSource.java
16564         java/security/DigestException.java
16565         java/security/DigestInputStream.java
16566         java/security/DigestOutputStream.java
16567         java/security/DomainCombiner.java
16568         java/security/DummyKeyPairGenerator.java
16569         java/security/DummyMessageDigest.java
16570         java/security/DummySignature.java
16571         java/security/GeneralSecurityException.java
16572         java/security/Guard.java java/security/GuardedObject.java
16573         java/security/Identity.java java/security/IdentityScope.java
16574         java/security/InvalidAlgorithmParameterException.java
16575         java/security/InvalidKeyException.java
16576         java/security/InvalidParameterException.java
16577         java/security/Key.java java/security/KeyException.java
16578         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16579         java/security/KeyManagementException.java
16580         java/security/KeyPair.java java/security/KeyPairGenerator.java
16581         java/security/KeyPairGeneratorSpi.java
16582         java/security/KeyStore.java
16583         java/security/KeyStoreException.java
16584         java/security/KeyStoreSpi.java
16585         java/security/MessageDigest.java
16586         java/security/MessageDigestSpi.java
16587         java/security/NoSuchAlgorithmException.java
16588         java/security/NoSuchProviderException.java
16589         java/security/Permission.java
16590         java/security/PermissionCollection.java
16591         java/security/Permissions.java java/security/Policy.java
16592         java/security/Principal.java java/security/PrivateKey.java
16593         java/security/PrivilegedAction.java
16594         java/security/PrivilegedActionException.java
16595         java/security/PrivilegedExceptionAction.java
16596         java/security/ProtectionDomain.java
16597         java/security/Provider.java
16598         java/security/ProviderException.java
16599         java/security/PublicKey.java
16600         java/security/SecureClassLoader.java
16601         java/security/SecureRandom.java
16602         java/security/SecureRandomSpi.java java/security/Security.java
16603         java/security/SecurityPermission.java
16604         java/security/Signature.java
16605         java/security/SignatureException.java
16606         java/security/SignatureSpi.java
16607         java/security/SignedObject.java java/security/Signer.java
16608         java/security/UnrecoverableKeyException.java
16609         java/security/UnresolvedPermission.java
16610         java/security/acl/Acl.java java/security/acl/AclEntry.java
16611         java/security/acl/AclNotFoundException.java
16612         java/security/acl/Group.java
16613         java/security/acl/LastOwnerException.java
16614         java/security/acl/NotOwnerException.java
16615         java/security/acl/Owner.java java/security/acl/Permission.java
16616         java/security/cert/CRL.java
16617         java/security/cert/CRLException.java
16618         java/security/cert/Certificate.java
16619         java/security/cert/CertificateEncodingException.java
16620         java/security/cert/CertificateException.java
16621         java/security/cert/CertificateExpiredException.java
16622         java/security/cert/CertificateFactory.java
16623         java/security/cert/CertificateFactorySpi.java
16624         java/security/cert/CertificateNotYetValidException.java
16625         java/security/cert/CertificateParsingException.java
16626         java/security/cert/X509CRL.java
16627         java/security/cert/X509CRLEntry.java
16628         java/security/cert/X509Certificate.java
16629         java/security/cert/X509Extension.java
16630         java/security/interfaces/DSAKey.java
16631         java/security/interfaces/DSAKeyPairGenerator.java
16632         java/security/interfaces/DSAParams.java
16633         java/security/interfaces/DSAPrivateKey.java
16634         java/security/interfaces/DSAPublicKey.java
16635         java/security/interfaces/RSAKey.java
16636         java/security/interfaces/RSAPrivateCrtKey.java
16637         java/security/interfaces/RSAPrivateKey.java
16638         java/security/interfaces/RSAPublicKey.java
16639         java/security/spec/AlgorithmParameterSpec.java
16640         java/security/spec/DSAParameterSpec.java
16641         java/security/spec/DSAPrivateKeySpec.java
16642         java/security/spec/DSAPublicKeySpec.java
16643         java/security/spec/EncodedKeySpec.java
16644         java/security/spec/InvalidKeySpecException.java
16645         java/security/spec/InvalidParameterSpecException.java
16646         java/security/spec/KeySpec.java
16647         java/security/spec/PKCS8EncodedKeySpec.java
16648         java/security/spec/RSAKeyGenParameterSpec.java
16649         java/security/spec/RSAPrivateCrtKeySpec.java
16650         java/security/spec/RSAPrivateKeySpec.java
16651         java/security/spec/RSAPublicKeySpec.java
16652         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16653         java/sql/BatchUpdateException.java java/sql/Blob.java
16654         java/sql/CallableStatement.java java/sql/Clob.java
16655         java/sql/Connection.java java/sql/DataTruncation.java
16656         java/sql/DatabaseMetaData.java java/sql/Date.java
16657         java/sql/Driver.java java/sql/DriverManager.java
16658         java/sql/DriverPropertyInfo.java
16659         java/sql/PreparedStatement.java java/sql/Ref.java
16660         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16661         java/sql/SQLData.java java/sql/SQLException.java
16662         java/sql/SQLInput.java java/sql/SQLOutput.java
16663         java/sql/SQLWarning.java java/sql/Statement.java
16664         java/sql/Struct.java java/sql/Time.java
16665         java/sql/Timestamp.java java/sql/Types.java
16666         java/text/Annotation.java
16667         java/text/AttributedCharacterIterator.java
16668         java/text/AttributedString.java
16669         java/text/AttributedStringIterator.java
16670         java/text/BreakIterator.java java/text/CharacterIterator.java
16671         java/text/ChoiceFormat.java java/text/Collator.java
16672         java/text/DateFormat.java java/text/DateFormatSymbols.java
16673         java/text/DecimalFormat.java
16674         java/text/DecimalFormatSymbols.java
16675         java/text/FieldPosition.java java/text/Format.java
16676         java/text/MessageFormat.java java/text/NumberFormat.java
16677         java/text/ParseException.java java/text/ParsePosition.java
16678         java/text/SimpleDateFormat.java
16679         java/text/StringCharacterIterator.java
16680         java/util/AbstractCollection.java java/util/AbstractList.java
16681         java/util/AbstractMap.java
16682         java/util/AbstractSequentialList.java
16683         java/util/AbstractSet.java java/util/ArrayList.java
16684         java/util/Arrays.java java/util/BasicMapEntry.java
16685         java/util/BitSet.java java/util/Calendar.java
16686         java/util/Collection.java java/util/Collections.java
16687         java/util/Comparator.java
16688         java/util/ConcurrentModificationException.java
16689         java/util/Date.java java/util/Dictionary.java
16690         java/util/EmptyStackException.java java/util/Enumeration.java
16691         java/util/EventListener.java java/util/EventObject.java
16692         java/util/GregorianCalendar.java java/util/HashMap.java
16693         java/util/HashSet.java java/util/Hashtable.java
16694         java/util/IdentityHashMap.java java/util/Iterator.java
16695         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16696         java/util/LinkedList.java java/util/List.java
16697         java/util/ListIterator.java java/util/ListResourceBundle.java
16698         java/util/Locale.java java/util/Map.java
16699         java/util/MissingResourceException.java
16700         java/util/NoSuchElementException.java
16701         java/util/Observable.java java/util/Observer.java
16702         java/util/Properties.java java/util/PropertyPermission.java
16703         java/util/PropertyResourceBundle.java java/util/Random.java
16704         java/util/RandomAccess.java java/util/ResourceBundle.java
16705         java/util/Set.java java/util/SimpleTimeZone.java
16706         java/util/SortedMap.java java/util/SortedSet.java
16707         java/util/Stack.java java/util/StringTokenizer.java
16708         java/util/TimeZone.java java/util/Timer.java
16709         java/util/TimerTask.java
16710         java/util/TooManyListenersException.java
16711         java/util/TreeMap.java java/util/TreeSet.java
16712         java/util/Vector.java java/util/WeakHashMap.java
16713         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16714         java/util/jar/JarException.java java/util/jar/JarFile.java
16715         java/util/jar/JarInputStream.java
16716         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16717         java/util/zip/Adler32.java java/util/zip/CRC32.java
16718         java/util/zip/CheckedInputStream.java
16719         java/util/zip/CheckedOutputStream.java
16720         java/util/zip/Checksum.java
16721         java/util/zip/DataFormatException.java
16722         java/util/zip/Deflater.java
16723         java/util/zip/DeflaterOutputStream.java
16724         java/util/zip/GZIPInputStream.java
16725         java/util/zip/GZIPOutputStream.java
16726         java/util/zip/Inflater.java
16727         java/util/zip/InflaterInputStream.java
16728         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16729         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16730         java/util/zip/ZipInputStream.java
16731         java/util/zip/ZipOutputStream.java
16732         javax/naming/BinaryRefAddr.java
16733         javax/naming/InvalidNameException.java javax/naming/Name.java
16734         javax/naming/NamingException.java javax/naming/RefAddr.java
16735         javax/naming/StringRefAddr.java: Add license clarification.
16736
16737 2002-01-22  Tom Tromey  <tromey@redhat.com>
16738
16739         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16740         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16741         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16742         version.
16743         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16744         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16745         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16746         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16747         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16748         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16749         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16750         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16751         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16752         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16753         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16754         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16755         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16756         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16757         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16758         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16759         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16760         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16761         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16762         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16763         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16764         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16765         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16766         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16767         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16768         (minimumSize, preferredSize, reshape): Likewise.
16769         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16770         getColorModel): New methods.
16771         * java/awt/PopupMenu.java: Merged with Classpath.
16772         * java/awt/MenuBar.java: Merged with Classpath.
16773         * java/awt/SystemColor.java: Replace with Classpath version.
16774         * java/awt/Panel.java: Merged with Classpath.
16775         * java/awt/PaintContext.java: Updated copyright.
16776         * java/awt/MenuShortcut.java: Merged with Classpath.
16777         * java/awt/MenuContainer.java: Merged with Classpath.
16778         * java/awt/Menu.java: Merged with Classpath.
16779         * java/awt/MediaEntry.java: New file from Classpath.
16780         * java/awt/MediaTracker.java: New file from Classpath.
16781         * java/awt/List.java: Merged with Classpath version.
16782         * java/awt/Insets.java: Merged with Classpath version.
16783         * java/awt/ImageMediaEntry.java: New file from Classpath.
16784         * java/awt/Image.java: Replaced with Classpath version.
16785         * java/awt/FontMetrics.java: Merged with Classpath version.
16786         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16787         constant.
16788         * java/awt/Font.java: Merged with Classpath version.
16789         * java/awt/Dialog.java: Merged with Classpath version.
16790         * java/awt/Color.java: Merged with Classpath version.
16791         * java/awt/Choice.java: Merged with Classpath version.
16792         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16793         * java/awt/Adjustable.java: Replace with Classpath version.
16794         * java/awt/MenuItem.java (paramString): Don't include class name
16795         or brackets.  Call superclass paramString.
16796         * java/awt/MenuComponent.java (toString): Call paramString.
16797         (paramString): Compute string; don't call toString.
16798         * java/awt/Label.java (paramString): Don't include class name
16799         or brackets.  Call superclass paramString.
16800         * java/awt/Checkbox.java (paramString): Don't include class name
16801         or brackets.  Call superclass paramString.
16802         * java/awt/Button.java (paramString): Don't include class name or
16803         brackets.  Call superclass paramString.
16804         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16805
16806 2002-01-20  Andreas Schwab  <schwab@suse.de>
16807
16808         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16809         function and of parameter recv_func to ssize_t, as specified by
16810         POSIX.
16811
16812 2002-01-19  Per Bothner  <per@bothner.com>
16813
16814         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16815         uncompressed_size in readiness for next entry.
16816
16817 2002-01-18  Tom Tromey  <tromey@redhat.com>
16818
16819         * java/net/natPlainSocketImpl.cc: Include
16820         IllegalArgumentException.h.
16821         (_Jv_recv): New template function.
16822         (BooleanClass): Removed.
16823         (read): Use _Jv_recv.
16824         (setOption): Use Boolean::class$.  Throw exception if object is
16825         not Boolean or Integer.
16826
16827 2002-01-17  Tom Tromey  <tromey@redhat.com>
16828
16829         * java/awt/MenuComponent.java: Merged with Classpath.
16830         * java/awt/MenuItem.java: Merged with Classpath.
16831         * java/awt/Button.java: Merged with Classpath.
16832
16833         * java/awt/ActiveEvent.java: Updated copyright.
16834
16835         * java/awt/AWTError.java: Replaced with Classpath version.
16836         * java/awt/AWTException.java: Replaced with Classpath version.
16837         * java/awt/IllegalComponentStateException.java: Replaced with
16838         Classpath version.
16839
16840 2002-01-16  Tom Tromey  <tromey@redhat.com>
16841
16842         * java/awt/Canvas.java (serialVersionUID): New constant.
16843         Updated copyright.  Added javadoc from Classpath.
16844         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16845
16846         * java/awt/CheckboxGroup.java: Merged with Classpath.
16847         * java/awt/Checkbox.java: Merged with Classpath.
16848
16849         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16850         Classpath.
16851         * java/awt/Point.java: Updated copyright.
16852
16853         * java/awt/Point.java (toString): Use getClass().getName().
16854         Added javadoc.
16855
16856         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16857         commented code.
16858         (hash): Correctly compute initial value for `h'.
16859
16860         * java/awt/Label.java: Merged with Classpath.
16861
16862 2002-01-15  Tom Tromey  <tromey@redhat.com>
16863
16864         * java/awt/AWTPermission.java: Updated copyright.
16865
16866         * java/awt/LayoutManager2.java: Merged with Classpath.
16867         * java/awt/LayoutManager.java: Merged with Classpath.
16868         * java/awt/GridLayout.java: Updated copyright and javadoc.
16869         (getSize): Use `parent.ncomponents'.  Handle insets.
16870         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16871         there are fewer children than columns.  Correctly compute size of
16872         each cell in the grid.  Handle case where there isn't enough
16873         space.
16874         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16875         all users.
16876         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16877         before calling setVisible() on it.  Last item is `num - 1', not
16878         `num'.
16879         (layoutContainer): Hoist invariants out of loop.
16880
16881         Start of AWT merge with Classpath:
16882         * Makefile.in: Rebuilt.
16883         * Makefile.am (awt_java_source_files): Reference files in
16884         gnu/java/awt, not gnu/gcj/awt.
16885         * java/awt/image/BufferedImage.java: Updated copyright.
16886         * java/awt/image/ComponentColorModel.java: Updated copyright.
16887         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16888         * java/awt/image/DataBuffer.java: Updated copyright.
16889         * java/awt/image/DataBufferByte.java: Updated copyright.
16890         * java/awt/image/DataBufferInt.java: Updated copyright.
16891         * java/awt/image/DataBufferUShort.java: Updated copyright.
16892         * java/awt/image/IndexColorModel.java: Updated copyright.
16893         * java/awt/image/PackedColorModel.java: Updated copyright.
16894         * java/awt/image/Raster.java: Updated copyright.
16895         * java/awt/image/RasterOp.java: Updated copyright.
16896         * java/awt/image/SampleModel.java: Updated copyright.
16897         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16898         * java/awt/image/WritableRaster.java: Updated copyright.
16899         * java/awt/color/ColorSpace.java: Updated copyright.
16900         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16901         * java/awt/color/ICC_Profile.java: Updated copyright.
16902         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16903         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16904         * java/awt/event/HierarchyEvent.java: Updated copyright.
16905         * java/awt/event/HierarchyListener.java: Updated copyright.
16906         * java/awt/geom/AffineTransform.java: Updated copyright.
16907         * java/awt/geom/Dimension2D.java: Updated copyright.
16908         * java/awt/geom/Ellipse2D.java: Updated copyright.
16909         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16910         * java/awt/geom/Line2D.java: Updated copyright.
16911         * java/awt/geom/NoninvertibleTransformException.java: Updated
16912         copyright.
16913         * java/awt/geom/PathIterator.java: Updated copyright.
16914         * java/awt/geom/Point2D.java: Updated copyright.
16915         * java/awt/geom/Rectangle2D.java: Updated copyright.
16916         * java/awt/geom/RectangularShape.java: Updated copyright.
16917         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16918         * java/awt/Toolkit.java: Updated import for file moves.
16919         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16920         Classpath.
16921         (hashCode): New method from Classpath.
16922         * java/awt/Graphics2D.java: Updated copyright.
16923         * java/awt/Transparency.java: Updated copyright.
16924         * java/awt/Paint.java: Updated copyright.
16925         * java/awt/Graphics.java: New version from Classpath.
16926         * java/awt/EventDispatchThread.java: Updated copyright.
16927         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16928         children.
16929         (gotoComponent): Wrap around on next/previous.
16930         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16931         * gnu/gcj/awt/Buffers.java: Removed.
16932         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16933         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16934         * gnu/java/awt/BitMaskExtent.java: Added.
16935         * gnu/java/awt/Buffers.java: Added.
16936         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16937         * gnu/java/awt/GLightweightPeer.java: Added.
16938         * java/awt/geom/Line2D.java (clone): Ignore
16939         CloneNotSupportedException.
16940         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16941         * java/awt/Frame.java: Merged with Classpath.
16942         * java/awt/RenderingHints.java: Copyright update.
16943         * java/awt/Paint.java: Copyright update.
16944         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16945         * java/awt/image/ColorModel.java: Merged with Classpath.
16946         * java/awt/Window.java (show): New Implementation from Classpath.
16947         (isShowing): Use super.isShowing().
16948         * java/awt/EventQueue.java: Merged with Classpath.
16949         * java/awt/AWTEventMulticaster.java (save): Throw
16950         RuntimeException.
16951         (saveInternal): Likewise.
16952         * java/awt/AWTEvent.java: Now implements Serializable.
16953         * java/awt/Event.java: Copyright update.
16954         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16955         * java/awt/image/BufferedImage.java: Copyright update.
16956         * java/awt/GraphicsConfiguration.java: Copyright update.
16957         * java/awt/Component.java: (addNotify): Don't call
16958         addNotifyContainerChildren().
16959         (addNotifyContainerChildren): Removed.
16960         (setPeer): New method from Classpath.
16961         (setTreeLock): Likewise.
16962         (setVisible): Rewrote.
16963         (show): Use it.
16964         (hide): Likewise.
16965         (validate): Set `valid'.
16966         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16967         (createImage(ImageProducer)): Likewise.
16968         (prepareImage): Likewise.
16969         * java/awt/Container.java (addImpl): Handle case where constraint
16970         is not a String.  Post event via system event queue.
16971         (remove): Post event via system event queue.
16972         (validateTree): Only validate child if it is invalid.
16973         (getAlignmentX): Call super method as default.
16974         (getAlignmentY): Likewise.
16975         (addContainerListener): Now synchronized.
16976         (removeContainerListener): Likewise.
16977         (addNotifyContainerChildren): Now private.
16978         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16979         @author.
16980         * java/awt/FlowLayout.java (serialVersionUID): New field.
16981         (setAlignment): Better exception message.
16982         (layoutContainer): Don't compute component's preferred size unless
16983         we're going to use it.
16984         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16985         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16986         (firstLine, lastLine, firstItem, lastItem): New fields.
16987         (addLayoutComponent): Handle case where constraints is null.
16988         Also, handle relative locations.
16989         (removeLayoutComponent): Handle relative locations.
16990         (MIN, MAX, PREF): New constants.
16991         (calcCompSize): New method.
16992         (calcSize): New method.
16993         (minimumLayoutSize): Use it.
16994         (preferredLayoutSize): Likewise.
16995         (maximumLayoutSize): Likewise.
16996         (toString): Include more information.
16997         (setBounds): New method.
16998         (layoutContainer): Use libgcj implementation; extended to handle
16999         relative locations.
17000
17001 2002-01-15  Tom Tromey  <tromey@redhat.com>
17002
17003         * java/lang/Float.java (equals): Preserve old code.
17004         * java/lang/Double.java (equals): Preserve old code.
17005
17006 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
17007
17008         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17009         * java/lang/Float.java (equals, compare): Ditto.
17010
17011 2002-01-13  Mark Wielaard  <mark@klomp.org>
17012
17013         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17014         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17015         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17016         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17017
17018 2002-01-11  Mark Wielaard  <mark@klomp.org>
17019
17020         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17021         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17022         InetAddress.
17023         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17024         * java/net/Socket.java: Merge with Classpath.
17025         * java/net/ServerSocket.java: Likewise.
17026
17027 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
17028
17029         * interpret.cc (NULLARRAYCHECK): New macro.
17030         (SAVE_PC): Just store `pc'.
17031         (find_exception): Subtract one from `pc' here.
17032         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17033         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17034         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17035         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17036         don't call SAVE_PC.
17037         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17038         call SAVE_PC.
17039
17040 2002-01-11  Tom Tromey  <tromey@redhat.com>
17041
17042         * java/lang/natSystem.cc (init_properties): Only look for default
17043         locale if LC_MESSAGES is defined.
17044         * aclocal.m4, configure, include/config.h.in: Rebuilt.
17045         * configure.in: Call AM_LC_MESSAGES.
17046         * acinclude.m4 (AM_LC_MESSAGES): New macro.
17047
17048 2002-01-10  Tom Tromey  <tromey@redhat.com>
17049
17050         For PR libgcj/5303:
17051         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17052         --version.  Recognize GNU-style long options.  Print GNU-style
17053         error messages.
17054         (usage): Print GNU-style help.  Exit with status 0.
17055         (error): New method.
17056         (run): Print error message if no class names found.
17057         (main): Don't print usage on error.
17058
17059 2002-01-09  Tom Tromey  <tromey@redhat.com>
17060
17061         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17062         property.
17063         (help, version): Use println(), not println("").
17064
17065         For PR libgcj/5303:
17066         * gnu/gcj/convert/Convert.java (error): Program is called
17067         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
17068         -1.
17069         (main): Handle --help and --version.
17070         (help): New method.
17071         (version): Likewise.
17072
17073 2002-01-08  Tom Tromey  <tromey@redhat.com>
17074
17075         * Makefile.in: Rebuilt.
17076         * Makefile.am (ordinary_java_source_files): Added new files.
17077         * gnu/java/locale/LocaleInformation.java: Extend
17078         LocaleInformation_en.
17079         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17080         and time/date formats.
17081         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17082         generated.
17083         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17084         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17085         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17086         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17087         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17088         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17089         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17090         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17091         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17092         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17093         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17094         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17095         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17096         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17097         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17098         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17099         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17100         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17101         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17102         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17103         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17104         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17105         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17106         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17107         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17108         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17109         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17110         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17111         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17112         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17113         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17114         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17115         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17116         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17117         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17118         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17119         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17120         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17121         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17122         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17123         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17124         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17125         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17126         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17127         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17128         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17129         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17130         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17131         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17132         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17133         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17134         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17135         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17136         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17137         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17138         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17139         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17140         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17141         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17142         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17143         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17144         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17145         * gnu/java/locale/LocaleInformation_es_US.java: New file.
17146         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17147         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17148         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17149         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17150         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17151         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17152         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17153         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17154         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17155         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17156         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17157         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17158         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17159         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17160         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17161         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17162         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17163         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17164         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17165         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17166         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17167         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17168         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17169         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17170         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17171         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17172         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17173         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17174         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17175         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17176         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17177         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17178         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17179         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17180         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17181         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17182         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17183         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17184         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17185         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17186         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17187         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17188         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17189         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17190         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17191         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17192         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17193         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17194         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17195         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17196         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17197         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17198         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17199         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17200         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17201         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17202         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17203         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17204         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17205         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17206         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17207         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17208         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17209         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17210         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17211         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17212         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17213
17214         For PR libgcj/5031:
17215         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17216         choose default locale.
17217
17218         * Makefile.in: Rebuilt.
17219         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17220
17221 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
17222
17223         * java/net/natPlainSocketImpl.cc: Added timeout handling for
17224         sockets.
17225         (close): New function closes the socket.
17226         (write): New functions for output to socket.
17227         (read): New functions for reading from socket.
17228         * java/net/PlainSocketImpl.java: Glue for new timeout
17229         implementation.
17230         (write): Call the native impl.
17231         (read): Likewise.
17232         (getInputStream): Get a stream to read from the socket.
17233         (getOutputStream): Get a stream to write to the socket.
17234
17235 2002-01-08  Tom Tromey  <tromey@redhat.com>
17236
17237         * resolve.cc (_Jv_PrepareClass): Enable verifier.
17238
17239 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
17240
17241         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17242         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17243
17244 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
17245
17246         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17247         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17248         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17249         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17250         insn_bastore, insn_castore, insn_sastore]: Use it.
17251         (continue1) [insn_arraylength]: Check for null array.
17252
17253 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17254
17255         * configure, include/config.h.in: Rebuilt.
17256         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17257         * configure.in: Call AC_STRUCT_TIMEZONE.
17258
17259 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17260
17261         * configure.host: Disable the interpreter for Darwin.
17262
17263 2002-01-04  Tom Tromey  <tromey@redhat.com>
17264
17265         * java/lang/Thread.java (stop): No longer synchronized.
17266         (start): Likewise.
17267
17268 2002-01-02  Tom Tromey  <tromey@redhat.com>
17269
17270         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17271         patch.
17272
17273 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
17274
17275         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17276         PPC Darwin, not for all of Darwin.