FileChannelImpl.java, [...]: Removed.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-13  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/FileChannelImpl.java,
4         gnu/java/nio/natFileChannelImpl.cc: Removed.
5         * java/io/FileInputStream.java,
6         java/io/FileOutputStream.java,
7         java/io/RandomAccessFile.java,
8         java/nio/MappedByteBufferImpl.java:
9         Import java.nio.channels.FileChannelImpl instead of
10         gnu.java.nio.FileChannelImpl.
11         * java/nio/channels/FileChannelImpl.java,
12         java/nio/channels/natFileChannelImpl.cc:
13         New files.
14         * Makefile.am
15         (ordinary_java_source_files):
16         Removed gnu/java/nio/FileChannelImpl.java and added
17         java/nio/channels/FileChannelImpl.java.
18         (nat source_files):
19         Removed gnu/java/nio/natFileChannelImpl.cc and added
20         java/nio/channels/natFileChannelImpl.cc.
21         * Makefile.in: Regenerated.
22
23 2003-07-13  Michael Koch  <konqueror@gmx.de>
24
25         * javax/swing/plaf/basic/BasicBorders.java,
26         javax/swing/plaf/basic/BasicLabelUI.java,
27         javax/swing/plaf/basic/BasicLookAndFeel.java,
28         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
29         javax/swing/plaf/basic/BasicTextUI.java,
30         javax/swing/plaf/metal/MetalLookAndFeel.java:
31         New versions from classpath.
32
33 2003-07-13  Michael Koch  <konqueror@gmx.de>
34
35         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
36         * gnu/java/awt/peer/gtk/GdkGraphics.java
37         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
38         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
39         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
40         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
41         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
42         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
43         * gnu/java/awt/peer/gtk/GtkClipboard.java
44         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
45         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
46         * gnu/java/awt/peer/gtk/GtkFramePeer.java
47         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
48         * gnu/java/awt/peer/gtk/GtkImage.java
49         * gnu/java/awt/peer/gtk/GtkImagePainter.java
50         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
51         * gnu/java/awt/peer/gtk/GtkListPeer.java
52         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
53         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
54         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
55         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
56         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
57         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
58         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
59         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
60         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
61         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
62         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
63         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
64
65 2003-07-13  Michael Koch  <konqueror@gmx.de>
66
67         * gnu/java/locale/LocaleInformation_de.java
68         * gnu/java/locale/LocaleInformation_en.java
69         * gnu/java/locale/LocaleInformation_nl.java
70
71 2003-07-13  Michael Koch  <konqueror@gmx.de>
72
73         * gnu/java/awt/EmbeddedWindow.java,
74         gnu/java/awt/EmbeddedWindowSupport.java,
75         gnu/java/awt/natEmbeddedWindow.cc:
76         New files.
77         * java/awt/Window.java
78         (Window): New constructor to support embedded windows.
79         * Makefile.am
80         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
81         gnu/java/awt/EmbeddedWindowSupport.java.
82         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
83         * Makefile.in: Regenerated.
84
85 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
86
87         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
88         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
89         * java/awt/im/InputContext.java: Remove a redundant
90         partial line.
91
92 2003-07-09  Tom Tromey  <tromey@redhat.com>
93
94         * Makefile.in: Rebuilt.
95         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
96
97 2003-07-09  Mark Wielaard  <mark@klomp.org>
98
99         * java/io/ObjectOutputStream.java (writeObject): break after
100         calling writeClassDescriptor().
101
102 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
103
104         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
105
106 2003-07-09  Michael Koch  <konqueror@gmx.de>
107
108         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
109         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
110         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
111         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
112         Explicitly import used classes.
113         * java/awt/Container.java: New version from classpath.
114
115 2003-07-09  Michael Koch  <konqueror@gmx.de>
116
117         * libgcj.pc.in: New file.
118         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
119         * Makefile.in: Regenerated.
120         * configure: Regenrated.
121         * configure.in: Create libgcj.pc from libgcj.pc.in.
122
123 2003-07-08  Mark Wielaard <mark@klomp.org>
124
125         * gcj/cni.h: CNI now expands to Compiled Native Interface.
126
127         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
128         * java/lang/fdlibm.h: Likewise.
129
130 2003-07-07  Adam Megacz <adam@xwt.org>
131
132         * posix.cc: added #include<stdio.h>
133                 
134 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
135
136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
137         formatting.
138
139         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
140         (setCaretPosition, setEditable): Rely entirely on native
141         implementation.
142         (getArgs): Remove.
143         (postTextEvent): New method.
144         (handleEvent): New method.
145         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
146         method.
147         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
149         (keysym_to_awt_keycode): Fix range checks.
150         (generates_key_typed_event): New function.
151         (awt_event_handler): Post AWT_KEY_RELEASED events to event
152         queue.
153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
154         (gtkInit): Store TextComponent's postTextEvent method ID.
155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
156         (setText): Post TEXT_VALUE_CHANGED event to event queue.
157
158 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
159
160         * configure.in: Check for usleep declaration.
161         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
162         * configure: Regenerate.
163         * include/config.h.in: Likewise.
164         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
165
166 2003-07-01  Michael Koch  <konqueror@gmx.de>
167
168         * gnu/gcj/convert/natIconv.cc
169         (iconv_init): Fixed possible memory leak by releasing allocated iconv
170         handle.
171
172 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
173
174         * glib-2.0.m4: New file.
175         * gtk-2.0.m4: New file.
176         * glib.m4: Remove.
177         * gtk.m4: Remove.
178         * configure.in: Update AM_PATH_GTK macro call to
179         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
181         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
183         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
184         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
185         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
187         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
188         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
190         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
191         jni/gtk-peer/gthread-jni.c,
192         jni/gtk-peer/gthread-jni.h:
193         New versions from classpath.
194         * aclocal.m4: Regenerate.
195         * configure: Regenerate.
196         * Makefile.in: Regenerate.
197         * gcj/Makefile.in: Regenerate.
198         * include/Makefile.in: Regenerate.
199         * testsuite/Makefile.in: Regenerate.
200
201 2003-06-30  Gary Benson  <gbenson@redhat.com>
202
203         For PR libgcj/11349:
204         * javax/naming/spi/NamingManager.java (getURLContext): Use
205         correct name for factory class.
206
207 2003-06-28  Michael Koch  <konqueror@gmx.de>
208
209         * java/io/PrintStream.java
210         (checkError): Call flush() instead of direct flushing of the Writer
211         object.
212         (print): Call print(String) instead of direct print method of the
213         Writer Object.
214         (println): Call println(String) instead of direct println method of the
215         Writer Object.
216         (write): Simplified.
217
218 2003-06-28  Michael Koch  <konqueror@gmx.de>
219
220         * java/net/ServerSocket.java
221         (setChannel): New method.
222         * java/net/Socket.java
223         (setChannel): New method.
224
225 2003-06-27  Michael Koch  <konqueror@gmx.de>
226
227         * java/beans/beancontext/BeanContextSupport.java:
228         New version from classpath.
229
230 2003-06-27  Michael Koch  <konqueror@gmx.de>
231
232         * java/awt/Window.java,
233         java/awt/font/GraphicAttribute.java,
234         java/awt/font/ImageGraphicAttribute.java,
235         java/awt/image/DataBufferByte.java,
236         java/awt/image/DataBufferInt.java,
237         java/awt/image/DataBufferUShort.java,
238         java/awt/image/DirectColorModel.java,
239         java/awt/image/PixelGrabber.java:
240         New versions from classpath.
241
242 2003-06-27  Michael Koch  <konqueror@gmx.de>
243
244         * java/security/Certificate.java
245         (getGuarantor): Removed wrong @deprecated tag.
246         (getPrincipal): Likewise.
247         (getPublicKey): Likewise.
248         (encode): Likewise.
249         (decode): Likewise.
250         (getFormat): Likewise.
251         (toString): Likewise.
252         * java/security/cert/PolicyQualifierInfo.java
253         (PolicyQualifierInfo): Made final.
254         * javax/security/auth/x500/X500Principal.java
255         (serialVersionUID): New member variable.
256
257 2003-06-27  Michael Koch  <konqueror@gmx.de>
258
259         * java/text/Format.java
260         (serialVersionUID): Fixed value.
261
262 2003-06-27  Michael Koch  <konqueror@gmx.de>
263
264         * java/net/Inet4Address.java
265         (Inet4Address): Made package-private.
266         * java/net/Inet6Address.java
267         (Inet4Address): Made package-private.
268
269 2003-06-27  Michael Koch  <konqueror@gmx.de>
270
271         * java/io/RandomAccessFile.java
272         (readLine): Removed wrong @deprecated tag.
273         (getChannel): Made final.
274
275 2003-06-27  Michael Koch  <konqueror@gmx.de>
276
277         * gnu/java/nio/FileChannelImpl.java
278         (write): Removed.
279
280 2003-06-27  Michael Koch  <konqueror@gmx.de>
281
282         * java/nio/ByteBufferImpl.java
283         (ByteBufferImpl): Made it a package-private class
284         * java/nio/CharBufferImpl.java
285         (CharBufferImpl): Made it a package-private class
286         * java/nio/DirectByteBufferImpl.java
287         (DirectByteBufferImpl): Made it a package-private class
288         * java/nio/DoubleBufferImpl.java
289         (DoubleBufferImpl): Made it a package-private class
290         * java/nio/FloatBufferImpl.java
291         (FloatBufferImpl): Made it a package-private class
292         * java/nio/IntBufferImpl.java
293         (IntBufferImpl): Made it a package-private class
294         * java/nio/LongBufferImpl.java
295         (LongBufferImpl): Made it a package-private class
296         * java/nio/ShortBufferImpl.java
297         (ShortBufferImpl): Made it a package-private class
298         * java/nio/channels/FileChannel.java
299         (write): Made final.
300         * java/nio/channels/ServerSocketChannel.java
301         (ServerSocketChanne): Made protected.
302
303 2003-06-27  Michael Koch  <konqueror@gmx.de>
304
305         * javax/naming/CompositeName.java
306         (serialVersionUID): New member variable.
307         * javax/naming/CompoundName.java
308         (serialVersionUID): New member variable.
309         * javax/naming/InitialContext.java
310         (InitialContext): Throws NamingException.
311         (init): Likewise.
312         * javax/naming/LinkRef.java
313         (serialVersionUID): New member variable.
314         (gteLinkName): Throws NamingException.
315         * javax/naming/NamingException.java
316         (serialVersionUID): New member variable.
317         * javax/naming/NamingSecurityException.java
318         (NamingSecurityException): Made abstract.
319         (serialVersionUID): New member variable.
320         * javax/naming/ReferralException.java
321         (serialVersionUID): New member variable.
322         * javax/naming/StringRefAddr.java
323         (serialVersionUID): New member variable.
324         * javax/naming/directory/BasicAttribute.java:
325         Reworked imports.
326         (serialVersionUID): New member variable.
327         (get): Throws NamingException.
328         (getAll): Throws NamingException.
329         * javax/naming/directory/BasicAttributes.java:
330         Reworked imports.
331         (serialVersionUID): New member variable.
332         * javax/naming/ldap/UnsolicitedNotificationEvent.java
333         (serialVersionUID): New member variable.
334
335 2003-06-27  Michael Koch  <konqueror@gmx.de>
336
337         * Makefile.am
338         (awt_java_source_files): Added new files:
339         javax/swing/Popup.java,
340         javax/swing/PopupFactory.java
341         * Makefile.in: Regenerated.
342
343 2003-06-27  Michael Koch  <konqueror@gmx.de>
344
345         * javax/swing/JWindow.java,
346         javax/swing/event/AncestorEvent.java,
347         javax/swing/event/HyperlinkEvent.java,
348         javax/swing/event/InternalFrameEvent.java,
349         javax/swing/event/ListDataEvent.java,
350         javax/swing/event/TableModelEvent.java,
351         javax/swing/plaf/PopupMenuUI.java,
352         javax/swing/plaf/SplitPaneUI.java,
353         javax/swing/plaf/TabbedPaneUI.java,
354         javax/swing/plaf/TextUI.java,
355         javax/swing/plaf/TreeUI.java,
356         javax/swing/plaf/basic/BasicTextUI.java,
357         javax/swing/plaf/basic/BasicTreeUI.java:
358         New versions from classpath.
359         * javax/swing/Popup.java,
360         javax/swing/PopupFactory.jav:
361         New source files from classpath.
362         * javax/swing/plaf/doc-files/TreeUI-1.png:
363         New binary files from classpath.
364
365 2003-06-25  Michael Koch  <konqueror@gmx.de>
366
367         * Makefile.am
368         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
369         * Makefile.in: Regenerated.
370
371 2003-06-25  Michael Koch  <konqueror@gmx.de>
372
373         * javax/swing/plaf/ActionMapUIResource.java,
374         javax/swing/plaf/BorderUIResource.java,
375         javax/swing/plaf/ButtonUI.java,
376         javax/swing/plaf/ColorChooserUI.java,
377         javax/swing/plaf/ColorUIResource.java,
378         javax/swing/plaf/ComboBoxUI.java,
379         javax/swing/plaf/ComponentInputMapUIResource.java,
380         javax/swing/plaf/ComponentUI.java,
381         javax/swing/plaf/DesktopIconUI.java,
382         javax/swing/plaf/DesktopPaneUI.java,
383         javax/swing/plaf/DimensionUIResource.java,
384         javax/swing/plaf/FileChooserUI.java,
385         javax/swing/plaf/FontUIResource.java,
386         javax/swing/plaf/IconUIResource.java,
387         javax/swing/plaf/InputMapUIResource.java,
388         javax/swing/plaf/InsetsUIResource.java,
389         javax/swing/plaf/InternalFrameUI.java,
390         javax/swing/plaf/LabelUI.java,
391         javax/swing/plaf/ListUI.java,
392         javax/swing/plaf/MenuBarUI.java,
393         javax/swing/plaf/MenuItemUI.java,
394         javax/swing/plaf/OptionPaneUI.java,
395         javax/swing/plaf/PanelUI.java,
396         javax/swing/plaf/ProgressBarUI.java,
397         javax/swing/plaf/RootPaneUI.java,
398         javax/swing/plaf/ScrollBarUI.java,
399         javax/swing/plaf/ScrollPaneUI.java,
400         javax/swing/plaf/SeparatorUI.java,
401         javax/swing/plaf/SliderUI.java,
402         javax/swing/plaf/TableHeaderUI.java,
403         javax/swing/plaf/TableUI.java,
404         javax/swing/plaf/ToolBarUI.java,
405         javax/swing/plaf/ToolTipUI.java,
406         javax/swing/plaf/ViewportUI.java:
407         New versions from classpath.
408         * javax/swing/plaf/SpinnerUI.java: 
409         New file from classpath
410
411 2003-06-25  Michael Koch  <konqueror@gmx.de>
412
413         * java/awt/image/ColorModel.java:
414         New version from classpath.
415
416 2003-06-25  Michael Koch  <konqueror@gmx.de>
417
418         * java/net/PlainDatagramSocketImpl.java:
419         Partly merged with classpath, this mainly adds documentation.
420
421 2003-06-25  Michael Koch  <konqueror@gmx.de>
422
423         * java/io/ObjectInputStream.java
424         (readClassDescriptor): New method.
425         (readObject): Moved functionality to readClassDescriptor().
426         * java/io/ObjectOutputStream.java
427         (writeClassDescriptor): New method.
428         (writeObject): Moved functionality to writeClassDescriptor().
429
430 2003-06-25  Michael Koch  <konqueror@gmx.de>
431
432         * javax/swing/plaf/basic/BasicListUI.java,
433         javax/swing/plaf/basic/BasicOptionPaneUI.java:
434         Added missing methods.
435
436 2003-06-25  Michael Koch  <konqueror@gmx.de>
437
438         * javax/swing/event/AncestorEvent.java
439         javax/swing/event/HyperlinkEvent.java
440         javax/swing/event/InternalFrameEvent.java
441         javax/swing/event/ListDataEvent.java
442         javax/swing/event/TableModelEvent.java:
443         Compile fixes.
444
445 2003-06-24  Michael Koch  <konqueror@gmx.de>
446
447         * java/net/URL.java:
448         Renamed "handler" to "ph" in the whole file to match classpaths
449         version.
450         * java/net/URLStreamHandler.java:
451         (equals): Renamed "handler" to "ph".
452
453 2003-06-24  Michael Koch  <konqueror@gmx.de>
454
455         * javax/swing/event/AncestorEvent.java,
456         javax/swing/event/HyperlinkEvent.java,
457         javax/swing/event/InternalFrameEvent.java,
458         javax/swing/event/ListDataEvent.java,
459         javax/swing/event/TableModelEvent.java,
460         javax/swing/event/TreeWillExpandListener.java,
461         javax/swing/plaf/ComponentUI.java,
462         javax/swing/plaf/DesktopIconUI.java,
463         javax/swing/plaf/DesktopPaneUI.java,
464         javax/swing/plaf/DimensionUIResource.java,
465         javax/swing/plaf/FileChooserUI.java,
466         javax/swing/plaf/FontUIResource.java,
467         javax/swing/plaf/IconUIResource.java,
468         javax/swing/plaf/InputMapUIResource.java,
469         javax/swing/plaf/InsetsUIResource.java,
470         javax/swing/plaf/InternalFrameUI.java,
471         javax/swing/plaf/LabelUI.java,
472         javax/swing/plaf/ListUI.java,
473         javax/swing/plaf/MenuBarUI.java,
474         javax/swing/plaf/MenuItemUI.java,
475         javax/swing/plaf/OptionPaneUI.java,
476         javax/swing/plaf/PanelUI.java,
477         javax/swing/plaf/ProgressBarUI.java,
478         javax/swing/plaf/doc-files/ComponentUI-1.dia,
479         javax/swing/plaf/doc-files/ComponentUI-1.png:
480         New versions from classpath.
481
482 2003-06-24  Michael Koch  <konqueror@gmx.de>
483
484         * java/nio/Buffer.java
485         (cap): Made package-private.
486         (pos): Likewise.
487         (limit): Likewise.
488         (mark): Likewise.
489
490 2003-06-24  Michael Koch  <konqueror@gmx.de>
491
492         * java/net/SocketImpl.java
493         (shutdownInput): Made it non-abstract method throwing an exception
494         like in SUNs JRE.
495         (shutdownOutput): Likewise.
496         * java/net/SocketInputStream.java,
497         java/net/SocketOutputStream.java:
498         New files from classpath.
499
500 2003-06-24  Michael Koch  <konqueror@gmx.de>
501
502         * java/awt/Font.java,
503         java/awt/Window.java,
504         java/awt/color/ColorSpace.java,
505         java/awt/datatransfer/StringSelection.java,
506         java/awt/image/ColorModel.java:
507         New versions from classpath.
508
509 2003-06-24  Michael Koch  <konqueror@gmx.de>
510
511         * Makefile.am
512         (awt_java_source_files): Added new files:
513         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
514         javax/swing/plaf/basic/BasicSplitPaneUI.java
515         * Makefile.in: Regenerated.
516
517 2003-06-24  Michael Koch  <konqueror@gmx.de>
518
519         * javax/swing/text/JTextComponent.java:
520         New version from classpath.
521
522 2003-06-24  Michael Koch  <konqueror@gmx.de>
523
524         * javax/swing/Timer.java,
525         javax/swing/plaf/ActionMapUIResource.java,
526         javax/swing/plaf/ButtonUI.java,
527         javax/swing/plaf/ColorChooserUI.java,
528         javax/swing/plaf/ColorUIResource.java,
529         javax/swing/plaf/ComboBoxUI.java,
530         javax/swing/plaf/ComponentInputMapUIResource.java,
531         javax/swing/plaf/basic/BasicBorders.java:
532         New versions from classpath.
533         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
534         javax/swing/plaf/basic/BasicSplitPaneUI.java:
535         New file from classpath.
536         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
537         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
538         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
539         javax/swing/plaf/doc-files/ComponentUI-1.dia,
540         javax/swing/plaf/doc-files/ComponentUI-1.png:
541         New binary files from classpath.
542
543 2003-06-24  Michael Koch  <konqueror@gmx.de>
544
545         * java/io/LineNumberReader.java
546         (skip): Dont do line number accounting here as this is already done in
547         read(), simplified.
548
549 2003-06-21  Michael Koch  <konqueror@gmx.de>
550
551         * java/io/File.java
552         (static): Load javaio lib if existing (only in classpath).
553         (File): Revised documentation to show the correct argument name.
554         (createTempFile): Partly merged with classpath.
555         (compareTo): Simplified.
556         (lastModified): Throw exception if time < 0.
557         (deleteOnExit): Revised documentation.
558
559 2003-06-21  Michael Koch  <konqueror@gmx.de>
560
561         * java/net/PlainSocketImpl.java:
562         Reformatted.
563         (PlainSocketImpl): Merged class documentaion with classpath.
564         (in): Moved.
565         (out): Moved.
566         (PlainSocketImpl): New empty constructor.
567         (finalize): Moved.
568         (setOption): Merged documentation from classpath.
569         (getOption): Likewise.
570         (create): Likewise.
571         (connect): Likewise.
572         (bind): Likewise.
573         (listen): Likewise.
574         (accept): Likewise.
575         (available): Likewise.
576         (close): Likewise.
577         (read): Likewise.
578         (write): Likewise.
579         (getInputStream): Made synchronozed to get sure that only one stream
580         object can be created for this socket, merged documentation from
581         classpath.
582         (getOutputStream): Likewise.
583
584 2003-06-21  Michael Koch  <konqueror@gmx.de>
585
586         * java/net/PlainSocketImpl.java:
587         Reformatting.
588         (static): New implicit method.
589         (read): Made package private.
590         (write): Likewise.
591
592 2003-06-21  Michael Koch  <konqueror@gmx.de>
593
594         * java/util/SimpleTimeZone.java:
595         Removed unneeded import, reformatting.
596
597 2003-06-21  Michael Koch  <konqueror@gmx.de>
598
599         * java/text/DateFormat.java,
600         java/text/SimpleDateFormat.java,
601         java/util/Locale.java:
602         New versions from classpath.
603
604 2003-06-21  Michael Koch  <konqueror@gmx.de>
605
606         * javax/swing/SpinnerModel.java:
607         New file from classpath.
608         * javax/swing/border/LineBorder.java,
609         javax/swing/border/SoftBevelBorder.java,
610         javax/swing/plaf/BorderUIResource.java,
611         javax/swing/plaf/basic/BasicBorders.java:
612         New versions from classpath.
613         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
614         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
615         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
616         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
617         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
618         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
619         New binary files from classpath.
620
621 2003-06-21  Michael Koch  <konqueror@gmx.de>
622
623         * java/util/logging/LogRecord.java,
624         java/util/logging/Logger.java,
625         java/util/logging/SocketHandler.java,
626         java/util/logging/SimpleFormatter.java,
627         java/util/logging/Formatter.java,
628         java/util/logging/ErrorManager.java,
629         java/util/logging/Handler.java,
630         java/util/logging/FileHandler.java,
631         java/util/logging/LogManager.java,
632         java/util/logging/Level.java,
633         java/util/logging/ConsoleHandler.java,
634         java/util/logging/StreamHandler.java,
635         java/util/logging/LoggingPermission.java,
636         java/util/logging/Filter.java,
637         java/util/logging/MemoryHandler.java,
638         java/util/logging/XMLFormatter.java:
639         New files from classpath.
640
641 2003-06-20  Michael Koch  <konqueror@gmx.de>
642
643         * java/io/ObjectStreamField.java
644         (unshared): new member variable.
645         (ObjectStreamField): New constructor.
646         (isUnshared): New method.
647
648 2003-06-20  Michael Koch  <konqueror@gmx.de>
649
650         * java/net/URLStreamHandler.java
651         (hostsEqual): Rewritten.
652
653 2003-06-20  Michael Koch  <konqueror@gmx.de>
654
655         * gnu/java/nio/MappedByteFileBuffer.java,
656         gnu/java/nio/natMappedByteFileBuffer.cc:
657         Removed
658         * java/nio/MappedByteBufferImpl.java:
659         New file.
660         * gnu/java/nio/FileChannelImpl.java:
661         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
662         * Makefile.am
663         (ordinary_java_source_files): Removed
664         gnu/java/nio/MappedByteFileBuffer.java and added
665         java/nio/MappedByteBufferImpl.java.
666         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
667         * Makefile.in: Regenerated.
668
669 2003-06-19  Michael Koch  <konqueror@gmx.de>
670
671         * gnu/java/nio/DatagramChannelImpl.java
672         (fd): Removed.
673         (blocking): New member variable.
674         (socket): Likewise.
675         (DatagramChannelImpl): Throws IOException, initialize socket.
676         (socket):Implemented.
677         (implCloseSelectableChannel): Throws IOException, implemented.
678         (implConfigureBlocking): Likewise.
679         (connect): Likewise.
680         (disconnect): Likewise.
681         (isConnected): Likewise.
682         (write): Likewise.
683         (read): Likewise.
684         (receive): Throws IOException.
685         (send): Likewise.
686         * gnu/java/nio/SocketChannelImpl.java
687         (read): Implemented.
688         (write): Implemented.
689
690 2003-06-19  Michael Koch  <konqueror@gmx.de>
691
692         * javax/swing/JComponent.java,
693         javax/swing/JInternalFrame.java,
694         javax/swing/MenuSelectionManager.java,
695         javax/swing/SwingUtilities.java,
696         javax/swing/ToggleButtonModel.java:
697         New versions from classpath.
698
699 2003-06-19  Michael Koch  <konqueror@gmx.de>
700
701         * java/text/CollationElementIterator.java
702         (NULLORDER): Initialize with -1 as JDK documentation says.
703
704 2003-06-19  Michael Koch  <konqueror@gmx.de>
705
706         * java/net/HttpURLConnection.java,
707         java/net/Inet4Address.java,
708         java/net/Inet6Address.java,
709         java/net/SocketImpl.java,
710         java/net/URLClassLoader.java:
711         Reworked import statements.
712         * java/net/InetAddress.java
713         (getByAddress): Simplified.
714         * java/net/ServerSocket.java
715         (ServerSocket): Moved special handling during bind operation to
716         bind().
717         (bind): Handle different cases when trying to bind a socket.
718         * java/net/URLConnection.java
719         (getHeaderFieldDate): Merged with classpath.
720         (getHeaderFieldInt): Likewise.
721
722 2003-06-19  Michael Koch  <konqueror@gmx.de>
723
724         * java/util/zip/InflaterInputStream.java
725         (InflaterInputStream): Throw NullPointerException if in is null (as
726         JDK does).
727
728 2003-06-19  Michael Koch  <konqueror@gmx.de>
729
730         * java/awt/Font.java
731         javax/swing/UIManager.java
732         javax/swing/border/AbstractBorder.java
733         javax/swing/border/BevelBorder.java
734         javax/swing/border/Border.java
735         javax/swing/border/CompoundBorder.java
736         javax/swing/border/EmptyBorder.java
737         javax/swing/border/EtchedBorder.java
738         javax/swing/border/LineBorder.java
739         javax/swing/border/MatteBorder.java
740         javax/swing/border/TitledBorder.java
741         javax/swing/plaf/BorderUIResource.java
742         javax/swing/plaf/basic/BasicBorders.java
743         javax/swing/plaf/basic/BasicButtonUI.java
744         javax/swing/plaf/basic/BasicCheckBoxUI.java
745         javax/swing/plaf/basic/BasicGraphicsUtils.java
746         javax/swing/plaf/basic/BasicLabelUI.java
747         javax/swing/plaf/basic/BasicRadioButtonUI.java
748         javax/swing/plaf/basic/BasicToggleButtonUI.java:
749         New versions from classpath.
750         * javax/swing/border/SoftBevelBorder.java:
751         New file from classpath.
752         * javax/swing/border/doc-files/LineBorder-1.png,
753         javax/swing/border/doc-files/BevelBorder-1.png,
754         javax/swing/border/doc-files/BevelBorder-2.png,
755         javax/swing/border/doc-files/BevelBorder-3.png,
756         javax/swing/border/doc-files/EmptyBorder-1.png,
757         javax/swing/border/doc-files/EtchedBorder-1.png,
758         javax/swing/border/doc-files/EtchedBorder-2.png,
759         javax/swing/border/doc-files/MatteBorder-1.png,
760         javax/swing/border/doc-files/MatteBorder-2.png,
761         javax/swing/border/doc-files/MatteBorder-3.png,
762         javax/swing/border/doc-files/MatteBorder-4.png,
763         javax/swing/border/doc-files/MatteBorder-5.png,
764         javax/swing/border/doc-files/MatteBorder-6.png,
765         javax/swing/border/doc-files/SoftBevelBorder-1.png,
766         javax/swing/border/doc-files/SoftBevelBorder-2.png,
767         javax/swing/border/doc-files/SoftBevelBorder-3.png,
768         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
769         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
770         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
771         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
772         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
773         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
774         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
775         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
776         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
777         New binary files from classpath.
778         * Makefile.am
779         (awt_java_source_files): Added
780         javax/swing/border/SoftBevelBorder.java.
781         * Makefile.in: Regenerated.
782
783 2003-06-19  Michael Koch  <konqueror@gmx.de>
784
785         * gnu/java/security/x509/X509Certificate.java
786         (writeReplace): Merged from classpath.
787
788 2003-06-19  Michael Koch  <konqueror@gmx.de>
789
790         * gnu/java/nio/FileChannelImpl.java
791         (map_address): Made public.
792         (FileChannelImpl): Merged with classpath.
793         * gnu/java/nio/natFileChannelImpl.cc
794         (nio_mmap_file): Commented out unused arguments.
795         (nio_unmmap_file): Likewise.
796         (niu_msync): Likewise.
797
798 2003-06-19  Michael Koch  <konqueror@gmx.de>
799
800         * java/awt/image/IndexColorModel.java:
801         New version from classpath.
802
803 2003-06-18  Tom Tromey  <tromey@redhat.com>
804
805         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
806         on arrays.
807         (isLoopbackAddress): Likewise.
808         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
809         on arrays.
810
811 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
812
813         * java/lang/natVMSecurityManager.cc (getClassContext):
814         Use maxlen instead of len for loop bound.
815
816 2003-06-18  Michael Koch  <konqueror@gmx.de>
817
818         * gnu/java/nio/SelectorImpl.java
819         (register): Use fd with value 0 for now, will be fixed later.
820         * gnu/java/nio/ServerSocketChannelImpl.java
821         (fd): Removed.
822         (local_port): Removed.
823         (InetSocketAddress): Removed.
824         (ServerSocketChannelImpl): Just initialize internal socket object.
825         (implCloseSelectableChannel): Close internal socket object.
826         (implConfigureBlocking): Added comment.
827         (accept): Use jaba.net stuff to accept socket.
828         * gnu/java/nio/SocketChannelImpl.java
829         (fd): Removed.
830         (local_port): Removed.
831         (InetSocketAddress): Removed.
832         (SocketCreate): Removed.
833         (SocketConnect): Removed.
834         (SocketBind): Removed.
835         (SocketListen): Removed.
836         (SocketAvailable): Removed.
837         (SocketClose): Removed.
838         (SocketRead): Removed.
839         (SocketWrite): Removed.
840         (SocketChannelImpl): Just initialize internal socket object.
841         (implCloseSelectableChannel): Close internal socket object.
842         (implConfigureBlocking): Fixed implementation, added comment.
843         (connect): Use internal socket object to connect.
844         (socket): No need for sanity checks.
845         (read): Comment out some stuff, this will be reimplemented in the next
846         commit.
847         (write): Likewise.
848         * gnu/java/nio/natFileChannelImpl.cc
849         (nio_mmap_file): Line wrapped.
850         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
851         * Makefile.am
852         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
853         * Makefile.in: Regenerated.
854
855 2003-06-18  Michael Koch  <konqueror@gmx.de>
856
857         * java/util/Locale.java
858         (equals): Merged from classpath.
859
860 2003-06-18  Michael Koch  <konqueror@gmx.de>
861
862         * java/net/InetAddress.java:
863         Reformatted to better match classpath's version.
864         * java/net/URL.java
865         (equals): Simplified.
866         * java/net/URLConnection.java
867         (setDoInput): Revised documentation.
868         (getDefaultUseCaches): Likewise.
869         (setRequestProperty): Added @since tag.
870
871 2003-06-17  Michael Koch  <konqueror@gmx.de>
872
873         * java/net/InetSocketAddress.java
874         (InetSocketAddress): Use wildcard address if addr is null.
875         (InetSocketAddress): Dont duplicate implementation.
876         (InetSocketAddress): Throw exception when hostname is null.
877         * java/net/Socket.java:
878         Reworked imports.
879         (Socket): Throw exception when raddr is null, handle case when laddr
880         is null.
881
882 2003-06-17  Michael Koch  <konqueror@gmx.de>
883
884         * java/nio/DirectByteBufferImpl.java
885         (address): Made package private.
886         (DirectByteBufferImpl): New constructor.
887         * java/nio/natDirectByteBufferImpl.cc
888         (allocateImpl): Moved to java.nio namespace, implemented.
889         (freeImpl): Likewise.
890         (getImpl): Likewise.
891         (putImpl): Likewise.
892         * jni.cc
893         (_Jv_JNI_NewDirectByteBuffer): Implemented.
894         (_Jv_JNI_GetDirectBufferAddress): Implemented.
895         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
896
897 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
898
899         * include/powerpc-signal.h: New File.
900         * configure.in: Use it.
901         * configure: Regenerated.
902
903 2003-06-17  Michael Koch  <konqueror@gmx.de>
904
905         * java/util/Locale.java
906         (getDisplayLanguage): Made it final.
907         (getDisplayCountry): Likewise.
908         (getDisplayVariant): Likewise.
909         (getDisplayName): Likewise.
910
911 2003-06-17  Michael Koch  <konqueror@gmx.de>
912
913         * java/util/PropertyResourceBundle.java:
914         Removed unneeded import.
915
916 2003-06-17  Michael Koch  <konqueror@gmx.de>
917
918         * java/util/prefs/AbstractPreferences.java,
919         java/util/prefs/PreferencesFactory.java:
920         Reworked imports, removed unused imports.
921         * java/util/prefs/Preferences.java
922         (systemNodeForPackage): Method takes a Class not an Object.
923         (userNodeForPackage): Likewise.
924         (nodeForPackage): Likewise.
925
926 2003-06-17  Michael Koch  <konqueror@gmx.de>
927
928         * gnu/java/security/x509/X509Certificate.java:
929         Explicitely import used classes.
930
931 2003-06-17  Michael Koch  <konqueror@gmx.de>
932
933         * java/util/zip/ZipEntry.java,
934         java/util/zip/ZipFile.java,
935         java/util/zip/ZipInputStream.java,
936         java/util/zip/ZipOutputStream.java:
937         Reworked imports, only import used classes.
938
939 2003-06-17  Michael Koch  <konqueror@gmx.de>
940
941         * gnu/java/lang/ArrayHelper.java,
942         gnu/java/lang/ClassHelper.java:
943         Reformatted to match classpath's versions.
944
945 2003-06-14  Michael Koch  <konqueror@gmx.de>
946
947         * gnu/java/nio/FileChannelImpl.java
948         (map_address): Removed incorrect comment.        
949         * gnu/java/nio/SelectorImpl.java
950         (register): Remove code duplication and code for file channel handling.        
951         * gnu/java/nio/ServerSocketChannelImpl.java
952         (serverSocket): Renamed from sock_object.
953         (ServerSocketChannel): Initialize serverSocket.
954         (socket): Return serverSocket.
955         * gnu/java/nio/SocketChannelImpl.java
956         (socket): Renamed from sock_object.
957         (isConnectionPenging): Simplified.
958         (socket): Return socket.
959 2003-06-14  Michael Koch  <konqueror@gmx.de>
960
961         * java/security/BasicPermission.java:
962         New version from classpath.
963
964 2003-06-14  Michael Koch  <konqueror@gmx.de>
965
966         * javax/naming/directory/Attribute.java:
967         New version from classpath.
968
969 2003-06-14  Michael Koch  <konqueror@gmx.de>
970
971         * java/io/BufferedReader.java,
972         java/io/FileOutputStream.java:
973         New versions from classpath.
974
975 2003-06-12  Andrew Haley  <aph@redhat.com>
976
977         * prims.cc (catch_segv): Create exception in handler.
978         (catch_fpe): Likewise.  
979         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
980         (_Jv_ThrowSignal): Remove.
981
982         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
983         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
984         to nullp and arithexception.
985         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
986         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
987         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
988         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
989         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
990
991 2003-06-11  Andrew Haley  <aph@redhat.com>
992
993         * jni.cc (_Jv_JNI_check_types): New.
994         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
995         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
996         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
997         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
998         
999         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1000         infinite loop.
1001
1002 2003-06-11  Tom Tromey  <tromey@redhat.com>
1003
1004         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1005         * java/io/PrintStream.java: Not deprecated.
1006
1007 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1008
1009         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1010         (fillOval): implemented
1011         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1012         (fillArc): implemented.
1013         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1014         (fillArc): added native method.
1015         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1016         (fillArc): added native method.
1017
1018 2003-06-11  Michael Koch  <konqueror@gmx.de>
1019
1020         * java/awt/im/InputSubset.java:
1021         New version from classpath.
1022
1023 2003-06-11  Michael Koch  <konqueror@gmx.de>
1024
1025         * javax/swing/AbstractAction.java,
1026         javax/swing/AbstractButton.java,
1027         javax/swing/AbstractCellEditor.java,
1028         javax/swing/AbstractListModel.java,
1029         javax/swing/BorderFactory.java,
1030         javax/swing/Box.java,
1031         javax/swing/BoxLayout.java,
1032         javax/swing/ButtonGroup.java,
1033         javax/swing/DefaultButtonModel.java,
1034         javax/swing/DefaultListModel.java,
1035         javax/swing/DefaultListSelectionModel.java,
1036         javax/swing/FocusManager.java,
1037         javax/swing/ImageIcon.java,
1038         javax/swing/InputMap.java,
1039         javax/swing/JApplet.java,
1040         javax/swing/JButton.java,
1041         javax/swing/JCheckBox.java,
1042         javax/swing/JCheckBoxMenuItem.java,
1043         javax/swing/JColorChooser.java,
1044         javax/swing/JComboBox.java,
1045         javax/swing/JComponent.java,
1046         javax/swing/JDesktopPane.java,
1047         javax/swing/JDialog.java,
1048         javax/swing/JEditorPane.java,
1049         javax/swing/JFileChooser.java,
1050         javax/swing/JFormattedTextField.java,
1051         javax/swing/JFrame.java,
1052         javax/swing/JLabel.java,
1053         javax/swing/JLayeredPane.java,
1054         javax/swing/JList.java,
1055         javax/swing/JMenuBar.java,
1056         javax/swing/JMenuItem.java,
1057         javax/swing/JOptionPane.java,
1058         javax/swing/JPanel.java,
1059         javax/swing/JPasswordField.java,
1060         javax/swing/JPopupMenu.java,
1061         javax/swing/JProgressBar.java,
1062         javax/swing/JRadioButton.java,
1063         javax/swing/JRadioButtonMenuItem.java,
1064         javax/swing/JRootPane.java,
1065         javax/swing/JScrollBar.java,
1066         javax/swing/JScrollPane.java,
1067         javax/swing/JSeparator.java,
1068         javax/swing/JSlider.java,
1069         javax/swing/JTabbedPane.java,
1070         javax/swing/JTable.java,
1071         javax/swing/JTextField.java,
1072         javax/swing/JToggleButton.java,
1073         javax/swing/JToolBar.java,
1074         javax/swing/JToolTip.java,
1075         javax/swing/JTree.java,
1076         javax/swing/JViewport.java,
1077         javax/swing/JWindow.java,
1078         javax/swing/KeyStroke.java,
1079         javax/swing/ListSelectionModel.java,
1080         javax/swing/LookAndFeel.java,
1081         javax/swing/RepaintManager.java,
1082         javax/swing/ScrollPaneLayout.java,
1083         javax/swing/SizeRequirements.java,
1084         javax/swing/SwingConstants.java,
1085         javax/swing/Timer.java,
1086         javax/swing/UIDefaults.java,
1087         javax/swing/UIManager.java,
1088         javax/swing/border/AbstractBorder.java,
1089         javax/swing/border/CompoundBorder.java,
1090         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1091         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1092         javax/swing/colorchooser/ColorSelectionModel.java,
1093         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1094         javax/swing/event/AncestorEvent.java,
1095         javax/swing/event/HyperlinkEvent.java,
1096         javax/swing/event/InternalFrameAdapter.java,
1097         javax/swing/event/InternalFrameEvent.java,
1098         javax/swing/event/ListDataEvent.java,
1099         javax/swing/event/MouseInputAdapter.java,
1100         javax/swing/event/SwingPropertyChangeSupport.java,
1101         javax/swing/event/TableModelEvent.java,
1102         javax/swing/event/TreeWillExpandListener.java,
1103         javax/swing/event/UndoableEditEvent.java,
1104         javax/swing/filechooser/FileFilter.java,
1105         javax/swing/filechooser/FileSystemView.java,
1106         javax/swing/filechooser/FileView.java,
1107         javax/swing/plaf/BorderUIResource.java,
1108         javax/swing/plaf/basic/BasicDefaults.java,
1109         javax/swing/table/AbstractTableModel.java,
1110         javax/swing/table/DefaultTableCellRenderer.java,
1111         javax/swing/table/DefaultTableColumnModel.java,
1112         javax/swing/table/DefaultTableModel.java,
1113         javax/swing/table/TableColumn.java,
1114         javax/swing/text/JTextComponent.java,
1115         javax/swing/tree/AbstractLayoutCache.java,
1116         javax/swing/tree/DefaultMutableTreeNode.java,
1117         javax/swing/tree/DefaultTreeCellEditor.java,
1118         javax/swing/tree/DefaultTreeCellRenderer.java,
1119         javax/swing/tree/DefaultTreeModel.java,
1120         javax/swing/tree/DefaultTreeSelectionModel.java,
1121         javax/swing/tree/FixedHeightLayoutCache.java,
1122         javax/swing/tree/TreeCellEditor.java,
1123         javax/swing/tree/TreeModel.java,
1124         javax/swing/tree/TreeNode.java,
1125         javax/swing/tree/TreePath.java,
1126         javax/swing/tree/TreeSelectionModel.java,
1127         javax/swing/tree/VariableHeightLayoutCache.java,
1128         javax/swing/undo/AbstractUndoableEdit.java,
1129         javax/swing/undo/CompoundEdit.java,
1130         javax/swing/undo/StateEdit.java,
1131         javax/swing/undo/UndoManager.java,
1132         javax/swing/undo/UndoableEditSupport.java:
1133         New versions from classpath.
1134         * javax/swing/table/JTableHeader.java:
1135         New file from classpath.
1136         * Makefile.am
1137         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1138         * Makefile.in: Regenerated.
1139
1140 2003-06-11  Michael Koch  <konqueror@gmx.de>
1141
1142         * java/nio/MappedByteBuffer.java,
1143         java/nio/channels/Channels.java,
1144         java/nio/channels/ServerSocketChannel.java,
1145         java/nio/channels/spi/AbstractSelector.java:
1146         Removed unneeded imports.
1147
1148 2003-06-11  Michael Koch  <konqueror@gmx.de>
1149
1150         * java/net/DatagramSocket.java:
1151         Partly merged with classpath.
1152
1153 2003-06-11  Michael Koch  <konqueror@gmx.de>
1154
1155         * java/awt/Frame.java,
1156         java/awt/Graphics.java,
1157         java/awt/Menu.java,
1158         java/awt/Robot.java,
1159         java/awt/image/ColorModel.java:
1160         New versions from classpath.
1161
1162 2003-06-10  Michael Koch  <konqueror@gmx.de>
1163
1164         * java/io/PrintStream.java:
1165         Merged version from classpath.
1166         (close): Removed sychronized keyword. This class is not garantied to
1167         be thread-safe.
1168         (write): Likewise.
1169
1170 2003-06-09  Tom Tromey  <tromey@redhat.com>
1171
1172         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1173         field.
1174         (getDescent): Likewise, for "descent".
1175
1176 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1177
1178         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1179         (getMaxDescent): adjusted return value.
1180         (getAscent): modified to use metrics for 'O'.
1181         (getDescent): modified to use metrics for 'y'.
1182
1183 2003-06-08  Anthony Green  <green@redhat.com>
1184
1185         * java/net/URLStreamHandler.java (sameFile): Fix port value
1186         comparison.
1187         * java/net/URL.java (handler): Make package private.
1188         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1189
1190 2003-06-07  Tom Tromey  <tromey@redhat.com>
1191
1192         For PR libgcj/11085:
1193         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1194         Limit number of characters in numeric field when required.
1195         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1196         Respect maximumIntegerDigits.
1197
1198 2003-06-08  Michael Koch  <konqueror@gmx.de>
1199
1200         * java/net/Socket.java
1201         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1202         call bind() and connect() to actually do the bind and connect tasks.
1203         (bind): Connect to canonical address if bindpoint is null, create
1204         socket and bind it to bindpoint.
1205         (connect): Check for exceptions.
1206
1207 2003-06-08  Michael Koch  <konqueror@gmx.de>
1208
1209         * java/net/DatagramSocket.java
1210         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1211         into the Multicast constructors.
1212         * java/net/DatagramSocketImpl.java
1213         (getOption): Removed.
1214         (setOption): Removed.
1215         * java/net/MulticastSocket.java
1216         (MulticastSocket): Call setReuseAddress (true).
1217         * java/net/SocketImpl.java
1218         (getOption): Removed.
1219         (setOption): Removed.
1220
1221 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1222
1223         PR libgcj/10886:
1224         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1225         Test for empty vector.
1226
1227 2003-06-06  Mark Wielaard  <mark@klomp.org>
1228
1229         * java/security/Security.java (secprops): Initialize.
1230         (loadProviders): Return boolean.
1231         (static): Check result of loadProvider calls. If necessary
1232         display WARNING and fallback to Gnu provider.
1233
1234 2002-06-06  James Clark  <jjc@jclark.com>
1235
1236         Fix for PR libgcj/8738:
1237         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1238         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1239         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1240         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1241         (write): Always decrease avail when count is increased.
1242         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1243         and whether output buffer is full before increasing size.
1244
1245 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1246
1247         * java/io/PrintStream.java (writeChars(char[],int, int)):
1248         Check converter.havePendingBytes().
1249         (writeChars(String,int,int)): Likewise.
1250         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1251         Check converter.havePendingBytes() and flush buffer when stalled.
1252
1253 2003-06-07  Michael Koch  <konqueror@gmx.de>
1254
1255         * include/posix.h
1256         (O_DSYNC): Define O_DSYNC on platforms not
1257         supporting O_FSYNC (newlib).
1258
1259 2003-06-06  Mark Wielaard  <mark@klomp.org>
1260
1261         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1262         AWTError.
1263
1264 2003-06-06  Michael Koch  <konqueror@gmx.de>
1265
1266         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1267         More compile fixes from my stupid work yesterday.
1268
1269 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1270
1271         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1272         if _IEEE_LIBM is undefined.
1273
1274 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1275
1276         * libjava/include/posix.h (O_SYNC): Define if not available
1277         and a reasonable, perhaps more conservative, replacement exists.
1278         (O_DSYNC): Likewise.
1279         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1280
1281 2003-06-05  Michael Koch  <konqueror@gmx.de>
1282
1283         * javax/swing/plaf/BorderUIResource.java,
1284         javax/swing/plaf/basic/BasicDefaults.java,
1285         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1286         More compile fixes for latest Border commit. I should not commit
1287         something in this heat here ...
1288
1289 2003-06-05  Michael Koch  <konqueror@gmx.de>
1290
1291         * javax/swing/border/BevelBorder.java
1292         (BevelBorder): Removed.
1293         * javax/swing/border/EmptyBorder.java:
1294         Reformatted.
1295         (EmptyBorder): Removed.
1296         (getBorderInsets): Dont use l, r, t and b.
1297         * javax/swing/border/EtchedBorder.java
1298         (EtchedBorder): Removed.
1299         * javax/swing/border/LineBorder.java
1300         (LineBorder): Removed.
1301         * javax/swing/border/MatteBorder.java
1302         (MatteBorder): Removed.
1303         * javax/swing/border/TitledBorder.java
1304         (defaultBorder): Use other default for now.
1305         (defaultFont): Likewise.
1306         (defaultColor): Likewise.
1307
1308 2003-06-05  Michael Koch  <konqueror@gmx.de>
1309
1310         * javax/swing/border/Border.java:
1311         New version from classpath.
1312
1313 2003-06-05  Michael Koch  <konqueror@gmx.de>
1314
1315         * javax/swing/border/AbstractBorder.java,
1316         javax/swing/border/BevelBorder.java,
1317         javax/swing/border/CompoundBorder.java,
1318         javax/swing/border/EmptyBorder.java,
1319         javax/swing/border/EtchedBorder.java,
1320         javax/swing/border/LineBorder.java,
1321         javax/swing/border/MatteBorder.java,
1322         javax/swing/border/TitledBorder.java:
1323         New versions from Classpath.
1324
1325 2003-06-05  Michael Koch  <konqueror@gmx.de>
1326
1327         * java/awt/Button.java,
1328         java/awt/Checkbox.java,
1329         java/awt/CheckboxMenuItem.java,
1330         java/awt/Choice.java,
1331         java/awt/Container.java,
1332         java/awt/Dialog.java,
1333         java/awt/EventQueue.java,
1334         java/awt/FileDialog.java,
1335         java/awt/Frame.java,
1336         java/awt/Label.java,
1337         java/awt/List.java,
1338         java/awt/Menu.java,
1339         java/awt/MenuItem.java,
1340         java/awt/Panel.java,
1341         java/awt/PopupMenu.java,
1342         java/awt/Rectangle.java,
1343         java/awt/ScrollPane.java,
1344         java/awt/Scrollbar.java,
1345         java/awt/TextArea.java,
1346         java/awt/TextField.java,
1347         java/awt/Window.java,
1348         java/awt/datatransfer/DataFlavor.java,
1349         java/awt/dnd/DragSource.java,
1350         java/awt/dnd/DragSourceContext.java,
1351         java/awt/event/HierarchyEvent.java,
1352         java/awt/event/MouseWheelEvent.java,
1353         java/awt/im/InputContext.java,
1354         java/awt/image/BufferedImage.java,
1355         java/awt/image/ComponentColorModel.java,
1356         java/awt/image/Raster.java,
1357         java/awt/image/WritableRaster.java,
1358         java/awt/peer/ComponentPeer.java,
1359         java/awt/print/PageFormat.java,
1360         java/awt/print/PrinterJob.java:
1361         New versions from Classpath.
1362
1363 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1364
1365         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1366         numberFormat.setParseIntegerOnly(true).
1367
1368 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1369
1370         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1371
1372 2003-06-03  Andrew Haley  <aph@redhat.com>
1373
1374         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1375         stack volatile to prevent optimization from removing it.
1376
1377 2003-05-27  Michael Koch  <konqueror@gmx.de>
1378
1379         * java/util/zip/Deflater.java
1380         (FILTERED): Merged documentation from classpath.
1381         * java/util/zip/DeflaterOutputStream.java
1382         (DeflaterOutputStream): Merged documentation and argument validity
1383         check from classpath.
1384         (deflate): Merged documentation from classpath.
1385         (finish): Likewise.
1386         * java/util/zip/Inflater.java
1387         (Inflater): Merged class documentation from classpath.
1388         (zstream): Reordered.
1389         (is_finished): Reordered.
1390         (dict_needed): Reordered.
1391         (Inflater): Reordered, merged documentation from classpath.
1392         (end): Likewise.
1393         (finalize): Merged documentation from classpath.
1394         (finished): Likewise.
1395         (getAdler): Likewise.
1396         (getRemaining): Likewise.
1397         (getTotalIn): Likewise.
1398         (getTotalOut): Likewise.
1399         (inflate): Likewise.
1400         (needsDictionary): Likewise.
1401         (needsInput): Likewise.
1402         (reset): Likewise.
1403         (setDictionary): Likewise.
1404         (setInput): Likewise.
1405
1406 2003-05-27  Michael Koch  <konqueror@gmx.de>
1407
1408         * java/net/URLConnection.java
1409         (getHeaderFieldInt): Merged with classpath.
1410
1411 2003-05-27  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/io/PrintStream.java
1414         (PrintStream): Reformatted.
1415         (PrintStream): New method, merged from classpath.
1416         (write): Reformatted.
1417
1418 2003-05-27  Michael Koch  <konqueror@gmx.de>
1419
1420         * java/lang/System.java:
1421         Explicitely import needed classes.
1422
1423 2003-05-26  Michael Koch  <konqueror@gmx.de>
1424
1425         * java/net/NetPermission.java,
1426         java/net/NetworkInterface.java,
1427         java/net/PasswordAuthentication.java,
1428         java/net/SocketPermission.java:
1429         New versions from classpath.
1430
1431 2003-05-25  Michael Koch  <konqueror@gmx.de>
1432
1433         * java/io/PushbackInputStream.java,
1434         java/net/Authenticator.java,
1435         java/net/ContentHandler.java,
1436         java/net/ContentHandlerFactory.java,
1437         java/net/DatagramSocket.java,
1438         java/net/DatagramSocketImpl.java,
1439         java/net/DatagramSocketImplFactory.java,
1440         java/net/FileNameMap.java,
1441         java/net/SocketImplFactory.java,
1442         java/net/SocketOptions.java,
1443         java/net/URLStreamHandlerFactory.java:
1444         Merged new versions from classpath.
1445
1446 2003-05-25  Michael Koch  <konqueror@gmx.de>
1447
1448         * java/awt/Checkbox.java,
1449         java/awt/Dialog.java,
1450         java/awt/Font.java,
1451         java/awt/Frame.java,
1452         java/awt/ScrollPaneAdjustable.java,
1453         java/awt/Scrollbar.java,
1454         java/awt/Window.java:
1455         New versions from classpath.
1456
1457 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1458
1459         PR libgcj/10838:
1460         * java/io/ObjectInputStream (enableResolveObject):
1461         Fixed spelling of permission name.
1462
1463 2003-05-20  Michael Koch  <konqueror@gmx.de>
1464
1465         * java/io/DataInputStream.java
1466         (convertFromUTF): Merged comment from classpath.
1467         * java/io/PrintStream.java
1468         (error_occured): Renamed from error, merged comment from classpath.
1469         (PrintStream): No need to initialized error.
1470         (checkError): Replace error with error_occurred.
1471         (setError): Likewise.
1472
1473 2003-05-20  Michael Koch  <konqueror@gmx.de>
1474
1475         * java/io/DataInputStream.java:
1476         Reformatted, Replaced < and & with html entitites in documentation.
1477         * java/io/File.java:
1478         Reformatted.
1479         * java/io/PrintWriter.java:
1480         Moved class documentation.
1481
1482 2003-05-20  Michael Koch  <konqueror@gmx.de>
1483
1484         * gnu/java/nio/ByteBufferImpl.java,
1485         gnu/java/nio/CharBufferImpl.java,
1486         gnu/java/nio/CharViewBufferImpl.java,
1487         gnu/java/nio/DirectByteBufferImpl.java,
1488         gnu/java/nio/DoubleBufferImpl.java,
1489         gnu/java/nio/DoubleViewBufferImpl.java,
1490         gnu/java/nio/FloatBufferImpl.java,
1491         gnu/java/nio/FloatViewBufferImpl.java,
1492         gnu/java/nio/IntBufferImpl.java,
1493         gnu/java/nio/IntViewBufferImpl.java,
1494         gnu/java/nio/LongBufferImpl.java,
1495         gnu/java/nio/LongViewBufferImpl.java,
1496         gnu/java/nio/natDirectByteBufferImpl.cc,
1497         gnu/java/nio/ShortBufferImpl.java,
1498         gnu/java/nio/ShortViewBufferImpl.java:
1499         Moved files to java/nio.
1500         * gnu/java/nio/SocketChannelImpl.java
1501         
1502         * java/nio/ByteBuffer.java,
1503         java/nio/CharBuffer.java,
1504         java/nio/DoubleBuffer.java,
1505         java/nio/FloatBuffer.java,
1506         java/nio/IntBuffer.java,
1507         java/nio/LongBuffer.java,
1508         java/nio/ShortBuffer.java:
1509         Dont import anything.
1510         * java/nio/ByteBufferImpl.java,
1511         java/nio/CharBufferImpl.java,
1512         java/nio/CharViewBufferImpl.java,
1513         java/nio/DirectByteBufferImpl.java,
1514         java/nio/DoubleBufferImpl.java,
1515         java/nio/DoubleViewBufferImpl.java,
1516         java/nio/FloatBufferImpl.java,
1517         java/nio/FloatViewBufferImpl.java,
1518         java/nio/IntBufferImpl.java,
1519         java/nio/IntViewBufferImpl.java,
1520         java/nio/LongBufferImpl.java,
1521         java/nio/LongViewBufferImpl.java,
1522         java/nio/natDirectByteBufferImpl.cc,
1523         java/nio/ShortBufferImpl.java,
1524         java/nio/ShortViewBufferImpl.java:
1525         Moved from gnu/java/nio.
1526         * Makefile.am
1527         (ordinary_java_source_files): Moved files from gnu/java/nio to
1528         java/nio.
1529         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1530         to java/nio.
1531         * Makefile.in: Regenerated.
1532
1533 2003-05-19  Michael Koch  <konqueror@gmx.de>
1534
1535         * java/util/Calendar.java
1536         (get): Not final anymore since JDK 1.4
1537         (set): Likewise.
1538
1539 2003-05-19  Michael Koch  <konqueror@gmx.de>
1540
1541         * java/text/CollationKey.java:
1542         Merged copyright and dat from classpath.
1543         * java/text/RuleBasedCollator.java:
1544         Merged class documentation from classpath.
1545
1546 2003-05-19  Michael Koch  <konqueror@gmx.de>
1547
1548         * java/nio/CharBuffer.java
1549         (toString): Compile fix.
1550
1551 2003-05-19  Michael Koch  <konqueror@gmx.de>
1552
1553         * gnu/java/nio/ByteBufferImpl.java
1554         (putLong): Fixed conversion to bytes.
1555         (putDouble): Fixed conversion to bytes.
1556         * gnu/java/nio/DirectByteBufferImpl.java
1557         (putLong): Fixed conversion to bytes.
1558         (putDouble): Fixed conversion to bytes.
1559         * gnu/java/nio/FileLockImpl.java
1560         (isValid): Reformatted.
1561         * java/nio/Buffer.java
1562         (Buffer): Fixed off-by-one bug in handling mark.
1563         * java/nio/ByteBuffer.java:
1564         Added newline.
1565         * java/nio/CharBuffer.java
1566         (toString): Don't use relative get to get string data.
1567
1568 2003-05-16  Michael Koch  <konqueror@gmx.de>
1569
1570         * java/io/natFileDescriptorPosix.cc
1571         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1572         tested.
1573
1574 2003-05-14  Michael Koch  <konqueror@gmx.de>
1575
1576         * gnu/java/nio/FileLockImpl.java
1577         (released): New member variable.
1578         (FileLockImpl): Initialize released.
1579         (releaseImpl): New native method.
1580         (release): Implemented.
1581         * gnu/java/nio/SelectorImpl.java: Reformatted.
1582         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1583         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1584         (accept): Throws IOException.
1585         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1586         (implConfigureBlocking): Throws IOException.
1587         (connect): Likewise.
1588         (read): Likewise.
1589         (write): Likewise.
1590         * gnu/java/nio/natFileLockImpl.cc: New file.
1591         * java/nio/channels/FileLock.java: Reformatted.
1592         * Makefile.am:
1593         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1594         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1595         * Makefile.in: Regenerated.
1596
1597 2003-05-13  Michael Koch  <konqueror@gmx.de>
1598
1599         * gnu/java/nio/CharViewBufferImpl.java
1600         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1601         (get): Shift bits to the right direction.
1602         (put): Likewise.
1603         * gnu/java/nio/DoubleViewBufferImpl.java
1604         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1605         (get): Shift bits to the right direction.
1606         (put): Likewise.
1607         * gnu/java/nio/FloatViewBufferImpl.java
1608         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1609         (get): Shift bits to the right direction.
1610         (put): Likewise.
1611         * gnu/java/nio/IntViewBufferImpl.java
1612         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1613         (get): Shift bits to the right direction.
1614         (put): Likewise.
1615         * gnu/java/nio/LongViewBufferImpl.java
1616         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1617         (get): Shift bits to the right direction.
1618         (put): Likewise.
1619         * gnu/java/nio/ShortViewBufferImpl.java
1620         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1621         (get): Shift bits to the right direction.
1622         (put): Likewise.
1623
1624 2003-05-13  Michael Koch  <konqueror@gmx.de>
1625
1626         * gnu/java/nio/natDirectByteBufferImpl.cc
1627         (allocateImpl): jlong -> RawData*.
1628         (freeImpl): Likewise.
1629
1630 2003-05-13  Michael Koch  <konqueror@gmx.de>
1631
1632         * java/nio/channels/FileChannel.java
1633         (MapMode.m): Made it package-private to match JDK 1.4.
1634         * java/nio/charset/Charset.java
1635         (decode): Made it final to match JDK 1.4.
1636
1637 2003-05-13  Michael Koch  <konqueror@gmx.de>
1638
1639        * java/io/FileDescriptor.java
1640        (SYNC): New constant.
1641        (DSYNC): Likewise.
1642        (getLength): Renamed from lenght() to match classpath's
1643        FileDescriptor.java.
1644        * java/io/RandomAccessFile.java
1645        (RandomAccessFile): Removed unneeded mode check, implemented mode
1646        "rws" and "rwd", merged documentation from classpath.
1647        (setLength): Reformatted.
1648        (length): Use new getLength() of FileDescriptor.
1649        * java/io/natFileDescriptorEcos.cc
1650        (getLength): Renamed from length().
1651        * java/io/natFileDescriptorPosix.cc
1652        (open): Implemented support for SYNC and DSYNC.
1653        (seek): Use getLength() instead of length().
1654        (getLength): Renamed from length().
1655        * java/io/natFileDescriptorWin32.cc
1656        (getLength): Renamed from length().
1657        (seek): Use getLength() instead of length().
1658        (available): Likewise.
1659        * gnu/java/nio/natFileChannelImpl.cc
1660        (size): Use getLength() instead of length().
1661
1662 2003-05-13  Michael Koch  <konqueror@gmx.de>
1663
1664         * gnu/java/nio/ByteBufferImpl.java
1665         (ByteBufferImpl): All constructors revised.
1666         (slice): Reimplemented.
1667         (duplicate): Reimplemented.
1668         (asReadOnlyBuffer): Reimplemented.
1669         * java/nio/ByteBuffer.java:
1670         Reformatted.
1671         (array_offset): Renamed from "offset" to match all other buffer
1672         classes.
1673         (ByteBuffer): All constructors revised.
1674         (allocateDirect): Implemented.
1675         (allocate): New implementation, documentation reworked.
1676         (wrap): Likewise.
1677         (get): Documentation reworked.
1678         (put): New implementation, documentation reworked.
1679         (hasArray): Documentation reworked.
1680         (arrayOffset): Likewise.
1681         (hashCode): Likewise.
1682         (equals): Likewise.
1683         (compareTo): Likewise.
1684         (order): Likewise.
1685         (compact): Likewise.
1686         (isDirect): Likewise.
1687         (slice): Likewise.
1688         (duplicate): Likewise.
1689         (asReadOnlyBuffer): Likewise.
1690         * Makefile.am
1691         (ordinary_java_source_files):
1692         Added gnu/java/nio/DirectByteBufferImpl.java.
1693         (nat_source_files):
1694         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1695         * Makefile.in: Regenerated.
1696
1697 2003-05-12  Michael Koch  <konqueror@gmx.de>
1698
1699         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1700         (nio_get_*): Removed.
1701         (nio_put_*): Removed.
1702         (as*Buffer): Implemented.
1703         (compact): Implemented.
1704         (get): Documentation added.
1705         (put): Documentation added.
1706         (get*): Newly implemented.
1707         (put*): Newly implemented.
1708         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1709         (CharBufferImpl): Revised.
1710         (slice): New implementation.
1711         (duplicate): New implementation.
1712         (compact): New implementation.
1713         (asReadOnlyBuffer): New implementation.
1714         (get): Documentation revised.
1715         (order): Return native byte order.
1716         * gnu/java/nio/DirectByteBufferImpl.java
1717         (allocateDirect): objects can be null not 0.
1718         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1719         (DoubleBufferImpl): Revised.
1720         (slice): New implementation.
1721         (duplicate): New implementation.
1722         (compact): New implementation.
1723         (asReadOnlyBuffer): New implementation.
1724         (get): Documentation revised.
1725         (order): Return native byte order.
1726         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1727         (FloatBufferImpl): Revised.
1728         (slice): New implementation.
1729         (duplicate): New implementation.
1730         (compact): New implementation.
1731         (asReadOnlyBuffer): New implementation.
1732         (get): Documentation revised.
1733         (order): Return native byte order.
1734         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1735         (IntBufferImpl): Revised.
1736         (slice): New implementation.
1737         (duplicate): New implementation.
1738         (compact): New implementation.
1739         (asReadOnlyBuffer): New implementation.
1740         (get): Documentation revised.
1741         (order): Return native byte order.
1742         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1743         (LongBufferImpl): Revised.
1744         (slice): New implementation.
1745         (duplicate): New implementation.
1746         (compact): New implementation.
1747         (asReadOnlyBuffer): New implementation.
1748         (get): Documentation revised.
1749         (order): Return native byte order.
1750         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1751         (ShortBufferImpl): Revised.
1752         (slice): New implementation.
1753         (duplicate): New implementation.
1754         (compact): New implementation.
1755         (asReadOnlyBuffer): New implementation.
1756         (get): Documentation revised.
1757         (order): Return native byte order.
1758         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1759         (CharBuffer): Revised.
1760         (order): Removed.
1761         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1762         (DoubleBuffer): Revised.
1763         (allocateDirect): Removed.
1764         (order): Removed.
1765         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1766         (FloatBuffer): Revised.
1767         (allocateDirect): Removed.
1768         (order): Removed.
1769         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1770         (IntBuffer): Revised.
1771         (allocateDirect): Removed.
1772         (order): Removed.
1773         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1774         (LongBuffer): Revised.
1775         (allocateDirect): Removed.
1776         (order): Removed.
1777         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1778         (ShortBuffer): Revised.
1779         (allocateDirect): Removed.
1780         (order): Removed.
1781         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1782         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1783         * Makefile.am
1784         (ordinary_java_source_files): Added the following files:
1785         gnu/java/nio/CharViewBufferImpl.java,
1786         gnu/java/nio/DoubleViewBufferImpl.java,
1787         gnu/java/nio/FloatViewBufferImpl.java,
1788         gnu/java/nio/IntViewBufferImpl.java,
1789         gnu/java/nio/LongViewBufferImpl.java,
1790         gnu/java/nio/ShortViewBufferImpl.java
1791         (nat_source_files): Removed the following files:
1792         gnu/java/nio/natByteBufferImpl.cc,
1793         gnu/java/nio/natCharBufferImpl.cc
1794         * Makefile.in: Regenerated.
1795
1796 2003-05-12  Michael Koch  <konqueror@gmx.de>
1797
1798         * gnu/java/nio/CharViewBufferImpl.java,
1799         gnu/java/nio/DirectByteBufferImpl.java,
1800         gnu/java/nio/DoubleViewBufferImpl.java,
1801         gnu/java/nio/FloatViewBufferImpl.java,
1802         gnu/java/nio/IntViewBufferImpl.java,
1803         gnu/java/nio/LongViewBufferImpl.java,
1804         gnu/java/nio/ShortViewBufferImpl.java,
1805         gnu/java/nio/natDirectByteBufferImpl.cc:
1806         New files, not yet to be compiled.
1807
1808 2003-05-10  Michael Koch  <konqueror@gmx.de>
1809
1810         * javax/swing/plaf/ButtonUI.java,
1811         javax/swing/plaf/ColorUIResource.java,
1812         javax/swing/plaf/ComponentUI.java,
1813         javax/swing/plaf/DimensionUIResource.java,
1814         javax/swing/plaf/FontUIResource.java,
1815         javax/swing/plaf/IconUIResource.java,
1816         javax/swing/plaf/InsetsUIResource.java,
1817         javax/swing/plaf/LabelUI.java,
1818         javax/swing/plaf/ListUI.java,
1819         javax/swing/plaf/OptionPaneUI.java,
1820         javax/swing/plaf/PanelUI.java,
1821         javax/swing/plaf/TabbedPaneUI.java,
1822         javax/swing/plaf/TextUI.java,
1823         javax/swing/plaf/TreeUI.java,
1824         javax/swing/plaf/ViewportUI.java,
1825         javax/swing/plaf/basic/BasicBorders.java,
1826         javax/swing/plaf/basic/BasicButtonUI.java,
1827         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1828         javax/swing/plaf/basic/BasicDefaults.java,
1829         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1830         javax/swing/plaf/basic/BasicIconFactory.java,
1831         javax/swing/plaf/basic/BasicLabelUI.java,
1832         javax/swing/plaf/basic/BasicListUI.java,
1833         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1834         javax/swing/plaf/basic/BasicPanelUI.java,
1835         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1836         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1837         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1838         javax/swing/plaf/basic/BasicTextUI.java,
1839         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1840         javax/swing/plaf/basic/BasicTreeUI.java,
1841         javax/swing/plaf/basic/BasicViewportUI.java,
1842         javax/swing/plaf/metal/MetalLookAndFeel.java:
1843         New versions from classpath. This adds copyrights to all files and
1844         some serialVersionUIDs.
1845
1846 2003-05-10  Michael Koch  <konqueror@gmx.de>
1847
1848         * java/nio/CharBuffer.java
1849         (offset): Make it package-private.
1850         (backing_buffer): Likewise.
1851         * java/nio/DoubleBuffer.java
1852         (offset): Make it package-private.
1853         (backing_buffer): Likewise.
1854         (put): Reformatted.
1855         * java/nio/FloatBuffer.java
1856         (offset): Make it package-private.
1857         (backing_buffer): Likewise.
1858         * java/nio/IntBuffer.java
1859         (offset): Make it package-private.
1860         (backing_buffer): Likewise.
1861         * java/nio/LongBuffer.java
1862         (offset): Make it package-private.
1863         (backing_buffer): Likewise.
1864         * java/nio/ShortBuffer.java
1865         (offset): Make it package-private.
1866         (backing_buffer): Likewise.
1867
1868 2003-05-10  Michael Koch  <konqueror@gmx.de>
1869
1870         * java/nio/CharBuffer.java
1871         (put): Fixed precondtion check.
1872         (toString): Make it work without backing array.
1873         (put): Skip one level of method calling.
1874
1875 2003-05-10  Michael Koch  <konqueror@gmx.de>
1876
1877         * java/security/Identity.java,
1878         java/security/IdentityScope.java,
1879         java/security/Key.java,
1880         java/security/KeyPair.java,
1881         java/security/PrivateKey.java,
1882         java/security/Provider.java,
1883         java/security/PublicKey.java,
1884         java/security/SecureRandom.java,
1885         java/security/SecureRandomSpi.java,
1886         java/security/SignedObject.java,
1887         java/security/Signer.java,
1888         java/security/cert/Certificate.java,
1889         java/security/cert/PKIXCertPathBuilderResult.java,
1890         java/security/cert/X509Certificate.java:
1891         New versions from classpath.
1892
1893 2003-05-09  Tom Tromey  <tromey@redhat.com>
1894
1895         * Makefile.in: Rebuilt.
1896         * Makefile.am (nat_source_files): Removed old files.
1897         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1898         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1899         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1900         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1901         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1902
1903 2003-05-09  Michael Koch  <konqueror@gmx.de>
1904
1905         * gnu/java/nio/ByteBufferImpl.java
1906         (nio_cast): Removed.
1907         (ByteBufferImpl): Removed.
1908         (nio_get_Byte): Removed.
1909         (nio_put_Byte): Removed.
1910         (asByteBuffer): Removed.
1911         (asCharBuffer): Removed implementation and throw exception.
1912         (asShortBuffer): Likewise.
1913         (asIntBuffer): Likewise.
1914         (asLongBuffer): Likewise.
1915         (asFloatBuffer): Likewise.
1916         (asDoubleBuffer): Likewise.
1917         * gnu/java/nio/CharBufferImpl.java
1918         (CharBufferImpl): Removed.
1919         (nio_get_Byte): Removed.
1920         (nio_put_Byte): Removed.
1921         (asByteBuffer): Removed.
1922         * gnu/java/nio/DoubleBufferImpl.java
1923         (DoubleBufferImpl): Removed.
1924         (nio_get_Byte): Removed.
1925         (nio_put_Byte): Removed.
1926         (asByteBuffer): Removed.
1927         * gnu/java/nio/FloatBufferImpl.java
1928         (FloatBufferImpl): Removed.
1929         (nio_get_Byte): Removed.
1930         (nio_put_Byte): Removed.
1931         (asByteBuffer): Removed.
1932         * gnu/java/nio/IntBufferImpl.java
1933         (IntBufferImpl): Removed.
1934         (nio_get_Byte): Removed.
1935         (nio_put_Byte): Removed.
1936         (asByteBuffer): Removed.
1937         * gnu/java/nio/LongBufferImpl.java
1938         (LongBufferImpl): Removed.
1939         (nio_get_Byte): Removed.
1940         (nio_put_Byte): Removed.
1941         (asByteBuffer): Removed.
1942         * gnu/java/nio/ShortBufferImpl.java
1943         (ShortBufferImpl): Removed.
1944         (nio_get_Byte): Removed.
1945         (nio_put_Byte): Removed.
1946         (asByteBuffer): Removed.
1947         * gnu/java/nio/natByteBufferImpl.cc
1948         (nio_cast): Removed.
1949         (nio_get_Byte): Removed.
1950         (nio_put_Byte): Removed.
1951         * gnu/java/nio/natCharBufferImpl.cc
1952         (nio_get_Byte): Removed.
1953         (nio_put_Byte): Removed.
1954
1955 2003-05-09  Michael Koch  <konqueror@gmx.de>
1956
1957         * java/net/JarURLConnection.java
1958         (getJarEntry): Merged documentation from classpath.
1959         (getJarFile): Likewise.
1960         (getMainAttributes): Likewise.
1961         (getAttributes): Likewise.
1962         (getManifest): Likewise.
1963         (getCertificates): Reformatted.
1964         * java/net/URLConnection.java:
1965         Little classpath merge.
1966
1967 2003-05-09  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/io/DataOutputStream.java
1970         (writeShort): Made it synchronized.
1971         (writeChar): Likewise.
1972         (writeInt): Likewise.
1973         (writeLong): Liekwise.
1974         (writeUTF): Made it synchronized, renamed argument to match classpath.
1975         * java/io/InputStreamReader.java
1976         (converter): Added documentation.
1977         (read): Merged documentation from classpath.
1978         * java/io/OutputStreamWriter.java
1979         (OutputStreamWriter): Merged documentation from classpath.
1980         (close): Reformatted.
1981         (getEncoding): Likewise.
1982         (flush): Likewise.
1983         (write): Merged documentation from classpath, reformatted.
1984
1985 2003-05-08  Tom Tromey  <tromey@redhat.com>
1986
1987         * configure.host <powerpc64*-*>: Set with_libffi_default and
1988         libgcj_interpreter to "yes".
1989
1990 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1991
1992         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1993         
1994 2003-05-06  Tom Tromey  <tromey@redhat.com>
1995
1996         * verify.cc: Reverted previous patch.
1997
1998 2003-05-06  Michael Koch  <konqueror@gmx.de>
1999
2000         * java/io/DataOutputStream.java
2001         (write): Renamed argument to "value", merged documentation from
2002         classpath.
2003         (writeBoolean): Likewise.
2004         (writeByte): Likewise.
2005         (writeShort): Likewise.
2006         (writeChar): Likewise.
2007         (writeInt): Likewise.
2008         (writeLong): Likewise.
2009         (writeFloat): Likewise.
2010         (writeDouble): Likewise.
2011         (writeBytes): Likewise.
2012         (writeChars): Likewise.
2013         (writeUTF): Likewise.
2014         * java/io/File.java
2015         (performDelete): Added documentation.
2016         (performList): Likewise.
2017         (performMkdir): Likewise.
2018         (performSetReadOnly): Likewise.
2019         (performRenameTo): Likewise.
2020         (performSetLastModified): Likewise.
2021         (delete): Made it sychronized.
2022         (renameTo): Made it sychronized.
2023         (equals): Reformatted.
2024         (isHidden): Likewise.
2025         (listFiles): Likewise.
2026         (setReadOnly): Likewise.
2027         (listRoots): Likewise.
2028         (setLastModified): Likewise.
2029         (checkRead): Likewise.
2030         (checkWrite): Likewise.
2031         * java/io/FileInputStream.java
2032         (skip): Made it sychronized, merged from classpath.
2033         * java/io/FileOutputStream.java
2034         (write): Merged from classpath.
2035         * java/io/InputStreamReader.java:
2036         (InputStreamReader): Merged documentation from classpath.
2037
2038 2003-05-05  Michael Koch  <konqueror@gmx.de>
2039
2040         * java/net/NetworkInterface.java
2041         (networkInterfaces): Removed.
2042         (getByName): Use getRealNetworkInterfaces() instead of
2043         networkInterfaces.
2044         (getByInetAddress): Likewise.
2045         (getNetworkInterfaces): Likewise.
2046         (toString): Fix output of addresses of an interface.
2047
2048 2003-05-05  Michael Koch  <konqueror@gmx.de>
2049
2050         * java/io/DataInputStream.java:
2051         Merged new documentation from classpath.
2052
2053 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2054
2055         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2056         "version".
2057         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2058         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2059         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2060         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2061         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2062         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2063         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2064         * java/security/Key.java: Likewise.
2065         * java/security/PrivateKey.java: Likewise.
2066         * java/security/Provider.java: Likewise.
2067         * java/security/PublicKey.java: Likewise.
2068
2069 2003-05-02  Michael Koch  <konqueror@gmx.de>
2070
2071         * java/net/URI.java
2072         (create): Doesnt throws any exceptions.
2073         * java/net/URLConnection.java
2074         (URLConnection): Commend added.
2075         (getExpiration): The header field is called "expires" not
2076         "expiration".
2077         (getHeaderField): Merged documentation with classpath.
2078         (getHeaderFieldInt): Likewise.
2079         (getHeaderFieldDate): Likewise.
2080         (getHeaderFieldKey): Likewise.
2081         (getPermission): Likewise.
2082         (setDefaultUseCaches): Likewise.
2083         (setRequestProperty): Likewise.
2084         (addRequestProperty): Likewise.
2085         (getRequestProperty): Likewise.
2086         (getRequestProperties): Likewise.
2087         (setDefaultRequestProperty): Likewise.
2088         (getDefaultRequestProperty): Likewise.
2089         (guessContentTypeFromStream): Likewise.
2090         (getFileNameMap): Likewise.
2091         (setFileNameMap): Likewise.
2092         (setDoInput): Merged implementation and documentation with classpath.
2093         (setDoOutput): Likewise.
2094         (setAllowUserInteraction): Likewise.
2095         (setDefaultAllowUserInteraction): Likewise.
2096         (setContentHandlerFactory): Made it synchronized, merged documentation
2097         with classpath.
2098         (guessContentTypeFromName): Renamed argument fname to filename to
2099         match classpath, merged documentation with classpath.
2100
2101 2003-05-02  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/net/JarURLConnection.java
2104         (JarURLConnection): Class documentation merged with classpath.
2105         (getJarFileURL): Moved and documentation merged with classpath.
2106         (getEntryName): Likewise.
2107         (JarURLConnection): Documentation merged with classpath.
2108         (getJarEntry): Likewise.
2109         (getJarFile): Likewise.
2110         * java/net/PlainDatagramSocketImpl.java:
2111         Class documentation moved.
2112         * java/net/URLConnection.java
2113         (fileNameMap): Moved and documentation merged with classpath.
2114         (factory): Likewise.
2115         (defaultAllowUserInteraction): Likewis.
2116         (defaultUseCaches): Likewise.
2117         (allowUserInteraction): Likewise.
2118         (connected): Likewise.
2119         (url): Likewise.
2120         (connect): Documentation merged with classpath.
2121         (getURL): Likewise.
2122         (getContentLength): Likewise.
2123         (getContentType): Likewise.
2124         (getContentEncoding): Likewise.
2125         (getExpiration): Likewise.
2126         (getDate): Likewise.
2127         (getLastModified): Likewise.
2128         (getHeaderField): Likewise.
2129         (getContent): Likewise.
2130         (getPermission): Likewise.
2131         (getInputStream): Likewise.
2132         (getOutputStream): Likewise.
2133         (toString): Likewise.
2134         (getDoInput): Likewise.
2135         (getDoOutput): Likewise.
2136         (setAllowUserInteraction): Likewise.
2137         (getAllowUserInteraction): Likewise.
2138         (setDefaultAllowUserInteraction): Likewise.
2139         (getDefaultAllowUserInteraction): Likewise.
2140         (setUseCaches): Likewise.
2141         (getUseCaches): Likewise.
2142         (setIfModifiedSince): Likewise.
2143         (getIfModifiedSince): Likewise.
2144         (setDefaultRequestProperty): Likewise.
2145         (getDefaultRequestProperty): Likewise.
2146         (setContentHandlerFactory): Likewise.
2147         (setFileNameMap): Likewise.
2148
2149 2003-05-02  Michael Koch  <konqueror@gmx.de>
2150
2151         * java/net/InetAddress.java:
2152         Merged class documentation with classpath.
2153         * java/net/JarURLConnection.java:
2154         Explicitely import all used classes.
2155         * java/net/URL.java:
2156         Reformatting.
2157         * java/net/ServerSocket.java,
2158         java/net/Socket.java:
2159         New versions from classpath.
2160
2161 2003-05-02  Michael Koch  <konqueror@gmx.de>
2162
2163         * gnu/java/nio/FileChannelImpl.java
2164         (read): New implementation.
2165         (implRead): New methods.
2166         (write): New implementation, call other write insteal of read method.
2167         (implWrite): New methods.
2168         (map): Added comment.
2169         (transferFrom): Implemented.
2170         (transferTo): Implemented.
2171         (lock): Added checks to throw exceptions.
2172         (truncate): Added check to throw exception.
2173         * gnu/java/nio/natFileChannelImpl.cc
2174         (implRead): New method.
2175         (implWrite): New method.
2176         * java/nio/ByteBuffer.java
2177         (hashCode): Fixed comment.
2178         (get): Fixed exception documentation.
2179         (put): Fixed exception documentation.
2180         * java/nio/CharBuffer.java:
2181         Added comment for later optimizations.
2182
2183 2003-04-30  Tom Tromey  <tromey@redhat.com>
2184
2185         PR libgcj/10582:
2186         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2187         Removed.
2188         (type::compatible): Use _Jv_IsAssignableFrom.
2189         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2190         (_Jv_IsAssignableFrom): Work even when source or target class is
2191         not prepared.
2192
2193 2003-04-30  Michael Koch  <konqueror@gmx.de>
2194
2195         * java/text/BreakIterator.java
2196         (clone): New method.
2197
2198 2003-04-30  Michael Koch  <konqueror@gmx.de>
2199
2200         * java/text/CollationElementIterator.java,
2201         java/text/CollationKey.java,
2202         java/text/RuleBasedCollator.java:
2203         Merged copyright and documentation from classpath and
2204         rearranged some code. No code changes done.
2205
2206 2003-04-30  Michael Koch  <konqueror@gmx.de>
2207
2208         * java/util/regex/Matcher.java
2209         (pattern): New member variable.
2210         (appendReplacement): New method.
2211         (appendTail): New method.
2212         (end): New method.
2213         (find): New method.
2214         (group): New method.
2215         (replaceFirst): Added documentation.
2216         (replaceAll): Added documentation.
2217         (groupCount): New method.
2218         (lookingAt): New method.
2219         (matches): New method.
2220         (reset): New method.
2221         (start): New method.
2222         * java/util/regex/Pattern.java
2223         (serialVersionUID): New constant.
2224         (CANON_EQ): New constant.
2225         (CASE_INSENSITIVE): New constant.
2226         (COMMENTS): New constant.
2227         (DOTALL): New constant.
2228         (MULTILINE): New constant.
2229         (UNICODE_CASE): New constant.
2230         (UNIX_LINES): New constant.
2231         (regex): New member variable.
2232         (flags): New member variable.
2233         (Pattern): New method.
2234         (compile): Documentation added.
2235         (flags): New method.
2236         (matches): Documentation added.
2237         (matcher): Documentation added.
2238         (split): Documentation added.
2239         (pattern): New method.
2240
2241 2003-04-30  Michael Koch  <konqueror@gmx.de>
2242
2243         * gnu/java/security/Engine.java,
2244         gnu/java/security/OID.java,
2245         gnu/java/security/der/BitString.java,
2246         gnu/java/security/der/DER.java,
2247         gnu/java/security/der/DERReader.java,
2248         gnu/java/security/der/DERValue.java,
2249         gnu/java/security/der/DERWriter.java,
2250         gnu/java/security/provider/DSAKeyFactory.java,
2251         gnu/java/security/provider/X509CertificateFactory.java,
2252         gnu/java/security/x509/X500DistinguishedName.java,
2253         gnu/java/security/x509/X509CRL.java,
2254         gnu/java/security/x509/X509CRLEntry.java,
2255         gnu/java/security/x509/X509Certificate.java,
2256         java/security/cert/CRLSelector.java,
2257         java/security/cert/CertPathBuilder.java,
2258         java/security/cert/CertPathBuilderResult.java,
2259         java/security/cert/CertPathBuilderSpi.java,
2260         java/security/cert/CertPathParameters.java,
2261         java/security/cert/CertPathValidator.java,
2262         java/security/cert/CertPathValidatorResult.java,
2263         java/security/cert/CertPathValidatorSpi.java,
2264         java/security/cert/CertSelector.java,
2265         java/security/cert/CertStore.java,
2266         java/security/cert/CertStoreParameters.java,
2267         java/security/cert/CertStoreSpi.java,
2268         java/security/cert/CollectionCertStoreParameters.java,
2269         java/security/cert/LDAPCertStoreParameters.java,
2270         java/security/cert/PKIXBuilderParameters.java,
2271         java/security/cert/PKIXCertPathBuilderResult.java,
2272         java/security/cert/PKIXCertPathChecker.java,
2273         java/security/cert/PKIXCertPathValidatorResult.java,
2274         java/security/cert/PKIXParameters.java,
2275         java/security/cert/PolicyNode.java,
2276         java/security/cert/PolicyQualifierInfo.java,
2277         java/security/cert/TrustAnchor.java,
2278         javax/security/auth/x500/X500Principal.java:
2279         New files from classpath.
2280         * gnu/java/io/ASN1ParsingException.java,
2281         gnu/java/io/Base64InputStream.java,
2282         gnu/java/security/der/DEREncodingException.java,
2283         gnu/java/security/provider/DSAParameters.java,
2284         gnu/java/security/provider/DSASignature.java,
2285         gnu/java/security/provider/Gnu.java,
2286         gnu/java/security/provider/GnuDSAPrivateKey.java,
2287         gnu/java/security/provider/GnuDSAPublicKey.java,
2288         java/security/AlgorithmParameterGenerator.java,
2289         java/security/AlgorithmParameters.java,
2290         java/security/KeyFactory.java,
2291         java/security/KeyPairGenerator.java,
2292         java/security/KeyStore.java,
2293         java/security/MessageDigest.java,
2294         java/security/SecureClassLoader.java,
2295         java/security/SecureRandom.java,
2296         java/security/Security.java,
2297         java/security/Signature.java,
2298         java/security/cert/Certificate.java,
2299         java/security/cert/CertificateFactory.java,
2300         java/security/cert/CertificateFactorySpi.java,
2301         java/security/cert/X509CRL.java,
2302         java/security/cert/X509Certificate.java,
2303         java/security/spec/DSAPublicKeySpec.java:
2304         New versions from classpath.
2305         * gnu/java/security/provider/DERReader.java,
2306         gnu/java/security/provider/DERWriter.java,
2307         java/security/Engine.java: Removed.
2308         * Makefile.am
2309         (java_source_files, javax_source_files): Added new files.
2310         * Makefile.in: Regenerated.
2311
2312 2003-04-29  Michael Koch  <konqueror@gmx.de>
2313
2314         * javax/swing/JTable.java
2315         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2316         (AUTO_RESIZE_LAST_COLUMN): New constant.
2317         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2318         (AUTO_RESIZE_OFF): New constant.
2319         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2320         (JTable): New method.
2321         (columnAdded): New method.
2322         (columnMarginChanged): New method.
2323         (columnMoved): New method.
2324         (columnRemoved): New method.
2325         (columnSelectionChanged): New method.
2326         (editingCanceled): New method.
2327         (editingStopped): New method.
2328         (getColumnModel): New method.
2329         (getPreferredScrollableViewportSize): New method.
2330         (getScrollableBlockIncrement): New method.
2331         (getScrollableTracksViewportHeight): New method.
2332         (getScrollableTracksViewportWidth): New method.
2333         (getScrollableUnitIncrement): New method.
2334         (getSelectedRow): New method.
2335         (getSelectionModel): New method.
2336         (tableChanged): New method.
2337         (setModel): New method.
2338         (setSelectionMode): New method.
2339         (setSelectionModel): New method.
2340         (setShowGrid): New method.
2341         (valueChanged): New method.
2342         * javax/swing/text/DefaultEditorKit.java
2343         (backwardAction): New constant.
2344         (beepAction): New constant.
2345         (beginAction): New constant.
2346         (beginLineAction): New constant.
2347         (beginParagraphAction): New constant.
2348         (beginWordAction): New constant.
2349         (copyAction): New constant.
2350         (cutAction): New constant.
2351         (defaultKeyTypedAction): New constant.
2352         (deleteNextCharAction): New constant.
2353         (deletePrevCharAction): New constant.
2354         (downAction): New constant.
2355         (endAction): New constant.
2356         (endLineAction): New constant.
2357         (endOfLineStringProperty): New constant.
2358         (endParagraphAction): New constant.
2359         (endWordAction): New constant.
2360         (forwardAction): New constant.
2361         (insertBreakAction): New constant.
2362         (insertContentAction): New constant.
2363         (insertTabAction): New constant.
2364         (nextWordAction): New constant.
2365         (pageDownAction): New constant.
2366         (pageUpAction): New constant.
2367         (pasteAction): New constant.
2368         (previousWordAction): New constant.
2369         (readOnlyAction): New constant.
2370         (selectAllAction): New constant.
2371         (selectionBackwardAction): New constant.
2372         (selectionBeginAction): New constant.
2373         (selectionBeginLineAction): New constant.
2374         (selectionBeginParagraphAction): New constant.
2375         (selectionBeginWordAction): New constant.
2376         (selectionDownAction): New constant.
2377         (selectionEndAction): New constant.
2378         (selectionEndLineAction): New constant.
2379         (selectionEndParagraphAction): New constant.
2380         (selectionEndWordAction): New constant.
2381         (selectionForwardAction): New constant.
2382         (selectionNextWordAction): New constant.
2383         (selectionPreviousWordAction): New constant.
2384         (selectionUpAction): New constant.
2385         (selectLineAction): New constant.
2386         (selectParagraphAction): New constant.
2387         (selectWordAction): New constant.
2388         (upAction): New constant.
2389         (writableAction): New constant.
2390
2391 2003-04-29  Michael Koch  <konqueror@gmx.de>
2392
2393         * java/util/PropertyPermission.java:
2394         New version from classpath
2395         * java/util/ResourceBundle.java:
2396         Partly merged from classpath
2397         (getObject): Reformated.
2398         (tryBundle): Set foundBundle = null if no bundle found.
2399
2400 2003-04-29  Michael Koch  <konqueror@gmx.de>
2401
2402         * javax/swing/AbstractListModel.java,
2403         javax/swing/DefaultBoundedRangeModel.java,
2404         javax/swing/DefaultSingleSelectionModel.java:
2405         New Versions from classpath.
2406
2407 2003-04-29  Michael Koch  <konqueror@gmx.de>
2408
2409         * java/awt/Window.java
2410         (show): Call super.show() instead of setVisible() to avoid endless
2411         loop.
2412         (hide): Call super.hide() instead of setVisible() to avoid endless
2413         loop.
2414
2415 2003-04-29  Michael Koch  <konqueror@gmx.de>
2416
2417         * java/util/zip/Deflater.java,
2418         java/util/zip/DeflaterOutputStream.java:
2419         Partly merged with classpath.
2420
2421 2003-04-27  Tom Tromey  <tromey@redhat.com>
2422
2423         * java/lang/natString.cc (_Jv_AllocString): Initialize
2424         cachedHashCode.
2425         (init): Likewise.
2426         (_Jv_NewStringUtf8Const): Likewise.
2427
2428 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2429
2430         * include/jvm.h: (_Jv_GetNbArgs) added
2431         (_Jv_GetSafeArg) added
2432         (_Jv_SetArgs) added
2433         * prims.cc: (_Jv_GetNbArgs) implemented
2434         (_Jv_GetSafeArg) implemented
2435         (_Jv_SetArgs) implemented
2436         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2437         setting _Jv_argc and _Jv_argv
2438         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2439         instead of _Jv_argv
2440         * java/lang/natRuntime.cc: (insertSystemProperties) use
2441         _Jv_GetSafeArg() instead of _Jv_argv
2442
2443 2003-04-23  Tom Tromey  <tromey@redhat.com>
2444
2445         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2446         required by this object.  Search superclasses to find required
2447         alignment.
2448         (get_alignment_from_class): Use alignment of type as it appears
2449         in a struct.
2450         (ALIGNOF): New macro.
2451         (struct aligner): New helper structure.
2452
2453 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2454
2455         * java/awt/Container.java (addImpl): Enable paint events if adding
2456         a lightweight to a heavyweight.
2457         (addNotify): Ensure that peer is created before
2458         addNotifyContainerChildren.
2459         (addNotifyContainerChildren): Enable paint events if a heavyweight
2460         container contains a lightweight.
2461
2462 2003-04-20  Tom Tromey  <tromey@redhat.com>
2463
2464         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2465         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2466         Classpath.
2467
2468 2003-04-19  Tom Tromey  <tromey@redhat.com>
2469
2470         * java/sql/Date.java, java/sql/DriverManager.java,
2471         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2472         Classpath.
2473
2474         * Makefile.in: Rebuilt.
2475         * Makefile.am (ordinary_java_source_files): Added new files.
2476         * java/security/AlgorithmParameterGenerator.java,
2477         java/security/AlgorithmParameters.java, java/security/Engine.java,
2478         java/security/Identity.java, java/security/IdentityScope.java,
2479         java/security/KeyFactory.java,
2480         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2481         java/security/MessageDigest.java, java/security/Policy.java,
2482         java/security/ProtectionDomain.java,
2483         java/security/SecureRandom.java, java/security/Security.java,
2484         java/security/Signature.java, java/security/SignatureSpi.java,
2485         java/security/SignedObject.java, java/security/Signer.java,
2486         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2487         java/security/spec/PSSParameterSpec.java,
2488         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2489         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2490         Classpath.
2491
2492 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2493
2494         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2495         (dispose): Null metrics.
2496         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2497         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2498         finalize.
2499         (finalize): Call dispose.
2500         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2501         (gcCachedCount): New field.
2502         (finalize): New method.
2503         (putGCInCache): New method.
2504         (getGCFromCache): New method.
2505         * gnu/gcj/xlib/GC.java (GC): Make protected.
2506         (clone): Get new GC from cache if possible.
2507         (create): New static method.
2508         (dispose): Save old GC in cache.
2509         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2510         deleting.
2511         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2512         is null.
2513         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2514         * java/awt/Container.java (visitChild): Dispose gfx2 when
2515         finished.
2516
2517 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2518
2519         * java/math/BigInteger.java (probablePrime): New.
2520         * java/math/BigDecimal.java (unscaledValue): New.
2521
2522 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2523
2524         * java/io/File.java (getAbsolutePath): On Windows, take care
2525         of paths like "C:", "G:foo\bar", etc.
2526         (getName): Make it work correctly on Windows.
2527         (getParent): Make it work correctly on Windows. For UNIX,
2528         fix bug that causes "/" to be returned as the parent of "/",
2529         instead of null as returned by Sun's JRE.
2530
2531         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2532
2533 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2534
2535         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2536         inner class.
2537         (CACHE_SIZE_PER_DISPLAY): New field
2538         (fontMetricsCache): New field
2539         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2540         loading ISO10646-1 fonts.
2541
2542 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2543
2544         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2545         characters.
2546         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2547         characters.
2548
2549 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2550
2551         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2552         floating point.
2553
2554 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2555
2556         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2557         installed libpthread is either linuxthreads with floating stacks or
2558         NPTL.
2559
2560 2003-04-14  Tom Tromey  <tromey@redhat.com>
2561
2562         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2563         of alignment.
2564
2565 2003-04-10  Tom Tromey  <tromey@redhat.com>
2566
2567         * verify.cc (pop64): Removed.
2568         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2569         exception if top-of-stack is narrow.
2570         (initialize_stack): Check to ensure that <init> is not static and
2571         <clinit> is.
2572
2573 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2574
2575         * java/io/ObjectStreamException
2576         * java/io/FileFilter
2577         * java/io/FilenameFilter
2578         * java/io/ObjectInput
2579         * java/io/ObjectOutput
2580         * java/io/ObjectStreamConstants
2581         Minor doc fixes, format fixes, spelling corrections, etc.
2582         * java/io/DataInput
2583         Corrected code samples in Javadocs to match reality
2584         * java/io/DataOutput
2585         * java/io/ObjectInputValidation
2586         Major documentation fixes - all Javadocs re-written or updated
2587
2588 2003-04-06  Michael Koch  <konqueror@gmx.de>
2589
2590         * java/net/URLConnection.java:
2591         Import classes directly.
2592         (URLConnection): Merged class documentation with classpath.
2593         (url): Moved, documentation from classpath added.
2594         (doInput): Moved, documentation from classpath added.
2595         (doOutput): Moved, documentation from classpath added.
2596         (allowUserInteraction): Moved.
2597         (useCaches): Moved, documentation from classpath added.
2598         (ifModifiedSince): Moved, documentation from classpath added.
2599         (connected): Moved, documentation from classpath added.
2600
2601 2003-04-06  Michael Koch  <konqueror@gmx.de>
2602
2603         * java/io/FileInputStream.java
2604         (skip): Renamed some variables to match classpath, added
2605         checks from classpath.
2606
2607 2003-03-31  Michael Koch  <konqueror@gmx.de>
2608
2609         * javax/swing/AbstractAction.java
2610         (AbstractAction): Reformatted.
2611         (serialVersionUID): New private member variable.
2612         * javax/swing/plaf/BorderUIResource.java
2613         (serialVersionUID): New private member variable.
2614         * javax/swing/plaf/basic/BasicLookAndFeel.java
2615         (serialVersionUID): New private member variable.
2616
2617 2003-03-31  Michael Koch  <konqueror@gmx.de>
2618
2619         * java/sql/Date.java
2620         (valueOf): Deprecated, reformatted.
2621         (toString): Deprecated, reformatted.
2622         * java/sql/Time.java
2623         (valueOf): Deprecated, reformatted.
2624         (toString): Deprecated, reformatted.
2625
2626 2003-03-31  Michael Koch  <konqueror@gmx.de>
2627
2628         * java/rmi/dgc/VMID.java
2629         (isUnique): Deprecated.
2630
2631 2003-03-31  Michael Koch  <konqueror@gmx.de>
2632
2633         * java/io/File.java
2634         (separator): Merged documentation from classpath.
2635         (separatorChar): Merged documentation from classpath.
2636         (pathSeparator): Merged documentation from classpath.
2637         (pathSeparatorChar): Merged documentation from classpath.
2638         (path): Merged documentation from classpath.
2639         (canRead): Merged documentation from classpath.
2640         (canWrite): Merged documentation from classpath.
2641         (createNewFile): Merged documentation from classpath.
2642         (delete): Merged documentation from classpath.
2643         (equals): Merged documentation from classpath.
2644         (exists): Merged documentation from classpath.
2645         (File): Renamed p to name to match classpath, merged documentation
2646         from classpath.
2647         (getAbsolutePath): Merged documentation from classpath.
2648         (getCanonicalPath): Merged documentation from classpath.
2649         (getCanonicalFile): Merged documentation from classpath.
2650         (getName): Merged documentation from classpath.
2651         (getParent): Merged documentation from classpath.
2652         (getParentFile): Merged documentation from classpath.
2653         (getPath): Merged documentation from classpath.
2654         (hashCode): Merged documentation from classpath.
2655         (isAbsolute): Merged documentation from classpath.
2656         (isDirectory): Merged documentation from classpath.
2657         (isFile): Merged documentation from classpath.
2658         (isHidden): Merged documentation from classpath.
2659         (lastModified): Merged documentation from classpath.
2660         (length): Merged documentation from classpath.
2661         (list): Merged documentation from classpath.
2662         (listFiles): Merged documentation from classpath.
2663         (toString): Merged documentation from classpath.
2664         (toURL): Merged documentation from classpath.
2665         (mkdir): Merged documentation from classpath.
2666         (mkdirs): Merged documentation from classpath.
2667         (createTempFile): Merged documentation from classpath.
2668         (setReadOnly): Merged documentation from classpath.
2669         (listRoots): Merged documentation from classpath.
2670         (compareTo): Merged documentation from classpath.
2671         (renameTo): Merged documentation from classpath.
2672         (setLastModified): Merged documentation from classpath.
2673         * java/io/PrintStream.java
2674         (auto_flush): Merged documentation from classpath.
2675         (PrintStream): Merged documentation from classpath.
2676         (checkError): Merged documentation from classpath.
2677         (setError): Merged documentation from classpath.
2678         (close): Merged documentation from classpath.
2679         (flush): Merged documentation from classpath.
2680         (print): Merged documentation from classpath.
2681         (println):  Merged documentation from classpath.
2682         (write): Renamed count to len to match classpath,
2683         merged documentation from classpath.
2684         * java/io/RandomAccessFile.java
2685         (readShort): Merged documentation from classpath.
2686         (readUnsignedByte): Merged documentation from classpath.
2687         (readUnsignedShort): Merged documentation from classpath.
2688         (readUTF): Merged documentation from classpath.
2689         (seek): Reformatted, merged documentation from classpath.
2690         (skipBytes): Renamed some variables to match classpath, reformatted,
2691         merged documentation from classpath.
2692         (write): Merged documentation from classpath.
2693         (writeBoolean): Merged documentation from classpath.
2694         (writeByte): Merged documentation from classpath.
2695         (writeShort): Merged documentation from classpath.
2696         (writeChar): Merged documentation from classpath.
2697         (writeInt): Merged documentation from classpath.
2698         (writeLong): Merged documentation from classpath.
2699         (writeFloat): Merged documentation from classpath.
2700         (writeDouble): Merged documentation from classpath.
2701         (writeBytes): Merged documentation from classpath.
2702         (writeChars): Merged documentation from classpath.
2703         (writeUTF): Reformatted.
2704         (getChannel): Reformatted.
2705
2706 2003-03-31  Michael Koch  <konqueror@gmx.de>
2707
2708         * java/awt/font/TextAttribute.java
2709         (readResolve): Throws java.io.InvalidObjectException.
2710
2711 2003-03-31  Michael Koch  <konqueror@gmx.de>
2712
2713         * java/rmi/server/LoaderHandler.java
2714         (loadClass): Deprecated.
2715         (getSecurityContext): Deprecated.
2716         * java/rmi/server/LogStream.java
2717         (getDefaultStream): Deprecated.
2718         (setDefaultStream): Deprecated.
2719         (getOutputStream): Deprecated.
2720         (setOutputStream): Deprecated.
2721         (write): Deprecated.
2722         (toString): Deprecated.
2723         (parseLevel): Deprecated.
2724         * java/rmi/server/Operation.java
2725         (Operation): Deprecated.
2726         (getOperation): Deprecated.
2727         (toString): Deprecated.
2728         * java/rmi/server/RemoteCall.java
2729         (getOutputStream): Deprecated.
2730         (releaseOutputStream): Deprecated.
2731         (getInputStream): Deprecated.
2732         (releaseInputStream): Deprecated.
2733         (getResultStream): Deprecated.
2734         (executeCall): Deprecated.
2735         (done): Deprecated.
2736         * java/rmi/server/RemoteRef.java
2737         (invoke): Deprecated.
2738         (newCall): Deprecated.
2739         (done): Deprecated.
2740         * java/rmi/server/RemoteStub.java
2741         (setRef): Deprecated.
2742         * java/rmi/server/Skeleton.java:
2743         No need to import java.lang.Exception explicitly.
2744         (dispatch): Deprecated.
2745         (getOperations): Deprecated.
2746
2747 2003-03-31  Michael Koch  <konqueror@gmx.de>
2748
2749         * java/rmi/dgc/VMID.java,
2750         java/rmi/registry/RegistryHandler.java,
2751         java/rmi/server/LogStream.java,
2752         java/rmi/server/Operation.java,
2753         java/rmi/server/RemoteCall.java,
2754         java/rmi/server/RemoteRef.java,
2755         java/rmi/server/RemoteStub.java:
2756         Reformatted.
2757
2758 2003-03-31  Michael Koch  <konqueror@gmx.de>
2759
2760         * javax/swing/AbstractCellEditor.java,
2761         javax/swing/AbstractListModel.java,
2762         javax/swing/ActionMap.java,
2763         javax/swing/BorderFactory.java,
2764         javax/swing/ButtonGroup.java,
2765         javax/swing/DefaultBoundedRangeModel.java,
2766         javax/swing/DefaultButtonModel.java,
2767         javax/swing/DefaultCellEditor.java,
2768         javax/swing/DefaultComboBoxModel.java,
2769         javax/swing/DefaultDesktopManager.java,
2770         javax/swing/DefaultListCellRenderer.java,
2771         javax/swing/DefaultSingleSelectionModel.java,
2772         javax/swing/InputMap.java,
2773         javax/swing/JComponent.java,
2774         javax/swing/JMenu.java,
2775         javax/swing/JSlider.java,
2776         javax/swing/KeyStroke.java,
2777         javax/swing/OverlayLayout.java,
2778         javax/swing/ScrollPaneLayout.java,
2779         javax/swing/SizeRequirements.java,
2780         javax/swing/UIManager.java,
2781         javax/swing/ViewportLayout.java,
2782         javax/swing/border/AbstractBorder.java,
2783         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2784         javax/swing/event/EventListenerList.java,
2785         javax/swing/table/AbstractTableModel.java,
2786         javax/swing/table/DefaultTableCellRenderer.java,
2787         javax/swing/table/DefaultTableColumnModel.java,
2788         javax/swing/table/DefaultTableModel.java,
2789         javax/swing/table/TableColumn.java,
2790         javax/swing/text/StyledEditorKit.java,
2791         javax/swing/tree/DefaultMutableTreeNode.java,
2792         javax/swing/tree/DefaultTreeModel.java,
2793         javax/swing/tree/DefaultTreeSelectionModel.java,
2794         javax/swing/tree/TreePath.java,
2795         javax/swing/undo/AbstractUndoableEdit.java,
2796         javax/swing/undo/StateEdit.java,
2797         javax/swing/undo/StateEditable.java,
2798         javax/swing/undo/UndoableEditSupport.java:
2799         Merges from classpath.
2800
2801 2003-03-30  Tom Tromey  <tromey@redhat.com>
2802
2803         * java/lang/String.java (data, boffset, count): Documented.
2804         (String(byte[],String)): Reformatted.
2805         (String(byte[])): Likewise.
2806         (lastIndexOf(int)): Likewise.
2807         (lastIndexOf(String)): Likewise.
2808         (substring(int)): Renamed argument to match Classpath.
2809         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2810
2811         * java/lang/String.java: Miscellaneous minor formatting changes
2812         to match Classpath more closely.
2813
2814 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2815             Tom Tromey  <tromey@redhat.com>
2816
2817         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2818         (init()): Removed.
2819         (charAt): Put index in exception.
2820         (contentEquals): New method.
2821         Include StringBuffer.h.
2822         * java/lang/String.java (cachedHashCode): New field.
2823         (String()): Follow classpath implementation.
2824         (init()): Removed.
2825         (contentEquals): Declare.
2826         (subSequence): Don't declare IndexOutIfBoundsException in throws
2827         clause.
2828         (matches, replaceFirst, replaceAll, split): New methods from
2829         Classpath.
2830
2831 2003-03-29  Tom Tromey  <tromey@redhat.com>
2832
2833         * java/lang/String.java: Reordered to follow Classpath; merged in
2834         javadoc.
2835
2836         * java/text/MessageFormat.java: Removed some whitespace.
2837
2838         * Makefile.in: Rebuilt.
2839         * Makefile.am (awt_java_source_files): Added new files.
2840         * gnu/javax/rmi/PortableServer.java,
2841         gnu/javax/rmi/CORBA/DelegateFactory.java,
2842         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2843         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2844         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2845         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2846         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2847         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2848         javax/rmi/PortableRemoteObject.java,
2849         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2850         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2851         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2852         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2853         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2854         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2855
2856         * java/lang/natClass.cc (newInstance): Put method name in
2857         exception.
2858         (getConstructor): Likewise.
2859         (getDeclaredConstructor): Likewise.
2860         (getPrivateMethod): Likewise.
2861
2862 2003-03-28  Tom Tromey  <tromey@redhat.com>
2863
2864         * java/lang/reflect/Proxy.java: New version from Classpath.
2865         * java/lang/Package.java: New version from Classpath.
2866
2867 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2868
2869         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2870         * configure: Regenerate.
2871
2872 2003-03-28  Michael Koch  <konqueror@gmx.de>
2873
2874         * java/io/File.java:
2875         Import needed classes instead of whole packages, merged class
2876         documentation with classpath, moved constants and variables to top of
2877         class.
2878         * java/io/PrintStream.java:
2879         Merged class documentation with classpath, moved constants and
2880         variables to top of class.
2881         * java/io/RandomAccessFile.java
2882         (RandomAccessFile): Merged with classpath.
2883         (read): Merged with classpath).
2884         (read*): Reformatted.
2885
2886 2003-03-28  Michael Koch  <konqueror@gmx.de>
2887
2888         * java/io/FileDescriptor.java
2889         (finalize): Throws Throwable, not IOException.
2890         * java/io/ObjectOutputStream.java
2891         (PutField.put): Doesnt throws anything.
2892
2893 2003­03-28  Michael Koch  <konqueror@gmx.de>
2894
2895         * java/io/FileOutputStream.java:
2896         Merged class documentation and authors with classpath.
2897         (FileOutputStream): Partly merged with classpath.
2898         (write): Merged with classpath.
2899         (getChannel): Make it synchronized instead of explicit block in this
2900         method.
2901         * java/io/RandomAccessFile.java:
2902         Merged class documentation and authors with classpath.
2903
2904 2003-03-26  Tom Tromey  <tromey@redhat.com>
2905
2906         * java/lang/natRuntime.cc (insertSystemProperties): Set
2907         gnu.classpath.home.url.
2908         * Makefile.in: Rebuilt.
2909         * Makefile.am: Define LIBDIR.
2910
2911 2003-03-25  Michael Koch  <konqueror@gmx.de>
2912
2913         * java/io/FileInputStream.java
2914         (read): Renamed b to buf and off to offset.
2915         * java/io/FileOutputStream.java
2916         (ch): Documentation added.
2917         (FileOutputStream): Documentation added.
2918         (getFD): Documentation added.
2919         (write): Documentation added.
2920         (close): Documentation added.
2921         (getChannel): Documentation added.
2922
2923 2003-03-24  Michael Koch  <konqueror@gmx.de>
2924
2925         * java/io/DataOutputStream.java
2926         (write): Merged from classpath.
2927         * java/io/File.java:
2928         Merged copyrigth with classpath.
2929         * java/io/FileInputStream.java
2930         (getChannel): Made it synchronized instead of using a synchronized
2931         block.
2932         * java/io/FileOutputStream.java: Reformatted.
2933         * java/io/InputStreamReader.java
2934         (InputStreamReader): Renamed enc to encoding_name.
2935         (close): Merged documentation from classpath.
2936         (getEncoding): Merged documentation from classpath.
2937         (ready): Merged documentation from classpath.
2938         (read): Merged documentation from classpath.
2939         * java/io/LineNumberReader.java
2940         (lineNumber): Made it private.
2941         (LineNumberReader): Use Constant instead of a direct value.
2942         * java/io/OutputStreamWriter.java
2943         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2944         documentation from classpath.
2945         (close): Merged documentation from classpath.
2946         (flush): Merged documentation from classpath.
2947         (write): Merged documentation from classpath.
2948         * java/io/PrintStream.java: Reformatted.
2949
2950 2003-03-24  Michael Koch  <konqueror@gmx.de>
2951
2952         * javax/swing/text/ComponentView.java
2953         (getComponent): Must be final.
2954         * javax/swing/tree/DefaultTreeCellRenderer.java:
2955         Reformatted.
2956         * javax/swing/undo/StateEditable.java:
2957         Reformatted.
2958
2959 2003-03-24  Michael Koch  <konqueror@gmx.de>
2960
2961         * java/rmi/activation/ActivationInstantiator.java:
2962         Reformatted.
2963         * java/rmi/activation/Activator.java:
2964         Reformatted.
2965         * java/rmi/registry/RegistryHandler.java:
2966         Remerged from classpath.
2967
2968 2003-03-24  Michael Koch  <konqueror@gmx.de>
2969
2970         * java/util/Date.java:
2971         Fixed documentation starting tag to make javadoc happy.
2972         * java/util/regex/Pattern.java
2973         (Pattern): Implements Serializable.
2974         * java/util/PatternSyntaxException.java
2975         (serialVersionUID): New member variable.
2976
2977 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2978
2979         * java/awt/ContainerOrderFocusTraversalPolicy.java
2980         (getFirstComponent): Implemented.
2981         (getLastComponent): Implemented.
2982         (getDefaultComponent): Implemented.
2983         (setImplicitDownCycleTraversal): Fixed implementation.
2984         * java/awt/Robot.java
2985         (Robot): Added documentation.
2986         * java/awt/Toolkit.java
2987         (getFontList): Deprecated.
2988         (getFontMetrics): Deprecated.
2989         (getPrintJob): Added documentation.
2990         (getSystemSelection): Added documentation.
2991         (getLockingKeyState): Added documentation.
2992         (setLockingKeyState): Added documentation.
2993         (createCustomCursor): Added documentation.
2994         (getBestCursorSize): Added documentation.
2995         (getMaximumCursorColors): Added documentation.
2996         (isFrameStateSupported): Added documentation.
2997
2998 2003-03-24  Michael Koch  <konqueror@gmx.de>
2999
3000         * java/io/RandomAccessFile.java:
3001         More little merges with classpath. No code changes.
3002
3003 2003-03-24  Michael Koch  <konqueror@gmx.de>
3004
3005         * java/net/natInetAddressNoNet.cc:
3006         Include stddef.h.
3007         * java/net/natPlainDatagramSocketImplNoNet.cc:
3008         Fixed inlcude of java/net/DatagramPacket.h.
3009         * java/net/natPlainSocketImplNoNet.cc:
3010         Include some missing classes.
3011
3012 2003-03-24  Michael Koch  <konqueror@gmx.de>
3013
3014         * java/awt/dnd/DropTarget.java
3015         (DropTargetAutoScroller): According to the online documentation, this
3016         is protected, but in reality it is public.
3017         * java/awt/dnd/DropTargetContext.java
3018         (TransferableProxy): According to the online documentation, this
3019         is protected, but in reality it is public.
3020
3021 2003-03-24  Michael Koch  <konqueror@gmx.de>
3022
3023         * java/io/DataInputStream.java
3024         (): Wrapped documentation line.
3025         (): Fixed @return tag.
3026         * java/io/DataOutputStream.java
3027         (written): Moved to top of class.
3028         (all methods): Merged documentation from classpath.
3029         * java/io/File.java:
3030         Merged copyright year with classpath.
3031         * java/io/FileInputStream.java
3032         (all methods): Merged documentation from classpath.
3033         * java/io/LineNumberReader.java
3034         (getLineNumber): Fixed @return tag.
3035         * java/io/ObjectInputStream.java.
3036         Reformatted.
3037         * java/io/ObjectOutputStream.java:
3038         Reformatted, fixed some @see tags.
3039         * java/io/OutputStreamWriter.java:
3040         Deleted empty line.
3041         * java/io/Writer.java:
3042         Reformatted.
3043
3044 2003-03-24  Michael Koch  <konqueror@gmx.de>
3045
3046         * java/awt/Frame.java
3047         (DEFAULT_CURSOR): Fixed @deprecated tag.
3048         (setCursor): Fixed @deprecated tag.
3049
3050 2003-03-24  Michael Koch  <konqueror@gmx.de>
3051
3052         * java/beans/beancontext/BeanContextEvent.java:
3053         Reformated.
3054
3055 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3056
3057         * java/lang/natStringBuffer.cc (regionMatches): New function.
3058         * java/lang/String.java (count): Now package-private.
3059         * java/lang/StringBuffer.java: Merged with Classpath.
3060
3061 2003-03-23  Michael Koch  <konqueror@gmx.de>
3062
3063         * java/io/BufferedOutputStream.java:
3064         Reformated.
3065         * java/io/BufferedReader.java:
3066         Reformated.
3067         * java/io/ByteArrayOutputStream.java
3068         (size): Fixed @see tag.
3069         * java/io/CharArrayWriter.java
3070         (size): Fixed @see tag.
3071         * java/io/DataInput.java:
3072         Reformated.
3073         * java/io/DataOutput.java:
3074         Reformated.
3075         * java/io/DataOutputStream.java:
3076         Merged copyright years with classpath.
3077         * java/io/Externalizable.java:
3078         Reformated.
3079         * java/io/FileFilter.java:
3080         Reformated.
3081         * java/io/FileInputStream.java:
3082         Merged copyright years with classpath.
3083         * java/io/FileOutputStream.java:
3084         Merged copyright years with classpath.
3085         * java/io/FilePermission.java
3086         (FilePermission): Replaced @XXX with FIXME:.
3087         * java/io/FileWriter.java:
3088         Reformated.
3089         * java/io/FilenameFilter.java:
3090         Reformated.
3091         * java/io/FilterInputStream.java:
3092         Reformated.
3093         * java/io/FilterOutputStream.java:
3094         Reformated.
3095         * java/io/FilterReader.java:
3096         Reformated.
3097         * java/io/FilterWriter.java:
3098         Reformated.
3099         * java/io/LineNumberInputStream.java
3100         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3101         happy.
3102         (getLineNumber): Fixed @return tag.
3103         * java/io/ObjectInput.java:
3104         Reformated.
3105         * java/io/ObjectOutput.java:
3106         Reformated.
3107         * java/io/ObjectStreamClass.java:
3108         Reformated.
3109         * java/io/PrintStream.java:
3110         Merged copyright years with classpath.
3111         * java/io/PushbackReader.java
3112         (PushbackReader): Replaced @code with @param.
3113         * java/io/SerializablePermission.java:
3114         Reformated.
3115         * java/io/StreamTokenizer.java
3116         (resetSyntax): Fixed @see tag.
3117
3118 2003-03-22  Richard Henderson  <rth@redhat.com>
3119
3120         * sysdep/ia64/locks.h: Include ia64intrin.h.
3121         (compare_and_swap): Use __sync_bool_compare_and_swap.
3122         (compare_and_swap_release): Expose ar.ccv assignment.
3123
3124 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3125
3126         * include/posix.h: Add suffix for darwin dynamic libraries.
3127
3128 2003-03-21  Michael Koch  <konqueror@gmx.de>
3129
3130         * javax/swing/Action.java
3131         (ACCELERATOR_KEY): New constant.
3132         (ACTION_COMMAND_KEY): Likewise.
3133         (MNEMONIC_KEY): Likewise.
3134         * javax/swing/UnsupportedLookAndFeelException.java
3135         (UnsupportedLookAndFeelException): Must be public.
3136         * javax/swing/WindowConstants.java
3137         (EXIT_ON_CLOSE): New constant.
3138         * javax/swing/text/BadLocationException.java
3139         (offset): New member variable.
3140         (BadLocationException): New implementation, documentation added.
3141         (offsetRequested): New method.
3142         * javax/swing/text/Caret.java:
3143         Reformated.
3144         * javax/swing/text/Document.java:
3145         Reformated.
3146
3147 2003-03-21  Michael Koch  <konqueror@gmx.de>
3148
3149         * java/rmi/activation/Activatable.java
3150         (serialVersionUID): New member variable.
3151         * java/rmi/activation/ActivationGroup.java
3152         (serialVersionUID): New member variable.
3153         * java/rmi/activation/ActivationGroupDesc.java
3154         (serialVersionUID): New member variable.
3155         * java/rmi/registry/Registry.java:
3156         Reformated.
3157         (Registry): Deprecated.
3158         * java/rmi/server/LoaderHandler.java
3159         Reformated.
3160         (LoaderHandler): Deprecated.
3161         * java/rmi/server/LogStream.java
3162         Reformated.
3163         (LogStream): Deprecated.
3164         * java/rmi/server/Operation.java
3165         (Operation): Deprecated.
3166         * java/rmi/server/RMIFailureHandler.java:
3167         Reformated.
3168         * java/rmi/server/RMISocketFactory.java:
3169         Reformated.
3170         * java/rmi/server/RemoteCall.java
3171         (RemoteCall): Deprecated.
3172         * java/rmi/server/RemoteStub.java:
3173         Reformated.
3174         * java/rmi/server/Skeleton.java
3175         Reformated.
3176         (Skeleton): Deprecated.
3177
3178 2003-03-21  Michael Koch  <konqueror@gmx.de>
3179
3180         * java/io/LineNumberReader.java
3181         (LineNumberReader): Merged documentation with classpath.
3182         (getLineNumber): Likewise.
3183         (setLineNumber): Likewise.
3184         (mark): Likewise.
3185         (reset): Likewise.
3186         (read): Likewise.
3187         (readLine): Likewise.
3188         (skip): Likewise.
3189
3190 2003-03-21  Michael Koch  <konqueror@gmx.de>
3191
3192         * java/rmi/RMISecurityManager.java
3193         (checkAccept): Removed.
3194         (checkAccess): Likewise.
3195         (checkAccess): Likewise.
3196         (checkAwtEventQueueAccess): Likewise.
3197         (checkConnect): Likewise.
3198         (checkCreateClassLoader): Likewise.
3199         (checkDelete): Likewise.
3200         (checkExec): Likewise.
3201         (checkExit): Likewise.
3202         (checkLink): Likewise.
3203         (checkListen): Likewise.
3204         (checkMemberAccess): Likewise.
3205         (checkMulticast): Likewise.
3206         (checkPackageAccess): Likewise.
3207         (checkPackageDefinition): Likewise.
3208         (checkPermission): Likewise.
3209         (checkPrintJobAccess): Likewise.
3210         (checkPropertiesAccess): Likewise.
3211         (checkPropertyAccess): Likewise.
3212         (checkRead): Likewise.
3213         (checkSecurityAccess): Likewise.
3214         (checkSetFactory): Likewise.
3215         (checkSystemClipboardAccess): Likewise.
3216         (checkTopLevelWindow): Likewise.
3217         (checkWrite): Likewise.
3218
3219 2003-03-20  Michael Koch  <konqueror@gmx.de>
3220
3221         * gnu/java/nio/FileChannelImpl.java
3222         (address): Removed.
3223         (map_address): New member variable.
3224         (length): Make it package private.
3225         (fd): Make it package private.
3226         (buf): Make it package private.
3227         (file_obj): Make it package private.
3228         (FileChannelImpl): New constructor.
3229         (nio_mmap_file): Use RawData instead of long.
3230         (nio_munmap_file): Use RawData instead of long.
3231         (nio_msync): Use RawData instead of long.
3232         (implCloseChannel): New implementation using map_address.
3233         (read): Reformated.
3234         (map): Implemented.
3235         (create_direct_mapped_buffer): Implemented, use RawData, throws
3236         IOException.
3237         (force): Use map_address instead of address.
3238         * gnu/java/nio/MappedByteFileBuffer.java
3239         (address): Removed.
3240         (map_address): New member variable.
3241         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3242         (several methods): Use map_address instead of address, replaced long
3243         with RawData where appropriate.
3244         * gnu/java/nio/natFileChannelImpl.cc
3245         (nio_mmap_file): Replaced long with RawData.
3246         (nio_munmap_file): Replaced long with RawData.
3247         (nio_msync): Replaced long with RawData.
3248         * gnu/java/nio/natMappedByteFileBuffer.cc
3249         (several methods): Replaced long with RawData where appropriate.
3250
3251 2003-03-20  Michael Koch  <konqueror@gmx.de>
3252
3253         * java/net/InetAddress.java,
3254         java/net/JarURLConnection.java,
3255         java/net/PlainDatagramSocketImpl.java,
3256         java/net/PlainSocketImpl.java,
3257         java/net/URLConnection.java:
3258         Merged copyright statements with classpath for easier merging.
3259
3260 2003-03-20  Michael Koch  <konqueror@gmx.de>
3261
3262         * java/io/FileInputStream.java
3263         (getChannel): New implementation.
3264         * java/io/FileOutputStream.java
3265         (ch): New member variable.
3266         (getChannel): Implemented.
3267         * java/io/RandomAccessFile.java
3268         (RandomAccessFile): Throws FileNotFoundException instead of
3269         IOException.
3270         (getChannel): New method.
3271         (ch): New member variable.
3272
3273 2003-03-20  Michael Koch  <konqueror@gmx.de>
3274
3275         * java/io/DataOutputStream.java,
3276         java/io/File.java,
3277         java/io/FileInputStream.java,
3278         java/io/FileOutputStream.java,
3279         java/io/InputStreamReader.java,
3280         java/io/LineNumberReader.java,
3281         java/io/OutputStreamWriter.java,
3282         java/io/PrintStream.java,
3283         java/io/RandomAccessFile.java:
3284         Merged copyright statements with classpath for easier merging.
3285
3286 2003-03-19  Michael Koch  <konqueror@gmx.de>
3287
3288         * java/lang/Process.java:
3289         Merged from classpath.
3290
3291 2003-03-19  Michael Koch  <konqueror@gmx.de>
3292
3293         * java/io/FileOutputStream.java
3294         (FileOutputStream): New constructor, merged from classpath.
3295         * java/io/FileWriter.java
3296         (FileWriter): New constructor, merged from classpath.
3297
3298 2003-03-18  Michael Koch  <konqueror@gmx.de>
3299
3300         * java/awt/ScrollPane.java
3301         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3302         (getViewportSize): Likewise.
3303         (addNotify): Likewise.
3304         (removeNotify): Likewise.
3305         * java/awt/ScrollPaneAdjustable.java
3306         (ScrollPaneAdjustable): No longer extends Scrollbar.
3307         * java/beans/beancontext/BeanContextServices.java:
3308         Reformated.
3309         (getService): Added throws TooManyListenersException;
3310         * java/beans/beancontext/BeanContextServicesSupport.java:
3311         Reformated.
3312
3313 2003-03-18  Michael Koch  <konqueror@gmx.de>
3314
3315         * java/io/BufferedOutputStream.java,
3316         java/io/DataInput.java,
3317         java/io/DataInputStream.java,
3318         java/io/DataOutput.java,
3319         java/io/Externalizable.java:
3320         More merges from classpath.
3321
3322 2003-03-18  Michael Koch  <konqueror@gmx.de>
3323
3324         * configure.in: Fixed links to platform dependant java.net files.
3325         * configure: Regenerated.
3326         * java/net/natInetAddress.cc,
3327         java/net/natNetworkInterface.cc,
3328         java/net/natPlainDatagramSocketImpl.cc,
3329         java/net/natPlainSocketImpl.cc:
3330         Removed.
3331
3332 2003-03-18  Michael Koch  <konqueror@gmx.de>
3333
3334         * configure.in: Create links to architecture dependent files,
3335         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3336         * configure: Regenerated.
3337         * java/net/natInetAddressNoNet.cc,
3338         java/net/natInetAddressPosix.cc,
3339         java/net/natInetAddressWin32.cc,
3340         java/net/natNetworkInterfaceNoNet.cc,
3341         java/net/natNetworkInterfacePosix.cc,
3342         java/net/natNetworkInterfaceWin32.cc,
3343         java/net/natPlainDatagramSocketImplNoNet.cc,
3344         java/net/natPlainDatagramSocketImplPosix.cc,
3345         java/net/natPlainDatagramSocketImplWin32.cc,
3346         java/net/natPlainSocketImplNoNet.cc,
3347         java/net/natPlainSocketImplPosix.cc,
3348         java/net/natPlainSocketImplWin32.cc: New files.
3349
3350 2003-03-18  Michael Koch  <konqueror@gmx.de>
3351
3352         * java/io/BufferedReader.java,
3353         java/io/BufferedWriter.java,
3354         java/io/ByteArrayOutputStream.java,
3355         java/io/FileFilter.java,
3356         java/io/FilePermission.java,
3357         java/io/FileReader.java,
3358         java/io/FileWriter.java,
3359         java/io/FilenameFilter.java,
3360         java/io/FilterInputStream.java,
3361         java/io/FilterOutputStream.java,
3362         java/io/FilterReader.java,
3363         java/io/FilterWriter.java,
3364         java/io/ObjectInput.java,
3365         java/io/ObjectInputValidation.java,
3366         java/io/ObjectOutput.java,
3367         java/io/ObjectStreamField.java,
3368         java/io/PipedInputStream.java,
3369         java/io/PipedReader.java,
3370         java/io/PrintWriter.java,
3371         java/io/PushbackReader.java,
3372         java/io/Reader.java,
3373         java/io/SerializablePermission.java,
3374         java/io/StringReader.java,
3375         java/io/Writer.java:
3376         Merged from classpath.
3377
3378 2003-03-17  Michael Koch  <konqueror@gmx.de>
3379
3380         * java/awt/ScrollPaneAdjustable.java:
3381         Compile fixes.
3382         
3383 2003-03-17  Michael Koch  <konqueror@gmx.de>
3384
3385         * java/net/DatagramSocket.java
3386         (connect): Fixed comment.
3387         * java/nio/ByteBuffer.java
3388         (hasArray): Fixed comment.
3389
3390 2003-03-17  Michael Koch  <konqueror@gmx.de>
3391
3392         * java/beans/Beans.java:
3393         Explicitely import classes not packages.
3394         * java/beans/FeatureDescriptor.java
3395         (preferred): New member variable.
3396         (isPreferred): New method.
3397         (setPreferred): New method.
3398         * java/beans/PropertyEditorManager.java:
3399         Explicitely import used classes.
3400         * java/beans/beancontext/BeanContextChild.java:
3401         Added line wrapping.
3402         * java/beans/beancontext/BeanContextChildSupport.java:
3403         Reindented.
3404         * java/beans/beancontext/BeanContextEvent.java:
3405         Reindented.
3406
3407 2003-03-17  Michael Koch  <konqueror@gmx.de>
3408
3409         * java/awt/Dialog.java
3410         (Dialog): New constructor, changed implementations, added
3411         documentation.
3412         * java/awt/ScrollPaneAdjustable.java
3413         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3414         Serializable.
3415         (serialVersionUID): New member variable.
3416         (sp): New member variable.
3417         (orientation): New member variable.
3418         (value): New member variable.
3419         (minimum): New member variable.
3420         (maximum): New member variable.
3421         (visibleAmount): New member variable.
3422         (unitIncrement): New member variable.
3423         (blockIncrement): New member variable.
3424         (AdjustmentListener): New member variable.
3425         (ScrollPaneAdjustable): New implementation.
3426         (addAdjustmentListener): New method.
3427         (removeAdjustmentListener): New method.
3428         (getAdjustmentListeners): New method.
3429         (getBlockIncrement): New method.
3430         (getMaximum): New method.
3431         (getMinimum): New method.
3432         (getOrientation): New method.
3433         (getUnitIncrement): New method.
3434         (getValue): New method.
3435         (getVisibleAmount): New method.
3436         (setBlockIncrement): New method.
3437         (setMaximum): Implemented.
3438         (setMinimum): Implemented.
3439         (setUnitIncrement): New method.
3440         (setValue): New method.
3441         (setVisibleAmount): Implemented. 
3442         (paramString): New stubbed method.
3443         * java/awt/Window.java
3444         (show): Call setVisible().
3445         (hide): Call setVisible().
3446         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3447         and WINDOW_STATE_CHANGED.
3448         (processWindowFocusEvent): New method.
3449         (processWindowStateEvent): New method.
3450         (postEvent): Deprecated.
3451         (applyResourceBundle): Deprecated.
3452         * java/awt/datatransfer/DataFlavor.java
3453         (DataFlavor): Doesn't thow ClassNotFoundException.
3454
3455 2003-03-17  Michael Koch
3456
3457         * javax/print/attribute/Attribute.java,
3458         javax/print/attribute/AttributeSet.java,
3459         javax/print/attribute/PrintRequestAttributeSet.java:
3460         New files.
3461         * Makefile.am
3462         (javax_source_files): Added new files:
3463         javax/print/attribute/Attribute.java
3464         javax/print/attribute/AttributeSet.java
3465         javax/print/attribute/PrintRequestAttributeSet.java
3466         * Makefile.in: Regenerated.
3467
3468 2003-03-17  Michael Koch
3469
3470         * javax/print/attribute/Attribute.java,
3471         javax/print/attribute/AttributeSet.java,
3472         javax/print/attribute/PrintRequestAttributeSet.java:
3473         New files.
3474         * Makefile.am
3475         (awt_java_source_files): Added new files:
3476         javax/print/attribute/Attribute.java
3477         javax/print/attribute/AttributeSet.java
3478         javax/print/attribute/PrintRequestAttributeSet.java
3479         * Makefile.in: Regenerated.
3480
3481 2003-03-16  Tom Tromey  <tromey@redhat.com>
3482
3483         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3484         Include platform.h.
3485         * java/lang/natRuntime.cc (insertSystemProperties): Use
3486         _Jv_platform_path_separator.
3487         (nativeGetLibname): Use _Jv_platform_file_separator.
3488         (_load): Use _Jv_platform_onload_names.
3489         (onload_names): New global.
3490         * include/win32.h (_Jv_platform_file_separator): New define.
3491         (_Jv_platform_path_separator): Likewise.
3492         (_Jv_platform_onload_names): Likewise.
3493         (_Jv_platform_ffi_abi): Likewise.
3494         * include/posix.h (_Jv_platform_file_separator): New define.
3495         (_Jv_platform_path_separator): Likewise.
3496         (_Jv_platform_onload_names): Likewise.
3497         (_Jv_platform_ffi_abi): Likewise.
3498
3499 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3500
3501         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3502
3503 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3504
3505         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3506         hierarchy loop.
3507         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3508         list to Object,ObjectStreamClass, moved callReadMethod code up into
3509         readObject and added Class argument to all setXxxField calls.
3510         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3511         consistent with ObjectOutputStream and to facilitate caching the
3512         Method in the future.
3513         (setBooleanField): Added Class argument.
3514         (setByteField): Likewise.
3515         (setCharField): Likewise.
3516         (setDoubleField): Likewise.
3517         (setFloatField): Likewise.
3518         (setIntField): Likewise.
3519         (setLongField): Likewise.
3520         (setShortField): Likewise.
3521         (setObjectField): Likewise.
3522         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3523         class hierarchy loop.
3524         (defaultWriteObject): Call writeFields with new argument list.
3525         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3526         list to Object,ObjectStreamClass, moved callWriteMethod up into
3527         writeObject and added Class argument to all getXxxField calls.
3528         (callWriteMethod): Added ObjectStreamClass argument to be able to
3529         get the proper class to call getMethod on (each class can have (or
3530         not have) its own writeObject method).
3531         (getBooleanField): Added Class argument.
3532         (getByteField): Likewise.
3533         (getCharField): Likewise.
3534         (getDoubleField): Likewise.
3535         (getFloatField): Likewise.
3536         (getIntField): Likewise.
3537         (getLongField): Likewise.
3538         (getShortField): Likewise.
3539         (getObjectField): Likewise.
3540         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3541         facilitate caching the Method object in the future.
3542
3543 2003-03-12  Andreas Schwab  <schwab@suse.de>
3544
3545         * configure.in: Avoid trailing /. in toolexeclibdir.
3546         * configure: Rebuilt.
3547
3548 2003-03-11  Michael Koch  <konqueror@gmx.de>
3549
3550         * gnu/java/nio/ByteBufferImpl.java
3551         (putInt): Use limit() instead of limit.
3552         * gnu/java/nio/CharBufferImpl.java
3553         (slice): Fixed implementation.
3554         (subSequence): Better bounds checking.
3555         * gnu/java/nio/MappedByteFileBuffer.java:
3556         Import all needed classes directly.
3557         * java/nio/ByteBuffer.java
3558         (hashCode): New dummy method.
3559         * java/nio/CharBuffer.java
3560         (array_offset): New member variable.
3561         (hasArray): Fixed documentation.
3562         (arrayOffset): Return array_offset.
3563
3564 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3565
3566         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3567         setter; made return value of getter const char* instead of char*
3568         * prims.cc: removed all references to _Jv_ThisExecutable().
3569         These are in the platform-specific sections now.
3570         * posix.cc: define platform-specific _Jv_ThisExecutable().
3571         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3572         * win32.cc: define platform-specific _Jv_ThisExecutable()
3573         using GetModuleFilename()
3574         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3575         to argv[0] instead of _Jv_ThisExecutable()
3576
3577 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3578
3579         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3580         that is set if we are using addr2name.awk instead of addr2line.
3581         (NameFinder): Set usingAddr2name if using addr2name.awk.
3582         (getExternalLabel): New native method to convert a method 
3583         name to an external label.
3584         (lookup): Convert name given by addr2line to an external label
3585         before demangling.
3586
3587         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3588         constant representing the prefix attached to method names to
3589         convert them to an external label.
3590         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3591         using LABEL_PREFIX.
3592
3593 2003-03-10  Tom Tromey  <tromey@redhat.com>
3594
3595         * Makefile.in: Rebuilt.
3596         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3597         (JC1FLAGS): Removed -Wno-deprecated.
3598
3599 2003-03-10  Michael Koch  <konqueror@gmx.de>
3600
3601         * java/nio/ByteOrder.java
3602         (nativeOrder): Working implementation, added documentation.
3603         (toString): Added documentation.
3604
3605 2003-03-10  Michael Koch  <konqueror@gmx.de>
3606
3607         * java/net/DatagramSocket.java,
3608         java/net/MulticastSocket.java,
3609         java/net/Socket.java,
3610         java/net/URL.java,
3611         java/net/URLConnection.java:
3612         Fixed some documentation tags to make javadoc and friends happy.
3613
3614 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3615
3616         * java/beans/beancontext/BeanContextServicesSupport.java,
3617         java/beans/beancontext/BeanContextSupport.java: New files.
3618         * Makefile.am
3619         (awt_source_files): Added new files.
3620         * Makefile.in: Regenerated.
3621
3622 2003-03-10  Michael Koch  <konqueror@gmx.de>
3623
3624         * java/awt/FocusTraversalPolicy.java
3625         (FocusTraversalPolicy): Documentation added.
3626         (getComponentAfter): Documentation added.
3627         (getComponentBefore): Documentation added.
3628         (getFirstComponent): Documentation added.
3629         (getLastComponent): Documentation added.
3630         (getDefaultComponent): Documentation added.
3631         (getInitialComponent): Documentation added.
3632         * java/awt/ScrollPaneAdjustable.java
3633         (sp): New member variable.
3634         (orientation): New member variable.
3635         (value): New member variable.
3636         (minimum): New member variable.
3637         (maximum): New member variable.
3638         (visibleAmount): New member variable.
3639         (unitIncrement): New member variable.
3640         (blockIncrement): New member variable.
3641         (adjustmentListener): New member variable.
3642         (ScrollPaneAdjustable): Rewrote.
3643         (addAdjustmentListener): New method.
3644         (removeAdjustmentListener): New method.
3645         (getAdjustmentListeners): New method.
3646         (getBlockIncrement): New method.
3647         (getMaximum): New method.
3648         (getMinimum): New method.
3649         (getOrientation): New method.
3650         (getUnitIncrement): New method.
3651         (getValue): New method.
3652         (getVisibleAmount): New method.
3653         (setBlockIncrement): New method.
3654         (setUnitIncrement): New method.
3655         (setMaximum): Implemented.
3656         (setMinimum): Implemented.
3657         (setValue): New method.
3658         (setVisibleAmount): Implemented.
3659         (paramString): New method.
3660         * java/awt/Window.java
3661         (show): Use setVisible(true) instead of super.show().
3662         (hide): Use sevVisible(false) instead of super.hide().
3663         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3664         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3665         (postEvent): Deprecated.
3666         (applyResourceBundle): Deprecated.
3667         (processWindowFocusEvent): New method.
3668         (processWindowStateEvent): New method.
3669         * java/awt/datatransfer/DataFlavor.java: Reindented.
3670         * java/awt/font/TextHitInfo.java
3671         (charIndex): New member variable.
3672         (leadingEdge): New member variable.
3673         (TextHitInfo): New constructor.
3674         (getCharIndex): Implemented.
3675         (isLeadingEdge): Implemented.
3676         (getInsertionIndex): Implemented.
3677         (hashCode): Access charIndex directly.
3678         (equals): Reformated.
3679         (leading): Implemented.
3680         (trailing): Implemented.
3681         (beforeOffset): Implemented.
3682         (afterOffset): Implemented.
3683         (getOtherHit): Implemented.
3684         (getOffsetHit): Implemented.
3685         (toString): Implemented.
3686         * java/awt/image/BufferedImage.java
3687         (BufferedImage): Implements WritableRenderedImage.
3688         (observers): New member variable.
3689         (addTileObserver): New method.
3690         (removeTileObserver): New method.
3691
3692 2003-03-09  Tom Tromey  <tromey@redhat.com>
3693
3694         PR libgcj/9934:
3695         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3696         to lseek.  Return 0 if we can't compute the value.
3697
3698 2003-03-03  Michael Koch  <konqueror@gmx.de>
3699
3700         * java/net/NetworkInterface.java: Merged with classpath.
3701
3702 2003-03-03  Tom Tromey  <tromey@redhat.com>
3703
3704         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3705         of bytecode.
3706         (handle_ret_insn): Fail if returning to jsr that appears at end of
3707         bytecode.
3708
3709 2003-03-03  Michael Koch  <konqueror@gmx.de>
3710
3711         * Makefile.am
3712         (ordinary_java_source_files):
3713         Added gnu/java/nio/MappedByteFileBuffer.java.
3714         (nat_source_files):
3715         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3716         * Makefile.in: Regenerated.
3717
3718 2003-03-03  Michael Koch  <konqueror@gmx.de>
3719
3720         * java/net/DatagramSocket.java
3721         (connect): Merged comment from classpath.
3722         (receive): Merged documentation from classpath.
3723         * java/net/Socket.java
3724         (setSoTimeout): Clarified documentation.
3725         * java/net/URL.java
3726         (getPath): Merged from classpath.
3727         (getUserInfo): Merged from classpath.
3728         (getQuery): Merged from classpath.
3729         * java/net/URLStreamHandler.java
3730         (toExternalForm): Merged from classpath.
3731
3732 2003-03-02  Mark Wielaard  <mark@klomp.org>
3733
3734         * java/util/Properties.java (load): Only skip line if the first
3735         character is a comment, whitespaces don't count.
3736
3737 2003-03-02  Michael Koch  <konqueror@gmx.de>
3738
3739         * java/net/NetPermission.java:
3740         Merged copyright with classpath.
3741
3742 2003-03-02  Michael Koch  <konqueror@gmx.de>
3743
3744         * java/lang/Package.java:
3745         Remerged from classpath.
3746
3747 2003-03-02  Michael Koch  <konqueror@gmx.de>
3748
3749         * java/net/HttpURLConnection.java
3750         (HTTP_SERVER_ERROR): Deprecated.
3751         * java/net/MulticastSocket.java
3752         (send): Replaced checkMulticast with appropriate checkPermission call,
3753         deprecated.
3754         * java/net/URLDecoder.java
3755         (decode): Deprecated.
3756         * java/net/URLEncoder.java
3757         (encode): Deprecated.
3758
3759 2003-03-02  Michael Koch  <konqueror@gmx.de>
3760
3761         * javax/swing/text/Caret.java
3762         (getMagicCaretPosition): Fixed typo in method name.
3763         * javax/swing/text/DefaultCaret.java
3764         (getMagicCaretPosition): Fixed typo in method name.
3765
3766 2003-03-02  Michael Koch  <konqueror@gmx.de>
3767
3768         * java/awt/List.java
3769         (setMultipleSelections): Deprecated.
3770         (delItem): Deprecated.
3771         * java/awt/MenuComponent.java
3772         (getPeer): Deprecated.
3773         * java/awt/ScrollPane.java
3774         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3775         * java/awt/dnd/MouseDragGestureRecognizer.java
3776         (mouseClicked): Added comment.
3777         (mousePressed): Added comment.
3778         (mouseReleased): Added comment.
3779         (mouseEntered): Added comment.
3780         (mouseExited): Added comment.
3781         (mouseDragged): Added comment.
3782         (mouseMoved): Added comment.
3783         * java/awt/event/KeyEvent.java
3784         (KeyEvent): Deprecated.
3785         (setModifiers): Deprecated.
3786         
3787 2003-03-02  Michael Koch  <konqueror@gmx.de>
3788
3789         * gnu/java/nio/FileChannelImpl.java
3790         (fd): Type FileDescriptor instead of int.
3791         (lengthInternal): Removed.
3792         (FileChannelImpl): Fixed arguments, check type of file object.
3793         (size): Made it native.
3794         (implPosition): New native method.
3795         (implTruncate): New native method.
3796         (position): Implemented.
3797         (truncate): Implemented.
3798         (nio_mmap_file): Changed arguments.
3799         (nio_munmap_file): Changed arguments.
3800         (nio_msync): Changed arguments.
3801         * gnu/java/nio/natFileChannelImpl.cc
3802         (lengthInternal): Removed.
3803         (size): New method.
3804         (implPosition): New method.
3805         (implTruncate): New method.
3806         (nio_mmap_file): Changed arguments.
3807         (nio_munmap_file): Changed arguments.
3808         (nio_msync): Changed arguments.
3809
3810 2003-03-02  Michael Koch  <konqueror@gmx.de>
3811
3812         * java/awt/dnd/DropTargetContext.java:
3813         Compile fix: Forgot to commit import.
3814         
3815 2003-03-02  Michael Koch  <konqueror@gmx.de>
3816
3817         * java/awt/Component.java,
3818         java/awt/ScrollPane.java:
3819         Fixed typos.
3820
3821 2003-03-02  Michael Koch  <konqueror@gmx.de>
3822
3823         * java/awt/dnd/DnDEventMulticaster.java: New file.
3824         * java/awt/dnd/DragSource.java
3825         (flavorMap): New member variable.
3826         (dragSourceListener): New member variable.
3827         (dragSourceMotionListener): New member variable.
3828         (getFlavorMap): Implemented.
3829         (createDragGestureRecognizer): Implemented.
3830         (addDragSourceListener): Implemented.
3831         (removeDragSourceListener): Implemented.
3832         (getDragSourceListeners): Implemented.
3833         (addDragSourceMotionListener): Implemented.
3834         (removeDragSourceMotionListener): Implemented.
3835         (getDragSourceMotionListeners): Implemented.
3836         (getListeners): Implemented.
3837         * java/awt/dnd/DragSourceContext.java
3838         (peer): New member variable.
3839         (cursor): New member variable.
3840         (transferable): New member variable.
3841         (trigger): New member variable.
3842         (dragSourceListener): New member variable.
3843         (image): New member variable.
3844         (offset): New member variable.
3845         (DragSourceContext): Implemented.
3846         (getDragSource): Implemented.
3847         (getComponent): Implemented.
3848         (getTrigger): Implemented.
3849         (getSourceActions): Implemented.
3850         (setCursor): Implemented.
3851         (getCursor): Implemented.
3852         (addDragSourceListener): Implemented.
3853         (removeDragSourceListener): Implemented.
3854         (getTransferable): Implemented.
3855         * java/awt/dnd/DropTarget.java
3856         (DropTargetAutoScroller.component): New member variable.
3857         (DropTargetAutoScroller.point): New member variable.
3858         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3859         (DropTargetAutoScroller.updateLocation): Implemented.
3860         (active): Renamed from isActive, defaults to true now.
3861         (component): New member variable.
3862         (flavorMap): New member variable.
3863         (actions): New member variable.
3864         (dropTargetContext): New member variable.
3865         (dropTargetListener): New member variable.
3866         (DropTarget): Implemented.
3867         (getComponent): Implemented.
3868         (setComponent): Implemented.
3869         (setDefaultActions): Implemented.
3870         (getDefaultActions): Implemented.
3871         (setActive): Use active instead of isActive.
3872         (isActive): Use active instead of isActive.
3873         (addDropTargetListener): Implemented.
3874         (removeDropTargetListener): Implemented.
3875         (getFlavorMap): Implemented.
3876         (setFlavorMap): Implemented.
3877         (getDropTargetContext): Implemented.
3878         (createDropTargetContext): Implemented.
3879         (createDropTargetAutoScroller): Implemented.
3880         * java/awt/dnd/DropTargetContext.java
3881         (TransferableProxy.getTransferDataFlavors): Implemented.
3882         (TransferableProxy.isDataFlavorSupported): Implemented.
3883         (TransferableProxy.getTransferData): Implemented.
3884         (dropTarget):  New member variable.
3885         (dtcp): New member variable.
3886         (DropTargetContext): New package private constructor.
3887         (getDropTarget): Implemented.
3888         (getComponent): Implemented.
3889         (addNotify): Implemented.
3890         (removeNotify): Implemented.
3891         (getCurrentDataFlavorsAsList): Implemented.
3892         (isDataFlavorSupported): Implemented.
3893         * java/awt/dnd/MouseDragGestureRecognizer.java
3894         (registerListeners): Implemented.
3895         (unregisterListeners): Implemented.
3896         * Makefile.am
3897         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3898         * Makefile.in: Regenerated.
3899
3900 2003-03-02  Michael Koch  <konqueror@gmx.de>
3901
3902         * java/awt/Component.java
3903         (eventTypeEnabled): New method.
3904         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3905         * java/awt/Container.java
3906         (changeSupport): New member variable.
3907         (addPropertyChangeListener): New methods.
3908         * java/awt/ContainerOrderFocusTraversalPolicy.java
3909         (ContainerOrderFocusTraversalPolicy): Added comment.
3910         (getComponentAfter): Throw exception, documentation added.
3911         (getComponentBefore): Throw exception, documentation added.
3912         (getFirstComponent): Throw exception, documentation added.
3913         (getLastComponent): Throw exception, documentation added.
3914         (getDefaultComponent): Throw exception, documentation added.
3915         * java/awt/EventQueue.java: Reindented.
3916         * java/awt/FocusTraversalPolicy.java:
3917         (FocusTraversalPolicy): Added comment.
3918         (getComponentAfter): Documentation added.
3919         (getComponentBefore): Documentation added.
3920         (getFirstComponent): Documentation added.
3921         (getLastComponent): Documentation added.
3922         (getDefaultComponent): Documentation added.
3923         (getInitialComponent): Documentation added.
3924         * java/awt/ScrollPane.java
3925         (wheelScrollingEnabled): New member variable.
3926         (ScrollPane): Initialize wheelScollingEnabled.
3927         (eventTypeEnabled): New method.
3928         (isWheelScrollingEnabled): New method.
3929         (setWheelScrollingEnabled): New method.
3930
3931 2003-03-02  Michael Koch  <konqueror@gmx.de>
3932
3933         * java/net/DatagramSocket.java
3934         (closed): New member variable.
3935         (close): Use closed variable.
3936         (getInetAddress): No need to call isConnected().
3937         (getPort): No need to call isConnected().
3938         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3939         (isClosed): Reimplemented.
3940         
3941 2003-03-02  Michael Koch  <konqueror@gmx.de>
3942
3943         * configure.in: Added check for memory mapping of files.
3944         * configure: Regenerated.
3945         * config.h.in: Regenerated.
3946
3947 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3948
3949         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3950         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3951
3952 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3953
3954         * java/io/File.java (normalizePath): Remove trailing separator
3955         on Windows only if path is not of the form "x:\".
3956
3957         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3958         (java::io::File::attr): Change formatting a bit and use
3959         WIN32_EPOCH_MILLIS instead of magic numbers.
3960         (java::io::File::isAbsolute): Path must have at least 3 
3961         characters for a UNC network path.
3962         (java::io::File::init_native): Define.
3963         (java::io::File::performCreate): Likewise.
3964         (java::io::File::performSetReadOnly): Likewise.
3965         (java::io::File::performSetLastModified): Likewise.
3966         (java::io::File::performListRoots): Likewise.
3967
3968 2003-03-01  Tom Tromey  <tromey@redhat.com>
3969
3970         * java/lang/natObject.cc: Don't include assert.h.
3971         (heavy_lock_obj_finalization_proc): Use JvAssert.
3972         (remove_all_heavy): Likewise.
3973         (_Jv_MonitorEnter): Likewise.
3974         (_Jv_MonitorExit): Likewise.
3975         (wait): Likewise.
3976
3977 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3978
3979         * java/io/File (getAbsolutePath): Prefix drive specifier on
3980         Windows for paths starting with a '\'.
3981         (toURL): Make URL more consistent with what Sun's JDK returns.
3982
3983         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3984         true only if the path is a UNC network path or it starts with a
3985         drive specifier.
3986
3987         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3988         Be prepared to handle either '/' or '\\' in the file path for
3989         Windows if using the "file" protocol.
3990         Canonicalise the file path if using a relative path in the given
3991         context and the "file" protocol.
3992
3993 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3994
3995         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3996         program array element passed to CreateProcess.
3997
3998 2003-03-01  Tom Tromey  <tromey@redhat.com>
3999
4000         * java/rmi/registry/RegistryHandler.java: Deprecate.
4001
4002 2003-03-01  Tom Tromey  <tromey@redhat.com>
4003
4004         * javax/accessibility/AccessibleEditableText.java,
4005         javax/accessibility/AccessibleHyperlink.java: New versions from
4006         Classpath.
4007
4008         * gnu/java/locale/LocaleInformation_af_ZA.java,
4009         gnu/java/locale/LocaleInformation_ar_AE.java,
4010         gnu/java/locale/LocaleInformation_ar_BH.java,
4011         gnu/java/locale/LocaleInformation_ar_DZ.java,
4012         gnu/java/locale/LocaleInformation_ar_EG.java,
4013         gnu/java/locale/LocaleInformation_ar_IN.java,
4014         gnu/java/locale/LocaleInformation_ar_IQ.java,
4015         gnu/java/locale/LocaleInformation_ar_JO.java,
4016         gnu/java/locale/LocaleInformation_ar_KW.java,
4017         gnu/java/locale/LocaleInformation_ar_LB.java,
4018         gnu/java/locale/LocaleInformation_ar_LY.java,
4019         gnu/java/locale/LocaleInformation_ar_MA.java,
4020         gnu/java/locale/LocaleInformation_ar_OM.java,
4021         gnu/java/locale/LocaleInformation_ar_QA.java,
4022         gnu/java/locale/LocaleInformation_ar_SD.java,
4023         gnu/java/locale/LocaleInformation_ar_SY.java,
4024         gnu/java/locale/LocaleInformation_ar_TN.java,
4025         gnu/java/locale/LocaleInformation_ar_YE.java,
4026         gnu/java/locale/LocaleInformation_be_BY.java,
4027         gnu/java/locale/LocaleInformation_bn_IN.java,
4028         gnu/java/locale/LocaleInformation_br_FR.java,
4029         gnu/java/locale/LocaleInformation_bs_BA.java,
4030         gnu/java/locale/LocaleInformation_ca_ES.java,
4031         gnu/java/locale/LocaleInformation_cs_CZ.java,
4032         gnu/java/locale/LocaleInformation_cy_GB.java,
4033         gnu/java/locale/LocaleInformation_da_DK.java,
4034         gnu/java/locale/LocaleInformation_de_AT.java,
4035         gnu/java/locale/LocaleInformation_de_BE.java,
4036         gnu/java/locale/LocaleInformation_de_CH.java,
4037         gnu/java/locale/LocaleInformation_de_DE.java,
4038         gnu/java/locale/LocaleInformation_de_LU.java,
4039         gnu/java/locale/LocaleInformation_el_GR.java,
4040         gnu/java/locale/LocaleInformation_en_AU.java,
4041         gnu/java/locale/LocaleInformation_en_BW.java,
4042         gnu/java/locale/LocaleInformation_en_CA.java,
4043         gnu/java/locale/LocaleInformation_en_DK.java,
4044         gnu/java/locale/LocaleInformation_en_GB.java,
4045         gnu/java/locale/LocaleInformation_en_HK.java,
4046         gnu/java/locale/LocaleInformation_en_IE.java,
4047         gnu/java/locale/LocaleInformation_en_IN.java,
4048         gnu/java/locale/LocaleInformation_en_NZ.java,
4049         gnu/java/locale/LocaleInformation_en_PH.java,
4050         gnu/java/locale/LocaleInformation_en_SG.java,
4051         gnu/java/locale/LocaleInformation_en_US.java,
4052         gnu/java/locale/LocaleInformation_en_ZA.java,
4053         gnu/java/locale/LocaleInformation_en_ZW.java,
4054         gnu/java/locale/LocaleInformation_es_AR.java,
4055         gnu/java/locale/LocaleInformation_es_BO.java,
4056         gnu/java/locale/LocaleInformation_es_CL.java,
4057         gnu/java/locale/LocaleInformation_es_CO.java,
4058         gnu/java/locale/LocaleInformation_es_CR.java,
4059         gnu/java/locale/LocaleInformation_es_DO.java,
4060         gnu/java/locale/LocaleInformation_es_EC.java,
4061         gnu/java/locale/LocaleInformation_es_ES.java,
4062         gnu/java/locale/LocaleInformation_es_GT.java,
4063         gnu/java/locale/LocaleInformation_es_HN.java,
4064         gnu/java/locale/LocaleInformation_es_MX.java,
4065         gnu/java/locale/LocaleInformation_es_NI.java,
4066         gnu/java/locale/LocaleInformation_es_PA.java,
4067         gnu/java/locale/LocaleInformation_es_PE.java,
4068         gnu/java/locale/LocaleInformation_es_PR.java,
4069         gnu/java/locale/LocaleInformation_es_PY.java,
4070         gnu/java/locale/LocaleInformation_es_SV.java,
4071         gnu/java/locale/LocaleInformation_es_US.java,
4072         gnu/java/locale/LocaleInformation_es_UY.java,
4073         gnu/java/locale/LocaleInformation_es_VE.java,
4074         gnu/java/locale/LocaleInformation_et_EE.java,
4075         gnu/java/locale/LocaleInformation_eu_ES.java,
4076         gnu/java/locale/LocaleInformation_fa_IR.java,
4077         gnu/java/locale/LocaleInformation_fi_FI.java,
4078         gnu/java/locale/LocaleInformation_fo_FO.java,
4079         gnu/java/locale/LocaleInformation_fr_BE.java,
4080         gnu/java/locale/LocaleInformation_fr_CA.java,
4081         gnu/java/locale/LocaleInformation_fr_CH.java,
4082         gnu/java/locale/LocaleInformation_fr_FR.java,
4083         gnu/java/locale/LocaleInformation_fr_LU.java,
4084         gnu/java/locale/LocaleInformation_ga_IE.java,
4085         gnu/java/locale/LocaleInformation_gd_GB.java,
4086         gnu/java/locale/LocaleInformation_gl_ES.java,
4087         gnu/java/locale/LocaleInformation_gv_GB.java,
4088         gnu/java/locale/LocaleInformation_he_IL.java,
4089         gnu/java/locale/LocaleInformation_hi_IN.java,
4090         gnu/java/locale/LocaleInformation_hr_HR.java,
4091         gnu/java/locale/LocaleInformation_hu_HU.java,
4092         gnu/java/locale/LocaleInformation_id_ID.java,
4093         gnu/java/locale/LocaleInformation_it_CH.java,
4094         gnu/java/locale/LocaleInformation_it_IT.java,
4095         gnu/java/locale/LocaleInformation_iw_IL.java,
4096         gnu/java/locale/LocaleInformation_ja_JP.java,
4097         gnu/java/locale/LocaleInformation_ka_GE.java,
4098         gnu/java/locale/LocaleInformation_kl_GL.java,
4099         gnu/java/locale/LocaleInformation_ko_KR.java,
4100         gnu/java/locale/LocaleInformation_kw_GB.java,
4101         gnu/java/locale/LocaleInformation_lt_LT.java,
4102         gnu/java/locale/LocaleInformation_lv_LV.java,
4103         gnu/java/locale/LocaleInformation_mi_NZ.java,
4104         gnu/java/locale/LocaleInformation_mk_MK.java,
4105         gnu/java/locale/LocaleInformation_mr_IN.java,
4106         gnu/java/locale/LocaleInformation_mt_MT.java,
4107         gnu/java/locale/LocaleInformation_nl_BE.java,
4108         gnu/java/locale/LocaleInformation_nl_NL.java,
4109         gnu/java/locale/LocaleInformation_nn_NO.java,
4110         gnu/java/locale/LocaleInformation_no_NO.java,
4111         gnu/java/locale/LocaleInformation_oc_FR.java,
4112         gnu/java/locale/LocaleInformation_pl_PL.java,
4113         gnu/java/locale/LocaleInformation_pt_BR.java,
4114         gnu/java/locale/LocaleInformation_pt_PT.java,
4115         gnu/java/locale/LocaleInformation_ro_RO.java,
4116         gnu/java/locale/LocaleInformation_ru_RU.java,
4117         gnu/java/locale/LocaleInformation_ru_UA.java,
4118         gnu/java/locale/LocaleInformation_se_NO.java,
4119         gnu/java/locale/LocaleInformation_sk_SK.java,
4120         gnu/java/locale/LocaleInformation_sl_SI.java,
4121         gnu/java/locale/LocaleInformation_sq_AL.java,
4122         gnu/java/locale/LocaleInformation_sr_YU.java,
4123         gnu/java/locale/LocaleInformation_sv_FI.java,
4124         gnu/java/locale/LocaleInformation_sv_SE.java,
4125         gnu/java/locale/LocaleInformation_ta_IN.java,
4126         gnu/java/locale/LocaleInformation_te_IN.java,
4127         gnu/java/locale/LocaleInformation_tg_TJ.java,
4128         gnu/java/locale/LocaleInformation_tl_PH.java,
4129         gnu/java/locale/LocaleInformation_tr_TR.java,
4130         gnu/java/locale/LocaleInformation_uk_UA.java,
4131         gnu/java/locale/LocaleInformation_ur_PK.java,
4132         gnu/java/locale/LocaleInformation_uz_UZ.java,
4133         gnu/java/locale/LocaleInformation_vi_VN.java,
4134         gnu/java/locale/LocaleInformation_yi_US.java,
4135         gnu/java/locale/LocaleInformation_zh_CN.java,
4136         gnu/java/locale/LocaleInformation_zh_HK.java,
4137         gnu/java/locale/LocaleInformation_zh_SG.java,
4138         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4139         info; from Classpath.
4140
4141         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4142         isPaintPending): New methods.
4143         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4144         setMaximizedBounds): New methods.
4145         (beginLayout, endLayout, isPaintPending): Likewise.
4146         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4147         (requestFocus): Likewise.
4148         (isObscured): Likewise.
4149         (canDetermineObscurity): Likewise.
4150         (coalescePaintEvent): Likewise.
4151         (updateCursorImmediately): Likewise.
4152         (createVolatileImage): Likewise.
4153         (handlesWheelScrolling): Likewise.
4154         (createBuffers): Likewise.
4155         (getBackBuffer): Likewise.
4156         (flip): Likewise.
4157         (destroyBuffers): Likewise.
4158
4159         * Makefile.in: Rebuilt.
4160         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4161         RobotPeer.java.
4162         * gnu/java/awt/GLightweightPeer.java,
4163         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4164         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4165         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4166         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4167         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4168         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4169         java/awt/dnd/peer/DragSourceContextPeer.java,
4170         java/awt/dnd/peer/DropTargetContextPeer.java,
4171         java/awt/peer/ButtonPeer.java,
4172         java/awt/peer/CheckboxMenuItemPeer.java,
4173         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4174         java/awt/peer/ComponentPeer.java,
4175         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4176         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4177         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4178         java/awt/peer/MenuBarPeer.java,
4179         java/awt/peer/MenuComponentPeer.java,
4180         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4181         java/awt/peer/PopupMenuPeer.java,
4182         java/awt/peer/ScrollPanePeer.java,
4183         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4184         java/awt/peer/TextComponentPeer.java,
4185         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4186         New versions from Classpath.
4187         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4188         * java/awt/peer/RobotPeer.java: Likewise.
4189
4190 2003-03-01  Mark Wielaard  <mark@klomp.org>
4191
4192         * java/io/ObjectInputStream.java: Reindent.
4193         * java/io/ObjectOutputStream.java: Likewise.
4194
4195 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4196
4197         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4198         jvalue for each argument. Simplify.
4199         * testsuite/libjava.jni/calls.c (docall),
4200         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4201         misalignment.
4202
4203 2003-02-28  Mark Wielaard  <mark@klomp.org>
4204
4205         * Makefile.am (nat_source_files): Remove
4206         java/io/natObjectOutputStream.cc.
4207         * Makefile.in: Regenerated.
4208         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4209         * java/io/ObjectStreamField.java (typename): New field.
4210         (ObjectStreamField(String, Class)): Initialize new field.
4211         (ObjectStreamField(String, String)): New Constructor.
4212         (getTypeCode): Use new field.
4213         (getTypeString): Use new field.
4214         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4215         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4216         Handle reading of Proxy classes. Never drain(), just write
4217         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4218         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4219         (flush): Call flush(), not just drain().
4220         (writeBoolean): Always use blockDataOutput.
4221         (writeByte): Likewise.
4222         (writeShort): Likewise.
4223         (writeChar): Likewise.
4224         (writeInt): Likewise.
4225         (writeLong): Likewise.
4226         (writeFloat): Likewise.
4227         (writeDouble): Likewise.
4228         (writeBytes): Likewise.
4229         (putfield (put(String,Object))): Throw IllegalArgumentException if
4230         field cannot be found.
4231         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4232         (writeArraySizeAndElements): Write byte[] in one go.
4233         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4234         set BlockDataMode to false.
4235         (annotateProxyClass): New method.
4236         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4237         (getField): No longer native.
4238         (getMethod): Likewise.
4239         (setBlockDataMode): Always drain() on switch, return old mode.
4240         (static): New static code block.
4241         * java/io/natObjectOutputStream.cc: Removed.
4242         * java/io/ObjectInputStream.java (getField): No longer native.
4243         (getMethod): Likewise.
4244         (readObject): Remember and reset old BlockDataMode. Track whether
4245         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4246         TC_LONGSTRING.
4247         (defaultReadObject): Set BlockDataMode to false during readFields.
4248         (resolveClass): Create new SecurityManager if necessary.
4249         Use Class.forName() if null ClassLoader found.
4250         (read(byte[],int,int): Copy remaining bytes to data before calling
4251         readNextBlock().
4252         (readFields): Set and reset BlockDataMode on call_read_method.
4253         Catch NoSuchFieldErrors.
4254         (setBlockDataMode): Return old mode.
4255         (static): New static code block.
4256         * java/io/natObjectInputStream.cc (getField): Removed.
4257         (getMethod): Likewise.
4258
4259 2003-02-27  Michael Koch  <konqueror@gmx.de>
4260
4261         * java/beans/Beans.java,
4262         java/beans/FeatureDescriptor.java
4263         java/beans/PropertyEditorManager.java:
4264         Reformated to GNU style.
4265
4266 2003-02-25  Michael Koch  <konqueror@gmx.de>
4267
4268         * gnu/java/nio/MappedByteFileBuffer.java,
4269         gnu/java/nio/natMappedByteFileBuffer.cc:
4270         New files, both are not compiled yet to get not noncompiling CVS.
4271
4272 2003-02-24  Tom Tromey  <tromey@redhat.com>
4273
4274         * java/util/prefs/AbstractPreferences.java (isUserNode):
4275         Implemented.
4276
4277 2003-02-24  Tom Tromey  <tromey@redhat.com>
4278
4279         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4280         Deprecate.
4281         * java/lang/Thread.java (resume): Deprecate.
4282         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4283         in @deprecated.
4284
4285 2003-02-23  Tom Tromey  <tromey@redhat.com>
4286
4287         * Makefile.in: Rebuilt.
4288         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4289
4290 2003-02-23  Tom Tromey  <tromey@redhat.com>
4291
4292         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4293         libraries): Removed.
4294         (add_library): Removed.
4295         (_load): Don't call add_library.
4296         (loadLibraryInternal): Likewise.
4297         (init): Likewise.
4298         (lookup_data): New struct.
4299         (find_symbol): New function.
4300         (_Jv_FindSymbolInExecutable): Use it.
4301
4302 2002-02-21  Anthony Green  <green@redhat.com>
4303
4304         * java/lang/Thread.java (Thread): New constructor taking stack
4305         size parameter (ignored for now).
4306         * Many methods: Merged GNU Classpath documentation.
4307
4308         * java/lang/Class.java (finalize): throws a Throwable.
4309
4310 2003-02-21  Mark Wielaard  <mark@klomp.org>
4311
4312         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4313         argument is null.
4314
4315 2003-02-21  Mark Wielaard  <mark@klomp.org>
4316
4317         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4318         then 65535 chars throw IllegalArgumentException.
4319
4320 2003-02-21  Mark Wielaard  <mark@klomp.org>
4321
4322         * java/util/zip/ZipFile.java (finalize): New method.
4323
4324 2003-02-21  Michael Koch  <konqueror@gmx.de>
4325
4326         * gnu/java/nio/natSocketChannelImpl.cc:
4327         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4328         <cato@df.lth.se> for pointing to it.
4329
4330 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4331
4332         * java/math/BigInteger.java (euclidInv): Take result array as an
4333         argument.  Updated all callers.
4334         (modInverse): Removed unused variables.
4335
4336 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4337
4338         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4339         config.status.
4340         * configure: Rebuilt.
4341
4342 2003-02-19  Michael Koch  <konqueror@gmx.de>
4343
4344         * gnu/java/nio/natSocketChannelImpl.cc:
4345         Added support for platforms without network support.
4346
4347 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4348
4349         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4350         after config.h.  Use <> for consistency.
4351         * java/lang/natObject.cc: Likewise.
4352         * java/lang/natRuntime.cc: Likewise.
4353         * java/lang/natSystem.cc: Likewise.
4354         * java/util/natTimeZone.cc: Likewise.
4355         * win32.cc: Likewise.
4356         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4357         listen, write, read): Undef to avoid interference from OS macros.
4358
4359 2003-02-19  Michael Koch  <konqueror@gmx.de>
4360
4361         * gnu/java/nio/ByteBufferImpl.java
4362         (ByteBufferImpl): Renamed two variables.
4363         * gnu/java/nio/CharBufferImpl.java
4364         (CharBufferImpl): Renamed two variables.
4365         * gnu/java/nio/DoubleBufferImpl.java
4366         (DoubleBufferImpl): Renamed two variables.
4367         * gnu/java/nio/FloatBufferImpl.java
4368         (FloatBufferImpl): Renamed two variables.
4369         * gnu/java/nio/IntBufferImpl.java
4370         (IntBufferImpl): Renamed two variables.
4371         * gnu/java/nio/LongBufferImpl.java
4372         (LongBufferImpl): Renamed two variables.
4373         * gnu/java/nio/ShortBufferImpl.java
4374         (ShortBufferImpl): Renamed two variables.
4375         * java/nio/CharBuffer.java
4376         (wrap): Fixed arguments to CharBufferImpl constructor.
4377         (hasArray): Only not read-only buffers have backing arrays.
4378         (length): Documentation added.
4379         (subSequence): Documentation added.
4380         * java/nio/DoubleBuffer.java
4381         (hasArray): Only not read-only buffers have backing arrays.
4382         * java/nio/FloatBuffer.java
4383         (hasArray): Only not read-only buffers have backing arrays.
4384         * java/nio/IntBuffer.java
4385         (hasArray): Only not read-only buffers have backing arrays.
4386         * java/nio/LongBuffer.java
4387         (hasArray): Only not read-only buffers have backing arrays.
4388         * java/nio/ShortBuffer.java
4389         (hasArray): Only not read-only buffers have backing arrays.
4390         
4391 2003-02-19  Michael Koch  <konqueror@gmx.de>
4392
4393         * javax/accessibility/AccessibleContext.java
4394         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4395
4396 2003-02-19  Michael Koch  <konqueror@gmx.de>
4397
4398         * java/awt/ScrollPaneAdjustable.java: Reformated.
4399
4400 2003-02-19  Michael Koch <konqueror@gmx.de>
4401
4402         * gnu/awt/j2d/Graphics2DImpl.java
4403         (getFontRenderContext): New method.
4404         (drawGlyphVector): New method.
4405         * java/awt/Graphics2D.java
4406         (getFontRenderContext): New abstract method.
4407         (drawGlyphVector): New abstract method.
4408         
4409 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4410
4411         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4412         if necessary.
4413         
4414         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4415         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4416         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4419         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4420         (setFont, gtkSetFont): add.
4421         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4422         Propagate font to peer.  (setFont): add FIXME comment.
4423
4424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4425         (gtkTextGetSize): fix height, width computation.
4426
4427         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4428         Make X font name a bit less bogus.
4429
4430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4431         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4432
4433         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4434         (processAdjustmentEvent): Adjust value.
4435
4436         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4437         logic errors.
4438
4439         * java/awt/Component.java (setVisible, show, hide): Call show and
4440         hide methods in subclasses.
4441         (getPreferredSize): don't set prefSize before we have peer.
4442
4443         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4444         Guess (0,0) if we don't have peer.
4445
4446
4447 2003-02-18  Michael Koch  <konqueror@gmx.de>
4448
4449         * java/nio/channels/FileChannel.java
4450         (toString): New implementation, added documentation.
4451         (map): Added exception documentation.
4452         (size): Added exception documentation.
4453         (write): New methods, documentation work.
4454         (read): New methods, documentation work.
4455         (implCloseChannel): Rewrote exception documentation.
4456         (force): Throws IOException, added documentation.
4457         (lock): New methods.
4458         (tryLock): New methods.
4459         (position): New methods.
4460         (transferTo): New method.
4461         (transferFrom): New method.
4462         (truncate): New method.
4463         * java/nio/channels/spi/SelectorProvider.java
4464         (provider): Implemented.
4465         * Makefile.am
4466         (ordinary_java_source_files): Added the following files:
4467         gnu/java/nio/DatagramChannelImpl.java
4468         gnu/java/nio/FileChannelImpl.java
4469         gnu/java/nio/PipeImpl.java
4470         gnu/java/nio/SelectionKeyImpl.java
4471         gnu/java/nio/SelectorImpl.java
4472         gnu/java/nio/SelectorProviderImpl.java
4473         gnu/java/nio/ServerSocketChannelImpl.java
4474         gnu/java/nio/SocketChannelImpl.java
4475         java/nio/channels/FileLock.java
4476         (nat_java_source_files): Added the following files:
4477         gnu/java/nio/natFileChannelImpl.cc
4478         gnu/java/nio/natSelectorImpl.cc
4479         gnu/java/nio/natSocketChannelImpl.cc
4480         * Makefile.in: Regenerated.
4481
4482 2003-02-17  Tom Tromey  <tromey@redhat.com>
4483
4484         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4485         * java/awt/image/ImageFilter.java: Likewise.
4486
4487 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4488
4489         * java/math/BigInteger.java (euclidInv): Return array of
4490         `BigInteger's.  Changed all callers.
4491
4492 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4493
4494         * java/util/Properties.java (store): Move the code formerly in
4495         list(), into this method.
4496         (list (PrintStream)): Just call list (PrintWriter) with a 
4497         PrintWriter object constructed from the given PrintStream object.
4498         (list (PrintWriter)): Emulate the output of Properties.list()
4499         as found in JDK 1.3/1.4.
4500
4501 2003-02-17  Michael Koch  <konqueror@gmx.de>
4502
4503         * java/net/DatagramSocket.java
4504         (connect): Merged with classpath.
4505         (disconnect): Merged documentation with classpath.
4506         (receice): Merged documentation with classpath.
4507         (send): Merged documentation with classpath.
4508         
4509 2003-02-17  Michael Koch  <konqueror@gmx.de>
4510
4511         * java/awt/dnd/DragSourceContext.java
4512         (addDragSourceListener): Added documentation.
4513         * java/awt/dnd/DragSourceDragEvent.java
4514         (serialVersionUID): New member variable.
4515         (getDropAction): Reformated.
4516         * java/awt/dnd/DragSourceDropEvent.java
4517         (serialVersionUID): New member variable.
4518         (dropSuccess): Renamed from success for serialization issues.
4519         * java/awt/dnd/DragSourceEvent.java
4520         (serialVersionUID): New member variable.
4521         * java/awt/dnd/DropTarget.java
4522         (serialVersionUID): New member variable.
4523         (DropTarget): Implemented, documentation reworked.
4524         (setComponent): Documentation added.
4525         (getComponent): Documentation added.
4526         (setDefaultActions): Documentation added.
4527         (getDefaultActions): Documentation added.
4528         (addDropTargetListener): Documentation added.
4529         * java/awt/dnd/DropTargetContext.java
4530         (DropTargetContext): Documentation added.
4531         (TransferableProxy.TransferableProxy): New method.
4532         (dropComplete): Fixed documentation.
4533         (getTransferable): Fixed documentation.
4534         (createTransferableProxy): Implemented.
4535         * java/awt/dnd/DropTargetDragEvent.java
4536         (DropTargetDragEvent): Documentation added.
4537         (serialVersionUID): New member variable.
4538         (DropTargetDragEvent): Throw exceptions, documentation added.
4539         (acceptDrag): Implemented.
4540         (getCurrentDataFlavors): Implemented.3yy
4541         (getCurrentDataFlavorsAsList): Implemented.
4542         (isDataFlavorSupported): Implemented.
4543         (rejectDrag): Implemented.
4544         * java/awt/dnd/DropTargetDropEvent.java
4545         (DropTargetDropEvent): Documentation added.
4546         (serialVersionUID): New member variable.
4547         (actions): Renamed from srcActions for serialization issues.
4548         (isLocalTx): Renamed from isLocalTx for serialization issues.
4549         (DropTargetDropEvent): New implementation, throw exceptions,
4550         documentation added.
4551         (getCurrentDataFlavors): Implemented.
4552         (getCurrentDataFlavorsAsList): Implemented.
4553         (isDataFlavorSupported): Implemented.
4554         (getSourceActions): Implemented.
4555         (getDropAction): Implemented.
4556         (getTransferable): Implemented.
4557         (acceptDrop): Implemented.
4558         (rejectDrop): Implemented.
4559         * java/awt/dnd/DropTargetListener.java
4560         (drop): Fixed documentation.
4561         * java/awt/dnd/MouseDragGestureRecognizer.java
4562         (MouseDragGestureRecognizer): Documentation added.
4563
4564 2003-02-17  Michael Koch  <konqueror@gmx.de>
4565
4566         * java/awt/font/FontRenderContext.java,
4567         java/awt/font/ShapeGraphicAttribute.java,
4568         java/awt/font/MultipleMaster.java,
4569         java/awt/font/TransformAttribute.java,
4570         java/awt/font/GlyphJustificationInfo.java,
4571         java/awt/font/LineBreakMeasurer.java,
4572         java/awt/font/TextMeasurer.java,
4573         java/awt/font/TextLayout.java,
4574         java/awt/font/LineMetrics.java,
4575         java/awt/font/TextAttribute.java,
4576         java/awt/font/GlyphMetrics.java,
4577         java/awt/font/OpenType.java,
4578         java/awt/font/GlyphVector.java,
4579         java/awt/font/GraphicAttribute.java,
4580         java/awt/font/ImageGraphicAttribute.java,
4581         java/awt/font/NumericShaper.java: New files.
4582         * Makefile.am
4583         (awt_java_source_files): Added the following files:
4584         java/awt/font/FontRenderContext.java
4585         java/awt/font/ShapeGraphicAttribute.java
4586         java/awt/font/MultipleMaster.java
4587         java/awt/font/TransformAttribute.java
4588         java/awt/font/GlyphJustificationInfo.java
4589         java/awt/font/LineBreakMeasurer.java
4590         java/awt/font/TextMeasurer.java
4591         java/awt/font/TextLayout.java
4592         java/awt/font/LineMetrics.java
4593         java/awt/font/TextAttribute.java
4594         java/awt/font/GlyphMetrics.java
4595         java/awt/font/OpenType.java
4596         java/awt/font/GlyphVector.java
4597         java/awt/font/GraphicAttribute.java
4598         java/awt/font/ImageGraphicAttribute.java
4599         java/awt/font/NumericShaper.java
4600         * Makefile.in: Regenerated.
4601
4602 2003-02-17  Michael Koch  <konqueror@gmx.de>
4603
4604         * java/awt/print/Paper.java
4605         (Paper): Implements Cloneable.
4606         * java/awt/print/PrinterJob.java
4607         (setJobName): Return value must be void.
4608         (print): Throws PrinterException.
4609         
4610 2003-02-16  Tom Tromey  <tromey@redhat.com>
4611
4612         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4613         variable.
4614
4615 2003-02-15  Michael Koch  <konqueror@gmx.de>
4616
4617         * java/awt/datatransfer/DataFlavor.java
4618         (isRepresentationClassByteBuffer): Removed try-catch block.
4619         (isRepresentationClassCharBuffer): Removed try-catch block.
4620         (isRepresentationClassReader): Removed try-catch block.
4621
4622 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4623
4624         * java/nio/charset/Charset.java
4625         (isRegistered): Fixed method args and implementation.
4626         * java/nio/charset/CharsetEncoder.java
4627         (unmappableCharacterAction): New method.
4628
4629 2003-02-15  Michael Koch  <konqueror@gmx.de>
4630
4631         * java/awt/CheckboxMenuItem.java
4632         (CheckBoxMenuItem): Dont implement Serializable.
4633         (getListeners): New method,
4634         (getItemListeners): New method.
4635         * java/awt/Choice.java
4636         (getListeners): New method,
4637         (getItemListeners): New method.
4638         * java/awt/Container.java
4639         (getListeners): Added exception documentation.
4640         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4641         (getFocusTraversalKeys): Added documentation.
4642         (areFocusTraversalKeysSet): Added documentation.
4643         (applyComponentOrientation): Added documentation.
4644         * java/awt/ContainerOrderFocusTraversalPolicy.java
4645         (implicitDownCycleTraversal): Renamed from downCycle for
4646         serialization.
4647         (ContainerOrderFocusTraversalPolicy): Added documentation.
4648         (accept): Reformated.
4649         * java/awt/Dialog.java
4650         (Dialog): Dont implement Serializable.
4651         (Dialog): Added documentation.
4652         * java/awt/Font.java
4653         (Font): Dont use absolute class name.
4654         * java/awt/Frame.java
4655         (Frame): Font implement Serializable.
4656         * java/awt/List.java
4657         (getListeners): New method,
4658         (getActionListeners): New method.       
4659         (getItemListeners): New method.
4660         * java/awt/Menu.java
4661         (countItems): New deprecated method.
4662         * java/awt/Scrollbar.java
4663         (getListeners): New method,
4664         (getAdjustmentListeners): New method,
4665         * java/awt/TextComponent.java
4666         (getListeners): New method,
4667         (getTextListeners): New method,
4668         * java/awt/TextField.java
4669         (getListeners): New method,
4670         (getActionListeners): New method.       
4671         * java/awt/Window.java
4672         (windowFocusListener): New member variable.
4673         (windowStateListener): New member variable.
4674         (getWindowFocusListeners): New method.
4675         (getWindowStateListeners): New method.
4676         (addWindowFocusListener): New method.
4677         (addWindowStateListener): New method.
4678         (removeWindowFocusListener): New method.
4679         (removeWindowStateListener): New method.
4680         * java/awt/datatransfer/DataFlavor.java
4681         (isRepresentationClassByteBuffer): New method.
4682         (isRepresentationClassCharBuffer): New method.
4683         (isRepresentationClassReader): New method.
4684
4685 2003-02-14  Mark Wielaard  <mark@klomp.org>
4686
4687         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4688         zero when there is an exponent and the significant is zero.
4689         (divide): Always set scale to newScale even in special ZERO case.
4690
4691 2003-02-14  Tom Tromey  <tromey@redhat.com>
4692
4693         * java/lang/System.java (properties): Use Properties.clone.
4694         (setProperties): Likewise.
4695
4696 2003-02-14  Michael Koch  <konqueror@gmx.de>
4697
4698         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4699         * gnu/java/nio/ServerSocketChannelImpl.java
4700         (SocketAccept): Removed.
4701         (accept): Commented out use of SocketAccept.
4702
4703 2003-02-13  Tom Tromey  <tromey@redhat.com>
4704
4705         * verify.cc (state::seen_subrs): New field.
4706         (state::state): Initialize it.
4707         (state::clean_subrs): New method.
4708         (state::~state): Call it.
4709         (state::copy): Copy subroutine list.
4710         (state::add_subr): New method.
4711         (state::merge): Only register a change if the current subroutine
4712         hasn't yet been noted.
4713
4714 2003-02-13  Mark Wielaard  <mark@klomp.org>
4715
4716         * java/io/InputStreamReader.java (getEncoding): Return null when
4717         closed.
4718         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4719
4720 2003-02-13  Mark Wielaard  <mark@klomp.org>
4721  
4722         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4723         is zero.
4724
4725 2003-02-13  Mark Wielaard  <mark@klomp.org>
4726
4727         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4728         next byte cannot be buffered.
4729
4730 2003-02-13  Michael Koch  <konqueror@gmx.de>
4731  
4732         * java/awt/Label.java
4733         (Label): Don't implement Serializable directly.
4734         (addNotify): Fixed typo in documentation.
4735         * java/awt/List.java
4736         (List): Don't implement Serializable directly.
4737         * java/awt/PopupMenu.java
4738         (PopupMenu): Don't implement Serializable directly.
4739         * java/awt/ScrollPane.java
4740         (ScrollPane): Don't implement Serializable directly.
4741         * java/awt/Scrollbar.java
4742         (Scrollbar): Don't implement Serializable directly.
4743         * java/awt/TextArea.java
4744         (preferredSize): Fixed method arguments.
4745         * java/awt/TextField.java
4746         (TextField): Don't implement Serializable directly.
4747         * java/awt/color/ICC_ColorSpace.java
4748         (fromCIOXYZ): Documentation added.
4749         (getMinValue): Documentation added.
4750         (getMaxValue): Documentation added.
4751         * java/awt/datatransfer/DataFlavor.java
4752         (isMimeTypeEqual): May not be final.
4753         (clone): Throws CloneNotSupportedException.
4754         (getReaderForText): Don't throws UnsupportedEncodingException.
4755
4756 2003-02-13  Michael Koch  <konqueror@gmx.de>
4757  
4758         * gnu/java/awt/peer/gtk/GdkGraphics.java
4759         (drawString): New stubbed method.
4760         * java/awt/Graphics.java
4761         (drawString): New method.
4762
4763 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4764
4765         PR libgcj/9271:
4766         * java/security/SecureRandom.java (next): Avoid bias in results.
4767
4768 2003-02-13  Michael  <konqueror@gmx.de>
4769
4770         * gnu/java/nio/FileChannelImpl.java
4771         (lengthInternal): Must be native.
4772         (size): Check if channel is already closed.
4773         (implCloseChannel): Reformated.
4774         (read): w was unused, removed it.
4775         (read): Removed.
4776         (read): New method.
4777         (write): New method.
4778         (map): Check arguments.
4779         (force): Throws IOException, check if channel is closed.
4780         (transferTo): New method.
4781         (transferFrom): New method.
4782         (lock): New method.
4783         (tryLock): New method.
4784         (position): New method.
4785         (truncate): New method.
4786         (nio_mmap_file): Uncommented.
4787         (nio_munmap_file): Uncommented.
4788         (nio_msync): Uncommented.
4789         * gnu/java/nio/natFileChannelImpl.cc: New file.
4790         
4791 2003-02-13  Michael Koch  <konqueror@gmx.de>
4792
4793         * java/nio/ByteBuffer.java
4794         (endian): New member variable.
4795         (get): New methods.
4796         (equals): New method.
4797         (compareTo): New method.
4798         (order): New methods.
4799         (compact): New method.
4800         (isDirect): New method.
4801         (slice): New method.
4802         (duplicate): New method.
4803         (asReadOnlyBuffer): New method.
4804         (asCharBuffer): New method.
4805         (asDoubleBuffer): New method.
4806         (asFloatBuffer): New method.
4807         (asIntBuffer): New method.
4808         (asLongBuffer): New method.
4809         (asShortBuffer): New method.
4810         (get*): New methods.
4811         (put*): New methods.
4812         (toString): New method.
4813         * java/nio/CharBuffer.java
4814         (CharBuffer): Implement Comparable instead of Cloneable.
4815         (get): May not be final.
4816         (put): May not be final.
4817         
4818 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4819
4820         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4821         lastIndexOf( ) instead of indexOf( ) to find the colon before
4822         the line number, because Win32 file names might contain a 
4823         drive letter and a colon at the start of an absolute path.
4824
4825 2003-02-13  Michael Koch  <konqueror@gmx.de>
4826
4827         * gnu/java/nio/natSocketChannelImpl.cc
4828         (SocketConnect): This is not implemented yet.
4829         (SocketBind): This is not implemented yet.
4830
4831 2003-02-13  Michael Koch  <konqueror@gmx.de>
4832
4833         * gnu/java/nio/natByteBufferImpl.cc,
4834         gnu/java/nio/natCharBufferImpl.cc,
4835         gnu/java/nio/natDoubleBufferImpl.cc,
4836         gnu/java/nio/natFloatBufferImpl.cc,
4837         gnu/java/nio/natIntBufferImpl.cc,
4838         gnu/java/nio/natLongBufferImpl.cc,
4839         gnu/java/nio/natShortBufferImpl.cc:
4840         Added copyright and license.
4841         * java/nio/DoubleBuffer.java,
4842         java/nio/FloatBuffer.java,
4843         java/nio/IntBuffer.java,
4844         java/nio/LongBuffer.java,
4845         java/nio/ShortBuffer.java
4846         (array): Throw exceptions.
4847         (arrayOffset): Throw exceptions.
4848
4849 2003-02-13  Michael Koch  <konqueror@gmx.de>
4850  
4851         * gnu/java/util/prefs/FileBasedFactory.java,
4852         gnu/java/util/prefs/MemmoryBasedFactory.java,
4853         gnu/java/util/prefs/MemoryBasedPreferences.java,
4854         gnu/java/util/prefs/NodeReader.java,
4855         gnu/java/util/prefs/NodeWriter.java,
4856         java/util/prefs/AbstractPreferences.java,
4857         java/util/prefs/BackingStoreException.java,
4858         java/util/prefs/InvalidPreferencesFormatException.java,
4859         java/util/prefs/NodeChangeEvent.java,
4860         java/util/prefs/NodeChangeListener.java,
4861         java/util/prefs/PreferenceChangeEvent.java,
4862         java/util/prefs/PreferenceChangeListener.java,
4863         java/util/prefs/Preferences.java,
4864         java/util/prefs/PreferencesFactory.java:
4865         New files, all merged from classpath.
4866         * Makefile.am
4867         (ordinary_java_source_files): Added the following files:
4868         gnu/java/util/prefs/FileBasedFactory.java,
4869         gnu/java/util/prefs/MemmoryBasedFactory.java,
4870         gnu/java/util/prefs/MemoryBasedPreferences.java,
4871         gnu/java/util/prefs/NodeReader.java,
4872         gnu/java/util/prefs/NodeWriter.java,
4873         (core_java_source_files): Added the following files:
4874         java/util/prefs/AbstractPreferences.java,
4875         java/util/prefs/BackingStoreException.java,
4876         java/util/prefs/InvalidPreferencesFormatException.java,
4877         java/util/prefs/NodeChangeEvent.java,
4878         java/util/prefs/NodeChangeListener.java,
4879         java/util/prefs/PreferenceChangeEvent.java,
4880         java/util/prefs/PreferenceChangeListener.java,
4881         java/util/prefs/Preferences.java,
4882         java/util/prefs/PreferencesFactory.java
4883         * Makefile.in: Regenerated.
4884  
4885 2003-02-13  Michael Koch  <konqueror@gmx.de>
4886
4887         * java/net/NetPermission.java
4888         (NetPermission): Make doucmentation match the method declaration.
4889         * java/net/NetworkInterface.java
4890         (equals): Reformated for GNU coding style.
4891         * java/net/ServerSocket.java: Merged with classpath.
4892         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4893         * java/net/SocketImpl.java
4894         (localPort): Merged with classpath (initialize with -1).
4895         * java/net/SocketPermission.java: Merged with classpath (reindented).
4896         * java/net/URLDecoder.java: Merged with classpath (reindented).
4897
4898 2003-02-13  Michael Koch  <konqueror@gmx.de>
4899
4900         * java/awt/GridBagConstraints.java
4901         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4902         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4903         * java/awt/KeyboardFocusManager.java
4904         (setGlobalCurrentFocusCycleRoot): Must be public.
4905         * java/awt/MenuComponent.java
4906         (MenuComponent): Must be public.
4907         * java/awt/Toolkit.java:
4908         Added some empty lines to make documentation more readable.
4909         (getFontPeer): Added @deprecated.
4910         (getColorModel): Added exception documentation.
4911         (getProperty): Fixed documentation.
4912  
4913 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4914
4915         * configure.host (alpha*-*): Default to -mieee.
4916         * configure.in (IEEESPEC): New.
4917         * libgcj.spec.in (jc1): Add IEEESPEC.
4918         * configure: Rebuild.
4919
4920 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4921
4922         * include/win32.h: Include ws2tcpip.h instead of
4923         winsock.h to obtain definition of the socklen_t type.
4924         Remove IP_TOS definition - not needed with ws2tcpip.h
4925         (_Jv_connect): Correct slight formatting error.
4926
4927 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4928
4929         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4930         size of the arguments for a JNI function. For Win32,
4931         modify to search for all forms of possible exported
4932         names of an stdcall JNI function.
4933         (_Jv_JNIMethod::call): Modify to calculate the size
4934         of the arguments passed to a JNI function and pass
4935         it to _Jv_LookupJNIMethod.
4936
4937 2003-02-12  Michael Koch  <konqueror@gmx.de>
4938
4939         * java/nio/channels/Channels.java: New file.
4940         * Makefile.am
4941         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4942         * Makefile.in: Regenerated.
4943
4944 2003-02-12  Michael Koch  <konqueror@gmx.de>
4945
4946         * java/nio/ByteBuffer.java
4947         (allocate): Implemented.
4948         (wrap): Implemented.
4949         * java/nio/CharBuffer.java:
4950         Some documentation added and reworked.
4951         (endian): Removed.
4952         (allocate): Implemented.
4953         (wrap): Implemented.
4954         (array): Throw exceptions.
4955         (arrayOffset): Throw exceptions.
4956         (toString): Implemented.
4957         (length): Implemented.
4958         (put): Implemented.
4959         (charAt): Implemented.
4960
4961 2003-02-11  John Leuner  <jewel@debian.org>
4962
4963         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4964         reads from end of file.
4965
4966 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4967
4968         * java/io/natFileDescriptorWin32.cc 
4969         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4970         returns with Win32 error code ERROR_BROKEN_PIPE.
4971
4972 2003-02-11  Michael Koch  <konqueror@gmx.de>
4973
4974         * Makefile.in
4975         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4976
4977 2003-02-11  Michael Koch  <konqueror@gmx.de>
4978
4979         * gnu/java/nio/ByteBufferImpl.java:
4980         Reformated and removed some code.
4981         (backing_buffer): Removed.      
4982         (array_offset): Removed.
4983         (ro): Renamed to readOnly.
4984         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4985         * gnu/java/nio/CharBufferImpl.java:
4986         Reformated and removed some code.
4987         (array_offset): Removed.
4988         (ro): Renamed to readOnly.
4989         (CharBufferImpl): Use parent constructor, initialize readOnly.
4990         (inc_pos): Removed.
4991         (order): New method.
4992         * gnu/java/nio/DoubleBufferImpl.java:
4993         Reformated and removed some code.
4994         (array_offset): Removed.
4995         (ro): Renamed to readOnly.
4996         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4997         (inc_pos): Removed.
4998         (order): New method.
4999         * gnu/java/nio/FloatBufferImpl.java:
5000         Reformated and removed some code.
5001         (array_offset): Removed.
5002         (ro): Renamed to readOnly.
5003         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5004         (inc_pos): Removed.
5005         (order): New method.
5006         * gnu/java/nio/IntBufferImpl.java:
5007         Reformated and removed some code.
5008         (array_offset): Removed.
5009         (ro): Renamed to readOnly.
5010         (IntBufferImpl): Use parent constructor, initialize readOnly.
5011         (inc_pos): Removed.
5012         (order): New method.
5013         * gnu/java/nio/LongBufferImpl.java:
5014         Reformated and removed some code.
5015         (array_offset): Removed.
5016         (ro): Renamed to readOnly.
5017         (LongBufferImpl): Use parent constructor, initialize readOnly.
5018         (inc_pos): Removed.
5019         (order): New method.
5020         * gnu/java/nio/ShortBufferImpl.java:
5021         Reformated and removed some code.
5022         (array_offset): Removed.
5023         (ro): Renamed to readOnly.
5024         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5025         (inc_pos): Removed.
5026         (order): New method.
5027         * Makefile.am
5028         (ordinary_java_source_files): Added the following files:
5029         gnu/java/nio/ByteBufferImpl.java
5030         gnu/java/nio/CharBufferImpl.java
5031         gnu/java/nio/DoubleBufferImpl.java
5032         gnu/java/nio/FloatBufferImpl.java
5033         gnu/java/nio/IntBufferImpl.java
5034         gnu/java/nio/LongBufferImpl.java
5035         gnu/java/nio/ShortBufferImpl.java
5036         java/nio/DoubleBuffer.java
5037         java/nio/FloatBuffer.java
5038         java/nio/IntBuffer.java
5039         java/nio/LongBuffer.java
5040         java/nio/ShortBuffer.java
5041         (nat_source_files): Added the following files:
5042         gnu/java/nio/natByteBufferImpl.cc
5043         gnu/java/nio/natCharBufferImpl.cc
5044         gnu/java/nio/natDoubleBufferImpl.cc
5045         gnu/java/nio/natFloatBufferImpl.cc
5046         gnu/java/nio/natIntBufferImpl.cc
5047         gnu/java/nio/natLongBufferImpl.cc
5048         gnu/java/nio/natShortBufferImpl.cc
5049         * Makefile.in: Regenerated.
5050
5051 2003-02-11  Michael Koch  <konqueror@gmx.de>
5052
5053         * gnu/java/nio/natCharBufferImpl.cc
5054         (nio_cast): Removed.
5055         (nio_put_*): Removed.
5056         (nio_get_*): Removed.
5057         * gnu/java/nio/natDoubleBufferImpl.cc
5058         (nio_cast): Removed.
5059         (nio_put_*): Removed.
5060         (nio_get_*): Removed.
5061         * gnu/java/nio/natFloatBufferImpl.cc
5062         (nio_cast): Removed.
5063         (nio_put_*): Removed.
5064         (nio_get_*): Removed.
5065         * gnu/java/nio/natIntBufferImpl.cc
5066         (nio_cast): Removed.
5067         (nio_put_*): Removed.
5068         (nio_get_*): Removed.
5069         * gnu/java/nio/natLongBufferImpl.cc
5070         (nio_cast): Removed.
5071         (nio_put_*): Removed.
5072         (nio_get_*): Removed.
5073         * gnu/java/nio/natShortBufferImpl.cc
5074         (nio_cast): Removed.
5075         (nio_put_*): Removed.
5076         (nio_get_*): Removed.
5077         * gnu/java/nio/SelectorProviderImpl.java
5078         (openDatagramChannel): Throws IOException.
5079         (openPipe): Throws IOException.
5080         (openSelector): Throws IOException.
5081         (openServerSocketChannel): Throws IOException.
5082         (openSocketChannel): Throws IOException.
5083         * gnu/java/nio/ServerSocketChannelImpl.java
5084         (ServerSocketChannelImpl): Throws IOException.
5085         (implCloseSelectableChannel): Throws IOException.
5086         (implConfigureBlocking): Throws IOException.
5087         * java/nio/ByteBuffer.java
5088         (readOnly): Removed.
5089         (hasArray): Use isReadOnly() instead of readOnly.
5090         (array): Use isReadOnly() instead of readOnly.
5091         (arrayOffset): Use isReadOnly() instead of readOnly.
5092         * java/nio/CharBuffer.java
5093         (CharBuffer): Implements Cloneable and CharSequence.
5094
5095 2003-02-11  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/nio/DoubleBuffer.java
5098         (DoubleBuffer): Implements Comparable.
5099         (endian): Removed.
5100         (array_offset): New member variable.
5101         (DoubleBuffer): New constuctor.
5102         (get): May not be final.
5103         (put): May not be final.
5104         (arrayOffset): Implemented.
5105         (order): Made abstract.
5106         (order): Removed.
5107         (as*Buffer): Removed.
5108         (get*): Removed.
5109         (put*): Removed.
5110         * java/nio/FloatBuffer.java
5111         (FloatBuffer): Implements Comparable.
5112         (endian): Removed.
5113         (array_offset): New member variable.
5114         (FloatBuffer): New constuctor.
5115         (get): May not be final.
5116         (put): May not be final.
5117         (arrayOffset): Implemented.
5118         (order): Made abstract.
5119         (order): Removed.
5120         (as*Buffer): Removed.
5121         (get*): Removed.
5122         (put*): Removed.
5123         * java/nio/IntBuffer.java
5124         (IntBuffer): Implements Comparable.
5125         (endian): Removed.
5126         (array_offset): New member variable.
5127         (IntBuffer): New constuctor.
5128         (get): May not be final.
5129         (put): May not be final.
5130         (arrayOffset): Implemented.
5131         (order): Made abstract.
5132         (order): Removed.
5133         (as*Buffer): Removed.
5134         (get*): Removed.
5135         (put*): Removed.
5136         * java/nio/LongBuffer.java
5137         (LongBuffer): Implements Comparable.
5138         (endian): Removed.
5139         (array_offset): New member variable.
5140         (LongBuffer): New constuctor.
5141         (get): May not be final.
5142         (put): May not be final.
5143         (arrayOffset): Implemented.
5144         (order): Made abstract.
5145         (order): Removed.
5146         (as*Buffer): Removed.
5147         (get*): Removed.
5148         (put*): Removed.
5149         * java/nio/ShortBuffer.java
5150         (ShortBuffer): Implements Comparable.
5151         (endian): Removed.
5152         (array_offset): New member variable.
5153         (ShortBuffer): New constuctor.
5154         (get): May not be final.
5155         (put): May not be final.
5156         (arrayOffset): Implemented.
5157         (order): Made abstract.
5158         (order): Removed.
5159         (as*Buffer): Removed.
5160         (get*): Removed.
5161         (put*): Removed.
5162
5163 2003-02-11   Michael Koch  <konqueror@gmx.de>
5164
5165         * java/nio/channels/SelectionKey.java
5166         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5167         values.
5168
5169 2003-02-11  Michael Koch  <konqueror@gmx.de>
5170
5171         * java/nio/channels/DatagramChannel.java
5172         (write): Throws IOException.
5173         (connect): Throws IOException.
5174         (disconnect): Throws IOException.
5175         (read): Throws IOException.
5176         (receive): Throws IOException.
5177         (send): Throws IOException.
5178         * java/nio/channels/Pipe.java
5179         (open): Throws IOException.
5180         * java/nio/channels/SelectableChannel.java
5181         (configureBlocking): Throws IOException.
5182         * java/nio/channels/ServerSocketChannel.java
5183         (accept): Throws IOException.
5184         * java/nio/channels/SocketChannel.java
5185         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5186         GatheringByteChannel.
5187         (read): Throws IOException.
5188         (write): Throws IOException.
5189         (finishConnect): Throws IOException.
5190         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5191         (end): Throws AsynchronousCloseException.
5192         * java/nio/channels/spi/AbstractSelectableChannel.java
5193         (configureBlocking): Throws IOException.
5194         (implCloseChannel): Throws IOException.
5195         (implCloseSelectableChannel): Throws IOException.
5196         (implConfigureBlocking): Throws IOException.
5197         * java/nio/channels/spi/SelectorProvider.java
5198         (openDatagramChannel): Throws IOException.
5199         (openPipe): Throws IOException.
5200         (openSelector): Throws IOException.
5201         (openServerSocketChannel): Throws IOException.
5202         (openSocketChannel): Throws IOException.
5203
5204 2003-02-11  Michael Koch  <konqueror@gmx.de>
5205
5206         * gnu/java/nio/FileLockImpl.java,
5207         java/nio/channels/FileLock.java: New files.
5208
5209 2003-02-11  Michael Koch  <konqueror@gmx.de>
5210
5211         * java/nio/charset/IllegalCharsetNameException.java
5212         (serialVersionUID): New member variable.
5213         (charsetName): New member variable.
5214         (IllegalCharsetException): New implementation.
5215         (getCharsetName): New implementation.
5216         * java/nio/charset/UnsupportedCharsetException.java
5217         (serialVersionUID): New member variable.
5218         (charsetName): New member variable.
5219         (UnsupportedCharsetException): New implementation.
5220         (getCharsetName): New implementation.
5221
5222 2003-02-10  Tom Tromey  <tromey@redhat.com>
5223
5224         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5225         (ex): Renamed from sqlException.
5226
5227 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5228
5229         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5230         method used to ensure seeding has occurred and that a specific 
5231         seed can be set and used.
5232
5233 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5234
5235         * java/lang/Win32Process.java (destroy): Declare as native.
5236         (hasExited): New native method.
5237         (exitValue): Define.
5238         (getErrorStream): Likewise.
5239         (getInputStream): Likewise.
5240         (getOutputStream): Likewise.
5241         (waitFor): Declare as native.
5242         (startProcess): New native method.
5243         (cleanup): Likewise.
5244         (ConcreteProcess): Define.
5245         (outputStream, inputStream, errorStream): New members.
5246         (procHandle, exitCode): Likewise.
5247
5248         * java/lang/natWin32Process.cc
5249         (java::lang::ConcreteProcess::cleanup): Define.
5250         (java::lang::ConcreteProcess::destroy): Likewise.
5251         (java::lang::ConcreteProcess::hasExited): Likewise.
5252         (java::lang::ConcreteProcess::waitFor): Likewise.
5253         (new_string): Likewise.
5254         (java::lang::ConcreteProcess::startProcess): Likewise.
5255
5256 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5257
5258         * java/math/BigInteger.java:
5259         Updated notice to include years 2002 and 3.
5260         Added 2 private (int) arrays with values from the HAC (Handbook of
5261         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5262         and t[] that contains nbr. of tests --used in isProbablePrime().
5263
5264         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5265
5266         * java/math/BigInteger.java (make(int[],int), add(int,int),
5267         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5268         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5269         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5270         make(long).
5271
5272         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5273         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5274         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5275         BIs and returns void.
5276         (modInverse(BI)): Use new signatures of euclidInv().
5277
5278         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5279         static small primes instead of remainder().
5280         Use pre-computed max nbr of trials based on bitlength of BI to test.
5281         Use pre-computed small primes for the trial tests instead of random
5282         numbers.
5283
5284         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5285         not used.
5286
5287         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5288         invoacation of MPN.chars_per_word().  not used.
5289
5290         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5291         local var and used where needed.
5292
5293         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5294         Combined declaration with initialisation of locals.
5295         Removed unused var.
5296
5297         * java/math/BigInteger.java: Style changes
5298         (pow(int)): Removed 'else' keyword.
5299         (toString(int)): idem.
5300         (doubleValue()): idem.
5301         (bitLength()): idem.
5302         (equals(Object)): Use static methods name in same class w/o prepending
5303         class name.
5304         (doubleValue()): idem.
5305         (setNegative(BI)): idem.
5306         (negate()): idem.
5307         (and(BI,int)): idem.
5308         (and(BI)): idem.
5309         (gcd(BI)): idem.
5310         (byteArrayToIntArray()): Removed casting to (int). this is
5311         std. behaviour.
5312         (canonicalize()): idem.
5313         (alloc(int)): Always instantiate a new BI.
5314
5315 2003-02-10  Tom Tromey  <tromey@redhat.com>
5316
5317         * java/sql/Timestamp.java (compareTo(Object)): New method.
5318         (compareTo(Timestamp)): Likewise.
5319         (serialVersionUID): Updated.
5320
5321 2003-02-07  Mark Wielaard  <mark@klomp.org>
5322
5323         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5324         when verify is true.
5325         (JarFile(File, boolean)): Likewise.
5326         (manifestRead): Set manifestRead field correctly.
5327
5328 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5329
5330         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5331         tests; see patch #1016 on Savannah.
5332
5333 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5334
5335         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5336         (toString): do not return Strings starting with . and - erroneously.
5337         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5338         DiagBigDecimal.
5339
5340 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5341
5342         * java/beans/PropertyDescriptor.java
5343         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5344         methods.
5345         (PropertyDescriptor(String, Class, String, String)): Likewise.
5346         (PropertyDescriptor(String, Method, Method): Factor out getter and
5347         setter method sanity checks into new method.
5348         (findMethods): Don't do parameter sanity checking of get method here.
5349         (checkMethods): New method.
5350
5351 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5352
5353         * java/beans/PropertyDescriptor.java: Reformat.
5354
5355 2003-02-04  Tom Tromey  <tromey@redhat.com>
5356
5357         * java/io/PipedOutputStream.java (flush): Declare as throwing
5358         IOException.
5359         (close): Likewise.
5360         * java/io/PipedWriter.java (close): Declare as throwing
5361         IOException.
5362         * java/io/StringWriter.java (close): Declare as throwing
5363         IOException.
5364
5365 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5366
5367         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5368         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5369         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5370         "_JNI_OnLoad@8" (MSVC).
5371
5372 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5373
5374         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5375         convention on Win32 to invoke native JNI methods.
5376
5377 2003-02-03  Andrew Haley  <aph@redhat.com>
5378
5379         * configure.host (x86_64): Enable interpreter.
5380
5381 2003-02-03  Andrew Haley  <aph@redhat.com>
5382
5383         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5384         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5385         * configure.in (BACKTRACESPEC): New.
5386         * configure: Regenerate.
5387
5388 2003-02-02  Tom Tromey  <tromey@redhat.com>
5389
5390         * configure: Rebuilt.
5391         * configure.in (TOOLKIT) [xlib]: Set correctly.
5392
5393         * Makefile.in: Rebuilt.
5394         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5395         libstdc++.
5396
5397 2003-01-31  Mark WIelaard  <mark@klomp.org>
5398
5399         * Makefile.in: Rebuilt.
5400         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5401
5402 2003-01-31  Tom Tromey  <tromey@redhat.com>
5403
5404         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5405         cast to element type.
5406         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5407         (_Jv_JNI_GetObjectArrayElement): Likewise.
5408
5409         * Makefile.in: Rebuilt.
5410         * Makefile.am (cond_x_ltlibrary): Renamed library to
5411         lib-gnu-awt-xlib.la.
5412         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5413         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5414         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5415         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5416         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5417         (lib_gnu_awt_xlib_la_LINK): Likewise.
5418         (install-exec-hook): Removed.
5419         (lib-gnu-awt-xlib.la): Renamed.
5420
5421 2003-01-31  Tom Tromey  <tromey@redhat.com>
5422
5423         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5424         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5425         aclocal.m4 and lost in some merge.
5426
5427         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5428         Don't try to find graphics configuration.
5429         * java/awt/Toolkit.java (default_toolkit_name): Use new
5430         Configuration entry.
5431         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5432         New global.
5433         * configure: Rebuilt.
5434         * configure.in (TOOLKIT): New subst.
5435         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5436         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5437         directory.  Make output directories for .c files.
5438         * Makefile.in: Rebuilt.
5439         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5440         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5441         (all_java_source_files): Added new sources.
5442         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5443         (gtk_c_files): New macro.
5444         (gtk_c_source_files): New macro.
5445         (cond_gtk_ltlibrary): New macro.
5446         ($(gtk_c_files)): New target.
5447         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5448         (gtk_awt_peer_sources): New macro.
5449         (gtk_c_headers): New macro.
5450         ($(gtk_c_headers)): New target.
5451         (ACLOCAL_AMFLAGS): New macro.
5452         * gtk.m4, glib.m4, libart.m4: New files.
5453         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5454         gnu/java/awt/peer/gtk/GdkGraphics.java,
5455         gnu/java/awt/peer/gtk/GtkArg.java,
5456         gnu/java/awt/peer/gtk/GtkArgList.java,
5457         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5458         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5459         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5460         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5461         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5462         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5463         gnu/java/awt/peer/gtk/GtkClipboard.java,
5464         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5465         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5466         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5467         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5468         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5469         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5470         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5471         gnu/java/awt/peer/gtk/GtkImage.java,
5472         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5473         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5474         gnu/java/awt/peer/gtk/GtkListPeer.java,
5475         gnu/java/awt/peer/gtk/GtkMainThread.java,
5476         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5477         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5478         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5479         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5480         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5481         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5482         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5483         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5484         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5485         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5486         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5487         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5488         gnu/java/awt/peer/gtk/GtkToolkit.java,
5489         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5490         gnu/java/awt/peer/gtk/TestAWT.java,
5491         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5493         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5495         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5499         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5508         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5513         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5514         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5515         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5516         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5517         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5518         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5519         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5520         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5521         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5522         jni/classpath/native_state.c, jni/classpath/native_state.h,
5523         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5524
5525 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5526
5527         * java/util/Properties.java (load): Ignore backslash before EOF.
5528
5529 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5530
5531         * java/lang/natClass.cc (initializeClass): Check tables when
5532         (state == JV_STATE_IN_PROGRESS).
5533         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5534         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5535         interpreted classes.
5536         (linkClass0): Use _Jv_WaitForState.
5537
5538 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5539
5540         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5541         object when finished.
5542
5543 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5544
5545         * libjava/configure.host: Disable can_unwind_signal on darwin.
5546
5547 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5548
5549         Fixes PR java/9254:
5550         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5551         additionally containing id of the owner thread as well as
5552         the number of nested times the thread has acquired the mutex.
5553         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5554         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5555         (_Jv_MutexUnlock): Check if really the owner thread, reset
5556         owner thread id to 0 before leaving, if leaving for the last
5557         time.
5558         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5559         refcount.
5560         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5561         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5562         the passed mutex.
5563         Pass handle of the broadcast event, instead of a pointer to it
5564         in Win32 ResetEvent( ) call.
5565         Remove incorrect return values.
5566         (_Jv_CondDestroy): Close both event handles and delete
5567         critical section.
5568         (_Jv_CondNotify): Check if really the owner thread.
5569         (_Jv_CondNotifyAll): Check if really the owner thread.
5570         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5571         (really_start): Use SetEvent( ) to signal daemon_cond.
5572         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5573         WaitForSingleObject( ) instead to wait for daemon_cond to be
5574         signalled.
5575
5576 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5577
5578         * configure.in: Specifically define HAVE_BACKTRACE if building
5579         for MinGW.
5580         * include/win32.h: Remove HAVE_BACKTRACE definition.
5581         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5582         * configure: Rebuilt.
5583
5584 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5585
5586         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5587         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5588         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5589         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5590         * Makefile.in, configure: Rebuilt.
5591
5592 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5593
5594         Fixes PR java/9253:
5595         * java/io/natFileWin32.cc (performList): Append only "*.*"
5596         if the canonical file path already has a "\" at the end.
5597
5598 2003-01-24  Tom Tromey  <tromey@redhat.com>
5599
5600         * defineclass.cc (handleMethodsEnd): Precompute code for static
5601         method.
5602         (handleCodeAttribute): Likewise.
5603         * resolve.cc (ncode): Use run_class for unsynchronized static
5604         methods.
5605         * include/java-interp.h (class _Jv_InterpMethod): Declare
5606         run_class.
5607         * interpret.cc (run_synch_class): Initialize class.
5608         (run) [insn_invokestatic]: Don't initialize class.
5609         [insn_anewarray]: Likewise.
5610         [insn_multianewarray]: Likewise.
5611         (run_class): New function.
5612
5613 2003-01-24  Tom Tromey  <tromey@redhat.com>
5614
5615         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5616         comment.
5617
5618 2003-01-22  Andrew Haley  <aph@redhat.com>
5619
5620         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5621         * configure.host (CHECKREFSPEC): Define for x86_64.
5622
5623 2003-01-21  Tom Tromey  <tromey@redhat.com>
5624
5625         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5626         search at 2, not 3.
5627
5628 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5629
5630         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5631         looking at any characters.
5632         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5633         be used.
5634         (isAbsolute): Check path's length as well.
5635
5636 2003-01-17  Mark Wielaard  <mark@klomp.org>
5637
5638         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5639         (nat_source_files): Add natVMObjectStreamClass.cc.
5640         * Makefile.in: Regenerated.
5641         * gcj/javaprims.h (namespace java): Regenerated.
5642         * java/io/ObjectStreamClass.java (getClassUID): Call
5643         VMObjectStreamClass.hasClassInitializer().
5644         (hasClassInitializer): Removed.
5645         * java/io/VMObjectStreamClass.java: New class.
5646         * java/io/natVMObjectStreamClass.cc: New file.
5647         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5648
5649 2003-01-16  Mark Wielaard  <mark@klomp.org>
5650
5651         * java/net/SocketImpl.java (toString): Don't explicitly call
5652         toString() on possible null address.
5653
5654 2003-01-16  Michael Koch  <konqueror@gmx.de>
5655
5656         * java/net/MulticastSocket.java
5657         (setInterface): Reindented.
5658
5659 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5660
5661         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5662         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5663         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5664         translateY arguments.  Implement.
5665         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5666         down translation arguments.
5667         (drawPolyline, drawPolygon): Fix incorrect tests.
5668         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5669         translateX and translateY arguments.
5670
5671 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5672
5673         * Makefile.in: Rebuilt.
5674         * Makefile.am (xlib_includes): New macro.
5675         (INCLUDES): Use it.
5676
5677 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5678
5679         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5680         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5681         16-bit display mode.
5682
5683 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5684
5685         * java/awt/CardLayout.java (show): Rewrote.
5686         (gotoComponent): Removed `target' argument.  Simplified code.
5687         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5688         Changed all callers.
5689         (NONE): Removed.
5690         
5691 2003-01-14  Michael Koch  <konqueror@gmx.de>
5692
5693         * java/net/InetSocketAddress.java
5694         (serialVersionUID): New member variable.
5695         * java/net/NetPermission.java
5696         (NetPermission): Dont implement java.io.Serialization directly.
5697         * java/net/SocketAddress.java:
5698         (serialVersionUID): Documentation added.
5699         
5700 2003-01-14  Michael Koch  <konqueror@gmx.de>
5701
5702         * java/awt/Label.java
5703         (Label): Implements javax.accessibility.Accessible;
5704         * java/awt/List.java
5705         (List): Implements javax.accessibility.Accessible;
5706         * java/awt/ScrollPane.java
5707         (ScrollPane): Implements javax.accessibility.Accessible;
5708         * java/awt/Scrollbar.java
5709         (Scrollbar): Implements javax.accessibility.Accessible;
5710         * java/awt/TextComponent.java
5711         (setCaretPosition): Throw exception, documentation added.
5712         * java/awt/Toolkit.java:
5713         Added some newlines in method documentations.
5714         (createButton): Exception documentation added.
5715         (createTextField): Exception documentation added.
5716         (createLabel): Exception documentation added.
5717         (createList): Exception documentation added.
5718         (createCheckbox): Exception documentation added.
5719         (createScrollbar): Exception documentation added.
5720         (createScrollPane): Exception documentation added.
5721         (createTextArea): Exception documentation added.
5722         (createChoice): Exception documentation added.
5723         (createFrame): Exception documentation added.
5724         (createWindow): Exception documentation added.
5725         (createDialog): Exception documentation added.
5726         (createMenuBar): Exception documentation added.
5727         (createMenu): Exception documentation added.
5728         (createMenuItem): Exception documentation added.
5729         (createFileDialog): Exception documentation added.
5730         (createCheckboxMenuItem): Exception documentation added.
5731         (loadSystemColors): Exception documentation added.
5732         (setDynamicLayout): Exception documentation added.
5733         (isDynamicLayoutSet): Exception documentation added.
5734         (isDynamicLayoutActive): Exception documentation added.
5735         (getScreenSize): Exception documentation added.
5736         (getScreenResolution): Exception documentation added.
5737         (getScreenInsets): Exception documentation added.
5738         (getColorModel): Exception documentation added.
5739         (getSystemClipboard): Exception documentation added.
5740         (getSystemSelection): Exception documentation added.
5741         (getMenuShortcutKeyMask): Exception documentation added.
5742         (getSystemEventQueue): Exception documentation added.
5743         * java/awt/Window.java:
5744         Reindented some code.
5745         (Window): Centralized implementation, documentation added.
5746         (finalize): Documentation added.
5747         (hide): Fixed typo in comment.
5748         (getWindowListeners): Documentation added.
5749         * java/awt/color/ColorSpace.java
5750         (toRGB): Documentation added.
5751         * java/awt/color/ICC_ColorSpace.java
5752         (ICC_ColorSpace): Documentation added.
5753         (toRGB): Throw exception, documentation added.
5754         (fromRGB): Throw exception, documentation added.
5755         (toCIEXYZ): Documentation added.
5756         (fromCIEXYZ): Documentation added.
5757         (getMinValue): Documentation added.
5758         (getMaxValue): Documentation added.
5759         * java/awt/geom/Dimension2D.java
5760         (clone): Documentation added.
5761         * java/awt/geom/GeneralPath.java
5762         (clone): Documentation added.
5763         * java/awt/geom/Line2D.java
5764         (clone): Documentation added.
5765         * java/awt/geom/QuadCurve2D.java
5766         (clone): Documentation added.
5767         * java/awt/image/ColorModel.java
5768         (ColorModel): Throw exception, documentation added.
5769         * java/awt/image/ImageFilter.java
5770         (clone): Doesnt throw CloneNotSupportedException.
5771
5772 2003-01-14  Andrew Haley  <aph@redhat.com>
5773
5774         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5775         in a try block.
5776
5777 2003-01-10  Andrew Haley  <aph@redhat.com>
5778
5779         * include/dwarf2-signal.h: Remove x86_64.
5780         * configure.host (x86_64 DIVIDESPEC): Remove.
5781         * include/x86_64-signal.h: New file.
5782         * configure.in: Regenerate.
5783
5784 2003-01-10  Michael Koch  <konqueror@gmx.de>
5785
5786         * java/net/DatagramSocket.java
5787         (ch): Description added.
5788         (remotePort): Initialize with -1.
5789         (connect): Doesnt throws SocketException.
5790         * java/net/MulticastSocket.java
5791         (setInterface): Merge with Classpath.
5792         * java/net/ServerSocket.java
5793         (closed): New member variable.
5794         (bind): Check if socket is closed.
5795         (close): Close an associated channel too, set new value to closed.
5796         (isBound): Reindented.
5797         (isClosed): Implemented.
5798         * java/net/Socket.java
5799         (closed): New member variable.
5800         (bind): Check if socket is closed.
5801         (connect): Check if socket is closed.
5802         (close): Close an associated channel too, set new value to closed.
5803         (isClosed): Implemented.
5804
5805 2003-01-10  Michael Koch  <konqueror@gmx.de>
5806
5807         * java/awt/DisplayMode.java
5808         (equals): Fixed argument type and implementation.
5809
5810 2003-01-07  Tom Tromey  <tromey@redhat.com>
5811
5812         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5813         JV_HASH_SYNCHRONIZATION.
5814         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5815         JV_HASH_SYNCHRONIZATION.
5816
5817 2003-01-07  Michael Koch  <konqueror@gmx.de>
5818  
5819         * java/net/DatagramSocket.java:
5820         Added classpath license info.
5821         (DatagramSocket): Merged description with classpath.
5822         (close): Merged description with classpath.
5823         (getChannel): Merged description with classpath.
5824         (getInetAddress): Merged description with classpath.
5825         (getPort): Merged description with classpath.
5826         (getLocalAddress): Merged description with classpath.
5827         (getLocalPort): Merged description with classpath.
5828         (getSoTimeout): Merged description with classpath.
5829         (setSoTimeout): Merged description with classpath.
5830         (getSendBufferSize): Merged description with classpath.
5831         (setSendBufferSize): Merged description with classpath.
5832         (getReceiveBufferSize): Merged description with classpath.
5833         (setReceiveBufferSize): Merged description with classpath.
5834         
5835 2003-01-04  Tom Tromey  <tromey@redhat.com>
5836
5837         * java/awt/List.java: Merged with Classpath.
5838
5839 2003-01-03  Mark Wielaard  <mark@klomp.org>
5840
5841         * java/io/FileDescriptor.java (position): New private field.
5842         * java/io/natFileDescriptorPosix.cc (write): Up position.
5843         (setLength): Use and set position.
5844         (seek): Set position.
5845         (getFilePointer): Return position.
5846         (read): Up position.
5847
5848 2003-01-03  Mark Wielaard  <mark@klomp.org>
5849
5850         Merge with Classpath:
5851         * java/io/ObjectStreamClass.java (lookup): Split method and call
5852         lookupForClassObject().
5853         (lookupForClassObject): New method.
5854         (isProxyClass): New field.
5855         (setClass): Set isProxyClass, add object to classLookupTable, set
5856         superClass and calculateOffsets.
5857         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5858         and not a proxy class.
5859         (setFields): Set accessible true for serialPersistentFields.
5860         (getClassUID): Same for suid. And check if suid is of type long.
5861         (hasClassInitializer): Don't throw NoSuchMethodError.
5862
5863 2003-01-03  Mark Wielaard  <mark@klomp.org>
5864
5865         * java/io/FileInputStream.java (finalize): Don't explicitly
5866         finalize FileDescriptor.
5867
5868 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5869
5870         * configure.host (sparc*-*): Enable bytecode interpreter.
5871
5872 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5873
5874         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5875         Don't throw RemoteException.
5876         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5877         throw RemoteException.
5878
5879 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5880
5881         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5882         proxyHost): New static fields.
5883         (<clinit>): Initialize new fields.
5884         (connect): Use proxy if necessary.
5885         (usingProxy): Implement.
5886
5887 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5888
5889         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5890         (TreeIterator.remove): Prefer IllegalStateException over
5891         ConcurrentModificationException, to match Sun.
5892
5893 2002-12-22  Anthony Green  <green@redhat.com>
5894
5895         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5896
5897 2003-01-02  Mark Wielaard  <mark@klomp.org>
5898
5899         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5900         public.
5901         (HTTP_USE_PROXY): Add field.
5902         (getResponseVals): Only set responseCode when not yet explicitly
5903         set by subclass.
5904
5905 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5906             Mark Wielaard  <mark@klomp.org>
5907
5908         * java/util/zip/ZipFile.java (entries): Now HashMap.
5909         (readLeShort(DataInput, byte[])): Read from given byte array.
5910         (readLeInt(DataInput, byte[]): Likewise.
5911         (readLeShort(byte[] b, int off)): New method.
5912         (readLeInt(byte[] b, int off)): Likewise.
5913         (readEntries): Use byte arrays to read info in bigger chunks.
5914         (getEntries): Return HashMap.
5915         (getEntry): Use HashMap.
5916         (locBuf): New private field.
5917         (checkLocalHeader): Use locBuf to read info in one chunk.
5918         (getInputStream): Use entries HashMap, wrap PartialInputStream
5919         in BufferedInputStream.
5920         (ZipEntryEnumeration): Use HashMap and Interator.
5921
5922 2003-01-02  Mark Wielaard  <mark@klomp.org>
5923             Jeroen Frijters  <jeroen@sumatra.nl>
5924
5925         * java/net/URLClassLoader.java (Resource.getCodeSource):
5926         Fix check certs == null.
5927         (getCanonicalFileURL): Removed method.
5928         (JarURLLoader): Don't call removed method.
5929         (FileURLLoader): Likewise.
5930         (FileURLLoader.getResource): Don't canonicalize file name.
5931
5932 2003-01-01  Tom Tromey  <tromey@redhat.com>
5933
5934         * Makefile.in: Rebuilt.
5935         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5936         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5937         java/awt/BufferCapabilities.java, java/awt/Button.java,
5938         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5939         java/awt/Container.java, java/awt/Cursor.java,
5940         java/awt/EventQueue.java, java/awt/FileDialog.java,
5941         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5942         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5943         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5944         java/awt/Scrollbar.java, java/awt/TextArea.java,
5945         java/awt/TextField.java, java/awt/color/CMMException.java,
5946         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5947         java/awt/color/ProfileDataException.java,
5948         java/awt/datatransfer/Clipboard.java,
5949         java/awt/datatransfer/DataFlavor.java,
5950         java/awt/datatransfer/FlavorMap.java,
5951         java/awt/datatransfer/SystemFlavorMap.java,
5952         java/awt/dnd/DragGestureEvent.java,
5953         java/awt/dnd/DragGestureRecognizer.java,
5954         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5955         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5956         java/awt/im/InputMethodHighlight.java,
5957         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5958         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5959
5960         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5961         `op' to BufferedImageOp.
5962
5963 2002-12-31  Tom Tromey  <tromey@redhat.com>
5964
5965         Fix for PR libgcj/7416:
5966         * javax/naming/InitialContext.java (init): Use
5967         gnu.classpath.home.url.
5968         * java/security/Security.java: Use new properties.
5969         (loadProviders): Accept base url; use it.
5970         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5971         gnu.classpath.home.url.
5972         (gnu.classpath.home.url): Define.
5973         (gnu.classpath.vm.shortname): Likewise.
5974
5975 2002-12-31  Tom Tromey  <tromey@redhat.com>
5976             Ranjit Mathew  <rmathew@hotmail.com>
5977
5978         Fix for PR libgcj/8997:
5979         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5980         Include platform.h.
5981         * include/posix.h (_Jv_platform_usleep): New function.
5982         * include/win32.h (_Jv_platform_usleep): New function.
5983
5984 2002-12-29  Tom Tromey  <tromey@redhat.com>
5985
5986         * gcj/javaprims.h: Updated.
5987         * scripts/classes.pl (scan): Removed stray semicolon.
5988
5989 2002-12-30  Mark Wielaard  <mark@klomp.org>
5990
5991         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5992         if zero or smaller.
5993
5994 2002-12-30  Mark Wielaard  <mark@klomp.org>
5995
5996         * java/util/Properties (formatForOutput): Don't fall through to
5997         default case after escaping character.
5998
5999 2002-12-30  Mark Wielaard  <mark@klomp.org>
6000
6001         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6002         against count.
6003
6004 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6005
6006         * boehm.cc: Remove stray semicolon.
6007         * interpret.cc: Likewise.
6008         * prims.cc: Likewise.
6009         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6010         earlier to ensure default arguments are processed.
6011         * gcj/array.h (JArray): Add forward declaration.
6012         (elements): Likewise.
6013         * gcj/javaprim.h: Remove stray semicolons.
6014         * include/bohm-gc.h: Likewise.
6015         * include/jni.h: Likewise.
6016         * include/jvm.h: Likewise.
6017         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6018         
6019 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6020
6021         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6022         of catch_type.
6023         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6024         idt tables after initializing superclass.
6025         * java/lang/natClassLoader.cc (uaddr): New typedef.
6026         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6027         if they are constant pool indicies.  Don't link vtable, otable yet.
6028
6029 2002-12-21  Anthony Green  <green@redhat.com>
6030
6031         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6032         libraries.
6033         * Makefile.in: Rebuilt.
6034
6035 2002-12-19  Anthony Green  <green@redhat.com>
6036
6037         * Makefile.am (ordinary_java_source_files): Add
6038         org/xml/sax/helpers/NewInstance.java.
6039         * Makefile.in: Rebuilt.
6040         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6041         org/xml/sax/helpers/package.html: New files.
6042         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6043         http://www.saxproject.org.
6044
6045 2002-12-19  Andrew Haley  <aph@redhat.com>
6046
6047         * java/util/natResourceBundle.cc: Include
6048         ArrayIndexOutOfBoundsException.h.
6049         (getCallingClassLoader): Don't put upper bound on stack search.
6050         Catch ArrayIndexOutOfBoundsException.
6051
6052 2002-12-19  Tom Tromey  <tromey@redhat.com>
6053
6054         * libtool-version: Increased `current'.
6055
6056 2002-12-19  Tom Tromey  <tromey@redhat.com>
6057
6058         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6059         comment.
6060         * java/lang/ClassLoader.java (defineClass): Use chained
6061         exception when rethrowing.
6062         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6063         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6064         constants.
6065         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6066         (_Jv_PrepareClass): Use it.
6067         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6068         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6069         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6070         (Class): _Jv_PrepareMissingMethods now friend.
6071         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6072         Record `NULL' for system class loader.
6073         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6074         system class loader.
6075         (_Jv_FindClassInCache): Likewise.
6076         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6077         (_Jv_FindClass): Special case system class loader.
6078         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6079         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6080         vtable slots.
6081         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6082         in a final class.
6083         (_getDeclaredMethod): Don't return synthetic methods.
6084         (getDeclaredMethods): Likewise.
6085         (_getMethod): Likewise.
6086         (_getMethods): Likewise.
6087
6088 2002-12-18  Raif Naffah  <raif@fl.net.au>
6089
6090         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6091         canonical form after divide().
6092         (modInverse): Likewise.
6093
6094 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6095             Mark Wielaard  <mark@klomp.org>
6096
6097         * java/security/SecurityRandom (digest): Removed field.
6098         (SecureRandom): Check all providers for case-insensitive SecureRandom
6099         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6100         if necessary.
6101         (getInstance(String,Provider,boolean): New method.
6102         (getInstance(String)): Use new method.
6103         (getInstance(String,String)): Likewise.
6104         (getInstance(String,Provider)): Likewise.
6105
6106 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6107
6108         * java/security/Security.java (loadProviders): Increment i only once.
6109
6110 2002-12-12  Mark Wielaard  <mark@klomp.org>
6111
6112         * java/lang/ClassLoader.java (resolveClass0): Transform
6113         ClassNotFoundException to NoClassDefFoundError. Transform all other
6114         throwables to LinkageError.
6115
6116 2002-12-11  Tom Tromey  <tromey@redhat.com>
6117
6118         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6119
6120         * java/lang/ClassLoader.java (loadedClasses): New field.
6121         (defineClass): Fixed indentation.  Put new class in
6122         loadedClasses.
6123         (findLoadedClass): Implement here.
6124         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6125
6126 2002-12-10  Tom Tromey  <tromey@redhat.com>
6127
6128         * Makefile.in: Rebuilt.
6129         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6130         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6131         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6132         * java/lang/natClassLoader.cc
6133         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6134
6135 2002-12-10  Mark Wielaard  <mark@klomp.org>
6136             Tom Tromey  <tromey@redhat.com>
6137
6138         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6139         (JarURLLoader): Use it.
6140         (FileURLLoader): Likewise.
6141         (JarURLResource.getURL): Use chained exception.
6142         (FileResource.getURL): Likewise.
6143         (FileURLLoader.getResource): Use canonical file name.
6144         (addURL): Indentation fix.
6145
6146 2002-12-10  Tom Tromey  <tromey@redhat.com>
6147
6148         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6149         From Laurent Bardet <l.bardet@magic.fr>.
6150
6151 2002-12-09  Tom Tromey  <tromey@redhat.com>
6152
6153         * include/win32.h (_Jv_platform_solib_prefix): New define.
6154         (_Jv_platform_solib_suffix): Likewise.
6155         * include/posix.h (_Jv_platform_solib_prefix): New define.
6156         (_Jv_platform_solib_suffix): Likewise.
6157         * java/lang/natRuntime.cc: Include StackTrace.h.
6158         (_load): Use findLibrary and new platform defines.
6159         (nativeGetLibname): Use new platform defines.
6160
6161         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6162         `t' won't be null.
6163
6164 2002-12-08  Mark Wielaard  <mark@klomp.org>
6165
6166         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6167         cache remote jar files.
6168         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6169         add File.separator to URL when it is a directory.
6170         * java/lang/ClassLoader.java: Add Classpath javadoc.
6171         (parent): final.
6172         (getParent): Add (disabled) security check.
6173         (findLibrary): New default method.
6174         * java/net/JarURLConnection.java (getManifest): Implement.
6175         (getInputStream): Only create InputStream when entry exists.
6176         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6177         when they exist.
6178         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6179
6180 2002-12-08  Mark Wielaard  <mark@klomp.org>
6181
6182         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6183         (lastDefaultLocale): New field.
6184         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6185         resourceBundleCache.
6186
6187 2002-12-06  Mark Wielaard  <mark@klomp.org>
6188
6189         * java/net/InetAddress.java (toString): Use hostname when not null,
6190         don't do an explicit reverse getHostName() lookup.
6191         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6192         NullPointerException.
6193
6194 2002-12-06  Tom Tromey  <tromey@redhat.com>
6195
6196         * include/java-interp.h (class _Jv_InterpMethod): Added
6197         JV_MARKOBJ_DECL.
6198         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6199         mark `prepared' field of interpreted method.
6200         * interpret.cc (compile): Use _Jv_AllocBytes.
6201
6202 2002-12-05  Andrew Haley  <aph@redhat.com>
6203
6204         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6205         #ifdef (HAVE_BACKTRACE) around the whole function body.
6206
6207 2002-12-05  Tom Tromey  <tromey@redhat.com>
6208
6209         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6210         * resolve.cc: Don't include AbstractMethodError.h.
6211         (_Jv_abstractMethodError): Removed.
6212         * defineclass.cc (handleMethodsBegin): Initialize method index to
6213         -1.
6214         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6215         method index for "new" final method.
6216         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6217         isVirtualMethod.  Added `flags' argument.
6218         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6219         class.
6220
6221 2002-12-04  Tom Tromey  <tromey@redhat.com>
6222
6223         * java/net/SocketPermission.java (hashCode): Rewrote.
6224
6225 2002-12-04  Tom Tromey  <tromey@redhat.com>
6226
6227         * Makefile.in: Rebuilt.
6228         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6229         natResourceBundle.
6230         * java/util/ResourceBundle.java (Security): Removed.
6231         (getCallingClassLoader): Now native.
6232         * java/util/natResourceBundle.cc: New file.
6233         * java/lang/natVMSecurityManager.cc: New file.
6234         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6235
6236 2002-12-03  Mark Wielaard  <mark@klomp.org>
6237
6238         * java/util/jar/JarFile.java (manifest): Not final.
6239         (manifestRead): New field.
6240         (JarFile): Don't read Manifest in constructor.
6241         (getManifest): New method.
6242         (JarEnumeration.nextElement): Use new method.
6243         (getEntry): Likewise.
6244         * java/util/zip/ZipFile.java (name): Final.
6245         (raf): Likewsie.
6246         (entries): Change type to Hashtable.
6247         (closed): New field.
6248         (ZipFile): Don't read enties in constructor.
6249         (readEntries): Use Hashtable.
6250         (close): Set new close flag and set entries to null inside
6251         synchronized block.
6252         (entries): Contruct enumeration using new getEntries() method and
6253         entries Hashtable.
6254         (getEntryIndex): Removed.
6255         (getEntries): New method.
6256         (getEntry): Use new getEntries() method and entries Hastable.
6257         (getInputStream): Likewise.
6258         (size): Return getEntries().size().
6259         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6260         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6261         (time): Removed
6262         (dostime): New field.
6263         (zipFileIndex): Removed.
6264         (ZipEntry(ZipEntry)): Copy dostime.
6265         (setDOSTime): Now final and doesn't convert dos time.
6266         (getDOSTime): Likewise.
6267         (setTime): Convert dos time.
6268         (getTime): Likewise.
6269         (getCalendar): New method.
6270         (setExtra): Use setTime().
6271         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6272
6273 2002-12-03  Tom Tromey  <tromey@redhat.com>
6274
6275         * java/lang/Character.java (forDigit): Formatting fix.
6276
6277 2002-12-03  Raif Naffah  <raif@fl.net.au>
6278
6279         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6280         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6281         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6282
6283 2002-12-03  Andrew Haley  <aph@redhat.com>
6284
6285         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6286         _Jv_PushClass.
6287         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6288         (_Jv_PopClass): New.
6289         (_Jv_PushClass): New.
6290         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6291         discover the ClassLoader of our caller.
6292         (_Jv_CheckArrayStore): Don't check that a class is assignment
6293         compatible with Object.
6294         * java/lang/natVMTHrowable.cc: Delete.
6295         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6296         java.lang.VMThrowable.
6297         (StackTrace(), StackTrace(int)): New constructors.
6298         (classAt, methodAt, update, methodAtAddress): New methods.
6299         (map): New field.
6300         * java/lang/VMThrowable.java: Use StackTrace instead of
6301         natVMTHrowable.
6302         * java/lang/Class.h (getClassLoaderInternal): New.
6303         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6304         Be friendly with gnu::gcj::runtime::StackTrace.
6305         (Object.chain): New field.
6306         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6307         gnu::gcj::runtime::StackTrace.
6308         * gnu/gcj/runtime/natStackTrace.cc: New file.
6309         * gnu/gcj/runtime/MethodRef.java: New file.
6310         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6311         instead of getClassLoader().
6312         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6313         java::lang::VMThrowable.
6314         * Makefile.am (core_java_source_files): Add MethodRef.java,
6315         StackTrace.java.
6316         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6317         * Makefile.in: Rebuild.
6318
6319 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6320
6321         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6322         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6323         yes also for sh-linux* and sh[34]*-linux*.
6324         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6325         set SIGNAL_HANDLER to use DWARF2 exception for them.
6326         * configure: Regenerate.
6327
6328 2002-12-02  Tom Tromey  <tromey@redhat.com>
6329
6330         * jni.cc: Added `name' argument.
6331         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6332         `const char *' argument.
6333         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6334
6335 2002-12-01  Tom Tromey  <tromey@redhat.com>
6336
6337         Bug compatibility, for PR libgcj/8738:
6338         * java/io/CharArrayWriter.java (close): Do nothing.
6339         (flush): Likewise.
6340         (reset): Don't touch `closed'.
6341         (write(int)): Don't throw IOException.
6342         (write(char[],int,int)): Likewise.
6343         (write(String,int,int)): Likewise.
6344         (closed): Removed.
6345
6346 2002-12-01  Mark Wielaard  <mark@klomp.org>
6347
6348         * java/lang/SecurityManager.java: Remerge comments, indenting and
6349         checkXXX methods with Classpath.
6350
6351 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6352
6353         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6354         getNormalizedComponents): Fix calculation which was using one too
6355         many bits in the unnormalized format.
6356
6357 2002-11-29  Gary Benson  <gbenson@redhat.com>
6358
6359         For PR libgcj/8759:
6360         * java/beans/Introspector.java (flushCaches): New method.
6361         (flushFromCaches): Likewise.
6362
6363 2002-11-29  Michael Koch <konqueror@gmx.de>
6364
6365         * java/nio/channels/DatagramChannel.java
6366         (open): Added exception documentation.
6367         (write): Added exception documentation.
6368         (connect): Added exception documentation.
6369         (disconnect): Added exception documentation.
6370         (isConnected): Added exception documentation.
6371         (read): Added exception documentation.
6372         (receive): Added exception documentation.
6373         (send): Added exception documentation.
6374         (validOps): Added exception documentation.
6375         * java/nio/channels/SocketChannel.java
6376         (open): Added exception documentation.
6377         (read): Added exception documentation.
6378         (write): Added exception documentation.
6379         (connect): Added exception documentation.
6380         (finishConnect): Added exception documentation.
6381
6382 2002-11-29  Michael Koch <konqueror@gmx.de>
6383
6384         * gnu/java/nio/DatagramChannelImpl:
6385         (fd): New member variable to store file descriptor of socket.
6386         * gnu/java/nio/SelectionKeyImpl.java:
6387         (ops): Removed.
6388         (readyOps): New member variable.
6389         (interestOps): New member variable.
6390         (readyOps): Implemented.
6391         (readyOps): New method to set member variable readyOps.
6392         (interestOps): Replaced ops by interestOps.
6393         * gnu/java/nio/SelectorImpl.java:
6394         (SelectorImpl): Initialize key sets.
6395         (select): Call select with -1 instead of Long.MAX_VALUE).
6396         (java_do_select): Make it a native method.
6397         (getFDsAsArray): New helper method.
6398         (select): Remove canceled keys, give only interested file discriptors
6399         to java_do_select, set ready ops.
6400         (add): No need to initialize keys set here.
6401         (add_selected): No need to initialize selected set here.
6402         (deregisterCanceledKeys): New helper method.
6403         (register): Set interest ops, set attachments, added handling of datagram
6404         channels.
6405         * gnu/java/nio/ServerSocketChannelImpl:
6406         (SocketAccept): Renamed from NioSocketAccept.
6407         (implConfigureBlocking): Implemented.
6408         (accept): Use SocketAccept instead of NioSocketAccept.
6409         * gnu/java/nio/SocketChannelImpl:
6410         Reactivate native methods.
6411
6412 2002-11-29  Michael Koch <konqueror@gmx.de>
6413
6414         * gnu/java/nio/natByteBufferImpl.cc,
6415         gnu/java/nio/natCharBufferImpl.cc,
6416         gnu/java/nio/natDoubleBufferImpl.cc,
6417         gnu/java/nio/natFloatBufferImpl.cc,
6418         gnu/java/nio/natIntBufferImpl.cc,
6419         gnu/java/nio/natLongBufferImpl.cc,
6420         gnu/java/nio/natSelectorImpl.cc,
6421         gnu/java/nio/natServerSocketChannelImpl.cc,
6422         gnu/java/nio/natShortBufferImpl.cc,
6423         gnu/java/nio/natSocketChannelImpl.cc:
6424         New files that implement native functionalities.
6425
6426 2002-11-29  Michael Koch <konqueror@gmx.de>
6427
6428         * gnu/java/nio/ByteBufferImpl.java
6429         (ByteBufferImpl): Moved position() after limit.
6430         (nio_*): Use native implementation.
6431         * gnu/java/nio/CharBufferImpl.java:
6432         Reformated.
6433         (endian): New member variable string endianess of buffer.
6434         (CharBufferImpl): Moved position() after limit.
6435         (nio_*): Use native implementation.
6436         (subSequence): Implemented.
6437         * gnu/java/nio/DoubleBufferImpl.java
6438         (DoubleBufferImpl): Moved position() after limit.
6439         (nio_*): Use native implementation.
6440         * gnu/java/nio/FloatBufferImpl.java
6441         Reformated.
6442         (FloatBufferImpl): Moved position() after limit.
6443         (nio_*): Use native implementation.
6444         * gnu/java/nio/IntBufferImpl.java
6445         Added needed imports, Reformated.
6446         (IntBufferImpl): Moved position() after limit.
6447         (nio_*): Use native implementation.
6448         * gnu/java/nio/LongBufferImpl.java
6449         Reformated.
6450         (LongBufferImpl): Moved position() after limit.
6451         (nio_*): Use native implementation.
6452         * gnu/java/nio/ShortBufferImpl.java
6453         Reformated.
6454         (ShortBufferImpl): Moved position() after limit.
6455         (nio_*): Use native implementation.
6456
6457 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6458
6459         * java/util/Locale.java (toString): Improve efficiency if country
6460         and variant are both empty.
6461
6462 2002-11-26  Tom Tromey  <tromey@redhat.com>
6463
6464         * verify.cc (pop_init_ref): New method.
6465         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6466         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6467         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6468         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6469         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6470         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6471         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6472         let `this' argument be uninitialized.  Don't let `null' be passed
6473         as `this' to construtor.
6474
6475 2002-11-26  Mark Wielaard  <mark@klomp.org>
6476
6477         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6478         * javax/transaction/HeuristicMixedException.java: Likewise.
6479         * javax/transaction/HeuristicRollbackException.java: Likewise.
6480         * javax/transaction/InvalidTransactionException.java: Likewise.
6481         * javax/transaction/NotSupportedException.java: Likewise.
6482         * javax/transaction/RollbackException.java: Likewise.
6483         * javax/transaction/Status.java: Likewise.
6484         * javax/transaction/Synchronization.java: Likewise.
6485         * javax/transaction/SystemException.java: Likewise.
6486         * javax/transaction/Transaction.java: Likewise.
6487         * javax/transaction/TransactionManager.java: Likewise.
6488         * javax/transaction/TransactionRequiredException.java: Likewise.
6489         * javax/transaction/TransactionRolledbackException.java: Likewise.
6490         * javax/transaction/UserTransaction.java: Likewise.
6491         * javax/transaction/xa/XAException.java: Likewise.
6492         * javax/transaction/xa/XAResource.java: Likewise.
6493         * javax/transaction/xa/Xid.java: Likewise.
6494
6495 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6496
6497         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6498         define.
6499         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6500         * include/posix.h (socklen_t): Define if not already defined.
6501
6502 2002-11-25  Tom Tromey  <tromey@redhat.com>
6503
6504         * verify.cc (type::compatible): Backed out broken change.
6505
6506         * verify.cc (type::compatible): Check initialization status
6507         first.
6508         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6509         Don't use NULLCHECK.
6510
6511 2002-11-23  H.J. Lu <hjl@gnu.org>
6512
6513         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6514         Include ../config/accross.m4.
6515         * aclocal.m4; Rebuild.
6516         * configure: Likewise.
6517
6518 2002-11-23  Mark Wielaard  <mark@klomp.org>
6519
6520         * javax/naming/AuthenticationException.java: Update copyright header.
6521         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6522         * javax/naming/Binding.java: Likewise.
6523         * javax/naming/CannotProceedException.java: Likewise.
6524         * javax/naming/CommunicationException.java: Likewise.
6525         * javax/naming/CompositeName.java: Likewise.
6526         * javax/naming/CompoundName.java: Likewise.
6527         * javax/naming/ConfigurationException.java: Likewise.
6528         * javax/naming/Context.java: Likewise.
6529         * javax/naming/ContextNotEmptyException.java: Likewise.
6530         * javax/naming/InitialContext.java: Likewise.
6531         * javax/naming/InsufficientResourcesException.java: Likewise.
6532         * javax/naming/InterruptedNamingException.java: Likewise.
6533         * javax/naming/LimitExceededException.java: Likewise.
6534         * javax/naming/LinkException.java: Likewise.
6535         * javax/naming/LinkLoopException.java: Likewise.
6536         * javax/naming/LinkRef.java: Likewise.
6537         * javax/naming/MalformedLinkException.java: Likewise.
6538         * javax/naming/NameAlreadyBoundException.java: Likewise.
6539         * javax/naming/NameClassPair.java: Likewise.
6540         * javax/naming/NameNotFoundException.java: Likewise.
6541         * javax/naming/NameParser.java: Likewise.
6542         * javax/naming/NamingEnumeration.java: Likewise.
6543         * javax/naming/NamingSecurityException.java: Likewise.
6544         * javax/naming/NoInitialContextException.java: Likewise.
6545         * javax/naming/NoPermissionException.java: Likewise.
6546         * javax/naming/NotContextException.java: Likewise.
6547         * javax/naming/OperationNotSupportedException.java: Likewise.
6548         * javax/naming/PartialResultException.java: Likewise.
6549         * javax/naming/Reference.java: Likewise.
6550         * javax/naming/Referenceable.java: Likewise.
6551         * javax/naming/ReferralException.java: Likewise.
6552         * javax/naming/ServiceUnavailableException.java: Likewise.
6553         * javax/naming/SizeLimitExceededException.java: Likewise.
6554         * javax/naming/TimeLimitExceededException.java: Likewise.
6555         * javax/naming/directory/Attribute.java: Likewise.
6556         * javax/naming/directory/AttributeInUseException.java: Likewise.
6557         * javax/naming/directory/AttributeModificationException.java: Likewise.
6558         * javax/naming/directory/Attributes.java: Likewise.
6559         * javax/naming/directory/BasicAttribute.java: Likewise.
6560         * javax/naming/directory/BasicAttributes.java: Likewise.
6561         * javax/naming/directory/DirContext.java: Likewise.
6562         * javax/naming/directory/InitialDirContext.java: Likewise.
6563         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6564         Likewise.
6565         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6566         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6567         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6568         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6569         * javax/naming/directory/ModificationItem.java: Likewise.
6570         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6571         * javax/naming/directory/SchemaViolationException.java: Likewise.
6572         * javax/naming/directory/SearchControls.java: Likewise.
6573         * javax/naming/directory/SearchResult.java: Likewise.
6574         * javax/naming/event/EventContext.java: Likewise.
6575         * javax/naming/event/EventDirContext.java: Likewise.
6576         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6577         * javax/naming/event/NamingEvent.java: Likewise.
6578         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6579         * javax/naming/event/NamingListener.java: Likewise.
6580         * javax/naming/event/ObjectChangeListener.java: Likewise.
6581         * javax/naming/ldap/Control.java: Likewise.
6582         * javax/naming/ldap/ControlFactory.java: Likewise.
6583         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6584         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6585         * javax/naming/ldap/HasControls.java: Likewise.
6586         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6587         * javax/naming/ldap/LdapContext.java: Likewise.
6588         * javax/naming/ldap/LdapReferralException.java: Likewise.
6589         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6590         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6591         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6592         * javax/naming/spi/DirObjectFactory.java: Likewise.
6593         * javax/naming/spi/DirStateFactory.java: Likewise.
6594         * javax/naming/spi/DirectoryManager.java: Likewise.
6595         * javax/naming/spi/InitialContextFactory.java: Likewise.
6596         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6597         * javax/naming/spi/NamingManager.java: Likewise.
6598         * javax/naming/spi/ObjectFactory.java: Likewise.
6599         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6600         * javax/naming/spi/ResolveResult.java: Likewise.
6601         * javax/naming/spi/Resolver.java: Likewise.
6602         * javax/naming/spi/StateFactory.java: Likewise.
6603
6604         * javax/naming/spi/NamingManager.java (ofb): Package private.
6605
6606 2002-11-21  Mark Wielaard  <mark@klomp.org>
6607
6608         * java/net/URL.java: Merge with Classpath (partly).
6609         * java/net/URLStreamHandler: Merge with Classpath.
6610
6611 2002-11-22  Michael Koch <konqueror@gmx.de>
6612
6613         * include/posix.h:
6614         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6615         * include/win32.h:
6616         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6617         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6618
6619 2002-11-21  Michael Koch <konqueror@gmx.de>
6620
6621         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6622         Only the new network functions should be in it.
6623
6624 2002-11-21  Michael Koch <konqueror@gmx.de>
6625
6626         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6627         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6628
6629 2002-11-21  Michael Koch <konqueror@gmx.de>
6630
6631         * java/nio/channels/AsynchronousCloseException.java,
6632         java/nio/channels/CancelledKeyException.java,
6633         java/nio/channels/ClosedByInterruptException.java,
6634         java/nio/channels/ConnectionPendingException.java,
6635         java/nio/channels/FileLockInterruptionException.java,
6636         java/nio/channels/IllegalSelectorException.java,
6637         java/nio/channels/NoConnectionPendingException.java,
6638         java/nio/channels/NonReadableChannelException.java,
6639         java/nio/channels/NonWritableChannelException.java,
6640         java/nio/channels/NotYetBoundException.java,
6641         java/nio/channels/NotYetConnectedException.java,
6642         java/nio/channels/OverlappingFileLockException.java,
6643         java/nio/channels/UnresolvedAddressException.java,
6644         java/nio/channels/UnsupportedAddressTypeException.java:
6645         New files.
6646         * Makefile.am (ordinary_java_source_files): Added new files.
6647         * Makefile.in: Regenerated.
6648
6649 2002-11-21  Michael Koch <konqueror@gmx.de>
6650
6651         * include/posix.h
6652         (_Jv_socket): New method.
6653         (_Jv_connect): New method.
6654         (_Jv_close): New method.
6655         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6656         (_Jv_bind): New method.
6657         (_Jv_listen): New method.
6658         (_Jv_write): New method.
6659         (_Jv_read): New method.
6660         * include/win32.h
6661         (_Jv_socket): New method.
6662         (_Jv_connect): New method.
6663         (_Jv_close): New method.
6664         (_Jv_bind): New method.
6665         (_Jv_listen): New method.
6666         (_Jv_write): New method.
6667         (_Jv_read): New method.
6668         * java/net/natNetworkInterface.cc:
6669         Include platform.h, removed inclusion of socket.h
6670         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6671         ::close() by _Jv_close().
6672         * java/net/natPlainDatagramSocketImpl.cc:
6673         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6674         added some new lines to make code more readable.
6675         (create): Replaced ::socket() by _Jv_socket().
6676         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6677         * java/net/natPlainSocketImpl.cc:
6678         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6679         removed include of socket.h, removed some windows defines
6680         (now in include/win32.h).
6681         (create): Replaced ::socket() by _Jv_socket().
6682         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6683         (write): Replaced ::read by _Jv_write().
6684         (read): Replaced ::read by _Jv_read().
6685
6686 2002-11-20  Michael Koch <konqueror@gmx.de>
6687
6688         * Makefile.am (ordinary_java_source_files):
6689         Added java/nio/channels/FileChannel.java.
6690         * Makefile.in: Regenerated.
6691
6692 2002-11-20  Michael Koch <konqueror@gmx.de>
6693
6694         * java/io/FileInputStream.java
6695         (getChannel): New method.
6696         * java/io/FileOutputStream.java
6697         (getChannel): New method.
6698         * java/net/ServerSocket.java
6699         (bind): Removed duplicate code and called another bind method instead.
6700         * java/nio/channels/SelectionKey.java
6701         (isValid): Removed wrong exception documentation.
6702         * java/nio/channels/ServerSocketChannel.java
6703         (accept): Added exception documentation.
6704         (open): Fixed typo, added exception documentation.
6705         * java/nio/channels/spi/AbstractSelectableChannel.java
6706         (implCloseChannel): Added exception documentation.
6707         (add): Reformated.
6708         (register): Added exception documentation.
6709
6710 2002-11-20  Andreas Jaeger  <aj@suse.de>
6711
6712         * configure: Regenerated with new libtool.m4.
6713
6714 2002-11-19  Tom Tromey  <tromey@redhat.com>
6715
6716         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6717         `referent'.
6718         (finalize_referred_to_object): Don't modify `referent' or `copy'
6719         fields.
6720         (add_to_hash): Correctly set `n->next' when updating list.
6721         * java/lang/ref/Reference.java (enqueue): Return false if already
6722         enqueued.
6723
6724 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6725
6726         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6727         to function and function pointer declarations in accordance with
6728         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6729         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6730         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6731         JNI function definitions.
6732
6733 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6734
6735         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6736         that was causing CoderResults to be cached, not WeakReferences
6737         to CoderResults.
6738
6739 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6740
6741         * java/security/KeyStore.java (getInstance): Fix
6742         comment and throw IllegalArgumentException if
6743         given provider is null.
6744         (getInstance): New method for jdk1.4 compatibility.
6745
6746 2002-11-18  Michael Koch <konqueror@gmx.de>
6747
6748         * java/net/PlainSocketImpl.java: Fix imports.
6749
6750 2002-11-18  Michael Koch <konqueror@gmx.de>
6751
6752         * java/nio/channels/SelectionKey.java
6753         (isValid): Added exception documentation.
6754         * java/nio/channels/Selector.java
6755         (open): Declare "throws IOException".
6756
6757 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6758
6759         * java/nio/charset/Charset.java
6760         (<clinit>): New method.
6761         (encode): Synchronize use of cached encoder object.
6762         (decode): Synchronize use of cached encoder object.
6763
6764 2002-11-18  Michael Koch <konqueror@gmx.de>
6765
6766         * gnu/java/nio/ByteBufferImpl.java,
6767         gnu/java/nio/CharBufferImpl.java,
6768         gnu/java/nio/DatagramChannelImpl.java,
6769         gnu/java/nio/DoubleBufferImpl.java,
6770         gnu/java/nio/FileChannelImpl.java,
6771         gnu/java/nio/FloatBufferImpl.java,
6772         gnu/java/nio/IntBufferImpl.java,
6773         gnu/java/nio/LongBufferImpl.java,
6774         gnu/java/nio/PipeImpl.java,
6775         gnu/java/nio/SelectionKeyImpl.java,
6776         gnu/java/nio/SelectorImpl.java,
6777         gnu/java/nio/SelectorProviderImpl.java,
6778         gnu/java/nio/ServerSocketChannelImpl.java,
6779         gnu/java/nio/ShortBufferImpl.java,
6780         gnu/java/nio/SocketChannelImpl.java,
6781         java/nio/DoubleBuffer.java,
6782         java/nio/FloatBuffer.java,
6783         java/nio/IntBuffer.java,
6784         java/nio/LongBuffer.java,
6785         java/nio/ShortBuffer.java,
6786         java/nio/channels/FileChannel.java: New files.
6787
6788 2002-11-18  Michael Koch <konqueror@gmx.de>
6789
6790         * Makefile.am (ordinary_java_source_files):
6791         Added java/nio/ReadOnlyBufferException.java and
6792         java/nio/channels/ClosedSelectorException.java.
6793         * Makefile.in: Regenerated.
6794
6795 2002-11-18  Michael Koch <konqueror@gmx.de>
6796
6797         * java/net/PlainSocketImpl.java: Reworked imports.
6798         * java/net/ServerSocket.java
6799         (ServerSocket): Create socket.
6800         * java/net/SocketAddress.java: Documentation added.
6801         * java/net/natPlainSocketImpl.cc: Reindented.
6802         * java/nio/ReadOnlyBufferException.java: New file
6803         * java/nio/channels/ClosedChannelException.java: Documentation added.
6804         * java/nio/channels/ClosedSelectorException.java: New file.
6805
6806 2002-11-17  Mark Wielaard  <mark@klomp.org>
6807
6808         * java/net/HttpURLConnection.java ((getPermission): Take port
6809         into consideration.
6810         (getErrorStream): Implement.
6811
6812 2002-11-17  Mark Wielaard  <mark@klomp.org>
6813
6814         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6815
6816 2002-11-16  Mark Wielaard  <mark@klomp.org>
6817
6818         Integrate work by Raif S. Naffah (raif@fl.net.au)
6819         * java/security/DummyKeyPairGenerator.java (clone): New method.
6820         * java/security/DummyMessageDigest.java (clone): New method.
6821         (engineUpdate): Now public.
6822         (engineReset): Likewise.
6823         (engineDigest): Likewise.
6824         (engineGetDigestLength): New method.
6825         * java/security/DummySignature.java (clone): New method.
6826         * java/security/KeyPairGenerator.java (provider): Now package private.
6827         (getInstance(String)): Use getInstance(String,Provider).
6828         (getInstance(String,String): Use getInstance(String,Provider)
6829         (getInstance(String,Provider): New method.
6830         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6831         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6832         * java/security/MessageDigest.java (provider): Now package private.
6833         (getInstance(String): Use getInstance(String,Provider).
6834         (getInstance(String,String): Use getInstance(String,Provider)
6835         (getInstance(String,Provider): New method.
6836         * java/security/Provider.java (toCanonicalKey): New method.
6837         (get): New method that uses toCanonicalKey().
6838         (put): Use toCanonicalKey().
6839         (remove): Likewise.
6840         * java/security/Security.java (insertProviderAt): Provider index is one
6841         based, not zero based.
6842         (addProvider): Likewise.
6843         (removeProvider): Likewise.
6844         * java/security/Signature.java (provider): Now package private.
6845         (getInstance(String)): Use getInstance(String,Provider).
6846         (getInstance(String,String): Use getInstance(String,Provider)
6847         (getInstance(String,Provider): New method.
6848         (getInstance(String,String,Provider): Don't cast DummySignature.
6849
6850 2002-11-15  Tom Tromey  <tromey@redhat.com>
6851
6852         For PR libgcj/8593:
6853         * java/util/zip/GZIPInputStream.java (read): Check file size.
6854         Look in inflater for remaining input bytes.
6855         (read4): Added buf and offset arguments.
6856
6857 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6858
6859         * java/applet/AppletContext.java: Fix typo and remove redundant
6860         modifiers.
6861
6862 2002-11-14  Tom Tromey  <tromey@redhat.com>
6863
6864         * java/lang/natRuntime.cc (insertSystemProperties): Set
6865         gnu.classpath.home.
6866
6867 2002-11-13  Michael Koch <konqueror@gmx.de>
6868
6869         * java/nio/ByteBuffer.java
6870         (allocate): New method.
6871         (wrap): New method.
6872         (put): New method.
6873         (get): New method.
6874
6875 2002-11-13  Michael Koch <konqueror@gmx.de>
6876
6877         * java/nio/channels/AlreadyConnectedException.java:
6878         Removed unneeded import.
6879         (AlreadyConnectedException): Documentation added.
6880         * java/nio/channels/Pipe.java
6881         (SinkChannel.SinkChannel): Documentation added.
6882         (SinkChannel.validOps): New method.
6883         (SourceChannel.SourceChannel): Documentation added.
6884         (SourceChannel.validOps): New method.
6885         (Pipe): Documentation added.
6886         (open): Documentation added.
6887         (SinkChannel.channel): Documentation added.
6888         (SourceChannel.channel): Documentation added.
6889         * java/nio/channel/SelectableChannel.java
6890         (SelectableChannel): Documentation added.
6891         (blockingLock): Documentation added.
6892         (configureBlocking):Documentation added.
6893         (isBlocking):Documentation added.
6894         (isRegistered):Documentation added.
6895         (keyFor):Documentation added.
6896         (provider):Documentation added.
6897         (register): Documentation added.
6898         (validOps): Documentation added.
6899         * jaba/nio/channels/SelectionKey.java
6900         (SelectionKey): Documentation added.
6901         (attach): Documentation added.
6902         (attachment): Documentation added.
6903         (isAcceptable): Documentation added.
6904         (isConnetable): Documentation added.
6905         (isReadable): Documentation added.
6906         (isWritable): Documentation added.
6907         (cancel): Documentation added.
6908         (channel): Documentation added.
6909         (interestOps): Documentation added.
6910         (isValid): Documentation added.
6911         (readyOps): Documentation added.
6912         (selector): Documentation added.
6913         * jaba/nio/channels/Selector.java
6914         (Selector): Documentation added.
6915         (open): Documentation added.
6916         (close): Documentation added.
6917         (isOpen): Documentation added.
6918         (keys): Documentation added.
6919         (provider): Documentation added.
6920         (select): Documentation added.
6921         (selectedKeys): Documentation added.
6922         (selectNow): Documentation added.
6923         (wakeup): Documentation added.
6924         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6925         (AbstractInterruptibleChannel): Documentation added.
6926         (opened): Default to true;
6927         (begin): Documentation added.
6928         (close): Set opened to false, documentation added.
6929         (isOpen): Documentation added.
6930         * java/nio/channels/spi/AbstractSelectionKey.java
6931         (AbstractSelectionKey): Documentation added.
6932         (cancel): Documentation added.
6933         (isValid): Documentation added.
6934         * java/nio/channels/spi/AbstractSelector.java
6935         (AbstractSelector): Documentation added.
6936         (begin): Documentation added.
6937         (close): Documentation added.
6938         (isOpen): Documentation added.
6939         (deregister): Documentation added.
6940         (end): Documentation added.
6941         (provider): Documentation added.
6942         (implCloseSelector): Documentation added.
6943         (register): Documentation added.
6944         * java/nio/channels/spi/SelectorProvider.java
6945         (SelectorProvider): Documentation added.
6946         (openDatagramChannel): Documentation added.
6947         (openPipe): Documentation added.
6948         (openSelector): Documentation added.
6949         (openServerSocketChannel): Documentation added.
6950         (openSocketChannel): Documentation added.
6951         (provider): Documentation added.
6952
6953 2002-11-12  Michael Koch <konqueror@gmx.de>
6954
6955         * java/nio/Buffer.java: Implemented.
6956         * java/nio/CharBuffer.java: New file.
6957         * java/nio/InvalidMarkException.java: New file.
6958         * java/nio/channels/DatagramChannel.java: Implemented.
6959         * java/nio/channels/ServerSocketChannel.java: Implemented.
6960         * java/nio/channels/SocketChannel.java: Implemented.
6961         * java/nio/channels/spi/AbstractChannel.java: Removed.
6962         * java/nio/channels/spi/AbstractSelectableChannel.java:
6963         Implemented.
6964         * java/nio/charset/Charset.java:
6965         Merge from Classpath.
6966         * java/nio/charset/CharsetDecoder.java: New file.
6967         * java/nio/charset/CharsetEncoder.java: New file.
6968         * java/nio/charset/CoderResult.java: New file.
6969         * Makefile.am (ordinary_java_source_files): Added new files.
6970         * Makefile.in: Regenerated.
6971
6972 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6973
6974         * gnu/java/nio/charset/ISO_8859_1.java,
6975         gnu/java/nio/charset/Provider.java,
6976         gnu/java/nio/charset/US_ASCII.java,
6977         gnu/java/nio/charset/UTF_16.java,
6978         gnu/java/nio/charset/UTF_16BE.java,
6979         gnu/java/nio/charset/UTF_16Decoder.java,
6980         gnu/java/nio/charset/UTF_16Encoder.java,
6981         gnu/java/nio/charset/UTF_16LE.java,
6982         gnu/java/nio/charset/UTF_8.java: New files.
6983
6984 2002-11-11  Michael Koch <konqueror@gmx.de>
6985
6986         * java/nio/charset/CharacterCodingException.java:
6987         This class must be public.
6988         * java/nio/charset/CoderMalfunctionError.java:
6989         This class must be public.
6990         * java/nio/charset/CodingErrorAction.java:
6991         This class must be public.
6992         * java/nio/charset/IllegalCharsetNameException.java:
6993         This class must be public, better implementation.
6994         * java/nio/charset/MalformedInputException.java:
6995         This class must be public, better implementation.
6996         * java/nio/charset/UnmappableCharacterException.java:
6997         This class must be public, better implementation.
6998         * java/nio/charset/UnsupportedCharsetException.java:
6999         This class must be public, better implementation.
7000
7001 2002-11-11  Michael Koch <konqueror@gmx.de>
7002
7003         * java/nio/BufferOverflowException.java,
7004         java/nio/BufferUnderflowException.java: New file.
7005         * Makefile.am (ordinary_java_source_files):
7006         Added new files.
7007         * Makefile.in: Regenerated.
7008
7009 2002-11-10  Tom Tromey  <tromey@redhat.com>
7010
7011         * java/awt/Container.java (validate): Use tree lock.
7012         (getComponent): Likewise.
7013         (getComponents): Likewise.
7014         (addImpl): Likewise.
7015         (remove): Likewise.
7016         (removeAll): Likewise.
7017         (processEvent): Fixed indentation.
7018         (getComponentAt): Use tree lock.
7019         (findComponentAt): Likewise.
7020         (removeNotify): Likewise.
7021         (isAncestorOf): Likewise.
7022         (list): Likewise.
7023         (visitChildren): Likewise.
7024         (findNextFocusComponent): Likewise.
7025         (addNotifyContainerChildren): Likewise.
7026         (getAccessibleChildrenCount): Likewise.
7027         (getAccessibleChild): Likewise.
7028
7029         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7030         (getSize): Likewise.
7031         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7032         (getSize): Likewise.
7033         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7034         (calcSize): Likewise.
7035         * java/awt/CardLayout.java (getSize): Use tree lock.
7036         (gotoComponent): Likewise.
7037         (layoutContainer): Likewise.
7038
7039         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7040         count is 0.
7041         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7042         count is 0.
7043
7044         * java/io/Externalizable.java, java/io/FilePermission.java,
7045         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7046         java/io/SerializablePermission.java, java/text/Format.java,
7047         java/util/AbstractMap.java, java/util/HashMap.java,
7048         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7049         versions from Classpath.
7050
7051 2002-11-10  Anthony Green  <green@redhat.com>
7052
7053         * java/util/jar/Attributes.java (Name): Fix name check.
7054
7055 2002-11-10  Mark Wielaard  <mark@klomp.org>
7056
7057         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7058         with getName() as message.
7059         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7060         type as message.
7061
7062         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7063         unused.
7064
7065 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7066
7067         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7068         for Win32. JNICALL has been defined to __stdcall to be compatible
7069         with Sun's JDKs.
7070
7071 2002-11-10  Tom Tromey  <tromey@redhat.com>
7072
7073         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7074         (setRows): Check newRows, not rows.
7075
7076         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7077
7078 2002-11-09  Tom Tromey  <tromey@redhat.com>
7079
7080         * java/applet/Applet.java, java/applet/AppletContext.java,
7081         java/applet/AppletStub.java, java/applet/AudioClip.java,
7082         java/awt/CardLayout.java,
7083         java/awt/ContainerOrderFocusTraversalPolicy.java,
7084         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7085         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7086         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7087         java/awt/color/ICC_ColorSpace.java,
7088         java/awt/color/ICC_Profile.java,
7089         java/awt/color/ICC_ProfileGray.java,
7090         java/awt/color/ICC_ProfileRGB.java,
7091         java/awt/datatransfer/DataFlavor.java,
7092         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7093         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7094         New versions from Classpath.
7095         * Makefile.in: Rebuilt.
7096         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7097         ICC_ProfileRGB.
7098
7099         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7100         display policy.
7101
7102         * java/awt/List.java (processEvent): Added missing `else's.
7103
7104         * java/awt/Window.java (show): validate() before showing.  Make
7105         parent displayable.
7106         (isDisplayable): New method.
7107
7108 2002-11-07  Mark Wielaard  <mark@klomp.org>
7109
7110         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7111         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7112
7113         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7114         annotation.
7115         (loadClass): Take String as codebases.
7116         (getClassAnnotation): Use MyClassLoader annotations.
7117         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7118         call exportObject(this).
7119
7120         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7121         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7122         (setAnnotation): Don't set locBytesStream and locStream.
7123         (replaceObject): Removed.
7124         (flush): Don't test locStream.
7125         (getLocBytes): LikeWise.
7126         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7127         (leaseCache): New field.
7128         (dirty): Use leaseCache.
7129         (LeaseRecord): New inner class.
7130         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7131         explicitly call exportObject().
7132         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7133         false to communicate with Sun JDK130.
7134         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7135         * gnu/java/rmi/server/RMIObjectInputStream.java
7136         (UnicastConnectionManager): Removed field.
7137         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7138         Use UnicastServer.getExportedRef().
7139         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7140         (expireTime): Likewise.
7141         (CONNECTION_TIMEOUT): Likewise.
7142         (disconnect): Call sock.close().
7143         (isExpired): New method.
7144         (resetTime): Likewise.
7145         (run): Use do while loop and catch Exception for discardConnection().
7146         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7147         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7148         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7149         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7150         (exportObject): Use refcache.
7151         (unexportObject): Likewise.
7152         (getExportedRef): New method.
7153         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7154         constructor.
7155         (exportObject): Save manager.serverobj.
7156         (getStub): New method.
7157
7158 2002-11-07  Mark Wielaard  <mark@klomp.org>
7159
7160         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7161         (getByte): Likewise.
7162         (getShort): Likewise.
7163         (getInt): Likewise.
7164         (getLong): Likewise.
7165         (getFloat): Likewise.
7166         (getDouble): Likewise.
7167         (get): Likewise.
7168         (setChar): Likewise.
7169         (setByte): Likewise.
7170         (setShort): Likewise.
7171         (setInt): Likewise.
7172         (setLong): Likewise.
7173         (setFloat): Likewise.
7174         (setDouble): Likewise.
7175
7176 2002-11-07  Michael Koch <konqueror@gmx.de>
7177
7178         * java/awt/Choice.java,
7179         java/awt/Container.java,
7180         java/awt/GridBagLayout.java:
7181         Fixed documentation.
7182         * java/awt/peer/ContainerPeer.java:
7183         Reindented.
7184
7185 2002-11-07  Michael Koch <konqueror@gmx.de>
7186
7187         * java/awt/color/ICC_Profile.java:
7188         Added missing constants.
7189         * java/awt/color/ICC_ColorSpace.java
7190         (getMinValue): Added dummy implementation.
7191         (getMaxValue): Added dummy implementation.
7192         * java/awt/datatransfer/DataFlavor.java
7193         (imageFlavor): Added.
7194         (isMimeTypeEqual): Must be final.
7195         (getDefaultRepresentationClass): Must be non-static.
7196         (getDefaultRepresentationClassAsString): Must be non-static.
7197         * java/awt/dnd/DragSourceContext.java
7198         (dragExit): Corrected argument.
7199         (dragDropEnd): Corrected argument.
7200         * java/awt/dnd/DragSourceListener.java.java
7201         (dragExit): Corrected argument.
7202         (dragDropEnd): Corrected argument.
7203         * java/awt/font/TextHitInfo.java
7204         (toString): Added stubbed implementation.
7205         * java/awt/geom/PathIterator.java:
7206         The constants must be static.
7207         * java/awt/image/VolatileImage.java
7208         (IMAGE_INCOMPATIBLE): Fixed typo.
7209         * java/awt/image/renderable/RenderableImage.java
7210         (HINTS_OBSERVED): Must be static.
7211         * java/beans/BeanInfo.java:
7212         Constants must be final.
7213
7214 2002-11-06  Tom Tromey  <tromey@redhat.com>
7215
7216         From svens@it.uu.se.  For PR libgcj/8481.
7217         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7218
7219 2002-11-06  Tom Tromey  <tromey@redhat.com>
7220
7221         * jni.cc (array_from_valist): Assume that jlong won't be
7222         promoted.
7223
7224 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7225
7226         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7227         Return 20.
7228         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7229         Return 16.
7230
7231 2002-11-03  Tom Tromey  <tromey@redhat.com>
7232
7233         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7234         VMClassLoader, not findClass.
7235
7236 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7237
7238         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7239         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7240         _Jv_DetermineVTableIndex, to determine vtable offset.
7241         (_Jv_DetermineVTableIndex): Remove.
7242         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7243
7244         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7245
7246 2002-11-03  Tom Tromey  <tromey@redhat.com>
7247
7248         * java/nio/channels/AlreadyConnectedException.java: Extend
7249         IllegalStateException, per spec.
7250
7251 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7252
7253         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7254
7255 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7256
7257         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7258         size items.
7259
7260 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7261
7262         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7263         initial estimated size to avoid enlarge buffer frequently.
7264
7265 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7266
7267         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7268         ClassLoader when null.
7269         (ProxyType.hashCode): Loader null check no longer needed.
7270         (ProxyType.sameTypes): New method.
7271         (ProxyType.equals): Use new method.
7272
7273 2002-10-31  Mark Wielaard  <mark@klomp.org>
7274
7275         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7276         length of String.
7277         * java/net/URLEncoder.java (encode): Likewise.
7278
7279 2002-10-31  Mark Wielaard  <mark@klomp.org>
7280
7281         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7282         when stream is closed.
7283         (closeEntry): Likewise.
7284         (read): Likewise.
7285         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7286         ZipException when no entry active.
7287         (closeEntry): Likewise.
7288         (write): Likewise.
7289
7290 2002-11-02  Tom Tromey  <tromey@redhat.com>
7291
7292         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7293         * java/lang/natClass.cc (initializeClass): Don't return just
7294         because self==thread.
7295
7296         For PR java/8415:
7297         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7298         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7299
7300 2002-11-02  Andreas Schwab  <schwab@suse.de>
7301
7302         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7303         pass GCJFLAGS.
7304         (FLAGS_TO_PASS): Define.
7305         * Makefile.in: Regenerated.
7306
7307 2002-11-01  Michael Koch  <konqueror@gmx.de>
7308
7309         * java/nio/ByteOrder.java: New file.
7310         * java/nio/channels/DatagramChannel.java:
7311         (DatagramChannel): New constructor.
7312         * java/nio/channels/Pipe.java: New file.
7313         * java/nio/channels/SelectableChannel.java: New file.
7314         * java/nio/channels/SelectionKey.java: New file.
7315         * java/nio/channels/Selector.java: New file.
7316         * java/nio/channels/ServerSocketChannel.java
7317         (ServerSocketChannel): New constructor.
7318         * java/nio/channels/SocketChannel.java
7319         (SocketChannel): New constructor.
7320         * java/nio/channels/Pipe.java: New file.
7321         * java/nio/channels/spi/AbstractChannel.java: New file.
7322         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7323         * java/nio/channels/spi/AbstractSelectableChannel.java:
7324         License added
7325         (AbstractSelectableChannel): New stubbed method.
7326         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7327         * java/nio/channels/spi/AbstractSelector.java: New file.
7328         * java/nio/channels/spi/SelectorProvider.java: New file.
7329         * java/nio/charset/Charset.java: New file.
7330         * java/nio/charset/CoderMalfunctionError.java: New file.
7331         * java/nio/charset/CodingErrorAction.java: New file.
7332         * java/nio/charset/spi/CharsetProvider.java
7333         (charsetForName): Uncommented.
7334         * Makefile.am (java_native_source_files): Added new files.
7335         * Makefile.in: Regenerated.
7336
7337 2002-11-01  Michael Koch  <konqueror@gmx.de>
7338
7339         * java/net/InetAddress.java:
7340         (isAnyLocalAddress): Implemented.
7341         (isLoopbackAddress): Implemented, comment added.
7342         (isLinkLocalAddress): Implemented, documentation added.
7343         (isSiteLocalAddress): Implemented, documentation added.
7344         (isMCGlobal): Implemented, documentation added.
7345         (isMCNodeLocal): Implemented, documentation added.
7346         (isMCLinkLocal): Implemented, documentation added.
7347         (isMCSiteLocal): Implemented, documentation added.
7348         (isMCOrgLocal): Implemented, documentation added.
7349         (getHostName): Documentation added.
7350         (getCanonicalHostName): Implemented, documentation added.
7351         (getAddress): Documentation added.
7352         (hashCode): Documentation added.
7353         (equals): Documentation added.
7354         (toString): Fixed implementation.
7355         (getByAddress): Use Inet4Address and Inet6Address.
7356         (lookup): New linewrap.
7357         (getByName): SecurityManager check added, support Inet4Address and
7358         Inet6address, comments added.
7359         (getAllByName): SecurityManager check added, comments added.
7360         * java/net/Inet6Address.java:
7361         (Inet6Address): Initialize parent class with addr instead of null.
7362         * java/net/URL.java
7363         (equals): Documentation added.
7364         (getFile): Documentation added.
7365         (hashCode): Documentation added.
7366         * java/net/natInetAddress.cc:
7367         (aton): Fix IPv6 support.
7368         * java/net/natPlainDatagramSocketImpl.cc:
7369         (peek): Throw PortUnreachableException when suitable.
7370         (peekData): Throw PortUnreachableException when suitable.
7371         (send): Throw PortUnreachableException when suitable.
7372         (receive): Throw PortUnreachableException when suitable.
7373
7374 2002-10-27  Mark Wielaard  <mark@klomp.org>
7375
7376         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7377         argument.
7378         (readLeShort): Likewise and use byte[].
7379         (readLeInt): Likewise.
7380         (readEntries): Use new versions of methods and use byte[] for reading
7381         a complete zip entry. Add ZipFile name to exceptions.
7382         (entries): Add ZipFile name to exceptions.
7383         (getEntry): Likewise.
7384         (checkLocalHeader): Use new versions of methods and add ZipFile name
7385         to exceptions.
7386
7387 2002-10-31  Mark Anderson  <mark@panonet.net>
7388
7389         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7390         added
7391
7392 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7393
7394         * configure.in: Disable hash sync when not using threads.
7395         * configure: Regenerated.
7396
7397 2002-10-24  Tom Tromey  <tromey@redhat.com>
7398
7399         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7400         (_Jv_FindSymbolInExecutable): Removed argument name.
7401         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7402         java.library.path is set.
7403
7404         * gij.cc (help): Document --showversion.
7405         (version): Don't exit.
7406         (main): Handle --showversion.  Exit if --version given.
7407
7408 2002-10-23  Tom Tromey  <tromey@redhat.com>
7409
7410         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7411         (array_from_valist): Correctly handle promotion for jint, jlong,
7412         jfloat, and jdouble.
7413
7414 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7415
7416         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7417         GetFileAttributesEx( ) to find file length and modification times,
7418         as the latter is not present on Windows 95.
7419
7420 2002-10-21  Michael Koch  <konqueror@gmx.de>
7421
7422         * java/net/URL.java
7423         (URL): Activate SecurityManager checks.
7424         (equals): Use URLStreamHandler implementation instead of doing it
7425         alone. This allows special protocol stream handlers to change default
7426         behaviour.
7427         (hashCode): Use URLStreamHandler implementation instead of doing it
7428         alone. This allows special protocol stream handlers to change default
7429         behaviour.
7430         * java/net/URLStreamHandler.java
7431         (equals): Implemented default URL equality check.
7432         (hostsEqual): Implemented default URL equality check.
7433         (hashCode): Implemented default URL hashCode algorithm.
7434         * java/net/natPlainDatagramSocketImpl.cc:
7435         No lines longer then 80 characters.
7436
7437 2002-10-20  Adam Megacz <adam@xwt.org>
7438
7439         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7440         * configure.in: enabled hash sync on Win32
7441         * include/win32-threads.h (_Jv_ThreadId_t): added.
7442         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7443         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7444         removed some posix-isms, use Thread::sleep() instead of usleep,
7445         added code to clear bottom three bits if platform has a broken
7446         linker.
7447         * include/win32-threads.h (_Jv_ThreadId_t): added.
7448
7449 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7450
7451         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7452         runtime property "gnu.gcj.progname" containing the name used to
7453         invoke the current Java program (similar to argv[0] for C
7454         programs).
7455
7456 2002-10-15  Tom Tromey  <tromey@redhat.com>
7457
7458         Fix for PR libgcj/8234:
7459         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7460         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7461
7462 2002-10-13  Mark Wielaard  <mark@klomp.org>
7463
7464         * mauve-libgcj: Enable Mauve tests that compile now.
7465
7466 2002-10-11  Mark Wielaard  <mark@klomp.org>
7467
7468         Fix for PR libgcj/8142
7469         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7470         loading native modules.
7471
7472 2002-10-10  Michael Koch  <konqueror@gmx.de>
7473
7474         * javax/swing/AbstractListModel.java
7475         (getListDataListeners): New stubbed method.
7476         javax/swing/DefaultBoundedRangeModel.java
7477         (getChangeListeners): New stubbed method.
7478         javax/swing/DefaultSingleSelectionModel.java
7479         (getChangeListeners): New stubbed method.
7480
7481 2002-10-10  Michael Koch  <konqueror@gmx.de>
7482
7483         * gcj/.cvsignore: New file to ignore files generated during build.
7484         * include/.cvsignore: New file to ignore files generated during build.
7485
7486 2002-10-10  Michael Koch  <konqueror@gmx.de>
7487
7488         * java/net/HttpURLConnection.java
7489         (getPermission): New method.
7490         (getErrorStream): New stub method.
7491         (getHeaderFieldDate): New stub method.
7492         * java/net/Inet4Address.java:
7493         (isLinkLocalAddress): Typo fixed.
7494         * java/net/InetAddress.java:
7495         (readResolve): New stubbed method (for serialization).
7496         (isAnyLocalAddress): New stubbed method.
7497         (isLoopbackAddress): New stubbed method.
7498         (isLinkLocalAddress): New stubbed method.
7499         (isSiteLocalAddress): New stubbed method.
7500         (isMCGlobal): New stubbed method.
7501         (isMCNodeGlobal): New stubbed method.
7502         (isMCLinkLocal): New stubbed method.
7503         (isMCSiteLocal): New stubbed method.
7504         (isMCOrgLocal): New stubbed method.
7505         (getCanonicalHostName): New stubbed method.
7506         (getByAddress): Create instances of Inet4Address/Inet6Address,
7507         instead of InetAddress, documentation added.
7508         * java/net/MulticastSocket.java
7509         (getInterface): Removed FIXME.
7510         (getNetworkInterface): New method.
7511         (setNetworkInterface): New method.
7512         * java/net/NetworkInterface.java:
7513         (toString): Use property "line.separator" instead of "\n".
7514         * java/net/URLConnection.java
7515         (getContent): New stubbed method.
7516         * java/net/URLStreamHandler.java:
7517         (equals): New stubbed method.
7518         (hostsEqual): New stubbed method.
7519         (hashCode): New stubbed method.
7520         * java/net/natNetworkInterface.cc:
7521         (getRealNetworkInterfaces): Create Inet4Address object
7522         instead of InetAddress.
7523
7524 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7525
7526         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7527         unsigned long temporary to implement insn_iushr shifts.
7528
7529 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7530
7531         * configure.host [s390*-*]: Enable Java interpreter.
7532         Enable hash synchronization.  Add sysdeps dir.
7533         * sysdep/s390/locks.h: New file.
7534
7535 2002-10-06  Mark Wielaard  <mark@klomp.org>
7536
7537         * java/lang/Thread.java (setDaemon): Check startable_flag,
7538         not isAlive().
7539
7540 2002-10-07  Michael Koch  <konqueror@gmx.de>
7541
7542         * java/nio/Buffer.java: New stub file.
7543         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7544         of class Charset.
7545         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7546         * Makefile.in: Regenerated.
7547
7548 2002-10-07  Michael Koch  <konqueror@gmx.de>
7549
7550         * java/nio/ByteBuffer.java:
7551         removed import of not commited class.
7552
7553 2002-10-07  Michael Koch  <konqueror@gmx.de>
7554
7555         * java/nio/ByteBuffer.java,
7556         java/nio/MappedByteBuffer.java:
7557         New files, forgot to add these dummies.
7558         * Makefile.am (java_native_source_files): Added new files.
7559         * Makefile.in: Regenerated.
7560
7561 2002-10-07  Michael Koch  <konqueror@gmx.de>
7562
7563         * java/nio/channels/AlreadyConnectedException.java,
7564         java/nio/channels/ClosedChannelException.java,
7565         java/nio/channels/ReadableByteChannel.java,
7566         java/nio/channels/InterruptibleChannel.java,
7567         java/nio/channels/Channel.java,
7568         java/nio/channels/ByteChannel.java,
7569         java/nio/channels/GatheringByteChannel.java,
7570         java/nio/channels/ScatteringByteChannel.java,
7571         java/nio/channels/WritableByteChannel.java,
7572         java/nio/charset/CharacterCodingException.java,
7573         java/nio/charset/IllegalCharsetNameException.java,
7574         java/nio/charset/MalformedInputException.java,
7575         java/nio/charset/UnmappableCharacterException.java,
7576         java/nio/charset/UnsupportedCharsetException.java,
7577         java/nio/charset/spi/CharsetProvider.java: New file.
7578         These files are exceptions or interfaces,
7579         no real or abstract classes.
7580         * Makefile.am (java_native_source_files): Added new files.
7581         * Makefile.in: Regenerated.
7582
7583 2002-10-05  Michael Koch  <konqueror@gmx.de>
7584
7585         * java/net/InetAddress.java
7586         (getByAddress): Fixed documentation.
7587         (getByAddress): New method.
7588         * java/net/Inet4Address.java: New file.
7589         * java/net/URL.java
7590         (URL): Documentation added.
7591         (getContent): Documentation added.
7592         (getContent): New stubbed method.
7593         (getQuery): New method.
7594         (openConnection): Documentation added.
7595         (openStream): Documentation added.
7596         (setURLStreamHandlerFactory): Documentation added.
7597         * java/net/URI.java: New stub file.
7598         * Makefile.am
7599         (java_native_source_files): Added java/net/Inet4Address.java,
7600         java/net/Inet6Address.java and java/net/URI.java.
7601         * Makefile.in: Regenerated.
7602
7603 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7604
7605         * java/lang/ProtectionDomain.java (linesep): Remove field.
7606         (toString): Use System.getProperty("line.separator").
7607
7608 2002-10-04  Michael Koch  <konqueror@gmx.de>
7609
7610         * java/security/Identity.java: Added serialVersionUID.
7611         * java/security/KeyPair.java: Added serialVersionUID.
7612         * java/security/Provider.java: Added serialVersionUID.
7613         * java/security/SecureRandom.java: Added serialVersionUID.
7614         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7615         * java/security/SignedObject.java: Added serialVersionUID.
7616         * java/security/cert/Certificate.java: Added serialVersionUID.
7617
7618 2002-10-04  Mark Wielaard <mark@klomp.org>
7619
7620         * java/security/Security.java: Use java.home or gnu.classpath.home
7621         to load providers.
7622         (loadProviders): Extra dir argument.
7623         (getProvider): Return null when not found.
7624
7625 2002-10-04  Mark Wielaard  <mark@klomp.org>
7626
7627         * java/lang/Throwable.java: Remerge with Classpath.
7628
7629 2002-10-04  Michael Koch  <konqueror@gmx.de>
7630
7631         * java/net/InetAddress.java:
7632         (isMulticastAddress): Added documentation.
7633         (getHostAddress): Added documentation.
7634         (toString): Added documentation.
7635         (getByAddress): Fixed documentation.
7636         (getByName): Added documentation.
7637         (getAllByName): Added documentation.
7638         (getLocalHost): Added documentation.
7639
7640 2002-10-04  Michael Koch  <konqueror@gmx.de>
7641
7642         * java/beans/beancontext/BeanContextChildSupport.java:
7643         Added serialVersionUID.
7644         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7645         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7646         * javax/naming/Name.java: Added serialVersionUID.
7647
7648 2002-10-03  Adam Megacz <adam@xwt.org>
7649
7650         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7651         some functionality that isn't supported yet on WIN32.
7652
7653 2002-10-03  Tom Tromey  <tromey@redhat.com>
7654
7655         * Makefile.in: Rebuilt.
7656         * Makefile.am (awt_java_source_files): Added new files.
7657
7658 2002-10-03  Michael Koch  <konqueror@gmx.de>
7659
7660         * java/net/InetAddress.java
7661         (class InetAddress): Removed final keyword.
7662         (equals): Fixed typo.
7663         (getByAddress): New method.
7664
7665 2002-10-03  Michael Koch  <konqueror@gmx.de>
7666
7667         * java/awt/dnd/Autoscroll.java:
7668         New file, merge from Classpath.
7669         * java/awt/dnd/DragSourceAdapter.java:
7670         (dragExit): Fixed typos in argument type.
7671         (dragDropEnd): Fixed typos in argument type.
7672         * java/awt/dnd/DragSourceDropEvent.java:
7673         New file, merge from Classpath.
7674         * java/awt/dnd/DropTarget.java:
7675         Added stubs, merge from Classpath.
7676         * java/awt/dnd/DropTargetAdapter.java:
7677         New file, merge from Classpath.
7678         * java/awt/dnd/DropTargetContext.java:
7679         New file, merge from Classpath.
7680         * java/awt/dnd/DropTargetDragEvent.java:
7681         New file, merge from Classpath.
7682         * java/awt/dnd/DropTargetDropEvent.java:
7683         New file, merge from Classpath.
7684         * java/awt/dnd/DropTargetEvent.java:
7685         New file, merge from Classpath.
7686         * java/awt/dnd/DropTargetListener.java:
7687         New file, merge from Classpath.
7688         * java/awt/dnd/MouseDragGestureRecognizer.java:
7689         New file, merge from Classpath.
7690         * java/awt/dnd/peer/DropTargetContextPeer.java:
7691         New file, merge from Classpath.
7692
7693 2002-10-03  Michael Koch  <konqueror@gmx.de>
7694
7695         * java/net/DatagramPacket.java
7696         (setLength): Fixed typo and be HTML-aware.
7697         * java/net/InetSocketAddress.java
7698         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7699         (equals): Added comment about equality of InetSocketAddress objects.
7700         * java/net/ServerSocket.java
7701         (accept): Added checks.
7702         (isClosed): New stubbed method.
7703         * java/net/SocketOptions.java: Reindention.
7704         * java/net/SocketPermission
7705         (SocketPermission): Documentation fixed.
7706
7707 2002-10-03  Michael Koch  <konqueror@gmx.de>
7708
7709         * java/net/DatagramSocket.java
7710         (receive): Check with SecurityManager AFTER the packet is received,
7711         check if connected to multicast address, documentation added.
7712         (send): Only check SecurityManager if connected, check address of
7713         packet to send.
7714         (connect): Implemented, documentation added.
7715         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7716         * java/net/InetSocketAddress.java
7717         (whole file): Reindented.
7718         (hostname): New attribute.
7719         (InetSocketAddress): Initialize new attribute.
7720         (getAddress): Documentation added.
7721         (getHostName): Documentation added.
7722         (getPort): Documentation added.
7723         (hashCode): Documentation added.
7724         (isUnresolved): Documentation added.
7725         (toString): Conform to output of JDK 1.4.1, documentation added.
7726         * java/net/MulticastSocket.java
7727         (joinGroup): Removed FIXME, documentation added.
7728         (leaveGroup): Removed FIXME, documentation added.
7729         (send): Documentation added.
7730         * java/net/Socket.java
7731         (inputShutdown): New variable.
7732         (outputShutdown): New variable.
7733         (Socket): Initialize new variables.
7734         (getRemoteSocketAddress): Check if connected.
7735         (shutdownInput): Set new variable.
7736         (shutdownOutput): Set new variable.
7737         (isConnected): New method.
7738         (isClosed): New method.
7739         (isInputShutdown): New method.
7740         (isOutputShutdown): New method.
7741         * java/net/URLStreamHandler.java
7742         (URLStreamHandler): New method.
7743         (openConnection): Added documentation.
7744         (parseURL): Added documentation.
7745         (getHostAddress): New method.
7746         (getDefaultPort): New method.
7747
7748 2002-10-02  Tom Tromey  <tromey@redhat.com>
7749
7750         * java/rmi/activation/ActivationDesc.java,
7751         java/rmi/activation/ActivationGroupDesc.java,
7752         java/rmi/activation/ActivationGroupID.java,
7753         java/rmi/activation/ActivationID.java: New versions from
7754         Classpath.
7755
7756 2002-09-30  Bo Thorsen  <bo@suse.de>
7757
7758         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7759
7760 2002-09-30  Tom Tromey  <tromey@redhat.com>
7761
7762         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7763         from Classpath.
7764         * Makefile.in: Rebuilt.
7765         * Makefile.am (rmi_java_source_files): Added new files.
7766         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7767         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7768         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7769         Classpath.
7770         * gnu/java/rmi/dgc/DGCImpl.java,
7771         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7772         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7773         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7774         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7775         gnu/java/rmi/server/RMIHashes.java,
7776         gnu/java/rmi/server/RMIObjectInputStream.java,
7777         gnu/java/rmi/server/RMIObjectOutputStream.java,
7778         gnu/java/rmi/server/UnicastConnection.java,
7779         gnu/java/rmi/server/UnicastConnectionManager.java,
7780         gnu/java/rmi/server/UnicastRef.java,
7781         gnu/java/rmi/server/UnicastServer.java,
7782         gnu/java/rmi/server/UnicastServerRef.java,
7783         java/rmi/MarshalledObject.java,
7784         java/rmi/server/RMIClassLoader.java,
7785         java/rmi/server/RemoteObject.java,
7786         java/rmi/server/UnicastRemoteObject.java,
7787         java/security/SecureClassLoader.java: Merged from Classpath.
7788
7789 2002-09-29  Anthony Green  <green@redhat.com>
7790
7791         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7792         Imported from GNU Classpath.
7793         * java/lang/reflect/natProxy.cc: New file.
7794         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7795         from GNU Classpath.
7796         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7797         Classpath.
7798         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7799         Classpath.
7800         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7801         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7802         New statics.
7803         * gcj/javaprims.h ("Java"): Add new classes.
7804         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7805         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7806         java/lang/reflect/Proxy$$ProxyType.h): And this.
7807         (inner_nat_headers): Add these new headers.
7808         (ordinary_java_source_files): Add new files.
7809         (nat_source_files): Add new file.
7810         * Makefile.in: Rebuilt.
7811
7812 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7813
7814         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7815         a single configuration.
7816
7817 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7818
7819         * java/util/TimeZone.java (getDSTSavings): New method.
7820         Fixes PR libgcj/7786.
7821
7822 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7823
7824         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7825         to see if `the_method == 0' before looking up vtable index.
7826         Fixes PR libgcj/7709.
7827
7828 2002-09-25  Tom Tromey  <tromey@redhat.com>
7829
7830         * java/lang/natClassLoader.cc:
7831         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7832         * resolve.cc: Include NoClassDefFoundError.h, not
7833         ClassNotFoundException.h.
7834         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7835
7836         * defineclass.cc: Don't include ClassNotFoundException.h.
7837
7838         * resolve.cc: Include StringBuffer.
7839         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7840
7841         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7842         allocated but not initialized.
7843
7844 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7845
7846         Fix for PR libgcj/7766:
7847         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7848         (getNextEntry): Set it.
7849         (closeEntry): Likewise.
7850         (read): Likewise.
7851         (close): Likewise.
7852         (available): Use it.
7853
7854 2002-09-25  Michael Koch  <konqueror@gmx.de>
7855
7856         * java/net/DatagramSocket.java
7857         (DatagramSocket): Initialize new instance variables.
7858         (close): Reset new instance variables.
7859         (getLocalAddress): Remove unneeded SecurityManager usage.
7860         (getLocalPort): Check if socket is already bound.
7861         (isConnected): New method.
7862         (getInetAddress): Implemented.
7863         (getPort): Better Implementation, documentation fixed.
7864         (getRemoteSocketAddress): New method.
7865         * java/net/JarURLConnection.java
7866         (element): Typo fixed.
7867         (getMainAttributes): New method.
7868         (getAttributes): New method (stub only).
7869         (getManifest): New method (stub only).
7870         * java/net/NetPermission.java: Added serialVersionsUID.
7871         * java/net/Socket.java
7872         (connect): Check blocking mode of associated channel,
7873         documentation added.
7874         (getLocalSocketAddress): Better implementation.
7875         (getRemoteSocketAddress): Implemented.
7876         (isBound): New method.
7877         (setSendBufferSize): Documentation added.
7878         * java/net/SocketAddress.java: Added serialVersionsUID.
7879         * java/net/SocketPermission.java: Added serialVersionsUID.
7880         * java/net/URL.java
7881         (URL): Wrap for shorter lines, initialize new instance variables,
7882         documentation added.
7883         (equals): Check new instance variables too.
7884         (getContent): Documentation added.
7885         (getPath): Documentation added.
7886         (getAuthority): New method.
7887         (getHost): Documentation added.
7888         (getPort): Documentation added.
7889         (getDefaultPort): New method.
7890         (getProtocol): Documentation added.
7891         (getUserInfo): Documentation added.
7892         (set): Initialize new instance variables, documentation added.
7893         * java/net/URLStreamHandler.java
7894         (setURL): New method.
7895         * java/net/natPlainDatagramSocketImpl.cc
7896         (connect): Fix exception name.
7897         (disconnect): Fix exception name.
7898
7899 2002-09-25  Michael Koch  <konqueror@gmx.de>
7900
7901         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7902         * java/nio/channels/DatagramChannel.java:
7903         extends AbstractSelectableChannel
7904         * java/nio/channels/ServerSocketChannel.java:
7905         extends AbstractSelectableChannel
7906         * java/nio/channels/SocketChannel.java:
7907         extends AbstractSelectableChannel
7908         * Makefile.am (ordinary_java_source_files):
7909         java/nio/channels/spi/AbstractSelectableChannel.java added.
7910         * Makefile.in: Regenerated.
7911
7912 2002-09-25  Michael Koch  <konqueror@gmx.de>
7913
7914         * java/net/DatagramSocket.java
7915         (DatagramSocket): Exception documentation added.
7916         (bind): Exception documentation added, addded SecurityManager check,
7917         added SocketAddress type check.
7918         (getSoTimeout): Check impl.
7919         (receive): Fix SecurityManager check, check impl, documentation added.
7920         (send): Check channel mode, documentation added.
7921         (connect): New method.
7922         (disconnect): Implemented.
7923         (getLocalSocketAddress): New method.
7924         (getReceiveBufferSize): Check impl.
7925         (setReuseAddress): Check impl.
7926         (getReuseAddress): Check impl.
7927         (setBroadcast): Check impl.
7928         (getBroadcast): Check impl.
7929         (setTrafficClass): Check impl, Documentation cleared.
7930         (getTrafficClass): Check impl.
7931         (getSendBufferSize): Check impl.
7932         (setReceiveBufferSize): Check impl, documentation added.
7933         (setSendBufferSize): Documentation added.
7934         (setDatagramSocketImplFactory): New method.
7935         * java/net/HttpURLConnection.java
7936         (HTTP_INTERNAL_ERROR): The correct code is 500.
7937         (HTTP_NOT_IMPLEMENTED): Added new constant.
7938         (setFollowRedirects): Documentation added.
7939         (getInstanceFollowRedirects): New method.
7940         (setInstanceFollowRedirects): New method.
7941         (setRequestMethod): Documentation added.
7942         (getResponseCode): Documentation added.
7943         (getResponseMessage): Documentation added.
7944         * java/net/JarURLConnection.java
7945         (JarURLConnection): protected since JDK 1.4.
7946         (getJarEntry): java.io.IOException to IOException, documentation added.
7947         (getJarFile): Documentation added.
7948         * java/net/ServerSocket.java
7949         (ServerSocket): Private to public, exception added.
7950         (ServerSocket): java.io.IOException to IOException, documentation added.
7951         (bind): Check socket address type, documentation added.
7952         (bind): java.io.IOException to IOException, documentation added.
7953         (accept): Documentation added.
7954         (implAccept): Check ch is not non-blocking, documentation added.
7955         (setSoTimeout): Documentation fixed.
7956         (setReceiveBufferSize): Documentation added.
7957         * java/net/Socket.java
7958         (Socket): Documentation added.
7959         (bind): Documentation added.
7960         (connect): Check socket address type, documentation added.
7961         (getRemoteSocketAddress): New method.
7962         (getLocalSocketAddress): New method.
7963         (setSoLinger): Documentation added.
7964         (getReuseAddress): New method.
7965         (setReuseAddress): New method.
7966         (getTrafficClass): New method.
7967         (setTrafficClass): New method.
7968         * java/net/URLStreamHandler.java
7969         (openConnection): java.io.IOException to IOException.
7970         (parseURL): Documentation added.
7971         (sameFile): public to protected, documentation added.
7972         (setURL): Documentation added.
7973         * java/nio/IllegalBlockingModeException.java: New file.
7974         * Makefile.am (ordinary_java_source_files):
7975         added java/nio/IllegalBlockingModeException.java
7976         * Makefile.in: Regenerated.
7977
7978 2002-09-25  Michael Koch  <konqueror@gmx.de>
7979
7980         * java/net/DatagramPacket
7981         (DatagramPacket): Exception documentation added.
7982         (setData): Likewise.
7983         (setSocketAddress): Likewise.
7984         * java/net/DatagramSocketImpl.java
7985         (peek): Documentation addded.
7986         (peekData): Documentation addded.
7987         (send): Documentation addded.
7988         (receive): Documentation addded.
7989         (connect): New method.
7990         (disconnect): New method.
7991         (joinGroup): New abstract method.
7992         (leaveGroup): New abstract method.
7993         * java/net/InetSocketAddress.java
7994         (InetSocketAddress): Documentation added.
7995         (equals): final keyword added.
7996         (getAddress): final keyword added.
7997         (getHostName): final keyword added.
7998         (getPort): final keyword added.
7999         (hashCode): final keyword added.
8000         (isUnresolved): final keyword added.
8001         * java/net/MulticastSocket.java
8002         (MulticastSocket): Documentation added.
8003         (MulticastSocket): New method.
8004         (joinGroup): Documentation added.
8005         (joinGroup): New method.
8006         (leaveGroup): Documentation added.
8007         (leaveGroup): New method.
8008         (send): Documentation added.
8009         * java/net/NetworkInterface.java
8010         (getByName): Documentation added.
8011         (getByInetAddress): Documentation added.
8012         (getNetworkInterfaces): Documentation added.
8013         * java/net/PlainDatagramSocketImpl.java
8014         (connect): New method.
8015         (disconnect): New method.
8016         * java/net/SocketImpl.java
8017         (create): Documentation added.
8018         (shutdownInput): Convert public to protected, as it always was.
8019         (shutdownOutput): Convert public to protected, as it always was.
8020         * java/net/SocketOptions.java
8021         (whole file): Reintented.
8022         * java/net/URLClassLoader.java
8023         (URLClassLoader): SecurityManager check added, documentation added.
8024         (findResources): Documentation added.
8025         (findClass): Documentation added.
8026         (newInstance): More correct method arguments.
8027         * java/net/URLConnection.java
8028         (connect): Documentation added.
8029         (getContent): Documentation added.
8030         (getPermission): Documentation added.
8031         (getInputStream): Documentation added.
8032         (getOutputStream): Documentation added.
8033         (setDoInput): Throw correct exception, documentation added.
8034         (setDoOutput): Throw correct exception, documentation added.
8035         (setAllowUserInteraction): Throw correct exception, documentation added.
8036         (setUseCaches): Throw correct exception, documentation added.
8037         (setIfModifiedSince): Throw correct exception, documentation added.
8038         (setRequestProperty): Throw exception, documentation added.
8039         (addRequestProperty): Throw exception, documentation added.
8040         (getRequestProperty): Throw exception, documentation added.
8041         (getRequestProperties): Documentation added.
8042         (setContentHandlerFactory): Documentation added.
8043         (guessContentTypeFromName): protected to public.
8044         (setFileNameMap): Documentation added.
8045         * java/net/URLDecoder.java
8046         (URLDecoder): New method.
8047         (decode): Documentation added.
8048         (whole file): Reindented.
8049         * java/net/URLEncoder.java
8050         (encode): Documentation added.
8051         * java/net/natPlainDatagramSocketImpl.cc
8052         (connect): New method.
8053         (disconnect): New method.
8054         * javax/naming/RefAddr:
8055         (addrType): addrType was never final.
8056         (equals): Fix typo in method name.
8057         * javax/naming/BinaryRefAddr:
8058         (equals): Fix typo in method name.
8059
8060 2002-09-22  Tom Tromey  <tromey@redhat.com>
8061
8062         Fix for PR libgcj/6576:
8063         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8064         didn't find a given bundle.
8065         (getBundle): Don't require base bundle.
8066         (setParent): Removed old comment.
8067         (tryLocalBundle): Try components even if preceding components were
8068         empty.
8069
8070 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8071
8072         * Makefile.am (all-multi): Fix multilib parallel build.
8073
8074 2002-09-21  Michael Koch  <konqueror@gmx.de>
8075
8076         * java/net/Socket.java
8077         (sendUrgentData): New method.
8078         (getChannel): New method.
8079         * java/net/ServerSocket.java
8080         (getChannel): New method.
8081         (isBound): New method.
8082         * java/net/DatagramSocket.java
8083         (DatagramSocket): Two new methods.
8084         (bind): New method.
8085         (getChannel): New method.
8086         (isBound): New method.
8087         (send): Added newline to to make shorter lines.
8088         * java/net/PlainDatagramSocketImpl.java
8089         (mcastGrp): Added argument.
8090         (join): Use new mcastGrp.
8091         (leave): Use new mcastGrp.
8092         (joinGroup): New method.
8093         (leaveGroup): New method.
8094         * java/net/natPlainDatagramSocketImpl.cc
8095         (mcastGrp): Added argument, no yet really implemented.
8096         (getOption): Added newline for shorter lines.
8097         * java/net/natPlainSocketImpl.cc
8098         (read, setOption, getOption): Added newline for shorter lines.
8099
8100 2002-09-19  Tom Tromey  <tromey@redhat.com>
8101
8102        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8103        newly-created exception.
8104
8105 2002-09-18  Michael Koch  <konqueror@gmx.de>
8106
8107         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8108         java/util/regex/PatternSyntaxException.java:
8109         Merge with classpath, new files.
8110         * Makefile.am (core_java_source_files):
8111         Added java/util/regex/Matcher.java,
8112         java/util/regex/Pattern.java,
8113         java/util/regex/PatternSyntaxException.java
8114         * Makefile.in: Regenerated.
8115         * include/config.h.in: Added HAVE_NET_IF_H.
8116         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8117         Removed #if 0 ... #endif.
8118
8119 2002-09-17  Michael Koch  <konqueror@gmx.de>
8120
8121         * java/net/natNetworkInterface.cc:
8122         Removed unneed and yet wrong includes.
8123
8124 2002-09-17  Michael Koch  <konqueror@gmx.de>
8125
8126         * java/net/NetworkInterface.java: New file.
8127         * java/net/natNetworkInterface.java: New file.
8128         * configure.in: Added check for net/if.h.
8129         * configure: Regenerated.
8130         * Makefile.am
8131         (ordinary_java_source_files): Added NetworkInterface.java.
8132         (nat_source_files): Added natNetworkInterface.cc.
8133         * Makefile.in: Regenerated.
8134
8135 2002-09-16  Tom Tromey  <tromey@redhat.com>
8136
8137         * java/net/URLClassLoader.java (findClass): Code source for a
8138         class from a jar is not necessarily a jar: URL.
8139
8140 2002-09-16  Michael Koch  <konqueror@gmx.de>
8141
8142         * java/lang/AssertionError.java:
8143         Merge with classpath, fixes HTML.
8144         * java/rmi/server/LogStream.java:
8145         Merge with classpath, fixes some constants.
8146         * java/net/server/RemoteServer.java:
8147         Merge with classpath, adds serialVersionUID.
8148         * javax/naming/BinaryRefAddr.java:
8149         Merge with classpath, s/equal/equals/.
8150         * javax/naming/NamingException.java:
8151         Merge with classpath, fixed typo.
8152         * javax/naming/RefAddr.java:
8153         Merge with classpath, s/equal/equals/.
8154         * java/awt/Toolkit.java:
8155         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8156         and typo fixed.
8157
8158 2002-09-15  Adam Megacz <adam@xwt.org>
8159
8160         * java/net/natPlainSocketImpl.cc: fixed typo.
8161
8162 2002-09-15  Adam Megacz <adam@xwt.org>
8163
8164         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8165         which don't work on Win32 (yet).
8166
8167 2002-09-14  Adam Megacz <adam@xwt.org>
8168
8169         * java/net/natPlainDatagramSocket.cc: removed #include
8170         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8171         * include/win32.h: included definition for IP_TOS to satisfy
8172         natPlainDatagramSocket.cc
8173
8174 2002-09-13  Michael Koch  <konqueror@gmx.de>
8175
8176         * java/net/DatagramPacket.java (DatagramPacket):
8177         Added linebreak for 80 chars per line.
8178         * java/net/JarURLConection.java
8179         (getInputStreami, getJarEntry): Likewise.
8180         * java/net/SocketPErmission.java
8181         (SocketPermission class docu, implies): Likewise.
8182         * java/net/URLClassLoader.java (findResources): Likewise.
8183         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8184
8185 2002-09-13  Michael Koch  <konqueror@gmx.de>
8186
8187         * java/nio/channels/DatagramChannel.java,
8188         java/nio/channels/ServerSocketChannel.java
8189         java/nio/channels/SocketChannel.java:
8190         New dummy files to make java.net fully JDK 1.4 compatible
8191         * Makefile.am (ordinary_java_source_files): Added
8192         java/net/DatagramSocketImplFactory.java (long forgotten),
8193         java/nio/SocketChannel.java,
8194         java/nio/ServerSocketChannel.java,
8195         java/nio/DatagramChannel.java
8196         * Makefile.in: Regenrated.
8197
8198 2002-09-12  Michael Koch  <konqueror@gmx.de>
8199
8200         * java/net/DatagramSocketImpl.java
8201         (peekData): New method.
8202         * java/net/PlainDatagramSocketImpl.java
8203         (peekData): New method.
8204         * java/net/natPlainDatagramSocketImpl.cc
8205         (peekData): New method.
8206         * java/net/URLConnection
8207         (getPermission): New method.
8208         (addRequestProperty): New method.
8209         (getRequestProperties): New method.
8210         (guessContentTypeFromStream): New method, not really implemented.
8211         (URLConnection): Added/updated documentation.
8212         (connect): Added/updated documentation.
8213         (getURL): Added/updated documentation.
8214         (getContentLength): Added/updated documentation.
8215         (getContentType: Added/updated documentation.
8216         (getContentEncoding): Added/updated documentation.
8217         (getExpiration): Added/updated documentation.
8218         (getDate): Added/updated documentation.
8219         (getLastModified): Added/updated documentation.
8220         (getHeaderField): Added/updated documentation.
8221         (getHeaderFields): Added/updated documentation.
8222         (getHeaderFieldInt): Added/updated documentation.
8223         (getHeaderFieldDate): Added/updated documentation.
8224         (getHeaderFieldKey): Added/updated documentation.
8225         (getContent): Added/updated documentation.
8226         (getInputStream): Added/updated documentation.
8227         (getOutputStream): Added/updated documentation.
8228         (toString): Added/updated documentation.
8229         (setDoInput): Added/updated documentation.
8230         (getDoInput): Added/updated documentation.
8231         (setDoOutput): Added/updated documentation.
8232         (getDoOutput): Added/updated documentation.
8233         (setAllowUserInteraction): Added/updated documentation.
8234         (getAllowUserInteraction): Added/updated documentation.
8235         (setDefaultAllowUserInteraction): Added/updated documentation.
8236         (getDefaultAllowUserInteraction): Added/updated documentation.
8237         (setUseCaches): Added/updated documentation.
8238         (getUseCaches): Added/updated documentation.
8239         (setIfModifiedSince): Added/updated documentation.
8240         (getIfModifiedSince): Added/updated documentation.
8241         (getDefaultUseCaches): Added/updated documentation.
8242         (setDefaultUseCaches): Added/updated documentation.
8243         (setRequestProperty): Added/updated documentation.
8244         (getRequestProperty): Added/updated documentation.
8245         (setDefaultRequestProperty): Added/updated documentation.
8246         (getDefaultRequestProperty): Added/updated documentation.
8247         (setContentHandlerFactory): Added/updated documentation.
8248         (guessContentTypeFromName): Added/updated documentation.
8249         (getFileNameMap): Added/updated documentation.
8250         (setFileNameMap): Added/updated documentation.
8251
8252 2002-09-11  Michael Koch  <konqueror@gmx.de>
8253
8254         * java/net/Socket.java
8255         (Socket): protected to public (since JDK 1.4). Added @specnote.
8256         (bind): New method.
8257         (connect): Two new methods.
8258         (getKeepalive): Get correct socket option.
8259         (setKeepalive): Set correct socket option.
8260         (getOOBInline): New method.
8261         (setOOBInline): New method.
8262         * java/net/ServerSocket.java
8263         (bind): Two new methods.
8264         (getInetAddress): Reimplemented, catch exception.
8265         (getLocalSocketAddress): New method.
8266         (setReuseAddress): New method.
8267         (getReuseAdress): New method.
8268         (setReceiveBufferSize): New method.
8269         (getReceiveBufferSize): New method.
8270         (toString): Made string JDK 1.4 compliant.
8271
8272 2002-09-10  Michael Koch  <konqueror@gmx.de>
8273
8274         * java/net/SocketImpl.java
8275         (connect): New method.
8276         (supportsUrgentData): New method.
8277         (sendUrgentData): New method.
8278         * java/net/PlainSocketImpl.java
8279         (connect): One new method and two new implementation.
8280         (sendUrgentData): New method.
8281         * java/natPlainSocketImpl.cc
8282         (connect): Arguments changed, added support for timeouts.
8283         (getOption): Another __java_boolean to jboolean.
8284
8285 2002-09-07  Adam Megacz <adam@xwt.org>
8286
8287         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8288         definition of IP_TOS.
8289
8290 2002-09-04  Michael Koch  <konqueror@gmx.de>
8291
8292         * java/net/DatagramSocket.java
8293         (DatagramSocket): Added documentation.
8294         (close): Likewise.
8295         (getLocalAddress): Likewise.
8296         (getLocalPort): Likewise.
8297         (receive): Likewise.
8298         (send): Likewise.
8299         (setSoTimeout): Likewise.
8300         (connect): New method.
8301         (disconnect): New method.
8302         (getInetAddress): New method (FIXME)
8303         (getPort): New method.
8304         (setReuseAddress): New method.
8305         (getReuseAddress): New method.
8306         (setBroadcast): New method.
8307         (getBroadcast): New method.
8308         (setTrafficClass): New method.
8309         (getTrafficClass): New method.
8310         * java/net/MulticastSocket.java):
8311         (getTTL): Added @see in documentation.
8312         (setTTL): Added @see in documentation.
8313         (setLoopbackMode): New method.
8314         (getLoopbackMode): New method.
8315         * java/net/PlainSocketImpl.java:
8316         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8317         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8318         * java/net/PlainDatagramSocketImpl.java
8319         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8320         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8321         * java/net/natPlainSocketImpl.cc
8322         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8323         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8324         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8325         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8326         This should also fix SO_KEEPALIVE
8327         * java/net/natPlainDatagramSocketImpl.cc
8328         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8329         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8330         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8331         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8332
8333 2002-09-04  Michael Koch  <konqueror@gmx.de>
8334
8335         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8336         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8337         IP_MULTICAST_LOOP, IP_TOS
8338
8339 2002-09-03  Tom Tromey  <tromey@redhat.com>
8340
8341         * java/lang/Class.h (_getDeclaredMethod): Declare.
8342         (_getMethod): Now private.
8343         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8344         getDeclaredMethod.  Now returns NULL on failure.
8345         * java/lang/Class.java (_getDeclaredMethod): Declare.
8346         (getDeclaredMethod): No longer native; implements access checks.
8347
8348 2002-09-01  Mark Wielaard  <mark@klomp.org>
8349
8350         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8351         (sanitizeStack): Correctly reset unknown and interpreter counters,
8352         detect interpreter runtime frames.
8353         (demangleInterpreterMethod): New method.
8354         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8355         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8356         filling in addrs[].
8357
8358 2002-09-02  Michael Koch  <konqueror@gmx.de>
8359
8360         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8361         re-indented documentation.
8362
8363 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8364
8365         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8366         public, per 1.4 spec.  Fixes PR libgcj/7785.
8367
8368 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8369
8370         * Makefile.in: Rebuilt.
8371         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8372
8373 2002-08-29  Tom Tromey  <tromey@redhat.com>
8374
8375         * java/net/JarURLConnection.java (getCertificates): New method
8376         from Classpath.
8377         * java/net/URLClassLoader.java (URLClassLoader): Extends
8378         SecureClassLoader.
8379         (definePackage): New method from Classpath.
8380         (getPermissions): Likewise.
8381         (newInstance): Likewise.
8382         (findClass): Construct CodeSource for new class (from Classpath).
8383         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8384         methods.
8385         * java/net/URL.java (getUserInfo): New method.
8386         (set(String,String,int,String,String,String,String,String)): New
8387         method.
8388         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8389         (shutdownInput, shutdownOutput): Declare.
8390         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8391         Define.
8392         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8393         (getOption): Likewise.
8394         (shutdownInput): New method.
8395         (shutdownOutput): Likewise.
8396         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8397         keepalive.
8398         (getOption): Likewise.
8399         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8400         * java/net/Socket.java (setKeepAlive): New method.
8401         (getKeepAlive): Likewise.
8402         (shutdownInput, shutdownOutput): New methods.
8403
8404 2002-08-29  Michael Koch  <konqueror@gmx.de>
8405
8406         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8407         new methods are:
8408         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8409           address),
8410         DatagramPacket(byte[] buf, int length, SocketAddress address),
8411         void setSocketAddress(SocketAddress address)
8412         public SocketAddress getSocketAddress()
8413
8414 2002-08-29  Tom Tromey  <tromey@redhat.com>
8415
8416         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8417         ftruncate is missing.
8418         * configure, include/config.h.in: Rebuilt.
8419         * acconfig.h (HAVE_FTRUNCATE): Mention.
8420         * configure.in: Check for ftruncate.
8421
8422 2002-08-29  Tom Tromey  <tromey@redhat.com>
8423
8424         * include/jvm.h (struct _Jv_frame_info): New structure.
8425         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8426         java-interp.h.
8427         (lookupInterp): New method.
8428         (getAddrAsString): Use _Jv_frame_info.
8429         (dladdrLookup): Likewise.
8430         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8431         interpreted frame.
8432         (lookupInterp): Declare.
8433         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8434         (fillInStackTrace): Collect information on interpreted frames.
8435         Use _Jv_frame_info.
8436         * interpret.cc: Include Thread.h.
8437         (run): Create and push _Jv_MethodChain object.
8438         (_Jv_EndOfInterpreter): New global.
8439         * java/lang/Thread.java (interp_frame): New field.
8440         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8441         Include NameFinder.h.
8442
8443 2002-08-28  Tom Tromey  <tromey@redhat.com>
8444
8445         * java/lang/Class.h: Include Package.h.
8446         (Class::getProtectionDomain): Declare.
8447         (Class::getPackage): Declare.
8448
8449 2002-08-28  Michael Koch <konqueror@gmx.de>
8450
8451         * java/net/InetSocketAddress.java: Added some documentation and argument
8452         checks for the port numbers.
8453         * java/net/DatagramSocketImplFactory.java: New file.
8454
8455 2002-08-28  Michael Koch <konqueror@gmx.de>
8456
8457         * java/net/Authenticator.java: added some documentation.
8458
8459 2002-08-27  Tom Tromey  <tromey@redhat.com>
8460
8461         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8462         class.
8463         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8464
8465 2002-08-27  Michael Koch <konqueror@gmx.de>
8466
8467         * java/net/BindException.java,
8468         java/net/JarURLConnection.java,
8469         java/net/FileNameMap.java,
8470         java/net/HttpURLConnection.java,
8471         java/net/InetSocketAddress.java,
8472         java/net/DatagramPacket.java,
8473         java/net/DatagramSocket.java,
8474         java/net/DatagramSocketImpl.java,
8475         java/net/MulticastSocket.java,
8476         java/net/PasswordAuthentication.java,
8477         java/net/ServerSocket.java,
8478         java/net/Socket.java,
8479         java/net/URLClassLoader.java,
8480         java/net/URLConnection.java: add/update of some @since/@deprecated
8481
8482 2002-08-27  Tony Kimball <alk@pobox.com>
8483             Tom Tromey  <tromey@redhat.com>
8484
8485         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8486         define.
8487         (::close): Removed.
8488         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8489         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8490         (::close): Removed.
8491         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8492         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8493
8494 2002-08-25  Adam Megacz <adam@xwt.org>
8495
8496         * include/win32.h (getcwd): copied function declaration as
8497         temporary fix for header confusion.
8498
8499 2002-08-24  Mark Wielaard <mark@klomp.org>
8500
8501         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8502         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8503         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8504         and natNameFinder.cc.
8505         * Makefile.in: Regenerate.
8506         * prims.cc: Use trace_enabled from VMThrowable.
8507         * name-finder.cc: Removed.
8508         * gcj/javaprims.h: Add class VMThrowable.
8509         * gnu/gcj/runtime/NameFinder.java: New file.
8510         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8511         * include/name-finder.h: Removed.
8512         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8513         method stackTraceString().
8514         (printStackTrace (PrintWriter)): Likewise.
8515         (stackTraceString): Complete rewrite of old printStackTrace using
8516         StringBuffer.
8517         (stackTraceStringBuffer): New helper method for stackTraceString().
8518         (fillInStackTrace): Delegate to VMTrowable.
8519         (getStackTrace): Likewise.
8520         (getStackTrace0): Removed.
8521         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8522         (setStackTrace): Copy given array.
8523         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8524         * java/lang/VMThrowable.java: New class.
8525         * java/lang/natVMThrowable.cc: New file.
8526
8527 2003-08-23  Michael Koch  <konqueror@gmx.de>
8528
8529         * java/net/URLConnection.java,
8530         java/netJarURLConnection.java,
8531         gnu/gcj/protocol/core/Connection.java,
8532         gnu/gcj/protocol/file/Connection.java,
8533         gnu/gcj/protocol/http/Connection.java: Added implementation of
8534         getHeaderFields().
8535
8536 2002-08-22  Tom Tromey  <tromey@redhat.com>
8537
8538         * gij.cc (help): Document -cp and -classpath.
8539         (main): Handle -classpath.
8540
8541 2002-08-21  Tom Tromey  <tromey@redhat.com>
8542
8543         * Makefile.in: Rebuilt.
8544         * Makefile.am (ordinary_java_source_files): Added
8545         SocketAddress.java, InetSocketAddress.java.
8546         * java/net/PortUnreachableException.java: Merged with Classpath.
8547         * java/net/SocketTimeoutException.java: Likewise.
8548         * java/net/URISyntaxException.java: Likewise.
8549         * java/net/SocketAddress.java: New class from Classpath.
8550         * java/net/InetSocketAddress.java: Likewise.
8551
8552 2003-08-21  Michael Koch  <konqueror@gmx.de>
8553
8554         * java/net/Authenticator.java: updated JDK 1.4
8555         * java/net/ContentHandler.java: updated JDK 1.4
8556
8557 2002-08-20  Michael Koch  <konqueror@gmx.de>
8558
8559         * java/net/URISyntaxException.java: New file.
8560         * java/net/SocketTimeoutException.java: New file.
8561         * java/net/PortUnreachableException.java: New file.
8562         * Makefile.am: Updated.
8563         * Makefile.in: Rebuilt.
8564
8565 2002-08-18  Mark Wielaard  <mark@klomp.org>
8566
8567         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8568         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8569         MessageDigestSpi (fixes Classpath bug #783).
8570
8571 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8572
8573         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8574         (startProcess): Allocate path for chdir in async-signal-safe way.
8575
8576 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8577
8578         Fix for PR libgcj/7570 and PR libgcj/7578:
8579         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8580         (startProcess): Handle new `dir' argument.
8581         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8582         argument.
8583         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8584         argument.
8585         (startProcess): Likewise.
8586         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8587         argument.
8588         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8589         (exec): Don't create new environment if ENV==null.  Pass DIR to
8590         execInternal.
8591         * java/lang/natRuntime.cc: Include java/io/File.h.
8592         (execInternal): Added `dir' argument.
8593
8594 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8595
8596         * java/io/RandomAccessFile.java (skipBytes): Return number of
8597         bytes skipped.
8598
8599 2002-08-01  Mark Wielaard  <mark@klomp.org>
8600
8601         Reenable patch since shared library troubles on powerpc are solved:
8602         * gnu/java/security/provider/Gnu.java: Reference all implementation
8603         classes by using Class.getName().
8604         * gnu/java/security/der/DEREncodingException.java,
8605         gnu/java/security/provider/DERReader.java,
8606         gnu/java/security/provider/DERWriter.java,
8607         gnu/java/security/provider/DSAKeyPairGenerator.java,
8608         gnu/java/security/provider/DSAParameterGenerator.java,
8609         gnu/java/security/provider/DSAParameters.java,
8610         gnu/java/security/provider/DSASignature.java,
8611         gnu/java/security/provider/GnuDSAPrivateKey.java,
8612         gnu/java/security/provider/GnuDSAPublicKey.java,
8613         gnu/java/security/provider/MD5.java,
8614         gnu/java/security/util/Prime.java: New classes
8615         * Makefile.am (ordinary_java_source_files): Add above files.
8616         * Makefile.in: Regenerate.
8617         * gnu/java/security/provider/DefaultPolicy.java
8618         (getPermissions): Don't maintain static class variable of Permissions.
8619         * gnu/java/security/provider/SHA.java
8620         (engineUpdate): algorithm change.
8621         (engineDigest): algorithm change.
8622
8623 2002-08-09  Mark Wielaard  <mark@klomp.org>
8624
8625         * java/awt/image/MemoryImageSource.java: Change constructor to take
8626         int[] not byte[].
8627         * java/awt/Graphics2D.java: Uncomment methods that can now be
8628         compiled.
8629         * java/awt/GridBagLayout.java: New stub implementation.
8630         * javax/swing/text/html/HTML.java: Stub implementation.
8631         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8632         implementation.
8633
8634         * Makefile.am: Add new files.
8635         * Makefile.in: Rebuilt.
8636
8637 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8638
8639         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8640         methods in Graphics2D.
8641
8642 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8643
8644         AWT/Swing merge from GNU Classpath.
8645
8646         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8647         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8648         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8649         java/awt/color/ProfileDataException.java,
8650         java/awt/CompositeContext.java, java/awt/Composite.java,
8651         java/awt/ContainerOrderFocusTraversalPolicy.java,
8652         java/awt/datatransfer/FlavorTable.java,
8653         java/awt/DefaultFocusTraversalPolicy.java,
8654         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8655         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8656         java/awt/dnd/DragGestureListener.java,
8657         java/awt/dnd/DragGestureRecognizer.java,
8658         java/awt/dnd/DragSourceAdapter.java,
8659         java/awt/dnd/DragSourceContext.java,
8660         java/awt/dnd/DragSourceDragEvent.java,
8661         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8662         java/awt/dnd/DragSourceListener.java,
8663         java/awt/dnd/DragSourceMotionListener.java,
8664         java/awt/dnd/DropTarget.java,
8665         java/awt/dnd/InvalidDnDOperationException.java,
8666         java/awt/dnd/peer/DragSourceContextPeer.java,
8667         java/awt/event/AWTEventListenerProxy.java,
8668         java/awt/event/MouseWheelEvent.java,
8669         java/awt/event/MouseWheelListener.java,
8670         java/awt/event/WindowFocusListener.java,
8671         java/awt/event/WindowStateListener.java,
8672         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8673         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8674         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8675         java/awt/geom/FlatteningPathIterator.java,
8676         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8677         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8678         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8679         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8680         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8681         java/awt/image/ImagingOpException.java,
8682         java/awt/image/RasterFormatException.java,
8683         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8684         java/awt/image/VolatileImage.java,
8685         java/awt/image/WritableRenderedImage.java,
8686         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8687         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8688         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8689         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8690         java/awt/PageAttributes.java, java/awt/print/Book.java,
8691         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8692         java/awt/print/Paper.java, java/awt/print/Printable.java,
8693         java/awt/print/PrinterAbortException.java,
8694         java/awt/print/PrinterException.java,
8695         java/awt/print/PrinterGraphics.java,
8696         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8697         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8698         java/awt/Stroke.java, java/awt/TexturePaint.java,
8699         javax/accessibility/AccessibleAction.java,
8700         javax/accessibility/AccessibleBundle.java,
8701         javax/accessibility/AccessibleComponent.java,
8702         javax/accessibility/AccessibleContext.java,
8703         javax/accessibility/AccessibleEditableText.java,
8704         javax/accessibility/AccessibleExtendedComponent.java,
8705         javax/accessibility/AccessibleExtendedTable.java,
8706         javax/accessibility/AccessibleHyperlink.java,
8707         javax/accessibility/AccessibleHypertext.java,
8708         javax/accessibility/AccessibleIcon.java,
8709         javax/accessibility/Accessible.java,
8710         javax/accessibility/AccessibleKeyBinding.java,
8711         javax/accessibility/AccessibleRelation.java,
8712         javax/accessibility/AccessibleRelationSet.java,
8713         javax/accessibility/AccessibleResourceBundle.java,
8714         javax/accessibility/AccessibleRole.java,
8715         javax/accessibility/AccessibleSelection.java,
8716         javax/accessibility/AccessibleState.java,
8717         javax/accessibility/AccessibleStateSet.java,
8718         javax/accessibility/AccessibleTable.java,
8719         javax/accessibility/AccessibleTableModelChange.java,
8720         javax/accessibility/AccessibleText.java,
8721         javax/accessibility/AccessibleValue.java,
8722         javax/swing/AbstractAction.java,
8723         javax/swing/AbstractButton.java,
8724         javax/swing/AbstractCellEditor.java,
8725         javax/swing/AbstractListModel.java,
8726         javax/swing/AbstractSet.java, javax/swing/Action.java,
8727         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8728         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8729         javax/swing/border/CompoundBorder.java,
8730         javax/swing/border/EmptyBorder.java,
8731         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8732         javax/swing/border/LineBorder.java,
8733         javax/swing/border/MatteBorder.java,
8734         javax/swing/border/TitledBorder.java,
8735         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8736         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8737         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8738         javax/swing/CellRendererPane.java,
8739         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8740         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8741         javax/swing/colorchooser/ColorSelectionModel.java,
8742         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8743         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8744         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8745         javax/swing/DefaultBoundedRangeModel.java,
8746         javax/swing/DefaultButtonModel.java,
8747         javax/swing/DefaultCellEditor.java,
8748         javax/swing/DefaultCellRenderer.java,
8749         javax/swing/DefaultComboBoxModel.java,
8750         javax/swing/DefaultDesktopManager.java,
8751         javax/swing/DefaultFocusManager.java,
8752         javax/swing/DefaultListCellRenderer.java,
8753         javax/swing/DefaultListModel.java,
8754         javax/swing/DefaultListSelectionModel.java,
8755         javax/swing/DefaultSingleSelectionModel.java,
8756         javax/swing/DesktopManager.java,
8757         javax/swing/event/AncestorEvent.java,
8758         javax/swing/event/AncestorListener.java,
8759         javax/swing/event/CaretEvent.java,
8760         javax/swing/event/CaretListener.java,
8761         javax/swing/event/CellEditorListener.java,
8762         javax/swing/event/ChangeEvent.java,
8763         javax/swing/event/ChangeListener.java,
8764         javax/swing/event/DocumentEvent.java,
8765         javax/swing/event/DocumentListener.java,
8766         javax/swing/event/EventListenerList.java,
8767         javax/swing/event/HyperlinkEvent.java,
8768         javax/swing/event/HyperlinkListener.java,
8769         javax/swing/event/InternalFrameAdapter.java,
8770         javax/swing/event/InternalFrameEvent.java,
8771         javax/swing/event/InternalFrameListener.java,
8772         javax/swing/event/ListDataEvent.java,
8773         javax/swing/event/ListDataListener.java,
8774         javax/swing/event/ListSelectionEvent.java,
8775         javax/swing/event/ListSelectionListener.java,
8776         javax/swing/event/MenuDragMouseEvent.java,
8777         javax/swing/event/MenuDragMouseListener.java,
8778         javax/swing/event/MenuEvent.java,
8779         javax/swing/event/MenuKeyEvent.java,
8780         javax/swing/event/MenuKeyListener.java,
8781         javax/swing/event/MenuListener.java,
8782         javax/swing/event/MouseInputAdapter.java,
8783         javax/swing/event/MouseInputListener.java,
8784         javax/swing/event/PopupMenuEvent.java,
8785         javax/swing/event/PopupMenuListener.java,
8786         javax/swing/event/SwingPropertyChangeSupport.java,
8787         javax/swing/event/TableColumnModelEvent.java,
8788         javax/swing/event/TableColumnModelListener.java,
8789         javax/swing/event/TableModelEvent.java,
8790         javax/swing/event/TableModelListener.java,
8791         javax/swing/event/TreeExpansionEvent.java,
8792         javax/swing/event/TreeExpansionListener.java,
8793         javax/swing/event/TreeModelEvent.java,
8794         javax/swing/event/TreeModelListener.java,
8795         javax/swing/event/TreeSelectionEvent.java,
8796         javax/swing/event/TreeSelectionListener.java,
8797         javax/swing/event/TreeWillExpandListener.java,
8798         javax/swing/event/UndoableEditEvent.java,
8799         javax/swing/event/UndoableEditListener.java,
8800         javax/swing/filechooser/FileFilter.java,
8801         javax/swing/filechooser/FileSystemView.java,
8802         javax/swing/filechooser/FileView.java,
8803         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8804         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8805         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8806         javax/swing/JApplet.java, javax/swing/JButton.java,
8807         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8808         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8809         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8810         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8811         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8812         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8813         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8814         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8815         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8816         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8817         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8818         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8819         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8820         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8821         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8822         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8823         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8824         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8825         javax/swing/JToolTip.java, javax/swing/JTree.java,
8826         javax/swing/JViewport.java, javax/swing/JWindow.java,
8827         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8828         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8829         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8830         javax/swing/MenuSelectionManager.java,
8831         javax/swing/MutableComboBoxModel.java,
8832         javax/swing/OverlayLayout.java,
8833         javax/swing/plaf/ActionMapUIResource.java,
8834         javax/swing/plaf/basic/BasicBorders.java,
8835         javax/swing/plaf/basic/BasicButtonUI.java,
8836         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8837         javax/swing/plaf/basic/BasicDefaults.java,
8838         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8839         javax/swing/plaf/basic/BasicIconFactory.java,
8840         javax/swing/plaf/basic/BasicLabelUI.java,
8841         javax/swing/plaf/basic/BasicListUI.java,
8842         javax/swing/plaf/basic/BasicLookAndFeel.java,
8843         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8844         javax/swing/plaf/basic/BasicPanelUI.java,
8845         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8846         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8847         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8848         javax/swing/plaf/basic/BasicTextUI.java,
8849         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8850         javax/swing/plaf/basic/BasicTreeUI.java,
8851         javax/swing/plaf/basic/BasicViewportUI.java,
8852         javax/swing/plaf/BorderUIResource.java,
8853         javax/swing/plaf/ButtonUI.java,
8854         javax/swing/plaf/ColorChooserUI.java,
8855         javax/swing/plaf/ColorUIResource.java,
8856         javax/swing/plaf/ComboBoxUI.java,
8857         javax/swing/plaf/ComponentInputMapUIResource.java,
8858         javax/swing/plaf/ComponentUI.java,
8859         javax/swing/plaf/DesktopIconUI.java,
8860         javax/swing/plaf/DesktopPaneUI.java,
8861         javax/swing/plaf/DimensionUIResource.java,
8862         javax/swing/plaf/FileChooserUI.java,
8863         javax/swing/plaf/FontUIResource.java,
8864         javax/swing/plaf/IconUIResource.java,
8865         javax/swing/plaf/InputMapUIResource.java,
8866         javax/swing/plaf/InsetsUIResource.java,
8867         javax/swing/plaf/InternalFrameUI.java,
8868         javax/swing/plaf/LabelUI.java,
8869         javax/swing/plaf/ListUI.java,
8870         javax/swing/plaf/MenuBarUI.java,
8871         javax/swing/plaf/MenuItemUI.java,
8872         javax/swing/plaf/OptionPaneUI.java,
8873         javax/swing/plaf/PanelUI.java,
8874         javax/swing/plaf/PopupMenuUI.java,
8875         javax/swing/plaf/ProgressBarUI.java,
8876         javax/swing/plaf/RootPaneUI.java,
8877         javax/swing/plaf/ScrollBarUI.java,
8878         javax/swing/plaf/ScrollPaneUI.java,
8879         javax/swing/plaf/SeparatorUI.java,
8880         javax/swing/plaf/SliderUI.java,
8881         javax/swing/plaf/SplitPaneUI.java,
8882         javax/swing/plaf/TabbedPaneUI.java,
8883         javax/swing/plaf/TableHeaderUI.java,
8884         javax/swing/plaf/TableUI.java,
8885         javax/swing/plaf/TextUI.java,
8886         javax/swing/plaf/ToolBarUI.java,
8887         javax/swing/plaf/ToolTipUI.java,
8888         javax/swing/plaf/TreeUI.java,
8889         javax/swing/plaf/UIResource.java,
8890         javax/swing/plaf/ViewportUI.java,
8891         javax/swing/ProgressMonitorInputStream.java,
8892         javax/swing/ProgressMonitor.java,
8893         javax/swing/Renderer.java,
8894         javax/swing/RepaintManager.java,
8895         javax/swing/RootPaneContainer.java,
8896         javax/swing/Scrollable.java,
8897         javax/swing/ScrollPaneConstants.java,
8898         javax/swing/ScrollPaneLayout.java,
8899         javax/swing/SingleSelectionModel.java,
8900         javax/swing/SizeRequirements.java,
8901         javax/swing/SizeSequence.java,
8902         javax/swing/SwingConstants.java,
8903         javax/swing/SwingUtilities.java,
8904         javax/swing/table/AbstractTableModel.java,
8905         javax/swing/table/DefaultTableCellRenderer.java,
8906         javax/swing/table/DefaultTableColumnModel.java,
8907         javax/swing/table/DefaultTableModel.java,
8908         javax/swing/table/TableCellEditor.java,
8909         javax/swing/table/TableCellRenderer.java,
8910         javax/swing/table/TableColumn.java,
8911         javax/swing/table/TableColumnModel.java,
8912         javax/swing/table/TableModel.java,
8913         javax/swing/text/AbstractDocument.java,
8914         javax/swing/text/AttributeSet.java,
8915         javax/swing/text/BadLocationException.java,
8916         javax/swing/text/Caret.java,
8917         javax/swing/text/CharacterIterator.java,
8918         javax/swing/text/ComponentView.java,
8919         javax/swing/text/DefaultCaret.java,
8920         javax/swing/text/DefaultEditorKit.java,
8921         javax/swing/text/Document.java,
8922         javax/swing/text/EditorKit.java,
8923         javax/swing/text/Element.java,
8924         javax/swing/text/GapContent.java,
8925         javax/swing/text/JTextComponent.java,
8926         javax/swing/text/Keymap.java,
8927         javax/swing/text/MutableAttributeSet.java,
8928         javax/swing/text/PlainDocument.java,
8929         javax/swing/text/PlainEditorKit.java,
8930         javax/swing/text/Position.java,
8931         javax/swing/text/Segment.java,
8932         javax/swing/text/StyledDocument.java,
8933         javax/swing/text/StyledEditorKit.java,
8934         javax/swing/text/Style.java,
8935         javax/swing/text/TextAction.java,
8936         javax/swing/text/ViewFactory.java,
8937         javax/swing/text/View.java,
8938         javax/swing/Timer.java,
8939         javax/swing/ToggleButtonModel.java,
8940         javax/swing/ToolTipManager.java,
8941         javax/swing/tree/AbstractLayoutCache.java,
8942         javax/swing/tree/DefaultMutableTreeNode.java,
8943         javax/swing/tree/DefaultTreeCellEditor.java,
8944         javax/swing/tree/DefaultTreeCellRenderer.java,
8945         javax/swing/tree/DefaultTreeModel.java,
8946         javax/swing/tree/DefaultTreeSelectionModel.java,
8947         javax/swing/tree/ExpandVetoException.java,
8948         javax/swing/tree/FixedHeightLayoutCache.java,
8949         javax/swing/tree/MutableTreeNode.java,
8950         javax/swing/tree/RowMapper.java,
8951         javax/swing/tree/TreeCellEditor.java,
8952         javax/swing/tree/TreeCellRenderer.java,
8953         javax/swing/tree/TreeModel.java,
8954         javax/swing/tree/TreeNode.java,
8955         javax/swing/tree/TreePath.java,
8956         javax/swing/tree/TreeSelectionModel.java,
8957         javax/swing/tree/VariableHeightLayoutCache.java,
8958         javax/swing/UIDefaults.java,
8959         javax/swing/UIManager.java,
8960         javax/swing/undo/AbstractUndoableEdit.java,
8961         javax/swing/undo/CannotRedoException.java,
8962         javax/swing/undo/CannotUndoException.java,
8963         javax/swing/undo/CompoundEdit.java,
8964         javax/swing/undo/StateEditable.java,
8965         javax/swing/undo/StateEdit.java,
8966         javax/swing/undo/UndoableEdit.java,
8967         javax/swing/undo/UndoableEditSupport.java,
8968         javax/swing/undo/UndoManager.java,
8969         javax/swing/UnsupportedLookAndFeelException.java,
8970         javax/swing/ViewportLayout.java,
8971         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8972
8973         * java/awt/ActiveEvent.java,
8974         java/awt/Adjustable.java, java/awt/AWTError.java,
8975         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8976         java/awt/AWTException.java, java/awt/AWTPermission.java,
8977         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8978         java/awt/Color.java, java/awt/Component.java,
8979         java/awt/ComponentOrientation.java, java/awt/Container.java,
8980         java/awt/datatransfer/MimeTypeParseException.java,
8981         java/awt/datatransfer/Transferable.java,
8982         java/awt/datatransfer/UnsupportedFlavorException.java,
8983         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8984         java/awt/event/ActionListener.java,
8985         java/awt/event/AdjustmentEvent.java,
8986         java/awt/event/AdjustmentListener.java,
8987         java/awt/event/AWTEventListener.java,
8988         java/awt/event/ComponentAdapter.java,
8989         java/awt/event/ComponentEvent.java,
8990         java/awt/event/ComponentListener.java,
8991         java/awt/event/ContainerAdapter.java,
8992         java/awt/event/ContainerEvent.java,
8993         java/awt/event/ContainerListener.java,
8994         java/awt/event/FocusAdapter.java,
8995         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8996         java/awt/event/HierarchyBoundsAdapter.java,
8997         java/awt/event/HierarchyBoundsListener.java,
8998         java/awt/event/HierarchyEvent.java,
8999         java/awt/event/HierarchyListener.java,
9000         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9001         java/awt/event/InputMethodListener.java,
9002         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9003         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9004         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9005         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9006         java/awt/event/MouseListener.java,
9007         java/awt/event/MouseMotionAdapter.java,
9008         java/awt/event/MouseMotionListener.java,
9009         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9010         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9011         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9012         java/awt/event/WindowListener.java, java/awt/Font.java,
9013         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9014         java/awt/geom/Ellipse2D.java,
9015         java/awt/geom/IllegalPathStateException.java,
9016         java/awt/geom/Line2D.java,
9017         java/awt/geom/NoninvertibleTransformException.java,
9018         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9019         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9020         java/awt/geom/RoundRectangle2D.java,
9021         java/awt/GraphicsConfiguration.java,
9022         java/awt/IllegalComponentStateException.java,
9023         java/awt/image/IndexColorModel.java,
9024         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9025         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9026         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9027         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9028         java/awt/MenuItem.java, java/awt/PaintContext.java,
9029         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9030         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9031         java/awt/PrintJob.java, java/awt/Rectangle.java,
9032         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9033         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9034         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9035
9036         * java/awt/im/spi/InputMethod.java,
9037         java/awt/im/spi/InputMethodContext.java,
9038         java/awt/im/spi/InputMethodDescriptor.java,
9039         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9040         java/awt/image/renderable/ParameterBlock.java,
9041         java/awt/image/renderable/RenderContext.java,
9042         java/awt/image/renderable/RenderableImage.java,
9043         java/awt/image/renderable/RenderableImageOp.java,
9044         java/awt/image/renderable/RenderableImageProducer.java,
9045         java/awt/image/renderable/RenderedImageFactory.java: New files from
9046         classpath.
9047
9048         * gnu/java/awt/EventModifier.java,
9049         gnu/java/awt/image/ImageDecoder.java,
9050         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9051
9052         * gnu/awt/xlib/XGraphicsConfiguration.java,
9053         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9054         API.
9055
9056         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9057         GNU Classpath.
9058
9059         * Makefile.am: Add new files.
9060         * Makefile.in: Rebuilt.
9061
9062 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9063
9064         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9065         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9066         findResource, getResources, findResources): Add javadoc from classpath.
9067         (getSystemResources): Implemented.
9068
9069 2002-08-01  Mark Wielaard  <mark@klomp.org>
9070
9071         Revert patch that breaks libgcj shared library on powerpc:
9072         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9073         implementation classes by using Class.getName(). Uses Strings again.
9074         * gnu/java/security/der/DEREncodingException.java,
9075         gnu/java/security/provider/DERReader.java,
9076         gnu/java/security/provider/DERWriter.java,
9077         gnu/java/security/provider/DSAKeyPairGenerator.java,
9078         gnu/java/security/provider/DSAParameterGenerator.java,
9079         gnu/java/security/provider/DSAParameters.java,
9080         gnu/java/security/provider/DSASignature.java,
9081         gnu/java/security/provider/GnuDSAPrivateKey.java,
9082         gnu/java/security/provider/GnuDSAPublicKey.java,
9083         gnu/java/security/provider/MD5.java,
9084         gnu/java/security/util/Prime.java: Removed.
9085         * Makefile.am (ordinary_java_source_files): Remove above files.
9086         * Makefile.in: Regenerate.
9087         * gnu/java/security/provider/DefaultPolicy.java
9088         (getPermissions): Revert to maintaining static class variable of
9089         Permissions.
9090         * gnu/java/security/provider/SHA.java
9091         (engineUpdate): Revert algorithm change.
9092         (engineDigest): Revert algorithm change.
9093
9094 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9095
9096         * configure.host: Add SH support.
9097         * sysdep/sh/locks.h: New file.
9098
9099 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9100
9101         * java/awt/Frame.java (Frame): Remove println calls.
9102
9103 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9104
9105         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9106         * configure: Rebuilt.
9107
9108 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9109
9110         * sysdep/powerpc/locks.h: Formatting.
9111         (_LARX): Define.
9112         (_STCX): Define.
9113         (compare_and_swap): Use _LARX and _STCX.
9114         (compare_and_swap_release): Likewise.
9115
9116 2002-07-26  Tom Tromey  <tromey@redhat.com>
9117
9118         * java/net/Authenticator.java: New version from Classpath.
9119         * java/net/DatagramSocketImpl.java: New version from Classpath.
9120
9121 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9122
9123         * configure.host: Add powerpc64*-* entry.
9124
9125 2002-07-26  Tom Tromey  <tromey@redhat.com>
9126
9127         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9128         fcntl.h.
9129
9130 2002-07-24  Tom Tromey  <tromey@redhat.com>
9131
9132         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9133         argument to _load.
9134
9135 2002-07-24  Tom Tromey  <tromey@redhat.com>
9136             Tony Kimball <alk@pobox.com>
9137
9138         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9139         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9140         * java/io/RandomAccessFile.java (setLength): New method.
9141         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9142         * java/io/FileDescriptor.java (setLength): New method.
9143
9144 2002-07-24  Mark Wielaard  <mark@klomp.org>
9145
9146         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9147         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9148         field call setAccessible(true).
9149         (setByteField): Likewise.
9150         (setCharField): Likewise.
9151         (setDoubleField): Likewise.
9152         (setFloatField): Likewise.
9153         (setIntField): Likewise.
9154         (setLongField): Likewise.
9155         (setShortField): Likewise.
9156         (setObjectField): Likewise.
9157
9158 2002-07-24  Tom Tromey  <tromey@redhat.com>
9159
9160         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9161         use toString() to format array element.
9162
9163 2002-07-23  Mark Wielaard  <mark@klomp.org>
9164
9165         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9166         MessageDigestSpi (fixes Classpath bug #783).
9167
9168 2002-07-21  Mark Wielaard  <mark@klomp.org>
9169
9170         * gnu/java/security/provider/Gnu.java: Reference all implementation
9171         classes by using Class.getName().
9172
9173 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9174
9175         * java/lang/ieeefp.h: Add x86-64 support.
9176         * configure.in: Likewise.
9177         * configure.host: Likewise.
9178         * configure: Regenerated.
9179         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9180
9181 2002-07-16  Mark Wielaard  <mark@klomp.org>
9182
9183         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9184         (whitespaceChars): call resetChar().
9185
9186 2002-07-15  Tom Tromey  <tromey@redhat.com>
9187
9188         * Makefile.in: Rebuilt.
9189         * Makefile.am (awt_java_source_files): Added new files.
9190         * java/beans/ExceptionListener.java: Merged with Classpath.
9191         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9192         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9193         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9194         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9195         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9196         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9197         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9198
9199 2002-07-14  Mark Wielaard  <mark@klomp.org>
9200
9201         * gnu/java/security/der/DEREncodingException.java,
9202         gnu/java/security/provider/DERReader.java,
9203         gnu/java/security/provider/DERWriter.java,
9204         gnu/java/security/provider/DSAKeyPairGenerator.java,
9205         gnu/java/security/provider/DSAParameterGenerator.java,
9206         gnu/java/security/provider/DSAParameters.java,
9207         gnu/java/security/provider/DSASignature.java,
9208         gnu/java/security/provider/GnuDSAPrivateKey.java,
9209         gnu/java/security/provider/GnuDSAPublicKey.java,
9210         gnu/java/security/provider/MD5.java,
9211         gnu/java/security/util/Prime.java: New files from Classpath.
9212         * Makefile.am (ordinary_java_source_files): Add new files.
9213         * Makefile.in: Regenerate.
9214
9215 2002-07-14  C. Brian Jones <cbj@gnu.org>
9216
9217         * gnu/java/security/provider/DefaultPolicy.java
9218         (getPermissions): do not maintain static class variable of
9219         Permissions
9220         * gnu/java/security/provider/SHA.java
9221         (engineUpdate): algorithm change
9222         (engineDigest): algorithm change
9223
9224 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9225
9226         For PR libgcj/7292:
9227         * java/lang/Character.java (toString(char)): Now static.
9228
9229 2002-07-12  Mark Wielaard  <mark@klomp.org>
9230
9231         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9232         (getStackTrace0): new method.
9233         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9234         (printStackTrace(PrintWriter)): replace with pure java implementation.
9235         (printRawStackTrace): removed.
9236         (getStackTrace0): new method.
9237         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9238         * gcj/javaprims.h: regenerate class list.
9239         * include/name-finder.h (lookup): new returns StackTraceElement*.
9240         (method_name, file_name): fields removed.
9241         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9242         (~_Jv_name_finder): close new descriptors.
9243         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9244         (createStackTraceElement): new method.
9245         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9246
9247 2002-07-10  Tom Tromey  <tromey@redhat.com>
9248
9249         * configure: Rebuilt.
9250         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9251
9252 2002-07-08  Mark Wielaard  <mark@klomp.org>
9253
9254         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9255         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9256         java.sql.DatabaseMetaData.TestJdbc20
9257
9258 2002-07-05  Tony Kimball  <alk@pobox.com>
9259
9260         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9261
9262 2002-07-04  Tom Tromey  <tromey@redhat.com>
9263             Jeff Sturm  <jsturm@one-point.com>
9264
9265         Fix for PR libgcj/7060:
9266         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9267         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9268         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9269         * java/lang/Class.java (getMethod): New Java implementation;
9270         complies with spec.
9271         (_getMethod): New native method.
9272
9273 2002-07-02  Tom Tromey  <tromey@redhat.com>
9274             David Hovemeyer  <daveho@cs.umd.edu>
9275
9276         * java/text/ChoiceFormat.java
9277         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9278         in check loop.
9279         * java/text/MessageFormat.java
9280         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9281         to MessageFormat.
9282
9283 2002-07-01  Tom Tromey  <tromey@redhat.com>
9284
9285         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9286         StringTokenizer on null string.  For PR libgcj/7180.
9287         From daveho@cs.umd.edu.
9288
9289 2002-06-24  Tom Tromey  <tromey@redhat.com>
9290
9291         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9292         (IntegerClass): Likewise.
9293         * java/lang/natClass.cc (CloneableClass): Removed.
9294         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9295         ConstructorClass): Likewise.
9296         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9297         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9298         SerializableClass): Likewise.
9299         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9300         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9301         LongClass, FloatClass, DoubleClass): Likewise.
9302
9303         * verify.cc (branch_prepass): Updated for change to exception
9304         handler type.
9305         (verify_instructions_0): Likewise.
9306         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9307         (handleExceptionTableEntry): Updated for change to exception
9308         handler type.
9309         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9310         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9311         (union _Jv_InterpPC): New.
9312         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9313         (class _Jv_InterpMethod): Added new `prepared' field.
9314         (class _Jv_InterpMethod): Added `compile' method.  Removed
9315         `continue1' and `find_exception'.  Changed arguments to `run'.
9316         * interpret.cc (union insn_slot): New.
9317         (find_exception): Removed.
9318         (run_normal): Removed most logic.
9319         (run_synch_object): Likewise; also, use JvSynchronize.
9320         (run_synch_class): Likewise.
9321         (run): Removed.
9322         (continue1): Renamed as `run'.  Compile bytecode if required.
9323         Add new code to allow refinement of direct-threaded code at
9324         runtime.  Handle exceptions.
9325         (SAVE_PC): Removed.
9326         (compile): New method.
9327         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9328         (NULLARRAYCHECK): Don't use SAVE_PC.
9329         (pc_t): New typedef.
9330         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9331         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9332
9333 2002-06-23  Tom Tromey  <tromey@redhat.com>
9334
9335         * configure: Rebuilt.
9336         * configure.in (INTERPRETER): New subst.
9337         (AM_RUNTESTFLAGS): Don't subst.
9338
9339         * Makefile.in: Rebuilt.
9340         * Makefile.am ($(srcdir)/java/lang/Object.h,
9341         $(srcdir)/java/lang/Class.h): Added dummy targets.
9342
9343 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9344
9345         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9346
9347         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9348         java/sql/Savepoint.java: New files.
9349         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9350         java/sql/Blob.java, java/sql/CallableStatement.java,
9351         java/sql/Clob.java, java/sql/Connection.java,
9352         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9353         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9354         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9355         java/sql/Ref.java, java/sql/ResultSet.java,
9356         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9357         java/sql/SQLException.java, java/sql/SQLInput.java,
9358         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9359         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9360         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9361         (JDK 1.4) specification.
9362         * javax/sql/ConnectionEvent.java,
9363         javax/sql/ConnectionEventListener.java,
9364         javax/sql/ConnectionPoolDataSource.java,
9365         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9366         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9367         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9368         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9369         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9370         javax/sql/XADataSource.java: New files.
9371         * Makefile.am: Add new files.
9372         * Makefile.in: Rebuilt.
9373
9374 2002-06-20  Tom Tromey  <tromey@redhat.com>
9375
9376         For PR libgcj/7073:
9377         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9378         exists.
9379         * defineclass.cc (handleClassBegin): Superclass for interface is
9380         `null'.
9381
9382 2002-06-18  Tom Tromey  <tromey@redhat.com>
9383
9384         * gcj/javaprims.h: Updated class declaration list.
9385         * Makefile.in: Rebuilt.
9386         * Makefile.am (core_java_source_files): Removed
9387         BasicMapEntry.java.
9388         * java/util/BasicMapEntry.java: Removed.
9389
9390 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9391
9392         * java/net/natPlainDatagramSocketImpl.cc (receive):
9393         Check bounds of argument to FD_SET.
9394         (setOption): Throw exception if socket is closed.
9395
9396         * java/net/natPlainSocketImpl.cc (accept, read):
9397         Check bounds of argument to FD_SET.
9398         (setOption): Throw exception if socket is closed.
9399
9400 2002-06-18  Tom Tromey  <tromey@redhat.com>
9401
9402         * gcj/javaprims.h: Updated class declaration list.
9403         * Makefile.in: Rebuilt.
9404         * Makefile.am (core_java_source_files): Added
9405         PropertyPermissionCollection.java.
9406         * java/lang/Thread.java (group, name): Now package-private.
9407         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9408         * java/util/AbstractList.java: Likewise.
9409         * java/util/AbstractMap.java: Likewise.
9410         * java/util/Calendar.java: Likewise.
9411         * java/util/Collections.java: Likewise.
9412         * java/util/HashMap.java: Likewise.
9413         * java/util/Hashtable.java: Likewise.
9414         * java/util/LinkedHashMap.java: Likewise.
9415         * java/util/LinkedList.java: Likewise.
9416         * java/util/List.java: Likewise.
9417         * java/util/ListResourceBundle.java: Likewise.
9418         * java/util/Map.java: Likewise.
9419         * java/util/Observable.java: Likewise.
9420         * java/util/Properties.java: Likewise.
9421         * java/util/PropertyPermission.java: Likewise.
9422         * java/util/PropertyPermissionCollection.java: Likewise.
9423         * java/util/PropertyResourceBundle.java: Likewise.
9424         * java/util/Random.java: Likewise.
9425         * java/util/SimpleTimeZone.java: Likewise.
9426         * java/util/StringTokenizer.java: Likewise.
9427         * java/util/TimerTask.java: Likewise.
9428         * java/util/TreeMap.java: Likewise.
9429         * java/util/WeakHashMap.java: Likewise.
9430         * java/util/jar/Attributes.java: Likewise.
9431         * java/util/jar/JarException.java: Likewise.
9432         * java/util/jar/Manifest.java: Likewise.
9433
9434 2002-06-17  Tom Tromey  <tromey@redhat.com>
9435
9436         * gcj/javaprims.h: Updated class declaration list.
9437         * Makefile.in: Rebuilt.
9438         * Makefile.am (core_java_source_files): Added new file.
9439         * java/util/EventListenerProxy.java: New file.
9440         * java/util/EventListener.java: Re-merge with Classpath.
9441         * java/util/EventObject.java: Re-merge with Classpath.
9442
9443 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9444
9445         * java/lang/ClassNotFoundException.java: New Classpath version.
9446
9447 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9448
9449         * java/rmi/activation/ActivateFailedException.java: Remerge from
9450         Classpath version.
9451         * java/rmi/activation/ActivationException.java: Ditto.
9452         * java/rmi/activation/UnknownGroupException.java: Ditto.
9453         * java/rmi/activation/UnknownObjectException.java: Ditto.
9454         * java/rmi/server/ExportException: Ditto.
9455         * java/rmi/server/ServerCloneException: Ditto.
9456         * java/rmi/server/ServerNotActiveException: Ditto.
9457         * java/rmi/server/SkeletonMismatchException: Ditto.
9458         * java/rmi/server/SkeletonNotFoundException: Ditto.
9459         * java/rmi/server/SocketSecurityException: Ditto.
9460
9461 2002-06-16  Tom Tromey  <tromey@redhat.com>
9462
9463         * gcj/javaprims.h: Updated class declaration list.
9464
9465         * java/io/LineNumberInputStream.java: Merged with Classpath.
9466
9467         * java/lang/RuntimeException.java: Re-merge with Classpath.
9468         * java/util/ArrayList.java: Likewise.
9469         * java/util/Arrays.java: Likewise.
9470         * java/util/BitSet.java: Likewise.
9471         * java/util/Dictionary.java: Likewise.
9472         * java/util/IdentityHashMap.java: Likewise.
9473         * java/util/MissingResourceException.java: Likewise.
9474         * java/util/Observer.java: Likewise.
9475         * java/util/TooManyListenersException.java: Likewise.
9476         * java/util/zip/DataFormatException.java: Likewise.
9477         * java/util/zip/ZipException.java: Likewise.
9478
9479 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9480
9481         * java/rmi/AccessException.java: Remerge from Classpath.
9482         * java/rmi/AlreadyBoundException.java: Ditto.
9483         * java/rmi/ConnectException.java: Ditto.
9484         * java/rmi/ConnectIOException.java: Ditto.
9485         * java/rmi/MarshalException.java: Ditto.
9486         * java/rmi/NoSuchObjectException.java: Ditto.
9487         * java/rmi/NotBoundException.java: Ditto.
9488         * java/rmi/RemoteException.java: Ditto.
9489         * java/rmi/RMISecurityException.java: Ditto.
9490         * java/rmi/ServerError.java: Ditto.
9491         * java/rmi/ServerException.java: Ditto.
9492         * java/rmi/ServerRuntimeException.java: Ditto.
9493         * java/rmi/StubNotFoundException.java: Ditto.
9494         * java/rmi/UnexpectedExcpetion.java: Ditto.
9495         * java/rmi/UnknownHostException.java: Ditto.
9496         * java/rmi/UnmarshalException.java: Ditto.
9497
9498 2002-06-15  Tom Tromey  <tromey@redhat.com>
9499
9500         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9501         * java/lang/ArithmeticException.java: Likewise.
9502         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9503         * java/lang/ArrayStoreException.java: Likewise.
9504         * java/lang/Byte.java: Likewise.
9505         * java/lang/CharSequence.java: Likewise.
9506         * java/lang/ClassCastException.java: Likewise.
9507         * java/lang/ClassCircularityError.java: Likewise.
9508         * java/lang/ClassFormatError.java: Likewise.
9509         * java/lang/CloneNotSupportedException.java: Likewise.
9510         * java/lang/Cloneable.java: Likewise.
9511         * java/lang/Comparable.java: Likewise.
9512         * java/lang/Compiler.java: Likewise.
9513         * java/lang/Error.java: Likewise.
9514         * java/lang/ExceptionInInitializerError.java: Likewise.
9515         * java/lang/IllegalAccessError.java: Likewise.
9516         * java/lang/IllegalAccessException.java: Likewise.
9517         * java/lang/IllegalArgumentException.java: Likewise.
9518         * java/lang/IllegalMonitorStateException.java: Likewise.
9519         * java/lang/IllegalStateException.java: Likewise.
9520         * java/lang/IllegalThreadStateException.java: Likewise.
9521         * java/lang/IncompatibleClassChangeError.java: Likewise.
9522         * java/lang/IndexOutOfBoundsException.java: Likewise.
9523         * java/lang/InheritableThreadLocal.java: Likewise.
9524         * java/lang/InstantiationError.java: Likewise.
9525         * java/lang/InstantiationException.java: Likewise.
9526         * java/lang/InternalError.java: Likewise.
9527         * java/lang/InterruptedException.java: Likewise.
9528         * java/lang/LinkageError.java: Likewise.
9529         * java/lang/NegativeArraySizeException.java: Likewise.
9530         * java/lang/NoClassDefFoundError.java: Likewise.
9531         * java/lang/NoSuchFieldError.java: Likewise.
9532         * java/lang/NoSuchFieldException.java: Likewise.
9533         * java/lang/NoSuchMethodError.java: Likewise.
9534         * java/lang/NoSuchMethodException.java: Likewise.
9535         * java/lang/NullPointerException.java: Likewise.
9536         * java/lang/NumberFormatException.java: Likewise.
9537         * java/lang/OutOfMemoryError.java: Likewise.
9538         * java/lang/Process.java: Likewise.
9539         * java/lang/Runnable.java: Likewise.
9540         * java/lang/RuntimePermission.java: Likewise.
9541         * java/lang/SecurityException.java: Likewise.
9542         * java/lang/Short.java: Likewise.
9543         * java/lang/StackOverflowError.java: Likewise.
9544         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9545         * java/lang/ThreadDeath.java: Likewise.
9546         * java/lang/ThreadLocal.java: Likewise.
9547         * java/lang/UnknownError.java: Likewise.
9548         * java/lang/UnsatisfiedLinkError.java: Likewise.
9549         * java/lang/UnsupportedClassVersionError.java: Likewise.
9550         * java/lang/UnsupportedOperationException.java: Likewise.
9551         * java/lang/VerifyError.java: Likewise.
9552         * java/lang/VirtualMachineError.java: Likewise.
9553         * java/lang/reflect/InvocationTargetException.java: Likewise.
9554         * java/net/BindException.java: Likewise.
9555         * java/net/ConnectException.java: Likewise.
9556         * java/net/MalformedURLException.java: Likewise.
9557         * java/net/NoRouteToHostException.java: Likewise.
9558         * java/net/ProtocolException.java: Likewise.
9559         * java/net/SocketException.java: Likewise.
9560         * java/net/UnknownHostException.java: Likewise.
9561         * java/net/UnknownServiceException.java: Likewise.
9562
9563         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9564         * java/io/CharConversionException.java: Likewise.
9565         * java/io/EOFException.java: Likewise.
9566         * java/io/FileNotFoundException.java: Likewise.
9567         * java/io/IOException.java: Likewise.
9568         * java/io/InterruptedIOException.java: Likewise.
9569         * java/io/InvalidClassException.java: Likewise.
9570         * java/io/InvalidObjectException.java: Likewise.
9571         * java/io/NotActiveException.java: Likewise.
9572         * java/io/NotSerializableException.java: Likewise.
9573         * java/io/ObjectStreamException.java: Likewise.
9574         * java/io/ObjectStreamConstants.java: Likewise.
9575         * java/io/OptionalDataException.java: Likewise.
9576         * java/io/PipedInputStream.java: Likewise.
9577         * java/io/PushbackInputStream.java: Likewise.
9578         * java/io/StreamCorruptedException.java: Likewise.
9579         * java/io/SyncFailedException.java: Likewise.
9580         * java/io/UTFDataFormatException.java: Likewise.
9581         * java/io/UnsupportedEncodingException.java: Likewise.
9582         * java/io/WriteAbortedException.java: Likewise.
9583
9584 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9585
9586         * java/text/ChoiceFormat.java: Update comments from Classpath.
9587         * java/text/ParseException.java (serialVersionUID): New
9588         field from Classpath.
9589         * java/text/ParseException.java: Update formatting & comments
9590         from Classpath.
9591
9592 2002-06-15  Tom Tromey  <tromey@redhat.com>
9593
9594         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9595         been read but none output by inflater.
9596         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9597         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9598         is_finished.
9599         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9600         version.
9601         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9602         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9603         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9604         version.
9605         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9606
9607 2002-06-13  Tom Tromey  <tromey@redhat.com>
9608
9609         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9610         true and OFFSET!=0.
9611         * java/lang/String.java (String(char[],int,int,boolean): New
9612         constructor.
9613         * java/lang/Long.java: Imported new version from Classpath.
9614         * java/lang/Number.java: Likewise.
9615         * java/lang/Integer.java: Likewise.
9616         * java/lang/Long.java: Likewise.
9617         * java/lang/Float.java: Likewise.
9618         * java/lang/Boolean.java: Likewise.
9619         * java/lang/Double.java: Likewise.
9620         * java/lang/Void.java: Likewise.
9621
9622 2002-06-12  Tom Tromey  <tromey@redhat.com>
9623
9624         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9625         Fixes PR libgcj/6652.
9626
9627 2002-06-10  Tom Tromey  <tromey@redhat.com>
9628
9629         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9630         (Class::getPackagePortion): Likewise.
9631         * java/lang/Class.java (desiredAssertionStatus): New method from
9632         Classpath.
9633         (getPackagePortion): Likewise.
9634         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9635         packageAssertionStatus, classAssertionStatus): New methods from
9636         Classpath.
9637         * java/lang/ClassLoader.java (defaultAssertionStatus,
9638         systemPackageAssertionStatus, packageAssertionStatus,
9639         systemClassAssertionStatus, classAssertionStatus): New fields from
9640         Classpath.
9641         (setDefaultAssertionStatus, setPackageAssertionStatus,
9642         setClassAssertionStatus, clearAssertionStatus): New methods from
9643         Classpath.
9644         * Makefile.in: Rebuilt.
9645         * Makefile.am (core_java_source_files): Added AssertionError.java.
9646         * java/lang/AssertionError.java: New from Classpath.
9647
9648 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9649
9650         * configure.host: Disable hash synchronization and slow_pthread_self
9651         for cygwin.
9652
9653 2002-06-06  Adam Megacz <adam@xwt.org>
9654
9655         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9656         locking, just like the Sun JVM does.
9657
9658 2002-06-05  H.J. Lu  (hjl@gnu.org)
9659
9660         * Makefile.am (libgcj_convenience.la): Revert the last change.
9661         (libgcj.la): Likewise.
9662         * Makefile.in: Regenerated.
9663
9664 2002-06-04  H.J. Lu  (hjl@gnu.org)
9665
9666         * Makefile.am (libgcj_convenience.la): New target.
9667         (libgcj.la): Depend on libgcj_convenience.la.
9668         * Makefile.in: Regenerated.
9669
9670 2002-06-04  H.J. Lu  (hjl@gnu.org)
9671
9672         * configure.in (--with-newlib): New option:
9673         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9674         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9675         Linux.
9676         * configure: Regenerated.
9677
9678 2002-06-04  Tom Tromey  <tromey@redhat.com>
9679
9680         * java/util/natTimeZone.cc: Include <stdio.h>.
9681
9682 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9683
9684         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9685         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9686         Set SIGNAL_HANDLER=include/s390-linux.h.
9687         * configure: Regenerate.
9688         * include/s390-linux.h: New file.
9689
9690 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9691
9692         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9693         not "stackTrace".
9694
9695 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9696
9697         Merge JDK 1.4 java.security changes from classpath.
9698
9699         * java/security/AccessControlException.java: Merge from Classpath.
9700         * java/security/AccessController.java: Likewise.
9701         * java/security/AllPermission.java: Likewise.
9702         * java/security/BasicPermission.java: Likewise.
9703         * java/security/Certificate.java: Likewise.
9704         * java/security/CodeSource.java: Likewise.
9705         * java/security/DigestException.java: Likewise.
9706         * java/security/DigestOutputStream.java: Likewise.
9707         * java/security/DomainCombiner.java: Likewise.
9708         * java/security/GeneralSecurityException.java: Likewise.
9709         * java/security/Guard.java: Likewise.
9710         * java/security/GuardedObject.java: Likewise.
9711         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9712         * java/security/InvalidKeyException.java: Likewise.
9713         * java/security/InvalidParameterException.java: Likewise.
9714         * java/security/Key.java: Likewise.
9715         * java/security/KeyException.java: Likewise.
9716         * java/security/KeyManagementException.java: Likewise.
9717         * java/security/KeyStoreException.java: Likewise.
9718         * java/security/MessageDigest.java: Likewise.
9719         * java/security/NoSuchAlgorithmException.java: Likewise.
9720         * java/security/NoSuchProviderException.java: Likewise.
9721         * java/security/Permission.java: Likewise.
9722         * java/security/PermissionCollection.java: Likewise.
9723         * java/security/Permissions.java: Likewise.
9724         * java/security/Policy.java: Likewise.
9725         * java/security/Principal.java: Likewise.
9726         * java/security/PrivateKey.java: Likewise.
9727         * java/security/PrivilegedAction.java: Likewise.
9728         * java/security/PrivilegedActionException.java: Likewise.
9729         * java/security/PrivilegedExceptionAction.java: Likewise.
9730         * java/security/ProtectionDomain.java: Likewise.
9731         * java/security/ProviderException.java: Likewise.
9732         * java/security/PublicKey.java: Likewise.
9733         * java/security/SecureClassLoader.java: Likewise.
9734         * java/security/SecurityPermission.java: Likewise.
9735         * java/security/SignatureException.java: Likewise.
9736         * java/security/UnrecoverableKeyException.java: Likewise.
9737         * java/security/UnresolvedPermission.java: Likewise.
9738         * java/security/acl/AclNotFoundException.java: Likewise.
9739         * java/security/acl/LastOwnerException.java: Likewise.
9740         * java/security/acl/NotOwnerException.java: Likewise.
9741         * java/security/cert/CRLException.java: Likewise.
9742         * java/security/cert/CertificateEncodingException.java: Likewise.
9743         * java/security/cert/CertificateException.java: Likewise.
9744         * java/security/cert/CertificateExpiredException.java: Likewise.
9745         * java/security/cert/CertificateFactory.java: Likewise.
9746         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9747         * java/security/cert/CertificateParsingException.java: Likewise.
9748         * java/security/spec/InvalidKeySpecException.java: Likewise.
9749         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9750
9751         * java/security/cert/CertPath.java: New file.
9752         * java/security/cert/CertPathBuilderException.java: New file.
9753         * java/security/cert/CertPathValidatorException.java: New file.
9754         * java/security/cert/CertStoreException.java: New file.
9755
9756         * Makefile.am: Add new CertPath classes.
9757         * Makefile.in: Rebuilt.
9758
9759         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9760
9761 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9762
9763         Merge JDK 1.4 exception chaining support from classpath.
9764
9765         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9766         (stackTraceBytes): Rename from stackTrace.
9767         * java/lang/Exception.java: Merge from classpath.
9768         * java/lang/StackTraceElement: New file from classpath.
9769         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9770         * Makefile.am: Add StackTraceElement.
9771         * Makefile.in: Rebuilt.
9772
9773 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9774
9775         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9776         they build first.
9777         * Makefile.in: Rebuilt.
9778
9779 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9780
9781         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9782         * configure.in: Likewise.
9783         * aclocal.m4: Regenerate.
9784         * configure: Regenerate.
9785
9786 2002-05-13  Tom Tromey  <tromey@redhat.com>
9787
9788         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9789         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9790         Include platform.h.
9791
9792         Fixes PR libgcj/6389:
9793         * Makefile.in: Rebuilt.
9794         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9795         * java/util/natTimeZone.cc: New file.
9796         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9797         * java/lang/System.java: Merged with Classpath.
9798         * java/lang/Runtime.java: Merged with Classpath.
9799         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9800         security check.
9801         (setIn0): Renamed from setIn; don't run security check.
9802         (setOut0): Renamed from setOut; don't run security check.
9803         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9804         init_properties): Moved to natRuntime.cc.
9805         Moved many includes to natRuntime.cc.
9806         (isWordsBigEndian): New method.
9807         * java/lang/natRuntime.cc: Include Long.h, also other includes
9808         previously in natSystem.cc.
9809         (maxMemory): New function.
9810         (exitInternal): Renamed from `_exit'.
9811         (exit): Removed.
9812         (init): Don't set finalize_on_exit.
9813         (exitInternal): Use `finalizeOnExit'.
9814         (file_encoding, getpwuid_adaptor): New functions from
9815         natSystem.cc.
9816         (insertSystemProperties): New method, renamed from
9817         System::init_properties.  Don't set user.timezone.
9818         (_load): Don't call checkLink.
9819         (execInternal): New method.
9820         (availableProcessors): Likewise.
9821         (nativeGetLibname): Likewise.
9822
9823 2002-05-11  Mark Wielaard  <mark@klomp.org>
9824
9825         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9826         space characters.
9827         (previous_internal): Likewise.
9828
9829 2002-05-09  Tom Tromey  <tromey@redhat.com>
9830
9831         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9832
9833         * java/util/ResourceBundle.java: New version from Classpath.
9834         * java/util/Locale.java: Likewise.
9835
9836 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9837
9838         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9839         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9840         LD_LIBRARY_PATH.
9841
9842 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9843
9844         * libjava/Makefile.am (all_java_source_files): New variable.
9845         (all_java_class_files): Likewise.
9846         .java.class: New rule.
9847         (CLEANFILES): Remove tmp-list.
9848         * libjava/Makefile.in: Regenerated.
9849
9850 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9851
9852         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9853         Append .exe to executable names.  Fix for cygwin.
9854
9855 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9856
9857         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9858         script entry, and set LD to it when configuring multilibs.
9859         * configure: Rebuilt.
9860
9861 2002-05-07  Tom Tromey  <tromey@redhat.com>
9862
9863         * java/lang/natString.cc (unintern): Fixed typo.
9864
9865 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9866
9867         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9868         with -no-install on *-*-cygwin*.
9869
9870 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9871
9872         * testsuite/lib/libjava.exp (test_libjava_from_source):
9873         Add comment explaining last patch
9874
9875 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9876
9877         * testsuite/lib/libjava.exp (test_libjava_from_source):
9878         Append .exe to executable names.  If no suffix is present,
9879         then ".exe" is added by default on win32.  Harmless
9880         elsewhere so always do it.
9881
9882 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9883             Tom Tromey  <tromey@redhat.com>
9884
9885         * java/lang/natSystem.cc (getSystemTimeZone): Use
9886         HAVE_UNDERSCORE_TIMEZONE.
9887         * include/config.h.in: Rebuilt.
9888         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9889         * aclocal.m4, configure: Rebuilt.
9890         * acinclude.m4: Run AC_EXEEXT.
9891         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9892         Add test for `_timezone'.
9893
9894 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9895
9896         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9897         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9898         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9899         * Makefile.in: Rebuilt.
9900
9901 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9902
9903         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9904         use sigaction instead of __libc_sigaction.
9905
9906 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9907
9908         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9909         (libjava_init): Use it to find libgcj.spec.
9910         (libjava_arguments): Likewise.
9911
9912 2002-05-02  David S. Miller  <davem@redhat.com>
9913
9914         PR bootstrap/6525
9915         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9916         __libc_sigaction on Sparc.
9917
9918 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9919
9920         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9921         sys/filio.h, if present.
9922
9923 2002-04-30  Tom Tromey  <tromey@redhat.com>
9924
9925         * java/io/BufferedReader.java (fill): Handle case where markPos
9926         point to ignored \n.  Fixes PR libgcj/6301.
9927
9928 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9929
9930         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9931
9932 2002-04-29  Adam King <aking@dreammechanics.com>
9933
9934         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9935         of file in APPEND mode.
9936
9937 2002-04-25  David S. Miller  <davem@redhat.com>
9938
9939         PR target/6422
9940         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9941         program counter to next program counter minus 8.  Update
9942         comments in this macro to explain why.
9943
9944 2002-04-26  Tom Tromey  <tromey@redhat.com>
9945
9946         * verify.cc (construct_primitive_array_type) [void_type]: New
9947         case.
9948         (branch_prepass): Added dummy entries for unused instruction
9949         values.
9950         (verify_instructions_0): Likewise.
9951         * interpret.cc (continue1): Comment fix.
9952         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9953         * Makefile.in: Rebuilt.
9954         * Makefile.am: Added -Wswitch-enum.
9955
9956 2002-04-24  Tom Tromey  <tromey@redhat.com>
9957
9958         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9959         correct length of UTF-8 encoded name.  Strip leading `/'.
9960         (_Jv_RegisterResource): Use _Jv_Malloc.
9961
9962 2002-04-23  Adam Megacz <adam@xwt.org>
9963
9964         * win32.cc, include/win32.cc (backtrace): Added this function
9965         because Win32 does not supply it.
9966
9967 2002-04-21  David S. Miller  <davem@redhat.com>
9968
9969         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9970         magic instruction reading sequence.
9971
9972 2002-04-21  Mark Wielaard  <mark@klomp.org>
9973
9974         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9975
9976 2002-04-19  David S. Miller  <davem@redhat.com>
9977
9978         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9979         arg.
9980         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9981         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9982         on Sparc too.
9983         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9984         for 64-bit sparc.
9985         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9986         * sysdeps/sparc/locks.h: New file.
9987         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9988         on all sparc Solaris configurations.  Set to
9989         include/dwarf2-signal.h on sparc Linux.
9990         * configure: Regenerate
9991         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9992
9993 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9994
9995         * configure: Rebuilt.
9996         * configure.in (backtrace): Function doesn't work on IA-64.
9997
9998 2002-04-17  Adam King <aking@dreammechanics.com>
9999
10000         * java/io/File.java (normalizePath): Add Win32 support for auto
10001         conversion of a '/' path separator to Win32's '\' separator.
10002
10003 2002-04-16  Tom Tromey  <tromey@redhat.com>
10004
10005         Fix for PR libgcj/6081:
10006         * Makefile.in: Rebuilt.
10007         * Makefile.am (install-data-local): Use GNU make trick to avoid
10008         shell limit.
10009
10010 2002-04-16  Adam King <aking@dreammechanics.com>
10011             Tom Tromey  <tromey@redhat.com>
10012
10013         * java/io/natFileWin32.cc (performList): Return the correct array
10014         type.  Don't duplicate the creation of a File since it's already
10015         done earlier in the method and the existing code would cause a
10016         ArrayStoreException.  Don't use fixed-size array.
10017         (_access, _stat, attr, getCanonicalPath, performMkdir,
10018         performRenameTo): Don't use fixed-size array.
10019         (getCanonicalPath): Use throw, not _Jv_Throw.
10020
10021 2002-04-15  DJ Delorie  <dj@redhat.com>
10022
10023         * configure.in: Allow building in $srcdir.
10024         * configure: Regenerated.
10025
10026 2002-04-14  Mark Wielaard <mark@klomp.org>
10027
10028         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10029         * java/net/natSocketImpl.cc (close): Likewise.
10030
10031 2002-04-14  Mark Wielaard <mark@klomp.org>
10032
10033         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10034
10035 2002-04-13  Adam King <aking@dreammechanics.com>
10036
10037         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10038         the f/F/d/D modifiers.
10039
10040 2002-04-12  Anthony Green  <green@redhat.com>
10041
10042         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10043         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10044         * Makefile.in: Rebuilt.
10045         * configure.in: Substitute gcc_version.
10046         * configure: Rebuilt.
10047
10048 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10049
10050         * configure.host: Set can_unwind_signal on hosts which support it.
10051         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10052         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10053         exceptions and can_unwind_signal isn't set.
10054         * configure: Rebuilt.
10055
10056 2002-04-11  Tom Tromey  <tromey@redhat.com>
10057
10058         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10059
10060 2002-04-11  Adam King <aking@dreammechanics.com>
10061             Tom Tromey  <tromey@redhat.com>
10062
10063         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10064         _Jv_ThrowNullPointerException): Mark as noreturn.
10065         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10066         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10067         fixes.
10068
10069 2002-04-10  Tom Tromey  <tromey@redhat.com>
10070
10071         * Makefile.in: Rebuilt.
10072         * Makefile.am (java/lang/Thread.h): Mark
10073         _Jv_AttachCurrentThreadAsDaemon as friend.
10074         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10075         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10076         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10077         function.
10078         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10079         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10080         (_Jv_JNI_InvokeFunctions): Added
10081         _Jv_JNI_AttachCurrentThreadAsDaemon.
10082         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10083         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10084         (JNI_CreateJavaVM): Likewise.
10085         (_Jv_JNI_AttachCurrentThread): Likewise.
10086         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10087         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10088         (_Jv_JNIFunctions): Initialize new fields.
10089         (_Jv_JNI_NewDirectByteBuffer): New function.
10090         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10091         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10092         * include/jni.h (JNI_VERSION_1_4): New macro.
10093         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10094         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10095         (JNINativeInterface::NewDirectByteBuffer): New field.
10096         (JNINativeInterface::GetDirectBufferAddress): New field.
10097         (JNINativeInterface::GetDirectBufferCapacity): New field.
10098         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10099         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10100         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10101
10102 2002-04-09  Tom Tromey  <tromey@redhat.com>
10103
10104         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10105
10106 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10107
10108         Fix for PR libgcj/6187:
10109         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10110         distance.
10111
10112 2002-04-07  Mark Wielaard <mark@klomp.org>
10113
10114         * java/util/AbstractMap.java (putAll): Use entrySet size.
10115         (toString): Explicitly use getKey() and getValue().
10116
10117 2002-04-07  Mark Wielaard <mark@klomp.org>
10118
10119         * java/util/Hashtable.java (contains): Remove NullPointer check.
10120         (containsValue): Add NullPointer check.
10121         (remove): Always throw NullPointerException when key
10122         is null.
10123
10124 2002-04-07  Adam King <aking@dreammechanics.com>
10125
10126         * java/lang/natSystem.cc (init_properties): Call new function
10127         _Jv_platform_initProperties.
10128         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10129         support for the System properties os.name, os.arch, os.version,
10130         user.name, user.home, and user.dir.
10131         * include/posix.h, include/win32.h, posix.cc: New function
10132         _Jv_platform_initProperties.
10133
10134 2002-04-06  Mark Wielaard <mark@klomp.org>
10135
10136         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10137
10138 2002-04-06  Mark Wielaard <mark@klomp.org>
10139
10140         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10141         all of the remaining elements.
10142         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10143         (removeRange): If toIndex == fromIndex do
10144         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10145         (removeAll): Always throw NullPointerException when collection is
10146         null.
10147         (retrainAll): Likewise.
10148
10149 2002-04-05  Mark Wielaard <mark@klomp.org>
10150
10151         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10152         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10153
10154 2002-04-05  Adam Megacz <adam@xwt.org>
10155
10156         * exception.cc (abort): added static modifier
10157
10158 2002-04-04  Adam Megacz <adam@xwt.org>
10159
10160         * include/win32.h (_Jv_platform_close_on_exec): added inline
10161         modifier.
10162
10163 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10164
10165         * configure.host: Add case statement to support generic port
10166         properties.  Add *-*-freebsd* section.
10167
10168 2002-04-04  Mark Wielaard  <mark@klomp.org>
10169
10170         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10171         test.
10172         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10173         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10174         that depend on awt code and BufferedByteOutputStream.interrupt.
10175
10176 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10177
10178         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10179         incorrect "hi" value when count > 40.
10180
10181 2002-04-03  Mark Wielaard  <mark@klomp.org>
10182
10183         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10184         ordering.
10185
10186 2002-04-02  Tom Tromey  <tromey@redhat.com>
10187
10188         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10189         not `0'.
10190
10191 2002-04-02  Mark Wielaard  <mark@klomp.org>
10192
10193         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10194         list of testsuite crashers.
10195
10196 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10197
10198         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10199         when resizing table.
10200
10201 2002-04-01  Mark Wielaard  <mark@klomp.org>
10202
10203         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10204         NegativeArraySizeException
10205         (clear(int)): Use sign extended shift.
10206         (flip(int)): Likewise.
10207         (get(int)): Likewise.
10208         (nextClearBit(int)): Likewise.
10209         (nextSetBit(int)): Likewise.
10210         (set(int)): Likewise.
10211
10212 2002-04-01  Mark Wielaard  <mark@klomp.org>
10213
10214         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10215         that can be compiled now and add testsuite crashers to ignore list.
10216
10217 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10218
10219         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10220
10221         * libgcj.spec.in: Override libgcc, not lib.
10222         * libgcj-test.spec.in: Likewise.
10223
10224 2002-03-29  Tom Tromey  <tromey@redhat.com>
10225
10226         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10227         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10228
10229 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10230
10231         * java/net/PlainDatagramSocketImpl.java
10232         (close): Use native implementation.
10233         (finalize): New method.
10234
10235         * java/net/PlainSocketImpl.java (finalize): New method.
10236
10237         * java/net/natPlainDatagramSocketImpl.cc
10238         (java/io/FileDescriptor.h): Don't include.
10239         (close): Implement method here.
10240         (create): Don't assign fd.
10241
10242         * java/net/natPlainSocketImpl.cc
10243         (java/io/FileDescriptor.h): Don't include.
10244         (create): Don't assign fd.
10245         (accept): Likewise.
10246         (close): Synchronize.
10247
10248 2002-03-27  Richard Henderson  <rth@redhat.com>
10249
10250         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10251
10252 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10253
10254         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10255         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10256         instead of syscall on IA-64.
10257         Add FIXME comment.
10258
10259 2002-03-27  Anthony Green  <green@redhat.com>
10260
10261         * libgcj.spec.in: Add CHECKREFSPEC.
10262         * configure.in: Ditto.
10263         * configure.host: Ditto.  Check references for xscale-elf.
10264         * configure: Rebuilt.
10265
10266 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10267
10268         * include/dwarf2-signal.h: Temporarily back out last change.
10269
10270 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10271
10272         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10273
10274 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10275
10276         * configure.in, configure: enable dwarf2-exception-style
10277         exception handling on IA-64.
10278         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10279         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10280         Add FIXME comment.
10281
10282 2002-03-25  Tom Tromey  <tromey@redhat.com>
10283
10284         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10285         (jv_convert_LDFLAGS): Likewise.
10286         (gij_LDFLAGS): Likewise.
10287         (rmic_LDFLAGS): Likewise.
10288         (rmiregistry_LDFLAGS): Likewise.
10289         * configure.in (THREADLDFLAGS): New subst; set correctly for
10290         *BSD.
10291
10292 2002-03-25  Tom Tromey  <tromey@redhat.com>
10293
10294         For PR libgcj/5303:
10295         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10296         and --version.
10297         (help): New method.
10298         (version): Likewise.
10299         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10300         "GNU".
10301         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10302         "GNU".
10303
10304 2002-03-25  Tom Tromey  <tromey@redhat.com>
10305
10306         * java/awt/Component.java (processEvent): Check ComponentEvent
10307         after KeyEvent.
10308
10309 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10310
10311         * java/io/PushbackReader.java: Reformat.
10312
10313         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10314         calculate correct number of bytes skipped.
10315
10316         Based on patch from Intel's ORP team:
10317         * java/io/PushbackInputStream.java (available): Calculate correct
10318         number of bytes in buffer.
10319         (read): Remove redundant bound check. Return bytes from both the
10320         buffer and the stream.
10321
10322 2002-03-24  Tom Tromey  <tromey@redhat.com>
10323
10324         * java/awt/TextComponent.java (TextComponent): Editable by
10325         default.
10326
10327         * java/awt/MenuItem.java (eventMask): No longer private.
10328         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10329         superclass if we didn't handle event.
10330         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10331         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10332         * java/awt/Choice.java (dispatchEventImpl): New method.
10333         * java/awt/List.java (dispatchEventImpl): New method.
10334         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10335         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10336         * java/awt/TextField.java (dispatchEventImpl): New method.
10337
10338 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10339
10340         * java/beans/IntrospectionException.java: Update to 1.4.
10341         * java/beans/PropertyVetoException.java: Ditto.
10342
10343 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10344
10345         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10346         Arrays.equals instead of ArrayHelper.equalsArray.
10347
10348 2002-03-24  C. Brian Jones <cbj@gnu.org>
10349
10350         * java/beans/Introspector.java: added new static final fields
10351         introduced in 1.2, lots of other updates remain to be done
10352
10353 2002-03-24  C. Brian Jones <cbj@gnu.org>
10354
10355         * java/beans/Introspector.java: reformatting
10356
10357 2002-03-24  C. Brian Jones <cbj@gnu.org>
10358
10359         * java/beans/Introspector.java: default beanInfoSearchPath will
10360         not include sun.beans.infos given we provide no such package and
10361         the API doesn't really require it; gnu.java.beans.info is the
10362         default.
10363
10364 2002-03-24  Mark Wielaard  <mark@klomp.org>
10365
10366         Thanks to Orp developers
10367         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10368         switch TRUE and FALSE return values.
10369
10370 2002-03-23  Tom Tromey  <tromey@redhat.com>
10371
10372         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10373         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10374
10375 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10376
10377         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10378         MONTH entry.  Fixes PR libgcj/6045.
10379
10380 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10381
10382         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10383
10384 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10385
10386         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10387         not release_set.
10388         * sysdep/powerpc/locks.h (write_barrier): New function.
10389         * sysdep/i386/locks.h (write_barrier): New function.
10390
10391 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10392
10393         * include/jni.h Use correct C comments.
10394
10395 2002-03-18  Tom Tromey  <tromey@redhat.com>
10396
10397         * include/jni.h (JNIIMPORT): New macro.
10398         (JNIEXPORT): Likewise.
10399         (JNICALL): Likewise.
10400
10401 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10402
10403         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10404         systems.
10405
10406 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10407
10408         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10409         INIT_SEGV: Use old_i386_kernel_sigaction.
10410         INIT_FP: Likewise.
10411
10412 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10413
10414         * java/lang/natSystem.cc (init_properties): Update VM version
10415         properties.
10416         * configure.in: Set GCJVERSION.
10417         * acconfig.h: Add GCJVERSION.
10418         * configure: Rebuilt.
10419         * include/config.h.in: Rebuilt.
10420
10421 2002-03-17  Anthony Green  <green@redhat.com>
10422
10423         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10424
10425 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10426
10427         Build a single libgcj.so, without separate gc and zlib libraries.
10428         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10429         SYS_ZLIBS if system zlib is used.
10430         * configure: Rebuilt.
10431         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10432         * Makefile.in: Rebuilt.
10433         * libtool-version: Increment .so version number.
10434
10435         * Makefile.am: Escape quotes in echo.
10436         * Makefile.in: Rebuilt.
10437
10438 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10439
10440         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10441         * Makefile.in: Rebuilt.
10442
10443 2002-03-15  Anthony Green  <green@redhat.com>
10444
10445         * configure.host (FILE): New macro for specifing File
10446         implementation.
10447         * configure: Rebuilt.
10448         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10449
10450 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10451
10452         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10453         already implicitly brought in from libgcj.la.
10454         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10455         * Makefile.in: Rebuilt.
10456
10457 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10458
10459         * THANKS: Fix punctuation, alphabetization.
10460
10461 2002-03-15  Tom Tromey  <tromey@redhat.com>
10462             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10463
10464         Fix for PR libgcj/5944.
10465         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10466
10467 2002-03-15  Anthony Green  <green@redhat.com>
10468
10469         * configure.in (tool_include_dir): Define.
10470         * configure: Rebuilt.
10471         * gcj/Makefile.am: Install libgcj-config.h relative to
10472         tool_include_dir.
10473         * gcj/Makefile: Rebuilt.
10474         * gcj/libgcj-config.h: Add warning comment.
10475
10476 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10477
10478         * configure.host (powerpc*-darwin*): Enable interpreter.
10479
10480 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10481
10482         * include/posix.h: Add multiple include header protection.
10483         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10484
10485 2002-03-10  Adam Megacz <adam@xwt.org>
10486
10487         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10488
10489 2002-03-10  Tom Tromey  <tromey@redhat.com>
10490
10491         * java/awt/GridLayout.java (layoutContainer): Handle case where
10492         there are no items in container.
10493
10494         * java/lang/Win32Process.java: Added comment.
10495         * include/posix.h (_Jv_platform_close_on_exec): New function.
10496         Include fcntl.h.
10497         * include/win32.h (_Jv_platform_close_on_exec): New function.
10498         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10499         flag.
10500         (accept): Likewise.
10501         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10502         close-on-exec flag.
10503         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10504         flag.
10505
10506 2002-03-09  Tom Tromey  <tromey@redhat.com>
10507
10508         * verify.cc (state::NO_STACK): New constant.
10509         (state::is_unmerged_ret_state): Handle case where stacktop is
10510         NO_STACK.
10511         (state::merge): Handle NO_STACK merges.
10512         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10513         for instruction following jsr.
10514         (stacktop, stackdepth): Removed unused variables.
10515         (pop_jump): Ignore case where all remaining states are skipped.
10516
10517 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10518
10519         * java/awt/ImageMediaEntry: Removed.
10520         * java/awt/MediaEntry: Removed.
10521
10522 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10523
10524         Hashtable synchronization for PowerPC.
10525         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10526         slow_pthread_self. Set up symlink for sysdeps directory.
10527         * configure: Rebuild.
10528         * configure.host: Document more shell variables. Set sysdeps_dir
10529         for most platforms. Set slow_pthread_self for i686. Set
10530         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10531         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10532         that memory barrier is emitted where required.
10533         * prims.cc: 64-bit align static primitive class instances.
10534         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10535         read_barrier() to enforce ordering of reads.
10536         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10537         primitives for PowerPC.
10538         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10539         moved from natObject.cc.
10540         * sysdep/alpha/locks.h: Likewise.
10541         * sysdep/ia64/locks.h: Likewise.
10542         * sysdep/generic/locks.h: Likewise.
10543         * java/lang/natObject.cc: Move thread synchronization primitives to
10544         system-dependent headers.
10545
10546 2002-03-09  Adam Megacz  <adam@xwt.org>
10547
10548         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10549         bytes read and no failure code returned.
10550
10551 2002-03-09  Adam Megacz  <adam@xwt.org>
10552
10553         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10554         definitions to simulate -mthreads.
10555
10556 2002-03-09  Adam Megacz  <adam@xwt.org>
10557
10558         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10559         avoid precision loss.
10560
10561 2002-03-09  Per Bothner  <per@bothner.com>
10562
10563         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10564         * gnu/gcj/xlib/XImage.java:  Likewise.
10565         * gnu/gcj/xlib/XColor.java:  Likewise.
10566
10567 2002-03-09  Adam Megacz  <adam@xwt.org>
10568
10569         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10570         IOException so that Throwable.printStackTrace fails correctly.
10571
10572 2002-03-08  Adam Megacz  <adam@xwt.org>
10573
10574         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10575         fixed.
10576
10577 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10578
10579         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10580         truncated to int.
10581
10582 2002-03-08  Tom Tromey  <tromey@redhat.com>
10583
10584         * include/jni.h: Include stdio.h.
10585
10586 2002-03-08  Tom Tromey  <tromey@redhat.com>
10587
10588         * posix.cc (internal_gettimeofday): New function.
10589         (_Jv_select): Use it.
10590
10591 2002-03-07  Adam Megacz  <adam@xwt.org>
10592
10593         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10594         WIN32, and added thunks for read(), write(), and close().
10595         * java/net/natPlainSocketImpl.cc (accept, read, read):
10596         Disabled timeouts on WIN32 pending discussion.
10597
10598 2002-03-07  Adam Megacz  <adam@xwt.org>
10599
10600         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10601         returns jlong. Added implementation
10602         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10603         returns jlong.
10604         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10605         returns jlong.
10606         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10607         returns jlong.
10608         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10609         _Jv_platform_gettimeofday signature.
10610
10611 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10612
10613         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10614         (read): Call recv() directly, not _Jv_recv().
10615
10616 2002-03-06  Tom Tromey  <tromey@redhat.com>
10617
10618         * java/io/natFileDescriptorEcos.cc (init): Don't use
10619         GetStdHandle.
10620         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10621         is negative.
10622         (init): Don't use GetStdHandle.
10623
10624         * include/config.h.in: Rebuilt.
10625         * configure: Rebuilt.
10626         * Makefile.in: Rebuilt.
10627
10628 2002-03-06  Adam Megacz  <adam@xwt.org>
10629
10630         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10631         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10632         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10633         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10634
10635 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10636
10637         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10638         the code for generating include/java-chartables.h.
10639         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10640         merge with Classpath.
10641         * scripts/unicode-muncher.pl: Copy from Classpath.
10642         * scritps/MakeCharTables.java: New file.
10643         * gnu/gcj/convert/Blocks-3.txt: New file.
10644         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10645         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10646         * gnu/java/lang/CharData.java: Copy from Classpath.
10647         * Makefile.am (ordinary_java_source_files): Add
10648         gnu/java/lang/CharData.java.
10649         * configure.in: Remove --enable-fast-character option.
10650         * java/lang/Character.java: Merge algorithms and Javadoc with
10651         Classpath.
10652         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10653         efficiently.
10654         * include/java-chardecomp.h: Regenerate.
10655         * include/java-chartables.h: Regenerate.
10656
10657 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10658
10659         * java/awt/MediaTracker.java: Implemented.
10660         * Makefile.am: Add MediaTracker.
10661         * Makefile.in: Rebuilt.
10662
10663 2002-03-05  Tom Tromey  <tromey@redhat.com>
10664
10665         * java/lang/natPosixProcess.cc (fail): Removed.
10666         (startProcess): Simplified error-handling.  Preserve
10667         LD_LIBRARY_PATH across exec.
10668
10669         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10670         AbstractMethodError.
10671
10672 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10673
10674         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10675         * Makefile.in: Rebuilt.
10676
10677 2002-03-03 Mark Wielaard <mark@klomp.org>
10678
10679         * java/util/Timer (TaskQueue.stop): set elements to zero.
10680
10681 2002-02-28  Anthony Green  <green@redhat.com>
10682
10683         * java/lang/reflect/natMethod.cc (result): Add void* element.
10684         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10685         constructor test.
10686
10687 2002-02-27  Adam Megacz <adam@xwt.org>
10688
10689         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10690         '#undef STRICT'.
10691
10692 2002-02-26  Tom Tromey  <tromey@redhat.com>
10693
10694         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10695         * gij.cc (version): Use __VERSION__.
10696         * include/config.h.in: Rebuilt.
10697         * acconfig.h (GCJVERSION): Removed.
10698         * configure: Rebuilt.
10699         * configure.in (GCJVERSION): Removed.
10700
10701 2002-02-26  Andreas Schwab  <schwab@suse.de>
10702
10703         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10704         glibcpp_CXX, since libjava uses even another CXX.
10705         * aclocal.m4, configure: Regenerated.
10706
10707 2002-02-26  Tom Tromey  <tromey@redhat.com>
10708
10709         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10710         `1'.
10711
10712 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10713
10714         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10715         dependency tracking for .java files.
10716         * Makefile.in: Rebuilt.
10717
10718 2002-02-24  Adam Megacz  <adam@xwt.org>
10719
10720         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10721         typo. Sorry.
10722
10723 2002-02-24  Adam Megacz  <adam@xwt.org>
10724
10725         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10726         for Win32, changed #ifdefs to check WIN32 instead of the
10727         (now-obsolete) USE_WINSOCK, and removed support for socket
10728         timeouts on Win32 pending further discussion.
10729
10730 2002-02-24  Adam Megacz  <adam@xwt.org>
10731
10732         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10733         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10734         delete
10735
10736 2002-02-24  Adam Megacz  <adam@xwt.org>
10737
10738         * java/lang/Win32Process.java: Created a dummy class to allow
10739         build process to run to completion.
10740
10741 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10742
10743         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10744         Define ffi_result union for ffi_call result.  Cast
10745         ffi_result members to jvalue.
10746
10747 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10748
10749         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10750         * testsuite/Makefile.in: Likewise.
10751
10752 2002-02-20  Per Bothner  <per@bothner.com>
10753
10754         * java/net/URL.java (getPath):  New JDK 1.3 method.
10755
10756         * java/net/URLStreamHandler.java (parseURL):
10757         It is wrong to prepend '/' to the file part of a relative url.
10758
10759         * java/net/URLStreamHandler.java (parseURL):
10760         Minor optizations - append '/' rather than "/".
10761
10762         * java/net/URLStreamHandler.java (parseURL):
10763         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10764         We probably should canonicalize for a context-relative url, though.
10765         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10766         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10767         (sameFile):  New method.  Uses canonicalizeFilename.
10768
10769 2002-02-22  Tom Tromey  <tromey@redhat.com>
10770
10771         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10772         java.vendor and java.vm.vendor.
10773         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10774         recent copyright date.
10775         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10776         * gij.cc (version): Print `Inc'.
10777
10778 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10779
10780         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10781         * aclocal.m4, configure: Rebuilt.
10782
10783 2002-02-20  Per Bothner  <per@bothner.com>
10784
10785         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10786         and/or output streams immediately here, instead of using File.exists.
10787         (inputStream, outputStream):  New fields to save open streams.
10788         (getInputStream, getOutputStream):  Use already-opened streams.
10789
10790 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10791
10792         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10793         Use it.
10794         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10795         * aclocal.m4, configure, Makefile.in: Rebuilt.
10796
10797 2002-02-19  Tom Tromey  <tromey@redhat.com>
10798
10799         Fix for PR libgcj/5696:
10800         * verify.cc (is_assignable_from_slow): Never call
10801         _Jv_IsAssignableFrom.
10802         (verify_instructions_0): Added new debug statement.
10803         (state::print): Print information about whether local has
10804         changed.
10805         (state::merge): Don't call note_variable when merging locals.
10806         (state::set_exception): Removed old FIXME comment.
10807
10808 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10809
10810         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10811         enable SO_BROADCAST.
10812
10813 2002-02-18  Jason Merrill  <jason@redhat.com>
10814
10815         * name-finder.cc (toHex): Use word mode, not long long.
10816
10817         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10818
10819 2002-02-15  Tom Tromey  <tromey@redhat.com>
10820
10821         Fix for PR libgcj/5695:
10822         * verify.cc (is_assignable_from_slow): Check to see if target is
10823         an Object before checking to see if source is an interface.
10824         (verify_instructions_0) [op_invokeinterface]: Handle case where
10825         we're making an interface call on Object.
10826
10827 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10828
10829         * Makefile.in: Rebuilt with Eric's change below.
10830
10831         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10832         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10833         Removed functions which are now implemented in Math.java.
10834
10835 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10836
10837         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10838         * Makefile.am (core_java_source_files): Add
10839         java/lang/StrictMath.java.
10840         * java/lang/Math.java: Merge with Classpath.
10841         * java/lang/StrictMath.java: New file - merge with Classpath.
10842
10843 2002-02-14  Mark Wielaard  <mark@klomp.org>
10844
10845         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10846         package as a workaround for gcj 3.0.x
10847
10848 2002-02-14  Mark Wielaard <mark@klomp.org>
10849
10850         * java/security/BasicPermission.java: extends with fully qualified
10851         classname as workaround for gcj 3.0.4.
10852
10853 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10854
10855         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10856         around gcj bug of wrong emitted qualifier for inherited method.
10857         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10858         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10859         constructor to reduce amount of emitted bytecode. While this
10860         happens to work around a jikes 1.15 bug, it is still a useful
10861         patch even for correct compilers.
10862         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10863         * gnu/java/rmi/server/UnicastRemoteCall.java
10864         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10865
10866 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10867
10868         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10869         * java/net/SocketImpl.java: Ditto.
10870         * java/rmi/server/RMIClassLoader.java: Ditto.
10871         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10872
10873 2002-02-14  Mark Wielaard <mark@klomp.org>
10874
10875         Thanks to Takashi Okamoto
10876         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10877         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10878         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10879
10880 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10881
10882         Fix for PR libgcj/5670:
10883         * verify.cc (is_assignable_from_slow): If `source' is interface,
10884         recursively look for merge with `target'.
10885
10886 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10887
10888         * include/jni.h: Fix typo.
10889
10890 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10891
10892         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10893         correctly.
10894
10895 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10896
10897         Fix for PR libgcj/5671:
10898         * verify.cc (state::merge): Handle case where we're merging
10899         against an interface.
10900
10901 2002-02-12  Tom Tromey  <tromey@redhat.com>
10902
10903         * exception.cc (std::abort): Mark as noreturn.
10904
10905 2002-02-12  Adam Megacz <adam@xwt.org>
10906
10907         * java/lang/Win32Process.java: Filled in a placeholder
10908         implementation so Win32 will build.
10909
10910 2002-02-12  Adam Megacz <adam@xwt.org>
10911
10912         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10913         * java/io/natFile.cc: Removed from repository.
10914         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10915
10916 2002-02-12  Adam Megacz <adam@xwt.org>
10917
10918         * win32.cc: Added two #includes to make win32.cc compile.
10919
10920 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10921
10922         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10923         declarations.
10924         (_Jv_InitGC): Don't bother locking, as this is always called from a
10925         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10926
10927 2002-02-11  Adam Megacz <adam@xwt.org>
10928
10929         * include/win32.h: Added _Jv_platform_gettimeofday.
10930         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10931
10932 2002-02-11  Adam Megacz <adam@xwt.org>
10933
10934         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10935         Added #undef STRICT to make windows.h and
10936         java/lang/reflect/Modifier.h cooperate.
10937
10938 2002-02-11  Adam Megacz <adam@xwt.org>
10939
10940         * java/io/natFileWin32.cc: Created a placeholder class with lots
10941         of FIXMEs.
10942
10943 2002-02-11  Adam Megacz <adam@xwt.org>
10944
10945         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10946         std::abort() to simply abort(). Also added "fake" std::abort() so
10947         we can #include unwind-pe.h without having to link against
10948         libstdc++-v3.
10949
10950 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10951
10952         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10953
10954 2002-02-08  Tom Tromey  <tromey@redhat.com>
10955
10956         * interpret.cc (convert): New function.
10957         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10958         convert.
10959         Include Long.h.
10960
10961 2002-02-08  Anthony Green  <green@redhat.com>
10962
10963         * configure.host: Add support for xscale-elf embedded target.
10964
10965 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10966
10967         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10968         dereferenced.
10969         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10970         frame.
10971
10972 2002-02-07  Tom Tromey  <tromey@redhat.com>
10973
10974         * java/io/natFile.cc (_access): Use __builtin_alloca.
10975         (_stat): Likewise.
10976         (attr): Likewise.
10977         (getCanonicalPath): Likewise.
10978         (performList): Likewise.
10979         (performMkdir): Likewise.
10980         (performSetReadOnly): Likewise.
10981         (performRenameTo): Likewise.
10982         (performSetLastModified): Likewise.
10983         (performCreate): Likewise.
10984         (performDelete): Likewise.
10985
10986 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10987
10988         * HACKING: Fix URL for the automake-gcj.
10989
10990 2002-02-07  Tom Tromey  <tromey@redhat.com>
10991
10992         * java/lang/natThrowable.cc: Updated copyright.
10993         * java/io/natFileWin32.cc: Updated copyright.
10994         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10995         * win32-threads.cc: Updated copyright.
10996         * name-finder.cc: Updated copyright.
10997         * include/name-finder.h: Updated copyright.
10998
10999         * include/name-finder.h: Conditionally include sys/wait.h.
11000         * include/config.h.in: Rebuilt.
11001
11002         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11003         Size buffer based on real size of string.
11004         (_stat): Likewise.
11005         (attr): Likewise.
11006         (getCanonicalPath): Likewise.
11007         (performList): Likewise.
11008         (performMkdir): Likewise.
11009         (performSetReadOnly): Likewise.
11010         (unixroot): Removed.
11011         (performRenameTo): Likewise.
11012         (performSetLastModified): Likewise.
11013         (performCreate): Likewise.
11014         (performDelete): Likewise.
11015         (performListRoots): Always return new array.
11016
11017         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11018         * win32.cc (win32_exception_handler): Now static.
11019         * include/win32.h (_Jv_platform_initialize): Declare.
11020         (win32_exception_handler): Don't declare.
11021         * java/lang/natSystem.cc (currentTimeMillis): Use
11022         _Jv_platform_gettimeofday.
11023         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11024         (_Jv_select): Use new name.
11025         (_Jv_platform_initialize): New function.
11026         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11027         _Jv_gettimeofday.
11028         (_Jv_platform_initialize): Declare.
11029
11030         * configure: Rebuilt.
11031         * configure.in: Removed unnecessary parens.
11032
11033 2002-02-06  Adam Megacz <adam@xwt.org>
11034
11035        * configure.in: Changed mingw) to *mingw*).
11036        * win32.cc: Created this file.
11037        * win32.h: Created this file.
11038        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11039        win32_exception_handler from prims.cc to win32.cc, added
11040        header in win32.h.
11041        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11042        longer needed now that we have platform.h
11043
11044 2002-02-06  Adam Megacz <adam@xwt.org>
11045
11046         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11047         use uint<n>_t instead of LONG and BYTE
11048
11049 2002-02-06  Adam Megacz <adam@xwt.org>
11050
11051         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11052
11053 2002-02-06  Anthony Green  <green@redhat.com>
11054
11055         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11056         Implement missing method stubs.
11057         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11058         targets.
11059         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11060         concept of timezones.
11061         (init_properties): Don't refer to _Jv_Environment_Properties
11062         when this feature is not available.
11063         * include/config.h.in: Rebuilt.
11064         * acconfig.h: Add DISABLE_MAIN_ARGS.
11065         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11066         * configure: Rebuilt.
11067         * configure.in: Add --disable-main-args option.  Test for
11068           opendir function.  Replace AC_CHECK_SIZEOF with
11069           AC_COMPILE_CHECK_SIZEOF.
11070         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11071         * aclocal.m4: Rebuilt.
11072         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11073
11074 2002-02-06  Tom Tromey  <tromey@redhat.com>
11075
11076         * verify.cc (require_array_type): If argument is a null array of
11077         references, return null as the element type.
11078
11079 2002-02-06  Mark Wielaard  <mark@klomp.org>
11080
11081         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11082         duplicate of a wide type.
11083
11084 2002-02-06  Tom Tromey  <tromey@redhat.com>
11085
11086         * verify.cc (type::isnull): New method.
11087         (require_array_type): Handle case where array is null.
11088         (verify_instructions_0) [op_arraylength]: Likewise.
11089
11090 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11091
11092         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11093         Symlink PLATFORMH to platform.h.
11094         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11095         PLATFORMOBJS.
11096         * java/lang/natSystem.cc: #include platform.h not posix.h.
11097         * Makefile.in: Rebuilt with libgcj automake.
11098         * configure: Rebuilt.
11099
11100 2002-02-05  Richard Henderson  <rth@redhat.com>
11101
11102         * Makefile.in: Undo munging last change.
11103
11104 2002-02-04  Adam Megacz <adam@xwt.org>
11105
11106         * win32.cc: Created it.
11107         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11108         which is set to posix.cc or win32.cc.
11109         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11110
11111 2002-02-04  Adam Megacz <adam@xwt.org>
11112
11113         * configure.in: Corrected mingw case branches; added * before
11114         and after.
11115
11116 2002-02-04  Adam Megacz <adam@xwt.org>
11117
11118         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11119         if compiling for win32
11120
11121 2002-02-04  Adam Megacz <adam@xwt.org>
11122
11123         * win32-threads.cc: #undef STRICT after gc.h inclusion
11124
11125 2002-02-02  Tom Tromey  <tromey@redhat.com>
11126
11127         * Makefile.in: Rebuilt.
11128
11129 2002-02-02  Jason Merrill  <jason@redhat.com>
11130
11131         * Makefile.am (clean-nat): New target.
11132
11133 2002-02-02  Tom Tromey  <tromey@redhat.com>
11134
11135         * java/io/natFile.cc: Removed old "FIXME" comments.
11136
11137 2002-02-01  Tom Tromey  <tromey@redhat.com>
11138
11139         * java/lang/natPosixProcess.cc (myclose): New function.
11140         (fail): Use it.
11141         (startProcess): Likewise.
11142
11143 2002-02-01  Adam Megacz <adam@xwt.org>
11144
11145         * prims.cc: Added #undef STRICT after #include<windows.h>.
11146
11147 2002-02-01  Adam Megacz <adam@xwt.org>
11148
11149         * prims.cc
11150         (_Jv_CreateJavaVM): We now use WIN32 instead of
11151         USE_WIN32_SIGNALLING and USE_WINSOCK.
11152         (win32_exception_handler): Now throws an exception out of
11153         the signal handler; assumes SJLJ.
11154
11155 2002-02-01  Adam Megacz <adam@xwt.org>
11156
11157         * win32-threads.cc:
11158         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11159         wait() algorithm to make it safe.
11160         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11161         Added lazy creation of Win32 Events for better performance
11162         (really_start): This now uses GC_CreateThread so boehm-gc
11163         knows about new threads even when statically linked.
11164
11165 2002-02-01  Adam Megacz <adam@xwt.org>
11166
11167         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11168         enable safer wait() algorithm.
11169         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11170         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11171         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11172         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11173         instead of mutex.
11174         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11175
11176 2002-02-01  Adam Megacz <adam@xwt.org>
11177
11178         * configure.in: Added support for mingw.
11179         * java/lang/Win32Process.java: Created as empty file.
11180         * java/lang/natWin32Process.cc: Created as empty file.
11181
11182 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11183
11184         PR java/4972
11185         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11186         for libiconv in LIBICONV variable.
11187         * configure: Regenerated.
11188
11189 2002-01-31  Tom Tromey  <tromey@redhat.com>
11190
11191         * verify.cc (state::enter_subroutine): New method.
11192         (handle_jsr_insn): Use it.
11193         (state::merge): When processing a `ret', correctly use
11194         subroutine's state to determine which local variables have
11195         changed.
11196         (push_exception_jump): Don't let stack overflow.
11197
11198 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11199
11200         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11201         --version output.
11202
11203 2002-01-30  Tom Tromey  <tromey@redhat.com>
11204
11205         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11206         parameter for `recv' return type.
11207
11208         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11209         (state::merge): ... not here.
11210         (subr_entry_info): New structure.
11211         (entry_points): New field.
11212         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11213         entry_points.
11214
11215 2002-01-29  Tom Tromey  <tromey@redhat.com>
11216
11217         * java/awt/List.java (addNotify): Correctly check to see if peer
11218         does not exist.
11219
11220         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11221         to compute height of each cell, and number of columns to compute
11222         width of each cell.
11223         * java/awt/Window.java (getOwnedWindows): Don't return null.
11224         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11225         of component.  Increment x using horizontal gap, not vertical
11226         gap.
11227
11228 2002-01-28  Tom Tromey  <tromey@redhat.com>
11229
11230         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11231         `nargs' byte is number of words, not number of arguments.
11232
11233 2002-01-27  Tom Tromey  <tromey@redhat.com>
11234
11235         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11236         (when): Likewise.
11237         * java/awt/event/InputEvent.java (modifiers, when): Now
11238         package-private.
11239
11240         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11241         and to-do list.
11242         (state::merge): Use current class' class loader.
11243         (state::print): Print subroutine.
11244         (state::merge): Don't look at subroutine of unmerged `ret'.
11245
11246 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11247
11248         * nogc.cc: Remove warnings.
11249         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11250         New functions.
11251
11252 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11253
11254         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11255         int, int):  Remove empty "if" statement to work around compiler bug.
11256         (newPixels(int[], ColorModel, int, int): Likewise.
11257
11258 2002-01-25  Per Bothner  <per@bothner.com>
11259
11260         * verify.cc (verify_fail):  Change from being a top-level function
11261         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11262         Pass the current verifier to type: and state: methods as needed,
11263         for better error messages, and for resolve.
11264         (resolve):  Pass current class's loader for Class.forName and
11265         _Jv_FindClassFromSignature, rather than using the default loader.
11266         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11267         (get_type_val_for_signature):  Make non-static.
11268         (various methods):  Pass start_PC implicitly, not explicitly.
11269
11270 2002-01-25  Tom Tromey  <tromey@redhat.com>
11271
11272         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11273         loop termination condition.
11274         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11275         width.
11276
11277 2002-01-24  Tom Tromey  <tromey@redhat.com>
11278
11279         * java/awt/Shape.java: Merged with Classpath.
11280         * java/awt/Scrollbar.java: Merged with Classpath.
11281
11282         * java/awt/Container.java (addNotify): Unconditionally call
11283         addNotifyContainerChildren and superclass addNotify.
11284
11285         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11286         getAlpha, not getBlue.
11287
11288 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11289
11290         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11291
11292         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11293         (grabPixels(long)): Wait to be notified that the ImageProducer has
11294         completed.
11295
11296 2002-01-24  Per Bothner  <per@bothner.com>
11297
11298         * verify.cc (is_assignable_from_slow): If target is an interface,
11299         we must still check the source's superclass before giving up.
11300
11301 2002-01-24  Tom Tromey  <tromey@redhat.com>
11302
11303         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11304
11305 2002-01-23  Tom Tromey  <tromey@redhat.com>
11306
11307         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11308         `else'.
11309
11310         * Makefile.in: Rebuilt.
11311         * Makefile.am (awt_java_source_files): Added new files.
11312         * java/awt/Toolkit.java: Merged with Classpath.
11313         * java/awt/PrintGraphics.java: New file from Classpath.
11314         * java/awt/PrintJob.java: New file from Classpath.
11315         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11316         * java/awt/datatransfer/ClipboardOwner.java: New file from
11317         Classpath.
11318         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11319         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11320         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11321         Classpath.
11322         * java/awt/datatransfer/StringSelection.java: New file from
11323         Classpath.
11324         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11325         Classpath.
11326         * java/awt/datatransfer/Transferable.java: New file from
11327         Classpath.
11328         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11329         from Classpath.
11330
11331         * Makefile.in: Rebuilt.
11332         * Makefile.am (awt_java_source_files): Added new files.
11333         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11334         Classpath.
11335         * java/awt/image/CropImageFilter.java: New file from Classpath.
11336         * java/awt/image/FilteredImageSource.java: New file from
11337         Classpath.
11338         * java/awt/image/ImageFilter.java: New file from Classpath.
11339         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11340         * java/awt/image/PixelGrabber.java: New file from Classpath.
11341         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11342         * java/awt/image/ReplicateScaleFilter.java: New file from
11343         Classpath.
11344         * java/awt/image/ImageProducer.java: Replaced with Classpath
11345         version.
11346         * java/awt/image/ImageObserver.java: Replaced with Classpath
11347         version.
11348         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11349         version.
11350         * java/awt/GridBagConstraints.java (clone): Catch
11351         CloneNotSupportedException.
11352
11353 2002-01-23  Per Bothner  <per@bothner.com>
11354
11355         * java/lang/reflect/natField.cc (setAddr):  New function.
11356         Calls getAddr and then checks that the field isn't final.
11357         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11358         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11359         (set):  Call setAddr before check that new value has right type,
11360         to better match specified semantics.
11361
11362 2002-01-22  Tom Tromey  <tromey@redhat.com>
11363
11364         * java/awt/TextField.java: Replaced with Classpath version.
11365         * java/awt/TextArea.java: Replaced with Classpath version.
11366         * java/awt/TextComponent.java: Replaced with Classpath version.
11367
11368         * java/awt/GridBagConstraints.java: Updated copyright.
11369
11370 2002-01-22  Mark Wielaard <mark@klomp.org>
11371
11372         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11373         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11374         java/awt/Dialog.java java/awt/FileDialog.java
11375         java/awt/Font.java java/awt/FontMetrics.java
11376         java/awt/Image.java java/awt/ImageMediaEntry.java
11377         java/awt/Insets.java java/awt/List.java
11378         java/awt/MediaEntry.java java/awt/MediaTracker.java
11379         java/awt/Menu.java java/awt/MenuBar.java
11380         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11381         java/awt/PaintContext.java java/awt/Panel.java
11382         java/awt/PopupMenu.java java/awt/SystemColor.java
11383         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11384         java/awt/peer/CheckboxMenuItemPeer.java
11385         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11386         java/awt/peer/ComponentPeer.java
11387         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11388         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11389         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11390         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11391         java/awt/peer/MenuBarPeer.java
11392         java/awt/peer/MenuComponentPeer.java
11393         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11394         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11395         java/awt/peer/ScrollPanePeer.java
11396         java/awt/peer/ScrollbarPeer.java
11397         java/awt/peer/TextAreaPeer.java
11398         java/awt/peer/TextComponentPeer.java
11399         java/awt/peer/TextFieldPeer.java
11400         java/awt/peer/WindowPeer.java: Add license clarification.
11401
11402 2002-01-22  Mark Wielaard <mark@klomp.org>
11403
11404         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11405         gnu/gcj/runtime/StringBuffer.java
11406         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11407         gnu/java/awt/ComponentDataBlitOp.java
11408         gnu/java/awt/GLightweightPeer.java
11409         gnu/java/beans/BeanInfoEmbryo.java
11410         gnu/java/beans/EmptyBeanInfo.java
11411         gnu/java/beans/ExplicitBeanInfo.java
11412         gnu/java/beans/IntrospectionIncubator.java
11413         gnu/java/beans/editors/ColorEditor.java
11414         gnu/java/beans/editors/FontEditor.java
11415         gnu/java/beans/editors/NativeBooleanEditor.java
11416         gnu/java/beans/editors/NativeByteEditor.java
11417         gnu/java/beans/editors/NativeDoubleEditor.java
11418         gnu/java/beans/editors/NativeFloatEditor.java
11419         gnu/java/beans/editors/NativeIntEditor.java
11420         gnu/java/beans/editors/NativeLongEditor.java
11421         gnu/java/beans/editors/NativeShortEditor.java
11422         gnu/java/beans/editors/StringEditor.java
11423         gnu/java/beans/info/ComponentBeanInfo.java
11424         gnu/java/io/ClassLoaderObjectInputStream.java
11425         gnu/java/io/NullOutputStream.java
11426         gnu/java/io/ObjectIdentityWrapper.java
11427         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11428         gnu/java/lang/reflect/TypeSignature.java
11429         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11430         gnu/java/locale/Calendar_en.java
11431         gnu/java/locale/Calendar_nl.java
11432         gnu/java/locale/LocaleInformation.java
11433         gnu/java/locale/LocaleInformation_de.java
11434         gnu/java/locale/LocaleInformation_en.java
11435         gnu/java/locale/LocaleInformation_nl.java
11436         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11437         gnu/java/rmi/registry/RegistryImpl.java
11438         gnu/java/rmi/rmic/Compile_gcj.java
11439         gnu/java/rmi/rmic/Compiler.java
11440         gnu/java/rmi/rmic/CompilerProcess.java
11441         gnu/java/rmi/rmic/RMIC.java
11442         gnu/java/rmi/rmic/TabbedWriter.java
11443         gnu/java/rmi/server/ProtocolConstants.java
11444         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11445         gnu/java/rmi/server/RMIHashes.java
11446         gnu/java/rmi/server/RMIObjectInputStream.java
11447         gnu/java/rmi/server/RMIObjectOutputStream.java
11448         gnu/java/rmi/server/UnicastConnection.java
11449         gnu/java/rmi/server/UnicastConnectionManager.java
11450         gnu/java/rmi/server/UnicastRef.java
11451         gnu/java/rmi/server/UnicastRemoteCall.java
11452         gnu/java/rmi/server/UnicastRemoteStub.java
11453         gnu/java/rmi/server/UnicastServer.java
11454         gnu/java/rmi/server/UnicastServerRef.java
11455         gnu/java/security/provider/DefaultPolicy.java
11456         gnu/java/security/provider/Gnu.java
11457         gnu/java/security/provider/SHA.java
11458         gnu/java/security/provider/SHA1PRNG.java
11459         gnu/java/text/BaseBreakIterator.java
11460         gnu/java/text/CharacterBreakIterator.java
11461         gnu/java/text/LineBreakIterator.java
11462         gnu/java/text/SentenceBreakIterator.java
11463         gnu/java/text/WordBreakIterator.java
11464         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11465         java/applet/AppletContext.java java/applet/AppletStub.java
11466         java/applet/AudioClip.java java/awt/AWTError.java
11467         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11468         java/awt/AWTException.java java/awt/AWTPermission.java
11469         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11470         java/awt/Button.java java/awt/Canvas.java
11471         java/awt/CardLayout.java java/awt/Checkbox.java
11472         java/awt/CheckboxGroup.java java/awt/Component.java
11473         java/awt/ComponentOrientation.java java/awt/Container.java
11474         java/awt/Dimension.java java/awt/Event.java
11475         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11476         java/awt/FlowLayout.java java/awt/Frame.java
11477         java/awt/Graphics.java java/awt/Graphics2D.java
11478         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11479         java/awt/IllegalComponentStateException.java
11480         java/awt/ItemSelectable.java java/awt/Label.java
11481         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11482         java/awt/MenuComponent.java java/awt/MenuItem.java
11483         java/awt/Paint.java java/awt/Point.java
11484         java/awt/Rectangle.java java/awt/RenderingHints.java
11485         java/awt/Transparency.java java/awt/Window.java
11486         java/awt/color/ColorSpace.java
11487         java/awt/color/ICC_ColorSpace.java
11488         java/awt/color/ICC_Profile.java
11489         java/awt/event/HierarchyBoundsAdapter.java
11490         java/awt/event/HierarchyBoundsListener.java
11491         java/awt/event/HierarchyEvent.java
11492         java/awt/event/HierarchyListener.java
11493         java/awt/geom/AffineTransform.java
11494         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11495         java/awt/geom/IllegalPathStateException.java
11496         java/awt/geom/Line2D.java
11497         java/awt/geom/NoninvertibleTransformException.java
11498         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11499         java/awt/geom/Rectangle2D.java
11500         java/awt/geom/RectangularShape.java
11501         java/awt/geom/RoundRectangle2D.java
11502         java/awt/image/BufferedImage.java
11503         java/awt/image/ColorModel.java
11504         java/awt/image/ComponentColorModel.java
11505         java/awt/image/ComponentSampleModel.java
11506         java/awt/image/DataBuffer.java
11507         java/awt/image/DataBufferByte.java
11508         java/awt/image/DataBufferInt.java
11509         java/awt/image/DataBufferUShort.java
11510         java/awt/image/DirectColorModel.java
11511         java/awt/image/PackedColorModel.java
11512         java/awt/image/Raster.java java/awt/image/RasterOp.java
11513         java/awt/image/SampleModel.java
11514         java/awt/image/SinglePixelPackedSampleModel.java
11515         java/awt/image/WritableRaster.java
11516         java/beans/AppletInitializer.java
11517         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11518         java/beans/Beans.java java/beans/Customizer.java
11519         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11520         java/beans/FeatureDescriptor.java
11521         java/beans/IndexedPropertyDescriptor.java
11522         java/beans/IntrospectionException.java
11523         java/beans/Introspector.java java/beans/MethodDescriptor.java
11524         java/beans/ParameterDescriptor.java
11525         java/beans/PropertyChangeEvent.java
11526         java/beans/PropertyChangeListener.java
11527         java/beans/PropertyChangeSupport.java
11528         java/beans/PropertyDescriptor.java
11529         java/beans/PropertyEditor.java
11530         java/beans/PropertyEditorManager.java
11531         java/beans/PropertyEditorSupport.java
11532         java/beans/PropertyVetoException.java
11533         java/beans/SimpleBeanInfo.java
11534         java/beans/VetoableChangeListener.java
11535         java/beans/VetoableChangeSupport.java
11536         java/beans/Visibility.java
11537         java/beans/beancontext/BeanContext.java
11538         java/beans/beancontext/BeanContextChild.java
11539         java/beans/beancontext/BeanContextChildComponentProxy.java
11540         java/beans/beancontext/BeanContextChildSupport.java
11541         java/beans/beancontext/BeanContextContainerProxy.java
11542         java/beans/beancontext/BeanContextEvent.java
11543         java/beans/beancontext/BeanContextMembershipEvent.java
11544         java/beans/beancontext/BeanContextMembershipListener.java
11545         java/beans/beancontext/BeanContextProxy.java
11546         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11547         java/beans/beancontext/BeanContextServiceProvider.java
11548         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11549         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11550         java/beans/beancontext/BeanContextServiceRevokedListener.java
11551         java/beans/beancontext/BeanContextServices.java
11552         java/beans/beancontext/BeanContextServicesListener.java
11553         java/io/BufferedInputStream.java
11554         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11555         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11556         java/io/ByteArrayOutputStream.java
11557         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11558         java/io/CharConversionException.java java/io/DataInput.java
11559         java/io/DataInputStream.java java/io/DataOutput.java
11560         java/io/EOFException.java java/io/Externalizable.java
11561         java/io/FileFilter.java java/io/FileNotFoundException.java
11562         java/io/FilePermission.java java/io/FileReader.java
11563         java/io/FileWriter.java java/io/FilenameFilter.java
11564         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11565         java/io/FilterReader.java java/io/FilterWriter.java
11566         java/io/IOException.java java/io/InputStream.java
11567         java/io/InterruptedIOException.java
11568         java/io/InvalidClassException.java
11569         java/io/InvalidObjectException.java
11570         java/io/NotActiveException.java
11571         java/io/NotSerializableException.java java/io/ObjectInput.java
11572         java/io/ObjectInputStream.java
11573         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11574         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11575         java/io/ObjectStreamConstants.java
11576         java/io/ObjectStreamException.java
11577         java/io/ObjectStreamField.java
11578         java/io/OptionalDataException.java java/io/OutputStream.java
11579         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11580         java/io/PipedReader.java java/io/PipedWriter.java
11581         java/io/PrintWriter.java java/io/PushbackInputStream.java
11582         java/io/PushbackReader.java java/io/Reader.java
11583         java/io/SequenceInputStream.java java/io/Serializable.java
11584         java/io/SerializablePermission.java
11585         java/io/StreamCorruptedException.java
11586         java/io/StreamTokenizer.java
11587         java/io/StringBufferInputStream.java java/io/StringReader.java
11588         java/io/StringWriter.java java/io/SyncFailedException.java
11589         java/io/UTFDataFormatException.java
11590         java/io/UnsupportedEncodingException.java
11591         java/io/WriteAbortedException.java java/io/Writer.java
11592         java/lang/AbstractMethodError.java
11593         java/lang/ArithmeticException.java
11594         java/lang/ArrayIndexOutOfBoundsException.java
11595         java/lang/ArrayStoreException.java java/lang/Boolean.java
11596         java/lang/Byte.java java/lang/CharSequence.java
11597         java/lang/ClassCastException.java
11598         java/lang/ClassCircularityError.java
11599         java/lang/ClassFormatError.java
11600         java/lang/ClassNotFoundException.java
11601         java/lang/CloneNotSupportedException.java
11602         java/lang/Cloneable.java java/lang/Comparable.java
11603         java/lang/Compiler.java java/lang/Double.java
11604         java/lang/Error.java java/lang/Exception.java
11605         java/lang/ExceptionInInitializerError.java
11606         java/lang/Float.java java/lang/IllegalAccessError.java
11607         java/lang/IllegalAccessException.java
11608         java/lang/IllegalArgumentException.java
11609         java/lang/IllegalMonitorStateException.java
11610         java/lang/IllegalStateException.java
11611         java/lang/IllegalThreadStateException.java
11612         java/lang/IncompatibleClassChangeError.java
11613         java/lang/IndexOutOfBoundsException.java
11614         java/lang/InheritableThreadLocal.java
11615         java/lang/InstantiationError.java
11616         java/lang/InstantiationException.java java/lang/Integer.java
11617         java/lang/InternalError.java
11618         java/lang/InterruptedException.java
11619         java/lang/LinkageError.java java/lang/Long.java
11620         java/lang/NegativeArraySizeException.java
11621         java/lang/NoClassDefFoundError.java
11622         java/lang/NoSuchFieldError.java
11623         java/lang/NoSuchFieldException.java
11624         java/lang/NoSuchMethodError.java
11625         java/lang/NoSuchMethodException.java
11626         java/lang/NullPointerException.java java/lang/Number.java
11627         java/lang/NumberFormatException.java
11628         java/lang/OutOfMemoryError.java java/lang/Package.java
11629         java/lang/Process.java java/lang/Runnable.java
11630         java/lang/RuntimeException.java
11631         java/lang/RuntimePermission.java
11632         java/lang/SecurityException.java
11633         java/lang/SecurityManager.java java/lang/Short.java
11634         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11635         java/lang/StringIndexOutOfBoundsException.java
11636         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11637         java/lang/ThreadLocal.java java/lang/UnknownError.java
11638         java/lang/UnsatisfiedLinkError.java
11639         java/lang/UnsupportedClassVersionError.java
11640         java/lang/UnsupportedOperationException.java
11641         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11642         java/lang/Void.java java/lang/ref/PhantomReference.java
11643         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11644         java/lang/ref/SoftReference.java
11645         java/lang/ref/WeakReference.java
11646         java/lang/reflect/AccessibleObject.java
11647         java/lang/reflect/InvocationTargetException.java
11648         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11649         java/lang/reflect/ReflectPermission.java
11650         java/math/BigDecimal.java java/math/BigInteger.java
11651         java/net/Authenticator.java java/net/BindException.java
11652         java/net/ConnectException.java java/net/ContentHandler.java
11653         java/net/ContentHandlerFactory.java
11654         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11655         java/net/FileNameMap.java java/net/MalformedURLException.java
11656         java/net/MulticastSocket.java java/net/NetPermission.java
11657         java/net/NoRouteToHostException.java
11658         java/net/PasswordAuthentication.java
11659         java/net/ProtocolException.java java/net/ServerSocket.java
11660         java/net/Socket.java java/net/SocketException.java
11661         java/net/SocketImpl.java java/net/SocketImplFactory.java
11662         java/net/SocketOptions.java java/net/SocketPermission.java
11663         java/net/URLDecoder.java java/net/URLEncoder.java
11664         java/net/URLStreamHandlerFactory.java
11665         java/net/UnknownHostException.java
11666         java/net/UnknownServiceException.java
11667         java/rmi/AccessException.java
11668         java/rmi/AlreadyBoundException.java
11669         java/rmi/ConnectException.java
11670         java/rmi/ConnectIOException.java
11671         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11672         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11673         java/rmi/NotBoundException.java
11674         java/rmi/RMISecurityException.java
11675         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11676         java/rmi/RemoteException.java java/rmi/ServerError.java
11677         java/rmi/ServerException.java
11678         java/rmi/ServerRuntimeException.java
11679         java/rmi/StubNotFoundException.java
11680         java/rmi/UnexpectedException.java
11681         java/rmi/UnknownHostException.java
11682         java/rmi/UnmarshalException.java
11683         java/rmi/activation/Activatable.java
11684         java/rmi/activation/ActivateFailedException.java
11685         java/rmi/activation/ActivationDesc.java
11686         java/rmi/activation/ActivationException.java
11687         java/rmi/activation/ActivationGroup.java
11688         java/rmi/activation/ActivationGroupDesc.java
11689         java/rmi/activation/ActivationGroupID.java
11690         java/rmi/activation/ActivationID.java
11691         java/rmi/activation/ActivationInstantiator.java
11692         java/rmi/activation/ActivationMonitor.java
11693         java/rmi/activation/ActivationSystem.java
11694         java/rmi/activation/Activator.java
11695         java/rmi/activation/UnknownGroupException.java
11696         java/rmi/activation/UnknownObjectException.java
11697         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11698         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11699         java/rmi/registry/Registry.java
11700         java/rmi/registry/RegistryHandler.java
11701         java/rmi/server/ExportException.java
11702         java/rmi/server/LoaderHandler.java
11703         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11704         java/rmi/server/Operation.java
11705         java/rmi/server/RMIClassLoader.java
11706         java/rmi/server/RMIClientSocketFactory.java
11707         java/rmi/server/RMIFailureHandler.java
11708         java/rmi/server/RMIServerSocketFactory.java
11709         java/rmi/server/RMISocketFactory.java
11710         java/rmi/server/RemoteCall.java
11711         java/rmi/server/RemoteObject.java
11712         java/rmi/server/RemoteRef.java
11713         java/rmi/server/RemoteServer.java
11714         java/rmi/server/RemoteStub.java
11715         java/rmi/server/ServerCloneException.java
11716         java/rmi/server/ServerNotActiveException.java
11717         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11718         java/rmi/server/SkeletonMismatchException.java
11719         java/rmi/server/SkeletonNotFoundException.java
11720         java/rmi/server/SocketSecurityException.java
11721         java/rmi/server/UID.java
11722         java/rmi/server/UnicastRemoteObject.java
11723         java/rmi/server/Unreferenced.java
11724         java/security/AccessControlContext.java
11725         java/security/AccessControlException.java
11726         java/security/AccessController.java
11727         java/security/AlgorithmParameterGenerator.java
11728         java/security/AlgorithmParameterGeneratorSpi.java
11729         java/security/AlgorithmParameters.java
11730         java/security/AlgorithmParametersSpi.java
11731         java/security/AllPermission.java
11732         java/security/BasicPermission.java
11733         java/security/Certificate.java java/security/CodeSource.java
11734         java/security/DigestException.java
11735         java/security/DigestInputStream.java
11736         java/security/DigestOutputStream.java
11737         java/security/DomainCombiner.java
11738         java/security/DummyKeyPairGenerator.java
11739         java/security/DummyMessageDigest.java
11740         java/security/DummySignature.java
11741         java/security/GeneralSecurityException.java
11742         java/security/Guard.java java/security/GuardedObject.java
11743         java/security/Identity.java java/security/IdentityScope.java
11744         java/security/InvalidAlgorithmParameterException.java
11745         java/security/InvalidKeyException.java
11746         java/security/InvalidParameterException.java
11747         java/security/Key.java java/security/KeyException.java
11748         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11749         java/security/KeyManagementException.java
11750         java/security/KeyPair.java java/security/KeyPairGenerator.java
11751         java/security/KeyPairGeneratorSpi.java
11752         java/security/KeyStore.java
11753         java/security/KeyStoreException.java
11754         java/security/KeyStoreSpi.java
11755         java/security/MessageDigest.java
11756         java/security/MessageDigestSpi.java
11757         java/security/NoSuchAlgorithmException.java
11758         java/security/NoSuchProviderException.java
11759         java/security/Permission.java
11760         java/security/PermissionCollection.java
11761         java/security/Permissions.java java/security/Policy.java
11762         java/security/Principal.java java/security/PrivateKey.java
11763         java/security/PrivilegedAction.java
11764         java/security/PrivilegedActionException.java
11765         java/security/PrivilegedExceptionAction.java
11766         java/security/ProtectionDomain.java
11767         java/security/Provider.java
11768         java/security/ProviderException.java
11769         java/security/PublicKey.java
11770         java/security/SecureClassLoader.java
11771         java/security/SecureRandom.java
11772         java/security/SecureRandomSpi.java java/security/Security.java
11773         java/security/SecurityPermission.java
11774         java/security/Signature.java
11775         java/security/SignatureException.java
11776         java/security/SignatureSpi.java
11777         java/security/SignedObject.java java/security/Signer.java
11778         java/security/UnrecoverableKeyException.java
11779         java/security/UnresolvedPermission.java
11780         java/security/acl/Acl.java java/security/acl/AclEntry.java
11781         java/security/acl/AclNotFoundException.java
11782         java/security/acl/Group.java
11783         java/security/acl/LastOwnerException.java
11784         java/security/acl/NotOwnerException.java
11785         java/security/acl/Owner.java java/security/acl/Permission.java
11786         java/security/cert/CRL.java
11787         java/security/cert/CRLException.java
11788         java/security/cert/Certificate.java
11789         java/security/cert/CertificateEncodingException.java
11790         java/security/cert/CertificateException.java
11791         java/security/cert/CertificateExpiredException.java
11792         java/security/cert/CertificateFactory.java
11793         java/security/cert/CertificateFactorySpi.java
11794         java/security/cert/CertificateNotYetValidException.java
11795         java/security/cert/CertificateParsingException.java
11796         java/security/cert/X509CRL.java
11797         java/security/cert/X509CRLEntry.java
11798         java/security/cert/X509Certificate.java
11799         java/security/cert/X509Extension.java
11800         java/security/interfaces/DSAKey.java
11801         java/security/interfaces/DSAKeyPairGenerator.java
11802         java/security/interfaces/DSAParams.java
11803         java/security/interfaces/DSAPrivateKey.java
11804         java/security/interfaces/DSAPublicKey.java
11805         java/security/interfaces/RSAKey.java
11806         java/security/interfaces/RSAPrivateCrtKey.java
11807         java/security/interfaces/RSAPrivateKey.java
11808         java/security/interfaces/RSAPublicKey.java
11809         java/security/spec/AlgorithmParameterSpec.java
11810         java/security/spec/DSAParameterSpec.java
11811         java/security/spec/DSAPrivateKeySpec.java
11812         java/security/spec/DSAPublicKeySpec.java
11813         java/security/spec/EncodedKeySpec.java
11814         java/security/spec/InvalidKeySpecException.java
11815         java/security/spec/InvalidParameterSpecException.java
11816         java/security/spec/KeySpec.java
11817         java/security/spec/PKCS8EncodedKeySpec.java
11818         java/security/spec/RSAKeyGenParameterSpec.java
11819         java/security/spec/RSAPrivateCrtKeySpec.java
11820         java/security/spec/RSAPrivateKeySpec.java
11821         java/security/spec/RSAPublicKeySpec.java
11822         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11823         java/sql/BatchUpdateException.java java/sql/Blob.java
11824         java/sql/CallableStatement.java java/sql/Clob.java
11825         java/sql/Connection.java java/sql/DataTruncation.java
11826         java/sql/DatabaseMetaData.java java/sql/Date.java
11827         java/sql/Driver.java java/sql/DriverManager.java
11828         java/sql/DriverPropertyInfo.java
11829         java/sql/PreparedStatement.java java/sql/Ref.java
11830         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11831         java/sql/SQLData.java java/sql/SQLException.java
11832         java/sql/SQLInput.java java/sql/SQLOutput.java
11833         java/sql/SQLWarning.java java/sql/Statement.java
11834         java/sql/Struct.java java/sql/Time.java
11835         java/sql/Timestamp.java java/sql/Types.java
11836         java/text/Annotation.java
11837         java/text/AttributedCharacterIterator.java
11838         java/text/AttributedString.java
11839         java/text/AttributedStringIterator.java
11840         java/text/BreakIterator.java java/text/CharacterIterator.java
11841         java/text/ChoiceFormat.java java/text/Collator.java
11842         java/text/DateFormat.java java/text/DateFormatSymbols.java
11843         java/text/DecimalFormat.java
11844         java/text/DecimalFormatSymbols.java
11845         java/text/FieldPosition.java java/text/Format.java
11846         java/text/MessageFormat.java java/text/NumberFormat.java
11847         java/text/ParseException.java java/text/ParsePosition.java
11848         java/text/SimpleDateFormat.java
11849         java/text/StringCharacterIterator.java
11850         java/util/AbstractCollection.java java/util/AbstractList.java
11851         java/util/AbstractMap.java
11852         java/util/AbstractSequentialList.java
11853         java/util/AbstractSet.java java/util/ArrayList.java
11854         java/util/Arrays.java java/util/BasicMapEntry.java
11855         java/util/BitSet.java java/util/Calendar.java
11856         java/util/Collection.java java/util/Collections.java
11857         java/util/Comparator.java
11858         java/util/ConcurrentModificationException.java
11859         java/util/Date.java java/util/Dictionary.java
11860         java/util/EmptyStackException.java java/util/Enumeration.java
11861         java/util/EventListener.java java/util/EventObject.java
11862         java/util/GregorianCalendar.java java/util/HashMap.java
11863         java/util/HashSet.java java/util/Hashtable.java
11864         java/util/IdentityHashMap.java java/util/Iterator.java
11865         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11866         java/util/LinkedList.java java/util/List.java
11867         java/util/ListIterator.java java/util/ListResourceBundle.java
11868         java/util/Locale.java java/util/Map.java
11869         java/util/MissingResourceException.java
11870         java/util/NoSuchElementException.java
11871         java/util/Observable.java java/util/Observer.java
11872         java/util/Properties.java java/util/PropertyPermission.java
11873         java/util/PropertyResourceBundle.java java/util/Random.java
11874         java/util/RandomAccess.java java/util/ResourceBundle.java
11875         java/util/Set.java java/util/SimpleTimeZone.java
11876         java/util/SortedMap.java java/util/SortedSet.java
11877         java/util/Stack.java java/util/StringTokenizer.java
11878         java/util/TimeZone.java java/util/Timer.java
11879         java/util/TimerTask.java
11880         java/util/TooManyListenersException.java
11881         java/util/TreeMap.java java/util/TreeSet.java
11882         java/util/Vector.java java/util/WeakHashMap.java
11883         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11884         java/util/jar/JarException.java java/util/jar/JarFile.java
11885         java/util/jar/JarInputStream.java
11886         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11887         java/util/zip/Adler32.java java/util/zip/CRC32.java
11888         java/util/zip/CheckedInputStream.java
11889         java/util/zip/CheckedOutputStream.java
11890         java/util/zip/Checksum.java
11891         java/util/zip/DataFormatException.java
11892         java/util/zip/Deflater.java
11893         java/util/zip/DeflaterOutputStream.java
11894         java/util/zip/GZIPInputStream.java
11895         java/util/zip/GZIPOutputStream.java
11896         java/util/zip/Inflater.java
11897         java/util/zip/InflaterInputStream.java
11898         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11899         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11900         java/util/zip/ZipInputStream.java
11901         java/util/zip/ZipOutputStream.java
11902         javax/naming/BinaryRefAddr.java
11903         javax/naming/InvalidNameException.java javax/naming/Name.java
11904         javax/naming/NamingException.java javax/naming/RefAddr.java
11905         javax/naming/StringRefAddr.java: Add license clarification.
11906
11907 2002-01-22  Tom Tromey  <tromey@redhat.com>
11908
11909         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11910         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11911         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11912         version.
11913         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11914         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11915         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11916         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11917         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11918         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11919         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11920         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11921         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11922         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11923         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11924         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11925         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11926         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11927         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11928         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11929         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11930         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11931         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11932         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11933         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11934         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11935         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11936         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11937         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11938         (minimumSize, preferredSize, reshape): Likewise.
11939         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11940         getColorModel): New methods.
11941         * java/awt/PopupMenu.java: Merged with Classpath.
11942         * java/awt/MenuBar.java: Merged with Classpath.
11943         * java/awt/SystemColor.java: Replace with Classpath version.
11944         * java/awt/Panel.java: Merged with Classpath.
11945         * java/awt/PaintContext.java: Updated copyright.
11946         * java/awt/MenuShortcut.java: Merged with Classpath.
11947         * java/awt/MenuContainer.java: Merged with Classpath.
11948         * java/awt/Menu.java: Merged with Classpath.
11949         * java/awt/MediaEntry.java: New file from Classpath.
11950         * java/awt/MediaTracker.java: New file from Classpath.
11951         * java/awt/List.java: Merged with Classpath version.
11952         * java/awt/Insets.java: Merged with Classpath version.
11953         * java/awt/ImageMediaEntry.java: New file from Classpath.
11954         * java/awt/Image.java: Replaced with Classpath version.
11955         * java/awt/FontMetrics.java: Merged with Classpath version.
11956         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11957         constant.
11958         * java/awt/Font.java: Merged with Classpath version.
11959         * java/awt/Dialog.java: Merged with Classpath version.
11960         * java/awt/Color.java: Merged with Classpath version.
11961         * java/awt/Choice.java: Merged with Classpath version.
11962         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11963         * java/awt/Adjustable.java: Replace with Classpath version.
11964         * java/awt/MenuItem.java (paramString): Don't include class name
11965         or brackets.  Call superclass paramString.
11966         * java/awt/MenuComponent.java (toString): Call paramString.
11967         (paramString): Compute string; don't call toString.
11968         * java/awt/Label.java (paramString): Don't include class name
11969         or brackets.  Call superclass paramString.
11970         * java/awt/Checkbox.java (paramString): Don't include class name
11971         or brackets.  Call superclass paramString.
11972         * java/awt/Button.java (paramString): Don't include class name or
11973         brackets.  Call superclass paramString.
11974         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11975
11976 2002-01-20  Andreas Schwab  <schwab@suse.de>
11977
11978         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11979         function and of parameter recv_func to ssize_t, as specified by
11980         POSIX.
11981
11982 2002-01-19  Per Bothner  <per@bothner.com>
11983
11984         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11985         uncompressed_size in readiness for next entry.
11986
11987 2002-01-18  Tom Tromey  <tromey@redhat.com>
11988
11989         * java/net/natPlainSocketImpl.cc: Include
11990         IllegalArgumentException.h.
11991         (_Jv_recv): New template function.
11992         (BooleanClass): Removed.
11993         (read): Use _Jv_recv.
11994         (setOption): Use Boolean::class$.  Throw exception if object is
11995         not Boolean or Integer.
11996
11997 2002-01-17  Tom Tromey  <tromey@redhat.com>
11998
11999         * java/awt/MenuComponent.java: Merged with Classpath.
12000         * java/awt/MenuItem.java: Merged with Classpath.
12001         * java/awt/Button.java: Merged with Classpath.
12002
12003         * java/awt/ActiveEvent.java: Updated copyright.
12004
12005         * java/awt/AWTError.java: Replaced with Classpath version.
12006         * java/awt/AWTException.java: Replaced with Classpath version.
12007         * java/awt/IllegalComponentStateException.java: Replaced with
12008         Classpath version.
12009
12010 2002-01-16  Tom Tromey  <tromey@redhat.com>
12011
12012         * java/awt/Canvas.java (serialVersionUID): New constant.
12013         Updated copyright.  Added javadoc from Classpath.
12014         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12015
12016         * java/awt/CheckboxGroup.java: Merged with Classpath.
12017         * java/awt/Checkbox.java: Merged with Classpath.
12018
12019         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12020         Classpath.
12021         * java/awt/Point.java: Updated copyright.
12022
12023         * java/awt/Point.java (toString): Use getClass().getName().
12024         Added javadoc.
12025
12026         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12027         commented code.
12028         (hash): Correctly compute initial value for `h'.
12029
12030         * java/awt/Label.java: Merged with Classpath.
12031
12032 2002-01-15  Tom Tromey  <tromey@redhat.com>
12033
12034         * java/awt/AWTPermission.java: Updated copyright.
12035
12036         * java/awt/LayoutManager2.java: Merged with Classpath.
12037         * java/awt/LayoutManager.java: Merged with Classpath.
12038         * java/awt/GridLayout.java: Updated copyright and javadoc.
12039         (getSize): Use `parent.ncomponents'.  Handle insets.
12040         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12041         there are fewer children than columns.  Correctly compute size of
12042         each cell in the grid.  Handle case where there isn't enough
12043         space.
12044         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12045         all users.
12046         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12047         before calling setVisible() on it.  Last item is `num - 1', not
12048         `num'.
12049         (layoutContainer): Hoist invariants out of loop.
12050
12051         Start of AWT merge with Classpath:
12052         * Makefile.in: Rebuilt.
12053         * Makefile.am (awt_java_source_files): Reference files in
12054         gnu/java/awt, not gnu/gcj/awt.
12055         * java/awt/image/BufferedImage.java: Updated copyright.
12056         * java/awt/image/ComponentColorModel.java: Updated copyright.
12057         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12058         * java/awt/image/DataBuffer.java: Updated copyright.
12059         * java/awt/image/DataBufferByte.java: Updated copyright.
12060         * java/awt/image/DataBufferInt.java: Updated copyright.
12061         * java/awt/image/DataBufferUShort.java: Updated copyright.
12062         * java/awt/image/IndexColorModel.java: Updated copyright.
12063         * java/awt/image/PackedColorModel.java: Updated copyright.
12064         * java/awt/image/Raster.java: Updated copyright.
12065         * java/awt/image/RasterOp.java: Updated copyright.
12066         * java/awt/image/SampleModel.java: Updated copyright.
12067         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12068         * java/awt/image/WritableRaster.java: Updated copyright.
12069         * java/awt/color/ColorSpace.java: Updated copyright.
12070         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12071         * java/awt/color/ICC_Profile.java: Updated copyright.
12072         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12073         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12074         * java/awt/event/HierarchyEvent.java: Updated copyright.
12075         * java/awt/event/HierarchyListener.java: Updated copyright.
12076         * java/awt/geom/AffineTransform.java: Updated copyright.
12077         * java/awt/geom/Dimension2D.java: Updated copyright.
12078         * java/awt/geom/Ellipse2D.java: Updated copyright.
12079         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12080         * java/awt/geom/Line2D.java: Updated copyright.
12081         * java/awt/geom/NoninvertibleTransformException.java: Updated
12082         copyright.
12083         * java/awt/geom/PathIterator.java: Updated copyright.
12084         * java/awt/geom/Point2D.java: Updated copyright.
12085         * java/awt/geom/Rectangle2D.java: Updated copyright.
12086         * java/awt/geom/RectangularShape.java: Updated copyright.
12087         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12088         * java/awt/Toolkit.java: Updated import for file moves.
12089         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12090         Classpath.
12091         (hashCode): New method from Classpath.
12092         * java/awt/Graphics2D.java: Updated copyright.
12093         * java/awt/Transparency.java: Updated copyright.
12094         * java/awt/Paint.java: Updated copyright.
12095         * java/awt/Graphics.java: New version from Classpath.
12096         * java/awt/EventDispatchThread.java: Updated copyright.
12097         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12098         children.
12099         (gotoComponent): Wrap around on next/previous.
12100         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12101         * gnu/gcj/awt/Buffers.java: Removed.
12102         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12103         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12104         * gnu/java/awt/BitMaskExtent.java: Added.
12105         * gnu/java/awt/Buffers.java: Added.
12106         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12107         * gnu/java/awt/GLightweightPeer.java: Added.
12108         * java/awt/geom/Line2D.java (clone): Ignore
12109         CloneNotSupportedException.
12110         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12111         * java/awt/Frame.java: Merged with Classpath.
12112         * java/awt/RenderingHints.java: Copyright update.
12113         * java/awt/Paint.java: Copyright update.
12114         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12115         * java/awt/image/ColorModel.java: Merged with Classpath.
12116         * java/awt/Window.java (show): New Implementation from Classpath.
12117         (isShowing): Use super.isShowing().
12118         * java/awt/EventQueue.java: Merged with Classpath.
12119         * java/awt/AWTEventMulticaster.java (save): Throw
12120         RuntimeException.
12121         (saveInternal): Likewise.
12122         * java/awt/AWTEvent.java: Now implements Serializable.
12123         * java/awt/Event.java: Copyright update.
12124         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12125         * java/awt/image/BufferedImage.java: Copyright update.
12126         * java/awt/GraphicsConfiguration.java: Copyright update.
12127         * java/awt/Component.java: (addNotify): Don't call
12128         addNotifyContainerChildren().
12129         (addNotifyContainerChildren): Removed.
12130         (setPeer): New method from Classpath.
12131         (setTreeLock): Likewise.
12132         (setVisible): Rewrote.
12133         (show): Use it.
12134         (hide): Likewise.
12135         (validate): Set `valid'.
12136         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12137         (createImage(ImageProducer)): Likewise.
12138         (prepareImage): Likewise.
12139         * java/awt/Container.java (addImpl): Handle case where constraint
12140         is not a String.  Post event via system event queue.
12141         (remove): Post event via system event queue.
12142         (validateTree): Only validate child if it is invalid.
12143         (getAlignmentX): Call super method as default.
12144         (getAlignmentY): Likewise.
12145         (addContainerListener): Now synchronized.
12146         (removeContainerListener): Likewise.
12147         (addNotifyContainerChildren): Now private.
12148         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12149         @author.
12150         * java/awt/FlowLayout.java (serialVersionUID): New field.
12151         (setAlignment): Better exception message.
12152         (layoutContainer): Don't compute component's preferred size unless
12153         we're going to use it.
12154         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12155         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12156         (firstLine, lastLine, firstItem, lastItem): New fields.
12157         (addLayoutComponent): Handle case where constraints is null.
12158         Also, handle relative locations.
12159         (removeLayoutComponent): Handle relative locations.
12160         (MIN, MAX, PREF): New constants.
12161         (calcCompSize): New method.
12162         (calcSize): New method.
12163         (minimumLayoutSize): Use it.
12164         (preferredLayoutSize): Likewise.
12165         (maximumLayoutSize): Likewise.
12166         (toString): Include more information.
12167         (setBounds): New method.
12168         (layoutContainer): Use libgcj implementation; extended to handle
12169         relative locations.
12170
12171 2002-01-15  Tom Tromey  <tromey@redhat.com>
12172
12173         * java/lang/Float.java (equals): Preserve old code.
12174         * java/lang/Double.java (equals): Preserve old code.
12175
12176 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12177
12178         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12179         * java/lang/Float.java (equals, compare): Ditto.
12180
12181 2002-01-13  Mark Wielaard  <mark@klomp.org>
12182
12183         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12184         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12185         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12186         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12187
12188 2002-01-11  Mark Wielaard  <mark@klomp.org>
12189
12190         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12191         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12192         InetAddress.
12193         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12194         * java/net/Socket.java: Merge with Classpath.
12195         * java/net/ServerSocket.java: Likewise.
12196
12197 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12198
12199         * interpret.cc (NULLARRAYCHECK): New macro.
12200         (SAVE_PC): Just store `pc'.
12201         (find_exception): Subtract one from `pc' here.
12202         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12203         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12204         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12205         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12206         don't call SAVE_PC.
12207         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12208         call SAVE_PC.
12209
12210 2002-01-11  Tom Tromey  <tromey@redhat.com>
12211
12212         * java/lang/natSystem.cc (init_properties): Only look for default
12213         locale if LC_MESSAGES is defined.
12214         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12215         * configure.in: Call AM_LC_MESSAGES.
12216         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12217
12218 2002-01-10  Tom Tromey  <tromey@redhat.com>
12219
12220         For PR libgcj/5303:
12221         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12222         --version.  Recognize GNU-style long options.  Print GNU-style
12223         error messages.
12224         (usage): Print GNU-style help.  Exit with status 0.
12225         (error): New method.
12226         (run): Print error message if no class names found.
12227         (main): Don't print usage on error.
12228
12229 2002-01-09  Tom Tromey  <tromey@redhat.com>
12230
12231         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12232         property.
12233         (help, version): Use println(), not println("").
12234
12235         For PR libgcj/5303:
12236         * gnu/gcj/convert/Convert.java (error): Program is called
12237         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12238         -1.
12239         (main): Handle --help and --version.
12240         (help): New method.
12241         (version): Likewise.
12242
12243 2002-01-08  Tom Tromey  <tromey@redhat.com>
12244
12245         * Makefile.in: Rebuilt.
12246         * Makefile.am (ordinary_java_source_files): Added new files.
12247         * gnu/java/locale/LocaleInformation.java: Extend
12248         LocaleInformation_en.
12249         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12250         and time/date formats.
12251         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12252         generated.
12253         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12254         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12255         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12256         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12257         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12258         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12259         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12260         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12261         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12262         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12263         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12264         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12265         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12266         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12267         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12268         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12269         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12270         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12271         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12272         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12273         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12274         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12275         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12276         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12277         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12278         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12279         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12280         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12281         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12282         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12283         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12284         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12285         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12286         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12287         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12288         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12289         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12290         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12291         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12292         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12293         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12294         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12295         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12296         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12297         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12298         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12299         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12300         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12301         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12302         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12303         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12304         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12305         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12306         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12307         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12308         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12309         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12310         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12311         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12312         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12313         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12314         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12315         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12316         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12317         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12318         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12319         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12320         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12321         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12322         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12323         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12324         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12325         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12326         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12327         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12328         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12329         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12330         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12331         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12332         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12333         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12334         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12335         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12336         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12337         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12338         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12339         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12340         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12341         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12342         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12343         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12344         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12345         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12346         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12347         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12348         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12349         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12350         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12351         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12352         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12353         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12354         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12355         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12356         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12357         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12358         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12359         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12360         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12361         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12362         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12363         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12364         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12365         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12366         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12367         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12368         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12369         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12370         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12371         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12372         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12373         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12374         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12375         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12376         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12377         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12378         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12379         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12380         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12381         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12382         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12383
12384         For PR libgcj/5031:
12385         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12386         choose default locale.
12387
12388         * Makefile.in: Rebuilt.
12389         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12390
12391 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12392
12393         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12394         sockets.
12395         (close): New function closes the socket.
12396         (write): New functions for output to socket.
12397         (read): New functions for reading from socket.
12398         * java/net/PlainSocketImpl.java: Glue for new timeout
12399         implementation.
12400         (write): Call the native impl.
12401         (read): Likewise.
12402         (getInputStream): Get a stream to read from the socket.
12403         (getOutputStream): Get a stream to write to the socket.
12404
12405 2002-01-08  Tom Tromey  <tromey@redhat.com>
12406
12407         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12408
12409 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12410
12411         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12412         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12413
12414 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12415
12416         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12417         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12418         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12419         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12420         insn_bastore, insn_castore, insn_sastore]: Use it.
12421         (continue1) [insn_arraylength]: Check for null array.
12422
12423 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12424
12425         * configure, include/config.h.in: Rebuilt.
12426         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12427         * configure.in: Call AC_STRUCT_TIMEZONE.
12428
12429 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12430
12431         * configure.host: Disable the interpreter for Darwin.
12432
12433 2002-01-04  Tom Tromey  <tromey@redhat.com>
12434
12435         * java/lang/Thread.java (stop): No longer synchronized.
12436         (start): Likewise.
12437
12438 2002-01-02  Tom Tromey  <tromey@redhat.com>
12439
12440         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12441         patch.
12442
12443 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12444
12445         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12446         PPC Darwin, not for all of Darwin.