2003-07-13 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-13  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/locale/LocaleInformation_de.java
4         * gnu/java/locale/LocaleInformation_en.java
5         * gnu/java/locale/LocaleInformation_nl.java
6
7 2003-07-13  Michael Koch  <konqueror@gmx.de>
8
9         * gnu/java/awt/EmbeddedWindow.java,
10         gnu/java/awt/EmbeddedWindowSupport.java,
11         gnu/java/awt/natEmbeddedWindow.cc:
12         New files.
13         * java/awt/Window.java
14         (Window): New constructor to support embedded windows.
15         * Makefile.am
16         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
17         gnu/java/awt/EmbeddedWindowSupport.java.
18         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
19         * Makefile.in: Regenerated.
20
21 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
22
23         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
24         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
25         * java/awt/im/InputContext.java: Remove a redundant
26         partial line.
27
28 2003-07-09  Tom Tromey  <tromey@redhat.com>
29
30         * Makefile.in: Rebuilt.
31         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
32
33 2003-07-09  Mark Wielaard  <mark@klomp.org>
34
35         * java/io/ObjectOutputStream.java (writeObject): break after
36         calling writeClassDescriptor().
37
38 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
39
40         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
41
42 2003-07-09  Michael Koch  <konqueror@gmx.de>
43
44         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
45         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
46         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
47         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
48         Explicitly import used classes.
49         * java/awt/Container.java: New version from classpath.
50
51 2003-07-09  Michael Koch  <konqueror@gmx.de>
52
53         * libgcj.pc.in: New file.
54         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
55         * Makefile.in: Regenerated.
56         * configure: Regenrated.
57         * configure.in: Create libgcj.pc from libgcj.pc.in.
58
59 2003-07-08  Mark Wielaard <mark@klomp.org>
60
61         * gcj/cni.h: CNI now expands to Compiled Native Interface.
62
63         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
64         * java/lang/fdlibm.h: Likewise.
65
66 2003-07-07  Adam Megacz <adam@xwt.org>
67
68         * posix.cc: added #include<stdio.h>
69                 
70 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
71
72         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
73         formatting.
74
75         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
76         (setCaretPosition, setEditable): Rely entirely on native
77         implementation.
78         (getArgs): Remove.
79         (postTextEvent): New method.
80         (handleEvent): New method.
81         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
82         method.
83         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
84         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
85         (keysym_to_awt_keycode): Fix range checks.
86         (generates_key_typed_event): New function.
87         (awt_event_handler): Post AWT_KEY_RELEASED events to event
88         queue.
89         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
90         (gtkInit): Store TextComponent's postTextEvent method ID.
91         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
92         (setText): Post TEXT_VALUE_CHANGED event to event queue.
93
94 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
95
96         * configure.in: Check for usleep declaration.
97         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
98         * configure: Regenerate.
99         * include/config.h.in: Likewise.
100         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
101
102 2003-07-01  Michael Koch  <konqueror@gmx.de>
103
104         * gnu/gcj/convert/natIconv.cc
105         (iconv_init): Fixed possible memory leak by releasing allocated iconv
106         handle.
107
108 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
109
110         * glib-2.0.m4: New file.
111         * gtk-2.0.m4: New file.
112         * glib.m4: Remove.
113         * gtk.m4: Remove.
114         * configure.in: Update AM_PATH_GTK macro call to
115         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
117         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
118         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
120         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
121         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
122         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
123         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
124         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
125         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
126         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
127         jni/gtk-peer/gthread-jni.c,
128         jni/gtk-peer/gthread-jni.h:
129         New versions from classpath.
130         * aclocal.m4: Regenerate.
131         * configure: Regenerate.
132         * Makefile.in: Regenerate.
133         * gcj/Makefile.in: Regenerate.
134         * include/Makefile.in: Regenerate.
135         * testsuite/Makefile.in: Regenerate.
136
137 2003-06-30  Gary Benson  <gbenson@redhat.com>
138
139         For PR libgcj/11349:
140         * javax/naming/spi/NamingManager.java (getURLContext): Use
141         correct name for factory class.
142
143 2003-06-28  Michael Koch  <konqueror@gmx.de>
144
145         * java/io/PrintStream.java
146         (checkError): Call flush() instead of direct flushing of the Writer
147         object.
148         (print): Call print(String) instead of direct print method of the
149         Writer Object.
150         (println): Call println(String) instead of direct println method of the
151         Writer Object.
152         (write): Simplified.
153
154 2003-06-28  Michael Koch  <konqueror@gmx.de>
155
156         * java/net/ServerSocket.java
157         (setChannel): New method.
158         * java/net/Socket.java
159         (setChannel): New method.
160
161 2003-06-27  Michael Koch  <konqueror@gmx.de>
162
163         * java/beans/beancontext/BeanContextSupport.java:
164         New version from classpath.
165
166 2003-06-27  Michael Koch  <konqueror@gmx.de>
167
168         * java/awt/Window.java,
169         java/awt/font/GraphicAttribute.java,
170         java/awt/font/ImageGraphicAttribute.java,
171         java/awt/image/DataBufferByte.java,
172         java/awt/image/DataBufferInt.java,
173         java/awt/image/DataBufferUShort.java,
174         java/awt/image/DirectColorModel.java,
175         java/awt/image/PixelGrabber.java:
176         New versions from classpath.
177
178 2003-06-27  Michael Koch  <konqueror@gmx.de>
179
180         * java/security/Certificate.java
181         (getGuarantor): Removed wrong @deprecated tag.
182         (getPrincipal): Likewise.
183         (getPublicKey): Likewise.
184         (encode): Likewise.
185         (decode): Likewise.
186         (getFormat): Likewise.
187         (toString): Likewise.
188         * java/security/cert/PolicyQualifierInfo.java
189         (PolicyQualifierInfo): Made final.
190         * javax/security/auth/x500/X500Principal.java
191         (serialVersionUID): New member variable.
192
193 2003-06-27  Michael Koch  <konqueror@gmx.de>
194
195         * java/text/Format.java
196         (serialVersionUID): Fixed value.
197
198 2003-06-27  Michael Koch  <konqueror@gmx.de>
199
200         * java/net/Inet4Address.java
201         (Inet4Address): Made package-private.
202         * java/net/Inet6Address.java
203         (Inet4Address): Made package-private.
204
205 2003-06-27  Michael Koch  <konqueror@gmx.de>
206
207         * java/io/RandomAccessFile.java
208         (readLine): Removed wrong @deprecated tag.
209         (getChannel): Made final.
210
211 2003-06-27  Michael Koch  <konqueror@gmx.de>
212
213         * gnu/java/nio/FileChannelImpl.java
214         (write): Removed.
215
216 2003-06-27  Michael Koch  <konqueror@gmx.de>
217
218         * java/nio/ByteBufferImpl.java
219         (ByteBufferImpl): Made it a package-private class
220         * java/nio/CharBufferImpl.java
221         (CharBufferImpl): Made it a package-private class
222         * java/nio/DirectByteBufferImpl.java
223         (DirectByteBufferImpl): Made it a package-private class
224         * java/nio/DoubleBufferImpl.java
225         (DoubleBufferImpl): Made it a package-private class
226         * java/nio/FloatBufferImpl.java
227         (FloatBufferImpl): Made it a package-private class
228         * java/nio/IntBufferImpl.java
229         (IntBufferImpl): Made it a package-private class
230         * java/nio/LongBufferImpl.java
231         (LongBufferImpl): Made it a package-private class
232         * java/nio/ShortBufferImpl.java
233         (ShortBufferImpl): Made it a package-private class
234         * java/nio/channels/FileChannel.java
235         (write): Made final.
236         * java/nio/channels/ServerSocketChannel.java
237         (ServerSocketChanne): Made protected.
238
239 2003-06-27  Michael Koch  <konqueror@gmx.de>
240
241         * javax/naming/CompositeName.java
242         (serialVersionUID): New member variable.
243         * javax/naming/CompoundName.java
244         (serialVersionUID): New member variable.
245         * javax/naming/InitialContext.java
246         (InitialContext): Throws NamingException.
247         (init): Likewise.
248         * javax/naming/LinkRef.java
249         (serialVersionUID): New member variable.
250         (gteLinkName): Throws NamingException.
251         * javax/naming/NamingException.java
252         (serialVersionUID): New member variable.
253         * javax/naming/NamingSecurityException.java
254         (NamingSecurityException): Made abstract.
255         (serialVersionUID): New member variable.
256         * javax/naming/ReferralException.java
257         (serialVersionUID): New member variable.
258         * javax/naming/StringRefAddr.java
259         (serialVersionUID): New member variable.
260         * javax/naming/directory/BasicAttribute.java:
261         Reworked imports.
262         (serialVersionUID): New member variable.
263         (get): Throws NamingException.
264         (getAll): Throws NamingException.
265         * javax/naming/directory/BasicAttributes.java:
266         Reworked imports.
267         (serialVersionUID): New member variable.
268         * javax/naming/ldap/UnsolicitedNotificationEvent.java
269         (serialVersionUID): New member variable.
270
271 2003-06-27  Michael Koch  <konqueror@gmx.de>
272
273         * Makefile.am
274         (awt_java_source_files): Added new files:
275         javax/swing/Popup.java,
276         javax/swing/PopupFactory.java
277         * Makefile.in: Regenerated.
278
279 2003-06-27  Michael Koch  <konqueror@gmx.de>
280
281         * javax/swing/JWindow.java,
282         javax/swing/event/AncestorEvent.java,
283         javax/swing/event/HyperlinkEvent.java,
284         javax/swing/event/InternalFrameEvent.java,
285         javax/swing/event/ListDataEvent.java,
286         javax/swing/event/TableModelEvent.java,
287         javax/swing/plaf/PopupMenuUI.java,
288         javax/swing/plaf/SplitPaneUI.java,
289         javax/swing/plaf/TabbedPaneUI.java,
290         javax/swing/plaf/TextUI.java,
291         javax/swing/plaf/TreeUI.java,
292         javax/swing/plaf/basic/BasicTextUI.java,
293         javax/swing/plaf/basic/BasicTreeUI.java:
294         New versions from classpath.
295         * javax/swing/Popup.java,
296         javax/swing/PopupFactory.jav:
297         New source files from classpath.
298         * javax/swing/plaf/doc-files/TreeUI-1.png:
299         New binary files from classpath.
300
301 2003-06-25  Michael Koch  <konqueror@gmx.de>
302
303         * Makefile.am
304         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
305         * Makefile.in: Regenerated.
306
307 2003-06-25  Michael Koch  <konqueror@gmx.de>
308
309         * javax/swing/plaf/ActionMapUIResource.java,
310         javax/swing/plaf/BorderUIResource.java,
311         javax/swing/plaf/ButtonUI.java,
312         javax/swing/plaf/ColorChooserUI.java,
313         javax/swing/plaf/ColorUIResource.java,
314         javax/swing/plaf/ComboBoxUI.java,
315         javax/swing/plaf/ComponentInputMapUIResource.java,
316         javax/swing/plaf/ComponentUI.java,
317         javax/swing/plaf/DesktopIconUI.java,
318         javax/swing/plaf/DesktopPaneUI.java,
319         javax/swing/plaf/DimensionUIResource.java,
320         javax/swing/plaf/FileChooserUI.java,
321         javax/swing/plaf/FontUIResource.java,
322         javax/swing/plaf/IconUIResource.java,
323         javax/swing/plaf/InputMapUIResource.java,
324         javax/swing/plaf/InsetsUIResource.java,
325         javax/swing/plaf/InternalFrameUI.java,
326         javax/swing/plaf/LabelUI.java,
327         javax/swing/plaf/ListUI.java,
328         javax/swing/plaf/MenuBarUI.java,
329         javax/swing/plaf/MenuItemUI.java,
330         javax/swing/plaf/OptionPaneUI.java,
331         javax/swing/plaf/PanelUI.java,
332         javax/swing/plaf/ProgressBarUI.java,
333         javax/swing/plaf/RootPaneUI.java,
334         javax/swing/plaf/ScrollBarUI.java,
335         javax/swing/plaf/ScrollPaneUI.java,
336         javax/swing/plaf/SeparatorUI.java,
337         javax/swing/plaf/SliderUI.java,
338         javax/swing/plaf/TableHeaderUI.java,
339         javax/swing/plaf/TableUI.java,
340         javax/swing/plaf/ToolBarUI.java,
341         javax/swing/plaf/ToolTipUI.java,
342         javax/swing/plaf/ViewportUI.java:
343         New versions from classpath.
344         * javax/swing/plaf/SpinnerUI.java: 
345         New file from classpath
346
347 2003-06-25  Michael Koch  <konqueror@gmx.de>
348
349         * java/awt/image/ColorModel.java:
350         New version from classpath.
351
352 2003-06-25  Michael Koch  <konqueror@gmx.de>
353
354         * java/net/PlainDatagramSocketImpl.java:
355         Partly merged with classpath, this mainly adds documentation.
356
357 2003-06-25  Michael Koch  <konqueror@gmx.de>
358
359         * java/io/ObjectInputStream.java
360         (readClassDescriptor): New method.
361         (readObject): Moved functionality to readClassDescriptor().
362         * java/io/ObjectOutputStream.java
363         (writeClassDescriptor): New method.
364         (writeObject): Moved functionality to writeClassDescriptor().
365
366 2003-06-25  Michael Koch  <konqueror@gmx.de>
367
368         * javax/swing/plaf/basic/BasicListUI.java,
369         javax/swing/plaf/basic/BasicOptionPaneUI.java:
370         Added missing methods.
371
372 2003-06-25  Michael Koch  <konqueror@gmx.de>
373
374         * javax/swing/event/AncestorEvent.java
375         javax/swing/event/HyperlinkEvent.java
376         javax/swing/event/InternalFrameEvent.java
377         javax/swing/event/ListDataEvent.java
378         javax/swing/event/TableModelEvent.java:
379         Compile fixes.
380
381 2003-06-24  Michael Koch  <konqueror@gmx.de>
382
383         * java/net/URL.java:
384         Renamed "handler" to "ph" in the whole file to match classpaths
385         version.
386         * java/net/URLStreamHandler.java:
387         (equals): Renamed "handler" to "ph".
388
389 2003-06-24  Michael Koch  <konqueror@gmx.de>
390
391         * javax/swing/event/AncestorEvent.java,
392         javax/swing/event/HyperlinkEvent.java,
393         javax/swing/event/InternalFrameEvent.java,
394         javax/swing/event/ListDataEvent.java,
395         javax/swing/event/TableModelEvent.java,
396         javax/swing/event/TreeWillExpandListener.java,
397         javax/swing/plaf/ComponentUI.java,
398         javax/swing/plaf/DesktopIconUI.java,
399         javax/swing/plaf/DesktopPaneUI.java,
400         javax/swing/plaf/DimensionUIResource.java,
401         javax/swing/plaf/FileChooserUI.java,
402         javax/swing/plaf/FontUIResource.java,
403         javax/swing/plaf/IconUIResource.java,
404         javax/swing/plaf/InputMapUIResource.java,
405         javax/swing/plaf/InsetsUIResource.java,
406         javax/swing/plaf/InternalFrameUI.java,
407         javax/swing/plaf/LabelUI.java,
408         javax/swing/plaf/ListUI.java,
409         javax/swing/plaf/MenuBarUI.java,
410         javax/swing/plaf/MenuItemUI.java,
411         javax/swing/plaf/OptionPaneUI.java,
412         javax/swing/plaf/PanelUI.java,
413         javax/swing/plaf/ProgressBarUI.java,
414         javax/swing/plaf/doc-files/ComponentUI-1.dia,
415         javax/swing/plaf/doc-files/ComponentUI-1.png:
416         New versions from classpath.
417
418 2003-06-24  Michael Koch  <konqueror@gmx.de>
419
420         * java/nio/Buffer.java
421         (cap): Made package-private.
422         (pos): Likewise.
423         (limit): Likewise.
424         (mark): Likewise.
425
426 2003-06-24  Michael Koch  <konqueror@gmx.de>
427
428         * java/net/SocketImpl.java
429         (shutdownInput): Made it non-abstract method throwing an exception
430         like in SUNs JRE.
431         (shutdownOutput): Likewise.
432         * java/net/SocketInputStream.java,
433         java/net/SocketOutputStream.java:
434         New files from classpath.
435
436 2003-06-24  Michael Koch  <konqueror@gmx.de>
437
438         * java/awt/Font.java,
439         java/awt/Window.java,
440         java/awt/color/ColorSpace.java,
441         java/awt/datatransfer/StringSelection.java,
442         java/awt/image/ColorModel.java:
443         New versions from classpath.
444
445 2003-06-24  Michael Koch  <konqueror@gmx.de>
446
447         * Makefile.am
448         (awt_java_source_files): Added new files:
449         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
450         javax/swing/plaf/basic/BasicSplitPaneUI.java
451         * Makefile.in: Regenerated.
452
453 2003-06-24  Michael Koch  <konqueror@gmx.de>
454
455         * javax/swing/text/JTextComponent.java:
456         New version from classpath.
457
458 2003-06-24  Michael Koch  <konqueror@gmx.de>
459
460         * javax/swing/Timer.java,
461         javax/swing/plaf/ActionMapUIResource.java,
462         javax/swing/plaf/ButtonUI.java,
463         javax/swing/plaf/ColorChooserUI.java,
464         javax/swing/plaf/ColorUIResource.java,
465         javax/swing/plaf/ComboBoxUI.java,
466         javax/swing/plaf/ComponentInputMapUIResource.java,
467         javax/swing/plaf/basic/BasicBorders.java:
468         New versions from classpath.
469         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
470         javax/swing/plaf/basic/BasicSplitPaneUI.java:
471         New file from classpath.
472         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
473         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
474         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
475         javax/swing/plaf/doc-files/ComponentUI-1.dia,
476         javax/swing/plaf/doc-files/ComponentUI-1.png:
477         New binary files from classpath.
478
479 2003-06-24  Michael Koch  <konqueror@gmx.de>
480
481         * java/io/LineNumberReader.java
482         (skip): Dont do line number accounting here as this is already done in
483         read(), simplified.
484
485 2003-06-21  Michael Koch  <konqueror@gmx.de>
486
487         * java/io/File.java
488         (static): Load javaio lib if existing (only in classpath).
489         (File): Revised documentation to show the correct argument name.
490         (createTempFile): Partly merged with classpath.
491         (compareTo): Simplified.
492         (lastModified): Throw exception if time < 0.
493         (deleteOnExit): Revised documentation.
494
495 2003-06-21  Michael Koch  <konqueror@gmx.de>
496
497         * java/net/PlainSocketImpl.java:
498         Reformatted.
499         (PlainSocketImpl): Merged class documentaion with classpath.
500         (in): Moved.
501         (out): Moved.
502         (PlainSocketImpl): New empty constructor.
503         (finalize): Moved.
504         (setOption): Merged documentation from classpath.
505         (getOption): Likewise.
506         (create): Likewise.
507         (connect): Likewise.
508         (bind): Likewise.
509         (listen): Likewise.
510         (accept): Likewise.
511         (available): Likewise.
512         (close): Likewise.
513         (read): Likewise.
514         (write): Likewise.
515         (getInputStream): Made synchronozed to get sure that only one stream
516         object can be created for this socket, merged documentation from
517         classpath.
518         (getOutputStream): Likewise.
519
520 2003-06-21  Michael Koch  <konqueror@gmx.de>
521
522         * java/net/PlainSocketImpl.java:
523         Reformatting.
524         (static): New implicit method.
525         (read): Made package private.
526         (write): Likewise.
527
528 2003-06-21  Michael Koch  <konqueror@gmx.de>
529
530         * java/util/SimpleTimeZone.java:
531         Removed unneeded import, reformatting.
532
533 2003-06-21  Michael Koch  <konqueror@gmx.de>
534
535         * java/text/DateFormat.java,
536         java/text/SimpleDateFormat.java,
537         java/util/Locale.java:
538         New versions from classpath.
539
540 2003-06-21  Michael Koch  <konqueror@gmx.de>
541
542         * javax/swing/SpinnerModel.java:
543         New file from classpath.
544         * javax/swing/border/LineBorder.java,
545         javax/swing/border/SoftBevelBorder.java,
546         javax/swing/plaf/BorderUIResource.java,
547         javax/swing/plaf/basic/BasicBorders.java:
548         New versions from classpath.
549         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
550         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
551         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
552         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
553         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
554         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
555         New binary files from classpath.
556
557 2003-06-21  Michael Koch  <konqueror@gmx.de>
558
559         * java/util/logging/LogRecord.java,
560         java/util/logging/Logger.java,
561         java/util/logging/SocketHandler.java,
562         java/util/logging/SimpleFormatter.java,
563         java/util/logging/Formatter.java,
564         java/util/logging/ErrorManager.java,
565         java/util/logging/Handler.java,
566         java/util/logging/FileHandler.java,
567         java/util/logging/LogManager.java,
568         java/util/logging/Level.java,
569         java/util/logging/ConsoleHandler.java,
570         java/util/logging/StreamHandler.java,
571         java/util/logging/LoggingPermission.java,
572         java/util/logging/Filter.java,
573         java/util/logging/MemoryHandler.java,
574         java/util/logging/XMLFormatter.java:
575         New files from classpath.
576
577 2003-06-20  Michael Koch  <konqueror@gmx.de>
578
579         * java/io/ObjectStreamField.java
580         (unshared): new member variable.
581         (ObjectStreamField): New constructor.
582         (isUnshared): New method.
583
584 2003-06-20  Michael Koch  <konqueror@gmx.de>
585
586         * java/net/URLStreamHandler.java
587         (hostsEqual): Rewritten.
588
589 2003-06-20  Michael Koch  <konqueror@gmx.de>
590
591         * gnu/java/nio/MappedByteFileBuffer.java,
592         gnu/java/nio/natMappedByteFileBuffer.cc:
593         Removed
594         * java/nio/MappedByteBufferImpl.java:
595         New file.
596         * gnu/java/nio/FileChannelImpl.java:
597         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
598         * Makefile.am
599         (ordinary_java_source_files): Removed
600         gnu/java/nio/MappedByteFileBuffer.java and added
601         java/nio/MappedByteBufferImpl.java.
602         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
603         * Makefile.in: Regenerated.
604
605 2003-06-19  Michael Koch  <konqueror@gmx.de>
606
607         * gnu/java/nio/DatagramChannelImpl.java
608         (fd): Removed.
609         (blocking): New member variable.
610         (socket): Likewise.
611         (DatagramChannelImpl): Throws IOException, initialize socket.
612         (socket):Implemented.
613         (implCloseSelectableChannel): Throws IOException, implemented.
614         (implConfigureBlocking): Likewise.
615         (connect): Likewise.
616         (disconnect): Likewise.
617         (isConnected): Likewise.
618         (write): Likewise.
619         (read): Likewise.
620         (receive): Throws IOException.
621         (send): Likewise.
622         * gnu/java/nio/SocketChannelImpl.java
623         (read): Implemented.
624         (write): Implemented.
625
626 2003-06-19  Michael Koch  <konqueror@gmx.de>
627
628         * javax/swing/JComponent.java,
629         javax/swing/JInternalFrame.java,
630         javax/swing/MenuSelectionManager.java,
631         javax/swing/SwingUtilities.java,
632         javax/swing/ToggleButtonModel.java:
633         New versions from classpath.
634
635 2003-06-19  Michael Koch  <konqueror@gmx.de>
636
637         * java/text/CollationElementIterator.java
638         (NULLORDER): Initialize with -1 as JDK documentation says.
639
640 2003-06-19  Michael Koch  <konqueror@gmx.de>
641
642         * java/net/HttpURLConnection.java,
643         java/net/Inet4Address.java,
644         java/net/Inet6Address.java,
645         java/net/SocketImpl.java,
646         java/net/URLClassLoader.java:
647         Reworked import statements.
648         * java/net/InetAddress.java
649         (getByAddress): Simplified.
650         * java/net/ServerSocket.java
651         (ServerSocket): Moved special handling during bind operation to
652         bind().
653         (bind): Handle different cases when trying to bind a socket.
654         * java/net/URLConnection.java
655         (getHeaderFieldDate): Merged with classpath.
656         (getHeaderFieldInt): Likewise.
657
658 2003-06-19  Michael Koch  <konqueror@gmx.de>
659
660         * java/util/zip/InflaterInputStream.java
661         (InflaterInputStream): Throw NullPointerException if in is null (as
662         JDK does).
663
664 2003-06-19  Michael Koch  <konqueror@gmx.de>
665
666         * java/awt/Font.java
667         javax/swing/UIManager.java
668         javax/swing/border/AbstractBorder.java
669         javax/swing/border/BevelBorder.java
670         javax/swing/border/Border.java
671         javax/swing/border/CompoundBorder.java
672         javax/swing/border/EmptyBorder.java
673         javax/swing/border/EtchedBorder.java
674         javax/swing/border/LineBorder.java
675         javax/swing/border/MatteBorder.java
676         javax/swing/border/TitledBorder.java
677         javax/swing/plaf/BorderUIResource.java
678         javax/swing/plaf/basic/BasicBorders.java
679         javax/swing/plaf/basic/BasicButtonUI.java
680         javax/swing/plaf/basic/BasicCheckBoxUI.java
681         javax/swing/plaf/basic/BasicGraphicsUtils.java
682         javax/swing/plaf/basic/BasicLabelUI.java
683         javax/swing/plaf/basic/BasicRadioButtonUI.java
684         javax/swing/plaf/basic/BasicToggleButtonUI.java:
685         New versions from classpath.
686         * javax/swing/border/SoftBevelBorder.java:
687         New file from classpath.
688         * javax/swing/border/doc-files/LineBorder-1.png,
689         javax/swing/border/doc-files/BevelBorder-1.png,
690         javax/swing/border/doc-files/BevelBorder-2.png,
691         javax/swing/border/doc-files/BevelBorder-3.png,
692         javax/swing/border/doc-files/EmptyBorder-1.png,
693         javax/swing/border/doc-files/EtchedBorder-1.png,
694         javax/swing/border/doc-files/EtchedBorder-2.png,
695         javax/swing/border/doc-files/MatteBorder-1.png,
696         javax/swing/border/doc-files/MatteBorder-2.png,
697         javax/swing/border/doc-files/MatteBorder-3.png,
698         javax/swing/border/doc-files/MatteBorder-4.png,
699         javax/swing/border/doc-files/MatteBorder-5.png,
700         javax/swing/border/doc-files/MatteBorder-6.png,
701         javax/swing/border/doc-files/SoftBevelBorder-1.png,
702         javax/swing/border/doc-files/SoftBevelBorder-2.png,
703         javax/swing/border/doc-files/SoftBevelBorder-3.png,
704         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
705         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
706         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
707         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
708         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
709         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
710         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
711         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
712         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
713         New binary files from classpath.
714         * Makefile.am
715         (awt_java_source_files): Added
716         javax/swing/border/SoftBevelBorder.java.
717         * Makefile.in: Regenerated.
718
719 2003-06-19  Michael Koch  <konqueror@gmx.de>
720
721         * gnu/java/security/x509/X509Certificate.java
722         (writeReplace): Merged from classpath.
723
724 2003-06-19  Michael Koch  <konqueror@gmx.de>
725
726         * gnu/java/nio/FileChannelImpl.java
727         (map_address): Made public.
728         (FileChannelImpl): Merged with classpath.
729         * gnu/java/nio/natFileChannelImpl.cc
730         (nio_mmap_file): Commented out unused arguments.
731         (nio_unmmap_file): Likewise.
732         (niu_msync): Likewise.
733
734 2003-06-19  Michael Koch  <konqueror@gmx.de>
735
736         * java/awt/image/IndexColorModel.java:
737         New version from classpath.
738
739 2003-06-18  Tom Tromey  <tromey@redhat.com>
740
741         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
742         on arrays.
743         (isLoopbackAddress): Likewise.
744         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
745         on arrays.
746
747 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
748
749         * java/lang/natVMSecurityManager.cc (getClassContext):
750         Use maxlen instead of len for loop bound.
751
752 2003-06-18  Michael Koch  <konqueror@gmx.de>
753
754         * gnu/java/nio/SelectorImpl.java
755         (register): Use fd with value 0 for now, will be fixed later.
756         * gnu/java/nio/ServerSocketChannelImpl.java
757         (fd): Removed.
758         (local_port): Removed.
759         (InetSocketAddress): Removed.
760         (ServerSocketChannelImpl): Just initialize internal socket object.
761         (implCloseSelectableChannel): Close internal socket object.
762         (implConfigureBlocking): Added comment.
763         (accept): Use jaba.net stuff to accept socket.
764         * gnu/java/nio/SocketChannelImpl.java
765         (fd): Removed.
766         (local_port): Removed.
767         (InetSocketAddress): Removed.
768         (SocketCreate): Removed.
769         (SocketConnect): Removed.
770         (SocketBind): Removed.
771         (SocketListen): Removed.
772         (SocketAvailable): Removed.
773         (SocketClose): Removed.
774         (SocketRead): Removed.
775         (SocketWrite): Removed.
776         (SocketChannelImpl): Just initialize internal socket object.
777         (implCloseSelectableChannel): Close internal socket object.
778         (implConfigureBlocking): Fixed implementation, added comment.
779         (connect): Use internal socket object to connect.
780         (socket): No need for sanity checks.
781         (read): Comment out some stuff, this will be reimplemented in the next
782         commit.
783         (write): Likewise.
784         * gnu/java/nio/natFileChannelImpl.cc
785         (nio_mmap_file): Line wrapped.
786         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
787         * Makefile.am
788         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
789         * Makefile.in: Regenerated.
790
791 2003-06-18  Michael Koch  <konqueror@gmx.de>
792
793         * java/util/Locale.java
794         (equals): Merged from classpath.
795
796 2003-06-18  Michael Koch  <konqueror@gmx.de>
797
798         * java/net/InetAddress.java:
799         Reformatted to better match classpath's version.
800         * java/net/URL.java
801         (equals): Simplified.
802         * java/net/URLConnection.java
803         (setDoInput): Revised documentation.
804         (getDefaultUseCaches): Likewise.
805         (setRequestProperty): Added @since tag.
806
807 2003-06-17  Michael Koch  <konqueror@gmx.de>
808
809         * java/net/InetSocketAddress.java
810         (InetSocketAddress): Use wildcard address if addr is null.
811         (InetSocketAddress): Dont duplicate implementation.
812         (InetSocketAddress): Throw exception when hostname is null.
813         * java/net/Socket.java:
814         Reworked imports.
815         (Socket): Throw exception when raddr is null, handle case when laddr
816         is null.
817
818 2003-06-17  Michael Koch  <konqueror@gmx.de>
819
820         * java/nio/DirectByteBufferImpl.java
821         (address): Made package private.
822         (DirectByteBufferImpl): New constructor.
823         * java/nio/natDirectByteBufferImpl.cc
824         (allocateImpl): Moved to java.nio namespace, implemented.
825         (freeImpl): Likewise.
826         (getImpl): Likewise.
827         (putImpl): Likewise.
828         * jni.cc
829         (_Jv_JNI_NewDirectByteBuffer): Implemented.
830         (_Jv_JNI_GetDirectBufferAddress): Implemented.
831         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
832
833 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
834
835         * include/powerpc-signal.h: New File.
836         * configure.in: Use it.
837         * configure: Regenerated.
838
839 2003-06-17  Michael Koch  <konqueror@gmx.de>
840
841         * java/util/Locale.java
842         (getDisplayLanguage): Made it final.
843         (getDisplayCountry): Likewise.
844         (getDisplayVariant): Likewise.
845         (getDisplayName): Likewise.
846
847 2003-06-17  Michael Koch  <konqueror@gmx.de>
848
849         * java/util/PropertyResourceBundle.java:
850         Removed unneeded import.
851
852 2003-06-17  Michael Koch  <konqueror@gmx.de>
853
854         * java/util/prefs/AbstractPreferences.java,
855         java/util/prefs/PreferencesFactory.java:
856         Reworked imports, removed unused imports.
857         * java/util/prefs/Preferences.java
858         (systemNodeForPackage): Method takes a Class not an Object.
859         (userNodeForPackage): Likewise.
860         (nodeForPackage): Likewise.
861
862 2003-06-17  Michael Koch  <konqueror@gmx.de>
863
864         * gnu/java/security/x509/X509Certificate.java:
865         Explicitely import used classes.
866
867 2003-06-17  Michael Koch  <konqueror@gmx.de>
868
869         * java/util/zip/ZipEntry.java,
870         java/util/zip/ZipFile.java,
871         java/util/zip/ZipInputStream.java,
872         java/util/zip/ZipOutputStream.java:
873         Reworked imports, only import used classes.
874
875 2003-06-17  Michael Koch  <konqueror@gmx.de>
876
877         * gnu/java/lang/ArrayHelper.java,
878         gnu/java/lang/ClassHelper.java:
879         Reformatted to match classpath's versions.
880
881 2003-06-14  Michael Koch  <konqueror@gmx.de>
882
883         * gnu/java/nio/FileChannelImpl.java
884         (map_address): Removed incorrect comment.        
885         * gnu/java/nio/SelectorImpl.java
886         (register): Remove code duplication and code for file channel handling.        
887         * gnu/java/nio/ServerSocketChannelImpl.java
888         (serverSocket): Renamed from sock_object.
889         (ServerSocketChannel): Initialize serverSocket.
890         (socket): Return serverSocket.
891         * gnu/java/nio/SocketChannelImpl.java
892         (socket): Renamed from sock_object.
893         (isConnectionPenging): Simplified.
894         (socket): Return socket.
895 2003-06-14  Michael Koch  <konqueror@gmx.de>
896
897         * java/security/BasicPermission.java:
898         New version from classpath.
899
900 2003-06-14  Michael Koch  <konqueror@gmx.de>
901
902         * javax/naming/directory/Attribute.java:
903         New version from classpath.
904
905 2003-06-14  Michael Koch  <konqueror@gmx.de>
906
907         * java/io/BufferedReader.java,
908         java/io/FileOutputStream.java:
909         New versions from classpath.
910
911 2003-06-12  Andrew Haley  <aph@redhat.com>
912
913         * prims.cc (catch_segv): Create exception in handler.
914         (catch_fpe): Likewise.  
915         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
916         (_Jv_ThrowSignal): Remove.
917
918         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
919         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
920         to nullp and arithexception.
921         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
922         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
923         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
924         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
925         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
926
927 2003-06-11  Andrew Haley  <aph@redhat.com>
928
929         * jni.cc (_Jv_JNI_check_types): New.
930         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
931         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
932         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
933         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
934         
935         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
936         infinite loop.
937
938 2003-06-11  Tom Tromey  <tromey@redhat.com>
939
940         * java/lang/ClassLoader.java (loadClass): Not deprecated.
941         * java/io/PrintStream.java: Not deprecated.
942
943 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
944
945         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
946         (fillOval): implemented
947         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
948         (fillArc): implemented.
949         * gnu/gcj/xlib/GC.java (drawArc): added native method.
950         (fillArc): added native method.
951         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
952         (fillArc): added native method.
953
954 2003-06-11  Michael Koch  <konqueror@gmx.de>
955
956         * java/awt/im/InputSubset.java:
957         New version from classpath.
958
959 2003-06-11  Michael Koch  <konqueror@gmx.de>
960
961         * javax/swing/AbstractAction.java,
962         javax/swing/AbstractButton.java,
963         javax/swing/AbstractCellEditor.java,
964         javax/swing/AbstractListModel.java,
965         javax/swing/BorderFactory.java,
966         javax/swing/Box.java,
967         javax/swing/BoxLayout.java,
968         javax/swing/ButtonGroup.java,
969         javax/swing/DefaultButtonModel.java,
970         javax/swing/DefaultListModel.java,
971         javax/swing/DefaultListSelectionModel.java,
972         javax/swing/FocusManager.java,
973         javax/swing/ImageIcon.java,
974         javax/swing/InputMap.java,
975         javax/swing/JApplet.java,
976         javax/swing/JButton.java,
977         javax/swing/JCheckBox.java,
978         javax/swing/JCheckBoxMenuItem.java,
979         javax/swing/JColorChooser.java,
980         javax/swing/JComboBox.java,
981         javax/swing/JComponent.java,
982         javax/swing/JDesktopPane.java,
983         javax/swing/JDialog.java,
984         javax/swing/JEditorPane.java,
985         javax/swing/JFileChooser.java,
986         javax/swing/JFormattedTextField.java,
987         javax/swing/JFrame.java,
988         javax/swing/JLabel.java,
989         javax/swing/JLayeredPane.java,
990         javax/swing/JList.java,
991         javax/swing/JMenuBar.java,
992         javax/swing/JMenuItem.java,
993         javax/swing/JOptionPane.java,
994         javax/swing/JPanel.java,
995         javax/swing/JPasswordField.java,
996         javax/swing/JPopupMenu.java,
997         javax/swing/JProgressBar.java,
998         javax/swing/JRadioButton.java,
999         javax/swing/JRadioButtonMenuItem.java,
1000         javax/swing/JRootPane.java,
1001         javax/swing/JScrollBar.java,
1002         javax/swing/JScrollPane.java,
1003         javax/swing/JSeparator.java,
1004         javax/swing/JSlider.java,
1005         javax/swing/JTabbedPane.java,
1006         javax/swing/JTable.java,
1007         javax/swing/JTextField.java,
1008         javax/swing/JToggleButton.java,
1009         javax/swing/JToolBar.java,
1010         javax/swing/JToolTip.java,
1011         javax/swing/JTree.java,
1012         javax/swing/JViewport.java,
1013         javax/swing/JWindow.java,
1014         javax/swing/KeyStroke.java,
1015         javax/swing/ListSelectionModel.java,
1016         javax/swing/LookAndFeel.java,
1017         javax/swing/RepaintManager.java,
1018         javax/swing/ScrollPaneLayout.java,
1019         javax/swing/SizeRequirements.java,
1020         javax/swing/SwingConstants.java,
1021         javax/swing/Timer.java,
1022         javax/swing/UIDefaults.java,
1023         javax/swing/UIManager.java,
1024         javax/swing/border/AbstractBorder.java,
1025         javax/swing/border/CompoundBorder.java,
1026         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1027         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1028         javax/swing/colorchooser/ColorSelectionModel.java,
1029         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1030         javax/swing/event/AncestorEvent.java,
1031         javax/swing/event/HyperlinkEvent.java,
1032         javax/swing/event/InternalFrameAdapter.java,
1033         javax/swing/event/InternalFrameEvent.java,
1034         javax/swing/event/ListDataEvent.java,
1035         javax/swing/event/MouseInputAdapter.java,
1036         javax/swing/event/SwingPropertyChangeSupport.java,
1037         javax/swing/event/TableModelEvent.java,
1038         javax/swing/event/TreeWillExpandListener.java,
1039         javax/swing/event/UndoableEditEvent.java,
1040         javax/swing/filechooser/FileFilter.java,
1041         javax/swing/filechooser/FileSystemView.java,
1042         javax/swing/filechooser/FileView.java,
1043         javax/swing/plaf/BorderUIResource.java,
1044         javax/swing/plaf/basic/BasicDefaults.java,
1045         javax/swing/table/AbstractTableModel.java,
1046         javax/swing/table/DefaultTableCellRenderer.java,
1047         javax/swing/table/DefaultTableColumnModel.java,
1048         javax/swing/table/DefaultTableModel.java,
1049         javax/swing/table/TableColumn.java,
1050         javax/swing/text/JTextComponent.java,
1051         javax/swing/tree/AbstractLayoutCache.java,
1052         javax/swing/tree/DefaultMutableTreeNode.java,
1053         javax/swing/tree/DefaultTreeCellEditor.java,
1054         javax/swing/tree/DefaultTreeCellRenderer.java,
1055         javax/swing/tree/DefaultTreeModel.java,
1056         javax/swing/tree/DefaultTreeSelectionModel.java,
1057         javax/swing/tree/FixedHeightLayoutCache.java,
1058         javax/swing/tree/TreeCellEditor.java,
1059         javax/swing/tree/TreeModel.java,
1060         javax/swing/tree/TreeNode.java,
1061         javax/swing/tree/TreePath.java,
1062         javax/swing/tree/TreeSelectionModel.java,
1063         javax/swing/tree/VariableHeightLayoutCache.java,
1064         javax/swing/undo/AbstractUndoableEdit.java,
1065         javax/swing/undo/CompoundEdit.java,
1066         javax/swing/undo/StateEdit.java,
1067         javax/swing/undo/UndoManager.java,
1068         javax/swing/undo/UndoableEditSupport.java:
1069         New versions from classpath.
1070         * javax/swing/table/JTableHeader.java:
1071         New file from classpath.
1072         * Makefile.am
1073         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1074         * Makefile.in: Regenerated.
1075
1076 2003-06-11  Michael Koch  <konqueror@gmx.de>
1077
1078         * java/nio/MappedByteBuffer.java,
1079         java/nio/channels/Channels.java,
1080         java/nio/channels/ServerSocketChannel.java,
1081         java/nio/channels/spi/AbstractSelector.java:
1082         Removed unneeded imports.
1083
1084 2003-06-11  Michael Koch  <konqueror@gmx.de>
1085
1086         * java/net/DatagramSocket.java:
1087         Partly merged with classpath.
1088
1089 2003-06-11  Michael Koch  <konqueror@gmx.de>
1090
1091         * java/awt/Frame.java,
1092         java/awt/Graphics.java,
1093         java/awt/Menu.java,
1094         java/awt/Robot.java,
1095         java/awt/image/ColorModel.java:
1096         New versions from classpath.
1097
1098 2003-06-10  Michael Koch  <konqueror@gmx.de>
1099
1100         * java/io/PrintStream.java:
1101         Merged version from classpath.
1102         (close): Removed sychronized keyword. This class is not garantied to
1103         be thread-safe.
1104         (write): Likewise.
1105
1106 2003-06-09  Tom Tromey  <tromey@redhat.com>
1107
1108         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1109         field.
1110         (getDescent): Likewise, for "descent".
1111
1112 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1113
1114         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1115         (getMaxDescent): adjusted return value.
1116         (getAscent): modified to use metrics for 'O'.
1117         (getDescent): modified to use metrics for 'y'.
1118
1119 2003-06-08  Anthony Green  <green@redhat.com>
1120
1121         * java/net/URLStreamHandler.java (sameFile): Fix port value
1122         comparison.
1123         * java/net/URL.java (handler): Make package private.
1124         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1125
1126 2003-06-07  Tom Tromey  <tromey@redhat.com>
1127
1128         For PR libgcj/11085:
1129         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1130         Limit number of characters in numeric field when required.
1131         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1132         Respect maximumIntegerDigits.
1133
1134 2003-06-08  Michael Koch  <konqueror@gmx.de>
1135
1136         * java/net/Socket.java
1137         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1138         call bind() and connect() to actually do the bind and connect tasks.
1139         (bind): Connect to canonical address if bindpoint is null, create
1140         socket and bind it to bindpoint.
1141         (connect): Check for exceptions.
1142
1143 2003-06-08  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/net/DatagramSocket.java
1146         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1147         into the Multicast constructors.
1148         * java/net/DatagramSocketImpl.java
1149         (getOption): Removed.
1150         (setOption): Removed.
1151         * java/net/MulticastSocket.java
1152         (MulticastSocket): Call setReuseAddress (true).
1153         * java/net/SocketImpl.java
1154         (getOption): Removed.
1155         (setOption): Removed.
1156
1157 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1158
1159         PR libgcj/10886:
1160         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1161         Test for empty vector.
1162
1163 2003-06-06  Mark Wielaard  <mark@klomp.org>
1164
1165         * java/security/Security.java (secprops): Initialize.
1166         (loadProviders): Return boolean.
1167         (static): Check result of loadProvider calls. If necessary
1168         display WARNING and fallback to Gnu provider.
1169
1170 2002-06-06  James Clark  <jjc@jclark.com>
1171
1172         Fix for PR libgcj/8738:
1173         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1174         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1175         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1176         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1177         (write): Always decrease avail when count is increased.
1178         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1179         and whether output buffer is full before increasing size.
1180
1181 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1182
1183         * java/io/PrintStream.java (writeChars(char[],int, int)):
1184         Check converter.havePendingBytes().
1185         (writeChars(String,int,int)): Likewise.
1186         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1187         Check converter.havePendingBytes() and flush buffer when stalled.
1188
1189 2003-06-07  Michael Koch  <konqueror@gmx.de>
1190
1191         * include/posix.h
1192         (O_DSYNC): Define O_DSYNC on platforms not
1193         supporting O_FSYNC (newlib).
1194
1195 2003-06-06  Mark Wielaard  <mark@klomp.org>
1196
1197         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1198         AWTError.
1199
1200 2003-06-06  Michael Koch  <konqueror@gmx.de>
1201
1202         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1203         More compile fixes from my stupid work yesterday.
1204
1205 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1206
1207         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1208         if _IEEE_LIBM is undefined.
1209
1210 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1211
1212         * libjava/include/posix.h (O_SYNC): Define if not available
1213         and a reasonable, perhaps more conservative, replacement exists.
1214         (O_DSYNC): Likewise.
1215         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1216
1217 2003-06-05  Michael Koch  <konqueror@gmx.de>
1218
1219         * javax/swing/plaf/BorderUIResource.java,
1220         javax/swing/plaf/basic/BasicDefaults.java,
1221         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1222         More compile fixes for latest Border commit. I should not commit
1223         something in this heat here ...
1224
1225 2003-06-05  Michael Koch  <konqueror@gmx.de>
1226
1227         * javax/swing/border/BevelBorder.java
1228         (BevelBorder): Removed.
1229         * javax/swing/border/EmptyBorder.java:
1230         Reformatted.
1231         (EmptyBorder): Removed.
1232         (getBorderInsets): Dont use l, r, t and b.
1233         * javax/swing/border/EtchedBorder.java
1234         (EtchedBorder): Removed.
1235         * javax/swing/border/LineBorder.java
1236         (LineBorder): Removed.
1237         * javax/swing/border/MatteBorder.java
1238         (MatteBorder): Removed.
1239         * javax/swing/border/TitledBorder.java
1240         (defaultBorder): Use other default for now.
1241         (defaultFont): Likewise.
1242         (defaultColor): Likewise.
1243
1244 2003-06-05  Michael Koch  <konqueror@gmx.de>
1245
1246         * javax/swing/border/Border.java:
1247         New version from classpath.
1248
1249 2003-06-05  Michael Koch  <konqueror@gmx.de>
1250
1251         * javax/swing/border/AbstractBorder.java,
1252         javax/swing/border/BevelBorder.java,
1253         javax/swing/border/CompoundBorder.java,
1254         javax/swing/border/EmptyBorder.java,
1255         javax/swing/border/EtchedBorder.java,
1256         javax/swing/border/LineBorder.java,
1257         javax/swing/border/MatteBorder.java,
1258         javax/swing/border/TitledBorder.java:
1259         New versions from Classpath.
1260
1261 2003-06-05  Michael Koch  <konqueror@gmx.de>
1262
1263         * java/awt/Button.java,
1264         java/awt/Checkbox.java,
1265         java/awt/CheckboxMenuItem.java,
1266         java/awt/Choice.java,
1267         java/awt/Container.java,
1268         java/awt/Dialog.java,
1269         java/awt/EventQueue.java,
1270         java/awt/FileDialog.java,
1271         java/awt/Frame.java,
1272         java/awt/Label.java,
1273         java/awt/List.java,
1274         java/awt/Menu.java,
1275         java/awt/MenuItem.java,
1276         java/awt/Panel.java,
1277         java/awt/PopupMenu.java,
1278         java/awt/Rectangle.java,
1279         java/awt/ScrollPane.java,
1280         java/awt/Scrollbar.java,
1281         java/awt/TextArea.java,
1282         java/awt/TextField.java,
1283         java/awt/Window.java,
1284         java/awt/datatransfer/DataFlavor.java,
1285         java/awt/dnd/DragSource.java,
1286         java/awt/dnd/DragSourceContext.java,
1287         java/awt/event/HierarchyEvent.java,
1288         java/awt/event/MouseWheelEvent.java,
1289         java/awt/im/InputContext.java,
1290         java/awt/image/BufferedImage.java,
1291         java/awt/image/ComponentColorModel.java,
1292         java/awt/image/Raster.java,
1293         java/awt/image/WritableRaster.java,
1294         java/awt/peer/ComponentPeer.java,
1295         java/awt/print/PageFormat.java,
1296         java/awt/print/PrinterJob.java:
1297         New versions from Classpath.
1298
1299 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1300
1301         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1302         numberFormat.setParseIntegerOnly(true).
1303
1304 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1305
1306         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1307
1308 2003-06-03  Andrew Haley  <aph@redhat.com>
1309
1310         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1311         stack volatile to prevent optimization from removing it.
1312
1313 2003-05-27  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/util/zip/Deflater.java
1316         (FILTERED): Merged documentation from classpath.
1317         * java/util/zip/DeflaterOutputStream.java
1318         (DeflaterOutputStream): Merged documentation and argument validity
1319         check from classpath.
1320         (deflate): Merged documentation from classpath.
1321         (finish): Likewise.
1322         * java/util/zip/Inflater.java
1323         (Inflater): Merged class documentation from classpath.
1324         (zstream): Reordered.
1325         (is_finished): Reordered.
1326         (dict_needed): Reordered.
1327         (Inflater): Reordered, merged documentation from classpath.
1328         (end): Likewise.
1329         (finalize): Merged documentation from classpath.
1330         (finished): Likewise.
1331         (getAdler): Likewise.
1332         (getRemaining): Likewise.
1333         (getTotalIn): Likewise.
1334         (getTotalOut): Likewise.
1335         (inflate): Likewise.
1336         (needsDictionary): Likewise.
1337         (needsInput): Likewise.
1338         (reset): Likewise.
1339         (setDictionary): Likewise.
1340         (setInput): Likewise.
1341
1342 2003-05-27  Michael Koch  <konqueror@gmx.de>
1343
1344         * java/net/URLConnection.java
1345         (getHeaderFieldInt): Merged with classpath.
1346
1347 2003-05-27  Michael Koch  <konqueror@gmx.de>
1348
1349         * java/io/PrintStream.java
1350         (PrintStream): Reformatted.
1351         (PrintStream): New method, merged from classpath.
1352         (write): Reformatted.
1353
1354 2003-05-27  Michael Koch  <konqueror@gmx.de>
1355
1356         * java/lang/System.java:
1357         Explicitely import needed classes.
1358
1359 2003-05-26  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/net/NetPermission.java,
1362         java/net/NetworkInterface.java,
1363         java/net/PasswordAuthentication.java,
1364         java/net/SocketPermission.java:
1365         New versions from classpath.
1366
1367 2003-05-25  Michael Koch  <konqueror@gmx.de>
1368
1369         * java/io/PushbackInputStream.java,
1370         java/net/Authenticator.java,
1371         java/net/ContentHandler.java,
1372         java/net/ContentHandlerFactory.java,
1373         java/net/DatagramSocket.java,
1374         java/net/DatagramSocketImpl.java,
1375         java/net/DatagramSocketImplFactory.java,
1376         java/net/FileNameMap.java,
1377         java/net/SocketImplFactory.java,
1378         java/net/SocketOptions.java,
1379         java/net/URLStreamHandlerFactory.java:
1380         Merged new versions from classpath.
1381
1382 2003-05-25  Michael Koch  <konqueror@gmx.de>
1383
1384         * java/awt/Checkbox.java,
1385         java/awt/Dialog.java,
1386         java/awt/Font.java,
1387         java/awt/Frame.java,
1388         java/awt/ScrollPaneAdjustable.java,
1389         java/awt/Scrollbar.java,
1390         java/awt/Window.java:
1391         New versions from classpath.
1392
1393 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1394
1395         PR libgcj/10838:
1396         * java/io/ObjectInputStream (enableResolveObject):
1397         Fixed spelling of permission name.
1398
1399 2003-05-20  Michael Koch  <konqueror@gmx.de>
1400
1401         * java/io/DataInputStream.java
1402         (convertFromUTF): Merged comment from classpath.
1403         * java/io/PrintStream.java
1404         (error_occured): Renamed from error, merged comment from classpath.
1405         (PrintStream): No need to initialized error.
1406         (checkError): Replace error with error_occurred.
1407         (setError): Likewise.
1408
1409 2003-05-20  Michael Koch  <konqueror@gmx.de>
1410
1411         * java/io/DataInputStream.java:
1412         Reformatted, Replaced < and & with html entitites in documentation.
1413         * java/io/File.java:
1414         Reformatted.
1415         * java/io/PrintWriter.java:
1416         Moved class documentation.
1417
1418 2003-05-20  Michael Koch  <konqueror@gmx.de>
1419
1420         * gnu/java/nio/ByteBufferImpl.java,
1421         gnu/java/nio/CharBufferImpl.java,
1422         gnu/java/nio/CharViewBufferImpl.java,
1423         gnu/java/nio/DirectByteBufferImpl.java,
1424         gnu/java/nio/DoubleBufferImpl.java,
1425         gnu/java/nio/DoubleViewBufferImpl.java,
1426         gnu/java/nio/FloatBufferImpl.java,
1427         gnu/java/nio/FloatViewBufferImpl.java,
1428         gnu/java/nio/IntBufferImpl.java,
1429         gnu/java/nio/IntViewBufferImpl.java,
1430         gnu/java/nio/LongBufferImpl.java,
1431         gnu/java/nio/LongViewBufferImpl.java,
1432         gnu/java/nio/natDirectByteBufferImpl.cc,
1433         gnu/java/nio/ShortBufferImpl.java,
1434         gnu/java/nio/ShortViewBufferImpl.java:
1435         Moved files to java/nio.
1436         * gnu/java/nio/SocketChannelImpl.java
1437         
1438         * java/nio/ByteBuffer.java,
1439         java/nio/CharBuffer.java,
1440         java/nio/DoubleBuffer.java,
1441         java/nio/FloatBuffer.java,
1442         java/nio/IntBuffer.java,
1443         java/nio/LongBuffer.java,
1444         java/nio/ShortBuffer.java:
1445         Dont import anything.
1446         * java/nio/ByteBufferImpl.java,
1447         java/nio/CharBufferImpl.java,
1448         java/nio/CharViewBufferImpl.java,
1449         java/nio/DirectByteBufferImpl.java,
1450         java/nio/DoubleBufferImpl.java,
1451         java/nio/DoubleViewBufferImpl.java,
1452         java/nio/FloatBufferImpl.java,
1453         java/nio/FloatViewBufferImpl.java,
1454         java/nio/IntBufferImpl.java,
1455         java/nio/IntViewBufferImpl.java,
1456         java/nio/LongBufferImpl.java,
1457         java/nio/LongViewBufferImpl.java,
1458         java/nio/natDirectByteBufferImpl.cc,
1459         java/nio/ShortBufferImpl.java,
1460         java/nio/ShortViewBufferImpl.java:
1461         Moved from gnu/java/nio.
1462         * Makefile.am
1463         (ordinary_java_source_files): Moved files from gnu/java/nio to
1464         java/nio.
1465         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1466         to java/nio.
1467         * Makefile.in: Regenerated.
1468
1469 2003-05-19  Michael Koch  <konqueror@gmx.de>
1470
1471         * java/util/Calendar.java
1472         (get): Not final anymore since JDK 1.4
1473         (set): Likewise.
1474
1475 2003-05-19  Michael Koch  <konqueror@gmx.de>
1476
1477         * java/text/CollationKey.java:
1478         Merged copyright and dat from classpath.
1479         * java/text/RuleBasedCollator.java:
1480         Merged class documentation from classpath.
1481
1482 2003-05-19  Michael Koch  <konqueror@gmx.de>
1483
1484         * java/nio/CharBuffer.java
1485         (toString): Compile fix.
1486
1487 2003-05-19  Michael Koch  <konqueror@gmx.de>
1488
1489         * gnu/java/nio/ByteBufferImpl.java
1490         (putLong): Fixed conversion to bytes.
1491         (putDouble): Fixed conversion to bytes.
1492         * gnu/java/nio/DirectByteBufferImpl.java
1493         (putLong): Fixed conversion to bytes.
1494         (putDouble): Fixed conversion to bytes.
1495         * gnu/java/nio/FileLockImpl.java
1496         (isValid): Reformatted.
1497         * java/nio/Buffer.java
1498         (Buffer): Fixed off-by-one bug in handling mark.
1499         * java/nio/ByteBuffer.java:
1500         Added newline.
1501         * java/nio/CharBuffer.java
1502         (toString): Don't use relative get to get string data.
1503
1504 2003-05-16  Michael Koch  <konqueror@gmx.de>
1505
1506         * java/io/natFileDescriptorPosix.cc
1507         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1508         tested.
1509
1510 2003-05-14  Michael Koch  <konqueror@gmx.de>
1511
1512         * gnu/java/nio/FileLockImpl.java
1513         (released): New member variable.
1514         (FileLockImpl): Initialize released.
1515         (releaseImpl): New native method.
1516         (release): Implemented.
1517         * gnu/java/nio/SelectorImpl.java: Reformatted.
1518         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1519         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1520         (accept): Throws IOException.
1521         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1522         (implConfigureBlocking): Throws IOException.
1523         (connect): Likewise.
1524         (read): Likewise.
1525         (write): Likewise.
1526         * gnu/java/nio/natFileLockImpl.cc: New file.
1527         * java/nio/channels/FileLock.java: Reformatted.
1528         * Makefile.am:
1529         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1530         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1531         * Makefile.in: Regenerated.
1532
1533 2003-05-13  Michael Koch  <konqueror@gmx.de>
1534
1535         * gnu/java/nio/CharViewBufferImpl.java
1536         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1537         (get): Shift bits to the right direction.
1538         (put): Likewise.
1539         * gnu/java/nio/DoubleViewBufferImpl.java
1540         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1541         (get): Shift bits to the right direction.
1542         (put): Likewise.
1543         * gnu/java/nio/FloatViewBufferImpl.java
1544         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1545         (get): Shift bits to the right direction.
1546         (put): Likewise.
1547         * gnu/java/nio/IntViewBufferImpl.java
1548         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1549         (get): Shift bits to the right direction.
1550         (put): Likewise.
1551         * gnu/java/nio/LongViewBufferImpl.java
1552         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1553         (get): Shift bits to the right direction.
1554         (put): Likewise.
1555         * gnu/java/nio/ShortViewBufferImpl.java
1556         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1557         (get): Shift bits to the right direction.
1558         (put): Likewise.
1559
1560 2003-05-13  Michael Koch  <konqueror@gmx.de>
1561
1562         * gnu/java/nio/natDirectByteBufferImpl.cc
1563         (allocateImpl): jlong -> RawData*.
1564         (freeImpl): Likewise.
1565
1566 2003-05-13  Michael Koch  <konqueror@gmx.de>
1567
1568         * java/nio/channels/FileChannel.java
1569         (MapMode.m): Made it package-private to match JDK 1.4.
1570         * java/nio/charset/Charset.java
1571         (decode): Made it final to match JDK 1.4.
1572
1573 2003-05-13  Michael Koch  <konqueror@gmx.de>
1574
1575        * java/io/FileDescriptor.java
1576        (SYNC): New constant.
1577        (DSYNC): Likewise.
1578        (getLength): Renamed from lenght() to match classpath's
1579        FileDescriptor.java.
1580        * java/io/RandomAccessFile.java
1581        (RandomAccessFile): Removed unneeded mode check, implemented mode
1582        "rws" and "rwd", merged documentation from classpath.
1583        (setLength): Reformatted.
1584        (length): Use new getLength() of FileDescriptor.
1585        * java/io/natFileDescriptorEcos.cc
1586        (getLength): Renamed from length().
1587        * java/io/natFileDescriptorPosix.cc
1588        (open): Implemented support for SYNC and DSYNC.
1589        (seek): Use getLength() instead of length().
1590        (getLength): Renamed from length().
1591        * java/io/natFileDescriptorWin32.cc
1592        (getLength): Renamed from length().
1593        (seek): Use getLength() instead of length().
1594        (available): Likewise.
1595        * gnu/java/nio/natFileChannelImpl.cc
1596        (size): Use getLength() instead of length().
1597
1598 2003-05-13  Michael Koch  <konqueror@gmx.de>
1599
1600         * gnu/java/nio/ByteBufferImpl.java
1601         (ByteBufferImpl): All constructors revised.
1602         (slice): Reimplemented.
1603         (duplicate): Reimplemented.
1604         (asReadOnlyBuffer): Reimplemented.
1605         * java/nio/ByteBuffer.java:
1606         Reformatted.
1607         (array_offset): Renamed from "offset" to match all other buffer
1608         classes.
1609         (ByteBuffer): All constructors revised.
1610         (allocateDirect): Implemented.
1611         (allocate): New implementation, documentation reworked.
1612         (wrap): Likewise.
1613         (get): Documentation reworked.
1614         (put): New implementation, documentation reworked.
1615         (hasArray): Documentation reworked.
1616         (arrayOffset): Likewise.
1617         (hashCode): Likewise.
1618         (equals): Likewise.
1619         (compareTo): Likewise.
1620         (order): Likewise.
1621         (compact): Likewise.
1622         (isDirect): Likewise.
1623         (slice): Likewise.
1624         (duplicate): Likewise.
1625         (asReadOnlyBuffer): Likewise.
1626         * Makefile.am
1627         (ordinary_java_source_files):
1628         Added gnu/java/nio/DirectByteBufferImpl.java.
1629         (nat_source_files):
1630         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1631         * Makefile.in: Regenerated.
1632
1633 2003-05-12  Michael Koch  <konqueror@gmx.de>
1634
1635         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1636         (nio_get_*): Removed.
1637         (nio_put_*): Removed.
1638         (as*Buffer): Implemented.
1639         (compact): Implemented.
1640         (get): Documentation added.
1641         (put): Documentation added.
1642         (get*): Newly implemented.
1643         (put*): Newly implemented.
1644         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1645         (CharBufferImpl): Revised.
1646         (slice): New implementation.
1647         (duplicate): New implementation.
1648         (compact): New implementation.
1649         (asReadOnlyBuffer): New implementation.
1650         (get): Documentation revised.
1651         (order): Return native byte order.
1652         * gnu/java/nio/DirectByteBufferImpl.java
1653         (allocateDirect): objects can be null not 0.
1654         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1655         (DoubleBufferImpl): Revised.
1656         (slice): New implementation.
1657         (duplicate): New implementation.
1658         (compact): New implementation.
1659         (asReadOnlyBuffer): New implementation.
1660         (get): Documentation revised.
1661         (order): Return native byte order.
1662         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1663         (FloatBufferImpl): Revised.
1664         (slice): New implementation.
1665         (duplicate): New implementation.
1666         (compact): New implementation.
1667         (asReadOnlyBuffer): New implementation.
1668         (get): Documentation revised.
1669         (order): Return native byte order.
1670         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1671         (IntBufferImpl): Revised.
1672         (slice): New implementation.
1673         (duplicate): New implementation.
1674         (compact): New implementation.
1675         (asReadOnlyBuffer): New implementation.
1676         (get): Documentation revised.
1677         (order): Return native byte order.
1678         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1679         (LongBufferImpl): Revised.
1680         (slice): New implementation.
1681         (duplicate): New implementation.
1682         (compact): New implementation.
1683         (asReadOnlyBuffer): New implementation.
1684         (get): Documentation revised.
1685         (order): Return native byte order.
1686         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1687         (ShortBufferImpl): Revised.
1688         (slice): New implementation.
1689         (duplicate): New implementation.
1690         (compact): New implementation.
1691         (asReadOnlyBuffer): New implementation.
1692         (get): Documentation revised.
1693         (order): Return native byte order.
1694         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1695         (CharBuffer): Revised.
1696         (order): Removed.
1697         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1698         (DoubleBuffer): Revised.
1699         (allocateDirect): Removed.
1700         (order): Removed.
1701         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1702         (FloatBuffer): Revised.
1703         (allocateDirect): Removed.
1704         (order): Removed.
1705         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1706         (IntBuffer): Revised.
1707         (allocateDirect): Removed.
1708         (order): Removed.
1709         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1710         (LongBuffer): Revised.
1711         (allocateDirect): Removed.
1712         (order): Removed.
1713         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1714         (ShortBuffer): Revised.
1715         (allocateDirect): Removed.
1716         (order): Removed.
1717         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1718         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1719         * Makefile.am
1720         (ordinary_java_source_files): Added the following files:
1721         gnu/java/nio/CharViewBufferImpl.java,
1722         gnu/java/nio/DoubleViewBufferImpl.java,
1723         gnu/java/nio/FloatViewBufferImpl.java,
1724         gnu/java/nio/IntViewBufferImpl.java,
1725         gnu/java/nio/LongViewBufferImpl.java,
1726         gnu/java/nio/ShortViewBufferImpl.java
1727         (nat_source_files): Removed the following files:
1728         gnu/java/nio/natByteBufferImpl.cc,
1729         gnu/java/nio/natCharBufferImpl.cc
1730         * Makefile.in: Regenerated.
1731
1732 2003-05-12  Michael Koch  <konqueror@gmx.de>
1733
1734         * gnu/java/nio/CharViewBufferImpl.java,
1735         gnu/java/nio/DirectByteBufferImpl.java,
1736         gnu/java/nio/DoubleViewBufferImpl.java,
1737         gnu/java/nio/FloatViewBufferImpl.java,
1738         gnu/java/nio/IntViewBufferImpl.java,
1739         gnu/java/nio/LongViewBufferImpl.java,
1740         gnu/java/nio/ShortViewBufferImpl.java,
1741         gnu/java/nio/natDirectByteBufferImpl.cc:
1742         New files, not yet to be compiled.
1743
1744 2003-05-10  Michael Koch  <konqueror@gmx.de>
1745
1746         * javax/swing/plaf/ButtonUI.java,
1747         javax/swing/plaf/ColorUIResource.java,
1748         javax/swing/plaf/ComponentUI.java,
1749         javax/swing/plaf/DimensionUIResource.java,
1750         javax/swing/plaf/FontUIResource.java,
1751         javax/swing/plaf/IconUIResource.java,
1752         javax/swing/plaf/InsetsUIResource.java,
1753         javax/swing/plaf/LabelUI.java,
1754         javax/swing/plaf/ListUI.java,
1755         javax/swing/plaf/OptionPaneUI.java,
1756         javax/swing/plaf/PanelUI.java,
1757         javax/swing/plaf/TabbedPaneUI.java,
1758         javax/swing/plaf/TextUI.java,
1759         javax/swing/plaf/TreeUI.java,
1760         javax/swing/plaf/ViewportUI.java,
1761         javax/swing/plaf/basic/BasicBorders.java,
1762         javax/swing/plaf/basic/BasicButtonUI.java,
1763         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1764         javax/swing/plaf/basic/BasicDefaults.java,
1765         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1766         javax/swing/plaf/basic/BasicIconFactory.java,
1767         javax/swing/plaf/basic/BasicLabelUI.java,
1768         javax/swing/plaf/basic/BasicListUI.java,
1769         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1770         javax/swing/plaf/basic/BasicPanelUI.java,
1771         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1772         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1773         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1774         javax/swing/plaf/basic/BasicTextUI.java,
1775         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1776         javax/swing/plaf/basic/BasicTreeUI.java,
1777         javax/swing/plaf/basic/BasicViewportUI.java,
1778         javax/swing/plaf/metal/MetalLookAndFeel.java:
1779         New versions from classpath. This adds copyrights to all files and
1780         some serialVersionUIDs.
1781
1782 2003-05-10  Michael Koch  <konqueror@gmx.de>
1783
1784         * java/nio/CharBuffer.java
1785         (offset): Make it package-private.
1786         (backing_buffer): Likewise.
1787         * java/nio/DoubleBuffer.java
1788         (offset): Make it package-private.
1789         (backing_buffer): Likewise.
1790         (put): Reformatted.
1791         * java/nio/FloatBuffer.java
1792         (offset): Make it package-private.
1793         (backing_buffer): Likewise.
1794         * java/nio/IntBuffer.java
1795         (offset): Make it package-private.
1796         (backing_buffer): Likewise.
1797         * java/nio/LongBuffer.java
1798         (offset): Make it package-private.
1799         (backing_buffer): Likewise.
1800         * java/nio/ShortBuffer.java
1801         (offset): Make it package-private.
1802         (backing_buffer): Likewise.
1803
1804 2003-05-10  Michael Koch  <konqueror@gmx.de>
1805
1806         * java/nio/CharBuffer.java
1807         (put): Fixed precondtion check.
1808         (toString): Make it work without backing array.
1809         (put): Skip one level of method calling.
1810
1811 2003-05-10  Michael Koch  <konqueror@gmx.de>
1812
1813         * java/security/Identity.java,
1814         java/security/IdentityScope.java,
1815         java/security/Key.java,
1816         java/security/KeyPair.java,
1817         java/security/PrivateKey.java,
1818         java/security/Provider.java,
1819         java/security/PublicKey.java,
1820         java/security/SecureRandom.java,
1821         java/security/SecureRandomSpi.java,
1822         java/security/SignedObject.java,
1823         java/security/Signer.java,
1824         java/security/cert/Certificate.java,
1825         java/security/cert/PKIXCertPathBuilderResult.java,
1826         java/security/cert/X509Certificate.java:
1827         New versions from classpath.
1828
1829 2003-05-09  Tom Tromey  <tromey@redhat.com>
1830
1831         * Makefile.in: Rebuilt.
1832         * Makefile.am (nat_source_files): Removed old files.
1833         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1834         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1835         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1836         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1837         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1838
1839 2003-05-09  Michael Koch  <konqueror@gmx.de>
1840
1841         * gnu/java/nio/ByteBufferImpl.java
1842         (nio_cast): Removed.
1843         (ByteBufferImpl): Removed.
1844         (nio_get_Byte): Removed.
1845         (nio_put_Byte): Removed.
1846         (asByteBuffer): Removed.
1847         (asCharBuffer): Removed implementation and throw exception.
1848         (asShortBuffer): Likewise.
1849         (asIntBuffer): Likewise.
1850         (asLongBuffer): Likewise.
1851         (asFloatBuffer): Likewise.
1852         (asDoubleBuffer): Likewise.
1853         * gnu/java/nio/CharBufferImpl.java
1854         (CharBufferImpl): Removed.
1855         (nio_get_Byte): Removed.
1856         (nio_put_Byte): Removed.
1857         (asByteBuffer): Removed.
1858         * gnu/java/nio/DoubleBufferImpl.java
1859         (DoubleBufferImpl): Removed.
1860         (nio_get_Byte): Removed.
1861         (nio_put_Byte): Removed.
1862         (asByteBuffer): Removed.
1863         * gnu/java/nio/FloatBufferImpl.java
1864         (FloatBufferImpl): Removed.
1865         (nio_get_Byte): Removed.
1866         (nio_put_Byte): Removed.
1867         (asByteBuffer): Removed.
1868         * gnu/java/nio/IntBufferImpl.java
1869         (IntBufferImpl): Removed.
1870         (nio_get_Byte): Removed.
1871         (nio_put_Byte): Removed.
1872         (asByteBuffer): Removed.
1873         * gnu/java/nio/LongBufferImpl.java
1874         (LongBufferImpl): Removed.
1875         (nio_get_Byte): Removed.
1876         (nio_put_Byte): Removed.
1877         (asByteBuffer): Removed.
1878         * gnu/java/nio/ShortBufferImpl.java
1879         (ShortBufferImpl): Removed.
1880         (nio_get_Byte): Removed.
1881         (nio_put_Byte): Removed.
1882         (asByteBuffer): Removed.
1883         * gnu/java/nio/natByteBufferImpl.cc
1884         (nio_cast): Removed.
1885         (nio_get_Byte): Removed.
1886         (nio_put_Byte): Removed.
1887         * gnu/java/nio/natCharBufferImpl.cc
1888         (nio_get_Byte): Removed.
1889         (nio_put_Byte): Removed.
1890
1891 2003-05-09  Michael Koch  <konqueror@gmx.de>
1892
1893         * java/net/JarURLConnection.java
1894         (getJarEntry): Merged documentation from classpath.
1895         (getJarFile): Likewise.
1896         (getMainAttributes): Likewise.
1897         (getAttributes): Likewise.
1898         (getManifest): Likewise.
1899         (getCertificates): Reformatted.
1900         * java/net/URLConnection.java:
1901         Little classpath merge.
1902
1903 2003-05-09  Michael Koch  <konqueror@gmx.de>
1904
1905         * java/io/DataOutputStream.java
1906         (writeShort): Made it synchronized.
1907         (writeChar): Likewise.
1908         (writeInt): Likewise.
1909         (writeLong): Liekwise.
1910         (writeUTF): Made it synchronized, renamed argument to match classpath.
1911         * java/io/InputStreamReader.java
1912         (converter): Added documentation.
1913         (read): Merged documentation from classpath.
1914         * java/io/OutputStreamWriter.java
1915         (OutputStreamWriter): Merged documentation from classpath.
1916         (close): Reformatted.
1917         (getEncoding): Likewise.
1918         (flush): Likewise.
1919         (write): Merged documentation from classpath, reformatted.
1920
1921 2003-05-08  Tom Tromey  <tromey@redhat.com>
1922
1923         * configure.host <powerpc64*-*>: Set with_libffi_default and
1924         libgcj_interpreter to "yes".
1925
1926 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1927
1928         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1929         
1930 2003-05-06  Tom Tromey  <tromey@redhat.com>
1931
1932         * verify.cc: Reverted previous patch.
1933
1934 2003-05-06  Michael Koch  <konqueror@gmx.de>
1935
1936         * java/io/DataOutputStream.java
1937         (write): Renamed argument to "value", merged documentation from
1938         classpath.
1939         (writeBoolean): Likewise.
1940         (writeByte): Likewise.
1941         (writeShort): Likewise.
1942         (writeChar): Likewise.
1943         (writeInt): Likewise.
1944         (writeLong): Likewise.
1945         (writeFloat): Likewise.
1946         (writeDouble): Likewise.
1947         (writeBytes): Likewise.
1948         (writeChars): Likewise.
1949         (writeUTF): Likewise.
1950         * java/io/File.java
1951         (performDelete): Added documentation.
1952         (performList): Likewise.
1953         (performMkdir): Likewise.
1954         (performSetReadOnly): Likewise.
1955         (performRenameTo): Likewise.
1956         (performSetLastModified): Likewise.
1957         (delete): Made it sychronized.
1958         (renameTo): Made it sychronized.
1959         (equals): Reformatted.
1960         (isHidden): Likewise.
1961         (listFiles): Likewise.
1962         (setReadOnly): Likewise.
1963         (listRoots): Likewise.
1964         (setLastModified): Likewise.
1965         (checkRead): Likewise.
1966         (checkWrite): Likewise.
1967         * java/io/FileInputStream.java
1968         (skip): Made it sychronized, merged from classpath.
1969         * java/io/FileOutputStream.java
1970         (write): Merged from classpath.
1971         * java/io/InputStreamReader.java:
1972         (InputStreamReader): Merged documentation from classpath.
1973
1974 2003-05-05  Michael Koch  <konqueror@gmx.de>
1975
1976         * java/net/NetworkInterface.java
1977         (networkInterfaces): Removed.
1978         (getByName): Use getRealNetworkInterfaces() instead of
1979         networkInterfaces.
1980         (getByInetAddress): Likewise.
1981         (getNetworkInterfaces): Likewise.
1982         (toString): Fix output of addresses of an interface.
1983
1984 2003-05-05  Michael Koch  <konqueror@gmx.de>
1985
1986         * java/io/DataInputStream.java:
1987         Merged new documentation from classpath.
1988
1989 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1990
1991         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1992         "version".
1993         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1994         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1995         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1996         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1997         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1998         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1999         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2000         * java/security/Key.java: Likewise.
2001         * java/security/PrivateKey.java: Likewise.
2002         * java/security/Provider.java: Likewise.
2003         * java/security/PublicKey.java: Likewise.
2004
2005 2003-05-02  Michael Koch  <konqueror@gmx.de>
2006
2007         * java/net/URI.java
2008         (create): Doesnt throws any exceptions.
2009         * java/net/URLConnection.java
2010         (URLConnection): Commend added.
2011         (getExpiration): The header field is called "expires" not
2012         "expiration".
2013         (getHeaderField): Merged documentation with classpath.
2014         (getHeaderFieldInt): Likewise.
2015         (getHeaderFieldDate): Likewise.
2016         (getHeaderFieldKey): Likewise.
2017         (getPermission): Likewise.
2018         (setDefaultUseCaches): Likewise.
2019         (setRequestProperty): Likewise.
2020         (addRequestProperty): Likewise.
2021         (getRequestProperty): Likewise.
2022         (getRequestProperties): Likewise.
2023         (setDefaultRequestProperty): Likewise.
2024         (getDefaultRequestProperty): Likewise.
2025         (guessContentTypeFromStream): Likewise.
2026         (getFileNameMap): Likewise.
2027         (setFileNameMap): Likewise.
2028         (setDoInput): Merged implementation and documentation with classpath.
2029         (setDoOutput): Likewise.
2030         (setAllowUserInteraction): Likewise.
2031         (setDefaultAllowUserInteraction): Likewise.
2032         (setContentHandlerFactory): Made it synchronized, merged documentation
2033         with classpath.
2034         (guessContentTypeFromName): Renamed argument fname to filename to
2035         match classpath, merged documentation with classpath.
2036
2037 2003-05-02  Michael Koch  <konqueror@gmx.de>
2038
2039         * java/net/JarURLConnection.java
2040         (JarURLConnection): Class documentation merged with classpath.
2041         (getJarFileURL): Moved and documentation merged with classpath.
2042         (getEntryName): Likewise.
2043         (JarURLConnection): Documentation merged with classpath.
2044         (getJarEntry): Likewise.
2045         (getJarFile): Likewise.
2046         * java/net/PlainDatagramSocketImpl.java:
2047         Class documentation moved.
2048         * java/net/URLConnection.java
2049         (fileNameMap): Moved and documentation merged with classpath.
2050         (factory): Likewise.
2051         (defaultAllowUserInteraction): Likewis.
2052         (defaultUseCaches): Likewise.
2053         (allowUserInteraction): Likewise.
2054         (connected): Likewise.
2055         (url): Likewise.
2056         (connect): Documentation merged with classpath.
2057         (getURL): Likewise.
2058         (getContentLength): Likewise.
2059         (getContentType): Likewise.
2060         (getContentEncoding): Likewise.
2061         (getExpiration): Likewise.
2062         (getDate): Likewise.
2063         (getLastModified): Likewise.
2064         (getHeaderField): Likewise.
2065         (getContent): Likewise.
2066         (getPermission): Likewise.
2067         (getInputStream): Likewise.
2068         (getOutputStream): Likewise.
2069         (toString): Likewise.
2070         (getDoInput): Likewise.
2071         (getDoOutput): Likewise.
2072         (setAllowUserInteraction): Likewise.
2073         (getAllowUserInteraction): Likewise.
2074         (setDefaultAllowUserInteraction): Likewise.
2075         (getDefaultAllowUserInteraction): Likewise.
2076         (setUseCaches): Likewise.
2077         (getUseCaches): Likewise.
2078         (setIfModifiedSince): Likewise.
2079         (getIfModifiedSince): Likewise.
2080         (setDefaultRequestProperty): Likewise.
2081         (getDefaultRequestProperty): Likewise.
2082         (setContentHandlerFactory): Likewise.
2083         (setFileNameMap): Likewise.
2084
2085 2003-05-02  Michael Koch  <konqueror@gmx.de>
2086
2087         * java/net/InetAddress.java:
2088         Merged class documentation with classpath.
2089         * java/net/JarURLConnection.java:
2090         Explicitely import all used classes.
2091         * java/net/URL.java:
2092         Reformatting.
2093         * java/net/ServerSocket.java,
2094         java/net/Socket.java:
2095         New versions from classpath.
2096
2097 2003-05-02  Michael Koch  <konqueror@gmx.de>
2098
2099         * gnu/java/nio/FileChannelImpl.java
2100         (read): New implementation.
2101         (implRead): New methods.
2102         (write): New implementation, call other write insteal of read method.
2103         (implWrite): New methods.
2104         (map): Added comment.
2105         (transferFrom): Implemented.
2106         (transferTo): Implemented.
2107         (lock): Added checks to throw exceptions.
2108         (truncate): Added check to throw exception.
2109         * gnu/java/nio/natFileChannelImpl.cc
2110         (implRead): New method.
2111         (implWrite): New method.
2112         * java/nio/ByteBuffer.java
2113         (hashCode): Fixed comment.
2114         (get): Fixed exception documentation.
2115         (put): Fixed exception documentation.
2116         * java/nio/CharBuffer.java:
2117         Added comment for later optimizations.
2118
2119 2003-04-30  Tom Tromey  <tromey@redhat.com>
2120
2121         PR libgcj/10582:
2122         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2123         Removed.
2124         (type::compatible): Use _Jv_IsAssignableFrom.
2125         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2126         (_Jv_IsAssignableFrom): Work even when source or target class is
2127         not prepared.
2128
2129 2003-04-30  Michael Koch  <konqueror@gmx.de>
2130
2131         * java/text/BreakIterator.java
2132         (clone): New method.
2133
2134 2003-04-30  Michael Koch  <konqueror@gmx.de>
2135
2136         * java/text/CollationElementIterator.java,
2137         java/text/CollationKey.java,
2138         java/text/RuleBasedCollator.java:
2139         Merged copyright and documentation from classpath and
2140         rearranged some code. No code changes done.
2141
2142 2003-04-30  Michael Koch  <konqueror@gmx.de>
2143
2144         * java/util/regex/Matcher.java
2145         (pattern): New member variable.
2146         (appendReplacement): New method.
2147         (appendTail): New method.
2148         (end): New method.
2149         (find): New method.
2150         (group): New method.
2151         (replaceFirst): Added documentation.
2152         (replaceAll): Added documentation.
2153         (groupCount): New method.
2154         (lookingAt): New method.
2155         (matches): New method.
2156         (reset): New method.
2157         (start): New method.
2158         * java/util/regex/Pattern.java
2159         (serialVersionUID): New constant.
2160         (CANON_EQ): New constant.
2161         (CASE_INSENSITIVE): New constant.
2162         (COMMENTS): New constant.
2163         (DOTALL): New constant.
2164         (MULTILINE): New constant.
2165         (UNICODE_CASE): New constant.
2166         (UNIX_LINES): New constant.
2167         (regex): New member variable.
2168         (flags): New member variable.
2169         (Pattern): New method.
2170         (compile): Documentation added.
2171         (flags): New method.
2172         (matches): Documentation added.
2173         (matcher): Documentation added.
2174         (split): Documentation added.
2175         (pattern): New method.
2176
2177 2003-04-30  Michael Koch  <konqueror@gmx.de>
2178
2179         * gnu/java/security/Engine.java,
2180         gnu/java/security/OID.java,
2181         gnu/java/security/der/BitString.java,
2182         gnu/java/security/der/DER.java,
2183         gnu/java/security/der/DERReader.java,
2184         gnu/java/security/der/DERValue.java,
2185         gnu/java/security/der/DERWriter.java,
2186         gnu/java/security/provider/DSAKeyFactory.java,
2187         gnu/java/security/provider/X509CertificateFactory.java,
2188         gnu/java/security/x509/X500DistinguishedName.java,
2189         gnu/java/security/x509/X509CRL.java,
2190         gnu/java/security/x509/X509CRLEntry.java,
2191         gnu/java/security/x509/X509Certificate.java,
2192         java/security/cert/CRLSelector.java,
2193         java/security/cert/CertPathBuilder.java,
2194         java/security/cert/CertPathBuilderResult.java,
2195         java/security/cert/CertPathBuilderSpi.java,
2196         java/security/cert/CertPathParameters.java,
2197         java/security/cert/CertPathValidator.java,
2198         java/security/cert/CertPathValidatorResult.java,
2199         java/security/cert/CertPathValidatorSpi.java,
2200         java/security/cert/CertSelector.java,
2201         java/security/cert/CertStore.java,
2202         java/security/cert/CertStoreParameters.java,
2203         java/security/cert/CertStoreSpi.java,
2204         java/security/cert/CollectionCertStoreParameters.java,
2205         java/security/cert/LDAPCertStoreParameters.java,
2206         java/security/cert/PKIXBuilderParameters.java,
2207         java/security/cert/PKIXCertPathBuilderResult.java,
2208         java/security/cert/PKIXCertPathChecker.java,
2209         java/security/cert/PKIXCertPathValidatorResult.java,
2210         java/security/cert/PKIXParameters.java,
2211         java/security/cert/PolicyNode.java,
2212         java/security/cert/PolicyQualifierInfo.java,
2213         java/security/cert/TrustAnchor.java,
2214         javax/security/auth/x500/X500Principal.java:
2215         New files from classpath.
2216         * gnu/java/io/ASN1ParsingException.java,
2217         gnu/java/io/Base64InputStream.java,
2218         gnu/java/security/der/DEREncodingException.java,
2219         gnu/java/security/provider/DSAParameters.java,
2220         gnu/java/security/provider/DSASignature.java,
2221         gnu/java/security/provider/Gnu.java,
2222         gnu/java/security/provider/GnuDSAPrivateKey.java,
2223         gnu/java/security/provider/GnuDSAPublicKey.java,
2224         java/security/AlgorithmParameterGenerator.java,
2225         java/security/AlgorithmParameters.java,
2226         java/security/KeyFactory.java,
2227         java/security/KeyPairGenerator.java,
2228         java/security/KeyStore.java,
2229         java/security/MessageDigest.java,
2230         java/security/SecureClassLoader.java,
2231         java/security/SecureRandom.java,
2232         java/security/Security.java,
2233         java/security/Signature.java,
2234         java/security/cert/Certificate.java,
2235         java/security/cert/CertificateFactory.java,
2236         java/security/cert/CertificateFactorySpi.java,
2237         java/security/cert/X509CRL.java,
2238         java/security/cert/X509Certificate.java,
2239         java/security/spec/DSAPublicKeySpec.java:
2240         New versions from classpath.
2241         * gnu/java/security/provider/DERReader.java,
2242         gnu/java/security/provider/DERWriter.java,
2243         java/security/Engine.java: Removed.
2244         * Makefile.am
2245         (java_source_files, javax_source_files): Added new files.
2246         * Makefile.in: Regenerated.
2247
2248 2003-04-29  Michael Koch  <konqueror@gmx.de>
2249
2250         * javax/swing/JTable.java
2251         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2252         (AUTO_RESIZE_LAST_COLUMN): New constant.
2253         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2254         (AUTO_RESIZE_OFF): New constant.
2255         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2256         (JTable): New method.
2257         (columnAdded): New method.
2258         (columnMarginChanged): New method.
2259         (columnMoved): New method.
2260         (columnRemoved): New method.
2261         (columnSelectionChanged): New method.
2262         (editingCanceled): New method.
2263         (editingStopped): New method.
2264         (getColumnModel): New method.
2265         (getPreferredScrollableViewportSize): New method.
2266         (getScrollableBlockIncrement): New method.
2267         (getScrollableTracksViewportHeight): New method.
2268         (getScrollableTracksViewportWidth): New method.
2269         (getScrollableUnitIncrement): New method.
2270         (getSelectedRow): New method.
2271         (getSelectionModel): New method.
2272         (tableChanged): New method.
2273         (setModel): New method.
2274         (setSelectionMode): New method.
2275         (setSelectionModel): New method.
2276         (setShowGrid): New method.
2277         (valueChanged): New method.
2278         * javax/swing/text/DefaultEditorKit.java
2279         (backwardAction): New constant.
2280         (beepAction): New constant.
2281         (beginAction): New constant.
2282         (beginLineAction): New constant.
2283         (beginParagraphAction): New constant.
2284         (beginWordAction): New constant.
2285         (copyAction): New constant.
2286         (cutAction): New constant.
2287         (defaultKeyTypedAction): New constant.
2288         (deleteNextCharAction): New constant.
2289         (deletePrevCharAction): New constant.
2290         (downAction): New constant.
2291         (endAction): New constant.
2292         (endLineAction): New constant.
2293         (endOfLineStringProperty): New constant.
2294         (endParagraphAction): New constant.
2295         (endWordAction): New constant.
2296         (forwardAction): New constant.
2297         (insertBreakAction): New constant.
2298         (insertContentAction): New constant.
2299         (insertTabAction): New constant.
2300         (nextWordAction): New constant.
2301         (pageDownAction): New constant.
2302         (pageUpAction): New constant.
2303         (pasteAction): New constant.
2304         (previousWordAction): New constant.
2305         (readOnlyAction): New constant.
2306         (selectAllAction): New constant.
2307         (selectionBackwardAction): New constant.
2308         (selectionBeginAction): New constant.
2309         (selectionBeginLineAction): New constant.
2310         (selectionBeginParagraphAction): New constant.
2311         (selectionBeginWordAction): New constant.
2312         (selectionDownAction): New constant.
2313         (selectionEndAction): New constant.
2314         (selectionEndLineAction): New constant.
2315         (selectionEndParagraphAction): New constant.
2316         (selectionEndWordAction): New constant.
2317         (selectionForwardAction): New constant.
2318         (selectionNextWordAction): New constant.
2319         (selectionPreviousWordAction): New constant.
2320         (selectionUpAction): New constant.
2321         (selectLineAction): New constant.
2322         (selectParagraphAction): New constant.
2323         (selectWordAction): New constant.
2324         (upAction): New constant.
2325         (writableAction): New constant.
2326
2327 2003-04-29  Michael Koch  <konqueror@gmx.de>
2328
2329         * java/util/PropertyPermission.java:
2330         New version from classpath
2331         * java/util/ResourceBundle.java:
2332         Partly merged from classpath
2333         (getObject): Reformated.
2334         (tryBundle): Set foundBundle = null if no bundle found.
2335
2336 2003-04-29  Michael Koch  <konqueror@gmx.de>
2337
2338         * javax/swing/AbstractListModel.java,
2339         javax/swing/DefaultBoundedRangeModel.java,
2340         javax/swing/DefaultSingleSelectionModel.java:
2341         New Versions from classpath.
2342
2343 2003-04-29  Michael Koch  <konqueror@gmx.de>
2344
2345         * java/awt/Window.java
2346         (show): Call super.show() instead of setVisible() to avoid endless
2347         loop.
2348         (hide): Call super.hide() instead of setVisible() to avoid endless
2349         loop.
2350
2351 2003-04-29  Michael Koch  <konqueror@gmx.de>
2352
2353         * java/util/zip/Deflater.java,
2354         java/util/zip/DeflaterOutputStream.java:
2355         Partly merged with classpath.
2356
2357 2003-04-27  Tom Tromey  <tromey@redhat.com>
2358
2359         * java/lang/natString.cc (_Jv_AllocString): Initialize
2360         cachedHashCode.
2361         (init): Likewise.
2362         (_Jv_NewStringUtf8Const): Likewise.
2363
2364 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2365
2366         * include/jvm.h: (_Jv_GetNbArgs) added
2367         (_Jv_GetSafeArg) added
2368         (_Jv_SetArgs) added
2369         * prims.cc: (_Jv_GetNbArgs) implemented
2370         (_Jv_GetSafeArg) implemented
2371         (_Jv_SetArgs) implemented
2372         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2373         setting _Jv_argc and _Jv_argv
2374         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2375         instead of _Jv_argv
2376         * java/lang/natRuntime.cc: (insertSystemProperties) use
2377         _Jv_GetSafeArg() instead of _Jv_argv
2378
2379 2003-04-23  Tom Tromey  <tromey@redhat.com>
2380
2381         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2382         required by this object.  Search superclasses to find required
2383         alignment.
2384         (get_alignment_from_class): Use alignment of type as it appears
2385         in a struct.
2386         (ALIGNOF): New macro.
2387         (struct aligner): New helper structure.
2388
2389 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2390
2391         * java/awt/Container.java (addImpl): Enable paint events if adding
2392         a lightweight to a heavyweight.
2393         (addNotify): Ensure that peer is created before
2394         addNotifyContainerChildren.
2395         (addNotifyContainerChildren): Enable paint events if a heavyweight
2396         container contains a lightweight.
2397
2398 2003-04-20  Tom Tromey  <tromey@redhat.com>
2399
2400         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2401         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2402         Classpath.
2403
2404 2003-04-19  Tom Tromey  <tromey@redhat.com>
2405
2406         * java/sql/Date.java, java/sql/DriverManager.java,
2407         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2408         Classpath.
2409
2410         * Makefile.in: Rebuilt.
2411         * Makefile.am (ordinary_java_source_files): Added new files.
2412         * java/security/AlgorithmParameterGenerator.java,
2413         java/security/AlgorithmParameters.java, java/security/Engine.java,
2414         java/security/Identity.java, java/security/IdentityScope.java,
2415         java/security/KeyFactory.java,
2416         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2417         java/security/MessageDigest.java, java/security/Policy.java,
2418         java/security/ProtectionDomain.java,
2419         java/security/SecureRandom.java, java/security/Security.java,
2420         java/security/Signature.java, java/security/SignatureSpi.java,
2421         java/security/SignedObject.java, java/security/Signer.java,
2422         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2423         java/security/spec/PSSParameterSpec.java,
2424         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2425         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2426         Classpath.
2427
2428 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2429
2430         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2431         (dispose): Null metrics.
2432         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2433         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2434         finalize.
2435         (finalize): Call dispose.
2436         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2437         (gcCachedCount): New field.
2438         (finalize): New method.
2439         (putGCInCache): New method.
2440         (getGCFromCache): New method.
2441         * gnu/gcj/xlib/GC.java (GC): Make protected.
2442         (clone): Get new GC from cache if possible.
2443         (create): New static method.
2444         (dispose): Save old GC in cache.
2445         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2446         deleting.
2447         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2448         is null.
2449         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2450         * java/awt/Container.java (visitChild): Dispose gfx2 when
2451         finished.
2452
2453 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2454
2455         * java/math/BigInteger.java (probablePrime): New.
2456         * java/math/BigDecimal.java (unscaledValue): New.
2457
2458 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2459
2460         * java/io/File.java (getAbsolutePath): On Windows, take care
2461         of paths like "C:", "G:foo\bar", etc.
2462         (getName): Make it work correctly on Windows.
2463         (getParent): Make it work correctly on Windows. For UNIX,
2464         fix bug that causes "/" to be returned as the parent of "/",
2465         instead of null as returned by Sun's JRE.
2466
2467         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2468
2469 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2470
2471         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2472         inner class.
2473         (CACHE_SIZE_PER_DISPLAY): New field
2474         (fontMetricsCache): New field
2475         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2476         loading ISO10646-1 fonts.
2477
2478 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2479
2480         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2481         characters.
2482         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2483         characters.
2484
2485 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2486
2487         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2488         floating point.
2489
2490 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2491
2492         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2493         installed libpthread is either linuxthreads with floating stacks or
2494         NPTL.
2495
2496 2003-04-14  Tom Tromey  <tromey@redhat.com>
2497
2498         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2499         of alignment.
2500
2501 2003-04-10  Tom Tromey  <tromey@redhat.com>
2502
2503         * verify.cc (pop64): Removed.
2504         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2505         exception if top-of-stack is narrow.
2506         (initialize_stack): Check to ensure that <init> is not static and
2507         <clinit> is.
2508
2509 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2510
2511         * java/io/ObjectStreamException
2512         * java/io/FileFilter
2513         * java/io/FilenameFilter
2514         * java/io/ObjectInput
2515         * java/io/ObjectOutput
2516         * java/io/ObjectStreamConstants
2517         Minor doc fixes, format fixes, spelling corrections, etc.
2518         * java/io/DataInput
2519         Corrected code samples in Javadocs to match reality
2520         * java/io/DataOutput
2521         * java/io/ObjectInputValidation
2522         Major documentation fixes - all Javadocs re-written or updated
2523
2524 2003-04-06  Michael Koch  <konqueror@gmx.de>
2525
2526         * java/net/URLConnection.java:
2527         Import classes directly.
2528         (URLConnection): Merged class documentation with classpath.
2529         (url): Moved, documentation from classpath added.
2530         (doInput): Moved, documentation from classpath added.
2531         (doOutput): Moved, documentation from classpath added.
2532         (allowUserInteraction): Moved.
2533         (useCaches): Moved, documentation from classpath added.
2534         (ifModifiedSince): Moved, documentation from classpath added.
2535         (connected): Moved, documentation from classpath added.
2536
2537 2003-04-06  Michael Koch  <konqueror@gmx.de>
2538
2539         * java/io/FileInputStream.java
2540         (skip): Renamed some variables to match classpath, added
2541         checks from classpath.
2542
2543 2003-03-31  Michael Koch  <konqueror@gmx.de>
2544
2545         * javax/swing/AbstractAction.java
2546         (AbstractAction): Reformatted.
2547         (serialVersionUID): New private member variable.
2548         * javax/swing/plaf/BorderUIResource.java
2549         (serialVersionUID): New private member variable.
2550         * javax/swing/plaf/basic/BasicLookAndFeel.java
2551         (serialVersionUID): New private member variable.
2552
2553 2003-03-31  Michael Koch  <konqueror@gmx.de>
2554
2555         * java/sql/Date.java
2556         (valueOf): Deprecated, reformatted.
2557         (toString): Deprecated, reformatted.
2558         * java/sql/Time.java
2559         (valueOf): Deprecated, reformatted.
2560         (toString): Deprecated, reformatted.
2561
2562 2003-03-31  Michael Koch  <konqueror@gmx.de>
2563
2564         * java/rmi/dgc/VMID.java
2565         (isUnique): Deprecated.
2566
2567 2003-03-31  Michael Koch  <konqueror@gmx.de>
2568
2569         * java/io/File.java
2570         (separator): Merged documentation from classpath.
2571         (separatorChar): Merged documentation from classpath.
2572         (pathSeparator): Merged documentation from classpath.
2573         (pathSeparatorChar): Merged documentation from classpath.
2574         (path): Merged documentation from classpath.
2575         (canRead): Merged documentation from classpath.
2576         (canWrite): Merged documentation from classpath.
2577         (createNewFile): Merged documentation from classpath.
2578         (delete): Merged documentation from classpath.
2579         (equals): Merged documentation from classpath.
2580         (exists): Merged documentation from classpath.
2581         (File): Renamed p to name to match classpath, merged documentation
2582         from classpath.
2583         (getAbsolutePath): Merged documentation from classpath.
2584         (getCanonicalPath): Merged documentation from classpath.
2585         (getCanonicalFile): Merged documentation from classpath.
2586         (getName): Merged documentation from classpath.
2587         (getParent): Merged documentation from classpath.
2588         (getParentFile): Merged documentation from classpath.
2589         (getPath): Merged documentation from classpath.
2590         (hashCode): Merged documentation from classpath.
2591         (isAbsolute): Merged documentation from classpath.
2592         (isDirectory): Merged documentation from classpath.
2593         (isFile): Merged documentation from classpath.
2594         (isHidden): Merged documentation from classpath.
2595         (lastModified): Merged documentation from classpath.
2596         (length): Merged documentation from classpath.
2597         (list): Merged documentation from classpath.
2598         (listFiles): Merged documentation from classpath.
2599         (toString): Merged documentation from classpath.
2600         (toURL): Merged documentation from classpath.
2601         (mkdir): Merged documentation from classpath.
2602         (mkdirs): Merged documentation from classpath.
2603         (createTempFile): Merged documentation from classpath.
2604         (setReadOnly): Merged documentation from classpath.
2605         (listRoots): Merged documentation from classpath.
2606         (compareTo): Merged documentation from classpath.
2607         (renameTo): Merged documentation from classpath.
2608         (setLastModified): Merged documentation from classpath.
2609         * java/io/PrintStream.java
2610         (auto_flush): Merged documentation from classpath.
2611         (PrintStream): Merged documentation from classpath.
2612         (checkError): Merged documentation from classpath.
2613         (setError): Merged documentation from classpath.
2614         (close): Merged documentation from classpath.
2615         (flush): Merged documentation from classpath.
2616         (print): Merged documentation from classpath.
2617         (println):  Merged documentation from classpath.
2618         (write): Renamed count to len to match classpath,
2619         merged documentation from classpath.
2620         * java/io/RandomAccessFile.java
2621         (readShort): Merged documentation from classpath.
2622         (readUnsignedByte): Merged documentation from classpath.
2623         (readUnsignedShort): Merged documentation from classpath.
2624         (readUTF): Merged documentation from classpath.
2625         (seek): Reformatted, merged documentation from classpath.
2626         (skipBytes): Renamed some variables to match classpath, reformatted,
2627         merged documentation from classpath.
2628         (write): Merged documentation from classpath.
2629         (writeBoolean): Merged documentation from classpath.
2630         (writeByte): Merged documentation from classpath.
2631         (writeShort): Merged documentation from classpath.
2632         (writeChar): Merged documentation from classpath.
2633         (writeInt): Merged documentation from classpath.
2634         (writeLong): Merged documentation from classpath.
2635         (writeFloat): Merged documentation from classpath.
2636         (writeDouble): Merged documentation from classpath.
2637         (writeBytes): Merged documentation from classpath.
2638         (writeChars): Merged documentation from classpath.
2639         (writeUTF): Reformatted.
2640         (getChannel): Reformatted.
2641
2642 2003-03-31  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/awt/font/TextAttribute.java
2645         (readResolve): Throws java.io.InvalidObjectException.
2646
2647 2003-03-31  Michael Koch  <konqueror@gmx.de>
2648
2649         * java/rmi/server/LoaderHandler.java
2650         (loadClass): Deprecated.
2651         (getSecurityContext): Deprecated.
2652         * java/rmi/server/LogStream.java
2653         (getDefaultStream): Deprecated.
2654         (setDefaultStream): Deprecated.
2655         (getOutputStream): Deprecated.
2656         (setOutputStream): Deprecated.
2657         (write): Deprecated.
2658         (toString): Deprecated.
2659         (parseLevel): Deprecated.
2660         * java/rmi/server/Operation.java
2661         (Operation): Deprecated.
2662         (getOperation): Deprecated.
2663         (toString): Deprecated.
2664         * java/rmi/server/RemoteCall.java
2665         (getOutputStream): Deprecated.
2666         (releaseOutputStream): Deprecated.
2667         (getInputStream): Deprecated.
2668         (releaseInputStream): Deprecated.
2669         (getResultStream): Deprecated.
2670         (executeCall): Deprecated.
2671         (done): Deprecated.
2672         * java/rmi/server/RemoteRef.java
2673         (invoke): Deprecated.
2674         (newCall): Deprecated.
2675         (done): Deprecated.
2676         * java/rmi/server/RemoteStub.java
2677         (setRef): Deprecated.
2678         * java/rmi/server/Skeleton.java:
2679         No need to import java.lang.Exception explicitly.
2680         (dispatch): Deprecated.
2681         (getOperations): Deprecated.
2682
2683 2003-03-31  Michael Koch  <konqueror@gmx.de>
2684
2685         * java/rmi/dgc/VMID.java,
2686         java/rmi/registry/RegistryHandler.java,
2687         java/rmi/server/LogStream.java,
2688         java/rmi/server/Operation.java,
2689         java/rmi/server/RemoteCall.java,
2690         java/rmi/server/RemoteRef.java,
2691         java/rmi/server/RemoteStub.java:
2692         Reformatted.
2693
2694 2003-03-31  Michael Koch  <konqueror@gmx.de>
2695
2696         * javax/swing/AbstractCellEditor.java,
2697         javax/swing/AbstractListModel.java,
2698         javax/swing/ActionMap.java,
2699         javax/swing/BorderFactory.java,
2700         javax/swing/ButtonGroup.java,
2701         javax/swing/DefaultBoundedRangeModel.java,
2702         javax/swing/DefaultButtonModel.java,
2703         javax/swing/DefaultCellEditor.java,
2704         javax/swing/DefaultComboBoxModel.java,
2705         javax/swing/DefaultDesktopManager.java,
2706         javax/swing/DefaultListCellRenderer.java,
2707         javax/swing/DefaultSingleSelectionModel.java,
2708         javax/swing/InputMap.java,
2709         javax/swing/JComponent.java,
2710         javax/swing/JMenu.java,
2711         javax/swing/JSlider.java,
2712         javax/swing/KeyStroke.java,
2713         javax/swing/OverlayLayout.java,
2714         javax/swing/ScrollPaneLayout.java,
2715         javax/swing/SizeRequirements.java,
2716         javax/swing/UIManager.java,
2717         javax/swing/ViewportLayout.java,
2718         javax/swing/border/AbstractBorder.java,
2719         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2720         javax/swing/event/EventListenerList.java,
2721         javax/swing/table/AbstractTableModel.java,
2722         javax/swing/table/DefaultTableCellRenderer.java,
2723         javax/swing/table/DefaultTableColumnModel.java,
2724         javax/swing/table/DefaultTableModel.java,
2725         javax/swing/table/TableColumn.java,
2726         javax/swing/text/StyledEditorKit.java,
2727         javax/swing/tree/DefaultMutableTreeNode.java,
2728         javax/swing/tree/DefaultTreeModel.java,
2729         javax/swing/tree/DefaultTreeSelectionModel.java,
2730         javax/swing/tree/TreePath.java,
2731         javax/swing/undo/AbstractUndoableEdit.java,
2732         javax/swing/undo/StateEdit.java,
2733         javax/swing/undo/StateEditable.java,
2734         javax/swing/undo/UndoableEditSupport.java:
2735         Merges from classpath.
2736
2737 2003-03-30  Tom Tromey  <tromey@redhat.com>
2738
2739         * java/lang/String.java (data, boffset, count): Documented.
2740         (String(byte[],String)): Reformatted.
2741         (String(byte[])): Likewise.
2742         (lastIndexOf(int)): Likewise.
2743         (lastIndexOf(String)): Likewise.
2744         (substring(int)): Renamed argument to match Classpath.
2745         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2746
2747         * java/lang/String.java: Miscellaneous minor formatting changes
2748         to match Classpath more closely.
2749
2750 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2751             Tom Tromey  <tromey@redhat.com>
2752
2753         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2754         (init()): Removed.
2755         (charAt): Put index in exception.
2756         (contentEquals): New method.
2757         Include StringBuffer.h.
2758         * java/lang/String.java (cachedHashCode): New field.
2759         (String()): Follow classpath implementation.
2760         (init()): Removed.
2761         (contentEquals): Declare.
2762         (subSequence): Don't declare IndexOutIfBoundsException in throws
2763         clause.
2764         (matches, replaceFirst, replaceAll, split): New methods from
2765         Classpath.
2766
2767 2003-03-29  Tom Tromey  <tromey@redhat.com>
2768
2769         * java/lang/String.java: Reordered to follow Classpath; merged in
2770         javadoc.
2771
2772         * java/text/MessageFormat.java: Removed some whitespace.
2773
2774         * Makefile.in: Rebuilt.
2775         * Makefile.am (awt_java_source_files): Added new files.
2776         * gnu/javax/rmi/PortableServer.java,
2777         gnu/javax/rmi/CORBA/DelegateFactory.java,
2778         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2779         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2780         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2781         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2782         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2783         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2784         javax/rmi/PortableRemoteObject.java,
2785         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2786         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2787         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2788         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2789         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2790         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2791
2792         * java/lang/natClass.cc (newInstance): Put method name in
2793         exception.
2794         (getConstructor): Likewise.
2795         (getDeclaredConstructor): Likewise.
2796         (getPrivateMethod): Likewise.
2797
2798 2003-03-28  Tom Tromey  <tromey@redhat.com>
2799
2800         * java/lang/reflect/Proxy.java: New version from Classpath.
2801         * java/lang/Package.java: New version from Classpath.
2802
2803 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2804
2805         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2806         * configure: Regenerate.
2807
2808 2003-03-28  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/io/File.java:
2811         Import needed classes instead of whole packages, merged class
2812         documentation with classpath, moved constants and variables to top of
2813         class.
2814         * java/io/PrintStream.java:
2815         Merged class documentation with classpath, moved constants and
2816         variables to top of class.
2817         * java/io/RandomAccessFile.java
2818         (RandomAccessFile): Merged with classpath.
2819         (read): Merged with classpath).
2820         (read*): Reformatted.
2821
2822 2003-03-28  Michael Koch  <konqueror@gmx.de>
2823
2824         * java/io/FileDescriptor.java
2825         (finalize): Throws Throwable, not IOException.
2826         * java/io/ObjectOutputStream.java
2827         (PutField.put): Doesnt throws anything.
2828
2829 2003­03-28  Michael Koch  <konqueror@gmx.de>
2830
2831         * java/io/FileOutputStream.java:
2832         Merged class documentation and authors with classpath.
2833         (FileOutputStream): Partly merged with classpath.
2834         (write): Merged with classpath.
2835         (getChannel): Make it synchronized instead of explicit block in this
2836         method.
2837         * java/io/RandomAccessFile.java:
2838         Merged class documentation and authors with classpath.
2839
2840 2003-03-26  Tom Tromey  <tromey@redhat.com>
2841
2842         * java/lang/natRuntime.cc (insertSystemProperties): Set
2843         gnu.classpath.home.url.
2844         * Makefile.in: Rebuilt.
2845         * Makefile.am: Define LIBDIR.
2846
2847 2003-03-25  Michael Koch  <konqueror@gmx.de>
2848
2849         * java/io/FileInputStream.java
2850         (read): Renamed b to buf and off to offset.
2851         * java/io/FileOutputStream.java
2852         (ch): Documentation added.
2853         (FileOutputStream): Documentation added.
2854         (getFD): Documentation added.
2855         (write): Documentation added.
2856         (close): Documentation added.
2857         (getChannel): Documentation added.
2858
2859 2003-03-24  Michael Koch  <konqueror@gmx.de>
2860
2861         * java/io/DataOutputStream.java
2862         (write): Merged from classpath.
2863         * java/io/File.java:
2864         Merged copyrigth with classpath.
2865         * java/io/FileInputStream.java
2866         (getChannel): Made it synchronized instead of using a synchronized
2867         block.
2868         * java/io/FileOutputStream.java: Reformatted.
2869         * java/io/InputStreamReader.java
2870         (InputStreamReader): Renamed enc to encoding_name.
2871         (close): Merged documentation from classpath.
2872         (getEncoding): Merged documentation from classpath.
2873         (ready): Merged documentation from classpath.
2874         (read): Merged documentation from classpath.
2875         * java/io/LineNumberReader.java
2876         (lineNumber): Made it private.
2877         (LineNumberReader): Use Constant instead of a direct value.
2878         * java/io/OutputStreamWriter.java
2879         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2880         documentation from classpath.
2881         (close): Merged documentation from classpath.
2882         (flush): Merged documentation from classpath.
2883         (write): Merged documentation from classpath.
2884         * java/io/PrintStream.java: Reformatted.
2885
2886 2003-03-24  Michael Koch  <konqueror@gmx.de>
2887
2888         * javax/swing/text/ComponentView.java
2889         (getComponent): Must be final.
2890         * javax/swing/tree/DefaultTreeCellRenderer.java:
2891         Reformatted.
2892         * javax/swing/undo/StateEditable.java:
2893         Reformatted.
2894
2895 2003-03-24  Michael Koch  <konqueror@gmx.de>
2896
2897         * java/rmi/activation/ActivationInstantiator.java:
2898         Reformatted.
2899         * java/rmi/activation/Activator.java:
2900         Reformatted.
2901         * java/rmi/registry/RegistryHandler.java:
2902         Remerged from classpath.
2903
2904 2003-03-24  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/util/Date.java:
2907         Fixed documentation starting tag to make javadoc happy.
2908         * java/util/regex/Pattern.java
2909         (Pattern): Implements Serializable.
2910         * java/util/PatternSyntaxException.java
2911         (serialVersionUID): New member variable.
2912
2913 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2914
2915         * java/awt/ContainerOrderFocusTraversalPolicy.java
2916         (getFirstComponent): Implemented.
2917         (getLastComponent): Implemented.
2918         (getDefaultComponent): Implemented.
2919         (setImplicitDownCycleTraversal): Fixed implementation.
2920         * java/awt/Robot.java
2921         (Robot): Added documentation.
2922         * java/awt/Toolkit.java
2923         (getFontList): Deprecated.
2924         (getFontMetrics): Deprecated.
2925         (getPrintJob): Added documentation.
2926         (getSystemSelection): Added documentation.
2927         (getLockingKeyState): Added documentation.
2928         (setLockingKeyState): Added documentation.
2929         (createCustomCursor): Added documentation.
2930         (getBestCursorSize): Added documentation.
2931         (getMaximumCursorColors): Added documentation.
2932         (isFrameStateSupported): Added documentation.
2933
2934 2003-03-24  Michael Koch  <konqueror@gmx.de>
2935
2936         * java/io/RandomAccessFile.java:
2937         More little merges with classpath. No code changes.
2938
2939 2003-03-24  Michael Koch  <konqueror@gmx.de>
2940
2941         * java/net/natInetAddressNoNet.cc:
2942         Include stddef.h.
2943         * java/net/natPlainDatagramSocketImplNoNet.cc:
2944         Fixed inlcude of java/net/DatagramPacket.h.
2945         * java/net/natPlainSocketImplNoNet.cc:
2946         Include some missing classes.
2947
2948 2003-03-24  Michael Koch  <konqueror@gmx.de>
2949
2950         * java/awt/dnd/DropTarget.java
2951         (DropTargetAutoScroller): According to the online documentation, this
2952         is protected, but in reality it is public.
2953         * java/awt/dnd/DropTargetContext.java
2954         (TransferableProxy): According to the online documentation, this
2955         is protected, but in reality it is public.
2956
2957 2003-03-24  Michael Koch  <konqueror@gmx.de>
2958
2959         * java/io/DataInputStream.java
2960         (): Wrapped documentation line.
2961         (): Fixed @return tag.
2962         * java/io/DataOutputStream.java
2963         (written): Moved to top of class.
2964         (all methods): Merged documentation from classpath.
2965         * java/io/File.java:
2966         Merged copyright year with classpath.
2967         * java/io/FileInputStream.java
2968         (all methods): Merged documentation from classpath.
2969         * java/io/LineNumberReader.java
2970         (getLineNumber): Fixed @return tag.
2971         * java/io/ObjectInputStream.java.
2972         Reformatted.
2973         * java/io/ObjectOutputStream.java:
2974         Reformatted, fixed some @see tags.
2975         * java/io/OutputStreamWriter.java:
2976         Deleted empty line.
2977         * java/io/Writer.java:
2978         Reformatted.
2979
2980 2003-03-24  Michael Koch  <konqueror@gmx.de>
2981
2982         * java/awt/Frame.java
2983         (DEFAULT_CURSOR): Fixed @deprecated tag.
2984         (setCursor): Fixed @deprecated tag.
2985
2986 2003-03-24  Michael Koch  <konqueror@gmx.de>
2987
2988         * java/beans/beancontext/BeanContextEvent.java:
2989         Reformated.
2990
2991 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2992
2993         * java/lang/natStringBuffer.cc (regionMatches): New function.
2994         * java/lang/String.java (count): Now package-private.
2995         * java/lang/StringBuffer.java: Merged with Classpath.
2996
2997 2003-03-23  Michael Koch  <konqueror@gmx.de>
2998
2999         * java/io/BufferedOutputStream.java:
3000         Reformated.
3001         * java/io/BufferedReader.java:
3002         Reformated.
3003         * java/io/ByteArrayOutputStream.java
3004         (size): Fixed @see tag.
3005         * java/io/CharArrayWriter.java
3006         (size): Fixed @see tag.
3007         * java/io/DataInput.java:
3008         Reformated.
3009         * java/io/DataOutput.java:
3010         Reformated.
3011         * java/io/DataOutputStream.java:
3012         Merged copyright years with classpath.
3013         * java/io/Externalizable.java:
3014         Reformated.
3015         * java/io/FileFilter.java:
3016         Reformated.
3017         * java/io/FileInputStream.java:
3018         Merged copyright years with classpath.
3019         * java/io/FileOutputStream.java:
3020         Merged copyright years with classpath.
3021         * java/io/FilePermission.java
3022         (FilePermission): Replaced @XXX with FIXME:.
3023         * java/io/FileWriter.java:
3024         Reformated.
3025         * java/io/FilenameFilter.java:
3026         Reformated.
3027         * java/io/FilterInputStream.java:
3028         Reformated.
3029         * java/io/FilterOutputStream.java:
3030         Reformated.
3031         * java/io/FilterReader.java:
3032         Reformated.
3033         * java/io/FilterWriter.java:
3034         Reformated.
3035         * java/io/LineNumberInputStream.java
3036         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3037         happy.
3038         (getLineNumber): Fixed @return tag.
3039         * java/io/ObjectInput.java:
3040         Reformated.
3041         * java/io/ObjectOutput.java:
3042         Reformated.
3043         * java/io/ObjectStreamClass.java:
3044         Reformated.
3045         * java/io/PrintStream.java:
3046         Merged copyright years with classpath.
3047         * java/io/PushbackReader.java
3048         (PushbackReader): Replaced @code with @param.
3049         * java/io/SerializablePermission.java:
3050         Reformated.
3051         * java/io/StreamTokenizer.java
3052         (resetSyntax): Fixed @see tag.
3053
3054 2003-03-22  Richard Henderson  <rth@redhat.com>
3055
3056         * sysdep/ia64/locks.h: Include ia64intrin.h.
3057         (compare_and_swap): Use __sync_bool_compare_and_swap.
3058         (compare_and_swap_release): Expose ar.ccv assignment.
3059
3060 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3061
3062         * include/posix.h: Add suffix for darwin dynamic libraries.
3063
3064 2003-03-21  Michael Koch  <konqueror@gmx.de>
3065
3066         * javax/swing/Action.java
3067         (ACCELERATOR_KEY): New constant.
3068         (ACTION_COMMAND_KEY): Likewise.
3069         (MNEMONIC_KEY): Likewise.
3070         * javax/swing/UnsupportedLookAndFeelException.java
3071         (UnsupportedLookAndFeelException): Must be public.
3072         * javax/swing/WindowConstants.java
3073         (EXIT_ON_CLOSE): New constant.
3074         * javax/swing/text/BadLocationException.java
3075         (offset): New member variable.
3076         (BadLocationException): New implementation, documentation added.
3077         (offsetRequested): New method.
3078         * javax/swing/text/Caret.java:
3079         Reformated.
3080         * javax/swing/text/Document.java:
3081         Reformated.
3082
3083 2003-03-21  Michael Koch  <konqueror@gmx.de>
3084
3085         * java/rmi/activation/Activatable.java
3086         (serialVersionUID): New member variable.
3087         * java/rmi/activation/ActivationGroup.java
3088         (serialVersionUID): New member variable.
3089         * java/rmi/activation/ActivationGroupDesc.java
3090         (serialVersionUID): New member variable.
3091         * java/rmi/registry/Registry.java:
3092         Reformated.
3093         (Registry): Deprecated.
3094         * java/rmi/server/LoaderHandler.java
3095         Reformated.
3096         (LoaderHandler): Deprecated.
3097         * java/rmi/server/LogStream.java
3098         Reformated.
3099         (LogStream): Deprecated.
3100         * java/rmi/server/Operation.java
3101         (Operation): Deprecated.
3102         * java/rmi/server/RMIFailureHandler.java:
3103         Reformated.
3104         * java/rmi/server/RMISocketFactory.java:
3105         Reformated.
3106         * java/rmi/server/RemoteCall.java
3107         (RemoteCall): Deprecated.
3108         * java/rmi/server/RemoteStub.java:
3109         Reformated.
3110         * java/rmi/server/Skeleton.java
3111         Reformated.
3112         (Skeleton): Deprecated.
3113
3114 2003-03-21  Michael Koch  <konqueror@gmx.de>
3115
3116         * java/io/LineNumberReader.java
3117         (LineNumberReader): Merged documentation with classpath.
3118         (getLineNumber): Likewise.
3119         (setLineNumber): Likewise.
3120         (mark): Likewise.
3121         (reset): Likewise.
3122         (read): Likewise.
3123         (readLine): Likewise.
3124         (skip): Likewise.
3125
3126 2003-03-21  Michael Koch  <konqueror@gmx.de>
3127
3128         * java/rmi/RMISecurityManager.java
3129         (checkAccept): Removed.
3130         (checkAccess): Likewise.
3131         (checkAccess): Likewise.
3132         (checkAwtEventQueueAccess): Likewise.
3133         (checkConnect): Likewise.
3134         (checkCreateClassLoader): Likewise.
3135         (checkDelete): Likewise.
3136         (checkExec): Likewise.
3137         (checkExit): Likewise.
3138         (checkLink): Likewise.
3139         (checkListen): Likewise.
3140         (checkMemberAccess): Likewise.
3141         (checkMulticast): Likewise.
3142         (checkPackageAccess): Likewise.
3143         (checkPackageDefinition): Likewise.
3144         (checkPermission): Likewise.
3145         (checkPrintJobAccess): Likewise.
3146         (checkPropertiesAccess): Likewise.
3147         (checkPropertyAccess): Likewise.
3148         (checkRead): Likewise.
3149         (checkSecurityAccess): Likewise.
3150         (checkSetFactory): Likewise.
3151         (checkSystemClipboardAccess): Likewise.
3152         (checkTopLevelWindow): Likewise.
3153         (checkWrite): Likewise.
3154
3155 2003-03-20  Michael Koch  <konqueror@gmx.de>
3156
3157         * gnu/java/nio/FileChannelImpl.java
3158         (address): Removed.
3159         (map_address): New member variable.
3160         (length): Make it package private.
3161         (fd): Make it package private.
3162         (buf): Make it package private.
3163         (file_obj): Make it package private.
3164         (FileChannelImpl): New constructor.
3165         (nio_mmap_file): Use RawData instead of long.
3166         (nio_munmap_file): Use RawData instead of long.
3167         (nio_msync): Use RawData instead of long.
3168         (implCloseChannel): New implementation using map_address.
3169         (read): Reformated.
3170         (map): Implemented.
3171         (create_direct_mapped_buffer): Implemented, use RawData, throws
3172         IOException.
3173         (force): Use map_address instead of address.
3174         * gnu/java/nio/MappedByteFileBuffer.java
3175         (address): Removed.
3176         (map_address): New member variable.
3177         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3178         (several methods): Use map_address instead of address, replaced long
3179         with RawData where appropriate.
3180         * gnu/java/nio/natFileChannelImpl.cc
3181         (nio_mmap_file): Replaced long with RawData.
3182         (nio_munmap_file): Replaced long with RawData.
3183         (nio_msync): Replaced long with RawData.
3184         * gnu/java/nio/natMappedByteFileBuffer.cc
3185         (several methods): Replaced long with RawData where appropriate.
3186
3187 2003-03-20  Michael Koch  <konqueror@gmx.de>
3188
3189         * java/net/InetAddress.java,
3190         java/net/JarURLConnection.java,
3191         java/net/PlainDatagramSocketImpl.java,
3192         java/net/PlainSocketImpl.java,
3193         java/net/URLConnection.java:
3194         Merged copyright statements with classpath for easier merging.
3195
3196 2003-03-20  Michael Koch  <konqueror@gmx.de>
3197
3198         * java/io/FileInputStream.java
3199         (getChannel): New implementation.
3200         * java/io/FileOutputStream.java
3201         (ch): New member variable.
3202         (getChannel): Implemented.
3203         * java/io/RandomAccessFile.java
3204         (RandomAccessFile): Throws FileNotFoundException instead of
3205         IOException.
3206         (getChannel): New method.
3207         (ch): New member variable.
3208
3209 2003-03-20  Michael Koch  <konqueror@gmx.de>
3210
3211         * java/io/DataOutputStream.java,
3212         java/io/File.java,
3213         java/io/FileInputStream.java,
3214         java/io/FileOutputStream.java,
3215         java/io/InputStreamReader.java,
3216         java/io/LineNumberReader.java,
3217         java/io/OutputStreamWriter.java,
3218         java/io/PrintStream.java,
3219         java/io/RandomAccessFile.java:
3220         Merged copyright statements with classpath for easier merging.
3221
3222 2003-03-19  Michael Koch  <konqueror@gmx.de>
3223
3224         * java/lang/Process.java:
3225         Merged from classpath.
3226
3227 2003-03-19  Michael Koch  <konqueror@gmx.de>
3228
3229         * java/io/FileOutputStream.java
3230         (FileOutputStream): New constructor, merged from classpath.
3231         * java/io/FileWriter.java
3232         (FileWriter): New constructor, merged from classpath.
3233
3234 2003-03-18  Michael Koch  <konqueror@gmx.de>
3235
3236         * java/awt/ScrollPane.java
3237         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3238         (getViewportSize): Likewise.
3239         (addNotify): Likewise.
3240         (removeNotify): Likewise.
3241         * java/awt/ScrollPaneAdjustable.java
3242         (ScrollPaneAdjustable): No longer extends Scrollbar.
3243         * java/beans/beancontext/BeanContextServices.java:
3244         Reformated.
3245         (getService): Added throws TooManyListenersException;
3246         * java/beans/beancontext/BeanContextServicesSupport.java:
3247         Reformated.
3248
3249 2003-03-18  Michael Koch  <konqueror@gmx.de>
3250
3251         * java/io/BufferedOutputStream.java,
3252         java/io/DataInput.java,
3253         java/io/DataInputStream.java,
3254         java/io/DataOutput.java,
3255         java/io/Externalizable.java:
3256         More merges from classpath.
3257
3258 2003-03-18  Michael Koch  <konqueror@gmx.de>
3259
3260         * configure.in: Fixed links to platform dependant java.net files.
3261         * configure: Regenerated.
3262         * java/net/natInetAddress.cc,
3263         java/net/natNetworkInterface.cc,
3264         java/net/natPlainDatagramSocketImpl.cc,
3265         java/net/natPlainSocketImpl.cc:
3266         Removed.
3267
3268 2003-03-18  Michael Koch  <konqueror@gmx.de>
3269
3270         * configure.in: Create links to architecture dependent files,
3271         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3272         * configure: Regenerated.
3273         * java/net/natInetAddressNoNet.cc,
3274         java/net/natInetAddressPosix.cc,
3275         java/net/natInetAddressWin32.cc,
3276         java/net/natNetworkInterfaceNoNet.cc,
3277         java/net/natNetworkInterfacePosix.cc,
3278         java/net/natNetworkInterfaceWin32.cc,
3279         java/net/natPlainDatagramSocketImplNoNet.cc,
3280         java/net/natPlainDatagramSocketImplPosix.cc,
3281         java/net/natPlainDatagramSocketImplWin32.cc,
3282         java/net/natPlainSocketImplNoNet.cc,
3283         java/net/natPlainSocketImplPosix.cc,
3284         java/net/natPlainSocketImplWin32.cc: New files.
3285
3286 2003-03-18  Michael Koch  <konqueror@gmx.de>
3287
3288         * java/io/BufferedReader.java,
3289         java/io/BufferedWriter.java,
3290         java/io/ByteArrayOutputStream.java,
3291         java/io/FileFilter.java,
3292         java/io/FilePermission.java,
3293         java/io/FileReader.java,
3294         java/io/FileWriter.java,
3295         java/io/FilenameFilter.java,
3296         java/io/FilterInputStream.java,
3297         java/io/FilterOutputStream.java,
3298         java/io/FilterReader.java,
3299         java/io/FilterWriter.java,
3300         java/io/ObjectInput.java,
3301         java/io/ObjectInputValidation.java,
3302         java/io/ObjectOutput.java,
3303         java/io/ObjectStreamField.java,
3304         java/io/PipedInputStream.java,
3305         java/io/PipedReader.java,
3306         java/io/PrintWriter.java,
3307         java/io/PushbackReader.java,
3308         java/io/Reader.java,
3309         java/io/SerializablePermission.java,
3310         java/io/StringReader.java,
3311         java/io/Writer.java:
3312         Merged from classpath.
3313
3314 2003-03-17  Michael Koch  <konqueror@gmx.de>
3315
3316         * java/awt/ScrollPaneAdjustable.java:
3317         Compile fixes.
3318         
3319 2003-03-17  Michael Koch  <konqueror@gmx.de>
3320
3321         * java/net/DatagramSocket.java
3322         (connect): Fixed comment.
3323         * java/nio/ByteBuffer.java
3324         (hasArray): Fixed comment.
3325
3326 2003-03-17  Michael Koch  <konqueror@gmx.de>
3327
3328         * java/beans/Beans.java:
3329         Explicitely import classes not packages.
3330         * java/beans/FeatureDescriptor.java
3331         (preferred): New member variable.
3332         (isPreferred): New method.
3333         (setPreferred): New method.
3334         * java/beans/PropertyEditorManager.java:
3335         Explicitely import used classes.
3336         * java/beans/beancontext/BeanContextChild.java:
3337         Added line wrapping.
3338         * java/beans/beancontext/BeanContextChildSupport.java:
3339         Reindented.
3340         * java/beans/beancontext/BeanContextEvent.java:
3341         Reindented.
3342
3343 2003-03-17  Michael Koch  <konqueror@gmx.de>
3344
3345         * java/awt/Dialog.java
3346         (Dialog): New constructor, changed implementations, added
3347         documentation.
3348         * java/awt/ScrollPaneAdjustable.java
3349         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3350         Serializable.
3351         (serialVersionUID): New member variable.
3352         (sp): New member variable.
3353         (orientation): New member variable.
3354         (value): New member variable.
3355         (minimum): New member variable.
3356         (maximum): New member variable.
3357         (visibleAmount): New member variable.
3358         (unitIncrement): New member variable.
3359         (blockIncrement): New member variable.
3360         (AdjustmentListener): New member variable.
3361         (ScrollPaneAdjustable): New implementation.
3362         (addAdjustmentListener): New method.
3363         (removeAdjustmentListener): New method.
3364         (getAdjustmentListeners): New method.
3365         (getBlockIncrement): New method.
3366         (getMaximum): New method.
3367         (getMinimum): New method.
3368         (getOrientation): New method.
3369         (getUnitIncrement): New method.
3370         (getValue): New method.
3371         (getVisibleAmount): New method.
3372         (setBlockIncrement): New method.
3373         (setMaximum): Implemented.
3374         (setMinimum): Implemented.
3375         (setUnitIncrement): New method.
3376         (setValue): New method.
3377         (setVisibleAmount): Implemented. 
3378         (paramString): New stubbed method.
3379         * java/awt/Window.java
3380         (show): Call setVisible().
3381         (hide): Call setVisible().
3382         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3383         and WINDOW_STATE_CHANGED.
3384         (processWindowFocusEvent): New method.
3385         (processWindowStateEvent): New method.
3386         (postEvent): Deprecated.
3387         (applyResourceBundle): Deprecated.
3388         * java/awt/datatransfer/DataFlavor.java
3389         (DataFlavor): Doesn't thow ClassNotFoundException.
3390
3391 2003-03-17  Michael Koch
3392
3393         * javax/print/attribute/Attribute.java,
3394         javax/print/attribute/AttributeSet.java,
3395         javax/print/attribute/PrintRequestAttributeSet.java:
3396         New files.
3397         * Makefile.am
3398         (javax_source_files): Added new files:
3399         javax/print/attribute/Attribute.java
3400         javax/print/attribute/AttributeSet.java
3401         javax/print/attribute/PrintRequestAttributeSet.java
3402         * Makefile.in: Regenerated.
3403
3404 2003-03-17  Michael Koch
3405
3406         * javax/print/attribute/Attribute.java,
3407         javax/print/attribute/AttributeSet.java,
3408         javax/print/attribute/PrintRequestAttributeSet.java:
3409         New files.
3410         * Makefile.am
3411         (awt_java_source_files): Added new files:
3412         javax/print/attribute/Attribute.java
3413         javax/print/attribute/AttributeSet.java
3414         javax/print/attribute/PrintRequestAttributeSet.java
3415         * Makefile.in: Regenerated.
3416
3417 2003-03-16  Tom Tromey  <tromey@redhat.com>
3418
3419         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3420         Include platform.h.
3421         * java/lang/natRuntime.cc (insertSystemProperties): Use
3422         _Jv_platform_path_separator.
3423         (nativeGetLibname): Use _Jv_platform_file_separator.
3424         (_load): Use _Jv_platform_onload_names.
3425         (onload_names): New global.
3426         * include/win32.h (_Jv_platform_file_separator): New define.
3427         (_Jv_platform_path_separator): Likewise.
3428         (_Jv_platform_onload_names): Likewise.
3429         (_Jv_platform_ffi_abi): Likewise.
3430         * include/posix.h (_Jv_platform_file_separator): New define.
3431         (_Jv_platform_path_separator): Likewise.
3432         (_Jv_platform_onload_names): Likewise.
3433         (_Jv_platform_ffi_abi): Likewise.
3434
3435 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3436
3437         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3438
3439 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3440
3441         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3442         hierarchy loop.
3443         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3444         list to Object,ObjectStreamClass, moved callReadMethod code up into
3445         readObject and added Class argument to all setXxxField calls.
3446         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3447         consistent with ObjectOutputStream and to facilitate caching the
3448         Method in the future.
3449         (setBooleanField): Added Class argument.
3450         (setByteField): Likewise.
3451         (setCharField): Likewise.
3452         (setDoubleField): Likewise.
3453         (setFloatField): Likewise.
3454         (setIntField): Likewise.
3455         (setLongField): Likewise.
3456         (setShortField): Likewise.
3457         (setObjectField): Likewise.
3458         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3459         class hierarchy loop.
3460         (defaultWriteObject): Call writeFields with new argument list.
3461         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3462         list to Object,ObjectStreamClass, moved callWriteMethod up into
3463         writeObject and added Class argument to all getXxxField calls.
3464         (callWriteMethod): Added ObjectStreamClass argument to be able to
3465         get the proper class to call getMethod on (each class can have (or
3466         not have) its own writeObject method).
3467         (getBooleanField): Added Class argument.
3468         (getByteField): Likewise.
3469         (getCharField): Likewise.
3470         (getDoubleField): Likewise.
3471         (getFloatField): Likewise.
3472         (getIntField): Likewise.
3473         (getLongField): Likewise.
3474         (getShortField): Likewise.
3475         (getObjectField): Likewise.
3476         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3477         facilitate caching the Method object in the future.
3478
3479 2003-03-12  Andreas Schwab  <schwab@suse.de>
3480
3481         * configure.in: Avoid trailing /. in toolexeclibdir.
3482         * configure: Rebuilt.
3483
3484 2003-03-11  Michael Koch  <konqueror@gmx.de>
3485
3486         * gnu/java/nio/ByteBufferImpl.java
3487         (putInt): Use limit() instead of limit.
3488         * gnu/java/nio/CharBufferImpl.java
3489         (slice): Fixed implementation.
3490         (subSequence): Better bounds checking.
3491         * gnu/java/nio/MappedByteFileBuffer.java:
3492         Import all needed classes directly.
3493         * java/nio/ByteBuffer.java
3494         (hashCode): New dummy method.
3495         * java/nio/CharBuffer.java
3496         (array_offset): New member variable.
3497         (hasArray): Fixed documentation.
3498         (arrayOffset): Return array_offset.
3499
3500 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3501
3502         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3503         setter; made return value of getter const char* instead of char*
3504         * prims.cc: removed all references to _Jv_ThisExecutable().
3505         These are in the platform-specific sections now.
3506         * posix.cc: define platform-specific _Jv_ThisExecutable().
3507         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3508         * win32.cc: define platform-specific _Jv_ThisExecutable()
3509         using GetModuleFilename()
3510         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3511         to argv[0] instead of _Jv_ThisExecutable()
3512
3513 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3514
3515         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3516         that is set if we are using addr2name.awk instead of addr2line.
3517         (NameFinder): Set usingAddr2name if using addr2name.awk.
3518         (getExternalLabel): New native method to convert a method 
3519         name to an external label.
3520         (lookup): Convert name given by addr2line to an external label
3521         before demangling.
3522
3523         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3524         constant representing the prefix attached to method names to
3525         convert them to an external label.
3526         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3527         using LABEL_PREFIX.
3528
3529 2003-03-10  Tom Tromey  <tromey@redhat.com>
3530
3531         * Makefile.in: Rebuilt.
3532         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3533         (JC1FLAGS): Removed -Wno-deprecated.
3534
3535 2003-03-10  Michael Koch  <konqueror@gmx.de>
3536
3537         * java/nio/ByteOrder.java
3538         (nativeOrder): Working implementation, added documentation.
3539         (toString): Added documentation.
3540
3541 2003-03-10  Michael Koch  <konqueror@gmx.de>
3542
3543         * java/net/DatagramSocket.java,
3544         java/net/MulticastSocket.java,
3545         java/net/Socket.java,
3546         java/net/URL.java,
3547         java/net/URLConnection.java:
3548         Fixed some documentation tags to make javadoc and friends happy.
3549
3550 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3551
3552         * java/beans/beancontext/BeanContextServicesSupport.java,
3553         java/beans/beancontext/BeanContextSupport.java: New files.
3554         * Makefile.am
3555         (awt_source_files): Added new files.
3556         * Makefile.in: Regenerated.
3557
3558 2003-03-10  Michael Koch  <konqueror@gmx.de>
3559
3560         * java/awt/FocusTraversalPolicy.java
3561         (FocusTraversalPolicy): Documentation added.
3562         (getComponentAfter): Documentation added.
3563         (getComponentBefore): Documentation added.
3564         (getFirstComponent): Documentation added.
3565         (getLastComponent): Documentation added.
3566         (getDefaultComponent): Documentation added.
3567         (getInitialComponent): Documentation added.
3568         * java/awt/ScrollPaneAdjustable.java
3569         (sp): New member variable.
3570         (orientation): New member variable.
3571         (value): New member variable.
3572         (minimum): New member variable.
3573         (maximum): New member variable.
3574         (visibleAmount): New member variable.
3575         (unitIncrement): New member variable.
3576         (blockIncrement): New member variable.
3577         (adjustmentListener): New member variable.
3578         (ScrollPaneAdjustable): Rewrote.
3579         (addAdjustmentListener): New method.
3580         (removeAdjustmentListener): New method.
3581         (getAdjustmentListeners): New method.
3582         (getBlockIncrement): New method.
3583         (getMaximum): New method.
3584         (getMinimum): New method.
3585         (getOrientation): New method.
3586         (getUnitIncrement): New method.
3587         (getValue): New method.
3588         (getVisibleAmount): New method.
3589         (setBlockIncrement): New method.
3590         (setUnitIncrement): New method.
3591         (setMaximum): Implemented.
3592         (setMinimum): Implemented.
3593         (setValue): New method.
3594         (setVisibleAmount): Implemented.
3595         (paramString): New method.
3596         * java/awt/Window.java
3597         (show): Use setVisible(true) instead of super.show().
3598         (hide): Use sevVisible(false) instead of super.hide().
3599         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3600         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3601         (postEvent): Deprecated.
3602         (applyResourceBundle): Deprecated.
3603         (processWindowFocusEvent): New method.
3604         (processWindowStateEvent): New method.
3605         * java/awt/datatransfer/DataFlavor.java: Reindented.
3606         * java/awt/font/TextHitInfo.java
3607         (charIndex): New member variable.
3608         (leadingEdge): New member variable.
3609         (TextHitInfo): New constructor.
3610         (getCharIndex): Implemented.
3611         (isLeadingEdge): Implemented.
3612         (getInsertionIndex): Implemented.
3613         (hashCode): Access charIndex directly.
3614         (equals): Reformated.
3615         (leading): Implemented.
3616         (trailing): Implemented.
3617         (beforeOffset): Implemented.
3618         (afterOffset): Implemented.
3619         (getOtherHit): Implemented.
3620         (getOffsetHit): Implemented.
3621         (toString): Implemented.
3622         * java/awt/image/BufferedImage.java
3623         (BufferedImage): Implements WritableRenderedImage.
3624         (observers): New member variable.
3625         (addTileObserver): New method.
3626         (removeTileObserver): New method.
3627
3628 2003-03-09  Tom Tromey  <tromey@redhat.com>
3629
3630         PR libgcj/9934:
3631         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3632         to lseek.  Return 0 if we can't compute the value.
3633
3634 2003-03-03  Michael Koch  <konqueror@gmx.de>
3635
3636         * java/net/NetworkInterface.java: Merged with classpath.
3637
3638 2003-03-03  Tom Tromey  <tromey@redhat.com>
3639
3640         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3641         of bytecode.
3642         (handle_ret_insn): Fail if returning to jsr that appears at end of
3643         bytecode.
3644
3645 2003-03-03  Michael Koch  <konqueror@gmx.de>
3646
3647         * Makefile.am
3648         (ordinary_java_source_files):
3649         Added gnu/java/nio/MappedByteFileBuffer.java.
3650         (nat_source_files):
3651         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3652         * Makefile.in: Regenerated.
3653
3654 2003-03-03  Michael Koch  <konqueror@gmx.de>
3655
3656         * java/net/DatagramSocket.java
3657         (connect): Merged comment from classpath.
3658         (receive): Merged documentation from classpath.
3659         * java/net/Socket.java
3660         (setSoTimeout): Clarified documentation.
3661         * java/net/URL.java
3662         (getPath): Merged from classpath.
3663         (getUserInfo): Merged from classpath.
3664         (getQuery): Merged from classpath.
3665         * java/net/URLStreamHandler.java
3666         (toExternalForm): Merged from classpath.
3667
3668 2003-03-02  Mark Wielaard  <mark@klomp.org>
3669
3670         * java/util/Properties.java (load): Only skip line if the first
3671         character is a comment, whitespaces don't count.
3672
3673 2003-03-02  Michael Koch  <konqueror@gmx.de>
3674
3675         * java/net/NetPermission.java:
3676         Merged copyright with classpath.
3677
3678 2003-03-02  Michael Koch  <konqueror@gmx.de>
3679
3680         * java/lang/Package.java:
3681         Remerged from classpath.
3682
3683 2003-03-02  Michael Koch  <konqueror@gmx.de>
3684
3685         * java/net/HttpURLConnection.java
3686         (HTTP_SERVER_ERROR): Deprecated.
3687         * java/net/MulticastSocket.java
3688         (send): Replaced checkMulticast with appropriate checkPermission call,
3689         deprecated.
3690         * java/net/URLDecoder.java
3691         (decode): Deprecated.
3692         * java/net/URLEncoder.java
3693         (encode): Deprecated.
3694
3695 2003-03-02  Michael Koch  <konqueror@gmx.de>
3696
3697         * javax/swing/text/Caret.java
3698         (getMagicCaretPosition): Fixed typo in method name.
3699         * javax/swing/text/DefaultCaret.java
3700         (getMagicCaretPosition): Fixed typo in method name.
3701
3702 2003-03-02  Michael Koch  <konqueror@gmx.de>
3703
3704         * java/awt/List.java
3705         (setMultipleSelections): Deprecated.
3706         (delItem): Deprecated.
3707         * java/awt/MenuComponent.java
3708         (getPeer): Deprecated.
3709         * java/awt/ScrollPane.java
3710         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3711         * java/awt/dnd/MouseDragGestureRecognizer.java
3712         (mouseClicked): Added comment.
3713         (mousePressed): Added comment.
3714         (mouseReleased): Added comment.
3715         (mouseEntered): Added comment.
3716         (mouseExited): Added comment.
3717         (mouseDragged): Added comment.
3718         (mouseMoved): Added comment.
3719         * java/awt/event/KeyEvent.java
3720         (KeyEvent): Deprecated.
3721         (setModifiers): Deprecated.
3722         
3723 2003-03-02  Michael Koch  <konqueror@gmx.de>
3724
3725         * gnu/java/nio/FileChannelImpl.java
3726         (fd): Type FileDescriptor instead of int.
3727         (lengthInternal): Removed.
3728         (FileChannelImpl): Fixed arguments, check type of file object.
3729         (size): Made it native.
3730         (implPosition): New native method.
3731         (implTruncate): New native method.
3732         (position): Implemented.
3733         (truncate): Implemented.
3734         (nio_mmap_file): Changed arguments.
3735         (nio_munmap_file): Changed arguments.
3736         (nio_msync): Changed arguments.
3737         * gnu/java/nio/natFileChannelImpl.cc
3738         (lengthInternal): Removed.
3739         (size): New method.
3740         (implPosition): New method.
3741         (implTruncate): New method.
3742         (nio_mmap_file): Changed arguments.
3743         (nio_munmap_file): Changed arguments.
3744         (nio_msync): Changed arguments.
3745
3746 2003-03-02  Michael Koch  <konqueror@gmx.de>
3747
3748         * java/awt/dnd/DropTargetContext.java:
3749         Compile fix: Forgot to commit import.
3750         
3751 2003-03-02  Michael Koch  <konqueror@gmx.de>
3752
3753         * java/awt/Component.java,
3754         java/awt/ScrollPane.java:
3755         Fixed typos.
3756
3757 2003-03-02  Michael Koch  <konqueror@gmx.de>
3758
3759         * java/awt/dnd/DnDEventMulticaster.java: New file.
3760         * java/awt/dnd/DragSource.java
3761         (flavorMap): New member variable.
3762         (dragSourceListener): New member variable.
3763         (dragSourceMotionListener): New member variable.
3764         (getFlavorMap): Implemented.
3765         (createDragGestureRecognizer): Implemented.
3766         (addDragSourceListener): Implemented.
3767         (removeDragSourceListener): Implemented.
3768         (getDragSourceListeners): Implemented.
3769         (addDragSourceMotionListener): Implemented.
3770         (removeDragSourceMotionListener): Implemented.
3771         (getDragSourceMotionListeners): Implemented.
3772         (getListeners): Implemented.
3773         * java/awt/dnd/DragSourceContext.java
3774         (peer): New member variable.
3775         (cursor): New member variable.
3776         (transferable): New member variable.
3777         (trigger): New member variable.
3778         (dragSourceListener): New member variable.
3779         (image): New member variable.
3780         (offset): New member variable.
3781         (DragSourceContext): Implemented.
3782         (getDragSource): Implemented.
3783         (getComponent): Implemented.
3784         (getTrigger): Implemented.
3785         (getSourceActions): Implemented.
3786         (setCursor): Implemented.
3787         (getCursor): Implemented.
3788         (addDragSourceListener): Implemented.
3789         (removeDragSourceListener): Implemented.
3790         (getTransferable): Implemented.
3791         * java/awt/dnd/DropTarget.java
3792         (DropTargetAutoScroller.component): New member variable.
3793         (DropTargetAutoScroller.point): New member variable.
3794         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3795         (DropTargetAutoScroller.updateLocation): Implemented.
3796         (active): Renamed from isActive, defaults to true now.
3797         (component): New member variable.
3798         (flavorMap): New member variable.
3799         (actions): New member variable.
3800         (dropTargetContext): New member variable.
3801         (dropTargetListener): New member variable.
3802         (DropTarget): Implemented.
3803         (getComponent): Implemented.
3804         (setComponent): Implemented.
3805         (setDefaultActions): Implemented.
3806         (getDefaultActions): Implemented.
3807         (setActive): Use active instead of isActive.
3808         (isActive): Use active instead of isActive.
3809         (addDropTargetListener): Implemented.
3810         (removeDropTargetListener): Implemented.
3811         (getFlavorMap): Implemented.
3812         (setFlavorMap): Implemented.
3813         (getDropTargetContext): Implemented.
3814         (createDropTargetContext): Implemented.
3815         (createDropTargetAutoScroller): Implemented.
3816         * java/awt/dnd/DropTargetContext.java
3817         (TransferableProxy.getTransferDataFlavors): Implemented.
3818         (TransferableProxy.isDataFlavorSupported): Implemented.
3819         (TransferableProxy.getTransferData): Implemented.
3820         (dropTarget):  New member variable.
3821         (dtcp): New member variable.
3822         (DropTargetContext): New package private constructor.
3823         (getDropTarget): Implemented.
3824         (getComponent): Implemented.
3825         (addNotify): Implemented.
3826         (removeNotify): Implemented.
3827         (getCurrentDataFlavorsAsList): Implemented.
3828         (isDataFlavorSupported): Implemented.
3829         * java/awt/dnd/MouseDragGestureRecognizer.java
3830         (registerListeners): Implemented.
3831         (unregisterListeners): Implemented.
3832         * Makefile.am
3833         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3834         * Makefile.in: Regenerated.
3835
3836 2003-03-02  Michael Koch  <konqueror@gmx.de>
3837
3838         * java/awt/Component.java
3839         (eventTypeEnabled): New method.
3840         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3841         * java/awt/Container.java
3842         (changeSupport): New member variable.
3843         (addPropertyChangeListener): New methods.
3844         * java/awt/ContainerOrderFocusTraversalPolicy.java
3845         (ContainerOrderFocusTraversalPolicy): Added comment.
3846         (getComponentAfter): Throw exception, documentation added.
3847         (getComponentBefore): Throw exception, documentation added.
3848         (getFirstComponent): Throw exception, documentation added.
3849         (getLastComponent): Throw exception, documentation added.
3850         (getDefaultComponent): Throw exception, documentation added.
3851         * java/awt/EventQueue.java: Reindented.
3852         * java/awt/FocusTraversalPolicy.java:
3853         (FocusTraversalPolicy): Added comment.
3854         (getComponentAfter): Documentation added.
3855         (getComponentBefore): Documentation added.
3856         (getFirstComponent): Documentation added.
3857         (getLastComponent): Documentation added.
3858         (getDefaultComponent): Documentation added.
3859         (getInitialComponent): Documentation added.
3860         * java/awt/ScrollPane.java
3861         (wheelScrollingEnabled): New member variable.
3862         (ScrollPane): Initialize wheelScollingEnabled.
3863         (eventTypeEnabled): New method.
3864         (isWheelScrollingEnabled): New method.
3865         (setWheelScrollingEnabled): New method.
3866
3867 2003-03-02  Michael Koch  <konqueror@gmx.de>
3868
3869         * java/net/DatagramSocket.java
3870         (closed): New member variable.
3871         (close): Use closed variable.
3872         (getInetAddress): No need to call isConnected().
3873         (getPort): No need to call isConnected().
3874         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3875         (isClosed): Reimplemented.
3876         
3877 2003-03-02  Michael Koch  <konqueror@gmx.de>
3878
3879         * configure.in: Added check for memory mapping of files.
3880         * configure: Regenerated.
3881         * config.h.in: Regenerated.
3882
3883 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3884
3885         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3886         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3887
3888 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3889
3890         * java/io/File.java (normalizePath): Remove trailing separator
3891         on Windows only if path is not of the form "x:\".
3892
3893         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3894         (java::io::File::attr): Change formatting a bit and use
3895         WIN32_EPOCH_MILLIS instead of magic numbers.
3896         (java::io::File::isAbsolute): Path must have at least 3 
3897         characters for a UNC network path.
3898         (java::io::File::init_native): Define.
3899         (java::io::File::performCreate): Likewise.
3900         (java::io::File::performSetReadOnly): Likewise.
3901         (java::io::File::performSetLastModified): Likewise.
3902         (java::io::File::performListRoots): Likewise.
3903
3904 2003-03-01  Tom Tromey  <tromey@redhat.com>
3905
3906         * java/lang/natObject.cc: Don't include assert.h.
3907         (heavy_lock_obj_finalization_proc): Use JvAssert.
3908         (remove_all_heavy): Likewise.
3909         (_Jv_MonitorEnter): Likewise.
3910         (_Jv_MonitorExit): Likewise.
3911         (wait): Likewise.
3912
3913 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3914
3915         * java/io/File (getAbsolutePath): Prefix drive specifier on
3916         Windows for paths starting with a '\'.
3917         (toURL): Make URL more consistent with what Sun's JDK returns.
3918
3919         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3920         true only if the path is a UNC network path or it starts with a
3921         drive specifier.
3922
3923         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3924         Be prepared to handle either '/' or '\\' in the file path for
3925         Windows if using the "file" protocol.
3926         Canonicalise the file path if using a relative path in the given
3927         context and the "file" protocol.
3928
3929 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3930
3931         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3932         program array element passed to CreateProcess.
3933
3934 2003-03-01  Tom Tromey  <tromey@redhat.com>
3935
3936         * java/rmi/registry/RegistryHandler.java: Deprecate.
3937
3938 2003-03-01  Tom Tromey  <tromey@redhat.com>
3939
3940         * javax/accessibility/AccessibleEditableText.java,
3941         javax/accessibility/AccessibleHyperlink.java: New versions from
3942         Classpath.
3943
3944         * gnu/java/locale/LocaleInformation_af_ZA.java,
3945         gnu/java/locale/LocaleInformation_ar_AE.java,
3946         gnu/java/locale/LocaleInformation_ar_BH.java,
3947         gnu/java/locale/LocaleInformation_ar_DZ.java,
3948         gnu/java/locale/LocaleInformation_ar_EG.java,
3949         gnu/java/locale/LocaleInformation_ar_IN.java,
3950         gnu/java/locale/LocaleInformation_ar_IQ.java,
3951         gnu/java/locale/LocaleInformation_ar_JO.java,
3952         gnu/java/locale/LocaleInformation_ar_KW.java,
3953         gnu/java/locale/LocaleInformation_ar_LB.java,
3954         gnu/java/locale/LocaleInformation_ar_LY.java,
3955         gnu/java/locale/LocaleInformation_ar_MA.java,
3956         gnu/java/locale/LocaleInformation_ar_OM.java,
3957         gnu/java/locale/LocaleInformation_ar_QA.java,
3958         gnu/java/locale/LocaleInformation_ar_SD.java,
3959         gnu/java/locale/LocaleInformation_ar_SY.java,
3960         gnu/java/locale/LocaleInformation_ar_TN.java,
3961         gnu/java/locale/LocaleInformation_ar_YE.java,
3962         gnu/java/locale/LocaleInformation_be_BY.java,
3963         gnu/java/locale/LocaleInformation_bn_IN.java,
3964         gnu/java/locale/LocaleInformation_br_FR.java,
3965         gnu/java/locale/LocaleInformation_bs_BA.java,
3966         gnu/java/locale/LocaleInformation_ca_ES.java,
3967         gnu/java/locale/LocaleInformation_cs_CZ.java,
3968         gnu/java/locale/LocaleInformation_cy_GB.java,
3969         gnu/java/locale/LocaleInformation_da_DK.java,
3970         gnu/java/locale/LocaleInformation_de_AT.java,
3971         gnu/java/locale/LocaleInformation_de_BE.java,
3972         gnu/java/locale/LocaleInformation_de_CH.java,
3973         gnu/java/locale/LocaleInformation_de_DE.java,
3974         gnu/java/locale/LocaleInformation_de_LU.java,
3975         gnu/java/locale/LocaleInformation_el_GR.java,
3976         gnu/java/locale/LocaleInformation_en_AU.java,
3977         gnu/java/locale/LocaleInformation_en_BW.java,
3978         gnu/java/locale/LocaleInformation_en_CA.java,
3979         gnu/java/locale/LocaleInformation_en_DK.java,
3980         gnu/java/locale/LocaleInformation_en_GB.java,
3981         gnu/java/locale/LocaleInformation_en_HK.java,
3982         gnu/java/locale/LocaleInformation_en_IE.java,
3983         gnu/java/locale/LocaleInformation_en_IN.java,
3984         gnu/java/locale/LocaleInformation_en_NZ.java,
3985         gnu/java/locale/LocaleInformation_en_PH.java,
3986         gnu/java/locale/LocaleInformation_en_SG.java,
3987         gnu/java/locale/LocaleInformation_en_US.java,
3988         gnu/java/locale/LocaleInformation_en_ZA.java,
3989         gnu/java/locale/LocaleInformation_en_ZW.java,
3990         gnu/java/locale/LocaleInformation_es_AR.java,
3991         gnu/java/locale/LocaleInformation_es_BO.java,
3992         gnu/java/locale/LocaleInformation_es_CL.java,
3993         gnu/java/locale/LocaleInformation_es_CO.java,
3994         gnu/java/locale/LocaleInformation_es_CR.java,
3995         gnu/java/locale/LocaleInformation_es_DO.java,
3996         gnu/java/locale/LocaleInformation_es_EC.java,
3997         gnu/java/locale/LocaleInformation_es_ES.java,
3998         gnu/java/locale/LocaleInformation_es_GT.java,
3999         gnu/java/locale/LocaleInformation_es_HN.java,
4000         gnu/java/locale/LocaleInformation_es_MX.java,
4001         gnu/java/locale/LocaleInformation_es_NI.java,
4002         gnu/java/locale/LocaleInformation_es_PA.java,
4003         gnu/java/locale/LocaleInformation_es_PE.java,
4004         gnu/java/locale/LocaleInformation_es_PR.java,
4005         gnu/java/locale/LocaleInformation_es_PY.java,
4006         gnu/java/locale/LocaleInformation_es_SV.java,
4007         gnu/java/locale/LocaleInformation_es_US.java,
4008         gnu/java/locale/LocaleInformation_es_UY.java,
4009         gnu/java/locale/LocaleInformation_es_VE.java,
4010         gnu/java/locale/LocaleInformation_et_EE.java,
4011         gnu/java/locale/LocaleInformation_eu_ES.java,
4012         gnu/java/locale/LocaleInformation_fa_IR.java,
4013         gnu/java/locale/LocaleInformation_fi_FI.java,
4014         gnu/java/locale/LocaleInformation_fo_FO.java,
4015         gnu/java/locale/LocaleInformation_fr_BE.java,
4016         gnu/java/locale/LocaleInformation_fr_CA.java,
4017         gnu/java/locale/LocaleInformation_fr_CH.java,
4018         gnu/java/locale/LocaleInformation_fr_FR.java,
4019         gnu/java/locale/LocaleInformation_fr_LU.java,
4020         gnu/java/locale/LocaleInformation_ga_IE.java,
4021         gnu/java/locale/LocaleInformation_gd_GB.java,
4022         gnu/java/locale/LocaleInformation_gl_ES.java,
4023         gnu/java/locale/LocaleInformation_gv_GB.java,
4024         gnu/java/locale/LocaleInformation_he_IL.java,
4025         gnu/java/locale/LocaleInformation_hi_IN.java,
4026         gnu/java/locale/LocaleInformation_hr_HR.java,
4027         gnu/java/locale/LocaleInformation_hu_HU.java,
4028         gnu/java/locale/LocaleInformation_id_ID.java,
4029         gnu/java/locale/LocaleInformation_it_CH.java,
4030         gnu/java/locale/LocaleInformation_it_IT.java,
4031         gnu/java/locale/LocaleInformation_iw_IL.java,
4032         gnu/java/locale/LocaleInformation_ja_JP.java,
4033         gnu/java/locale/LocaleInformation_ka_GE.java,
4034         gnu/java/locale/LocaleInformation_kl_GL.java,
4035         gnu/java/locale/LocaleInformation_ko_KR.java,
4036         gnu/java/locale/LocaleInformation_kw_GB.java,
4037         gnu/java/locale/LocaleInformation_lt_LT.java,
4038         gnu/java/locale/LocaleInformation_lv_LV.java,
4039         gnu/java/locale/LocaleInformation_mi_NZ.java,
4040         gnu/java/locale/LocaleInformation_mk_MK.java,
4041         gnu/java/locale/LocaleInformation_mr_IN.java,
4042         gnu/java/locale/LocaleInformation_mt_MT.java,
4043         gnu/java/locale/LocaleInformation_nl_BE.java,
4044         gnu/java/locale/LocaleInformation_nl_NL.java,
4045         gnu/java/locale/LocaleInformation_nn_NO.java,
4046         gnu/java/locale/LocaleInformation_no_NO.java,
4047         gnu/java/locale/LocaleInformation_oc_FR.java,
4048         gnu/java/locale/LocaleInformation_pl_PL.java,
4049         gnu/java/locale/LocaleInformation_pt_BR.java,
4050         gnu/java/locale/LocaleInformation_pt_PT.java,
4051         gnu/java/locale/LocaleInformation_ro_RO.java,
4052         gnu/java/locale/LocaleInformation_ru_RU.java,
4053         gnu/java/locale/LocaleInformation_ru_UA.java,
4054         gnu/java/locale/LocaleInformation_se_NO.java,
4055         gnu/java/locale/LocaleInformation_sk_SK.java,
4056         gnu/java/locale/LocaleInformation_sl_SI.java,
4057         gnu/java/locale/LocaleInformation_sq_AL.java,
4058         gnu/java/locale/LocaleInformation_sr_YU.java,
4059         gnu/java/locale/LocaleInformation_sv_FI.java,
4060         gnu/java/locale/LocaleInformation_sv_SE.java,
4061         gnu/java/locale/LocaleInformation_ta_IN.java,
4062         gnu/java/locale/LocaleInformation_te_IN.java,
4063         gnu/java/locale/LocaleInformation_tg_TJ.java,
4064         gnu/java/locale/LocaleInformation_tl_PH.java,
4065         gnu/java/locale/LocaleInformation_tr_TR.java,
4066         gnu/java/locale/LocaleInformation_uk_UA.java,
4067         gnu/java/locale/LocaleInformation_ur_PK.java,
4068         gnu/java/locale/LocaleInformation_uz_UZ.java,
4069         gnu/java/locale/LocaleInformation_vi_VN.java,
4070         gnu/java/locale/LocaleInformation_yi_US.java,
4071         gnu/java/locale/LocaleInformation_zh_CN.java,
4072         gnu/java/locale/LocaleInformation_zh_HK.java,
4073         gnu/java/locale/LocaleInformation_zh_SG.java,
4074         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4075         info; from Classpath.
4076
4077         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4078         isPaintPending): New methods.
4079         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4080         setMaximizedBounds): New methods.
4081         (beginLayout, endLayout, isPaintPending): Likewise.
4082         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4083         (requestFocus): Likewise.
4084         (isObscured): Likewise.
4085         (canDetermineObscurity): Likewise.
4086         (coalescePaintEvent): Likewise.
4087         (updateCursorImmediately): Likewise.
4088         (createVolatileImage): Likewise.
4089         (handlesWheelScrolling): Likewise.
4090         (createBuffers): Likewise.
4091         (getBackBuffer): Likewise.
4092         (flip): Likewise.
4093         (destroyBuffers): Likewise.
4094
4095         * Makefile.in: Rebuilt.
4096         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4097         RobotPeer.java.
4098         * gnu/java/awt/GLightweightPeer.java,
4099         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4100         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4101         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4102         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4103         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4104         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4105         java/awt/dnd/peer/DragSourceContextPeer.java,
4106         java/awt/dnd/peer/DropTargetContextPeer.java,
4107         java/awt/peer/ButtonPeer.java,
4108         java/awt/peer/CheckboxMenuItemPeer.java,
4109         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4110         java/awt/peer/ComponentPeer.java,
4111         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4112         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4113         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4114         java/awt/peer/MenuBarPeer.java,
4115         java/awt/peer/MenuComponentPeer.java,
4116         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4117         java/awt/peer/PopupMenuPeer.java,
4118         java/awt/peer/ScrollPanePeer.java,
4119         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4120         java/awt/peer/TextComponentPeer.java,
4121         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4122         New versions from Classpath.
4123         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4124         * java/awt/peer/RobotPeer.java: Likewise.
4125
4126 2003-03-01  Mark Wielaard  <mark@klomp.org>
4127
4128         * java/io/ObjectInputStream.java: Reindent.
4129         * java/io/ObjectOutputStream.java: Likewise.
4130
4131 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4132
4133         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4134         jvalue for each argument. Simplify.
4135         * testsuite/libjava.jni/calls.c (docall),
4136         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4137         misalignment.
4138
4139 2003-02-28  Mark Wielaard  <mark@klomp.org>
4140
4141         * Makefile.am (nat_source_files): Remove
4142         java/io/natObjectOutputStream.cc.
4143         * Makefile.in: Regenerated.
4144         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4145         * java/io/ObjectStreamField.java (typename): New field.
4146         (ObjectStreamField(String, Class)): Initialize new field.
4147         (ObjectStreamField(String, String)): New Constructor.
4148         (getTypeCode): Use new field.
4149         (getTypeString): Use new field.
4150         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4151         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4152         Handle reading of Proxy classes. Never drain(), just write
4153         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4154         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4155         (flush): Call flush(), not just drain().
4156         (writeBoolean): Always use blockDataOutput.
4157         (writeByte): Likewise.
4158         (writeShort): Likewise.
4159         (writeChar): Likewise.
4160         (writeInt): Likewise.
4161         (writeLong): Likewise.
4162         (writeFloat): Likewise.
4163         (writeDouble): Likewise.
4164         (writeBytes): Likewise.
4165         (putfield (put(String,Object))): Throw IllegalArgumentException if
4166         field cannot be found.
4167         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4168         (writeArraySizeAndElements): Write byte[] in one go.
4169         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4170         set BlockDataMode to false.
4171         (annotateProxyClass): New method.
4172         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4173         (getField): No longer native.
4174         (getMethod): Likewise.
4175         (setBlockDataMode): Always drain() on switch, return old mode.
4176         (static): New static code block.
4177         * java/io/natObjectOutputStream.cc: Removed.
4178         * java/io/ObjectInputStream.java (getField): No longer native.
4179         (getMethod): Likewise.
4180         (readObject): Remember and reset old BlockDataMode. Track whether
4181         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4182         TC_LONGSTRING.
4183         (defaultReadObject): Set BlockDataMode to false during readFields.
4184         (resolveClass): Create new SecurityManager if necessary.
4185         Use Class.forName() if null ClassLoader found.
4186         (read(byte[],int,int): Copy remaining bytes to data before calling
4187         readNextBlock().
4188         (readFields): Set and reset BlockDataMode on call_read_method.
4189         Catch NoSuchFieldErrors.
4190         (setBlockDataMode): Return old mode.
4191         (static): New static code block.
4192         * java/io/natObjectInputStream.cc (getField): Removed.
4193         (getMethod): Likewise.
4194
4195 2003-02-27  Michael Koch  <konqueror@gmx.de>
4196
4197         * java/beans/Beans.java,
4198         java/beans/FeatureDescriptor.java
4199         java/beans/PropertyEditorManager.java:
4200         Reformated to GNU style.
4201
4202 2003-02-25  Michael Koch  <konqueror@gmx.de>
4203
4204         * gnu/java/nio/MappedByteFileBuffer.java,
4205         gnu/java/nio/natMappedByteFileBuffer.cc:
4206         New files, both are not compiled yet to get not noncompiling CVS.
4207
4208 2003-02-24  Tom Tromey  <tromey@redhat.com>
4209
4210         * java/util/prefs/AbstractPreferences.java (isUserNode):
4211         Implemented.
4212
4213 2003-02-24  Tom Tromey  <tromey@redhat.com>
4214
4215         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4216         Deprecate.
4217         * java/lang/Thread.java (resume): Deprecate.
4218         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4219         in @deprecated.
4220
4221 2003-02-23  Tom Tromey  <tromey@redhat.com>
4222
4223         * Makefile.in: Rebuilt.
4224         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4225
4226 2003-02-23  Tom Tromey  <tromey@redhat.com>
4227
4228         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4229         libraries): Removed.
4230         (add_library): Removed.
4231         (_load): Don't call add_library.
4232         (loadLibraryInternal): Likewise.
4233         (init): Likewise.
4234         (lookup_data): New struct.
4235         (find_symbol): New function.
4236         (_Jv_FindSymbolInExecutable): Use it.
4237
4238 2002-02-21  Anthony Green  <green@redhat.com>
4239
4240         * java/lang/Thread.java (Thread): New constructor taking stack
4241         size parameter (ignored for now).
4242         * Many methods: Merged GNU Classpath documentation.
4243
4244         * java/lang/Class.java (finalize): throws a Throwable.
4245
4246 2003-02-21  Mark Wielaard  <mark@klomp.org>
4247
4248         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4249         argument is null.
4250
4251 2003-02-21  Mark Wielaard  <mark@klomp.org>
4252
4253         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4254         then 65535 chars throw IllegalArgumentException.
4255
4256 2003-02-21  Mark Wielaard  <mark@klomp.org>
4257
4258         * java/util/zip/ZipFile.java (finalize): New method.
4259
4260 2003-02-21  Michael Koch  <konqueror@gmx.de>
4261
4262         * gnu/java/nio/natSocketChannelImpl.cc:
4263         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4264         <cato@df.lth.se> for pointing to it.
4265
4266 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4267
4268         * java/math/BigInteger.java (euclidInv): Take result array as an
4269         argument.  Updated all callers.
4270         (modInverse): Removed unused variables.
4271
4272 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4273
4274         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4275         config.status.
4276         * configure: Rebuilt.
4277
4278 2003-02-19  Michael Koch  <konqueror@gmx.de>
4279
4280         * gnu/java/nio/natSocketChannelImpl.cc:
4281         Added support for platforms without network support.
4282
4283 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4284
4285         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4286         after config.h.  Use <> for consistency.
4287         * java/lang/natObject.cc: Likewise.
4288         * java/lang/natRuntime.cc: Likewise.
4289         * java/lang/natSystem.cc: Likewise.
4290         * java/util/natTimeZone.cc: Likewise.
4291         * win32.cc: Likewise.
4292         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4293         listen, write, read): Undef to avoid interference from OS macros.
4294
4295 2003-02-19  Michael Koch  <konqueror@gmx.de>
4296
4297         * gnu/java/nio/ByteBufferImpl.java
4298         (ByteBufferImpl): Renamed two variables.
4299         * gnu/java/nio/CharBufferImpl.java
4300         (CharBufferImpl): Renamed two variables.
4301         * gnu/java/nio/DoubleBufferImpl.java
4302         (DoubleBufferImpl): Renamed two variables.
4303         * gnu/java/nio/FloatBufferImpl.java
4304         (FloatBufferImpl): Renamed two variables.
4305         * gnu/java/nio/IntBufferImpl.java
4306         (IntBufferImpl): Renamed two variables.
4307         * gnu/java/nio/LongBufferImpl.java
4308         (LongBufferImpl): Renamed two variables.
4309         * gnu/java/nio/ShortBufferImpl.java
4310         (ShortBufferImpl): Renamed two variables.
4311         * java/nio/CharBuffer.java
4312         (wrap): Fixed arguments to CharBufferImpl constructor.
4313         (hasArray): Only not read-only buffers have backing arrays.
4314         (length): Documentation added.
4315         (subSequence): Documentation added.
4316         * java/nio/DoubleBuffer.java
4317         (hasArray): Only not read-only buffers have backing arrays.
4318         * java/nio/FloatBuffer.java
4319         (hasArray): Only not read-only buffers have backing arrays.
4320         * java/nio/IntBuffer.java
4321         (hasArray): Only not read-only buffers have backing arrays.
4322         * java/nio/LongBuffer.java
4323         (hasArray): Only not read-only buffers have backing arrays.
4324         * java/nio/ShortBuffer.java
4325         (hasArray): Only not read-only buffers have backing arrays.
4326         
4327 2003-02-19  Michael Koch  <konqueror@gmx.de>
4328
4329         * javax/accessibility/AccessibleContext.java
4330         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4331
4332 2003-02-19  Michael Koch  <konqueror@gmx.de>
4333
4334         * java/awt/ScrollPaneAdjustable.java: Reformated.
4335
4336 2003-02-19  Michael Koch <konqueror@gmx.de>
4337
4338         * gnu/awt/j2d/Graphics2DImpl.java
4339         (getFontRenderContext): New method.
4340         (drawGlyphVector): New method.
4341         * java/awt/Graphics2D.java
4342         (getFontRenderContext): New abstract method.
4343         (drawGlyphVector): New abstract method.
4344         
4345 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4346
4347         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4348         if necessary.
4349         
4350         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4351         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4352         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4353         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4354         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4356         (setFont, gtkSetFont): add.
4357         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4358         Propagate font to peer.  (setFont): add FIXME comment.
4359
4360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4361         (gtkTextGetSize): fix height, width computation.
4362
4363         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4364         Make X font name a bit less bogus.
4365
4366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4367         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4368
4369         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4370         (processAdjustmentEvent): Adjust value.
4371
4372         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4373         logic errors.
4374
4375         * java/awt/Component.java (setVisible, show, hide): Call show and
4376         hide methods in subclasses.
4377         (getPreferredSize): don't set prefSize before we have peer.
4378
4379         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4380         Guess (0,0) if we don't have peer.
4381
4382
4383 2003-02-18  Michael Koch  <konqueror@gmx.de>
4384
4385         * java/nio/channels/FileChannel.java
4386         (toString): New implementation, added documentation.
4387         (map): Added exception documentation.
4388         (size): Added exception documentation.
4389         (write): New methods, documentation work.
4390         (read): New methods, documentation work.
4391         (implCloseChannel): Rewrote exception documentation.
4392         (force): Throws IOException, added documentation.
4393         (lock): New methods.
4394         (tryLock): New methods.
4395         (position): New methods.
4396         (transferTo): New method.
4397         (transferFrom): New method.
4398         (truncate): New method.
4399         * java/nio/channels/spi/SelectorProvider.java
4400         (provider): Implemented.
4401         * Makefile.am
4402         (ordinary_java_source_files): Added the following files:
4403         gnu/java/nio/DatagramChannelImpl.java
4404         gnu/java/nio/FileChannelImpl.java
4405         gnu/java/nio/PipeImpl.java
4406         gnu/java/nio/SelectionKeyImpl.java
4407         gnu/java/nio/SelectorImpl.java
4408         gnu/java/nio/SelectorProviderImpl.java
4409         gnu/java/nio/ServerSocketChannelImpl.java
4410         gnu/java/nio/SocketChannelImpl.java
4411         java/nio/channels/FileLock.java
4412         (nat_java_source_files): Added the following files:
4413         gnu/java/nio/natFileChannelImpl.cc
4414         gnu/java/nio/natSelectorImpl.cc
4415         gnu/java/nio/natSocketChannelImpl.cc
4416         * Makefile.in: Regenerated.
4417
4418 2003-02-17  Tom Tromey  <tromey@redhat.com>
4419
4420         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4421         * java/awt/image/ImageFilter.java: Likewise.
4422
4423 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4424
4425         * java/math/BigInteger.java (euclidInv): Return array of
4426         `BigInteger's.  Changed all callers.
4427
4428 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4429
4430         * java/util/Properties.java (store): Move the code formerly in
4431         list(), into this method.
4432         (list (PrintStream)): Just call list (PrintWriter) with a 
4433         PrintWriter object constructed from the given PrintStream object.
4434         (list (PrintWriter)): Emulate the output of Properties.list()
4435         as found in JDK 1.3/1.4.
4436
4437 2003-02-17  Michael Koch  <konqueror@gmx.de>
4438
4439         * java/net/DatagramSocket.java
4440         (connect): Merged with classpath.
4441         (disconnect): Merged documentation with classpath.
4442         (receice): Merged documentation with classpath.
4443         (send): Merged documentation with classpath.
4444         
4445 2003-02-17  Michael Koch  <konqueror@gmx.de>
4446
4447         * java/awt/dnd/DragSourceContext.java
4448         (addDragSourceListener): Added documentation.
4449         * java/awt/dnd/DragSourceDragEvent.java
4450         (serialVersionUID): New member variable.
4451         (getDropAction): Reformated.
4452         * java/awt/dnd/DragSourceDropEvent.java
4453         (serialVersionUID): New member variable.
4454         (dropSuccess): Renamed from success for serialization issues.
4455         * java/awt/dnd/DragSourceEvent.java
4456         (serialVersionUID): New member variable.
4457         * java/awt/dnd/DropTarget.java
4458         (serialVersionUID): New member variable.
4459         (DropTarget): Implemented, documentation reworked.
4460         (setComponent): Documentation added.
4461         (getComponent): Documentation added.
4462         (setDefaultActions): Documentation added.
4463         (getDefaultActions): Documentation added.
4464         (addDropTargetListener): Documentation added.
4465         * java/awt/dnd/DropTargetContext.java
4466         (DropTargetContext): Documentation added.
4467         (TransferableProxy.TransferableProxy): New method.
4468         (dropComplete): Fixed documentation.
4469         (getTransferable): Fixed documentation.
4470         (createTransferableProxy): Implemented.
4471         * java/awt/dnd/DropTargetDragEvent.java
4472         (DropTargetDragEvent): Documentation added.
4473         (serialVersionUID): New member variable.
4474         (DropTargetDragEvent): Throw exceptions, documentation added.
4475         (acceptDrag): Implemented.
4476         (getCurrentDataFlavors): Implemented.3yy
4477         (getCurrentDataFlavorsAsList): Implemented.
4478         (isDataFlavorSupported): Implemented.
4479         (rejectDrag): Implemented.
4480         * java/awt/dnd/DropTargetDropEvent.java
4481         (DropTargetDropEvent): Documentation added.
4482         (serialVersionUID): New member variable.
4483         (actions): Renamed from srcActions for serialization issues.
4484         (isLocalTx): Renamed from isLocalTx for serialization issues.
4485         (DropTargetDropEvent): New implementation, throw exceptions,
4486         documentation added.
4487         (getCurrentDataFlavors): Implemented.
4488         (getCurrentDataFlavorsAsList): Implemented.
4489         (isDataFlavorSupported): Implemented.
4490         (getSourceActions): Implemented.
4491         (getDropAction): Implemented.
4492         (getTransferable): Implemented.
4493         (acceptDrop): Implemented.
4494         (rejectDrop): Implemented.
4495         * java/awt/dnd/DropTargetListener.java
4496         (drop): Fixed documentation.
4497         * java/awt/dnd/MouseDragGestureRecognizer.java
4498         (MouseDragGestureRecognizer): Documentation added.
4499
4500 2003-02-17  Michael Koch  <konqueror@gmx.de>
4501
4502         * java/awt/font/FontRenderContext.java,
4503         java/awt/font/ShapeGraphicAttribute.java,
4504         java/awt/font/MultipleMaster.java,
4505         java/awt/font/TransformAttribute.java,
4506         java/awt/font/GlyphJustificationInfo.java,
4507         java/awt/font/LineBreakMeasurer.java,
4508         java/awt/font/TextMeasurer.java,
4509         java/awt/font/TextLayout.java,
4510         java/awt/font/LineMetrics.java,
4511         java/awt/font/TextAttribute.java,
4512         java/awt/font/GlyphMetrics.java,
4513         java/awt/font/OpenType.java,
4514         java/awt/font/GlyphVector.java,
4515         java/awt/font/GraphicAttribute.java,
4516         java/awt/font/ImageGraphicAttribute.java,
4517         java/awt/font/NumericShaper.java: New files.
4518         * Makefile.am
4519         (awt_java_source_files): Added the following files:
4520         java/awt/font/FontRenderContext.java
4521         java/awt/font/ShapeGraphicAttribute.java
4522         java/awt/font/MultipleMaster.java
4523         java/awt/font/TransformAttribute.java
4524         java/awt/font/GlyphJustificationInfo.java
4525         java/awt/font/LineBreakMeasurer.java
4526         java/awt/font/TextMeasurer.java
4527         java/awt/font/TextLayout.java
4528         java/awt/font/LineMetrics.java
4529         java/awt/font/TextAttribute.java
4530         java/awt/font/GlyphMetrics.java
4531         java/awt/font/OpenType.java
4532         java/awt/font/GlyphVector.java
4533         java/awt/font/GraphicAttribute.java
4534         java/awt/font/ImageGraphicAttribute.java
4535         java/awt/font/NumericShaper.java
4536         * Makefile.in: Regenerated.
4537
4538 2003-02-17  Michael Koch  <konqueror@gmx.de>
4539
4540         * java/awt/print/Paper.java
4541         (Paper): Implements Cloneable.
4542         * java/awt/print/PrinterJob.java
4543         (setJobName): Return value must be void.
4544         (print): Throws PrinterException.
4545         
4546 2003-02-16  Tom Tromey  <tromey@redhat.com>
4547
4548         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4549         variable.
4550
4551 2003-02-15  Michael Koch  <konqueror@gmx.de>
4552
4553         * java/awt/datatransfer/DataFlavor.java
4554         (isRepresentationClassByteBuffer): Removed try-catch block.
4555         (isRepresentationClassCharBuffer): Removed try-catch block.
4556         (isRepresentationClassReader): Removed try-catch block.
4557
4558 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4559
4560         * java/nio/charset/Charset.java
4561         (isRegistered): Fixed method args and implementation.
4562         * java/nio/charset/CharsetEncoder.java
4563         (unmappableCharacterAction): New method.
4564
4565 2003-02-15  Michael Koch  <konqueror@gmx.de>
4566
4567         * java/awt/CheckboxMenuItem.java
4568         (CheckBoxMenuItem): Dont implement Serializable.
4569         (getListeners): New method,
4570         (getItemListeners): New method.
4571         * java/awt/Choice.java
4572         (getListeners): New method,
4573         (getItemListeners): New method.
4574         * java/awt/Container.java
4575         (getListeners): Added exception documentation.
4576         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4577         (getFocusTraversalKeys): Added documentation.
4578         (areFocusTraversalKeysSet): Added documentation.
4579         (applyComponentOrientation): Added documentation.
4580         * java/awt/ContainerOrderFocusTraversalPolicy.java
4581         (implicitDownCycleTraversal): Renamed from downCycle for
4582         serialization.
4583         (ContainerOrderFocusTraversalPolicy): Added documentation.
4584         (accept): Reformated.
4585         * java/awt/Dialog.java
4586         (Dialog): Dont implement Serializable.
4587         (Dialog): Added documentation.
4588         * java/awt/Font.java
4589         (Font): Dont use absolute class name.
4590         * java/awt/Frame.java
4591         (Frame): Font implement Serializable.
4592         * java/awt/List.java
4593         (getListeners): New method,
4594         (getActionListeners): New method.       
4595         (getItemListeners): New method.
4596         * java/awt/Menu.java
4597         (countItems): New deprecated method.
4598         * java/awt/Scrollbar.java
4599         (getListeners): New method,
4600         (getAdjustmentListeners): New method,
4601         * java/awt/TextComponent.java
4602         (getListeners): New method,
4603         (getTextListeners): New method,
4604         * java/awt/TextField.java
4605         (getListeners): New method,
4606         (getActionListeners): New method.       
4607         * java/awt/Window.java
4608         (windowFocusListener): New member variable.
4609         (windowStateListener): New member variable.
4610         (getWindowFocusListeners): New method.
4611         (getWindowStateListeners): New method.
4612         (addWindowFocusListener): New method.
4613         (addWindowStateListener): New method.
4614         (removeWindowFocusListener): New method.
4615         (removeWindowStateListener): New method.
4616         * java/awt/datatransfer/DataFlavor.java
4617         (isRepresentationClassByteBuffer): New method.
4618         (isRepresentationClassCharBuffer): New method.
4619         (isRepresentationClassReader): New method.
4620
4621 2003-02-14  Mark Wielaard  <mark@klomp.org>
4622
4623         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4624         zero when there is an exponent and the significant is zero.
4625         (divide): Always set scale to newScale even in special ZERO case.
4626
4627 2003-02-14  Tom Tromey  <tromey@redhat.com>
4628
4629         * java/lang/System.java (properties): Use Properties.clone.
4630         (setProperties): Likewise.
4631
4632 2003-02-14  Michael Koch  <konqueror@gmx.de>
4633
4634         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4635         * gnu/java/nio/ServerSocketChannelImpl.java
4636         (SocketAccept): Removed.
4637         (accept): Commented out use of SocketAccept.
4638
4639 2003-02-13  Tom Tromey  <tromey@redhat.com>
4640
4641         * verify.cc (state::seen_subrs): New field.
4642         (state::state): Initialize it.
4643         (state::clean_subrs): New method.
4644         (state::~state): Call it.
4645         (state::copy): Copy subroutine list.
4646         (state::add_subr): New method.
4647         (state::merge): Only register a change if the current subroutine
4648         hasn't yet been noted.
4649
4650 2003-02-13  Mark Wielaard  <mark@klomp.org>
4651
4652         * java/io/InputStreamReader.java (getEncoding): Return null when
4653         closed.
4654         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4655
4656 2003-02-13  Mark Wielaard  <mark@klomp.org>
4657  
4658         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4659         is zero.
4660
4661 2003-02-13  Mark Wielaard  <mark@klomp.org>
4662
4663         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4664         next byte cannot be buffered.
4665
4666 2003-02-13  Michael Koch  <konqueror@gmx.de>
4667  
4668         * java/awt/Label.java
4669         (Label): Don't implement Serializable directly.
4670         (addNotify): Fixed typo in documentation.
4671         * java/awt/List.java
4672         (List): Don't implement Serializable directly.
4673         * java/awt/PopupMenu.java
4674         (PopupMenu): Don't implement Serializable directly.
4675         * java/awt/ScrollPane.java
4676         (ScrollPane): Don't implement Serializable directly.
4677         * java/awt/Scrollbar.java
4678         (Scrollbar): Don't implement Serializable directly.
4679         * java/awt/TextArea.java
4680         (preferredSize): Fixed method arguments.
4681         * java/awt/TextField.java
4682         (TextField): Don't implement Serializable directly.
4683         * java/awt/color/ICC_ColorSpace.java
4684         (fromCIOXYZ): Documentation added.
4685         (getMinValue): Documentation added.
4686         (getMaxValue): Documentation added.
4687         * java/awt/datatransfer/DataFlavor.java
4688         (isMimeTypeEqual): May not be final.
4689         (clone): Throws CloneNotSupportedException.
4690         (getReaderForText): Don't throws UnsupportedEncodingException.
4691
4692 2003-02-13  Michael Koch  <konqueror@gmx.de>
4693  
4694         * gnu/java/awt/peer/gtk/GdkGraphics.java
4695         (drawString): New stubbed method.
4696         * java/awt/Graphics.java
4697         (drawString): New method.
4698
4699 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4700
4701         PR libgcj/9271:
4702         * java/security/SecureRandom.java (next): Avoid bias in results.
4703
4704 2003-02-13  Michael  <konqueror@gmx.de>
4705
4706         * gnu/java/nio/FileChannelImpl.java
4707         (lengthInternal): Must be native.
4708         (size): Check if channel is already closed.
4709         (implCloseChannel): Reformated.
4710         (read): w was unused, removed it.
4711         (read): Removed.
4712         (read): New method.
4713         (write): New method.
4714         (map): Check arguments.
4715         (force): Throws IOException, check if channel is closed.
4716         (transferTo): New method.
4717         (transferFrom): New method.
4718         (lock): New method.
4719         (tryLock): New method.
4720         (position): New method.
4721         (truncate): New method.
4722         (nio_mmap_file): Uncommented.
4723         (nio_munmap_file): Uncommented.
4724         (nio_msync): Uncommented.
4725         * gnu/java/nio/natFileChannelImpl.cc: New file.
4726         
4727 2003-02-13  Michael Koch  <konqueror@gmx.de>
4728
4729         * java/nio/ByteBuffer.java
4730         (endian): New member variable.
4731         (get): New methods.
4732         (equals): New method.
4733         (compareTo): New method.
4734         (order): New methods.
4735         (compact): New method.
4736         (isDirect): New method.
4737         (slice): New method.
4738         (duplicate): New method.
4739         (asReadOnlyBuffer): New method.
4740         (asCharBuffer): New method.
4741         (asDoubleBuffer): New method.
4742         (asFloatBuffer): New method.
4743         (asIntBuffer): New method.
4744         (asLongBuffer): New method.
4745         (asShortBuffer): New method.
4746         (get*): New methods.
4747         (put*): New methods.
4748         (toString): New method.
4749         * java/nio/CharBuffer.java
4750         (CharBuffer): Implement Comparable instead of Cloneable.
4751         (get): May not be final.
4752         (put): May not be final.
4753         
4754 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4755
4756         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4757         lastIndexOf( ) instead of indexOf( ) to find the colon before
4758         the line number, because Win32 file names might contain a 
4759         drive letter and a colon at the start of an absolute path.
4760
4761 2003-02-13  Michael Koch  <konqueror@gmx.de>
4762
4763         * gnu/java/nio/natSocketChannelImpl.cc
4764         (SocketConnect): This is not implemented yet.
4765         (SocketBind): This is not implemented yet.
4766
4767 2003-02-13  Michael Koch  <konqueror@gmx.de>
4768
4769         * gnu/java/nio/natByteBufferImpl.cc,
4770         gnu/java/nio/natCharBufferImpl.cc,
4771         gnu/java/nio/natDoubleBufferImpl.cc,
4772         gnu/java/nio/natFloatBufferImpl.cc,
4773         gnu/java/nio/natIntBufferImpl.cc,
4774         gnu/java/nio/natLongBufferImpl.cc,
4775         gnu/java/nio/natShortBufferImpl.cc:
4776         Added copyright and license.
4777         * java/nio/DoubleBuffer.java,
4778         java/nio/FloatBuffer.java,
4779         java/nio/IntBuffer.java,
4780         java/nio/LongBuffer.java,
4781         java/nio/ShortBuffer.java
4782         (array): Throw exceptions.
4783         (arrayOffset): Throw exceptions.
4784
4785 2003-02-13  Michael Koch  <konqueror@gmx.de>
4786  
4787         * gnu/java/util/prefs/FileBasedFactory.java,
4788         gnu/java/util/prefs/MemmoryBasedFactory.java,
4789         gnu/java/util/prefs/MemoryBasedPreferences.java,
4790         gnu/java/util/prefs/NodeReader.java,
4791         gnu/java/util/prefs/NodeWriter.java,
4792         java/util/prefs/AbstractPreferences.java,
4793         java/util/prefs/BackingStoreException.java,
4794         java/util/prefs/InvalidPreferencesFormatException.java,
4795         java/util/prefs/NodeChangeEvent.java,
4796         java/util/prefs/NodeChangeListener.java,
4797         java/util/prefs/PreferenceChangeEvent.java,
4798         java/util/prefs/PreferenceChangeListener.java,
4799         java/util/prefs/Preferences.java,
4800         java/util/prefs/PreferencesFactory.java:
4801         New files, all merged from classpath.
4802         * Makefile.am
4803         (ordinary_java_source_files): Added the following files:
4804         gnu/java/util/prefs/FileBasedFactory.java,
4805         gnu/java/util/prefs/MemmoryBasedFactory.java,
4806         gnu/java/util/prefs/MemoryBasedPreferences.java,
4807         gnu/java/util/prefs/NodeReader.java,
4808         gnu/java/util/prefs/NodeWriter.java,
4809         (core_java_source_files): Added the following files:
4810         java/util/prefs/AbstractPreferences.java,
4811         java/util/prefs/BackingStoreException.java,
4812         java/util/prefs/InvalidPreferencesFormatException.java,
4813         java/util/prefs/NodeChangeEvent.java,
4814         java/util/prefs/NodeChangeListener.java,
4815         java/util/prefs/PreferenceChangeEvent.java,
4816         java/util/prefs/PreferenceChangeListener.java,
4817         java/util/prefs/Preferences.java,
4818         java/util/prefs/PreferencesFactory.java
4819         * Makefile.in: Regenerated.
4820  
4821 2003-02-13  Michael Koch  <konqueror@gmx.de>
4822
4823         * java/net/NetPermission.java
4824         (NetPermission): Make doucmentation match the method declaration.
4825         * java/net/NetworkInterface.java
4826         (equals): Reformated for GNU coding style.
4827         * java/net/ServerSocket.java: Merged with classpath.
4828         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4829         * java/net/SocketImpl.java
4830         (localPort): Merged with classpath (initialize with -1).
4831         * java/net/SocketPermission.java: Merged with classpath (reindented).
4832         * java/net/URLDecoder.java: Merged with classpath (reindented).
4833
4834 2003-02-13  Michael Koch  <konqueror@gmx.de>
4835
4836         * java/awt/GridBagConstraints.java
4837         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4838         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4839         * java/awt/KeyboardFocusManager.java
4840         (setGlobalCurrentFocusCycleRoot): Must be public.
4841         * java/awt/MenuComponent.java
4842         (MenuComponent): Must be public.
4843         * java/awt/Toolkit.java:
4844         Added some empty lines to make documentation more readable.
4845         (getFontPeer): Added @deprecated.
4846         (getColorModel): Added exception documentation.
4847         (getProperty): Fixed documentation.
4848  
4849 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4850
4851         * configure.host (alpha*-*): Default to -mieee.
4852         * configure.in (IEEESPEC): New.
4853         * libgcj.spec.in (jc1): Add IEEESPEC.
4854         * configure: Rebuild.
4855
4856 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4857
4858         * include/win32.h: Include ws2tcpip.h instead of
4859         winsock.h to obtain definition of the socklen_t type.
4860         Remove IP_TOS definition - not needed with ws2tcpip.h
4861         (_Jv_connect): Correct slight formatting error.
4862
4863 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4864
4865         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4866         size of the arguments for a JNI function. For Win32,
4867         modify to search for all forms of possible exported
4868         names of an stdcall JNI function.
4869         (_Jv_JNIMethod::call): Modify to calculate the size
4870         of the arguments passed to a JNI function and pass
4871         it to _Jv_LookupJNIMethod.
4872
4873 2003-02-12  Michael Koch  <konqueror@gmx.de>
4874
4875         * java/nio/channels/Channels.java: New file.
4876         * Makefile.am
4877         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4878         * Makefile.in: Regenerated.
4879
4880 2003-02-12  Michael Koch  <konqueror@gmx.de>
4881
4882         * java/nio/ByteBuffer.java
4883         (allocate): Implemented.
4884         (wrap): Implemented.
4885         * java/nio/CharBuffer.java:
4886         Some documentation added and reworked.
4887         (endian): Removed.
4888         (allocate): Implemented.
4889         (wrap): Implemented.
4890         (array): Throw exceptions.
4891         (arrayOffset): Throw exceptions.
4892         (toString): Implemented.
4893         (length): Implemented.
4894         (put): Implemented.
4895         (charAt): Implemented.
4896
4897 2003-02-11  John Leuner  <jewel@debian.org>
4898
4899         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4900         reads from end of file.
4901
4902 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4903
4904         * java/io/natFileDescriptorWin32.cc 
4905         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4906         returns with Win32 error code ERROR_BROKEN_PIPE.
4907
4908 2003-02-11  Michael Koch  <konqueror@gmx.de>
4909
4910         * Makefile.in
4911         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4912
4913 2003-02-11  Michael Koch  <konqueror@gmx.de>
4914
4915         * gnu/java/nio/ByteBufferImpl.java:
4916         Reformated and removed some code.
4917         (backing_buffer): Removed.      
4918         (array_offset): Removed.
4919         (ro): Renamed to readOnly.
4920         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4921         * gnu/java/nio/CharBufferImpl.java:
4922         Reformated and removed some code.
4923         (array_offset): Removed.
4924         (ro): Renamed to readOnly.
4925         (CharBufferImpl): Use parent constructor, initialize readOnly.
4926         (inc_pos): Removed.
4927         (order): New method.
4928         * gnu/java/nio/DoubleBufferImpl.java:
4929         Reformated and removed some code.
4930         (array_offset): Removed.
4931         (ro): Renamed to readOnly.
4932         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4933         (inc_pos): Removed.
4934         (order): New method.
4935         * gnu/java/nio/FloatBufferImpl.java:
4936         Reformated and removed some code.
4937         (array_offset): Removed.
4938         (ro): Renamed to readOnly.
4939         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4940         (inc_pos): Removed.
4941         (order): New method.
4942         * gnu/java/nio/IntBufferImpl.java:
4943         Reformated and removed some code.
4944         (array_offset): Removed.
4945         (ro): Renamed to readOnly.
4946         (IntBufferImpl): Use parent constructor, initialize readOnly.
4947         (inc_pos): Removed.
4948         (order): New method.
4949         * gnu/java/nio/LongBufferImpl.java:
4950         Reformated and removed some code.
4951         (array_offset): Removed.
4952         (ro): Renamed to readOnly.
4953         (LongBufferImpl): Use parent constructor, initialize readOnly.
4954         (inc_pos): Removed.
4955         (order): New method.
4956         * gnu/java/nio/ShortBufferImpl.java:
4957         Reformated and removed some code.
4958         (array_offset): Removed.
4959         (ro): Renamed to readOnly.
4960         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4961         (inc_pos): Removed.
4962         (order): New method.
4963         * Makefile.am
4964         (ordinary_java_source_files): Added the following files:
4965         gnu/java/nio/ByteBufferImpl.java
4966         gnu/java/nio/CharBufferImpl.java
4967         gnu/java/nio/DoubleBufferImpl.java
4968         gnu/java/nio/FloatBufferImpl.java
4969         gnu/java/nio/IntBufferImpl.java
4970         gnu/java/nio/LongBufferImpl.java
4971         gnu/java/nio/ShortBufferImpl.java
4972         java/nio/DoubleBuffer.java
4973         java/nio/FloatBuffer.java
4974         java/nio/IntBuffer.java
4975         java/nio/LongBuffer.java
4976         java/nio/ShortBuffer.java
4977         (nat_source_files): Added the following files:
4978         gnu/java/nio/natByteBufferImpl.cc
4979         gnu/java/nio/natCharBufferImpl.cc
4980         gnu/java/nio/natDoubleBufferImpl.cc
4981         gnu/java/nio/natFloatBufferImpl.cc
4982         gnu/java/nio/natIntBufferImpl.cc
4983         gnu/java/nio/natLongBufferImpl.cc
4984         gnu/java/nio/natShortBufferImpl.cc
4985         * Makefile.in: Regenerated.
4986
4987 2003-02-11  Michael Koch  <konqueror@gmx.de>
4988
4989         * gnu/java/nio/natCharBufferImpl.cc
4990         (nio_cast): Removed.
4991         (nio_put_*): Removed.
4992         (nio_get_*): Removed.
4993         * gnu/java/nio/natDoubleBufferImpl.cc
4994         (nio_cast): Removed.
4995         (nio_put_*): Removed.
4996         (nio_get_*): Removed.
4997         * gnu/java/nio/natFloatBufferImpl.cc
4998         (nio_cast): Removed.
4999         (nio_put_*): Removed.
5000         (nio_get_*): Removed.
5001         * gnu/java/nio/natIntBufferImpl.cc
5002         (nio_cast): Removed.
5003         (nio_put_*): Removed.
5004         (nio_get_*): Removed.
5005         * gnu/java/nio/natLongBufferImpl.cc
5006         (nio_cast): Removed.
5007         (nio_put_*): Removed.
5008         (nio_get_*): Removed.
5009         * gnu/java/nio/natShortBufferImpl.cc
5010         (nio_cast): Removed.
5011         (nio_put_*): Removed.
5012         (nio_get_*): Removed.
5013         * gnu/java/nio/SelectorProviderImpl.java
5014         (openDatagramChannel): Throws IOException.
5015         (openPipe): Throws IOException.
5016         (openSelector): Throws IOException.
5017         (openServerSocketChannel): Throws IOException.
5018         (openSocketChannel): Throws IOException.
5019         * gnu/java/nio/ServerSocketChannelImpl.java
5020         (ServerSocketChannelImpl): Throws IOException.
5021         (implCloseSelectableChannel): Throws IOException.
5022         (implConfigureBlocking): Throws IOException.
5023         * java/nio/ByteBuffer.java
5024         (readOnly): Removed.
5025         (hasArray): Use isReadOnly() instead of readOnly.
5026         (array): Use isReadOnly() instead of readOnly.
5027         (arrayOffset): Use isReadOnly() instead of readOnly.
5028         * java/nio/CharBuffer.java
5029         (CharBuffer): Implements Cloneable and CharSequence.
5030
5031 2003-02-11  Michael Koch  <konqueror@gmx.de>
5032
5033         * java/nio/DoubleBuffer.java
5034         (DoubleBuffer): Implements Comparable.
5035         (endian): Removed.
5036         (array_offset): New member variable.
5037         (DoubleBuffer): New constuctor.
5038         (get): May not be final.
5039         (put): May not be final.
5040         (arrayOffset): Implemented.
5041         (order): Made abstract.
5042         (order): Removed.
5043         (as*Buffer): Removed.
5044         (get*): Removed.
5045         (put*): Removed.
5046         * java/nio/FloatBuffer.java
5047         (FloatBuffer): Implements Comparable.
5048         (endian): Removed.
5049         (array_offset): New member variable.
5050         (FloatBuffer): New constuctor.
5051         (get): May not be final.
5052         (put): May not be final.
5053         (arrayOffset): Implemented.
5054         (order): Made abstract.
5055         (order): Removed.
5056         (as*Buffer): Removed.
5057         (get*): Removed.
5058         (put*): Removed.
5059         * java/nio/IntBuffer.java
5060         (IntBuffer): Implements Comparable.
5061         (endian): Removed.
5062         (array_offset): New member variable.
5063         (IntBuffer): New constuctor.
5064         (get): May not be final.
5065         (put): May not be final.
5066         (arrayOffset): Implemented.
5067         (order): Made abstract.
5068         (order): Removed.
5069         (as*Buffer): Removed.
5070         (get*): Removed.
5071         (put*): Removed.
5072         * java/nio/LongBuffer.java
5073         (LongBuffer): Implements Comparable.
5074         (endian): Removed.
5075         (array_offset): New member variable.
5076         (LongBuffer): New constuctor.
5077         (get): May not be final.
5078         (put): May not be final.
5079         (arrayOffset): Implemented.
5080         (order): Made abstract.
5081         (order): Removed.
5082         (as*Buffer): Removed.
5083         (get*): Removed.
5084         (put*): Removed.
5085         * java/nio/ShortBuffer.java
5086         (ShortBuffer): Implements Comparable.
5087         (endian): Removed.
5088         (array_offset): New member variable.
5089         (ShortBuffer): New constuctor.
5090         (get): May not be final.
5091         (put): May not be final.
5092         (arrayOffset): Implemented.
5093         (order): Made abstract.
5094         (order): Removed.
5095         (as*Buffer): Removed.
5096         (get*): Removed.
5097         (put*): Removed.
5098
5099 2003-02-11   Michael Koch  <konqueror@gmx.de>
5100
5101         * java/nio/channels/SelectionKey.java
5102         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5103         values.
5104
5105 2003-02-11  Michael Koch  <konqueror@gmx.de>
5106
5107         * java/nio/channels/DatagramChannel.java
5108         (write): Throws IOException.
5109         (connect): Throws IOException.
5110         (disconnect): Throws IOException.
5111         (read): Throws IOException.
5112         (receive): Throws IOException.
5113         (send): Throws IOException.
5114         * java/nio/channels/Pipe.java
5115         (open): Throws IOException.
5116         * java/nio/channels/SelectableChannel.java
5117         (configureBlocking): Throws IOException.
5118         * java/nio/channels/ServerSocketChannel.java
5119         (accept): Throws IOException.
5120         * java/nio/channels/SocketChannel.java
5121         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5122         GatheringByteChannel.
5123         (read): Throws IOException.
5124         (write): Throws IOException.
5125         (finishConnect): Throws IOException.
5126         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5127         (end): Throws AsynchronousCloseException.
5128         * java/nio/channels/spi/AbstractSelectableChannel.java
5129         (configureBlocking): Throws IOException.
5130         (implCloseChannel): Throws IOException.
5131         (implCloseSelectableChannel): Throws IOException.
5132         (implConfigureBlocking): Throws IOException.
5133         * java/nio/channels/spi/SelectorProvider.java
5134         (openDatagramChannel): Throws IOException.
5135         (openPipe): Throws IOException.
5136         (openSelector): Throws IOException.
5137         (openServerSocketChannel): Throws IOException.
5138         (openSocketChannel): Throws IOException.
5139
5140 2003-02-11  Michael Koch  <konqueror@gmx.de>
5141
5142         * gnu/java/nio/FileLockImpl.java,
5143         java/nio/channels/FileLock.java: New files.
5144
5145 2003-02-11  Michael Koch  <konqueror@gmx.de>
5146
5147         * java/nio/charset/IllegalCharsetNameException.java
5148         (serialVersionUID): New member variable.
5149         (charsetName): New member variable.
5150         (IllegalCharsetException): New implementation.
5151         (getCharsetName): New implementation.
5152         * java/nio/charset/UnsupportedCharsetException.java
5153         (serialVersionUID): New member variable.
5154         (charsetName): New member variable.
5155         (UnsupportedCharsetException): New implementation.
5156         (getCharsetName): New implementation.
5157
5158 2003-02-10  Tom Tromey  <tromey@redhat.com>
5159
5160         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5161         (ex): Renamed from sqlException.
5162
5163 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5164
5165         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5166         method used to ensure seeding has occurred and that a specific 
5167         seed can be set and used.
5168
5169 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5170
5171         * java/lang/Win32Process.java (destroy): Declare as native.
5172         (hasExited): New native method.
5173         (exitValue): Define.
5174         (getErrorStream): Likewise.
5175         (getInputStream): Likewise.
5176         (getOutputStream): Likewise.
5177         (waitFor): Declare as native.
5178         (startProcess): New native method.
5179         (cleanup): Likewise.
5180         (ConcreteProcess): Define.
5181         (outputStream, inputStream, errorStream): New members.
5182         (procHandle, exitCode): Likewise.
5183
5184         * java/lang/natWin32Process.cc
5185         (java::lang::ConcreteProcess::cleanup): Define.
5186         (java::lang::ConcreteProcess::destroy): Likewise.
5187         (java::lang::ConcreteProcess::hasExited): Likewise.
5188         (java::lang::ConcreteProcess::waitFor): Likewise.
5189         (new_string): Likewise.
5190         (java::lang::ConcreteProcess::startProcess): Likewise.
5191
5192 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5193
5194         * java/math/BigInteger.java:
5195         Updated notice to include years 2002 and 3.
5196         Added 2 private (int) arrays with values from the HAC (Handbook of
5197         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5198         and t[] that contains nbr. of tests --used in isProbablePrime().
5199
5200         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5201
5202         * java/math/BigInteger.java (make(int[],int), add(int,int),
5203         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5204         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5205         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5206         make(long).
5207
5208         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5209         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5210         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5211         BIs and returns void.
5212         (modInverse(BI)): Use new signatures of euclidInv().
5213
5214         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5215         static small primes instead of remainder().
5216         Use pre-computed max nbr of trials based on bitlength of BI to test.
5217         Use pre-computed small primes for the trial tests instead of random
5218         numbers.
5219
5220         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5221         not used.
5222
5223         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5224         invoacation of MPN.chars_per_word().  not used.
5225
5226         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5227         local var and used where needed.
5228
5229         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5230         Combined declaration with initialisation of locals.
5231         Removed unused var.
5232
5233         * java/math/BigInteger.java: Style changes
5234         (pow(int)): Removed 'else' keyword.
5235         (toString(int)): idem.
5236         (doubleValue()): idem.
5237         (bitLength()): idem.
5238         (equals(Object)): Use static methods name in same class w/o prepending
5239         class name.
5240         (doubleValue()): idem.
5241         (setNegative(BI)): idem.
5242         (negate()): idem.
5243         (and(BI,int)): idem.
5244         (and(BI)): idem.
5245         (gcd(BI)): idem.
5246         (byteArrayToIntArray()): Removed casting to (int). this is
5247         std. behaviour.
5248         (canonicalize()): idem.
5249         (alloc(int)): Always instantiate a new BI.
5250
5251 2003-02-10  Tom Tromey  <tromey@redhat.com>
5252
5253         * java/sql/Timestamp.java (compareTo(Object)): New method.
5254         (compareTo(Timestamp)): Likewise.
5255         (serialVersionUID): Updated.
5256
5257 2003-02-07  Mark Wielaard  <mark@klomp.org>
5258
5259         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5260         when verify is true.
5261         (JarFile(File, boolean)): Likewise.
5262         (manifestRead): Set manifestRead field correctly.
5263
5264 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5265
5266         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5267         tests; see patch #1016 on Savannah.
5268
5269 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5270
5271         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5272         (toString): do not return Strings starting with . and - erroneously.
5273         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5274         DiagBigDecimal.
5275
5276 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5277
5278         * java/beans/PropertyDescriptor.java
5279         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5280         methods.
5281         (PropertyDescriptor(String, Class, String, String)): Likewise.
5282         (PropertyDescriptor(String, Method, Method): Factor out getter and
5283         setter method sanity checks into new method.
5284         (findMethods): Don't do parameter sanity checking of get method here.
5285         (checkMethods): New method.
5286
5287 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5288
5289         * java/beans/PropertyDescriptor.java: Reformat.
5290
5291 2003-02-04  Tom Tromey  <tromey@redhat.com>
5292
5293         * java/io/PipedOutputStream.java (flush): Declare as throwing
5294         IOException.
5295         (close): Likewise.
5296         * java/io/PipedWriter.java (close): Declare as throwing
5297         IOException.
5298         * java/io/StringWriter.java (close): Declare as throwing
5299         IOException.
5300
5301 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5302
5303         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5304         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5305         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5306         "_JNI_OnLoad@8" (MSVC).
5307
5308 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5309
5310         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5311         convention on Win32 to invoke native JNI methods.
5312
5313 2003-02-03  Andrew Haley  <aph@redhat.com>
5314
5315         * configure.host (x86_64): Enable interpreter.
5316
5317 2003-02-03  Andrew Haley  <aph@redhat.com>
5318
5319         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5320         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5321         * configure.in (BACKTRACESPEC): New.
5322         * configure: Regenerate.
5323
5324 2003-02-02  Tom Tromey  <tromey@redhat.com>
5325
5326         * configure: Rebuilt.
5327         * configure.in (TOOLKIT) [xlib]: Set correctly.
5328
5329         * Makefile.in: Rebuilt.
5330         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5331         libstdc++.
5332
5333 2003-01-31  Mark WIelaard  <mark@klomp.org>
5334
5335         * Makefile.in: Rebuilt.
5336         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5337
5338 2003-01-31  Tom Tromey  <tromey@redhat.com>
5339
5340         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5341         cast to element type.
5342         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5343         (_Jv_JNI_GetObjectArrayElement): Likewise.
5344
5345         * Makefile.in: Rebuilt.
5346         * Makefile.am (cond_x_ltlibrary): Renamed library to
5347         lib-gnu-awt-xlib.la.
5348         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5349         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5350         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5351         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5352         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5353         (lib_gnu_awt_xlib_la_LINK): Likewise.
5354         (install-exec-hook): Removed.
5355         (lib-gnu-awt-xlib.la): Renamed.
5356
5357 2003-01-31  Tom Tromey  <tromey@redhat.com>
5358
5359         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5360         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5361         aclocal.m4 and lost in some merge.
5362
5363         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5364         Don't try to find graphics configuration.
5365         * java/awt/Toolkit.java (default_toolkit_name): Use new
5366         Configuration entry.
5367         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5368         New global.
5369         * configure: Rebuilt.
5370         * configure.in (TOOLKIT): New subst.
5371         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5372         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5373         directory.  Make output directories for .c files.
5374         * Makefile.in: Rebuilt.
5375         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5376         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5377         (all_java_source_files): Added new sources.
5378         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5379         (gtk_c_files): New macro.
5380         (gtk_c_source_files): New macro.
5381         (cond_gtk_ltlibrary): New macro.
5382         ($(gtk_c_files)): New target.
5383         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5384         (gtk_awt_peer_sources): New macro.
5385         (gtk_c_headers): New macro.
5386         ($(gtk_c_headers)): New target.
5387         (ACLOCAL_AMFLAGS): New macro.
5388         * gtk.m4, glib.m4, libart.m4: New files.
5389         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5390         gnu/java/awt/peer/gtk/GdkGraphics.java,
5391         gnu/java/awt/peer/gtk/GtkArg.java,
5392         gnu/java/awt/peer/gtk/GtkArgList.java,
5393         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5394         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5395         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5396         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5397         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5398         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5399         gnu/java/awt/peer/gtk/GtkClipboard.java,
5400         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5401         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5402         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5403         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5404         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5405         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5406         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5407         gnu/java/awt/peer/gtk/GtkImage.java,
5408         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5409         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5410         gnu/java/awt/peer/gtk/GtkListPeer.java,
5411         gnu/java/awt/peer/gtk/GtkMainThread.java,
5412         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5413         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5414         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5415         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5416         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5417         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5418         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5419         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5420         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5421         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5422         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5423         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5424         gnu/java/awt/peer/gtk/GtkToolkit.java,
5425         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5426         gnu/java/awt/peer/gtk/TestAWT.java,
5427         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5429         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5430         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5431         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5432         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5433         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5434         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5435         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5436         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5437         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5438         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5439         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5440         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5441         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5442         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5443         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5444         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5445         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5446         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5447         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5448         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5449         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5450         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5451         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5452         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5453         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5455         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5456         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5457         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5458         jni/classpath/native_state.c, jni/classpath/native_state.h,
5459         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5460
5461 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5462
5463         * java/util/Properties.java (load): Ignore backslash before EOF.
5464
5465 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5466
5467         * java/lang/natClass.cc (initializeClass): Check tables when
5468         (state == JV_STATE_IN_PROGRESS).
5469         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5470         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5471         interpreted classes.
5472         (linkClass0): Use _Jv_WaitForState.
5473
5474 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5475
5476         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5477         object when finished.
5478
5479 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5480
5481         * libjava/configure.host: Disable can_unwind_signal on darwin.
5482
5483 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5484
5485         Fixes PR java/9254:
5486         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5487         additionally containing id of the owner thread as well as
5488         the number of nested times the thread has acquired the mutex.
5489         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5490         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5491         (_Jv_MutexUnlock): Check if really the owner thread, reset
5492         owner thread id to 0 before leaving, if leaving for the last
5493         time.
5494         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5495         refcount.
5496         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5497         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5498         the passed mutex.
5499         Pass handle of the broadcast event, instead of a pointer to it
5500         in Win32 ResetEvent( ) call.
5501         Remove incorrect return values.
5502         (_Jv_CondDestroy): Close both event handles and delete
5503         critical section.
5504         (_Jv_CondNotify): Check if really the owner thread.
5505         (_Jv_CondNotifyAll): Check if really the owner thread.
5506         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5507         (really_start): Use SetEvent( ) to signal daemon_cond.
5508         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5509         WaitForSingleObject( ) instead to wait for daemon_cond to be
5510         signalled.
5511
5512 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5513
5514         * configure.in: Specifically define HAVE_BACKTRACE if building
5515         for MinGW.
5516         * include/win32.h: Remove HAVE_BACKTRACE definition.
5517         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5518         * configure: Rebuilt.
5519
5520 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5521
5522         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5523         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5524         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5525         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5526         * Makefile.in, configure: Rebuilt.
5527
5528 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5529
5530         Fixes PR java/9253:
5531         * java/io/natFileWin32.cc (performList): Append only "*.*"
5532         if the canonical file path already has a "\" at the end.
5533
5534 2003-01-24  Tom Tromey  <tromey@redhat.com>
5535
5536         * defineclass.cc (handleMethodsEnd): Precompute code for static
5537         method.
5538         (handleCodeAttribute): Likewise.
5539         * resolve.cc (ncode): Use run_class for unsynchronized static
5540         methods.
5541         * include/java-interp.h (class _Jv_InterpMethod): Declare
5542         run_class.
5543         * interpret.cc (run_synch_class): Initialize class.
5544         (run) [insn_invokestatic]: Don't initialize class.
5545         [insn_anewarray]: Likewise.
5546         [insn_multianewarray]: Likewise.
5547         (run_class): New function.
5548
5549 2003-01-24  Tom Tromey  <tromey@redhat.com>
5550
5551         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5552         comment.
5553
5554 2003-01-22  Andrew Haley  <aph@redhat.com>
5555
5556         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5557         * configure.host (CHECKREFSPEC): Define for x86_64.
5558
5559 2003-01-21  Tom Tromey  <tromey@redhat.com>
5560
5561         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5562         search at 2, not 3.
5563
5564 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5565
5566         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5567         looking at any characters.
5568         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5569         be used.
5570         (isAbsolute): Check path's length as well.
5571
5572 2003-01-17  Mark Wielaard  <mark@klomp.org>
5573
5574         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5575         (nat_source_files): Add natVMObjectStreamClass.cc.
5576         * Makefile.in: Regenerated.
5577         * gcj/javaprims.h (namespace java): Regenerated.
5578         * java/io/ObjectStreamClass.java (getClassUID): Call
5579         VMObjectStreamClass.hasClassInitializer().
5580         (hasClassInitializer): Removed.
5581         * java/io/VMObjectStreamClass.java: New class.
5582         * java/io/natVMObjectStreamClass.cc: New file.
5583         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5584
5585 2003-01-16  Mark Wielaard  <mark@klomp.org>
5586
5587         * java/net/SocketImpl.java (toString): Don't explicitly call
5588         toString() on possible null address.
5589
5590 2003-01-16  Michael Koch  <konqueror@gmx.de>
5591
5592         * java/net/MulticastSocket.java
5593         (setInterface): Reindented.
5594
5595 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5596
5597         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5598         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5599         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5600         translateY arguments.  Implement.
5601         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5602         down translation arguments.
5603         (drawPolyline, drawPolygon): Fix incorrect tests.
5604         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5605         translateX and translateY arguments.
5606
5607 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5608
5609         * Makefile.in: Rebuilt.
5610         * Makefile.am (xlib_includes): New macro.
5611         (INCLUDES): Use it.
5612
5613 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5614
5615         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5616         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5617         16-bit display mode.
5618
5619 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5620
5621         * java/awt/CardLayout.java (show): Rewrote.
5622         (gotoComponent): Removed `target' argument.  Simplified code.
5623         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5624         Changed all callers.
5625         (NONE): Removed.
5626         
5627 2003-01-14  Michael Koch  <konqueror@gmx.de>
5628
5629         * java/net/InetSocketAddress.java
5630         (serialVersionUID): New member variable.
5631         * java/net/NetPermission.java
5632         (NetPermission): Dont implement java.io.Serialization directly.
5633         * java/net/SocketAddress.java:
5634         (serialVersionUID): Documentation added.
5635         
5636 2003-01-14  Michael Koch  <konqueror@gmx.de>
5637
5638         * java/awt/Label.java
5639         (Label): Implements javax.accessibility.Accessible;
5640         * java/awt/List.java
5641         (List): Implements javax.accessibility.Accessible;
5642         * java/awt/ScrollPane.java
5643         (ScrollPane): Implements javax.accessibility.Accessible;
5644         * java/awt/Scrollbar.java
5645         (Scrollbar): Implements javax.accessibility.Accessible;
5646         * java/awt/TextComponent.java
5647         (setCaretPosition): Throw exception, documentation added.
5648         * java/awt/Toolkit.java:
5649         Added some newlines in method documentations.
5650         (createButton): Exception documentation added.
5651         (createTextField): Exception documentation added.
5652         (createLabel): Exception documentation added.
5653         (createList): Exception documentation added.
5654         (createCheckbox): Exception documentation added.
5655         (createScrollbar): Exception documentation added.
5656         (createScrollPane): Exception documentation added.
5657         (createTextArea): Exception documentation added.
5658         (createChoice): Exception documentation added.
5659         (createFrame): Exception documentation added.
5660         (createWindow): Exception documentation added.
5661         (createDialog): Exception documentation added.
5662         (createMenuBar): Exception documentation added.
5663         (createMenu): Exception documentation added.
5664         (createMenuItem): Exception documentation added.
5665         (createFileDialog): Exception documentation added.
5666         (createCheckboxMenuItem): Exception documentation added.
5667         (loadSystemColors): Exception documentation added.
5668         (setDynamicLayout): Exception documentation added.
5669         (isDynamicLayoutSet): Exception documentation added.
5670         (isDynamicLayoutActive): Exception documentation added.
5671         (getScreenSize): Exception documentation added.
5672         (getScreenResolution): Exception documentation added.
5673         (getScreenInsets): Exception documentation added.
5674         (getColorModel): Exception documentation added.
5675         (getSystemClipboard): Exception documentation added.
5676         (getSystemSelection): Exception documentation added.
5677         (getMenuShortcutKeyMask): Exception documentation added.
5678         (getSystemEventQueue): Exception documentation added.
5679         * java/awt/Window.java:
5680         Reindented some code.
5681         (Window): Centralized implementation, documentation added.
5682         (finalize): Documentation added.
5683         (hide): Fixed typo in comment.
5684         (getWindowListeners): Documentation added.
5685         * java/awt/color/ColorSpace.java
5686         (toRGB): Documentation added.
5687         * java/awt/color/ICC_ColorSpace.java
5688         (ICC_ColorSpace): Documentation added.
5689         (toRGB): Throw exception, documentation added.
5690         (fromRGB): Throw exception, documentation added.
5691         (toCIEXYZ): Documentation added.
5692         (fromCIEXYZ): Documentation added.
5693         (getMinValue): Documentation added.
5694         (getMaxValue): Documentation added.
5695         * java/awt/geom/Dimension2D.java
5696         (clone): Documentation added.
5697         * java/awt/geom/GeneralPath.java
5698         (clone): Documentation added.
5699         * java/awt/geom/Line2D.java
5700         (clone): Documentation added.
5701         * java/awt/geom/QuadCurve2D.java
5702         (clone): Documentation added.
5703         * java/awt/image/ColorModel.java
5704         (ColorModel): Throw exception, documentation added.
5705         * java/awt/image/ImageFilter.java
5706         (clone): Doesnt throw CloneNotSupportedException.
5707
5708 2003-01-14  Andrew Haley  <aph@redhat.com>
5709
5710         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5711         in a try block.
5712
5713 2003-01-10  Andrew Haley  <aph@redhat.com>
5714
5715         * include/dwarf2-signal.h: Remove x86_64.
5716         * configure.host (x86_64 DIVIDESPEC): Remove.
5717         * include/x86_64-signal.h: New file.
5718         * configure.in: Regenerate.
5719
5720 2003-01-10  Michael Koch  <konqueror@gmx.de>
5721
5722         * java/net/DatagramSocket.java
5723         (ch): Description added.
5724         (remotePort): Initialize with -1.
5725         (connect): Doesnt throws SocketException.
5726         * java/net/MulticastSocket.java
5727         (setInterface): Merge with Classpath.
5728         * java/net/ServerSocket.java
5729         (closed): New member variable.
5730         (bind): Check if socket is closed.
5731         (close): Close an associated channel too, set new value to closed.
5732         (isBound): Reindented.
5733         (isClosed): Implemented.
5734         * java/net/Socket.java
5735         (closed): New member variable.
5736         (bind): Check if socket is closed.
5737         (connect): Check if socket is closed.
5738         (close): Close an associated channel too, set new value to closed.
5739         (isClosed): Implemented.
5740
5741 2003-01-10  Michael Koch  <konqueror@gmx.de>
5742
5743         * java/awt/DisplayMode.java
5744         (equals): Fixed argument type and implementation.
5745
5746 2003-01-07  Tom Tromey  <tromey@redhat.com>
5747
5748         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5749         JV_HASH_SYNCHRONIZATION.
5750         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5751         JV_HASH_SYNCHRONIZATION.
5752
5753 2003-01-07  Michael Koch  <konqueror@gmx.de>
5754  
5755         * java/net/DatagramSocket.java:
5756         Added classpath license info.
5757         (DatagramSocket): Merged description with classpath.
5758         (close): Merged description with classpath.
5759         (getChannel): Merged description with classpath.
5760         (getInetAddress): Merged description with classpath.
5761         (getPort): Merged description with classpath.
5762         (getLocalAddress): Merged description with classpath.
5763         (getLocalPort): Merged description with classpath.
5764         (getSoTimeout): Merged description with classpath.
5765         (setSoTimeout): Merged description with classpath.
5766         (getSendBufferSize): Merged description with classpath.
5767         (setSendBufferSize): Merged description with classpath.
5768         (getReceiveBufferSize): Merged description with classpath.
5769         (setReceiveBufferSize): Merged description with classpath.
5770         
5771 2003-01-04  Tom Tromey  <tromey@redhat.com>
5772
5773         * java/awt/List.java: Merged with Classpath.
5774
5775 2003-01-03  Mark Wielaard  <mark@klomp.org>
5776
5777         * java/io/FileDescriptor.java (position): New private field.
5778         * java/io/natFileDescriptorPosix.cc (write): Up position.
5779         (setLength): Use and set position.
5780         (seek): Set position.
5781         (getFilePointer): Return position.
5782         (read): Up position.
5783
5784 2003-01-03  Mark Wielaard  <mark@klomp.org>
5785
5786         Merge with Classpath:
5787         * java/io/ObjectStreamClass.java (lookup): Split method and call
5788         lookupForClassObject().
5789         (lookupForClassObject): New method.
5790         (isProxyClass): New field.
5791         (setClass): Set isProxyClass, add object to classLookupTable, set
5792         superClass and calculateOffsets.
5793         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5794         and not a proxy class.
5795         (setFields): Set accessible true for serialPersistentFields.
5796         (getClassUID): Same for suid. And check if suid is of type long.
5797         (hasClassInitializer): Don't throw NoSuchMethodError.
5798
5799 2003-01-03  Mark Wielaard  <mark@klomp.org>
5800
5801         * java/io/FileInputStream.java (finalize): Don't explicitly
5802         finalize FileDescriptor.
5803
5804 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5805
5806         * configure.host (sparc*-*): Enable bytecode interpreter.
5807
5808 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5809
5810         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5811         Don't throw RemoteException.
5812         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5813         throw RemoteException.
5814
5815 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5816
5817         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5818         proxyHost): New static fields.
5819         (<clinit>): Initialize new fields.
5820         (connect): Use proxy if necessary.
5821         (usingProxy): Implement.
5822
5823 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5824
5825         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5826         (TreeIterator.remove): Prefer IllegalStateException over
5827         ConcurrentModificationException, to match Sun.
5828
5829 2002-12-22  Anthony Green  <green@redhat.com>
5830
5831         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5832
5833 2003-01-02  Mark Wielaard  <mark@klomp.org>
5834
5835         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5836         public.
5837         (HTTP_USE_PROXY): Add field.
5838         (getResponseVals): Only set responseCode when not yet explicitly
5839         set by subclass.
5840
5841 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5842             Mark Wielaard  <mark@klomp.org>
5843
5844         * java/util/zip/ZipFile.java (entries): Now HashMap.
5845         (readLeShort(DataInput, byte[])): Read from given byte array.
5846         (readLeInt(DataInput, byte[]): Likewise.
5847         (readLeShort(byte[] b, int off)): New method.
5848         (readLeInt(byte[] b, int off)): Likewise.
5849         (readEntries): Use byte arrays to read info in bigger chunks.
5850         (getEntries): Return HashMap.
5851         (getEntry): Use HashMap.
5852         (locBuf): New private field.
5853         (checkLocalHeader): Use locBuf to read info in one chunk.
5854         (getInputStream): Use entries HashMap, wrap PartialInputStream
5855         in BufferedInputStream.
5856         (ZipEntryEnumeration): Use HashMap and Interator.
5857
5858 2003-01-02  Mark Wielaard  <mark@klomp.org>
5859             Jeroen Frijters  <jeroen@sumatra.nl>
5860
5861         * java/net/URLClassLoader.java (Resource.getCodeSource):
5862         Fix check certs == null.
5863         (getCanonicalFileURL): Removed method.
5864         (JarURLLoader): Don't call removed method.
5865         (FileURLLoader): Likewise.
5866         (FileURLLoader.getResource): Don't canonicalize file name.
5867
5868 2003-01-01  Tom Tromey  <tromey@redhat.com>
5869
5870         * Makefile.in: Rebuilt.
5871         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5872         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5873         java/awt/BufferCapabilities.java, java/awt/Button.java,
5874         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5875         java/awt/Container.java, java/awt/Cursor.java,
5876         java/awt/EventQueue.java, java/awt/FileDialog.java,
5877         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5878         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5879         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5880         java/awt/Scrollbar.java, java/awt/TextArea.java,
5881         java/awt/TextField.java, java/awt/color/CMMException.java,
5882         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5883         java/awt/color/ProfileDataException.java,
5884         java/awt/datatransfer/Clipboard.java,
5885         java/awt/datatransfer/DataFlavor.java,
5886         java/awt/datatransfer/FlavorMap.java,
5887         java/awt/datatransfer/SystemFlavorMap.java,
5888         java/awt/dnd/DragGestureEvent.java,
5889         java/awt/dnd/DragGestureRecognizer.java,
5890         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5891         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5892         java/awt/im/InputMethodHighlight.java,
5893         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5894         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5895
5896         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5897         `op' to BufferedImageOp.
5898
5899 2002-12-31  Tom Tromey  <tromey@redhat.com>
5900
5901         Fix for PR libgcj/7416:
5902         * javax/naming/InitialContext.java (init): Use
5903         gnu.classpath.home.url.
5904         * java/security/Security.java: Use new properties.
5905         (loadProviders): Accept base url; use it.
5906         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5907         gnu.classpath.home.url.
5908         (gnu.classpath.home.url): Define.
5909         (gnu.classpath.vm.shortname): Likewise.
5910
5911 2002-12-31  Tom Tromey  <tromey@redhat.com>
5912             Ranjit Mathew  <rmathew@hotmail.com>
5913
5914         Fix for PR libgcj/8997:
5915         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5916         Include platform.h.
5917         * include/posix.h (_Jv_platform_usleep): New function.
5918         * include/win32.h (_Jv_platform_usleep): New function.
5919
5920 2002-12-29  Tom Tromey  <tromey@redhat.com>
5921
5922         * gcj/javaprims.h: Updated.
5923         * scripts/classes.pl (scan): Removed stray semicolon.
5924
5925 2002-12-30  Mark Wielaard  <mark@klomp.org>
5926
5927         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5928         if zero or smaller.
5929
5930 2002-12-30  Mark Wielaard  <mark@klomp.org>
5931
5932         * java/util/Properties (formatForOutput): Don't fall through to
5933         default case after escaping character.
5934
5935 2002-12-30  Mark Wielaard  <mark@klomp.org>
5936
5937         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5938         against count.
5939
5940 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5941
5942         * boehm.cc: Remove stray semicolon.
5943         * interpret.cc: Likewise.
5944         * prims.cc: Likewise.
5945         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5946         earlier to ensure default arguments are processed.
5947         * gcj/array.h (JArray): Add forward declaration.
5948         (elements): Likewise.
5949         * gcj/javaprim.h: Remove stray semicolons.
5950         * include/bohm-gc.h: Likewise.
5951         * include/jni.h: Likewise.
5952         * include/jvm.h: Likewise.
5953         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5954         
5955 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5956
5957         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5958         of catch_type.
5959         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5960         idt tables after initializing superclass.
5961         * java/lang/natClassLoader.cc (uaddr): New typedef.
5962         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5963         if they are constant pool indicies.  Don't link vtable, otable yet.
5964
5965 2002-12-21  Anthony Green  <green@redhat.com>
5966
5967         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5968         libraries.
5969         * Makefile.in: Rebuilt.
5970
5971 2002-12-19  Anthony Green  <green@redhat.com>
5972
5973         * Makefile.am (ordinary_java_source_files): Add
5974         org/xml/sax/helpers/NewInstance.java.
5975         * Makefile.in: Rebuilt.
5976         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5977         org/xml/sax/helpers/package.html: New files.
5978         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5979         http://www.saxproject.org.
5980
5981 2002-12-19  Andrew Haley  <aph@redhat.com>
5982
5983         * java/util/natResourceBundle.cc: Include
5984         ArrayIndexOutOfBoundsException.h.
5985         (getCallingClassLoader): Don't put upper bound on stack search.
5986         Catch ArrayIndexOutOfBoundsException.
5987
5988 2002-12-19  Tom Tromey  <tromey@redhat.com>
5989
5990         * libtool-version: Increased `current'.
5991
5992 2002-12-19  Tom Tromey  <tromey@redhat.com>
5993
5994         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5995         comment.
5996         * java/lang/ClassLoader.java (defineClass): Use chained
5997         exception when rethrowing.
5998         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5999         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6000         constants.
6001         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6002         (_Jv_PrepareClass): Use it.
6003         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6004         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6005         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6006         (Class): _Jv_PrepareMissingMethods now friend.
6007         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6008         Record `NULL' for system class loader.
6009         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6010         system class loader.
6011         (_Jv_FindClassInCache): Likewise.
6012         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6013         (_Jv_FindClass): Special case system class loader.
6014         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6015         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6016         vtable slots.
6017         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6018         in a final class.
6019         (_getDeclaredMethod): Don't return synthetic methods.
6020         (getDeclaredMethods): Likewise.
6021         (_getMethod): Likewise.
6022         (_getMethods): Likewise.
6023
6024 2002-12-18  Raif Naffah  <raif@fl.net.au>
6025
6026         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6027         canonical form after divide().
6028         (modInverse): Likewise.
6029
6030 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6031             Mark Wielaard  <mark@klomp.org>
6032
6033         * java/security/SecurityRandom (digest): Removed field.
6034         (SecureRandom): Check all providers for case-insensitive SecureRandom
6035         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6036         if necessary.
6037         (getInstance(String,Provider,boolean): New method.
6038         (getInstance(String)): Use new method.
6039         (getInstance(String,String)): Likewise.
6040         (getInstance(String,Provider)): Likewise.
6041
6042 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6043
6044         * java/security/Security.java (loadProviders): Increment i only once.
6045
6046 2002-12-12  Mark Wielaard  <mark@klomp.org>
6047
6048         * java/lang/ClassLoader.java (resolveClass0): Transform
6049         ClassNotFoundException to NoClassDefFoundError. Transform all other
6050         throwables to LinkageError.
6051
6052 2002-12-11  Tom Tromey  <tromey@redhat.com>
6053
6054         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6055
6056         * java/lang/ClassLoader.java (loadedClasses): New field.
6057         (defineClass): Fixed indentation.  Put new class in
6058         loadedClasses.
6059         (findLoadedClass): Implement here.
6060         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6061
6062 2002-12-10  Tom Tromey  <tromey@redhat.com>
6063
6064         * Makefile.in: Rebuilt.
6065         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6066         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6067         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6068         * java/lang/natClassLoader.cc
6069         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6070
6071 2002-12-10  Mark Wielaard  <mark@klomp.org>
6072             Tom Tromey  <tromey@redhat.com>
6073
6074         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6075         (JarURLLoader): Use it.
6076         (FileURLLoader): Likewise.
6077         (JarURLResource.getURL): Use chained exception.
6078         (FileResource.getURL): Likewise.
6079         (FileURLLoader.getResource): Use canonical file name.
6080         (addURL): Indentation fix.
6081
6082 2002-12-10  Tom Tromey  <tromey@redhat.com>
6083
6084         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6085         From Laurent Bardet <l.bardet@magic.fr>.
6086
6087 2002-12-09  Tom Tromey  <tromey@redhat.com>
6088
6089         * include/win32.h (_Jv_platform_solib_prefix): New define.
6090         (_Jv_platform_solib_suffix): Likewise.
6091         * include/posix.h (_Jv_platform_solib_prefix): New define.
6092         (_Jv_platform_solib_suffix): Likewise.
6093         * java/lang/natRuntime.cc: Include StackTrace.h.
6094         (_load): Use findLibrary and new platform defines.
6095         (nativeGetLibname): Use new platform defines.
6096
6097         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6098         `t' won't be null.
6099
6100 2002-12-08  Mark Wielaard  <mark@klomp.org>
6101
6102         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6103         cache remote jar files.
6104         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6105         add File.separator to URL when it is a directory.
6106         * java/lang/ClassLoader.java: Add Classpath javadoc.
6107         (parent): final.
6108         (getParent): Add (disabled) security check.
6109         (findLibrary): New default method.
6110         * java/net/JarURLConnection.java (getManifest): Implement.
6111         (getInputStream): Only create InputStream when entry exists.
6112         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6113         when they exist.
6114         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6115
6116 2002-12-08  Mark Wielaard  <mark@klomp.org>
6117
6118         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6119         (lastDefaultLocale): New field.
6120         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6121         resourceBundleCache.
6122
6123 2002-12-06  Mark Wielaard  <mark@klomp.org>
6124
6125         * java/net/InetAddress.java (toString): Use hostname when not null,
6126         don't do an explicit reverse getHostName() lookup.
6127         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6128         NullPointerException.
6129
6130 2002-12-06  Tom Tromey  <tromey@redhat.com>
6131
6132         * include/java-interp.h (class _Jv_InterpMethod): Added
6133         JV_MARKOBJ_DECL.
6134         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6135         mark `prepared' field of interpreted method.
6136         * interpret.cc (compile): Use _Jv_AllocBytes.
6137
6138 2002-12-05  Andrew Haley  <aph@redhat.com>
6139
6140         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6141         #ifdef (HAVE_BACKTRACE) around the whole function body.
6142
6143 2002-12-05  Tom Tromey  <tromey@redhat.com>
6144
6145         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6146         * resolve.cc: Don't include AbstractMethodError.h.
6147         (_Jv_abstractMethodError): Removed.
6148         * defineclass.cc (handleMethodsBegin): Initialize method index to
6149         -1.
6150         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6151         method index for "new" final method.
6152         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6153         isVirtualMethod.  Added `flags' argument.
6154         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6155         class.
6156
6157 2002-12-04  Tom Tromey  <tromey@redhat.com>
6158
6159         * java/net/SocketPermission.java (hashCode): Rewrote.
6160
6161 2002-12-04  Tom Tromey  <tromey@redhat.com>
6162
6163         * Makefile.in: Rebuilt.
6164         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6165         natResourceBundle.
6166         * java/util/ResourceBundle.java (Security): Removed.
6167         (getCallingClassLoader): Now native.
6168         * java/util/natResourceBundle.cc: New file.
6169         * java/lang/natVMSecurityManager.cc: New file.
6170         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6171
6172 2002-12-03  Mark Wielaard  <mark@klomp.org>
6173
6174         * java/util/jar/JarFile.java (manifest): Not final.
6175         (manifestRead): New field.
6176         (JarFile): Don't read Manifest in constructor.
6177         (getManifest): New method.
6178         (JarEnumeration.nextElement): Use new method.
6179         (getEntry): Likewise.
6180         * java/util/zip/ZipFile.java (name): Final.
6181         (raf): Likewsie.
6182         (entries): Change type to Hashtable.
6183         (closed): New field.
6184         (ZipFile): Don't read enties in constructor.
6185         (readEntries): Use Hashtable.
6186         (close): Set new close flag and set entries to null inside
6187         synchronized block.
6188         (entries): Contruct enumeration using new getEntries() method and
6189         entries Hashtable.
6190         (getEntryIndex): Removed.
6191         (getEntries): New method.
6192         (getEntry): Use new getEntries() method and entries Hastable.
6193         (getInputStream): Likewise.
6194         (size): Return getEntries().size().
6195         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6196         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6197         (time): Removed
6198         (dostime): New field.
6199         (zipFileIndex): Removed.
6200         (ZipEntry(ZipEntry)): Copy dostime.
6201         (setDOSTime): Now final and doesn't convert dos time.
6202         (getDOSTime): Likewise.
6203         (setTime): Convert dos time.
6204         (getTime): Likewise.
6205         (getCalendar): New method.
6206         (setExtra): Use setTime().
6207         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6208
6209 2002-12-03  Tom Tromey  <tromey@redhat.com>
6210
6211         * java/lang/Character.java (forDigit): Formatting fix.
6212
6213 2002-12-03  Raif Naffah  <raif@fl.net.au>
6214
6215         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6216         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6217         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6218
6219 2002-12-03  Andrew Haley  <aph@redhat.com>
6220
6221         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6222         _Jv_PushClass.
6223         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6224         (_Jv_PopClass): New.
6225         (_Jv_PushClass): New.
6226         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6227         discover the ClassLoader of our caller.
6228         (_Jv_CheckArrayStore): Don't check that a class is assignment
6229         compatible with Object.
6230         * java/lang/natVMTHrowable.cc: Delete.
6231         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6232         java.lang.VMThrowable.
6233         (StackTrace(), StackTrace(int)): New constructors.
6234         (classAt, methodAt, update, methodAtAddress): New methods.
6235         (map): New field.
6236         * java/lang/VMThrowable.java: Use StackTrace instead of
6237         natVMTHrowable.
6238         * java/lang/Class.h (getClassLoaderInternal): New.
6239         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6240         Be friendly with gnu::gcj::runtime::StackTrace.
6241         (Object.chain): New field.
6242         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6243         gnu::gcj::runtime::StackTrace.
6244         * gnu/gcj/runtime/natStackTrace.cc: New file.
6245         * gnu/gcj/runtime/MethodRef.java: New file.
6246         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6247         instead of getClassLoader().
6248         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6249         java::lang::VMThrowable.
6250         * Makefile.am (core_java_source_files): Add MethodRef.java,
6251         StackTrace.java.
6252         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6253         * Makefile.in: Rebuild.
6254
6255 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6256
6257         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6258         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6259         yes also for sh-linux* and sh[34]*-linux*.
6260         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6261         set SIGNAL_HANDLER to use DWARF2 exception for them.
6262         * configure: Regenerate.
6263
6264 2002-12-02  Tom Tromey  <tromey@redhat.com>
6265
6266         * jni.cc: Added `name' argument.
6267         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6268         `const char *' argument.
6269         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6270
6271 2002-12-01  Tom Tromey  <tromey@redhat.com>
6272
6273         Bug compatibility, for PR libgcj/8738:
6274         * java/io/CharArrayWriter.java (close): Do nothing.
6275         (flush): Likewise.
6276         (reset): Don't touch `closed'.
6277         (write(int)): Don't throw IOException.
6278         (write(char[],int,int)): Likewise.
6279         (write(String,int,int)): Likewise.
6280         (closed): Removed.
6281
6282 2002-12-01  Mark Wielaard  <mark@klomp.org>
6283
6284         * java/lang/SecurityManager.java: Remerge comments, indenting and
6285         checkXXX methods with Classpath.
6286
6287 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6288
6289         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6290         getNormalizedComponents): Fix calculation which was using one too
6291         many bits in the unnormalized format.
6292
6293 2002-11-29  Gary Benson  <gbenson@redhat.com>
6294
6295         For PR libgcj/8759:
6296         * java/beans/Introspector.java (flushCaches): New method.
6297         (flushFromCaches): Likewise.
6298
6299 2002-11-29  Michael Koch <konqueror@gmx.de>
6300
6301         * java/nio/channels/DatagramChannel.java
6302         (open): Added exception documentation.
6303         (write): Added exception documentation.
6304         (connect): Added exception documentation.
6305         (disconnect): Added exception documentation.
6306         (isConnected): Added exception documentation.
6307         (read): Added exception documentation.
6308         (receive): Added exception documentation.
6309         (send): Added exception documentation.
6310         (validOps): Added exception documentation.
6311         * java/nio/channels/SocketChannel.java
6312         (open): Added exception documentation.
6313         (read): Added exception documentation.
6314         (write): Added exception documentation.
6315         (connect): Added exception documentation.
6316         (finishConnect): Added exception documentation.
6317
6318 2002-11-29  Michael Koch <konqueror@gmx.de>
6319
6320         * gnu/java/nio/DatagramChannelImpl:
6321         (fd): New member variable to store file descriptor of socket.
6322         * gnu/java/nio/SelectionKeyImpl.java:
6323         (ops): Removed.
6324         (readyOps): New member variable.
6325         (interestOps): New member variable.
6326         (readyOps): Implemented.
6327         (readyOps): New method to set member variable readyOps.
6328         (interestOps): Replaced ops by interestOps.
6329         * gnu/java/nio/SelectorImpl.java:
6330         (SelectorImpl): Initialize key sets.
6331         (select): Call select with -1 instead of Long.MAX_VALUE).
6332         (java_do_select): Make it a native method.
6333         (getFDsAsArray): New helper method.
6334         (select): Remove canceled keys, give only interested file discriptors
6335         to java_do_select, set ready ops.
6336         (add): No need to initialize keys set here.
6337         (add_selected): No need to initialize selected set here.
6338         (deregisterCanceledKeys): New helper method.
6339         (register): Set interest ops, set attachments, added handling of datagram
6340         channels.
6341         * gnu/java/nio/ServerSocketChannelImpl:
6342         (SocketAccept): Renamed from NioSocketAccept.
6343         (implConfigureBlocking): Implemented.
6344         (accept): Use SocketAccept instead of NioSocketAccept.
6345         * gnu/java/nio/SocketChannelImpl:
6346         Reactivate native methods.
6347
6348 2002-11-29  Michael Koch <konqueror@gmx.de>
6349
6350         * gnu/java/nio/natByteBufferImpl.cc,
6351         gnu/java/nio/natCharBufferImpl.cc,
6352         gnu/java/nio/natDoubleBufferImpl.cc,
6353         gnu/java/nio/natFloatBufferImpl.cc,
6354         gnu/java/nio/natIntBufferImpl.cc,
6355         gnu/java/nio/natLongBufferImpl.cc,
6356         gnu/java/nio/natSelectorImpl.cc,
6357         gnu/java/nio/natServerSocketChannelImpl.cc,
6358         gnu/java/nio/natShortBufferImpl.cc,
6359         gnu/java/nio/natSocketChannelImpl.cc:
6360         New files that implement native functionalities.
6361
6362 2002-11-29  Michael Koch <konqueror@gmx.de>
6363
6364         * gnu/java/nio/ByteBufferImpl.java
6365         (ByteBufferImpl): Moved position() after limit.
6366         (nio_*): Use native implementation.
6367         * gnu/java/nio/CharBufferImpl.java:
6368         Reformated.
6369         (endian): New member variable string endianess of buffer.
6370         (CharBufferImpl): Moved position() after limit.
6371         (nio_*): Use native implementation.
6372         (subSequence): Implemented.
6373         * gnu/java/nio/DoubleBufferImpl.java
6374         (DoubleBufferImpl): Moved position() after limit.
6375         (nio_*): Use native implementation.
6376         * gnu/java/nio/FloatBufferImpl.java
6377         Reformated.
6378         (FloatBufferImpl): Moved position() after limit.
6379         (nio_*): Use native implementation.
6380         * gnu/java/nio/IntBufferImpl.java
6381         Added needed imports, Reformated.
6382         (IntBufferImpl): Moved position() after limit.
6383         (nio_*): Use native implementation.
6384         * gnu/java/nio/LongBufferImpl.java
6385         Reformated.
6386         (LongBufferImpl): Moved position() after limit.
6387         (nio_*): Use native implementation.
6388         * gnu/java/nio/ShortBufferImpl.java
6389         Reformated.
6390         (ShortBufferImpl): Moved position() after limit.
6391         (nio_*): Use native implementation.
6392
6393 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6394
6395         * java/util/Locale.java (toString): Improve efficiency if country
6396         and variant are both empty.
6397
6398 2002-11-26  Tom Tromey  <tromey@redhat.com>
6399
6400         * verify.cc (pop_init_ref): New method.
6401         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6402         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6403         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6404         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6405         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6406         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6407         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6408         let `this' argument be uninitialized.  Don't let `null' be passed
6409         as `this' to construtor.
6410
6411 2002-11-26  Mark Wielaard  <mark@klomp.org>
6412
6413         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6414         * javax/transaction/HeuristicMixedException.java: Likewise.
6415         * javax/transaction/HeuristicRollbackException.java: Likewise.
6416         * javax/transaction/InvalidTransactionException.java: Likewise.
6417         * javax/transaction/NotSupportedException.java: Likewise.
6418         * javax/transaction/RollbackException.java: Likewise.
6419         * javax/transaction/Status.java: Likewise.
6420         * javax/transaction/Synchronization.java: Likewise.
6421         * javax/transaction/SystemException.java: Likewise.
6422         * javax/transaction/Transaction.java: Likewise.
6423         * javax/transaction/TransactionManager.java: Likewise.
6424         * javax/transaction/TransactionRequiredException.java: Likewise.
6425         * javax/transaction/TransactionRolledbackException.java: Likewise.
6426         * javax/transaction/UserTransaction.java: Likewise.
6427         * javax/transaction/xa/XAException.java: Likewise.
6428         * javax/transaction/xa/XAResource.java: Likewise.
6429         * javax/transaction/xa/Xid.java: Likewise.
6430
6431 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6432
6433         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6434         define.
6435         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6436         * include/posix.h (socklen_t): Define if not already defined.
6437
6438 2002-11-25  Tom Tromey  <tromey@redhat.com>
6439
6440         * verify.cc (type::compatible): Backed out broken change.
6441
6442         * verify.cc (type::compatible): Check initialization status
6443         first.
6444         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6445         Don't use NULLCHECK.
6446
6447 2002-11-23  H.J. Lu <hjl@gnu.org>
6448
6449         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6450         Include ../config/accross.m4.
6451         * aclocal.m4; Rebuild.
6452         * configure: Likewise.
6453
6454 2002-11-23  Mark Wielaard  <mark@klomp.org>
6455
6456         * javax/naming/AuthenticationException.java: Update copyright header.
6457         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6458         * javax/naming/Binding.java: Likewise.
6459         * javax/naming/CannotProceedException.java: Likewise.
6460         * javax/naming/CommunicationException.java: Likewise.
6461         * javax/naming/CompositeName.java: Likewise.
6462         * javax/naming/CompoundName.java: Likewise.
6463         * javax/naming/ConfigurationException.java: Likewise.
6464         * javax/naming/Context.java: Likewise.
6465         * javax/naming/ContextNotEmptyException.java: Likewise.
6466         * javax/naming/InitialContext.java: Likewise.
6467         * javax/naming/InsufficientResourcesException.java: Likewise.
6468         * javax/naming/InterruptedNamingException.java: Likewise.
6469         * javax/naming/LimitExceededException.java: Likewise.
6470         * javax/naming/LinkException.java: Likewise.
6471         * javax/naming/LinkLoopException.java: Likewise.
6472         * javax/naming/LinkRef.java: Likewise.
6473         * javax/naming/MalformedLinkException.java: Likewise.
6474         * javax/naming/NameAlreadyBoundException.java: Likewise.
6475         * javax/naming/NameClassPair.java: Likewise.
6476         * javax/naming/NameNotFoundException.java: Likewise.
6477         * javax/naming/NameParser.java: Likewise.
6478         * javax/naming/NamingEnumeration.java: Likewise.
6479         * javax/naming/NamingSecurityException.java: Likewise.
6480         * javax/naming/NoInitialContextException.java: Likewise.
6481         * javax/naming/NoPermissionException.java: Likewise.
6482         * javax/naming/NotContextException.java: Likewise.
6483         * javax/naming/OperationNotSupportedException.java: Likewise.
6484         * javax/naming/PartialResultException.java: Likewise.
6485         * javax/naming/Reference.java: Likewise.
6486         * javax/naming/Referenceable.java: Likewise.
6487         * javax/naming/ReferralException.java: Likewise.
6488         * javax/naming/ServiceUnavailableException.java: Likewise.
6489         * javax/naming/SizeLimitExceededException.java: Likewise.
6490         * javax/naming/TimeLimitExceededException.java: Likewise.
6491         * javax/naming/directory/Attribute.java: Likewise.
6492         * javax/naming/directory/AttributeInUseException.java: Likewise.
6493         * javax/naming/directory/AttributeModificationException.java: Likewise.
6494         * javax/naming/directory/Attributes.java: Likewise.
6495         * javax/naming/directory/BasicAttribute.java: Likewise.
6496         * javax/naming/directory/BasicAttributes.java: Likewise.
6497         * javax/naming/directory/DirContext.java: Likewise.
6498         * javax/naming/directory/InitialDirContext.java: Likewise.
6499         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6500         Likewise.
6501         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6502         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6503         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6504         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6505         * javax/naming/directory/ModificationItem.java: Likewise.
6506         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6507         * javax/naming/directory/SchemaViolationException.java: Likewise.
6508         * javax/naming/directory/SearchControls.java: Likewise.
6509         * javax/naming/directory/SearchResult.java: Likewise.
6510         * javax/naming/event/EventContext.java: Likewise.
6511         * javax/naming/event/EventDirContext.java: Likewise.
6512         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6513         * javax/naming/event/NamingEvent.java: Likewise.
6514         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6515         * javax/naming/event/NamingListener.java: Likewise.
6516         * javax/naming/event/ObjectChangeListener.java: Likewise.
6517         * javax/naming/ldap/Control.java: Likewise.
6518         * javax/naming/ldap/ControlFactory.java: Likewise.
6519         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6520         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6521         * javax/naming/ldap/HasControls.java: Likewise.
6522         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6523         * javax/naming/ldap/LdapContext.java: Likewise.
6524         * javax/naming/ldap/LdapReferralException.java: Likewise.
6525         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6526         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6527         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6528         * javax/naming/spi/DirObjectFactory.java: Likewise.
6529         * javax/naming/spi/DirStateFactory.java: Likewise.
6530         * javax/naming/spi/DirectoryManager.java: Likewise.
6531         * javax/naming/spi/InitialContextFactory.java: Likewise.
6532         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6533         * javax/naming/spi/NamingManager.java: Likewise.
6534         * javax/naming/spi/ObjectFactory.java: Likewise.
6535         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6536         * javax/naming/spi/ResolveResult.java: Likewise.
6537         * javax/naming/spi/Resolver.java: Likewise.
6538         * javax/naming/spi/StateFactory.java: Likewise.
6539
6540         * javax/naming/spi/NamingManager.java (ofb): Package private.
6541
6542 2002-11-21  Mark Wielaard  <mark@klomp.org>
6543
6544         * java/net/URL.java: Merge with Classpath (partly).
6545         * java/net/URLStreamHandler: Merge with Classpath.
6546
6547 2002-11-22  Michael Koch <konqueror@gmx.de>
6548
6549         * include/posix.h:
6550         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6551         * include/win32.h:
6552         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6553         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6554
6555 2002-11-21  Michael Koch <konqueror@gmx.de>
6556
6557         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6558         Only the new network functions should be in it.
6559
6560 2002-11-21  Michael Koch <konqueror@gmx.de>
6561
6562         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6563         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6564
6565 2002-11-21  Michael Koch <konqueror@gmx.de>
6566
6567         * java/nio/channels/AsynchronousCloseException.java,
6568         java/nio/channels/CancelledKeyException.java,
6569         java/nio/channels/ClosedByInterruptException.java,
6570         java/nio/channels/ConnectionPendingException.java,
6571         java/nio/channels/FileLockInterruptionException.java,
6572         java/nio/channels/IllegalSelectorException.java,
6573         java/nio/channels/NoConnectionPendingException.java,
6574         java/nio/channels/NonReadableChannelException.java,
6575         java/nio/channels/NonWritableChannelException.java,
6576         java/nio/channels/NotYetBoundException.java,
6577         java/nio/channels/NotYetConnectedException.java,
6578         java/nio/channels/OverlappingFileLockException.java,
6579         java/nio/channels/UnresolvedAddressException.java,
6580         java/nio/channels/UnsupportedAddressTypeException.java:
6581         New files.
6582         * Makefile.am (ordinary_java_source_files): Added new files.
6583         * Makefile.in: Regenerated.
6584
6585 2002-11-21  Michael Koch <konqueror@gmx.de>
6586
6587         * include/posix.h
6588         (_Jv_socket): New method.
6589         (_Jv_connect): New method.
6590         (_Jv_close): New method.
6591         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6592         (_Jv_bind): New method.
6593         (_Jv_listen): New method.
6594         (_Jv_write): New method.
6595         (_Jv_read): New method.
6596         * include/win32.h
6597         (_Jv_socket): New method.
6598         (_Jv_connect): New method.
6599         (_Jv_close): New method.
6600         (_Jv_bind): New method.
6601         (_Jv_listen): New method.
6602         (_Jv_write): New method.
6603         (_Jv_read): New method.
6604         * java/net/natNetworkInterface.cc:
6605         Include platform.h, removed inclusion of socket.h
6606         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6607         ::close() by _Jv_close().
6608         * java/net/natPlainDatagramSocketImpl.cc:
6609         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6610         added some new lines to make code more readable.
6611         (create): Replaced ::socket() by _Jv_socket().
6612         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6613         * java/net/natPlainSocketImpl.cc:
6614         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6615         removed include of socket.h, removed some windows defines
6616         (now in include/win32.h).
6617         (create): Replaced ::socket() by _Jv_socket().
6618         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6619         (write): Replaced ::read by _Jv_write().
6620         (read): Replaced ::read by _Jv_read().
6621
6622 2002-11-20  Michael Koch <konqueror@gmx.de>
6623
6624         * Makefile.am (ordinary_java_source_files):
6625         Added java/nio/channels/FileChannel.java.
6626         * Makefile.in: Regenerated.
6627
6628 2002-11-20  Michael Koch <konqueror@gmx.de>
6629
6630         * java/io/FileInputStream.java
6631         (getChannel): New method.
6632         * java/io/FileOutputStream.java
6633         (getChannel): New method.
6634         * java/net/ServerSocket.java
6635         (bind): Removed duplicate code and called another bind method instead.
6636         * java/nio/channels/SelectionKey.java
6637         (isValid): Removed wrong exception documentation.
6638         * java/nio/channels/ServerSocketChannel.java
6639         (accept): Added exception documentation.
6640         (open): Fixed typo, added exception documentation.
6641         * java/nio/channels/spi/AbstractSelectableChannel.java
6642         (implCloseChannel): Added exception documentation.
6643         (add): Reformated.
6644         (register): Added exception documentation.
6645
6646 2002-11-20  Andreas Jaeger  <aj@suse.de>
6647
6648         * configure: Regenerated with new libtool.m4.
6649
6650 2002-11-19  Tom Tromey  <tromey@redhat.com>
6651
6652         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6653         `referent'.
6654         (finalize_referred_to_object): Don't modify `referent' or `copy'
6655         fields.
6656         (add_to_hash): Correctly set `n->next' when updating list.
6657         * java/lang/ref/Reference.java (enqueue): Return false if already
6658         enqueued.
6659
6660 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6661
6662         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6663         to function and function pointer declarations in accordance with
6664         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6665         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6666         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6667         JNI function definitions.
6668
6669 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6670
6671         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6672         that was causing CoderResults to be cached, not WeakReferences
6673         to CoderResults.
6674
6675 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6676
6677         * java/security/KeyStore.java (getInstance): Fix
6678         comment and throw IllegalArgumentException if
6679         given provider is null.
6680         (getInstance): New method for jdk1.4 compatibility.
6681
6682 2002-11-18  Michael Koch <konqueror@gmx.de>
6683
6684         * java/net/PlainSocketImpl.java: Fix imports.
6685
6686 2002-11-18  Michael Koch <konqueror@gmx.de>
6687
6688         * java/nio/channels/SelectionKey.java
6689         (isValid): Added exception documentation.
6690         * java/nio/channels/Selector.java
6691         (open): Declare "throws IOException".
6692
6693 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6694
6695         * java/nio/charset/Charset.java
6696         (<clinit>): New method.
6697         (encode): Synchronize use of cached encoder object.
6698         (decode): Synchronize use of cached encoder object.
6699
6700 2002-11-18  Michael Koch <konqueror@gmx.de>
6701
6702         * gnu/java/nio/ByteBufferImpl.java,
6703         gnu/java/nio/CharBufferImpl.java,
6704         gnu/java/nio/DatagramChannelImpl.java,
6705         gnu/java/nio/DoubleBufferImpl.java,
6706         gnu/java/nio/FileChannelImpl.java,
6707         gnu/java/nio/FloatBufferImpl.java,
6708         gnu/java/nio/IntBufferImpl.java,
6709         gnu/java/nio/LongBufferImpl.java,
6710         gnu/java/nio/PipeImpl.java,
6711         gnu/java/nio/SelectionKeyImpl.java,
6712         gnu/java/nio/SelectorImpl.java,
6713         gnu/java/nio/SelectorProviderImpl.java,
6714         gnu/java/nio/ServerSocketChannelImpl.java,
6715         gnu/java/nio/ShortBufferImpl.java,
6716         gnu/java/nio/SocketChannelImpl.java,
6717         java/nio/DoubleBuffer.java,
6718         java/nio/FloatBuffer.java,
6719         java/nio/IntBuffer.java,
6720         java/nio/LongBuffer.java,
6721         java/nio/ShortBuffer.java,
6722         java/nio/channels/FileChannel.java: New files.
6723
6724 2002-11-18  Michael Koch <konqueror@gmx.de>
6725
6726         * Makefile.am (ordinary_java_source_files):
6727         Added java/nio/ReadOnlyBufferException.java and
6728         java/nio/channels/ClosedSelectorException.java.
6729         * Makefile.in: Regenerated.
6730
6731 2002-11-18  Michael Koch <konqueror@gmx.de>
6732
6733         * java/net/PlainSocketImpl.java: Reworked imports.
6734         * java/net/ServerSocket.java
6735         (ServerSocket): Create socket.
6736         * java/net/SocketAddress.java: Documentation added.
6737         * java/net/natPlainSocketImpl.cc: Reindented.
6738         * java/nio/ReadOnlyBufferException.java: New file
6739         * java/nio/channels/ClosedChannelException.java: Documentation added.
6740         * java/nio/channels/ClosedSelectorException.java: New file.
6741
6742 2002-11-17  Mark Wielaard  <mark@klomp.org>
6743
6744         * java/net/HttpURLConnection.java ((getPermission): Take port
6745         into consideration.
6746         (getErrorStream): Implement.
6747
6748 2002-11-17  Mark Wielaard  <mark@klomp.org>
6749
6750         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6751
6752 2002-11-16  Mark Wielaard  <mark@klomp.org>
6753
6754         Integrate work by Raif S. Naffah (raif@fl.net.au)
6755         * java/security/DummyKeyPairGenerator.java (clone): New method.
6756         * java/security/DummyMessageDigest.java (clone): New method.
6757         (engineUpdate): Now public.
6758         (engineReset): Likewise.
6759         (engineDigest): Likewise.
6760         (engineGetDigestLength): New method.
6761         * java/security/DummySignature.java (clone): New method.
6762         * java/security/KeyPairGenerator.java (provider): Now package private.
6763         (getInstance(String)): Use getInstance(String,Provider).
6764         (getInstance(String,String): Use getInstance(String,Provider)
6765         (getInstance(String,Provider): New method.
6766         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6767         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6768         * java/security/MessageDigest.java (provider): Now package private.
6769         (getInstance(String): Use getInstance(String,Provider).
6770         (getInstance(String,String): Use getInstance(String,Provider)
6771         (getInstance(String,Provider): New method.
6772         * java/security/Provider.java (toCanonicalKey): New method.
6773         (get): New method that uses toCanonicalKey().
6774         (put): Use toCanonicalKey().
6775         (remove): Likewise.
6776         * java/security/Security.java (insertProviderAt): Provider index is one
6777         based, not zero based.
6778         (addProvider): Likewise.
6779         (removeProvider): Likewise.
6780         * java/security/Signature.java (provider): Now package private.
6781         (getInstance(String)): Use getInstance(String,Provider).
6782         (getInstance(String,String): Use getInstance(String,Provider)
6783         (getInstance(String,Provider): New method.
6784         (getInstance(String,String,Provider): Don't cast DummySignature.
6785
6786 2002-11-15  Tom Tromey  <tromey@redhat.com>
6787
6788         For PR libgcj/8593:
6789         * java/util/zip/GZIPInputStream.java (read): Check file size.
6790         Look in inflater for remaining input bytes.
6791         (read4): Added buf and offset arguments.
6792
6793 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6794
6795         * java/applet/AppletContext.java: Fix typo and remove redundant
6796         modifiers.
6797
6798 2002-11-14  Tom Tromey  <tromey@redhat.com>
6799
6800         * java/lang/natRuntime.cc (insertSystemProperties): Set
6801         gnu.classpath.home.
6802
6803 2002-11-13  Michael Koch <konqueror@gmx.de>
6804
6805         * java/nio/ByteBuffer.java
6806         (allocate): New method.
6807         (wrap): New method.
6808         (put): New method.
6809         (get): New method.
6810
6811 2002-11-13  Michael Koch <konqueror@gmx.de>
6812
6813         * java/nio/channels/AlreadyConnectedException.java:
6814         Removed unneeded import.
6815         (AlreadyConnectedException): Documentation added.
6816         * java/nio/channels/Pipe.java
6817         (SinkChannel.SinkChannel): Documentation added.
6818         (SinkChannel.validOps): New method.
6819         (SourceChannel.SourceChannel): Documentation added.
6820         (SourceChannel.validOps): New method.
6821         (Pipe): Documentation added.
6822         (open): Documentation added.
6823         (SinkChannel.channel): Documentation added.
6824         (SourceChannel.channel): Documentation added.
6825         * java/nio/channel/SelectableChannel.java
6826         (SelectableChannel): Documentation added.
6827         (blockingLock): Documentation added.
6828         (configureBlocking):Documentation added.
6829         (isBlocking):Documentation added.
6830         (isRegistered):Documentation added.
6831         (keyFor):Documentation added.
6832         (provider):Documentation added.
6833         (register): Documentation added.
6834         (validOps): Documentation added.
6835         * jaba/nio/channels/SelectionKey.java
6836         (SelectionKey): Documentation added.
6837         (attach): Documentation added.
6838         (attachment): Documentation added.
6839         (isAcceptable): Documentation added.
6840         (isConnetable): Documentation added.
6841         (isReadable): Documentation added.
6842         (isWritable): Documentation added.
6843         (cancel): Documentation added.
6844         (channel): Documentation added.
6845         (interestOps): Documentation added.
6846         (isValid): Documentation added.
6847         (readyOps): Documentation added.
6848         (selector): Documentation added.
6849         * jaba/nio/channels/Selector.java
6850         (Selector): Documentation added.
6851         (open): Documentation added.
6852         (close): Documentation added.
6853         (isOpen): Documentation added.
6854         (keys): Documentation added.
6855         (provider): Documentation added.
6856         (select): Documentation added.
6857         (selectedKeys): Documentation added.
6858         (selectNow): Documentation added.
6859         (wakeup): Documentation added.
6860         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6861         (AbstractInterruptibleChannel): Documentation added.
6862         (opened): Default to true;
6863         (begin): Documentation added.
6864         (close): Set opened to false, documentation added.
6865         (isOpen): Documentation added.
6866         * java/nio/channels/spi/AbstractSelectionKey.java
6867         (AbstractSelectionKey): Documentation added.
6868         (cancel): Documentation added.
6869         (isValid): Documentation added.
6870         * java/nio/channels/spi/AbstractSelector.java
6871         (AbstractSelector): Documentation added.
6872         (begin): Documentation added.
6873         (close): Documentation added.
6874         (isOpen): Documentation added.
6875         (deregister): Documentation added.
6876         (end): Documentation added.
6877         (provider): Documentation added.
6878         (implCloseSelector): Documentation added.
6879         (register): Documentation added.
6880         * java/nio/channels/spi/SelectorProvider.java
6881         (SelectorProvider): Documentation added.
6882         (openDatagramChannel): Documentation added.
6883         (openPipe): Documentation added.
6884         (openSelector): Documentation added.
6885         (openServerSocketChannel): Documentation added.
6886         (openSocketChannel): Documentation added.
6887         (provider): Documentation added.
6888
6889 2002-11-12  Michael Koch <konqueror@gmx.de>
6890
6891         * java/nio/Buffer.java: Implemented.
6892         * java/nio/CharBuffer.java: New file.
6893         * java/nio/InvalidMarkException.java: New file.
6894         * java/nio/channels/DatagramChannel.java: Implemented.
6895         * java/nio/channels/ServerSocketChannel.java: Implemented.
6896         * java/nio/channels/SocketChannel.java: Implemented.
6897         * java/nio/channels/spi/AbstractChannel.java: Removed.
6898         * java/nio/channels/spi/AbstractSelectableChannel.java:
6899         Implemented.
6900         * java/nio/charset/Charset.java:
6901         Merge from Classpath.
6902         * java/nio/charset/CharsetDecoder.java: New file.
6903         * java/nio/charset/CharsetEncoder.java: New file.
6904         * java/nio/charset/CoderResult.java: New file.
6905         * Makefile.am (ordinary_java_source_files): Added new files.
6906         * Makefile.in: Regenerated.
6907
6908 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6909
6910         * gnu/java/nio/charset/ISO_8859_1.java,
6911         gnu/java/nio/charset/Provider.java,
6912         gnu/java/nio/charset/US_ASCII.java,
6913         gnu/java/nio/charset/UTF_16.java,
6914         gnu/java/nio/charset/UTF_16BE.java,
6915         gnu/java/nio/charset/UTF_16Decoder.java,
6916         gnu/java/nio/charset/UTF_16Encoder.java,
6917         gnu/java/nio/charset/UTF_16LE.java,
6918         gnu/java/nio/charset/UTF_8.java: New files.
6919
6920 2002-11-11  Michael Koch <konqueror@gmx.de>
6921
6922         * java/nio/charset/CharacterCodingException.java:
6923         This class must be public.
6924         * java/nio/charset/CoderMalfunctionError.java:
6925         This class must be public.
6926         * java/nio/charset/CodingErrorAction.java:
6927         This class must be public.
6928         * java/nio/charset/IllegalCharsetNameException.java:
6929         This class must be public, better implementation.
6930         * java/nio/charset/MalformedInputException.java:
6931         This class must be public, better implementation.
6932         * java/nio/charset/UnmappableCharacterException.java:
6933         This class must be public, better implementation.
6934         * java/nio/charset/UnsupportedCharsetException.java:
6935         This class must be public, better implementation.
6936
6937 2002-11-11  Michael Koch <konqueror@gmx.de>
6938
6939         * java/nio/BufferOverflowException.java,
6940         java/nio/BufferUnderflowException.java: New file.
6941         * Makefile.am (ordinary_java_source_files):
6942         Added new files.
6943         * Makefile.in: Regenerated.
6944
6945 2002-11-10  Tom Tromey  <tromey@redhat.com>
6946
6947         * java/awt/Container.java (validate): Use tree lock.
6948         (getComponent): Likewise.
6949         (getComponents): Likewise.
6950         (addImpl): Likewise.
6951         (remove): Likewise.
6952         (removeAll): Likewise.
6953         (processEvent): Fixed indentation.
6954         (getComponentAt): Use tree lock.
6955         (findComponentAt): Likewise.
6956         (removeNotify): Likewise.
6957         (isAncestorOf): Likewise.
6958         (list): Likewise.
6959         (visitChildren): Likewise.
6960         (findNextFocusComponent): Likewise.
6961         (addNotifyContainerChildren): Likewise.
6962         (getAccessibleChildrenCount): Likewise.
6963         (getAccessibleChild): Likewise.
6964
6965         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6966         (getSize): Likewise.
6967         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6968         (getSize): Likewise.
6969         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6970         (calcSize): Likewise.
6971         * java/awt/CardLayout.java (getSize): Use tree lock.
6972         (gotoComponent): Likewise.
6973         (layoutContainer): Likewise.
6974
6975         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6976         count is 0.
6977         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6978         count is 0.
6979
6980         * java/io/Externalizable.java, java/io/FilePermission.java,
6981         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6982         java/io/SerializablePermission.java, java/text/Format.java,
6983         java/util/AbstractMap.java, java/util/HashMap.java,
6984         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6985         versions from Classpath.
6986
6987 2002-11-10  Anthony Green  <green@redhat.com>
6988
6989         * java/util/jar/Attributes.java (Name): Fix name check.
6990
6991 2002-11-10  Mark Wielaard  <mark@klomp.org>
6992
6993         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6994         with getName() as message.
6995         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6996         type as message.
6997
6998         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6999         unused.
7000
7001 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7002
7003         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7004         for Win32. JNICALL has been defined to __stdcall to be compatible
7005         with Sun's JDKs.
7006
7007 2002-11-10  Tom Tromey  <tromey@redhat.com>
7008
7009         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7010         (setRows): Check newRows, not rows.
7011
7012         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7013
7014 2002-11-09  Tom Tromey  <tromey@redhat.com>
7015
7016         * java/applet/Applet.java, java/applet/AppletContext.java,
7017         java/applet/AppletStub.java, java/applet/AudioClip.java,
7018         java/awt/CardLayout.java,
7019         java/awt/ContainerOrderFocusTraversalPolicy.java,
7020         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7021         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7022         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7023         java/awt/color/ICC_ColorSpace.java,
7024         java/awt/color/ICC_Profile.java,
7025         java/awt/color/ICC_ProfileGray.java,
7026         java/awt/color/ICC_ProfileRGB.java,
7027         java/awt/datatransfer/DataFlavor.java,
7028         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7029         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7030         New versions from Classpath.
7031         * Makefile.in: Rebuilt.
7032         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7033         ICC_ProfileRGB.
7034
7035         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7036         display policy.
7037
7038         * java/awt/List.java (processEvent): Added missing `else's.
7039
7040         * java/awt/Window.java (show): validate() before showing.  Make
7041         parent displayable.
7042         (isDisplayable): New method.
7043
7044 2002-11-07  Mark Wielaard  <mark@klomp.org>
7045
7046         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7047         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7048
7049         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7050         annotation.
7051         (loadClass): Take String as codebases.
7052         (getClassAnnotation): Use MyClassLoader annotations.
7053         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7054         call exportObject(this).
7055
7056         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7057         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7058         (setAnnotation): Don't set locBytesStream and locStream.
7059         (replaceObject): Removed.
7060         (flush): Don't test locStream.
7061         (getLocBytes): LikeWise.
7062         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7063         (leaseCache): New field.
7064         (dirty): Use leaseCache.
7065         (LeaseRecord): New inner class.
7066         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7067         explicitly call exportObject().
7068         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7069         false to communicate with Sun JDK130.
7070         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7071         * gnu/java/rmi/server/RMIObjectInputStream.java
7072         (UnicastConnectionManager): Removed field.
7073         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7074         Use UnicastServer.getExportedRef().
7075         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7076         (expireTime): Likewise.
7077         (CONNECTION_TIMEOUT): Likewise.
7078         (disconnect): Call sock.close().
7079         (isExpired): New method.
7080         (resetTime): Likewise.
7081         (run): Use do while loop and catch Exception for discardConnection().
7082         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7083         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7084         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7085         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7086         (exportObject): Use refcache.
7087         (unexportObject): Likewise.
7088         (getExportedRef): New method.
7089         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7090         constructor.
7091         (exportObject): Save manager.serverobj.
7092         (getStub): New method.
7093
7094 2002-11-07  Mark Wielaard  <mark@klomp.org>
7095
7096         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7097         (getByte): Likewise.
7098         (getShort): Likewise.
7099         (getInt): Likewise.
7100         (getLong): Likewise.
7101         (getFloat): Likewise.
7102         (getDouble): Likewise.
7103         (get): Likewise.
7104         (setChar): Likewise.
7105         (setByte): Likewise.
7106         (setShort): Likewise.
7107         (setInt): Likewise.
7108         (setLong): Likewise.
7109         (setFloat): Likewise.
7110         (setDouble): Likewise.
7111
7112 2002-11-07  Michael Koch <konqueror@gmx.de>
7113
7114         * java/awt/Choice.java,
7115         java/awt/Container.java,
7116         java/awt/GridBagLayout.java:
7117         Fixed documentation.
7118         * java/awt/peer/ContainerPeer.java:
7119         Reindented.
7120
7121 2002-11-07  Michael Koch <konqueror@gmx.de>
7122
7123         * java/awt/color/ICC_Profile.java:
7124         Added missing constants.
7125         * java/awt/color/ICC_ColorSpace.java
7126         (getMinValue): Added dummy implementation.
7127         (getMaxValue): Added dummy implementation.
7128         * java/awt/datatransfer/DataFlavor.java
7129         (imageFlavor): Added.
7130         (isMimeTypeEqual): Must be final.
7131         (getDefaultRepresentationClass): Must be non-static.
7132         (getDefaultRepresentationClassAsString): Must be non-static.
7133         * java/awt/dnd/DragSourceContext.java
7134         (dragExit): Corrected argument.
7135         (dragDropEnd): Corrected argument.
7136         * java/awt/dnd/DragSourceListener.java.java
7137         (dragExit): Corrected argument.
7138         (dragDropEnd): Corrected argument.
7139         * java/awt/font/TextHitInfo.java
7140         (toString): Added stubbed implementation.
7141         * java/awt/geom/PathIterator.java:
7142         The constants must be static.
7143         * java/awt/image/VolatileImage.java
7144         (IMAGE_INCOMPATIBLE): Fixed typo.
7145         * java/awt/image/renderable/RenderableImage.java
7146         (HINTS_OBSERVED): Must be static.
7147         * java/beans/BeanInfo.java:
7148         Constants must be final.
7149
7150 2002-11-06  Tom Tromey  <tromey@redhat.com>
7151
7152         From svens@it.uu.se.  For PR libgcj/8481.
7153         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7154
7155 2002-11-06  Tom Tromey  <tromey@redhat.com>
7156
7157         * jni.cc (array_from_valist): Assume that jlong won't be
7158         promoted.
7159
7160 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7161
7162         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7163         Return 20.
7164         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7165         Return 16.
7166
7167 2002-11-03  Tom Tromey  <tromey@redhat.com>
7168
7169         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7170         VMClassLoader, not findClass.
7171
7172 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7173
7174         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7175         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7176         _Jv_DetermineVTableIndex, to determine vtable offset.
7177         (_Jv_DetermineVTableIndex): Remove.
7178         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7179
7180         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7181
7182 2002-11-03  Tom Tromey  <tromey@redhat.com>
7183
7184         * java/nio/channels/AlreadyConnectedException.java: Extend
7185         IllegalStateException, per spec.
7186
7187 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7188
7189         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7190
7191 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7192
7193         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7194         size items.
7195
7196 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7197
7198         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7199         initial estimated size to avoid enlarge buffer frequently.
7200
7201 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7202
7203         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7204         ClassLoader when null.
7205         (ProxyType.hashCode): Loader null check no longer needed.
7206         (ProxyType.sameTypes): New method.
7207         (ProxyType.equals): Use new method.
7208
7209 2002-10-31  Mark Wielaard  <mark@klomp.org>
7210
7211         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7212         length of String.
7213         * java/net/URLEncoder.java (encode): Likewise.
7214
7215 2002-10-31  Mark Wielaard  <mark@klomp.org>
7216
7217         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7218         when stream is closed.
7219         (closeEntry): Likewise.
7220         (read): Likewise.
7221         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7222         ZipException when no entry active.
7223         (closeEntry): Likewise.
7224         (write): Likewise.
7225
7226 2002-11-02  Tom Tromey  <tromey@redhat.com>
7227
7228         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7229         * java/lang/natClass.cc (initializeClass): Don't return just
7230         because self==thread.
7231
7232         For PR java/8415:
7233         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7234         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7235
7236 2002-11-02  Andreas Schwab  <schwab@suse.de>
7237
7238         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7239         pass GCJFLAGS.
7240         (FLAGS_TO_PASS): Define.
7241         * Makefile.in: Regenerated.
7242
7243 2002-11-01  Michael Koch  <konqueror@gmx.de>
7244
7245         * java/nio/ByteOrder.java: New file.
7246         * java/nio/channels/DatagramChannel.java:
7247         (DatagramChannel): New constructor.
7248         * java/nio/channels/Pipe.java: New file.
7249         * java/nio/channels/SelectableChannel.java: New file.
7250         * java/nio/channels/SelectionKey.java: New file.
7251         * java/nio/channels/Selector.java: New file.
7252         * java/nio/channels/ServerSocketChannel.java
7253         (ServerSocketChannel): New constructor.
7254         * java/nio/channels/SocketChannel.java
7255         (SocketChannel): New constructor.
7256         * java/nio/channels/Pipe.java: New file.
7257         * java/nio/channels/spi/AbstractChannel.java: New file.
7258         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7259         * java/nio/channels/spi/AbstractSelectableChannel.java:
7260         License added
7261         (AbstractSelectableChannel): New stubbed method.
7262         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7263         * java/nio/channels/spi/AbstractSelector.java: New file.
7264         * java/nio/channels/spi/SelectorProvider.java: New file.
7265         * java/nio/charset/Charset.java: New file.
7266         * java/nio/charset/CoderMalfunctionError.java: New file.
7267         * java/nio/charset/CodingErrorAction.java: New file.
7268         * java/nio/charset/spi/CharsetProvider.java
7269         (charsetForName): Uncommented.
7270         * Makefile.am (java_native_source_files): Added new files.
7271         * Makefile.in: Regenerated.
7272
7273 2002-11-01  Michael Koch  <konqueror@gmx.de>
7274
7275         * java/net/InetAddress.java:
7276         (isAnyLocalAddress): Implemented.
7277         (isLoopbackAddress): Implemented, comment added.
7278         (isLinkLocalAddress): Implemented, documentation added.
7279         (isSiteLocalAddress): Implemented, documentation added.
7280         (isMCGlobal): Implemented, documentation added.
7281         (isMCNodeLocal): Implemented, documentation added.
7282         (isMCLinkLocal): Implemented, documentation added.
7283         (isMCSiteLocal): Implemented, documentation added.
7284         (isMCOrgLocal): Implemented, documentation added.
7285         (getHostName): Documentation added.
7286         (getCanonicalHostName): Implemented, documentation added.
7287         (getAddress): Documentation added.
7288         (hashCode): Documentation added.
7289         (equals): Documentation added.
7290         (toString): Fixed implementation.
7291         (getByAddress): Use Inet4Address and Inet6Address.
7292         (lookup): New linewrap.
7293         (getByName): SecurityManager check added, support Inet4Address and
7294         Inet6address, comments added.
7295         (getAllByName): SecurityManager check added, comments added.
7296         * java/net/Inet6Address.java:
7297         (Inet6Address): Initialize parent class with addr instead of null.
7298         * java/net/URL.java
7299         (equals): Documentation added.
7300         (getFile): Documentation added.
7301         (hashCode): Documentation added.
7302         * java/net/natInetAddress.cc:
7303         (aton): Fix IPv6 support.
7304         * java/net/natPlainDatagramSocketImpl.cc:
7305         (peek): Throw PortUnreachableException when suitable.
7306         (peekData): Throw PortUnreachableException when suitable.
7307         (send): Throw PortUnreachableException when suitable.
7308         (receive): Throw PortUnreachableException when suitable.
7309
7310 2002-10-27  Mark Wielaard  <mark@klomp.org>
7311
7312         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7313         argument.
7314         (readLeShort): Likewise and use byte[].
7315         (readLeInt): Likewise.
7316         (readEntries): Use new versions of methods and use byte[] for reading
7317         a complete zip entry. Add ZipFile name to exceptions.
7318         (entries): Add ZipFile name to exceptions.
7319         (getEntry): Likewise.
7320         (checkLocalHeader): Use new versions of methods and add ZipFile name
7321         to exceptions.
7322
7323 2002-10-31  Mark Anderson  <mark@panonet.net>
7324
7325         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7326         added
7327
7328 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7329
7330         * configure.in: Disable hash sync when not using threads.
7331         * configure: Regenerated.
7332
7333 2002-10-24  Tom Tromey  <tromey@redhat.com>
7334
7335         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7336         (_Jv_FindSymbolInExecutable): Removed argument name.
7337         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7338         java.library.path is set.
7339
7340         * gij.cc (help): Document --showversion.
7341         (version): Don't exit.
7342         (main): Handle --showversion.  Exit if --version given.
7343
7344 2002-10-23  Tom Tromey  <tromey@redhat.com>
7345
7346         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7347         (array_from_valist): Correctly handle promotion for jint, jlong,
7348         jfloat, and jdouble.
7349
7350 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7351
7352         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7353         GetFileAttributesEx( ) to find file length and modification times,
7354         as the latter is not present on Windows 95.
7355
7356 2002-10-21  Michael Koch  <konqueror@gmx.de>
7357
7358         * java/net/URL.java
7359         (URL): Activate SecurityManager checks.
7360         (equals): Use URLStreamHandler implementation instead of doing it
7361         alone. This allows special protocol stream handlers to change default
7362         behaviour.
7363         (hashCode): Use URLStreamHandler implementation instead of doing it
7364         alone. This allows special protocol stream handlers to change default
7365         behaviour.
7366         * java/net/URLStreamHandler.java
7367         (equals): Implemented default URL equality check.
7368         (hostsEqual): Implemented default URL equality check.
7369         (hashCode): Implemented default URL hashCode algorithm.
7370         * java/net/natPlainDatagramSocketImpl.cc:
7371         No lines longer then 80 characters.
7372
7373 2002-10-20  Adam Megacz <adam@xwt.org>
7374
7375         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7376         * configure.in: enabled hash sync on Win32
7377         * include/win32-threads.h (_Jv_ThreadId_t): added.
7378         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7379         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7380         removed some posix-isms, use Thread::sleep() instead of usleep,
7381         added code to clear bottom three bits if platform has a broken
7382         linker.
7383         * include/win32-threads.h (_Jv_ThreadId_t): added.
7384
7385 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7386
7387         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7388         runtime property "gnu.gcj.progname" containing the name used to
7389         invoke the current Java program (similar to argv[0] for C
7390         programs).
7391
7392 2002-10-15  Tom Tromey  <tromey@redhat.com>
7393
7394         Fix for PR libgcj/8234:
7395         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7396         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7397
7398 2002-10-13  Mark Wielaard  <mark@klomp.org>
7399
7400         * mauve-libgcj: Enable Mauve tests that compile now.
7401
7402 2002-10-11  Mark Wielaard  <mark@klomp.org>
7403
7404         Fix for PR libgcj/8142
7405         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7406         loading native modules.
7407
7408 2002-10-10  Michael Koch  <konqueror@gmx.de>
7409
7410         * javax/swing/AbstractListModel.java
7411         (getListDataListeners): New stubbed method.
7412         javax/swing/DefaultBoundedRangeModel.java
7413         (getChangeListeners): New stubbed method.
7414         javax/swing/DefaultSingleSelectionModel.java
7415         (getChangeListeners): New stubbed method.
7416
7417 2002-10-10  Michael Koch  <konqueror@gmx.de>
7418
7419         * gcj/.cvsignore: New file to ignore files generated during build.
7420         * include/.cvsignore: New file to ignore files generated during build.
7421
7422 2002-10-10  Michael Koch  <konqueror@gmx.de>
7423
7424         * java/net/HttpURLConnection.java
7425         (getPermission): New method.
7426         (getErrorStream): New stub method.
7427         (getHeaderFieldDate): New stub method.
7428         * java/net/Inet4Address.java:
7429         (isLinkLocalAddress): Typo fixed.
7430         * java/net/InetAddress.java:
7431         (readResolve): New stubbed method (for serialization).
7432         (isAnyLocalAddress): New stubbed method.
7433         (isLoopbackAddress): New stubbed method.
7434         (isLinkLocalAddress): New stubbed method.
7435         (isSiteLocalAddress): New stubbed method.
7436         (isMCGlobal): New stubbed method.
7437         (isMCNodeGlobal): New stubbed method.
7438         (isMCLinkLocal): New stubbed method.
7439         (isMCSiteLocal): New stubbed method.
7440         (isMCOrgLocal): New stubbed method.
7441         (getCanonicalHostName): New stubbed method.
7442         (getByAddress): Create instances of Inet4Address/Inet6Address,
7443         instead of InetAddress, documentation added.
7444         * java/net/MulticastSocket.java
7445         (getInterface): Removed FIXME.
7446         (getNetworkInterface): New method.
7447         (setNetworkInterface): New method.
7448         * java/net/NetworkInterface.java:
7449         (toString): Use property "line.separator" instead of "\n".
7450         * java/net/URLConnection.java
7451         (getContent): New stubbed method.
7452         * java/net/URLStreamHandler.java:
7453         (equals): New stubbed method.
7454         (hostsEqual): New stubbed method.
7455         (hashCode): New stubbed method.
7456         * java/net/natNetworkInterface.cc:
7457         (getRealNetworkInterfaces): Create Inet4Address object
7458         instead of InetAddress.
7459
7460 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7461
7462         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7463         unsigned long temporary to implement insn_iushr shifts.
7464
7465 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7466
7467         * configure.host [s390*-*]: Enable Java interpreter.
7468         Enable hash synchronization.  Add sysdeps dir.
7469         * sysdep/s390/locks.h: New file.
7470
7471 2002-10-06  Mark Wielaard  <mark@klomp.org>
7472
7473         * java/lang/Thread.java (setDaemon): Check startable_flag,
7474         not isAlive().
7475
7476 2002-10-07  Michael Koch  <konqueror@gmx.de>
7477
7478         * java/nio/Buffer.java: New stub file.
7479         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7480         of class Charset.
7481         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7482         * Makefile.in: Regenerated.
7483
7484 2002-10-07  Michael Koch  <konqueror@gmx.de>
7485
7486         * java/nio/ByteBuffer.java:
7487         removed import of not commited class.
7488
7489 2002-10-07  Michael Koch  <konqueror@gmx.de>
7490
7491         * java/nio/ByteBuffer.java,
7492         java/nio/MappedByteBuffer.java:
7493         New files, forgot to add these dummies.
7494         * Makefile.am (java_native_source_files): Added new files.
7495         * Makefile.in: Regenerated.
7496
7497 2002-10-07  Michael Koch  <konqueror@gmx.de>
7498
7499         * java/nio/channels/AlreadyConnectedException.java,
7500         java/nio/channels/ClosedChannelException.java,
7501         java/nio/channels/ReadableByteChannel.java,
7502         java/nio/channels/InterruptibleChannel.java,
7503         java/nio/channels/Channel.java,
7504         java/nio/channels/ByteChannel.java,
7505         java/nio/channels/GatheringByteChannel.java,
7506         java/nio/channels/ScatteringByteChannel.java,
7507         java/nio/channels/WritableByteChannel.java,
7508         java/nio/charset/CharacterCodingException.java,
7509         java/nio/charset/IllegalCharsetNameException.java,
7510         java/nio/charset/MalformedInputException.java,
7511         java/nio/charset/UnmappableCharacterException.java,
7512         java/nio/charset/UnsupportedCharsetException.java,
7513         java/nio/charset/spi/CharsetProvider.java: New file.
7514         These files are exceptions or interfaces,
7515         no real or abstract classes.
7516         * Makefile.am (java_native_source_files): Added new files.
7517         * Makefile.in: Regenerated.
7518
7519 2002-10-05  Michael Koch  <konqueror@gmx.de>
7520
7521         * java/net/InetAddress.java
7522         (getByAddress): Fixed documentation.
7523         (getByAddress): New method.
7524         * java/net/Inet4Address.java: New file.
7525         * java/net/URL.java
7526         (URL): Documentation added.
7527         (getContent): Documentation added.
7528         (getContent): New stubbed method.
7529         (getQuery): New method.
7530         (openConnection): Documentation added.
7531         (openStream): Documentation added.
7532         (setURLStreamHandlerFactory): Documentation added.
7533         * java/net/URI.java: New stub file.
7534         * Makefile.am
7535         (java_native_source_files): Added java/net/Inet4Address.java,
7536         java/net/Inet6Address.java and java/net/URI.java.
7537         * Makefile.in: Regenerated.
7538
7539 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7540
7541         * java/lang/ProtectionDomain.java (linesep): Remove field.
7542         (toString): Use System.getProperty("line.separator").
7543
7544 2002-10-04  Michael Koch  <konqueror@gmx.de>
7545
7546         * java/security/Identity.java: Added serialVersionUID.
7547         * java/security/KeyPair.java: Added serialVersionUID.
7548         * java/security/Provider.java: Added serialVersionUID.
7549         * java/security/SecureRandom.java: Added serialVersionUID.
7550         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7551         * java/security/SignedObject.java: Added serialVersionUID.
7552         * java/security/cert/Certificate.java: Added serialVersionUID.
7553
7554 2002-10-04  Mark Wielaard <mark@klomp.org>
7555
7556         * java/security/Security.java: Use java.home or gnu.classpath.home
7557         to load providers.
7558         (loadProviders): Extra dir argument.
7559         (getProvider): Return null when not found.
7560
7561 2002-10-04  Mark Wielaard  <mark@klomp.org>
7562
7563         * java/lang/Throwable.java: Remerge with Classpath.
7564
7565 2002-10-04  Michael Koch  <konqueror@gmx.de>
7566
7567         * java/net/InetAddress.java:
7568         (isMulticastAddress): Added documentation.
7569         (getHostAddress): Added documentation.
7570         (toString): Added documentation.
7571         (getByAddress): Fixed documentation.
7572         (getByName): Added documentation.
7573         (getAllByName): Added documentation.
7574         (getLocalHost): Added documentation.
7575
7576 2002-10-04  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/beans/beancontext/BeanContextChildSupport.java:
7579         Added serialVersionUID.
7580         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7581         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7582         * javax/naming/Name.java: Added serialVersionUID.
7583
7584 2002-10-03  Adam Megacz <adam@xwt.org>
7585
7586         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7587         some functionality that isn't supported yet on WIN32.
7588
7589 2002-10-03  Tom Tromey  <tromey@redhat.com>
7590
7591         * Makefile.in: Rebuilt.
7592         * Makefile.am (awt_java_source_files): Added new files.
7593
7594 2002-10-03  Michael Koch  <konqueror@gmx.de>
7595
7596         * java/net/InetAddress.java
7597         (class InetAddress): Removed final keyword.
7598         (equals): Fixed typo.
7599         (getByAddress): New method.
7600
7601 2002-10-03  Michael Koch  <konqueror@gmx.de>
7602
7603         * java/awt/dnd/Autoscroll.java:
7604         New file, merge from Classpath.
7605         * java/awt/dnd/DragSourceAdapter.java:
7606         (dragExit): Fixed typos in argument type.
7607         (dragDropEnd): Fixed typos in argument type.
7608         * java/awt/dnd/DragSourceDropEvent.java:
7609         New file, merge from Classpath.
7610         * java/awt/dnd/DropTarget.java:
7611         Added stubs, merge from Classpath.
7612         * java/awt/dnd/DropTargetAdapter.java:
7613         New file, merge from Classpath.
7614         * java/awt/dnd/DropTargetContext.java:
7615         New file, merge from Classpath.
7616         * java/awt/dnd/DropTargetDragEvent.java:
7617         New file, merge from Classpath.
7618         * java/awt/dnd/DropTargetDropEvent.java:
7619         New file, merge from Classpath.
7620         * java/awt/dnd/DropTargetEvent.java:
7621         New file, merge from Classpath.
7622         * java/awt/dnd/DropTargetListener.java:
7623         New file, merge from Classpath.
7624         * java/awt/dnd/MouseDragGestureRecognizer.java:
7625         New file, merge from Classpath.
7626         * java/awt/dnd/peer/DropTargetContextPeer.java:
7627         New file, merge from Classpath.
7628
7629 2002-10-03  Michael Koch  <konqueror@gmx.de>
7630
7631         * java/net/DatagramPacket.java
7632         (setLength): Fixed typo and be HTML-aware.
7633         * java/net/InetSocketAddress.java
7634         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7635         (equals): Added comment about equality of InetSocketAddress objects.
7636         * java/net/ServerSocket.java
7637         (accept): Added checks.
7638         (isClosed): New stubbed method.
7639         * java/net/SocketOptions.java: Reindention.
7640         * java/net/SocketPermission
7641         (SocketPermission): Documentation fixed.
7642
7643 2002-10-03  Michael Koch  <konqueror@gmx.de>
7644
7645         * java/net/DatagramSocket.java
7646         (receive): Check with SecurityManager AFTER the packet is received,
7647         check if connected to multicast address, documentation added.
7648         (send): Only check SecurityManager if connected, check address of
7649         packet to send.
7650         (connect): Implemented, documentation added.
7651         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7652         * java/net/InetSocketAddress.java
7653         (whole file): Reindented.
7654         (hostname): New attribute.
7655         (InetSocketAddress): Initialize new attribute.
7656         (getAddress): Documentation added.
7657         (getHostName): Documentation added.
7658         (getPort): Documentation added.
7659         (hashCode): Documentation added.
7660         (isUnresolved): Documentation added.
7661         (toString): Conform to output of JDK 1.4.1, documentation added.
7662         * java/net/MulticastSocket.java
7663         (joinGroup): Removed FIXME, documentation added.
7664         (leaveGroup): Removed FIXME, documentation added.
7665         (send): Documentation added.
7666         * java/net/Socket.java
7667         (inputShutdown): New variable.
7668         (outputShutdown): New variable.
7669         (Socket): Initialize new variables.
7670         (getRemoteSocketAddress): Check if connected.
7671         (shutdownInput): Set new variable.
7672         (shutdownOutput): Set new variable.
7673         (isConnected): New method.
7674         (isClosed): New method.
7675         (isInputShutdown): New method.
7676         (isOutputShutdown): New method.
7677         * java/net/URLStreamHandler.java
7678         (URLStreamHandler): New method.
7679         (openConnection): Added documentation.
7680         (parseURL): Added documentation.
7681         (getHostAddress): New method.
7682         (getDefaultPort): New method.
7683
7684 2002-10-02  Tom Tromey  <tromey@redhat.com>
7685
7686         * java/rmi/activation/ActivationDesc.java,
7687         java/rmi/activation/ActivationGroupDesc.java,
7688         java/rmi/activation/ActivationGroupID.java,
7689         java/rmi/activation/ActivationID.java: New versions from
7690         Classpath.
7691
7692 2002-09-30  Bo Thorsen  <bo@suse.de>
7693
7694         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7695
7696 2002-09-30  Tom Tromey  <tromey@redhat.com>
7697
7698         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7699         from Classpath.
7700         * Makefile.in: Rebuilt.
7701         * Makefile.am (rmi_java_source_files): Added new files.
7702         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7703         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7704         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7705         Classpath.
7706         * gnu/java/rmi/dgc/DGCImpl.java,
7707         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7708         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7709         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7710         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7711         gnu/java/rmi/server/RMIHashes.java,
7712         gnu/java/rmi/server/RMIObjectInputStream.java,
7713         gnu/java/rmi/server/RMIObjectOutputStream.java,
7714         gnu/java/rmi/server/UnicastConnection.java,
7715         gnu/java/rmi/server/UnicastConnectionManager.java,
7716         gnu/java/rmi/server/UnicastRef.java,
7717         gnu/java/rmi/server/UnicastServer.java,
7718         gnu/java/rmi/server/UnicastServerRef.java,
7719         java/rmi/MarshalledObject.java,
7720         java/rmi/server/RMIClassLoader.java,
7721         java/rmi/server/RemoteObject.java,
7722         java/rmi/server/UnicastRemoteObject.java,
7723         java/security/SecureClassLoader.java: Merged from Classpath.
7724
7725 2002-09-29  Anthony Green  <green@redhat.com>
7726
7727         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7728         Imported from GNU Classpath.
7729         * java/lang/reflect/natProxy.cc: New file.
7730         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7731         from GNU Classpath.
7732         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7733         Classpath.
7734         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7735         Classpath.
7736         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7737         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7738         New statics.
7739         * gcj/javaprims.h ("Java"): Add new classes.
7740         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7741         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7742         java/lang/reflect/Proxy$$ProxyType.h): And this.
7743         (inner_nat_headers): Add these new headers.
7744         (ordinary_java_source_files): Add new files.
7745         (nat_source_files): Add new file.
7746         * Makefile.in: Rebuilt.
7747
7748 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7749
7750         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7751         a single configuration.
7752
7753 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7754
7755         * java/util/TimeZone.java (getDSTSavings): New method.
7756         Fixes PR libgcj/7786.
7757
7758 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7759
7760         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7761         to see if `the_method == 0' before looking up vtable index.
7762         Fixes PR libgcj/7709.
7763
7764 2002-09-25  Tom Tromey  <tromey@redhat.com>
7765
7766         * java/lang/natClassLoader.cc:
7767         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7768         * resolve.cc: Include NoClassDefFoundError.h, not
7769         ClassNotFoundException.h.
7770         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7771
7772         * defineclass.cc: Don't include ClassNotFoundException.h.
7773
7774         * resolve.cc: Include StringBuffer.
7775         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7776
7777         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7778         allocated but not initialized.
7779
7780 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7781
7782         Fix for PR libgcj/7766:
7783         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7784         (getNextEntry): Set it.
7785         (closeEntry): Likewise.
7786         (read): Likewise.
7787         (close): Likewise.
7788         (available): Use it.
7789
7790 2002-09-25  Michael Koch  <konqueror@gmx.de>
7791
7792         * java/net/DatagramSocket.java
7793         (DatagramSocket): Initialize new instance variables.
7794         (close): Reset new instance variables.
7795         (getLocalAddress): Remove unneeded SecurityManager usage.
7796         (getLocalPort): Check if socket is already bound.
7797         (isConnected): New method.
7798         (getInetAddress): Implemented.
7799         (getPort): Better Implementation, documentation fixed.
7800         (getRemoteSocketAddress): New method.
7801         * java/net/JarURLConnection.java
7802         (element): Typo fixed.
7803         (getMainAttributes): New method.
7804         (getAttributes): New method (stub only).
7805         (getManifest): New method (stub only).
7806         * java/net/NetPermission.java: Added serialVersionsUID.
7807         * java/net/Socket.java
7808         (connect): Check blocking mode of associated channel,
7809         documentation added.
7810         (getLocalSocketAddress): Better implementation.
7811         (getRemoteSocketAddress): Implemented.
7812         (isBound): New method.
7813         (setSendBufferSize): Documentation added.
7814         * java/net/SocketAddress.java: Added serialVersionsUID.
7815         * java/net/SocketPermission.java: Added serialVersionsUID.
7816         * java/net/URL.java
7817         (URL): Wrap for shorter lines, initialize new instance variables,
7818         documentation added.
7819         (equals): Check new instance variables too.
7820         (getContent): Documentation added.
7821         (getPath): Documentation added.
7822         (getAuthority): New method.
7823         (getHost): Documentation added.
7824         (getPort): Documentation added.
7825         (getDefaultPort): New method.
7826         (getProtocol): Documentation added.
7827         (getUserInfo): Documentation added.
7828         (set): Initialize new instance variables, documentation added.
7829         * java/net/URLStreamHandler.java
7830         (setURL): New method.
7831         * java/net/natPlainDatagramSocketImpl.cc
7832         (connect): Fix exception name.
7833         (disconnect): Fix exception name.
7834
7835 2002-09-25  Michael Koch  <konqueror@gmx.de>
7836
7837         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7838         * java/nio/channels/DatagramChannel.java:
7839         extends AbstractSelectableChannel
7840         * java/nio/channels/ServerSocketChannel.java:
7841         extends AbstractSelectableChannel
7842         * java/nio/channels/SocketChannel.java:
7843         extends AbstractSelectableChannel
7844         * Makefile.am (ordinary_java_source_files):
7845         java/nio/channels/spi/AbstractSelectableChannel.java added.
7846         * Makefile.in: Regenerated.
7847
7848 2002-09-25  Michael Koch  <konqueror@gmx.de>
7849
7850         * java/net/DatagramSocket.java
7851         (DatagramSocket): Exception documentation added.
7852         (bind): Exception documentation added, addded SecurityManager check,
7853         added SocketAddress type check.
7854         (getSoTimeout): Check impl.
7855         (receive): Fix SecurityManager check, check impl, documentation added.
7856         (send): Check channel mode, documentation added.
7857         (connect): New method.
7858         (disconnect): Implemented.
7859         (getLocalSocketAddress): New method.
7860         (getReceiveBufferSize): Check impl.
7861         (setReuseAddress): Check impl.
7862         (getReuseAddress): Check impl.
7863         (setBroadcast): Check impl.
7864         (getBroadcast): Check impl.
7865         (setTrafficClass): Check impl, Documentation cleared.
7866         (getTrafficClass): Check impl.
7867         (getSendBufferSize): Check impl.
7868         (setReceiveBufferSize): Check impl, documentation added.
7869         (setSendBufferSize): Documentation added.
7870         (setDatagramSocketImplFactory): New method.
7871         * java/net/HttpURLConnection.java
7872         (HTTP_INTERNAL_ERROR): The correct code is 500.
7873         (HTTP_NOT_IMPLEMENTED): Added new constant.
7874         (setFollowRedirects): Documentation added.
7875         (getInstanceFollowRedirects): New method.
7876         (setInstanceFollowRedirects): New method.
7877         (setRequestMethod): Documentation added.
7878         (getResponseCode): Documentation added.
7879         (getResponseMessage): Documentation added.
7880         * java/net/JarURLConnection.java
7881         (JarURLConnection): protected since JDK 1.4.
7882         (getJarEntry): java.io.IOException to IOException, documentation added.
7883         (getJarFile): Documentation added.
7884         * java/net/ServerSocket.java
7885         (ServerSocket): Private to public, exception added.
7886         (ServerSocket): java.io.IOException to IOException, documentation added.
7887         (bind): Check socket address type, documentation added.
7888         (bind): java.io.IOException to IOException, documentation added.
7889         (accept): Documentation added.
7890         (implAccept): Check ch is not non-blocking, documentation added.
7891         (setSoTimeout): Documentation fixed.
7892         (setReceiveBufferSize): Documentation added.
7893         * java/net/Socket.java
7894         (Socket): Documentation added.
7895         (bind): Documentation added.
7896         (connect): Check socket address type, documentation added.
7897         (getRemoteSocketAddress): New method.
7898         (getLocalSocketAddress): New method.
7899         (setSoLinger): Documentation added.
7900         (getReuseAddress): New method.
7901         (setReuseAddress): New method.
7902         (getTrafficClass): New method.
7903         (setTrafficClass): New method.
7904         * java/net/URLStreamHandler.java
7905         (openConnection): java.io.IOException to IOException.
7906         (parseURL): Documentation added.
7907         (sameFile): public to protected, documentation added.
7908         (setURL): Documentation added.
7909         * java/nio/IllegalBlockingModeException.java: New file.
7910         * Makefile.am (ordinary_java_source_files):
7911         added java/nio/IllegalBlockingModeException.java
7912         * Makefile.in: Regenerated.
7913
7914 2002-09-25  Michael Koch  <konqueror@gmx.de>
7915
7916         * java/net/DatagramPacket
7917         (DatagramPacket): Exception documentation added.
7918         (setData): Likewise.
7919         (setSocketAddress): Likewise.
7920         * java/net/DatagramSocketImpl.java
7921         (peek): Documentation addded.
7922         (peekData): Documentation addded.
7923         (send): Documentation addded.
7924         (receive): Documentation addded.
7925         (connect): New method.
7926         (disconnect): New method.
7927         (joinGroup): New abstract method.
7928         (leaveGroup): New abstract method.
7929         * java/net/InetSocketAddress.java
7930         (InetSocketAddress): Documentation added.
7931         (equals): final keyword added.
7932         (getAddress): final keyword added.
7933         (getHostName): final keyword added.
7934         (getPort): final keyword added.
7935         (hashCode): final keyword added.
7936         (isUnresolved): final keyword added.
7937         * java/net/MulticastSocket.java
7938         (MulticastSocket): Documentation added.
7939         (MulticastSocket): New method.
7940         (joinGroup): Documentation added.
7941         (joinGroup): New method.
7942         (leaveGroup): Documentation added.
7943         (leaveGroup): New method.
7944         (send): Documentation added.
7945         * java/net/NetworkInterface.java
7946         (getByName): Documentation added.
7947         (getByInetAddress): Documentation added.
7948         (getNetworkInterfaces): Documentation added.
7949         * java/net/PlainDatagramSocketImpl.java
7950         (connect): New method.
7951         (disconnect): New method.
7952         * java/net/SocketImpl.java
7953         (create): Documentation added.
7954         (shutdownInput): Convert public to protected, as it always was.
7955         (shutdownOutput): Convert public to protected, as it always was.
7956         * java/net/SocketOptions.java
7957         (whole file): Reintented.
7958         * java/net/URLClassLoader.java
7959         (URLClassLoader): SecurityManager check added, documentation added.
7960         (findResources): Documentation added.
7961         (findClass): Documentation added.
7962         (newInstance): More correct method arguments.
7963         * java/net/URLConnection.java
7964         (connect): Documentation added.
7965         (getContent): Documentation added.
7966         (getPermission): Documentation added.
7967         (getInputStream): Documentation added.
7968         (getOutputStream): Documentation added.
7969         (setDoInput): Throw correct exception, documentation added.
7970         (setDoOutput): Throw correct exception, documentation added.
7971         (setAllowUserInteraction): Throw correct exception, documentation added.
7972         (setUseCaches): Throw correct exception, documentation added.
7973         (setIfModifiedSince): Throw correct exception, documentation added.
7974         (setRequestProperty): Throw exception, documentation added.
7975         (addRequestProperty): Throw exception, documentation added.
7976         (getRequestProperty): Throw exception, documentation added.
7977         (getRequestProperties): Documentation added.
7978         (setContentHandlerFactory): Documentation added.
7979         (guessContentTypeFromName): protected to public.
7980         (setFileNameMap): Documentation added.
7981         * java/net/URLDecoder.java
7982         (URLDecoder): New method.
7983         (decode): Documentation added.
7984         (whole file): Reindented.
7985         * java/net/URLEncoder.java
7986         (encode): Documentation added.
7987         * java/net/natPlainDatagramSocketImpl.cc
7988         (connect): New method.
7989         (disconnect): New method.
7990         * javax/naming/RefAddr:
7991         (addrType): addrType was never final.
7992         (equals): Fix typo in method name.
7993         * javax/naming/BinaryRefAddr:
7994         (equals): Fix typo in method name.
7995
7996 2002-09-22  Tom Tromey  <tromey@redhat.com>
7997
7998         Fix for PR libgcj/6576:
7999         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8000         didn't find a given bundle.
8001         (getBundle): Don't require base bundle.
8002         (setParent): Removed old comment.
8003         (tryLocalBundle): Try components even if preceding components were
8004         empty.
8005
8006 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8007
8008         * Makefile.am (all-multi): Fix multilib parallel build.
8009
8010 2002-09-21  Michael Koch  <konqueror@gmx.de>
8011
8012         * java/net/Socket.java
8013         (sendUrgentData): New method.
8014         (getChannel): New method.
8015         * java/net/ServerSocket.java
8016         (getChannel): New method.
8017         (isBound): New method.
8018         * java/net/DatagramSocket.java
8019         (DatagramSocket): Two new methods.
8020         (bind): New method.
8021         (getChannel): New method.
8022         (isBound): New method.
8023         (send): Added newline to to make shorter lines.
8024         * java/net/PlainDatagramSocketImpl.java
8025         (mcastGrp): Added argument.
8026         (join): Use new mcastGrp.
8027         (leave): Use new mcastGrp.
8028         (joinGroup): New method.
8029         (leaveGroup): New method.
8030         * java/net/natPlainDatagramSocketImpl.cc
8031         (mcastGrp): Added argument, no yet really implemented.
8032         (getOption): Added newline for shorter lines.
8033         * java/net/natPlainSocketImpl.cc
8034         (read, setOption, getOption): Added newline for shorter lines.
8035
8036 2002-09-19  Tom Tromey  <tromey@redhat.com>
8037
8038        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8039        newly-created exception.
8040
8041 2002-09-18  Michael Koch  <konqueror@gmx.de>
8042
8043         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8044         java/util/regex/PatternSyntaxException.java:
8045         Merge with classpath, new files.
8046         * Makefile.am (core_java_source_files):
8047         Added java/util/regex/Matcher.java,
8048         java/util/regex/Pattern.java,
8049         java/util/regex/PatternSyntaxException.java
8050         * Makefile.in: Regenerated.
8051         * include/config.h.in: Added HAVE_NET_IF_H.
8052         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8053         Removed #if 0 ... #endif.
8054
8055 2002-09-17  Michael Koch  <konqueror@gmx.de>
8056
8057         * java/net/natNetworkInterface.cc:
8058         Removed unneed and yet wrong includes.
8059
8060 2002-09-17  Michael Koch  <konqueror@gmx.de>
8061
8062         * java/net/NetworkInterface.java: New file.
8063         * java/net/natNetworkInterface.java: New file.
8064         * configure.in: Added check for net/if.h.
8065         * configure: Regenerated.
8066         * Makefile.am
8067         (ordinary_java_source_files): Added NetworkInterface.java.
8068         (nat_source_files): Added natNetworkInterface.cc.
8069         * Makefile.in: Regenerated.
8070
8071 2002-09-16  Tom Tromey  <tromey@redhat.com>
8072
8073         * java/net/URLClassLoader.java (findClass): Code source for a
8074         class from a jar is not necessarily a jar: URL.
8075
8076 2002-09-16  Michael Koch  <konqueror@gmx.de>
8077
8078         * java/lang/AssertionError.java:
8079         Merge with classpath, fixes HTML.
8080         * java/rmi/server/LogStream.java:
8081         Merge with classpath, fixes some constants.
8082         * java/net/server/RemoteServer.java:
8083         Merge with classpath, adds serialVersionUID.
8084         * javax/naming/BinaryRefAddr.java:
8085         Merge with classpath, s/equal/equals/.
8086         * javax/naming/NamingException.java:
8087         Merge with classpath, fixed typo.
8088         * javax/naming/RefAddr.java:
8089         Merge with classpath, s/equal/equals/.
8090         * java/awt/Toolkit.java:
8091         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8092         and typo fixed.
8093
8094 2002-09-15  Adam Megacz <adam@xwt.org>
8095
8096         * java/net/natPlainSocketImpl.cc: fixed typo.
8097
8098 2002-09-15  Adam Megacz <adam@xwt.org>
8099
8100         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8101         which don't work on Win32 (yet).
8102
8103 2002-09-14  Adam Megacz <adam@xwt.org>
8104
8105         * java/net/natPlainDatagramSocket.cc: removed #include
8106         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8107         * include/win32.h: included definition for IP_TOS to satisfy
8108         natPlainDatagramSocket.cc
8109
8110 2002-09-13  Michael Koch  <konqueror@gmx.de>
8111
8112         * java/net/DatagramPacket.java (DatagramPacket):
8113         Added linebreak for 80 chars per line.
8114         * java/net/JarURLConection.java
8115         (getInputStreami, getJarEntry): Likewise.
8116         * java/net/SocketPErmission.java
8117         (SocketPermission class docu, implies): Likewise.
8118         * java/net/URLClassLoader.java (findResources): Likewise.
8119         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8120
8121 2002-09-13  Michael Koch  <konqueror@gmx.de>
8122
8123         * java/nio/channels/DatagramChannel.java,
8124         java/nio/channels/ServerSocketChannel.java
8125         java/nio/channels/SocketChannel.java:
8126         New dummy files to make java.net fully JDK 1.4 compatible
8127         * Makefile.am (ordinary_java_source_files): Added
8128         java/net/DatagramSocketImplFactory.java (long forgotten),
8129         java/nio/SocketChannel.java,
8130         java/nio/ServerSocketChannel.java,
8131         java/nio/DatagramChannel.java
8132         * Makefile.in: Regenrated.
8133
8134 2002-09-12  Michael Koch  <konqueror@gmx.de>
8135
8136         * java/net/DatagramSocketImpl.java
8137         (peekData): New method.
8138         * java/net/PlainDatagramSocketImpl.java
8139         (peekData): New method.
8140         * java/net/natPlainDatagramSocketImpl.cc
8141         (peekData): New method.
8142         * java/net/URLConnection
8143         (getPermission): New method.
8144         (addRequestProperty): New method.
8145         (getRequestProperties): New method.
8146         (guessContentTypeFromStream): New method, not really implemented.
8147         (URLConnection): Added/updated documentation.
8148         (connect): Added/updated documentation.
8149         (getURL): Added/updated documentation.
8150         (getContentLength): Added/updated documentation.
8151         (getContentType: Added/updated documentation.
8152         (getContentEncoding): Added/updated documentation.
8153         (getExpiration): Added/updated documentation.
8154         (getDate): Added/updated documentation.
8155         (getLastModified): Added/updated documentation.
8156         (getHeaderField): Added/updated documentation.
8157         (getHeaderFields): Added/updated documentation.
8158         (getHeaderFieldInt): Added/updated documentation.
8159         (getHeaderFieldDate): Added/updated documentation.
8160         (getHeaderFieldKey): Added/updated documentation.
8161         (getContent): Added/updated documentation.
8162         (getInputStream): Added/updated documentation.
8163         (getOutputStream): Added/updated documentation.
8164         (toString): Added/updated documentation.
8165         (setDoInput): Added/updated documentation.
8166         (getDoInput): Added/updated documentation.
8167         (setDoOutput): Added/updated documentation.
8168         (getDoOutput): Added/updated documentation.
8169         (setAllowUserInteraction): Added/updated documentation.
8170         (getAllowUserInteraction): Added/updated documentation.
8171         (setDefaultAllowUserInteraction): Added/updated documentation.
8172         (getDefaultAllowUserInteraction): Added/updated documentation.
8173         (setUseCaches): Added/updated documentation.
8174         (getUseCaches): Added/updated documentation.
8175         (setIfModifiedSince): Added/updated documentation.
8176         (getIfModifiedSince): Added/updated documentation.
8177         (getDefaultUseCaches): Added/updated documentation.
8178         (setDefaultUseCaches): Added/updated documentation.
8179         (setRequestProperty): Added/updated documentation.
8180         (getRequestProperty): Added/updated documentation.
8181         (setDefaultRequestProperty): Added/updated documentation.
8182         (getDefaultRequestProperty): Added/updated documentation.
8183         (setContentHandlerFactory): Added/updated documentation.
8184         (guessContentTypeFromName): Added/updated documentation.
8185         (getFileNameMap): Added/updated documentation.
8186         (setFileNameMap): Added/updated documentation.
8187
8188 2002-09-11  Michael Koch  <konqueror@gmx.de>
8189
8190         * java/net/Socket.java
8191         (Socket): protected to public (since JDK 1.4). Added @specnote.
8192         (bind): New method.
8193         (connect): Two new methods.
8194         (getKeepalive): Get correct socket option.
8195         (setKeepalive): Set correct socket option.
8196         (getOOBInline): New method.
8197         (setOOBInline): New method.
8198         * java/net/ServerSocket.java
8199         (bind): Two new methods.
8200         (getInetAddress): Reimplemented, catch exception.
8201         (getLocalSocketAddress): New method.
8202         (setReuseAddress): New method.
8203         (getReuseAdress): New method.
8204         (setReceiveBufferSize): New method.
8205         (getReceiveBufferSize): New method.
8206         (toString): Made string JDK 1.4 compliant.
8207
8208 2002-09-10  Michael Koch  <konqueror@gmx.de>
8209
8210         * java/net/SocketImpl.java
8211         (connect): New method.
8212         (supportsUrgentData): New method.
8213         (sendUrgentData): New method.
8214         * java/net/PlainSocketImpl.java
8215         (connect): One new method and two new implementation.
8216         (sendUrgentData): New method.
8217         * java/natPlainSocketImpl.cc
8218         (connect): Arguments changed, added support for timeouts.
8219         (getOption): Another __java_boolean to jboolean.
8220
8221 2002-09-07  Adam Megacz <adam@xwt.org>
8222
8223         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8224         definition of IP_TOS.
8225
8226 2002-09-04  Michael Koch  <konqueror@gmx.de>
8227
8228         * java/net/DatagramSocket.java
8229         (DatagramSocket): Added documentation.
8230         (close): Likewise.
8231         (getLocalAddress): Likewise.
8232         (getLocalPort): Likewise.
8233         (receive): Likewise.
8234         (send): Likewise.
8235         (setSoTimeout): Likewise.
8236         (connect): New method.
8237         (disconnect): New method.
8238         (getInetAddress): New method (FIXME)
8239         (getPort): New method.
8240         (setReuseAddress): New method.
8241         (getReuseAddress): New method.
8242         (setBroadcast): New method.
8243         (getBroadcast): New method.
8244         (setTrafficClass): New method.
8245         (getTrafficClass): New method.
8246         * java/net/MulticastSocket.java):
8247         (getTTL): Added @see in documentation.
8248         (setTTL): Added @see in documentation.
8249         (setLoopbackMode): New method.
8250         (getLoopbackMode): New method.
8251         * java/net/PlainSocketImpl.java:
8252         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8253         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8254         * java/net/PlainDatagramSocketImpl.java
8255         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8256         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8257         * java/net/natPlainSocketImpl.cc
8258         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8259         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8260         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8261         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8262         This should also fix SO_KEEPALIVE
8263         * java/net/natPlainDatagramSocketImpl.cc
8264         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8265         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8266         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8267         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8268
8269 2002-09-04  Michael Koch  <konqueror@gmx.de>
8270
8271         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8272         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8273         IP_MULTICAST_LOOP, IP_TOS
8274
8275 2002-09-03  Tom Tromey  <tromey@redhat.com>
8276
8277         * java/lang/Class.h (_getDeclaredMethod): Declare.
8278         (_getMethod): Now private.
8279         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8280         getDeclaredMethod.  Now returns NULL on failure.
8281         * java/lang/Class.java (_getDeclaredMethod): Declare.
8282         (getDeclaredMethod): No longer native; implements access checks.
8283
8284 2002-09-01  Mark Wielaard  <mark@klomp.org>
8285
8286         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8287         (sanitizeStack): Correctly reset unknown and interpreter counters,
8288         detect interpreter runtime frames.
8289         (demangleInterpreterMethod): New method.
8290         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8291         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8292         filling in addrs[].
8293
8294 2002-09-02  Michael Koch  <konqueror@gmx.de>
8295
8296         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8297         re-indented documentation.
8298
8299 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8300
8301         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8302         public, per 1.4 spec.  Fixes PR libgcj/7785.
8303
8304 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8305
8306         * Makefile.in: Rebuilt.
8307         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8308
8309 2002-08-29  Tom Tromey  <tromey@redhat.com>
8310
8311         * java/net/JarURLConnection.java (getCertificates): New method
8312         from Classpath.
8313         * java/net/URLClassLoader.java (URLClassLoader): Extends
8314         SecureClassLoader.
8315         (definePackage): New method from Classpath.
8316         (getPermissions): Likewise.
8317         (newInstance): Likewise.
8318         (findClass): Construct CodeSource for new class (from Classpath).
8319         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8320         methods.
8321         * java/net/URL.java (getUserInfo): New method.
8322         (set(String,String,int,String,String,String,String,String)): New
8323         method.
8324         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8325         (shutdownInput, shutdownOutput): Declare.
8326         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8327         Define.
8328         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8329         (getOption): Likewise.
8330         (shutdownInput): New method.
8331         (shutdownOutput): Likewise.
8332         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8333         keepalive.
8334         (getOption): Likewise.
8335         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8336         * java/net/Socket.java (setKeepAlive): New method.
8337         (getKeepAlive): Likewise.
8338         (shutdownInput, shutdownOutput): New methods.
8339
8340 2002-08-29  Michael Koch  <konqueror@gmx.de>
8341
8342         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8343         new methods are:
8344         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8345           address),
8346         DatagramPacket(byte[] buf, int length, SocketAddress address),
8347         void setSocketAddress(SocketAddress address)
8348         public SocketAddress getSocketAddress()
8349
8350 2002-08-29  Tom Tromey  <tromey@redhat.com>
8351
8352         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8353         ftruncate is missing.
8354         * configure, include/config.h.in: Rebuilt.
8355         * acconfig.h (HAVE_FTRUNCATE): Mention.
8356         * configure.in: Check for ftruncate.
8357
8358 2002-08-29  Tom Tromey  <tromey@redhat.com>
8359
8360         * include/jvm.h (struct _Jv_frame_info): New structure.
8361         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8362         java-interp.h.
8363         (lookupInterp): New method.
8364         (getAddrAsString): Use _Jv_frame_info.
8365         (dladdrLookup): Likewise.
8366         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8367         interpreted frame.
8368         (lookupInterp): Declare.
8369         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8370         (fillInStackTrace): Collect information on interpreted frames.
8371         Use _Jv_frame_info.
8372         * interpret.cc: Include Thread.h.
8373         (run): Create and push _Jv_MethodChain object.
8374         (_Jv_EndOfInterpreter): New global.
8375         * java/lang/Thread.java (interp_frame): New field.
8376         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8377         Include NameFinder.h.
8378
8379 2002-08-28  Tom Tromey  <tromey@redhat.com>
8380
8381         * java/lang/Class.h: Include Package.h.
8382         (Class::getProtectionDomain): Declare.
8383         (Class::getPackage): Declare.
8384
8385 2002-08-28  Michael Koch <konqueror@gmx.de>
8386
8387         * java/net/InetSocketAddress.java: Added some documentation and argument
8388         checks for the port numbers.
8389         * java/net/DatagramSocketImplFactory.java: New file.
8390
8391 2002-08-28  Michael Koch <konqueror@gmx.de>
8392
8393         * java/net/Authenticator.java: added some documentation.
8394
8395 2002-08-27  Tom Tromey  <tromey@redhat.com>
8396
8397         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8398         class.
8399         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8400
8401 2002-08-27  Michael Koch <konqueror@gmx.de>
8402
8403         * java/net/BindException.java,
8404         java/net/JarURLConnection.java,
8405         java/net/FileNameMap.java,
8406         java/net/HttpURLConnection.java,
8407         java/net/InetSocketAddress.java,
8408         java/net/DatagramPacket.java,
8409         java/net/DatagramSocket.java,
8410         java/net/DatagramSocketImpl.java,
8411         java/net/MulticastSocket.java,
8412         java/net/PasswordAuthentication.java,
8413         java/net/ServerSocket.java,
8414         java/net/Socket.java,
8415         java/net/URLClassLoader.java,
8416         java/net/URLConnection.java: add/update of some @since/@deprecated
8417
8418 2002-08-27  Tony Kimball <alk@pobox.com>
8419             Tom Tromey  <tromey@redhat.com>
8420
8421         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8422         define.
8423         (::close): Removed.
8424         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8425         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8426         (::close): Removed.
8427         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8428         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8429
8430 2002-08-25  Adam Megacz <adam@xwt.org>
8431
8432         * include/win32.h (getcwd): copied function declaration as
8433         temporary fix for header confusion.
8434
8435 2002-08-24  Mark Wielaard <mark@klomp.org>
8436
8437         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8438         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8439         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8440         and natNameFinder.cc.
8441         * Makefile.in: Regenerate.
8442         * prims.cc: Use trace_enabled from VMThrowable.
8443         * name-finder.cc: Removed.
8444         * gcj/javaprims.h: Add class VMThrowable.
8445         * gnu/gcj/runtime/NameFinder.java: New file.
8446         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8447         * include/name-finder.h: Removed.
8448         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8449         method stackTraceString().
8450         (printStackTrace (PrintWriter)): Likewise.
8451         (stackTraceString): Complete rewrite of old printStackTrace using
8452         StringBuffer.
8453         (stackTraceStringBuffer): New helper method for stackTraceString().
8454         (fillInStackTrace): Delegate to VMTrowable.
8455         (getStackTrace): Likewise.
8456         (getStackTrace0): Removed.
8457         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8458         (setStackTrace): Copy given array.
8459         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8460         * java/lang/VMThrowable.java: New class.
8461         * java/lang/natVMThrowable.cc: New file.
8462
8463 2003-08-23  Michael Koch  <konqueror@gmx.de>
8464
8465         * java/net/URLConnection.java,
8466         java/netJarURLConnection.java,
8467         gnu/gcj/protocol/core/Connection.java,
8468         gnu/gcj/protocol/file/Connection.java,
8469         gnu/gcj/protocol/http/Connection.java: Added implementation of
8470         getHeaderFields().
8471
8472 2002-08-22  Tom Tromey  <tromey@redhat.com>
8473
8474         * gij.cc (help): Document -cp and -classpath.
8475         (main): Handle -classpath.
8476
8477 2002-08-21  Tom Tromey  <tromey@redhat.com>
8478
8479         * Makefile.in: Rebuilt.
8480         * Makefile.am (ordinary_java_source_files): Added
8481         SocketAddress.java, InetSocketAddress.java.
8482         * java/net/PortUnreachableException.java: Merged with Classpath.
8483         * java/net/SocketTimeoutException.java: Likewise.
8484         * java/net/URISyntaxException.java: Likewise.
8485         * java/net/SocketAddress.java: New class from Classpath.
8486         * java/net/InetSocketAddress.java: Likewise.
8487
8488 2003-08-21  Michael Koch  <konqueror@gmx.de>
8489
8490         * java/net/Authenticator.java: updated JDK 1.4
8491         * java/net/ContentHandler.java: updated JDK 1.4
8492
8493 2002-08-20  Michael Koch  <konqueror@gmx.de>
8494
8495         * java/net/URISyntaxException.java: New file.
8496         * java/net/SocketTimeoutException.java: New file.
8497         * java/net/PortUnreachableException.java: New file.
8498         * Makefile.am: Updated.
8499         * Makefile.in: Rebuilt.
8500
8501 2002-08-18  Mark Wielaard  <mark@klomp.org>
8502
8503         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8504         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8505         MessageDigestSpi (fixes Classpath bug #783).
8506
8507 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8508
8509         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8510         (startProcess): Allocate path for chdir in async-signal-safe way.
8511
8512 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8513
8514         Fix for PR libgcj/7570 and PR libgcj/7578:
8515         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8516         (startProcess): Handle new `dir' argument.
8517         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8518         argument.
8519         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8520         argument.
8521         (startProcess): Likewise.
8522         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8523         argument.
8524         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8525         (exec): Don't create new environment if ENV==null.  Pass DIR to
8526         execInternal.
8527         * java/lang/natRuntime.cc: Include java/io/File.h.
8528         (execInternal): Added `dir' argument.
8529
8530 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8531
8532         * java/io/RandomAccessFile.java (skipBytes): Return number of
8533         bytes skipped.
8534
8535 2002-08-01  Mark Wielaard  <mark@klomp.org>
8536
8537         Reenable patch since shared library troubles on powerpc are solved:
8538         * gnu/java/security/provider/Gnu.java: Reference all implementation
8539         classes by using Class.getName().
8540         * gnu/java/security/der/DEREncodingException.java,
8541         gnu/java/security/provider/DERReader.java,
8542         gnu/java/security/provider/DERWriter.java,
8543         gnu/java/security/provider/DSAKeyPairGenerator.java,
8544         gnu/java/security/provider/DSAParameterGenerator.java,
8545         gnu/java/security/provider/DSAParameters.java,
8546         gnu/java/security/provider/DSASignature.java,
8547         gnu/java/security/provider/GnuDSAPrivateKey.java,
8548         gnu/java/security/provider/GnuDSAPublicKey.java,
8549         gnu/java/security/provider/MD5.java,
8550         gnu/java/security/util/Prime.java: New classes
8551         * Makefile.am (ordinary_java_source_files): Add above files.
8552         * Makefile.in: Regenerate.
8553         * gnu/java/security/provider/DefaultPolicy.java
8554         (getPermissions): Don't maintain static class variable of Permissions.
8555         * gnu/java/security/provider/SHA.java
8556         (engineUpdate): algorithm change.
8557         (engineDigest): algorithm change.
8558
8559 2002-08-09  Mark Wielaard  <mark@klomp.org>
8560
8561         * java/awt/image/MemoryImageSource.java: Change constructor to take
8562         int[] not byte[].
8563         * java/awt/Graphics2D.java: Uncomment methods that can now be
8564         compiled.
8565         * java/awt/GridBagLayout.java: New stub implementation.
8566         * javax/swing/text/html/HTML.java: Stub implementation.
8567         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8568         implementation.
8569
8570         * Makefile.am: Add new files.
8571         * Makefile.in: Rebuilt.
8572
8573 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8574
8575         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8576         methods in Graphics2D.
8577
8578 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8579
8580         AWT/Swing merge from GNU Classpath.
8581
8582         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8583         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8584         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8585         java/awt/color/ProfileDataException.java,
8586         java/awt/CompositeContext.java, java/awt/Composite.java,
8587         java/awt/ContainerOrderFocusTraversalPolicy.java,
8588         java/awt/datatransfer/FlavorTable.java,
8589         java/awt/DefaultFocusTraversalPolicy.java,
8590         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8591         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8592         java/awt/dnd/DragGestureListener.java,
8593         java/awt/dnd/DragGestureRecognizer.java,
8594         java/awt/dnd/DragSourceAdapter.java,
8595         java/awt/dnd/DragSourceContext.java,
8596         java/awt/dnd/DragSourceDragEvent.java,
8597         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8598         java/awt/dnd/DragSourceListener.java,
8599         java/awt/dnd/DragSourceMotionListener.java,
8600         java/awt/dnd/DropTarget.java,
8601         java/awt/dnd/InvalidDnDOperationException.java,
8602         java/awt/dnd/peer/DragSourceContextPeer.java,
8603         java/awt/event/AWTEventListenerProxy.java,
8604         java/awt/event/MouseWheelEvent.java,
8605         java/awt/event/MouseWheelListener.java,
8606         java/awt/event/WindowFocusListener.java,
8607         java/awt/event/WindowStateListener.java,
8608         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8609         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8610         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8611         java/awt/geom/FlatteningPathIterator.java,
8612         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8613         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8614         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8615         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8616         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8617         java/awt/image/ImagingOpException.java,
8618         java/awt/image/RasterFormatException.java,
8619         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8620         java/awt/image/VolatileImage.java,
8621         java/awt/image/WritableRenderedImage.java,
8622         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8623         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8624         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8625         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8626         java/awt/PageAttributes.java, java/awt/print/Book.java,
8627         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8628         java/awt/print/Paper.java, java/awt/print/Printable.java,
8629         java/awt/print/PrinterAbortException.java,
8630         java/awt/print/PrinterException.java,
8631         java/awt/print/PrinterGraphics.java,
8632         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8633         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8634         java/awt/Stroke.java, java/awt/TexturePaint.java,
8635         javax/accessibility/AccessibleAction.java,
8636         javax/accessibility/AccessibleBundle.java,
8637         javax/accessibility/AccessibleComponent.java,
8638         javax/accessibility/AccessibleContext.java,
8639         javax/accessibility/AccessibleEditableText.java,
8640         javax/accessibility/AccessibleExtendedComponent.java,
8641         javax/accessibility/AccessibleExtendedTable.java,
8642         javax/accessibility/AccessibleHyperlink.java,
8643         javax/accessibility/AccessibleHypertext.java,
8644         javax/accessibility/AccessibleIcon.java,
8645         javax/accessibility/Accessible.java,
8646         javax/accessibility/AccessibleKeyBinding.java,
8647         javax/accessibility/AccessibleRelation.java,
8648         javax/accessibility/AccessibleRelationSet.java,
8649         javax/accessibility/AccessibleResourceBundle.java,
8650         javax/accessibility/AccessibleRole.java,
8651         javax/accessibility/AccessibleSelection.java,
8652         javax/accessibility/AccessibleState.java,
8653         javax/accessibility/AccessibleStateSet.java,
8654         javax/accessibility/AccessibleTable.java,
8655         javax/accessibility/AccessibleTableModelChange.java,
8656         javax/accessibility/AccessibleText.java,
8657         javax/accessibility/AccessibleValue.java,
8658         javax/swing/AbstractAction.java,
8659         javax/swing/AbstractButton.java,
8660         javax/swing/AbstractCellEditor.java,
8661         javax/swing/AbstractListModel.java,
8662         javax/swing/AbstractSet.java, javax/swing/Action.java,
8663         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8664         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8665         javax/swing/border/CompoundBorder.java,
8666         javax/swing/border/EmptyBorder.java,
8667         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8668         javax/swing/border/LineBorder.java,
8669         javax/swing/border/MatteBorder.java,
8670         javax/swing/border/TitledBorder.java,
8671         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8672         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8673         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8674         javax/swing/CellRendererPane.java,
8675         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8676         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8677         javax/swing/colorchooser/ColorSelectionModel.java,
8678         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8679         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8680         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8681         javax/swing/DefaultBoundedRangeModel.java,
8682         javax/swing/DefaultButtonModel.java,
8683         javax/swing/DefaultCellEditor.java,
8684         javax/swing/DefaultCellRenderer.java,
8685         javax/swing/DefaultComboBoxModel.java,
8686         javax/swing/DefaultDesktopManager.java,
8687         javax/swing/DefaultFocusManager.java,
8688         javax/swing/DefaultListCellRenderer.java,
8689         javax/swing/DefaultListModel.java,
8690         javax/swing/DefaultListSelectionModel.java,
8691         javax/swing/DefaultSingleSelectionModel.java,
8692         javax/swing/DesktopManager.java,
8693         javax/swing/event/AncestorEvent.java,
8694         javax/swing/event/AncestorListener.java,
8695         javax/swing/event/CaretEvent.java,
8696         javax/swing/event/CaretListener.java,
8697         javax/swing/event/CellEditorListener.java,
8698         javax/swing/event/ChangeEvent.java,
8699         javax/swing/event/ChangeListener.java,
8700         javax/swing/event/DocumentEvent.java,
8701         javax/swing/event/DocumentListener.java,
8702         javax/swing/event/EventListenerList.java,
8703         javax/swing/event/HyperlinkEvent.java,
8704         javax/swing/event/HyperlinkListener.java,
8705         javax/swing/event/InternalFrameAdapter.java,
8706         javax/swing/event/InternalFrameEvent.java,
8707         javax/swing/event/InternalFrameListener.java,
8708         javax/swing/event/ListDataEvent.java,
8709         javax/swing/event/ListDataListener.java,
8710         javax/swing/event/ListSelectionEvent.java,
8711         javax/swing/event/ListSelectionListener.java,
8712         javax/swing/event/MenuDragMouseEvent.java,
8713         javax/swing/event/MenuDragMouseListener.java,
8714         javax/swing/event/MenuEvent.java,
8715         javax/swing/event/MenuKeyEvent.java,
8716         javax/swing/event/MenuKeyListener.java,
8717         javax/swing/event/MenuListener.java,
8718         javax/swing/event/MouseInputAdapter.java,
8719         javax/swing/event/MouseInputListener.java,
8720         javax/swing/event/PopupMenuEvent.java,
8721         javax/swing/event/PopupMenuListener.java,
8722         javax/swing/event/SwingPropertyChangeSupport.java,
8723         javax/swing/event/TableColumnModelEvent.java,
8724         javax/swing/event/TableColumnModelListener.java,
8725         javax/swing/event/TableModelEvent.java,
8726         javax/swing/event/TableModelListener.java,
8727         javax/swing/event/TreeExpansionEvent.java,
8728         javax/swing/event/TreeExpansionListener.java,
8729         javax/swing/event/TreeModelEvent.java,
8730         javax/swing/event/TreeModelListener.java,
8731         javax/swing/event/TreeSelectionEvent.java,
8732         javax/swing/event/TreeSelectionListener.java,
8733         javax/swing/event/TreeWillExpandListener.java,
8734         javax/swing/event/UndoableEditEvent.java,
8735         javax/swing/event/UndoableEditListener.java,
8736         javax/swing/filechooser/FileFilter.java,
8737         javax/swing/filechooser/FileSystemView.java,
8738         javax/swing/filechooser/FileView.java,
8739         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8740         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8741         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8742         javax/swing/JApplet.java, javax/swing/JButton.java,
8743         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8744         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8745         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8746         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8747         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8748         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8749         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8750         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8751         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8752         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8753         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8754         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8755         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8756         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8757         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8758         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8759         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8760         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8761         javax/swing/JToolTip.java, javax/swing/JTree.java,
8762         javax/swing/JViewport.java, javax/swing/JWindow.java,
8763         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8764         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8765         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8766         javax/swing/MenuSelectionManager.java,
8767         javax/swing/MutableComboBoxModel.java,
8768         javax/swing/OverlayLayout.java,
8769         javax/swing/plaf/ActionMapUIResource.java,
8770         javax/swing/plaf/basic/BasicBorders.java,
8771         javax/swing/plaf/basic/BasicButtonUI.java,
8772         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8773         javax/swing/plaf/basic/BasicDefaults.java,
8774         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8775         javax/swing/plaf/basic/BasicIconFactory.java,
8776         javax/swing/plaf/basic/BasicLabelUI.java,
8777         javax/swing/plaf/basic/BasicListUI.java,
8778         javax/swing/plaf/basic/BasicLookAndFeel.java,
8779         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8780         javax/swing/plaf/basic/BasicPanelUI.java,
8781         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8782         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8783         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8784         javax/swing/plaf/basic/BasicTextUI.java,
8785         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8786         javax/swing/plaf/basic/BasicTreeUI.java,
8787         javax/swing/plaf/basic/BasicViewportUI.java,
8788         javax/swing/plaf/BorderUIResource.java,
8789         javax/swing/plaf/ButtonUI.java,
8790         javax/swing/plaf/ColorChooserUI.java,
8791         javax/swing/plaf/ColorUIResource.java,
8792         javax/swing/plaf/ComboBoxUI.java,
8793         javax/swing/plaf/ComponentInputMapUIResource.java,
8794         javax/swing/plaf/ComponentUI.java,
8795         javax/swing/plaf/DesktopIconUI.java,
8796         javax/swing/plaf/DesktopPaneUI.java,
8797         javax/swing/plaf/DimensionUIResource.java,
8798         javax/swing/plaf/FileChooserUI.java,
8799         javax/swing/plaf/FontUIResource.java,
8800         javax/swing/plaf/IconUIResource.java,
8801         javax/swing/plaf/InputMapUIResource.java,
8802         javax/swing/plaf/InsetsUIResource.java,
8803         javax/swing/plaf/InternalFrameUI.java,
8804         javax/swing/plaf/LabelUI.java,
8805         javax/swing/plaf/ListUI.java,
8806         javax/swing/plaf/MenuBarUI.java,
8807         javax/swing/plaf/MenuItemUI.java,
8808         javax/swing/plaf/OptionPaneUI.java,
8809         javax/swing/plaf/PanelUI.java,
8810         javax/swing/plaf/PopupMenuUI.java,
8811         javax/swing/plaf/ProgressBarUI.java,
8812         javax/swing/plaf/RootPaneUI.java,
8813         javax/swing/plaf/ScrollBarUI.java,
8814         javax/swing/plaf/ScrollPaneUI.java,
8815         javax/swing/plaf/SeparatorUI.java,
8816         javax/swing/plaf/SliderUI.java,
8817         javax/swing/plaf/SplitPaneUI.java,
8818         javax/swing/plaf/TabbedPaneUI.java,
8819         javax/swing/plaf/TableHeaderUI.java,
8820         javax/swing/plaf/TableUI.java,
8821         javax/swing/plaf/TextUI.java,
8822         javax/swing/plaf/ToolBarUI.java,
8823         javax/swing/plaf/ToolTipUI.java,
8824         javax/swing/plaf/TreeUI.java,
8825         javax/swing/plaf/UIResource.java,
8826         javax/swing/plaf/ViewportUI.java,
8827         javax/swing/ProgressMonitorInputStream.java,
8828         javax/swing/ProgressMonitor.java,
8829         javax/swing/Renderer.java,
8830         javax/swing/RepaintManager.java,
8831         javax/swing/RootPaneContainer.java,
8832         javax/swing/Scrollable.java,
8833         javax/swing/ScrollPaneConstants.java,
8834         javax/swing/ScrollPaneLayout.java,
8835         javax/swing/SingleSelectionModel.java,
8836         javax/swing/SizeRequirements.java,
8837         javax/swing/SizeSequence.java,
8838         javax/swing/SwingConstants.java,
8839         javax/swing/SwingUtilities.java,
8840         javax/swing/table/AbstractTableModel.java,
8841         javax/swing/table/DefaultTableCellRenderer.java,
8842         javax/swing/table/DefaultTableColumnModel.java,
8843         javax/swing/table/DefaultTableModel.java,
8844         javax/swing/table/TableCellEditor.java,
8845         javax/swing/table/TableCellRenderer.java,
8846         javax/swing/table/TableColumn.java,
8847         javax/swing/table/TableColumnModel.java,
8848         javax/swing/table/TableModel.java,
8849         javax/swing/text/AbstractDocument.java,
8850         javax/swing/text/AttributeSet.java,
8851         javax/swing/text/BadLocationException.java,
8852         javax/swing/text/Caret.java,
8853         javax/swing/text/CharacterIterator.java,
8854         javax/swing/text/ComponentView.java,
8855         javax/swing/text/DefaultCaret.java,
8856         javax/swing/text/DefaultEditorKit.java,
8857         javax/swing/text/Document.java,
8858         javax/swing/text/EditorKit.java,
8859         javax/swing/text/Element.java,
8860         javax/swing/text/GapContent.java,
8861         javax/swing/text/JTextComponent.java,
8862         javax/swing/text/Keymap.java,
8863         javax/swing/text/MutableAttributeSet.java,
8864         javax/swing/text/PlainDocument.java,
8865         javax/swing/text/PlainEditorKit.java,
8866         javax/swing/text/Position.java,
8867         javax/swing/text/Segment.java,
8868         javax/swing/text/StyledDocument.java,
8869         javax/swing/text/StyledEditorKit.java,
8870         javax/swing/text/Style.java,
8871         javax/swing/text/TextAction.java,
8872         javax/swing/text/ViewFactory.java,
8873         javax/swing/text/View.java,
8874         javax/swing/Timer.java,
8875         javax/swing/ToggleButtonModel.java,
8876         javax/swing/ToolTipManager.java,
8877         javax/swing/tree/AbstractLayoutCache.java,
8878         javax/swing/tree/DefaultMutableTreeNode.java,
8879         javax/swing/tree/DefaultTreeCellEditor.java,
8880         javax/swing/tree/DefaultTreeCellRenderer.java,
8881         javax/swing/tree/DefaultTreeModel.java,
8882         javax/swing/tree/DefaultTreeSelectionModel.java,
8883         javax/swing/tree/ExpandVetoException.java,
8884         javax/swing/tree/FixedHeightLayoutCache.java,
8885         javax/swing/tree/MutableTreeNode.java,
8886         javax/swing/tree/RowMapper.java,
8887         javax/swing/tree/TreeCellEditor.java,
8888         javax/swing/tree/TreeCellRenderer.java,
8889         javax/swing/tree/TreeModel.java,
8890         javax/swing/tree/TreeNode.java,
8891         javax/swing/tree/TreePath.java,
8892         javax/swing/tree/TreeSelectionModel.java,
8893         javax/swing/tree/VariableHeightLayoutCache.java,
8894         javax/swing/UIDefaults.java,
8895         javax/swing/UIManager.java,
8896         javax/swing/undo/AbstractUndoableEdit.java,
8897         javax/swing/undo/CannotRedoException.java,
8898         javax/swing/undo/CannotUndoException.java,
8899         javax/swing/undo/CompoundEdit.java,
8900         javax/swing/undo/StateEditable.java,
8901         javax/swing/undo/StateEdit.java,
8902         javax/swing/undo/UndoableEdit.java,
8903         javax/swing/undo/UndoableEditSupport.java,
8904         javax/swing/undo/UndoManager.java,
8905         javax/swing/UnsupportedLookAndFeelException.java,
8906         javax/swing/ViewportLayout.java,
8907         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8908
8909         * java/awt/ActiveEvent.java,
8910         java/awt/Adjustable.java, java/awt/AWTError.java,
8911         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8912         java/awt/AWTException.java, java/awt/AWTPermission.java,
8913         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8914         java/awt/Color.java, java/awt/Component.java,
8915         java/awt/ComponentOrientation.java, java/awt/Container.java,
8916         java/awt/datatransfer/MimeTypeParseException.java,
8917         java/awt/datatransfer/Transferable.java,
8918         java/awt/datatransfer/UnsupportedFlavorException.java,
8919         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8920         java/awt/event/ActionListener.java,
8921         java/awt/event/AdjustmentEvent.java,
8922         java/awt/event/AdjustmentListener.java,
8923         java/awt/event/AWTEventListener.java,
8924         java/awt/event/ComponentAdapter.java,
8925         java/awt/event/ComponentEvent.java,
8926         java/awt/event/ComponentListener.java,
8927         java/awt/event/ContainerAdapter.java,
8928         java/awt/event/ContainerEvent.java,
8929         java/awt/event/ContainerListener.java,
8930         java/awt/event/FocusAdapter.java,
8931         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8932         java/awt/event/HierarchyBoundsAdapter.java,
8933         java/awt/event/HierarchyBoundsListener.java,
8934         java/awt/event/HierarchyEvent.java,
8935         java/awt/event/HierarchyListener.java,
8936         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8937         java/awt/event/InputMethodListener.java,
8938         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8939         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8940         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8941         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8942         java/awt/event/MouseListener.java,
8943         java/awt/event/MouseMotionAdapter.java,
8944         java/awt/event/MouseMotionListener.java,
8945         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8946         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8947         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8948         java/awt/event/WindowListener.java, java/awt/Font.java,
8949         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8950         java/awt/geom/Ellipse2D.java,
8951         java/awt/geom/IllegalPathStateException.java,
8952         java/awt/geom/Line2D.java,
8953         java/awt/geom/NoninvertibleTransformException.java,
8954         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8955         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8956         java/awt/geom/RoundRectangle2D.java,
8957         java/awt/GraphicsConfiguration.java,
8958         java/awt/IllegalComponentStateException.java,
8959         java/awt/image/IndexColorModel.java,
8960         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8961         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8962         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8963         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8964         java/awt/MenuItem.java, java/awt/PaintContext.java,
8965         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8966         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8967         java/awt/PrintJob.java, java/awt/Rectangle.java,
8968         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8969         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8970         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8971
8972         * java/awt/im/spi/InputMethod.java,
8973         java/awt/im/spi/InputMethodContext.java,
8974         java/awt/im/spi/InputMethodDescriptor.java,
8975         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8976         java/awt/image/renderable/ParameterBlock.java,
8977         java/awt/image/renderable/RenderContext.java,
8978         java/awt/image/renderable/RenderableImage.java,
8979         java/awt/image/renderable/RenderableImageOp.java,
8980         java/awt/image/renderable/RenderableImageProducer.java,
8981         java/awt/image/renderable/RenderedImageFactory.java: New files from
8982         classpath.
8983
8984         * gnu/java/awt/EventModifier.java,
8985         gnu/java/awt/image/ImageDecoder.java,
8986         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8987
8988         * gnu/awt/xlib/XGraphicsConfiguration.java,
8989         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8990         API.
8991
8992         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8993         GNU Classpath.
8994
8995         * Makefile.am: Add new files.
8996         * Makefile.in: Rebuilt.
8997
8998 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8999
9000         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9001         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9002         findResource, getResources, findResources): Add javadoc from classpath.
9003         (getSystemResources): Implemented.
9004
9005 2002-08-01  Mark Wielaard  <mark@klomp.org>
9006
9007         Revert patch that breaks libgcj shared library on powerpc:
9008         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9009         implementation classes by using Class.getName(). Uses Strings again.
9010         * gnu/java/security/der/DEREncodingException.java,
9011         gnu/java/security/provider/DERReader.java,
9012         gnu/java/security/provider/DERWriter.java,
9013         gnu/java/security/provider/DSAKeyPairGenerator.java,
9014         gnu/java/security/provider/DSAParameterGenerator.java,
9015         gnu/java/security/provider/DSAParameters.java,
9016         gnu/java/security/provider/DSASignature.java,
9017         gnu/java/security/provider/GnuDSAPrivateKey.java,
9018         gnu/java/security/provider/GnuDSAPublicKey.java,
9019         gnu/java/security/provider/MD5.java,
9020         gnu/java/security/util/Prime.java: Removed.
9021         * Makefile.am (ordinary_java_source_files): Remove above files.
9022         * Makefile.in: Regenerate.
9023         * gnu/java/security/provider/DefaultPolicy.java
9024         (getPermissions): Revert to maintaining static class variable of
9025         Permissions.
9026         * gnu/java/security/provider/SHA.java
9027         (engineUpdate): Revert algorithm change.
9028         (engineDigest): Revert algorithm change.
9029
9030 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9031
9032         * configure.host: Add SH support.
9033         * sysdep/sh/locks.h: New file.
9034
9035 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9036
9037         * java/awt/Frame.java (Frame): Remove println calls.
9038
9039 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9040
9041         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9042         * configure: Rebuilt.
9043
9044 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9045
9046         * sysdep/powerpc/locks.h: Formatting.
9047         (_LARX): Define.
9048         (_STCX): Define.
9049         (compare_and_swap): Use _LARX and _STCX.
9050         (compare_and_swap_release): Likewise.
9051
9052 2002-07-26  Tom Tromey  <tromey@redhat.com>
9053
9054         * java/net/Authenticator.java: New version from Classpath.
9055         * java/net/DatagramSocketImpl.java: New version from Classpath.
9056
9057 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9058
9059         * configure.host: Add powerpc64*-* entry.
9060
9061 2002-07-26  Tom Tromey  <tromey@redhat.com>
9062
9063         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9064         fcntl.h.
9065
9066 2002-07-24  Tom Tromey  <tromey@redhat.com>
9067
9068         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9069         argument to _load.
9070
9071 2002-07-24  Tom Tromey  <tromey@redhat.com>
9072             Tony Kimball <alk@pobox.com>
9073
9074         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9075         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9076         * java/io/RandomAccessFile.java (setLength): New method.
9077         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9078         * java/io/FileDescriptor.java (setLength): New method.
9079
9080 2002-07-24  Mark Wielaard  <mark@klomp.org>
9081
9082         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9083         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9084         field call setAccessible(true).
9085         (setByteField): Likewise.
9086         (setCharField): Likewise.
9087         (setDoubleField): Likewise.
9088         (setFloatField): Likewise.
9089         (setIntField): Likewise.
9090         (setLongField): Likewise.
9091         (setShortField): Likewise.
9092         (setObjectField): Likewise.
9093
9094 2002-07-24  Tom Tromey  <tromey@redhat.com>
9095
9096         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9097         use toString() to format array element.
9098
9099 2002-07-23  Mark Wielaard  <mark@klomp.org>
9100
9101         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9102         MessageDigestSpi (fixes Classpath bug #783).
9103
9104 2002-07-21  Mark Wielaard  <mark@klomp.org>
9105
9106         * gnu/java/security/provider/Gnu.java: Reference all implementation
9107         classes by using Class.getName().
9108
9109 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9110
9111         * java/lang/ieeefp.h: Add x86-64 support.
9112         * configure.in: Likewise.
9113         * configure.host: Likewise.
9114         * configure: Regenerated.
9115         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9116
9117 2002-07-16  Mark Wielaard  <mark@klomp.org>
9118
9119         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9120         (whitespaceChars): call resetChar().
9121
9122 2002-07-15  Tom Tromey  <tromey@redhat.com>
9123
9124         * Makefile.in: Rebuilt.
9125         * Makefile.am (awt_java_source_files): Added new files.
9126         * java/beans/ExceptionListener.java: Merged with Classpath.
9127         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9128         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9129         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9130         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9131         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9132         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9133         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9134
9135 2002-07-14  Mark Wielaard  <mark@klomp.org>
9136
9137         * gnu/java/security/der/DEREncodingException.java,
9138         gnu/java/security/provider/DERReader.java,
9139         gnu/java/security/provider/DERWriter.java,
9140         gnu/java/security/provider/DSAKeyPairGenerator.java,
9141         gnu/java/security/provider/DSAParameterGenerator.java,
9142         gnu/java/security/provider/DSAParameters.java,
9143         gnu/java/security/provider/DSASignature.java,
9144         gnu/java/security/provider/GnuDSAPrivateKey.java,
9145         gnu/java/security/provider/GnuDSAPublicKey.java,
9146         gnu/java/security/provider/MD5.java,
9147         gnu/java/security/util/Prime.java: New files from Classpath.
9148         * Makefile.am (ordinary_java_source_files): Add new files.
9149         * Makefile.in: Regenerate.
9150
9151 2002-07-14  C. Brian Jones <cbj@gnu.org>
9152
9153         * gnu/java/security/provider/DefaultPolicy.java
9154         (getPermissions): do not maintain static class variable of
9155         Permissions
9156         * gnu/java/security/provider/SHA.java
9157         (engineUpdate): algorithm change
9158         (engineDigest): algorithm change
9159
9160 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9161
9162         For PR libgcj/7292:
9163         * java/lang/Character.java (toString(char)): Now static.
9164
9165 2002-07-12  Mark Wielaard  <mark@klomp.org>
9166
9167         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9168         (getStackTrace0): new method.
9169         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9170         (printStackTrace(PrintWriter)): replace with pure java implementation.
9171         (printRawStackTrace): removed.
9172         (getStackTrace0): new method.
9173         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9174         * gcj/javaprims.h: regenerate class list.
9175         * include/name-finder.h (lookup): new returns StackTraceElement*.
9176         (method_name, file_name): fields removed.
9177         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9178         (~_Jv_name_finder): close new descriptors.
9179         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9180         (createStackTraceElement): new method.
9181         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9182
9183 2002-07-10  Tom Tromey  <tromey@redhat.com>
9184
9185         * configure: Rebuilt.
9186         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9187
9188 2002-07-08  Mark Wielaard  <mark@klomp.org>
9189
9190         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9191         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9192         java.sql.DatabaseMetaData.TestJdbc20
9193
9194 2002-07-05  Tony Kimball  <alk@pobox.com>
9195
9196         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9197
9198 2002-07-04  Tom Tromey  <tromey@redhat.com>
9199             Jeff Sturm  <jsturm@one-point.com>
9200
9201         Fix for PR libgcj/7060:
9202         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9203         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9204         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9205         * java/lang/Class.java (getMethod): New Java implementation;
9206         complies with spec.
9207         (_getMethod): New native method.
9208
9209 2002-07-02  Tom Tromey  <tromey@redhat.com>
9210             David Hovemeyer  <daveho@cs.umd.edu>
9211
9212         * java/text/ChoiceFormat.java
9213         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9214         in check loop.
9215         * java/text/MessageFormat.java
9216         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9217         to MessageFormat.
9218
9219 2002-07-01  Tom Tromey  <tromey@redhat.com>
9220
9221         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9222         StringTokenizer on null string.  For PR libgcj/7180.
9223         From daveho@cs.umd.edu.
9224
9225 2002-06-24  Tom Tromey  <tromey@redhat.com>
9226
9227         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9228         (IntegerClass): Likewise.
9229         * java/lang/natClass.cc (CloneableClass): Removed.
9230         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9231         ConstructorClass): Likewise.
9232         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9233         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9234         SerializableClass): Likewise.
9235         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9236         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9237         LongClass, FloatClass, DoubleClass): Likewise.
9238
9239         * verify.cc (branch_prepass): Updated for change to exception
9240         handler type.
9241         (verify_instructions_0): Likewise.
9242         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9243         (handleExceptionTableEntry): Updated for change to exception
9244         handler type.
9245         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9246         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9247         (union _Jv_InterpPC): New.
9248         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9249         (class _Jv_InterpMethod): Added new `prepared' field.
9250         (class _Jv_InterpMethod): Added `compile' method.  Removed
9251         `continue1' and `find_exception'.  Changed arguments to `run'.
9252         * interpret.cc (union insn_slot): New.
9253         (find_exception): Removed.
9254         (run_normal): Removed most logic.
9255         (run_synch_object): Likewise; also, use JvSynchronize.
9256         (run_synch_class): Likewise.
9257         (run): Removed.
9258         (continue1): Renamed as `run'.  Compile bytecode if required.
9259         Add new code to allow refinement of direct-threaded code at
9260         runtime.  Handle exceptions.
9261         (SAVE_PC): Removed.
9262         (compile): New method.
9263         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9264         (NULLARRAYCHECK): Don't use SAVE_PC.
9265         (pc_t): New typedef.
9266         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9267         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9268
9269 2002-06-23  Tom Tromey  <tromey@redhat.com>
9270
9271         * configure: Rebuilt.
9272         * configure.in (INTERPRETER): New subst.
9273         (AM_RUNTESTFLAGS): Don't subst.
9274
9275         * Makefile.in: Rebuilt.
9276         * Makefile.am ($(srcdir)/java/lang/Object.h,
9277         $(srcdir)/java/lang/Class.h): Added dummy targets.
9278
9279 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9280
9281         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9282
9283         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9284         java/sql/Savepoint.java: New files.
9285         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9286         java/sql/Blob.java, java/sql/CallableStatement.java,
9287         java/sql/Clob.java, java/sql/Connection.java,
9288         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9289         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9290         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9291         java/sql/Ref.java, java/sql/ResultSet.java,
9292         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9293         java/sql/SQLException.java, java/sql/SQLInput.java,
9294         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9295         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9296         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9297         (JDK 1.4) specification.
9298         * javax/sql/ConnectionEvent.java,
9299         javax/sql/ConnectionEventListener.java,
9300         javax/sql/ConnectionPoolDataSource.java,
9301         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9302         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9303         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9304         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9305         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9306         javax/sql/XADataSource.java: New files.
9307         * Makefile.am: Add new files.
9308         * Makefile.in: Rebuilt.
9309
9310 2002-06-20  Tom Tromey  <tromey@redhat.com>
9311
9312         For PR libgcj/7073:
9313         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9314         exists.
9315         * defineclass.cc (handleClassBegin): Superclass for interface is
9316         `null'.
9317
9318 2002-06-18  Tom Tromey  <tromey@redhat.com>
9319
9320         * gcj/javaprims.h: Updated class declaration list.
9321         * Makefile.in: Rebuilt.
9322         * Makefile.am (core_java_source_files): Removed
9323         BasicMapEntry.java.
9324         * java/util/BasicMapEntry.java: Removed.
9325
9326 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9327
9328         * java/net/natPlainDatagramSocketImpl.cc (receive):
9329         Check bounds of argument to FD_SET.
9330         (setOption): Throw exception if socket is closed.
9331
9332         * java/net/natPlainSocketImpl.cc (accept, read):
9333         Check bounds of argument to FD_SET.
9334         (setOption): Throw exception if socket is closed.
9335
9336 2002-06-18  Tom Tromey  <tromey@redhat.com>
9337
9338         * gcj/javaprims.h: Updated class declaration list.
9339         * Makefile.in: Rebuilt.
9340         * Makefile.am (core_java_source_files): Added
9341         PropertyPermissionCollection.java.
9342         * java/lang/Thread.java (group, name): Now package-private.
9343         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9344         * java/util/AbstractList.java: Likewise.
9345         * java/util/AbstractMap.java: Likewise.
9346         * java/util/Calendar.java: Likewise.
9347         * java/util/Collections.java: Likewise.
9348         * java/util/HashMap.java: Likewise.
9349         * java/util/Hashtable.java: Likewise.
9350         * java/util/LinkedHashMap.java: Likewise.
9351         * java/util/LinkedList.java: Likewise.
9352         * java/util/List.java: Likewise.
9353         * java/util/ListResourceBundle.java: Likewise.
9354         * java/util/Map.java: Likewise.
9355         * java/util/Observable.java: Likewise.
9356         * java/util/Properties.java: Likewise.
9357         * java/util/PropertyPermission.java: Likewise.
9358         * java/util/PropertyPermissionCollection.java: Likewise.
9359         * java/util/PropertyResourceBundle.java: Likewise.
9360         * java/util/Random.java: Likewise.
9361         * java/util/SimpleTimeZone.java: Likewise.
9362         * java/util/StringTokenizer.java: Likewise.
9363         * java/util/TimerTask.java: Likewise.
9364         * java/util/TreeMap.java: Likewise.
9365         * java/util/WeakHashMap.java: Likewise.
9366         * java/util/jar/Attributes.java: Likewise.
9367         * java/util/jar/JarException.java: Likewise.
9368         * java/util/jar/Manifest.java: Likewise.
9369
9370 2002-06-17  Tom Tromey  <tromey@redhat.com>
9371
9372         * gcj/javaprims.h: Updated class declaration list.
9373         * Makefile.in: Rebuilt.
9374         * Makefile.am (core_java_source_files): Added new file.
9375         * java/util/EventListenerProxy.java: New file.
9376         * java/util/EventListener.java: Re-merge with Classpath.
9377         * java/util/EventObject.java: Re-merge with Classpath.
9378
9379 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9380
9381         * java/lang/ClassNotFoundException.java: New Classpath version.
9382
9383 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9384
9385         * java/rmi/activation/ActivateFailedException.java: Remerge from
9386         Classpath version.
9387         * java/rmi/activation/ActivationException.java: Ditto.
9388         * java/rmi/activation/UnknownGroupException.java: Ditto.
9389         * java/rmi/activation/UnknownObjectException.java: Ditto.
9390         * java/rmi/server/ExportException: Ditto.
9391         * java/rmi/server/ServerCloneException: Ditto.
9392         * java/rmi/server/ServerNotActiveException: Ditto.
9393         * java/rmi/server/SkeletonMismatchException: Ditto.
9394         * java/rmi/server/SkeletonNotFoundException: Ditto.
9395         * java/rmi/server/SocketSecurityException: Ditto.
9396
9397 2002-06-16  Tom Tromey  <tromey@redhat.com>
9398
9399         * gcj/javaprims.h: Updated class declaration list.
9400
9401         * java/io/LineNumberInputStream.java: Merged with Classpath.
9402
9403         * java/lang/RuntimeException.java: Re-merge with Classpath.
9404         * java/util/ArrayList.java: Likewise.
9405         * java/util/Arrays.java: Likewise.
9406         * java/util/BitSet.java: Likewise.
9407         * java/util/Dictionary.java: Likewise.
9408         * java/util/IdentityHashMap.java: Likewise.
9409         * java/util/MissingResourceException.java: Likewise.
9410         * java/util/Observer.java: Likewise.
9411         * java/util/TooManyListenersException.java: Likewise.
9412         * java/util/zip/DataFormatException.java: Likewise.
9413         * java/util/zip/ZipException.java: Likewise.
9414
9415 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9416
9417         * java/rmi/AccessException.java: Remerge from Classpath.
9418         * java/rmi/AlreadyBoundException.java: Ditto.
9419         * java/rmi/ConnectException.java: Ditto.
9420         * java/rmi/ConnectIOException.java: Ditto.
9421         * java/rmi/MarshalException.java: Ditto.
9422         * java/rmi/NoSuchObjectException.java: Ditto.
9423         * java/rmi/NotBoundException.java: Ditto.
9424         * java/rmi/RemoteException.java: Ditto.
9425         * java/rmi/RMISecurityException.java: Ditto.
9426         * java/rmi/ServerError.java: Ditto.
9427         * java/rmi/ServerException.java: Ditto.
9428         * java/rmi/ServerRuntimeException.java: Ditto.
9429         * java/rmi/StubNotFoundException.java: Ditto.
9430         * java/rmi/UnexpectedExcpetion.java: Ditto.
9431         * java/rmi/UnknownHostException.java: Ditto.
9432         * java/rmi/UnmarshalException.java: Ditto.
9433
9434 2002-06-15  Tom Tromey  <tromey@redhat.com>
9435
9436         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9437         * java/lang/ArithmeticException.java: Likewise.
9438         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9439         * java/lang/ArrayStoreException.java: Likewise.
9440         * java/lang/Byte.java: Likewise.
9441         * java/lang/CharSequence.java: Likewise.
9442         * java/lang/ClassCastException.java: Likewise.
9443         * java/lang/ClassCircularityError.java: Likewise.
9444         * java/lang/ClassFormatError.java: Likewise.
9445         * java/lang/CloneNotSupportedException.java: Likewise.
9446         * java/lang/Cloneable.java: Likewise.
9447         * java/lang/Comparable.java: Likewise.
9448         * java/lang/Compiler.java: Likewise.
9449         * java/lang/Error.java: Likewise.
9450         * java/lang/ExceptionInInitializerError.java: Likewise.
9451         * java/lang/IllegalAccessError.java: Likewise.
9452         * java/lang/IllegalAccessException.java: Likewise.
9453         * java/lang/IllegalArgumentException.java: Likewise.
9454         * java/lang/IllegalMonitorStateException.java: Likewise.
9455         * java/lang/IllegalStateException.java: Likewise.
9456         * java/lang/IllegalThreadStateException.java: Likewise.
9457         * java/lang/IncompatibleClassChangeError.java: Likewise.
9458         * java/lang/IndexOutOfBoundsException.java: Likewise.
9459         * java/lang/InheritableThreadLocal.java: Likewise.
9460         * java/lang/InstantiationError.java: Likewise.
9461         * java/lang/InstantiationException.java: Likewise.
9462         * java/lang/InternalError.java: Likewise.
9463         * java/lang/InterruptedException.java: Likewise.
9464         * java/lang/LinkageError.java: Likewise.
9465         * java/lang/NegativeArraySizeException.java: Likewise.
9466         * java/lang/NoClassDefFoundError.java: Likewise.
9467         * java/lang/NoSuchFieldError.java: Likewise.
9468         * java/lang/NoSuchFieldException.java: Likewise.
9469         * java/lang/NoSuchMethodError.java: Likewise.
9470         * java/lang/NoSuchMethodException.java: Likewise.
9471         * java/lang/NullPointerException.java: Likewise.
9472         * java/lang/NumberFormatException.java: Likewise.
9473         * java/lang/OutOfMemoryError.java: Likewise.
9474         * java/lang/Process.java: Likewise.
9475         * java/lang/Runnable.java: Likewise.
9476         * java/lang/RuntimePermission.java: Likewise.
9477         * java/lang/SecurityException.java: Likewise.
9478         * java/lang/Short.java: Likewise.
9479         * java/lang/StackOverflowError.java: Likewise.
9480         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9481         * java/lang/ThreadDeath.java: Likewise.
9482         * java/lang/ThreadLocal.java: Likewise.
9483         * java/lang/UnknownError.java: Likewise.
9484         * java/lang/UnsatisfiedLinkError.java: Likewise.
9485         * java/lang/UnsupportedClassVersionError.java: Likewise.
9486         * java/lang/UnsupportedOperationException.java: Likewise.
9487         * java/lang/VerifyError.java: Likewise.
9488         * java/lang/VirtualMachineError.java: Likewise.
9489         * java/lang/reflect/InvocationTargetException.java: Likewise.
9490         * java/net/BindException.java: Likewise.
9491         * java/net/ConnectException.java: Likewise.
9492         * java/net/MalformedURLException.java: Likewise.
9493         * java/net/NoRouteToHostException.java: Likewise.
9494         * java/net/ProtocolException.java: Likewise.
9495         * java/net/SocketException.java: Likewise.
9496         * java/net/UnknownHostException.java: Likewise.
9497         * java/net/UnknownServiceException.java: Likewise.
9498
9499         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9500         * java/io/CharConversionException.java: Likewise.
9501         * java/io/EOFException.java: Likewise.
9502         * java/io/FileNotFoundException.java: Likewise.
9503         * java/io/IOException.java: Likewise.
9504         * java/io/InterruptedIOException.java: Likewise.
9505         * java/io/InvalidClassException.java: Likewise.
9506         * java/io/InvalidObjectException.java: Likewise.
9507         * java/io/NotActiveException.java: Likewise.
9508         * java/io/NotSerializableException.java: Likewise.
9509         * java/io/ObjectStreamException.java: Likewise.
9510         * java/io/ObjectStreamConstants.java: Likewise.
9511         * java/io/OptionalDataException.java: Likewise.
9512         * java/io/PipedInputStream.java: Likewise.
9513         * java/io/PushbackInputStream.java: Likewise.
9514         * java/io/StreamCorruptedException.java: Likewise.
9515         * java/io/SyncFailedException.java: Likewise.
9516         * java/io/UTFDataFormatException.java: Likewise.
9517         * java/io/UnsupportedEncodingException.java: Likewise.
9518         * java/io/WriteAbortedException.java: Likewise.
9519
9520 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9521
9522         * java/text/ChoiceFormat.java: Update comments from Classpath.
9523         * java/text/ParseException.java (serialVersionUID): New
9524         field from Classpath.
9525         * java/text/ParseException.java: Update formatting & comments
9526         from Classpath.
9527
9528 2002-06-15  Tom Tromey  <tromey@redhat.com>
9529
9530         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9531         been read but none output by inflater.
9532         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9533         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9534         is_finished.
9535         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9536         version.
9537         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9538         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9539         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9540         version.
9541         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9542
9543 2002-06-13  Tom Tromey  <tromey@redhat.com>
9544
9545         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9546         true and OFFSET!=0.
9547         * java/lang/String.java (String(char[],int,int,boolean): New
9548         constructor.
9549         * java/lang/Long.java: Imported new version from Classpath.
9550         * java/lang/Number.java: Likewise.
9551         * java/lang/Integer.java: Likewise.
9552         * java/lang/Long.java: Likewise.
9553         * java/lang/Float.java: Likewise.
9554         * java/lang/Boolean.java: Likewise.
9555         * java/lang/Double.java: Likewise.
9556         * java/lang/Void.java: Likewise.
9557
9558 2002-06-12  Tom Tromey  <tromey@redhat.com>
9559
9560         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9561         Fixes PR libgcj/6652.
9562
9563 2002-06-10  Tom Tromey  <tromey@redhat.com>
9564
9565         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9566         (Class::getPackagePortion): Likewise.
9567         * java/lang/Class.java (desiredAssertionStatus): New method from
9568         Classpath.
9569         (getPackagePortion): Likewise.
9570         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9571         packageAssertionStatus, classAssertionStatus): New methods from
9572         Classpath.
9573         * java/lang/ClassLoader.java (defaultAssertionStatus,
9574         systemPackageAssertionStatus, packageAssertionStatus,
9575         systemClassAssertionStatus, classAssertionStatus): New fields from
9576         Classpath.
9577         (setDefaultAssertionStatus, setPackageAssertionStatus,
9578         setClassAssertionStatus, clearAssertionStatus): New methods from
9579         Classpath.
9580         * Makefile.in: Rebuilt.
9581         * Makefile.am (core_java_source_files): Added AssertionError.java.
9582         * java/lang/AssertionError.java: New from Classpath.
9583
9584 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9585
9586         * configure.host: Disable hash synchronization and slow_pthread_self
9587         for cygwin.
9588
9589 2002-06-06  Adam Megacz <adam@xwt.org>
9590
9591         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9592         locking, just like the Sun JVM does.
9593
9594 2002-06-05  H.J. Lu  (hjl@gnu.org)
9595
9596         * Makefile.am (libgcj_convenience.la): Revert the last change.
9597         (libgcj.la): Likewise.
9598         * Makefile.in: Regenerated.
9599
9600 2002-06-04  H.J. Lu  (hjl@gnu.org)
9601
9602         * Makefile.am (libgcj_convenience.la): New target.
9603         (libgcj.la): Depend on libgcj_convenience.la.
9604         * Makefile.in: Regenerated.
9605
9606 2002-06-04  H.J. Lu  (hjl@gnu.org)
9607
9608         * configure.in (--with-newlib): New option:
9609         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9610         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9611         Linux.
9612         * configure: Regenerated.
9613
9614 2002-06-04  Tom Tromey  <tromey@redhat.com>
9615
9616         * java/util/natTimeZone.cc: Include <stdio.h>.
9617
9618 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9619
9620         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9621         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9622         Set SIGNAL_HANDLER=include/s390-linux.h.
9623         * configure: Regenerate.
9624         * include/s390-linux.h: New file.
9625
9626 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9627
9628         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9629         not "stackTrace".
9630
9631 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9632
9633         Merge JDK 1.4 java.security changes from classpath.
9634
9635         * java/security/AccessControlException.java: Merge from Classpath.
9636         * java/security/AccessController.java: Likewise.
9637         * java/security/AllPermission.java: Likewise.
9638         * java/security/BasicPermission.java: Likewise.
9639         * java/security/Certificate.java: Likewise.
9640         * java/security/CodeSource.java: Likewise.
9641         * java/security/DigestException.java: Likewise.
9642         * java/security/DigestOutputStream.java: Likewise.
9643         * java/security/DomainCombiner.java: Likewise.
9644         * java/security/GeneralSecurityException.java: Likewise.
9645         * java/security/Guard.java: Likewise.
9646         * java/security/GuardedObject.java: Likewise.
9647         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9648         * java/security/InvalidKeyException.java: Likewise.
9649         * java/security/InvalidParameterException.java: Likewise.
9650         * java/security/Key.java: Likewise.
9651         * java/security/KeyException.java: Likewise.
9652         * java/security/KeyManagementException.java: Likewise.
9653         * java/security/KeyStoreException.java: Likewise.
9654         * java/security/MessageDigest.java: Likewise.
9655         * java/security/NoSuchAlgorithmException.java: Likewise.
9656         * java/security/NoSuchProviderException.java: Likewise.
9657         * java/security/Permission.java: Likewise.
9658         * java/security/PermissionCollection.java: Likewise.
9659         * java/security/Permissions.java: Likewise.
9660         * java/security/Policy.java: Likewise.
9661         * java/security/Principal.java: Likewise.
9662         * java/security/PrivateKey.java: Likewise.
9663         * java/security/PrivilegedAction.java: Likewise.
9664         * java/security/PrivilegedActionException.java: Likewise.
9665         * java/security/PrivilegedExceptionAction.java: Likewise.
9666         * java/security/ProtectionDomain.java: Likewise.
9667         * java/security/ProviderException.java: Likewise.
9668         * java/security/PublicKey.java: Likewise.
9669         * java/security/SecureClassLoader.java: Likewise.
9670         * java/security/SecurityPermission.java: Likewise.
9671         * java/security/SignatureException.java: Likewise.
9672         * java/security/UnrecoverableKeyException.java: Likewise.
9673         * java/security/UnresolvedPermission.java: Likewise.
9674         * java/security/acl/AclNotFoundException.java: Likewise.
9675         * java/security/acl/LastOwnerException.java: Likewise.
9676         * java/security/acl/NotOwnerException.java: Likewise.
9677         * java/security/cert/CRLException.java: Likewise.
9678         * java/security/cert/CertificateEncodingException.java: Likewise.
9679         * java/security/cert/CertificateException.java: Likewise.
9680         * java/security/cert/CertificateExpiredException.java: Likewise.
9681         * java/security/cert/CertificateFactory.java: Likewise.
9682         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9683         * java/security/cert/CertificateParsingException.java: Likewise.
9684         * java/security/spec/InvalidKeySpecException.java: Likewise.
9685         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9686
9687         * java/security/cert/CertPath.java: New file.
9688         * java/security/cert/CertPathBuilderException.java: New file.
9689         * java/security/cert/CertPathValidatorException.java: New file.
9690         * java/security/cert/CertStoreException.java: New file.
9691
9692         * Makefile.am: Add new CertPath classes.
9693         * Makefile.in: Rebuilt.
9694
9695         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9696
9697 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9698
9699         Merge JDK 1.4 exception chaining support from classpath.
9700
9701         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9702         (stackTraceBytes): Rename from stackTrace.
9703         * java/lang/Exception.java: Merge from classpath.
9704         * java/lang/StackTraceElement: New file from classpath.
9705         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9706         * Makefile.am: Add StackTraceElement.
9707         * Makefile.in: Rebuilt.
9708
9709 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9710
9711         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9712         they build first.
9713         * Makefile.in: Rebuilt.
9714
9715 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9716
9717         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9718         * configure.in: Likewise.
9719         * aclocal.m4: Regenerate.
9720         * configure: Regenerate.
9721
9722 2002-05-13  Tom Tromey  <tromey@redhat.com>
9723
9724         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9725         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9726         Include platform.h.
9727
9728         Fixes PR libgcj/6389:
9729         * Makefile.in: Rebuilt.
9730         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9731         * java/util/natTimeZone.cc: New file.
9732         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9733         * java/lang/System.java: Merged with Classpath.
9734         * java/lang/Runtime.java: Merged with Classpath.
9735         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9736         security check.
9737         (setIn0): Renamed from setIn; don't run security check.
9738         (setOut0): Renamed from setOut; don't run security check.
9739         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9740         init_properties): Moved to natRuntime.cc.
9741         Moved many includes to natRuntime.cc.
9742         (isWordsBigEndian): New method.
9743         * java/lang/natRuntime.cc: Include Long.h, also other includes
9744         previously in natSystem.cc.
9745         (maxMemory): New function.
9746         (exitInternal): Renamed from `_exit'.
9747         (exit): Removed.
9748         (init): Don't set finalize_on_exit.
9749         (exitInternal): Use `finalizeOnExit'.
9750         (file_encoding, getpwuid_adaptor): New functions from
9751         natSystem.cc.
9752         (insertSystemProperties): New method, renamed from
9753         System::init_properties.  Don't set user.timezone.
9754         (_load): Don't call checkLink.
9755         (execInternal): New method.
9756         (availableProcessors): Likewise.
9757         (nativeGetLibname): Likewise.
9758
9759 2002-05-11  Mark Wielaard  <mark@klomp.org>
9760
9761         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9762         space characters.
9763         (previous_internal): Likewise.
9764
9765 2002-05-09  Tom Tromey  <tromey@redhat.com>
9766
9767         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9768
9769         * java/util/ResourceBundle.java: New version from Classpath.
9770         * java/util/Locale.java: Likewise.
9771
9772 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9773
9774         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9775         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9776         LD_LIBRARY_PATH.
9777
9778 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9779
9780         * libjava/Makefile.am (all_java_source_files): New variable.
9781         (all_java_class_files): Likewise.
9782         .java.class: New rule.
9783         (CLEANFILES): Remove tmp-list.
9784         * libjava/Makefile.in: Regenerated.
9785
9786 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9787
9788         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9789         Append .exe to executable names.  Fix for cygwin.
9790
9791 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9792
9793         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9794         script entry, and set LD to it when configuring multilibs.
9795         * configure: Rebuilt.
9796
9797 2002-05-07  Tom Tromey  <tromey@redhat.com>
9798
9799         * java/lang/natString.cc (unintern): Fixed typo.
9800
9801 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9802
9803         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9804         with -no-install on *-*-cygwin*.
9805
9806 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9807
9808         * testsuite/lib/libjava.exp (test_libjava_from_source):
9809         Add comment explaining last patch
9810
9811 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9812
9813         * testsuite/lib/libjava.exp (test_libjava_from_source):
9814         Append .exe to executable names.  If no suffix is present,
9815         then ".exe" is added by default on win32.  Harmless
9816         elsewhere so always do it.
9817
9818 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9819             Tom Tromey  <tromey@redhat.com>
9820
9821         * java/lang/natSystem.cc (getSystemTimeZone): Use
9822         HAVE_UNDERSCORE_TIMEZONE.
9823         * include/config.h.in: Rebuilt.
9824         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9825         * aclocal.m4, configure: Rebuilt.
9826         * acinclude.m4: Run AC_EXEEXT.
9827         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9828         Add test for `_timezone'.
9829
9830 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9831
9832         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9833         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9834         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9835         * Makefile.in: Rebuilt.
9836
9837 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9838
9839         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9840         use sigaction instead of __libc_sigaction.
9841
9842 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9843
9844         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9845         (libjava_init): Use it to find libgcj.spec.
9846         (libjava_arguments): Likewise.
9847
9848 2002-05-02  David S. Miller  <davem@redhat.com>
9849
9850         PR bootstrap/6525
9851         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9852         __libc_sigaction on Sparc.
9853
9854 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9855
9856         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9857         sys/filio.h, if present.
9858
9859 2002-04-30  Tom Tromey  <tromey@redhat.com>
9860
9861         * java/io/BufferedReader.java (fill): Handle case where markPos
9862         point to ignored \n.  Fixes PR libgcj/6301.
9863
9864 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9865
9866         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9867
9868 2002-04-29  Adam King <aking@dreammechanics.com>
9869
9870         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9871         of file in APPEND mode.
9872
9873 2002-04-25  David S. Miller  <davem@redhat.com>
9874
9875         PR target/6422
9876         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9877         program counter to next program counter minus 8.  Update
9878         comments in this macro to explain why.
9879
9880 2002-04-26  Tom Tromey  <tromey@redhat.com>
9881
9882         * verify.cc (construct_primitive_array_type) [void_type]: New
9883         case.
9884         (branch_prepass): Added dummy entries for unused instruction
9885         values.
9886         (verify_instructions_0): Likewise.
9887         * interpret.cc (continue1): Comment fix.
9888         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9889         * Makefile.in: Rebuilt.
9890         * Makefile.am: Added -Wswitch-enum.
9891
9892 2002-04-24  Tom Tromey  <tromey@redhat.com>
9893
9894         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9895         correct length of UTF-8 encoded name.  Strip leading `/'.
9896         (_Jv_RegisterResource): Use _Jv_Malloc.
9897
9898 2002-04-23  Adam Megacz <adam@xwt.org>
9899
9900         * win32.cc, include/win32.cc (backtrace): Added this function
9901         because Win32 does not supply it.
9902
9903 2002-04-21  David S. Miller  <davem@redhat.com>
9904
9905         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9906         magic instruction reading sequence.
9907
9908 2002-04-21  Mark Wielaard  <mark@klomp.org>
9909
9910         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9911
9912 2002-04-19  David S. Miller  <davem@redhat.com>
9913
9914         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9915         arg.
9916         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9917         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9918         on Sparc too.
9919         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9920         for 64-bit sparc.
9921         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9922         * sysdeps/sparc/locks.h: New file.
9923         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9924         on all sparc Solaris configurations.  Set to
9925         include/dwarf2-signal.h on sparc Linux.
9926         * configure: Regenerate
9927         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9928
9929 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9930
9931         * configure: Rebuilt.
9932         * configure.in (backtrace): Function doesn't work on IA-64.
9933
9934 2002-04-17  Adam King <aking@dreammechanics.com>
9935
9936         * java/io/File.java (normalizePath): Add Win32 support for auto
9937         conversion of a '/' path separator to Win32's '\' separator.
9938
9939 2002-04-16  Tom Tromey  <tromey@redhat.com>
9940
9941         Fix for PR libgcj/6081:
9942         * Makefile.in: Rebuilt.
9943         * Makefile.am (install-data-local): Use GNU make trick to avoid
9944         shell limit.
9945
9946 2002-04-16  Adam King <aking@dreammechanics.com>
9947             Tom Tromey  <tromey@redhat.com>
9948
9949         * java/io/natFileWin32.cc (performList): Return the correct array
9950         type.  Don't duplicate the creation of a File since it's already
9951         done earlier in the method and the existing code would cause a
9952         ArrayStoreException.  Don't use fixed-size array.
9953         (_access, _stat, attr, getCanonicalPath, performMkdir,
9954         performRenameTo): Don't use fixed-size array.
9955         (getCanonicalPath): Use throw, not _Jv_Throw.
9956
9957 2002-04-15  DJ Delorie  <dj@redhat.com>
9958
9959         * configure.in: Allow building in $srcdir.
9960         * configure: Regenerated.
9961
9962 2002-04-14  Mark Wielaard <mark@klomp.org>
9963
9964         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9965         * java/net/natSocketImpl.cc (close): Likewise.
9966
9967 2002-04-14  Mark Wielaard <mark@klomp.org>
9968
9969         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9970
9971 2002-04-13  Adam King <aking@dreammechanics.com>
9972
9973         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9974         the f/F/d/D modifiers.
9975
9976 2002-04-12  Anthony Green  <green@redhat.com>
9977
9978         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9979         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9980         * Makefile.in: Rebuilt.
9981         * configure.in: Substitute gcc_version.
9982         * configure: Rebuilt.
9983
9984 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9985
9986         * configure.host: Set can_unwind_signal on hosts which support it.
9987         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9988         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9989         exceptions and can_unwind_signal isn't set.
9990         * configure: Rebuilt.
9991
9992 2002-04-11  Tom Tromey  <tromey@redhat.com>
9993
9994         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9995
9996 2002-04-11  Adam King <aking@dreammechanics.com>
9997             Tom Tromey  <tromey@redhat.com>
9998
9999         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10000         _Jv_ThrowNullPointerException): Mark as noreturn.
10001         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10002         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10003         fixes.
10004
10005 2002-04-10  Tom Tromey  <tromey@redhat.com>
10006
10007         * Makefile.in: Rebuilt.
10008         * Makefile.am (java/lang/Thread.h): Mark
10009         _Jv_AttachCurrentThreadAsDaemon as friend.
10010         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10011         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10012         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10013         function.
10014         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10015         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10016         (_Jv_JNI_InvokeFunctions): Added
10017         _Jv_JNI_AttachCurrentThreadAsDaemon.
10018         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10019         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10020         (JNI_CreateJavaVM): Likewise.
10021         (_Jv_JNI_AttachCurrentThread): Likewise.
10022         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10023         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10024         (_Jv_JNIFunctions): Initialize new fields.
10025         (_Jv_JNI_NewDirectByteBuffer): New function.
10026         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10027         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10028         * include/jni.h (JNI_VERSION_1_4): New macro.
10029         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10030         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10031         (JNINativeInterface::NewDirectByteBuffer): New field.
10032         (JNINativeInterface::GetDirectBufferAddress): New field.
10033         (JNINativeInterface::GetDirectBufferCapacity): New field.
10034         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10035         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10036         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10037
10038 2002-04-09  Tom Tromey  <tromey@redhat.com>
10039
10040         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10041
10042 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10043
10044         Fix for PR libgcj/6187:
10045         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10046         distance.
10047
10048 2002-04-07  Mark Wielaard <mark@klomp.org>
10049
10050         * java/util/AbstractMap.java (putAll): Use entrySet size.
10051         (toString): Explicitly use getKey() and getValue().
10052
10053 2002-04-07  Mark Wielaard <mark@klomp.org>
10054
10055         * java/util/Hashtable.java (contains): Remove NullPointer check.
10056         (containsValue): Add NullPointer check.
10057         (remove): Always throw NullPointerException when key
10058         is null.
10059
10060 2002-04-07  Adam King <aking@dreammechanics.com>
10061
10062         * java/lang/natSystem.cc (init_properties): Call new function
10063         _Jv_platform_initProperties.
10064         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10065         support for the System properties os.name, os.arch, os.version,
10066         user.name, user.home, and user.dir.
10067         * include/posix.h, include/win32.h, posix.cc: New function
10068         _Jv_platform_initProperties.
10069
10070 2002-04-06  Mark Wielaard <mark@klomp.org>
10071
10072         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10073
10074 2002-04-06  Mark Wielaard <mark@klomp.org>
10075
10076         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10077         all of the remaining elements.
10078         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10079         (removeRange): If toIndex == fromIndex do
10080         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10081         (removeAll): Always throw NullPointerException when collection is
10082         null.
10083         (retrainAll): Likewise.
10084
10085 2002-04-05  Mark Wielaard <mark@klomp.org>
10086
10087         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10088         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10089
10090 2002-04-05  Adam Megacz <adam@xwt.org>
10091
10092         * exception.cc (abort): added static modifier
10093
10094 2002-04-04  Adam Megacz <adam@xwt.org>
10095
10096         * include/win32.h (_Jv_platform_close_on_exec): added inline
10097         modifier.
10098
10099 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10100
10101         * configure.host: Add case statement to support generic port
10102         properties.  Add *-*-freebsd* section.
10103
10104 2002-04-04  Mark Wielaard  <mark@klomp.org>
10105
10106         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10107         test.
10108         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10109         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10110         that depend on awt code and BufferedByteOutputStream.interrupt.
10111
10112 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10113
10114         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10115         incorrect "hi" value when count > 40.
10116
10117 2002-04-03  Mark Wielaard  <mark@klomp.org>
10118
10119         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10120         ordering.
10121
10122 2002-04-02  Tom Tromey  <tromey@redhat.com>
10123
10124         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10125         not `0'.
10126
10127 2002-04-02  Mark Wielaard  <mark@klomp.org>
10128
10129         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10130         list of testsuite crashers.
10131
10132 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10133
10134         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10135         when resizing table.
10136
10137 2002-04-01  Mark Wielaard  <mark@klomp.org>
10138
10139         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10140         NegativeArraySizeException
10141         (clear(int)): Use sign extended shift.
10142         (flip(int)): Likewise.
10143         (get(int)): Likewise.
10144         (nextClearBit(int)): Likewise.
10145         (nextSetBit(int)): Likewise.
10146         (set(int)): Likewise.
10147
10148 2002-04-01  Mark Wielaard  <mark@klomp.org>
10149
10150         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10151         that can be compiled now and add testsuite crashers to ignore list.
10152
10153 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10154
10155         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10156
10157         * libgcj.spec.in: Override libgcc, not lib.
10158         * libgcj-test.spec.in: Likewise.
10159
10160 2002-03-29  Tom Tromey  <tromey@redhat.com>
10161
10162         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10163         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10164
10165 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10166
10167         * java/net/PlainDatagramSocketImpl.java
10168         (close): Use native implementation.
10169         (finalize): New method.
10170
10171         * java/net/PlainSocketImpl.java (finalize): New method.
10172
10173         * java/net/natPlainDatagramSocketImpl.cc
10174         (java/io/FileDescriptor.h): Don't include.
10175         (close): Implement method here.
10176         (create): Don't assign fd.
10177
10178         * java/net/natPlainSocketImpl.cc
10179         (java/io/FileDescriptor.h): Don't include.
10180         (create): Don't assign fd.
10181         (accept): Likewise.
10182         (close): Synchronize.
10183
10184 2002-03-27  Richard Henderson  <rth@redhat.com>
10185
10186         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10187
10188 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10189
10190         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10191         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10192         instead of syscall on IA-64.
10193         Add FIXME comment.
10194
10195 2002-03-27  Anthony Green  <green@redhat.com>
10196
10197         * libgcj.spec.in: Add CHECKREFSPEC.
10198         * configure.in: Ditto.
10199         * configure.host: Ditto.  Check references for xscale-elf.
10200         * configure: Rebuilt.
10201
10202 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10203
10204         * include/dwarf2-signal.h: Temporarily back out last change.
10205
10206 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10207
10208         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10209
10210 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10211
10212         * configure.in, configure: enable dwarf2-exception-style
10213         exception handling on IA-64.
10214         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10215         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10216         Add FIXME comment.
10217
10218 2002-03-25  Tom Tromey  <tromey@redhat.com>
10219
10220         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10221         (jv_convert_LDFLAGS): Likewise.
10222         (gij_LDFLAGS): Likewise.
10223         (rmic_LDFLAGS): Likewise.
10224         (rmiregistry_LDFLAGS): Likewise.
10225         * configure.in (THREADLDFLAGS): New subst; set correctly for
10226         *BSD.
10227
10228 2002-03-25  Tom Tromey  <tromey@redhat.com>
10229
10230         For PR libgcj/5303:
10231         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10232         and --version.
10233         (help): New method.
10234         (version): Likewise.
10235         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10236         "GNU".
10237         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10238         "GNU".
10239
10240 2002-03-25  Tom Tromey  <tromey@redhat.com>
10241
10242         * java/awt/Component.java (processEvent): Check ComponentEvent
10243         after KeyEvent.
10244
10245 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10246
10247         * java/io/PushbackReader.java: Reformat.
10248
10249         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10250         calculate correct number of bytes skipped.
10251
10252         Based on patch from Intel's ORP team:
10253         * java/io/PushbackInputStream.java (available): Calculate correct
10254         number of bytes in buffer.
10255         (read): Remove redundant bound check. Return bytes from both the
10256         buffer and the stream.
10257
10258 2002-03-24  Tom Tromey  <tromey@redhat.com>
10259
10260         * java/awt/TextComponent.java (TextComponent): Editable by
10261         default.
10262
10263         * java/awt/MenuItem.java (eventMask): No longer private.
10264         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10265         superclass if we didn't handle event.
10266         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10267         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10268         * java/awt/Choice.java (dispatchEventImpl): New method.
10269         * java/awt/List.java (dispatchEventImpl): New method.
10270         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10271         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10272         * java/awt/TextField.java (dispatchEventImpl): New method.
10273
10274 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10275
10276         * java/beans/IntrospectionException.java: Update to 1.4.
10277         * java/beans/PropertyVetoException.java: Ditto.
10278
10279 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10280
10281         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10282         Arrays.equals instead of ArrayHelper.equalsArray.
10283
10284 2002-03-24  C. Brian Jones <cbj@gnu.org>
10285
10286         * java/beans/Introspector.java: added new static final fields
10287         introduced in 1.2, lots of other updates remain to be done
10288
10289 2002-03-24  C. Brian Jones <cbj@gnu.org>
10290
10291         * java/beans/Introspector.java: reformatting
10292
10293 2002-03-24  C. Brian Jones <cbj@gnu.org>
10294
10295         * java/beans/Introspector.java: default beanInfoSearchPath will
10296         not include sun.beans.infos given we provide no such package and
10297         the API doesn't really require it; gnu.java.beans.info is the
10298         default.
10299
10300 2002-03-24  Mark Wielaard  <mark@klomp.org>
10301
10302         Thanks to Orp developers
10303         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10304         switch TRUE and FALSE return values.
10305
10306 2002-03-23  Tom Tromey  <tromey@redhat.com>
10307
10308         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10309         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10310
10311 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10312
10313         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10314         MONTH entry.  Fixes PR libgcj/6045.
10315
10316 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10317
10318         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10319
10320 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10321
10322         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10323         not release_set.
10324         * sysdep/powerpc/locks.h (write_barrier): New function.
10325         * sysdep/i386/locks.h (write_barrier): New function.
10326
10327 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10328
10329         * include/jni.h Use correct C comments.
10330
10331 2002-03-18  Tom Tromey  <tromey@redhat.com>
10332
10333         * include/jni.h (JNIIMPORT): New macro.
10334         (JNIEXPORT): Likewise.
10335         (JNICALL): Likewise.
10336
10337 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10338
10339         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10340         systems.
10341
10342 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10343
10344         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10345         INIT_SEGV: Use old_i386_kernel_sigaction.
10346         INIT_FP: Likewise.
10347
10348 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10349
10350         * java/lang/natSystem.cc (init_properties): Update VM version
10351         properties.
10352         * configure.in: Set GCJVERSION.
10353         * acconfig.h: Add GCJVERSION.
10354         * configure: Rebuilt.
10355         * include/config.h.in: Rebuilt.
10356
10357 2002-03-17  Anthony Green  <green@redhat.com>
10358
10359         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10360
10361 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10362
10363         Build a single libgcj.so, without separate gc and zlib libraries.
10364         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10365         SYS_ZLIBS if system zlib is used.
10366         * configure: Rebuilt.
10367         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10368         * Makefile.in: Rebuilt.
10369         * libtool-version: Increment .so version number.
10370
10371         * Makefile.am: Escape quotes in echo.
10372         * Makefile.in: Rebuilt.
10373
10374 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10375
10376         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10377         * Makefile.in: Rebuilt.
10378
10379 2002-03-15  Anthony Green  <green@redhat.com>
10380
10381         * configure.host (FILE): New macro for specifing File
10382         implementation.
10383         * configure: Rebuilt.
10384         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10385
10386 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10387
10388         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10389         already implicitly brought in from libgcj.la.
10390         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10391         * Makefile.in: Rebuilt.
10392
10393 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10394
10395         * THANKS: Fix punctuation, alphabetization.
10396
10397 2002-03-15  Tom Tromey  <tromey@redhat.com>
10398             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10399
10400         Fix for PR libgcj/5944.
10401         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10402
10403 2002-03-15  Anthony Green  <green@redhat.com>
10404
10405         * configure.in (tool_include_dir): Define.
10406         * configure: Rebuilt.
10407         * gcj/Makefile.am: Install libgcj-config.h relative to
10408         tool_include_dir.
10409         * gcj/Makefile: Rebuilt.
10410         * gcj/libgcj-config.h: Add warning comment.
10411
10412 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10413
10414         * configure.host (powerpc*-darwin*): Enable interpreter.
10415
10416 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10417
10418         * include/posix.h: Add multiple include header protection.
10419         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10420
10421 2002-03-10  Adam Megacz <adam@xwt.org>
10422
10423         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10424
10425 2002-03-10  Tom Tromey  <tromey@redhat.com>
10426
10427         * java/awt/GridLayout.java (layoutContainer): Handle case where
10428         there are no items in container.
10429
10430         * java/lang/Win32Process.java: Added comment.
10431         * include/posix.h (_Jv_platform_close_on_exec): New function.
10432         Include fcntl.h.
10433         * include/win32.h (_Jv_platform_close_on_exec): New function.
10434         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10435         flag.
10436         (accept): Likewise.
10437         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10438         close-on-exec flag.
10439         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10440         flag.
10441
10442 2002-03-09  Tom Tromey  <tromey@redhat.com>
10443
10444         * verify.cc (state::NO_STACK): New constant.
10445         (state::is_unmerged_ret_state): Handle case where stacktop is
10446         NO_STACK.
10447         (state::merge): Handle NO_STACK merges.
10448         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10449         for instruction following jsr.
10450         (stacktop, stackdepth): Removed unused variables.
10451         (pop_jump): Ignore case where all remaining states are skipped.
10452
10453 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10454
10455         * java/awt/ImageMediaEntry: Removed.
10456         * java/awt/MediaEntry: Removed.
10457
10458 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10459
10460         Hashtable synchronization for PowerPC.
10461         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10462         slow_pthread_self. Set up symlink for sysdeps directory.
10463         * configure: Rebuild.
10464         * configure.host: Document more shell variables. Set sysdeps_dir
10465         for most platforms. Set slow_pthread_self for i686. Set
10466         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10467         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10468         that memory barrier is emitted where required.
10469         * prims.cc: 64-bit align static primitive class instances.
10470         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10471         read_barrier() to enforce ordering of reads.
10472         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10473         primitives for PowerPC.
10474         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10475         moved from natObject.cc.
10476         * sysdep/alpha/locks.h: Likewise.
10477         * sysdep/ia64/locks.h: Likewise.
10478         * sysdep/generic/locks.h: Likewise.
10479         * java/lang/natObject.cc: Move thread synchronization primitives to
10480         system-dependent headers.
10481
10482 2002-03-09  Adam Megacz  <adam@xwt.org>
10483
10484         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10485         bytes read and no failure code returned.
10486
10487 2002-03-09  Adam Megacz  <adam@xwt.org>
10488
10489         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10490         definitions to simulate -mthreads.
10491
10492 2002-03-09  Adam Megacz  <adam@xwt.org>
10493
10494         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10495         avoid precision loss.
10496
10497 2002-03-09  Per Bothner  <per@bothner.com>
10498
10499         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10500         * gnu/gcj/xlib/XImage.java:  Likewise.
10501         * gnu/gcj/xlib/XColor.java:  Likewise.
10502
10503 2002-03-09  Adam Megacz  <adam@xwt.org>
10504
10505         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10506         IOException so that Throwable.printStackTrace fails correctly.
10507
10508 2002-03-08  Adam Megacz  <adam@xwt.org>
10509
10510         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10511         fixed.
10512
10513 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10514
10515         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10516         truncated to int.
10517
10518 2002-03-08  Tom Tromey  <tromey@redhat.com>
10519
10520         * include/jni.h: Include stdio.h.
10521
10522 2002-03-08  Tom Tromey  <tromey@redhat.com>
10523
10524         * posix.cc (internal_gettimeofday): New function.
10525         (_Jv_select): Use it.
10526
10527 2002-03-07  Adam Megacz  <adam@xwt.org>
10528
10529         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10530         WIN32, and added thunks for read(), write(), and close().
10531         * java/net/natPlainSocketImpl.cc (accept, read, read):
10532         Disabled timeouts on WIN32 pending discussion.
10533
10534 2002-03-07  Adam Megacz  <adam@xwt.org>
10535
10536         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10537         returns jlong. Added implementation
10538         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10539         returns jlong.
10540         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10541         returns jlong.
10542         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10543         returns jlong.
10544         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10545         _Jv_platform_gettimeofday signature.
10546
10547 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10548
10549         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10550         (read): Call recv() directly, not _Jv_recv().
10551
10552 2002-03-06  Tom Tromey  <tromey@redhat.com>
10553
10554         * java/io/natFileDescriptorEcos.cc (init): Don't use
10555         GetStdHandle.
10556         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10557         is negative.
10558         (init): Don't use GetStdHandle.
10559
10560         * include/config.h.in: Rebuilt.
10561         * configure: Rebuilt.
10562         * Makefile.in: Rebuilt.
10563
10564 2002-03-06  Adam Megacz  <adam@xwt.org>
10565
10566         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10567         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10568         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10569         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10570
10571 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10572
10573         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10574         the code for generating include/java-chartables.h.
10575         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10576         merge with Classpath.
10577         * scripts/unicode-muncher.pl: Copy from Classpath.
10578         * scritps/MakeCharTables.java: New file.
10579         * gnu/gcj/convert/Blocks-3.txt: New file.
10580         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10581         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10582         * gnu/java/lang/CharData.java: Copy from Classpath.
10583         * Makefile.am (ordinary_java_source_files): Add
10584         gnu/java/lang/CharData.java.
10585         * configure.in: Remove --enable-fast-character option.
10586         * java/lang/Character.java: Merge algorithms and Javadoc with
10587         Classpath.
10588         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10589         efficiently.
10590         * include/java-chardecomp.h: Regenerate.
10591         * include/java-chartables.h: Regenerate.
10592
10593 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10594
10595         * java/awt/MediaTracker.java: Implemented.
10596         * Makefile.am: Add MediaTracker.
10597         * Makefile.in: Rebuilt.
10598
10599 2002-03-05  Tom Tromey  <tromey@redhat.com>
10600
10601         * java/lang/natPosixProcess.cc (fail): Removed.
10602         (startProcess): Simplified error-handling.  Preserve
10603         LD_LIBRARY_PATH across exec.
10604
10605         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10606         AbstractMethodError.
10607
10608 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10609
10610         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10611         * Makefile.in: Rebuilt.
10612
10613 2002-03-03 Mark Wielaard <mark@klomp.org>
10614
10615         * java/util/Timer (TaskQueue.stop): set elements to zero.
10616
10617 2002-02-28  Anthony Green  <green@redhat.com>
10618
10619         * java/lang/reflect/natMethod.cc (result): Add void* element.
10620         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10621         constructor test.
10622
10623 2002-02-27  Adam Megacz <adam@xwt.org>
10624
10625         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10626         '#undef STRICT'.
10627
10628 2002-02-26  Tom Tromey  <tromey@redhat.com>
10629
10630         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10631         * gij.cc (version): Use __VERSION__.
10632         * include/config.h.in: Rebuilt.
10633         * acconfig.h (GCJVERSION): Removed.
10634         * configure: Rebuilt.
10635         * configure.in (GCJVERSION): Removed.
10636
10637 2002-02-26  Andreas Schwab  <schwab@suse.de>
10638
10639         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10640         glibcpp_CXX, since libjava uses even another CXX.
10641         * aclocal.m4, configure: Regenerated.
10642
10643 2002-02-26  Tom Tromey  <tromey@redhat.com>
10644
10645         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10646         `1'.
10647
10648 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10649
10650         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10651         dependency tracking for .java files.
10652         * Makefile.in: Rebuilt.
10653
10654 2002-02-24  Adam Megacz  <adam@xwt.org>
10655
10656         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10657         typo. Sorry.
10658
10659 2002-02-24  Adam Megacz  <adam@xwt.org>
10660
10661         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10662         for Win32, changed #ifdefs to check WIN32 instead of the
10663         (now-obsolete) USE_WINSOCK, and removed support for socket
10664         timeouts on Win32 pending further discussion.
10665
10666 2002-02-24  Adam Megacz  <adam@xwt.org>
10667
10668         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10669         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10670         delete
10671
10672 2002-02-24  Adam Megacz  <adam@xwt.org>
10673
10674         * java/lang/Win32Process.java: Created a dummy class to allow
10675         build process to run to completion.
10676
10677 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10678
10679         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10680         Define ffi_result union for ffi_call result.  Cast
10681         ffi_result members to jvalue.
10682
10683 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10684
10685         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10686         * testsuite/Makefile.in: Likewise.
10687
10688 2002-02-20  Per Bothner  <per@bothner.com>
10689
10690         * java/net/URL.java (getPath):  New JDK 1.3 method.
10691
10692         * java/net/URLStreamHandler.java (parseURL):
10693         It is wrong to prepend '/' to the file part of a relative url.
10694
10695         * java/net/URLStreamHandler.java (parseURL):
10696         Minor optizations - append '/' rather than "/".
10697
10698         * java/net/URLStreamHandler.java (parseURL):
10699         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10700         We probably should canonicalize for a context-relative url, though.
10701         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10702         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10703         (sameFile):  New method.  Uses canonicalizeFilename.
10704
10705 2002-02-22  Tom Tromey  <tromey@redhat.com>
10706
10707         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10708         java.vendor and java.vm.vendor.
10709         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10710         recent copyright date.
10711         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10712         * gij.cc (version): Print `Inc'.
10713
10714 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10715
10716         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10717         * aclocal.m4, configure: Rebuilt.
10718
10719 2002-02-20  Per Bothner  <per@bothner.com>
10720
10721         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10722         and/or output streams immediately here, instead of using File.exists.
10723         (inputStream, outputStream):  New fields to save open streams.
10724         (getInputStream, getOutputStream):  Use already-opened streams.
10725
10726 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10727
10728         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10729         Use it.
10730         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10731         * aclocal.m4, configure, Makefile.in: Rebuilt.
10732
10733 2002-02-19  Tom Tromey  <tromey@redhat.com>
10734
10735         Fix for PR libgcj/5696:
10736         * verify.cc (is_assignable_from_slow): Never call
10737         _Jv_IsAssignableFrom.
10738         (verify_instructions_0): Added new debug statement.
10739         (state::print): Print information about whether local has
10740         changed.
10741         (state::merge): Don't call note_variable when merging locals.
10742         (state::set_exception): Removed old FIXME comment.
10743
10744 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10745
10746         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10747         enable SO_BROADCAST.
10748
10749 2002-02-18  Jason Merrill  <jason@redhat.com>
10750
10751         * name-finder.cc (toHex): Use word mode, not long long.
10752
10753         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10754
10755 2002-02-15  Tom Tromey  <tromey@redhat.com>
10756
10757         Fix for PR libgcj/5695:
10758         * verify.cc (is_assignable_from_slow): Check to see if target is
10759         an Object before checking to see if source is an interface.
10760         (verify_instructions_0) [op_invokeinterface]: Handle case where
10761         we're making an interface call on Object.
10762
10763 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10764
10765         * Makefile.in: Rebuilt with Eric's change below.
10766
10767         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10768         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10769         Removed functions which are now implemented in Math.java.
10770
10771 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10772
10773         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10774         * Makefile.am (core_java_source_files): Add
10775         java/lang/StrictMath.java.
10776         * java/lang/Math.java: Merge with Classpath.
10777         * java/lang/StrictMath.java: New file - merge with Classpath.
10778
10779 2002-02-14  Mark Wielaard  <mark@klomp.org>
10780
10781         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10782         package as a workaround for gcj 3.0.x
10783
10784 2002-02-14  Mark Wielaard <mark@klomp.org>
10785
10786         * java/security/BasicPermission.java: extends with fully qualified
10787         classname as workaround for gcj 3.0.4.
10788
10789 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10790
10791         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10792         around gcj bug of wrong emitted qualifier for inherited method.
10793         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10794         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10795         constructor to reduce amount of emitted bytecode. While this
10796         happens to work around a jikes 1.15 bug, it is still a useful
10797         patch even for correct compilers.
10798         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10799         * gnu/java/rmi/server/UnicastRemoteCall.java
10800         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10801
10802 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10803
10804         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10805         * java/net/SocketImpl.java: Ditto.
10806         * java/rmi/server/RMIClassLoader.java: Ditto.
10807         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10808
10809 2002-02-14  Mark Wielaard <mark@klomp.org>
10810
10811         Thanks to Takashi Okamoto
10812         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10813         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10814         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10815
10816 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10817
10818         Fix for PR libgcj/5670:
10819         * verify.cc (is_assignable_from_slow): If `source' is interface,
10820         recursively look for merge with `target'.
10821
10822 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10823
10824         * include/jni.h: Fix typo.
10825
10826 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10827
10828         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10829         correctly.
10830
10831 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10832
10833         Fix for PR libgcj/5671:
10834         * verify.cc (state::merge): Handle case where we're merging
10835         against an interface.
10836
10837 2002-02-12  Tom Tromey  <tromey@redhat.com>
10838
10839         * exception.cc (std::abort): Mark as noreturn.
10840
10841 2002-02-12  Adam Megacz <adam@xwt.org>
10842
10843         * java/lang/Win32Process.java: Filled in a placeholder
10844         implementation so Win32 will build.
10845
10846 2002-02-12  Adam Megacz <adam@xwt.org>
10847
10848         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10849         * java/io/natFile.cc: Removed from repository.
10850         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10851
10852 2002-02-12  Adam Megacz <adam@xwt.org>
10853
10854         * win32.cc: Added two #includes to make win32.cc compile.
10855
10856 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10857
10858         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10859         declarations.
10860         (_Jv_InitGC): Don't bother locking, as this is always called from a
10861         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10862
10863 2002-02-11  Adam Megacz <adam@xwt.org>
10864
10865         * include/win32.h: Added _Jv_platform_gettimeofday.
10866         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10867
10868 2002-02-11  Adam Megacz <adam@xwt.org>
10869
10870         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10871         Added #undef STRICT to make windows.h and
10872         java/lang/reflect/Modifier.h cooperate.
10873
10874 2002-02-11  Adam Megacz <adam@xwt.org>
10875
10876         * java/io/natFileWin32.cc: Created a placeholder class with lots
10877         of FIXMEs.
10878
10879 2002-02-11  Adam Megacz <adam@xwt.org>
10880
10881         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10882         std::abort() to simply abort(). Also added "fake" std::abort() so
10883         we can #include unwind-pe.h without having to link against
10884         libstdc++-v3.
10885
10886 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10887
10888         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10889
10890 2002-02-08  Tom Tromey  <tromey@redhat.com>
10891
10892         * interpret.cc (convert): New function.
10893         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10894         convert.
10895         Include Long.h.
10896
10897 2002-02-08  Anthony Green  <green@redhat.com>
10898
10899         * configure.host: Add support for xscale-elf embedded target.
10900
10901 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10902
10903         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10904         dereferenced.
10905         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10906         frame.
10907
10908 2002-02-07  Tom Tromey  <tromey@redhat.com>
10909
10910         * java/io/natFile.cc (_access): Use __builtin_alloca.
10911         (_stat): Likewise.
10912         (attr): Likewise.
10913         (getCanonicalPath): Likewise.
10914         (performList): Likewise.
10915         (performMkdir): Likewise.
10916         (performSetReadOnly): Likewise.
10917         (performRenameTo): Likewise.
10918         (performSetLastModified): Likewise.
10919         (performCreate): Likewise.
10920         (performDelete): Likewise.
10921
10922 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10923
10924         * HACKING: Fix URL for the automake-gcj.
10925
10926 2002-02-07  Tom Tromey  <tromey@redhat.com>
10927
10928         * java/lang/natThrowable.cc: Updated copyright.
10929         * java/io/natFileWin32.cc: Updated copyright.
10930         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10931         * win32-threads.cc: Updated copyright.
10932         * name-finder.cc: Updated copyright.
10933         * include/name-finder.h: Updated copyright.
10934
10935         * include/name-finder.h: Conditionally include sys/wait.h.
10936         * include/config.h.in: Rebuilt.
10937
10938         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10939         Size buffer based on real size of string.
10940         (_stat): Likewise.
10941         (attr): Likewise.
10942         (getCanonicalPath): Likewise.
10943         (performList): Likewise.
10944         (performMkdir): Likewise.
10945         (performSetReadOnly): Likewise.
10946         (unixroot): Removed.
10947         (performRenameTo): Likewise.
10948         (performSetLastModified): Likewise.
10949         (performCreate): Likewise.
10950         (performDelete): Likewise.
10951         (performListRoots): Always return new array.
10952
10953         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10954         * win32.cc (win32_exception_handler): Now static.
10955         * include/win32.h (_Jv_platform_initialize): Declare.
10956         (win32_exception_handler): Don't declare.
10957         * java/lang/natSystem.cc (currentTimeMillis): Use
10958         _Jv_platform_gettimeofday.
10959         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10960         (_Jv_select): Use new name.
10961         (_Jv_platform_initialize): New function.
10962         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10963         _Jv_gettimeofday.
10964         (_Jv_platform_initialize): Declare.
10965
10966         * configure: Rebuilt.
10967         * configure.in: Removed unnecessary parens.
10968
10969 2002-02-06  Adam Megacz <adam@xwt.org>
10970
10971        * configure.in: Changed mingw) to *mingw*).
10972        * win32.cc: Created this file.
10973        * win32.h: Created this file.
10974        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10975        win32_exception_handler from prims.cc to win32.cc, added
10976        header in win32.h.
10977        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10978        longer needed now that we have platform.h
10979
10980 2002-02-06  Adam Megacz <adam@xwt.org>
10981
10982         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10983         use uint<n>_t instead of LONG and BYTE
10984
10985 2002-02-06  Adam Megacz <adam@xwt.org>
10986
10987         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10988
10989 2002-02-06  Anthony Green  <green@redhat.com>
10990
10991         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10992         Implement missing method stubs.
10993         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10994         targets.
10995         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10996         concept of timezones.
10997         (init_properties): Don't refer to _Jv_Environment_Properties
10998         when this feature is not available.
10999         * include/config.h.in: Rebuilt.
11000         * acconfig.h: Add DISABLE_MAIN_ARGS.
11001         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11002         * configure: Rebuilt.
11003         * configure.in: Add --disable-main-args option.  Test for
11004           opendir function.  Replace AC_CHECK_SIZEOF with
11005           AC_COMPILE_CHECK_SIZEOF.
11006         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11007         * aclocal.m4: Rebuilt.
11008         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11009
11010 2002-02-06  Tom Tromey  <tromey@redhat.com>
11011
11012         * verify.cc (require_array_type): If argument is a null array of
11013         references, return null as the element type.
11014
11015 2002-02-06  Mark Wielaard  <mark@klomp.org>
11016
11017         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11018         duplicate of a wide type.
11019
11020 2002-02-06  Tom Tromey  <tromey@redhat.com>
11021
11022         * verify.cc (type::isnull): New method.
11023         (require_array_type): Handle case where array is null.
11024         (verify_instructions_0) [op_arraylength]: Likewise.
11025
11026 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11027
11028         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11029         Symlink PLATFORMH to platform.h.
11030         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11031         PLATFORMOBJS.
11032         * java/lang/natSystem.cc: #include platform.h not posix.h.
11033         * Makefile.in: Rebuilt with libgcj automake.
11034         * configure: Rebuilt.
11035
11036 2002-02-05  Richard Henderson  <rth@redhat.com>
11037
11038         * Makefile.in: Undo munging last change.
11039
11040 2002-02-04  Adam Megacz <adam@xwt.org>
11041
11042         * win32.cc: Created it.
11043         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11044         which is set to posix.cc or win32.cc.
11045         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11046
11047 2002-02-04  Adam Megacz <adam@xwt.org>
11048
11049         * configure.in: Corrected mingw case branches; added * before
11050         and after.
11051
11052 2002-02-04  Adam Megacz <adam@xwt.org>
11053
11054         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11055         if compiling for win32
11056
11057 2002-02-04  Adam Megacz <adam@xwt.org>
11058
11059         * win32-threads.cc: #undef STRICT after gc.h inclusion
11060
11061 2002-02-02  Tom Tromey  <tromey@redhat.com>
11062
11063         * Makefile.in: Rebuilt.
11064
11065 2002-02-02  Jason Merrill  <jason@redhat.com>
11066
11067         * Makefile.am (clean-nat): New target.
11068
11069 2002-02-02  Tom Tromey  <tromey@redhat.com>
11070
11071         * java/io/natFile.cc: Removed old "FIXME" comments.
11072
11073 2002-02-01  Tom Tromey  <tromey@redhat.com>
11074
11075         * java/lang/natPosixProcess.cc (myclose): New function.
11076         (fail): Use it.
11077         (startProcess): Likewise.
11078
11079 2002-02-01  Adam Megacz <adam@xwt.org>
11080
11081         * prims.cc: Added #undef STRICT after #include<windows.h>.
11082
11083 2002-02-01  Adam Megacz <adam@xwt.org>
11084
11085         * prims.cc
11086         (_Jv_CreateJavaVM): We now use WIN32 instead of
11087         USE_WIN32_SIGNALLING and USE_WINSOCK.
11088         (win32_exception_handler): Now throws an exception out of
11089         the signal handler; assumes SJLJ.
11090
11091 2002-02-01  Adam Megacz <adam@xwt.org>
11092
11093         * win32-threads.cc:
11094         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11095         wait() algorithm to make it safe.
11096         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11097         Added lazy creation of Win32 Events for better performance
11098         (really_start): This now uses GC_CreateThread so boehm-gc
11099         knows about new threads even when statically linked.
11100
11101 2002-02-01  Adam Megacz <adam@xwt.org>
11102
11103         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11104         enable safer wait() algorithm.
11105         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11106         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11107         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11108         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11109         instead of mutex.
11110         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11111
11112 2002-02-01  Adam Megacz <adam@xwt.org>
11113
11114         * configure.in: Added support for mingw.
11115         * java/lang/Win32Process.java: Created as empty file.
11116         * java/lang/natWin32Process.cc: Created as empty file.
11117
11118 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11119
11120         PR java/4972
11121         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11122         for libiconv in LIBICONV variable.
11123         * configure: Regenerated.
11124
11125 2002-01-31  Tom Tromey  <tromey@redhat.com>
11126
11127         * verify.cc (state::enter_subroutine): New method.
11128         (handle_jsr_insn): Use it.
11129         (state::merge): When processing a `ret', correctly use
11130         subroutine's state to determine which local variables have
11131         changed.
11132         (push_exception_jump): Don't let stack overflow.
11133
11134 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11135
11136         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11137         --version output.
11138
11139 2002-01-30  Tom Tromey  <tromey@redhat.com>
11140
11141         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11142         parameter for `recv' return type.
11143
11144         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11145         (state::merge): ... not here.
11146         (subr_entry_info): New structure.
11147         (entry_points): New field.
11148         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11149         entry_points.
11150
11151 2002-01-29  Tom Tromey  <tromey@redhat.com>
11152
11153         * java/awt/List.java (addNotify): Correctly check to see if peer
11154         does not exist.
11155
11156         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11157         to compute height of each cell, and number of columns to compute
11158         width of each cell.
11159         * java/awt/Window.java (getOwnedWindows): Don't return null.
11160         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11161         of component.  Increment x using horizontal gap, not vertical
11162         gap.
11163
11164 2002-01-28  Tom Tromey  <tromey@redhat.com>
11165
11166         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11167         `nargs' byte is number of words, not number of arguments.
11168
11169 2002-01-27  Tom Tromey  <tromey@redhat.com>
11170
11171         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11172         (when): Likewise.
11173         * java/awt/event/InputEvent.java (modifiers, when): Now
11174         package-private.
11175
11176         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11177         and to-do list.
11178         (state::merge): Use current class' class loader.
11179         (state::print): Print subroutine.
11180         (state::merge): Don't look at subroutine of unmerged `ret'.
11181
11182 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11183
11184         * nogc.cc: Remove warnings.
11185         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11186         New functions.
11187
11188 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11189
11190         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11191         int, int):  Remove empty "if" statement to work around compiler bug.
11192         (newPixels(int[], ColorModel, int, int): Likewise.
11193
11194 2002-01-25  Per Bothner  <per@bothner.com>
11195
11196         * verify.cc (verify_fail):  Change from being a top-level function
11197         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11198         Pass the current verifier to type: and state: methods as needed,
11199         for better error messages, and for resolve.
11200         (resolve):  Pass current class's loader for Class.forName and
11201         _Jv_FindClassFromSignature, rather than using the default loader.
11202         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11203         (get_type_val_for_signature):  Make non-static.
11204         (various methods):  Pass start_PC implicitly, not explicitly.
11205
11206 2002-01-25  Tom Tromey  <tromey@redhat.com>
11207
11208         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11209         loop termination condition.
11210         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11211         width.
11212
11213 2002-01-24  Tom Tromey  <tromey@redhat.com>
11214
11215         * java/awt/Shape.java: Merged with Classpath.
11216         * java/awt/Scrollbar.java: Merged with Classpath.
11217
11218         * java/awt/Container.java (addNotify): Unconditionally call
11219         addNotifyContainerChildren and superclass addNotify.
11220
11221         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11222         getAlpha, not getBlue.
11223
11224 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11225
11226         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11227
11228         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11229         (grabPixels(long)): Wait to be notified that the ImageProducer has
11230         completed.
11231
11232 2002-01-24  Per Bothner  <per@bothner.com>
11233
11234         * verify.cc (is_assignable_from_slow): If target is an interface,
11235         we must still check the source's superclass before giving up.
11236
11237 2002-01-24  Tom Tromey  <tromey@redhat.com>
11238
11239         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11240
11241 2002-01-23  Tom Tromey  <tromey@redhat.com>
11242
11243         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11244         `else'.
11245
11246         * Makefile.in: Rebuilt.
11247         * Makefile.am (awt_java_source_files): Added new files.
11248         * java/awt/Toolkit.java: Merged with Classpath.
11249         * java/awt/PrintGraphics.java: New file from Classpath.
11250         * java/awt/PrintJob.java: New file from Classpath.
11251         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11252         * java/awt/datatransfer/ClipboardOwner.java: New file from
11253         Classpath.
11254         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11255         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11256         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11257         Classpath.
11258         * java/awt/datatransfer/StringSelection.java: New file from
11259         Classpath.
11260         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11261         Classpath.
11262         * java/awt/datatransfer/Transferable.java: New file from
11263         Classpath.
11264         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11265         from Classpath.
11266
11267         * Makefile.in: Rebuilt.
11268         * Makefile.am (awt_java_source_files): Added new files.
11269         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11270         Classpath.
11271         * java/awt/image/CropImageFilter.java: New file from Classpath.
11272         * java/awt/image/FilteredImageSource.java: New file from
11273         Classpath.
11274         * java/awt/image/ImageFilter.java: New file from Classpath.
11275         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11276         * java/awt/image/PixelGrabber.java: New file from Classpath.
11277         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11278         * java/awt/image/ReplicateScaleFilter.java: New file from
11279         Classpath.
11280         * java/awt/image/ImageProducer.java: Replaced with Classpath
11281         version.
11282         * java/awt/image/ImageObserver.java: Replaced with Classpath
11283         version.
11284         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11285         version.
11286         * java/awt/GridBagConstraints.java (clone): Catch
11287         CloneNotSupportedException.
11288
11289 2002-01-23  Per Bothner  <per@bothner.com>
11290
11291         * java/lang/reflect/natField.cc (setAddr):  New function.
11292         Calls getAddr and then checks that the field isn't final.
11293         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11294         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11295         (set):  Call setAddr before check that new value has right type,
11296         to better match specified semantics.
11297
11298 2002-01-22  Tom Tromey  <tromey@redhat.com>
11299
11300         * java/awt/TextField.java: Replaced with Classpath version.
11301         * java/awt/TextArea.java: Replaced with Classpath version.
11302         * java/awt/TextComponent.java: Replaced with Classpath version.
11303
11304         * java/awt/GridBagConstraints.java: Updated copyright.
11305
11306 2002-01-22  Mark Wielaard <mark@klomp.org>
11307
11308         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11309         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11310         java/awt/Dialog.java java/awt/FileDialog.java
11311         java/awt/Font.java java/awt/FontMetrics.java
11312         java/awt/Image.java java/awt/ImageMediaEntry.java
11313         java/awt/Insets.java java/awt/List.java
11314         java/awt/MediaEntry.java java/awt/MediaTracker.java
11315         java/awt/Menu.java java/awt/MenuBar.java
11316         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11317         java/awt/PaintContext.java java/awt/Panel.java
11318         java/awt/PopupMenu.java java/awt/SystemColor.java
11319         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11320         java/awt/peer/CheckboxMenuItemPeer.java
11321         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11322         java/awt/peer/ComponentPeer.java
11323         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11324         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11325         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11326         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11327         java/awt/peer/MenuBarPeer.java
11328         java/awt/peer/MenuComponentPeer.java
11329         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11330         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11331         java/awt/peer/ScrollPanePeer.java
11332         java/awt/peer/ScrollbarPeer.java
11333         java/awt/peer/TextAreaPeer.java
11334         java/awt/peer/TextComponentPeer.java
11335         java/awt/peer/TextFieldPeer.java
11336         java/awt/peer/WindowPeer.java: Add license clarification.
11337
11338 2002-01-22  Mark Wielaard <mark@klomp.org>
11339
11340         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11341         gnu/gcj/runtime/StringBuffer.java
11342         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11343         gnu/java/awt/ComponentDataBlitOp.java
11344         gnu/java/awt/GLightweightPeer.java
11345         gnu/java/beans/BeanInfoEmbryo.java
11346         gnu/java/beans/EmptyBeanInfo.java
11347         gnu/java/beans/ExplicitBeanInfo.java
11348         gnu/java/beans/IntrospectionIncubator.java
11349         gnu/java/beans/editors/ColorEditor.java
11350         gnu/java/beans/editors/FontEditor.java
11351         gnu/java/beans/editors/NativeBooleanEditor.java
11352         gnu/java/beans/editors/NativeByteEditor.java
11353         gnu/java/beans/editors/NativeDoubleEditor.java
11354         gnu/java/beans/editors/NativeFloatEditor.java
11355         gnu/java/beans/editors/NativeIntEditor.java
11356         gnu/java/beans/editors/NativeLongEditor.java
11357         gnu/java/beans/editors/NativeShortEditor.java
11358         gnu/java/beans/editors/StringEditor.java
11359         gnu/java/beans/info/ComponentBeanInfo.java
11360         gnu/java/io/ClassLoaderObjectInputStream.java
11361         gnu/java/io/NullOutputStream.java
11362         gnu/java/io/ObjectIdentityWrapper.java
11363         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11364         gnu/java/lang/reflect/TypeSignature.java
11365         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11366         gnu/java/locale/Calendar_en.java
11367         gnu/java/locale/Calendar_nl.java
11368         gnu/java/locale/LocaleInformation.java
11369         gnu/java/locale/LocaleInformation_de.java
11370         gnu/java/locale/LocaleInformation_en.java
11371         gnu/java/locale/LocaleInformation_nl.java
11372         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11373         gnu/java/rmi/registry/RegistryImpl.java
11374         gnu/java/rmi/rmic/Compile_gcj.java
11375         gnu/java/rmi/rmic/Compiler.java
11376         gnu/java/rmi/rmic/CompilerProcess.java
11377         gnu/java/rmi/rmic/RMIC.java
11378         gnu/java/rmi/rmic/TabbedWriter.java
11379         gnu/java/rmi/server/ProtocolConstants.java
11380         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11381         gnu/java/rmi/server/RMIHashes.java
11382         gnu/java/rmi/server/RMIObjectInputStream.java
11383         gnu/java/rmi/server/RMIObjectOutputStream.java
11384         gnu/java/rmi/server/UnicastConnection.java
11385         gnu/java/rmi/server/UnicastConnectionManager.java
11386         gnu/java/rmi/server/UnicastRef.java
11387         gnu/java/rmi/server/UnicastRemoteCall.java
11388         gnu/java/rmi/server/UnicastRemoteStub.java
11389         gnu/java/rmi/server/UnicastServer.java
11390         gnu/java/rmi/server/UnicastServerRef.java
11391         gnu/java/security/provider/DefaultPolicy.java
11392         gnu/java/security/provider/Gnu.java
11393         gnu/java/security/provider/SHA.java
11394         gnu/java/security/provider/SHA1PRNG.java
11395         gnu/java/text/BaseBreakIterator.java
11396         gnu/java/text/CharacterBreakIterator.java
11397         gnu/java/text/LineBreakIterator.java
11398         gnu/java/text/SentenceBreakIterator.java
11399         gnu/java/text/WordBreakIterator.java
11400         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11401         java/applet/AppletContext.java java/applet/AppletStub.java
11402         java/applet/AudioClip.java java/awt/AWTError.java
11403         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11404         java/awt/AWTException.java java/awt/AWTPermission.java
11405         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11406         java/awt/Button.java java/awt/Canvas.java
11407         java/awt/CardLayout.java java/awt/Checkbox.java
11408         java/awt/CheckboxGroup.java java/awt/Component.java
11409         java/awt/ComponentOrientation.java java/awt/Container.java
11410         java/awt/Dimension.java java/awt/Event.java
11411         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11412         java/awt/FlowLayout.java java/awt/Frame.java
11413         java/awt/Graphics.java java/awt/Graphics2D.java
11414         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11415         java/awt/IllegalComponentStateException.java
11416         java/awt/ItemSelectable.java java/awt/Label.java
11417         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11418         java/awt/MenuComponent.java java/awt/MenuItem.java
11419         java/awt/Paint.java java/awt/Point.java
11420         java/awt/Rectangle.java java/awt/RenderingHints.java
11421         java/awt/Transparency.java java/awt/Window.java
11422         java/awt/color/ColorSpace.java
11423         java/awt/color/ICC_ColorSpace.java
11424         java/awt/color/ICC_Profile.java
11425         java/awt/event/HierarchyBoundsAdapter.java
11426         java/awt/event/HierarchyBoundsListener.java
11427         java/awt/event/HierarchyEvent.java
11428         java/awt/event/HierarchyListener.java
11429         java/awt/geom/AffineTransform.java
11430         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11431         java/awt/geom/IllegalPathStateException.java
11432         java/awt/geom/Line2D.java
11433         java/awt/geom/NoninvertibleTransformException.java
11434         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11435         java/awt/geom/Rectangle2D.java
11436         java/awt/geom/RectangularShape.java
11437         java/awt/geom/RoundRectangle2D.java
11438         java/awt/image/BufferedImage.java
11439         java/awt/image/ColorModel.java
11440         java/awt/image/ComponentColorModel.java
11441         java/awt/image/ComponentSampleModel.java
11442         java/awt/image/DataBuffer.java
11443         java/awt/image/DataBufferByte.java
11444         java/awt/image/DataBufferInt.java
11445         java/awt/image/DataBufferUShort.java
11446         java/awt/image/DirectColorModel.java
11447         java/awt/image/PackedColorModel.java
11448         java/awt/image/Raster.java java/awt/image/RasterOp.java
11449         java/awt/image/SampleModel.java
11450         java/awt/image/SinglePixelPackedSampleModel.java
11451         java/awt/image/WritableRaster.java
11452         java/beans/AppletInitializer.java
11453         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11454         java/beans/Beans.java java/beans/Customizer.java
11455         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11456         java/beans/FeatureDescriptor.java
11457         java/beans/IndexedPropertyDescriptor.java
11458         java/beans/IntrospectionException.java
11459         java/beans/Introspector.java java/beans/MethodDescriptor.java
11460         java/beans/ParameterDescriptor.java
11461         java/beans/PropertyChangeEvent.java
11462         java/beans/PropertyChangeListener.java
11463         java/beans/PropertyChangeSupport.java
11464         java/beans/PropertyDescriptor.java
11465         java/beans/PropertyEditor.java
11466         java/beans/PropertyEditorManager.java
11467         java/beans/PropertyEditorSupport.java
11468         java/beans/PropertyVetoException.java
11469         java/beans/SimpleBeanInfo.java
11470         java/beans/VetoableChangeListener.java
11471         java/beans/VetoableChangeSupport.java
11472         java/beans/Visibility.java
11473         java/beans/beancontext/BeanContext.java
11474         java/beans/beancontext/BeanContextChild.java
11475         java/beans/beancontext/BeanContextChildComponentProxy.java
11476         java/beans/beancontext/BeanContextChildSupport.java
11477         java/beans/beancontext/BeanContextContainerProxy.java
11478         java/beans/beancontext/BeanContextEvent.java
11479         java/beans/beancontext/BeanContextMembershipEvent.java
11480         java/beans/beancontext/BeanContextMembershipListener.java
11481         java/beans/beancontext/BeanContextProxy.java
11482         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11483         java/beans/beancontext/BeanContextServiceProvider.java
11484         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11485         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11486         java/beans/beancontext/BeanContextServiceRevokedListener.java
11487         java/beans/beancontext/BeanContextServices.java
11488         java/beans/beancontext/BeanContextServicesListener.java
11489         java/io/BufferedInputStream.java
11490         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11491         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11492         java/io/ByteArrayOutputStream.java
11493         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11494         java/io/CharConversionException.java java/io/DataInput.java
11495         java/io/DataInputStream.java java/io/DataOutput.java
11496         java/io/EOFException.java java/io/Externalizable.java
11497         java/io/FileFilter.java java/io/FileNotFoundException.java
11498         java/io/FilePermission.java java/io/FileReader.java
11499         java/io/FileWriter.java java/io/FilenameFilter.java
11500         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11501         java/io/FilterReader.java java/io/FilterWriter.java
11502         java/io/IOException.java java/io/InputStream.java
11503         java/io/InterruptedIOException.java
11504         java/io/InvalidClassException.java
11505         java/io/InvalidObjectException.java
11506         java/io/NotActiveException.java
11507         java/io/NotSerializableException.java java/io/ObjectInput.java
11508         java/io/ObjectInputStream.java
11509         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11510         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11511         java/io/ObjectStreamConstants.java
11512         java/io/ObjectStreamException.java
11513         java/io/ObjectStreamField.java
11514         java/io/OptionalDataException.java java/io/OutputStream.java
11515         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11516         java/io/PipedReader.java java/io/PipedWriter.java
11517         java/io/PrintWriter.java java/io/PushbackInputStream.java
11518         java/io/PushbackReader.java java/io/Reader.java
11519         java/io/SequenceInputStream.java java/io/Serializable.java
11520         java/io/SerializablePermission.java
11521         java/io/StreamCorruptedException.java
11522         java/io/StreamTokenizer.java
11523         java/io/StringBufferInputStream.java java/io/StringReader.java
11524         java/io/StringWriter.java java/io/SyncFailedException.java
11525         java/io/UTFDataFormatException.java
11526         java/io/UnsupportedEncodingException.java
11527         java/io/WriteAbortedException.java java/io/Writer.java
11528         java/lang/AbstractMethodError.java
11529         java/lang/ArithmeticException.java
11530         java/lang/ArrayIndexOutOfBoundsException.java
11531         java/lang/ArrayStoreException.java java/lang/Boolean.java
11532         java/lang/Byte.java java/lang/CharSequence.java
11533         java/lang/ClassCastException.java
11534         java/lang/ClassCircularityError.java
11535         java/lang/ClassFormatError.java
11536         java/lang/ClassNotFoundException.java
11537         java/lang/CloneNotSupportedException.java
11538         java/lang/Cloneable.java java/lang/Comparable.java
11539         java/lang/Compiler.java java/lang/Double.java
11540         java/lang/Error.java java/lang/Exception.java
11541         java/lang/ExceptionInInitializerError.java
11542         java/lang/Float.java java/lang/IllegalAccessError.java
11543         java/lang/IllegalAccessException.java
11544         java/lang/IllegalArgumentException.java
11545         java/lang/IllegalMonitorStateException.java
11546         java/lang/IllegalStateException.java
11547         java/lang/IllegalThreadStateException.java
11548         java/lang/IncompatibleClassChangeError.java
11549         java/lang/IndexOutOfBoundsException.java
11550         java/lang/InheritableThreadLocal.java
11551         java/lang/InstantiationError.java
11552         java/lang/InstantiationException.java java/lang/Integer.java
11553         java/lang/InternalError.java
11554         java/lang/InterruptedException.java
11555         java/lang/LinkageError.java java/lang/Long.java
11556         java/lang/NegativeArraySizeException.java
11557         java/lang/NoClassDefFoundError.java
11558         java/lang/NoSuchFieldError.java
11559         java/lang/NoSuchFieldException.java
11560         java/lang/NoSuchMethodError.java
11561         java/lang/NoSuchMethodException.java
11562         java/lang/NullPointerException.java java/lang/Number.java
11563         java/lang/NumberFormatException.java
11564         java/lang/OutOfMemoryError.java java/lang/Package.java
11565         java/lang/Process.java java/lang/Runnable.java
11566         java/lang/RuntimeException.java
11567         java/lang/RuntimePermission.java
11568         java/lang/SecurityException.java
11569         java/lang/SecurityManager.java java/lang/Short.java
11570         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11571         java/lang/StringIndexOutOfBoundsException.java
11572         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11573         java/lang/ThreadLocal.java java/lang/UnknownError.java
11574         java/lang/UnsatisfiedLinkError.java
11575         java/lang/UnsupportedClassVersionError.java
11576         java/lang/UnsupportedOperationException.java
11577         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11578         java/lang/Void.java java/lang/ref/PhantomReference.java
11579         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11580         java/lang/ref/SoftReference.java
11581         java/lang/ref/WeakReference.java
11582         java/lang/reflect/AccessibleObject.java
11583         java/lang/reflect/InvocationTargetException.java
11584         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11585         java/lang/reflect/ReflectPermission.java
11586         java/math/BigDecimal.java java/math/BigInteger.java
11587         java/net/Authenticator.java java/net/BindException.java
11588         java/net/ConnectException.java java/net/ContentHandler.java
11589         java/net/ContentHandlerFactory.java
11590         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11591         java/net/FileNameMap.java java/net/MalformedURLException.java
11592         java/net/MulticastSocket.java java/net/NetPermission.java
11593         java/net/NoRouteToHostException.java
11594         java/net/PasswordAuthentication.java
11595         java/net/ProtocolException.java java/net/ServerSocket.java
11596         java/net/Socket.java java/net/SocketException.java
11597         java/net/SocketImpl.java java/net/SocketImplFactory.java
11598         java/net/SocketOptions.java java/net/SocketPermission.java
11599         java/net/URLDecoder.java java/net/URLEncoder.java
11600         java/net/URLStreamHandlerFactory.java
11601         java/net/UnknownHostException.java
11602         java/net/UnknownServiceException.java
11603         java/rmi/AccessException.java
11604         java/rmi/AlreadyBoundException.java
11605         java/rmi/ConnectException.java
11606         java/rmi/ConnectIOException.java
11607         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11608         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11609         java/rmi/NotBoundException.java
11610         java/rmi/RMISecurityException.java
11611         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11612         java/rmi/RemoteException.java java/rmi/ServerError.java
11613         java/rmi/ServerException.java
11614         java/rmi/ServerRuntimeException.java
11615         java/rmi/StubNotFoundException.java
11616         java/rmi/UnexpectedException.java
11617         java/rmi/UnknownHostException.java
11618         java/rmi/UnmarshalException.java
11619         java/rmi/activation/Activatable.java
11620         java/rmi/activation/ActivateFailedException.java
11621         java/rmi/activation/ActivationDesc.java
11622         java/rmi/activation/ActivationException.java
11623         java/rmi/activation/ActivationGroup.java
11624         java/rmi/activation/ActivationGroupDesc.java
11625         java/rmi/activation/ActivationGroupID.java
11626         java/rmi/activation/ActivationID.java
11627         java/rmi/activation/ActivationInstantiator.java
11628         java/rmi/activation/ActivationMonitor.java
11629         java/rmi/activation/ActivationSystem.java
11630         java/rmi/activation/Activator.java
11631         java/rmi/activation/UnknownGroupException.java
11632         java/rmi/activation/UnknownObjectException.java
11633         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11634         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11635         java/rmi/registry/Registry.java
11636         java/rmi/registry/RegistryHandler.java
11637         java/rmi/server/ExportException.java
11638         java/rmi/server/LoaderHandler.java
11639         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11640         java/rmi/server/Operation.java
11641         java/rmi/server/RMIClassLoader.java
11642         java/rmi/server/RMIClientSocketFactory.java
11643         java/rmi/server/RMIFailureHandler.java
11644         java/rmi/server/RMIServerSocketFactory.java
11645         java/rmi/server/RMISocketFactory.java
11646         java/rmi/server/RemoteCall.java
11647         java/rmi/server/RemoteObject.java
11648         java/rmi/server/RemoteRef.java
11649         java/rmi/server/RemoteServer.java
11650         java/rmi/server/RemoteStub.java
11651         java/rmi/server/ServerCloneException.java
11652         java/rmi/server/ServerNotActiveException.java
11653         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11654         java/rmi/server/SkeletonMismatchException.java
11655         java/rmi/server/SkeletonNotFoundException.java
11656         java/rmi/server/SocketSecurityException.java
11657         java/rmi/server/UID.java
11658         java/rmi/server/UnicastRemoteObject.java
11659         java/rmi/server/Unreferenced.java
11660         java/security/AccessControlContext.java
11661         java/security/AccessControlException.java
11662         java/security/AccessController.java
11663         java/security/AlgorithmParameterGenerator.java
11664         java/security/AlgorithmParameterGeneratorSpi.java
11665         java/security/AlgorithmParameters.java
11666         java/security/AlgorithmParametersSpi.java
11667         java/security/AllPermission.java
11668         java/security/BasicPermission.java
11669         java/security/Certificate.java java/security/CodeSource.java
11670         java/security/DigestException.java
11671         java/security/DigestInputStream.java
11672         java/security/DigestOutputStream.java
11673         java/security/DomainCombiner.java
11674         java/security/DummyKeyPairGenerator.java
11675         java/security/DummyMessageDigest.java
11676         java/security/DummySignature.java
11677         java/security/GeneralSecurityException.java
11678         java/security/Guard.java java/security/GuardedObject.java
11679         java/security/Identity.java java/security/IdentityScope.java
11680         java/security/InvalidAlgorithmParameterException.java
11681         java/security/InvalidKeyException.java
11682         java/security/InvalidParameterException.java
11683         java/security/Key.java java/security/KeyException.java
11684         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11685         java/security/KeyManagementException.java
11686         java/security/KeyPair.java java/security/KeyPairGenerator.java
11687         java/security/KeyPairGeneratorSpi.java
11688         java/security/KeyStore.java
11689         java/security/KeyStoreException.java
11690         java/security/KeyStoreSpi.java
11691         java/security/MessageDigest.java
11692         java/security/MessageDigestSpi.java
11693         java/security/NoSuchAlgorithmException.java
11694         java/security/NoSuchProviderException.java
11695         java/security/Permission.java
11696         java/security/PermissionCollection.java
11697         java/security/Permissions.java java/security/Policy.java
11698         java/security/Principal.java java/security/PrivateKey.java
11699         java/security/PrivilegedAction.java
11700         java/security/PrivilegedActionException.java
11701         java/security/PrivilegedExceptionAction.java
11702         java/security/ProtectionDomain.java
11703         java/security/Provider.java
11704         java/security/ProviderException.java
11705         java/security/PublicKey.java
11706         java/security/SecureClassLoader.java
11707         java/security/SecureRandom.java
11708         java/security/SecureRandomSpi.java java/security/Security.java
11709         java/security/SecurityPermission.java
11710         java/security/Signature.java
11711         java/security/SignatureException.java
11712         java/security/SignatureSpi.java
11713         java/security/SignedObject.java java/security/Signer.java
11714         java/security/UnrecoverableKeyException.java
11715         java/security/UnresolvedPermission.java
11716         java/security/acl/Acl.java java/security/acl/AclEntry.java
11717         java/security/acl/AclNotFoundException.java
11718         java/security/acl/Group.java
11719         java/security/acl/LastOwnerException.java
11720         java/security/acl/NotOwnerException.java
11721         java/security/acl/Owner.java java/security/acl/Permission.java
11722         java/security/cert/CRL.java
11723         java/security/cert/CRLException.java
11724         java/security/cert/Certificate.java
11725         java/security/cert/CertificateEncodingException.java
11726         java/security/cert/CertificateException.java
11727         java/security/cert/CertificateExpiredException.java
11728         java/security/cert/CertificateFactory.java
11729         java/security/cert/CertificateFactorySpi.java
11730         java/security/cert/CertificateNotYetValidException.java
11731         java/security/cert/CertificateParsingException.java
11732         java/security/cert/X509CRL.java
11733         java/security/cert/X509CRLEntry.java
11734         java/security/cert/X509Certificate.java
11735         java/security/cert/X509Extension.java
11736         java/security/interfaces/DSAKey.java
11737         java/security/interfaces/DSAKeyPairGenerator.java
11738         java/security/interfaces/DSAParams.java
11739         java/security/interfaces/DSAPrivateKey.java
11740         java/security/interfaces/DSAPublicKey.java
11741         java/security/interfaces/RSAKey.java
11742         java/security/interfaces/RSAPrivateCrtKey.java
11743         java/security/interfaces/RSAPrivateKey.java
11744         java/security/interfaces/RSAPublicKey.java
11745         java/security/spec/AlgorithmParameterSpec.java
11746         java/security/spec/DSAParameterSpec.java
11747         java/security/spec/DSAPrivateKeySpec.java
11748         java/security/spec/DSAPublicKeySpec.java
11749         java/security/spec/EncodedKeySpec.java
11750         java/security/spec/InvalidKeySpecException.java
11751         java/security/spec/InvalidParameterSpecException.java
11752         java/security/spec/KeySpec.java
11753         java/security/spec/PKCS8EncodedKeySpec.java
11754         java/security/spec/RSAKeyGenParameterSpec.java
11755         java/security/spec/RSAPrivateCrtKeySpec.java
11756         java/security/spec/RSAPrivateKeySpec.java
11757         java/security/spec/RSAPublicKeySpec.java
11758         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11759         java/sql/BatchUpdateException.java java/sql/Blob.java
11760         java/sql/CallableStatement.java java/sql/Clob.java
11761         java/sql/Connection.java java/sql/DataTruncation.java
11762         java/sql/DatabaseMetaData.java java/sql/Date.java
11763         java/sql/Driver.java java/sql/DriverManager.java
11764         java/sql/DriverPropertyInfo.java
11765         java/sql/PreparedStatement.java java/sql/Ref.java
11766         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11767         java/sql/SQLData.java java/sql/SQLException.java
11768         java/sql/SQLInput.java java/sql/SQLOutput.java
11769         java/sql/SQLWarning.java java/sql/Statement.java
11770         java/sql/Struct.java java/sql/Time.java
11771         java/sql/Timestamp.java java/sql/Types.java
11772         java/text/Annotation.java
11773         java/text/AttributedCharacterIterator.java
11774         java/text/AttributedString.java
11775         java/text/AttributedStringIterator.java
11776         java/text/BreakIterator.java java/text/CharacterIterator.java
11777         java/text/ChoiceFormat.java java/text/Collator.java
11778         java/text/DateFormat.java java/text/DateFormatSymbols.java
11779         java/text/DecimalFormat.java
11780         java/text/DecimalFormatSymbols.java
11781         java/text/FieldPosition.java java/text/Format.java
11782         java/text/MessageFormat.java java/text/NumberFormat.java
11783         java/text/ParseException.java java/text/ParsePosition.java
11784         java/text/SimpleDateFormat.java
11785         java/text/StringCharacterIterator.java
11786         java/util/AbstractCollection.java java/util/AbstractList.java
11787         java/util/AbstractMap.java
11788         java/util/AbstractSequentialList.java
11789         java/util/AbstractSet.java java/util/ArrayList.java
11790         java/util/Arrays.java java/util/BasicMapEntry.java
11791         java/util/BitSet.java java/util/Calendar.java
11792         java/util/Collection.java java/util/Collections.java
11793         java/util/Comparator.java
11794         java/util/ConcurrentModificationException.java
11795         java/util/Date.java java/util/Dictionary.java
11796         java/util/EmptyStackException.java java/util/Enumeration.java
11797         java/util/EventListener.java java/util/EventObject.java
11798         java/util/GregorianCalendar.java java/util/HashMap.java
11799         java/util/HashSet.java java/util/Hashtable.java
11800         java/util/IdentityHashMap.java java/util/Iterator.java
11801         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11802         java/util/LinkedList.java java/util/List.java
11803         java/util/ListIterator.java java/util/ListResourceBundle.java
11804         java/util/Locale.java java/util/Map.java
11805         java/util/MissingResourceException.java
11806         java/util/NoSuchElementException.java
11807         java/util/Observable.java java/util/Observer.java
11808         java/util/Properties.java java/util/PropertyPermission.java
11809         java/util/PropertyResourceBundle.java java/util/Random.java
11810         java/util/RandomAccess.java java/util/ResourceBundle.java
11811         java/util/Set.java java/util/SimpleTimeZone.java
11812         java/util/SortedMap.java java/util/SortedSet.java
11813         java/util/Stack.java java/util/StringTokenizer.java
11814         java/util/TimeZone.java java/util/Timer.java
11815         java/util/TimerTask.java
11816         java/util/TooManyListenersException.java
11817         java/util/TreeMap.java java/util/TreeSet.java
11818         java/util/Vector.java java/util/WeakHashMap.java
11819         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11820         java/util/jar/JarException.java java/util/jar/JarFile.java
11821         java/util/jar/JarInputStream.java
11822         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11823         java/util/zip/Adler32.java java/util/zip/CRC32.java
11824         java/util/zip/CheckedInputStream.java
11825         java/util/zip/CheckedOutputStream.java
11826         java/util/zip/Checksum.java
11827         java/util/zip/DataFormatException.java
11828         java/util/zip/Deflater.java
11829         java/util/zip/DeflaterOutputStream.java
11830         java/util/zip/GZIPInputStream.java
11831         java/util/zip/GZIPOutputStream.java
11832         java/util/zip/Inflater.java
11833         java/util/zip/InflaterInputStream.java
11834         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11835         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11836         java/util/zip/ZipInputStream.java
11837         java/util/zip/ZipOutputStream.java
11838         javax/naming/BinaryRefAddr.java
11839         javax/naming/InvalidNameException.java javax/naming/Name.java
11840         javax/naming/NamingException.java javax/naming/RefAddr.java
11841         javax/naming/StringRefAddr.java: Add license clarification.
11842
11843 2002-01-22  Tom Tromey  <tromey@redhat.com>
11844
11845         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11846         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11847         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11848         version.
11849         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11850         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11851         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11852         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11853         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11854         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11855         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11856         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11857         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11858         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11859         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11860         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11861         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11862         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11863         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11864         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11865         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11866         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11867         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11868         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11869         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11870         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11871         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11872         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11873         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11874         (minimumSize, preferredSize, reshape): Likewise.
11875         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11876         getColorModel): New methods.
11877         * java/awt/PopupMenu.java: Merged with Classpath.
11878         * java/awt/MenuBar.java: Merged with Classpath.
11879         * java/awt/SystemColor.java: Replace with Classpath version.
11880         * java/awt/Panel.java: Merged with Classpath.
11881         * java/awt/PaintContext.java: Updated copyright.
11882         * java/awt/MenuShortcut.java: Merged with Classpath.
11883         * java/awt/MenuContainer.java: Merged with Classpath.
11884         * java/awt/Menu.java: Merged with Classpath.
11885         * java/awt/MediaEntry.java: New file from Classpath.
11886         * java/awt/MediaTracker.java: New file from Classpath.
11887         * java/awt/List.java: Merged with Classpath version.
11888         * java/awt/Insets.java: Merged with Classpath version.
11889         * java/awt/ImageMediaEntry.java: New file from Classpath.
11890         * java/awt/Image.java: Replaced with Classpath version.
11891         * java/awt/FontMetrics.java: Merged with Classpath version.
11892         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11893         constant.
11894         * java/awt/Font.java: Merged with Classpath version.
11895         * java/awt/Dialog.java: Merged with Classpath version.
11896         * java/awt/Color.java: Merged with Classpath version.
11897         * java/awt/Choice.java: Merged with Classpath version.
11898         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11899         * java/awt/Adjustable.java: Replace with Classpath version.
11900         * java/awt/MenuItem.java (paramString): Don't include class name
11901         or brackets.  Call superclass paramString.
11902         * java/awt/MenuComponent.java (toString): Call paramString.
11903         (paramString): Compute string; don't call toString.
11904         * java/awt/Label.java (paramString): Don't include class name
11905         or brackets.  Call superclass paramString.
11906         * java/awt/Checkbox.java (paramString): Don't include class name
11907         or brackets.  Call superclass paramString.
11908         * java/awt/Button.java (paramString): Don't include class name or
11909         brackets.  Call superclass paramString.
11910         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11911
11912 2002-01-20  Andreas Schwab  <schwab@suse.de>
11913
11914         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11915         function and of parameter recv_func to ssize_t, as specified by
11916         POSIX.
11917
11918 2002-01-19  Per Bothner  <per@bothner.com>
11919
11920         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11921         uncompressed_size in readiness for next entry.
11922
11923 2002-01-18  Tom Tromey  <tromey@redhat.com>
11924
11925         * java/net/natPlainSocketImpl.cc: Include
11926         IllegalArgumentException.h.
11927         (_Jv_recv): New template function.
11928         (BooleanClass): Removed.
11929         (read): Use _Jv_recv.
11930         (setOption): Use Boolean::class$.  Throw exception if object is
11931         not Boolean or Integer.
11932
11933 2002-01-17  Tom Tromey  <tromey@redhat.com>
11934
11935         * java/awt/MenuComponent.java: Merged with Classpath.
11936         * java/awt/MenuItem.java: Merged with Classpath.
11937         * java/awt/Button.java: Merged with Classpath.
11938
11939         * java/awt/ActiveEvent.java: Updated copyright.
11940
11941         * java/awt/AWTError.java: Replaced with Classpath version.
11942         * java/awt/AWTException.java: Replaced with Classpath version.
11943         * java/awt/IllegalComponentStateException.java: Replaced with
11944         Classpath version.
11945
11946 2002-01-16  Tom Tromey  <tromey@redhat.com>
11947
11948         * java/awt/Canvas.java (serialVersionUID): New constant.
11949         Updated copyright.  Added javadoc from Classpath.
11950         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11951
11952         * java/awt/CheckboxGroup.java: Merged with Classpath.
11953         * java/awt/Checkbox.java: Merged with Classpath.
11954
11955         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11956         Classpath.
11957         * java/awt/Point.java: Updated copyright.
11958
11959         * java/awt/Point.java (toString): Use getClass().getName().
11960         Added javadoc.
11961
11962         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11963         commented code.
11964         (hash): Correctly compute initial value for `h'.
11965
11966         * java/awt/Label.java: Merged with Classpath.
11967
11968 2002-01-15  Tom Tromey  <tromey@redhat.com>
11969
11970         * java/awt/AWTPermission.java: Updated copyright.
11971
11972         * java/awt/LayoutManager2.java: Merged with Classpath.
11973         * java/awt/LayoutManager.java: Merged with Classpath.
11974         * java/awt/GridLayout.java: Updated copyright and javadoc.
11975         (getSize): Use `parent.ncomponents'.  Handle insets.
11976         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11977         there are fewer children than columns.  Correctly compute size of
11978         each cell in the grid.  Handle case where there isn't enough
11979         space.
11980         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11981         all users.
11982         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11983         before calling setVisible() on it.  Last item is `num - 1', not
11984         `num'.
11985         (layoutContainer): Hoist invariants out of loop.
11986
11987         Start of AWT merge with Classpath:
11988         * Makefile.in: Rebuilt.
11989         * Makefile.am (awt_java_source_files): Reference files in
11990         gnu/java/awt, not gnu/gcj/awt.
11991         * java/awt/image/BufferedImage.java: Updated copyright.
11992         * java/awt/image/ComponentColorModel.java: Updated copyright.
11993         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11994         * java/awt/image/DataBuffer.java: Updated copyright.
11995         * java/awt/image/DataBufferByte.java: Updated copyright.
11996         * java/awt/image/DataBufferInt.java: Updated copyright.
11997         * java/awt/image/DataBufferUShort.java: Updated copyright.
11998         * java/awt/image/IndexColorModel.java: Updated copyright.
11999         * java/awt/image/PackedColorModel.java: Updated copyright.
12000         * java/awt/image/Raster.java: Updated copyright.
12001         * java/awt/image/RasterOp.java: Updated copyright.
12002         * java/awt/image/SampleModel.java: Updated copyright.
12003         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12004         * java/awt/image/WritableRaster.java: Updated copyright.
12005         * java/awt/color/ColorSpace.java: Updated copyright.
12006         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12007         * java/awt/color/ICC_Profile.java: Updated copyright.
12008         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12009         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12010         * java/awt/event/HierarchyEvent.java: Updated copyright.
12011         * java/awt/event/HierarchyListener.java: Updated copyright.
12012         * java/awt/geom/AffineTransform.java: Updated copyright.
12013         * java/awt/geom/Dimension2D.java: Updated copyright.
12014         * java/awt/geom/Ellipse2D.java: Updated copyright.
12015         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12016         * java/awt/geom/Line2D.java: Updated copyright.
12017         * java/awt/geom/NoninvertibleTransformException.java: Updated
12018         copyright.
12019         * java/awt/geom/PathIterator.java: Updated copyright.
12020         * java/awt/geom/Point2D.java: Updated copyright.
12021         * java/awt/geom/Rectangle2D.java: Updated copyright.
12022         * java/awt/geom/RectangularShape.java: Updated copyright.
12023         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12024         * java/awt/Toolkit.java: Updated import for file moves.
12025         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12026         Classpath.
12027         (hashCode): New method from Classpath.
12028         * java/awt/Graphics2D.java: Updated copyright.
12029         * java/awt/Transparency.java: Updated copyright.
12030         * java/awt/Paint.java: Updated copyright.
12031         * java/awt/Graphics.java: New version from Classpath.
12032         * java/awt/EventDispatchThread.java: Updated copyright.
12033         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12034         children.
12035         (gotoComponent): Wrap around on next/previous.
12036         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12037         * gnu/gcj/awt/Buffers.java: Removed.
12038         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12039         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12040         * gnu/java/awt/BitMaskExtent.java: Added.
12041         * gnu/java/awt/Buffers.java: Added.
12042         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12043         * gnu/java/awt/GLightweightPeer.java: Added.
12044         * java/awt/geom/Line2D.java (clone): Ignore
12045         CloneNotSupportedException.
12046         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12047         * java/awt/Frame.java: Merged with Classpath.
12048         * java/awt/RenderingHints.java: Copyright update.
12049         * java/awt/Paint.java: Copyright update.
12050         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12051         * java/awt/image/ColorModel.java: Merged with Classpath.
12052         * java/awt/Window.java (show): New Implementation from Classpath.
12053         (isShowing): Use super.isShowing().
12054         * java/awt/EventQueue.java: Merged with Classpath.
12055         * java/awt/AWTEventMulticaster.java (save): Throw
12056         RuntimeException.
12057         (saveInternal): Likewise.
12058         * java/awt/AWTEvent.java: Now implements Serializable.
12059         * java/awt/Event.java: Copyright update.
12060         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12061         * java/awt/image/BufferedImage.java: Copyright update.
12062         * java/awt/GraphicsConfiguration.java: Copyright update.
12063         * java/awt/Component.java: (addNotify): Don't call
12064         addNotifyContainerChildren().
12065         (addNotifyContainerChildren): Removed.
12066         (setPeer): New method from Classpath.
12067         (setTreeLock): Likewise.
12068         (setVisible): Rewrote.
12069         (show): Use it.
12070         (hide): Likewise.
12071         (validate): Set `valid'.
12072         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12073         (createImage(ImageProducer)): Likewise.
12074         (prepareImage): Likewise.
12075         * java/awt/Container.java (addImpl): Handle case where constraint
12076         is not a String.  Post event via system event queue.
12077         (remove): Post event via system event queue.
12078         (validateTree): Only validate child if it is invalid.
12079         (getAlignmentX): Call super method as default.
12080         (getAlignmentY): Likewise.
12081         (addContainerListener): Now synchronized.
12082         (removeContainerListener): Likewise.
12083         (addNotifyContainerChildren): Now private.
12084         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12085         @author.
12086         * java/awt/FlowLayout.java (serialVersionUID): New field.
12087         (setAlignment): Better exception message.
12088         (layoutContainer): Don't compute component's preferred size unless
12089         we're going to use it.
12090         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12091         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12092         (firstLine, lastLine, firstItem, lastItem): New fields.
12093         (addLayoutComponent): Handle case where constraints is null.
12094         Also, handle relative locations.
12095         (removeLayoutComponent): Handle relative locations.
12096         (MIN, MAX, PREF): New constants.
12097         (calcCompSize): New method.
12098         (calcSize): New method.
12099         (minimumLayoutSize): Use it.
12100         (preferredLayoutSize): Likewise.
12101         (maximumLayoutSize): Likewise.
12102         (toString): Include more information.
12103         (setBounds): New method.
12104         (layoutContainer): Use libgcj implementation; extended to handle
12105         relative locations.
12106
12107 2002-01-15  Tom Tromey  <tromey@redhat.com>
12108
12109         * java/lang/Float.java (equals): Preserve old code.
12110         * java/lang/Double.java (equals): Preserve old code.
12111
12112 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12113
12114         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12115         * java/lang/Float.java (equals, compare): Ditto.
12116
12117 2002-01-13  Mark Wielaard  <mark@klomp.org>
12118
12119         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12120         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12121         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12122         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12123
12124 2002-01-11  Mark Wielaard  <mark@klomp.org>
12125
12126         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12127         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12128         InetAddress.
12129         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12130         * java/net/Socket.java: Merge with Classpath.
12131         * java/net/ServerSocket.java: Likewise.
12132
12133 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12134
12135         * interpret.cc (NULLARRAYCHECK): New macro.
12136         (SAVE_PC): Just store `pc'.
12137         (find_exception): Subtract one from `pc' here.
12138         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12139         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12140         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12141         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12142         don't call SAVE_PC.
12143         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12144         call SAVE_PC.
12145
12146 2002-01-11  Tom Tromey  <tromey@redhat.com>
12147
12148         * java/lang/natSystem.cc (init_properties): Only look for default
12149         locale if LC_MESSAGES is defined.
12150         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12151         * configure.in: Call AM_LC_MESSAGES.
12152         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12153
12154 2002-01-10  Tom Tromey  <tromey@redhat.com>
12155
12156         For PR libgcj/5303:
12157         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12158         --version.  Recognize GNU-style long options.  Print GNU-style
12159         error messages.
12160         (usage): Print GNU-style help.  Exit with status 0.
12161         (error): New method.
12162         (run): Print error message if no class names found.
12163         (main): Don't print usage on error.
12164
12165 2002-01-09  Tom Tromey  <tromey@redhat.com>
12166
12167         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12168         property.
12169         (help, version): Use println(), not println("").
12170
12171         For PR libgcj/5303:
12172         * gnu/gcj/convert/Convert.java (error): Program is called
12173         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12174         -1.
12175         (main): Handle --help and --version.
12176         (help): New method.
12177         (version): Likewise.
12178
12179 2002-01-08  Tom Tromey  <tromey@redhat.com>
12180
12181         * Makefile.in: Rebuilt.
12182         * Makefile.am (ordinary_java_source_files): Added new files.
12183         * gnu/java/locale/LocaleInformation.java: Extend
12184         LocaleInformation_en.
12185         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12186         and time/date formats.
12187         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12188         generated.
12189         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12190         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12191         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12192         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12193         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12194         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12195         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12196         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12197         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12198         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12199         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12200         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12201         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12202         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12203         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12204         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12205         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12206         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12207         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12208         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12209         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12210         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12211         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12212         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12213         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12214         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12215         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12216         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12217         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12218         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12219         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12220         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12221         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12222         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12223         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12224         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12225         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12226         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12227         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12228         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12229         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12230         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12231         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12232         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12233         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12234         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12235         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12236         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12237         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12238         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12239         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12240         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12241         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12242         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12243         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12244         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12245         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12246         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12247         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12248         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12249         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12250         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12251         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12252         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12253         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12254         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12255         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12256         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12257         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12258         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12259         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12260         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12261         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12262         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12263         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12264         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12265         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12266         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12267         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12268         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12269         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12270         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12271         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12272         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12273         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12274         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12275         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12276         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12277         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12278         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12279         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12280         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12281         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12282         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12283         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12284         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12285         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12286         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12287         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12288         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12289         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12290         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12291         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12292         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12293         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12294         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12295         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12296         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12297         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12298         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12299         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12300         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12301         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12302         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12303         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12304         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12305         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12306         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12307         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12308         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12309         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12310         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12311         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12312         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12313         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12314         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12315         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12316         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12317         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12318         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12319
12320         For PR libgcj/5031:
12321         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12322         choose default locale.
12323
12324         * Makefile.in: Rebuilt.
12325         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12326
12327 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12328
12329         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12330         sockets.
12331         (close): New function closes the socket.
12332         (write): New functions for output to socket.
12333         (read): New functions for reading from socket.
12334         * java/net/PlainSocketImpl.java: Glue for new timeout
12335         implementation.
12336         (write): Call the native impl.
12337         (read): Likewise.
12338         (getInputStream): Get a stream to read from the socket.
12339         (getOutputStream): Get a stream to write to the socket.
12340
12341 2002-01-08  Tom Tromey  <tromey@redhat.com>
12342
12343         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12344
12345 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12346
12347         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12348         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12349
12350 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12351
12352         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12353         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12354         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12355         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12356         insn_bastore, insn_castore, insn_sastore]: Use it.
12357         (continue1) [insn_arraylength]: Check for null array.
12358
12359 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12360
12361         * configure, include/config.h.in: Rebuilt.
12362         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12363         * configure.in: Call AC_STRUCT_TIMEZONE.
12364
12365 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12366
12367         * configure.host: Disable the interpreter for Darwin.
12368
12369 2002-01-04  Tom Tromey  <tromey@redhat.com>
12370
12371         * java/lang/Thread.java (stop): No longer synchronized.
12372         (start): Likewise.
12373
12374 2002-01-02  Tom Tromey  <tromey@redhat.com>
12375
12376         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12377         patch.
12378
12379 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12380
12381         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12382         PPC Darwin, not for all of Darwin.