[ ChangeLog ]
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2
3         * java/awt/geom/CubicCurve2D.java,
4         java/awt/geom/Line2D.java,
5         java/awt/geom/QuadCurve2D.java,
6         java/awt/geom/Rectangle2D.java: 
7         Fix path some calculations, make path iterators follow
8         a consistent style.
9
10 2003-07-18  Mark Wielaard  <mark@klomp.org>
11
12         * java/util/logging/Handler.java (isLoggable): Check record level
13         smaller or equal.
14
15 2003-07-17  Michael Koch  <konqueror@gmx.de>
16
17         * gnu/java/awt/peer/gtk/GtkToolkit.java:
18         Reworked imports.
19
20 2003-07-14  Michael Koch  <konqueror@gmx.de>
21
22         * gnu/java/rmi/server/UnicastServerRef.java:
23         New version from classpath.
24
25 2003-07-14  Michael Koch  <konqueror@gmx.de>
26
27         * java/awt/image/MemoryImageSource.java,
28         java/beans/PropertyEditorManager.java,
29         javax/naming/CompoundName.java,
30         javax/naming/spi/NamingManager.java,
31         javax/swing/AbstractButton.java,
32         javax/swing/ButtonModel.java,
33         javax/swing/SwingUtilities.java,
34         javax/swing/UIManager.java,
35         javax/swing/colorchooser/DefaultColorSelectionModel.java,
36         javax/swing/event/AncestorEvent.java,
37         javax/swing/event/InternalFrameEvent.java,
38         java/util/zip/ZipFile.java:
39         New versions from classpath.
40
41 2003-07-13  Michael Koch  <konqueror@gmx.de>
42
43         * gnu/java/nio/FileChannelImpl.java,
44         gnu/java/nio/natFileChannelImpl.cc: Removed.
45         * java/io/FileInputStream.java,
46         java/io/FileOutputStream.java,
47         java/io/RandomAccessFile.java,
48         java/nio/MappedByteBufferImpl.java:
49         Import java.nio.channels.FileChannelImpl instead of
50         gnu.java.nio.FileChannelImpl.
51         * java/nio/channels/FileChannelImpl.java,
52         java/nio/channels/natFileChannelImpl.cc:
53         New files.
54         * Makefile.am
55         (ordinary_java_source_files):
56         Removed gnu/java/nio/FileChannelImpl.java and added
57         java/nio/channels/FileChannelImpl.java.
58         (nat source_files):
59         Removed gnu/java/nio/natFileChannelImpl.cc and added
60         java/nio/channels/natFileChannelImpl.cc.
61         * Makefile.in: Regenerated.
62
63 2003-07-13  Michael Koch  <konqueror@gmx.de>
64
65         * javax/swing/plaf/basic/BasicBorders.java,
66         javax/swing/plaf/basic/BasicLabelUI.java,
67         javax/swing/plaf/basic/BasicLookAndFeel.java,
68         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
69         javax/swing/plaf/basic/BasicTextUI.java,
70         javax/swing/plaf/metal/MetalLookAndFeel.java:
71         New versions from classpath.
72
73 2003-07-13  Michael Koch  <konqueror@gmx.de>
74
75         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
76         * gnu/java/awt/peer/gtk/GdkGraphics.java
77         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
78         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
79         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
80         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
81         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
82         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
83         * gnu/java/awt/peer/gtk/GtkClipboard.java
84         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
85         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
86         * gnu/java/awt/peer/gtk/GtkFramePeer.java
87         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
88         * gnu/java/awt/peer/gtk/GtkImage.java
89         * gnu/java/awt/peer/gtk/GtkImagePainter.java
90         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
91         * gnu/java/awt/peer/gtk/GtkListPeer.java
92         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
93         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
94         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
95         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
96         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
97         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
98         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
99         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
100         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
101         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
102         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
103         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
104
105 2003-07-13  Michael Koch  <konqueror@gmx.de>
106
107         * gnu/java/locale/LocaleInformation_de.java
108         * gnu/java/locale/LocaleInformation_en.java
109         * gnu/java/locale/LocaleInformation_nl.java
110
111 2003-07-13  Michael Koch  <konqueror@gmx.de>
112
113         * gnu/java/awt/EmbeddedWindow.java,
114         gnu/java/awt/EmbeddedWindowSupport.java,
115         gnu/java/awt/natEmbeddedWindow.cc:
116         New files.
117         * java/awt/Window.java
118         (Window): New constructor to support embedded windows.
119         * Makefile.am
120         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
121         gnu/java/awt/EmbeddedWindowSupport.java.
122         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
123         * Makefile.in: Regenerated.
124
125 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
126
127         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
128         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
129         * java/awt/im/InputContext.java: Remove a redundant
130         partial line.
131
132 2003-07-09  Tom Tromey  <tromey@redhat.com>
133
134         * Makefile.in: Rebuilt.
135         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
136
137 2003-07-09  Mark Wielaard  <mark@klomp.org>
138
139         * java/io/ObjectOutputStream.java (writeObject): break after
140         calling writeClassDescriptor().
141
142 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
143
144         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
145
146 2003-07-09  Michael Koch  <konqueror@gmx.de>
147
148         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
149         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
150         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
151         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
152         Explicitly import used classes.
153         * java/awt/Container.java: New version from classpath.
154
155 2003-07-09  Michael Koch  <konqueror@gmx.de>
156
157         * libgcj.pc.in: New file.
158         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
159         * Makefile.in: Regenerated.
160         * configure: Regenrated.
161         * configure.in: Create libgcj.pc from libgcj.pc.in.
162
163 2003-07-08  Mark Wielaard <mark@klomp.org>
164
165         * gcj/cni.h: CNI now expands to Compiled Native Interface.
166
167         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
168         * java/lang/fdlibm.h: Likewise.
169
170 2003-07-07  Adam Megacz <adam@xwt.org>
171
172         * posix.cc: added #include<stdio.h>
173                 
174 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
175
176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
177         formatting.
178
179         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
180         (setCaretPosition, setEditable): Rely entirely on native
181         implementation.
182         (getArgs): Remove.
183         (postTextEvent): New method.
184         (handleEvent): New method.
185         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
186         method.
187         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
189         (keysym_to_awt_keycode): Fix range checks.
190         (generates_key_typed_event): New function.
191         (awt_event_handler): Post AWT_KEY_RELEASED events to event
192         queue.
193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
194         (gtkInit): Store TextComponent's postTextEvent method ID.
195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
196         (setText): Post TEXT_VALUE_CHANGED event to event queue.
197
198 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
199
200         * configure.in: Check for usleep declaration.
201         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
202         * configure: Regenerate.
203         * include/config.h.in: Likewise.
204         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
205
206 2003-07-01  Michael Koch  <konqueror@gmx.de>
207
208         * gnu/gcj/convert/natIconv.cc
209         (iconv_init): Fixed possible memory leak by releasing allocated iconv
210         handle.
211
212 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
213
214         * glib-2.0.m4: New file.
215         * gtk-2.0.m4: New file.
216         * glib.m4: Remove.
217         * gtk.m4: Remove.
218         * configure.in: Update AM_PATH_GTK macro call to
219         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
222         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
223         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
225         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
226         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
229         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
231         jni/gtk-peer/gthread-jni.c,
232         jni/gtk-peer/gthread-jni.h:
233         New versions from classpath.
234         * aclocal.m4: Regenerate.
235         * configure: Regenerate.
236         * Makefile.in: Regenerate.
237         * gcj/Makefile.in: Regenerate.
238         * include/Makefile.in: Regenerate.
239         * testsuite/Makefile.in: Regenerate.
240
241 2003-06-30  Gary Benson  <gbenson@redhat.com>
242
243         For PR libgcj/11349:
244         * javax/naming/spi/NamingManager.java (getURLContext): Use
245         correct name for factory class.
246
247 2003-06-28  Michael Koch  <konqueror@gmx.de>
248
249         * java/io/PrintStream.java
250         (checkError): Call flush() instead of direct flushing of the Writer
251         object.
252         (print): Call print(String) instead of direct print method of the
253         Writer Object.
254         (println): Call println(String) instead of direct println method of the
255         Writer Object.
256         (write): Simplified.
257
258 2003-06-28  Michael Koch  <konqueror@gmx.de>
259
260         * java/net/ServerSocket.java
261         (setChannel): New method.
262         * java/net/Socket.java
263         (setChannel): New method.
264
265 2003-06-27  Michael Koch  <konqueror@gmx.de>
266
267         * java/beans/beancontext/BeanContextSupport.java:
268         New version from classpath.
269
270 2003-06-27  Michael Koch  <konqueror@gmx.de>
271
272         * java/awt/Window.java,
273         java/awt/font/GraphicAttribute.java,
274         java/awt/font/ImageGraphicAttribute.java,
275         java/awt/image/DataBufferByte.java,
276         java/awt/image/DataBufferInt.java,
277         java/awt/image/DataBufferUShort.java,
278         java/awt/image/DirectColorModel.java,
279         java/awt/image/PixelGrabber.java:
280         New versions from classpath.
281
282 2003-06-27  Michael Koch  <konqueror@gmx.de>
283
284         * java/security/Certificate.java
285         (getGuarantor): Removed wrong @deprecated tag.
286         (getPrincipal): Likewise.
287         (getPublicKey): Likewise.
288         (encode): Likewise.
289         (decode): Likewise.
290         (getFormat): Likewise.
291         (toString): Likewise.
292         * java/security/cert/PolicyQualifierInfo.java
293         (PolicyQualifierInfo): Made final.
294         * javax/security/auth/x500/X500Principal.java
295         (serialVersionUID): New member variable.
296
297 2003-06-27  Michael Koch  <konqueror@gmx.de>
298
299         * java/text/Format.java
300         (serialVersionUID): Fixed value.
301
302 2003-06-27  Michael Koch  <konqueror@gmx.de>
303
304         * java/net/Inet4Address.java
305         (Inet4Address): Made package-private.
306         * java/net/Inet6Address.java
307         (Inet4Address): Made package-private.
308
309 2003-06-27  Michael Koch  <konqueror@gmx.de>
310
311         * java/io/RandomAccessFile.java
312         (readLine): Removed wrong @deprecated tag.
313         (getChannel): Made final.
314
315 2003-06-27  Michael Koch  <konqueror@gmx.de>
316
317         * gnu/java/nio/FileChannelImpl.java
318         (write): Removed.
319
320 2003-06-27  Michael Koch  <konqueror@gmx.de>
321
322         * java/nio/ByteBufferImpl.java
323         (ByteBufferImpl): Made it a package-private class
324         * java/nio/CharBufferImpl.java
325         (CharBufferImpl): Made it a package-private class
326         * java/nio/DirectByteBufferImpl.java
327         (DirectByteBufferImpl): Made it a package-private class
328         * java/nio/DoubleBufferImpl.java
329         (DoubleBufferImpl): Made it a package-private class
330         * java/nio/FloatBufferImpl.java
331         (FloatBufferImpl): Made it a package-private class
332         * java/nio/IntBufferImpl.java
333         (IntBufferImpl): Made it a package-private class
334         * java/nio/LongBufferImpl.java
335         (LongBufferImpl): Made it a package-private class
336         * java/nio/ShortBufferImpl.java
337         (ShortBufferImpl): Made it a package-private class
338         * java/nio/channels/FileChannel.java
339         (write): Made final.
340         * java/nio/channels/ServerSocketChannel.java
341         (ServerSocketChanne): Made protected.
342
343 2003-06-27  Michael Koch  <konqueror@gmx.de>
344
345         * javax/naming/CompositeName.java
346         (serialVersionUID): New member variable.
347         * javax/naming/CompoundName.java
348         (serialVersionUID): New member variable.
349         * javax/naming/InitialContext.java
350         (InitialContext): Throws NamingException.
351         (init): Likewise.
352         * javax/naming/LinkRef.java
353         (serialVersionUID): New member variable.
354         (gteLinkName): Throws NamingException.
355         * javax/naming/NamingException.java
356         (serialVersionUID): New member variable.
357         * javax/naming/NamingSecurityException.java
358         (NamingSecurityException): Made abstract.
359         (serialVersionUID): New member variable.
360         * javax/naming/ReferralException.java
361         (serialVersionUID): New member variable.
362         * javax/naming/StringRefAddr.java
363         (serialVersionUID): New member variable.
364         * javax/naming/directory/BasicAttribute.java:
365         Reworked imports.
366         (serialVersionUID): New member variable.
367         (get): Throws NamingException.
368         (getAll): Throws NamingException.
369         * javax/naming/directory/BasicAttributes.java:
370         Reworked imports.
371         (serialVersionUID): New member variable.
372         * javax/naming/ldap/UnsolicitedNotificationEvent.java
373         (serialVersionUID): New member variable.
374
375 2003-06-27  Michael Koch  <konqueror@gmx.de>
376
377         * Makefile.am
378         (awt_java_source_files): Added new files:
379         javax/swing/Popup.java,
380         javax/swing/PopupFactory.java
381         * Makefile.in: Regenerated.
382
383 2003-06-27  Michael Koch  <konqueror@gmx.de>
384
385         * javax/swing/JWindow.java,
386         javax/swing/event/AncestorEvent.java,
387         javax/swing/event/HyperlinkEvent.java,
388         javax/swing/event/InternalFrameEvent.java,
389         javax/swing/event/ListDataEvent.java,
390         javax/swing/event/TableModelEvent.java,
391         javax/swing/plaf/PopupMenuUI.java,
392         javax/swing/plaf/SplitPaneUI.java,
393         javax/swing/plaf/TabbedPaneUI.java,
394         javax/swing/plaf/TextUI.java,
395         javax/swing/plaf/TreeUI.java,
396         javax/swing/plaf/basic/BasicTextUI.java,
397         javax/swing/plaf/basic/BasicTreeUI.java:
398         New versions from classpath.
399         * javax/swing/Popup.java,
400         javax/swing/PopupFactory.jav:
401         New source files from classpath.
402         * javax/swing/plaf/doc-files/TreeUI-1.png:
403         New binary files from classpath.
404
405 2003-06-25  Michael Koch  <konqueror@gmx.de>
406
407         * Makefile.am
408         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
409         * Makefile.in: Regenerated.
410
411 2003-06-25  Michael Koch  <konqueror@gmx.de>
412
413         * javax/swing/plaf/ActionMapUIResource.java,
414         javax/swing/plaf/BorderUIResource.java,
415         javax/swing/plaf/ButtonUI.java,
416         javax/swing/plaf/ColorChooserUI.java,
417         javax/swing/plaf/ColorUIResource.java,
418         javax/swing/plaf/ComboBoxUI.java,
419         javax/swing/plaf/ComponentInputMapUIResource.java,
420         javax/swing/plaf/ComponentUI.java,
421         javax/swing/plaf/DesktopIconUI.java,
422         javax/swing/plaf/DesktopPaneUI.java,
423         javax/swing/plaf/DimensionUIResource.java,
424         javax/swing/plaf/FileChooserUI.java,
425         javax/swing/plaf/FontUIResource.java,
426         javax/swing/plaf/IconUIResource.java,
427         javax/swing/plaf/InputMapUIResource.java,
428         javax/swing/plaf/InsetsUIResource.java,
429         javax/swing/plaf/InternalFrameUI.java,
430         javax/swing/plaf/LabelUI.java,
431         javax/swing/plaf/ListUI.java,
432         javax/swing/plaf/MenuBarUI.java,
433         javax/swing/plaf/MenuItemUI.java,
434         javax/swing/plaf/OptionPaneUI.java,
435         javax/swing/plaf/PanelUI.java,
436         javax/swing/plaf/ProgressBarUI.java,
437         javax/swing/plaf/RootPaneUI.java,
438         javax/swing/plaf/ScrollBarUI.java,
439         javax/swing/plaf/ScrollPaneUI.java,
440         javax/swing/plaf/SeparatorUI.java,
441         javax/swing/plaf/SliderUI.java,
442         javax/swing/plaf/TableHeaderUI.java,
443         javax/swing/plaf/TableUI.java,
444         javax/swing/plaf/ToolBarUI.java,
445         javax/swing/plaf/ToolTipUI.java,
446         javax/swing/plaf/ViewportUI.java:
447         New versions from classpath.
448         * javax/swing/plaf/SpinnerUI.java: 
449         New file from classpath
450
451 2003-06-25  Michael Koch  <konqueror@gmx.de>
452
453         * java/awt/image/ColorModel.java:
454         New version from classpath.
455
456 2003-06-25  Michael Koch  <konqueror@gmx.de>
457
458         * java/net/PlainDatagramSocketImpl.java:
459         Partly merged with classpath, this mainly adds documentation.
460
461 2003-06-25  Michael Koch  <konqueror@gmx.de>
462
463         * java/io/ObjectInputStream.java
464         (readClassDescriptor): New method.
465         (readObject): Moved functionality to readClassDescriptor().
466         * java/io/ObjectOutputStream.java
467         (writeClassDescriptor): New method.
468         (writeObject): Moved functionality to writeClassDescriptor().
469
470 2003-06-25  Michael Koch  <konqueror@gmx.de>
471
472         * javax/swing/plaf/basic/BasicListUI.java,
473         javax/swing/plaf/basic/BasicOptionPaneUI.java:
474         Added missing methods.
475
476 2003-06-25  Michael Koch  <konqueror@gmx.de>
477
478         * javax/swing/event/AncestorEvent.java
479         javax/swing/event/HyperlinkEvent.java
480         javax/swing/event/InternalFrameEvent.java
481         javax/swing/event/ListDataEvent.java
482         javax/swing/event/TableModelEvent.java:
483         Compile fixes.
484
485 2003-06-24  Michael Koch  <konqueror@gmx.de>
486
487         * java/net/URL.java:
488         Renamed "handler" to "ph" in the whole file to match classpaths
489         version.
490         * java/net/URLStreamHandler.java:
491         (equals): Renamed "handler" to "ph".
492
493 2003-06-24  Michael Koch  <konqueror@gmx.de>
494
495         * javax/swing/event/AncestorEvent.java,
496         javax/swing/event/HyperlinkEvent.java,
497         javax/swing/event/InternalFrameEvent.java,
498         javax/swing/event/ListDataEvent.java,
499         javax/swing/event/TableModelEvent.java,
500         javax/swing/event/TreeWillExpandListener.java,
501         javax/swing/plaf/ComponentUI.java,
502         javax/swing/plaf/DesktopIconUI.java,
503         javax/swing/plaf/DesktopPaneUI.java,
504         javax/swing/plaf/DimensionUIResource.java,
505         javax/swing/plaf/FileChooserUI.java,
506         javax/swing/plaf/FontUIResource.java,
507         javax/swing/plaf/IconUIResource.java,
508         javax/swing/plaf/InputMapUIResource.java,
509         javax/swing/plaf/InsetsUIResource.java,
510         javax/swing/plaf/InternalFrameUI.java,
511         javax/swing/plaf/LabelUI.java,
512         javax/swing/plaf/ListUI.java,
513         javax/swing/plaf/MenuBarUI.java,
514         javax/swing/plaf/MenuItemUI.java,
515         javax/swing/plaf/OptionPaneUI.java,
516         javax/swing/plaf/PanelUI.java,
517         javax/swing/plaf/ProgressBarUI.java,
518         javax/swing/plaf/doc-files/ComponentUI-1.dia,
519         javax/swing/plaf/doc-files/ComponentUI-1.png:
520         New versions from classpath.
521
522 2003-06-24  Michael Koch  <konqueror@gmx.de>
523
524         * java/nio/Buffer.java
525         (cap): Made package-private.
526         (pos): Likewise.
527         (limit): Likewise.
528         (mark): Likewise.
529
530 2003-06-24  Michael Koch  <konqueror@gmx.de>
531
532         * java/net/SocketImpl.java
533         (shutdownInput): Made it non-abstract method throwing an exception
534         like in SUNs JRE.
535         (shutdownOutput): Likewise.
536         * java/net/SocketInputStream.java,
537         java/net/SocketOutputStream.java:
538         New files from classpath.
539
540 2003-06-24  Michael Koch  <konqueror@gmx.de>
541
542         * java/awt/Font.java,
543         java/awt/Window.java,
544         java/awt/color/ColorSpace.java,
545         java/awt/datatransfer/StringSelection.java,
546         java/awt/image/ColorModel.java:
547         New versions from classpath.
548
549 2003-06-24  Michael Koch  <konqueror@gmx.de>
550
551         * Makefile.am
552         (awt_java_source_files): Added new files:
553         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
554         javax/swing/plaf/basic/BasicSplitPaneUI.java
555         * Makefile.in: Regenerated.
556
557 2003-06-24  Michael Koch  <konqueror@gmx.de>
558
559         * javax/swing/text/JTextComponent.java:
560         New version from classpath.
561
562 2003-06-24  Michael Koch  <konqueror@gmx.de>
563
564         * javax/swing/Timer.java,
565         javax/swing/plaf/ActionMapUIResource.java,
566         javax/swing/plaf/ButtonUI.java,
567         javax/swing/plaf/ColorChooserUI.java,
568         javax/swing/plaf/ColorUIResource.java,
569         javax/swing/plaf/ComboBoxUI.java,
570         javax/swing/plaf/ComponentInputMapUIResource.java,
571         javax/swing/plaf/basic/BasicBorders.java:
572         New versions from classpath.
573         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
574         javax/swing/plaf/basic/BasicSplitPaneUI.java:
575         New file from classpath.
576         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
577         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
578         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
579         javax/swing/plaf/doc-files/ComponentUI-1.dia,
580         javax/swing/plaf/doc-files/ComponentUI-1.png:
581         New binary files from classpath.
582
583 2003-06-24  Michael Koch  <konqueror@gmx.de>
584
585         * java/io/LineNumberReader.java
586         (skip): Dont do line number accounting here as this is already done in
587         read(), simplified.
588
589 2003-06-21  Michael Koch  <konqueror@gmx.de>
590
591         * java/io/File.java
592         (static): Load javaio lib if existing (only in classpath).
593         (File): Revised documentation to show the correct argument name.
594         (createTempFile): Partly merged with classpath.
595         (compareTo): Simplified.
596         (lastModified): Throw exception if time < 0.
597         (deleteOnExit): Revised documentation.
598
599 2003-06-21  Michael Koch  <konqueror@gmx.de>
600
601         * java/net/PlainSocketImpl.java:
602         Reformatted.
603         (PlainSocketImpl): Merged class documentaion with classpath.
604         (in): Moved.
605         (out): Moved.
606         (PlainSocketImpl): New empty constructor.
607         (finalize): Moved.
608         (setOption): Merged documentation from classpath.
609         (getOption): Likewise.
610         (create): Likewise.
611         (connect): Likewise.
612         (bind): Likewise.
613         (listen): Likewise.
614         (accept): Likewise.
615         (available): Likewise.
616         (close): Likewise.
617         (read): Likewise.
618         (write): Likewise.
619         (getInputStream): Made synchronozed to get sure that only one stream
620         object can be created for this socket, merged documentation from
621         classpath.
622         (getOutputStream): Likewise.
623
624 2003-06-21  Michael Koch  <konqueror@gmx.de>
625
626         * java/net/PlainSocketImpl.java:
627         Reformatting.
628         (static): New implicit method.
629         (read): Made package private.
630         (write): Likewise.
631
632 2003-06-21  Michael Koch  <konqueror@gmx.de>
633
634         * java/util/SimpleTimeZone.java:
635         Removed unneeded import, reformatting.
636
637 2003-06-21  Michael Koch  <konqueror@gmx.de>
638
639         * java/text/DateFormat.java,
640         java/text/SimpleDateFormat.java,
641         java/util/Locale.java:
642         New versions from classpath.
643
644 2003-06-21  Michael Koch  <konqueror@gmx.de>
645
646         * javax/swing/SpinnerModel.java:
647         New file from classpath.
648         * javax/swing/border/LineBorder.java,
649         javax/swing/border/SoftBevelBorder.java,
650         javax/swing/plaf/BorderUIResource.java,
651         javax/swing/plaf/basic/BasicBorders.java:
652         New versions from classpath.
653         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
654         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
655         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
656         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
657         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
658         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
659         New binary files from classpath.
660
661 2003-06-21  Michael Koch  <konqueror@gmx.de>
662
663         * java/util/logging/LogRecord.java,
664         java/util/logging/Logger.java,
665         java/util/logging/SocketHandler.java,
666         java/util/logging/SimpleFormatter.java,
667         java/util/logging/Formatter.java,
668         java/util/logging/ErrorManager.java,
669         java/util/logging/Handler.java,
670         java/util/logging/FileHandler.java,
671         java/util/logging/LogManager.java,
672         java/util/logging/Level.java,
673         java/util/logging/ConsoleHandler.java,
674         java/util/logging/StreamHandler.java,
675         java/util/logging/LoggingPermission.java,
676         java/util/logging/Filter.java,
677         java/util/logging/MemoryHandler.java,
678         java/util/logging/XMLFormatter.java:
679         New files from classpath.
680
681 2003-06-20  Michael Koch  <konqueror@gmx.de>
682
683         * java/io/ObjectStreamField.java
684         (unshared): new member variable.
685         (ObjectStreamField): New constructor.
686         (isUnshared): New method.
687
688 2003-06-20  Michael Koch  <konqueror@gmx.de>
689
690         * java/net/URLStreamHandler.java
691         (hostsEqual): Rewritten.
692
693 2003-06-20  Michael Koch  <konqueror@gmx.de>
694
695         * gnu/java/nio/MappedByteFileBuffer.java,
696         gnu/java/nio/natMappedByteFileBuffer.cc:
697         Removed
698         * java/nio/MappedByteBufferImpl.java:
699         New file.
700         * gnu/java/nio/FileChannelImpl.java:
701         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
702         * Makefile.am
703         (ordinary_java_source_files): Removed
704         gnu/java/nio/MappedByteFileBuffer.java and added
705         java/nio/MappedByteBufferImpl.java.
706         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
707         * Makefile.in: Regenerated.
708
709 2003-06-19  Michael Koch  <konqueror@gmx.de>
710
711         * gnu/java/nio/DatagramChannelImpl.java
712         (fd): Removed.
713         (blocking): New member variable.
714         (socket): Likewise.
715         (DatagramChannelImpl): Throws IOException, initialize socket.
716         (socket):Implemented.
717         (implCloseSelectableChannel): Throws IOException, implemented.
718         (implConfigureBlocking): Likewise.
719         (connect): Likewise.
720         (disconnect): Likewise.
721         (isConnected): Likewise.
722         (write): Likewise.
723         (read): Likewise.
724         (receive): Throws IOException.
725         (send): Likewise.
726         * gnu/java/nio/SocketChannelImpl.java
727         (read): Implemented.
728         (write): Implemented.
729
730 2003-06-19  Michael Koch  <konqueror@gmx.de>
731
732         * javax/swing/JComponent.java,
733         javax/swing/JInternalFrame.java,
734         javax/swing/MenuSelectionManager.java,
735         javax/swing/SwingUtilities.java,
736         javax/swing/ToggleButtonModel.java:
737         New versions from classpath.
738
739 2003-06-19  Michael Koch  <konqueror@gmx.de>
740
741         * java/text/CollationElementIterator.java
742         (NULLORDER): Initialize with -1 as JDK documentation says.
743
744 2003-06-19  Michael Koch  <konqueror@gmx.de>
745
746         * java/net/HttpURLConnection.java,
747         java/net/Inet4Address.java,
748         java/net/Inet6Address.java,
749         java/net/SocketImpl.java,
750         java/net/URLClassLoader.java:
751         Reworked import statements.
752         * java/net/InetAddress.java
753         (getByAddress): Simplified.
754         * java/net/ServerSocket.java
755         (ServerSocket): Moved special handling during bind operation to
756         bind().
757         (bind): Handle different cases when trying to bind a socket.
758         * java/net/URLConnection.java
759         (getHeaderFieldDate): Merged with classpath.
760         (getHeaderFieldInt): Likewise.
761
762 2003-06-19  Michael Koch  <konqueror@gmx.de>
763
764         * java/util/zip/InflaterInputStream.java
765         (InflaterInputStream): Throw NullPointerException if in is null (as
766         JDK does).
767
768 2003-06-19  Michael Koch  <konqueror@gmx.de>
769
770         * java/awt/Font.java
771         javax/swing/UIManager.java
772         javax/swing/border/AbstractBorder.java
773         javax/swing/border/BevelBorder.java
774         javax/swing/border/Border.java
775         javax/swing/border/CompoundBorder.java
776         javax/swing/border/EmptyBorder.java
777         javax/swing/border/EtchedBorder.java
778         javax/swing/border/LineBorder.java
779         javax/swing/border/MatteBorder.java
780         javax/swing/border/TitledBorder.java
781         javax/swing/plaf/BorderUIResource.java
782         javax/swing/plaf/basic/BasicBorders.java
783         javax/swing/plaf/basic/BasicButtonUI.java
784         javax/swing/plaf/basic/BasicCheckBoxUI.java
785         javax/swing/plaf/basic/BasicGraphicsUtils.java
786         javax/swing/plaf/basic/BasicLabelUI.java
787         javax/swing/plaf/basic/BasicRadioButtonUI.java
788         javax/swing/plaf/basic/BasicToggleButtonUI.java:
789         New versions from classpath.
790         * javax/swing/border/SoftBevelBorder.java:
791         New file from classpath.
792         * javax/swing/border/doc-files/LineBorder-1.png,
793         javax/swing/border/doc-files/BevelBorder-1.png,
794         javax/swing/border/doc-files/BevelBorder-2.png,
795         javax/swing/border/doc-files/BevelBorder-3.png,
796         javax/swing/border/doc-files/EmptyBorder-1.png,
797         javax/swing/border/doc-files/EtchedBorder-1.png,
798         javax/swing/border/doc-files/EtchedBorder-2.png,
799         javax/swing/border/doc-files/MatteBorder-1.png,
800         javax/swing/border/doc-files/MatteBorder-2.png,
801         javax/swing/border/doc-files/MatteBorder-3.png,
802         javax/swing/border/doc-files/MatteBorder-4.png,
803         javax/swing/border/doc-files/MatteBorder-5.png,
804         javax/swing/border/doc-files/MatteBorder-6.png,
805         javax/swing/border/doc-files/SoftBevelBorder-1.png,
806         javax/swing/border/doc-files/SoftBevelBorder-2.png,
807         javax/swing/border/doc-files/SoftBevelBorder-3.png,
808         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
809         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
810         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
811         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
812         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
813         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
814         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
815         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
816         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
817         New binary files from classpath.
818         * Makefile.am
819         (awt_java_source_files): Added
820         javax/swing/border/SoftBevelBorder.java.
821         * Makefile.in: Regenerated.
822
823 2003-06-19  Michael Koch  <konqueror@gmx.de>
824
825         * gnu/java/security/x509/X509Certificate.java
826         (writeReplace): Merged from classpath.
827
828 2003-06-19  Michael Koch  <konqueror@gmx.de>
829
830         * gnu/java/nio/FileChannelImpl.java
831         (map_address): Made public.
832         (FileChannelImpl): Merged with classpath.
833         * gnu/java/nio/natFileChannelImpl.cc
834         (nio_mmap_file): Commented out unused arguments.
835         (nio_unmmap_file): Likewise.
836         (niu_msync): Likewise.
837
838 2003-06-19  Michael Koch  <konqueror@gmx.de>
839
840         * java/awt/image/IndexColorModel.java:
841         New version from classpath.
842
843 2003-06-18  Tom Tromey  <tromey@redhat.com>
844
845         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
846         on arrays.
847         (isLoopbackAddress): Likewise.
848         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
849         on arrays.
850
851 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
852
853         * java/lang/natVMSecurityManager.cc (getClassContext):
854         Use maxlen instead of len for loop bound.
855
856 2003-06-18  Michael Koch  <konqueror@gmx.de>
857
858         * gnu/java/nio/SelectorImpl.java
859         (register): Use fd with value 0 for now, will be fixed later.
860         * gnu/java/nio/ServerSocketChannelImpl.java
861         (fd): Removed.
862         (local_port): Removed.
863         (InetSocketAddress): Removed.
864         (ServerSocketChannelImpl): Just initialize internal socket object.
865         (implCloseSelectableChannel): Close internal socket object.
866         (implConfigureBlocking): Added comment.
867         (accept): Use jaba.net stuff to accept socket.
868         * gnu/java/nio/SocketChannelImpl.java
869         (fd): Removed.
870         (local_port): Removed.
871         (InetSocketAddress): Removed.
872         (SocketCreate): Removed.
873         (SocketConnect): Removed.
874         (SocketBind): Removed.
875         (SocketListen): Removed.
876         (SocketAvailable): Removed.
877         (SocketClose): Removed.
878         (SocketRead): Removed.
879         (SocketWrite): Removed.
880         (SocketChannelImpl): Just initialize internal socket object.
881         (implCloseSelectableChannel): Close internal socket object.
882         (implConfigureBlocking): Fixed implementation, added comment.
883         (connect): Use internal socket object to connect.
884         (socket): No need for sanity checks.
885         (read): Comment out some stuff, this will be reimplemented in the next
886         commit.
887         (write): Likewise.
888         * gnu/java/nio/natFileChannelImpl.cc
889         (nio_mmap_file): Line wrapped.
890         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
891         * Makefile.am
892         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
893         * Makefile.in: Regenerated.
894
895 2003-06-18  Michael Koch  <konqueror@gmx.de>
896
897         * java/util/Locale.java
898         (equals): Merged from classpath.
899
900 2003-06-18  Michael Koch  <konqueror@gmx.de>
901
902         * java/net/InetAddress.java:
903         Reformatted to better match classpath's version.
904         * java/net/URL.java
905         (equals): Simplified.
906         * java/net/URLConnection.java
907         (setDoInput): Revised documentation.
908         (getDefaultUseCaches): Likewise.
909         (setRequestProperty): Added @since tag.
910
911 2003-06-17  Michael Koch  <konqueror@gmx.de>
912
913         * java/net/InetSocketAddress.java
914         (InetSocketAddress): Use wildcard address if addr is null.
915         (InetSocketAddress): Dont duplicate implementation.
916         (InetSocketAddress): Throw exception when hostname is null.
917         * java/net/Socket.java:
918         Reworked imports.
919         (Socket): Throw exception when raddr is null, handle case when laddr
920         is null.
921
922 2003-06-17  Michael Koch  <konqueror@gmx.de>
923
924         * java/nio/DirectByteBufferImpl.java
925         (address): Made package private.
926         (DirectByteBufferImpl): New constructor.
927         * java/nio/natDirectByteBufferImpl.cc
928         (allocateImpl): Moved to java.nio namespace, implemented.
929         (freeImpl): Likewise.
930         (getImpl): Likewise.
931         (putImpl): Likewise.
932         * jni.cc
933         (_Jv_JNI_NewDirectByteBuffer): Implemented.
934         (_Jv_JNI_GetDirectBufferAddress): Implemented.
935         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
936
937 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
938
939         * include/powerpc-signal.h: New File.
940         * configure.in: Use it.
941         * configure: Regenerated.
942
943 2003-06-17  Michael Koch  <konqueror@gmx.de>
944
945         * java/util/Locale.java
946         (getDisplayLanguage): Made it final.
947         (getDisplayCountry): Likewise.
948         (getDisplayVariant): Likewise.
949         (getDisplayName): Likewise.
950
951 2003-06-17  Michael Koch  <konqueror@gmx.de>
952
953         * java/util/PropertyResourceBundle.java:
954         Removed unneeded import.
955
956 2003-06-17  Michael Koch  <konqueror@gmx.de>
957
958         * java/util/prefs/AbstractPreferences.java,
959         java/util/prefs/PreferencesFactory.java:
960         Reworked imports, removed unused imports.
961         * java/util/prefs/Preferences.java
962         (systemNodeForPackage): Method takes a Class not an Object.
963         (userNodeForPackage): Likewise.
964         (nodeForPackage): Likewise.
965
966 2003-06-17  Michael Koch  <konqueror@gmx.de>
967
968         * gnu/java/security/x509/X509Certificate.java:
969         Explicitely import used classes.
970
971 2003-06-17  Michael Koch  <konqueror@gmx.de>
972
973         * java/util/zip/ZipEntry.java,
974         java/util/zip/ZipFile.java,
975         java/util/zip/ZipInputStream.java,
976         java/util/zip/ZipOutputStream.java:
977         Reworked imports, only import used classes.
978
979 2003-06-17  Michael Koch  <konqueror@gmx.de>
980
981         * gnu/java/lang/ArrayHelper.java,
982         gnu/java/lang/ClassHelper.java:
983         Reformatted to match classpath's versions.
984
985 2003-06-14  Michael Koch  <konqueror@gmx.de>
986
987         * gnu/java/nio/FileChannelImpl.java
988         (map_address): Removed incorrect comment.        
989         * gnu/java/nio/SelectorImpl.java
990         (register): Remove code duplication and code for file channel handling.        
991         * gnu/java/nio/ServerSocketChannelImpl.java
992         (serverSocket): Renamed from sock_object.
993         (ServerSocketChannel): Initialize serverSocket.
994         (socket): Return serverSocket.
995         * gnu/java/nio/SocketChannelImpl.java
996         (socket): Renamed from sock_object.
997         (isConnectionPenging): Simplified.
998         (socket): Return socket.
999 2003-06-14  Michael Koch  <konqueror@gmx.de>
1000
1001         * java/security/BasicPermission.java:
1002         New version from classpath.
1003
1004 2003-06-14  Michael Koch  <konqueror@gmx.de>
1005
1006         * javax/naming/directory/Attribute.java:
1007         New version from classpath.
1008
1009 2003-06-14  Michael Koch  <konqueror@gmx.de>
1010
1011         * java/io/BufferedReader.java,
1012         java/io/FileOutputStream.java:
1013         New versions from classpath.
1014
1015 2003-06-12  Andrew Haley  <aph@redhat.com>
1016
1017         * prims.cc (catch_segv): Create exception in handler.
1018         (catch_fpe): Likewise.  
1019         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1020         (_Jv_ThrowSignal): Remove.
1021
1022         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1023         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1024         to nullp and arithexception.
1025         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1026         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1027         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1028         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1029         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1030
1031 2003-06-11  Andrew Haley  <aph@redhat.com>
1032
1033         * jni.cc (_Jv_JNI_check_types): New.
1034         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1035         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1036         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1037         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1038         
1039         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1040         infinite loop.
1041
1042 2003-06-11  Tom Tromey  <tromey@redhat.com>
1043
1044         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1045         * java/io/PrintStream.java: Not deprecated.
1046
1047 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1048
1049         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1050         (fillOval): implemented
1051         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1052         (fillArc): implemented.
1053         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1054         (fillArc): added native method.
1055         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1056         (fillArc): added native method.
1057
1058 2003-06-11  Michael Koch  <konqueror@gmx.de>
1059
1060         * java/awt/im/InputSubset.java:
1061         New version from classpath.
1062
1063 2003-06-11  Michael Koch  <konqueror@gmx.de>
1064
1065         * javax/swing/AbstractAction.java,
1066         javax/swing/AbstractButton.java,
1067         javax/swing/AbstractCellEditor.java,
1068         javax/swing/AbstractListModel.java,
1069         javax/swing/BorderFactory.java,
1070         javax/swing/Box.java,
1071         javax/swing/BoxLayout.java,
1072         javax/swing/ButtonGroup.java,
1073         javax/swing/DefaultButtonModel.java,
1074         javax/swing/DefaultListModel.java,
1075         javax/swing/DefaultListSelectionModel.java,
1076         javax/swing/FocusManager.java,
1077         javax/swing/ImageIcon.java,
1078         javax/swing/InputMap.java,
1079         javax/swing/JApplet.java,
1080         javax/swing/JButton.java,
1081         javax/swing/JCheckBox.java,
1082         javax/swing/JCheckBoxMenuItem.java,
1083         javax/swing/JColorChooser.java,
1084         javax/swing/JComboBox.java,
1085         javax/swing/JComponent.java,
1086         javax/swing/JDesktopPane.java,
1087         javax/swing/JDialog.java,
1088         javax/swing/JEditorPane.java,
1089         javax/swing/JFileChooser.java,
1090         javax/swing/JFormattedTextField.java,
1091         javax/swing/JFrame.java,
1092         javax/swing/JLabel.java,
1093         javax/swing/JLayeredPane.java,
1094         javax/swing/JList.java,
1095         javax/swing/JMenuBar.java,
1096         javax/swing/JMenuItem.java,
1097         javax/swing/JOptionPane.java,
1098         javax/swing/JPanel.java,
1099         javax/swing/JPasswordField.java,
1100         javax/swing/JPopupMenu.java,
1101         javax/swing/JProgressBar.java,
1102         javax/swing/JRadioButton.java,
1103         javax/swing/JRadioButtonMenuItem.java,
1104         javax/swing/JRootPane.java,
1105         javax/swing/JScrollBar.java,
1106         javax/swing/JScrollPane.java,
1107         javax/swing/JSeparator.java,
1108         javax/swing/JSlider.java,
1109         javax/swing/JTabbedPane.java,
1110         javax/swing/JTable.java,
1111         javax/swing/JTextField.java,
1112         javax/swing/JToggleButton.java,
1113         javax/swing/JToolBar.java,
1114         javax/swing/JToolTip.java,
1115         javax/swing/JTree.java,
1116         javax/swing/JViewport.java,
1117         javax/swing/JWindow.java,
1118         javax/swing/KeyStroke.java,
1119         javax/swing/ListSelectionModel.java,
1120         javax/swing/LookAndFeel.java,
1121         javax/swing/RepaintManager.java,
1122         javax/swing/ScrollPaneLayout.java,
1123         javax/swing/SizeRequirements.java,
1124         javax/swing/SwingConstants.java,
1125         javax/swing/Timer.java,
1126         javax/swing/UIDefaults.java,
1127         javax/swing/UIManager.java,
1128         javax/swing/border/AbstractBorder.java,
1129         javax/swing/border/CompoundBorder.java,
1130         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1131         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1132         javax/swing/colorchooser/ColorSelectionModel.java,
1133         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1134         javax/swing/event/AncestorEvent.java,
1135         javax/swing/event/HyperlinkEvent.java,
1136         javax/swing/event/InternalFrameAdapter.java,
1137         javax/swing/event/InternalFrameEvent.java,
1138         javax/swing/event/ListDataEvent.java,
1139         javax/swing/event/MouseInputAdapter.java,
1140         javax/swing/event/SwingPropertyChangeSupport.java,
1141         javax/swing/event/TableModelEvent.java,
1142         javax/swing/event/TreeWillExpandListener.java,
1143         javax/swing/event/UndoableEditEvent.java,
1144         javax/swing/filechooser/FileFilter.java,
1145         javax/swing/filechooser/FileSystemView.java,
1146         javax/swing/filechooser/FileView.java,
1147         javax/swing/plaf/BorderUIResource.java,
1148         javax/swing/plaf/basic/BasicDefaults.java,
1149         javax/swing/table/AbstractTableModel.java,
1150         javax/swing/table/DefaultTableCellRenderer.java,
1151         javax/swing/table/DefaultTableColumnModel.java,
1152         javax/swing/table/DefaultTableModel.java,
1153         javax/swing/table/TableColumn.java,
1154         javax/swing/text/JTextComponent.java,
1155         javax/swing/tree/AbstractLayoutCache.java,
1156         javax/swing/tree/DefaultMutableTreeNode.java,
1157         javax/swing/tree/DefaultTreeCellEditor.java,
1158         javax/swing/tree/DefaultTreeCellRenderer.java,
1159         javax/swing/tree/DefaultTreeModel.java,
1160         javax/swing/tree/DefaultTreeSelectionModel.java,
1161         javax/swing/tree/FixedHeightLayoutCache.java,
1162         javax/swing/tree/TreeCellEditor.java,
1163         javax/swing/tree/TreeModel.java,
1164         javax/swing/tree/TreeNode.java,
1165         javax/swing/tree/TreePath.java,
1166         javax/swing/tree/TreeSelectionModel.java,
1167         javax/swing/tree/VariableHeightLayoutCache.java,
1168         javax/swing/undo/AbstractUndoableEdit.java,
1169         javax/swing/undo/CompoundEdit.java,
1170         javax/swing/undo/StateEdit.java,
1171         javax/swing/undo/UndoManager.java,
1172         javax/swing/undo/UndoableEditSupport.java:
1173         New versions from classpath.
1174         * javax/swing/table/JTableHeader.java:
1175         New file from classpath.
1176         * Makefile.am
1177         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1178         * Makefile.in: Regenerated.
1179
1180 2003-06-11  Michael Koch  <konqueror@gmx.de>
1181
1182         * java/nio/MappedByteBuffer.java,
1183         java/nio/channels/Channels.java,
1184         java/nio/channels/ServerSocketChannel.java,
1185         java/nio/channels/spi/AbstractSelector.java:
1186         Removed unneeded imports.
1187
1188 2003-06-11  Michael Koch  <konqueror@gmx.de>
1189
1190         * java/net/DatagramSocket.java:
1191         Partly merged with classpath.
1192
1193 2003-06-11  Michael Koch  <konqueror@gmx.de>
1194
1195         * java/awt/Frame.java,
1196         java/awt/Graphics.java,
1197         java/awt/Menu.java,
1198         java/awt/Robot.java,
1199         java/awt/image/ColorModel.java:
1200         New versions from classpath.
1201
1202 2003-06-10  Michael Koch  <konqueror@gmx.de>
1203
1204         * java/io/PrintStream.java:
1205         Merged version from classpath.
1206         (close): Removed sychronized keyword. This class is not garantied to
1207         be thread-safe.
1208         (write): Likewise.
1209
1210 2003-06-09  Tom Tromey  <tromey@redhat.com>
1211
1212         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1213         field.
1214         (getDescent): Likewise, for "descent".
1215
1216 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1217
1218         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1219         (getMaxDescent): adjusted return value.
1220         (getAscent): modified to use metrics for 'O'.
1221         (getDescent): modified to use metrics for 'y'.
1222
1223 2003-06-08  Anthony Green  <green@redhat.com>
1224
1225         * java/net/URLStreamHandler.java (sameFile): Fix port value
1226         comparison.
1227         * java/net/URL.java (handler): Make package private.
1228         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1229
1230 2003-06-07  Tom Tromey  <tromey@redhat.com>
1231
1232         For PR libgcj/11085:
1233         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1234         Limit number of characters in numeric field when required.
1235         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1236         Respect maximumIntegerDigits.
1237
1238 2003-06-08  Michael Koch  <konqueror@gmx.de>
1239
1240         * java/net/Socket.java
1241         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1242         call bind() and connect() to actually do the bind and connect tasks.
1243         (bind): Connect to canonical address if bindpoint is null, create
1244         socket and bind it to bindpoint.
1245         (connect): Check for exceptions.
1246
1247 2003-06-08  Michael Koch  <konqueror@gmx.de>
1248
1249         * java/net/DatagramSocket.java
1250         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1251         into the Multicast constructors.
1252         * java/net/DatagramSocketImpl.java
1253         (getOption): Removed.
1254         (setOption): Removed.
1255         * java/net/MulticastSocket.java
1256         (MulticastSocket): Call setReuseAddress (true).
1257         * java/net/SocketImpl.java
1258         (getOption): Removed.
1259         (setOption): Removed.
1260
1261 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1262
1263         PR libgcj/10886:
1264         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1265         Test for empty vector.
1266
1267 2003-06-06  Mark Wielaard  <mark@klomp.org>
1268
1269         * java/security/Security.java (secprops): Initialize.
1270         (loadProviders): Return boolean.
1271         (static): Check result of loadProvider calls. If necessary
1272         display WARNING and fallback to Gnu provider.
1273
1274 2002-06-06  James Clark  <jjc@jclark.com>
1275
1276         Fix for PR libgcj/8738:
1277         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1278         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1279         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1280         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1281         (write): Always decrease avail when count is increased.
1282         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1283         and whether output buffer is full before increasing size.
1284
1285 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1286
1287         * java/io/PrintStream.java (writeChars(char[],int, int)):
1288         Check converter.havePendingBytes().
1289         (writeChars(String,int,int)): Likewise.
1290         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1291         Check converter.havePendingBytes() and flush buffer when stalled.
1292
1293 2003-06-07  Michael Koch  <konqueror@gmx.de>
1294
1295         * include/posix.h
1296         (O_DSYNC): Define O_DSYNC on platforms not
1297         supporting O_FSYNC (newlib).
1298
1299 2003-06-06  Mark Wielaard  <mark@klomp.org>
1300
1301         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1302         AWTError.
1303
1304 2003-06-06  Michael Koch  <konqueror@gmx.de>
1305
1306         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1307         More compile fixes from my stupid work yesterday.
1308
1309 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1310
1311         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1312         if _IEEE_LIBM is undefined.
1313
1314 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1315
1316         * libjava/include/posix.h (O_SYNC): Define if not available
1317         and a reasonable, perhaps more conservative, replacement exists.
1318         (O_DSYNC): Likewise.
1319         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1320
1321 2003-06-05  Michael Koch  <konqueror@gmx.de>
1322
1323         * javax/swing/plaf/BorderUIResource.java,
1324         javax/swing/plaf/basic/BasicDefaults.java,
1325         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1326         More compile fixes for latest Border commit. I should not commit
1327         something in this heat here ...
1328
1329 2003-06-05  Michael Koch  <konqueror@gmx.de>
1330
1331         * javax/swing/border/BevelBorder.java
1332         (BevelBorder): Removed.
1333         * javax/swing/border/EmptyBorder.java:
1334         Reformatted.
1335         (EmptyBorder): Removed.
1336         (getBorderInsets): Dont use l, r, t and b.
1337         * javax/swing/border/EtchedBorder.java
1338         (EtchedBorder): Removed.
1339         * javax/swing/border/LineBorder.java
1340         (LineBorder): Removed.
1341         * javax/swing/border/MatteBorder.java
1342         (MatteBorder): Removed.
1343         * javax/swing/border/TitledBorder.java
1344         (defaultBorder): Use other default for now.
1345         (defaultFont): Likewise.
1346         (defaultColor): Likewise.
1347
1348 2003-06-05  Michael Koch  <konqueror@gmx.de>
1349
1350         * javax/swing/border/Border.java:
1351         New version from classpath.
1352
1353 2003-06-05  Michael Koch  <konqueror@gmx.de>
1354
1355         * javax/swing/border/AbstractBorder.java,
1356         javax/swing/border/BevelBorder.java,
1357         javax/swing/border/CompoundBorder.java,
1358         javax/swing/border/EmptyBorder.java,
1359         javax/swing/border/EtchedBorder.java,
1360         javax/swing/border/LineBorder.java,
1361         javax/swing/border/MatteBorder.java,
1362         javax/swing/border/TitledBorder.java:
1363         New versions from Classpath.
1364
1365 2003-06-05  Michael Koch  <konqueror@gmx.de>
1366
1367         * java/awt/Button.java,
1368         java/awt/Checkbox.java,
1369         java/awt/CheckboxMenuItem.java,
1370         java/awt/Choice.java,
1371         java/awt/Container.java,
1372         java/awt/Dialog.java,
1373         java/awt/EventQueue.java,
1374         java/awt/FileDialog.java,
1375         java/awt/Frame.java,
1376         java/awt/Label.java,
1377         java/awt/List.java,
1378         java/awt/Menu.java,
1379         java/awt/MenuItem.java,
1380         java/awt/Panel.java,
1381         java/awt/PopupMenu.java,
1382         java/awt/Rectangle.java,
1383         java/awt/ScrollPane.java,
1384         java/awt/Scrollbar.java,
1385         java/awt/TextArea.java,
1386         java/awt/TextField.java,
1387         java/awt/Window.java,
1388         java/awt/datatransfer/DataFlavor.java,
1389         java/awt/dnd/DragSource.java,
1390         java/awt/dnd/DragSourceContext.java,
1391         java/awt/event/HierarchyEvent.java,
1392         java/awt/event/MouseWheelEvent.java,
1393         java/awt/im/InputContext.java,
1394         java/awt/image/BufferedImage.java,
1395         java/awt/image/ComponentColorModel.java,
1396         java/awt/image/Raster.java,
1397         java/awt/image/WritableRaster.java,
1398         java/awt/peer/ComponentPeer.java,
1399         java/awt/print/PageFormat.java,
1400         java/awt/print/PrinterJob.java:
1401         New versions from Classpath.
1402
1403 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1404
1405         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1406         numberFormat.setParseIntegerOnly(true).
1407
1408 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1409
1410         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1411
1412 2003-06-03  Andrew Haley  <aph@redhat.com>
1413
1414         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1415         stack volatile to prevent optimization from removing it.
1416
1417 2003-05-27  Michael Koch  <konqueror@gmx.de>
1418
1419         * java/util/zip/Deflater.java
1420         (FILTERED): Merged documentation from classpath.
1421         * java/util/zip/DeflaterOutputStream.java
1422         (DeflaterOutputStream): Merged documentation and argument validity
1423         check from classpath.
1424         (deflate): Merged documentation from classpath.
1425         (finish): Likewise.
1426         * java/util/zip/Inflater.java
1427         (Inflater): Merged class documentation from classpath.
1428         (zstream): Reordered.
1429         (is_finished): Reordered.
1430         (dict_needed): Reordered.
1431         (Inflater): Reordered, merged documentation from classpath.
1432         (end): Likewise.
1433         (finalize): Merged documentation from classpath.
1434         (finished): Likewise.
1435         (getAdler): Likewise.
1436         (getRemaining): Likewise.
1437         (getTotalIn): Likewise.
1438         (getTotalOut): Likewise.
1439         (inflate): Likewise.
1440         (needsDictionary): Likewise.
1441         (needsInput): Likewise.
1442         (reset): Likewise.
1443         (setDictionary): Likewise.
1444         (setInput): Likewise.
1445
1446 2003-05-27  Michael Koch  <konqueror@gmx.de>
1447
1448         * java/net/URLConnection.java
1449         (getHeaderFieldInt): Merged with classpath.
1450
1451 2003-05-27  Michael Koch  <konqueror@gmx.de>
1452
1453         * java/io/PrintStream.java
1454         (PrintStream): Reformatted.
1455         (PrintStream): New method, merged from classpath.
1456         (write): Reformatted.
1457
1458 2003-05-27  Michael Koch  <konqueror@gmx.de>
1459
1460         * java/lang/System.java:
1461         Explicitely import needed classes.
1462
1463 2003-05-26  Michael Koch  <konqueror@gmx.de>
1464
1465         * java/net/NetPermission.java,
1466         java/net/NetworkInterface.java,
1467         java/net/PasswordAuthentication.java,
1468         java/net/SocketPermission.java:
1469         New versions from classpath.
1470
1471 2003-05-25  Michael Koch  <konqueror@gmx.de>
1472
1473         * java/io/PushbackInputStream.java,
1474         java/net/Authenticator.java,
1475         java/net/ContentHandler.java,
1476         java/net/ContentHandlerFactory.java,
1477         java/net/DatagramSocket.java,
1478         java/net/DatagramSocketImpl.java,
1479         java/net/DatagramSocketImplFactory.java,
1480         java/net/FileNameMap.java,
1481         java/net/SocketImplFactory.java,
1482         java/net/SocketOptions.java,
1483         java/net/URLStreamHandlerFactory.java:
1484         Merged new versions from classpath.
1485
1486 2003-05-25  Michael Koch  <konqueror@gmx.de>
1487
1488         * java/awt/Checkbox.java,
1489         java/awt/Dialog.java,
1490         java/awt/Font.java,
1491         java/awt/Frame.java,
1492         java/awt/ScrollPaneAdjustable.java,
1493         java/awt/Scrollbar.java,
1494         java/awt/Window.java:
1495         New versions from classpath.
1496
1497 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1498
1499         PR libgcj/10838:
1500         * java/io/ObjectInputStream (enableResolveObject):
1501         Fixed spelling of permission name.
1502
1503 2003-05-20  Michael Koch  <konqueror@gmx.de>
1504
1505         * java/io/DataInputStream.java
1506         (convertFromUTF): Merged comment from classpath.
1507         * java/io/PrintStream.java
1508         (error_occured): Renamed from error, merged comment from classpath.
1509         (PrintStream): No need to initialized error.
1510         (checkError): Replace error with error_occurred.
1511         (setError): Likewise.
1512
1513 2003-05-20  Michael Koch  <konqueror@gmx.de>
1514
1515         * java/io/DataInputStream.java:
1516         Reformatted, Replaced < and & with html entitites in documentation.
1517         * java/io/File.java:
1518         Reformatted.
1519         * java/io/PrintWriter.java:
1520         Moved class documentation.
1521
1522 2003-05-20  Michael Koch  <konqueror@gmx.de>
1523
1524         * gnu/java/nio/ByteBufferImpl.java,
1525         gnu/java/nio/CharBufferImpl.java,
1526         gnu/java/nio/CharViewBufferImpl.java,
1527         gnu/java/nio/DirectByteBufferImpl.java,
1528         gnu/java/nio/DoubleBufferImpl.java,
1529         gnu/java/nio/DoubleViewBufferImpl.java,
1530         gnu/java/nio/FloatBufferImpl.java,
1531         gnu/java/nio/FloatViewBufferImpl.java,
1532         gnu/java/nio/IntBufferImpl.java,
1533         gnu/java/nio/IntViewBufferImpl.java,
1534         gnu/java/nio/LongBufferImpl.java,
1535         gnu/java/nio/LongViewBufferImpl.java,
1536         gnu/java/nio/natDirectByteBufferImpl.cc,
1537         gnu/java/nio/ShortBufferImpl.java,
1538         gnu/java/nio/ShortViewBufferImpl.java:
1539         Moved files to java/nio.
1540         * gnu/java/nio/SocketChannelImpl.java
1541         
1542         * java/nio/ByteBuffer.java,
1543         java/nio/CharBuffer.java,
1544         java/nio/DoubleBuffer.java,
1545         java/nio/FloatBuffer.java,
1546         java/nio/IntBuffer.java,
1547         java/nio/LongBuffer.java,
1548         java/nio/ShortBuffer.java:
1549         Dont import anything.
1550         * java/nio/ByteBufferImpl.java,
1551         java/nio/CharBufferImpl.java,
1552         java/nio/CharViewBufferImpl.java,
1553         java/nio/DirectByteBufferImpl.java,
1554         java/nio/DoubleBufferImpl.java,
1555         java/nio/DoubleViewBufferImpl.java,
1556         java/nio/FloatBufferImpl.java,
1557         java/nio/FloatViewBufferImpl.java,
1558         java/nio/IntBufferImpl.java,
1559         java/nio/IntViewBufferImpl.java,
1560         java/nio/LongBufferImpl.java,
1561         java/nio/LongViewBufferImpl.java,
1562         java/nio/natDirectByteBufferImpl.cc,
1563         java/nio/ShortBufferImpl.java,
1564         java/nio/ShortViewBufferImpl.java:
1565         Moved from gnu/java/nio.
1566         * Makefile.am
1567         (ordinary_java_source_files): Moved files from gnu/java/nio to
1568         java/nio.
1569         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1570         to java/nio.
1571         * Makefile.in: Regenerated.
1572
1573 2003-05-19  Michael Koch  <konqueror@gmx.de>
1574
1575         * java/util/Calendar.java
1576         (get): Not final anymore since JDK 1.4
1577         (set): Likewise.
1578
1579 2003-05-19  Michael Koch  <konqueror@gmx.de>
1580
1581         * java/text/CollationKey.java:
1582         Merged copyright and dat from classpath.
1583         * java/text/RuleBasedCollator.java:
1584         Merged class documentation from classpath.
1585
1586 2003-05-19  Michael Koch  <konqueror@gmx.de>
1587
1588         * java/nio/CharBuffer.java
1589         (toString): Compile fix.
1590
1591 2003-05-19  Michael Koch  <konqueror@gmx.de>
1592
1593         * gnu/java/nio/ByteBufferImpl.java
1594         (putLong): Fixed conversion to bytes.
1595         (putDouble): Fixed conversion to bytes.
1596         * gnu/java/nio/DirectByteBufferImpl.java
1597         (putLong): Fixed conversion to bytes.
1598         (putDouble): Fixed conversion to bytes.
1599         * gnu/java/nio/FileLockImpl.java
1600         (isValid): Reformatted.
1601         * java/nio/Buffer.java
1602         (Buffer): Fixed off-by-one bug in handling mark.
1603         * java/nio/ByteBuffer.java:
1604         Added newline.
1605         * java/nio/CharBuffer.java
1606         (toString): Don't use relative get to get string data.
1607
1608 2003-05-16  Michael Koch  <konqueror@gmx.de>
1609
1610         * java/io/natFileDescriptorPosix.cc
1611         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1612         tested.
1613
1614 2003-05-14  Michael Koch  <konqueror@gmx.de>
1615
1616         * gnu/java/nio/FileLockImpl.java
1617         (released): New member variable.
1618         (FileLockImpl): Initialize released.
1619         (releaseImpl): New native method.
1620         (release): Implemented.
1621         * gnu/java/nio/SelectorImpl.java: Reformatted.
1622         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1623         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1624         (accept): Throws IOException.
1625         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1626         (implConfigureBlocking): Throws IOException.
1627         (connect): Likewise.
1628         (read): Likewise.
1629         (write): Likewise.
1630         * gnu/java/nio/natFileLockImpl.cc: New file.
1631         * java/nio/channels/FileLock.java: Reformatted.
1632         * Makefile.am:
1633         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1634         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1635         * Makefile.in: Regenerated.
1636
1637 2003-05-13  Michael Koch  <konqueror@gmx.de>
1638
1639         * gnu/java/nio/CharViewBufferImpl.java
1640         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1641         (get): Shift bits to the right direction.
1642         (put): Likewise.
1643         * gnu/java/nio/DoubleViewBufferImpl.java
1644         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1645         (get): Shift bits to the right direction.
1646         (put): Likewise.
1647         * gnu/java/nio/FloatViewBufferImpl.java
1648         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1649         (get): Shift bits to the right direction.
1650         (put): Likewise.
1651         * gnu/java/nio/IntViewBufferImpl.java
1652         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1653         (get): Shift bits to the right direction.
1654         (put): Likewise.
1655         * gnu/java/nio/LongViewBufferImpl.java
1656         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1657         (get): Shift bits to the right direction.
1658         (put): Likewise.
1659         * gnu/java/nio/ShortViewBufferImpl.java
1660         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1661         (get): Shift bits to the right direction.
1662         (put): Likewise.
1663
1664 2003-05-13  Michael Koch  <konqueror@gmx.de>
1665
1666         * gnu/java/nio/natDirectByteBufferImpl.cc
1667         (allocateImpl): jlong -> RawData*.
1668         (freeImpl): Likewise.
1669
1670 2003-05-13  Michael Koch  <konqueror@gmx.de>
1671
1672         * java/nio/channels/FileChannel.java
1673         (MapMode.m): Made it package-private to match JDK 1.4.
1674         * java/nio/charset/Charset.java
1675         (decode): Made it final to match JDK 1.4.
1676
1677 2003-05-13  Michael Koch  <konqueror@gmx.de>
1678
1679        * java/io/FileDescriptor.java
1680        (SYNC): New constant.
1681        (DSYNC): Likewise.
1682        (getLength): Renamed from lenght() to match classpath's
1683        FileDescriptor.java.
1684        * java/io/RandomAccessFile.java
1685        (RandomAccessFile): Removed unneeded mode check, implemented mode
1686        "rws" and "rwd", merged documentation from classpath.
1687        (setLength): Reformatted.
1688        (length): Use new getLength() of FileDescriptor.
1689        * java/io/natFileDescriptorEcos.cc
1690        (getLength): Renamed from length().
1691        * java/io/natFileDescriptorPosix.cc
1692        (open): Implemented support for SYNC and DSYNC.
1693        (seek): Use getLength() instead of length().
1694        (getLength): Renamed from length().
1695        * java/io/natFileDescriptorWin32.cc
1696        (getLength): Renamed from length().
1697        (seek): Use getLength() instead of length().
1698        (available): Likewise.
1699        * gnu/java/nio/natFileChannelImpl.cc
1700        (size): Use getLength() instead of length().
1701
1702 2003-05-13  Michael Koch  <konqueror@gmx.de>
1703
1704         * gnu/java/nio/ByteBufferImpl.java
1705         (ByteBufferImpl): All constructors revised.
1706         (slice): Reimplemented.
1707         (duplicate): Reimplemented.
1708         (asReadOnlyBuffer): Reimplemented.
1709         * java/nio/ByteBuffer.java:
1710         Reformatted.
1711         (array_offset): Renamed from "offset" to match all other buffer
1712         classes.
1713         (ByteBuffer): All constructors revised.
1714         (allocateDirect): Implemented.
1715         (allocate): New implementation, documentation reworked.
1716         (wrap): Likewise.
1717         (get): Documentation reworked.
1718         (put): New implementation, documentation reworked.
1719         (hasArray): Documentation reworked.
1720         (arrayOffset): Likewise.
1721         (hashCode): Likewise.
1722         (equals): Likewise.
1723         (compareTo): Likewise.
1724         (order): Likewise.
1725         (compact): Likewise.
1726         (isDirect): Likewise.
1727         (slice): Likewise.
1728         (duplicate): Likewise.
1729         (asReadOnlyBuffer): Likewise.
1730         * Makefile.am
1731         (ordinary_java_source_files):
1732         Added gnu/java/nio/DirectByteBufferImpl.java.
1733         (nat_source_files):
1734         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1735         * Makefile.in: Regenerated.
1736
1737 2003-05-12  Michael Koch  <konqueror@gmx.de>
1738
1739         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1740         (nio_get_*): Removed.
1741         (nio_put_*): Removed.
1742         (as*Buffer): Implemented.
1743         (compact): Implemented.
1744         (get): Documentation added.
1745         (put): Documentation added.
1746         (get*): Newly implemented.
1747         (put*): Newly implemented.
1748         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1749         (CharBufferImpl): Revised.
1750         (slice): New implementation.
1751         (duplicate): New implementation.
1752         (compact): New implementation.
1753         (asReadOnlyBuffer): New implementation.
1754         (get): Documentation revised.
1755         (order): Return native byte order.
1756         * gnu/java/nio/DirectByteBufferImpl.java
1757         (allocateDirect): objects can be null not 0.
1758         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1759         (DoubleBufferImpl): Revised.
1760         (slice): New implementation.
1761         (duplicate): New implementation.
1762         (compact): New implementation.
1763         (asReadOnlyBuffer): New implementation.
1764         (get): Documentation revised.
1765         (order): Return native byte order.
1766         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1767         (FloatBufferImpl): Revised.
1768         (slice): New implementation.
1769         (duplicate): New implementation.
1770         (compact): New implementation.
1771         (asReadOnlyBuffer): New implementation.
1772         (get): Documentation revised.
1773         (order): Return native byte order.
1774         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1775         (IntBufferImpl): Revised.
1776         (slice): New implementation.
1777         (duplicate): New implementation.
1778         (compact): New implementation.
1779         (asReadOnlyBuffer): New implementation.
1780         (get): Documentation revised.
1781         (order): Return native byte order.
1782         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1783         (LongBufferImpl): Revised.
1784         (slice): New implementation.
1785         (duplicate): New implementation.
1786         (compact): New implementation.
1787         (asReadOnlyBuffer): New implementation.
1788         (get): Documentation revised.
1789         (order): Return native byte order.
1790         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1791         (ShortBufferImpl): Revised.
1792         (slice): New implementation.
1793         (duplicate): New implementation.
1794         (compact): New implementation.
1795         (asReadOnlyBuffer): New implementation.
1796         (get): Documentation revised.
1797         (order): Return native byte order.
1798         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1799         (CharBuffer): Revised.
1800         (order): Removed.
1801         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1802         (DoubleBuffer): Revised.
1803         (allocateDirect): Removed.
1804         (order): Removed.
1805         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1806         (FloatBuffer): Revised.
1807         (allocateDirect): Removed.
1808         (order): Removed.
1809         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1810         (IntBuffer): Revised.
1811         (allocateDirect): Removed.
1812         (order): Removed.
1813         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1814         (LongBuffer): Revised.
1815         (allocateDirect): Removed.
1816         (order): Removed.
1817         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1818         (ShortBuffer): Revised.
1819         (allocateDirect): Removed.
1820         (order): Removed.
1821         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1822         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1823         * Makefile.am
1824         (ordinary_java_source_files): Added the following files:
1825         gnu/java/nio/CharViewBufferImpl.java,
1826         gnu/java/nio/DoubleViewBufferImpl.java,
1827         gnu/java/nio/FloatViewBufferImpl.java,
1828         gnu/java/nio/IntViewBufferImpl.java,
1829         gnu/java/nio/LongViewBufferImpl.java,
1830         gnu/java/nio/ShortViewBufferImpl.java
1831         (nat_source_files): Removed the following files:
1832         gnu/java/nio/natByteBufferImpl.cc,
1833         gnu/java/nio/natCharBufferImpl.cc
1834         * Makefile.in: Regenerated.
1835
1836 2003-05-12  Michael Koch  <konqueror@gmx.de>
1837
1838         * gnu/java/nio/CharViewBufferImpl.java,
1839         gnu/java/nio/DirectByteBufferImpl.java,
1840         gnu/java/nio/DoubleViewBufferImpl.java,
1841         gnu/java/nio/FloatViewBufferImpl.java,
1842         gnu/java/nio/IntViewBufferImpl.java,
1843         gnu/java/nio/LongViewBufferImpl.java,
1844         gnu/java/nio/ShortViewBufferImpl.java,
1845         gnu/java/nio/natDirectByteBufferImpl.cc:
1846         New files, not yet to be compiled.
1847
1848 2003-05-10  Michael Koch  <konqueror@gmx.de>
1849
1850         * javax/swing/plaf/ButtonUI.java,
1851         javax/swing/plaf/ColorUIResource.java,
1852         javax/swing/plaf/ComponentUI.java,
1853         javax/swing/plaf/DimensionUIResource.java,
1854         javax/swing/plaf/FontUIResource.java,
1855         javax/swing/plaf/IconUIResource.java,
1856         javax/swing/plaf/InsetsUIResource.java,
1857         javax/swing/plaf/LabelUI.java,
1858         javax/swing/plaf/ListUI.java,
1859         javax/swing/plaf/OptionPaneUI.java,
1860         javax/swing/plaf/PanelUI.java,
1861         javax/swing/plaf/TabbedPaneUI.java,
1862         javax/swing/plaf/TextUI.java,
1863         javax/swing/plaf/TreeUI.java,
1864         javax/swing/plaf/ViewportUI.java,
1865         javax/swing/plaf/basic/BasicBorders.java,
1866         javax/swing/plaf/basic/BasicButtonUI.java,
1867         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1868         javax/swing/plaf/basic/BasicDefaults.java,
1869         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1870         javax/swing/plaf/basic/BasicIconFactory.java,
1871         javax/swing/plaf/basic/BasicLabelUI.java,
1872         javax/swing/plaf/basic/BasicListUI.java,
1873         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1874         javax/swing/plaf/basic/BasicPanelUI.java,
1875         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1876         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1877         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1878         javax/swing/plaf/basic/BasicTextUI.java,
1879         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1880         javax/swing/plaf/basic/BasicTreeUI.java,
1881         javax/swing/plaf/basic/BasicViewportUI.java,
1882         javax/swing/plaf/metal/MetalLookAndFeel.java:
1883         New versions from classpath. This adds copyrights to all files and
1884         some serialVersionUIDs.
1885
1886 2003-05-10  Michael Koch  <konqueror@gmx.de>
1887
1888         * java/nio/CharBuffer.java
1889         (offset): Make it package-private.
1890         (backing_buffer): Likewise.
1891         * java/nio/DoubleBuffer.java
1892         (offset): Make it package-private.
1893         (backing_buffer): Likewise.
1894         (put): Reformatted.
1895         * java/nio/FloatBuffer.java
1896         (offset): Make it package-private.
1897         (backing_buffer): Likewise.
1898         * java/nio/IntBuffer.java
1899         (offset): Make it package-private.
1900         (backing_buffer): Likewise.
1901         * java/nio/LongBuffer.java
1902         (offset): Make it package-private.
1903         (backing_buffer): Likewise.
1904         * java/nio/ShortBuffer.java
1905         (offset): Make it package-private.
1906         (backing_buffer): Likewise.
1907
1908 2003-05-10  Michael Koch  <konqueror@gmx.de>
1909
1910         * java/nio/CharBuffer.java
1911         (put): Fixed precondtion check.
1912         (toString): Make it work without backing array.
1913         (put): Skip one level of method calling.
1914
1915 2003-05-10  Michael Koch  <konqueror@gmx.de>
1916
1917         * java/security/Identity.java,
1918         java/security/IdentityScope.java,
1919         java/security/Key.java,
1920         java/security/KeyPair.java,
1921         java/security/PrivateKey.java,
1922         java/security/Provider.java,
1923         java/security/PublicKey.java,
1924         java/security/SecureRandom.java,
1925         java/security/SecureRandomSpi.java,
1926         java/security/SignedObject.java,
1927         java/security/Signer.java,
1928         java/security/cert/Certificate.java,
1929         java/security/cert/PKIXCertPathBuilderResult.java,
1930         java/security/cert/X509Certificate.java:
1931         New versions from classpath.
1932
1933 2003-05-09  Tom Tromey  <tromey@redhat.com>
1934
1935         * Makefile.in: Rebuilt.
1936         * Makefile.am (nat_source_files): Removed old files.
1937         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1938         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1939         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1940         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1941         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1942
1943 2003-05-09  Michael Koch  <konqueror@gmx.de>
1944
1945         * gnu/java/nio/ByteBufferImpl.java
1946         (nio_cast): Removed.
1947         (ByteBufferImpl): Removed.
1948         (nio_get_Byte): Removed.
1949         (nio_put_Byte): Removed.
1950         (asByteBuffer): Removed.
1951         (asCharBuffer): Removed implementation and throw exception.
1952         (asShortBuffer): Likewise.
1953         (asIntBuffer): Likewise.
1954         (asLongBuffer): Likewise.
1955         (asFloatBuffer): Likewise.
1956         (asDoubleBuffer): Likewise.
1957         * gnu/java/nio/CharBufferImpl.java
1958         (CharBufferImpl): Removed.
1959         (nio_get_Byte): Removed.
1960         (nio_put_Byte): Removed.
1961         (asByteBuffer): Removed.
1962         * gnu/java/nio/DoubleBufferImpl.java
1963         (DoubleBufferImpl): Removed.
1964         (nio_get_Byte): Removed.
1965         (nio_put_Byte): Removed.
1966         (asByteBuffer): Removed.
1967         * gnu/java/nio/FloatBufferImpl.java
1968         (FloatBufferImpl): Removed.
1969         (nio_get_Byte): Removed.
1970         (nio_put_Byte): Removed.
1971         (asByteBuffer): Removed.
1972         * gnu/java/nio/IntBufferImpl.java
1973         (IntBufferImpl): Removed.
1974         (nio_get_Byte): Removed.
1975         (nio_put_Byte): Removed.
1976         (asByteBuffer): Removed.
1977         * gnu/java/nio/LongBufferImpl.java
1978         (LongBufferImpl): Removed.
1979         (nio_get_Byte): Removed.
1980         (nio_put_Byte): Removed.
1981         (asByteBuffer): Removed.
1982         * gnu/java/nio/ShortBufferImpl.java
1983         (ShortBufferImpl): Removed.
1984         (nio_get_Byte): Removed.
1985         (nio_put_Byte): Removed.
1986         (asByteBuffer): Removed.
1987         * gnu/java/nio/natByteBufferImpl.cc
1988         (nio_cast): Removed.
1989         (nio_get_Byte): Removed.
1990         (nio_put_Byte): Removed.
1991         * gnu/java/nio/natCharBufferImpl.cc
1992         (nio_get_Byte): Removed.
1993         (nio_put_Byte): Removed.
1994
1995 2003-05-09  Michael Koch  <konqueror@gmx.de>
1996
1997         * java/net/JarURLConnection.java
1998         (getJarEntry): Merged documentation from classpath.
1999         (getJarFile): Likewise.
2000         (getMainAttributes): Likewise.
2001         (getAttributes): Likewise.
2002         (getManifest): Likewise.
2003         (getCertificates): Reformatted.
2004         * java/net/URLConnection.java:
2005         Little classpath merge.
2006
2007 2003-05-09  Michael Koch  <konqueror@gmx.de>
2008
2009         * java/io/DataOutputStream.java
2010         (writeShort): Made it synchronized.
2011         (writeChar): Likewise.
2012         (writeInt): Likewise.
2013         (writeLong): Liekwise.
2014         (writeUTF): Made it synchronized, renamed argument to match classpath.
2015         * java/io/InputStreamReader.java
2016         (converter): Added documentation.
2017         (read): Merged documentation from classpath.
2018         * java/io/OutputStreamWriter.java
2019         (OutputStreamWriter): Merged documentation from classpath.
2020         (close): Reformatted.
2021         (getEncoding): Likewise.
2022         (flush): Likewise.
2023         (write): Merged documentation from classpath, reformatted.
2024
2025 2003-05-08  Tom Tromey  <tromey@redhat.com>
2026
2027         * configure.host <powerpc64*-*>: Set with_libffi_default and
2028         libgcj_interpreter to "yes".
2029
2030 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2031
2032         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2033         
2034 2003-05-06  Tom Tromey  <tromey@redhat.com>
2035
2036         * verify.cc: Reverted previous patch.
2037
2038 2003-05-06  Michael Koch  <konqueror@gmx.de>
2039
2040         * java/io/DataOutputStream.java
2041         (write): Renamed argument to "value", merged documentation from
2042         classpath.
2043         (writeBoolean): Likewise.
2044         (writeByte): Likewise.
2045         (writeShort): Likewise.
2046         (writeChar): Likewise.
2047         (writeInt): Likewise.
2048         (writeLong): Likewise.
2049         (writeFloat): Likewise.
2050         (writeDouble): Likewise.
2051         (writeBytes): Likewise.
2052         (writeChars): Likewise.
2053         (writeUTF): Likewise.
2054         * java/io/File.java
2055         (performDelete): Added documentation.
2056         (performList): Likewise.
2057         (performMkdir): Likewise.
2058         (performSetReadOnly): Likewise.
2059         (performRenameTo): Likewise.
2060         (performSetLastModified): Likewise.
2061         (delete): Made it sychronized.
2062         (renameTo): Made it sychronized.
2063         (equals): Reformatted.
2064         (isHidden): Likewise.
2065         (listFiles): Likewise.
2066         (setReadOnly): Likewise.
2067         (listRoots): Likewise.
2068         (setLastModified): Likewise.
2069         (checkRead): Likewise.
2070         (checkWrite): Likewise.
2071         * java/io/FileInputStream.java
2072         (skip): Made it sychronized, merged from classpath.
2073         * java/io/FileOutputStream.java
2074         (write): Merged from classpath.
2075         * java/io/InputStreamReader.java:
2076         (InputStreamReader): Merged documentation from classpath.
2077
2078 2003-05-05  Michael Koch  <konqueror@gmx.de>
2079
2080         * java/net/NetworkInterface.java
2081         (networkInterfaces): Removed.
2082         (getByName): Use getRealNetworkInterfaces() instead of
2083         networkInterfaces.
2084         (getByInetAddress): Likewise.
2085         (getNetworkInterfaces): Likewise.
2086         (toString): Fix output of addresses of an interface.
2087
2088 2003-05-05  Michael Koch  <konqueror@gmx.de>
2089
2090         * java/io/DataInputStream.java:
2091         Merged new documentation from classpath.
2092
2093 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2094
2095         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2096         "version".
2097         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2098         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2099         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2100         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2101         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2102         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2103         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2104         * java/security/Key.java: Likewise.
2105         * java/security/PrivateKey.java: Likewise.
2106         * java/security/Provider.java: Likewise.
2107         * java/security/PublicKey.java: Likewise.
2108
2109 2003-05-02  Michael Koch  <konqueror@gmx.de>
2110
2111         * java/net/URI.java
2112         (create): Doesnt throws any exceptions.
2113         * java/net/URLConnection.java
2114         (URLConnection): Commend added.
2115         (getExpiration): The header field is called "expires" not
2116         "expiration".
2117         (getHeaderField): Merged documentation with classpath.
2118         (getHeaderFieldInt): Likewise.
2119         (getHeaderFieldDate): Likewise.
2120         (getHeaderFieldKey): Likewise.
2121         (getPermission): Likewise.
2122         (setDefaultUseCaches): Likewise.
2123         (setRequestProperty): Likewise.
2124         (addRequestProperty): Likewise.
2125         (getRequestProperty): Likewise.
2126         (getRequestProperties): Likewise.
2127         (setDefaultRequestProperty): Likewise.
2128         (getDefaultRequestProperty): Likewise.
2129         (guessContentTypeFromStream): Likewise.
2130         (getFileNameMap): Likewise.
2131         (setFileNameMap): Likewise.
2132         (setDoInput): Merged implementation and documentation with classpath.
2133         (setDoOutput): Likewise.
2134         (setAllowUserInteraction): Likewise.
2135         (setDefaultAllowUserInteraction): Likewise.
2136         (setContentHandlerFactory): Made it synchronized, merged documentation
2137         with classpath.
2138         (guessContentTypeFromName): Renamed argument fname to filename to
2139         match classpath, merged documentation with classpath.
2140
2141 2003-05-02  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/net/JarURLConnection.java
2144         (JarURLConnection): Class documentation merged with classpath.
2145         (getJarFileURL): Moved and documentation merged with classpath.
2146         (getEntryName): Likewise.
2147         (JarURLConnection): Documentation merged with classpath.
2148         (getJarEntry): Likewise.
2149         (getJarFile): Likewise.
2150         * java/net/PlainDatagramSocketImpl.java:
2151         Class documentation moved.
2152         * java/net/URLConnection.java
2153         (fileNameMap): Moved and documentation merged with classpath.
2154         (factory): Likewise.
2155         (defaultAllowUserInteraction): Likewis.
2156         (defaultUseCaches): Likewise.
2157         (allowUserInteraction): Likewise.
2158         (connected): Likewise.
2159         (url): Likewise.
2160         (connect): Documentation merged with classpath.
2161         (getURL): Likewise.
2162         (getContentLength): Likewise.
2163         (getContentType): Likewise.
2164         (getContentEncoding): Likewise.
2165         (getExpiration): Likewise.
2166         (getDate): Likewise.
2167         (getLastModified): Likewise.
2168         (getHeaderField): Likewise.
2169         (getContent): Likewise.
2170         (getPermission): Likewise.
2171         (getInputStream): Likewise.
2172         (getOutputStream): Likewise.
2173         (toString): Likewise.
2174         (getDoInput): Likewise.
2175         (getDoOutput): Likewise.
2176         (setAllowUserInteraction): Likewise.
2177         (getAllowUserInteraction): Likewise.
2178         (setDefaultAllowUserInteraction): Likewise.
2179         (getDefaultAllowUserInteraction): Likewise.
2180         (setUseCaches): Likewise.
2181         (getUseCaches): Likewise.
2182         (setIfModifiedSince): Likewise.
2183         (getIfModifiedSince): Likewise.
2184         (setDefaultRequestProperty): Likewise.
2185         (getDefaultRequestProperty): Likewise.
2186         (setContentHandlerFactory): Likewise.
2187         (setFileNameMap): Likewise.
2188
2189 2003-05-02  Michael Koch  <konqueror@gmx.de>
2190
2191         * java/net/InetAddress.java:
2192         Merged class documentation with classpath.
2193         * java/net/JarURLConnection.java:
2194         Explicitely import all used classes.
2195         * java/net/URL.java:
2196         Reformatting.
2197         * java/net/ServerSocket.java,
2198         java/net/Socket.java:
2199         New versions from classpath.
2200
2201 2003-05-02  Michael Koch  <konqueror@gmx.de>
2202
2203         * gnu/java/nio/FileChannelImpl.java
2204         (read): New implementation.
2205         (implRead): New methods.
2206         (write): New implementation, call other write insteal of read method.
2207         (implWrite): New methods.
2208         (map): Added comment.
2209         (transferFrom): Implemented.
2210         (transferTo): Implemented.
2211         (lock): Added checks to throw exceptions.
2212         (truncate): Added check to throw exception.
2213         * gnu/java/nio/natFileChannelImpl.cc
2214         (implRead): New method.
2215         (implWrite): New method.
2216         * java/nio/ByteBuffer.java
2217         (hashCode): Fixed comment.
2218         (get): Fixed exception documentation.
2219         (put): Fixed exception documentation.
2220         * java/nio/CharBuffer.java:
2221         Added comment for later optimizations.
2222
2223 2003-04-30  Tom Tromey  <tromey@redhat.com>
2224
2225         PR libgcj/10582:
2226         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2227         Removed.
2228         (type::compatible): Use _Jv_IsAssignableFrom.
2229         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2230         (_Jv_IsAssignableFrom): Work even when source or target class is
2231         not prepared.
2232
2233 2003-04-30  Michael Koch  <konqueror@gmx.de>
2234
2235         * java/text/BreakIterator.java
2236         (clone): New method.
2237
2238 2003-04-30  Michael Koch  <konqueror@gmx.de>
2239
2240         * java/text/CollationElementIterator.java,
2241         java/text/CollationKey.java,
2242         java/text/RuleBasedCollator.java:
2243         Merged copyright and documentation from classpath and
2244         rearranged some code. No code changes done.
2245
2246 2003-04-30  Michael Koch  <konqueror@gmx.de>
2247
2248         * java/util/regex/Matcher.java
2249         (pattern): New member variable.
2250         (appendReplacement): New method.
2251         (appendTail): New method.
2252         (end): New method.
2253         (find): New method.
2254         (group): New method.
2255         (replaceFirst): Added documentation.
2256         (replaceAll): Added documentation.
2257         (groupCount): New method.
2258         (lookingAt): New method.
2259         (matches): New method.
2260         (reset): New method.
2261         (start): New method.
2262         * java/util/regex/Pattern.java
2263         (serialVersionUID): New constant.
2264         (CANON_EQ): New constant.
2265         (CASE_INSENSITIVE): New constant.
2266         (COMMENTS): New constant.
2267         (DOTALL): New constant.
2268         (MULTILINE): New constant.
2269         (UNICODE_CASE): New constant.
2270         (UNIX_LINES): New constant.
2271         (regex): New member variable.
2272         (flags): New member variable.
2273         (Pattern): New method.
2274         (compile): Documentation added.
2275         (flags): New method.
2276         (matches): Documentation added.
2277         (matcher): Documentation added.
2278         (split): Documentation added.
2279         (pattern): New method.
2280
2281 2003-04-30  Michael Koch  <konqueror@gmx.de>
2282
2283         * gnu/java/security/Engine.java,
2284         gnu/java/security/OID.java,
2285         gnu/java/security/der/BitString.java,
2286         gnu/java/security/der/DER.java,
2287         gnu/java/security/der/DERReader.java,
2288         gnu/java/security/der/DERValue.java,
2289         gnu/java/security/der/DERWriter.java,
2290         gnu/java/security/provider/DSAKeyFactory.java,
2291         gnu/java/security/provider/X509CertificateFactory.java,
2292         gnu/java/security/x509/X500DistinguishedName.java,
2293         gnu/java/security/x509/X509CRL.java,
2294         gnu/java/security/x509/X509CRLEntry.java,
2295         gnu/java/security/x509/X509Certificate.java,
2296         java/security/cert/CRLSelector.java,
2297         java/security/cert/CertPathBuilder.java,
2298         java/security/cert/CertPathBuilderResult.java,
2299         java/security/cert/CertPathBuilderSpi.java,
2300         java/security/cert/CertPathParameters.java,
2301         java/security/cert/CertPathValidator.java,
2302         java/security/cert/CertPathValidatorResult.java,
2303         java/security/cert/CertPathValidatorSpi.java,
2304         java/security/cert/CertSelector.java,
2305         java/security/cert/CertStore.java,
2306         java/security/cert/CertStoreParameters.java,
2307         java/security/cert/CertStoreSpi.java,
2308         java/security/cert/CollectionCertStoreParameters.java,
2309         java/security/cert/LDAPCertStoreParameters.java,
2310         java/security/cert/PKIXBuilderParameters.java,
2311         java/security/cert/PKIXCertPathBuilderResult.java,
2312         java/security/cert/PKIXCertPathChecker.java,
2313         java/security/cert/PKIXCertPathValidatorResult.java,
2314         java/security/cert/PKIXParameters.java,
2315         java/security/cert/PolicyNode.java,
2316         java/security/cert/PolicyQualifierInfo.java,
2317         java/security/cert/TrustAnchor.java,
2318         javax/security/auth/x500/X500Principal.java:
2319         New files from classpath.
2320         * gnu/java/io/ASN1ParsingException.java,
2321         gnu/java/io/Base64InputStream.java,
2322         gnu/java/security/der/DEREncodingException.java,
2323         gnu/java/security/provider/DSAParameters.java,
2324         gnu/java/security/provider/DSASignature.java,
2325         gnu/java/security/provider/Gnu.java,
2326         gnu/java/security/provider/GnuDSAPrivateKey.java,
2327         gnu/java/security/provider/GnuDSAPublicKey.java,
2328         java/security/AlgorithmParameterGenerator.java,
2329         java/security/AlgorithmParameters.java,
2330         java/security/KeyFactory.java,
2331         java/security/KeyPairGenerator.java,
2332         java/security/KeyStore.java,
2333         java/security/MessageDigest.java,
2334         java/security/SecureClassLoader.java,
2335         java/security/SecureRandom.java,
2336         java/security/Security.java,
2337         java/security/Signature.java,
2338         java/security/cert/Certificate.java,
2339         java/security/cert/CertificateFactory.java,
2340         java/security/cert/CertificateFactorySpi.java,
2341         java/security/cert/X509CRL.java,
2342         java/security/cert/X509Certificate.java,
2343         java/security/spec/DSAPublicKeySpec.java:
2344         New versions from classpath.
2345         * gnu/java/security/provider/DERReader.java,
2346         gnu/java/security/provider/DERWriter.java,
2347         java/security/Engine.java: Removed.
2348         * Makefile.am
2349         (java_source_files, javax_source_files): Added new files.
2350         * Makefile.in: Regenerated.
2351
2352 2003-04-29  Michael Koch  <konqueror@gmx.de>
2353
2354         * javax/swing/JTable.java
2355         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2356         (AUTO_RESIZE_LAST_COLUMN): New constant.
2357         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2358         (AUTO_RESIZE_OFF): New constant.
2359         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2360         (JTable): New method.
2361         (columnAdded): New method.
2362         (columnMarginChanged): New method.
2363         (columnMoved): New method.
2364         (columnRemoved): New method.
2365         (columnSelectionChanged): New method.
2366         (editingCanceled): New method.
2367         (editingStopped): New method.
2368         (getColumnModel): New method.
2369         (getPreferredScrollableViewportSize): New method.
2370         (getScrollableBlockIncrement): New method.
2371         (getScrollableTracksViewportHeight): New method.
2372         (getScrollableTracksViewportWidth): New method.
2373         (getScrollableUnitIncrement): New method.
2374         (getSelectedRow): New method.
2375         (getSelectionModel): New method.
2376         (tableChanged): New method.
2377         (setModel): New method.
2378         (setSelectionMode): New method.
2379         (setSelectionModel): New method.
2380         (setShowGrid): New method.
2381         (valueChanged): New method.
2382         * javax/swing/text/DefaultEditorKit.java
2383         (backwardAction): New constant.
2384         (beepAction): New constant.
2385         (beginAction): New constant.
2386         (beginLineAction): New constant.
2387         (beginParagraphAction): New constant.
2388         (beginWordAction): New constant.
2389         (copyAction): New constant.
2390         (cutAction): New constant.
2391         (defaultKeyTypedAction): New constant.
2392         (deleteNextCharAction): New constant.
2393         (deletePrevCharAction): New constant.
2394         (downAction): New constant.
2395         (endAction): New constant.
2396         (endLineAction): New constant.
2397         (endOfLineStringProperty): New constant.
2398         (endParagraphAction): New constant.
2399         (endWordAction): New constant.
2400         (forwardAction): New constant.
2401         (insertBreakAction): New constant.
2402         (insertContentAction): New constant.
2403         (insertTabAction): New constant.
2404         (nextWordAction): New constant.
2405         (pageDownAction): New constant.
2406         (pageUpAction): New constant.
2407         (pasteAction): New constant.
2408         (previousWordAction): New constant.
2409         (readOnlyAction): New constant.
2410         (selectAllAction): New constant.
2411         (selectionBackwardAction): New constant.
2412         (selectionBeginAction): New constant.
2413         (selectionBeginLineAction): New constant.
2414         (selectionBeginParagraphAction): New constant.
2415         (selectionBeginWordAction): New constant.
2416         (selectionDownAction): New constant.
2417         (selectionEndAction): New constant.
2418         (selectionEndLineAction): New constant.
2419         (selectionEndParagraphAction): New constant.
2420         (selectionEndWordAction): New constant.
2421         (selectionForwardAction): New constant.
2422         (selectionNextWordAction): New constant.
2423         (selectionPreviousWordAction): New constant.
2424         (selectionUpAction): New constant.
2425         (selectLineAction): New constant.
2426         (selectParagraphAction): New constant.
2427         (selectWordAction): New constant.
2428         (upAction): New constant.
2429         (writableAction): New constant.
2430
2431 2003-04-29  Michael Koch  <konqueror@gmx.de>
2432
2433         * java/util/PropertyPermission.java:
2434         New version from classpath
2435         * java/util/ResourceBundle.java:
2436         Partly merged from classpath
2437         (getObject): Reformated.
2438         (tryBundle): Set foundBundle = null if no bundle found.
2439
2440 2003-04-29  Michael Koch  <konqueror@gmx.de>
2441
2442         * javax/swing/AbstractListModel.java,
2443         javax/swing/DefaultBoundedRangeModel.java,
2444         javax/swing/DefaultSingleSelectionModel.java:
2445         New Versions from classpath.
2446
2447 2003-04-29  Michael Koch  <konqueror@gmx.de>
2448
2449         * java/awt/Window.java
2450         (show): Call super.show() instead of setVisible() to avoid endless
2451         loop.
2452         (hide): Call super.hide() instead of setVisible() to avoid endless
2453         loop.
2454
2455 2003-04-29  Michael Koch  <konqueror@gmx.de>
2456
2457         * java/util/zip/Deflater.java,
2458         java/util/zip/DeflaterOutputStream.java:
2459         Partly merged with classpath.
2460
2461 2003-04-27  Tom Tromey  <tromey@redhat.com>
2462
2463         * java/lang/natString.cc (_Jv_AllocString): Initialize
2464         cachedHashCode.
2465         (init): Likewise.
2466         (_Jv_NewStringUtf8Const): Likewise.
2467
2468 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2469
2470         * include/jvm.h: (_Jv_GetNbArgs) added
2471         (_Jv_GetSafeArg) added
2472         (_Jv_SetArgs) added
2473         * prims.cc: (_Jv_GetNbArgs) implemented
2474         (_Jv_GetSafeArg) implemented
2475         (_Jv_SetArgs) implemented
2476         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2477         setting _Jv_argc and _Jv_argv
2478         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2479         instead of _Jv_argv
2480         * java/lang/natRuntime.cc: (insertSystemProperties) use
2481         _Jv_GetSafeArg() instead of _Jv_argv
2482
2483 2003-04-23  Tom Tromey  <tromey@redhat.com>
2484
2485         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2486         required by this object.  Search superclasses to find required
2487         alignment.
2488         (get_alignment_from_class): Use alignment of type as it appears
2489         in a struct.
2490         (ALIGNOF): New macro.
2491         (struct aligner): New helper structure.
2492
2493 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2494
2495         * java/awt/Container.java (addImpl): Enable paint events if adding
2496         a lightweight to a heavyweight.
2497         (addNotify): Ensure that peer is created before
2498         addNotifyContainerChildren.
2499         (addNotifyContainerChildren): Enable paint events if a heavyweight
2500         container contains a lightweight.
2501
2502 2003-04-20  Tom Tromey  <tromey@redhat.com>
2503
2504         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2505         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2506         Classpath.
2507
2508 2003-04-19  Tom Tromey  <tromey@redhat.com>
2509
2510         * java/sql/Date.java, java/sql/DriverManager.java,
2511         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2512         Classpath.
2513
2514         * Makefile.in: Rebuilt.
2515         * Makefile.am (ordinary_java_source_files): Added new files.
2516         * java/security/AlgorithmParameterGenerator.java,
2517         java/security/AlgorithmParameters.java, java/security/Engine.java,
2518         java/security/Identity.java, java/security/IdentityScope.java,
2519         java/security/KeyFactory.java,
2520         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2521         java/security/MessageDigest.java, java/security/Policy.java,
2522         java/security/ProtectionDomain.java,
2523         java/security/SecureRandom.java, java/security/Security.java,
2524         java/security/Signature.java, java/security/SignatureSpi.java,
2525         java/security/SignedObject.java, java/security/Signer.java,
2526         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2527         java/security/spec/PSSParameterSpec.java,
2528         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2529         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2530         Classpath.
2531
2532 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2533
2534         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2535         (dispose): Null metrics.
2536         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2537         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2538         finalize.
2539         (finalize): Call dispose.
2540         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2541         (gcCachedCount): New field.
2542         (finalize): New method.
2543         (putGCInCache): New method.
2544         (getGCFromCache): New method.
2545         * gnu/gcj/xlib/GC.java (GC): Make protected.
2546         (clone): Get new GC from cache if possible.
2547         (create): New static method.
2548         (dispose): Save old GC in cache.
2549         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2550         deleting.
2551         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2552         is null.
2553         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2554         * java/awt/Container.java (visitChild): Dispose gfx2 when
2555         finished.
2556
2557 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2558
2559         * java/math/BigInteger.java (probablePrime): New.
2560         * java/math/BigDecimal.java (unscaledValue): New.
2561
2562 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2563
2564         * java/io/File.java (getAbsolutePath): On Windows, take care
2565         of paths like "C:", "G:foo\bar", etc.
2566         (getName): Make it work correctly on Windows.
2567         (getParent): Make it work correctly on Windows. For UNIX,
2568         fix bug that causes "/" to be returned as the parent of "/",
2569         instead of null as returned by Sun's JRE.
2570
2571         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2572
2573 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2574
2575         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2576         inner class.
2577         (CACHE_SIZE_PER_DISPLAY): New field
2578         (fontMetricsCache): New field
2579         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2580         loading ISO10646-1 fonts.
2581
2582 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2583
2584         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2585         characters.
2586         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2587         characters.
2588
2589 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2590
2591         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2592         floating point.
2593
2594 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2595
2596         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2597         installed libpthread is either linuxthreads with floating stacks or
2598         NPTL.
2599
2600 2003-04-14  Tom Tromey  <tromey@redhat.com>
2601
2602         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2603         of alignment.
2604
2605 2003-04-10  Tom Tromey  <tromey@redhat.com>
2606
2607         * verify.cc (pop64): Removed.
2608         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2609         exception if top-of-stack is narrow.
2610         (initialize_stack): Check to ensure that <init> is not static and
2611         <clinit> is.
2612
2613 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2614
2615         * java/io/ObjectStreamException
2616         * java/io/FileFilter
2617         * java/io/FilenameFilter
2618         * java/io/ObjectInput
2619         * java/io/ObjectOutput
2620         * java/io/ObjectStreamConstants
2621         Minor doc fixes, format fixes, spelling corrections, etc.
2622         * java/io/DataInput
2623         Corrected code samples in Javadocs to match reality
2624         * java/io/DataOutput
2625         * java/io/ObjectInputValidation
2626         Major documentation fixes - all Javadocs re-written or updated
2627
2628 2003-04-06  Michael Koch  <konqueror@gmx.de>
2629
2630         * java/net/URLConnection.java:
2631         Import classes directly.
2632         (URLConnection): Merged class documentation with classpath.
2633         (url): Moved, documentation from classpath added.
2634         (doInput): Moved, documentation from classpath added.
2635         (doOutput): Moved, documentation from classpath added.
2636         (allowUserInteraction): Moved.
2637         (useCaches): Moved, documentation from classpath added.
2638         (ifModifiedSince): Moved, documentation from classpath added.
2639         (connected): Moved, documentation from classpath added.
2640
2641 2003-04-06  Michael Koch  <konqueror@gmx.de>
2642
2643         * java/io/FileInputStream.java
2644         (skip): Renamed some variables to match classpath, added
2645         checks from classpath.
2646
2647 2003-03-31  Michael Koch  <konqueror@gmx.de>
2648
2649         * javax/swing/AbstractAction.java
2650         (AbstractAction): Reformatted.
2651         (serialVersionUID): New private member variable.
2652         * javax/swing/plaf/BorderUIResource.java
2653         (serialVersionUID): New private member variable.
2654         * javax/swing/plaf/basic/BasicLookAndFeel.java
2655         (serialVersionUID): New private member variable.
2656
2657 2003-03-31  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/sql/Date.java
2660         (valueOf): Deprecated, reformatted.
2661         (toString): Deprecated, reformatted.
2662         * java/sql/Time.java
2663         (valueOf): Deprecated, reformatted.
2664         (toString): Deprecated, reformatted.
2665
2666 2003-03-31  Michael Koch  <konqueror@gmx.de>
2667
2668         * java/rmi/dgc/VMID.java
2669         (isUnique): Deprecated.
2670
2671 2003-03-31  Michael Koch  <konqueror@gmx.de>
2672
2673         * java/io/File.java
2674         (separator): Merged documentation from classpath.
2675         (separatorChar): Merged documentation from classpath.
2676         (pathSeparator): Merged documentation from classpath.
2677         (pathSeparatorChar): Merged documentation from classpath.
2678         (path): Merged documentation from classpath.
2679         (canRead): Merged documentation from classpath.
2680         (canWrite): Merged documentation from classpath.
2681         (createNewFile): Merged documentation from classpath.
2682         (delete): Merged documentation from classpath.
2683         (equals): Merged documentation from classpath.
2684         (exists): Merged documentation from classpath.
2685         (File): Renamed p to name to match classpath, merged documentation
2686         from classpath.
2687         (getAbsolutePath): Merged documentation from classpath.
2688         (getCanonicalPath): Merged documentation from classpath.
2689         (getCanonicalFile): Merged documentation from classpath.
2690         (getName): Merged documentation from classpath.
2691         (getParent): Merged documentation from classpath.
2692         (getParentFile): Merged documentation from classpath.
2693         (getPath): Merged documentation from classpath.
2694         (hashCode): Merged documentation from classpath.
2695         (isAbsolute): Merged documentation from classpath.
2696         (isDirectory): Merged documentation from classpath.
2697         (isFile): Merged documentation from classpath.
2698         (isHidden): Merged documentation from classpath.
2699         (lastModified): Merged documentation from classpath.
2700         (length): Merged documentation from classpath.
2701         (list): Merged documentation from classpath.
2702         (listFiles): Merged documentation from classpath.
2703         (toString): Merged documentation from classpath.
2704         (toURL): Merged documentation from classpath.
2705         (mkdir): Merged documentation from classpath.
2706         (mkdirs): Merged documentation from classpath.
2707         (createTempFile): Merged documentation from classpath.
2708         (setReadOnly): Merged documentation from classpath.
2709         (listRoots): Merged documentation from classpath.
2710         (compareTo): Merged documentation from classpath.
2711         (renameTo): Merged documentation from classpath.
2712         (setLastModified): Merged documentation from classpath.
2713         * java/io/PrintStream.java
2714         (auto_flush): Merged documentation from classpath.
2715         (PrintStream): Merged documentation from classpath.
2716         (checkError): Merged documentation from classpath.
2717         (setError): Merged documentation from classpath.
2718         (close): Merged documentation from classpath.
2719         (flush): Merged documentation from classpath.
2720         (print): Merged documentation from classpath.
2721         (println):  Merged documentation from classpath.
2722         (write): Renamed count to len to match classpath,
2723         merged documentation from classpath.
2724         * java/io/RandomAccessFile.java
2725         (readShort): Merged documentation from classpath.
2726         (readUnsignedByte): Merged documentation from classpath.
2727         (readUnsignedShort): Merged documentation from classpath.
2728         (readUTF): Merged documentation from classpath.
2729         (seek): Reformatted, merged documentation from classpath.
2730         (skipBytes): Renamed some variables to match classpath, reformatted,
2731         merged documentation from classpath.
2732         (write): Merged documentation from classpath.
2733         (writeBoolean): Merged documentation from classpath.
2734         (writeByte): Merged documentation from classpath.
2735         (writeShort): Merged documentation from classpath.
2736         (writeChar): Merged documentation from classpath.
2737         (writeInt): Merged documentation from classpath.
2738         (writeLong): Merged documentation from classpath.
2739         (writeFloat): Merged documentation from classpath.
2740         (writeDouble): Merged documentation from classpath.
2741         (writeBytes): Merged documentation from classpath.
2742         (writeChars): Merged documentation from classpath.
2743         (writeUTF): Reformatted.
2744         (getChannel): Reformatted.
2745
2746 2003-03-31  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/awt/font/TextAttribute.java
2749         (readResolve): Throws java.io.InvalidObjectException.
2750
2751 2003-03-31  Michael Koch  <konqueror@gmx.de>
2752
2753         * java/rmi/server/LoaderHandler.java
2754         (loadClass): Deprecated.
2755         (getSecurityContext): Deprecated.
2756         * java/rmi/server/LogStream.java
2757         (getDefaultStream): Deprecated.
2758         (setDefaultStream): Deprecated.
2759         (getOutputStream): Deprecated.
2760         (setOutputStream): Deprecated.
2761         (write): Deprecated.
2762         (toString): Deprecated.
2763         (parseLevel): Deprecated.
2764         * java/rmi/server/Operation.java
2765         (Operation): Deprecated.
2766         (getOperation): Deprecated.
2767         (toString): Deprecated.
2768         * java/rmi/server/RemoteCall.java
2769         (getOutputStream): Deprecated.
2770         (releaseOutputStream): Deprecated.
2771         (getInputStream): Deprecated.
2772         (releaseInputStream): Deprecated.
2773         (getResultStream): Deprecated.
2774         (executeCall): Deprecated.
2775         (done): Deprecated.
2776         * java/rmi/server/RemoteRef.java
2777         (invoke): Deprecated.
2778         (newCall): Deprecated.
2779         (done): Deprecated.
2780         * java/rmi/server/RemoteStub.java
2781         (setRef): Deprecated.
2782         * java/rmi/server/Skeleton.java:
2783         No need to import java.lang.Exception explicitly.
2784         (dispatch): Deprecated.
2785         (getOperations): Deprecated.
2786
2787 2003-03-31  Michael Koch  <konqueror@gmx.de>
2788
2789         * java/rmi/dgc/VMID.java,
2790         java/rmi/registry/RegistryHandler.java,
2791         java/rmi/server/LogStream.java,
2792         java/rmi/server/Operation.java,
2793         java/rmi/server/RemoteCall.java,
2794         java/rmi/server/RemoteRef.java,
2795         java/rmi/server/RemoteStub.java:
2796         Reformatted.
2797
2798 2003-03-31  Michael Koch  <konqueror@gmx.de>
2799
2800         * javax/swing/AbstractCellEditor.java,
2801         javax/swing/AbstractListModel.java,
2802         javax/swing/ActionMap.java,
2803         javax/swing/BorderFactory.java,
2804         javax/swing/ButtonGroup.java,
2805         javax/swing/DefaultBoundedRangeModel.java,
2806         javax/swing/DefaultButtonModel.java,
2807         javax/swing/DefaultCellEditor.java,
2808         javax/swing/DefaultComboBoxModel.java,
2809         javax/swing/DefaultDesktopManager.java,
2810         javax/swing/DefaultListCellRenderer.java,
2811         javax/swing/DefaultSingleSelectionModel.java,
2812         javax/swing/InputMap.java,
2813         javax/swing/JComponent.java,
2814         javax/swing/JMenu.java,
2815         javax/swing/JSlider.java,
2816         javax/swing/KeyStroke.java,
2817         javax/swing/OverlayLayout.java,
2818         javax/swing/ScrollPaneLayout.java,
2819         javax/swing/SizeRequirements.java,
2820         javax/swing/UIManager.java,
2821         javax/swing/ViewportLayout.java,
2822         javax/swing/border/AbstractBorder.java,
2823         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2824         javax/swing/event/EventListenerList.java,
2825         javax/swing/table/AbstractTableModel.java,
2826         javax/swing/table/DefaultTableCellRenderer.java,
2827         javax/swing/table/DefaultTableColumnModel.java,
2828         javax/swing/table/DefaultTableModel.java,
2829         javax/swing/table/TableColumn.java,
2830         javax/swing/text/StyledEditorKit.java,
2831         javax/swing/tree/DefaultMutableTreeNode.java,
2832         javax/swing/tree/DefaultTreeModel.java,
2833         javax/swing/tree/DefaultTreeSelectionModel.java,
2834         javax/swing/tree/TreePath.java,
2835         javax/swing/undo/AbstractUndoableEdit.java,
2836         javax/swing/undo/StateEdit.java,
2837         javax/swing/undo/StateEditable.java,
2838         javax/swing/undo/UndoableEditSupport.java:
2839         Merges from classpath.
2840
2841 2003-03-30  Tom Tromey  <tromey@redhat.com>
2842
2843         * java/lang/String.java (data, boffset, count): Documented.
2844         (String(byte[],String)): Reformatted.
2845         (String(byte[])): Likewise.
2846         (lastIndexOf(int)): Likewise.
2847         (lastIndexOf(String)): Likewise.
2848         (substring(int)): Renamed argument to match Classpath.
2849         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2850
2851         * java/lang/String.java: Miscellaneous minor formatting changes
2852         to match Classpath more closely.
2853
2854 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2855             Tom Tromey  <tromey@redhat.com>
2856
2857         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2858         (init()): Removed.
2859         (charAt): Put index in exception.
2860         (contentEquals): New method.
2861         Include StringBuffer.h.
2862         * java/lang/String.java (cachedHashCode): New field.
2863         (String()): Follow classpath implementation.
2864         (init()): Removed.
2865         (contentEquals): Declare.
2866         (subSequence): Don't declare IndexOutIfBoundsException in throws
2867         clause.
2868         (matches, replaceFirst, replaceAll, split): New methods from
2869         Classpath.
2870
2871 2003-03-29  Tom Tromey  <tromey@redhat.com>
2872
2873         * java/lang/String.java: Reordered to follow Classpath; merged in
2874         javadoc.
2875
2876         * java/text/MessageFormat.java: Removed some whitespace.
2877
2878         * Makefile.in: Rebuilt.
2879         * Makefile.am (awt_java_source_files): Added new files.
2880         * gnu/javax/rmi/PortableServer.java,
2881         gnu/javax/rmi/CORBA/DelegateFactory.java,
2882         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2883         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2884         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2885         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2886         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2887         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2888         javax/rmi/PortableRemoteObject.java,
2889         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2890         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2891         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2892         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2893         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2894         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2895
2896         * java/lang/natClass.cc (newInstance): Put method name in
2897         exception.
2898         (getConstructor): Likewise.
2899         (getDeclaredConstructor): Likewise.
2900         (getPrivateMethod): Likewise.
2901
2902 2003-03-28  Tom Tromey  <tromey@redhat.com>
2903
2904         * java/lang/reflect/Proxy.java: New version from Classpath.
2905         * java/lang/Package.java: New version from Classpath.
2906
2907 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2908
2909         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2910         * configure: Regenerate.
2911
2912 2003-03-28  Michael Koch  <konqueror@gmx.de>
2913
2914         * java/io/File.java:
2915         Import needed classes instead of whole packages, merged class
2916         documentation with classpath, moved constants and variables to top of
2917         class.
2918         * java/io/PrintStream.java:
2919         Merged class documentation with classpath, moved constants and
2920         variables to top of class.
2921         * java/io/RandomAccessFile.java
2922         (RandomAccessFile): Merged with classpath.
2923         (read): Merged with classpath).
2924         (read*): Reformatted.
2925
2926 2003-03-28  Michael Koch  <konqueror@gmx.de>
2927
2928         * java/io/FileDescriptor.java
2929         (finalize): Throws Throwable, not IOException.
2930         * java/io/ObjectOutputStream.java
2931         (PutField.put): Doesnt throws anything.
2932
2933 2003­03-28  Michael Koch  <konqueror@gmx.de>
2934
2935         * java/io/FileOutputStream.java:
2936         Merged class documentation and authors with classpath.
2937         (FileOutputStream): Partly merged with classpath.
2938         (write): Merged with classpath.
2939         (getChannel): Make it synchronized instead of explicit block in this
2940         method.
2941         * java/io/RandomAccessFile.java:
2942         Merged class documentation and authors with classpath.
2943
2944 2003-03-26  Tom Tromey  <tromey@redhat.com>
2945
2946         * java/lang/natRuntime.cc (insertSystemProperties): Set
2947         gnu.classpath.home.url.
2948         * Makefile.in: Rebuilt.
2949         * Makefile.am: Define LIBDIR.
2950
2951 2003-03-25  Michael Koch  <konqueror@gmx.de>
2952
2953         * java/io/FileInputStream.java
2954         (read): Renamed b to buf and off to offset.
2955         * java/io/FileOutputStream.java
2956         (ch): Documentation added.
2957         (FileOutputStream): Documentation added.
2958         (getFD): Documentation added.
2959         (write): Documentation added.
2960         (close): Documentation added.
2961         (getChannel): Documentation added.
2962
2963 2003-03-24  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/io/DataOutputStream.java
2966         (write): Merged from classpath.
2967         * java/io/File.java:
2968         Merged copyrigth with classpath.
2969         * java/io/FileInputStream.java
2970         (getChannel): Made it synchronized instead of using a synchronized
2971         block.
2972         * java/io/FileOutputStream.java: Reformatted.
2973         * java/io/InputStreamReader.java
2974         (InputStreamReader): Renamed enc to encoding_name.
2975         (close): Merged documentation from classpath.
2976         (getEncoding): Merged documentation from classpath.
2977         (ready): Merged documentation from classpath.
2978         (read): Merged documentation from classpath.
2979         * java/io/LineNumberReader.java
2980         (lineNumber): Made it private.
2981         (LineNumberReader): Use Constant instead of a direct value.
2982         * java/io/OutputStreamWriter.java
2983         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2984         documentation from classpath.
2985         (close): Merged documentation from classpath.
2986         (flush): Merged documentation from classpath.
2987         (write): Merged documentation from classpath.
2988         * java/io/PrintStream.java: Reformatted.
2989
2990 2003-03-24  Michael Koch  <konqueror@gmx.de>
2991
2992         * javax/swing/text/ComponentView.java
2993         (getComponent): Must be final.
2994         * javax/swing/tree/DefaultTreeCellRenderer.java:
2995         Reformatted.
2996         * javax/swing/undo/StateEditable.java:
2997         Reformatted.
2998
2999 2003-03-24  Michael Koch  <konqueror@gmx.de>
3000
3001         * java/rmi/activation/ActivationInstantiator.java:
3002         Reformatted.
3003         * java/rmi/activation/Activator.java:
3004         Reformatted.
3005         * java/rmi/registry/RegistryHandler.java:
3006         Remerged from classpath.
3007
3008 2003-03-24  Michael Koch  <konqueror@gmx.de>
3009
3010         * java/util/Date.java:
3011         Fixed documentation starting tag to make javadoc happy.
3012         * java/util/regex/Pattern.java
3013         (Pattern): Implements Serializable.
3014         * java/util/PatternSyntaxException.java
3015         (serialVersionUID): New member variable.
3016
3017 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3018
3019         * java/awt/ContainerOrderFocusTraversalPolicy.java
3020         (getFirstComponent): Implemented.
3021         (getLastComponent): Implemented.
3022         (getDefaultComponent): Implemented.
3023         (setImplicitDownCycleTraversal): Fixed implementation.
3024         * java/awt/Robot.java
3025         (Robot): Added documentation.
3026         * java/awt/Toolkit.java
3027         (getFontList): Deprecated.
3028         (getFontMetrics): Deprecated.
3029         (getPrintJob): Added documentation.
3030         (getSystemSelection): Added documentation.
3031         (getLockingKeyState): Added documentation.
3032         (setLockingKeyState): Added documentation.
3033         (createCustomCursor): Added documentation.
3034         (getBestCursorSize): Added documentation.
3035         (getMaximumCursorColors): Added documentation.
3036         (isFrameStateSupported): Added documentation.
3037
3038 2003-03-24  Michael Koch  <konqueror@gmx.de>
3039
3040         * java/io/RandomAccessFile.java:
3041         More little merges with classpath. No code changes.
3042
3043 2003-03-24  Michael Koch  <konqueror@gmx.de>
3044
3045         * java/net/natInetAddressNoNet.cc:
3046         Include stddef.h.
3047         * java/net/natPlainDatagramSocketImplNoNet.cc:
3048         Fixed inlcude of java/net/DatagramPacket.h.
3049         * java/net/natPlainSocketImplNoNet.cc:
3050         Include some missing classes.
3051
3052 2003-03-24  Michael Koch  <konqueror@gmx.de>
3053
3054         * java/awt/dnd/DropTarget.java
3055         (DropTargetAutoScroller): According to the online documentation, this
3056         is protected, but in reality it is public.
3057         * java/awt/dnd/DropTargetContext.java
3058         (TransferableProxy): According to the online documentation, this
3059         is protected, but in reality it is public.
3060
3061 2003-03-24  Michael Koch  <konqueror@gmx.de>
3062
3063         * java/io/DataInputStream.java
3064         (): Wrapped documentation line.
3065         (): Fixed @return tag.
3066         * java/io/DataOutputStream.java
3067         (written): Moved to top of class.
3068         (all methods): Merged documentation from classpath.
3069         * java/io/File.java:
3070         Merged copyright year with classpath.
3071         * java/io/FileInputStream.java
3072         (all methods): Merged documentation from classpath.
3073         * java/io/LineNumberReader.java
3074         (getLineNumber): Fixed @return tag.
3075         * java/io/ObjectInputStream.java.
3076         Reformatted.
3077         * java/io/ObjectOutputStream.java:
3078         Reformatted, fixed some @see tags.
3079         * java/io/OutputStreamWriter.java:
3080         Deleted empty line.
3081         * java/io/Writer.java:
3082         Reformatted.
3083
3084 2003-03-24  Michael Koch  <konqueror@gmx.de>
3085
3086         * java/awt/Frame.java
3087         (DEFAULT_CURSOR): Fixed @deprecated tag.
3088         (setCursor): Fixed @deprecated tag.
3089
3090 2003-03-24  Michael Koch  <konqueror@gmx.de>
3091
3092         * java/beans/beancontext/BeanContextEvent.java:
3093         Reformated.
3094
3095 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3096
3097         * java/lang/natStringBuffer.cc (regionMatches): New function.
3098         * java/lang/String.java (count): Now package-private.
3099         * java/lang/StringBuffer.java: Merged with Classpath.
3100
3101 2003-03-23  Michael Koch  <konqueror@gmx.de>
3102
3103         * java/io/BufferedOutputStream.java:
3104         Reformated.
3105         * java/io/BufferedReader.java:
3106         Reformated.
3107         * java/io/ByteArrayOutputStream.java
3108         (size): Fixed @see tag.
3109         * java/io/CharArrayWriter.java
3110         (size): Fixed @see tag.
3111         * java/io/DataInput.java:
3112         Reformated.
3113         * java/io/DataOutput.java:
3114         Reformated.
3115         * java/io/DataOutputStream.java:
3116         Merged copyright years with classpath.
3117         * java/io/Externalizable.java:
3118         Reformated.
3119         * java/io/FileFilter.java:
3120         Reformated.
3121         * java/io/FileInputStream.java:
3122         Merged copyright years with classpath.
3123         * java/io/FileOutputStream.java:
3124         Merged copyright years with classpath.
3125         * java/io/FilePermission.java
3126         (FilePermission): Replaced @XXX with FIXME:.
3127         * java/io/FileWriter.java:
3128         Reformated.
3129         * java/io/FilenameFilter.java:
3130         Reformated.
3131         * java/io/FilterInputStream.java:
3132         Reformated.
3133         * java/io/FilterOutputStream.java:
3134         Reformated.
3135         * java/io/FilterReader.java:
3136         Reformated.
3137         * java/io/FilterWriter.java:
3138         Reformated.
3139         * java/io/LineNumberInputStream.java
3140         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3141         happy.
3142         (getLineNumber): Fixed @return tag.
3143         * java/io/ObjectInput.java:
3144         Reformated.
3145         * java/io/ObjectOutput.java:
3146         Reformated.
3147         * java/io/ObjectStreamClass.java:
3148         Reformated.
3149         * java/io/PrintStream.java:
3150         Merged copyright years with classpath.
3151         * java/io/PushbackReader.java
3152         (PushbackReader): Replaced @code with @param.
3153         * java/io/SerializablePermission.java:
3154         Reformated.
3155         * java/io/StreamTokenizer.java
3156         (resetSyntax): Fixed @see tag.
3157
3158 2003-03-22  Richard Henderson  <rth@redhat.com>
3159
3160         * sysdep/ia64/locks.h: Include ia64intrin.h.
3161         (compare_and_swap): Use __sync_bool_compare_and_swap.
3162         (compare_and_swap_release): Expose ar.ccv assignment.
3163
3164 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3165
3166         * include/posix.h: Add suffix for darwin dynamic libraries.
3167
3168 2003-03-21  Michael Koch  <konqueror@gmx.de>
3169
3170         * javax/swing/Action.java
3171         (ACCELERATOR_KEY): New constant.
3172         (ACTION_COMMAND_KEY): Likewise.
3173         (MNEMONIC_KEY): Likewise.
3174         * javax/swing/UnsupportedLookAndFeelException.java
3175         (UnsupportedLookAndFeelException): Must be public.
3176         * javax/swing/WindowConstants.java
3177         (EXIT_ON_CLOSE): New constant.
3178         * javax/swing/text/BadLocationException.java
3179         (offset): New member variable.
3180         (BadLocationException): New implementation, documentation added.
3181         (offsetRequested): New method.
3182         * javax/swing/text/Caret.java:
3183         Reformated.
3184         * javax/swing/text/Document.java:
3185         Reformated.
3186
3187 2003-03-21  Michael Koch  <konqueror@gmx.de>
3188
3189         * java/rmi/activation/Activatable.java
3190         (serialVersionUID): New member variable.
3191         * java/rmi/activation/ActivationGroup.java
3192         (serialVersionUID): New member variable.
3193         * java/rmi/activation/ActivationGroupDesc.java
3194         (serialVersionUID): New member variable.
3195         * java/rmi/registry/Registry.java:
3196         Reformated.
3197         (Registry): Deprecated.
3198         * java/rmi/server/LoaderHandler.java
3199         Reformated.
3200         (LoaderHandler): Deprecated.
3201         * java/rmi/server/LogStream.java
3202         Reformated.
3203         (LogStream): Deprecated.
3204         * java/rmi/server/Operation.java
3205         (Operation): Deprecated.
3206         * java/rmi/server/RMIFailureHandler.java:
3207         Reformated.
3208         * java/rmi/server/RMISocketFactory.java:
3209         Reformated.
3210         * java/rmi/server/RemoteCall.java
3211         (RemoteCall): Deprecated.
3212         * java/rmi/server/RemoteStub.java:
3213         Reformated.
3214         * java/rmi/server/Skeleton.java
3215         Reformated.
3216         (Skeleton): Deprecated.
3217
3218 2003-03-21  Michael Koch  <konqueror@gmx.de>
3219
3220         * java/io/LineNumberReader.java
3221         (LineNumberReader): Merged documentation with classpath.
3222         (getLineNumber): Likewise.
3223         (setLineNumber): Likewise.
3224         (mark): Likewise.
3225         (reset): Likewise.
3226         (read): Likewise.
3227         (readLine): Likewise.
3228         (skip): Likewise.
3229
3230 2003-03-21  Michael Koch  <konqueror@gmx.de>
3231
3232         * java/rmi/RMISecurityManager.java
3233         (checkAccept): Removed.
3234         (checkAccess): Likewise.
3235         (checkAccess): Likewise.
3236         (checkAwtEventQueueAccess): Likewise.
3237         (checkConnect): Likewise.
3238         (checkCreateClassLoader): Likewise.
3239         (checkDelete): Likewise.
3240         (checkExec): Likewise.
3241         (checkExit): Likewise.
3242         (checkLink): Likewise.
3243         (checkListen): Likewise.
3244         (checkMemberAccess): Likewise.
3245         (checkMulticast): Likewise.
3246         (checkPackageAccess): Likewise.
3247         (checkPackageDefinition): Likewise.
3248         (checkPermission): Likewise.
3249         (checkPrintJobAccess): Likewise.
3250         (checkPropertiesAccess): Likewise.
3251         (checkPropertyAccess): Likewise.
3252         (checkRead): Likewise.
3253         (checkSecurityAccess): Likewise.
3254         (checkSetFactory): Likewise.
3255         (checkSystemClipboardAccess): Likewise.
3256         (checkTopLevelWindow): Likewise.
3257         (checkWrite): Likewise.
3258
3259 2003-03-20  Michael Koch  <konqueror@gmx.de>
3260
3261         * gnu/java/nio/FileChannelImpl.java
3262         (address): Removed.
3263         (map_address): New member variable.
3264         (length): Make it package private.
3265         (fd): Make it package private.
3266         (buf): Make it package private.
3267         (file_obj): Make it package private.
3268         (FileChannelImpl): New constructor.
3269         (nio_mmap_file): Use RawData instead of long.
3270         (nio_munmap_file): Use RawData instead of long.
3271         (nio_msync): Use RawData instead of long.
3272         (implCloseChannel): New implementation using map_address.
3273         (read): Reformated.
3274         (map): Implemented.
3275         (create_direct_mapped_buffer): Implemented, use RawData, throws
3276         IOException.
3277         (force): Use map_address instead of address.
3278         * gnu/java/nio/MappedByteFileBuffer.java
3279         (address): Removed.
3280         (map_address): New member variable.
3281         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3282         (several methods): Use map_address instead of address, replaced long
3283         with RawData where appropriate.
3284         * gnu/java/nio/natFileChannelImpl.cc
3285         (nio_mmap_file): Replaced long with RawData.
3286         (nio_munmap_file): Replaced long with RawData.
3287         (nio_msync): Replaced long with RawData.
3288         * gnu/java/nio/natMappedByteFileBuffer.cc
3289         (several methods): Replaced long with RawData where appropriate.
3290
3291 2003-03-20  Michael Koch  <konqueror@gmx.de>
3292
3293         * java/net/InetAddress.java,
3294         java/net/JarURLConnection.java,
3295         java/net/PlainDatagramSocketImpl.java,
3296         java/net/PlainSocketImpl.java,
3297         java/net/URLConnection.java:
3298         Merged copyright statements with classpath for easier merging.
3299
3300 2003-03-20  Michael Koch  <konqueror@gmx.de>
3301
3302         * java/io/FileInputStream.java
3303         (getChannel): New implementation.
3304         * java/io/FileOutputStream.java
3305         (ch): New member variable.
3306         (getChannel): Implemented.
3307         * java/io/RandomAccessFile.java
3308         (RandomAccessFile): Throws FileNotFoundException instead of
3309         IOException.
3310         (getChannel): New method.
3311         (ch): New member variable.
3312
3313 2003-03-20  Michael Koch  <konqueror@gmx.de>
3314
3315         * java/io/DataOutputStream.java,
3316         java/io/File.java,
3317         java/io/FileInputStream.java,
3318         java/io/FileOutputStream.java,
3319         java/io/InputStreamReader.java,
3320         java/io/LineNumberReader.java,
3321         java/io/OutputStreamWriter.java,
3322         java/io/PrintStream.java,
3323         java/io/RandomAccessFile.java:
3324         Merged copyright statements with classpath for easier merging.
3325
3326 2003-03-19  Michael Koch  <konqueror@gmx.de>
3327
3328         * java/lang/Process.java:
3329         Merged from classpath.
3330
3331 2003-03-19  Michael Koch  <konqueror@gmx.de>
3332
3333         * java/io/FileOutputStream.java
3334         (FileOutputStream): New constructor, merged from classpath.
3335         * java/io/FileWriter.java
3336         (FileWriter): New constructor, merged from classpath.
3337
3338 2003-03-18  Michael Koch  <konqueror@gmx.de>
3339
3340         * java/awt/ScrollPane.java
3341         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3342         (getViewportSize): Likewise.
3343         (addNotify): Likewise.
3344         (removeNotify): Likewise.
3345         * java/awt/ScrollPaneAdjustable.java
3346         (ScrollPaneAdjustable): No longer extends Scrollbar.
3347         * java/beans/beancontext/BeanContextServices.java:
3348         Reformated.
3349         (getService): Added throws TooManyListenersException;
3350         * java/beans/beancontext/BeanContextServicesSupport.java:
3351         Reformated.
3352
3353 2003-03-18  Michael Koch  <konqueror@gmx.de>
3354
3355         * java/io/BufferedOutputStream.java,
3356         java/io/DataInput.java,
3357         java/io/DataInputStream.java,
3358         java/io/DataOutput.java,
3359         java/io/Externalizable.java:
3360         More merges from classpath.
3361
3362 2003-03-18  Michael Koch  <konqueror@gmx.de>
3363
3364         * configure.in: Fixed links to platform dependant java.net files.
3365         * configure: Regenerated.
3366         * java/net/natInetAddress.cc,
3367         java/net/natNetworkInterface.cc,
3368         java/net/natPlainDatagramSocketImpl.cc,
3369         java/net/natPlainSocketImpl.cc:
3370         Removed.
3371
3372 2003-03-18  Michael Koch  <konqueror@gmx.de>
3373
3374         * configure.in: Create links to architecture dependent files,
3375         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3376         * configure: Regenerated.
3377         * java/net/natInetAddressNoNet.cc,
3378         java/net/natInetAddressPosix.cc,
3379         java/net/natInetAddressWin32.cc,
3380         java/net/natNetworkInterfaceNoNet.cc,
3381         java/net/natNetworkInterfacePosix.cc,
3382         java/net/natNetworkInterfaceWin32.cc,
3383         java/net/natPlainDatagramSocketImplNoNet.cc,
3384         java/net/natPlainDatagramSocketImplPosix.cc,
3385         java/net/natPlainDatagramSocketImplWin32.cc,
3386         java/net/natPlainSocketImplNoNet.cc,
3387         java/net/natPlainSocketImplPosix.cc,
3388         java/net/natPlainSocketImplWin32.cc: New files.
3389
3390 2003-03-18  Michael Koch  <konqueror@gmx.de>
3391
3392         * java/io/BufferedReader.java,
3393         java/io/BufferedWriter.java,
3394         java/io/ByteArrayOutputStream.java,
3395         java/io/FileFilter.java,
3396         java/io/FilePermission.java,
3397         java/io/FileReader.java,
3398         java/io/FileWriter.java,
3399         java/io/FilenameFilter.java,
3400         java/io/FilterInputStream.java,
3401         java/io/FilterOutputStream.java,
3402         java/io/FilterReader.java,
3403         java/io/FilterWriter.java,
3404         java/io/ObjectInput.java,
3405         java/io/ObjectInputValidation.java,
3406         java/io/ObjectOutput.java,
3407         java/io/ObjectStreamField.java,
3408         java/io/PipedInputStream.java,
3409         java/io/PipedReader.java,
3410         java/io/PrintWriter.java,
3411         java/io/PushbackReader.java,
3412         java/io/Reader.java,
3413         java/io/SerializablePermission.java,
3414         java/io/StringReader.java,
3415         java/io/Writer.java:
3416         Merged from classpath.
3417
3418 2003-03-17  Michael Koch  <konqueror@gmx.de>
3419
3420         * java/awt/ScrollPaneAdjustable.java:
3421         Compile fixes.
3422         
3423 2003-03-17  Michael Koch  <konqueror@gmx.de>
3424
3425         * java/net/DatagramSocket.java
3426         (connect): Fixed comment.
3427         * java/nio/ByteBuffer.java
3428         (hasArray): Fixed comment.
3429
3430 2003-03-17  Michael Koch  <konqueror@gmx.de>
3431
3432         * java/beans/Beans.java:
3433         Explicitely import classes not packages.
3434         * java/beans/FeatureDescriptor.java
3435         (preferred): New member variable.
3436         (isPreferred): New method.
3437         (setPreferred): New method.
3438         * java/beans/PropertyEditorManager.java:
3439         Explicitely import used classes.
3440         * java/beans/beancontext/BeanContextChild.java:
3441         Added line wrapping.
3442         * java/beans/beancontext/BeanContextChildSupport.java:
3443         Reindented.
3444         * java/beans/beancontext/BeanContextEvent.java:
3445         Reindented.
3446
3447 2003-03-17  Michael Koch  <konqueror@gmx.de>
3448
3449         * java/awt/Dialog.java
3450         (Dialog): New constructor, changed implementations, added
3451         documentation.
3452         * java/awt/ScrollPaneAdjustable.java
3453         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3454         Serializable.
3455         (serialVersionUID): New member variable.
3456         (sp): New member variable.
3457         (orientation): New member variable.
3458         (value): New member variable.
3459         (minimum): New member variable.
3460         (maximum): New member variable.
3461         (visibleAmount): New member variable.
3462         (unitIncrement): New member variable.
3463         (blockIncrement): New member variable.
3464         (AdjustmentListener): New member variable.
3465         (ScrollPaneAdjustable): New implementation.
3466         (addAdjustmentListener): New method.
3467         (removeAdjustmentListener): New method.
3468         (getAdjustmentListeners): New method.
3469         (getBlockIncrement): New method.
3470         (getMaximum): New method.
3471         (getMinimum): New method.
3472         (getOrientation): New method.
3473         (getUnitIncrement): New method.
3474         (getValue): New method.
3475         (getVisibleAmount): New method.
3476         (setBlockIncrement): New method.
3477         (setMaximum): Implemented.
3478         (setMinimum): Implemented.
3479         (setUnitIncrement): New method.
3480         (setValue): New method.
3481         (setVisibleAmount): Implemented. 
3482         (paramString): New stubbed method.
3483         * java/awt/Window.java
3484         (show): Call setVisible().
3485         (hide): Call setVisible().
3486         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3487         and WINDOW_STATE_CHANGED.
3488         (processWindowFocusEvent): New method.
3489         (processWindowStateEvent): New method.
3490         (postEvent): Deprecated.
3491         (applyResourceBundle): Deprecated.
3492         * java/awt/datatransfer/DataFlavor.java
3493         (DataFlavor): Doesn't thow ClassNotFoundException.
3494
3495 2003-03-17  Michael Koch
3496
3497         * javax/print/attribute/Attribute.java,
3498         javax/print/attribute/AttributeSet.java,
3499         javax/print/attribute/PrintRequestAttributeSet.java:
3500         New files.
3501         * Makefile.am
3502         (javax_source_files): Added new files:
3503         javax/print/attribute/Attribute.java
3504         javax/print/attribute/AttributeSet.java
3505         javax/print/attribute/PrintRequestAttributeSet.java
3506         * Makefile.in: Regenerated.
3507
3508 2003-03-17  Michael Koch
3509
3510         * javax/print/attribute/Attribute.java,
3511         javax/print/attribute/AttributeSet.java,
3512         javax/print/attribute/PrintRequestAttributeSet.java:
3513         New files.
3514         * Makefile.am
3515         (awt_java_source_files): Added new files:
3516         javax/print/attribute/Attribute.java
3517         javax/print/attribute/AttributeSet.java
3518         javax/print/attribute/PrintRequestAttributeSet.java
3519         * Makefile.in: Regenerated.
3520
3521 2003-03-16  Tom Tromey  <tromey@redhat.com>
3522
3523         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3524         Include platform.h.
3525         * java/lang/natRuntime.cc (insertSystemProperties): Use
3526         _Jv_platform_path_separator.
3527         (nativeGetLibname): Use _Jv_platform_file_separator.
3528         (_load): Use _Jv_platform_onload_names.
3529         (onload_names): New global.
3530         * include/win32.h (_Jv_platform_file_separator): New define.
3531         (_Jv_platform_path_separator): Likewise.
3532         (_Jv_platform_onload_names): Likewise.
3533         (_Jv_platform_ffi_abi): Likewise.
3534         * include/posix.h (_Jv_platform_file_separator): New define.
3535         (_Jv_platform_path_separator): Likewise.
3536         (_Jv_platform_onload_names): Likewise.
3537         (_Jv_platform_ffi_abi): Likewise.
3538
3539 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3540
3541         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3542
3543 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3544
3545         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3546         hierarchy loop.
3547         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3548         list to Object,ObjectStreamClass, moved callReadMethod code up into
3549         readObject and added Class argument to all setXxxField calls.
3550         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3551         consistent with ObjectOutputStream and to facilitate caching the
3552         Method in the future.
3553         (setBooleanField): Added Class argument.
3554         (setByteField): Likewise.
3555         (setCharField): Likewise.
3556         (setDoubleField): Likewise.
3557         (setFloatField): Likewise.
3558         (setIntField): Likewise.
3559         (setLongField): Likewise.
3560         (setShortField): Likewise.
3561         (setObjectField): Likewise.
3562         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3563         class hierarchy loop.
3564         (defaultWriteObject): Call writeFields with new argument list.
3565         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3566         list to Object,ObjectStreamClass, moved callWriteMethod up into
3567         writeObject and added Class argument to all getXxxField calls.
3568         (callWriteMethod): Added ObjectStreamClass argument to be able to
3569         get the proper class to call getMethod on (each class can have (or
3570         not have) its own writeObject method).
3571         (getBooleanField): Added Class argument.
3572         (getByteField): Likewise.
3573         (getCharField): Likewise.
3574         (getDoubleField): Likewise.
3575         (getFloatField): Likewise.
3576         (getIntField): Likewise.
3577         (getLongField): Likewise.
3578         (getShortField): Likewise.
3579         (getObjectField): Likewise.
3580         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3581         facilitate caching the Method object in the future.
3582
3583 2003-03-12  Andreas Schwab  <schwab@suse.de>
3584
3585         * configure.in: Avoid trailing /. in toolexeclibdir.
3586         * configure: Rebuilt.
3587
3588 2003-03-11  Michael Koch  <konqueror@gmx.de>
3589
3590         * gnu/java/nio/ByteBufferImpl.java
3591         (putInt): Use limit() instead of limit.
3592         * gnu/java/nio/CharBufferImpl.java
3593         (slice): Fixed implementation.
3594         (subSequence): Better bounds checking.
3595         * gnu/java/nio/MappedByteFileBuffer.java:
3596         Import all needed classes directly.
3597         * java/nio/ByteBuffer.java
3598         (hashCode): New dummy method.
3599         * java/nio/CharBuffer.java
3600         (array_offset): New member variable.
3601         (hasArray): Fixed documentation.
3602         (arrayOffset): Return array_offset.
3603
3604 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3605
3606         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3607         setter; made return value of getter const char* instead of char*
3608         * prims.cc: removed all references to _Jv_ThisExecutable().
3609         These are in the platform-specific sections now.
3610         * posix.cc: define platform-specific _Jv_ThisExecutable().
3611         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3612         * win32.cc: define platform-specific _Jv_ThisExecutable()
3613         using GetModuleFilename()
3614         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3615         to argv[0] instead of _Jv_ThisExecutable()
3616
3617 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3618
3619         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3620         that is set if we are using addr2name.awk instead of addr2line.
3621         (NameFinder): Set usingAddr2name if using addr2name.awk.
3622         (getExternalLabel): New native method to convert a method 
3623         name to an external label.
3624         (lookup): Convert name given by addr2line to an external label
3625         before demangling.
3626
3627         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3628         constant representing the prefix attached to method names to
3629         convert them to an external label.
3630         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3631         using LABEL_PREFIX.
3632
3633 2003-03-10  Tom Tromey  <tromey@redhat.com>
3634
3635         * Makefile.in: Rebuilt.
3636         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3637         (JC1FLAGS): Removed -Wno-deprecated.
3638
3639 2003-03-10  Michael Koch  <konqueror@gmx.de>
3640
3641         * java/nio/ByteOrder.java
3642         (nativeOrder): Working implementation, added documentation.
3643         (toString): Added documentation.
3644
3645 2003-03-10  Michael Koch  <konqueror@gmx.de>
3646
3647         * java/net/DatagramSocket.java,
3648         java/net/MulticastSocket.java,
3649         java/net/Socket.java,
3650         java/net/URL.java,
3651         java/net/URLConnection.java:
3652         Fixed some documentation tags to make javadoc and friends happy.
3653
3654 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3655
3656         * java/beans/beancontext/BeanContextServicesSupport.java,
3657         java/beans/beancontext/BeanContextSupport.java: New files.
3658         * Makefile.am
3659         (awt_source_files): Added new files.
3660         * Makefile.in: Regenerated.
3661
3662 2003-03-10  Michael Koch  <konqueror@gmx.de>
3663
3664         * java/awt/FocusTraversalPolicy.java
3665         (FocusTraversalPolicy): Documentation added.
3666         (getComponentAfter): Documentation added.
3667         (getComponentBefore): Documentation added.
3668         (getFirstComponent): Documentation added.
3669         (getLastComponent): Documentation added.
3670         (getDefaultComponent): Documentation added.
3671         (getInitialComponent): Documentation added.
3672         * java/awt/ScrollPaneAdjustable.java
3673         (sp): New member variable.
3674         (orientation): New member variable.
3675         (value): New member variable.
3676         (minimum): New member variable.
3677         (maximum): New member variable.
3678         (visibleAmount): New member variable.
3679         (unitIncrement): New member variable.
3680         (blockIncrement): New member variable.
3681         (adjustmentListener): New member variable.
3682         (ScrollPaneAdjustable): Rewrote.
3683         (addAdjustmentListener): New method.
3684         (removeAdjustmentListener): New method.
3685         (getAdjustmentListeners): New method.
3686         (getBlockIncrement): New method.
3687         (getMaximum): New method.
3688         (getMinimum): New method.
3689         (getOrientation): New method.
3690         (getUnitIncrement): New method.
3691         (getValue): New method.
3692         (getVisibleAmount): New method.
3693         (setBlockIncrement): New method.
3694         (setUnitIncrement): New method.
3695         (setMaximum): Implemented.
3696         (setMinimum): Implemented.
3697         (setValue): New method.
3698         (setVisibleAmount): Implemented.
3699         (paramString): New method.
3700         * java/awt/Window.java
3701         (show): Use setVisible(true) instead of super.show().
3702         (hide): Use sevVisible(false) instead of super.hide().
3703         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3704         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3705         (postEvent): Deprecated.
3706         (applyResourceBundle): Deprecated.
3707         (processWindowFocusEvent): New method.
3708         (processWindowStateEvent): New method.
3709         * java/awt/datatransfer/DataFlavor.java: Reindented.
3710         * java/awt/font/TextHitInfo.java
3711         (charIndex): New member variable.
3712         (leadingEdge): New member variable.
3713         (TextHitInfo): New constructor.
3714         (getCharIndex): Implemented.
3715         (isLeadingEdge): Implemented.
3716         (getInsertionIndex): Implemented.
3717         (hashCode): Access charIndex directly.
3718         (equals): Reformated.
3719         (leading): Implemented.
3720         (trailing): Implemented.
3721         (beforeOffset): Implemented.
3722         (afterOffset): Implemented.
3723         (getOtherHit): Implemented.
3724         (getOffsetHit): Implemented.
3725         (toString): Implemented.
3726         * java/awt/image/BufferedImage.java
3727         (BufferedImage): Implements WritableRenderedImage.
3728         (observers): New member variable.
3729         (addTileObserver): New method.
3730         (removeTileObserver): New method.
3731
3732 2003-03-09  Tom Tromey  <tromey@redhat.com>
3733
3734         PR libgcj/9934:
3735         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3736         to lseek.  Return 0 if we can't compute the value.
3737
3738 2003-03-03  Michael Koch  <konqueror@gmx.de>
3739
3740         * java/net/NetworkInterface.java: Merged with classpath.
3741
3742 2003-03-03  Tom Tromey  <tromey@redhat.com>
3743
3744         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3745         of bytecode.
3746         (handle_ret_insn): Fail if returning to jsr that appears at end of
3747         bytecode.
3748
3749 2003-03-03  Michael Koch  <konqueror@gmx.de>
3750
3751         * Makefile.am
3752         (ordinary_java_source_files):
3753         Added gnu/java/nio/MappedByteFileBuffer.java.
3754         (nat_source_files):
3755         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3756         * Makefile.in: Regenerated.
3757
3758 2003-03-03  Michael Koch  <konqueror@gmx.de>
3759
3760         * java/net/DatagramSocket.java
3761         (connect): Merged comment from classpath.
3762         (receive): Merged documentation from classpath.
3763         * java/net/Socket.java
3764         (setSoTimeout): Clarified documentation.
3765         * java/net/URL.java
3766         (getPath): Merged from classpath.
3767         (getUserInfo): Merged from classpath.
3768         (getQuery): Merged from classpath.
3769         * java/net/URLStreamHandler.java
3770         (toExternalForm): Merged from classpath.
3771
3772 2003-03-02  Mark Wielaard  <mark@klomp.org>
3773
3774         * java/util/Properties.java (load): Only skip line if the first
3775         character is a comment, whitespaces don't count.
3776
3777 2003-03-02  Michael Koch  <konqueror@gmx.de>
3778
3779         * java/net/NetPermission.java:
3780         Merged copyright with classpath.
3781
3782 2003-03-02  Michael Koch  <konqueror@gmx.de>
3783
3784         * java/lang/Package.java:
3785         Remerged from classpath.
3786
3787 2003-03-02  Michael Koch  <konqueror@gmx.de>
3788
3789         * java/net/HttpURLConnection.java
3790         (HTTP_SERVER_ERROR): Deprecated.
3791         * java/net/MulticastSocket.java
3792         (send): Replaced checkMulticast with appropriate checkPermission call,
3793         deprecated.
3794         * java/net/URLDecoder.java
3795         (decode): Deprecated.
3796         * java/net/URLEncoder.java
3797         (encode): Deprecated.
3798
3799 2003-03-02  Michael Koch  <konqueror@gmx.de>
3800
3801         * javax/swing/text/Caret.java
3802         (getMagicCaretPosition): Fixed typo in method name.
3803         * javax/swing/text/DefaultCaret.java
3804         (getMagicCaretPosition): Fixed typo in method name.
3805
3806 2003-03-02  Michael Koch  <konqueror@gmx.de>
3807
3808         * java/awt/List.java
3809         (setMultipleSelections): Deprecated.
3810         (delItem): Deprecated.
3811         * java/awt/MenuComponent.java
3812         (getPeer): Deprecated.
3813         * java/awt/ScrollPane.java
3814         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3815         * java/awt/dnd/MouseDragGestureRecognizer.java
3816         (mouseClicked): Added comment.
3817         (mousePressed): Added comment.
3818         (mouseReleased): Added comment.
3819         (mouseEntered): Added comment.
3820         (mouseExited): Added comment.
3821         (mouseDragged): Added comment.
3822         (mouseMoved): Added comment.
3823         * java/awt/event/KeyEvent.java
3824         (KeyEvent): Deprecated.
3825         (setModifiers): Deprecated.
3826         
3827 2003-03-02  Michael Koch  <konqueror@gmx.de>
3828
3829         * gnu/java/nio/FileChannelImpl.java
3830         (fd): Type FileDescriptor instead of int.
3831         (lengthInternal): Removed.
3832         (FileChannelImpl): Fixed arguments, check type of file object.
3833         (size): Made it native.
3834         (implPosition): New native method.
3835         (implTruncate): New native method.
3836         (position): Implemented.
3837         (truncate): Implemented.
3838         (nio_mmap_file): Changed arguments.
3839         (nio_munmap_file): Changed arguments.
3840         (nio_msync): Changed arguments.
3841         * gnu/java/nio/natFileChannelImpl.cc
3842         (lengthInternal): Removed.
3843         (size): New method.
3844         (implPosition): New method.
3845         (implTruncate): New method.
3846         (nio_mmap_file): Changed arguments.
3847         (nio_munmap_file): Changed arguments.
3848         (nio_msync): Changed arguments.
3849
3850 2003-03-02  Michael Koch  <konqueror@gmx.de>
3851
3852         * java/awt/dnd/DropTargetContext.java:
3853         Compile fix: Forgot to commit import.
3854         
3855 2003-03-02  Michael Koch  <konqueror@gmx.de>
3856
3857         * java/awt/Component.java,
3858         java/awt/ScrollPane.java:
3859         Fixed typos.
3860
3861 2003-03-02  Michael Koch  <konqueror@gmx.de>
3862
3863         * java/awt/dnd/DnDEventMulticaster.java: New file.
3864         * java/awt/dnd/DragSource.java
3865         (flavorMap): New member variable.
3866         (dragSourceListener): New member variable.
3867         (dragSourceMotionListener): New member variable.
3868         (getFlavorMap): Implemented.
3869         (createDragGestureRecognizer): Implemented.
3870         (addDragSourceListener): Implemented.
3871         (removeDragSourceListener): Implemented.
3872         (getDragSourceListeners): Implemented.
3873         (addDragSourceMotionListener): Implemented.
3874         (removeDragSourceMotionListener): Implemented.
3875         (getDragSourceMotionListeners): Implemented.
3876         (getListeners): Implemented.
3877         * java/awt/dnd/DragSourceContext.java
3878         (peer): New member variable.
3879         (cursor): New member variable.
3880         (transferable): New member variable.
3881         (trigger): New member variable.
3882         (dragSourceListener): New member variable.
3883         (image): New member variable.
3884         (offset): New member variable.
3885         (DragSourceContext): Implemented.
3886         (getDragSource): Implemented.
3887         (getComponent): Implemented.
3888         (getTrigger): Implemented.
3889         (getSourceActions): Implemented.
3890         (setCursor): Implemented.
3891         (getCursor): Implemented.
3892         (addDragSourceListener): Implemented.
3893         (removeDragSourceListener): Implemented.
3894         (getTransferable): Implemented.
3895         * java/awt/dnd/DropTarget.java
3896         (DropTargetAutoScroller.component): New member variable.
3897         (DropTargetAutoScroller.point): New member variable.
3898         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3899         (DropTargetAutoScroller.updateLocation): Implemented.
3900         (active): Renamed from isActive, defaults to true now.
3901         (component): New member variable.
3902         (flavorMap): New member variable.
3903         (actions): New member variable.
3904         (dropTargetContext): New member variable.
3905         (dropTargetListener): New member variable.
3906         (DropTarget): Implemented.
3907         (getComponent): Implemented.
3908         (setComponent): Implemented.
3909         (setDefaultActions): Implemented.
3910         (getDefaultActions): Implemented.
3911         (setActive): Use active instead of isActive.
3912         (isActive): Use active instead of isActive.
3913         (addDropTargetListener): Implemented.
3914         (removeDropTargetListener): Implemented.
3915         (getFlavorMap): Implemented.
3916         (setFlavorMap): Implemented.
3917         (getDropTargetContext): Implemented.
3918         (createDropTargetContext): Implemented.
3919         (createDropTargetAutoScroller): Implemented.
3920         * java/awt/dnd/DropTargetContext.java
3921         (TransferableProxy.getTransferDataFlavors): Implemented.
3922         (TransferableProxy.isDataFlavorSupported): Implemented.
3923         (TransferableProxy.getTransferData): Implemented.
3924         (dropTarget):  New member variable.
3925         (dtcp): New member variable.
3926         (DropTargetContext): New package private constructor.
3927         (getDropTarget): Implemented.
3928         (getComponent): Implemented.
3929         (addNotify): Implemented.
3930         (removeNotify): Implemented.
3931         (getCurrentDataFlavorsAsList): Implemented.
3932         (isDataFlavorSupported): Implemented.
3933         * java/awt/dnd/MouseDragGestureRecognizer.java
3934         (registerListeners): Implemented.
3935         (unregisterListeners): Implemented.
3936         * Makefile.am
3937         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3938         * Makefile.in: Regenerated.
3939
3940 2003-03-02  Michael Koch  <konqueror@gmx.de>
3941
3942         * java/awt/Component.java
3943         (eventTypeEnabled): New method.
3944         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3945         * java/awt/Container.java
3946         (changeSupport): New member variable.
3947         (addPropertyChangeListener): New methods.
3948         * java/awt/ContainerOrderFocusTraversalPolicy.java
3949         (ContainerOrderFocusTraversalPolicy): Added comment.
3950         (getComponentAfter): Throw exception, documentation added.
3951         (getComponentBefore): Throw exception, documentation added.
3952         (getFirstComponent): Throw exception, documentation added.
3953         (getLastComponent): Throw exception, documentation added.
3954         (getDefaultComponent): Throw exception, documentation added.
3955         * java/awt/EventQueue.java: Reindented.
3956         * java/awt/FocusTraversalPolicy.java:
3957         (FocusTraversalPolicy): Added comment.
3958         (getComponentAfter): Documentation added.
3959         (getComponentBefore): Documentation added.
3960         (getFirstComponent): Documentation added.
3961         (getLastComponent): Documentation added.
3962         (getDefaultComponent): Documentation added.
3963         (getInitialComponent): Documentation added.
3964         * java/awt/ScrollPane.java
3965         (wheelScrollingEnabled): New member variable.
3966         (ScrollPane): Initialize wheelScollingEnabled.
3967         (eventTypeEnabled): New method.
3968         (isWheelScrollingEnabled): New method.
3969         (setWheelScrollingEnabled): New method.
3970
3971 2003-03-02  Michael Koch  <konqueror@gmx.de>
3972
3973         * java/net/DatagramSocket.java
3974         (closed): New member variable.
3975         (close): Use closed variable.
3976         (getInetAddress): No need to call isConnected().
3977         (getPort): No need to call isConnected().
3978         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3979         (isClosed): Reimplemented.
3980         
3981 2003-03-02  Michael Koch  <konqueror@gmx.de>
3982
3983         * configure.in: Added check for memory mapping of files.
3984         * configure: Regenerated.
3985         * config.h.in: Regenerated.
3986
3987 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3988
3989         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3990         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3991
3992 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3993
3994         * java/io/File.java (normalizePath): Remove trailing separator
3995         on Windows only if path is not of the form "x:\".
3996
3997         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3998         (java::io::File::attr): Change formatting a bit and use
3999         WIN32_EPOCH_MILLIS instead of magic numbers.
4000         (java::io::File::isAbsolute): Path must have at least 3 
4001         characters for a UNC network path.
4002         (java::io::File::init_native): Define.
4003         (java::io::File::performCreate): Likewise.
4004         (java::io::File::performSetReadOnly): Likewise.
4005         (java::io::File::performSetLastModified): Likewise.
4006         (java::io::File::performListRoots): Likewise.
4007
4008 2003-03-01  Tom Tromey  <tromey@redhat.com>
4009
4010         * java/lang/natObject.cc: Don't include assert.h.
4011         (heavy_lock_obj_finalization_proc): Use JvAssert.
4012         (remove_all_heavy): Likewise.
4013         (_Jv_MonitorEnter): Likewise.
4014         (_Jv_MonitorExit): Likewise.
4015         (wait): Likewise.
4016
4017 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4018
4019         * java/io/File (getAbsolutePath): Prefix drive specifier on
4020         Windows for paths starting with a '\'.
4021         (toURL): Make URL more consistent with what Sun's JDK returns.
4022
4023         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4024         true only if the path is a UNC network path or it starts with a
4025         drive specifier.
4026
4027         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4028         Be prepared to handle either '/' or '\\' in the file path for
4029         Windows if using the "file" protocol.
4030         Canonicalise the file path if using a relative path in the given
4031         context and the "file" protocol.
4032
4033 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4034
4035         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4036         program array element passed to CreateProcess.
4037
4038 2003-03-01  Tom Tromey  <tromey@redhat.com>
4039
4040         * java/rmi/registry/RegistryHandler.java: Deprecate.
4041
4042 2003-03-01  Tom Tromey  <tromey@redhat.com>
4043
4044         * javax/accessibility/AccessibleEditableText.java,
4045         javax/accessibility/AccessibleHyperlink.java: New versions from
4046         Classpath.
4047
4048         * gnu/java/locale/LocaleInformation_af_ZA.java,
4049         gnu/java/locale/LocaleInformation_ar_AE.java,
4050         gnu/java/locale/LocaleInformation_ar_BH.java,
4051         gnu/java/locale/LocaleInformation_ar_DZ.java,
4052         gnu/java/locale/LocaleInformation_ar_EG.java,
4053         gnu/java/locale/LocaleInformation_ar_IN.java,
4054         gnu/java/locale/LocaleInformation_ar_IQ.java,
4055         gnu/java/locale/LocaleInformation_ar_JO.java,
4056         gnu/java/locale/LocaleInformation_ar_KW.java,
4057         gnu/java/locale/LocaleInformation_ar_LB.java,
4058         gnu/java/locale/LocaleInformation_ar_LY.java,
4059         gnu/java/locale/LocaleInformation_ar_MA.java,
4060         gnu/java/locale/LocaleInformation_ar_OM.java,
4061         gnu/java/locale/LocaleInformation_ar_QA.java,
4062         gnu/java/locale/LocaleInformation_ar_SD.java,
4063         gnu/java/locale/LocaleInformation_ar_SY.java,
4064         gnu/java/locale/LocaleInformation_ar_TN.java,
4065         gnu/java/locale/LocaleInformation_ar_YE.java,
4066         gnu/java/locale/LocaleInformation_be_BY.java,
4067         gnu/java/locale/LocaleInformation_bn_IN.java,
4068         gnu/java/locale/LocaleInformation_br_FR.java,
4069         gnu/java/locale/LocaleInformation_bs_BA.java,
4070         gnu/java/locale/LocaleInformation_ca_ES.java,
4071         gnu/java/locale/LocaleInformation_cs_CZ.java,
4072         gnu/java/locale/LocaleInformation_cy_GB.java,
4073         gnu/java/locale/LocaleInformation_da_DK.java,
4074         gnu/java/locale/LocaleInformation_de_AT.java,
4075         gnu/java/locale/LocaleInformation_de_BE.java,
4076         gnu/java/locale/LocaleInformation_de_CH.java,
4077         gnu/java/locale/LocaleInformation_de_DE.java,
4078         gnu/java/locale/LocaleInformation_de_LU.java,
4079         gnu/java/locale/LocaleInformation_el_GR.java,
4080         gnu/java/locale/LocaleInformation_en_AU.java,
4081         gnu/java/locale/LocaleInformation_en_BW.java,
4082         gnu/java/locale/LocaleInformation_en_CA.java,
4083         gnu/java/locale/LocaleInformation_en_DK.java,
4084         gnu/java/locale/LocaleInformation_en_GB.java,
4085         gnu/java/locale/LocaleInformation_en_HK.java,
4086         gnu/java/locale/LocaleInformation_en_IE.java,
4087         gnu/java/locale/LocaleInformation_en_IN.java,
4088         gnu/java/locale/LocaleInformation_en_NZ.java,
4089         gnu/java/locale/LocaleInformation_en_PH.java,
4090         gnu/java/locale/LocaleInformation_en_SG.java,
4091         gnu/java/locale/LocaleInformation_en_US.java,
4092         gnu/java/locale/LocaleInformation_en_ZA.java,
4093         gnu/java/locale/LocaleInformation_en_ZW.java,
4094         gnu/java/locale/LocaleInformation_es_AR.java,
4095         gnu/java/locale/LocaleInformation_es_BO.java,
4096         gnu/java/locale/LocaleInformation_es_CL.java,
4097         gnu/java/locale/LocaleInformation_es_CO.java,
4098         gnu/java/locale/LocaleInformation_es_CR.java,
4099         gnu/java/locale/LocaleInformation_es_DO.java,
4100         gnu/java/locale/LocaleInformation_es_EC.java,
4101         gnu/java/locale/LocaleInformation_es_ES.java,
4102         gnu/java/locale/LocaleInformation_es_GT.java,
4103         gnu/java/locale/LocaleInformation_es_HN.java,
4104         gnu/java/locale/LocaleInformation_es_MX.java,
4105         gnu/java/locale/LocaleInformation_es_NI.java,
4106         gnu/java/locale/LocaleInformation_es_PA.java,
4107         gnu/java/locale/LocaleInformation_es_PE.java,
4108         gnu/java/locale/LocaleInformation_es_PR.java,
4109         gnu/java/locale/LocaleInformation_es_PY.java,
4110         gnu/java/locale/LocaleInformation_es_SV.java,
4111         gnu/java/locale/LocaleInformation_es_US.java,
4112         gnu/java/locale/LocaleInformation_es_UY.java,
4113         gnu/java/locale/LocaleInformation_es_VE.java,
4114         gnu/java/locale/LocaleInformation_et_EE.java,
4115         gnu/java/locale/LocaleInformation_eu_ES.java,
4116         gnu/java/locale/LocaleInformation_fa_IR.java,
4117         gnu/java/locale/LocaleInformation_fi_FI.java,
4118         gnu/java/locale/LocaleInformation_fo_FO.java,
4119         gnu/java/locale/LocaleInformation_fr_BE.java,
4120         gnu/java/locale/LocaleInformation_fr_CA.java,
4121         gnu/java/locale/LocaleInformation_fr_CH.java,
4122         gnu/java/locale/LocaleInformation_fr_FR.java,
4123         gnu/java/locale/LocaleInformation_fr_LU.java,
4124         gnu/java/locale/LocaleInformation_ga_IE.java,
4125         gnu/java/locale/LocaleInformation_gd_GB.java,
4126         gnu/java/locale/LocaleInformation_gl_ES.java,
4127         gnu/java/locale/LocaleInformation_gv_GB.java,
4128         gnu/java/locale/LocaleInformation_he_IL.java,
4129         gnu/java/locale/LocaleInformation_hi_IN.java,
4130         gnu/java/locale/LocaleInformation_hr_HR.java,
4131         gnu/java/locale/LocaleInformation_hu_HU.java,
4132         gnu/java/locale/LocaleInformation_id_ID.java,
4133         gnu/java/locale/LocaleInformation_it_CH.java,
4134         gnu/java/locale/LocaleInformation_it_IT.java,
4135         gnu/java/locale/LocaleInformation_iw_IL.java,
4136         gnu/java/locale/LocaleInformation_ja_JP.java,
4137         gnu/java/locale/LocaleInformation_ka_GE.java,
4138         gnu/java/locale/LocaleInformation_kl_GL.java,
4139         gnu/java/locale/LocaleInformation_ko_KR.java,
4140         gnu/java/locale/LocaleInformation_kw_GB.java,
4141         gnu/java/locale/LocaleInformation_lt_LT.java,
4142         gnu/java/locale/LocaleInformation_lv_LV.java,
4143         gnu/java/locale/LocaleInformation_mi_NZ.java,
4144         gnu/java/locale/LocaleInformation_mk_MK.java,
4145         gnu/java/locale/LocaleInformation_mr_IN.java,
4146         gnu/java/locale/LocaleInformation_mt_MT.java,
4147         gnu/java/locale/LocaleInformation_nl_BE.java,
4148         gnu/java/locale/LocaleInformation_nl_NL.java,
4149         gnu/java/locale/LocaleInformation_nn_NO.java,
4150         gnu/java/locale/LocaleInformation_no_NO.java,
4151         gnu/java/locale/LocaleInformation_oc_FR.java,
4152         gnu/java/locale/LocaleInformation_pl_PL.java,
4153         gnu/java/locale/LocaleInformation_pt_BR.java,
4154         gnu/java/locale/LocaleInformation_pt_PT.java,
4155         gnu/java/locale/LocaleInformation_ro_RO.java,
4156         gnu/java/locale/LocaleInformation_ru_RU.java,
4157         gnu/java/locale/LocaleInformation_ru_UA.java,
4158         gnu/java/locale/LocaleInformation_se_NO.java,
4159         gnu/java/locale/LocaleInformation_sk_SK.java,
4160         gnu/java/locale/LocaleInformation_sl_SI.java,
4161         gnu/java/locale/LocaleInformation_sq_AL.java,
4162         gnu/java/locale/LocaleInformation_sr_YU.java,
4163         gnu/java/locale/LocaleInformation_sv_FI.java,
4164         gnu/java/locale/LocaleInformation_sv_SE.java,
4165         gnu/java/locale/LocaleInformation_ta_IN.java,
4166         gnu/java/locale/LocaleInformation_te_IN.java,
4167         gnu/java/locale/LocaleInformation_tg_TJ.java,
4168         gnu/java/locale/LocaleInformation_tl_PH.java,
4169         gnu/java/locale/LocaleInformation_tr_TR.java,
4170         gnu/java/locale/LocaleInformation_uk_UA.java,
4171         gnu/java/locale/LocaleInformation_ur_PK.java,
4172         gnu/java/locale/LocaleInformation_uz_UZ.java,
4173         gnu/java/locale/LocaleInformation_vi_VN.java,
4174         gnu/java/locale/LocaleInformation_yi_US.java,
4175         gnu/java/locale/LocaleInformation_zh_CN.java,
4176         gnu/java/locale/LocaleInformation_zh_HK.java,
4177         gnu/java/locale/LocaleInformation_zh_SG.java,
4178         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4179         info; from Classpath.
4180
4181         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4182         isPaintPending): New methods.
4183         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4184         setMaximizedBounds): New methods.
4185         (beginLayout, endLayout, isPaintPending): Likewise.
4186         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4187         (requestFocus): Likewise.
4188         (isObscured): Likewise.
4189         (canDetermineObscurity): Likewise.
4190         (coalescePaintEvent): Likewise.
4191         (updateCursorImmediately): Likewise.
4192         (createVolatileImage): Likewise.
4193         (handlesWheelScrolling): Likewise.
4194         (createBuffers): Likewise.
4195         (getBackBuffer): Likewise.
4196         (flip): Likewise.
4197         (destroyBuffers): Likewise.
4198
4199         * Makefile.in: Rebuilt.
4200         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4201         RobotPeer.java.
4202         * gnu/java/awt/GLightweightPeer.java,
4203         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4204         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4205         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4206         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4207         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4208         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4209         java/awt/dnd/peer/DragSourceContextPeer.java,
4210         java/awt/dnd/peer/DropTargetContextPeer.java,
4211         java/awt/peer/ButtonPeer.java,
4212         java/awt/peer/CheckboxMenuItemPeer.java,
4213         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4214         java/awt/peer/ComponentPeer.java,
4215         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4216         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4217         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4218         java/awt/peer/MenuBarPeer.java,
4219         java/awt/peer/MenuComponentPeer.java,
4220         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4221         java/awt/peer/PopupMenuPeer.java,
4222         java/awt/peer/ScrollPanePeer.java,
4223         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4224         java/awt/peer/TextComponentPeer.java,
4225         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4226         New versions from Classpath.
4227         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4228         * java/awt/peer/RobotPeer.java: Likewise.
4229
4230 2003-03-01  Mark Wielaard  <mark@klomp.org>
4231
4232         * java/io/ObjectInputStream.java: Reindent.
4233         * java/io/ObjectOutputStream.java: Likewise.
4234
4235 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4236
4237         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4238         jvalue for each argument. Simplify.
4239         * testsuite/libjava.jni/calls.c (docall),
4240         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4241         misalignment.
4242
4243 2003-02-28  Mark Wielaard  <mark@klomp.org>
4244
4245         * Makefile.am (nat_source_files): Remove
4246         java/io/natObjectOutputStream.cc.
4247         * Makefile.in: Regenerated.
4248         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4249         * java/io/ObjectStreamField.java (typename): New field.
4250         (ObjectStreamField(String, Class)): Initialize new field.
4251         (ObjectStreamField(String, String)): New Constructor.
4252         (getTypeCode): Use new field.
4253         (getTypeString): Use new field.
4254         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4255         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4256         Handle reading of Proxy classes. Never drain(), just write
4257         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4258         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4259         (flush): Call flush(), not just drain().
4260         (writeBoolean): Always use blockDataOutput.
4261         (writeByte): Likewise.
4262         (writeShort): Likewise.
4263         (writeChar): Likewise.
4264         (writeInt): Likewise.
4265         (writeLong): Likewise.
4266         (writeFloat): Likewise.
4267         (writeDouble): Likewise.
4268         (writeBytes): Likewise.
4269         (putfield (put(String,Object))): Throw IllegalArgumentException if
4270         field cannot be found.
4271         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4272         (writeArraySizeAndElements): Write byte[] in one go.
4273         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4274         set BlockDataMode to false.
4275         (annotateProxyClass): New method.
4276         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4277         (getField): No longer native.
4278         (getMethod): Likewise.
4279         (setBlockDataMode): Always drain() on switch, return old mode.
4280         (static): New static code block.
4281         * java/io/natObjectOutputStream.cc: Removed.
4282         * java/io/ObjectInputStream.java (getField): No longer native.
4283         (getMethod): Likewise.
4284         (readObject): Remember and reset old BlockDataMode. Track whether
4285         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4286         TC_LONGSTRING.
4287         (defaultReadObject): Set BlockDataMode to false during readFields.
4288         (resolveClass): Create new SecurityManager if necessary.
4289         Use Class.forName() if null ClassLoader found.
4290         (read(byte[],int,int): Copy remaining bytes to data before calling
4291         readNextBlock().
4292         (readFields): Set and reset BlockDataMode on call_read_method.
4293         Catch NoSuchFieldErrors.
4294         (setBlockDataMode): Return old mode.
4295         (static): New static code block.
4296         * java/io/natObjectInputStream.cc (getField): Removed.
4297         (getMethod): Likewise.
4298
4299 2003-02-27  Michael Koch  <konqueror@gmx.de>
4300
4301         * java/beans/Beans.java,
4302         java/beans/FeatureDescriptor.java
4303         java/beans/PropertyEditorManager.java:
4304         Reformated to GNU style.
4305
4306 2003-02-25  Michael Koch  <konqueror@gmx.de>
4307
4308         * gnu/java/nio/MappedByteFileBuffer.java,
4309         gnu/java/nio/natMappedByteFileBuffer.cc:
4310         New files, both are not compiled yet to get not noncompiling CVS.
4311
4312 2003-02-24  Tom Tromey  <tromey@redhat.com>
4313
4314         * java/util/prefs/AbstractPreferences.java (isUserNode):
4315         Implemented.
4316
4317 2003-02-24  Tom Tromey  <tromey@redhat.com>
4318
4319         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4320         Deprecate.
4321         * java/lang/Thread.java (resume): Deprecate.
4322         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4323         in @deprecated.
4324
4325 2003-02-23  Tom Tromey  <tromey@redhat.com>
4326
4327         * Makefile.in: Rebuilt.
4328         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4329
4330 2003-02-23  Tom Tromey  <tromey@redhat.com>
4331
4332         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4333         libraries): Removed.
4334         (add_library): Removed.
4335         (_load): Don't call add_library.
4336         (loadLibraryInternal): Likewise.
4337         (init): Likewise.
4338         (lookup_data): New struct.
4339         (find_symbol): New function.
4340         (_Jv_FindSymbolInExecutable): Use it.
4341
4342 2002-02-21  Anthony Green  <green@redhat.com>
4343
4344         * java/lang/Thread.java (Thread): New constructor taking stack
4345         size parameter (ignored for now).
4346         * Many methods: Merged GNU Classpath documentation.
4347
4348         * java/lang/Class.java (finalize): throws a Throwable.
4349
4350 2003-02-21  Mark Wielaard  <mark@klomp.org>
4351
4352         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4353         argument is null.
4354
4355 2003-02-21  Mark Wielaard  <mark@klomp.org>
4356
4357         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4358         then 65535 chars throw IllegalArgumentException.
4359
4360 2003-02-21  Mark Wielaard  <mark@klomp.org>
4361
4362         * java/util/zip/ZipFile.java (finalize): New method.
4363
4364 2003-02-21  Michael Koch  <konqueror@gmx.de>
4365
4366         * gnu/java/nio/natSocketChannelImpl.cc:
4367         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4368         <cato@df.lth.se> for pointing to it.
4369
4370 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4371
4372         * java/math/BigInteger.java (euclidInv): Take result array as an
4373         argument.  Updated all callers.
4374         (modInverse): Removed unused variables.
4375
4376 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4377
4378         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4379         config.status.
4380         * configure: Rebuilt.
4381
4382 2003-02-19  Michael Koch  <konqueror@gmx.de>
4383
4384         * gnu/java/nio/natSocketChannelImpl.cc:
4385         Added support for platforms without network support.
4386
4387 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4388
4389         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4390         after config.h.  Use <> for consistency.
4391         * java/lang/natObject.cc: Likewise.
4392         * java/lang/natRuntime.cc: Likewise.
4393         * java/lang/natSystem.cc: Likewise.
4394         * java/util/natTimeZone.cc: Likewise.
4395         * win32.cc: Likewise.
4396         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4397         listen, write, read): Undef to avoid interference from OS macros.
4398
4399 2003-02-19  Michael Koch  <konqueror@gmx.de>
4400
4401         * gnu/java/nio/ByteBufferImpl.java
4402         (ByteBufferImpl): Renamed two variables.
4403         * gnu/java/nio/CharBufferImpl.java
4404         (CharBufferImpl): Renamed two variables.
4405         * gnu/java/nio/DoubleBufferImpl.java
4406         (DoubleBufferImpl): Renamed two variables.
4407         * gnu/java/nio/FloatBufferImpl.java
4408         (FloatBufferImpl): Renamed two variables.
4409         * gnu/java/nio/IntBufferImpl.java
4410         (IntBufferImpl): Renamed two variables.
4411         * gnu/java/nio/LongBufferImpl.java
4412         (LongBufferImpl): Renamed two variables.
4413         * gnu/java/nio/ShortBufferImpl.java
4414         (ShortBufferImpl): Renamed two variables.
4415         * java/nio/CharBuffer.java
4416         (wrap): Fixed arguments to CharBufferImpl constructor.
4417         (hasArray): Only not read-only buffers have backing arrays.
4418         (length): Documentation added.
4419         (subSequence): Documentation added.
4420         * java/nio/DoubleBuffer.java
4421         (hasArray): Only not read-only buffers have backing arrays.
4422         * java/nio/FloatBuffer.java
4423         (hasArray): Only not read-only buffers have backing arrays.
4424         * java/nio/IntBuffer.java
4425         (hasArray): Only not read-only buffers have backing arrays.
4426         * java/nio/LongBuffer.java
4427         (hasArray): Only not read-only buffers have backing arrays.
4428         * java/nio/ShortBuffer.java
4429         (hasArray): Only not read-only buffers have backing arrays.
4430         
4431 2003-02-19  Michael Koch  <konqueror@gmx.de>
4432
4433         * javax/accessibility/AccessibleContext.java
4434         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4435
4436 2003-02-19  Michael Koch  <konqueror@gmx.de>
4437
4438         * java/awt/ScrollPaneAdjustable.java: Reformated.
4439
4440 2003-02-19  Michael Koch <konqueror@gmx.de>
4441
4442         * gnu/awt/j2d/Graphics2DImpl.java
4443         (getFontRenderContext): New method.
4444         (drawGlyphVector): New method.
4445         * java/awt/Graphics2D.java
4446         (getFontRenderContext): New abstract method.
4447         (drawGlyphVector): New abstract method.
4448         
4449 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4450
4451         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4452         if necessary.
4453         
4454         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4455         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4456         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4458         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4460         (setFont, gtkSetFont): add.
4461         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4462         Propagate font to peer.  (setFont): add FIXME comment.
4463
4464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4465         (gtkTextGetSize): fix height, width computation.
4466
4467         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4468         Make X font name a bit less bogus.
4469
4470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4471         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4472
4473         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4474         (processAdjustmentEvent): Adjust value.
4475
4476         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4477         logic errors.
4478
4479         * java/awt/Component.java (setVisible, show, hide): Call show and
4480         hide methods in subclasses.
4481         (getPreferredSize): don't set prefSize before we have peer.
4482
4483         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4484         Guess (0,0) if we don't have peer.
4485
4486
4487 2003-02-18  Michael Koch  <konqueror@gmx.de>
4488
4489         * java/nio/channels/FileChannel.java
4490         (toString): New implementation, added documentation.
4491         (map): Added exception documentation.
4492         (size): Added exception documentation.
4493         (write): New methods, documentation work.
4494         (read): New methods, documentation work.
4495         (implCloseChannel): Rewrote exception documentation.
4496         (force): Throws IOException, added documentation.
4497         (lock): New methods.
4498         (tryLock): New methods.
4499         (position): New methods.
4500         (transferTo): New method.
4501         (transferFrom): New method.
4502         (truncate): New method.
4503         * java/nio/channels/spi/SelectorProvider.java
4504         (provider): Implemented.
4505         * Makefile.am
4506         (ordinary_java_source_files): Added the following files:
4507         gnu/java/nio/DatagramChannelImpl.java
4508         gnu/java/nio/FileChannelImpl.java
4509         gnu/java/nio/PipeImpl.java
4510         gnu/java/nio/SelectionKeyImpl.java
4511         gnu/java/nio/SelectorImpl.java
4512         gnu/java/nio/SelectorProviderImpl.java
4513         gnu/java/nio/ServerSocketChannelImpl.java
4514         gnu/java/nio/SocketChannelImpl.java
4515         java/nio/channels/FileLock.java
4516         (nat_java_source_files): Added the following files:
4517         gnu/java/nio/natFileChannelImpl.cc
4518         gnu/java/nio/natSelectorImpl.cc
4519         gnu/java/nio/natSocketChannelImpl.cc
4520         * Makefile.in: Regenerated.
4521
4522 2003-02-17  Tom Tromey  <tromey@redhat.com>
4523
4524         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4525         * java/awt/image/ImageFilter.java: Likewise.
4526
4527 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4528
4529         * java/math/BigInteger.java (euclidInv): Return array of
4530         `BigInteger's.  Changed all callers.
4531
4532 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4533
4534         * java/util/Properties.java (store): Move the code formerly in
4535         list(), into this method.
4536         (list (PrintStream)): Just call list (PrintWriter) with a 
4537         PrintWriter object constructed from the given PrintStream object.
4538         (list (PrintWriter)): Emulate the output of Properties.list()
4539         as found in JDK 1.3/1.4.
4540
4541 2003-02-17  Michael Koch  <konqueror@gmx.de>
4542
4543         * java/net/DatagramSocket.java
4544         (connect): Merged with classpath.
4545         (disconnect): Merged documentation with classpath.
4546         (receice): Merged documentation with classpath.
4547         (send): Merged documentation with classpath.
4548         
4549 2003-02-17  Michael Koch  <konqueror@gmx.de>
4550
4551         * java/awt/dnd/DragSourceContext.java
4552         (addDragSourceListener): Added documentation.
4553         * java/awt/dnd/DragSourceDragEvent.java
4554         (serialVersionUID): New member variable.
4555         (getDropAction): Reformated.
4556         * java/awt/dnd/DragSourceDropEvent.java
4557         (serialVersionUID): New member variable.
4558         (dropSuccess): Renamed from success for serialization issues.
4559         * java/awt/dnd/DragSourceEvent.java
4560         (serialVersionUID): New member variable.
4561         * java/awt/dnd/DropTarget.java
4562         (serialVersionUID): New member variable.
4563         (DropTarget): Implemented, documentation reworked.
4564         (setComponent): Documentation added.
4565         (getComponent): Documentation added.
4566         (setDefaultActions): Documentation added.
4567         (getDefaultActions): Documentation added.
4568         (addDropTargetListener): Documentation added.
4569         * java/awt/dnd/DropTargetContext.java
4570         (DropTargetContext): Documentation added.
4571         (TransferableProxy.TransferableProxy): New method.
4572         (dropComplete): Fixed documentation.
4573         (getTransferable): Fixed documentation.
4574         (createTransferableProxy): Implemented.
4575         * java/awt/dnd/DropTargetDragEvent.java
4576         (DropTargetDragEvent): Documentation added.
4577         (serialVersionUID): New member variable.
4578         (DropTargetDragEvent): Throw exceptions, documentation added.
4579         (acceptDrag): Implemented.
4580         (getCurrentDataFlavors): Implemented.3yy
4581         (getCurrentDataFlavorsAsList): Implemented.
4582         (isDataFlavorSupported): Implemented.
4583         (rejectDrag): Implemented.
4584         * java/awt/dnd/DropTargetDropEvent.java
4585         (DropTargetDropEvent): Documentation added.
4586         (serialVersionUID): New member variable.
4587         (actions): Renamed from srcActions for serialization issues.
4588         (isLocalTx): Renamed from isLocalTx for serialization issues.
4589         (DropTargetDropEvent): New implementation, throw exceptions,
4590         documentation added.
4591         (getCurrentDataFlavors): Implemented.
4592         (getCurrentDataFlavorsAsList): Implemented.
4593         (isDataFlavorSupported): Implemented.
4594         (getSourceActions): Implemented.
4595         (getDropAction): Implemented.
4596         (getTransferable): Implemented.
4597         (acceptDrop): Implemented.
4598         (rejectDrop): Implemented.
4599         * java/awt/dnd/DropTargetListener.java
4600         (drop): Fixed documentation.
4601         * java/awt/dnd/MouseDragGestureRecognizer.java
4602         (MouseDragGestureRecognizer): Documentation added.
4603
4604 2003-02-17  Michael Koch  <konqueror@gmx.de>
4605
4606         * java/awt/font/FontRenderContext.java,
4607         java/awt/font/ShapeGraphicAttribute.java,
4608         java/awt/font/MultipleMaster.java,
4609         java/awt/font/TransformAttribute.java,
4610         java/awt/font/GlyphJustificationInfo.java,
4611         java/awt/font/LineBreakMeasurer.java,
4612         java/awt/font/TextMeasurer.java,
4613         java/awt/font/TextLayout.java,
4614         java/awt/font/LineMetrics.java,
4615         java/awt/font/TextAttribute.java,
4616         java/awt/font/GlyphMetrics.java,
4617         java/awt/font/OpenType.java,
4618         java/awt/font/GlyphVector.java,
4619         java/awt/font/GraphicAttribute.java,
4620         java/awt/font/ImageGraphicAttribute.java,
4621         java/awt/font/NumericShaper.java: New files.
4622         * Makefile.am
4623         (awt_java_source_files): Added the following files:
4624         java/awt/font/FontRenderContext.java
4625         java/awt/font/ShapeGraphicAttribute.java
4626         java/awt/font/MultipleMaster.java
4627         java/awt/font/TransformAttribute.java
4628         java/awt/font/GlyphJustificationInfo.java
4629         java/awt/font/LineBreakMeasurer.java
4630         java/awt/font/TextMeasurer.java
4631         java/awt/font/TextLayout.java
4632         java/awt/font/LineMetrics.java
4633         java/awt/font/TextAttribute.java
4634         java/awt/font/GlyphMetrics.java
4635         java/awt/font/OpenType.java
4636         java/awt/font/GlyphVector.java
4637         java/awt/font/GraphicAttribute.java
4638         java/awt/font/ImageGraphicAttribute.java
4639         java/awt/font/NumericShaper.java
4640         * Makefile.in: Regenerated.
4641
4642 2003-02-17  Michael Koch  <konqueror@gmx.de>
4643
4644         * java/awt/print/Paper.java
4645         (Paper): Implements Cloneable.
4646         * java/awt/print/PrinterJob.java
4647         (setJobName): Return value must be void.
4648         (print): Throws PrinterException.
4649         
4650 2003-02-16  Tom Tromey  <tromey@redhat.com>
4651
4652         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4653         variable.
4654
4655 2003-02-15  Michael Koch  <konqueror@gmx.de>
4656
4657         * java/awt/datatransfer/DataFlavor.java
4658         (isRepresentationClassByteBuffer): Removed try-catch block.
4659         (isRepresentationClassCharBuffer): Removed try-catch block.
4660         (isRepresentationClassReader): Removed try-catch block.
4661
4662 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4663
4664         * java/nio/charset/Charset.java
4665         (isRegistered): Fixed method args and implementation.
4666         * java/nio/charset/CharsetEncoder.java
4667         (unmappableCharacterAction): New method.
4668
4669 2003-02-15  Michael Koch  <konqueror@gmx.de>
4670
4671         * java/awt/CheckboxMenuItem.java
4672         (CheckBoxMenuItem): Dont implement Serializable.
4673         (getListeners): New method,
4674         (getItemListeners): New method.
4675         * java/awt/Choice.java
4676         (getListeners): New method,
4677         (getItemListeners): New method.
4678         * java/awt/Container.java
4679         (getListeners): Added exception documentation.
4680         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4681         (getFocusTraversalKeys): Added documentation.
4682         (areFocusTraversalKeysSet): Added documentation.
4683         (applyComponentOrientation): Added documentation.
4684         * java/awt/ContainerOrderFocusTraversalPolicy.java
4685         (implicitDownCycleTraversal): Renamed from downCycle for
4686         serialization.
4687         (ContainerOrderFocusTraversalPolicy): Added documentation.
4688         (accept): Reformated.
4689         * java/awt/Dialog.java
4690         (Dialog): Dont implement Serializable.
4691         (Dialog): Added documentation.
4692         * java/awt/Font.java
4693         (Font): Dont use absolute class name.
4694         * java/awt/Frame.java
4695         (Frame): Font implement Serializable.
4696         * java/awt/List.java
4697         (getListeners): New method,
4698         (getActionListeners): New method.       
4699         (getItemListeners): New method.
4700         * java/awt/Menu.java
4701         (countItems): New deprecated method.
4702         * java/awt/Scrollbar.java
4703         (getListeners): New method,
4704         (getAdjustmentListeners): New method,
4705         * java/awt/TextComponent.java
4706         (getListeners): New method,
4707         (getTextListeners): New method,
4708         * java/awt/TextField.java
4709         (getListeners): New method,
4710         (getActionListeners): New method.       
4711         * java/awt/Window.java
4712         (windowFocusListener): New member variable.
4713         (windowStateListener): New member variable.
4714         (getWindowFocusListeners): New method.
4715         (getWindowStateListeners): New method.
4716         (addWindowFocusListener): New method.
4717         (addWindowStateListener): New method.
4718         (removeWindowFocusListener): New method.
4719         (removeWindowStateListener): New method.
4720         * java/awt/datatransfer/DataFlavor.java
4721         (isRepresentationClassByteBuffer): New method.
4722         (isRepresentationClassCharBuffer): New method.
4723         (isRepresentationClassReader): New method.
4724
4725 2003-02-14  Mark Wielaard  <mark@klomp.org>
4726
4727         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4728         zero when there is an exponent and the significant is zero.
4729         (divide): Always set scale to newScale even in special ZERO case.
4730
4731 2003-02-14  Tom Tromey  <tromey@redhat.com>
4732
4733         * java/lang/System.java (properties): Use Properties.clone.
4734         (setProperties): Likewise.
4735
4736 2003-02-14  Michael Koch  <konqueror@gmx.de>
4737
4738         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4739         * gnu/java/nio/ServerSocketChannelImpl.java
4740         (SocketAccept): Removed.
4741         (accept): Commented out use of SocketAccept.
4742
4743 2003-02-13  Tom Tromey  <tromey@redhat.com>
4744
4745         * verify.cc (state::seen_subrs): New field.
4746         (state::state): Initialize it.
4747         (state::clean_subrs): New method.
4748         (state::~state): Call it.
4749         (state::copy): Copy subroutine list.
4750         (state::add_subr): New method.
4751         (state::merge): Only register a change if the current subroutine
4752         hasn't yet been noted.
4753
4754 2003-02-13  Mark Wielaard  <mark@klomp.org>
4755
4756         * java/io/InputStreamReader.java (getEncoding): Return null when
4757         closed.
4758         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4759
4760 2003-02-13  Mark Wielaard  <mark@klomp.org>
4761  
4762         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4763         is zero.
4764
4765 2003-02-13  Mark Wielaard  <mark@klomp.org>
4766
4767         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4768         next byte cannot be buffered.
4769
4770 2003-02-13  Michael Koch  <konqueror@gmx.de>
4771  
4772         * java/awt/Label.java
4773         (Label): Don't implement Serializable directly.
4774         (addNotify): Fixed typo in documentation.
4775         * java/awt/List.java
4776         (List): Don't implement Serializable directly.
4777         * java/awt/PopupMenu.java
4778         (PopupMenu): Don't implement Serializable directly.
4779         * java/awt/ScrollPane.java
4780         (ScrollPane): Don't implement Serializable directly.
4781         * java/awt/Scrollbar.java
4782         (Scrollbar): Don't implement Serializable directly.
4783         * java/awt/TextArea.java
4784         (preferredSize): Fixed method arguments.
4785         * java/awt/TextField.java
4786         (TextField): Don't implement Serializable directly.
4787         * java/awt/color/ICC_ColorSpace.java
4788         (fromCIOXYZ): Documentation added.
4789         (getMinValue): Documentation added.
4790         (getMaxValue): Documentation added.
4791         * java/awt/datatransfer/DataFlavor.java
4792         (isMimeTypeEqual): May not be final.
4793         (clone): Throws CloneNotSupportedException.
4794         (getReaderForText): Don't throws UnsupportedEncodingException.
4795
4796 2003-02-13  Michael Koch  <konqueror@gmx.de>
4797  
4798         * gnu/java/awt/peer/gtk/GdkGraphics.java
4799         (drawString): New stubbed method.
4800         * java/awt/Graphics.java
4801         (drawString): New method.
4802
4803 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4804
4805         PR libgcj/9271:
4806         * java/security/SecureRandom.java (next): Avoid bias in results.
4807
4808 2003-02-13  Michael  <konqueror@gmx.de>
4809
4810         * gnu/java/nio/FileChannelImpl.java
4811         (lengthInternal): Must be native.
4812         (size): Check if channel is already closed.
4813         (implCloseChannel): Reformated.
4814         (read): w was unused, removed it.
4815         (read): Removed.
4816         (read): New method.
4817         (write): New method.
4818         (map): Check arguments.
4819         (force): Throws IOException, check if channel is closed.
4820         (transferTo): New method.
4821         (transferFrom): New method.
4822         (lock): New method.
4823         (tryLock): New method.
4824         (position): New method.
4825         (truncate): New method.
4826         (nio_mmap_file): Uncommented.
4827         (nio_munmap_file): Uncommented.
4828         (nio_msync): Uncommented.
4829         * gnu/java/nio/natFileChannelImpl.cc: New file.
4830         
4831 2003-02-13  Michael Koch  <konqueror@gmx.de>
4832
4833         * java/nio/ByteBuffer.java
4834         (endian): New member variable.
4835         (get): New methods.
4836         (equals): New method.
4837         (compareTo): New method.
4838         (order): New methods.
4839         (compact): New method.
4840         (isDirect): New method.
4841         (slice): New method.
4842         (duplicate): New method.
4843         (asReadOnlyBuffer): New method.
4844         (asCharBuffer): New method.
4845         (asDoubleBuffer): New method.
4846         (asFloatBuffer): New method.
4847         (asIntBuffer): New method.
4848         (asLongBuffer): New method.
4849         (asShortBuffer): New method.
4850         (get*): New methods.
4851         (put*): New methods.
4852         (toString): New method.
4853         * java/nio/CharBuffer.java
4854         (CharBuffer): Implement Comparable instead of Cloneable.
4855         (get): May not be final.
4856         (put): May not be final.
4857         
4858 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4859
4860         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4861         lastIndexOf( ) instead of indexOf( ) to find the colon before
4862         the line number, because Win32 file names might contain a 
4863         drive letter and a colon at the start of an absolute path.
4864
4865 2003-02-13  Michael Koch  <konqueror@gmx.de>
4866
4867         * gnu/java/nio/natSocketChannelImpl.cc
4868         (SocketConnect): This is not implemented yet.
4869         (SocketBind): This is not implemented yet.
4870
4871 2003-02-13  Michael Koch  <konqueror@gmx.de>
4872
4873         * gnu/java/nio/natByteBufferImpl.cc,
4874         gnu/java/nio/natCharBufferImpl.cc,
4875         gnu/java/nio/natDoubleBufferImpl.cc,
4876         gnu/java/nio/natFloatBufferImpl.cc,
4877         gnu/java/nio/natIntBufferImpl.cc,
4878         gnu/java/nio/natLongBufferImpl.cc,
4879         gnu/java/nio/natShortBufferImpl.cc:
4880         Added copyright and license.
4881         * java/nio/DoubleBuffer.java,
4882         java/nio/FloatBuffer.java,
4883         java/nio/IntBuffer.java,
4884         java/nio/LongBuffer.java,
4885         java/nio/ShortBuffer.java
4886         (array): Throw exceptions.
4887         (arrayOffset): Throw exceptions.
4888
4889 2003-02-13  Michael Koch  <konqueror@gmx.de>
4890  
4891         * gnu/java/util/prefs/FileBasedFactory.java,
4892         gnu/java/util/prefs/MemmoryBasedFactory.java,
4893         gnu/java/util/prefs/MemoryBasedPreferences.java,
4894         gnu/java/util/prefs/NodeReader.java,
4895         gnu/java/util/prefs/NodeWriter.java,
4896         java/util/prefs/AbstractPreferences.java,
4897         java/util/prefs/BackingStoreException.java,
4898         java/util/prefs/InvalidPreferencesFormatException.java,
4899         java/util/prefs/NodeChangeEvent.java,
4900         java/util/prefs/NodeChangeListener.java,
4901         java/util/prefs/PreferenceChangeEvent.java,
4902         java/util/prefs/PreferenceChangeListener.java,
4903         java/util/prefs/Preferences.java,
4904         java/util/prefs/PreferencesFactory.java:
4905         New files, all merged from classpath.
4906         * Makefile.am
4907         (ordinary_java_source_files): Added the following files:
4908         gnu/java/util/prefs/FileBasedFactory.java,
4909         gnu/java/util/prefs/MemmoryBasedFactory.java,
4910         gnu/java/util/prefs/MemoryBasedPreferences.java,
4911         gnu/java/util/prefs/NodeReader.java,
4912         gnu/java/util/prefs/NodeWriter.java,
4913         (core_java_source_files): Added the following files:
4914         java/util/prefs/AbstractPreferences.java,
4915         java/util/prefs/BackingStoreException.java,
4916         java/util/prefs/InvalidPreferencesFormatException.java,
4917         java/util/prefs/NodeChangeEvent.java,
4918         java/util/prefs/NodeChangeListener.java,
4919         java/util/prefs/PreferenceChangeEvent.java,
4920         java/util/prefs/PreferenceChangeListener.java,
4921         java/util/prefs/Preferences.java,
4922         java/util/prefs/PreferencesFactory.java
4923         * Makefile.in: Regenerated.
4924  
4925 2003-02-13  Michael Koch  <konqueror@gmx.de>
4926
4927         * java/net/NetPermission.java
4928         (NetPermission): Make doucmentation match the method declaration.
4929         * java/net/NetworkInterface.java
4930         (equals): Reformated for GNU coding style.
4931         * java/net/ServerSocket.java: Merged with classpath.
4932         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4933         * java/net/SocketImpl.java
4934         (localPort): Merged with classpath (initialize with -1).
4935         * java/net/SocketPermission.java: Merged with classpath (reindented).
4936         * java/net/URLDecoder.java: Merged with classpath (reindented).
4937
4938 2003-02-13  Michael Koch  <konqueror@gmx.de>
4939
4940         * java/awt/GridBagConstraints.java
4941         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4942         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4943         * java/awt/KeyboardFocusManager.java
4944         (setGlobalCurrentFocusCycleRoot): Must be public.
4945         * java/awt/MenuComponent.java
4946         (MenuComponent): Must be public.
4947         * java/awt/Toolkit.java:
4948         Added some empty lines to make documentation more readable.
4949         (getFontPeer): Added @deprecated.
4950         (getColorModel): Added exception documentation.
4951         (getProperty): Fixed documentation.
4952  
4953 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4954
4955         * configure.host (alpha*-*): Default to -mieee.
4956         * configure.in (IEEESPEC): New.
4957         * libgcj.spec.in (jc1): Add IEEESPEC.
4958         * configure: Rebuild.
4959
4960 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4961
4962         * include/win32.h: Include ws2tcpip.h instead of
4963         winsock.h to obtain definition of the socklen_t type.
4964         Remove IP_TOS definition - not needed with ws2tcpip.h
4965         (_Jv_connect): Correct slight formatting error.
4966
4967 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4968
4969         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4970         size of the arguments for a JNI function. For Win32,
4971         modify to search for all forms of possible exported
4972         names of an stdcall JNI function.
4973         (_Jv_JNIMethod::call): Modify to calculate the size
4974         of the arguments passed to a JNI function and pass
4975         it to _Jv_LookupJNIMethod.
4976
4977 2003-02-12  Michael Koch  <konqueror@gmx.de>
4978
4979         * java/nio/channels/Channels.java: New file.
4980         * Makefile.am
4981         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4982         * Makefile.in: Regenerated.
4983
4984 2003-02-12  Michael Koch  <konqueror@gmx.de>
4985
4986         * java/nio/ByteBuffer.java
4987         (allocate): Implemented.
4988         (wrap): Implemented.
4989         * java/nio/CharBuffer.java:
4990         Some documentation added and reworked.
4991         (endian): Removed.
4992         (allocate): Implemented.
4993         (wrap): Implemented.
4994         (array): Throw exceptions.
4995         (arrayOffset): Throw exceptions.
4996         (toString): Implemented.
4997         (length): Implemented.
4998         (put): Implemented.
4999         (charAt): Implemented.
5000
5001 2003-02-11  John Leuner  <jewel@debian.org>
5002
5003         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5004         reads from end of file.
5005
5006 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5007
5008         * java/io/natFileDescriptorWin32.cc 
5009         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5010         returns with Win32 error code ERROR_BROKEN_PIPE.
5011
5012 2003-02-11  Michael Koch  <konqueror@gmx.de>
5013
5014         * Makefile.in
5015         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5016
5017 2003-02-11  Michael Koch  <konqueror@gmx.de>
5018
5019         * gnu/java/nio/ByteBufferImpl.java:
5020         Reformated and removed some code.
5021         (backing_buffer): Removed.      
5022         (array_offset): Removed.
5023         (ro): Renamed to readOnly.
5024         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5025         * gnu/java/nio/CharBufferImpl.java:
5026         Reformated and removed some code.
5027         (array_offset): Removed.
5028         (ro): Renamed to readOnly.
5029         (CharBufferImpl): Use parent constructor, initialize readOnly.
5030         (inc_pos): Removed.
5031         (order): New method.
5032         * gnu/java/nio/DoubleBufferImpl.java:
5033         Reformated and removed some code.
5034         (array_offset): Removed.
5035         (ro): Renamed to readOnly.
5036         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5037         (inc_pos): Removed.
5038         (order): New method.
5039         * gnu/java/nio/FloatBufferImpl.java:
5040         Reformated and removed some code.
5041         (array_offset): Removed.
5042         (ro): Renamed to readOnly.
5043         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5044         (inc_pos): Removed.
5045         (order): New method.
5046         * gnu/java/nio/IntBufferImpl.java:
5047         Reformated and removed some code.
5048         (array_offset): Removed.
5049         (ro): Renamed to readOnly.
5050         (IntBufferImpl): Use parent constructor, initialize readOnly.
5051         (inc_pos): Removed.
5052         (order): New method.
5053         * gnu/java/nio/LongBufferImpl.java:
5054         Reformated and removed some code.
5055         (array_offset): Removed.
5056         (ro): Renamed to readOnly.
5057         (LongBufferImpl): Use parent constructor, initialize readOnly.
5058         (inc_pos): Removed.
5059         (order): New method.
5060         * gnu/java/nio/ShortBufferImpl.java:
5061         Reformated and removed some code.
5062         (array_offset): Removed.
5063         (ro): Renamed to readOnly.
5064         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5065         (inc_pos): Removed.
5066         (order): New method.
5067         * Makefile.am
5068         (ordinary_java_source_files): Added the following files:
5069         gnu/java/nio/ByteBufferImpl.java
5070         gnu/java/nio/CharBufferImpl.java
5071         gnu/java/nio/DoubleBufferImpl.java
5072         gnu/java/nio/FloatBufferImpl.java
5073         gnu/java/nio/IntBufferImpl.java
5074         gnu/java/nio/LongBufferImpl.java
5075         gnu/java/nio/ShortBufferImpl.java
5076         java/nio/DoubleBuffer.java
5077         java/nio/FloatBuffer.java
5078         java/nio/IntBuffer.java
5079         java/nio/LongBuffer.java
5080         java/nio/ShortBuffer.java
5081         (nat_source_files): Added the following files:
5082         gnu/java/nio/natByteBufferImpl.cc
5083         gnu/java/nio/natCharBufferImpl.cc
5084         gnu/java/nio/natDoubleBufferImpl.cc
5085         gnu/java/nio/natFloatBufferImpl.cc
5086         gnu/java/nio/natIntBufferImpl.cc
5087         gnu/java/nio/natLongBufferImpl.cc
5088         gnu/java/nio/natShortBufferImpl.cc
5089         * Makefile.in: Regenerated.
5090
5091 2003-02-11  Michael Koch  <konqueror@gmx.de>
5092
5093         * gnu/java/nio/natCharBufferImpl.cc
5094         (nio_cast): Removed.
5095         (nio_put_*): Removed.
5096         (nio_get_*): Removed.
5097         * gnu/java/nio/natDoubleBufferImpl.cc
5098         (nio_cast): Removed.
5099         (nio_put_*): Removed.
5100         (nio_get_*): Removed.
5101         * gnu/java/nio/natFloatBufferImpl.cc
5102         (nio_cast): Removed.
5103         (nio_put_*): Removed.
5104         (nio_get_*): Removed.
5105         * gnu/java/nio/natIntBufferImpl.cc
5106         (nio_cast): Removed.
5107         (nio_put_*): Removed.
5108         (nio_get_*): Removed.
5109         * gnu/java/nio/natLongBufferImpl.cc
5110         (nio_cast): Removed.
5111         (nio_put_*): Removed.
5112         (nio_get_*): Removed.
5113         * gnu/java/nio/natShortBufferImpl.cc
5114         (nio_cast): Removed.
5115         (nio_put_*): Removed.
5116         (nio_get_*): Removed.
5117         * gnu/java/nio/SelectorProviderImpl.java
5118         (openDatagramChannel): Throws IOException.
5119         (openPipe): Throws IOException.
5120         (openSelector): Throws IOException.
5121         (openServerSocketChannel): Throws IOException.
5122         (openSocketChannel): Throws IOException.
5123         * gnu/java/nio/ServerSocketChannelImpl.java
5124         (ServerSocketChannelImpl): Throws IOException.
5125         (implCloseSelectableChannel): Throws IOException.
5126         (implConfigureBlocking): Throws IOException.
5127         * java/nio/ByteBuffer.java
5128         (readOnly): Removed.
5129         (hasArray): Use isReadOnly() instead of readOnly.
5130         (array): Use isReadOnly() instead of readOnly.
5131         (arrayOffset): Use isReadOnly() instead of readOnly.
5132         * java/nio/CharBuffer.java
5133         (CharBuffer): Implements Cloneable and CharSequence.
5134
5135 2003-02-11  Michael Koch  <konqueror@gmx.de>
5136
5137         * java/nio/DoubleBuffer.java
5138         (DoubleBuffer): Implements Comparable.
5139         (endian): Removed.
5140         (array_offset): New member variable.
5141         (DoubleBuffer): New constuctor.
5142         (get): May not be final.
5143         (put): May not be final.
5144         (arrayOffset): Implemented.
5145         (order): Made abstract.
5146         (order): Removed.
5147         (as*Buffer): Removed.
5148         (get*): Removed.
5149         (put*): Removed.
5150         * java/nio/FloatBuffer.java
5151         (FloatBuffer): Implements Comparable.
5152         (endian): Removed.
5153         (array_offset): New member variable.
5154         (FloatBuffer): New constuctor.
5155         (get): May not be final.
5156         (put): May not be final.
5157         (arrayOffset): Implemented.
5158         (order): Made abstract.
5159         (order): Removed.
5160         (as*Buffer): Removed.
5161         (get*): Removed.
5162         (put*): Removed.
5163         * java/nio/IntBuffer.java
5164         (IntBuffer): Implements Comparable.
5165         (endian): Removed.
5166         (array_offset): New member variable.
5167         (IntBuffer): New constuctor.
5168         (get): May not be final.
5169         (put): May not be final.
5170         (arrayOffset): Implemented.
5171         (order): Made abstract.
5172         (order): Removed.
5173         (as*Buffer): Removed.
5174         (get*): Removed.
5175         (put*): Removed.
5176         * java/nio/LongBuffer.java
5177         (LongBuffer): Implements Comparable.
5178         (endian): Removed.
5179         (array_offset): New member variable.
5180         (LongBuffer): New constuctor.
5181         (get): May not be final.
5182         (put): May not be final.
5183         (arrayOffset): Implemented.
5184         (order): Made abstract.
5185         (order): Removed.
5186         (as*Buffer): Removed.
5187         (get*): Removed.
5188         (put*): Removed.
5189         * java/nio/ShortBuffer.java
5190         (ShortBuffer): Implements Comparable.
5191         (endian): Removed.
5192         (array_offset): New member variable.
5193         (ShortBuffer): New constuctor.
5194         (get): May not be final.
5195         (put): May not be final.
5196         (arrayOffset): Implemented.
5197         (order): Made abstract.
5198         (order): Removed.
5199         (as*Buffer): Removed.
5200         (get*): Removed.
5201         (put*): Removed.
5202
5203 2003-02-11   Michael Koch  <konqueror@gmx.de>
5204
5205         * java/nio/channels/SelectionKey.java
5206         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5207         values.
5208
5209 2003-02-11  Michael Koch  <konqueror@gmx.de>
5210
5211         * java/nio/channels/DatagramChannel.java
5212         (write): Throws IOException.
5213         (connect): Throws IOException.
5214         (disconnect): Throws IOException.
5215         (read): Throws IOException.
5216         (receive): Throws IOException.
5217         (send): Throws IOException.
5218         * java/nio/channels/Pipe.java
5219         (open): Throws IOException.
5220         * java/nio/channels/SelectableChannel.java
5221         (configureBlocking): Throws IOException.
5222         * java/nio/channels/ServerSocketChannel.java
5223         (accept): Throws IOException.
5224         * java/nio/channels/SocketChannel.java
5225         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5226         GatheringByteChannel.
5227         (read): Throws IOException.
5228         (write): Throws IOException.
5229         (finishConnect): Throws IOException.
5230         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5231         (end): Throws AsynchronousCloseException.
5232         * java/nio/channels/spi/AbstractSelectableChannel.java
5233         (configureBlocking): Throws IOException.
5234         (implCloseChannel): Throws IOException.
5235         (implCloseSelectableChannel): Throws IOException.
5236         (implConfigureBlocking): Throws IOException.
5237         * java/nio/channels/spi/SelectorProvider.java
5238         (openDatagramChannel): Throws IOException.
5239         (openPipe): Throws IOException.
5240         (openSelector): Throws IOException.
5241         (openServerSocketChannel): Throws IOException.
5242         (openSocketChannel): Throws IOException.
5243
5244 2003-02-11  Michael Koch  <konqueror@gmx.de>
5245
5246         * gnu/java/nio/FileLockImpl.java,
5247         java/nio/channels/FileLock.java: New files.
5248
5249 2003-02-11  Michael Koch  <konqueror@gmx.de>
5250
5251         * java/nio/charset/IllegalCharsetNameException.java
5252         (serialVersionUID): New member variable.
5253         (charsetName): New member variable.
5254         (IllegalCharsetException): New implementation.
5255         (getCharsetName): New implementation.
5256         * java/nio/charset/UnsupportedCharsetException.java
5257         (serialVersionUID): New member variable.
5258         (charsetName): New member variable.
5259         (UnsupportedCharsetException): New implementation.
5260         (getCharsetName): New implementation.
5261
5262 2003-02-10  Tom Tromey  <tromey@redhat.com>
5263
5264         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5265         (ex): Renamed from sqlException.
5266
5267 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5268
5269         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5270         method used to ensure seeding has occurred and that a specific 
5271         seed can be set and used.
5272
5273 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5274
5275         * java/lang/Win32Process.java (destroy): Declare as native.
5276         (hasExited): New native method.
5277         (exitValue): Define.
5278         (getErrorStream): Likewise.
5279         (getInputStream): Likewise.
5280         (getOutputStream): Likewise.
5281         (waitFor): Declare as native.
5282         (startProcess): New native method.
5283         (cleanup): Likewise.
5284         (ConcreteProcess): Define.
5285         (outputStream, inputStream, errorStream): New members.
5286         (procHandle, exitCode): Likewise.
5287
5288         * java/lang/natWin32Process.cc
5289         (java::lang::ConcreteProcess::cleanup): Define.
5290         (java::lang::ConcreteProcess::destroy): Likewise.
5291         (java::lang::ConcreteProcess::hasExited): Likewise.
5292         (java::lang::ConcreteProcess::waitFor): Likewise.
5293         (new_string): Likewise.
5294         (java::lang::ConcreteProcess::startProcess): Likewise.
5295
5296 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5297
5298         * java/math/BigInteger.java:
5299         Updated notice to include years 2002 and 3.
5300         Added 2 private (int) arrays with values from the HAC (Handbook of
5301         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5302         and t[] that contains nbr. of tests --used in isProbablePrime().
5303
5304         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5305
5306         * java/math/BigInteger.java (make(int[],int), add(int,int),
5307         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5308         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5309         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5310         make(long).
5311
5312         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5313         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5314         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5315         BIs and returns void.
5316         (modInverse(BI)): Use new signatures of euclidInv().
5317
5318         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5319         static small primes instead of remainder().
5320         Use pre-computed max nbr of trials based on bitlength of BI to test.
5321         Use pre-computed small primes for the trial tests instead of random
5322         numbers.
5323
5324         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5325         not used.
5326
5327         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5328         invoacation of MPN.chars_per_word().  not used.
5329
5330         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5331         local var and used where needed.
5332
5333         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5334         Combined declaration with initialisation of locals.
5335         Removed unused var.
5336
5337         * java/math/BigInteger.java: Style changes
5338         (pow(int)): Removed 'else' keyword.
5339         (toString(int)): idem.
5340         (doubleValue()): idem.
5341         (bitLength()): idem.
5342         (equals(Object)): Use static methods name in same class w/o prepending
5343         class name.
5344         (doubleValue()): idem.
5345         (setNegative(BI)): idem.
5346         (negate()): idem.
5347         (and(BI,int)): idem.
5348         (and(BI)): idem.
5349         (gcd(BI)): idem.
5350         (byteArrayToIntArray()): Removed casting to (int). this is
5351         std. behaviour.
5352         (canonicalize()): idem.
5353         (alloc(int)): Always instantiate a new BI.
5354
5355 2003-02-10  Tom Tromey  <tromey@redhat.com>
5356
5357         * java/sql/Timestamp.java (compareTo(Object)): New method.
5358         (compareTo(Timestamp)): Likewise.
5359         (serialVersionUID): Updated.
5360
5361 2003-02-07  Mark Wielaard  <mark@klomp.org>
5362
5363         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5364         when verify is true.
5365         (JarFile(File, boolean)): Likewise.
5366         (manifestRead): Set manifestRead field correctly.
5367
5368 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5369
5370         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5371         tests; see patch #1016 on Savannah.
5372
5373 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5374
5375         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5376         (toString): do not return Strings starting with . and - erroneously.
5377         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5378         DiagBigDecimal.
5379
5380 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5381
5382         * java/beans/PropertyDescriptor.java
5383         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5384         methods.
5385         (PropertyDescriptor(String, Class, String, String)): Likewise.
5386         (PropertyDescriptor(String, Method, Method): Factor out getter and
5387         setter method sanity checks into new method.
5388         (findMethods): Don't do parameter sanity checking of get method here.
5389         (checkMethods): New method.
5390
5391 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5392
5393         * java/beans/PropertyDescriptor.java: Reformat.
5394
5395 2003-02-04  Tom Tromey  <tromey@redhat.com>
5396
5397         * java/io/PipedOutputStream.java (flush): Declare as throwing
5398         IOException.
5399         (close): Likewise.
5400         * java/io/PipedWriter.java (close): Declare as throwing
5401         IOException.
5402         * java/io/StringWriter.java (close): Declare as throwing
5403         IOException.
5404
5405 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5406
5407         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5408         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5409         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5410         "_JNI_OnLoad@8" (MSVC).
5411
5412 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5413
5414         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5415         convention on Win32 to invoke native JNI methods.
5416
5417 2003-02-03  Andrew Haley  <aph@redhat.com>
5418
5419         * configure.host (x86_64): Enable interpreter.
5420
5421 2003-02-03  Andrew Haley  <aph@redhat.com>
5422
5423         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5424         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5425         * configure.in (BACKTRACESPEC): New.
5426         * configure: Regenerate.
5427
5428 2003-02-02  Tom Tromey  <tromey@redhat.com>
5429
5430         * configure: Rebuilt.
5431         * configure.in (TOOLKIT) [xlib]: Set correctly.
5432
5433         * Makefile.in: Rebuilt.
5434         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5435         libstdc++.
5436
5437 2003-01-31  Mark WIelaard  <mark@klomp.org>
5438
5439         * Makefile.in: Rebuilt.
5440         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5441
5442 2003-01-31  Tom Tromey  <tromey@redhat.com>
5443
5444         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5445         cast to element type.
5446         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5447         (_Jv_JNI_GetObjectArrayElement): Likewise.
5448
5449         * Makefile.in: Rebuilt.
5450         * Makefile.am (cond_x_ltlibrary): Renamed library to
5451         lib-gnu-awt-xlib.la.
5452         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5453         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5454         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5455         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5456         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5457         (lib_gnu_awt_xlib_la_LINK): Likewise.
5458         (install-exec-hook): Removed.
5459         (lib-gnu-awt-xlib.la): Renamed.
5460
5461 2003-01-31  Tom Tromey  <tromey@redhat.com>
5462
5463         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5464         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5465         aclocal.m4 and lost in some merge.
5466
5467         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5468         Don't try to find graphics configuration.
5469         * java/awt/Toolkit.java (default_toolkit_name): Use new
5470         Configuration entry.
5471         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5472         New global.
5473         * configure: Rebuilt.
5474         * configure.in (TOOLKIT): New subst.
5475         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5476         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5477         directory.  Make output directories for .c files.
5478         * Makefile.in: Rebuilt.
5479         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5480         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5481         (all_java_source_files): Added new sources.
5482         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5483         (gtk_c_files): New macro.
5484         (gtk_c_source_files): New macro.
5485         (cond_gtk_ltlibrary): New macro.
5486         ($(gtk_c_files)): New target.
5487         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5488         (gtk_awt_peer_sources): New macro.
5489         (gtk_c_headers): New macro.
5490         ($(gtk_c_headers)): New target.
5491         (ACLOCAL_AMFLAGS): New macro.
5492         * gtk.m4, glib.m4, libart.m4: New files.
5493         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5494         gnu/java/awt/peer/gtk/GdkGraphics.java,
5495         gnu/java/awt/peer/gtk/GtkArg.java,
5496         gnu/java/awt/peer/gtk/GtkArgList.java,
5497         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5498         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5499         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5500         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5501         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5502         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5503         gnu/java/awt/peer/gtk/GtkClipboard.java,
5504         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5505         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5506         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5507         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5508         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5509         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5510         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5511         gnu/java/awt/peer/gtk/GtkImage.java,
5512         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5513         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5514         gnu/java/awt/peer/gtk/GtkListPeer.java,
5515         gnu/java/awt/peer/gtk/GtkMainThread.java,
5516         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5517         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5518         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5519         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5520         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5521         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5522         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5523         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5524         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5525         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5526         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5527         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5528         gnu/java/awt/peer/gtk/GtkToolkit.java,
5529         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5530         gnu/java/awt/peer/gtk/TestAWT.java,
5531         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5533         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5535         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5539         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5545         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5546         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5547         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5548         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5549         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5550         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5553         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5554         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5555         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5556         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5557         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5558         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5559         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5560         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5561         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5562         jni/classpath/native_state.c, jni/classpath/native_state.h,
5563         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5564
5565 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5566
5567         * java/util/Properties.java (load): Ignore backslash before EOF.
5568
5569 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5570
5571         * java/lang/natClass.cc (initializeClass): Check tables when
5572         (state == JV_STATE_IN_PROGRESS).
5573         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5574         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5575         interpreted classes.
5576         (linkClass0): Use _Jv_WaitForState.
5577
5578 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5579
5580         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5581         object when finished.
5582
5583 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5584
5585         * libjava/configure.host: Disable can_unwind_signal on darwin.
5586
5587 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5588
5589         Fixes PR java/9254:
5590         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5591         additionally containing id of the owner thread as well as
5592         the number of nested times the thread has acquired the mutex.
5593         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5594         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5595         (_Jv_MutexUnlock): Check if really the owner thread, reset
5596         owner thread id to 0 before leaving, if leaving for the last
5597         time.
5598         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5599         refcount.
5600         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5601         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5602         the passed mutex.
5603         Pass handle of the broadcast event, instead of a pointer to it
5604         in Win32 ResetEvent( ) call.
5605         Remove incorrect return values.
5606         (_Jv_CondDestroy): Close both event handles and delete
5607         critical section.
5608         (_Jv_CondNotify): Check if really the owner thread.
5609         (_Jv_CondNotifyAll): Check if really the owner thread.
5610         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5611         (really_start): Use SetEvent( ) to signal daemon_cond.
5612         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5613         WaitForSingleObject( ) instead to wait for daemon_cond to be
5614         signalled.
5615
5616 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5617
5618         * configure.in: Specifically define HAVE_BACKTRACE if building
5619         for MinGW.
5620         * include/win32.h: Remove HAVE_BACKTRACE definition.
5621         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5622         * configure: Rebuilt.
5623
5624 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5625
5626         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5627         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5628         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5629         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5630         * Makefile.in, configure: Rebuilt.
5631
5632 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5633
5634         Fixes PR java/9253:
5635         * java/io/natFileWin32.cc (performList): Append only "*.*"
5636         if the canonical file path already has a "\" at the end.
5637
5638 2003-01-24  Tom Tromey  <tromey@redhat.com>
5639
5640         * defineclass.cc (handleMethodsEnd): Precompute code for static
5641         method.
5642         (handleCodeAttribute): Likewise.
5643         * resolve.cc (ncode): Use run_class for unsynchronized static
5644         methods.
5645         * include/java-interp.h (class _Jv_InterpMethod): Declare
5646         run_class.
5647         * interpret.cc (run_synch_class): Initialize class.
5648         (run) [insn_invokestatic]: Don't initialize class.
5649         [insn_anewarray]: Likewise.
5650         [insn_multianewarray]: Likewise.
5651         (run_class): New function.
5652
5653 2003-01-24  Tom Tromey  <tromey@redhat.com>
5654
5655         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5656         comment.
5657
5658 2003-01-22  Andrew Haley  <aph@redhat.com>
5659
5660         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5661         * configure.host (CHECKREFSPEC): Define for x86_64.
5662
5663 2003-01-21  Tom Tromey  <tromey@redhat.com>
5664
5665         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5666         search at 2, not 3.
5667
5668 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5669
5670         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5671         looking at any characters.
5672         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5673         be used.
5674         (isAbsolute): Check path's length as well.
5675
5676 2003-01-17  Mark Wielaard  <mark@klomp.org>
5677
5678         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5679         (nat_source_files): Add natVMObjectStreamClass.cc.
5680         * Makefile.in: Regenerated.
5681         * gcj/javaprims.h (namespace java): Regenerated.
5682         * java/io/ObjectStreamClass.java (getClassUID): Call
5683         VMObjectStreamClass.hasClassInitializer().
5684         (hasClassInitializer): Removed.
5685         * java/io/VMObjectStreamClass.java: New class.
5686         * java/io/natVMObjectStreamClass.cc: New file.
5687         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5688
5689 2003-01-16  Mark Wielaard  <mark@klomp.org>
5690
5691         * java/net/SocketImpl.java (toString): Don't explicitly call
5692         toString() on possible null address.
5693
5694 2003-01-16  Michael Koch  <konqueror@gmx.de>
5695
5696         * java/net/MulticastSocket.java
5697         (setInterface): Reindented.
5698
5699 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5700
5701         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5702         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5703         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5704         translateY arguments.  Implement.
5705         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5706         down translation arguments.
5707         (drawPolyline, drawPolygon): Fix incorrect tests.
5708         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5709         translateX and translateY arguments.
5710
5711 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5712
5713         * Makefile.in: Rebuilt.
5714         * Makefile.am (xlib_includes): New macro.
5715         (INCLUDES): Use it.
5716
5717 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5718
5719         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5720         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5721         16-bit display mode.
5722
5723 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5724
5725         * java/awt/CardLayout.java (show): Rewrote.
5726         (gotoComponent): Removed `target' argument.  Simplified code.
5727         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5728         Changed all callers.
5729         (NONE): Removed.
5730         
5731 2003-01-14  Michael Koch  <konqueror@gmx.de>
5732
5733         * java/net/InetSocketAddress.java
5734         (serialVersionUID): New member variable.
5735         * java/net/NetPermission.java
5736         (NetPermission): Dont implement java.io.Serialization directly.
5737         * java/net/SocketAddress.java:
5738         (serialVersionUID): Documentation added.
5739         
5740 2003-01-14  Michael Koch  <konqueror@gmx.de>
5741
5742         * java/awt/Label.java
5743         (Label): Implements javax.accessibility.Accessible;
5744         * java/awt/List.java
5745         (List): Implements javax.accessibility.Accessible;
5746         * java/awt/ScrollPane.java
5747         (ScrollPane): Implements javax.accessibility.Accessible;
5748         * java/awt/Scrollbar.java
5749         (Scrollbar): Implements javax.accessibility.Accessible;
5750         * java/awt/TextComponent.java
5751         (setCaretPosition): Throw exception, documentation added.
5752         * java/awt/Toolkit.java:
5753         Added some newlines in method documentations.
5754         (createButton): Exception documentation added.
5755         (createTextField): Exception documentation added.
5756         (createLabel): Exception documentation added.
5757         (createList): Exception documentation added.
5758         (createCheckbox): Exception documentation added.
5759         (createScrollbar): Exception documentation added.
5760         (createScrollPane): Exception documentation added.
5761         (createTextArea): Exception documentation added.
5762         (createChoice): Exception documentation added.
5763         (createFrame): Exception documentation added.
5764         (createWindow): Exception documentation added.
5765         (createDialog): Exception documentation added.
5766         (createMenuBar): Exception documentation added.
5767         (createMenu): Exception documentation added.
5768         (createMenuItem): Exception documentation added.
5769         (createFileDialog): Exception documentation added.
5770         (createCheckboxMenuItem): Exception documentation added.
5771         (loadSystemColors): Exception documentation added.
5772         (setDynamicLayout): Exception documentation added.
5773         (isDynamicLayoutSet): Exception documentation added.
5774         (isDynamicLayoutActive): Exception documentation added.
5775         (getScreenSize): Exception documentation added.
5776         (getScreenResolution): Exception documentation added.
5777         (getScreenInsets): Exception documentation added.
5778         (getColorModel): Exception documentation added.
5779         (getSystemClipboard): Exception documentation added.
5780         (getSystemSelection): Exception documentation added.
5781         (getMenuShortcutKeyMask): Exception documentation added.
5782         (getSystemEventQueue): Exception documentation added.
5783         * java/awt/Window.java:
5784         Reindented some code.
5785         (Window): Centralized implementation, documentation added.
5786         (finalize): Documentation added.
5787         (hide): Fixed typo in comment.
5788         (getWindowListeners): Documentation added.
5789         * java/awt/color/ColorSpace.java
5790         (toRGB): Documentation added.
5791         * java/awt/color/ICC_ColorSpace.java
5792         (ICC_ColorSpace): Documentation added.
5793         (toRGB): Throw exception, documentation added.
5794         (fromRGB): Throw exception, documentation added.
5795         (toCIEXYZ): Documentation added.
5796         (fromCIEXYZ): Documentation added.
5797         (getMinValue): Documentation added.
5798         (getMaxValue): Documentation added.
5799         * java/awt/geom/Dimension2D.java
5800         (clone): Documentation added.
5801         * java/awt/geom/GeneralPath.java
5802         (clone): Documentation added.
5803         * java/awt/geom/Line2D.java
5804         (clone): Documentation added.
5805         * java/awt/geom/QuadCurve2D.java
5806         (clone): Documentation added.
5807         * java/awt/image/ColorModel.java
5808         (ColorModel): Throw exception, documentation added.
5809         * java/awt/image/ImageFilter.java
5810         (clone): Doesnt throw CloneNotSupportedException.
5811
5812 2003-01-14  Andrew Haley  <aph@redhat.com>
5813
5814         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5815         in a try block.
5816
5817 2003-01-10  Andrew Haley  <aph@redhat.com>
5818
5819         * include/dwarf2-signal.h: Remove x86_64.
5820         * configure.host (x86_64 DIVIDESPEC): Remove.
5821         * include/x86_64-signal.h: New file.
5822         * configure.in: Regenerate.
5823
5824 2003-01-10  Michael Koch  <konqueror@gmx.de>
5825
5826         * java/net/DatagramSocket.java
5827         (ch): Description added.
5828         (remotePort): Initialize with -1.
5829         (connect): Doesnt throws SocketException.
5830         * java/net/MulticastSocket.java
5831         (setInterface): Merge with Classpath.
5832         * java/net/ServerSocket.java
5833         (closed): New member variable.
5834         (bind): Check if socket is closed.
5835         (close): Close an associated channel too, set new value to closed.
5836         (isBound): Reindented.
5837         (isClosed): Implemented.
5838         * java/net/Socket.java
5839         (closed): New member variable.
5840         (bind): Check if socket is closed.
5841         (connect): Check if socket is closed.
5842         (close): Close an associated channel too, set new value to closed.
5843         (isClosed): Implemented.
5844
5845 2003-01-10  Michael Koch  <konqueror@gmx.de>
5846
5847         * java/awt/DisplayMode.java
5848         (equals): Fixed argument type and implementation.
5849
5850 2003-01-07  Tom Tromey  <tromey@redhat.com>
5851
5852         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5853         JV_HASH_SYNCHRONIZATION.
5854         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5855         JV_HASH_SYNCHRONIZATION.
5856
5857 2003-01-07  Michael Koch  <konqueror@gmx.de>
5858  
5859         * java/net/DatagramSocket.java:
5860         Added classpath license info.
5861         (DatagramSocket): Merged description with classpath.
5862         (close): Merged description with classpath.
5863         (getChannel): Merged description with classpath.
5864         (getInetAddress): Merged description with classpath.
5865         (getPort): Merged description with classpath.
5866         (getLocalAddress): Merged description with classpath.
5867         (getLocalPort): Merged description with classpath.
5868         (getSoTimeout): Merged description with classpath.
5869         (setSoTimeout): Merged description with classpath.
5870         (getSendBufferSize): Merged description with classpath.
5871         (setSendBufferSize): Merged description with classpath.
5872         (getReceiveBufferSize): Merged description with classpath.
5873         (setReceiveBufferSize): Merged description with classpath.
5874         
5875 2003-01-04  Tom Tromey  <tromey@redhat.com>
5876
5877         * java/awt/List.java: Merged with Classpath.
5878
5879 2003-01-03  Mark Wielaard  <mark@klomp.org>
5880
5881         * java/io/FileDescriptor.java (position): New private field.
5882         * java/io/natFileDescriptorPosix.cc (write): Up position.
5883         (setLength): Use and set position.
5884         (seek): Set position.
5885         (getFilePointer): Return position.
5886         (read): Up position.
5887
5888 2003-01-03  Mark Wielaard  <mark@klomp.org>
5889
5890         Merge with Classpath:
5891         * java/io/ObjectStreamClass.java (lookup): Split method and call
5892         lookupForClassObject().
5893         (lookupForClassObject): New method.
5894         (isProxyClass): New field.
5895         (setClass): Set isProxyClass, add object to classLookupTable, set
5896         superClass and calculateOffsets.
5897         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5898         and not a proxy class.
5899         (setFields): Set accessible true for serialPersistentFields.
5900         (getClassUID): Same for suid. And check if suid is of type long.
5901         (hasClassInitializer): Don't throw NoSuchMethodError.
5902
5903 2003-01-03  Mark Wielaard  <mark@klomp.org>
5904
5905         * java/io/FileInputStream.java (finalize): Don't explicitly
5906         finalize FileDescriptor.
5907
5908 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5909
5910         * configure.host (sparc*-*): Enable bytecode interpreter.
5911
5912 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5913
5914         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5915         Don't throw RemoteException.
5916         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5917         throw RemoteException.
5918
5919 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5920
5921         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5922         proxyHost): New static fields.
5923         (<clinit>): Initialize new fields.
5924         (connect): Use proxy if necessary.
5925         (usingProxy): Implement.
5926
5927 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5928
5929         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5930         (TreeIterator.remove): Prefer IllegalStateException over
5931         ConcurrentModificationException, to match Sun.
5932
5933 2002-12-22  Anthony Green  <green@redhat.com>
5934
5935         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5936
5937 2003-01-02  Mark Wielaard  <mark@klomp.org>
5938
5939         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5940         public.
5941         (HTTP_USE_PROXY): Add field.
5942         (getResponseVals): Only set responseCode when not yet explicitly
5943         set by subclass.
5944
5945 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5946             Mark Wielaard  <mark@klomp.org>
5947
5948         * java/util/zip/ZipFile.java (entries): Now HashMap.
5949         (readLeShort(DataInput, byte[])): Read from given byte array.
5950         (readLeInt(DataInput, byte[]): Likewise.
5951         (readLeShort(byte[] b, int off)): New method.
5952         (readLeInt(byte[] b, int off)): Likewise.
5953         (readEntries): Use byte arrays to read info in bigger chunks.
5954         (getEntries): Return HashMap.
5955         (getEntry): Use HashMap.
5956         (locBuf): New private field.
5957         (checkLocalHeader): Use locBuf to read info in one chunk.
5958         (getInputStream): Use entries HashMap, wrap PartialInputStream
5959         in BufferedInputStream.
5960         (ZipEntryEnumeration): Use HashMap and Interator.
5961
5962 2003-01-02  Mark Wielaard  <mark@klomp.org>
5963             Jeroen Frijters  <jeroen@sumatra.nl>
5964
5965         * java/net/URLClassLoader.java (Resource.getCodeSource):
5966         Fix check certs == null.
5967         (getCanonicalFileURL): Removed method.
5968         (JarURLLoader): Don't call removed method.
5969         (FileURLLoader): Likewise.
5970         (FileURLLoader.getResource): Don't canonicalize file name.
5971
5972 2003-01-01  Tom Tromey  <tromey@redhat.com>
5973
5974         * Makefile.in: Rebuilt.
5975         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5976         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5977         java/awt/BufferCapabilities.java, java/awt/Button.java,
5978         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5979         java/awt/Container.java, java/awt/Cursor.java,
5980         java/awt/EventQueue.java, java/awt/FileDialog.java,
5981         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5982         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5983         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5984         java/awt/Scrollbar.java, java/awt/TextArea.java,
5985         java/awt/TextField.java, java/awt/color/CMMException.java,
5986         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5987         java/awt/color/ProfileDataException.java,
5988         java/awt/datatransfer/Clipboard.java,
5989         java/awt/datatransfer/DataFlavor.java,
5990         java/awt/datatransfer/FlavorMap.java,
5991         java/awt/datatransfer/SystemFlavorMap.java,
5992         java/awt/dnd/DragGestureEvent.java,
5993         java/awt/dnd/DragGestureRecognizer.java,
5994         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5995         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5996         java/awt/im/InputMethodHighlight.java,
5997         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5998         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5999
6000         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6001         `op' to BufferedImageOp.
6002
6003 2002-12-31  Tom Tromey  <tromey@redhat.com>
6004
6005         Fix for PR libgcj/7416:
6006         * javax/naming/InitialContext.java (init): Use
6007         gnu.classpath.home.url.
6008         * java/security/Security.java: Use new properties.
6009         (loadProviders): Accept base url; use it.
6010         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6011         gnu.classpath.home.url.
6012         (gnu.classpath.home.url): Define.
6013         (gnu.classpath.vm.shortname): Likewise.
6014
6015 2002-12-31  Tom Tromey  <tromey@redhat.com>
6016             Ranjit Mathew  <rmathew@hotmail.com>
6017
6018         Fix for PR libgcj/8997:
6019         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6020         Include platform.h.
6021         * include/posix.h (_Jv_platform_usleep): New function.
6022         * include/win32.h (_Jv_platform_usleep): New function.
6023
6024 2002-12-29  Tom Tromey  <tromey@redhat.com>
6025
6026         * gcj/javaprims.h: Updated.
6027         * scripts/classes.pl (scan): Removed stray semicolon.
6028
6029 2002-12-30  Mark Wielaard  <mark@klomp.org>
6030
6031         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6032         if zero or smaller.
6033
6034 2002-12-30  Mark Wielaard  <mark@klomp.org>
6035
6036         * java/util/Properties (formatForOutput): Don't fall through to
6037         default case after escaping character.
6038
6039 2002-12-30  Mark Wielaard  <mark@klomp.org>
6040
6041         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6042         against count.
6043
6044 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6045
6046         * boehm.cc: Remove stray semicolon.
6047         * interpret.cc: Likewise.
6048         * prims.cc: Likewise.
6049         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6050         earlier to ensure default arguments are processed.
6051         * gcj/array.h (JArray): Add forward declaration.
6052         (elements): Likewise.
6053         * gcj/javaprim.h: Remove stray semicolons.
6054         * include/bohm-gc.h: Likewise.
6055         * include/jni.h: Likewise.
6056         * include/jvm.h: Likewise.
6057         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6058         
6059 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6060
6061         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6062         of catch_type.
6063         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6064         idt tables after initializing superclass.
6065         * java/lang/natClassLoader.cc (uaddr): New typedef.
6066         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6067         if they are constant pool indicies.  Don't link vtable, otable yet.
6068
6069 2002-12-21  Anthony Green  <green@redhat.com>
6070
6071         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6072         libraries.
6073         * Makefile.in: Rebuilt.
6074
6075 2002-12-19  Anthony Green  <green@redhat.com>
6076
6077         * Makefile.am (ordinary_java_source_files): Add
6078         org/xml/sax/helpers/NewInstance.java.
6079         * Makefile.in: Rebuilt.
6080         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6081         org/xml/sax/helpers/package.html: New files.
6082         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6083         http://www.saxproject.org.
6084
6085 2002-12-19  Andrew Haley  <aph@redhat.com>
6086
6087         * java/util/natResourceBundle.cc: Include
6088         ArrayIndexOutOfBoundsException.h.
6089         (getCallingClassLoader): Don't put upper bound on stack search.
6090         Catch ArrayIndexOutOfBoundsException.
6091
6092 2002-12-19  Tom Tromey  <tromey@redhat.com>
6093
6094         * libtool-version: Increased `current'.
6095
6096 2002-12-19  Tom Tromey  <tromey@redhat.com>
6097
6098         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6099         comment.
6100         * java/lang/ClassLoader.java (defineClass): Use chained
6101         exception when rethrowing.
6102         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6103         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6104         constants.
6105         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6106         (_Jv_PrepareClass): Use it.
6107         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6108         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6109         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6110         (Class): _Jv_PrepareMissingMethods now friend.
6111         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6112         Record `NULL' for system class loader.
6113         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6114         system class loader.
6115         (_Jv_FindClassInCache): Likewise.
6116         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6117         (_Jv_FindClass): Special case system class loader.
6118         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6119         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6120         vtable slots.
6121         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6122         in a final class.
6123         (_getDeclaredMethod): Don't return synthetic methods.
6124         (getDeclaredMethods): Likewise.
6125         (_getMethod): Likewise.
6126         (_getMethods): Likewise.
6127
6128 2002-12-18  Raif Naffah  <raif@fl.net.au>
6129
6130         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6131         canonical form after divide().
6132         (modInverse): Likewise.
6133
6134 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6135             Mark Wielaard  <mark@klomp.org>
6136
6137         * java/security/SecurityRandom (digest): Removed field.
6138         (SecureRandom): Check all providers for case-insensitive SecureRandom
6139         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6140         if necessary.
6141         (getInstance(String,Provider,boolean): New method.
6142         (getInstance(String)): Use new method.
6143         (getInstance(String,String)): Likewise.
6144         (getInstance(String,Provider)): Likewise.
6145
6146 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6147
6148         * java/security/Security.java (loadProviders): Increment i only once.
6149
6150 2002-12-12  Mark Wielaard  <mark@klomp.org>
6151
6152         * java/lang/ClassLoader.java (resolveClass0): Transform
6153         ClassNotFoundException to NoClassDefFoundError. Transform all other
6154         throwables to LinkageError.
6155
6156 2002-12-11  Tom Tromey  <tromey@redhat.com>
6157
6158         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6159
6160         * java/lang/ClassLoader.java (loadedClasses): New field.
6161         (defineClass): Fixed indentation.  Put new class in
6162         loadedClasses.
6163         (findLoadedClass): Implement here.
6164         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6165
6166 2002-12-10  Tom Tromey  <tromey@redhat.com>
6167
6168         * Makefile.in: Rebuilt.
6169         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6170         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6171         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6172         * java/lang/natClassLoader.cc
6173         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6174
6175 2002-12-10  Mark Wielaard  <mark@klomp.org>
6176             Tom Tromey  <tromey@redhat.com>
6177
6178         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6179         (JarURLLoader): Use it.
6180         (FileURLLoader): Likewise.
6181         (JarURLResource.getURL): Use chained exception.
6182         (FileResource.getURL): Likewise.
6183         (FileURLLoader.getResource): Use canonical file name.
6184         (addURL): Indentation fix.
6185
6186 2002-12-10  Tom Tromey  <tromey@redhat.com>
6187
6188         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6189         From Laurent Bardet <l.bardet@magic.fr>.
6190
6191 2002-12-09  Tom Tromey  <tromey@redhat.com>
6192
6193         * include/win32.h (_Jv_platform_solib_prefix): New define.
6194         (_Jv_platform_solib_suffix): Likewise.
6195         * include/posix.h (_Jv_platform_solib_prefix): New define.
6196         (_Jv_platform_solib_suffix): Likewise.
6197         * java/lang/natRuntime.cc: Include StackTrace.h.
6198         (_load): Use findLibrary and new platform defines.
6199         (nativeGetLibname): Use new platform defines.
6200
6201         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6202         `t' won't be null.
6203
6204 2002-12-08  Mark Wielaard  <mark@klomp.org>
6205
6206         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6207         cache remote jar files.
6208         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6209         add File.separator to URL when it is a directory.
6210         * java/lang/ClassLoader.java: Add Classpath javadoc.
6211         (parent): final.
6212         (getParent): Add (disabled) security check.
6213         (findLibrary): New default method.
6214         * java/net/JarURLConnection.java (getManifest): Implement.
6215         (getInputStream): Only create InputStream when entry exists.
6216         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6217         when they exist.
6218         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6219
6220 2002-12-08  Mark Wielaard  <mark@klomp.org>
6221
6222         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6223         (lastDefaultLocale): New field.
6224         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6225         resourceBundleCache.
6226
6227 2002-12-06  Mark Wielaard  <mark@klomp.org>
6228
6229         * java/net/InetAddress.java (toString): Use hostname when not null,
6230         don't do an explicit reverse getHostName() lookup.
6231         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6232         NullPointerException.
6233
6234 2002-12-06  Tom Tromey  <tromey@redhat.com>
6235
6236         * include/java-interp.h (class _Jv_InterpMethod): Added
6237         JV_MARKOBJ_DECL.
6238         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6239         mark `prepared' field of interpreted method.
6240         * interpret.cc (compile): Use _Jv_AllocBytes.
6241
6242 2002-12-05  Andrew Haley  <aph@redhat.com>
6243
6244         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6245         #ifdef (HAVE_BACKTRACE) around the whole function body.
6246
6247 2002-12-05  Tom Tromey  <tromey@redhat.com>
6248
6249         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6250         * resolve.cc: Don't include AbstractMethodError.h.
6251         (_Jv_abstractMethodError): Removed.
6252         * defineclass.cc (handleMethodsBegin): Initialize method index to
6253         -1.
6254         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6255         method index for "new" final method.
6256         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6257         isVirtualMethod.  Added `flags' argument.
6258         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6259         class.
6260
6261 2002-12-04  Tom Tromey  <tromey@redhat.com>
6262
6263         * java/net/SocketPermission.java (hashCode): Rewrote.
6264
6265 2002-12-04  Tom Tromey  <tromey@redhat.com>
6266
6267         * Makefile.in: Rebuilt.
6268         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6269         natResourceBundle.
6270         * java/util/ResourceBundle.java (Security): Removed.
6271         (getCallingClassLoader): Now native.
6272         * java/util/natResourceBundle.cc: New file.
6273         * java/lang/natVMSecurityManager.cc: New file.
6274         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6275
6276 2002-12-03  Mark Wielaard  <mark@klomp.org>
6277
6278         * java/util/jar/JarFile.java (manifest): Not final.
6279         (manifestRead): New field.
6280         (JarFile): Don't read Manifest in constructor.
6281         (getManifest): New method.
6282         (JarEnumeration.nextElement): Use new method.
6283         (getEntry): Likewise.
6284         * java/util/zip/ZipFile.java (name): Final.
6285         (raf): Likewsie.
6286         (entries): Change type to Hashtable.
6287         (closed): New field.
6288         (ZipFile): Don't read enties in constructor.
6289         (readEntries): Use Hashtable.
6290         (close): Set new close flag and set entries to null inside
6291         synchronized block.
6292         (entries): Contruct enumeration using new getEntries() method and
6293         entries Hashtable.
6294         (getEntryIndex): Removed.
6295         (getEntries): New method.
6296         (getEntry): Use new getEntries() method and entries Hastable.
6297         (getInputStream): Likewise.
6298         (size): Return getEntries().size().
6299         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6300         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6301         (time): Removed
6302         (dostime): New field.
6303         (zipFileIndex): Removed.
6304         (ZipEntry(ZipEntry)): Copy dostime.
6305         (setDOSTime): Now final and doesn't convert dos time.
6306         (getDOSTime): Likewise.
6307         (setTime): Convert dos time.
6308         (getTime): Likewise.
6309         (getCalendar): New method.
6310         (setExtra): Use setTime().
6311         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6312
6313 2002-12-03  Tom Tromey  <tromey@redhat.com>
6314
6315         * java/lang/Character.java (forDigit): Formatting fix.
6316
6317 2002-12-03  Raif Naffah  <raif@fl.net.au>
6318
6319         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6320         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6321         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6322
6323 2002-12-03  Andrew Haley  <aph@redhat.com>
6324
6325         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6326         _Jv_PushClass.
6327         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6328         (_Jv_PopClass): New.
6329         (_Jv_PushClass): New.
6330         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6331         discover the ClassLoader of our caller.
6332         (_Jv_CheckArrayStore): Don't check that a class is assignment
6333         compatible with Object.
6334         * java/lang/natVMTHrowable.cc: Delete.
6335         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6336         java.lang.VMThrowable.
6337         (StackTrace(), StackTrace(int)): New constructors.
6338         (classAt, methodAt, update, methodAtAddress): New methods.
6339         (map): New field.
6340         * java/lang/VMThrowable.java: Use StackTrace instead of
6341         natVMTHrowable.
6342         * java/lang/Class.h (getClassLoaderInternal): New.
6343         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6344         Be friendly with gnu::gcj::runtime::StackTrace.
6345         (Object.chain): New field.
6346         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6347         gnu::gcj::runtime::StackTrace.
6348         * gnu/gcj/runtime/natStackTrace.cc: New file.
6349         * gnu/gcj/runtime/MethodRef.java: New file.
6350         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6351         instead of getClassLoader().
6352         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6353         java::lang::VMThrowable.
6354         * Makefile.am (core_java_source_files): Add MethodRef.java,
6355         StackTrace.java.
6356         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6357         * Makefile.in: Rebuild.
6358
6359 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6360
6361         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6362         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6363         yes also for sh-linux* and sh[34]*-linux*.
6364         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6365         set SIGNAL_HANDLER to use DWARF2 exception for them.
6366         * configure: Regenerate.
6367
6368 2002-12-02  Tom Tromey  <tromey@redhat.com>
6369
6370         * jni.cc: Added `name' argument.
6371         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6372         `const char *' argument.
6373         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6374
6375 2002-12-01  Tom Tromey  <tromey@redhat.com>
6376
6377         Bug compatibility, for PR libgcj/8738:
6378         * java/io/CharArrayWriter.java (close): Do nothing.
6379         (flush): Likewise.
6380         (reset): Don't touch `closed'.
6381         (write(int)): Don't throw IOException.
6382         (write(char[],int,int)): Likewise.
6383         (write(String,int,int)): Likewise.
6384         (closed): Removed.
6385
6386 2002-12-01  Mark Wielaard  <mark@klomp.org>
6387
6388         * java/lang/SecurityManager.java: Remerge comments, indenting and
6389         checkXXX methods with Classpath.
6390
6391 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6392
6393         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6394         getNormalizedComponents): Fix calculation which was using one too
6395         many bits in the unnormalized format.
6396
6397 2002-11-29  Gary Benson  <gbenson@redhat.com>
6398
6399         For PR libgcj/8759:
6400         * java/beans/Introspector.java (flushCaches): New method.
6401         (flushFromCaches): Likewise.
6402
6403 2002-11-29  Michael Koch <konqueror@gmx.de>
6404
6405         * java/nio/channels/DatagramChannel.java
6406         (open): Added exception documentation.
6407         (write): Added exception documentation.
6408         (connect): Added exception documentation.
6409         (disconnect): Added exception documentation.
6410         (isConnected): Added exception documentation.
6411         (read): Added exception documentation.
6412         (receive): Added exception documentation.
6413         (send): Added exception documentation.
6414         (validOps): Added exception documentation.
6415         * java/nio/channels/SocketChannel.java
6416         (open): Added exception documentation.
6417         (read): Added exception documentation.
6418         (write): Added exception documentation.
6419         (connect): Added exception documentation.
6420         (finishConnect): Added exception documentation.
6421
6422 2002-11-29  Michael Koch <konqueror@gmx.de>
6423
6424         * gnu/java/nio/DatagramChannelImpl:
6425         (fd): New member variable to store file descriptor of socket.
6426         * gnu/java/nio/SelectionKeyImpl.java:
6427         (ops): Removed.
6428         (readyOps): New member variable.
6429         (interestOps): New member variable.
6430         (readyOps): Implemented.
6431         (readyOps): New method to set member variable readyOps.
6432         (interestOps): Replaced ops by interestOps.
6433         * gnu/java/nio/SelectorImpl.java:
6434         (SelectorImpl): Initialize key sets.
6435         (select): Call select with -1 instead of Long.MAX_VALUE).
6436         (java_do_select): Make it a native method.
6437         (getFDsAsArray): New helper method.
6438         (select): Remove canceled keys, give only interested file discriptors
6439         to java_do_select, set ready ops.
6440         (add): No need to initialize keys set here.
6441         (add_selected): No need to initialize selected set here.
6442         (deregisterCanceledKeys): New helper method.
6443         (register): Set interest ops, set attachments, added handling of datagram
6444         channels.
6445         * gnu/java/nio/ServerSocketChannelImpl:
6446         (SocketAccept): Renamed from NioSocketAccept.
6447         (implConfigureBlocking): Implemented.
6448         (accept): Use SocketAccept instead of NioSocketAccept.
6449         * gnu/java/nio/SocketChannelImpl:
6450         Reactivate native methods.
6451
6452 2002-11-29  Michael Koch <konqueror@gmx.de>
6453
6454         * gnu/java/nio/natByteBufferImpl.cc,
6455         gnu/java/nio/natCharBufferImpl.cc,
6456         gnu/java/nio/natDoubleBufferImpl.cc,
6457         gnu/java/nio/natFloatBufferImpl.cc,
6458         gnu/java/nio/natIntBufferImpl.cc,
6459         gnu/java/nio/natLongBufferImpl.cc,
6460         gnu/java/nio/natSelectorImpl.cc,
6461         gnu/java/nio/natServerSocketChannelImpl.cc,
6462         gnu/java/nio/natShortBufferImpl.cc,
6463         gnu/java/nio/natSocketChannelImpl.cc:
6464         New files that implement native functionalities.
6465
6466 2002-11-29  Michael Koch <konqueror@gmx.de>
6467
6468         * gnu/java/nio/ByteBufferImpl.java
6469         (ByteBufferImpl): Moved position() after limit.
6470         (nio_*): Use native implementation.
6471         * gnu/java/nio/CharBufferImpl.java:
6472         Reformated.
6473         (endian): New member variable string endianess of buffer.
6474         (CharBufferImpl): Moved position() after limit.
6475         (nio_*): Use native implementation.
6476         (subSequence): Implemented.
6477         * gnu/java/nio/DoubleBufferImpl.java
6478         (DoubleBufferImpl): Moved position() after limit.
6479         (nio_*): Use native implementation.
6480         * gnu/java/nio/FloatBufferImpl.java
6481         Reformated.
6482         (FloatBufferImpl): Moved position() after limit.
6483         (nio_*): Use native implementation.
6484         * gnu/java/nio/IntBufferImpl.java
6485         Added needed imports, Reformated.
6486         (IntBufferImpl): Moved position() after limit.
6487         (nio_*): Use native implementation.
6488         * gnu/java/nio/LongBufferImpl.java
6489         Reformated.
6490         (LongBufferImpl): Moved position() after limit.
6491         (nio_*): Use native implementation.
6492         * gnu/java/nio/ShortBufferImpl.java
6493         Reformated.
6494         (ShortBufferImpl): Moved position() after limit.
6495         (nio_*): Use native implementation.
6496
6497 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6498
6499         * java/util/Locale.java (toString): Improve efficiency if country
6500         and variant are both empty.
6501
6502 2002-11-26  Tom Tromey  <tromey@redhat.com>
6503
6504         * verify.cc (pop_init_ref): New method.
6505         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6506         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6507         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6508         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6509         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6510         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6511         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6512         let `this' argument be uninitialized.  Don't let `null' be passed
6513         as `this' to construtor.
6514
6515 2002-11-26  Mark Wielaard  <mark@klomp.org>
6516
6517         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6518         * javax/transaction/HeuristicMixedException.java: Likewise.
6519         * javax/transaction/HeuristicRollbackException.java: Likewise.
6520         * javax/transaction/InvalidTransactionException.java: Likewise.
6521         * javax/transaction/NotSupportedException.java: Likewise.
6522         * javax/transaction/RollbackException.java: Likewise.
6523         * javax/transaction/Status.java: Likewise.
6524         * javax/transaction/Synchronization.java: Likewise.
6525         * javax/transaction/SystemException.java: Likewise.
6526         * javax/transaction/Transaction.java: Likewise.
6527         * javax/transaction/TransactionManager.java: Likewise.
6528         * javax/transaction/TransactionRequiredException.java: Likewise.
6529         * javax/transaction/TransactionRolledbackException.java: Likewise.
6530         * javax/transaction/UserTransaction.java: Likewise.
6531         * javax/transaction/xa/XAException.java: Likewise.
6532         * javax/transaction/xa/XAResource.java: Likewise.
6533         * javax/transaction/xa/Xid.java: Likewise.
6534
6535 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6536
6537         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6538         define.
6539         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6540         * include/posix.h (socklen_t): Define if not already defined.
6541
6542 2002-11-25  Tom Tromey  <tromey@redhat.com>
6543
6544         * verify.cc (type::compatible): Backed out broken change.
6545
6546         * verify.cc (type::compatible): Check initialization status
6547         first.
6548         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6549         Don't use NULLCHECK.
6550
6551 2002-11-23  H.J. Lu <hjl@gnu.org>
6552
6553         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6554         Include ../config/accross.m4.
6555         * aclocal.m4; Rebuild.
6556         * configure: Likewise.
6557
6558 2002-11-23  Mark Wielaard  <mark@klomp.org>
6559
6560         * javax/naming/AuthenticationException.java: Update copyright header.
6561         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6562         * javax/naming/Binding.java: Likewise.
6563         * javax/naming/CannotProceedException.java: Likewise.
6564         * javax/naming/CommunicationException.java: Likewise.
6565         * javax/naming/CompositeName.java: Likewise.
6566         * javax/naming/CompoundName.java: Likewise.
6567         * javax/naming/ConfigurationException.java: Likewise.
6568         * javax/naming/Context.java: Likewise.
6569         * javax/naming/ContextNotEmptyException.java: Likewise.
6570         * javax/naming/InitialContext.java: Likewise.
6571         * javax/naming/InsufficientResourcesException.java: Likewise.
6572         * javax/naming/InterruptedNamingException.java: Likewise.
6573         * javax/naming/LimitExceededException.java: Likewise.
6574         * javax/naming/LinkException.java: Likewise.
6575         * javax/naming/LinkLoopException.java: Likewise.
6576         * javax/naming/LinkRef.java: Likewise.
6577         * javax/naming/MalformedLinkException.java: Likewise.
6578         * javax/naming/NameAlreadyBoundException.java: Likewise.
6579         * javax/naming/NameClassPair.java: Likewise.
6580         * javax/naming/NameNotFoundException.java: Likewise.
6581         * javax/naming/NameParser.java: Likewise.
6582         * javax/naming/NamingEnumeration.java: Likewise.
6583         * javax/naming/NamingSecurityException.java: Likewise.
6584         * javax/naming/NoInitialContextException.java: Likewise.
6585         * javax/naming/NoPermissionException.java: Likewise.
6586         * javax/naming/NotContextException.java: Likewise.
6587         * javax/naming/OperationNotSupportedException.java: Likewise.
6588         * javax/naming/PartialResultException.java: Likewise.
6589         * javax/naming/Reference.java: Likewise.
6590         * javax/naming/Referenceable.java: Likewise.
6591         * javax/naming/ReferralException.java: Likewise.
6592         * javax/naming/ServiceUnavailableException.java: Likewise.
6593         * javax/naming/SizeLimitExceededException.java: Likewise.
6594         * javax/naming/TimeLimitExceededException.java: Likewise.
6595         * javax/naming/directory/Attribute.java: Likewise.
6596         * javax/naming/directory/AttributeInUseException.java: Likewise.
6597         * javax/naming/directory/AttributeModificationException.java: Likewise.
6598         * javax/naming/directory/Attributes.java: Likewise.
6599         * javax/naming/directory/BasicAttribute.java: Likewise.
6600         * javax/naming/directory/BasicAttributes.java: Likewise.
6601         * javax/naming/directory/DirContext.java: Likewise.
6602         * javax/naming/directory/InitialDirContext.java: Likewise.
6603         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6604         Likewise.
6605         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6606         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6607         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6608         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6609         * javax/naming/directory/ModificationItem.java: Likewise.
6610         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6611         * javax/naming/directory/SchemaViolationException.java: Likewise.
6612         * javax/naming/directory/SearchControls.java: Likewise.
6613         * javax/naming/directory/SearchResult.java: Likewise.
6614         * javax/naming/event/EventContext.java: Likewise.
6615         * javax/naming/event/EventDirContext.java: Likewise.
6616         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6617         * javax/naming/event/NamingEvent.java: Likewise.
6618         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6619         * javax/naming/event/NamingListener.java: Likewise.
6620         * javax/naming/event/ObjectChangeListener.java: Likewise.
6621         * javax/naming/ldap/Control.java: Likewise.
6622         * javax/naming/ldap/ControlFactory.java: Likewise.
6623         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6624         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6625         * javax/naming/ldap/HasControls.java: Likewise.
6626         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6627         * javax/naming/ldap/LdapContext.java: Likewise.
6628         * javax/naming/ldap/LdapReferralException.java: Likewise.
6629         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6630         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6631         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6632         * javax/naming/spi/DirObjectFactory.java: Likewise.
6633         * javax/naming/spi/DirStateFactory.java: Likewise.
6634         * javax/naming/spi/DirectoryManager.java: Likewise.
6635         * javax/naming/spi/InitialContextFactory.java: Likewise.
6636         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6637         * javax/naming/spi/NamingManager.java: Likewise.
6638         * javax/naming/spi/ObjectFactory.java: Likewise.
6639         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6640         * javax/naming/spi/ResolveResult.java: Likewise.
6641         * javax/naming/spi/Resolver.java: Likewise.
6642         * javax/naming/spi/StateFactory.java: Likewise.
6643
6644         * javax/naming/spi/NamingManager.java (ofb): Package private.
6645
6646 2002-11-21  Mark Wielaard  <mark@klomp.org>
6647
6648         * java/net/URL.java: Merge with Classpath (partly).
6649         * java/net/URLStreamHandler: Merge with Classpath.
6650
6651 2002-11-22  Michael Koch <konqueror@gmx.de>
6652
6653         * include/posix.h:
6654         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6655         * include/win32.h:
6656         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6657         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6658
6659 2002-11-21  Michael Koch <konqueror@gmx.de>
6660
6661         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6662         Only the new network functions should be in it.
6663
6664 2002-11-21  Michael Koch <konqueror@gmx.de>
6665
6666         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6667         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6668
6669 2002-11-21  Michael Koch <konqueror@gmx.de>
6670
6671         * java/nio/channels/AsynchronousCloseException.java,
6672         java/nio/channels/CancelledKeyException.java,
6673         java/nio/channels/ClosedByInterruptException.java,
6674         java/nio/channels/ConnectionPendingException.java,
6675         java/nio/channels/FileLockInterruptionException.java,
6676         java/nio/channels/IllegalSelectorException.java,
6677         java/nio/channels/NoConnectionPendingException.java,
6678         java/nio/channels/NonReadableChannelException.java,
6679         java/nio/channels/NonWritableChannelException.java,
6680         java/nio/channels/NotYetBoundException.java,
6681         java/nio/channels/NotYetConnectedException.java,
6682         java/nio/channels/OverlappingFileLockException.java,
6683         java/nio/channels/UnresolvedAddressException.java,
6684         java/nio/channels/UnsupportedAddressTypeException.java:
6685         New files.
6686         * Makefile.am (ordinary_java_source_files): Added new files.
6687         * Makefile.in: Regenerated.
6688
6689 2002-11-21  Michael Koch <konqueror@gmx.de>
6690
6691         * include/posix.h
6692         (_Jv_socket): New method.
6693         (_Jv_connect): New method.
6694         (_Jv_close): New method.
6695         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6696         (_Jv_bind): New method.
6697         (_Jv_listen): New method.
6698         (_Jv_write): New method.
6699         (_Jv_read): New method.
6700         * include/win32.h
6701         (_Jv_socket): New method.
6702         (_Jv_connect): New method.
6703         (_Jv_close): New method.
6704         (_Jv_bind): New method.
6705         (_Jv_listen): New method.
6706         (_Jv_write): New method.
6707         (_Jv_read): New method.
6708         * java/net/natNetworkInterface.cc:
6709         Include platform.h, removed inclusion of socket.h
6710         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6711         ::close() by _Jv_close().
6712         * java/net/natPlainDatagramSocketImpl.cc:
6713         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6714         added some new lines to make code more readable.
6715         (create): Replaced ::socket() by _Jv_socket().
6716         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6717         * java/net/natPlainSocketImpl.cc:
6718         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6719         removed include of socket.h, removed some windows defines
6720         (now in include/win32.h).
6721         (create): Replaced ::socket() by _Jv_socket().
6722         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6723         (write): Replaced ::read by _Jv_write().
6724         (read): Replaced ::read by _Jv_read().
6725
6726 2002-11-20  Michael Koch <konqueror@gmx.de>
6727
6728         * Makefile.am (ordinary_java_source_files):
6729         Added java/nio/channels/FileChannel.java.
6730         * Makefile.in: Regenerated.
6731
6732 2002-11-20  Michael Koch <konqueror@gmx.de>
6733
6734         * java/io/FileInputStream.java
6735         (getChannel): New method.
6736         * java/io/FileOutputStream.java
6737         (getChannel): New method.
6738         * java/net/ServerSocket.java
6739         (bind): Removed duplicate code and called another bind method instead.
6740         * java/nio/channels/SelectionKey.java
6741         (isValid): Removed wrong exception documentation.
6742         * java/nio/channels/ServerSocketChannel.java
6743         (accept): Added exception documentation.
6744         (open): Fixed typo, added exception documentation.
6745         * java/nio/channels/spi/AbstractSelectableChannel.java
6746         (implCloseChannel): Added exception documentation.
6747         (add): Reformated.
6748         (register): Added exception documentation.
6749
6750 2002-11-20  Andreas Jaeger  <aj@suse.de>
6751
6752         * configure: Regenerated with new libtool.m4.
6753
6754 2002-11-19  Tom Tromey  <tromey@redhat.com>
6755
6756         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6757         `referent'.
6758         (finalize_referred_to_object): Don't modify `referent' or `copy'
6759         fields.
6760         (add_to_hash): Correctly set `n->next' when updating list.
6761         * java/lang/ref/Reference.java (enqueue): Return false if already
6762         enqueued.
6763
6764 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6765
6766         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6767         to function and function pointer declarations in accordance with
6768         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6769         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6770         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6771         JNI function definitions.
6772
6773 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6774
6775         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6776         that was causing CoderResults to be cached, not WeakReferences
6777         to CoderResults.
6778
6779 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6780
6781         * java/security/KeyStore.java (getInstance): Fix
6782         comment and throw IllegalArgumentException if
6783         given provider is null.
6784         (getInstance): New method for jdk1.4 compatibility.
6785
6786 2002-11-18  Michael Koch <konqueror@gmx.de>
6787
6788         * java/net/PlainSocketImpl.java: Fix imports.
6789
6790 2002-11-18  Michael Koch <konqueror@gmx.de>
6791
6792         * java/nio/channels/SelectionKey.java
6793         (isValid): Added exception documentation.
6794         * java/nio/channels/Selector.java
6795         (open): Declare "throws IOException".
6796
6797 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6798
6799         * java/nio/charset/Charset.java
6800         (<clinit>): New method.
6801         (encode): Synchronize use of cached encoder object.
6802         (decode): Synchronize use of cached encoder object.
6803
6804 2002-11-18  Michael Koch <konqueror@gmx.de>
6805
6806         * gnu/java/nio/ByteBufferImpl.java,
6807         gnu/java/nio/CharBufferImpl.java,
6808         gnu/java/nio/DatagramChannelImpl.java,
6809         gnu/java/nio/DoubleBufferImpl.java,
6810         gnu/java/nio/FileChannelImpl.java,
6811         gnu/java/nio/FloatBufferImpl.java,
6812         gnu/java/nio/IntBufferImpl.java,
6813         gnu/java/nio/LongBufferImpl.java,
6814         gnu/java/nio/PipeImpl.java,
6815         gnu/java/nio/SelectionKeyImpl.java,
6816         gnu/java/nio/SelectorImpl.java,
6817         gnu/java/nio/SelectorProviderImpl.java,
6818         gnu/java/nio/ServerSocketChannelImpl.java,
6819         gnu/java/nio/ShortBufferImpl.java,
6820         gnu/java/nio/SocketChannelImpl.java,
6821         java/nio/DoubleBuffer.java,
6822         java/nio/FloatBuffer.java,
6823         java/nio/IntBuffer.java,
6824         java/nio/LongBuffer.java,
6825         java/nio/ShortBuffer.java,
6826         java/nio/channels/FileChannel.java: New files.
6827
6828 2002-11-18  Michael Koch <konqueror@gmx.de>
6829
6830         * Makefile.am (ordinary_java_source_files):
6831         Added java/nio/ReadOnlyBufferException.java and
6832         java/nio/channels/ClosedSelectorException.java.
6833         * Makefile.in: Regenerated.
6834
6835 2002-11-18  Michael Koch <konqueror@gmx.de>
6836
6837         * java/net/PlainSocketImpl.java: Reworked imports.
6838         * java/net/ServerSocket.java
6839         (ServerSocket): Create socket.
6840         * java/net/SocketAddress.java: Documentation added.
6841         * java/net/natPlainSocketImpl.cc: Reindented.
6842         * java/nio/ReadOnlyBufferException.java: New file
6843         * java/nio/channels/ClosedChannelException.java: Documentation added.
6844         * java/nio/channels/ClosedSelectorException.java: New file.
6845
6846 2002-11-17  Mark Wielaard  <mark@klomp.org>
6847
6848         * java/net/HttpURLConnection.java ((getPermission): Take port
6849         into consideration.
6850         (getErrorStream): Implement.
6851
6852 2002-11-17  Mark Wielaard  <mark@klomp.org>
6853
6854         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6855
6856 2002-11-16  Mark Wielaard  <mark@klomp.org>
6857
6858         Integrate work by Raif S. Naffah (raif@fl.net.au)
6859         * java/security/DummyKeyPairGenerator.java (clone): New method.
6860         * java/security/DummyMessageDigest.java (clone): New method.
6861         (engineUpdate): Now public.
6862         (engineReset): Likewise.
6863         (engineDigest): Likewise.
6864         (engineGetDigestLength): New method.
6865         * java/security/DummySignature.java (clone): New method.
6866         * java/security/KeyPairGenerator.java (provider): Now package private.
6867         (getInstance(String)): Use getInstance(String,Provider).
6868         (getInstance(String,String): Use getInstance(String,Provider)
6869         (getInstance(String,Provider): New method.
6870         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6871         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6872         * java/security/MessageDigest.java (provider): Now package private.
6873         (getInstance(String): Use getInstance(String,Provider).
6874         (getInstance(String,String): Use getInstance(String,Provider)
6875         (getInstance(String,Provider): New method.
6876         * java/security/Provider.java (toCanonicalKey): New method.
6877         (get): New method that uses toCanonicalKey().
6878         (put): Use toCanonicalKey().
6879         (remove): Likewise.
6880         * java/security/Security.java (insertProviderAt): Provider index is one
6881         based, not zero based.
6882         (addProvider): Likewise.
6883         (removeProvider): Likewise.
6884         * java/security/Signature.java (provider): Now package private.
6885         (getInstance(String)): Use getInstance(String,Provider).
6886         (getInstance(String,String): Use getInstance(String,Provider)
6887         (getInstance(String,Provider): New method.
6888         (getInstance(String,String,Provider): Don't cast DummySignature.
6889
6890 2002-11-15  Tom Tromey  <tromey@redhat.com>
6891
6892         For PR libgcj/8593:
6893         * java/util/zip/GZIPInputStream.java (read): Check file size.
6894         Look in inflater for remaining input bytes.
6895         (read4): Added buf and offset arguments.
6896
6897 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6898
6899         * java/applet/AppletContext.java: Fix typo and remove redundant
6900         modifiers.
6901
6902 2002-11-14  Tom Tromey  <tromey@redhat.com>
6903
6904         * java/lang/natRuntime.cc (insertSystemProperties): Set
6905         gnu.classpath.home.
6906
6907 2002-11-13  Michael Koch <konqueror@gmx.de>
6908
6909         * java/nio/ByteBuffer.java
6910         (allocate): New method.
6911         (wrap): New method.
6912         (put): New method.
6913         (get): New method.
6914
6915 2002-11-13  Michael Koch <konqueror@gmx.de>
6916
6917         * java/nio/channels/AlreadyConnectedException.java:
6918         Removed unneeded import.
6919         (AlreadyConnectedException): Documentation added.
6920         * java/nio/channels/Pipe.java
6921         (SinkChannel.SinkChannel): Documentation added.
6922         (SinkChannel.validOps): New method.
6923         (SourceChannel.SourceChannel): Documentation added.
6924         (SourceChannel.validOps): New method.
6925         (Pipe): Documentation added.
6926         (open): Documentation added.
6927         (SinkChannel.channel): Documentation added.
6928         (SourceChannel.channel): Documentation added.
6929         * java/nio/channel/SelectableChannel.java
6930         (SelectableChannel): Documentation added.
6931         (blockingLock): Documentation added.
6932         (configureBlocking):Documentation added.
6933         (isBlocking):Documentation added.
6934         (isRegistered):Documentation added.
6935         (keyFor):Documentation added.
6936         (provider):Documentation added.
6937         (register): Documentation added.
6938         (validOps): Documentation added.
6939         * jaba/nio/channels/SelectionKey.java
6940         (SelectionKey): Documentation added.
6941         (attach): Documentation added.
6942         (attachment): Documentation added.
6943         (isAcceptable): Documentation added.
6944         (isConnetable): Documentation added.
6945         (isReadable): Documentation added.
6946         (isWritable): Documentation added.
6947         (cancel): Documentation added.
6948         (channel): Documentation added.
6949         (interestOps): Documentation added.
6950         (isValid): Documentation added.
6951         (readyOps): Documentation added.
6952         (selector): Documentation added.
6953         * jaba/nio/channels/Selector.java
6954         (Selector): Documentation added.
6955         (open): Documentation added.
6956         (close): Documentation added.
6957         (isOpen): Documentation added.
6958         (keys): Documentation added.
6959         (provider): Documentation added.
6960         (select): Documentation added.
6961         (selectedKeys): Documentation added.
6962         (selectNow): Documentation added.
6963         (wakeup): Documentation added.
6964         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6965         (AbstractInterruptibleChannel): Documentation added.
6966         (opened): Default to true;
6967         (begin): Documentation added.
6968         (close): Set opened to false, documentation added.
6969         (isOpen): Documentation added.
6970         * java/nio/channels/spi/AbstractSelectionKey.java
6971         (AbstractSelectionKey): Documentation added.
6972         (cancel): Documentation added.
6973         (isValid): Documentation added.
6974         * java/nio/channels/spi/AbstractSelector.java
6975         (AbstractSelector): Documentation added.
6976         (begin): Documentation added.
6977         (close): Documentation added.
6978         (isOpen): Documentation added.
6979         (deregister): Documentation added.
6980         (end): Documentation added.
6981         (provider): Documentation added.
6982         (implCloseSelector): Documentation added.
6983         (register): Documentation added.
6984         * java/nio/channels/spi/SelectorProvider.java
6985         (SelectorProvider): Documentation added.
6986         (openDatagramChannel): Documentation added.
6987         (openPipe): Documentation added.
6988         (openSelector): Documentation added.
6989         (openServerSocketChannel): Documentation added.
6990         (openSocketChannel): Documentation added.
6991         (provider): Documentation added.
6992
6993 2002-11-12  Michael Koch <konqueror@gmx.de>
6994
6995         * java/nio/Buffer.java: Implemented.
6996         * java/nio/CharBuffer.java: New file.
6997         * java/nio/InvalidMarkException.java: New file.
6998         * java/nio/channels/DatagramChannel.java: Implemented.
6999         * java/nio/channels/ServerSocketChannel.java: Implemented.
7000         * java/nio/channels/SocketChannel.java: Implemented.
7001         * java/nio/channels/spi/AbstractChannel.java: Removed.
7002         * java/nio/channels/spi/AbstractSelectableChannel.java:
7003         Implemented.
7004         * java/nio/charset/Charset.java:
7005         Merge from Classpath.
7006         * java/nio/charset/CharsetDecoder.java: New file.
7007         * java/nio/charset/CharsetEncoder.java: New file.
7008         * java/nio/charset/CoderResult.java: New file.
7009         * Makefile.am (ordinary_java_source_files): Added new files.
7010         * Makefile.in: Regenerated.
7011
7012 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7013
7014         * gnu/java/nio/charset/ISO_8859_1.java,
7015         gnu/java/nio/charset/Provider.java,
7016         gnu/java/nio/charset/US_ASCII.java,
7017         gnu/java/nio/charset/UTF_16.java,
7018         gnu/java/nio/charset/UTF_16BE.java,
7019         gnu/java/nio/charset/UTF_16Decoder.java,
7020         gnu/java/nio/charset/UTF_16Encoder.java,
7021         gnu/java/nio/charset/UTF_16LE.java,
7022         gnu/java/nio/charset/UTF_8.java: New files.
7023
7024 2002-11-11  Michael Koch <konqueror@gmx.de>
7025
7026         * java/nio/charset/CharacterCodingException.java:
7027         This class must be public.
7028         * java/nio/charset/CoderMalfunctionError.java:
7029         This class must be public.
7030         * java/nio/charset/CodingErrorAction.java:
7031         This class must be public.
7032         * java/nio/charset/IllegalCharsetNameException.java:
7033         This class must be public, better implementation.
7034         * java/nio/charset/MalformedInputException.java:
7035         This class must be public, better implementation.
7036         * java/nio/charset/UnmappableCharacterException.java:
7037         This class must be public, better implementation.
7038         * java/nio/charset/UnsupportedCharsetException.java:
7039         This class must be public, better implementation.
7040
7041 2002-11-11  Michael Koch <konqueror@gmx.de>
7042
7043         * java/nio/BufferOverflowException.java,
7044         java/nio/BufferUnderflowException.java: New file.
7045         * Makefile.am (ordinary_java_source_files):
7046         Added new files.
7047         * Makefile.in: Regenerated.
7048
7049 2002-11-10  Tom Tromey  <tromey@redhat.com>
7050
7051         * java/awt/Container.java (validate): Use tree lock.
7052         (getComponent): Likewise.
7053         (getComponents): Likewise.
7054         (addImpl): Likewise.
7055         (remove): Likewise.
7056         (removeAll): Likewise.
7057         (processEvent): Fixed indentation.
7058         (getComponentAt): Use tree lock.
7059         (findComponentAt): Likewise.
7060         (removeNotify): Likewise.
7061         (isAncestorOf): Likewise.
7062         (list): Likewise.
7063         (visitChildren): Likewise.
7064         (findNextFocusComponent): Likewise.
7065         (addNotifyContainerChildren): Likewise.
7066         (getAccessibleChildrenCount): Likewise.
7067         (getAccessibleChild): Likewise.
7068
7069         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7070         (getSize): Likewise.
7071         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7072         (getSize): Likewise.
7073         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7074         (calcSize): Likewise.
7075         * java/awt/CardLayout.java (getSize): Use tree lock.
7076         (gotoComponent): Likewise.
7077         (layoutContainer): Likewise.
7078
7079         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7080         count is 0.
7081         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7082         count is 0.
7083
7084         * java/io/Externalizable.java, java/io/FilePermission.java,
7085         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7086         java/io/SerializablePermission.java, java/text/Format.java,
7087         java/util/AbstractMap.java, java/util/HashMap.java,
7088         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7089         versions from Classpath.
7090
7091 2002-11-10  Anthony Green  <green@redhat.com>
7092
7093         * java/util/jar/Attributes.java (Name): Fix name check.
7094
7095 2002-11-10  Mark Wielaard  <mark@klomp.org>
7096
7097         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7098         with getName() as message.
7099         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7100         type as message.
7101
7102         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7103         unused.
7104
7105 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7106
7107         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7108         for Win32. JNICALL has been defined to __stdcall to be compatible
7109         with Sun's JDKs.
7110
7111 2002-11-10  Tom Tromey  <tromey@redhat.com>
7112
7113         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7114         (setRows): Check newRows, not rows.
7115
7116         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7117
7118 2002-11-09  Tom Tromey  <tromey@redhat.com>
7119
7120         * java/applet/Applet.java, java/applet/AppletContext.java,
7121         java/applet/AppletStub.java, java/applet/AudioClip.java,
7122         java/awt/CardLayout.java,
7123         java/awt/ContainerOrderFocusTraversalPolicy.java,
7124         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7125         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7126         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7127         java/awt/color/ICC_ColorSpace.java,
7128         java/awt/color/ICC_Profile.java,
7129         java/awt/color/ICC_ProfileGray.java,
7130         java/awt/color/ICC_ProfileRGB.java,
7131         java/awt/datatransfer/DataFlavor.java,
7132         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7133         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7134         New versions from Classpath.
7135         * Makefile.in: Rebuilt.
7136         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7137         ICC_ProfileRGB.
7138
7139         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7140         display policy.
7141
7142         * java/awt/List.java (processEvent): Added missing `else's.
7143
7144         * java/awt/Window.java (show): validate() before showing.  Make
7145         parent displayable.
7146         (isDisplayable): New method.
7147
7148 2002-11-07  Mark Wielaard  <mark@klomp.org>
7149
7150         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7151         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7152
7153         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7154         annotation.
7155         (loadClass): Take String as codebases.
7156         (getClassAnnotation): Use MyClassLoader annotations.
7157         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7158         call exportObject(this).
7159
7160         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7161         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7162         (setAnnotation): Don't set locBytesStream and locStream.
7163         (replaceObject): Removed.
7164         (flush): Don't test locStream.
7165         (getLocBytes): LikeWise.
7166         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7167         (leaseCache): New field.
7168         (dirty): Use leaseCache.
7169         (LeaseRecord): New inner class.
7170         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7171         explicitly call exportObject().
7172         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7173         false to communicate with Sun JDK130.
7174         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7175         * gnu/java/rmi/server/RMIObjectInputStream.java
7176         (UnicastConnectionManager): Removed field.
7177         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7178         Use UnicastServer.getExportedRef().
7179         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7180         (expireTime): Likewise.
7181         (CONNECTION_TIMEOUT): Likewise.
7182         (disconnect): Call sock.close().
7183         (isExpired): New method.
7184         (resetTime): Likewise.
7185         (run): Use do while loop and catch Exception for discardConnection().
7186         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7187         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7188         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7189         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7190         (exportObject): Use refcache.
7191         (unexportObject): Likewise.
7192         (getExportedRef): New method.
7193         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7194         constructor.
7195         (exportObject): Save manager.serverobj.
7196         (getStub): New method.
7197
7198 2002-11-07  Mark Wielaard  <mark@klomp.org>
7199
7200         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7201         (getByte): Likewise.
7202         (getShort): Likewise.
7203         (getInt): Likewise.
7204         (getLong): Likewise.
7205         (getFloat): Likewise.
7206         (getDouble): Likewise.
7207         (get): Likewise.
7208         (setChar): Likewise.
7209         (setByte): Likewise.
7210         (setShort): Likewise.
7211         (setInt): Likewise.
7212         (setLong): Likewise.
7213         (setFloat): Likewise.
7214         (setDouble): Likewise.
7215
7216 2002-11-07  Michael Koch <konqueror@gmx.de>
7217
7218         * java/awt/Choice.java,
7219         java/awt/Container.java,
7220         java/awt/GridBagLayout.java:
7221         Fixed documentation.
7222         * java/awt/peer/ContainerPeer.java:
7223         Reindented.
7224
7225 2002-11-07  Michael Koch <konqueror@gmx.de>
7226
7227         * java/awt/color/ICC_Profile.java:
7228         Added missing constants.
7229         * java/awt/color/ICC_ColorSpace.java
7230         (getMinValue): Added dummy implementation.
7231         (getMaxValue): Added dummy implementation.
7232         * java/awt/datatransfer/DataFlavor.java
7233         (imageFlavor): Added.
7234         (isMimeTypeEqual): Must be final.
7235         (getDefaultRepresentationClass): Must be non-static.
7236         (getDefaultRepresentationClassAsString): Must be non-static.
7237         * java/awt/dnd/DragSourceContext.java
7238         (dragExit): Corrected argument.
7239         (dragDropEnd): Corrected argument.
7240         * java/awt/dnd/DragSourceListener.java.java
7241         (dragExit): Corrected argument.
7242         (dragDropEnd): Corrected argument.
7243         * java/awt/font/TextHitInfo.java
7244         (toString): Added stubbed implementation.
7245         * java/awt/geom/PathIterator.java:
7246         The constants must be static.
7247         * java/awt/image/VolatileImage.java
7248         (IMAGE_INCOMPATIBLE): Fixed typo.
7249         * java/awt/image/renderable/RenderableImage.java
7250         (HINTS_OBSERVED): Must be static.
7251         * java/beans/BeanInfo.java:
7252         Constants must be final.
7253
7254 2002-11-06  Tom Tromey  <tromey@redhat.com>
7255
7256         From svens@it.uu.se.  For PR libgcj/8481.
7257         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7258
7259 2002-11-06  Tom Tromey  <tromey@redhat.com>
7260
7261         * jni.cc (array_from_valist): Assume that jlong won't be
7262         promoted.
7263
7264 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7265
7266         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7267         Return 20.
7268         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7269         Return 16.
7270
7271 2002-11-03  Tom Tromey  <tromey@redhat.com>
7272
7273         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7274         VMClassLoader, not findClass.
7275
7276 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7277
7278         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7279         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7280         _Jv_DetermineVTableIndex, to determine vtable offset.
7281         (_Jv_DetermineVTableIndex): Remove.
7282         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7283
7284         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7285
7286 2002-11-03  Tom Tromey  <tromey@redhat.com>
7287
7288         * java/nio/channels/AlreadyConnectedException.java: Extend
7289         IllegalStateException, per spec.
7290
7291 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7292
7293         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7294
7295 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7296
7297         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7298         size items.
7299
7300 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7301
7302         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7303         initial estimated size to avoid enlarge buffer frequently.
7304
7305 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7306
7307         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7308         ClassLoader when null.
7309         (ProxyType.hashCode): Loader null check no longer needed.
7310         (ProxyType.sameTypes): New method.
7311         (ProxyType.equals): Use new method.
7312
7313 2002-10-31  Mark Wielaard  <mark@klomp.org>
7314
7315         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7316         length of String.
7317         * java/net/URLEncoder.java (encode): Likewise.
7318
7319 2002-10-31  Mark Wielaard  <mark@klomp.org>
7320
7321         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7322         when stream is closed.
7323         (closeEntry): Likewise.
7324         (read): Likewise.
7325         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7326         ZipException when no entry active.
7327         (closeEntry): Likewise.
7328         (write): Likewise.
7329
7330 2002-11-02  Tom Tromey  <tromey@redhat.com>
7331
7332         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7333         * java/lang/natClass.cc (initializeClass): Don't return just
7334         because self==thread.
7335
7336         For PR java/8415:
7337         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7338         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7339
7340 2002-11-02  Andreas Schwab  <schwab@suse.de>
7341
7342         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7343         pass GCJFLAGS.
7344         (FLAGS_TO_PASS): Define.
7345         * Makefile.in: Regenerated.
7346
7347 2002-11-01  Michael Koch  <konqueror@gmx.de>
7348
7349         * java/nio/ByteOrder.java: New file.
7350         * java/nio/channels/DatagramChannel.java:
7351         (DatagramChannel): New constructor.
7352         * java/nio/channels/Pipe.java: New file.
7353         * java/nio/channels/SelectableChannel.java: New file.
7354         * java/nio/channels/SelectionKey.java: New file.
7355         * java/nio/channels/Selector.java: New file.
7356         * java/nio/channels/ServerSocketChannel.java
7357         (ServerSocketChannel): New constructor.
7358         * java/nio/channels/SocketChannel.java
7359         (SocketChannel): New constructor.
7360         * java/nio/channels/Pipe.java: New file.
7361         * java/nio/channels/spi/AbstractChannel.java: New file.
7362         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7363         * java/nio/channels/spi/AbstractSelectableChannel.java:
7364         License added
7365         (AbstractSelectableChannel): New stubbed method.
7366         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7367         * java/nio/channels/spi/AbstractSelector.java: New file.
7368         * java/nio/channels/spi/SelectorProvider.java: New file.
7369         * java/nio/charset/Charset.java: New file.
7370         * java/nio/charset/CoderMalfunctionError.java: New file.
7371         * java/nio/charset/CodingErrorAction.java: New file.
7372         * java/nio/charset/spi/CharsetProvider.java
7373         (charsetForName): Uncommented.
7374         * Makefile.am (java_native_source_files): Added new files.
7375         * Makefile.in: Regenerated.
7376
7377 2002-11-01  Michael Koch  <konqueror@gmx.de>
7378
7379         * java/net/InetAddress.java:
7380         (isAnyLocalAddress): Implemented.
7381         (isLoopbackAddress): Implemented, comment added.
7382         (isLinkLocalAddress): Implemented, documentation added.
7383         (isSiteLocalAddress): Implemented, documentation added.
7384         (isMCGlobal): Implemented, documentation added.
7385         (isMCNodeLocal): Implemented, documentation added.
7386         (isMCLinkLocal): Implemented, documentation added.
7387         (isMCSiteLocal): Implemented, documentation added.
7388         (isMCOrgLocal): Implemented, documentation added.
7389         (getHostName): Documentation added.
7390         (getCanonicalHostName): Implemented, documentation added.
7391         (getAddress): Documentation added.
7392         (hashCode): Documentation added.
7393         (equals): Documentation added.
7394         (toString): Fixed implementation.
7395         (getByAddress): Use Inet4Address and Inet6Address.
7396         (lookup): New linewrap.
7397         (getByName): SecurityManager check added, support Inet4Address and
7398         Inet6address, comments added.
7399         (getAllByName): SecurityManager check added, comments added.
7400         * java/net/Inet6Address.java:
7401         (Inet6Address): Initialize parent class with addr instead of null.
7402         * java/net/URL.java
7403         (equals): Documentation added.
7404         (getFile): Documentation added.
7405         (hashCode): Documentation added.
7406         * java/net/natInetAddress.cc:
7407         (aton): Fix IPv6 support.
7408         * java/net/natPlainDatagramSocketImpl.cc:
7409         (peek): Throw PortUnreachableException when suitable.
7410         (peekData): Throw PortUnreachableException when suitable.
7411         (send): Throw PortUnreachableException when suitable.
7412         (receive): Throw PortUnreachableException when suitable.
7413
7414 2002-10-27  Mark Wielaard  <mark@klomp.org>
7415
7416         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7417         argument.
7418         (readLeShort): Likewise and use byte[].
7419         (readLeInt): Likewise.
7420         (readEntries): Use new versions of methods and use byte[] for reading
7421         a complete zip entry. Add ZipFile name to exceptions.
7422         (entries): Add ZipFile name to exceptions.
7423         (getEntry): Likewise.
7424         (checkLocalHeader): Use new versions of methods and add ZipFile name
7425         to exceptions.
7426
7427 2002-10-31  Mark Anderson  <mark@panonet.net>
7428
7429         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7430         added
7431
7432 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7433
7434         * configure.in: Disable hash sync when not using threads.
7435         * configure: Regenerated.
7436
7437 2002-10-24  Tom Tromey  <tromey@redhat.com>
7438
7439         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7440         (_Jv_FindSymbolInExecutable): Removed argument name.
7441         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7442         java.library.path is set.
7443
7444         * gij.cc (help): Document --showversion.
7445         (version): Don't exit.
7446         (main): Handle --showversion.  Exit if --version given.
7447
7448 2002-10-23  Tom Tromey  <tromey@redhat.com>
7449
7450         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7451         (array_from_valist): Correctly handle promotion for jint, jlong,
7452         jfloat, and jdouble.
7453
7454 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7455
7456         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7457         GetFileAttributesEx( ) to find file length and modification times,
7458         as the latter is not present on Windows 95.
7459
7460 2002-10-21  Michael Koch  <konqueror@gmx.de>
7461
7462         * java/net/URL.java
7463         (URL): Activate SecurityManager checks.
7464         (equals): Use URLStreamHandler implementation instead of doing it
7465         alone. This allows special protocol stream handlers to change default
7466         behaviour.
7467         (hashCode): Use URLStreamHandler implementation instead of doing it
7468         alone. This allows special protocol stream handlers to change default
7469         behaviour.
7470         * java/net/URLStreamHandler.java
7471         (equals): Implemented default URL equality check.
7472         (hostsEqual): Implemented default URL equality check.
7473         (hashCode): Implemented default URL hashCode algorithm.
7474         * java/net/natPlainDatagramSocketImpl.cc:
7475         No lines longer then 80 characters.
7476
7477 2002-10-20  Adam Megacz <adam@xwt.org>
7478
7479         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7480         * configure.in: enabled hash sync on Win32
7481         * include/win32-threads.h (_Jv_ThreadId_t): added.
7482         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7483         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7484         removed some posix-isms, use Thread::sleep() instead of usleep,
7485         added code to clear bottom three bits if platform has a broken
7486         linker.
7487         * include/win32-threads.h (_Jv_ThreadId_t): added.
7488
7489 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7490
7491         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7492         runtime property "gnu.gcj.progname" containing the name used to
7493         invoke the current Java program (similar to argv[0] for C
7494         programs).
7495
7496 2002-10-15  Tom Tromey  <tromey@redhat.com>
7497
7498         Fix for PR libgcj/8234:
7499         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7500         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7501
7502 2002-10-13  Mark Wielaard  <mark@klomp.org>
7503
7504         * mauve-libgcj: Enable Mauve tests that compile now.
7505
7506 2002-10-11  Mark Wielaard  <mark@klomp.org>
7507
7508         Fix for PR libgcj/8142
7509         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7510         loading native modules.
7511
7512 2002-10-10  Michael Koch  <konqueror@gmx.de>
7513
7514         * javax/swing/AbstractListModel.java
7515         (getListDataListeners): New stubbed method.
7516         javax/swing/DefaultBoundedRangeModel.java
7517         (getChangeListeners): New stubbed method.
7518         javax/swing/DefaultSingleSelectionModel.java
7519         (getChangeListeners): New stubbed method.
7520
7521 2002-10-10  Michael Koch  <konqueror@gmx.de>
7522
7523         * gcj/.cvsignore: New file to ignore files generated during build.
7524         * include/.cvsignore: New file to ignore files generated during build.
7525
7526 2002-10-10  Michael Koch  <konqueror@gmx.de>
7527
7528         * java/net/HttpURLConnection.java
7529         (getPermission): New method.
7530         (getErrorStream): New stub method.
7531         (getHeaderFieldDate): New stub method.
7532         * java/net/Inet4Address.java:
7533         (isLinkLocalAddress): Typo fixed.
7534         * java/net/InetAddress.java:
7535         (readResolve): New stubbed method (for serialization).
7536         (isAnyLocalAddress): New stubbed method.
7537         (isLoopbackAddress): New stubbed method.
7538         (isLinkLocalAddress): New stubbed method.
7539         (isSiteLocalAddress): New stubbed method.
7540         (isMCGlobal): New stubbed method.
7541         (isMCNodeGlobal): New stubbed method.
7542         (isMCLinkLocal): New stubbed method.
7543         (isMCSiteLocal): New stubbed method.
7544         (isMCOrgLocal): New stubbed method.
7545         (getCanonicalHostName): New stubbed method.
7546         (getByAddress): Create instances of Inet4Address/Inet6Address,
7547         instead of InetAddress, documentation added.
7548         * java/net/MulticastSocket.java
7549         (getInterface): Removed FIXME.
7550         (getNetworkInterface): New method.
7551         (setNetworkInterface): New method.
7552         * java/net/NetworkInterface.java:
7553         (toString): Use property "line.separator" instead of "\n".
7554         * java/net/URLConnection.java
7555         (getContent): New stubbed method.
7556         * java/net/URLStreamHandler.java:
7557         (equals): New stubbed method.
7558         (hostsEqual): New stubbed method.
7559         (hashCode): New stubbed method.
7560         * java/net/natNetworkInterface.cc:
7561         (getRealNetworkInterfaces): Create Inet4Address object
7562         instead of InetAddress.
7563
7564 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7565
7566         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7567         unsigned long temporary to implement insn_iushr shifts.
7568
7569 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7570
7571         * configure.host [s390*-*]: Enable Java interpreter.
7572         Enable hash synchronization.  Add sysdeps dir.
7573         * sysdep/s390/locks.h: New file.
7574
7575 2002-10-06  Mark Wielaard  <mark@klomp.org>
7576
7577         * java/lang/Thread.java (setDaemon): Check startable_flag,
7578         not isAlive().
7579
7580 2002-10-07  Michael Koch  <konqueror@gmx.de>
7581
7582         * java/nio/Buffer.java: New stub file.
7583         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7584         of class Charset.
7585         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7586         * Makefile.in: Regenerated.
7587
7588 2002-10-07  Michael Koch  <konqueror@gmx.de>
7589
7590         * java/nio/ByteBuffer.java:
7591         removed import of not commited class.
7592
7593 2002-10-07  Michael Koch  <konqueror@gmx.de>
7594
7595         * java/nio/ByteBuffer.java,
7596         java/nio/MappedByteBuffer.java:
7597         New files, forgot to add these dummies.
7598         * Makefile.am (java_native_source_files): Added new files.
7599         * Makefile.in: Regenerated.
7600
7601 2002-10-07  Michael Koch  <konqueror@gmx.de>
7602
7603         * java/nio/channels/AlreadyConnectedException.java,
7604         java/nio/channels/ClosedChannelException.java,
7605         java/nio/channels/ReadableByteChannel.java,
7606         java/nio/channels/InterruptibleChannel.java,
7607         java/nio/channels/Channel.java,
7608         java/nio/channels/ByteChannel.java,
7609         java/nio/channels/GatheringByteChannel.java,
7610         java/nio/channels/ScatteringByteChannel.java,
7611         java/nio/channels/WritableByteChannel.java,
7612         java/nio/charset/CharacterCodingException.java,
7613         java/nio/charset/IllegalCharsetNameException.java,
7614         java/nio/charset/MalformedInputException.java,
7615         java/nio/charset/UnmappableCharacterException.java,
7616         java/nio/charset/UnsupportedCharsetException.java,
7617         java/nio/charset/spi/CharsetProvider.java: New file.
7618         These files are exceptions or interfaces,
7619         no real or abstract classes.
7620         * Makefile.am (java_native_source_files): Added new files.
7621         * Makefile.in: Regenerated.
7622
7623 2002-10-05  Michael Koch  <konqueror@gmx.de>
7624
7625         * java/net/InetAddress.java
7626         (getByAddress): Fixed documentation.
7627         (getByAddress): New method.
7628         * java/net/Inet4Address.java: New file.
7629         * java/net/URL.java
7630         (URL): Documentation added.
7631         (getContent): Documentation added.
7632         (getContent): New stubbed method.
7633         (getQuery): New method.
7634         (openConnection): Documentation added.
7635         (openStream): Documentation added.
7636         (setURLStreamHandlerFactory): Documentation added.
7637         * java/net/URI.java: New stub file.
7638         * Makefile.am
7639         (java_native_source_files): Added java/net/Inet4Address.java,
7640         java/net/Inet6Address.java and java/net/URI.java.
7641         * Makefile.in: Regenerated.
7642
7643 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7644
7645         * java/lang/ProtectionDomain.java (linesep): Remove field.
7646         (toString): Use System.getProperty("line.separator").
7647
7648 2002-10-04  Michael Koch  <konqueror@gmx.de>
7649
7650         * java/security/Identity.java: Added serialVersionUID.
7651         * java/security/KeyPair.java: Added serialVersionUID.
7652         * java/security/Provider.java: Added serialVersionUID.
7653         * java/security/SecureRandom.java: Added serialVersionUID.
7654         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7655         * java/security/SignedObject.java: Added serialVersionUID.
7656         * java/security/cert/Certificate.java: Added serialVersionUID.
7657
7658 2002-10-04  Mark Wielaard <mark@klomp.org>
7659
7660         * java/security/Security.java: Use java.home or gnu.classpath.home
7661         to load providers.
7662         (loadProviders): Extra dir argument.
7663         (getProvider): Return null when not found.
7664
7665 2002-10-04  Mark Wielaard  <mark@klomp.org>
7666
7667         * java/lang/Throwable.java: Remerge with Classpath.
7668
7669 2002-10-04  Michael Koch  <konqueror@gmx.de>
7670
7671         * java/net/InetAddress.java:
7672         (isMulticastAddress): Added documentation.
7673         (getHostAddress): Added documentation.
7674         (toString): Added documentation.
7675         (getByAddress): Fixed documentation.
7676         (getByName): Added documentation.
7677         (getAllByName): Added documentation.
7678         (getLocalHost): Added documentation.
7679
7680 2002-10-04  Michael Koch  <konqueror@gmx.de>
7681
7682         * java/beans/beancontext/BeanContextChildSupport.java:
7683         Added serialVersionUID.
7684         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7685         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7686         * javax/naming/Name.java: Added serialVersionUID.
7687
7688 2002-10-03  Adam Megacz <adam@xwt.org>
7689
7690         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7691         some functionality that isn't supported yet on WIN32.
7692
7693 2002-10-03  Tom Tromey  <tromey@redhat.com>
7694
7695         * Makefile.in: Rebuilt.
7696         * Makefile.am (awt_java_source_files): Added new files.
7697
7698 2002-10-03  Michael Koch  <konqueror@gmx.de>
7699
7700         * java/net/InetAddress.java
7701         (class InetAddress): Removed final keyword.
7702         (equals): Fixed typo.
7703         (getByAddress): New method.
7704
7705 2002-10-03  Michael Koch  <konqueror@gmx.de>
7706
7707         * java/awt/dnd/Autoscroll.java:
7708         New file, merge from Classpath.
7709         * java/awt/dnd/DragSourceAdapter.java:
7710         (dragExit): Fixed typos in argument type.
7711         (dragDropEnd): Fixed typos in argument type.
7712         * java/awt/dnd/DragSourceDropEvent.java:
7713         New file, merge from Classpath.
7714         * java/awt/dnd/DropTarget.java:
7715         Added stubs, merge from Classpath.
7716         * java/awt/dnd/DropTargetAdapter.java:
7717         New file, merge from Classpath.
7718         * java/awt/dnd/DropTargetContext.java:
7719         New file, merge from Classpath.
7720         * java/awt/dnd/DropTargetDragEvent.java:
7721         New file, merge from Classpath.
7722         * java/awt/dnd/DropTargetDropEvent.java:
7723         New file, merge from Classpath.
7724         * java/awt/dnd/DropTargetEvent.java:
7725         New file, merge from Classpath.
7726         * java/awt/dnd/DropTargetListener.java:
7727         New file, merge from Classpath.
7728         * java/awt/dnd/MouseDragGestureRecognizer.java:
7729         New file, merge from Classpath.
7730         * java/awt/dnd/peer/DropTargetContextPeer.java:
7731         New file, merge from Classpath.
7732
7733 2002-10-03  Michael Koch  <konqueror@gmx.de>
7734
7735         * java/net/DatagramPacket.java
7736         (setLength): Fixed typo and be HTML-aware.
7737         * java/net/InetSocketAddress.java
7738         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7739         (equals): Added comment about equality of InetSocketAddress objects.
7740         * java/net/ServerSocket.java
7741         (accept): Added checks.
7742         (isClosed): New stubbed method.
7743         * java/net/SocketOptions.java: Reindention.
7744         * java/net/SocketPermission
7745         (SocketPermission): Documentation fixed.
7746
7747 2002-10-03  Michael Koch  <konqueror@gmx.de>
7748
7749         * java/net/DatagramSocket.java
7750         (receive): Check with SecurityManager AFTER the packet is received,
7751         check if connected to multicast address, documentation added.
7752         (send): Only check SecurityManager if connected, check address of
7753         packet to send.
7754         (connect): Implemented, documentation added.
7755         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7756         * java/net/InetSocketAddress.java
7757         (whole file): Reindented.
7758         (hostname): New attribute.
7759         (InetSocketAddress): Initialize new attribute.
7760         (getAddress): Documentation added.
7761         (getHostName): Documentation added.
7762         (getPort): Documentation added.
7763         (hashCode): Documentation added.
7764         (isUnresolved): Documentation added.
7765         (toString): Conform to output of JDK 1.4.1, documentation added.
7766         * java/net/MulticastSocket.java
7767         (joinGroup): Removed FIXME, documentation added.
7768         (leaveGroup): Removed FIXME, documentation added.
7769         (send): Documentation added.
7770         * java/net/Socket.java
7771         (inputShutdown): New variable.
7772         (outputShutdown): New variable.
7773         (Socket): Initialize new variables.
7774         (getRemoteSocketAddress): Check if connected.
7775         (shutdownInput): Set new variable.
7776         (shutdownOutput): Set new variable.
7777         (isConnected): New method.
7778         (isClosed): New method.
7779         (isInputShutdown): New method.
7780         (isOutputShutdown): New method.
7781         * java/net/URLStreamHandler.java
7782         (URLStreamHandler): New method.
7783         (openConnection): Added documentation.
7784         (parseURL): Added documentation.
7785         (getHostAddress): New method.
7786         (getDefaultPort): New method.
7787
7788 2002-10-02  Tom Tromey  <tromey@redhat.com>
7789
7790         * java/rmi/activation/ActivationDesc.java,
7791         java/rmi/activation/ActivationGroupDesc.java,
7792         java/rmi/activation/ActivationGroupID.java,
7793         java/rmi/activation/ActivationID.java: New versions from
7794         Classpath.
7795
7796 2002-09-30  Bo Thorsen  <bo@suse.de>
7797
7798         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7799
7800 2002-09-30  Tom Tromey  <tromey@redhat.com>
7801
7802         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7803         from Classpath.
7804         * Makefile.in: Rebuilt.
7805         * Makefile.am (rmi_java_source_files): Added new files.
7806         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7807         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7808         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7809         Classpath.
7810         * gnu/java/rmi/dgc/DGCImpl.java,
7811         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7812         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7813         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7814         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7815         gnu/java/rmi/server/RMIHashes.java,
7816         gnu/java/rmi/server/RMIObjectInputStream.java,
7817         gnu/java/rmi/server/RMIObjectOutputStream.java,
7818         gnu/java/rmi/server/UnicastConnection.java,
7819         gnu/java/rmi/server/UnicastConnectionManager.java,
7820         gnu/java/rmi/server/UnicastRef.java,
7821         gnu/java/rmi/server/UnicastServer.java,
7822         gnu/java/rmi/server/UnicastServerRef.java,
7823         java/rmi/MarshalledObject.java,
7824         java/rmi/server/RMIClassLoader.java,
7825         java/rmi/server/RemoteObject.java,
7826         java/rmi/server/UnicastRemoteObject.java,
7827         java/security/SecureClassLoader.java: Merged from Classpath.
7828
7829 2002-09-29  Anthony Green  <green@redhat.com>
7830
7831         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7832         Imported from GNU Classpath.
7833         * java/lang/reflect/natProxy.cc: New file.
7834         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7835         from GNU Classpath.
7836         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7837         Classpath.
7838         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7839         Classpath.
7840         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7841         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7842         New statics.
7843         * gcj/javaprims.h ("Java"): Add new classes.
7844         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7845         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7846         java/lang/reflect/Proxy$$ProxyType.h): And this.
7847         (inner_nat_headers): Add these new headers.
7848         (ordinary_java_source_files): Add new files.
7849         (nat_source_files): Add new file.
7850         * Makefile.in: Rebuilt.
7851
7852 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7853
7854         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7855         a single configuration.
7856
7857 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7858
7859         * java/util/TimeZone.java (getDSTSavings): New method.
7860         Fixes PR libgcj/7786.
7861
7862 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7863
7864         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7865         to see if `the_method == 0' before looking up vtable index.
7866         Fixes PR libgcj/7709.
7867
7868 2002-09-25  Tom Tromey  <tromey@redhat.com>
7869
7870         * java/lang/natClassLoader.cc:
7871         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7872         * resolve.cc: Include NoClassDefFoundError.h, not
7873         ClassNotFoundException.h.
7874         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7875
7876         * defineclass.cc: Don't include ClassNotFoundException.h.
7877
7878         * resolve.cc: Include StringBuffer.
7879         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7880
7881         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7882         allocated but not initialized.
7883
7884 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7885
7886         Fix for PR libgcj/7766:
7887         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7888         (getNextEntry): Set it.
7889         (closeEntry): Likewise.
7890         (read): Likewise.
7891         (close): Likewise.
7892         (available): Use it.
7893
7894 2002-09-25  Michael Koch  <konqueror@gmx.de>
7895
7896         * java/net/DatagramSocket.java
7897         (DatagramSocket): Initialize new instance variables.
7898         (close): Reset new instance variables.
7899         (getLocalAddress): Remove unneeded SecurityManager usage.
7900         (getLocalPort): Check if socket is already bound.
7901         (isConnected): New method.
7902         (getInetAddress): Implemented.
7903         (getPort): Better Implementation, documentation fixed.
7904         (getRemoteSocketAddress): New method.
7905         * java/net/JarURLConnection.java
7906         (element): Typo fixed.
7907         (getMainAttributes): New method.
7908         (getAttributes): New method (stub only).
7909         (getManifest): New method (stub only).
7910         * java/net/NetPermission.java: Added serialVersionsUID.
7911         * java/net/Socket.java
7912         (connect): Check blocking mode of associated channel,
7913         documentation added.
7914         (getLocalSocketAddress): Better implementation.
7915         (getRemoteSocketAddress): Implemented.
7916         (isBound): New method.
7917         (setSendBufferSize): Documentation added.
7918         * java/net/SocketAddress.java: Added serialVersionsUID.
7919         * java/net/SocketPermission.java: Added serialVersionsUID.
7920         * java/net/URL.java
7921         (URL): Wrap for shorter lines, initialize new instance variables,
7922         documentation added.
7923         (equals): Check new instance variables too.
7924         (getContent): Documentation added.
7925         (getPath): Documentation added.
7926         (getAuthority): New method.
7927         (getHost): Documentation added.
7928         (getPort): Documentation added.
7929         (getDefaultPort): New method.
7930         (getProtocol): Documentation added.
7931         (getUserInfo): Documentation added.
7932         (set): Initialize new instance variables, documentation added.
7933         * java/net/URLStreamHandler.java
7934         (setURL): New method.
7935         * java/net/natPlainDatagramSocketImpl.cc
7936         (connect): Fix exception name.
7937         (disconnect): Fix exception name.
7938
7939 2002-09-25  Michael Koch  <konqueror@gmx.de>
7940
7941         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7942         * java/nio/channels/DatagramChannel.java:
7943         extends AbstractSelectableChannel
7944         * java/nio/channels/ServerSocketChannel.java:
7945         extends AbstractSelectableChannel
7946         * java/nio/channels/SocketChannel.java:
7947         extends AbstractSelectableChannel
7948         * Makefile.am (ordinary_java_source_files):
7949         java/nio/channels/spi/AbstractSelectableChannel.java added.
7950         * Makefile.in: Regenerated.
7951
7952 2002-09-25  Michael Koch  <konqueror@gmx.de>
7953
7954         * java/net/DatagramSocket.java
7955         (DatagramSocket): Exception documentation added.
7956         (bind): Exception documentation added, addded SecurityManager check,
7957         added SocketAddress type check.
7958         (getSoTimeout): Check impl.
7959         (receive): Fix SecurityManager check, check impl, documentation added.
7960         (send): Check channel mode, documentation added.
7961         (connect): New method.
7962         (disconnect): Implemented.
7963         (getLocalSocketAddress): New method.
7964         (getReceiveBufferSize): Check impl.
7965         (setReuseAddress): Check impl.
7966         (getReuseAddress): Check impl.
7967         (setBroadcast): Check impl.
7968         (getBroadcast): Check impl.
7969         (setTrafficClass): Check impl, Documentation cleared.
7970         (getTrafficClass): Check impl.
7971         (getSendBufferSize): Check impl.
7972         (setReceiveBufferSize): Check impl, documentation added.
7973         (setSendBufferSize): Documentation added.
7974         (setDatagramSocketImplFactory): New method.
7975         * java/net/HttpURLConnection.java
7976         (HTTP_INTERNAL_ERROR): The correct code is 500.
7977         (HTTP_NOT_IMPLEMENTED): Added new constant.
7978         (setFollowRedirects): Documentation added.
7979         (getInstanceFollowRedirects): New method.
7980         (setInstanceFollowRedirects): New method.
7981         (setRequestMethod): Documentation added.
7982         (getResponseCode): Documentation added.
7983         (getResponseMessage): Documentation added.
7984         * java/net/JarURLConnection.java
7985         (JarURLConnection): protected since JDK 1.4.
7986         (getJarEntry): java.io.IOException to IOException, documentation added.
7987         (getJarFile): Documentation added.
7988         * java/net/ServerSocket.java
7989         (ServerSocket): Private to public, exception added.
7990         (ServerSocket): java.io.IOException to IOException, documentation added.
7991         (bind): Check socket address type, documentation added.
7992         (bind): java.io.IOException to IOException, documentation added.
7993         (accept): Documentation added.
7994         (implAccept): Check ch is not non-blocking, documentation added.
7995         (setSoTimeout): Documentation fixed.
7996         (setReceiveBufferSize): Documentation added.
7997         * java/net/Socket.java
7998         (Socket): Documentation added.
7999         (bind): Documentation added.
8000         (connect): Check socket address type, documentation added.
8001         (getRemoteSocketAddress): New method.
8002         (getLocalSocketAddress): New method.
8003         (setSoLinger): Documentation added.
8004         (getReuseAddress): New method.
8005         (setReuseAddress): New method.
8006         (getTrafficClass): New method.
8007         (setTrafficClass): New method.
8008         * java/net/URLStreamHandler.java
8009         (openConnection): java.io.IOException to IOException.
8010         (parseURL): Documentation added.
8011         (sameFile): public to protected, documentation added.
8012         (setURL): Documentation added.
8013         * java/nio/IllegalBlockingModeException.java: New file.
8014         * Makefile.am (ordinary_java_source_files):
8015         added java/nio/IllegalBlockingModeException.java
8016         * Makefile.in: Regenerated.
8017
8018 2002-09-25  Michael Koch  <konqueror@gmx.de>
8019
8020         * java/net/DatagramPacket
8021         (DatagramPacket): Exception documentation added.
8022         (setData): Likewise.
8023         (setSocketAddress): Likewise.
8024         * java/net/DatagramSocketImpl.java
8025         (peek): Documentation addded.
8026         (peekData): Documentation addded.
8027         (send): Documentation addded.
8028         (receive): Documentation addded.
8029         (connect): New method.
8030         (disconnect): New method.
8031         (joinGroup): New abstract method.
8032         (leaveGroup): New abstract method.
8033         * java/net/InetSocketAddress.java
8034         (InetSocketAddress): Documentation added.
8035         (equals): final keyword added.
8036         (getAddress): final keyword added.
8037         (getHostName): final keyword added.
8038         (getPort): final keyword added.
8039         (hashCode): final keyword added.
8040         (isUnresolved): final keyword added.
8041         * java/net/MulticastSocket.java
8042         (MulticastSocket): Documentation added.
8043         (MulticastSocket): New method.
8044         (joinGroup): Documentation added.
8045         (joinGroup): New method.
8046         (leaveGroup): Documentation added.
8047         (leaveGroup): New method.
8048         (send): Documentation added.
8049         * java/net/NetworkInterface.java
8050         (getByName): Documentation added.
8051         (getByInetAddress): Documentation added.
8052         (getNetworkInterfaces): Documentation added.
8053         * java/net/PlainDatagramSocketImpl.java
8054         (connect): New method.
8055         (disconnect): New method.
8056         * java/net/SocketImpl.java
8057         (create): Documentation added.
8058         (shutdownInput): Convert public to protected, as it always was.
8059         (shutdownOutput): Convert public to protected, as it always was.
8060         * java/net/SocketOptions.java
8061         (whole file): Reintented.
8062         * java/net/URLClassLoader.java
8063         (URLClassLoader): SecurityManager check added, documentation added.
8064         (findResources): Documentation added.
8065         (findClass): Documentation added.
8066         (newInstance): More correct method arguments.
8067         * java/net/URLConnection.java
8068         (connect): Documentation added.
8069         (getContent): Documentation added.
8070         (getPermission): Documentation added.
8071         (getInputStream): Documentation added.
8072         (getOutputStream): Documentation added.
8073         (setDoInput): Throw correct exception, documentation added.
8074         (setDoOutput): Throw correct exception, documentation added.
8075         (setAllowUserInteraction): Throw correct exception, documentation added.
8076         (setUseCaches): Throw correct exception, documentation added.
8077         (setIfModifiedSince): Throw correct exception, documentation added.
8078         (setRequestProperty): Throw exception, documentation added.
8079         (addRequestProperty): Throw exception, documentation added.
8080         (getRequestProperty): Throw exception, documentation added.
8081         (getRequestProperties): Documentation added.
8082         (setContentHandlerFactory): Documentation added.
8083         (guessContentTypeFromName): protected to public.
8084         (setFileNameMap): Documentation added.
8085         * java/net/URLDecoder.java
8086         (URLDecoder): New method.
8087         (decode): Documentation added.
8088         (whole file): Reindented.
8089         * java/net/URLEncoder.java
8090         (encode): Documentation added.
8091         * java/net/natPlainDatagramSocketImpl.cc
8092         (connect): New method.
8093         (disconnect): New method.
8094         * javax/naming/RefAddr:
8095         (addrType): addrType was never final.
8096         (equals): Fix typo in method name.
8097         * javax/naming/BinaryRefAddr:
8098         (equals): Fix typo in method name.
8099
8100 2002-09-22  Tom Tromey  <tromey@redhat.com>
8101
8102         Fix for PR libgcj/6576:
8103         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8104         didn't find a given bundle.
8105         (getBundle): Don't require base bundle.
8106         (setParent): Removed old comment.
8107         (tryLocalBundle): Try components even if preceding components were
8108         empty.
8109
8110 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8111
8112         * Makefile.am (all-multi): Fix multilib parallel build.
8113
8114 2002-09-21  Michael Koch  <konqueror@gmx.de>
8115
8116         * java/net/Socket.java
8117         (sendUrgentData): New method.
8118         (getChannel): New method.
8119         * java/net/ServerSocket.java
8120         (getChannel): New method.
8121         (isBound): New method.
8122         * java/net/DatagramSocket.java
8123         (DatagramSocket): Two new methods.
8124         (bind): New method.
8125         (getChannel): New method.
8126         (isBound): New method.
8127         (send): Added newline to to make shorter lines.
8128         * java/net/PlainDatagramSocketImpl.java
8129         (mcastGrp): Added argument.
8130         (join): Use new mcastGrp.
8131         (leave): Use new mcastGrp.
8132         (joinGroup): New method.
8133         (leaveGroup): New method.
8134         * java/net/natPlainDatagramSocketImpl.cc
8135         (mcastGrp): Added argument, no yet really implemented.
8136         (getOption): Added newline for shorter lines.
8137         * java/net/natPlainSocketImpl.cc
8138         (read, setOption, getOption): Added newline for shorter lines.
8139
8140 2002-09-19  Tom Tromey  <tromey@redhat.com>
8141
8142        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8143        newly-created exception.
8144
8145 2002-09-18  Michael Koch  <konqueror@gmx.de>
8146
8147         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8148         java/util/regex/PatternSyntaxException.java:
8149         Merge with classpath, new files.
8150         * Makefile.am (core_java_source_files):
8151         Added java/util/regex/Matcher.java,
8152         java/util/regex/Pattern.java,
8153         java/util/regex/PatternSyntaxException.java
8154         * Makefile.in: Regenerated.
8155         * include/config.h.in: Added HAVE_NET_IF_H.
8156         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8157         Removed #if 0 ... #endif.
8158
8159 2002-09-17  Michael Koch  <konqueror@gmx.de>
8160
8161         * java/net/natNetworkInterface.cc:
8162         Removed unneed and yet wrong includes.
8163
8164 2002-09-17  Michael Koch  <konqueror@gmx.de>
8165
8166         * java/net/NetworkInterface.java: New file.
8167         * java/net/natNetworkInterface.java: New file.
8168         * configure.in: Added check for net/if.h.
8169         * configure: Regenerated.
8170         * Makefile.am
8171         (ordinary_java_source_files): Added NetworkInterface.java.
8172         (nat_source_files): Added natNetworkInterface.cc.
8173         * Makefile.in: Regenerated.
8174
8175 2002-09-16  Tom Tromey  <tromey@redhat.com>
8176
8177         * java/net/URLClassLoader.java (findClass): Code source for a
8178         class from a jar is not necessarily a jar: URL.
8179
8180 2002-09-16  Michael Koch  <konqueror@gmx.de>
8181
8182         * java/lang/AssertionError.java:
8183         Merge with classpath, fixes HTML.
8184         * java/rmi/server/LogStream.java:
8185         Merge with classpath, fixes some constants.
8186         * java/net/server/RemoteServer.java:
8187         Merge with classpath, adds serialVersionUID.
8188         * javax/naming/BinaryRefAddr.java:
8189         Merge with classpath, s/equal/equals/.
8190         * javax/naming/NamingException.java:
8191         Merge with classpath, fixed typo.
8192         * javax/naming/RefAddr.java:
8193         Merge with classpath, s/equal/equals/.
8194         * java/awt/Toolkit.java:
8195         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8196         and typo fixed.
8197
8198 2002-09-15  Adam Megacz <adam@xwt.org>
8199
8200         * java/net/natPlainSocketImpl.cc: fixed typo.
8201
8202 2002-09-15  Adam Megacz <adam@xwt.org>
8203
8204         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8205         which don't work on Win32 (yet).
8206
8207 2002-09-14  Adam Megacz <adam@xwt.org>
8208
8209         * java/net/natPlainDatagramSocket.cc: removed #include
8210         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8211         * include/win32.h: included definition for IP_TOS to satisfy
8212         natPlainDatagramSocket.cc
8213
8214 2002-09-13  Michael Koch  <konqueror@gmx.de>
8215
8216         * java/net/DatagramPacket.java (DatagramPacket):
8217         Added linebreak for 80 chars per line.
8218         * java/net/JarURLConection.java
8219         (getInputStreami, getJarEntry): Likewise.
8220         * java/net/SocketPErmission.java
8221         (SocketPermission class docu, implies): Likewise.
8222         * java/net/URLClassLoader.java (findResources): Likewise.
8223         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8224
8225 2002-09-13  Michael Koch  <konqueror@gmx.de>
8226
8227         * java/nio/channels/DatagramChannel.java,
8228         java/nio/channels/ServerSocketChannel.java
8229         java/nio/channels/SocketChannel.java:
8230         New dummy files to make java.net fully JDK 1.4 compatible
8231         * Makefile.am (ordinary_java_source_files): Added
8232         java/net/DatagramSocketImplFactory.java (long forgotten),
8233         java/nio/SocketChannel.java,
8234         java/nio/ServerSocketChannel.java,
8235         java/nio/DatagramChannel.java
8236         * Makefile.in: Regenrated.
8237
8238 2002-09-12  Michael Koch  <konqueror@gmx.de>
8239
8240         * java/net/DatagramSocketImpl.java
8241         (peekData): New method.
8242         * java/net/PlainDatagramSocketImpl.java
8243         (peekData): New method.
8244         * java/net/natPlainDatagramSocketImpl.cc
8245         (peekData): New method.
8246         * java/net/URLConnection
8247         (getPermission): New method.
8248         (addRequestProperty): New method.
8249         (getRequestProperties): New method.
8250         (guessContentTypeFromStream): New method, not really implemented.
8251         (URLConnection): Added/updated documentation.
8252         (connect): Added/updated documentation.
8253         (getURL): Added/updated documentation.
8254         (getContentLength): Added/updated documentation.
8255         (getContentType: Added/updated documentation.
8256         (getContentEncoding): Added/updated documentation.
8257         (getExpiration): Added/updated documentation.
8258         (getDate): Added/updated documentation.
8259         (getLastModified): Added/updated documentation.
8260         (getHeaderField): Added/updated documentation.
8261         (getHeaderFields): Added/updated documentation.
8262         (getHeaderFieldInt): Added/updated documentation.
8263         (getHeaderFieldDate): Added/updated documentation.
8264         (getHeaderFieldKey): Added/updated documentation.
8265         (getContent): Added/updated documentation.
8266         (getInputStream): Added/updated documentation.
8267         (getOutputStream): Added/updated documentation.
8268         (toString): Added/updated documentation.
8269         (setDoInput): Added/updated documentation.
8270         (getDoInput): Added/updated documentation.
8271         (setDoOutput): Added/updated documentation.
8272         (getDoOutput): Added/updated documentation.
8273         (setAllowUserInteraction): Added/updated documentation.
8274         (getAllowUserInteraction): Added/updated documentation.
8275         (setDefaultAllowUserInteraction): Added/updated documentation.
8276         (getDefaultAllowUserInteraction): Added/updated documentation.
8277         (setUseCaches): Added/updated documentation.
8278         (getUseCaches): Added/updated documentation.
8279         (setIfModifiedSince): Added/updated documentation.
8280         (getIfModifiedSince): Added/updated documentation.
8281         (getDefaultUseCaches): Added/updated documentation.
8282         (setDefaultUseCaches): Added/updated documentation.
8283         (setRequestProperty): Added/updated documentation.
8284         (getRequestProperty): Added/updated documentation.
8285         (setDefaultRequestProperty): Added/updated documentation.
8286         (getDefaultRequestProperty): Added/updated documentation.
8287         (setContentHandlerFactory): Added/updated documentation.
8288         (guessContentTypeFromName): Added/updated documentation.
8289         (getFileNameMap): Added/updated documentation.
8290         (setFileNameMap): Added/updated documentation.
8291
8292 2002-09-11  Michael Koch  <konqueror@gmx.de>
8293
8294         * java/net/Socket.java
8295         (Socket): protected to public (since JDK 1.4). Added @specnote.
8296         (bind): New method.
8297         (connect): Two new methods.
8298         (getKeepalive): Get correct socket option.
8299         (setKeepalive): Set correct socket option.
8300         (getOOBInline): New method.
8301         (setOOBInline): New method.
8302         * java/net/ServerSocket.java
8303         (bind): Two new methods.
8304         (getInetAddress): Reimplemented, catch exception.
8305         (getLocalSocketAddress): New method.
8306         (setReuseAddress): New method.
8307         (getReuseAdress): New method.
8308         (setReceiveBufferSize): New method.
8309         (getReceiveBufferSize): New method.
8310         (toString): Made string JDK 1.4 compliant.
8311
8312 2002-09-10  Michael Koch  <konqueror@gmx.de>
8313
8314         * java/net/SocketImpl.java
8315         (connect): New method.
8316         (supportsUrgentData): New method.
8317         (sendUrgentData): New method.
8318         * java/net/PlainSocketImpl.java
8319         (connect): One new method and two new implementation.
8320         (sendUrgentData): New method.
8321         * java/natPlainSocketImpl.cc
8322         (connect): Arguments changed, added support for timeouts.
8323         (getOption): Another __java_boolean to jboolean.
8324
8325 2002-09-07  Adam Megacz <adam@xwt.org>
8326
8327         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8328         definition of IP_TOS.
8329
8330 2002-09-04  Michael Koch  <konqueror@gmx.de>
8331
8332         * java/net/DatagramSocket.java
8333         (DatagramSocket): Added documentation.
8334         (close): Likewise.
8335         (getLocalAddress): Likewise.
8336         (getLocalPort): Likewise.
8337         (receive): Likewise.
8338         (send): Likewise.
8339         (setSoTimeout): Likewise.
8340         (connect): New method.
8341         (disconnect): New method.
8342         (getInetAddress): New method (FIXME)
8343         (getPort): New method.
8344         (setReuseAddress): New method.
8345         (getReuseAddress): New method.
8346         (setBroadcast): New method.
8347         (getBroadcast): New method.
8348         (setTrafficClass): New method.
8349         (getTrafficClass): New method.
8350         * java/net/MulticastSocket.java):
8351         (getTTL): Added @see in documentation.
8352         (setTTL): Added @see in documentation.
8353         (setLoopbackMode): New method.
8354         (getLoopbackMode): New method.
8355         * java/net/PlainSocketImpl.java:
8356         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8357         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8358         * java/net/PlainDatagramSocketImpl.java
8359         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8360         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8361         * java/net/natPlainSocketImpl.cc
8362         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8363         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8364         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8365         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8366         This should also fix SO_KEEPALIVE
8367         * java/net/natPlainDatagramSocketImpl.cc
8368         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8369         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8370         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8371         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8372
8373 2002-09-04  Michael Koch  <konqueror@gmx.de>
8374
8375         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8376         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8377         IP_MULTICAST_LOOP, IP_TOS
8378
8379 2002-09-03  Tom Tromey  <tromey@redhat.com>
8380
8381         * java/lang/Class.h (_getDeclaredMethod): Declare.
8382         (_getMethod): Now private.
8383         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8384         getDeclaredMethod.  Now returns NULL on failure.
8385         * java/lang/Class.java (_getDeclaredMethod): Declare.
8386         (getDeclaredMethod): No longer native; implements access checks.
8387
8388 2002-09-01  Mark Wielaard  <mark@klomp.org>
8389
8390         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8391         (sanitizeStack): Correctly reset unknown and interpreter counters,
8392         detect interpreter runtime frames.
8393         (demangleInterpreterMethod): New method.
8394         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8395         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8396         filling in addrs[].
8397
8398 2002-09-02  Michael Koch  <konqueror@gmx.de>
8399
8400         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8401         re-indented documentation.
8402
8403 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8404
8405         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8406         public, per 1.4 spec.  Fixes PR libgcj/7785.
8407
8408 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8409
8410         * Makefile.in: Rebuilt.
8411         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8412
8413 2002-08-29  Tom Tromey  <tromey@redhat.com>
8414
8415         * java/net/JarURLConnection.java (getCertificates): New method
8416         from Classpath.
8417         * java/net/URLClassLoader.java (URLClassLoader): Extends
8418         SecureClassLoader.
8419         (definePackage): New method from Classpath.
8420         (getPermissions): Likewise.
8421         (newInstance): Likewise.
8422         (findClass): Construct CodeSource for new class (from Classpath).
8423         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8424         methods.
8425         * java/net/URL.java (getUserInfo): New method.
8426         (set(String,String,int,String,String,String,String,String)): New
8427         method.
8428         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8429         (shutdownInput, shutdownOutput): Declare.
8430         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8431         Define.
8432         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8433         (getOption): Likewise.
8434         (shutdownInput): New method.
8435         (shutdownOutput): Likewise.
8436         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8437         keepalive.
8438         (getOption): Likewise.
8439         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8440         * java/net/Socket.java (setKeepAlive): New method.
8441         (getKeepAlive): Likewise.
8442         (shutdownInput, shutdownOutput): New methods.
8443
8444 2002-08-29  Michael Koch  <konqueror@gmx.de>
8445
8446         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8447         new methods are:
8448         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8449           address),
8450         DatagramPacket(byte[] buf, int length, SocketAddress address),
8451         void setSocketAddress(SocketAddress address)
8452         public SocketAddress getSocketAddress()
8453
8454 2002-08-29  Tom Tromey  <tromey@redhat.com>
8455
8456         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8457         ftruncate is missing.
8458         * configure, include/config.h.in: Rebuilt.
8459         * acconfig.h (HAVE_FTRUNCATE): Mention.
8460         * configure.in: Check for ftruncate.
8461
8462 2002-08-29  Tom Tromey  <tromey@redhat.com>
8463
8464         * include/jvm.h (struct _Jv_frame_info): New structure.
8465         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8466         java-interp.h.
8467         (lookupInterp): New method.
8468         (getAddrAsString): Use _Jv_frame_info.
8469         (dladdrLookup): Likewise.
8470         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8471         interpreted frame.
8472         (lookupInterp): Declare.
8473         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8474         (fillInStackTrace): Collect information on interpreted frames.
8475         Use _Jv_frame_info.
8476         * interpret.cc: Include Thread.h.
8477         (run): Create and push _Jv_MethodChain object.
8478         (_Jv_EndOfInterpreter): New global.
8479         * java/lang/Thread.java (interp_frame): New field.
8480         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8481         Include NameFinder.h.
8482
8483 2002-08-28  Tom Tromey  <tromey@redhat.com>
8484
8485         * java/lang/Class.h: Include Package.h.
8486         (Class::getProtectionDomain): Declare.
8487         (Class::getPackage): Declare.
8488
8489 2002-08-28  Michael Koch <konqueror@gmx.de>
8490
8491         * java/net/InetSocketAddress.java: Added some documentation and argument
8492         checks for the port numbers.
8493         * java/net/DatagramSocketImplFactory.java: New file.
8494
8495 2002-08-28  Michael Koch <konqueror@gmx.de>
8496
8497         * java/net/Authenticator.java: added some documentation.
8498
8499 2002-08-27  Tom Tromey  <tromey@redhat.com>
8500
8501         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8502         class.
8503         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8504
8505 2002-08-27  Michael Koch <konqueror@gmx.de>
8506
8507         * java/net/BindException.java,
8508         java/net/JarURLConnection.java,
8509         java/net/FileNameMap.java,
8510         java/net/HttpURLConnection.java,
8511         java/net/InetSocketAddress.java,
8512         java/net/DatagramPacket.java,
8513         java/net/DatagramSocket.java,
8514         java/net/DatagramSocketImpl.java,
8515         java/net/MulticastSocket.java,
8516         java/net/PasswordAuthentication.java,
8517         java/net/ServerSocket.java,
8518         java/net/Socket.java,
8519         java/net/URLClassLoader.java,
8520         java/net/URLConnection.java: add/update of some @since/@deprecated
8521
8522 2002-08-27  Tony Kimball <alk@pobox.com>
8523             Tom Tromey  <tromey@redhat.com>
8524
8525         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8526         define.
8527         (::close): Removed.
8528         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8529         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8530         (::close): Removed.
8531         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8532         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8533
8534 2002-08-25  Adam Megacz <adam@xwt.org>
8535
8536         * include/win32.h (getcwd): copied function declaration as
8537         temporary fix for header confusion.
8538
8539 2002-08-24  Mark Wielaard <mark@klomp.org>
8540
8541         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8542         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8543         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8544         and natNameFinder.cc.
8545         * Makefile.in: Regenerate.
8546         * prims.cc: Use trace_enabled from VMThrowable.
8547         * name-finder.cc: Removed.
8548         * gcj/javaprims.h: Add class VMThrowable.
8549         * gnu/gcj/runtime/NameFinder.java: New file.
8550         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8551         * include/name-finder.h: Removed.
8552         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8553         method stackTraceString().
8554         (printStackTrace (PrintWriter)): Likewise.
8555         (stackTraceString): Complete rewrite of old printStackTrace using
8556         StringBuffer.
8557         (stackTraceStringBuffer): New helper method for stackTraceString().
8558         (fillInStackTrace): Delegate to VMTrowable.
8559         (getStackTrace): Likewise.
8560         (getStackTrace0): Removed.
8561         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8562         (setStackTrace): Copy given array.
8563         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8564         * java/lang/VMThrowable.java: New class.
8565         * java/lang/natVMThrowable.cc: New file.
8566
8567 2003-08-23  Michael Koch  <konqueror@gmx.de>
8568
8569         * java/net/URLConnection.java,
8570         java/netJarURLConnection.java,
8571         gnu/gcj/protocol/core/Connection.java,
8572         gnu/gcj/protocol/file/Connection.java,
8573         gnu/gcj/protocol/http/Connection.java: Added implementation of
8574         getHeaderFields().
8575
8576 2002-08-22  Tom Tromey  <tromey@redhat.com>
8577
8578         * gij.cc (help): Document -cp and -classpath.
8579         (main): Handle -classpath.
8580
8581 2002-08-21  Tom Tromey  <tromey@redhat.com>
8582
8583         * Makefile.in: Rebuilt.
8584         * Makefile.am (ordinary_java_source_files): Added
8585         SocketAddress.java, InetSocketAddress.java.
8586         * java/net/PortUnreachableException.java: Merged with Classpath.
8587         * java/net/SocketTimeoutException.java: Likewise.
8588         * java/net/URISyntaxException.java: Likewise.
8589         * java/net/SocketAddress.java: New class from Classpath.
8590         * java/net/InetSocketAddress.java: Likewise.
8591
8592 2003-08-21  Michael Koch  <konqueror@gmx.de>
8593
8594         * java/net/Authenticator.java: updated JDK 1.4
8595         * java/net/ContentHandler.java: updated JDK 1.4
8596
8597 2002-08-20  Michael Koch  <konqueror@gmx.de>
8598
8599         * java/net/URISyntaxException.java: New file.
8600         * java/net/SocketTimeoutException.java: New file.
8601         * java/net/PortUnreachableException.java: New file.
8602         * Makefile.am: Updated.
8603         * Makefile.in: Rebuilt.
8604
8605 2002-08-18  Mark Wielaard  <mark@klomp.org>
8606
8607         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8608         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8609         MessageDigestSpi (fixes Classpath bug #783).
8610
8611 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8612
8613         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8614         (startProcess): Allocate path for chdir in async-signal-safe way.
8615
8616 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8617
8618         Fix for PR libgcj/7570 and PR libgcj/7578:
8619         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8620         (startProcess): Handle new `dir' argument.
8621         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8622         argument.
8623         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8624         argument.
8625         (startProcess): Likewise.
8626         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8627         argument.
8628         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8629         (exec): Don't create new environment if ENV==null.  Pass DIR to
8630         execInternal.
8631         * java/lang/natRuntime.cc: Include java/io/File.h.
8632         (execInternal): Added `dir' argument.
8633
8634 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8635
8636         * java/io/RandomAccessFile.java (skipBytes): Return number of
8637         bytes skipped.
8638
8639 2002-08-01  Mark Wielaard  <mark@klomp.org>
8640
8641         Reenable patch since shared library troubles on powerpc are solved:
8642         * gnu/java/security/provider/Gnu.java: Reference all implementation
8643         classes by using Class.getName().
8644         * gnu/java/security/der/DEREncodingException.java,
8645         gnu/java/security/provider/DERReader.java,
8646         gnu/java/security/provider/DERWriter.java,
8647         gnu/java/security/provider/DSAKeyPairGenerator.java,
8648         gnu/java/security/provider/DSAParameterGenerator.java,
8649         gnu/java/security/provider/DSAParameters.java,
8650         gnu/java/security/provider/DSASignature.java,
8651         gnu/java/security/provider/GnuDSAPrivateKey.java,
8652         gnu/java/security/provider/GnuDSAPublicKey.java,
8653         gnu/java/security/provider/MD5.java,
8654         gnu/java/security/util/Prime.java: New classes
8655         * Makefile.am (ordinary_java_source_files): Add above files.
8656         * Makefile.in: Regenerate.
8657         * gnu/java/security/provider/DefaultPolicy.java
8658         (getPermissions): Don't maintain static class variable of Permissions.
8659         * gnu/java/security/provider/SHA.java
8660         (engineUpdate): algorithm change.
8661         (engineDigest): algorithm change.
8662
8663 2002-08-09  Mark Wielaard  <mark@klomp.org>
8664
8665         * java/awt/image/MemoryImageSource.java: Change constructor to take
8666         int[] not byte[].
8667         * java/awt/Graphics2D.java: Uncomment methods that can now be
8668         compiled.
8669         * java/awt/GridBagLayout.java: New stub implementation.
8670         * javax/swing/text/html/HTML.java: Stub implementation.
8671         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8672         implementation.
8673
8674         * Makefile.am: Add new files.
8675         * Makefile.in: Rebuilt.
8676
8677 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8678
8679         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8680         methods in Graphics2D.
8681
8682 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8683
8684         AWT/Swing merge from GNU Classpath.
8685
8686         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8687         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8688         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8689         java/awt/color/ProfileDataException.java,
8690         java/awt/CompositeContext.java, java/awt/Composite.java,
8691         java/awt/ContainerOrderFocusTraversalPolicy.java,
8692         java/awt/datatransfer/FlavorTable.java,
8693         java/awt/DefaultFocusTraversalPolicy.java,
8694         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8695         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8696         java/awt/dnd/DragGestureListener.java,
8697         java/awt/dnd/DragGestureRecognizer.java,
8698         java/awt/dnd/DragSourceAdapter.java,
8699         java/awt/dnd/DragSourceContext.java,
8700         java/awt/dnd/DragSourceDragEvent.java,
8701         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8702         java/awt/dnd/DragSourceListener.java,
8703         java/awt/dnd/DragSourceMotionListener.java,
8704         java/awt/dnd/DropTarget.java,
8705         java/awt/dnd/InvalidDnDOperationException.java,
8706         java/awt/dnd/peer/DragSourceContextPeer.java,
8707         java/awt/event/AWTEventListenerProxy.java,
8708         java/awt/event/MouseWheelEvent.java,
8709         java/awt/event/MouseWheelListener.java,
8710         java/awt/event/WindowFocusListener.java,
8711         java/awt/event/WindowStateListener.java,
8712         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8713         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8714         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8715         java/awt/geom/FlatteningPathIterator.java,
8716         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8717         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8718         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8719         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8720         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8721         java/awt/image/ImagingOpException.java,
8722         java/awt/image/RasterFormatException.java,
8723         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8724         java/awt/image/VolatileImage.java,
8725         java/awt/image/WritableRenderedImage.java,
8726         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8727         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8728         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8729         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8730         java/awt/PageAttributes.java, java/awt/print/Book.java,
8731         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8732         java/awt/print/Paper.java, java/awt/print/Printable.java,
8733         java/awt/print/PrinterAbortException.java,
8734         java/awt/print/PrinterException.java,
8735         java/awt/print/PrinterGraphics.java,
8736         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8737         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8738         java/awt/Stroke.java, java/awt/TexturePaint.java,
8739         javax/accessibility/AccessibleAction.java,
8740         javax/accessibility/AccessibleBundle.java,
8741         javax/accessibility/AccessibleComponent.java,
8742         javax/accessibility/AccessibleContext.java,
8743         javax/accessibility/AccessibleEditableText.java,
8744         javax/accessibility/AccessibleExtendedComponent.java,
8745         javax/accessibility/AccessibleExtendedTable.java,
8746         javax/accessibility/AccessibleHyperlink.java,
8747         javax/accessibility/AccessibleHypertext.java,
8748         javax/accessibility/AccessibleIcon.java,
8749         javax/accessibility/Accessible.java,
8750         javax/accessibility/AccessibleKeyBinding.java,
8751         javax/accessibility/AccessibleRelation.java,
8752         javax/accessibility/AccessibleRelationSet.java,
8753         javax/accessibility/AccessibleResourceBundle.java,
8754         javax/accessibility/AccessibleRole.java,
8755         javax/accessibility/AccessibleSelection.java,
8756         javax/accessibility/AccessibleState.java,
8757         javax/accessibility/AccessibleStateSet.java,
8758         javax/accessibility/AccessibleTable.java,
8759         javax/accessibility/AccessibleTableModelChange.java,
8760         javax/accessibility/AccessibleText.java,
8761         javax/accessibility/AccessibleValue.java,
8762         javax/swing/AbstractAction.java,
8763         javax/swing/AbstractButton.java,
8764         javax/swing/AbstractCellEditor.java,
8765         javax/swing/AbstractListModel.java,
8766         javax/swing/AbstractSet.java, javax/swing/Action.java,
8767         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8768         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8769         javax/swing/border/CompoundBorder.java,
8770         javax/swing/border/EmptyBorder.java,
8771         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8772         javax/swing/border/LineBorder.java,
8773         javax/swing/border/MatteBorder.java,
8774         javax/swing/border/TitledBorder.java,
8775         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8776         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8777         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8778         javax/swing/CellRendererPane.java,
8779         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8780         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8781         javax/swing/colorchooser/ColorSelectionModel.java,
8782         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8783         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8784         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8785         javax/swing/DefaultBoundedRangeModel.java,
8786         javax/swing/DefaultButtonModel.java,
8787         javax/swing/DefaultCellEditor.java,
8788         javax/swing/DefaultCellRenderer.java,
8789         javax/swing/DefaultComboBoxModel.java,
8790         javax/swing/DefaultDesktopManager.java,
8791         javax/swing/DefaultFocusManager.java,
8792         javax/swing/DefaultListCellRenderer.java,
8793         javax/swing/DefaultListModel.java,
8794         javax/swing/DefaultListSelectionModel.java,
8795         javax/swing/DefaultSingleSelectionModel.java,
8796         javax/swing/DesktopManager.java,
8797         javax/swing/event/AncestorEvent.java,
8798         javax/swing/event/AncestorListener.java,
8799         javax/swing/event/CaretEvent.java,
8800         javax/swing/event/CaretListener.java,
8801         javax/swing/event/CellEditorListener.java,
8802         javax/swing/event/ChangeEvent.java,
8803         javax/swing/event/ChangeListener.java,
8804         javax/swing/event/DocumentEvent.java,
8805         javax/swing/event/DocumentListener.java,
8806         javax/swing/event/EventListenerList.java,
8807         javax/swing/event/HyperlinkEvent.java,
8808         javax/swing/event/HyperlinkListener.java,
8809         javax/swing/event/InternalFrameAdapter.java,
8810         javax/swing/event/InternalFrameEvent.java,
8811         javax/swing/event/InternalFrameListener.java,
8812         javax/swing/event/ListDataEvent.java,
8813         javax/swing/event/ListDataListener.java,
8814         javax/swing/event/ListSelectionEvent.java,
8815         javax/swing/event/ListSelectionListener.java,
8816         javax/swing/event/MenuDragMouseEvent.java,
8817         javax/swing/event/MenuDragMouseListener.java,
8818         javax/swing/event/MenuEvent.java,
8819         javax/swing/event/MenuKeyEvent.java,
8820         javax/swing/event/MenuKeyListener.java,
8821         javax/swing/event/MenuListener.java,
8822         javax/swing/event/MouseInputAdapter.java,
8823         javax/swing/event/MouseInputListener.java,
8824         javax/swing/event/PopupMenuEvent.java,
8825         javax/swing/event/PopupMenuListener.java,
8826         javax/swing/event/SwingPropertyChangeSupport.java,
8827         javax/swing/event/TableColumnModelEvent.java,
8828         javax/swing/event/TableColumnModelListener.java,
8829         javax/swing/event/TableModelEvent.java,
8830         javax/swing/event/TableModelListener.java,
8831         javax/swing/event/TreeExpansionEvent.java,
8832         javax/swing/event/TreeExpansionListener.java,
8833         javax/swing/event/TreeModelEvent.java,
8834         javax/swing/event/TreeModelListener.java,
8835         javax/swing/event/TreeSelectionEvent.java,
8836         javax/swing/event/TreeSelectionListener.java,
8837         javax/swing/event/TreeWillExpandListener.java,
8838         javax/swing/event/UndoableEditEvent.java,
8839         javax/swing/event/UndoableEditListener.java,
8840         javax/swing/filechooser/FileFilter.java,
8841         javax/swing/filechooser/FileSystemView.java,
8842         javax/swing/filechooser/FileView.java,
8843         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8844         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8845         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8846         javax/swing/JApplet.java, javax/swing/JButton.java,
8847         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8848         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8849         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8850         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8851         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8852         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8853         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8854         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8855         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8856         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8857         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8858         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8859         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8860         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8861         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8862         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8863         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8864         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8865         javax/swing/JToolTip.java, javax/swing/JTree.java,
8866         javax/swing/JViewport.java, javax/swing/JWindow.java,
8867         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8868         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8869         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8870         javax/swing/MenuSelectionManager.java,
8871         javax/swing/MutableComboBoxModel.java,
8872         javax/swing/OverlayLayout.java,
8873         javax/swing/plaf/ActionMapUIResource.java,
8874         javax/swing/plaf/basic/BasicBorders.java,
8875         javax/swing/plaf/basic/BasicButtonUI.java,
8876         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8877         javax/swing/plaf/basic/BasicDefaults.java,
8878         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8879         javax/swing/plaf/basic/BasicIconFactory.java,
8880         javax/swing/plaf/basic/BasicLabelUI.java,
8881         javax/swing/plaf/basic/BasicListUI.java,
8882         javax/swing/plaf/basic/BasicLookAndFeel.java,
8883         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8884         javax/swing/plaf/basic/BasicPanelUI.java,
8885         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8886         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8887         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8888         javax/swing/plaf/basic/BasicTextUI.java,
8889         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8890         javax/swing/plaf/basic/BasicTreeUI.java,
8891         javax/swing/plaf/basic/BasicViewportUI.java,
8892         javax/swing/plaf/BorderUIResource.java,
8893         javax/swing/plaf/ButtonUI.java,
8894         javax/swing/plaf/ColorChooserUI.java,
8895         javax/swing/plaf/ColorUIResource.java,
8896         javax/swing/plaf/ComboBoxUI.java,
8897         javax/swing/plaf/ComponentInputMapUIResource.java,
8898         javax/swing/plaf/ComponentUI.java,
8899         javax/swing/plaf/DesktopIconUI.java,
8900         javax/swing/plaf/DesktopPaneUI.java,
8901         javax/swing/plaf/DimensionUIResource.java,
8902         javax/swing/plaf/FileChooserUI.java,
8903         javax/swing/plaf/FontUIResource.java,
8904         javax/swing/plaf/IconUIResource.java,
8905         javax/swing/plaf/InputMapUIResource.java,
8906         javax/swing/plaf/InsetsUIResource.java,
8907         javax/swing/plaf/InternalFrameUI.java,
8908         javax/swing/plaf/LabelUI.java,
8909         javax/swing/plaf/ListUI.java,
8910         javax/swing/plaf/MenuBarUI.java,
8911         javax/swing/plaf/MenuItemUI.java,
8912         javax/swing/plaf/OptionPaneUI.java,
8913         javax/swing/plaf/PanelUI.java,
8914         javax/swing/plaf/PopupMenuUI.java,
8915         javax/swing/plaf/ProgressBarUI.java,
8916         javax/swing/plaf/RootPaneUI.java,
8917         javax/swing/plaf/ScrollBarUI.java,
8918         javax/swing/plaf/ScrollPaneUI.java,
8919         javax/swing/plaf/SeparatorUI.java,
8920         javax/swing/plaf/SliderUI.java,
8921         javax/swing/plaf/SplitPaneUI.java,
8922         javax/swing/plaf/TabbedPaneUI.java,
8923         javax/swing/plaf/TableHeaderUI.java,
8924         javax/swing/plaf/TableUI.java,
8925         javax/swing/plaf/TextUI.java,
8926         javax/swing/plaf/ToolBarUI.java,
8927         javax/swing/plaf/ToolTipUI.java,
8928         javax/swing/plaf/TreeUI.java,
8929         javax/swing/plaf/UIResource.java,
8930         javax/swing/plaf/ViewportUI.java,
8931         javax/swing/ProgressMonitorInputStream.java,
8932         javax/swing/ProgressMonitor.java,
8933         javax/swing/Renderer.java,
8934         javax/swing/RepaintManager.java,
8935         javax/swing/RootPaneContainer.java,
8936         javax/swing/Scrollable.java,
8937         javax/swing/ScrollPaneConstants.java,
8938         javax/swing/ScrollPaneLayout.java,
8939         javax/swing/SingleSelectionModel.java,
8940         javax/swing/SizeRequirements.java,
8941         javax/swing/SizeSequence.java,
8942         javax/swing/SwingConstants.java,
8943         javax/swing/SwingUtilities.java,
8944         javax/swing/table/AbstractTableModel.java,
8945         javax/swing/table/DefaultTableCellRenderer.java,
8946         javax/swing/table/DefaultTableColumnModel.java,
8947         javax/swing/table/DefaultTableModel.java,
8948         javax/swing/table/TableCellEditor.java,
8949         javax/swing/table/TableCellRenderer.java,
8950         javax/swing/table/TableColumn.java,
8951         javax/swing/table/TableColumnModel.java,
8952         javax/swing/table/TableModel.java,
8953         javax/swing/text/AbstractDocument.java,
8954         javax/swing/text/AttributeSet.java,
8955         javax/swing/text/BadLocationException.java,
8956         javax/swing/text/Caret.java,
8957         javax/swing/text/CharacterIterator.java,
8958         javax/swing/text/ComponentView.java,
8959         javax/swing/text/DefaultCaret.java,
8960         javax/swing/text/DefaultEditorKit.java,
8961         javax/swing/text/Document.java,
8962         javax/swing/text/EditorKit.java,
8963         javax/swing/text/Element.java,
8964         javax/swing/text/GapContent.java,
8965         javax/swing/text/JTextComponent.java,
8966         javax/swing/text/Keymap.java,
8967         javax/swing/text/MutableAttributeSet.java,
8968         javax/swing/text/PlainDocument.java,
8969         javax/swing/text/PlainEditorKit.java,
8970         javax/swing/text/Position.java,
8971         javax/swing/text/Segment.java,
8972         javax/swing/text/StyledDocument.java,
8973         javax/swing/text/StyledEditorKit.java,
8974         javax/swing/text/Style.java,
8975         javax/swing/text/TextAction.java,
8976         javax/swing/text/ViewFactory.java,
8977         javax/swing/text/View.java,
8978         javax/swing/Timer.java,
8979         javax/swing/ToggleButtonModel.java,
8980         javax/swing/ToolTipManager.java,
8981         javax/swing/tree/AbstractLayoutCache.java,
8982         javax/swing/tree/DefaultMutableTreeNode.java,
8983         javax/swing/tree/DefaultTreeCellEditor.java,
8984         javax/swing/tree/DefaultTreeCellRenderer.java,
8985         javax/swing/tree/DefaultTreeModel.java,
8986         javax/swing/tree/DefaultTreeSelectionModel.java,
8987         javax/swing/tree/ExpandVetoException.java,
8988         javax/swing/tree/FixedHeightLayoutCache.java,
8989         javax/swing/tree/MutableTreeNode.java,
8990         javax/swing/tree/RowMapper.java,
8991         javax/swing/tree/TreeCellEditor.java,
8992         javax/swing/tree/TreeCellRenderer.java,
8993         javax/swing/tree/TreeModel.java,
8994         javax/swing/tree/TreeNode.java,
8995         javax/swing/tree/TreePath.java,
8996         javax/swing/tree/TreeSelectionModel.java,
8997         javax/swing/tree/VariableHeightLayoutCache.java,
8998         javax/swing/UIDefaults.java,
8999         javax/swing/UIManager.java,
9000         javax/swing/undo/AbstractUndoableEdit.java,
9001         javax/swing/undo/CannotRedoException.java,
9002         javax/swing/undo/CannotUndoException.java,
9003         javax/swing/undo/CompoundEdit.java,
9004         javax/swing/undo/StateEditable.java,
9005         javax/swing/undo/StateEdit.java,
9006         javax/swing/undo/UndoableEdit.java,
9007         javax/swing/undo/UndoableEditSupport.java,
9008         javax/swing/undo/UndoManager.java,
9009         javax/swing/UnsupportedLookAndFeelException.java,
9010         javax/swing/ViewportLayout.java,
9011         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9012
9013         * java/awt/ActiveEvent.java,
9014         java/awt/Adjustable.java, java/awt/AWTError.java,
9015         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9016         java/awt/AWTException.java, java/awt/AWTPermission.java,
9017         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9018         java/awt/Color.java, java/awt/Component.java,
9019         java/awt/ComponentOrientation.java, java/awt/Container.java,
9020         java/awt/datatransfer/MimeTypeParseException.java,
9021         java/awt/datatransfer/Transferable.java,
9022         java/awt/datatransfer/UnsupportedFlavorException.java,
9023         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9024         java/awt/event/ActionListener.java,
9025         java/awt/event/AdjustmentEvent.java,
9026         java/awt/event/AdjustmentListener.java,
9027         java/awt/event/AWTEventListener.java,
9028         java/awt/event/ComponentAdapter.java,
9029         java/awt/event/ComponentEvent.java,
9030         java/awt/event/ComponentListener.java,
9031         java/awt/event/ContainerAdapter.java,
9032         java/awt/event/ContainerEvent.java,
9033         java/awt/event/ContainerListener.java,
9034         java/awt/event/FocusAdapter.java,
9035         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9036         java/awt/event/HierarchyBoundsAdapter.java,
9037         java/awt/event/HierarchyBoundsListener.java,
9038         java/awt/event/HierarchyEvent.java,
9039         java/awt/event/HierarchyListener.java,
9040         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9041         java/awt/event/InputMethodListener.java,
9042         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9043         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9044         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9045         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9046         java/awt/event/MouseListener.java,
9047         java/awt/event/MouseMotionAdapter.java,
9048         java/awt/event/MouseMotionListener.java,
9049         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9050         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9051         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9052         java/awt/event/WindowListener.java, java/awt/Font.java,
9053         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9054         java/awt/geom/Ellipse2D.java,
9055         java/awt/geom/IllegalPathStateException.java,
9056         java/awt/geom/Line2D.java,
9057         java/awt/geom/NoninvertibleTransformException.java,
9058         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9059         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9060         java/awt/geom/RoundRectangle2D.java,
9061         java/awt/GraphicsConfiguration.java,
9062         java/awt/IllegalComponentStateException.java,
9063         java/awt/image/IndexColorModel.java,
9064         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9065         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9066         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9067         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9068         java/awt/MenuItem.java, java/awt/PaintContext.java,
9069         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9070         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9071         java/awt/PrintJob.java, java/awt/Rectangle.java,
9072         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9073         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9074         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9075
9076         * java/awt/im/spi/InputMethod.java,
9077         java/awt/im/spi/InputMethodContext.java,
9078         java/awt/im/spi/InputMethodDescriptor.java,
9079         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9080         java/awt/image/renderable/ParameterBlock.java,
9081         java/awt/image/renderable/RenderContext.java,
9082         java/awt/image/renderable/RenderableImage.java,
9083         java/awt/image/renderable/RenderableImageOp.java,
9084         java/awt/image/renderable/RenderableImageProducer.java,
9085         java/awt/image/renderable/RenderedImageFactory.java: New files from
9086         classpath.
9087
9088         * gnu/java/awt/EventModifier.java,
9089         gnu/java/awt/image/ImageDecoder.java,
9090         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9091
9092         * gnu/awt/xlib/XGraphicsConfiguration.java,
9093         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9094         API.
9095
9096         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9097         GNU Classpath.
9098
9099         * Makefile.am: Add new files.
9100         * Makefile.in: Rebuilt.
9101
9102 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9103
9104         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9105         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9106         findResource, getResources, findResources): Add javadoc from classpath.
9107         (getSystemResources): Implemented.
9108
9109 2002-08-01  Mark Wielaard  <mark@klomp.org>
9110
9111         Revert patch that breaks libgcj shared library on powerpc:
9112         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9113         implementation classes by using Class.getName(). Uses Strings again.
9114         * gnu/java/security/der/DEREncodingException.java,
9115         gnu/java/security/provider/DERReader.java,
9116         gnu/java/security/provider/DERWriter.java,
9117         gnu/java/security/provider/DSAKeyPairGenerator.java,
9118         gnu/java/security/provider/DSAParameterGenerator.java,
9119         gnu/java/security/provider/DSAParameters.java,
9120         gnu/java/security/provider/DSASignature.java,
9121         gnu/java/security/provider/GnuDSAPrivateKey.java,
9122         gnu/java/security/provider/GnuDSAPublicKey.java,
9123         gnu/java/security/provider/MD5.java,
9124         gnu/java/security/util/Prime.java: Removed.
9125         * Makefile.am (ordinary_java_source_files): Remove above files.
9126         * Makefile.in: Regenerate.
9127         * gnu/java/security/provider/DefaultPolicy.java
9128         (getPermissions): Revert to maintaining static class variable of
9129         Permissions.
9130         * gnu/java/security/provider/SHA.java
9131         (engineUpdate): Revert algorithm change.
9132         (engineDigest): Revert algorithm change.
9133
9134 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9135
9136         * configure.host: Add SH support.
9137         * sysdep/sh/locks.h: New file.
9138
9139 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9140
9141         * java/awt/Frame.java (Frame): Remove println calls.
9142
9143 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9144
9145         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9146         * configure: Rebuilt.
9147
9148 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9149
9150         * sysdep/powerpc/locks.h: Formatting.
9151         (_LARX): Define.
9152         (_STCX): Define.
9153         (compare_and_swap): Use _LARX and _STCX.
9154         (compare_and_swap_release): Likewise.
9155
9156 2002-07-26  Tom Tromey  <tromey@redhat.com>
9157
9158         * java/net/Authenticator.java: New version from Classpath.
9159         * java/net/DatagramSocketImpl.java: New version from Classpath.
9160
9161 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9162
9163         * configure.host: Add powerpc64*-* entry.
9164
9165 2002-07-26  Tom Tromey  <tromey@redhat.com>
9166
9167         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9168         fcntl.h.
9169
9170 2002-07-24  Tom Tromey  <tromey@redhat.com>
9171
9172         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9173         argument to _load.
9174
9175 2002-07-24  Tom Tromey  <tromey@redhat.com>
9176             Tony Kimball <alk@pobox.com>
9177
9178         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9179         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9180         * java/io/RandomAccessFile.java (setLength): New method.
9181         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9182         * java/io/FileDescriptor.java (setLength): New method.
9183
9184 2002-07-24  Mark Wielaard  <mark@klomp.org>
9185
9186         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9187         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9188         field call setAccessible(true).
9189         (setByteField): Likewise.
9190         (setCharField): Likewise.
9191         (setDoubleField): Likewise.
9192         (setFloatField): Likewise.
9193         (setIntField): Likewise.
9194         (setLongField): Likewise.
9195         (setShortField): Likewise.
9196         (setObjectField): Likewise.
9197
9198 2002-07-24  Tom Tromey  <tromey@redhat.com>
9199
9200         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9201         use toString() to format array element.
9202
9203 2002-07-23  Mark Wielaard  <mark@klomp.org>
9204
9205         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9206         MessageDigestSpi (fixes Classpath bug #783).
9207
9208 2002-07-21  Mark Wielaard  <mark@klomp.org>
9209
9210         * gnu/java/security/provider/Gnu.java: Reference all implementation
9211         classes by using Class.getName().
9212
9213 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9214
9215         * java/lang/ieeefp.h: Add x86-64 support.
9216         * configure.in: Likewise.
9217         * configure.host: Likewise.
9218         * configure: Regenerated.
9219         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9220
9221 2002-07-16  Mark Wielaard  <mark@klomp.org>
9222
9223         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9224         (whitespaceChars): call resetChar().
9225
9226 2002-07-15  Tom Tromey  <tromey@redhat.com>
9227
9228         * Makefile.in: Rebuilt.
9229         * Makefile.am (awt_java_source_files): Added new files.
9230         * java/beans/ExceptionListener.java: Merged with Classpath.
9231         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9232         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9233         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9234         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9235         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9236         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9237         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9238
9239 2002-07-14  Mark Wielaard  <mark@klomp.org>
9240
9241         * gnu/java/security/der/DEREncodingException.java,
9242         gnu/java/security/provider/DERReader.java,
9243         gnu/java/security/provider/DERWriter.java,
9244         gnu/java/security/provider/DSAKeyPairGenerator.java,
9245         gnu/java/security/provider/DSAParameterGenerator.java,
9246         gnu/java/security/provider/DSAParameters.java,
9247         gnu/java/security/provider/DSASignature.java,
9248         gnu/java/security/provider/GnuDSAPrivateKey.java,
9249         gnu/java/security/provider/GnuDSAPublicKey.java,
9250         gnu/java/security/provider/MD5.java,
9251         gnu/java/security/util/Prime.java: New files from Classpath.
9252         * Makefile.am (ordinary_java_source_files): Add new files.
9253         * Makefile.in: Regenerate.
9254
9255 2002-07-14  C. Brian Jones <cbj@gnu.org>
9256
9257         * gnu/java/security/provider/DefaultPolicy.java
9258         (getPermissions): do not maintain static class variable of
9259         Permissions
9260         * gnu/java/security/provider/SHA.java
9261         (engineUpdate): algorithm change
9262         (engineDigest): algorithm change
9263
9264 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9265
9266         For PR libgcj/7292:
9267         * java/lang/Character.java (toString(char)): Now static.
9268
9269 2002-07-12  Mark Wielaard  <mark@klomp.org>
9270
9271         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9272         (getStackTrace0): new method.
9273         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9274         (printStackTrace(PrintWriter)): replace with pure java implementation.
9275         (printRawStackTrace): removed.
9276         (getStackTrace0): new method.
9277         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9278         * gcj/javaprims.h: regenerate class list.
9279         * include/name-finder.h (lookup): new returns StackTraceElement*.
9280         (method_name, file_name): fields removed.
9281         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9282         (~_Jv_name_finder): close new descriptors.
9283         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9284         (createStackTraceElement): new method.
9285         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9286
9287 2002-07-10  Tom Tromey  <tromey@redhat.com>
9288
9289         * configure: Rebuilt.
9290         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9291
9292 2002-07-08  Mark Wielaard  <mark@klomp.org>
9293
9294         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9295         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9296         java.sql.DatabaseMetaData.TestJdbc20
9297
9298 2002-07-05  Tony Kimball  <alk@pobox.com>
9299
9300         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9301
9302 2002-07-04  Tom Tromey  <tromey@redhat.com>
9303             Jeff Sturm  <jsturm@one-point.com>
9304
9305         Fix for PR libgcj/7060:
9306         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9307         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9308         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9309         * java/lang/Class.java (getMethod): New Java implementation;
9310         complies with spec.
9311         (_getMethod): New native method.
9312
9313 2002-07-02  Tom Tromey  <tromey@redhat.com>
9314             David Hovemeyer  <daveho@cs.umd.edu>
9315
9316         * java/text/ChoiceFormat.java
9317         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9318         in check loop.
9319         * java/text/MessageFormat.java
9320         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9321         to MessageFormat.
9322
9323 2002-07-01  Tom Tromey  <tromey@redhat.com>
9324
9325         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9326         StringTokenizer on null string.  For PR libgcj/7180.
9327         From daveho@cs.umd.edu.
9328
9329 2002-06-24  Tom Tromey  <tromey@redhat.com>
9330
9331         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9332         (IntegerClass): Likewise.
9333         * java/lang/natClass.cc (CloneableClass): Removed.
9334         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9335         ConstructorClass): Likewise.
9336         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9337         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9338         SerializableClass): Likewise.
9339         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9340         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9341         LongClass, FloatClass, DoubleClass): Likewise.
9342
9343         * verify.cc (branch_prepass): Updated for change to exception
9344         handler type.
9345         (verify_instructions_0): Likewise.
9346         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9347         (handleExceptionTableEntry): Updated for change to exception
9348         handler type.
9349         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9350         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9351         (union _Jv_InterpPC): New.
9352         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9353         (class _Jv_InterpMethod): Added new `prepared' field.
9354         (class _Jv_InterpMethod): Added `compile' method.  Removed
9355         `continue1' and `find_exception'.  Changed arguments to `run'.
9356         * interpret.cc (union insn_slot): New.
9357         (find_exception): Removed.
9358         (run_normal): Removed most logic.
9359         (run_synch_object): Likewise; also, use JvSynchronize.
9360         (run_synch_class): Likewise.
9361         (run): Removed.
9362         (continue1): Renamed as `run'.  Compile bytecode if required.
9363         Add new code to allow refinement of direct-threaded code at
9364         runtime.  Handle exceptions.
9365         (SAVE_PC): Removed.
9366         (compile): New method.
9367         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9368         (NULLARRAYCHECK): Don't use SAVE_PC.
9369         (pc_t): New typedef.
9370         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9371         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9372
9373 2002-06-23  Tom Tromey  <tromey@redhat.com>
9374
9375         * configure: Rebuilt.
9376         * configure.in (INTERPRETER): New subst.
9377         (AM_RUNTESTFLAGS): Don't subst.
9378
9379         * Makefile.in: Rebuilt.
9380         * Makefile.am ($(srcdir)/java/lang/Object.h,
9381         $(srcdir)/java/lang/Class.h): Added dummy targets.
9382
9383 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9384
9385         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9386
9387         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9388         java/sql/Savepoint.java: New files.
9389         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9390         java/sql/Blob.java, java/sql/CallableStatement.java,
9391         java/sql/Clob.java, java/sql/Connection.java,
9392         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9393         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9394         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9395         java/sql/Ref.java, java/sql/ResultSet.java,
9396         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9397         java/sql/SQLException.java, java/sql/SQLInput.java,
9398         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9399         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9400         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9401         (JDK 1.4) specification.
9402         * javax/sql/ConnectionEvent.java,
9403         javax/sql/ConnectionEventListener.java,
9404         javax/sql/ConnectionPoolDataSource.java,
9405         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9406         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9407         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9408         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9409         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9410         javax/sql/XADataSource.java: New files.
9411         * Makefile.am: Add new files.
9412         * Makefile.in: Rebuilt.
9413
9414 2002-06-20  Tom Tromey  <tromey@redhat.com>
9415
9416         For PR libgcj/7073:
9417         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9418         exists.
9419         * defineclass.cc (handleClassBegin): Superclass for interface is
9420         `null'.
9421
9422 2002-06-18  Tom Tromey  <tromey@redhat.com>
9423
9424         * gcj/javaprims.h: Updated class declaration list.
9425         * Makefile.in: Rebuilt.
9426         * Makefile.am (core_java_source_files): Removed
9427         BasicMapEntry.java.
9428         * java/util/BasicMapEntry.java: Removed.
9429
9430 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9431
9432         * java/net/natPlainDatagramSocketImpl.cc (receive):
9433         Check bounds of argument to FD_SET.
9434         (setOption): Throw exception if socket is closed.
9435
9436         * java/net/natPlainSocketImpl.cc (accept, read):
9437         Check bounds of argument to FD_SET.
9438         (setOption): Throw exception if socket is closed.
9439
9440 2002-06-18  Tom Tromey  <tromey@redhat.com>
9441
9442         * gcj/javaprims.h: Updated class declaration list.
9443         * Makefile.in: Rebuilt.
9444         * Makefile.am (core_java_source_files): Added
9445         PropertyPermissionCollection.java.
9446         * java/lang/Thread.java (group, name): Now package-private.
9447         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9448         * java/util/AbstractList.java: Likewise.
9449         * java/util/AbstractMap.java: Likewise.
9450         * java/util/Calendar.java: Likewise.
9451         * java/util/Collections.java: Likewise.
9452         * java/util/HashMap.java: Likewise.
9453         * java/util/Hashtable.java: Likewise.
9454         * java/util/LinkedHashMap.java: Likewise.
9455         * java/util/LinkedList.java: Likewise.
9456         * java/util/List.java: Likewise.
9457         * java/util/ListResourceBundle.java: Likewise.
9458         * java/util/Map.java: Likewise.
9459         * java/util/Observable.java: Likewise.
9460         * java/util/Properties.java: Likewise.
9461         * java/util/PropertyPermission.java: Likewise.
9462         * java/util/PropertyPermissionCollection.java: Likewise.
9463         * java/util/PropertyResourceBundle.java: Likewise.
9464         * java/util/Random.java: Likewise.
9465         * java/util/SimpleTimeZone.java: Likewise.
9466         * java/util/StringTokenizer.java: Likewise.
9467         * java/util/TimerTask.java: Likewise.
9468         * java/util/TreeMap.java: Likewise.
9469         * java/util/WeakHashMap.java: Likewise.
9470         * java/util/jar/Attributes.java: Likewise.
9471         * java/util/jar/JarException.java: Likewise.
9472         * java/util/jar/Manifest.java: Likewise.
9473
9474 2002-06-17  Tom Tromey  <tromey@redhat.com>
9475
9476         * gcj/javaprims.h: Updated class declaration list.
9477         * Makefile.in: Rebuilt.
9478         * Makefile.am (core_java_source_files): Added new file.
9479         * java/util/EventListenerProxy.java: New file.
9480         * java/util/EventListener.java: Re-merge with Classpath.
9481         * java/util/EventObject.java: Re-merge with Classpath.
9482
9483 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9484
9485         * java/lang/ClassNotFoundException.java: New Classpath version.
9486
9487 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9488
9489         * java/rmi/activation/ActivateFailedException.java: Remerge from
9490         Classpath version.
9491         * java/rmi/activation/ActivationException.java: Ditto.
9492         * java/rmi/activation/UnknownGroupException.java: Ditto.
9493         * java/rmi/activation/UnknownObjectException.java: Ditto.
9494         * java/rmi/server/ExportException: Ditto.
9495         * java/rmi/server/ServerCloneException: Ditto.
9496         * java/rmi/server/ServerNotActiveException: Ditto.
9497         * java/rmi/server/SkeletonMismatchException: Ditto.
9498         * java/rmi/server/SkeletonNotFoundException: Ditto.
9499         * java/rmi/server/SocketSecurityException: Ditto.
9500
9501 2002-06-16  Tom Tromey  <tromey@redhat.com>
9502
9503         * gcj/javaprims.h: Updated class declaration list.
9504
9505         * java/io/LineNumberInputStream.java: Merged with Classpath.
9506
9507         * java/lang/RuntimeException.java: Re-merge with Classpath.
9508         * java/util/ArrayList.java: Likewise.
9509         * java/util/Arrays.java: Likewise.
9510         * java/util/BitSet.java: Likewise.
9511         * java/util/Dictionary.java: Likewise.
9512         * java/util/IdentityHashMap.java: Likewise.
9513         * java/util/MissingResourceException.java: Likewise.
9514         * java/util/Observer.java: Likewise.
9515         * java/util/TooManyListenersException.java: Likewise.
9516         * java/util/zip/DataFormatException.java: Likewise.
9517         * java/util/zip/ZipException.java: Likewise.
9518
9519 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9520
9521         * java/rmi/AccessException.java: Remerge from Classpath.
9522         * java/rmi/AlreadyBoundException.java: Ditto.
9523         * java/rmi/ConnectException.java: Ditto.
9524         * java/rmi/ConnectIOException.java: Ditto.
9525         * java/rmi/MarshalException.java: Ditto.
9526         * java/rmi/NoSuchObjectException.java: Ditto.
9527         * java/rmi/NotBoundException.java: Ditto.
9528         * java/rmi/RemoteException.java: Ditto.
9529         * java/rmi/RMISecurityException.java: Ditto.
9530         * java/rmi/ServerError.java: Ditto.
9531         * java/rmi/ServerException.java: Ditto.
9532         * java/rmi/ServerRuntimeException.java: Ditto.
9533         * java/rmi/StubNotFoundException.java: Ditto.
9534         * java/rmi/UnexpectedExcpetion.java: Ditto.
9535         * java/rmi/UnknownHostException.java: Ditto.
9536         * java/rmi/UnmarshalException.java: Ditto.
9537
9538 2002-06-15  Tom Tromey  <tromey@redhat.com>
9539
9540         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9541         * java/lang/ArithmeticException.java: Likewise.
9542         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9543         * java/lang/ArrayStoreException.java: Likewise.
9544         * java/lang/Byte.java: Likewise.
9545         * java/lang/CharSequence.java: Likewise.
9546         * java/lang/ClassCastException.java: Likewise.
9547         * java/lang/ClassCircularityError.java: Likewise.
9548         * java/lang/ClassFormatError.java: Likewise.
9549         * java/lang/CloneNotSupportedException.java: Likewise.
9550         * java/lang/Cloneable.java: Likewise.
9551         * java/lang/Comparable.java: Likewise.
9552         * java/lang/Compiler.java: Likewise.
9553         * java/lang/Error.java: Likewise.
9554         * java/lang/ExceptionInInitializerError.java: Likewise.
9555         * java/lang/IllegalAccessError.java: Likewise.
9556         * java/lang/IllegalAccessException.java: Likewise.
9557         * java/lang/IllegalArgumentException.java: Likewise.
9558         * java/lang/IllegalMonitorStateException.java: Likewise.
9559         * java/lang/IllegalStateException.java: Likewise.
9560         * java/lang/IllegalThreadStateException.java: Likewise.
9561         * java/lang/IncompatibleClassChangeError.java: Likewise.
9562         * java/lang/IndexOutOfBoundsException.java: Likewise.
9563         * java/lang/InheritableThreadLocal.java: Likewise.
9564         * java/lang/InstantiationError.java: Likewise.
9565         * java/lang/InstantiationException.java: Likewise.
9566         * java/lang/InternalError.java: Likewise.
9567         * java/lang/InterruptedException.java: Likewise.
9568         * java/lang/LinkageError.java: Likewise.
9569         * java/lang/NegativeArraySizeException.java: Likewise.
9570         * java/lang/NoClassDefFoundError.java: Likewise.
9571         * java/lang/NoSuchFieldError.java: Likewise.
9572         * java/lang/NoSuchFieldException.java: Likewise.
9573         * java/lang/NoSuchMethodError.java: Likewise.
9574         * java/lang/NoSuchMethodException.java: Likewise.
9575         * java/lang/NullPointerException.java: Likewise.
9576         * java/lang/NumberFormatException.java: Likewise.
9577         * java/lang/OutOfMemoryError.java: Likewise.
9578         * java/lang/Process.java: Likewise.
9579         * java/lang/Runnable.java: Likewise.
9580         * java/lang/RuntimePermission.java: Likewise.
9581         * java/lang/SecurityException.java: Likewise.
9582         * java/lang/Short.java: Likewise.
9583         * java/lang/StackOverflowError.java: Likewise.
9584         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9585         * java/lang/ThreadDeath.java: Likewise.
9586         * java/lang/ThreadLocal.java: Likewise.
9587         * java/lang/UnknownError.java: Likewise.
9588         * java/lang/UnsatisfiedLinkError.java: Likewise.
9589         * java/lang/UnsupportedClassVersionError.java: Likewise.
9590         * java/lang/UnsupportedOperationException.java: Likewise.
9591         * java/lang/VerifyError.java: Likewise.
9592         * java/lang/VirtualMachineError.java: Likewise.
9593         * java/lang/reflect/InvocationTargetException.java: Likewise.
9594         * java/net/BindException.java: Likewise.
9595         * java/net/ConnectException.java: Likewise.
9596         * java/net/MalformedURLException.java: Likewise.
9597         * java/net/NoRouteToHostException.java: Likewise.
9598         * java/net/ProtocolException.java: Likewise.
9599         * java/net/SocketException.java: Likewise.
9600         * java/net/UnknownHostException.java: Likewise.
9601         * java/net/UnknownServiceException.java: Likewise.
9602
9603         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9604         * java/io/CharConversionException.java: Likewise.
9605         * java/io/EOFException.java: Likewise.
9606         * java/io/FileNotFoundException.java: Likewise.
9607         * java/io/IOException.java: Likewise.
9608         * java/io/InterruptedIOException.java: Likewise.
9609         * java/io/InvalidClassException.java: Likewise.
9610         * java/io/InvalidObjectException.java: Likewise.
9611         * java/io/NotActiveException.java: Likewise.
9612         * java/io/NotSerializableException.java: Likewise.
9613         * java/io/ObjectStreamException.java: Likewise.
9614         * java/io/ObjectStreamConstants.java: Likewise.
9615         * java/io/OptionalDataException.java: Likewise.
9616         * java/io/PipedInputStream.java: Likewise.
9617         * java/io/PushbackInputStream.java: Likewise.
9618         * java/io/StreamCorruptedException.java: Likewise.
9619         * java/io/SyncFailedException.java: Likewise.
9620         * java/io/UTFDataFormatException.java: Likewise.
9621         * java/io/UnsupportedEncodingException.java: Likewise.
9622         * java/io/WriteAbortedException.java: Likewise.
9623
9624 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9625
9626         * java/text/ChoiceFormat.java: Update comments from Classpath.
9627         * java/text/ParseException.java (serialVersionUID): New
9628         field from Classpath.
9629         * java/text/ParseException.java: Update formatting & comments
9630         from Classpath.
9631
9632 2002-06-15  Tom Tromey  <tromey@redhat.com>
9633
9634         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9635         been read but none output by inflater.
9636         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9637         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9638         is_finished.
9639         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9640         version.
9641         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9642         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9643         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9644         version.
9645         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9646
9647 2002-06-13  Tom Tromey  <tromey@redhat.com>
9648
9649         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9650         true and OFFSET!=0.
9651         * java/lang/String.java (String(char[],int,int,boolean): New
9652         constructor.
9653         * java/lang/Long.java: Imported new version from Classpath.
9654         * java/lang/Number.java: Likewise.
9655         * java/lang/Integer.java: Likewise.
9656         * java/lang/Long.java: Likewise.
9657         * java/lang/Float.java: Likewise.
9658         * java/lang/Boolean.java: Likewise.
9659         * java/lang/Double.java: Likewise.
9660         * java/lang/Void.java: Likewise.
9661
9662 2002-06-12  Tom Tromey  <tromey@redhat.com>
9663
9664         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9665         Fixes PR libgcj/6652.
9666
9667 2002-06-10  Tom Tromey  <tromey@redhat.com>
9668
9669         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9670         (Class::getPackagePortion): Likewise.
9671         * java/lang/Class.java (desiredAssertionStatus): New method from
9672         Classpath.
9673         (getPackagePortion): Likewise.
9674         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9675         packageAssertionStatus, classAssertionStatus): New methods from
9676         Classpath.
9677         * java/lang/ClassLoader.java (defaultAssertionStatus,
9678         systemPackageAssertionStatus, packageAssertionStatus,
9679         systemClassAssertionStatus, classAssertionStatus): New fields from
9680         Classpath.
9681         (setDefaultAssertionStatus, setPackageAssertionStatus,
9682         setClassAssertionStatus, clearAssertionStatus): New methods from
9683         Classpath.
9684         * Makefile.in: Rebuilt.
9685         * Makefile.am (core_java_source_files): Added AssertionError.java.
9686         * java/lang/AssertionError.java: New from Classpath.
9687
9688 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9689
9690         * configure.host: Disable hash synchronization and slow_pthread_self
9691         for cygwin.
9692
9693 2002-06-06  Adam Megacz <adam@xwt.org>
9694
9695         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9696         locking, just like the Sun JVM does.
9697
9698 2002-06-05  H.J. Lu  (hjl@gnu.org)
9699
9700         * Makefile.am (libgcj_convenience.la): Revert the last change.
9701         (libgcj.la): Likewise.
9702         * Makefile.in: Regenerated.
9703
9704 2002-06-04  H.J. Lu  (hjl@gnu.org)
9705
9706         * Makefile.am (libgcj_convenience.la): New target.
9707         (libgcj.la): Depend on libgcj_convenience.la.
9708         * Makefile.in: Regenerated.
9709
9710 2002-06-04  H.J. Lu  (hjl@gnu.org)
9711
9712         * configure.in (--with-newlib): New option:
9713         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9714         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9715         Linux.
9716         * configure: Regenerated.
9717
9718 2002-06-04  Tom Tromey  <tromey@redhat.com>
9719
9720         * java/util/natTimeZone.cc: Include <stdio.h>.
9721
9722 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9723
9724         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9725         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9726         Set SIGNAL_HANDLER=include/s390-linux.h.
9727         * configure: Regenerate.
9728         * include/s390-linux.h: New file.
9729
9730 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9731
9732         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9733         not "stackTrace".
9734
9735 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9736
9737         Merge JDK 1.4 java.security changes from classpath.
9738
9739         * java/security/AccessControlException.java: Merge from Classpath.
9740         * java/security/AccessController.java: Likewise.
9741         * java/security/AllPermission.java: Likewise.
9742         * java/security/BasicPermission.java: Likewise.
9743         * java/security/Certificate.java: Likewise.
9744         * java/security/CodeSource.java: Likewise.
9745         * java/security/DigestException.java: Likewise.
9746         * java/security/DigestOutputStream.java: Likewise.
9747         * java/security/DomainCombiner.java: Likewise.
9748         * java/security/GeneralSecurityException.java: Likewise.
9749         * java/security/Guard.java: Likewise.
9750         * java/security/GuardedObject.java: Likewise.
9751         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9752         * java/security/InvalidKeyException.java: Likewise.
9753         * java/security/InvalidParameterException.java: Likewise.
9754         * java/security/Key.java: Likewise.
9755         * java/security/KeyException.java: Likewise.
9756         * java/security/KeyManagementException.java: Likewise.
9757         * java/security/KeyStoreException.java: Likewise.
9758         * java/security/MessageDigest.java: Likewise.
9759         * java/security/NoSuchAlgorithmException.java: Likewise.
9760         * java/security/NoSuchProviderException.java: Likewise.
9761         * java/security/Permission.java: Likewise.
9762         * java/security/PermissionCollection.java: Likewise.
9763         * java/security/Permissions.java: Likewise.
9764         * java/security/Policy.java: Likewise.
9765         * java/security/Principal.java: Likewise.
9766         * java/security/PrivateKey.java: Likewise.
9767         * java/security/PrivilegedAction.java: Likewise.
9768         * java/security/PrivilegedActionException.java: Likewise.
9769         * java/security/PrivilegedExceptionAction.java: Likewise.
9770         * java/security/ProtectionDomain.java: Likewise.
9771         * java/security/ProviderException.java: Likewise.
9772         * java/security/PublicKey.java: Likewise.
9773         * java/security/SecureClassLoader.java: Likewise.
9774         * java/security/SecurityPermission.java: Likewise.
9775         * java/security/SignatureException.java: Likewise.
9776         * java/security/UnrecoverableKeyException.java: Likewise.
9777         * java/security/UnresolvedPermission.java: Likewise.
9778         * java/security/acl/AclNotFoundException.java: Likewise.
9779         * java/security/acl/LastOwnerException.java: Likewise.
9780         * java/security/acl/NotOwnerException.java: Likewise.
9781         * java/security/cert/CRLException.java: Likewise.
9782         * java/security/cert/CertificateEncodingException.java: Likewise.
9783         * java/security/cert/CertificateException.java: Likewise.
9784         * java/security/cert/CertificateExpiredException.java: Likewise.
9785         * java/security/cert/CertificateFactory.java: Likewise.
9786         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9787         * java/security/cert/CertificateParsingException.java: Likewise.
9788         * java/security/spec/InvalidKeySpecException.java: Likewise.
9789         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9790
9791         * java/security/cert/CertPath.java: New file.
9792         * java/security/cert/CertPathBuilderException.java: New file.
9793         * java/security/cert/CertPathValidatorException.java: New file.
9794         * java/security/cert/CertStoreException.java: New file.
9795
9796         * Makefile.am: Add new CertPath classes.
9797         * Makefile.in: Rebuilt.
9798
9799         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9800
9801 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9802
9803         Merge JDK 1.4 exception chaining support from classpath.
9804
9805         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9806         (stackTraceBytes): Rename from stackTrace.
9807         * java/lang/Exception.java: Merge from classpath.
9808         * java/lang/StackTraceElement: New file from classpath.
9809         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9810         * Makefile.am: Add StackTraceElement.
9811         * Makefile.in: Rebuilt.
9812
9813 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9814
9815         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9816         they build first.
9817         * Makefile.in: Rebuilt.
9818
9819 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9820
9821         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9822         * configure.in: Likewise.
9823         * aclocal.m4: Regenerate.
9824         * configure: Regenerate.
9825
9826 2002-05-13  Tom Tromey  <tromey@redhat.com>
9827
9828         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9829         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9830         Include platform.h.
9831
9832         Fixes PR libgcj/6389:
9833         * Makefile.in: Rebuilt.
9834         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9835         * java/util/natTimeZone.cc: New file.
9836         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9837         * java/lang/System.java: Merged with Classpath.
9838         * java/lang/Runtime.java: Merged with Classpath.
9839         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9840         security check.
9841         (setIn0): Renamed from setIn; don't run security check.
9842         (setOut0): Renamed from setOut; don't run security check.
9843         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9844         init_properties): Moved to natRuntime.cc.
9845         Moved many includes to natRuntime.cc.
9846         (isWordsBigEndian): New method.
9847         * java/lang/natRuntime.cc: Include Long.h, also other includes
9848         previously in natSystem.cc.
9849         (maxMemory): New function.
9850         (exitInternal): Renamed from `_exit'.
9851         (exit): Removed.
9852         (init): Don't set finalize_on_exit.
9853         (exitInternal): Use `finalizeOnExit'.
9854         (file_encoding, getpwuid_adaptor): New functions from
9855         natSystem.cc.
9856         (insertSystemProperties): New method, renamed from
9857         System::init_properties.  Don't set user.timezone.
9858         (_load): Don't call checkLink.
9859         (execInternal): New method.
9860         (availableProcessors): Likewise.
9861         (nativeGetLibname): Likewise.
9862
9863 2002-05-11  Mark Wielaard  <mark@klomp.org>
9864
9865         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9866         space characters.
9867         (previous_internal): Likewise.
9868
9869 2002-05-09  Tom Tromey  <tromey@redhat.com>
9870
9871         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9872
9873         * java/util/ResourceBundle.java: New version from Classpath.
9874         * java/util/Locale.java: Likewise.
9875
9876 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9877
9878         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9879         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9880         LD_LIBRARY_PATH.
9881
9882 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9883
9884         * libjava/Makefile.am (all_java_source_files): New variable.
9885         (all_java_class_files): Likewise.
9886         .java.class: New rule.
9887         (CLEANFILES): Remove tmp-list.
9888         * libjava/Makefile.in: Regenerated.
9889
9890 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9891
9892         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9893         Append .exe to executable names.  Fix for cygwin.
9894
9895 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9896
9897         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9898         script entry, and set LD to it when configuring multilibs.
9899         * configure: Rebuilt.
9900
9901 2002-05-07  Tom Tromey  <tromey@redhat.com>
9902
9903         * java/lang/natString.cc (unintern): Fixed typo.
9904
9905 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9906
9907         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9908         with -no-install on *-*-cygwin*.
9909
9910 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9911
9912         * testsuite/lib/libjava.exp (test_libjava_from_source):
9913         Add comment explaining last patch
9914
9915 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9916
9917         * testsuite/lib/libjava.exp (test_libjava_from_source):
9918         Append .exe to executable names.  If no suffix is present,
9919         then ".exe" is added by default on win32.  Harmless
9920         elsewhere so always do it.
9921
9922 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9923             Tom Tromey  <tromey@redhat.com>
9924
9925         * java/lang/natSystem.cc (getSystemTimeZone): Use
9926         HAVE_UNDERSCORE_TIMEZONE.
9927         * include/config.h.in: Rebuilt.
9928         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9929         * aclocal.m4, configure: Rebuilt.
9930         * acinclude.m4: Run AC_EXEEXT.
9931         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9932         Add test for `_timezone'.
9933
9934 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9935
9936         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9937         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9938         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9939         * Makefile.in: Rebuilt.
9940
9941 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9942
9943         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9944         use sigaction instead of __libc_sigaction.
9945
9946 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9947
9948         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9949         (libjava_init): Use it to find libgcj.spec.
9950         (libjava_arguments): Likewise.
9951
9952 2002-05-02  David S. Miller  <davem@redhat.com>
9953
9954         PR bootstrap/6525
9955         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9956         __libc_sigaction on Sparc.
9957
9958 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9959
9960         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9961         sys/filio.h, if present.
9962
9963 2002-04-30  Tom Tromey  <tromey@redhat.com>
9964
9965         * java/io/BufferedReader.java (fill): Handle case where markPos
9966         point to ignored \n.  Fixes PR libgcj/6301.
9967
9968 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9969
9970         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9971
9972 2002-04-29  Adam King <aking@dreammechanics.com>
9973
9974         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9975         of file in APPEND mode.
9976
9977 2002-04-25  David S. Miller  <davem@redhat.com>
9978
9979         PR target/6422
9980         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9981         program counter to next program counter minus 8.  Update
9982         comments in this macro to explain why.
9983
9984 2002-04-26  Tom Tromey  <tromey@redhat.com>
9985
9986         * verify.cc (construct_primitive_array_type) [void_type]: New
9987         case.
9988         (branch_prepass): Added dummy entries for unused instruction
9989         values.
9990         (verify_instructions_0): Likewise.
9991         * interpret.cc (continue1): Comment fix.
9992         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9993         * Makefile.in: Rebuilt.
9994         * Makefile.am: Added -Wswitch-enum.
9995
9996 2002-04-24  Tom Tromey  <tromey@redhat.com>
9997
9998         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9999         correct length of UTF-8 encoded name.  Strip leading `/'.
10000         (_Jv_RegisterResource): Use _Jv_Malloc.
10001
10002 2002-04-23  Adam Megacz <adam@xwt.org>
10003
10004         * win32.cc, include/win32.cc (backtrace): Added this function
10005         because Win32 does not supply it.
10006
10007 2002-04-21  David S. Miller  <davem@redhat.com>
10008
10009         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10010         magic instruction reading sequence.
10011
10012 2002-04-21  Mark Wielaard  <mark@klomp.org>
10013
10014         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10015
10016 2002-04-19  David S. Miller  <davem@redhat.com>
10017
10018         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10019         arg.
10020         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10021         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10022         on Sparc too.
10023         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10024         for 64-bit sparc.
10025         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10026         * sysdeps/sparc/locks.h: New file.
10027         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10028         on all sparc Solaris configurations.  Set to
10029         include/dwarf2-signal.h on sparc Linux.
10030         * configure: Regenerate
10031         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10032
10033 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10034
10035         * configure: Rebuilt.
10036         * configure.in (backtrace): Function doesn't work on IA-64.
10037
10038 2002-04-17  Adam King <aking@dreammechanics.com>
10039
10040         * java/io/File.java (normalizePath): Add Win32 support for auto
10041         conversion of a '/' path separator to Win32's '\' separator.
10042
10043 2002-04-16  Tom Tromey  <tromey@redhat.com>
10044
10045         Fix for PR libgcj/6081:
10046         * Makefile.in: Rebuilt.
10047         * Makefile.am (install-data-local): Use GNU make trick to avoid
10048         shell limit.
10049
10050 2002-04-16  Adam King <aking@dreammechanics.com>
10051             Tom Tromey  <tromey@redhat.com>
10052
10053         * java/io/natFileWin32.cc (performList): Return the correct array
10054         type.  Don't duplicate the creation of a File since it's already
10055         done earlier in the method and the existing code would cause a
10056         ArrayStoreException.  Don't use fixed-size array.
10057         (_access, _stat, attr, getCanonicalPath, performMkdir,
10058         performRenameTo): Don't use fixed-size array.
10059         (getCanonicalPath): Use throw, not _Jv_Throw.
10060
10061 2002-04-15  DJ Delorie  <dj@redhat.com>
10062
10063         * configure.in: Allow building in $srcdir.
10064         * configure: Regenerated.
10065
10066 2002-04-14  Mark Wielaard <mark@klomp.org>
10067
10068         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10069         * java/net/natSocketImpl.cc (close): Likewise.
10070
10071 2002-04-14  Mark Wielaard <mark@klomp.org>
10072
10073         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10074
10075 2002-04-13  Adam King <aking@dreammechanics.com>
10076
10077         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10078         the f/F/d/D modifiers.
10079
10080 2002-04-12  Anthony Green  <green@redhat.com>
10081
10082         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10083         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10084         * Makefile.in: Rebuilt.
10085         * configure.in: Substitute gcc_version.
10086         * configure: Rebuilt.
10087
10088 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10089
10090         * configure.host: Set can_unwind_signal on hosts which support it.
10091         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10092         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10093         exceptions and can_unwind_signal isn't set.
10094         * configure: Rebuilt.
10095
10096 2002-04-11  Tom Tromey  <tromey@redhat.com>
10097
10098         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10099
10100 2002-04-11  Adam King <aking@dreammechanics.com>
10101             Tom Tromey  <tromey@redhat.com>
10102
10103         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10104         _Jv_ThrowNullPointerException): Mark as noreturn.
10105         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10106         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10107         fixes.
10108
10109 2002-04-10  Tom Tromey  <tromey@redhat.com>
10110
10111         * Makefile.in: Rebuilt.
10112         * Makefile.am (java/lang/Thread.h): Mark
10113         _Jv_AttachCurrentThreadAsDaemon as friend.
10114         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10115         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10116         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10117         function.
10118         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10119         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10120         (_Jv_JNI_InvokeFunctions): Added
10121         _Jv_JNI_AttachCurrentThreadAsDaemon.
10122         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10123         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10124         (JNI_CreateJavaVM): Likewise.
10125         (_Jv_JNI_AttachCurrentThread): Likewise.
10126         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10127         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10128         (_Jv_JNIFunctions): Initialize new fields.
10129         (_Jv_JNI_NewDirectByteBuffer): New function.
10130         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10131         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10132         * include/jni.h (JNI_VERSION_1_4): New macro.
10133         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10134         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10135         (JNINativeInterface::NewDirectByteBuffer): New field.
10136         (JNINativeInterface::GetDirectBufferAddress): New field.
10137         (JNINativeInterface::GetDirectBufferCapacity): New field.
10138         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10139         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10140         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10141
10142 2002-04-09  Tom Tromey  <tromey@redhat.com>
10143
10144         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10145
10146 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10147
10148         Fix for PR libgcj/6187:
10149         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10150         distance.
10151
10152 2002-04-07  Mark Wielaard <mark@klomp.org>
10153
10154         * java/util/AbstractMap.java (putAll): Use entrySet size.
10155         (toString): Explicitly use getKey() and getValue().
10156
10157 2002-04-07  Mark Wielaard <mark@klomp.org>
10158
10159         * java/util/Hashtable.java (contains): Remove NullPointer check.
10160         (containsValue): Add NullPointer check.
10161         (remove): Always throw NullPointerException when key
10162         is null.
10163
10164 2002-04-07  Adam King <aking@dreammechanics.com>
10165
10166         * java/lang/natSystem.cc (init_properties): Call new function
10167         _Jv_platform_initProperties.
10168         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10169         support for the System properties os.name, os.arch, os.version,
10170         user.name, user.home, and user.dir.
10171         * include/posix.h, include/win32.h, posix.cc: New function
10172         _Jv_platform_initProperties.
10173
10174 2002-04-06  Mark Wielaard <mark@klomp.org>
10175
10176         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10177
10178 2002-04-06  Mark Wielaard <mark@klomp.org>
10179
10180         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10181         all of the remaining elements.
10182         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10183         (removeRange): If toIndex == fromIndex do
10184         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10185         (removeAll): Always throw NullPointerException when collection is
10186         null.
10187         (retrainAll): Likewise.
10188
10189 2002-04-05  Mark Wielaard <mark@klomp.org>
10190
10191         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10192         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10193
10194 2002-04-05  Adam Megacz <adam@xwt.org>
10195
10196         * exception.cc (abort): added static modifier
10197
10198 2002-04-04  Adam Megacz <adam@xwt.org>
10199
10200         * include/win32.h (_Jv_platform_close_on_exec): added inline
10201         modifier.
10202
10203 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10204
10205         * configure.host: Add case statement to support generic port
10206         properties.  Add *-*-freebsd* section.
10207
10208 2002-04-04  Mark Wielaard  <mark@klomp.org>
10209
10210         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10211         test.
10212         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10213         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10214         that depend on awt code and BufferedByteOutputStream.interrupt.
10215
10216 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10217
10218         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10219         incorrect "hi" value when count > 40.
10220
10221 2002-04-03  Mark Wielaard  <mark@klomp.org>
10222
10223         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10224         ordering.
10225
10226 2002-04-02  Tom Tromey  <tromey@redhat.com>
10227
10228         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10229         not `0'.
10230
10231 2002-04-02  Mark Wielaard  <mark@klomp.org>
10232
10233         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10234         list of testsuite crashers.
10235
10236 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10237
10238         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10239         when resizing table.
10240
10241 2002-04-01  Mark Wielaard  <mark@klomp.org>
10242
10243         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10244         NegativeArraySizeException
10245         (clear(int)): Use sign extended shift.
10246         (flip(int)): Likewise.
10247         (get(int)): Likewise.
10248         (nextClearBit(int)): Likewise.
10249         (nextSetBit(int)): Likewise.
10250         (set(int)): Likewise.
10251
10252 2002-04-01  Mark Wielaard  <mark@klomp.org>
10253
10254         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10255         that can be compiled now and add testsuite crashers to ignore list.
10256
10257 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10258
10259         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10260
10261         * libgcj.spec.in: Override libgcc, not lib.
10262         * libgcj-test.spec.in: Likewise.
10263
10264 2002-03-29  Tom Tromey  <tromey@redhat.com>
10265
10266         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10267         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10268
10269 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10270
10271         * java/net/PlainDatagramSocketImpl.java
10272         (close): Use native implementation.
10273         (finalize): New method.
10274
10275         * java/net/PlainSocketImpl.java (finalize): New method.
10276
10277         * java/net/natPlainDatagramSocketImpl.cc
10278         (java/io/FileDescriptor.h): Don't include.
10279         (close): Implement method here.
10280         (create): Don't assign fd.
10281
10282         * java/net/natPlainSocketImpl.cc
10283         (java/io/FileDescriptor.h): Don't include.
10284         (create): Don't assign fd.
10285         (accept): Likewise.
10286         (close): Synchronize.
10287
10288 2002-03-27  Richard Henderson  <rth@redhat.com>
10289
10290         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10291
10292 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10293
10294         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10295         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10296         instead of syscall on IA-64.
10297         Add FIXME comment.
10298
10299 2002-03-27  Anthony Green  <green@redhat.com>
10300
10301         * libgcj.spec.in: Add CHECKREFSPEC.
10302         * configure.in: Ditto.
10303         * configure.host: Ditto.  Check references for xscale-elf.
10304         * configure: Rebuilt.
10305
10306 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10307
10308         * include/dwarf2-signal.h: Temporarily back out last change.
10309
10310 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10311
10312         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10313
10314 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10315
10316         * configure.in, configure: enable dwarf2-exception-style
10317         exception handling on IA-64.
10318         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10319         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10320         Add FIXME comment.
10321
10322 2002-03-25  Tom Tromey  <tromey@redhat.com>
10323
10324         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10325         (jv_convert_LDFLAGS): Likewise.
10326         (gij_LDFLAGS): Likewise.
10327         (rmic_LDFLAGS): Likewise.
10328         (rmiregistry_LDFLAGS): Likewise.
10329         * configure.in (THREADLDFLAGS): New subst; set correctly for
10330         *BSD.
10331
10332 2002-03-25  Tom Tromey  <tromey@redhat.com>
10333
10334         For PR libgcj/5303:
10335         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10336         and --version.
10337         (help): New method.
10338         (version): Likewise.
10339         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10340         "GNU".
10341         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10342         "GNU".
10343
10344 2002-03-25  Tom Tromey  <tromey@redhat.com>
10345
10346         * java/awt/Component.java (processEvent): Check ComponentEvent
10347         after KeyEvent.
10348
10349 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10350
10351         * java/io/PushbackReader.java: Reformat.
10352
10353         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10354         calculate correct number of bytes skipped.
10355
10356         Based on patch from Intel's ORP team:
10357         * java/io/PushbackInputStream.java (available): Calculate correct
10358         number of bytes in buffer.
10359         (read): Remove redundant bound check. Return bytes from both the
10360         buffer and the stream.
10361
10362 2002-03-24  Tom Tromey  <tromey@redhat.com>
10363
10364         * java/awt/TextComponent.java (TextComponent): Editable by
10365         default.
10366
10367         * java/awt/MenuItem.java (eventMask): No longer private.
10368         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10369         superclass if we didn't handle event.
10370         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10371         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10372         * java/awt/Choice.java (dispatchEventImpl): New method.
10373         * java/awt/List.java (dispatchEventImpl): New method.
10374         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10375         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10376         * java/awt/TextField.java (dispatchEventImpl): New method.
10377
10378 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10379
10380         * java/beans/IntrospectionException.java: Update to 1.4.
10381         * java/beans/PropertyVetoException.java: Ditto.
10382
10383 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10384
10385         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10386         Arrays.equals instead of ArrayHelper.equalsArray.
10387
10388 2002-03-24  C. Brian Jones <cbj@gnu.org>
10389
10390         * java/beans/Introspector.java: added new static final fields
10391         introduced in 1.2, lots of other updates remain to be done
10392
10393 2002-03-24  C. Brian Jones <cbj@gnu.org>
10394
10395         * java/beans/Introspector.java: reformatting
10396
10397 2002-03-24  C. Brian Jones <cbj@gnu.org>
10398
10399         * java/beans/Introspector.java: default beanInfoSearchPath will
10400         not include sun.beans.infos given we provide no such package and
10401         the API doesn't really require it; gnu.java.beans.info is the
10402         default.
10403
10404 2002-03-24  Mark Wielaard  <mark@klomp.org>
10405
10406         Thanks to Orp developers
10407         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10408         switch TRUE and FALSE return values.
10409
10410 2002-03-23  Tom Tromey  <tromey@redhat.com>
10411
10412         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10413         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10414
10415 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10416
10417         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10418         MONTH entry.  Fixes PR libgcj/6045.
10419
10420 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10421
10422         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10423
10424 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10425
10426         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10427         not release_set.
10428         * sysdep/powerpc/locks.h (write_barrier): New function.
10429         * sysdep/i386/locks.h (write_barrier): New function.
10430
10431 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10432
10433         * include/jni.h Use correct C comments.
10434
10435 2002-03-18  Tom Tromey  <tromey@redhat.com>
10436
10437         * include/jni.h (JNIIMPORT): New macro.
10438         (JNIEXPORT): Likewise.
10439         (JNICALL): Likewise.
10440
10441 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10442
10443         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10444         systems.
10445
10446 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10447
10448         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10449         INIT_SEGV: Use old_i386_kernel_sigaction.
10450         INIT_FP: Likewise.
10451
10452 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10453
10454         * java/lang/natSystem.cc (init_properties): Update VM version
10455         properties.
10456         * configure.in: Set GCJVERSION.
10457         * acconfig.h: Add GCJVERSION.
10458         * configure: Rebuilt.
10459         * include/config.h.in: Rebuilt.
10460
10461 2002-03-17  Anthony Green  <green@redhat.com>
10462
10463         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10464
10465 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10466
10467         Build a single libgcj.so, without separate gc and zlib libraries.
10468         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10469         SYS_ZLIBS if system zlib is used.
10470         * configure: Rebuilt.
10471         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10472         * Makefile.in: Rebuilt.
10473         * libtool-version: Increment .so version number.
10474
10475         * Makefile.am: Escape quotes in echo.
10476         * Makefile.in: Rebuilt.
10477
10478 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10479
10480         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10481         * Makefile.in: Rebuilt.
10482
10483 2002-03-15  Anthony Green  <green@redhat.com>
10484
10485         * configure.host (FILE): New macro for specifing File
10486         implementation.
10487         * configure: Rebuilt.
10488         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10489
10490 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10491
10492         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10493         already implicitly brought in from libgcj.la.
10494         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10495         * Makefile.in: Rebuilt.
10496
10497 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10498
10499         * THANKS: Fix punctuation, alphabetization.
10500
10501 2002-03-15  Tom Tromey  <tromey@redhat.com>
10502             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10503
10504         Fix for PR libgcj/5944.
10505         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10506
10507 2002-03-15  Anthony Green  <green@redhat.com>
10508
10509         * configure.in (tool_include_dir): Define.
10510         * configure: Rebuilt.
10511         * gcj/Makefile.am: Install libgcj-config.h relative to
10512         tool_include_dir.
10513         * gcj/Makefile: Rebuilt.
10514         * gcj/libgcj-config.h: Add warning comment.
10515
10516 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10517
10518         * configure.host (powerpc*-darwin*): Enable interpreter.
10519
10520 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10521
10522         * include/posix.h: Add multiple include header protection.
10523         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10524
10525 2002-03-10  Adam Megacz <adam@xwt.org>
10526
10527         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10528
10529 2002-03-10  Tom Tromey  <tromey@redhat.com>
10530
10531         * java/awt/GridLayout.java (layoutContainer): Handle case where
10532         there are no items in container.
10533
10534         * java/lang/Win32Process.java: Added comment.
10535         * include/posix.h (_Jv_platform_close_on_exec): New function.
10536         Include fcntl.h.
10537         * include/win32.h (_Jv_platform_close_on_exec): New function.
10538         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10539         flag.
10540         (accept): Likewise.
10541         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10542         close-on-exec flag.
10543         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10544         flag.
10545
10546 2002-03-09  Tom Tromey  <tromey@redhat.com>
10547
10548         * verify.cc (state::NO_STACK): New constant.
10549         (state::is_unmerged_ret_state): Handle case where stacktop is
10550         NO_STACK.
10551         (state::merge): Handle NO_STACK merges.
10552         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10553         for instruction following jsr.
10554         (stacktop, stackdepth): Removed unused variables.
10555         (pop_jump): Ignore case where all remaining states are skipped.
10556
10557 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10558
10559         * java/awt/ImageMediaEntry: Removed.
10560         * java/awt/MediaEntry: Removed.
10561
10562 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10563
10564         Hashtable synchronization for PowerPC.
10565         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10566         slow_pthread_self. Set up symlink for sysdeps directory.
10567         * configure: Rebuild.
10568         * configure.host: Document more shell variables. Set sysdeps_dir
10569         for most platforms. Set slow_pthread_self for i686. Set
10570         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10571         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10572         that memory barrier is emitted where required.
10573         * prims.cc: 64-bit align static primitive class instances.
10574         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10575         read_barrier() to enforce ordering of reads.
10576         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10577         primitives for PowerPC.
10578         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10579         moved from natObject.cc.
10580         * sysdep/alpha/locks.h: Likewise.
10581         * sysdep/ia64/locks.h: Likewise.
10582         * sysdep/generic/locks.h: Likewise.
10583         * java/lang/natObject.cc: Move thread synchronization primitives to
10584         system-dependent headers.
10585
10586 2002-03-09  Adam Megacz  <adam@xwt.org>
10587
10588         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10589         bytes read and no failure code returned.
10590
10591 2002-03-09  Adam Megacz  <adam@xwt.org>
10592
10593         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10594         definitions to simulate -mthreads.
10595
10596 2002-03-09  Adam Megacz  <adam@xwt.org>
10597
10598         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10599         avoid precision loss.
10600
10601 2002-03-09  Per Bothner  <per@bothner.com>
10602
10603         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10604         * gnu/gcj/xlib/XImage.java:  Likewise.
10605         * gnu/gcj/xlib/XColor.java:  Likewise.
10606
10607 2002-03-09  Adam Megacz  <adam@xwt.org>
10608
10609         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10610         IOException so that Throwable.printStackTrace fails correctly.
10611
10612 2002-03-08  Adam Megacz  <adam@xwt.org>
10613
10614         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10615         fixed.
10616
10617 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10618
10619         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10620         truncated to int.
10621
10622 2002-03-08  Tom Tromey  <tromey@redhat.com>
10623
10624         * include/jni.h: Include stdio.h.
10625
10626 2002-03-08  Tom Tromey  <tromey@redhat.com>
10627
10628         * posix.cc (internal_gettimeofday): New function.
10629         (_Jv_select): Use it.
10630
10631 2002-03-07  Adam Megacz  <adam@xwt.org>
10632
10633         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10634         WIN32, and added thunks for read(), write(), and close().
10635         * java/net/natPlainSocketImpl.cc (accept, read, read):
10636         Disabled timeouts on WIN32 pending discussion.
10637
10638 2002-03-07  Adam Megacz  <adam@xwt.org>
10639
10640         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10641         returns jlong. Added implementation
10642         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10643         returns jlong.
10644         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10645         returns jlong.
10646         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10647         returns jlong.
10648         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10649         _Jv_platform_gettimeofday signature.
10650
10651 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10652
10653         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10654         (read): Call recv() directly, not _Jv_recv().
10655
10656 2002-03-06  Tom Tromey  <tromey@redhat.com>
10657
10658         * java/io/natFileDescriptorEcos.cc (init): Don't use
10659         GetStdHandle.
10660         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10661         is negative.
10662         (init): Don't use GetStdHandle.
10663
10664         * include/config.h.in: Rebuilt.
10665         * configure: Rebuilt.
10666         * Makefile.in: Rebuilt.
10667
10668 2002-03-06  Adam Megacz  <adam@xwt.org>
10669
10670         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10671         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10672         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10673         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10674
10675 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10676
10677         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10678         the code for generating include/java-chartables.h.
10679         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10680         merge with Classpath.
10681         * scripts/unicode-muncher.pl: Copy from Classpath.
10682         * scritps/MakeCharTables.java: New file.
10683         * gnu/gcj/convert/Blocks-3.txt: New file.
10684         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10685         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10686         * gnu/java/lang/CharData.java: Copy from Classpath.
10687         * Makefile.am (ordinary_java_source_files): Add
10688         gnu/java/lang/CharData.java.
10689         * configure.in: Remove --enable-fast-character option.
10690         * java/lang/Character.java: Merge algorithms and Javadoc with
10691         Classpath.
10692         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10693         efficiently.
10694         * include/java-chardecomp.h: Regenerate.
10695         * include/java-chartables.h: Regenerate.
10696
10697 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10698
10699         * java/awt/MediaTracker.java: Implemented.
10700         * Makefile.am: Add MediaTracker.
10701         * Makefile.in: Rebuilt.
10702
10703 2002-03-05  Tom Tromey  <tromey@redhat.com>
10704
10705         * java/lang/natPosixProcess.cc (fail): Removed.
10706         (startProcess): Simplified error-handling.  Preserve
10707         LD_LIBRARY_PATH across exec.
10708
10709         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10710         AbstractMethodError.
10711
10712 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10713
10714         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10715         * Makefile.in: Rebuilt.
10716
10717 2002-03-03 Mark Wielaard <mark@klomp.org>
10718
10719         * java/util/Timer (TaskQueue.stop): set elements to zero.
10720
10721 2002-02-28  Anthony Green  <green@redhat.com>
10722
10723         * java/lang/reflect/natMethod.cc (result): Add void* element.
10724         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10725         constructor test.
10726
10727 2002-02-27  Adam Megacz <adam@xwt.org>
10728
10729         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10730         '#undef STRICT'.
10731
10732 2002-02-26  Tom Tromey  <tromey@redhat.com>
10733
10734         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10735         * gij.cc (version): Use __VERSION__.
10736         * include/config.h.in: Rebuilt.
10737         * acconfig.h (GCJVERSION): Removed.
10738         * configure: Rebuilt.
10739         * configure.in (GCJVERSION): Removed.
10740
10741 2002-02-26  Andreas Schwab  <schwab@suse.de>
10742
10743         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10744         glibcpp_CXX, since libjava uses even another CXX.
10745         * aclocal.m4, configure: Regenerated.
10746
10747 2002-02-26  Tom Tromey  <tromey@redhat.com>
10748
10749         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10750         `1'.
10751
10752 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10753
10754         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10755         dependency tracking for .java files.
10756         * Makefile.in: Rebuilt.
10757
10758 2002-02-24  Adam Megacz  <adam@xwt.org>
10759
10760         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10761         typo. Sorry.
10762
10763 2002-02-24  Adam Megacz  <adam@xwt.org>
10764
10765         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10766         for Win32, changed #ifdefs to check WIN32 instead of the
10767         (now-obsolete) USE_WINSOCK, and removed support for socket
10768         timeouts on Win32 pending further discussion.
10769
10770 2002-02-24  Adam Megacz  <adam@xwt.org>
10771
10772         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10773         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10774         delete
10775
10776 2002-02-24  Adam Megacz  <adam@xwt.org>
10777
10778         * java/lang/Win32Process.java: Created a dummy class to allow
10779         build process to run to completion.
10780
10781 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10782
10783         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10784         Define ffi_result union for ffi_call result.  Cast
10785         ffi_result members to jvalue.
10786
10787 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10788
10789         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10790         * testsuite/Makefile.in: Likewise.
10791
10792 2002-02-20  Per Bothner  <per@bothner.com>
10793
10794         * java/net/URL.java (getPath):  New JDK 1.3 method.
10795
10796         * java/net/URLStreamHandler.java (parseURL):
10797         It is wrong to prepend '/' to the file part of a relative url.
10798
10799         * java/net/URLStreamHandler.java (parseURL):
10800         Minor optizations - append '/' rather than "/".
10801
10802         * java/net/URLStreamHandler.java (parseURL):
10803         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10804         We probably should canonicalize for a context-relative url, though.
10805         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10806         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10807         (sameFile):  New method.  Uses canonicalizeFilename.
10808
10809 2002-02-22  Tom Tromey  <tromey@redhat.com>
10810
10811         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10812         java.vendor and java.vm.vendor.
10813         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10814         recent copyright date.
10815         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10816         * gij.cc (version): Print `Inc'.
10817
10818 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10819
10820         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10821         * aclocal.m4, configure: Rebuilt.
10822
10823 2002-02-20  Per Bothner  <per@bothner.com>
10824
10825         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10826         and/or output streams immediately here, instead of using File.exists.
10827         (inputStream, outputStream):  New fields to save open streams.
10828         (getInputStream, getOutputStream):  Use already-opened streams.
10829
10830 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10831
10832         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10833         Use it.
10834         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10835         * aclocal.m4, configure, Makefile.in: Rebuilt.
10836
10837 2002-02-19  Tom Tromey  <tromey@redhat.com>
10838
10839         Fix for PR libgcj/5696:
10840         * verify.cc (is_assignable_from_slow): Never call
10841         _Jv_IsAssignableFrom.
10842         (verify_instructions_0): Added new debug statement.
10843         (state::print): Print information about whether local has
10844         changed.
10845         (state::merge): Don't call note_variable when merging locals.
10846         (state::set_exception): Removed old FIXME comment.
10847
10848 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10849
10850         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10851         enable SO_BROADCAST.
10852
10853 2002-02-18  Jason Merrill  <jason@redhat.com>
10854
10855         * name-finder.cc (toHex): Use word mode, not long long.
10856
10857         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10858
10859 2002-02-15  Tom Tromey  <tromey@redhat.com>
10860
10861         Fix for PR libgcj/5695:
10862         * verify.cc (is_assignable_from_slow): Check to see if target is
10863         an Object before checking to see if source is an interface.
10864         (verify_instructions_0) [op_invokeinterface]: Handle case where
10865         we're making an interface call on Object.
10866
10867 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10868
10869         * Makefile.in: Rebuilt with Eric's change below.
10870
10871         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10872         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10873         Removed functions which are now implemented in Math.java.
10874
10875 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10876
10877         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10878         * Makefile.am (core_java_source_files): Add
10879         java/lang/StrictMath.java.
10880         * java/lang/Math.java: Merge with Classpath.
10881         * java/lang/StrictMath.java: New file - merge with Classpath.
10882
10883 2002-02-14  Mark Wielaard  <mark@klomp.org>
10884
10885         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10886         package as a workaround for gcj 3.0.x
10887
10888 2002-02-14  Mark Wielaard <mark@klomp.org>
10889
10890         * java/security/BasicPermission.java: extends with fully qualified
10891         classname as workaround for gcj 3.0.4.
10892
10893 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10894
10895         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10896         around gcj bug of wrong emitted qualifier for inherited method.
10897         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10898         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10899         constructor to reduce amount of emitted bytecode. While this
10900         happens to work around a jikes 1.15 bug, it is still a useful
10901         patch even for correct compilers.
10902         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10903         * gnu/java/rmi/server/UnicastRemoteCall.java
10904         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10905
10906 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10907
10908         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10909         * java/net/SocketImpl.java: Ditto.
10910         * java/rmi/server/RMIClassLoader.java: Ditto.
10911         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10912
10913 2002-02-14  Mark Wielaard <mark@klomp.org>
10914
10915         Thanks to Takashi Okamoto
10916         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10917         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10918         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10919
10920 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10921
10922         Fix for PR libgcj/5670:
10923         * verify.cc (is_assignable_from_slow): If `source' is interface,
10924         recursively look for merge with `target'.
10925
10926 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10927
10928         * include/jni.h: Fix typo.
10929
10930 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10931
10932         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10933         correctly.
10934
10935 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10936
10937         Fix for PR libgcj/5671:
10938         * verify.cc (state::merge): Handle case where we're merging
10939         against an interface.
10940
10941 2002-02-12  Tom Tromey  <tromey@redhat.com>
10942
10943         * exception.cc (std::abort): Mark as noreturn.
10944
10945 2002-02-12  Adam Megacz <adam@xwt.org>
10946
10947         * java/lang/Win32Process.java: Filled in a placeholder
10948         implementation so Win32 will build.
10949
10950 2002-02-12  Adam Megacz <adam@xwt.org>
10951
10952         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10953         * java/io/natFile.cc: Removed from repository.
10954         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10955
10956 2002-02-12  Adam Megacz <adam@xwt.org>
10957
10958         * win32.cc: Added two #includes to make win32.cc compile.
10959
10960 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10961
10962         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10963         declarations.
10964         (_Jv_InitGC): Don't bother locking, as this is always called from a
10965         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10966
10967 2002-02-11  Adam Megacz <adam@xwt.org>
10968
10969         * include/win32.h: Added _Jv_platform_gettimeofday.
10970         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10971
10972 2002-02-11  Adam Megacz <adam@xwt.org>
10973
10974         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10975         Added #undef STRICT to make windows.h and
10976         java/lang/reflect/Modifier.h cooperate.
10977
10978 2002-02-11  Adam Megacz <adam@xwt.org>
10979
10980         * java/io/natFileWin32.cc: Created a placeholder class with lots
10981         of FIXMEs.
10982
10983 2002-02-11  Adam Megacz <adam@xwt.org>
10984
10985         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10986         std::abort() to simply abort(). Also added "fake" std::abort() so
10987         we can #include unwind-pe.h without having to link against
10988         libstdc++-v3.
10989
10990 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10991
10992         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10993
10994 2002-02-08  Tom Tromey  <tromey@redhat.com>
10995
10996         * interpret.cc (convert): New function.
10997         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10998         convert.
10999         Include Long.h.
11000
11001 2002-02-08  Anthony Green  <green@redhat.com>
11002
11003         * configure.host: Add support for xscale-elf embedded target.
11004
11005 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11006
11007         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11008         dereferenced.
11009         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11010         frame.
11011
11012 2002-02-07  Tom Tromey  <tromey@redhat.com>
11013
11014         * java/io/natFile.cc (_access): Use __builtin_alloca.
11015         (_stat): Likewise.
11016         (attr): Likewise.
11017         (getCanonicalPath): Likewise.
11018         (performList): Likewise.
11019         (performMkdir): Likewise.
11020         (performSetReadOnly): Likewise.
11021         (performRenameTo): Likewise.
11022         (performSetLastModified): Likewise.
11023         (performCreate): Likewise.
11024         (performDelete): Likewise.
11025
11026 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11027
11028         * HACKING: Fix URL for the automake-gcj.
11029
11030 2002-02-07  Tom Tromey  <tromey@redhat.com>
11031
11032         * java/lang/natThrowable.cc: Updated copyright.
11033         * java/io/natFileWin32.cc: Updated copyright.
11034         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11035         * win32-threads.cc: Updated copyright.
11036         * name-finder.cc: Updated copyright.
11037         * include/name-finder.h: Updated copyright.
11038
11039         * include/name-finder.h: Conditionally include sys/wait.h.
11040         * include/config.h.in: Rebuilt.
11041
11042         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11043         Size buffer based on real size of string.
11044         (_stat): Likewise.
11045         (attr): Likewise.
11046         (getCanonicalPath): Likewise.
11047         (performList): Likewise.
11048         (performMkdir): Likewise.
11049         (performSetReadOnly): Likewise.
11050         (unixroot): Removed.
11051         (performRenameTo): Likewise.
11052         (performSetLastModified): Likewise.
11053         (performCreate): Likewise.
11054         (performDelete): Likewise.
11055         (performListRoots): Always return new array.
11056
11057         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11058         * win32.cc (win32_exception_handler): Now static.
11059         * include/win32.h (_Jv_platform_initialize): Declare.
11060         (win32_exception_handler): Don't declare.
11061         * java/lang/natSystem.cc (currentTimeMillis): Use
11062         _Jv_platform_gettimeofday.
11063         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11064         (_Jv_select): Use new name.
11065         (_Jv_platform_initialize): New function.
11066         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11067         _Jv_gettimeofday.
11068         (_Jv_platform_initialize): Declare.
11069
11070         * configure: Rebuilt.
11071         * configure.in: Removed unnecessary parens.
11072
11073 2002-02-06  Adam Megacz <adam@xwt.org>
11074
11075        * configure.in: Changed mingw) to *mingw*).
11076        * win32.cc: Created this file.
11077        * win32.h: Created this file.
11078        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11079        win32_exception_handler from prims.cc to win32.cc, added
11080        header in win32.h.
11081        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11082        longer needed now that we have platform.h
11083
11084 2002-02-06  Adam Megacz <adam@xwt.org>
11085
11086         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11087         use uint<n>_t instead of LONG and BYTE
11088
11089 2002-02-06  Adam Megacz <adam@xwt.org>
11090
11091         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11092
11093 2002-02-06  Anthony Green  <green@redhat.com>
11094
11095         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11096         Implement missing method stubs.
11097         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11098         targets.
11099         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11100         concept of timezones.
11101         (init_properties): Don't refer to _Jv_Environment_Properties
11102         when this feature is not available.
11103         * include/config.h.in: Rebuilt.
11104         * acconfig.h: Add DISABLE_MAIN_ARGS.
11105         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11106         * configure: Rebuilt.
11107         * configure.in: Add --disable-main-args option.  Test for
11108           opendir function.  Replace AC_CHECK_SIZEOF with
11109           AC_COMPILE_CHECK_SIZEOF.
11110         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11111         * aclocal.m4: Rebuilt.
11112         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11113
11114 2002-02-06  Tom Tromey  <tromey@redhat.com>
11115
11116         * verify.cc (require_array_type): If argument is a null array of
11117         references, return null as the element type.
11118
11119 2002-02-06  Mark Wielaard  <mark@klomp.org>
11120
11121         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11122         duplicate of a wide type.
11123
11124 2002-02-06  Tom Tromey  <tromey@redhat.com>
11125
11126         * verify.cc (type::isnull): New method.
11127         (require_array_type): Handle case where array is null.
11128         (verify_instructions_0) [op_arraylength]: Likewise.
11129
11130 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11131
11132         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11133         Symlink PLATFORMH to platform.h.
11134         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11135         PLATFORMOBJS.
11136         * java/lang/natSystem.cc: #include platform.h not posix.h.
11137         * Makefile.in: Rebuilt with libgcj automake.
11138         * configure: Rebuilt.
11139
11140 2002-02-05  Richard Henderson  <rth@redhat.com>
11141
11142         * Makefile.in: Undo munging last change.
11143
11144 2002-02-04  Adam Megacz <adam@xwt.org>
11145
11146         * win32.cc: Created it.
11147         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11148         which is set to posix.cc or win32.cc.
11149         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11150
11151 2002-02-04  Adam Megacz <adam@xwt.org>
11152
11153         * configure.in: Corrected mingw case branches; added * before
11154         and after.
11155
11156 2002-02-04  Adam Megacz <adam@xwt.org>
11157
11158         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11159         if compiling for win32
11160
11161 2002-02-04  Adam Megacz <adam@xwt.org>
11162
11163         * win32-threads.cc: #undef STRICT after gc.h inclusion
11164
11165 2002-02-02  Tom Tromey  <tromey@redhat.com>
11166
11167         * Makefile.in: Rebuilt.
11168
11169 2002-02-02  Jason Merrill  <jason@redhat.com>
11170
11171         * Makefile.am (clean-nat): New target.
11172
11173 2002-02-02  Tom Tromey  <tromey@redhat.com>
11174
11175         * java/io/natFile.cc: Removed old "FIXME" comments.
11176
11177 2002-02-01  Tom Tromey  <tromey@redhat.com>
11178
11179         * java/lang/natPosixProcess.cc (myclose): New function.
11180         (fail): Use it.
11181         (startProcess): Likewise.
11182
11183 2002-02-01  Adam Megacz <adam@xwt.org>
11184
11185         * prims.cc: Added #undef STRICT after #include<windows.h>.
11186
11187 2002-02-01  Adam Megacz <adam@xwt.org>
11188
11189         * prims.cc
11190         (_Jv_CreateJavaVM): We now use WIN32 instead of
11191         USE_WIN32_SIGNALLING and USE_WINSOCK.
11192         (win32_exception_handler): Now throws an exception out of
11193         the signal handler; assumes SJLJ.
11194
11195 2002-02-01  Adam Megacz <adam@xwt.org>
11196
11197         * win32-threads.cc:
11198         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11199         wait() algorithm to make it safe.
11200         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11201         Added lazy creation of Win32 Events for better performance
11202         (really_start): This now uses GC_CreateThread so boehm-gc
11203         knows about new threads even when statically linked.
11204
11205 2002-02-01  Adam Megacz <adam@xwt.org>
11206
11207         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11208         enable safer wait() algorithm.
11209         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11210         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11211         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11212         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11213         instead of mutex.
11214         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11215
11216 2002-02-01  Adam Megacz <adam@xwt.org>
11217
11218         * configure.in: Added support for mingw.
11219         * java/lang/Win32Process.java: Created as empty file.
11220         * java/lang/natWin32Process.cc: Created as empty file.
11221
11222 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11223
11224         PR java/4972
11225         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11226         for libiconv in LIBICONV variable.
11227         * configure: Regenerated.
11228
11229 2002-01-31  Tom Tromey  <tromey@redhat.com>
11230
11231         * verify.cc (state::enter_subroutine): New method.
11232         (handle_jsr_insn): Use it.
11233         (state::merge): When processing a `ret', correctly use
11234         subroutine's state to determine which local variables have
11235         changed.
11236         (push_exception_jump): Don't let stack overflow.
11237
11238 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11239
11240         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11241         --version output.
11242
11243 2002-01-30  Tom Tromey  <tromey@redhat.com>
11244
11245         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11246         parameter for `recv' return type.
11247
11248         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11249         (state::merge): ... not here.
11250         (subr_entry_info): New structure.
11251         (entry_points): New field.
11252         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11253         entry_points.
11254
11255 2002-01-29  Tom Tromey  <tromey@redhat.com>
11256
11257         * java/awt/List.java (addNotify): Correctly check to see if peer
11258         does not exist.
11259
11260         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11261         to compute height of each cell, and number of columns to compute
11262         width of each cell.
11263         * java/awt/Window.java (getOwnedWindows): Don't return null.
11264         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11265         of component.  Increment x using horizontal gap, not vertical
11266         gap.
11267
11268 2002-01-28  Tom Tromey  <tromey@redhat.com>
11269
11270         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11271         `nargs' byte is number of words, not number of arguments.
11272
11273 2002-01-27  Tom Tromey  <tromey@redhat.com>
11274
11275         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11276         (when): Likewise.
11277         * java/awt/event/InputEvent.java (modifiers, when): Now
11278         package-private.
11279
11280         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11281         and to-do list.
11282         (state::merge): Use current class' class loader.
11283         (state::print): Print subroutine.
11284         (state::merge): Don't look at subroutine of unmerged `ret'.
11285
11286 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11287
11288         * nogc.cc: Remove warnings.
11289         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11290         New functions.
11291
11292 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11293
11294         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11295         int, int):  Remove empty "if" statement to work around compiler bug.
11296         (newPixels(int[], ColorModel, int, int): Likewise.
11297
11298 2002-01-25  Per Bothner  <per@bothner.com>
11299
11300         * verify.cc (verify_fail):  Change from being a top-level function
11301         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11302         Pass the current verifier to type: and state: methods as needed,
11303         for better error messages, and for resolve.
11304         (resolve):  Pass current class's loader for Class.forName and
11305         _Jv_FindClassFromSignature, rather than using the default loader.
11306         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11307         (get_type_val_for_signature):  Make non-static.
11308         (various methods):  Pass start_PC implicitly, not explicitly.
11309
11310 2002-01-25  Tom Tromey  <tromey@redhat.com>
11311
11312         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11313         loop termination condition.
11314         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11315         width.
11316
11317 2002-01-24  Tom Tromey  <tromey@redhat.com>
11318
11319         * java/awt/Shape.java: Merged with Classpath.
11320         * java/awt/Scrollbar.java: Merged with Classpath.
11321
11322         * java/awt/Container.java (addNotify): Unconditionally call
11323         addNotifyContainerChildren and superclass addNotify.
11324
11325         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11326         getAlpha, not getBlue.
11327
11328 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11329
11330         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11331
11332         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11333         (grabPixels(long)): Wait to be notified that the ImageProducer has
11334         completed.
11335
11336 2002-01-24  Per Bothner  <per@bothner.com>
11337
11338         * verify.cc (is_assignable_from_slow): If target is an interface,
11339         we must still check the source's superclass before giving up.
11340
11341 2002-01-24  Tom Tromey  <tromey@redhat.com>
11342
11343         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11344
11345 2002-01-23  Tom Tromey  <tromey@redhat.com>
11346
11347         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11348         `else'.
11349
11350         * Makefile.in: Rebuilt.
11351         * Makefile.am (awt_java_source_files): Added new files.
11352         * java/awt/Toolkit.java: Merged with Classpath.
11353         * java/awt/PrintGraphics.java: New file from Classpath.
11354         * java/awt/PrintJob.java: New file from Classpath.
11355         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11356         * java/awt/datatransfer/ClipboardOwner.java: New file from
11357         Classpath.
11358         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11359         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11360         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11361         Classpath.
11362         * java/awt/datatransfer/StringSelection.java: New file from
11363         Classpath.
11364         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11365         Classpath.
11366         * java/awt/datatransfer/Transferable.java: New file from
11367         Classpath.
11368         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11369         from Classpath.
11370
11371         * Makefile.in: Rebuilt.
11372         * Makefile.am (awt_java_source_files): Added new files.
11373         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11374         Classpath.
11375         * java/awt/image/CropImageFilter.java: New file from Classpath.
11376         * java/awt/image/FilteredImageSource.java: New file from
11377         Classpath.
11378         * java/awt/image/ImageFilter.java: New file from Classpath.
11379         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11380         * java/awt/image/PixelGrabber.java: New file from Classpath.
11381         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11382         * java/awt/image/ReplicateScaleFilter.java: New file from
11383         Classpath.
11384         * java/awt/image/ImageProducer.java: Replaced with Classpath
11385         version.
11386         * java/awt/image/ImageObserver.java: Replaced with Classpath
11387         version.
11388         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11389         version.
11390         * java/awt/GridBagConstraints.java (clone): Catch
11391         CloneNotSupportedException.
11392
11393 2002-01-23  Per Bothner  <per@bothner.com>
11394
11395         * java/lang/reflect/natField.cc (setAddr):  New function.
11396         Calls getAddr and then checks that the field isn't final.
11397         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11398         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11399         (set):  Call setAddr before check that new value has right type,
11400         to better match specified semantics.
11401
11402 2002-01-22  Tom Tromey  <tromey@redhat.com>
11403
11404         * java/awt/TextField.java: Replaced with Classpath version.
11405         * java/awt/TextArea.java: Replaced with Classpath version.
11406         * java/awt/TextComponent.java: Replaced with Classpath version.
11407
11408         * java/awt/GridBagConstraints.java: Updated copyright.
11409
11410 2002-01-22  Mark Wielaard <mark@klomp.org>
11411
11412         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11413         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11414         java/awt/Dialog.java java/awt/FileDialog.java
11415         java/awt/Font.java java/awt/FontMetrics.java
11416         java/awt/Image.java java/awt/ImageMediaEntry.java
11417         java/awt/Insets.java java/awt/List.java
11418         java/awt/MediaEntry.java java/awt/MediaTracker.java
11419         java/awt/Menu.java java/awt/MenuBar.java
11420         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11421         java/awt/PaintContext.java java/awt/Panel.java
11422         java/awt/PopupMenu.java java/awt/SystemColor.java
11423         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11424         java/awt/peer/CheckboxMenuItemPeer.java
11425         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11426         java/awt/peer/ComponentPeer.java
11427         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11428         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11429         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11430         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11431         java/awt/peer/MenuBarPeer.java
11432         java/awt/peer/MenuComponentPeer.java
11433         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11434         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11435         java/awt/peer/ScrollPanePeer.java
11436         java/awt/peer/ScrollbarPeer.java
11437         java/awt/peer/TextAreaPeer.java
11438         java/awt/peer/TextComponentPeer.java
11439         java/awt/peer/TextFieldPeer.java
11440         java/awt/peer/WindowPeer.java: Add license clarification.
11441
11442 2002-01-22  Mark Wielaard <mark@klomp.org>
11443
11444         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11445         gnu/gcj/runtime/StringBuffer.java
11446         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11447         gnu/java/awt/ComponentDataBlitOp.java
11448         gnu/java/awt/GLightweightPeer.java
11449         gnu/java/beans/BeanInfoEmbryo.java
11450         gnu/java/beans/EmptyBeanInfo.java
11451         gnu/java/beans/ExplicitBeanInfo.java
11452         gnu/java/beans/IntrospectionIncubator.java
11453         gnu/java/beans/editors/ColorEditor.java
11454         gnu/java/beans/editors/FontEditor.java
11455         gnu/java/beans/editors/NativeBooleanEditor.java
11456         gnu/java/beans/editors/NativeByteEditor.java
11457         gnu/java/beans/editors/NativeDoubleEditor.java
11458         gnu/java/beans/editors/NativeFloatEditor.java
11459         gnu/java/beans/editors/NativeIntEditor.java
11460         gnu/java/beans/editors/NativeLongEditor.java
11461         gnu/java/beans/editors/NativeShortEditor.java
11462         gnu/java/beans/editors/StringEditor.java
11463         gnu/java/beans/info/ComponentBeanInfo.java
11464         gnu/java/io/ClassLoaderObjectInputStream.java
11465         gnu/java/io/NullOutputStream.java
11466         gnu/java/io/ObjectIdentityWrapper.java
11467         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11468         gnu/java/lang/reflect/TypeSignature.java
11469         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11470         gnu/java/locale/Calendar_en.java
11471         gnu/java/locale/Calendar_nl.java
11472         gnu/java/locale/LocaleInformation.java
11473         gnu/java/locale/LocaleInformation_de.java
11474         gnu/java/locale/LocaleInformation_en.java
11475         gnu/java/locale/LocaleInformation_nl.java
11476         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11477         gnu/java/rmi/registry/RegistryImpl.java
11478         gnu/java/rmi/rmic/Compile_gcj.java
11479         gnu/java/rmi/rmic/Compiler.java
11480         gnu/java/rmi/rmic/CompilerProcess.java
11481         gnu/java/rmi/rmic/RMIC.java
11482         gnu/java/rmi/rmic/TabbedWriter.java
11483         gnu/java/rmi/server/ProtocolConstants.java
11484         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11485         gnu/java/rmi/server/RMIHashes.java
11486         gnu/java/rmi/server/RMIObjectInputStream.java
11487         gnu/java/rmi/server/RMIObjectOutputStream.java
11488         gnu/java/rmi/server/UnicastConnection.java
11489         gnu/java/rmi/server/UnicastConnectionManager.java
11490         gnu/java/rmi/server/UnicastRef.java
11491         gnu/java/rmi/server/UnicastRemoteCall.java
11492         gnu/java/rmi/server/UnicastRemoteStub.java
11493         gnu/java/rmi/server/UnicastServer.java
11494         gnu/java/rmi/server/UnicastServerRef.java
11495         gnu/java/security/provider/DefaultPolicy.java
11496         gnu/java/security/provider/Gnu.java
11497         gnu/java/security/provider/SHA.java
11498         gnu/java/security/provider/SHA1PRNG.java
11499         gnu/java/text/BaseBreakIterator.java
11500         gnu/java/text/CharacterBreakIterator.java
11501         gnu/java/text/LineBreakIterator.java
11502         gnu/java/text/SentenceBreakIterator.java
11503         gnu/java/text/WordBreakIterator.java
11504         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11505         java/applet/AppletContext.java java/applet/AppletStub.java
11506         java/applet/AudioClip.java java/awt/AWTError.java
11507         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11508         java/awt/AWTException.java java/awt/AWTPermission.java
11509         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11510         java/awt/Button.java java/awt/Canvas.java
11511         java/awt/CardLayout.java java/awt/Checkbox.java
11512         java/awt/CheckboxGroup.java java/awt/Component.java
11513         java/awt/ComponentOrientation.java java/awt/Container.java
11514         java/awt/Dimension.java java/awt/Event.java
11515         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11516         java/awt/FlowLayout.java java/awt/Frame.java
11517         java/awt/Graphics.java java/awt/Graphics2D.java
11518         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11519         java/awt/IllegalComponentStateException.java
11520         java/awt/ItemSelectable.java java/awt/Label.java
11521         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11522         java/awt/MenuComponent.java java/awt/MenuItem.java
11523         java/awt/Paint.java java/awt/Point.java
11524         java/awt/Rectangle.java java/awt/RenderingHints.java
11525         java/awt/Transparency.java java/awt/Window.java
11526         java/awt/color/ColorSpace.java
11527         java/awt/color/ICC_ColorSpace.java
11528         java/awt/color/ICC_Profile.java
11529         java/awt/event/HierarchyBoundsAdapter.java
11530         java/awt/event/HierarchyBoundsListener.java
11531         java/awt/event/HierarchyEvent.java
11532         java/awt/event/HierarchyListener.java
11533         java/awt/geom/AffineTransform.java
11534         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11535         java/awt/geom/IllegalPathStateException.java
11536         java/awt/geom/Line2D.java
11537         java/awt/geom/NoninvertibleTransformException.java
11538         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11539         java/awt/geom/Rectangle2D.java
11540         java/awt/geom/RectangularShape.java
11541         java/awt/geom/RoundRectangle2D.java
11542         java/awt/image/BufferedImage.java
11543         java/awt/image/ColorModel.java
11544         java/awt/image/ComponentColorModel.java
11545         java/awt/image/ComponentSampleModel.java
11546         java/awt/image/DataBuffer.java
11547         java/awt/image/DataBufferByte.java
11548         java/awt/image/DataBufferInt.java
11549         java/awt/image/DataBufferUShort.java
11550         java/awt/image/DirectColorModel.java
11551         java/awt/image/PackedColorModel.java
11552         java/awt/image/Raster.java java/awt/image/RasterOp.java
11553         java/awt/image/SampleModel.java
11554         java/awt/image/SinglePixelPackedSampleModel.java
11555         java/awt/image/WritableRaster.java
11556         java/beans/AppletInitializer.java
11557         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11558         java/beans/Beans.java java/beans/Customizer.java
11559         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11560         java/beans/FeatureDescriptor.java
11561         java/beans/IndexedPropertyDescriptor.java
11562         java/beans/IntrospectionException.java
11563         java/beans/Introspector.java java/beans/MethodDescriptor.java
11564         java/beans/ParameterDescriptor.java
11565         java/beans/PropertyChangeEvent.java
11566         java/beans/PropertyChangeListener.java
11567         java/beans/PropertyChangeSupport.java
11568         java/beans/PropertyDescriptor.java
11569         java/beans/PropertyEditor.java
11570         java/beans/PropertyEditorManager.java
11571         java/beans/PropertyEditorSupport.java
11572         java/beans/PropertyVetoException.java
11573         java/beans/SimpleBeanInfo.java
11574         java/beans/VetoableChangeListener.java
11575         java/beans/VetoableChangeSupport.java
11576         java/beans/Visibility.java
11577         java/beans/beancontext/BeanContext.java
11578         java/beans/beancontext/BeanContextChild.java
11579         java/beans/beancontext/BeanContextChildComponentProxy.java
11580         java/beans/beancontext/BeanContextChildSupport.java
11581         java/beans/beancontext/BeanContextContainerProxy.java
11582         java/beans/beancontext/BeanContextEvent.java
11583         java/beans/beancontext/BeanContextMembershipEvent.java
11584         java/beans/beancontext/BeanContextMembershipListener.java
11585         java/beans/beancontext/BeanContextProxy.java
11586         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11587         java/beans/beancontext/BeanContextServiceProvider.java
11588         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11589         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11590         java/beans/beancontext/BeanContextServiceRevokedListener.java
11591         java/beans/beancontext/BeanContextServices.java
11592         java/beans/beancontext/BeanContextServicesListener.java
11593         java/io/BufferedInputStream.java
11594         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11595         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11596         java/io/ByteArrayOutputStream.java
11597         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11598         java/io/CharConversionException.java java/io/DataInput.java
11599         java/io/DataInputStream.java java/io/DataOutput.java
11600         java/io/EOFException.java java/io/Externalizable.java
11601         java/io/FileFilter.java java/io/FileNotFoundException.java
11602         java/io/FilePermission.java java/io/FileReader.java
11603         java/io/FileWriter.java java/io/FilenameFilter.java
11604         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11605         java/io/FilterReader.java java/io/FilterWriter.java
11606         java/io/IOException.java java/io/InputStream.java
11607         java/io/InterruptedIOException.java
11608         java/io/InvalidClassException.java
11609         java/io/InvalidObjectException.java
11610         java/io/NotActiveException.java
11611         java/io/NotSerializableException.java java/io/ObjectInput.java
11612         java/io/ObjectInputStream.java
11613         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11614         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11615         java/io/ObjectStreamConstants.java
11616         java/io/ObjectStreamException.java
11617         java/io/ObjectStreamField.java
11618         java/io/OptionalDataException.java java/io/OutputStream.java
11619         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11620         java/io/PipedReader.java java/io/PipedWriter.java
11621         java/io/PrintWriter.java java/io/PushbackInputStream.java
11622         java/io/PushbackReader.java java/io/Reader.java
11623         java/io/SequenceInputStream.java java/io/Serializable.java
11624         java/io/SerializablePermission.java
11625         java/io/StreamCorruptedException.java
11626         java/io/StreamTokenizer.java
11627         java/io/StringBufferInputStream.java java/io/StringReader.java
11628         java/io/StringWriter.java java/io/SyncFailedException.java
11629         java/io/UTFDataFormatException.java
11630         java/io/UnsupportedEncodingException.java
11631         java/io/WriteAbortedException.java java/io/Writer.java
11632         java/lang/AbstractMethodError.java
11633         java/lang/ArithmeticException.java
11634         java/lang/ArrayIndexOutOfBoundsException.java
11635         java/lang/ArrayStoreException.java java/lang/Boolean.java
11636         java/lang/Byte.java java/lang/CharSequence.java
11637         java/lang/ClassCastException.java
11638         java/lang/ClassCircularityError.java
11639         java/lang/ClassFormatError.java
11640         java/lang/ClassNotFoundException.java
11641         java/lang/CloneNotSupportedException.java
11642         java/lang/Cloneable.java java/lang/Comparable.java
11643         java/lang/Compiler.java java/lang/Double.java
11644         java/lang/Error.java java/lang/Exception.java
11645         java/lang/ExceptionInInitializerError.java
11646         java/lang/Float.java java/lang/IllegalAccessError.java
11647         java/lang/IllegalAccessException.java
11648         java/lang/IllegalArgumentException.java
11649         java/lang/IllegalMonitorStateException.java
11650         java/lang/IllegalStateException.java
11651         java/lang/IllegalThreadStateException.java
11652         java/lang/IncompatibleClassChangeError.java
11653         java/lang/IndexOutOfBoundsException.java
11654         java/lang/InheritableThreadLocal.java
11655         java/lang/InstantiationError.java
11656         java/lang/InstantiationException.java java/lang/Integer.java
11657         java/lang/InternalError.java
11658         java/lang/InterruptedException.java
11659         java/lang/LinkageError.java java/lang/Long.java
11660         java/lang/NegativeArraySizeException.java
11661         java/lang/NoClassDefFoundError.java
11662         java/lang/NoSuchFieldError.java
11663         java/lang/NoSuchFieldException.java
11664         java/lang/NoSuchMethodError.java
11665         java/lang/NoSuchMethodException.java
11666         java/lang/NullPointerException.java java/lang/Number.java
11667         java/lang/NumberFormatException.java
11668         java/lang/OutOfMemoryError.java java/lang/Package.java
11669         java/lang/Process.java java/lang/Runnable.java
11670         java/lang/RuntimeException.java
11671         java/lang/RuntimePermission.java
11672         java/lang/SecurityException.java
11673         java/lang/SecurityManager.java java/lang/Short.java
11674         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11675         java/lang/StringIndexOutOfBoundsException.java
11676         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11677         java/lang/ThreadLocal.java java/lang/UnknownError.java
11678         java/lang/UnsatisfiedLinkError.java
11679         java/lang/UnsupportedClassVersionError.java
11680         java/lang/UnsupportedOperationException.java
11681         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11682         java/lang/Void.java java/lang/ref/PhantomReference.java
11683         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11684         java/lang/ref/SoftReference.java
11685         java/lang/ref/WeakReference.java
11686         java/lang/reflect/AccessibleObject.java
11687         java/lang/reflect/InvocationTargetException.java
11688         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11689         java/lang/reflect/ReflectPermission.java
11690         java/math/BigDecimal.java java/math/BigInteger.java
11691         java/net/Authenticator.java java/net/BindException.java
11692         java/net/ConnectException.java java/net/ContentHandler.java
11693         java/net/ContentHandlerFactory.java
11694         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11695         java/net/FileNameMap.java java/net/MalformedURLException.java
11696         java/net/MulticastSocket.java java/net/NetPermission.java
11697         java/net/NoRouteToHostException.java
11698         java/net/PasswordAuthentication.java
11699         java/net/ProtocolException.java java/net/ServerSocket.java
11700         java/net/Socket.java java/net/SocketException.java
11701         java/net/SocketImpl.java java/net/SocketImplFactory.java
11702         java/net/SocketOptions.java java/net/SocketPermission.java
11703         java/net/URLDecoder.java java/net/URLEncoder.java
11704         java/net/URLStreamHandlerFactory.java
11705         java/net/UnknownHostException.java
11706         java/net/UnknownServiceException.java
11707         java/rmi/AccessException.java
11708         java/rmi/AlreadyBoundException.java
11709         java/rmi/ConnectException.java
11710         java/rmi/ConnectIOException.java
11711         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11712         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11713         java/rmi/NotBoundException.java
11714         java/rmi/RMISecurityException.java
11715         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11716         java/rmi/RemoteException.java java/rmi/ServerError.java
11717         java/rmi/ServerException.java
11718         java/rmi/ServerRuntimeException.java
11719         java/rmi/StubNotFoundException.java
11720         java/rmi/UnexpectedException.java
11721         java/rmi/UnknownHostException.java
11722         java/rmi/UnmarshalException.java
11723         java/rmi/activation/Activatable.java
11724         java/rmi/activation/ActivateFailedException.java
11725         java/rmi/activation/ActivationDesc.java
11726         java/rmi/activation/ActivationException.java
11727         java/rmi/activation/ActivationGroup.java
11728         java/rmi/activation/ActivationGroupDesc.java
11729         java/rmi/activation/ActivationGroupID.java
11730         java/rmi/activation/ActivationID.java
11731         java/rmi/activation/ActivationInstantiator.java
11732         java/rmi/activation/ActivationMonitor.java
11733         java/rmi/activation/ActivationSystem.java
11734         java/rmi/activation/Activator.java
11735         java/rmi/activation/UnknownGroupException.java
11736         java/rmi/activation/UnknownObjectException.java
11737         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11738         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11739         java/rmi/registry/Registry.java
11740         java/rmi/registry/RegistryHandler.java
11741         java/rmi/server/ExportException.java
11742         java/rmi/server/LoaderHandler.java
11743         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11744         java/rmi/server/Operation.java
11745         java/rmi/server/RMIClassLoader.java
11746         java/rmi/server/RMIClientSocketFactory.java
11747         java/rmi/server/RMIFailureHandler.java
11748         java/rmi/server/RMIServerSocketFactory.java
11749         java/rmi/server/RMISocketFactory.java
11750         java/rmi/server/RemoteCall.java
11751         java/rmi/server/RemoteObject.java
11752         java/rmi/server/RemoteRef.java
11753         java/rmi/server/RemoteServer.java
11754         java/rmi/server/RemoteStub.java
11755         java/rmi/server/ServerCloneException.java
11756         java/rmi/server/ServerNotActiveException.java
11757         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11758         java/rmi/server/SkeletonMismatchException.java
11759         java/rmi/server/SkeletonNotFoundException.java
11760         java/rmi/server/SocketSecurityException.java
11761         java/rmi/server/UID.java
11762         java/rmi/server/UnicastRemoteObject.java
11763         java/rmi/server/Unreferenced.java
11764         java/security/AccessControlContext.java
11765         java/security/AccessControlException.java
11766         java/security/AccessController.java
11767         java/security/AlgorithmParameterGenerator.java
11768         java/security/AlgorithmParameterGeneratorSpi.java
11769         java/security/AlgorithmParameters.java
11770         java/security/AlgorithmParametersSpi.java
11771         java/security/AllPermission.java
11772         java/security/BasicPermission.java
11773         java/security/Certificate.java java/security/CodeSource.java
11774         java/security/DigestException.java
11775         java/security/DigestInputStream.java
11776         java/security/DigestOutputStream.java
11777         java/security/DomainCombiner.java
11778         java/security/DummyKeyPairGenerator.java
11779         java/security/DummyMessageDigest.java
11780         java/security/DummySignature.java
11781         java/security/GeneralSecurityException.java
11782         java/security/Guard.java java/security/GuardedObject.java
11783         java/security/Identity.java java/security/IdentityScope.java
11784         java/security/InvalidAlgorithmParameterException.java
11785         java/security/InvalidKeyException.java
11786         java/security/InvalidParameterException.java
11787         java/security/Key.java java/security/KeyException.java
11788         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11789         java/security/KeyManagementException.java
11790         java/security/KeyPair.java java/security/KeyPairGenerator.java
11791         java/security/KeyPairGeneratorSpi.java
11792         java/security/KeyStore.java
11793         java/security/KeyStoreException.java
11794         java/security/KeyStoreSpi.java
11795         java/security/MessageDigest.java
11796         java/security/MessageDigestSpi.java
11797         java/security/NoSuchAlgorithmException.java
11798         java/security/NoSuchProviderException.java
11799         java/security/Permission.java
11800         java/security/PermissionCollection.java
11801         java/security/Permissions.java java/security/Policy.java
11802         java/security/Principal.java java/security/PrivateKey.java
11803         java/security/PrivilegedAction.java
11804         java/security/PrivilegedActionException.java
11805         java/security/PrivilegedExceptionAction.java
11806         java/security/ProtectionDomain.java
11807         java/security/Provider.java
11808         java/security/ProviderException.java
11809         java/security/PublicKey.java
11810         java/security/SecureClassLoader.java
11811         java/security/SecureRandom.java
11812         java/security/SecureRandomSpi.java java/security/Security.java
11813         java/security/SecurityPermission.java
11814         java/security/Signature.java
11815         java/security/SignatureException.java
11816         java/security/SignatureSpi.java
11817         java/security/SignedObject.java java/security/Signer.java
11818         java/security/UnrecoverableKeyException.java
11819         java/security/UnresolvedPermission.java
11820         java/security/acl/Acl.java java/security/acl/AclEntry.java
11821         java/security/acl/AclNotFoundException.java
11822         java/security/acl/Group.java
11823         java/security/acl/LastOwnerException.java
11824         java/security/acl/NotOwnerException.java
11825         java/security/acl/Owner.java java/security/acl/Permission.java
11826         java/security/cert/CRL.java
11827         java/security/cert/CRLException.java
11828         java/security/cert/Certificate.java
11829         java/security/cert/CertificateEncodingException.java
11830         java/security/cert/CertificateException.java
11831         java/security/cert/CertificateExpiredException.java
11832         java/security/cert/CertificateFactory.java
11833         java/security/cert/CertificateFactorySpi.java
11834         java/security/cert/CertificateNotYetValidException.java
11835         java/security/cert/CertificateParsingException.java
11836         java/security/cert/X509CRL.java
11837         java/security/cert/X509CRLEntry.java
11838         java/security/cert/X509Certificate.java
11839         java/security/cert/X509Extension.java
11840         java/security/interfaces/DSAKey.java
11841         java/security/interfaces/DSAKeyPairGenerator.java
11842         java/security/interfaces/DSAParams.java
11843         java/security/interfaces/DSAPrivateKey.java
11844         java/security/interfaces/DSAPublicKey.java
11845         java/security/interfaces/RSAKey.java
11846         java/security/interfaces/RSAPrivateCrtKey.java
11847         java/security/interfaces/RSAPrivateKey.java
11848         java/security/interfaces/RSAPublicKey.java
11849         java/security/spec/AlgorithmParameterSpec.java
11850         java/security/spec/DSAParameterSpec.java
11851         java/security/spec/DSAPrivateKeySpec.java
11852         java/security/spec/DSAPublicKeySpec.java
11853         java/security/spec/EncodedKeySpec.java
11854         java/security/spec/InvalidKeySpecException.java
11855         java/security/spec/InvalidParameterSpecException.java
11856         java/security/spec/KeySpec.java
11857         java/security/spec/PKCS8EncodedKeySpec.java
11858         java/security/spec/RSAKeyGenParameterSpec.java
11859         java/security/spec/RSAPrivateCrtKeySpec.java
11860         java/security/spec/RSAPrivateKeySpec.java
11861         java/security/spec/RSAPublicKeySpec.java
11862         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11863         java/sql/BatchUpdateException.java java/sql/Blob.java
11864         java/sql/CallableStatement.java java/sql/Clob.java
11865         java/sql/Connection.java java/sql/DataTruncation.java
11866         java/sql/DatabaseMetaData.java java/sql/Date.java
11867         java/sql/Driver.java java/sql/DriverManager.java
11868         java/sql/DriverPropertyInfo.java
11869         java/sql/PreparedStatement.java java/sql/Ref.java
11870         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11871         java/sql/SQLData.java java/sql/SQLException.java
11872         java/sql/SQLInput.java java/sql/SQLOutput.java
11873         java/sql/SQLWarning.java java/sql/Statement.java
11874         java/sql/Struct.java java/sql/Time.java
11875         java/sql/Timestamp.java java/sql/Types.java
11876         java/text/Annotation.java
11877         java/text/AttributedCharacterIterator.java
11878         java/text/AttributedString.java
11879         java/text/AttributedStringIterator.java
11880         java/text/BreakIterator.java java/text/CharacterIterator.java
11881         java/text/ChoiceFormat.java java/text/Collator.java
11882         java/text/DateFormat.java java/text/DateFormatSymbols.java
11883         java/text/DecimalFormat.java
11884         java/text/DecimalFormatSymbols.java
11885         java/text/FieldPosition.java java/text/Format.java
11886         java/text/MessageFormat.java java/text/NumberFormat.java
11887         java/text/ParseException.java java/text/ParsePosition.java
11888         java/text/SimpleDateFormat.java
11889         java/text/StringCharacterIterator.java
11890         java/util/AbstractCollection.java java/util/AbstractList.java
11891         java/util/AbstractMap.java
11892         java/util/AbstractSequentialList.java
11893         java/util/AbstractSet.java java/util/ArrayList.java
11894         java/util/Arrays.java java/util/BasicMapEntry.java
11895         java/util/BitSet.java java/util/Calendar.java
11896         java/util/Collection.java java/util/Collections.java
11897         java/util/Comparator.java
11898         java/util/ConcurrentModificationException.java
11899         java/util/Date.java java/util/Dictionary.java
11900         java/util/EmptyStackException.java java/util/Enumeration.java
11901         java/util/EventListener.java java/util/EventObject.java
11902         java/util/GregorianCalendar.java java/util/HashMap.java
11903         java/util/HashSet.java java/util/Hashtable.java
11904         java/util/IdentityHashMap.java java/util/Iterator.java
11905         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11906         java/util/LinkedList.java java/util/List.java
11907         java/util/ListIterator.java java/util/ListResourceBundle.java
11908         java/util/Locale.java java/util/Map.java
11909         java/util/MissingResourceException.java
11910         java/util/NoSuchElementException.java
11911         java/util/Observable.java java/util/Observer.java
11912         java/util/Properties.java java/util/PropertyPermission.java
11913         java/util/PropertyResourceBundle.java java/util/Random.java
11914         java/util/RandomAccess.java java/util/ResourceBundle.java
11915         java/util/Set.java java/util/SimpleTimeZone.java
11916         java/util/SortedMap.java java/util/SortedSet.java
11917         java/util/Stack.java java/util/StringTokenizer.java
11918         java/util/TimeZone.java java/util/Timer.java
11919         java/util/TimerTask.java
11920         java/util/TooManyListenersException.java
11921         java/util/TreeMap.java java/util/TreeSet.java
11922         java/util/Vector.java java/util/WeakHashMap.java
11923         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11924         java/util/jar/JarException.java java/util/jar/JarFile.java
11925         java/util/jar/JarInputStream.java
11926         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11927         java/util/zip/Adler32.java java/util/zip/CRC32.java
11928         java/util/zip/CheckedInputStream.java
11929         java/util/zip/CheckedOutputStream.java
11930         java/util/zip/Checksum.java
11931         java/util/zip/DataFormatException.java
11932         java/util/zip/Deflater.java
11933         java/util/zip/DeflaterOutputStream.java
11934         java/util/zip/GZIPInputStream.java
11935         java/util/zip/GZIPOutputStream.java
11936         java/util/zip/Inflater.java
11937         java/util/zip/InflaterInputStream.java
11938         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11939         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11940         java/util/zip/ZipInputStream.java
11941         java/util/zip/ZipOutputStream.java
11942         javax/naming/BinaryRefAddr.java
11943         javax/naming/InvalidNameException.java javax/naming/Name.java
11944         javax/naming/NamingException.java javax/naming/RefAddr.java
11945         javax/naming/StringRefAddr.java: Add license clarification.
11946
11947 2002-01-22  Tom Tromey  <tromey@redhat.com>
11948
11949         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11950         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11951         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11952         version.
11953         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11954         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11955         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11956         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11957         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11958         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11959         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11960         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11961         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11962         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11963         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11964         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11965         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11966         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11967         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11968         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11969         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11970         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11971         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11972         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11973         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11974         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11975         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11976         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11977         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11978         (minimumSize, preferredSize, reshape): Likewise.
11979         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11980         getColorModel): New methods.
11981         * java/awt/PopupMenu.java: Merged with Classpath.
11982         * java/awt/MenuBar.java: Merged with Classpath.
11983         * java/awt/SystemColor.java: Replace with Classpath version.
11984         * java/awt/Panel.java: Merged with Classpath.
11985         * java/awt/PaintContext.java: Updated copyright.
11986         * java/awt/MenuShortcut.java: Merged with Classpath.
11987         * java/awt/MenuContainer.java: Merged with Classpath.
11988         * java/awt/Menu.java: Merged with Classpath.
11989         * java/awt/MediaEntry.java: New file from Classpath.
11990         * java/awt/MediaTracker.java: New file from Classpath.
11991         * java/awt/List.java: Merged with Classpath version.
11992         * java/awt/Insets.java: Merged with Classpath version.
11993         * java/awt/ImageMediaEntry.java: New file from Classpath.
11994         * java/awt/Image.java: Replaced with Classpath version.
11995         * java/awt/FontMetrics.java: Merged with Classpath version.
11996         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11997         constant.
11998         * java/awt/Font.java: Merged with Classpath version.
11999         * java/awt/Dialog.java: Merged with Classpath version.
12000         * java/awt/Color.java: Merged with Classpath version.
12001         * java/awt/Choice.java: Merged with Classpath version.
12002         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12003         * java/awt/Adjustable.java: Replace with Classpath version.
12004         * java/awt/MenuItem.java (paramString): Don't include class name
12005         or brackets.  Call superclass paramString.
12006         * java/awt/MenuComponent.java (toString): Call paramString.
12007         (paramString): Compute string; don't call toString.
12008         * java/awt/Label.java (paramString): Don't include class name
12009         or brackets.  Call superclass paramString.
12010         * java/awt/Checkbox.java (paramString): Don't include class name
12011         or brackets.  Call superclass paramString.
12012         * java/awt/Button.java (paramString): Don't include class name or
12013         brackets.  Call superclass paramString.
12014         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12015
12016 2002-01-20  Andreas Schwab  <schwab@suse.de>
12017
12018         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12019         function and of parameter recv_func to ssize_t, as specified by
12020         POSIX.
12021
12022 2002-01-19  Per Bothner  <per@bothner.com>
12023
12024         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12025         uncompressed_size in readiness for next entry.
12026
12027 2002-01-18  Tom Tromey  <tromey@redhat.com>
12028
12029         * java/net/natPlainSocketImpl.cc: Include
12030         IllegalArgumentException.h.
12031         (_Jv_recv): New template function.
12032         (BooleanClass): Removed.
12033         (read): Use _Jv_recv.
12034         (setOption): Use Boolean::class$.  Throw exception if object is
12035         not Boolean or Integer.
12036
12037 2002-01-17  Tom Tromey  <tromey@redhat.com>
12038
12039         * java/awt/MenuComponent.java: Merged with Classpath.
12040         * java/awt/MenuItem.java: Merged with Classpath.
12041         * java/awt/Button.java: Merged with Classpath.
12042
12043         * java/awt/ActiveEvent.java: Updated copyright.
12044
12045         * java/awt/AWTError.java: Replaced with Classpath version.
12046         * java/awt/AWTException.java: Replaced with Classpath version.
12047         * java/awt/IllegalComponentStateException.java: Replaced with
12048         Classpath version.
12049
12050 2002-01-16  Tom Tromey  <tromey@redhat.com>
12051
12052         * java/awt/Canvas.java (serialVersionUID): New constant.
12053         Updated copyright.  Added javadoc from Classpath.
12054         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12055
12056         * java/awt/CheckboxGroup.java: Merged with Classpath.
12057         * java/awt/Checkbox.java: Merged with Classpath.
12058
12059         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12060         Classpath.
12061         * java/awt/Point.java: Updated copyright.
12062
12063         * java/awt/Point.java (toString): Use getClass().getName().
12064         Added javadoc.
12065
12066         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12067         commented code.
12068         (hash): Correctly compute initial value for `h'.
12069
12070         * java/awt/Label.java: Merged with Classpath.
12071
12072 2002-01-15  Tom Tromey  <tromey@redhat.com>
12073
12074         * java/awt/AWTPermission.java: Updated copyright.
12075
12076         * java/awt/LayoutManager2.java: Merged with Classpath.
12077         * java/awt/LayoutManager.java: Merged with Classpath.
12078         * java/awt/GridLayout.java: Updated copyright and javadoc.
12079         (getSize): Use `parent.ncomponents'.  Handle insets.
12080         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12081         there are fewer children than columns.  Correctly compute size of
12082         each cell in the grid.  Handle case where there isn't enough
12083         space.
12084         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12085         all users.
12086         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12087         before calling setVisible() on it.  Last item is `num - 1', not
12088         `num'.
12089         (layoutContainer): Hoist invariants out of loop.
12090
12091         Start of AWT merge with Classpath:
12092         * Makefile.in: Rebuilt.
12093         * Makefile.am (awt_java_source_files): Reference files in
12094         gnu/java/awt, not gnu/gcj/awt.
12095         * java/awt/image/BufferedImage.java: Updated copyright.
12096         * java/awt/image/ComponentColorModel.java: Updated copyright.
12097         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12098         * java/awt/image/DataBuffer.java: Updated copyright.
12099         * java/awt/image/DataBufferByte.java: Updated copyright.
12100         * java/awt/image/DataBufferInt.java: Updated copyright.
12101         * java/awt/image/DataBufferUShort.java: Updated copyright.
12102         * java/awt/image/IndexColorModel.java: Updated copyright.
12103         * java/awt/image/PackedColorModel.java: Updated copyright.
12104         * java/awt/image/Raster.java: Updated copyright.
12105         * java/awt/image/RasterOp.java: Updated copyright.
12106         * java/awt/image/SampleModel.java: Updated copyright.
12107         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12108         * java/awt/image/WritableRaster.java: Updated copyright.
12109         * java/awt/color/ColorSpace.java: Updated copyright.
12110         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12111         * java/awt/color/ICC_Profile.java: Updated copyright.
12112         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12113         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12114         * java/awt/event/HierarchyEvent.java: Updated copyright.
12115         * java/awt/event/HierarchyListener.java: Updated copyright.
12116         * java/awt/geom/AffineTransform.java: Updated copyright.
12117         * java/awt/geom/Dimension2D.java: Updated copyright.
12118         * java/awt/geom/Ellipse2D.java: Updated copyright.
12119         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12120         * java/awt/geom/Line2D.java: Updated copyright.
12121         * java/awt/geom/NoninvertibleTransformException.java: Updated
12122         copyright.
12123         * java/awt/geom/PathIterator.java: Updated copyright.
12124         * java/awt/geom/Point2D.java: Updated copyright.
12125         * java/awt/geom/Rectangle2D.java: Updated copyright.
12126         * java/awt/geom/RectangularShape.java: Updated copyright.
12127         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12128         * java/awt/Toolkit.java: Updated import for file moves.
12129         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12130         Classpath.
12131         (hashCode): New method from Classpath.
12132         * java/awt/Graphics2D.java: Updated copyright.
12133         * java/awt/Transparency.java: Updated copyright.
12134         * java/awt/Paint.java: Updated copyright.
12135         * java/awt/Graphics.java: New version from Classpath.
12136         * java/awt/EventDispatchThread.java: Updated copyright.
12137         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12138         children.
12139         (gotoComponent): Wrap around on next/previous.
12140         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12141         * gnu/gcj/awt/Buffers.java: Removed.
12142         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12143         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12144         * gnu/java/awt/BitMaskExtent.java: Added.
12145         * gnu/java/awt/Buffers.java: Added.
12146         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12147         * gnu/java/awt/GLightweightPeer.java: Added.
12148         * java/awt/geom/Line2D.java (clone): Ignore
12149         CloneNotSupportedException.
12150         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12151         * java/awt/Frame.java: Merged with Classpath.
12152         * java/awt/RenderingHints.java: Copyright update.
12153         * java/awt/Paint.java: Copyright update.
12154         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12155         * java/awt/image/ColorModel.java: Merged with Classpath.
12156         * java/awt/Window.java (show): New Implementation from Classpath.
12157         (isShowing): Use super.isShowing().
12158         * java/awt/EventQueue.java: Merged with Classpath.
12159         * java/awt/AWTEventMulticaster.java (save): Throw
12160         RuntimeException.
12161         (saveInternal): Likewise.
12162         * java/awt/AWTEvent.java: Now implements Serializable.
12163         * java/awt/Event.java: Copyright update.
12164         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12165         * java/awt/image/BufferedImage.java: Copyright update.
12166         * java/awt/GraphicsConfiguration.java: Copyright update.
12167         * java/awt/Component.java: (addNotify): Don't call
12168         addNotifyContainerChildren().
12169         (addNotifyContainerChildren): Removed.
12170         (setPeer): New method from Classpath.
12171         (setTreeLock): Likewise.
12172         (setVisible): Rewrote.
12173         (show): Use it.
12174         (hide): Likewise.
12175         (validate): Set `valid'.
12176         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12177         (createImage(ImageProducer)): Likewise.
12178         (prepareImage): Likewise.
12179         * java/awt/Container.java (addImpl): Handle case where constraint
12180         is not a String.  Post event via system event queue.
12181         (remove): Post event via system event queue.
12182         (validateTree): Only validate child if it is invalid.
12183         (getAlignmentX): Call super method as default.
12184         (getAlignmentY): Likewise.
12185         (addContainerListener): Now synchronized.
12186         (removeContainerListener): Likewise.
12187         (addNotifyContainerChildren): Now private.
12188         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12189         @author.
12190         * java/awt/FlowLayout.java (serialVersionUID): New field.
12191         (setAlignment): Better exception message.
12192         (layoutContainer): Don't compute component's preferred size unless
12193         we're going to use it.
12194         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12195         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12196         (firstLine, lastLine, firstItem, lastItem): New fields.
12197         (addLayoutComponent): Handle case where constraints is null.
12198         Also, handle relative locations.
12199         (removeLayoutComponent): Handle relative locations.
12200         (MIN, MAX, PREF): New constants.
12201         (calcCompSize): New method.
12202         (calcSize): New method.
12203         (minimumLayoutSize): Use it.
12204         (preferredLayoutSize): Likewise.
12205         (maximumLayoutSize): Likewise.
12206         (toString): Include more information.
12207         (setBounds): New method.
12208         (layoutContainer): Use libgcj implementation; extended to handle
12209         relative locations.
12210
12211 2002-01-15  Tom Tromey  <tromey@redhat.com>
12212
12213         * java/lang/Float.java (equals): Preserve old code.
12214         * java/lang/Double.java (equals): Preserve old code.
12215
12216 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12217
12218         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12219         * java/lang/Float.java (equals, compare): Ditto.
12220
12221 2002-01-13  Mark Wielaard  <mark@klomp.org>
12222
12223         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12224         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12225         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12226         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12227
12228 2002-01-11  Mark Wielaard  <mark@klomp.org>
12229
12230         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12231         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12232         InetAddress.
12233         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12234         * java/net/Socket.java: Merge with Classpath.
12235         * java/net/ServerSocket.java: Likewise.
12236
12237 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12238
12239         * interpret.cc (NULLARRAYCHECK): New macro.
12240         (SAVE_PC): Just store `pc'.
12241         (find_exception): Subtract one from `pc' here.
12242         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12243         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12244         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12245         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12246         don't call SAVE_PC.
12247         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12248         call SAVE_PC.
12249
12250 2002-01-11  Tom Tromey  <tromey@redhat.com>
12251
12252         * java/lang/natSystem.cc (init_properties): Only look for default
12253         locale if LC_MESSAGES is defined.
12254         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12255         * configure.in: Call AM_LC_MESSAGES.
12256         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12257
12258 2002-01-10  Tom Tromey  <tromey@redhat.com>
12259
12260         For PR libgcj/5303:
12261         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12262         --version.  Recognize GNU-style long options.  Print GNU-style
12263         error messages.
12264         (usage): Print GNU-style help.  Exit with status 0.
12265         (error): New method.
12266         (run): Print error message if no class names found.
12267         (main): Don't print usage on error.
12268
12269 2002-01-09  Tom Tromey  <tromey@redhat.com>
12270
12271         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12272         property.
12273         (help, version): Use println(), not println("").
12274
12275         For PR libgcj/5303:
12276         * gnu/gcj/convert/Convert.java (error): Program is called
12277         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12278         -1.
12279         (main): Handle --help and --version.
12280         (help): New method.
12281         (version): Likewise.
12282
12283 2002-01-08  Tom Tromey  <tromey@redhat.com>
12284
12285         * Makefile.in: Rebuilt.
12286         * Makefile.am (ordinary_java_source_files): Added new files.
12287         * gnu/java/locale/LocaleInformation.java: Extend
12288         LocaleInformation_en.
12289         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12290         and time/date formats.
12291         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12292         generated.
12293         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12294         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12295         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12296         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12297         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12298         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12299         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12300         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12301         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12302         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12303         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12304         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12305         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12306         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12307         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12308         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12309         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12310         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12311         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12312         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12313         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12314         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12315         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12316         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12317         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12318         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12319         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12320         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12321         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12322         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12323         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12324         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12325         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12326         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12327         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12328         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12329         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12330         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12331         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12332         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12333         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12334         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12335         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12336         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12337         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12338         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12339         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12340         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12341         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12342         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12343         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12344         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12345         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12346         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12347         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12348         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12349         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12350         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12351         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12352         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12353         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12354         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12355         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12356         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12357         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12358         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12359         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12360         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12361         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12362         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12363         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12364         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12365         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12366         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12367         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12368         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12369         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12370         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12371         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12372         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12373         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12374         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12375         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12376         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12377         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12378         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12379         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12380         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12381         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12382         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12383         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12384         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12385         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12386         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12387         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12388         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12389         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12390         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12391         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12392         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12393         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12394         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12395         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12396         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12397         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12398         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12399         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12400         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12401         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12402         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12403         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12404         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12405         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12406         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12407         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12408         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12409         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12410         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12411         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12412         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12413         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12414         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12415         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12416         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12417         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12418         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12419         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12420         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12421         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12422         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12423
12424         For PR libgcj/5031:
12425         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12426         choose default locale.
12427
12428         * Makefile.in: Rebuilt.
12429         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12430
12431 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12432
12433         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12434         sockets.
12435         (close): New function closes the socket.
12436         (write): New functions for output to socket.
12437         (read): New functions for reading from socket.
12438         * java/net/PlainSocketImpl.java: Glue for new timeout
12439         implementation.
12440         (write): Call the native impl.
12441         (read): Likewise.
12442         (getInputStream): Get a stream to read from the socket.
12443         (getOutputStream): Get a stream to write to the socket.
12444
12445 2002-01-08  Tom Tromey  <tromey@redhat.com>
12446
12447         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12448
12449 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12450
12451         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12452         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12453
12454 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12455
12456         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12457         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12458         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12459         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12460         insn_bastore, insn_castore, insn_sastore]: Use it.
12461         (continue1) [insn_arraylength]: Check for null array.
12462
12463 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12464
12465         * configure, include/config.h.in: Rebuilt.
12466         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12467         * configure.in: Call AC_STRUCT_TIMEZONE.
12468
12469 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12470
12471         * configure.host: Disable the interpreter for Darwin.
12472
12473 2002-01-04  Tom Tromey  <tromey@redhat.com>
12474
12475         * java/lang/Thread.java (stop): No longer synchronized.
12476         (start): Likewise.
12477
12478 2002-01-02  Tom Tromey  <tromey@redhat.com>
12479
12480         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12481         patch.
12482
12483 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12484
12485         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12486         PPC Darwin, not for all of Darwin.