fold-const.c (make_range): Do not access operand 1 for a zero-operand operator.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2
3         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4
5 2003-07-09  Michael Koch  <konqueror@gmx.de>
6
7         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
11         Explicitly import used classes.
12         * java/awt/Container.java: New version from classpath.
13
14 2003-07-09  Michael Koch  <konqueror@gmx.de>
15
16         * libgcj.pc.in
17         * Makefile.am
18         * Makefile.in
19         * configure
20         * configure.in
21
22 2003-07-08  Mark Wielaard <mark@klomp.org>
23
24         * gcj/cni.h: CNI now expands to Compiled Native Interface.
25
26         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
27         * java/lang/fdlibm.h: Likewise.
28
29 2003-07-07  Adam Megacz <adam@xwt.org>
30
31         * posix.cc: added #include<stdio.h>
32                 
33 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
34
35         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
36         formatting.
37
38         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
39         (setCaretPosition, setEditable): Rely entirely on native
40         implementation.
41         (getArgs): Remove.
42         (postTextEvent): New method.
43         (handleEvent): New method.
44         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
45         method.
46         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
47         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
48         (keysym_to_awt_keycode): Fix range checks.
49         (generates_key_typed_event): New function.
50         (awt_event_handler): Post AWT_KEY_RELEASED events to event
51         queue.
52         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
53         (gtkInit): Store TextComponent's postTextEvent method ID.
54         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
55         (setText): Post TEXT_VALUE_CHANGED event to event queue.
56
57 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
58
59         * configure.in: Check for usleep declaration.
60         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
61         * configure: Regenerate.
62         * include/config.h.in: Likewise.
63         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
64
65 2003-07-01  Michael Koch  <konqueror@gmx.de>
66
67         * gnu/gcj/convert/natIconv.cc
68         (iconv_init): Fixed possible memory leak by releasing allocated iconv
69         handle.
70
71 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
72
73         * glib-2.0.m4: New file.
74         * gtk-2.0.m4: New file.
75         * glib.m4: Remove.
76         * gtk.m4: Remove.
77         * configure.in: Update AM_PATH_GTK macro call to
78         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
79         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
80         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
81         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
82         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
83         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
84         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
85         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
86         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
87         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
88         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
89         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
90         jni/gtk-peer/gthread-jni.c,
91         jni/gtk-peer/gthread-jni.h:
92         New versions from classpath.
93         * aclocal.m4: Regenerate.
94         * configure: Regenerate.
95         * Makefile.in: Regenerate.
96         * gcj/Makefile.in: Regenerate.
97         * include/Makefile.in: Regenerate.
98         * testsuite/Makefile.in: Regenerate.
99
100 2003-06-30  Gary Benson  <gbenson@redhat.com>
101
102         For PR libgcj/11349:
103         * javax/naming/spi/NamingManager.java (getURLContext): Use
104         correct name for factory class.
105
106 2003-06-28  Michael Koch  <konqueror@gmx.de>
107
108         * java/io/PrintStream.java
109         (checkError): Call flush() instead of direct flushing of the Writer
110         object.
111         (print): Call print(String) instead of direct print method of the
112         Writer Object.
113         (println): Call println(String) instead of direct println method of the
114         Writer Object.
115         (write): Simplified.
116
117 2003-06-28  Michael Koch  <konqueror@gmx.de>
118
119         * java/net/ServerSocket.java
120         (setChannel): New method.
121         * java/net/Socket.java
122         (setChannel): New method.
123
124 2003-06-27  Michael Koch  <konqueror@gmx.de>
125
126         * java/beans/beancontext/BeanContextSupport.java:
127         New version from classpath.
128
129 2003-06-27  Michael Koch  <konqueror@gmx.de>
130
131         * java/awt/Window.java,
132         java/awt/font/GraphicAttribute.java,
133         java/awt/font/ImageGraphicAttribute.java,
134         java/awt/image/DataBufferByte.java,
135         java/awt/image/DataBufferInt.java,
136         java/awt/image/DataBufferUShort.java,
137         java/awt/image/DirectColorModel.java,
138         java/awt/image/PixelGrabber.java:
139         New versions from classpath.
140
141 2003-06-27  Michael Koch  <konqueror@gmx.de>
142
143         * java/security/Certificate.java
144         (getGuarantor): Removed wrong @deprecated tag.
145         (getPrincipal): Likewise.
146         (getPublicKey): Likewise.
147         (encode): Likewise.
148         (decode): Likewise.
149         (getFormat): Likewise.
150         (toString): Likewise.
151         * java/security/cert/PolicyQualifierInfo.java
152         (PolicyQualifierInfo): Made final.
153         * javax/security/auth/x500/X500Principal.java
154         (serialVersionUID): New member variable.
155
156 2003-06-27  Michael Koch  <konqueror@gmx.de>
157
158         * java/text/Format.java
159         (serialVersionUID): Fixed value.
160
161 2003-06-27  Michael Koch  <konqueror@gmx.de>
162
163         * java/net/Inet4Address.java
164         (Inet4Address): Made package-private.
165         * java/net/Inet6Address.java
166         (Inet4Address): Made package-private.
167
168 2003-06-27  Michael Koch  <konqueror@gmx.de>
169
170         * java/io/RandomAccessFile.java
171         (readLine): Removed wrong @deprecated tag.
172         (getChannel): Made final.
173
174 2003-06-27  Michael Koch  <konqueror@gmx.de>
175
176         * gnu/java/nio/FileChannelImpl.java
177         (write): Removed.
178
179 2003-06-27  Michael Koch  <konqueror@gmx.de>
180
181         * java/nio/ByteBufferImpl.java
182         (ByteBufferImpl): Made it a package-private class
183         * java/nio/CharBufferImpl.java
184         (CharBufferImpl): Made it a package-private class
185         * java/nio/DirectByteBufferImpl.java
186         (DirectByteBufferImpl): Made it a package-private class
187         * java/nio/DoubleBufferImpl.java
188         (DoubleBufferImpl): Made it a package-private class
189         * java/nio/FloatBufferImpl.java
190         (FloatBufferImpl): Made it a package-private class
191         * java/nio/IntBufferImpl.java
192         (IntBufferImpl): Made it a package-private class
193         * java/nio/LongBufferImpl.java
194         (LongBufferImpl): Made it a package-private class
195         * java/nio/ShortBufferImpl.java
196         (ShortBufferImpl): Made it a package-private class
197         * java/nio/channels/FileChannel.java
198         (write): Made final.
199         * java/nio/channels/ServerSocketChannel.java
200         (ServerSocketChanne): Made protected.
201
202 2003-06-27  Michael Koch  <konqueror@gmx.de>
203
204         * javax/naming/CompositeName.java
205         (serialVersionUID): New member variable.
206         * javax/naming/CompoundName.java
207         (serialVersionUID): New member variable.
208         * javax/naming/InitialContext.java
209         (InitialContext): Throws NamingException.
210         (init): Likewise.
211         * javax/naming/LinkRef.java
212         (serialVersionUID): New member variable.
213         (gteLinkName): Throws NamingException.
214         * javax/naming/NamingException.java
215         (serialVersionUID): New member variable.
216         * javax/naming/NamingSecurityException.java
217         (NamingSecurityException): Made abstract.
218         (serialVersionUID): New member variable.
219         * javax/naming/ReferralException.java
220         (serialVersionUID): New member variable.
221         * javax/naming/StringRefAddr.java
222         (serialVersionUID): New member variable.
223         * javax/naming/directory/BasicAttribute.java:
224         Reworked imports.
225         (serialVersionUID): New member variable.
226         (get): Throws NamingException.
227         (getAll): Throws NamingException.
228         * javax/naming/directory/BasicAttributes.java:
229         Reworked imports.
230         (serialVersionUID): New member variable.
231         * javax/naming/ldap/UnsolicitedNotificationEvent.java
232         (serialVersionUID): New member variable.
233
234 2003-06-27  Michael Koch  <konqueror@gmx.de>
235
236         * Makefile.am
237         (awt_java_source_files): Added new files:
238         javax/swing/Popup.java,
239         javax/swing/PopupFactory.java
240         * Makefile.in: Regenerated.
241
242 2003-06-27  Michael Koch  <konqueror@gmx.de>
243
244         * javax/swing/JWindow.java,
245         javax/swing/event/AncestorEvent.java,
246         javax/swing/event/HyperlinkEvent.java,
247         javax/swing/event/InternalFrameEvent.java,
248         javax/swing/event/ListDataEvent.java,
249         javax/swing/event/TableModelEvent.java,
250         javax/swing/plaf/PopupMenuUI.java,
251         javax/swing/plaf/SplitPaneUI.java,
252         javax/swing/plaf/TabbedPaneUI.java,
253         javax/swing/plaf/TextUI.java,
254         javax/swing/plaf/TreeUI.java,
255         javax/swing/plaf/basic/BasicTextUI.java,
256         javax/swing/plaf/basic/BasicTreeUI.java:
257         New versions from classpath.
258         * javax/swing/Popup.java,
259         javax/swing/PopupFactory.jav:
260         New source files from classpath.
261         * javax/swing/plaf/doc-files/TreeUI-1.png:
262         New binary files from classpath.
263
264 2003-06-25  Michael Koch  <konqueror@gmx.de>
265
266         * Makefile.am
267         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
268         * Makefile.in: Regenerated.
269
270 2003-06-25  Michael Koch  <konqueror@gmx.de>
271
272         * javax/swing/plaf/ActionMapUIResource.java,
273         javax/swing/plaf/BorderUIResource.java,
274         javax/swing/plaf/ButtonUI.java,
275         javax/swing/plaf/ColorChooserUI.java,
276         javax/swing/plaf/ColorUIResource.java,
277         javax/swing/plaf/ComboBoxUI.java,
278         javax/swing/plaf/ComponentInputMapUIResource.java,
279         javax/swing/plaf/ComponentUI.java,
280         javax/swing/plaf/DesktopIconUI.java,
281         javax/swing/plaf/DesktopPaneUI.java,
282         javax/swing/plaf/DimensionUIResource.java,
283         javax/swing/plaf/FileChooserUI.java,
284         javax/swing/plaf/FontUIResource.java,
285         javax/swing/plaf/IconUIResource.java,
286         javax/swing/plaf/InputMapUIResource.java,
287         javax/swing/plaf/InsetsUIResource.java,
288         javax/swing/plaf/InternalFrameUI.java,
289         javax/swing/plaf/LabelUI.java,
290         javax/swing/plaf/ListUI.java,
291         javax/swing/plaf/MenuBarUI.java,
292         javax/swing/plaf/MenuItemUI.java,
293         javax/swing/plaf/OptionPaneUI.java,
294         javax/swing/plaf/PanelUI.java,
295         javax/swing/plaf/ProgressBarUI.java,
296         javax/swing/plaf/RootPaneUI.java,
297         javax/swing/plaf/ScrollBarUI.java,
298         javax/swing/plaf/ScrollPaneUI.java,
299         javax/swing/plaf/SeparatorUI.java,
300         javax/swing/plaf/SliderUI.java,
301         javax/swing/plaf/TableHeaderUI.java,
302         javax/swing/plaf/TableUI.java,
303         javax/swing/plaf/ToolBarUI.java,
304         javax/swing/plaf/ToolTipUI.java,
305         javax/swing/plaf/ViewportUI.java:
306         New versions from classpath.
307         * javax/swing/plaf/SpinnerUI.java: 
308         New file from classpath
309
310 2003-06-25  Michael Koch  <konqueror@gmx.de>
311
312         * java/awt/image/ColorModel.java:
313         New version from classpath.
314
315 2003-06-25  Michael Koch  <konqueror@gmx.de>
316
317         * java/net/PlainDatagramSocketImpl.java:
318         Partly merged with classpath, this mainly adds documentation.
319
320 2003-06-25  Michael Koch  <konqueror@gmx.de>
321
322         * java/io/ObjectInputStream.java
323         (readClassDescriptor): New method.
324         (readObject): Moved functionality to readClassDescriptor().
325         * java/io/ObjectOutputStream.java
326         (writeClassDescriptor): New method.
327         (writeObject): Moved functionality to writeClassDescriptor().
328
329 2003-06-25  Michael Koch  <konqueror@gmx.de>
330
331         * javax/swing/plaf/basic/BasicListUI.java,
332         javax/swing/plaf/basic/BasicOptionPaneUI.java:
333         Added missing methods.
334
335 2003-06-25  Michael Koch  <konqueror@gmx.de>
336
337         * javax/swing/event/AncestorEvent.java
338         javax/swing/event/HyperlinkEvent.java
339         javax/swing/event/InternalFrameEvent.java
340         javax/swing/event/ListDataEvent.java
341         javax/swing/event/TableModelEvent.java:
342         Compile fixes.
343
344 2003-06-24  Michael Koch  <konqueror@gmx.de>
345
346         * java/net/URL.java:
347         Renamed "handler" to "ph" in the whole file to match classpaths
348         version.
349         * java/net/URLStreamHandler.java:
350         (equals): Renamed "handler" to "ph".
351
352 2003-06-24  Michael Koch  <konqueror@gmx.de>
353
354         * javax/swing/event/AncestorEvent.java,
355         javax/swing/event/HyperlinkEvent.java,
356         javax/swing/event/InternalFrameEvent.java,
357         javax/swing/event/ListDataEvent.java,
358         javax/swing/event/TableModelEvent.java,
359         javax/swing/event/TreeWillExpandListener.java,
360         javax/swing/plaf/ComponentUI.java,
361         javax/swing/plaf/DesktopIconUI.java,
362         javax/swing/plaf/DesktopPaneUI.java,
363         javax/swing/plaf/DimensionUIResource.java,
364         javax/swing/plaf/FileChooserUI.java,
365         javax/swing/plaf/FontUIResource.java,
366         javax/swing/plaf/IconUIResource.java,
367         javax/swing/plaf/InputMapUIResource.java,
368         javax/swing/plaf/InsetsUIResource.java,
369         javax/swing/plaf/InternalFrameUI.java,
370         javax/swing/plaf/LabelUI.java,
371         javax/swing/plaf/ListUI.java,
372         javax/swing/plaf/MenuBarUI.java,
373         javax/swing/plaf/MenuItemUI.java,
374         javax/swing/plaf/OptionPaneUI.java,
375         javax/swing/plaf/PanelUI.java,
376         javax/swing/plaf/ProgressBarUI.java,
377         javax/swing/plaf/doc-files/ComponentUI-1.dia,
378         javax/swing/plaf/doc-files/ComponentUI-1.png:
379         New versions from classpath.
380
381 2003-06-24  Michael Koch  <konqueror@gmx.de>
382
383         * java/nio/Buffer.java
384         (cap): Made package-private.
385         (pos): Likewise.
386         (limit): Likewise.
387         (mark): Likewise.
388
389 2003-06-24  Michael Koch  <konqueror@gmx.de>
390
391         * java/net/SocketImpl.java
392         (shutdownInput): Made it non-abstract method throwing an exception
393         like in SUNs JRE.
394         (shutdownOutput): Likewise.
395         * java/net/SocketInputStream.java,
396         java/net/SocketOutputStream.java:
397         New files from classpath.
398
399 2003-06-24  Michael Koch  <konqueror@gmx.de>
400
401         * java/awt/Font.java,
402         java/awt/Window.java,
403         java/awt/color/ColorSpace.java,
404         java/awt/datatransfer/StringSelection.java,
405         java/awt/image/ColorModel.java:
406         New versions from classpath.
407
408 2003-06-24  Michael Koch  <konqueror@gmx.de>
409
410         * Makefile.am
411         (awt_java_source_files): Added new files:
412         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
413         javax/swing/plaf/basic/BasicSplitPaneUI.java
414         * Makefile.in: Regenerated.
415
416 2003-06-24  Michael Koch  <konqueror@gmx.de>
417
418         * javax/swing/text/JTextComponent.java:
419         New version from classpath.
420
421 2003-06-24  Michael Koch  <konqueror@gmx.de>
422
423         * javax/swing/Timer.java,
424         javax/swing/plaf/ActionMapUIResource.java,
425         javax/swing/plaf/ButtonUI.java,
426         javax/swing/plaf/ColorChooserUI.java,
427         javax/swing/plaf/ColorUIResource.java,
428         javax/swing/plaf/ComboBoxUI.java,
429         javax/swing/plaf/ComponentInputMapUIResource.java,
430         javax/swing/plaf/basic/BasicBorders.java:
431         New versions from classpath.
432         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
433         javax/swing/plaf/basic/BasicSplitPaneUI.java:
434         New file from classpath.
435         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
436         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
437         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
438         javax/swing/plaf/doc-files/ComponentUI-1.dia,
439         javax/swing/plaf/doc-files/ComponentUI-1.png:
440         New binary files from classpath.
441
442 2003-06-24  Michael Koch  <konqueror@gmx.de>
443
444         * java/io/LineNumberReader.java
445         (skip): Dont do line number accounting here as this is already done in
446         read(), simplified.
447
448 2003-06-21  Michael Koch  <konqueror@gmx.de>
449
450         * java/io/File.java
451         (static): Load javaio lib if existing (only in classpath).
452         (File): Revised documentation to show the correct argument name.
453         (createTempFile): Partly merged with classpath.
454         (compareTo): Simplified.
455         (lastModified): Throw exception if time < 0.
456         (deleteOnExit): Revised documentation.
457
458 2003-06-21  Michael Koch  <konqueror@gmx.de>
459
460         * java/net/PlainSocketImpl.java:
461         Reformatted.
462         (PlainSocketImpl): Merged class documentaion with classpath.
463         (in): Moved.
464         (out): Moved.
465         (PlainSocketImpl): New empty constructor.
466         (finalize): Moved.
467         (setOption): Merged documentation from classpath.
468         (getOption): Likewise.
469         (create): Likewise.
470         (connect): Likewise.
471         (bind): Likewise.
472         (listen): Likewise.
473         (accept): Likewise.
474         (available): Likewise.
475         (close): Likewise.
476         (read): Likewise.
477         (write): Likewise.
478         (getInputStream): Made synchronozed to get sure that only one stream
479         object can be created for this socket, merged documentation from
480         classpath.
481         (getOutputStream): Likewise.
482
483 2003-06-21  Michael Koch  <konqueror@gmx.de>
484
485         * java/net/PlainSocketImpl.java:
486         Reformatting.
487         (static): New implicit method.
488         (read): Made package private.
489         (write): Likewise.
490
491 2003-06-21  Michael Koch  <konqueror@gmx.de>
492
493         * java/util/SimpleTimeZone.java:
494         Removed unneeded import, reformatting.
495
496 2003-06-21  Michael Koch  <konqueror@gmx.de>
497
498         * java/text/DateFormat.java,
499         java/text/SimpleDateFormat.java,
500         java/util/Locale.java:
501         New versions from classpath.
502
503 2003-06-21  Michael Koch  <konqueror@gmx.de>
504
505         * javax/swing/SpinnerModel.java:
506         New file from classpath.
507         * javax/swing/border/LineBorder.java,
508         javax/swing/border/SoftBevelBorder.java,
509         javax/swing/plaf/BorderUIResource.java,
510         javax/swing/plaf/basic/BasicBorders.java:
511         New versions from classpath.
512         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
513         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
514         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
515         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
516         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
517         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
518         New binary files from classpath.
519
520 2003-06-21  Michael Koch  <konqueror@gmx.de>
521
522         * java/util/logging/LogRecord.java,
523         java/util/logging/Logger.java,
524         java/util/logging/SocketHandler.java,
525         java/util/logging/SimpleFormatter.java,
526         java/util/logging/Formatter.java,
527         java/util/logging/ErrorManager.java,
528         java/util/logging/Handler.java,
529         java/util/logging/FileHandler.java,
530         java/util/logging/LogManager.java,
531         java/util/logging/Level.java,
532         java/util/logging/ConsoleHandler.java,
533         java/util/logging/StreamHandler.java,
534         java/util/logging/LoggingPermission.java,
535         java/util/logging/Filter.java,
536         java/util/logging/MemoryHandler.java,
537         java/util/logging/XMLFormatter.java:
538         New files from classpath.
539
540 2003-06-20  Michael Koch  <konqueror@gmx.de>
541
542         * java/io/ObjectStreamField.java
543         (unshared): new member variable.
544         (ObjectStreamField): New constructor.
545         (isUnshared): New method.
546
547 2003-06-20  Michael Koch  <konqueror@gmx.de>
548
549         * java/net/URLStreamHandler.java
550         (hostsEqual): Rewritten.
551
552 2003-06-20  Michael Koch  <konqueror@gmx.de>
553
554         * gnu/java/nio/MappedByteFileBuffer.java,
555         gnu/java/nio/natMappedByteFileBuffer.cc:
556         Removed
557         * java/nio/MappedByteBufferImpl.java:
558         New file.
559         * gnu/java/nio/FileChannelImpl.java:
560         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
561         * Makefile.am
562         (ordinary_java_source_files): Removed
563         gnu/java/nio/MappedByteFileBuffer.java and added
564         java/nio/MappedByteBufferImpl.java.
565         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
566         * Makefile.in: Regenerated.
567
568 2003-06-19  Michael Koch  <konqueror@gmx.de>
569
570         * gnu/java/nio/DatagramChannelImpl.java
571         (fd): Removed.
572         (blocking): New member variable.
573         (socket): Likewise.
574         (DatagramChannelImpl): Throws IOException, initialize socket.
575         (socket):Implemented.
576         (implCloseSelectableChannel): Throws IOException, implemented.
577         (implConfigureBlocking): Likewise.
578         (connect): Likewise.
579         (disconnect): Likewise.
580         (isConnected): Likewise.
581         (write): Likewise.
582         (read): Likewise.
583         (receive): Throws IOException.
584         (send): Likewise.
585         * gnu/java/nio/SocketChannelImpl.java
586         (read): Implemented.
587         (write): Implemented.
588
589 2003-06-19  Michael Koch  <konqueror@gmx.de>
590
591         * javax/swing/JComponent.java,
592         javax/swing/JInternalFrame.java,
593         javax/swing/MenuSelectionManager.java,
594         javax/swing/SwingUtilities.java,
595         javax/swing/ToggleButtonModel.java:
596         New versions from classpath.
597
598 2003-06-19  Michael Koch  <konqueror@gmx.de>
599
600         * java/text/CollationElementIterator.java
601         (NULLORDER): Initialize with -1 as JDK documentation says.
602
603 2003-06-19  Michael Koch  <konqueror@gmx.de>
604
605         * java/net/HttpURLConnection.java,
606         java/net/Inet4Address.java,
607         java/net/Inet6Address.java,
608         java/net/SocketImpl.java,
609         java/net/URLClassLoader.java:
610         Reworked import statements.
611         * java/net/InetAddress.java
612         (getByAddress): Simplified.
613         * java/net/ServerSocket.java
614         (ServerSocket): Moved special handling during bind operation to
615         bind().
616         (bind): Handle different cases when trying to bind a socket.
617         * java/net/URLConnection.java
618         (getHeaderFieldDate): Merged with classpath.
619         (getHeaderFieldInt): Likewise.
620
621 2003-06-19  Michael Koch  <konqueror@gmx.de>
622
623         * java/util/zip/InflaterInputStream.java
624         (InflaterInputStream): Throw NullPointerException if in is null (as
625         JDK does).
626
627 2003-06-19  Michael Koch  <konqueror@gmx.de>
628
629         * java/awt/Font.java
630         javax/swing/UIManager.java
631         javax/swing/border/AbstractBorder.java
632         javax/swing/border/BevelBorder.java
633         javax/swing/border/Border.java
634         javax/swing/border/CompoundBorder.java
635         javax/swing/border/EmptyBorder.java
636         javax/swing/border/EtchedBorder.java
637         javax/swing/border/LineBorder.java
638         javax/swing/border/MatteBorder.java
639         javax/swing/border/TitledBorder.java
640         javax/swing/plaf/BorderUIResource.java
641         javax/swing/plaf/basic/BasicBorders.java
642         javax/swing/plaf/basic/BasicButtonUI.java
643         javax/swing/plaf/basic/BasicCheckBoxUI.java
644         javax/swing/plaf/basic/BasicGraphicsUtils.java
645         javax/swing/plaf/basic/BasicLabelUI.java
646         javax/swing/plaf/basic/BasicRadioButtonUI.java
647         javax/swing/plaf/basic/BasicToggleButtonUI.java:
648         New versions from classpath.
649         * javax/swing/border/SoftBevelBorder.java:
650         New file from classpath.
651         * javax/swing/border/doc-files/LineBorder-1.png,
652         javax/swing/border/doc-files/BevelBorder-1.png,
653         javax/swing/border/doc-files/BevelBorder-2.png,
654         javax/swing/border/doc-files/BevelBorder-3.png,
655         javax/swing/border/doc-files/EmptyBorder-1.png,
656         javax/swing/border/doc-files/EtchedBorder-1.png,
657         javax/swing/border/doc-files/EtchedBorder-2.png,
658         javax/swing/border/doc-files/MatteBorder-1.png,
659         javax/swing/border/doc-files/MatteBorder-2.png,
660         javax/swing/border/doc-files/MatteBorder-3.png,
661         javax/swing/border/doc-files/MatteBorder-4.png,
662         javax/swing/border/doc-files/MatteBorder-5.png,
663         javax/swing/border/doc-files/MatteBorder-6.png,
664         javax/swing/border/doc-files/SoftBevelBorder-1.png,
665         javax/swing/border/doc-files/SoftBevelBorder-2.png,
666         javax/swing/border/doc-files/SoftBevelBorder-3.png,
667         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
668         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
669         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
670         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
671         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
672         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
673         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
674         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
675         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
676         New binary files from classpath.
677         * Makefile.am
678         (awt_java_source_files): Added
679         javax/swing/border/SoftBevelBorder.java.
680         * Makefile.in: Regenerated.
681
682 2003-06-19  Michael Koch  <konqueror@gmx.de>
683
684         * gnu/java/security/x509/X509Certificate.java
685         (writeReplace): Merged from classpath.
686
687 2003-06-19  Michael Koch  <konqueror@gmx.de>
688
689         * gnu/java/nio/FileChannelImpl.java
690         (map_address): Made public.
691         (FileChannelImpl): Merged with classpath.
692         * gnu/java/nio/natFileChannelImpl.cc
693         (nio_mmap_file): Commented out unused arguments.
694         (nio_unmmap_file): Likewise.
695         (niu_msync): Likewise.
696
697 2003-06-19  Michael Koch  <konqueror@gmx.de>
698
699         * java/awt/image/IndexColorModel.java:
700         New version from classpath.
701
702 2003-06-18  Tom Tromey  <tromey@redhat.com>
703
704         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
705         on arrays.
706         (isLoopbackAddress): Likewise.
707         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
708         on arrays.
709
710 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
711
712         * java/lang/natVMSecurityManager.cc (getClassContext):
713         Use maxlen instead of len for loop bound.
714
715 2003-06-18  Michael Koch  <konqueror@gmx.de>
716
717         * gnu/java/nio/SelectorImpl.java
718         (register): Use fd with value 0 for now, will be fixed later.
719         * gnu/java/nio/ServerSocketChannelImpl.java
720         (fd): Removed.
721         (local_port): Removed.
722         (InetSocketAddress): Removed.
723         (ServerSocketChannelImpl): Just initialize internal socket object.
724         (implCloseSelectableChannel): Close internal socket object.
725         (implConfigureBlocking): Added comment.
726         (accept): Use jaba.net stuff to accept socket.
727         * gnu/java/nio/SocketChannelImpl.java
728         (fd): Removed.
729         (local_port): Removed.
730         (InetSocketAddress): Removed.
731         (SocketCreate): Removed.
732         (SocketConnect): Removed.
733         (SocketBind): Removed.
734         (SocketListen): Removed.
735         (SocketAvailable): Removed.
736         (SocketClose): Removed.
737         (SocketRead): Removed.
738         (SocketWrite): Removed.
739         (SocketChannelImpl): Just initialize internal socket object.
740         (implCloseSelectableChannel): Close internal socket object.
741         (implConfigureBlocking): Fixed implementation, added comment.
742         (connect): Use internal socket object to connect.
743         (socket): No need for sanity checks.
744         (read): Comment out some stuff, this will be reimplemented in the next
745         commit.
746         (write): Likewise.
747         * gnu/java/nio/natFileChannelImpl.cc
748         (nio_mmap_file): Line wrapped.
749         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
750         * Makefile.am
751         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
752         * Makefile.in: Regenerated.
753
754 2003-06-18  Michael Koch  <konqueror@gmx.de>
755
756         * java/util/Locale.java
757         (equals): Merged from classpath.
758
759 2003-06-18  Michael Koch  <konqueror@gmx.de>
760
761         * java/net/InetAddress.java:
762         Reformatted to better match classpath's version.
763         * java/net/URL.java
764         (equals): Simplified.
765         * java/net/URLConnection.java
766         (setDoInput): Revised documentation.
767         (getDefaultUseCaches): Likewise.
768         (setRequestProperty): Added @since tag.
769
770 2003-06-17  Michael Koch  <konqueror@gmx.de>
771
772         * java/net/InetSocketAddress.java
773         (InetSocketAddress): Use wildcard address if addr is null.
774         (InetSocketAddress): Dont duplicate implementation.
775         (InetSocketAddress): Throw exception when hostname is null.
776         * java/net/Socket.java:
777         Reworked imports.
778         (Socket): Throw exception when raddr is null, handle case when laddr
779         is null.
780
781 2003-06-17  Michael Koch  <konqueror@gmx.de>
782
783         * java/nio/DirectByteBufferImpl.java
784         (address): Made package private.
785         (DirectByteBufferImpl): New constructor.
786         * java/nio/natDirectByteBufferImpl.cc
787         (allocateImpl): Moved to java.nio namespace, implemented.
788         (freeImpl): Likewise.
789         (getImpl): Likewise.
790         (putImpl): Likewise.
791         * jni.cc
792         (_Jv_JNI_NewDirectByteBuffer): Implemented.
793         (_Jv_JNI_GetDirectBufferAddress): Implemented.
794         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
795
796 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
797
798         * include/powerpc-signal.h: New File.
799         * configure.in: Use it.
800         * configure: Regenerated.
801
802 2003-06-17  Michael Koch  <konqueror@gmx.de>
803
804         * java/util/Locale.java
805         (getDisplayLanguage): Made it final.
806         (getDisplayCountry): Likewise.
807         (getDisplayVariant): Likewise.
808         (getDisplayName): Likewise.
809
810 2003-06-17  Michael Koch  <konqueror@gmx.de>
811
812         * java/util/PropertyResourceBundle.java:
813         Removed unneeded import.
814
815 2003-06-17  Michael Koch  <konqueror@gmx.de>
816
817         * java/util/prefs/AbstractPreferences.java,
818         java/util/prefs/PreferencesFactory.java:
819         Reworked imports, removed unused imports.
820         * java/util/prefs/Preferences.java
821         (systemNodeForPackage): Method takes a Class not an Object.
822         (userNodeForPackage): Likewise.
823         (nodeForPackage): Likewise.
824
825 2003-06-17  Michael Koch  <konqueror@gmx.de>
826
827         * gnu/java/security/x509/X509Certificate.java:
828         Explicitely import used classes.
829
830 2003-06-17  Michael Koch  <konqueror@gmx.de>
831
832         * java/util/zip/ZipEntry.java,
833         java/util/zip/ZipFile.java,
834         java/util/zip/ZipInputStream.java,
835         java/util/zip/ZipOutputStream.java:
836         Reworked imports, only import used classes.
837
838 2003-06-17  Michael Koch  <konqueror@gmx.de>
839
840         * gnu/java/lang/ArrayHelper.java,
841         gnu/java/lang/ClassHelper.java:
842         Reformatted to match classpath's versions.
843
844 2003-06-14  Michael Koch  <konqueror@gmx.de>
845
846         * gnu/java/nio/FileChannelImpl.java
847         (map_address): Removed incorrect comment.        
848         * gnu/java/nio/SelectorImpl.java
849         (register): Remove code duplication and code for file channel handling.        
850         * gnu/java/nio/ServerSocketChannelImpl.java
851         (serverSocket): Renamed from sock_object.
852         (ServerSocketChannel): Initialize serverSocket.
853         (socket): Return serverSocket.
854         * gnu/java/nio/SocketChannelImpl.java
855         (socket): Renamed from sock_object.
856         (isConnectionPenging): Simplified.
857         (socket): Return socket.
858 2003-06-14  Michael Koch  <konqueror@gmx.de>
859
860         * java/security/BasicPermission.java:
861         New version from classpath.
862
863 2003-06-14  Michael Koch  <konqueror@gmx.de>
864
865         * javax/naming/directory/Attribute.java:
866         New version from classpath.
867
868 2003-06-14  Michael Koch  <konqueror@gmx.de>
869
870         * java/io/BufferedReader.java,
871         java/io/FileOutputStream.java:
872         New versions from classpath.
873
874 2003-06-12  Andrew Haley  <aph@redhat.com>
875
876         * prims.cc (catch_segv): Create exception in handler.
877         (catch_fpe): Likewise.  
878         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
879         (_Jv_ThrowSignal): Remove.
880
881         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
882         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
883         to nullp and arithexception.
884         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
885         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
886         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
887         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
888         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
889
890 2003-06-11  Andrew Haley  <aph@redhat.com>
891
892         * jni.cc (_Jv_JNI_check_types): New.
893         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
894         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
895         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
896         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
897         
898         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
899         infinite loop.
900
901 2003-06-11  Tom Tromey  <tromey@redhat.com>
902
903         * java/lang/ClassLoader.java (loadClass): Not deprecated.
904         * java/io/PrintStream.java: Not deprecated.
905
906 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
907
908         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
909         (fillOval): implemented
910         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
911         (fillArc): implemented.
912         * gnu/gcj/xlib/GC.java (drawArc): added native method.
913         (fillArc): added native method.
914         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
915         (fillArc): added native method.
916
917 2003-06-11  Michael Koch  <konqueror@gmx.de>
918
919         * java/awt/im/InputSubset.java:
920         New version from classpath.
921
922 2003-06-11  Michael Koch  <konqueror@gmx.de>
923
924         * javax/swing/AbstractAction.java,
925         javax/swing/AbstractButton.java,
926         javax/swing/AbstractCellEditor.java,
927         javax/swing/AbstractListModel.java,
928         javax/swing/BorderFactory.java,
929         javax/swing/Box.java,
930         javax/swing/BoxLayout.java,
931         javax/swing/ButtonGroup.java,
932         javax/swing/DefaultButtonModel.java,
933         javax/swing/DefaultListModel.java,
934         javax/swing/DefaultListSelectionModel.java,
935         javax/swing/FocusManager.java,
936         javax/swing/ImageIcon.java,
937         javax/swing/InputMap.java,
938         javax/swing/JApplet.java,
939         javax/swing/JButton.java,
940         javax/swing/JCheckBox.java,
941         javax/swing/JCheckBoxMenuItem.java,
942         javax/swing/JColorChooser.java,
943         javax/swing/JComboBox.java,
944         javax/swing/JComponent.java,
945         javax/swing/JDesktopPane.java,
946         javax/swing/JDialog.java,
947         javax/swing/JEditorPane.java,
948         javax/swing/JFileChooser.java,
949         javax/swing/JFormattedTextField.java,
950         javax/swing/JFrame.java,
951         javax/swing/JLabel.java,
952         javax/swing/JLayeredPane.java,
953         javax/swing/JList.java,
954         javax/swing/JMenuBar.java,
955         javax/swing/JMenuItem.java,
956         javax/swing/JOptionPane.java,
957         javax/swing/JPanel.java,
958         javax/swing/JPasswordField.java,
959         javax/swing/JPopupMenu.java,
960         javax/swing/JProgressBar.java,
961         javax/swing/JRadioButton.java,
962         javax/swing/JRadioButtonMenuItem.java,
963         javax/swing/JRootPane.java,
964         javax/swing/JScrollBar.java,
965         javax/swing/JScrollPane.java,
966         javax/swing/JSeparator.java,
967         javax/swing/JSlider.java,
968         javax/swing/JTabbedPane.java,
969         javax/swing/JTable.java,
970         javax/swing/JTextField.java,
971         javax/swing/JToggleButton.java,
972         javax/swing/JToolBar.java,
973         javax/swing/JToolTip.java,
974         javax/swing/JTree.java,
975         javax/swing/JViewport.java,
976         javax/swing/JWindow.java,
977         javax/swing/KeyStroke.java,
978         javax/swing/ListSelectionModel.java,
979         javax/swing/LookAndFeel.java,
980         javax/swing/RepaintManager.java,
981         javax/swing/ScrollPaneLayout.java,
982         javax/swing/SizeRequirements.java,
983         javax/swing/SwingConstants.java,
984         javax/swing/Timer.java,
985         javax/swing/UIDefaults.java,
986         javax/swing/UIManager.java,
987         javax/swing/border/AbstractBorder.java,
988         javax/swing/border/CompoundBorder.java,
989         javax/swing/colorchooser/AbstractColorChooserPanel.java,
990         javax/swing/colorchooser/ColorChooserComponentFactory.java,
991         javax/swing/colorchooser/ColorSelectionModel.java,
992         javax/swing/colorchooser/DefaultColorSelectionModel.java,
993         javax/swing/event/AncestorEvent.java,
994         javax/swing/event/HyperlinkEvent.java,
995         javax/swing/event/InternalFrameAdapter.java,
996         javax/swing/event/InternalFrameEvent.java,
997         javax/swing/event/ListDataEvent.java,
998         javax/swing/event/MouseInputAdapter.java,
999         javax/swing/event/SwingPropertyChangeSupport.java,
1000         javax/swing/event/TableModelEvent.java,
1001         javax/swing/event/TreeWillExpandListener.java,
1002         javax/swing/event/UndoableEditEvent.java,
1003         javax/swing/filechooser/FileFilter.java,
1004         javax/swing/filechooser/FileSystemView.java,
1005         javax/swing/filechooser/FileView.java,
1006         javax/swing/plaf/BorderUIResource.java,
1007         javax/swing/plaf/basic/BasicDefaults.java,
1008         javax/swing/table/AbstractTableModel.java,
1009         javax/swing/table/DefaultTableCellRenderer.java,
1010         javax/swing/table/DefaultTableColumnModel.java,
1011         javax/swing/table/DefaultTableModel.java,
1012         javax/swing/table/TableColumn.java,
1013         javax/swing/text/JTextComponent.java,
1014         javax/swing/tree/AbstractLayoutCache.java,
1015         javax/swing/tree/DefaultMutableTreeNode.java,
1016         javax/swing/tree/DefaultTreeCellEditor.java,
1017         javax/swing/tree/DefaultTreeCellRenderer.java,
1018         javax/swing/tree/DefaultTreeModel.java,
1019         javax/swing/tree/DefaultTreeSelectionModel.java,
1020         javax/swing/tree/FixedHeightLayoutCache.java,
1021         javax/swing/tree/TreeCellEditor.java,
1022         javax/swing/tree/TreeModel.java,
1023         javax/swing/tree/TreeNode.java,
1024         javax/swing/tree/TreePath.java,
1025         javax/swing/tree/TreeSelectionModel.java,
1026         javax/swing/tree/VariableHeightLayoutCache.java,
1027         javax/swing/undo/AbstractUndoableEdit.java,
1028         javax/swing/undo/CompoundEdit.java,
1029         javax/swing/undo/StateEdit.java,
1030         javax/swing/undo/UndoManager.java,
1031         javax/swing/undo/UndoableEditSupport.java:
1032         New versions from classpath.
1033         * javax/swing/table/JTableHeader.java:
1034         New file from classpath.
1035         * Makefile.am
1036         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1037         * Makefile.in: Regenerated.
1038
1039 2003-06-11  Michael Koch  <konqueror@gmx.de>
1040
1041         * java/nio/MappedByteBuffer.java,
1042         java/nio/channels/Channels.java,
1043         java/nio/channels/ServerSocketChannel.java,
1044         java/nio/channels/spi/AbstractSelector.java:
1045         Removed unneeded imports.
1046
1047 2003-06-11  Michael Koch  <konqueror@gmx.de>
1048
1049         * java/net/DatagramSocket.java:
1050         Partly merged with classpath.
1051
1052 2003-06-11  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/awt/Frame.java,
1055         java/awt/Graphics.java,
1056         java/awt/Menu.java,
1057         java/awt/Robot.java,
1058         java/awt/image/ColorModel.java:
1059         New versions from classpath.
1060
1061 2003-06-10  Michael Koch  <konqueror@gmx.de>
1062
1063         * java/io/PrintStream.java:
1064         Merged version from classpath.
1065         (close): Removed sychronized keyword. This class is not garantied to
1066         be thread-safe.
1067         (write): Likewise.
1068
1069 2003-06-09  Tom Tromey  <tromey@redhat.com>
1070
1071         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1072         field.
1073         (getDescent): Likewise, for "descent".
1074
1075 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1076
1077         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1078         (getMaxDescent): adjusted return value.
1079         (getAscent): modified to use metrics for 'O'.
1080         (getDescent): modified to use metrics for 'y'.
1081
1082 2003-06-08  Anthony Green  <green@redhat.com>
1083
1084         * java/net/URLStreamHandler.java (sameFile): Fix port value
1085         comparison.
1086         * java/net/URL.java (handler): Make package private.
1087         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1088
1089 2003-06-07  Tom Tromey  <tromey@redhat.com>
1090
1091         For PR libgcj/11085:
1092         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1093         Limit number of characters in numeric field when required.
1094         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1095         Respect maximumIntegerDigits.
1096
1097 2003-06-08  Michael Koch  <konqueror@gmx.de>
1098
1099         * java/net/Socket.java
1100         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1101         call bind() and connect() to actually do the bind and connect tasks.
1102         (bind): Connect to canonical address if bindpoint is null, create
1103         socket and bind it to bindpoint.
1104         (connect): Check for exceptions.
1105
1106 2003-06-08  Michael Koch  <konqueror@gmx.de>
1107
1108         * java/net/DatagramSocket.java
1109         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1110         into the Multicast constructors.
1111         * java/net/DatagramSocketImpl.java
1112         (getOption): Removed.
1113         (setOption): Removed.
1114         * java/net/MulticastSocket.java
1115         (MulticastSocket): Call setReuseAddress (true).
1116         * java/net/SocketImpl.java
1117         (getOption): Removed.
1118         (setOption): Removed.
1119
1120 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1121
1122         PR libgcj/10886:
1123         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1124         Test for empty vector.
1125
1126 2003-06-06  Mark Wielaard  <mark@klomp.org>
1127
1128         * java/security/Security.java (secprops): Initialize.
1129         (loadProviders): Return boolean.
1130         (static): Check result of loadProvider calls. If necessary
1131         display WARNING and fallback to Gnu provider.
1132
1133 2002-06-06  James Clark  <jjc@jclark.com>
1134
1135         Fix for PR libgcj/8738:
1136         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1137         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1138         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1139         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1140         (write): Always decrease avail when count is increased.
1141         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1142         and whether output buffer is full before increasing size.
1143
1144 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1145
1146         * java/io/PrintStream.java (writeChars(char[],int, int)):
1147         Check converter.havePendingBytes().
1148         (writeChars(String,int,int)): Likewise.
1149         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1150         Check converter.havePendingBytes() and flush buffer when stalled.
1151
1152 2003-06-07  Michael Koch  <konqueror@gmx.de>
1153
1154         * include/posix.h
1155         (O_DSYNC): Define O_DSYNC on platforms not
1156         supporting O_FSYNC (newlib).
1157
1158 2003-06-06  Mark Wielaard  <mark@klomp.org>
1159
1160         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1161         AWTError.
1162
1163 2003-06-06  Michael Koch  <konqueror@gmx.de>
1164
1165         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1166         More compile fixes from my stupid work yesterday.
1167
1168 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1169
1170         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1171         if _IEEE_LIBM is undefined.
1172
1173 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1174
1175         * libjava/include/posix.h (O_SYNC): Define if not available
1176         and a reasonable, perhaps more conservative, replacement exists.
1177         (O_DSYNC): Likewise.
1178         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1179
1180 2003-06-05  Michael Koch  <konqueror@gmx.de>
1181
1182         * javax/swing/plaf/BorderUIResource.java,
1183         javax/swing/plaf/basic/BasicDefaults.java,
1184         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1185         More compile fixes for latest Border commit. I should not commit
1186         something in this heat here ...
1187
1188 2003-06-05  Michael Koch  <konqueror@gmx.de>
1189
1190         * javax/swing/border/BevelBorder.java
1191         (BevelBorder): Removed.
1192         * javax/swing/border/EmptyBorder.java:
1193         Reformatted.
1194         (EmptyBorder): Removed.
1195         (getBorderInsets): Dont use l, r, t and b.
1196         * javax/swing/border/EtchedBorder.java
1197         (EtchedBorder): Removed.
1198         * javax/swing/border/LineBorder.java
1199         (LineBorder): Removed.
1200         * javax/swing/border/MatteBorder.java
1201         (MatteBorder): Removed.
1202         * javax/swing/border/TitledBorder.java
1203         (defaultBorder): Use other default for now.
1204         (defaultFont): Likewise.
1205         (defaultColor): Likewise.
1206
1207 2003-06-05  Michael Koch  <konqueror@gmx.de>
1208
1209         * javax/swing/border/Border.java:
1210         New version from classpath.
1211
1212 2003-06-05  Michael Koch  <konqueror@gmx.de>
1213
1214         * javax/swing/border/AbstractBorder.java,
1215         javax/swing/border/BevelBorder.java,
1216         javax/swing/border/CompoundBorder.java,
1217         javax/swing/border/EmptyBorder.java,
1218         javax/swing/border/EtchedBorder.java,
1219         javax/swing/border/LineBorder.java,
1220         javax/swing/border/MatteBorder.java,
1221         javax/swing/border/TitledBorder.java:
1222         New versions from Classpath.
1223
1224 2003-06-05  Michael Koch  <konqueror@gmx.de>
1225
1226         * java/awt/Button.java,
1227         java/awt/Checkbox.java,
1228         java/awt/CheckboxMenuItem.java,
1229         java/awt/Choice.java,
1230         java/awt/Container.java,
1231         java/awt/Dialog.java,
1232         java/awt/EventQueue.java,
1233         java/awt/FileDialog.java,
1234         java/awt/Frame.java,
1235         java/awt/Label.java,
1236         java/awt/List.java,
1237         java/awt/Menu.java,
1238         java/awt/MenuItem.java,
1239         java/awt/Panel.java,
1240         java/awt/PopupMenu.java,
1241         java/awt/Rectangle.java,
1242         java/awt/ScrollPane.java,
1243         java/awt/Scrollbar.java,
1244         java/awt/TextArea.java,
1245         java/awt/TextField.java,
1246         java/awt/Window.java,
1247         java/awt/datatransfer/DataFlavor.java,
1248         java/awt/dnd/DragSource.java,
1249         java/awt/dnd/DragSourceContext.java,
1250         java/awt/event/HierarchyEvent.java,
1251         java/awt/event/MouseWheelEvent.java,
1252         java/awt/im/InputContext.java,
1253         java/awt/image/BufferedImage.java,
1254         java/awt/image/ComponentColorModel.java,
1255         java/awt/image/Raster.java,
1256         java/awt/image/WritableRaster.java,
1257         java/awt/peer/ComponentPeer.java,
1258         java/awt/print/PageFormat.java,
1259         java/awt/print/PrinterJob.java:
1260         New versions from Classpath.
1261
1262 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1263
1264         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1265         numberFormat.setParseIntegerOnly(true).
1266
1267 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1268
1269         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1270
1271 2003-06-03  Andrew Haley  <aph@redhat.com>
1272
1273         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1274         stack volatile to prevent optimization from removing it.
1275
1276 2003-05-27  Michael Koch  <konqueror@gmx.de>
1277
1278         * java/util/zip/Deflater.java
1279         (FILTERED): Merged documentation from classpath.
1280         * java/util/zip/DeflaterOutputStream.java
1281         (DeflaterOutputStream): Merged documentation and argument validity
1282         check from classpath.
1283         (deflate): Merged documentation from classpath.
1284         (finish): Likewise.
1285         * java/util/zip/Inflater.java
1286         (Inflater): Merged class documentation from classpath.
1287         (zstream): Reordered.
1288         (is_finished): Reordered.
1289         (dict_needed): Reordered.
1290         (Inflater): Reordered, merged documentation from classpath.
1291         (end): Likewise.
1292         (finalize): Merged documentation from classpath.
1293         (finished): Likewise.
1294         (getAdler): Likewise.
1295         (getRemaining): Likewise.
1296         (getTotalIn): Likewise.
1297         (getTotalOut): Likewise.
1298         (inflate): Likewise.
1299         (needsDictionary): Likewise.
1300         (needsInput): Likewise.
1301         (reset): Likewise.
1302         (setDictionary): Likewise.
1303         (setInput): Likewise.
1304
1305 2003-05-27  Michael Koch  <konqueror@gmx.de>
1306
1307         * java/net/URLConnection.java
1308         (getHeaderFieldInt): Merged with classpath.
1309
1310 2003-05-27  Michael Koch  <konqueror@gmx.de>
1311
1312         * java/io/PrintStream.java
1313         (PrintStream): Reformatted.
1314         (PrintStream): New method, merged from classpath.
1315         (write): Reformatted.
1316
1317 2003-05-27  Michael Koch  <konqueror@gmx.de>
1318
1319         * java/lang/System.java:
1320         Explicitely import needed classes.
1321
1322 2003-05-26  Michael Koch  <konqueror@gmx.de>
1323
1324         * java/net/NetPermission.java,
1325         java/net/NetworkInterface.java,
1326         java/net/PasswordAuthentication.java,
1327         java/net/SocketPermission.java:
1328         New versions from classpath.
1329
1330 2003-05-25  Michael Koch  <konqueror@gmx.de>
1331
1332         * java/io/PushbackInputStream.java,
1333         java/net/Authenticator.java,
1334         java/net/ContentHandler.java,
1335         java/net/ContentHandlerFactory.java,
1336         java/net/DatagramSocket.java,
1337         java/net/DatagramSocketImpl.java,
1338         java/net/DatagramSocketImplFactory.java,
1339         java/net/FileNameMap.java,
1340         java/net/SocketImplFactory.java,
1341         java/net/SocketOptions.java,
1342         java/net/URLStreamHandlerFactory.java:
1343         Merged new versions from classpath.
1344
1345 2003-05-25  Michael Koch  <konqueror@gmx.de>
1346
1347         * java/awt/Checkbox.java,
1348         java/awt/Dialog.java,
1349         java/awt/Font.java,
1350         java/awt/Frame.java,
1351         java/awt/ScrollPaneAdjustable.java,
1352         java/awt/Scrollbar.java,
1353         java/awt/Window.java:
1354         New versions from classpath.
1355
1356 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1357
1358         PR libgcj/10838:
1359         * java/io/ObjectInputStream (enableResolveObject):
1360         Fixed spelling of permission name.
1361
1362 2003-05-20  Michael Koch  <konqueror@gmx.de>
1363
1364         * java/io/DataInputStream.java
1365         (convertFromUTF): Merged comment from classpath.
1366         * java/io/PrintStream.java
1367         (error_occured): Renamed from error, merged comment from classpath.
1368         (PrintStream): No need to initialized error.
1369         (checkError): Replace error with error_occurred.
1370         (setError): Likewise.
1371
1372 2003-05-20  Michael Koch  <konqueror@gmx.de>
1373
1374         * java/io/DataInputStream.java:
1375         Reformatted, Replaced < and & with html entitites in documentation.
1376         * java/io/File.java:
1377         Reformatted.
1378         * java/io/PrintWriter.java:
1379         Moved class documentation.
1380
1381 2003-05-20  Michael Koch  <konqueror@gmx.de>
1382
1383         * gnu/java/nio/ByteBufferImpl.java,
1384         gnu/java/nio/CharBufferImpl.java,
1385         gnu/java/nio/CharViewBufferImpl.java,
1386         gnu/java/nio/DirectByteBufferImpl.java,
1387         gnu/java/nio/DoubleBufferImpl.java,
1388         gnu/java/nio/DoubleViewBufferImpl.java,
1389         gnu/java/nio/FloatBufferImpl.java,
1390         gnu/java/nio/FloatViewBufferImpl.java,
1391         gnu/java/nio/IntBufferImpl.java,
1392         gnu/java/nio/IntViewBufferImpl.java,
1393         gnu/java/nio/LongBufferImpl.java,
1394         gnu/java/nio/LongViewBufferImpl.java,
1395         gnu/java/nio/natDirectByteBufferImpl.cc,
1396         gnu/java/nio/ShortBufferImpl.java,
1397         gnu/java/nio/ShortViewBufferImpl.java:
1398         Moved files to java/nio.
1399         * gnu/java/nio/SocketChannelImpl.java
1400         
1401         * java/nio/ByteBuffer.java,
1402         java/nio/CharBuffer.java,
1403         java/nio/DoubleBuffer.java,
1404         java/nio/FloatBuffer.java,
1405         java/nio/IntBuffer.java,
1406         java/nio/LongBuffer.java,
1407         java/nio/ShortBuffer.java:
1408         Dont import anything.
1409         * java/nio/ByteBufferImpl.java,
1410         java/nio/CharBufferImpl.java,
1411         java/nio/CharViewBufferImpl.java,
1412         java/nio/DirectByteBufferImpl.java,
1413         java/nio/DoubleBufferImpl.java,
1414         java/nio/DoubleViewBufferImpl.java,
1415         java/nio/FloatBufferImpl.java,
1416         java/nio/FloatViewBufferImpl.java,
1417         java/nio/IntBufferImpl.java,
1418         java/nio/IntViewBufferImpl.java,
1419         java/nio/LongBufferImpl.java,
1420         java/nio/LongViewBufferImpl.java,
1421         java/nio/natDirectByteBufferImpl.cc,
1422         java/nio/ShortBufferImpl.java,
1423         java/nio/ShortViewBufferImpl.java:
1424         Moved from gnu/java/nio.
1425         * Makefile.am
1426         (ordinary_java_source_files): Moved files from gnu/java/nio to
1427         java/nio.
1428         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1429         to java/nio.
1430         * Makefile.in: Regenerated.
1431
1432 2003-05-19  Michael Koch  <konqueror@gmx.de>
1433
1434         * java/util/Calendar.java
1435         (get): Not final anymore since JDK 1.4
1436         (set): Likewise.
1437
1438 2003-05-19  Michael Koch  <konqueror@gmx.de>
1439
1440         * java/text/CollationKey.java:
1441         Merged copyright and dat from classpath.
1442         * java/text/RuleBasedCollator.java:
1443         Merged class documentation from classpath.
1444
1445 2003-05-19  Michael Koch  <konqueror@gmx.de>
1446
1447         * java/nio/CharBuffer.java
1448         (toString): Compile fix.
1449
1450 2003-05-19  Michael Koch  <konqueror@gmx.de>
1451
1452         * gnu/java/nio/ByteBufferImpl.java
1453         (putLong): Fixed conversion to bytes.
1454         (putDouble): Fixed conversion to bytes.
1455         * gnu/java/nio/DirectByteBufferImpl.java
1456         (putLong): Fixed conversion to bytes.
1457         (putDouble): Fixed conversion to bytes.
1458         * gnu/java/nio/FileLockImpl.java
1459         (isValid): Reformatted.
1460         * java/nio/Buffer.java
1461         (Buffer): Fixed off-by-one bug in handling mark.
1462         * java/nio/ByteBuffer.java:
1463         Added newline.
1464         * java/nio/CharBuffer.java
1465         (toString): Don't use relative get to get string data.
1466
1467 2003-05-16  Michael Koch  <konqueror@gmx.de>
1468
1469         * java/io/natFileDescriptorPosix.cc
1470         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1471         tested.
1472
1473 2003-05-14  Michael Koch  <konqueror@gmx.de>
1474
1475         * gnu/java/nio/FileLockImpl.java
1476         (released): New member variable.
1477         (FileLockImpl): Initialize released.
1478         (releaseImpl): New native method.
1479         (release): Implemented.
1480         * gnu/java/nio/SelectorImpl.java: Reformatted.
1481         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1482         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1483         (accept): Throws IOException.
1484         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1485         (implConfigureBlocking): Throws IOException.
1486         (connect): Likewise.
1487         (read): Likewise.
1488         (write): Likewise.
1489         * gnu/java/nio/natFileLockImpl.cc: New file.
1490         * java/nio/channels/FileLock.java: Reformatted.
1491         * Makefile.am:
1492         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1493         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1494         * Makefile.in: Regenerated.
1495
1496 2003-05-13  Michael Koch  <konqueror@gmx.de>
1497
1498         * gnu/java/nio/CharViewBufferImpl.java
1499         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1500         (get): Shift bits to the right direction.
1501         (put): Likewise.
1502         * gnu/java/nio/DoubleViewBufferImpl.java
1503         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1504         (get): Shift bits to the right direction.
1505         (put): Likewise.
1506         * gnu/java/nio/FloatViewBufferImpl.java
1507         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1508         (get): Shift bits to the right direction.
1509         (put): Likewise.
1510         * gnu/java/nio/IntViewBufferImpl.java
1511         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1512         (get): Shift bits to the right direction.
1513         (put): Likewise.
1514         * gnu/java/nio/LongViewBufferImpl.java
1515         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1516         (get): Shift bits to the right direction.
1517         (put): Likewise.
1518         * gnu/java/nio/ShortViewBufferImpl.java
1519         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1520         (get): Shift bits to the right direction.
1521         (put): Likewise.
1522
1523 2003-05-13  Michael Koch  <konqueror@gmx.de>
1524
1525         * gnu/java/nio/natDirectByteBufferImpl.cc
1526         (allocateImpl): jlong -> RawData*.
1527         (freeImpl): Likewise.
1528
1529 2003-05-13  Michael Koch  <konqueror@gmx.de>
1530
1531         * java/nio/channels/FileChannel.java
1532         (MapMode.m): Made it package-private to match JDK 1.4.
1533         * java/nio/charset/Charset.java
1534         (decode): Made it final to match JDK 1.4.
1535
1536 2003-05-13  Michael Koch  <konqueror@gmx.de>
1537
1538        * java/io/FileDescriptor.java
1539        (SYNC): New constant.
1540        (DSYNC): Likewise.
1541        (getLength): Renamed from lenght() to match classpath's
1542        FileDescriptor.java.
1543        * java/io/RandomAccessFile.java
1544        (RandomAccessFile): Removed unneeded mode check, implemented mode
1545        "rws" and "rwd", merged documentation from classpath.
1546        (setLength): Reformatted.
1547        (length): Use new getLength() of FileDescriptor.
1548        * java/io/natFileDescriptorEcos.cc
1549        (getLength): Renamed from length().
1550        * java/io/natFileDescriptorPosix.cc
1551        (open): Implemented support for SYNC and DSYNC.
1552        (seek): Use getLength() instead of length().
1553        (getLength): Renamed from length().
1554        * java/io/natFileDescriptorWin32.cc
1555        (getLength): Renamed from length().
1556        (seek): Use getLength() instead of length().
1557        (available): Likewise.
1558        * gnu/java/nio/natFileChannelImpl.cc
1559        (size): Use getLength() instead of length().
1560
1561 2003-05-13  Michael Koch  <konqueror@gmx.de>
1562
1563         * gnu/java/nio/ByteBufferImpl.java
1564         (ByteBufferImpl): All constructors revised.
1565         (slice): Reimplemented.
1566         (duplicate): Reimplemented.
1567         (asReadOnlyBuffer): Reimplemented.
1568         * java/nio/ByteBuffer.java:
1569         Reformatted.
1570         (array_offset): Renamed from "offset" to match all other buffer
1571         classes.
1572         (ByteBuffer): All constructors revised.
1573         (allocateDirect): Implemented.
1574         (allocate): New implementation, documentation reworked.
1575         (wrap): Likewise.
1576         (get): Documentation reworked.
1577         (put): New implementation, documentation reworked.
1578         (hasArray): Documentation reworked.
1579         (arrayOffset): Likewise.
1580         (hashCode): Likewise.
1581         (equals): Likewise.
1582         (compareTo): Likewise.
1583         (order): Likewise.
1584         (compact): Likewise.
1585         (isDirect): Likewise.
1586         (slice): Likewise.
1587         (duplicate): Likewise.
1588         (asReadOnlyBuffer): Likewise.
1589         * Makefile.am
1590         (ordinary_java_source_files):
1591         Added gnu/java/nio/DirectByteBufferImpl.java.
1592         (nat_source_files):
1593         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1594         * Makefile.in: Regenerated.
1595
1596 2003-05-12  Michael Koch  <konqueror@gmx.de>
1597
1598         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1599         (nio_get_*): Removed.
1600         (nio_put_*): Removed.
1601         (as*Buffer): Implemented.
1602         (compact): Implemented.
1603         (get): Documentation added.
1604         (put): Documentation added.
1605         (get*): Newly implemented.
1606         (put*): Newly implemented.
1607         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1608         (CharBufferImpl): Revised.
1609         (slice): New implementation.
1610         (duplicate): New implementation.
1611         (compact): New implementation.
1612         (asReadOnlyBuffer): New implementation.
1613         (get): Documentation revised.
1614         (order): Return native byte order.
1615         * gnu/java/nio/DirectByteBufferImpl.java
1616         (allocateDirect): objects can be null not 0.
1617         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1618         (DoubleBufferImpl): Revised.
1619         (slice): New implementation.
1620         (duplicate): New implementation.
1621         (compact): New implementation.
1622         (asReadOnlyBuffer): New implementation.
1623         (get): Documentation revised.
1624         (order): Return native byte order.
1625         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1626         (FloatBufferImpl): Revised.
1627         (slice): New implementation.
1628         (duplicate): New implementation.
1629         (compact): New implementation.
1630         (asReadOnlyBuffer): New implementation.
1631         (get): Documentation revised.
1632         (order): Return native byte order.
1633         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1634         (IntBufferImpl): Revised.
1635         (slice): New implementation.
1636         (duplicate): New implementation.
1637         (compact): New implementation.
1638         (asReadOnlyBuffer): New implementation.
1639         (get): Documentation revised.
1640         (order): Return native byte order.
1641         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1642         (LongBufferImpl): Revised.
1643         (slice): New implementation.
1644         (duplicate): New implementation.
1645         (compact): New implementation.
1646         (asReadOnlyBuffer): New implementation.
1647         (get): Documentation revised.
1648         (order): Return native byte order.
1649         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1650         (ShortBufferImpl): Revised.
1651         (slice): New implementation.
1652         (duplicate): New implementation.
1653         (compact): New implementation.
1654         (asReadOnlyBuffer): New implementation.
1655         (get): Documentation revised.
1656         (order): Return native byte order.
1657         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1658         (CharBuffer): Revised.
1659         (order): Removed.
1660         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1661         (DoubleBuffer): Revised.
1662         (allocateDirect): Removed.
1663         (order): Removed.
1664         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1665         (FloatBuffer): Revised.
1666         (allocateDirect): Removed.
1667         (order): Removed.
1668         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1669         (IntBuffer): Revised.
1670         (allocateDirect): Removed.
1671         (order): Removed.
1672         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1673         (LongBuffer): Revised.
1674         (allocateDirect): Removed.
1675         (order): Removed.
1676         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1677         (ShortBuffer): Revised.
1678         (allocateDirect): Removed.
1679         (order): Removed.
1680         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1681         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1682         * Makefile.am
1683         (ordinary_java_source_files): Added the following files:
1684         gnu/java/nio/CharViewBufferImpl.java,
1685         gnu/java/nio/DoubleViewBufferImpl.java,
1686         gnu/java/nio/FloatViewBufferImpl.java,
1687         gnu/java/nio/IntViewBufferImpl.java,
1688         gnu/java/nio/LongViewBufferImpl.java,
1689         gnu/java/nio/ShortViewBufferImpl.java
1690         (nat_source_files): Removed the following files:
1691         gnu/java/nio/natByteBufferImpl.cc,
1692         gnu/java/nio/natCharBufferImpl.cc
1693         * Makefile.in: Regenerated.
1694
1695 2003-05-12  Michael Koch  <konqueror@gmx.de>
1696
1697         * gnu/java/nio/CharViewBufferImpl.java,
1698         gnu/java/nio/DirectByteBufferImpl.java,
1699         gnu/java/nio/DoubleViewBufferImpl.java,
1700         gnu/java/nio/FloatViewBufferImpl.java,
1701         gnu/java/nio/IntViewBufferImpl.java,
1702         gnu/java/nio/LongViewBufferImpl.java,
1703         gnu/java/nio/ShortViewBufferImpl.java,
1704         gnu/java/nio/natDirectByteBufferImpl.cc:
1705         New files, not yet to be compiled.
1706
1707 2003-05-10  Michael Koch  <konqueror@gmx.de>
1708
1709         * javax/swing/plaf/ButtonUI.java,
1710         javax/swing/plaf/ColorUIResource.java,
1711         javax/swing/plaf/ComponentUI.java,
1712         javax/swing/plaf/DimensionUIResource.java,
1713         javax/swing/plaf/FontUIResource.java,
1714         javax/swing/plaf/IconUIResource.java,
1715         javax/swing/plaf/InsetsUIResource.java,
1716         javax/swing/plaf/LabelUI.java,
1717         javax/swing/plaf/ListUI.java,
1718         javax/swing/plaf/OptionPaneUI.java,
1719         javax/swing/plaf/PanelUI.java,
1720         javax/swing/plaf/TabbedPaneUI.java,
1721         javax/swing/plaf/TextUI.java,
1722         javax/swing/plaf/TreeUI.java,
1723         javax/swing/plaf/ViewportUI.java,
1724         javax/swing/plaf/basic/BasicBorders.java,
1725         javax/swing/plaf/basic/BasicButtonUI.java,
1726         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1727         javax/swing/plaf/basic/BasicDefaults.java,
1728         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1729         javax/swing/plaf/basic/BasicIconFactory.java,
1730         javax/swing/plaf/basic/BasicLabelUI.java,
1731         javax/swing/plaf/basic/BasicListUI.java,
1732         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1733         javax/swing/plaf/basic/BasicPanelUI.java,
1734         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1735         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1736         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1737         javax/swing/plaf/basic/BasicTextUI.java,
1738         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1739         javax/swing/plaf/basic/BasicTreeUI.java,
1740         javax/swing/plaf/basic/BasicViewportUI.java,
1741         javax/swing/plaf/metal/MetalLookAndFeel.java:
1742         New versions from classpath. This adds copyrights to all files and
1743         some serialVersionUIDs.
1744
1745 2003-05-10  Michael Koch  <konqueror@gmx.de>
1746
1747         * java/nio/CharBuffer.java
1748         (offset): Make it package-private.
1749         (backing_buffer): Likewise.
1750         * java/nio/DoubleBuffer.java
1751         (offset): Make it package-private.
1752         (backing_buffer): Likewise.
1753         (put): Reformatted.
1754         * java/nio/FloatBuffer.java
1755         (offset): Make it package-private.
1756         (backing_buffer): Likewise.
1757         * java/nio/IntBuffer.java
1758         (offset): Make it package-private.
1759         (backing_buffer): Likewise.
1760         * java/nio/LongBuffer.java
1761         (offset): Make it package-private.
1762         (backing_buffer): Likewise.
1763         * java/nio/ShortBuffer.java
1764         (offset): Make it package-private.
1765         (backing_buffer): Likewise.
1766
1767 2003-05-10  Michael Koch  <konqueror@gmx.de>
1768
1769         * java/nio/CharBuffer.java
1770         (put): Fixed precondtion check.
1771         (toString): Make it work without backing array.
1772         (put): Skip one level of method calling.
1773
1774 2003-05-10  Michael Koch  <konqueror@gmx.de>
1775
1776         * java/security/Identity.java,
1777         java/security/IdentityScope.java,
1778         java/security/Key.java,
1779         java/security/KeyPair.java,
1780         java/security/PrivateKey.java,
1781         java/security/Provider.java,
1782         java/security/PublicKey.java,
1783         java/security/SecureRandom.java,
1784         java/security/SecureRandomSpi.java,
1785         java/security/SignedObject.java,
1786         java/security/Signer.java,
1787         java/security/cert/Certificate.java,
1788         java/security/cert/PKIXCertPathBuilderResult.java,
1789         java/security/cert/X509Certificate.java:
1790         New versions from classpath.
1791
1792 2003-05-09  Tom Tromey  <tromey@redhat.com>
1793
1794         * Makefile.in: Rebuilt.
1795         * Makefile.am (nat_source_files): Removed old files.
1796         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1797         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1798         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1799         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1800         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1801
1802 2003-05-09  Michael Koch  <konqueror@gmx.de>
1803
1804         * gnu/java/nio/ByteBufferImpl.java
1805         (nio_cast): Removed.
1806         (ByteBufferImpl): Removed.
1807         (nio_get_Byte): Removed.
1808         (nio_put_Byte): Removed.
1809         (asByteBuffer): Removed.
1810         (asCharBuffer): Removed implementation and throw exception.
1811         (asShortBuffer): Likewise.
1812         (asIntBuffer): Likewise.
1813         (asLongBuffer): Likewise.
1814         (asFloatBuffer): Likewise.
1815         (asDoubleBuffer): Likewise.
1816         * gnu/java/nio/CharBufferImpl.java
1817         (CharBufferImpl): Removed.
1818         (nio_get_Byte): Removed.
1819         (nio_put_Byte): Removed.
1820         (asByteBuffer): Removed.
1821         * gnu/java/nio/DoubleBufferImpl.java
1822         (DoubleBufferImpl): Removed.
1823         (nio_get_Byte): Removed.
1824         (nio_put_Byte): Removed.
1825         (asByteBuffer): Removed.
1826         * gnu/java/nio/FloatBufferImpl.java
1827         (FloatBufferImpl): Removed.
1828         (nio_get_Byte): Removed.
1829         (nio_put_Byte): Removed.
1830         (asByteBuffer): Removed.
1831         * gnu/java/nio/IntBufferImpl.java
1832         (IntBufferImpl): Removed.
1833         (nio_get_Byte): Removed.
1834         (nio_put_Byte): Removed.
1835         (asByteBuffer): Removed.
1836         * gnu/java/nio/LongBufferImpl.java
1837         (LongBufferImpl): Removed.
1838         (nio_get_Byte): Removed.
1839         (nio_put_Byte): Removed.
1840         (asByteBuffer): Removed.
1841         * gnu/java/nio/ShortBufferImpl.java
1842         (ShortBufferImpl): Removed.
1843         (nio_get_Byte): Removed.
1844         (nio_put_Byte): Removed.
1845         (asByteBuffer): Removed.
1846         * gnu/java/nio/natByteBufferImpl.cc
1847         (nio_cast): Removed.
1848         (nio_get_Byte): Removed.
1849         (nio_put_Byte): Removed.
1850         * gnu/java/nio/natCharBufferImpl.cc
1851         (nio_get_Byte): Removed.
1852         (nio_put_Byte): Removed.
1853
1854 2003-05-09  Michael Koch  <konqueror@gmx.de>
1855
1856         * java/net/JarURLConnection.java
1857         (getJarEntry): Merged documentation from classpath.
1858         (getJarFile): Likewise.
1859         (getMainAttributes): Likewise.
1860         (getAttributes): Likewise.
1861         (getManifest): Likewise.
1862         (getCertificates): Reformatted.
1863         * java/net/URLConnection.java:
1864         Little classpath merge.
1865
1866 2003-05-09  Michael Koch  <konqueror@gmx.de>
1867
1868         * java/io/DataOutputStream.java
1869         (writeShort): Made it synchronized.
1870         (writeChar): Likewise.
1871         (writeInt): Likewise.
1872         (writeLong): Liekwise.
1873         (writeUTF): Made it synchronized, renamed argument to match classpath.
1874         * java/io/InputStreamReader.java
1875         (converter): Added documentation.
1876         (read): Merged documentation from classpath.
1877         * java/io/OutputStreamWriter.java
1878         (OutputStreamWriter): Merged documentation from classpath.
1879         (close): Reformatted.
1880         (getEncoding): Likewise.
1881         (flush): Likewise.
1882         (write): Merged documentation from classpath, reformatted.
1883
1884 2003-05-08  Tom Tromey  <tromey@redhat.com>
1885
1886         * configure.host <powerpc64*-*>: Set with_libffi_default and
1887         libgcj_interpreter to "yes".
1888
1889 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1890
1891         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1892         
1893 2003-05-06  Tom Tromey  <tromey@redhat.com>
1894
1895         * verify.cc: Reverted previous patch.
1896
1897 2003-05-06  Michael Koch  <konqueror@gmx.de>
1898
1899         * java/io/DataOutputStream.java
1900         (write): Renamed argument to "value", merged documentation from
1901         classpath.
1902         (writeBoolean): Likewise.
1903         (writeByte): Likewise.
1904         (writeShort): Likewise.
1905         (writeChar): Likewise.
1906         (writeInt): Likewise.
1907         (writeLong): Likewise.
1908         (writeFloat): Likewise.
1909         (writeDouble): Likewise.
1910         (writeBytes): Likewise.
1911         (writeChars): Likewise.
1912         (writeUTF): Likewise.
1913         * java/io/File.java
1914         (performDelete): Added documentation.
1915         (performList): Likewise.
1916         (performMkdir): Likewise.
1917         (performSetReadOnly): Likewise.
1918         (performRenameTo): Likewise.
1919         (performSetLastModified): Likewise.
1920         (delete): Made it sychronized.
1921         (renameTo): Made it sychronized.
1922         (equals): Reformatted.
1923         (isHidden): Likewise.
1924         (listFiles): Likewise.
1925         (setReadOnly): Likewise.
1926         (listRoots): Likewise.
1927         (setLastModified): Likewise.
1928         (checkRead): Likewise.
1929         (checkWrite): Likewise.
1930         * java/io/FileInputStream.java
1931         (skip): Made it sychronized, merged from classpath.
1932         * java/io/FileOutputStream.java
1933         (write): Merged from classpath.
1934         * java/io/InputStreamReader.java:
1935         (InputStreamReader): Merged documentation from classpath.
1936
1937 2003-05-05  Michael Koch  <konqueror@gmx.de>
1938
1939         * java/net/NetworkInterface.java
1940         (networkInterfaces): Removed.
1941         (getByName): Use getRealNetworkInterfaces() instead of
1942         networkInterfaces.
1943         (getByInetAddress): Likewise.
1944         (getNetworkInterfaces): Likewise.
1945         (toString): Fix output of addresses of an interface.
1946
1947 2003-05-05  Michael Koch  <konqueror@gmx.de>
1948
1949         * java/io/DataInputStream.java:
1950         Merged new documentation from classpath.
1951
1952 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1953
1954         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1955         "version".
1956         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1957         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1958         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1959         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1960         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1961         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1962         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1963         * java/security/Key.java: Likewise.
1964         * java/security/PrivateKey.java: Likewise.
1965         * java/security/Provider.java: Likewise.
1966         * java/security/PublicKey.java: Likewise.
1967
1968 2003-05-02  Michael Koch  <konqueror@gmx.de>
1969
1970         * java/net/URI.java
1971         (create): Doesnt throws any exceptions.
1972         * java/net/URLConnection.java
1973         (URLConnection): Commend added.
1974         (getExpiration): The header field is called "expires" not
1975         "expiration".
1976         (getHeaderField): Merged documentation with classpath.
1977         (getHeaderFieldInt): Likewise.
1978         (getHeaderFieldDate): Likewise.
1979         (getHeaderFieldKey): Likewise.
1980         (getPermission): Likewise.
1981         (setDefaultUseCaches): Likewise.
1982         (setRequestProperty): Likewise.
1983         (addRequestProperty): Likewise.
1984         (getRequestProperty): Likewise.
1985         (getRequestProperties): Likewise.
1986         (setDefaultRequestProperty): Likewise.
1987         (getDefaultRequestProperty): Likewise.
1988         (guessContentTypeFromStream): Likewise.
1989         (getFileNameMap): Likewise.
1990         (setFileNameMap): Likewise.
1991         (setDoInput): Merged implementation and documentation with classpath.
1992         (setDoOutput): Likewise.
1993         (setAllowUserInteraction): Likewise.
1994         (setDefaultAllowUserInteraction): Likewise.
1995         (setContentHandlerFactory): Made it synchronized, merged documentation
1996         with classpath.
1997         (guessContentTypeFromName): Renamed argument fname to filename to
1998         match classpath, merged documentation with classpath.
1999
2000 2003-05-02  Michael Koch  <konqueror@gmx.de>
2001
2002         * java/net/JarURLConnection.java
2003         (JarURLConnection): Class documentation merged with classpath.
2004         (getJarFileURL): Moved and documentation merged with classpath.
2005         (getEntryName): Likewise.
2006         (JarURLConnection): Documentation merged with classpath.
2007         (getJarEntry): Likewise.
2008         (getJarFile): Likewise.
2009         * java/net/PlainDatagramSocketImpl.java:
2010         Class documentation moved.
2011         * java/net/URLConnection.java
2012         (fileNameMap): Moved and documentation merged with classpath.
2013         (factory): Likewise.
2014         (defaultAllowUserInteraction): Likewis.
2015         (defaultUseCaches): Likewise.
2016         (allowUserInteraction): Likewise.
2017         (connected): Likewise.
2018         (url): Likewise.
2019         (connect): Documentation merged with classpath.
2020         (getURL): Likewise.
2021         (getContentLength): Likewise.
2022         (getContentType): Likewise.
2023         (getContentEncoding): Likewise.
2024         (getExpiration): Likewise.
2025         (getDate): Likewise.
2026         (getLastModified): Likewise.
2027         (getHeaderField): Likewise.
2028         (getContent): Likewise.
2029         (getPermission): Likewise.
2030         (getInputStream): Likewise.
2031         (getOutputStream): Likewise.
2032         (toString): Likewise.
2033         (getDoInput): Likewise.
2034         (getDoOutput): Likewise.
2035         (setAllowUserInteraction): Likewise.
2036         (getAllowUserInteraction): Likewise.
2037         (setDefaultAllowUserInteraction): Likewise.
2038         (getDefaultAllowUserInteraction): Likewise.
2039         (setUseCaches): Likewise.
2040         (getUseCaches): Likewise.
2041         (setIfModifiedSince): Likewise.
2042         (getIfModifiedSince): Likewise.
2043         (setDefaultRequestProperty): Likewise.
2044         (getDefaultRequestProperty): Likewise.
2045         (setContentHandlerFactory): Likewise.
2046         (setFileNameMap): Likewise.
2047
2048 2003-05-02  Michael Koch  <konqueror@gmx.de>
2049
2050         * java/net/InetAddress.java:
2051         Merged class documentation with classpath.
2052         * java/net/JarURLConnection.java:
2053         Explicitely import all used classes.
2054         * java/net/URL.java:
2055         Reformatting.
2056         * java/net/ServerSocket.java,
2057         java/net/Socket.java:
2058         New versions from classpath.
2059
2060 2003-05-02  Michael Koch  <konqueror@gmx.de>
2061
2062         * gnu/java/nio/FileChannelImpl.java
2063         (read): New implementation.
2064         (implRead): New methods.
2065         (write): New implementation, call other write insteal of read method.
2066         (implWrite): New methods.
2067         (map): Added comment.
2068         (transferFrom): Implemented.
2069         (transferTo): Implemented.
2070         (lock): Added checks to throw exceptions.
2071         (truncate): Added check to throw exception.
2072         * gnu/java/nio/natFileChannelImpl.cc
2073         (implRead): New method.
2074         (implWrite): New method.
2075         * java/nio/ByteBuffer.java
2076         (hashCode): Fixed comment.
2077         (get): Fixed exception documentation.
2078         (put): Fixed exception documentation.
2079         * java/nio/CharBuffer.java:
2080         Added comment for later optimizations.
2081
2082 2003-04-30  Tom Tromey  <tromey@redhat.com>
2083
2084         PR libgcj/10582:
2085         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2086         Removed.
2087         (type::compatible): Use _Jv_IsAssignableFrom.
2088         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2089         (_Jv_IsAssignableFrom): Work even when source or target class is
2090         not prepared.
2091
2092 2003-04-30  Michael Koch  <konqueror@gmx.de>
2093
2094         * java/text/BreakIterator.java
2095         (clone): New method.
2096
2097 2003-04-30  Michael Koch  <konqueror@gmx.de>
2098
2099         * java/text/CollationElementIterator.java,
2100         java/text/CollationKey.java,
2101         java/text/RuleBasedCollator.java:
2102         Merged copyright and documentation from classpath and
2103         rearranged some code. No code changes done.
2104
2105 2003-04-30  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/util/regex/Matcher.java
2108         (pattern): New member variable.
2109         (appendReplacement): New method.
2110         (appendTail): New method.
2111         (end): New method.
2112         (find): New method.
2113         (group): New method.
2114         (replaceFirst): Added documentation.
2115         (replaceAll): Added documentation.
2116         (groupCount): New method.
2117         (lookingAt): New method.
2118         (matches): New method.
2119         (reset): New method.
2120         (start): New method.
2121         * java/util/regex/Pattern.java
2122         (serialVersionUID): New constant.
2123         (CANON_EQ): New constant.
2124         (CASE_INSENSITIVE): New constant.
2125         (COMMENTS): New constant.
2126         (DOTALL): New constant.
2127         (MULTILINE): New constant.
2128         (UNICODE_CASE): New constant.
2129         (UNIX_LINES): New constant.
2130         (regex): New member variable.
2131         (flags): New member variable.
2132         (Pattern): New method.
2133         (compile): Documentation added.
2134         (flags): New method.
2135         (matches): Documentation added.
2136         (matcher): Documentation added.
2137         (split): Documentation added.
2138         (pattern): New method.
2139
2140 2003-04-30  Michael Koch  <konqueror@gmx.de>
2141
2142         * gnu/java/security/Engine.java,
2143         gnu/java/security/OID.java,
2144         gnu/java/security/der/BitString.java,
2145         gnu/java/security/der/DER.java,
2146         gnu/java/security/der/DERReader.java,
2147         gnu/java/security/der/DERValue.java,
2148         gnu/java/security/der/DERWriter.java,
2149         gnu/java/security/provider/DSAKeyFactory.java,
2150         gnu/java/security/provider/X509CertificateFactory.java,
2151         gnu/java/security/x509/X500DistinguishedName.java,
2152         gnu/java/security/x509/X509CRL.java,
2153         gnu/java/security/x509/X509CRLEntry.java,
2154         gnu/java/security/x509/X509Certificate.java,
2155         java/security/cert/CRLSelector.java,
2156         java/security/cert/CertPathBuilder.java,
2157         java/security/cert/CertPathBuilderResult.java,
2158         java/security/cert/CertPathBuilderSpi.java,
2159         java/security/cert/CertPathParameters.java,
2160         java/security/cert/CertPathValidator.java,
2161         java/security/cert/CertPathValidatorResult.java,
2162         java/security/cert/CertPathValidatorSpi.java,
2163         java/security/cert/CertSelector.java,
2164         java/security/cert/CertStore.java,
2165         java/security/cert/CertStoreParameters.java,
2166         java/security/cert/CertStoreSpi.java,
2167         java/security/cert/CollectionCertStoreParameters.java,
2168         java/security/cert/LDAPCertStoreParameters.java,
2169         java/security/cert/PKIXBuilderParameters.java,
2170         java/security/cert/PKIXCertPathBuilderResult.java,
2171         java/security/cert/PKIXCertPathChecker.java,
2172         java/security/cert/PKIXCertPathValidatorResult.java,
2173         java/security/cert/PKIXParameters.java,
2174         java/security/cert/PolicyNode.java,
2175         java/security/cert/PolicyQualifierInfo.java,
2176         java/security/cert/TrustAnchor.java,
2177         javax/security/auth/x500/X500Principal.java:
2178         New files from classpath.
2179         * gnu/java/io/ASN1ParsingException.java,
2180         gnu/java/io/Base64InputStream.java,
2181         gnu/java/security/der/DEREncodingException.java,
2182         gnu/java/security/provider/DSAParameters.java,
2183         gnu/java/security/provider/DSASignature.java,
2184         gnu/java/security/provider/Gnu.java,
2185         gnu/java/security/provider/GnuDSAPrivateKey.java,
2186         gnu/java/security/provider/GnuDSAPublicKey.java,
2187         java/security/AlgorithmParameterGenerator.java,
2188         java/security/AlgorithmParameters.java,
2189         java/security/KeyFactory.java,
2190         java/security/KeyPairGenerator.java,
2191         java/security/KeyStore.java,
2192         java/security/MessageDigest.java,
2193         java/security/SecureClassLoader.java,
2194         java/security/SecureRandom.java,
2195         java/security/Security.java,
2196         java/security/Signature.java,
2197         java/security/cert/Certificate.java,
2198         java/security/cert/CertificateFactory.java,
2199         java/security/cert/CertificateFactorySpi.java,
2200         java/security/cert/X509CRL.java,
2201         java/security/cert/X509Certificate.java,
2202         java/security/spec/DSAPublicKeySpec.java:
2203         New versions from classpath.
2204         * gnu/java/security/provider/DERReader.java,
2205         gnu/java/security/provider/DERWriter.java,
2206         java/security/Engine.java: Removed.
2207         * Makefile.am
2208         (java_source_files, javax_source_files): Added new files.
2209         * Makefile.in: Regenerated.
2210
2211 2003-04-29  Michael Koch  <konqueror@gmx.de>
2212
2213         * javax/swing/JTable.java
2214         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2215         (AUTO_RESIZE_LAST_COLUMN): New constant.
2216         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2217         (AUTO_RESIZE_OFF): New constant.
2218         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2219         (JTable): New method.
2220         (columnAdded): New method.
2221         (columnMarginChanged): New method.
2222         (columnMoved): New method.
2223         (columnRemoved): New method.
2224         (columnSelectionChanged): New method.
2225         (editingCanceled): New method.
2226         (editingStopped): New method.
2227         (getColumnModel): New method.
2228         (getPreferredScrollableViewportSize): New method.
2229         (getScrollableBlockIncrement): New method.
2230         (getScrollableTracksViewportHeight): New method.
2231         (getScrollableTracksViewportWidth): New method.
2232         (getScrollableUnitIncrement): New method.
2233         (getSelectedRow): New method.
2234         (getSelectionModel): New method.
2235         (tableChanged): New method.
2236         (setModel): New method.
2237         (setSelectionMode): New method.
2238         (setSelectionModel): New method.
2239         (setShowGrid): New method.
2240         (valueChanged): New method.
2241         * javax/swing/text/DefaultEditorKit.java
2242         (backwardAction): New constant.
2243         (beepAction): New constant.
2244         (beginAction): New constant.
2245         (beginLineAction): New constant.
2246         (beginParagraphAction): New constant.
2247         (beginWordAction): New constant.
2248         (copyAction): New constant.
2249         (cutAction): New constant.
2250         (defaultKeyTypedAction): New constant.
2251         (deleteNextCharAction): New constant.
2252         (deletePrevCharAction): New constant.
2253         (downAction): New constant.
2254         (endAction): New constant.
2255         (endLineAction): New constant.
2256         (endOfLineStringProperty): New constant.
2257         (endParagraphAction): New constant.
2258         (endWordAction): New constant.
2259         (forwardAction): New constant.
2260         (insertBreakAction): New constant.
2261         (insertContentAction): New constant.
2262         (insertTabAction): New constant.
2263         (nextWordAction): New constant.
2264         (pageDownAction): New constant.
2265         (pageUpAction): New constant.
2266         (pasteAction): New constant.
2267         (previousWordAction): New constant.
2268         (readOnlyAction): New constant.
2269         (selectAllAction): New constant.
2270         (selectionBackwardAction): New constant.
2271         (selectionBeginAction): New constant.
2272         (selectionBeginLineAction): New constant.
2273         (selectionBeginParagraphAction): New constant.
2274         (selectionBeginWordAction): New constant.
2275         (selectionDownAction): New constant.
2276         (selectionEndAction): New constant.
2277         (selectionEndLineAction): New constant.
2278         (selectionEndParagraphAction): New constant.
2279         (selectionEndWordAction): New constant.
2280         (selectionForwardAction): New constant.
2281         (selectionNextWordAction): New constant.
2282         (selectionPreviousWordAction): New constant.
2283         (selectionUpAction): New constant.
2284         (selectLineAction): New constant.
2285         (selectParagraphAction): New constant.
2286         (selectWordAction): New constant.
2287         (upAction): New constant.
2288         (writableAction): New constant.
2289
2290 2003-04-29  Michael Koch  <konqueror@gmx.de>
2291
2292         * java/util/PropertyPermission.java:
2293         New version from classpath
2294         * java/util/ResourceBundle.java:
2295         Partly merged from classpath
2296         (getObject): Reformated.
2297         (tryBundle): Set foundBundle = null if no bundle found.
2298
2299 2003-04-29  Michael Koch  <konqueror@gmx.de>
2300
2301         * javax/swing/AbstractListModel.java,
2302         javax/swing/DefaultBoundedRangeModel.java,
2303         javax/swing/DefaultSingleSelectionModel.java:
2304         New Versions from classpath.
2305
2306 2003-04-29  Michael Koch  <konqueror@gmx.de>
2307
2308         * java/awt/Window.java
2309         (show): Call super.show() instead of setVisible() to avoid endless
2310         loop.
2311         (hide): Call super.hide() instead of setVisible() to avoid endless
2312         loop.
2313
2314 2003-04-29  Michael Koch  <konqueror@gmx.de>
2315
2316         * java/util/zip/Deflater.java,
2317         java/util/zip/DeflaterOutputStream.java:
2318         Partly merged with classpath.
2319
2320 2003-04-27  Tom Tromey  <tromey@redhat.com>
2321
2322         * java/lang/natString.cc (_Jv_AllocString): Initialize
2323         cachedHashCode.
2324         (init): Likewise.
2325         (_Jv_NewStringUtf8Const): Likewise.
2326
2327 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2328
2329         * include/jvm.h: (_Jv_GetNbArgs) added
2330         (_Jv_GetSafeArg) added
2331         (_Jv_SetArgs) added
2332         * prims.cc: (_Jv_GetNbArgs) implemented
2333         (_Jv_GetSafeArg) implemented
2334         (_Jv_SetArgs) implemented
2335         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2336         setting _Jv_argc and _Jv_argv
2337         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2338         instead of _Jv_argv
2339         * java/lang/natRuntime.cc: (insertSystemProperties) use
2340         _Jv_GetSafeArg() instead of _Jv_argv
2341
2342 2003-04-23  Tom Tromey  <tromey@redhat.com>
2343
2344         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2345         required by this object.  Search superclasses to find required
2346         alignment.
2347         (get_alignment_from_class): Use alignment of type as it appears
2348         in a struct.
2349         (ALIGNOF): New macro.
2350         (struct aligner): New helper structure.
2351
2352 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2353
2354         * java/awt/Container.java (addImpl): Enable paint events if adding
2355         a lightweight to a heavyweight.
2356         (addNotify): Ensure that peer is created before
2357         addNotifyContainerChildren.
2358         (addNotifyContainerChildren): Enable paint events if a heavyweight
2359         container contains a lightweight.
2360
2361 2003-04-20  Tom Tromey  <tromey@redhat.com>
2362
2363         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2364         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2365         Classpath.
2366
2367 2003-04-19  Tom Tromey  <tromey@redhat.com>
2368
2369         * java/sql/Date.java, java/sql/DriverManager.java,
2370         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2371         Classpath.
2372
2373         * Makefile.in: Rebuilt.
2374         * Makefile.am (ordinary_java_source_files): Added new files.
2375         * java/security/AlgorithmParameterGenerator.java,
2376         java/security/AlgorithmParameters.java, java/security/Engine.java,
2377         java/security/Identity.java, java/security/IdentityScope.java,
2378         java/security/KeyFactory.java,
2379         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2380         java/security/MessageDigest.java, java/security/Policy.java,
2381         java/security/ProtectionDomain.java,
2382         java/security/SecureRandom.java, java/security/Security.java,
2383         java/security/Signature.java, java/security/SignatureSpi.java,
2384         java/security/SignedObject.java, java/security/Signer.java,
2385         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2386         java/security/spec/PSSParameterSpec.java,
2387         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2388         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2389         Classpath.
2390
2391 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2392
2393         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2394         (dispose): Null metrics.
2395         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2396         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2397         finalize.
2398         (finalize): Call dispose.
2399         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2400         (gcCachedCount): New field.
2401         (finalize): New method.
2402         (putGCInCache): New method.
2403         (getGCFromCache): New method.
2404         * gnu/gcj/xlib/GC.java (GC): Make protected.
2405         (clone): Get new GC from cache if possible.
2406         (create): New static method.
2407         (dispose): Save old GC in cache.
2408         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2409         deleting.
2410         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2411         is null.
2412         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2413         * java/awt/Container.java (visitChild): Dispose gfx2 when
2414         finished.
2415
2416 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2417
2418         * java/math/BigInteger.java (probablePrime): New.
2419         * java/math/BigDecimal.java (unscaledValue): New.
2420
2421 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2422
2423         * java/io/File.java (getAbsolutePath): On Windows, take care
2424         of paths like "C:", "G:foo\bar", etc.
2425         (getName): Make it work correctly on Windows.
2426         (getParent): Make it work correctly on Windows. For UNIX,
2427         fix bug that causes "/" to be returned as the parent of "/",
2428         instead of null as returned by Sun's JRE.
2429
2430         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2431
2432 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2433
2434         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2435         inner class.
2436         (CACHE_SIZE_PER_DISPLAY): New field
2437         (fontMetricsCache): New field
2438         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2439         loading ISO10646-1 fonts.
2440
2441 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2442
2443         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2444         characters.
2445         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2446         characters.
2447
2448 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2449
2450         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2451         floating point.
2452
2453 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2454
2455         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2456         installed libpthread is either linuxthreads with floating stacks or
2457         NPTL.
2458
2459 2003-04-14  Tom Tromey  <tromey@redhat.com>
2460
2461         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2462         of alignment.
2463
2464 2003-04-10  Tom Tromey  <tromey@redhat.com>
2465
2466         * verify.cc (pop64): Removed.
2467         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2468         exception if top-of-stack is narrow.
2469         (initialize_stack): Check to ensure that <init> is not static and
2470         <clinit> is.
2471
2472 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2473
2474         * java/io/ObjectStreamException
2475         * java/io/FileFilter
2476         * java/io/FilenameFilter
2477         * java/io/ObjectInput
2478         * java/io/ObjectOutput
2479         * java/io/ObjectStreamConstants
2480         Minor doc fixes, format fixes, spelling corrections, etc.
2481         * java/io/DataInput
2482         Corrected code samples in Javadocs to match reality
2483         * java/io/DataOutput
2484         * java/io/ObjectInputValidation
2485         Major documentation fixes - all Javadocs re-written or updated
2486
2487 2003-04-06  Michael Koch  <konqueror@gmx.de>
2488
2489         * java/net/URLConnection.java:
2490         Import classes directly.
2491         (URLConnection): Merged class documentation with classpath.
2492         (url): Moved, documentation from classpath added.
2493         (doInput): Moved, documentation from classpath added.
2494         (doOutput): Moved, documentation from classpath added.
2495         (allowUserInteraction): Moved.
2496         (useCaches): Moved, documentation from classpath added.
2497         (ifModifiedSince): Moved, documentation from classpath added.
2498         (connected): Moved, documentation from classpath added.
2499
2500 2003-04-06  Michael Koch  <konqueror@gmx.de>
2501
2502         * java/io/FileInputStream.java
2503         (skip): Renamed some variables to match classpath, added
2504         checks from classpath.
2505
2506 2003-03-31  Michael Koch  <konqueror@gmx.de>
2507
2508         * javax/swing/AbstractAction.java
2509         (AbstractAction): Reformatted.
2510         (serialVersionUID): New private member variable.
2511         * javax/swing/plaf/BorderUIResource.java
2512         (serialVersionUID): New private member variable.
2513         * javax/swing/plaf/basic/BasicLookAndFeel.java
2514         (serialVersionUID): New private member variable.
2515
2516 2003-03-31  Michael Koch  <konqueror@gmx.de>
2517
2518         * java/sql/Date.java
2519         (valueOf): Deprecated, reformatted.
2520         (toString): Deprecated, reformatted.
2521         * java/sql/Time.java
2522         (valueOf): Deprecated, reformatted.
2523         (toString): Deprecated, reformatted.
2524
2525 2003-03-31  Michael Koch  <konqueror@gmx.de>
2526
2527         * java/rmi/dgc/VMID.java
2528         (isUnique): Deprecated.
2529
2530 2003-03-31  Michael Koch  <konqueror@gmx.de>
2531
2532         * java/io/File.java
2533         (separator): Merged documentation from classpath.
2534         (separatorChar): Merged documentation from classpath.
2535         (pathSeparator): Merged documentation from classpath.
2536         (pathSeparatorChar): Merged documentation from classpath.
2537         (path): Merged documentation from classpath.
2538         (canRead): Merged documentation from classpath.
2539         (canWrite): Merged documentation from classpath.
2540         (createNewFile): Merged documentation from classpath.
2541         (delete): Merged documentation from classpath.
2542         (equals): Merged documentation from classpath.
2543         (exists): Merged documentation from classpath.
2544         (File): Renamed p to name to match classpath, merged documentation
2545         from classpath.
2546         (getAbsolutePath): Merged documentation from classpath.
2547         (getCanonicalPath): Merged documentation from classpath.
2548         (getCanonicalFile): Merged documentation from classpath.
2549         (getName): Merged documentation from classpath.
2550         (getParent): Merged documentation from classpath.
2551         (getParentFile): Merged documentation from classpath.
2552         (getPath): Merged documentation from classpath.
2553         (hashCode): Merged documentation from classpath.
2554         (isAbsolute): Merged documentation from classpath.
2555         (isDirectory): Merged documentation from classpath.
2556         (isFile): Merged documentation from classpath.
2557         (isHidden): Merged documentation from classpath.
2558         (lastModified): Merged documentation from classpath.
2559         (length): Merged documentation from classpath.
2560         (list): Merged documentation from classpath.
2561         (listFiles): Merged documentation from classpath.
2562         (toString): Merged documentation from classpath.
2563         (toURL): Merged documentation from classpath.
2564         (mkdir): Merged documentation from classpath.
2565         (mkdirs): Merged documentation from classpath.
2566         (createTempFile): Merged documentation from classpath.
2567         (setReadOnly): Merged documentation from classpath.
2568         (listRoots): Merged documentation from classpath.
2569         (compareTo): Merged documentation from classpath.
2570         (renameTo): Merged documentation from classpath.
2571         (setLastModified): Merged documentation from classpath.
2572         * java/io/PrintStream.java
2573         (auto_flush): Merged documentation from classpath.
2574         (PrintStream): Merged documentation from classpath.
2575         (checkError): Merged documentation from classpath.
2576         (setError): Merged documentation from classpath.
2577         (close): Merged documentation from classpath.
2578         (flush): Merged documentation from classpath.
2579         (print): Merged documentation from classpath.
2580         (println):  Merged documentation from classpath.
2581         (write): Renamed count to len to match classpath,
2582         merged documentation from classpath.
2583         * java/io/RandomAccessFile.java
2584         (readShort): Merged documentation from classpath.
2585         (readUnsignedByte): Merged documentation from classpath.
2586         (readUnsignedShort): Merged documentation from classpath.
2587         (readUTF): Merged documentation from classpath.
2588         (seek): Reformatted, merged documentation from classpath.
2589         (skipBytes): Renamed some variables to match classpath, reformatted,
2590         merged documentation from classpath.
2591         (write): Merged documentation from classpath.
2592         (writeBoolean): Merged documentation from classpath.
2593         (writeByte): Merged documentation from classpath.
2594         (writeShort): Merged documentation from classpath.
2595         (writeChar): Merged documentation from classpath.
2596         (writeInt): Merged documentation from classpath.
2597         (writeLong): Merged documentation from classpath.
2598         (writeFloat): Merged documentation from classpath.
2599         (writeDouble): Merged documentation from classpath.
2600         (writeBytes): Merged documentation from classpath.
2601         (writeChars): Merged documentation from classpath.
2602         (writeUTF): Reformatted.
2603         (getChannel): Reformatted.
2604
2605 2003-03-31  Michael Koch  <konqueror@gmx.de>
2606
2607         * java/awt/font/TextAttribute.java
2608         (readResolve): Throws java.io.InvalidObjectException.
2609
2610 2003-03-31  Michael Koch  <konqueror@gmx.de>
2611
2612         * java/rmi/server/LoaderHandler.java
2613         (loadClass): Deprecated.
2614         (getSecurityContext): Deprecated.
2615         * java/rmi/server/LogStream.java
2616         (getDefaultStream): Deprecated.
2617         (setDefaultStream): Deprecated.
2618         (getOutputStream): Deprecated.
2619         (setOutputStream): Deprecated.
2620         (write): Deprecated.
2621         (toString): Deprecated.
2622         (parseLevel): Deprecated.
2623         * java/rmi/server/Operation.java
2624         (Operation): Deprecated.
2625         (getOperation): Deprecated.
2626         (toString): Deprecated.
2627         * java/rmi/server/RemoteCall.java
2628         (getOutputStream): Deprecated.
2629         (releaseOutputStream): Deprecated.
2630         (getInputStream): Deprecated.
2631         (releaseInputStream): Deprecated.
2632         (getResultStream): Deprecated.
2633         (executeCall): Deprecated.
2634         (done): Deprecated.
2635         * java/rmi/server/RemoteRef.java
2636         (invoke): Deprecated.
2637         (newCall): Deprecated.
2638         (done): Deprecated.
2639         * java/rmi/server/RemoteStub.java
2640         (setRef): Deprecated.
2641         * java/rmi/server/Skeleton.java:
2642         No need to import java.lang.Exception explicitly.
2643         (dispatch): Deprecated.
2644         (getOperations): Deprecated.
2645
2646 2003-03-31  Michael Koch  <konqueror@gmx.de>
2647
2648         * java/rmi/dgc/VMID.java,
2649         java/rmi/registry/RegistryHandler.java,
2650         java/rmi/server/LogStream.java,
2651         java/rmi/server/Operation.java,
2652         java/rmi/server/RemoteCall.java,
2653         java/rmi/server/RemoteRef.java,
2654         java/rmi/server/RemoteStub.java:
2655         Reformatted.
2656
2657 2003-03-31  Michael Koch  <konqueror@gmx.de>
2658
2659         * javax/swing/AbstractCellEditor.java,
2660         javax/swing/AbstractListModel.java,
2661         javax/swing/ActionMap.java,
2662         javax/swing/BorderFactory.java,
2663         javax/swing/ButtonGroup.java,
2664         javax/swing/DefaultBoundedRangeModel.java,
2665         javax/swing/DefaultButtonModel.java,
2666         javax/swing/DefaultCellEditor.java,
2667         javax/swing/DefaultComboBoxModel.java,
2668         javax/swing/DefaultDesktopManager.java,
2669         javax/swing/DefaultListCellRenderer.java,
2670         javax/swing/DefaultSingleSelectionModel.java,
2671         javax/swing/InputMap.java,
2672         javax/swing/JComponent.java,
2673         javax/swing/JMenu.java,
2674         javax/swing/JSlider.java,
2675         javax/swing/KeyStroke.java,
2676         javax/swing/OverlayLayout.java,
2677         javax/swing/ScrollPaneLayout.java,
2678         javax/swing/SizeRequirements.java,
2679         javax/swing/UIManager.java,
2680         javax/swing/ViewportLayout.java,
2681         javax/swing/border/AbstractBorder.java,
2682         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2683         javax/swing/event/EventListenerList.java,
2684         javax/swing/table/AbstractTableModel.java,
2685         javax/swing/table/DefaultTableCellRenderer.java,
2686         javax/swing/table/DefaultTableColumnModel.java,
2687         javax/swing/table/DefaultTableModel.java,
2688         javax/swing/table/TableColumn.java,
2689         javax/swing/text/StyledEditorKit.java,
2690         javax/swing/tree/DefaultMutableTreeNode.java,
2691         javax/swing/tree/DefaultTreeModel.java,
2692         javax/swing/tree/DefaultTreeSelectionModel.java,
2693         javax/swing/tree/TreePath.java,
2694         javax/swing/undo/AbstractUndoableEdit.java,
2695         javax/swing/undo/StateEdit.java,
2696         javax/swing/undo/StateEditable.java,
2697         javax/swing/undo/UndoableEditSupport.java:
2698         Merges from classpath.
2699
2700 2003-03-30  Tom Tromey  <tromey@redhat.com>
2701
2702         * java/lang/String.java (data, boffset, count): Documented.
2703         (String(byte[],String)): Reformatted.
2704         (String(byte[])): Likewise.
2705         (lastIndexOf(int)): Likewise.
2706         (lastIndexOf(String)): Likewise.
2707         (substring(int)): Renamed argument to match Classpath.
2708         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2709
2710         * java/lang/String.java: Miscellaneous minor formatting changes
2711         to match Classpath more closely.
2712
2713 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2714             Tom Tromey  <tromey@redhat.com>
2715
2716         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2717         (init()): Removed.
2718         (charAt): Put index in exception.
2719         (contentEquals): New method.
2720         Include StringBuffer.h.
2721         * java/lang/String.java (cachedHashCode): New field.
2722         (String()): Follow classpath implementation.
2723         (init()): Removed.
2724         (contentEquals): Declare.
2725         (subSequence): Don't declare IndexOutIfBoundsException in throws
2726         clause.
2727         (matches, replaceFirst, replaceAll, split): New methods from
2728         Classpath.
2729
2730 2003-03-29  Tom Tromey  <tromey@redhat.com>
2731
2732         * java/lang/String.java: Reordered to follow Classpath; merged in
2733         javadoc.
2734
2735         * java/text/MessageFormat.java: Removed some whitespace.
2736
2737         * Makefile.in: Rebuilt.
2738         * Makefile.am (awt_java_source_files): Added new files.
2739         * gnu/javax/rmi/PortableServer.java,
2740         gnu/javax/rmi/CORBA/DelegateFactory.java,
2741         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2742         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2743         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2744         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2745         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2746         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2747         javax/rmi/PortableRemoteObject.java,
2748         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2749         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2750         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2751         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2752         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2753         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2754
2755         * java/lang/natClass.cc (newInstance): Put method name in
2756         exception.
2757         (getConstructor): Likewise.
2758         (getDeclaredConstructor): Likewise.
2759         (getPrivateMethod): Likewise.
2760
2761 2003-03-28  Tom Tromey  <tromey@redhat.com>
2762
2763         * java/lang/reflect/Proxy.java: New version from Classpath.
2764         * java/lang/Package.java: New version from Classpath.
2765
2766 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2767
2768         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2769         * configure: Regenerate.
2770
2771 2003-03-28  Michael Koch  <konqueror@gmx.de>
2772
2773         * java/io/File.java:
2774         Import needed classes instead of whole packages, merged class
2775         documentation with classpath, moved constants and variables to top of
2776         class.
2777         * java/io/PrintStream.java:
2778         Merged class documentation with classpath, moved constants and
2779         variables to top of class.
2780         * java/io/RandomAccessFile.java
2781         (RandomAccessFile): Merged with classpath.
2782         (read): Merged with classpath).
2783         (read*): Reformatted.
2784
2785 2003-03-28  Michael Koch  <konqueror@gmx.de>
2786
2787         * java/io/FileDescriptor.java
2788         (finalize): Throws Throwable, not IOException.
2789         * java/io/ObjectOutputStream.java
2790         (PutField.put): Doesnt throws anything.
2791
2792 2003­03-28  Michael Koch  <konqueror@gmx.de>
2793
2794         * java/io/FileOutputStream.java:
2795         Merged class documentation and authors with classpath.
2796         (FileOutputStream): Partly merged with classpath.
2797         (write): Merged with classpath.
2798         (getChannel): Make it synchronized instead of explicit block in this
2799         method.
2800         * java/io/RandomAccessFile.java:
2801         Merged class documentation and authors with classpath.
2802
2803 2003-03-26  Tom Tromey  <tromey@redhat.com>
2804
2805         * java/lang/natRuntime.cc (insertSystemProperties): Set
2806         gnu.classpath.home.url.
2807         * Makefile.in: Rebuilt.
2808         * Makefile.am: Define LIBDIR.
2809
2810 2003-03-25  Michael Koch  <konqueror@gmx.de>
2811
2812         * java/io/FileInputStream.java
2813         (read): Renamed b to buf and off to offset.
2814         * java/io/FileOutputStream.java
2815         (ch): Documentation added.
2816         (FileOutputStream): Documentation added.
2817         (getFD): Documentation added.
2818         (write): Documentation added.
2819         (close): Documentation added.
2820         (getChannel): Documentation added.
2821
2822 2003-03-24  Michael Koch  <konqueror@gmx.de>
2823
2824         * java/io/DataOutputStream.java
2825         (write): Merged from classpath.
2826         * java/io/File.java:
2827         Merged copyrigth with classpath.
2828         * java/io/FileInputStream.java
2829         (getChannel): Made it synchronized instead of using a synchronized
2830         block.
2831         * java/io/FileOutputStream.java: Reformatted.
2832         * java/io/InputStreamReader.java
2833         (InputStreamReader): Renamed enc to encoding_name.
2834         (close): Merged documentation from classpath.
2835         (getEncoding): Merged documentation from classpath.
2836         (ready): Merged documentation from classpath.
2837         (read): Merged documentation from classpath.
2838         * java/io/LineNumberReader.java
2839         (lineNumber): Made it private.
2840         (LineNumberReader): Use Constant instead of a direct value.
2841         * java/io/OutputStreamWriter.java
2842         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2843         documentation from classpath.
2844         (close): Merged documentation from classpath.
2845         (flush): Merged documentation from classpath.
2846         (write): Merged documentation from classpath.
2847         * java/io/PrintStream.java: Reformatted.
2848
2849 2003-03-24  Michael Koch  <konqueror@gmx.de>
2850
2851         * javax/swing/text/ComponentView.java
2852         (getComponent): Must be final.
2853         * javax/swing/tree/DefaultTreeCellRenderer.java:
2854         Reformatted.
2855         * javax/swing/undo/StateEditable.java:
2856         Reformatted.
2857
2858 2003-03-24  Michael Koch  <konqueror@gmx.de>
2859
2860         * java/rmi/activation/ActivationInstantiator.java:
2861         Reformatted.
2862         * java/rmi/activation/Activator.java:
2863         Reformatted.
2864         * java/rmi/registry/RegistryHandler.java:
2865         Remerged from classpath.
2866
2867 2003-03-24  Michael Koch  <konqueror@gmx.de>
2868
2869         * java/util/Date.java:
2870         Fixed documentation starting tag to make javadoc happy.
2871         * java/util/regex/Pattern.java
2872         (Pattern): Implements Serializable.
2873         * java/util/PatternSyntaxException.java
2874         (serialVersionUID): New member variable.
2875
2876 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2877
2878         * java/awt/ContainerOrderFocusTraversalPolicy.java
2879         (getFirstComponent): Implemented.
2880         (getLastComponent): Implemented.
2881         (getDefaultComponent): Implemented.
2882         (setImplicitDownCycleTraversal): Fixed implementation.
2883         * java/awt/Robot.java
2884         (Robot): Added documentation.
2885         * java/awt/Toolkit.java
2886         (getFontList): Deprecated.
2887         (getFontMetrics): Deprecated.
2888         (getPrintJob): Added documentation.
2889         (getSystemSelection): Added documentation.
2890         (getLockingKeyState): Added documentation.
2891         (setLockingKeyState): Added documentation.
2892         (createCustomCursor): Added documentation.
2893         (getBestCursorSize): Added documentation.
2894         (getMaximumCursorColors): Added documentation.
2895         (isFrameStateSupported): Added documentation.
2896
2897 2003-03-24  Michael Koch  <konqueror@gmx.de>
2898
2899         * java/io/RandomAccessFile.java:
2900         More little merges with classpath. No code changes.
2901
2902 2003-03-24  Michael Koch  <konqueror@gmx.de>
2903
2904         * java/net/natInetAddressNoNet.cc:
2905         Include stddef.h.
2906         * java/net/natPlainDatagramSocketImplNoNet.cc:
2907         Fixed inlcude of java/net/DatagramPacket.h.
2908         * java/net/natPlainSocketImplNoNet.cc:
2909         Include some missing classes.
2910
2911 2003-03-24  Michael Koch  <konqueror@gmx.de>
2912
2913         * java/awt/dnd/DropTarget.java
2914         (DropTargetAutoScroller): According to the online documentation, this
2915         is protected, but in reality it is public.
2916         * java/awt/dnd/DropTargetContext.java
2917         (TransferableProxy): According to the online documentation, this
2918         is protected, but in reality it is public.
2919
2920 2003-03-24  Michael Koch  <konqueror@gmx.de>
2921
2922         * java/io/DataInputStream.java
2923         (): Wrapped documentation line.
2924         (): Fixed @return tag.
2925         * java/io/DataOutputStream.java
2926         (written): Moved to top of class.
2927         (all methods): Merged documentation from classpath.
2928         * java/io/File.java:
2929         Merged copyright year with classpath.
2930         * java/io/FileInputStream.java
2931         (all methods): Merged documentation from classpath.
2932         * java/io/LineNumberReader.java
2933         (getLineNumber): Fixed @return tag.
2934         * java/io/ObjectInputStream.java.
2935         Reformatted.
2936         * java/io/ObjectOutputStream.java:
2937         Reformatted, fixed some @see tags.
2938         * java/io/OutputStreamWriter.java:
2939         Deleted empty line.
2940         * java/io/Writer.java:
2941         Reformatted.
2942
2943 2003-03-24  Michael Koch  <konqueror@gmx.de>
2944
2945         * java/awt/Frame.java
2946         (DEFAULT_CURSOR): Fixed @deprecated tag.
2947         (setCursor): Fixed @deprecated tag.
2948
2949 2003-03-24  Michael Koch  <konqueror@gmx.de>
2950
2951         * java/beans/beancontext/BeanContextEvent.java:
2952         Reformated.
2953
2954 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2955
2956         * java/lang/natStringBuffer.cc (regionMatches): New function.
2957         * java/lang/String.java (count): Now package-private.
2958         * java/lang/StringBuffer.java: Merged with Classpath.
2959
2960 2003-03-23  Michael Koch  <konqueror@gmx.de>
2961
2962         * java/io/BufferedOutputStream.java:
2963         Reformated.
2964         * java/io/BufferedReader.java:
2965         Reformated.
2966         * java/io/ByteArrayOutputStream.java
2967         (size): Fixed @see tag.
2968         * java/io/CharArrayWriter.java
2969         (size): Fixed @see tag.
2970         * java/io/DataInput.java:
2971         Reformated.
2972         * java/io/DataOutput.java:
2973         Reformated.
2974         * java/io/DataOutputStream.java:
2975         Merged copyright years with classpath.
2976         * java/io/Externalizable.java:
2977         Reformated.
2978         * java/io/FileFilter.java:
2979         Reformated.
2980         * java/io/FileInputStream.java:
2981         Merged copyright years with classpath.
2982         * java/io/FileOutputStream.java:
2983         Merged copyright years with classpath.
2984         * java/io/FilePermission.java
2985         (FilePermission): Replaced @XXX with FIXME:.
2986         * java/io/FileWriter.java:
2987         Reformated.
2988         * java/io/FilenameFilter.java:
2989         Reformated.
2990         * java/io/FilterInputStream.java:
2991         Reformated.
2992         * java/io/FilterOutputStream.java:
2993         Reformated.
2994         * java/io/FilterReader.java:
2995         Reformated.
2996         * java/io/FilterWriter.java:
2997         Reformated.
2998         * java/io/LineNumberInputStream.java
2999         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3000         happy.
3001         (getLineNumber): Fixed @return tag.
3002         * java/io/ObjectInput.java:
3003         Reformated.
3004         * java/io/ObjectOutput.java:
3005         Reformated.
3006         * java/io/ObjectStreamClass.java:
3007         Reformated.
3008         * java/io/PrintStream.java:
3009         Merged copyright years with classpath.
3010         * java/io/PushbackReader.java
3011         (PushbackReader): Replaced @code with @param.
3012         * java/io/SerializablePermission.java:
3013         Reformated.
3014         * java/io/StreamTokenizer.java
3015         (resetSyntax): Fixed @see tag.
3016
3017 2003-03-22  Richard Henderson  <rth@redhat.com>
3018
3019         * sysdep/ia64/locks.h: Include ia64intrin.h.
3020         (compare_and_swap): Use __sync_bool_compare_and_swap.
3021         (compare_and_swap_release): Expose ar.ccv assignment.
3022
3023 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3024
3025         * include/posix.h: Add suffix for darwin dynamic libraries.
3026
3027 2003-03-21  Michael Koch  <konqueror@gmx.de>
3028
3029         * javax/swing/Action.java
3030         (ACCELERATOR_KEY): New constant.
3031         (ACTION_COMMAND_KEY): Likewise.
3032         (MNEMONIC_KEY): Likewise.
3033         * javax/swing/UnsupportedLookAndFeelException.java
3034         (UnsupportedLookAndFeelException): Must be public.
3035         * javax/swing/WindowConstants.java
3036         (EXIT_ON_CLOSE): New constant.
3037         * javax/swing/text/BadLocationException.java
3038         (offset): New member variable.
3039         (BadLocationException): New implementation, documentation added.
3040         (offsetRequested): New method.
3041         * javax/swing/text/Caret.java:
3042         Reformated.
3043         * javax/swing/text/Document.java:
3044         Reformated.
3045
3046 2003-03-21  Michael Koch  <konqueror@gmx.de>
3047
3048         * java/rmi/activation/Activatable.java
3049         (serialVersionUID): New member variable.
3050         * java/rmi/activation/ActivationGroup.java
3051         (serialVersionUID): New member variable.
3052         * java/rmi/activation/ActivationGroupDesc.java
3053         (serialVersionUID): New member variable.
3054         * java/rmi/registry/Registry.java:
3055         Reformated.
3056         (Registry): Deprecated.
3057         * java/rmi/server/LoaderHandler.java
3058         Reformated.
3059         (LoaderHandler): Deprecated.
3060         * java/rmi/server/LogStream.java
3061         Reformated.
3062         (LogStream): Deprecated.
3063         * java/rmi/server/Operation.java
3064         (Operation): Deprecated.
3065         * java/rmi/server/RMIFailureHandler.java:
3066         Reformated.
3067         * java/rmi/server/RMISocketFactory.java:
3068         Reformated.
3069         * java/rmi/server/RemoteCall.java
3070         (RemoteCall): Deprecated.
3071         * java/rmi/server/RemoteStub.java:
3072         Reformated.
3073         * java/rmi/server/Skeleton.java
3074         Reformated.
3075         (Skeleton): Deprecated.
3076
3077 2003-03-21  Michael Koch  <konqueror@gmx.de>
3078
3079         * java/io/LineNumberReader.java
3080         (LineNumberReader): Merged documentation with classpath.
3081         (getLineNumber): Likewise.
3082         (setLineNumber): Likewise.
3083         (mark): Likewise.
3084         (reset): Likewise.
3085         (read): Likewise.
3086         (readLine): Likewise.
3087         (skip): Likewise.
3088
3089 2003-03-21  Michael Koch  <konqueror@gmx.de>
3090
3091         * java/rmi/RMISecurityManager.java
3092         (checkAccept): Removed.
3093         (checkAccess): Likewise.
3094         (checkAccess): Likewise.
3095         (checkAwtEventQueueAccess): Likewise.
3096         (checkConnect): Likewise.
3097         (checkCreateClassLoader): Likewise.
3098         (checkDelete): Likewise.
3099         (checkExec): Likewise.
3100         (checkExit): Likewise.
3101         (checkLink): Likewise.
3102         (checkListen): Likewise.
3103         (checkMemberAccess): Likewise.
3104         (checkMulticast): Likewise.
3105         (checkPackageAccess): Likewise.
3106         (checkPackageDefinition): Likewise.
3107         (checkPermission): Likewise.
3108         (checkPrintJobAccess): Likewise.
3109         (checkPropertiesAccess): Likewise.
3110         (checkPropertyAccess): Likewise.
3111         (checkRead): Likewise.
3112         (checkSecurityAccess): Likewise.
3113         (checkSetFactory): Likewise.
3114         (checkSystemClipboardAccess): Likewise.
3115         (checkTopLevelWindow): Likewise.
3116         (checkWrite): Likewise.
3117
3118 2003-03-20  Michael Koch  <konqueror@gmx.de>
3119
3120         * gnu/java/nio/FileChannelImpl.java
3121         (address): Removed.
3122         (map_address): New member variable.
3123         (length): Make it package private.
3124         (fd): Make it package private.
3125         (buf): Make it package private.
3126         (file_obj): Make it package private.
3127         (FileChannelImpl): New constructor.
3128         (nio_mmap_file): Use RawData instead of long.
3129         (nio_munmap_file): Use RawData instead of long.
3130         (nio_msync): Use RawData instead of long.
3131         (implCloseChannel): New implementation using map_address.
3132         (read): Reformated.
3133         (map): Implemented.
3134         (create_direct_mapped_buffer): Implemented, use RawData, throws
3135         IOException.
3136         (force): Use map_address instead of address.
3137         * gnu/java/nio/MappedByteFileBuffer.java
3138         (address): Removed.
3139         (map_address): New member variable.
3140         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3141         (several methods): Use map_address instead of address, replaced long
3142         with RawData where appropriate.
3143         * gnu/java/nio/natFileChannelImpl.cc
3144         (nio_mmap_file): Replaced long with RawData.
3145         (nio_munmap_file): Replaced long with RawData.
3146         (nio_msync): Replaced long with RawData.
3147         * gnu/java/nio/natMappedByteFileBuffer.cc
3148         (several methods): Replaced long with RawData where appropriate.
3149
3150 2003-03-20  Michael Koch  <konqueror@gmx.de>
3151
3152         * java/net/InetAddress.java,
3153         java/net/JarURLConnection.java,
3154         java/net/PlainDatagramSocketImpl.java,
3155         java/net/PlainSocketImpl.java,
3156         java/net/URLConnection.java:
3157         Merged copyright statements with classpath for easier merging.
3158
3159 2003-03-20  Michael Koch  <konqueror@gmx.de>
3160
3161         * java/io/FileInputStream.java
3162         (getChannel): New implementation.
3163         * java/io/FileOutputStream.java
3164         (ch): New member variable.
3165         (getChannel): Implemented.
3166         * java/io/RandomAccessFile.java
3167         (RandomAccessFile): Throws FileNotFoundException instead of
3168         IOException.
3169         (getChannel): New method.
3170         (ch): New member variable.
3171
3172 2003-03-20  Michael Koch  <konqueror@gmx.de>
3173
3174         * java/io/DataOutputStream.java,
3175         java/io/File.java,
3176         java/io/FileInputStream.java,
3177         java/io/FileOutputStream.java,
3178         java/io/InputStreamReader.java,
3179         java/io/LineNumberReader.java,
3180         java/io/OutputStreamWriter.java,
3181         java/io/PrintStream.java,
3182         java/io/RandomAccessFile.java:
3183         Merged copyright statements with classpath for easier merging.
3184
3185 2003-03-19  Michael Koch  <konqueror@gmx.de>
3186
3187         * java/lang/Process.java:
3188         Merged from classpath.
3189
3190 2003-03-19  Michael Koch  <konqueror@gmx.de>
3191
3192         * java/io/FileOutputStream.java
3193         (FileOutputStream): New constructor, merged from classpath.
3194         * java/io/FileWriter.java
3195         (FileWriter): New constructor, merged from classpath.
3196
3197 2003-03-18  Michael Koch  <konqueror@gmx.de>
3198
3199         * java/awt/ScrollPane.java
3200         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3201         (getViewportSize): Likewise.
3202         (addNotify): Likewise.
3203         (removeNotify): Likewise.
3204         * java/awt/ScrollPaneAdjustable.java
3205         (ScrollPaneAdjustable): No longer extends Scrollbar.
3206         * java/beans/beancontext/BeanContextServices.java:
3207         Reformated.
3208         (getService): Added throws TooManyListenersException;
3209         * java/beans/beancontext/BeanContextServicesSupport.java:
3210         Reformated.
3211
3212 2003-03-18  Michael Koch  <konqueror@gmx.de>
3213
3214         * java/io/BufferedOutputStream.java,
3215         java/io/DataInput.java,
3216         java/io/DataInputStream.java,
3217         java/io/DataOutput.java,
3218         java/io/Externalizable.java:
3219         More merges from classpath.
3220
3221 2003-03-18  Michael Koch  <konqueror@gmx.de>
3222
3223         * configure.in: Fixed links to platform dependant java.net files.
3224         * configure: Regenerated.
3225         * java/net/natInetAddress.cc,
3226         java/net/natNetworkInterface.cc,
3227         java/net/natPlainDatagramSocketImpl.cc,
3228         java/net/natPlainSocketImpl.cc:
3229         Removed.
3230
3231 2003-03-18  Michael Koch  <konqueror@gmx.de>
3232
3233         * configure.in: Create links to architecture dependent files,
3234         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3235         * configure: Regenerated.
3236         * java/net/natInetAddressNoNet.cc,
3237         java/net/natInetAddressPosix.cc,
3238         java/net/natInetAddressWin32.cc,
3239         java/net/natNetworkInterfaceNoNet.cc,
3240         java/net/natNetworkInterfacePosix.cc,
3241         java/net/natNetworkInterfaceWin32.cc,
3242         java/net/natPlainDatagramSocketImplNoNet.cc,
3243         java/net/natPlainDatagramSocketImplPosix.cc,
3244         java/net/natPlainDatagramSocketImplWin32.cc,
3245         java/net/natPlainSocketImplNoNet.cc,
3246         java/net/natPlainSocketImplPosix.cc,
3247         java/net/natPlainSocketImplWin32.cc: New files.
3248
3249 2003-03-18  Michael Koch  <konqueror@gmx.de>
3250
3251         * java/io/BufferedReader.java,
3252         java/io/BufferedWriter.java,
3253         java/io/ByteArrayOutputStream.java,
3254         java/io/FileFilter.java,
3255         java/io/FilePermission.java,
3256         java/io/FileReader.java,
3257         java/io/FileWriter.java,
3258         java/io/FilenameFilter.java,
3259         java/io/FilterInputStream.java,
3260         java/io/FilterOutputStream.java,
3261         java/io/FilterReader.java,
3262         java/io/FilterWriter.java,
3263         java/io/ObjectInput.java,
3264         java/io/ObjectInputValidation.java,
3265         java/io/ObjectOutput.java,
3266         java/io/ObjectStreamField.java,
3267         java/io/PipedInputStream.java,
3268         java/io/PipedReader.java,
3269         java/io/PrintWriter.java,
3270         java/io/PushbackReader.java,
3271         java/io/Reader.java,
3272         java/io/SerializablePermission.java,
3273         java/io/StringReader.java,
3274         java/io/Writer.java:
3275         Merged from classpath.
3276
3277 2003-03-17  Michael Koch  <konqueror@gmx.de>
3278
3279         * java/awt/ScrollPaneAdjustable.java:
3280         Compile fixes.
3281         
3282 2003-03-17  Michael Koch  <konqueror@gmx.de>
3283
3284         * java/net/DatagramSocket.java
3285         (connect): Fixed comment.
3286         * java/nio/ByteBuffer.java
3287         (hasArray): Fixed comment.
3288
3289 2003-03-17  Michael Koch  <konqueror@gmx.de>
3290
3291         * java/beans/Beans.java:
3292         Explicitely import classes not packages.
3293         * java/beans/FeatureDescriptor.java
3294         (preferred): New member variable.
3295         (isPreferred): New method.
3296         (setPreferred): New method.
3297         * java/beans/PropertyEditorManager.java:
3298         Explicitely import used classes.
3299         * java/beans/beancontext/BeanContextChild.java:
3300         Added line wrapping.
3301         * java/beans/beancontext/BeanContextChildSupport.java:
3302         Reindented.
3303         * java/beans/beancontext/BeanContextEvent.java:
3304         Reindented.
3305
3306 2003-03-17  Michael Koch  <konqueror@gmx.de>
3307
3308         * java/awt/Dialog.java
3309         (Dialog): New constructor, changed implementations, added
3310         documentation.
3311         * java/awt/ScrollPaneAdjustable.java
3312         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3313         Serializable.
3314         (serialVersionUID): New member variable.
3315         (sp): New member variable.
3316         (orientation): New member variable.
3317         (value): New member variable.
3318         (minimum): New member variable.
3319         (maximum): New member variable.
3320         (visibleAmount): New member variable.
3321         (unitIncrement): New member variable.
3322         (blockIncrement): New member variable.
3323         (AdjustmentListener): New member variable.
3324         (ScrollPaneAdjustable): New implementation.
3325         (addAdjustmentListener): New method.
3326         (removeAdjustmentListener): New method.
3327         (getAdjustmentListeners): New method.
3328         (getBlockIncrement): New method.
3329         (getMaximum): New method.
3330         (getMinimum): New method.
3331         (getOrientation): New method.
3332         (getUnitIncrement): New method.
3333         (getValue): New method.
3334         (getVisibleAmount): New method.
3335         (setBlockIncrement): New method.
3336         (setMaximum): Implemented.
3337         (setMinimum): Implemented.
3338         (setUnitIncrement): New method.
3339         (setValue): New method.
3340         (setVisibleAmount): Implemented. 
3341         (paramString): New stubbed method.
3342         * java/awt/Window.java
3343         (show): Call setVisible().
3344         (hide): Call setVisible().
3345         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3346         and WINDOW_STATE_CHANGED.
3347         (processWindowFocusEvent): New method.
3348         (processWindowStateEvent): New method.
3349         (postEvent): Deprecated.
3350         (applyResourceBundle): Deprecated.
3351         * java/awt/datatransfer/DataFlavor.java
3352         (DataFlavor): Doesn't thow ClassNotFoundException.
3353
3354 2003-03-17  Michael Koch
3355
3356         * javax/print/attribute/Attribute.java,
3357         javax/print/attribute/AttributeSet.java,
3358         javax/print/attribute/PrintRequestAttributeSet.java:
3359         New files.
3360         * Makefile.am
3361         (javax_source_files): Added new files:
3362         javax/print/attribute/Attribute.java
3363         javax/print/attribute/AttributeSet.java
3364         javax/print/attribute/PrintRequestAttributeSet.java
3365         * Makefile.in: Regenerated.
3366
3367 2003-03-17  Michael Koch
3368
3369         * javax/print/attribute/Attribute.java,
3370         javax/print/attribute/AttributeSet.java,
3371         javax/print/attribute/PrintRequestAttributeSet.java:
3372         New files.
3373         * Makefile.am
3374         (awt_java_source_files): Added new files:
3375         javax/print/attribute/Attribute.java
3376         javax/print/attribute/AttributeSet.java
3377         javax/print/attribute/PrintRequestAttributeSet.java
3378         * Makefile.in: Regenerated.
3379
3380 2003-03-16  Tom Tromey  <tromey@redhat.com>
3381
3382         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3383         Include platform.h.
3384         * java/lang/natRuntime.cc (insertSystemProperties): Use
3385         _Jv_platform_path_separator.
3386         (nativeGetLibname): Use _Jv_platform_file_separator.
3387         (_load): Use _Jv_platform_onload_names.
3388         (onload_names): New global.
3389         * include/win32.h (_Jv_platform_file_separator): New define.
3390         (_Jv_platform_path_separator): Likewise.
3391         (_Jv_platform_onload_names): Likewise.
3392         (_Jv_platform_ffi_abi): Likewise.
3393         * include/posix.h (_Jv_platform_file_separator): New define.
3394         (_Jv_platform_path_separator): Likewise.
3395         (_Jv_platform_onload_names): Likewise.
3396         (_Jv_platform_ffi_abi): Likewise.
3397
3398 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3399
3400         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3401
3402 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3403
3404         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3405         hierarchy loop.
3406         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3407         list to Object,ObjectStreamClass, moved callReadMethod code up into
3408         readObject and added Class argument to all setXxxField calls.
3409         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3410         consistent with ObjectOutputStream and to facilitate caching the
3411         Method in the future.
3412         (setBooleanField): Added Class argument.
3413         (setByteField): Likewise.
3414         (setCharField): Likewise.
3415         (setDoubleField): Likewise.
3416         (setFloatField): Likewise.
3417         (setIntField): Likewise.
3418         (setLongField): Likewise.
3419         (setShortField): Likewise.
3420         (setObjectField): Likewise.
3421         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3422         class hierarchy loop.
3423         (defaultWriteObject): Call writeFields with new argument list.
3424         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3425         list to Object,ObjectStreamClass, moved callWriteMethod up into
3426         writeObject and added Class argument to all getXxxField calls.
3427         (callWriteMethod): Added ObjectStreamClass argument to be able to
3428         get the proper class to call getMethod on (each class can have (or
3429         not have) its own writeObject method).
3430         (getBooleanField): Added Class argument.
3431         (getByteField): Likewise.
3432         (getCharField): Likewise.
3433         (getDoubleField): Likewise.
3434         (getFloatField): Likewise.
3435         (getIntField): Likewise.
3436         (getLongField): Likewise.
3437         (getShortField): Likewise.
3438         (getObjectField): Likewise.
3439         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3440         facilitate caching the Method object in the future.
3441
3442 2003-03-12  Andreas Schwab  <schwab@suse.de>
3443
3444         * configure.in: Avoid trailing /. in toolexeclibdir.
3445         * configure: Rebuilt.
3446
3447 2003-03-11  Michael Koch  <konqueror@gmx.de>
3448
3449         * gnu/java/nio/ByteBufferImpl.java
3450         (putInt): Use limit() instead of limit.
3451         * gnu/java/nio/CharBufferImpl.java
3452         (slice): Fixed implementation.
3453         (subSequence): Better bounds checking.
3454         * gnu/java/nio/MappedByteFileBuffer.java:
3455         Import all needed classes directly.
3456         * java/nio/ByteBuffer.java
3457         (hashCode): New dummy method.
3458         * java/nio/CharBuffer.java
3459         (array_offset): New member variable.
3460         (hasArray): Fixed documentation.
3461         (arrayOffset): Return array_offset.
3462
3463 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3464
3465         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3466         setter; made return value of getter const char* instead of char*
3467         * prims.cc: removed all references to _Jv_ThisExecutable().
3468         These are in the platform-specific sections now.
3469         * posix.cc: define platform-specific _Jv_ThisExecutable().
3470         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3471         * win32.cc: define platform-specific _Jv_ThisExecutable()
3472         using GetModuleFilename()
3473         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3474         to argv[0] instead of _Jv_ThisExecutable()
3475
3476 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3477
3478         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3479         that is set if we are using addr2name.awk instead of addr2line.
3480         (NameFinder): Set usingAddr2name if using addr2name.awk.
3481         (getExternalLabel): New native method to convert a method 
3482         name to an external label.
3483         (lookup): Convert name given by addr2line to an external label
3484         before demangling.
3485
3486         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3487         constant representing the prefix attached to method names to
3488         convert them to an external label.
3489         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3490         using LABEL_PREFIX.
3491
3492 2003-03-10  Tom Tromey  <tromey@redhat.com>
3493
3494         * Makefile.in: Rebuilt.
3495         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3496         (JC1FLAGS): Removed -Wno-deprecated.
3497
3498 2003-03-10  Michael Koch  <konqueror@gmx.de>
3499
3500         * java/nio/ByteOrder.java
3501         (nativeOrder): Working implementation, added documentation.
3502         (toString): Added documentation.
3503
3504 2003-03-10  Michael Koch  <konqueror@gmx.de>
3505
3506         * java/net/DatagramSocket.java,
3507         java/net/MulticastSocket.java,
3508         java/net/Socket.java,
3509         java/net/URL.java,
3510         java/net/URLConnection.java:
3511         Fixed some documentation tags to make javadoc and friends happy.
3512
3513 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3514
3515         * java/beans/beancontext/BeanContextServicesSupport.java,
3516         java/beans/beancontext/BeanContextSupport.java: New files.
3517         * Makefile.am
3518         (awt_source_files): Added new files.
3519         * Makefile.in: Regenerated.
3520
3521 2003-03-10  Michael Koch  <konqueror@gmx.de>
3522
3523         * java/awt/FocusTraversalPolicy.java
3524         (FocusTraversalPolicy): Documentation added.
3525         (getComponentAfter): Documentation added.
3526         (getComponentBefore): Documentation added.
3527         (getFirstComponent): Documentation added.
3528         (getLastComponent): Documentation added.
3529         (getDefaultComponent): Documentation added.
3530         (getInitialComponent): Documentation added.
3531         * java/awt/ScrollPaneAdjustable.java
3532         (sp): New member variable.
3533         (orientation): New member variable.
3534         (value): New member variable.
3535         (minimum): New member variable.
3536         (maximum): New member variable.
3537         (visibleAmount): New member variable.
3538         (unitIncrement): New member variable.
3539         (blockIncrement): New member variable.
3540         (adjustmentListener): New member variable.
3541         (ScrollPaneAdjustable): Rewrote.
3542         (addAdjustmentListener): New method.
3543         (removeAdjustmentListener): New method.
3544         (getAdjustmentListeners): New method.
3545         (getBlockIncrement): New method.
3546         (getMaximum): New method.
3547         (getMinimum): New method.
3548         (getOrientation): New method.
3549         (getUnitIncrement): New method.
3550         (getValue): New method.
3551         (getVisibleAmount): New method.
3552         (setBlockIncrement): New method.
3553         (setUnitIncrement): New method.
3554         (setMaximum): Implemented.
3555         (setMinimum): Implemented.
3556         (setValue): New method.
3557         (setVisibleAmount): Implemented.
3558         (paramString): New method.
3559         * java/awt/Window.java
3560         (show): Use setVisible(true) instead of super.show().
3561         (hide): Use sevVisible(false) instead of super.hide().
3562         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3563         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3564         (postEvent): Deprecated.
3565         (applyResourceBundle): Deprecated.
3566         (processWindowFocusEvent): New method.
3567         (processWindowStateEvent): New method.
3568         * java/awt/datatransfer/DataFlavor.java: Reindented.
3569         * java/awt/font/TextHitInfo.java
3570         (charIndex): New member variable.
3571         (leadingEdge): New member variable.
3572         (TextHitInfo): New constructor.
3573         (getCharIndex): Implemented.
3574         (isLeadingEdge): Implemented.
3575         (getInsertionIndex): Implemented.
3576         (hashCode): Access charIndex directly.
3577         (equals): Reformated.
3578         (leading): Implemented.
3579         (trailing): Implemented.
3580         (beforeOffset): Implemented.
3581         (afterOffset): Implemented.
3582         (getOtherHit): Implemented.
3583         (getOffsetHit): Implemented.
3584         (toString): Implemented.
3585         * java/awt/image/BufferedImage.java
3586         (BufferedImage): Implements WritableRenderedImage.
3587         (observers): New member variable.
3588         (addTileObserver): New method.
3589         (removeTileObserver): New method.
3590
3591 2003-03-09  Tom Tromey  <tromey@redhat.com>
3592
3593         PR libgcj/9934:
3594         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3595         to lseek.  Return 0 if we can't compute the value.
3596
3597 2003-03-03  Michael Koch  <konqueror@gmx.de>
3598
3599         * java/net/NetworkInterface.java: Merged with classpath.
3600
3601 2003-03-03  Tom Tromey  <tromey@redhat.com>
3602
3603         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3604         of bytecode.
3605         (handle_ret_insn): Fail if returning to jsr that appears at end of
3606         bytecode.
3607
3608 2003-03-03  Michael Koch  <konqueror@gmx.de>
3609
3610         * Makefile.am
3611         (ordinary_java_source_files):
3612         Added gnu/java/nio/MappedByteFileBuffer.java.
3613         (nat_source_files):
3614         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3615         * Makefile.in: Regenerated.
3616
3617 2003-03-03  Michael Koch  <konqueror@gmx.de>
3618
3619         * java/net/DatagramSocket.java
3620         (connect): Merged comment from classpath.
3621         (receive): Merged documentation from classpath.
3622         * java/net/Socket.java
3623         (setSoTimeout): Clarified documentation.
3624         * java/net/URL.java
3625         (getPath): Merged from classpath.
3626         (getUserInfo): Merged from classpath.
3627         (getQuery): Merged from classpath.
3628         * java/net/URLStreamHandler.java
3629         (toExternalForm): Merged from classpath.
3630
3631 2003-03-02  Mark Wielaard  <mark@klomp.org>
3632
3633         * java/util/Properties.java (load): Only skip line if the first
3634         character is a comment, whitespaces don't count.
3635
3636 2003-03-02  Michael Koch  <konqueror@gmx.de>
3637
3638         * java/net/NetPermission.java:
3639         Merged copyright with classpath.
3640
3641 2003-03-02  Michael Koch  <konqueror@gmx.de>
3642
3643         * java/lang/Package.java:
3644         Remerged from classpath.
3645
3646 2003-03-02  Michael Koch  <konqueror@gmx.de>
3647
3648         * java/net/HttpURLConnection.java
3649         (HTTP_SERVER_ERROR): Deprecated.
3650         * java/net/MulticastSocket.java
3651         (send): Replaced checkMulticast with appropriate checkPermission call,
3652         deprecated.
3653         * java/net/URLDecoder.java
3654         (decode): Deprecated.
3655         * java/net/URLEncoder.java
3656         (encode): Deprecated.
3657
3658 2003-03-02  Michael Koch  <konqueror@gmx.de>
3659
3660         * javax/swing/text/Caret.java
3661         (getMagicCaretPosition): Fixed typo in method name.
3662         * javax/swing/text/DefaultCaret.java
3663         (getMagicCaretPosition): Fixed typo in method name.
3664
3665 2003-03-02  Michael Koch  <konqueror@gmx.de>
3666
3667         * java/awt/List.java
3668         (setMultipleSelections): Deprecated.
3669         (delItem): Deprecated.
3670         * java/awt/MenuComponent.java
3671         (getPeer): Deprecated.
3672         * java/awt/ScrollPane.java
3673         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3674         * java/awt/dnd/MouseDragGestureRecognizer.java
3675         (mouseClicked): Added comment.
3676         (mousePressed): Added comment.
3677         (mouseReleased): Added comment.
3678         (mouseEntered): Added comment.
3679         (mouseExited): Added comment.
3680         (mouseDragged): Added comment.
3681         (mouseMoved): Added comment.
3682         * java/awt/event/KeyEvent.java
3683         (KeyEvent): Deprecated.
3684         (setModifiers): Deprecated.
3685         
3686 2003-03-02  Michael Koch  <konqueror@gmx.de>
3687
3688         * gnu/java/nio/FileChannelImpl.java
3689         (fd): Type FileDescriptor instead of int.
3690         (lengthInternal): Removed.
3691         (FileChannelImpl): Fixed arguments, check type of file object.
3692         (size): Made it native.
3693         (implPosition): New native method.
3694         (implTruncate): New native method.
3695         (position): Implemented.
3696         (truncate): Implemented.
3697         (nio_mmap_file): Changed arguments.
3698         (nio_munmap_file): Changed arguments.
3699         (nio_msync): Changed arguments.
3700         * gnu/java/nio/natFileChannelImpl.cc
3701         (lengthInternal): Removed.
3702         (size): New method.
3703         (implPosition): New method.
3704         (implTruncate): New method.
3705         (nio_mmap_file): Changed arguments.
3706         (nio_munmap_file): Changed arguments.
3707         (nio_msync): Changed arguments.
3708
3709 2003-03-02  Michael Koch  <konqueror@gmx.de>
3710
3711         * java/awt/dnd/DropTargetContext.java:
3712         Compile fix: Forgot to commit import.
3713         
3714 2003-03-02  Michael Koch  <konqueror@gmx.de>
3715
3716         * java/awt/Component.java,
3717         java/awt/ScrollPane.java:
3718         Fixed typos.
3719
3720 2003-03-02  Michael Koch  <konqueror@gmx.de>
3721
3722         * java/awt/dnd/DnDEventMulticaster.java: New file.
3723         * java/awt/dnd/DragSource.java
3724         (flavorMap): New member variable.
3725         (dragSourceListener): New member variable.
3726         (dragSourceMotionListener): New member variable.
3727         (getFlavorMap): Implemented.
3728         (createDragGestureRecognizer): Implemented.
3729         (addDragSourceListener): Implemented.
3730         (removeDragSourceListener): Implemented.
3731         (getDragSourceListeners): Implemented.
3732         (addDragSourceMotionListener): Implemented.
3733         (removeDragSourceMotionListener): Implemented.
3734         (getDragSourceMotionListeners): Implemented.
3735         (getListeners): Implemented.
3736         * java/awt/dnd/DragSourceContext.java
3737         (peer): New member variable.
3738         (cursor): New member variable.
3739         (transferable): New member variable.
3740         (trigger): New member variable.
3741         (dragSourceListener): New member variable.
3742         (image): New member variable.
3743         (offset): New member variable.
3744         (DragSourceContext): Implemented.
3745         (getDragSource): Implemented.
3746         (getComponent): Implemented.
3747         (getTrigger): Implemented.
3748         (getSourceActions): Implemented.
3749         (setCursor): Implemented.
3750         (getCursor): Implemented.
3751         (addDragSourceListener): Implemented.
3752         (removeDragSourceListener): Implemented.
3753         (getTransferable): Implemented.
3754         * java/awt/dnd/DropTarget.java
3755         (DropTargetAutoScroller.component): New member variable.
3756         (DropTargetAutoScroller.point): New member variable.
3757         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3758         (DropTargetAutoScroller.updateLocation): Implemented.
3759         (active): Renamed from isActive, defaults to true now.
3760         (component): New member variable.
3761         (flavorMap): New member variable.
3762         (actions): New member variable.
3763         (dropTargetContext): New member variable.
3764         (dropTargetListener): New member variable.
3765         (DropTarget): Implemented.
3766         (getComponent): Implemented.
3767         (setComponent): Implemented.
3768         (setDefaultActions): Implemented.
3769         (getDefaultActions): Implemented.
3770         (setActive): Use active instead of isActive.
3771         (isActive): Use active instead of isActive.
3772         (addDropTargetListener): Implemented.
3773         (removeDropTargetListener): Implemented.
3774         (getFlavorMap): Implemented.
3775         (setFlavorMap): Implemented.
3776         (getDropTargetContext): Implemented.
3777         (createDropTargetContext): Implemented.
3778         (createDropTargetAutoScroller): Implemented.
3779         * java/awt/dnd/DropTargetContext.java
3780         (TransferableProxy.getTransferDataFlavors): Implemented.
3781         (TransferableProxy.isDataFlavorSupported): Implemented.
3782         (TransferableProxy.getTransferData): Implemented.
3783         (dropTarget):  New member variable.
3784         (dtcp): New member variable.
3785         (DropTargetContext): New package private constructor.
3786         (getDropTarget): Implemented.
3787         (getComponent): Implemented.
3788         (addNotify): Implemented.
3789         (removeNotify): Implemented.
3790         (getCurrentDataFlavorsAsList): Implemented.
3791         (isDataFlavorSupported): Implemented.
3792         * java/awt/dnd/MouseDragGestureRecognizer.java
3793         (registerListeners): Implemented.
3794         (unregisterListeners): Implemented.
3795         * Makefile.am
3796         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3797         * Makefile.in: Regenerated.
3798
3799 2003-03-02  Michael Koch  <konqueror@gmx.de>
3800
3801         * java/awt/Component.java
3802         (eventTypeEnabled): New method.
3803         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3804         * java/awt/Container.java
3805         (changeSupport): New member variable.
3806         (addPropertyChangeListener): New methods.
3807         * java/awt/ContainerOrderFocusTraversalPolicy.java
3808         (ContainerOrderFocusTraversalPolicy): Added comment.
3809         (getComponentAfter): Throw exception, documentation added.
3810         (getComponentBefore): Throw exception, documentation added.
3811         (getFirstComponent): Throw exception, documentation added.
3812         (getLastComponent): Throw exception, documentation added.
3813         (getDefaultComponent): Throw exception, documentation added.
3814         * java/awt/EventQueue.java: Reindented.
3815         * java/awt/FocusTraversalPolicy.java:
3816         (FocusTraversalPolicy): Added comment.
3817         (getComponentAfter): Documentation added.
3818         (getComponentBefore): Documentation added.
3819         (getFirstComponent): Documentation added.
3820         (getLastComponent): Documentation added.
3821         (getDefaultComponent): Documentation added.
3822         (getInitialComponent): Documentation added.
3823         * java/awt/ScrollPane.java
3824         (wheelScrollingEnabled): New member variable.
3825         (ScrollPane): Initialize wheelScollingEnabled.
3826         (eventTypeEnabled): New method.
3827         (isWheelScrollingEnabled): New method.
3828         (setWheelScrollingEnabled): New method.
3829
3830 2003-03-02  Michael Koch  <konqueror@gmx.de>
3831
3832         * java/net/DatagramSocket.java
3833         (closed): New member variable.
3834         (close): Use closed variable.
3835         (getInetAddress): No need to call isConnected().
3836         (getPort): No need to call isConnected().
3837         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3838         (isClosed): Reimplemented.
3839         
3840 2003-03-02  Michael Koch  <konqueror@gmx.de>
3841
3842         * configure.in: Added check for memory mapping of files.
3843         * configure: Regenerated.
3844         * config.h.in: Regenerated.
3845
3846 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3847
3848         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3849         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3850
3851 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3852
3853         * java/io/File.java (normalizePath): Remove trailing separator
3854         on Windows only if path is not of the form "x:\".
3855
3856         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3857         (java::io::File::attr): Change formatting a bit and use
3858         WIN32_EPOCH_MILLIS instead of magic numbers.
3859         (java::io::File::isAbsolute): Path must have at least 3 
3860         characters for a UNC network path.
3861         (java::io::File::init_native): Define.
3862         (java::io::File::performCreate): Likewise.
3863         (java::io::File::performSetReadOnly): Likewise.
3864         (java::io::File::performSetLastModified): Likewise.
3865         (java::io::File::performListRoots): Likewise.
3866
3867 2003-03-01  Tom Tromey  <tromey@redhat.com>
3868
3869         * java/lang/natObject.cc: Don't include assert.h.
3870         (heavy_lock_obj_finalization_proc): Use JvAssert.
3871         (remove_all_heavy): Likewise.
3872         (_Jv_MonitorEnter): Likewise.
3873         (_Jv_MonitorExit): Likewise.
3874         (wait): Likewise.
3875
3876 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3877
3878         * java/io/File (getAbsolutePath): Prefix drive specifier on
3879         Windows for paths starting with a '\'.
3880         (toURL): Make URL more consistent with what Sun's JDK returns.
3881
3882         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3883         true only if the path is a UNC network path or it starts with a
3884         drive specifier.
3885
3886         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3887         Be prepared to handle either '/' or '\\' in the file path for
3888         Windows if using the "file" protocol.
3889         Canonicalise the file path if using a relative path in the given
3890         context and the "file" protocol.
3891
3892 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3893
3894         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3895         program array element passed to CreateProcess.
3896
3897 2003-03-01  Tom Tromey  <tromey@redhat.com>
3898
3899         * java/rmi/registry/RegistryHandler.java: Deprecate.
3900
3901 2003-03-01  Tom Tromey  <tromey@redhat.com>
3902
3903         * javax/accessibility/AccessibleEditableText.java,
3904         javax/accessibility/AccessibleHyperlink.java: New versions from
3905         Classpath.
3906
3907         * gnu/java/locale/LocaleInformation_af_ZA.java,
3908         gnu/java/locale/LocaleInformation_ar_AE.java,
3909         gnu/java/locale/LocaleInformation_ar_BH.java,
3910         gnu/java/locale/LocaleInformation_ar_DZ.java,
3911         gnu/java/locale/LocaleInformation_ar_EG.java,
3912         gnu/java/locale/LocaleInformation_ar_IN.java,
3913         gnu/java/locale/LocaleInformation_ar_IQ.java,
3914         gnu/java/locale/LocaleInformation_ar_JO.java,
3915         gnu/java/locale/LocaleInformation_ar_KW.java,
3916         gnu/java/locale/LocaleInformation_ar_LB.java,
3917         gnu/java/locale/LocaleInformation_ar_LY.java,
3918         gnu/java/locale/LocaleInformation_ar_MA.java,
3919         gnu/java/locale/LocaleInformation_ar_OM.java,
3920         gnu/java/locale/LocaleInformation_ar_QA.java,
3921         gnu/java/locale/LocaleInformation_ar_SD.java,
3922         gnu/java/locale/LocaleInformation_ar_SY.java,
3923         gnu/java/locale/LocaleInformation_ar_TN.java,
3924         gnu/java/locale/LocaleInformation_ar_YE.java,
3925         gnu/java/locale/LocaleInformation_be_BY.java,
3926         gnu/java/locale/LocaleInformation_bn_IN.java,
3927         gnu/java/locale/LocaleInformation_br_FR.java,
3928         gnu/java/locale/LocaleInformation_bs_BA.java,
3929         gnu/java/locale/LocaleInformation_ca_ES.java,
3930         gnu/java/locale/LocaleInformation_cs_CZ.java,
3931         gnu/java/locale/LocaleInformation_cy_GB.java,
3932         gnu/java/locale/LocaleInformation_da_DK.java,
3933         gnu/java/locale/LocaleInformation_de_AT.java,
3934         gnu/java/locale/LocaleInformation_de_BE.java,
3935         gnu/java/locale/LocaleInformation_de_CH.java,
3936         gnu/java/locale/LocaleInformation_de_DE.java,
3937         gnu/java/locale/LocaleInformation_de_LU.java,
3938         gnu/java/locale/LocaleInformation_el_GR.java,
3939         gnu/java/locale/LocaleInformation_en_AU.java,
3940         gnu/java/locale/LocaleInformation_en_BW.java,
3941         gnu/java/locale/LocaleInformation_en_CA.java,
3942         gnu/java/locale/LocaleInformation_en_DK.java,
3943         gnu/java/locale/LocaleInformation_en_GB.java,
3944         gnu/java/locale/LocaleInformation_en_HK.java,
3945         gnu/java/locale/LocaleInformation_en_IE.java,
3946         gnu/java/locale/LocaleInformation_en_IN.java,
3947         gnu/java/locale/LocaleInformation_en_NZ.java,
3948         gnu/java/locale/LocaleInformation_en_PH.java,
3949         gnu/java/locale/LocaleInformation_en_SG.java,
3950         gnu/java/locale/LocaleInformation_en_US.java,
3951         gnu/java/locale/LocaleInformation_en_ZA.java,
3952         gnu/java/locale/LocaleInformation_en_ZW.java,
3953         gnu/java/locale/LocaleInformation_es_AR.java,
3954         gnu/java/locale/LocaleInformation_es_BO.java,
3955         gnu/java/locale/LocaleInformation_es_CL.java,
3956         gnu/java/locale/LocaleInformation_es_CO.java,
3957         gnu/java/locale/LocaleInformation_es_CR.java,
3958         gnu/java/locale/LocaleInformation_es_DO.java,
3959         gnu/java/locale/LocaleInformation_es_EC.java,
3960         gnu/java/locale/LocaleInformation_es_ES.java,
3961         gnu/java/locale/LocaleInformation_es_GT.java,
3962         gnu/java/locale/LocaleInformation_es_HN.java,
3963         gnu/java/locale/LocaleInformation_es_MX.java,
3964         gnu/java/locale/LocaleInformation_es_NI.java,
3965         gnu/java/locale/LocaleInformation_es_PA.java,
3966         gnu/java/locale/LocaleInformation_es_PE.java,
3967         gnu/java/locale/LocaleInformation_es_PR.java,
3968         gnu/java/locale/LocaleInformation_es_PY.java,
3969         gnu/java/locale/LocaleInformation_es_SV.java,
3970         gnu/java/locale/LocaleInformation_es_US.java,
3971         gnu/java/locale/LocaleInformation_es_UY.java,
3972         gnu/java/locale/LocaleInformation_es_VE.java,
3973         gnu/java/locale/LocaleInformation_et_EE.java,
3974         gnu/java/locale/LocaleInformation_eu_ES.java,
3975         gnu/java/locale/LocaleInformation_fa_IR.java,
3976         gnu/java/locale/LocaleInformation_fi_FI.java,
3977         gnu/java/locale/LocaleInformation_fo_FO.java,
3978         gnu/java/locale/LocaleInformation_fr_BE.java,
3979         gnu/java/locale/LocaleInformation_fr_CA.java,
3980         gnu/java/locale/LocaleInformation_fr_CH.java,
3981         gnu/java/locale/LocaleInformation_fr_FR.java,
3982         gnu/java/locale/LocaleInformation_fr_LU.java,
3983         gnu/java/locale/LocaleInformation_ga_IE.java,
3984         gnu/java/locale/LocaleInformation_gd_GB.java,
3985         gnu/java/locale/LocaleInformation_gl_ES.java,
3986         gnu/java/locale/LocaleInformation_gv_GB.java,
3987         gnu/java/locale/LocaleInformation_he_IL.java,
3988         gnu/java/locale/LocaleInformation_hi_IN.java,
3989         gnu/java/locale/LocaleInformation_hr_HR.java,
3990         gnu/java/locale/LocaleInformation_hu_HU.java,
3991         gnu/java/locale/LocaleInformation_id_ID.java,
3992         gnu/java/locale/LocaleInformation_it_CH.java,
3993         gnu/java/locale/LocaleInformation_it_IT.java,
3994         gnu/java/locale/LocaleInformation_iw_IL.java,
3995         gnu/java/locale/LocaleInformation_ja_JP.java,
3996         gnu/java/locale/LocaleInformation_ka_GE.java,
3997         gnu/java/locale/LocaleInformation_kl_GL.java,
3998         gnu/java/locale/LocaleInformation_ko_KR.java,
3999         gnu/java/locale/LocaleInformation_kw_GB.java,
4000         gnu/java/locale/LocaleInformation_lt_LT.java,
4001         gnu/java/locale/LocaleInformation_lv_LV.java,
4002         gnu/java/locale/LocaleInformation_mi_NZ.java,
4003         gnu/java/locale/LocaleInformation_mk_MK.java,
4004         gnu/java/locale/LocaleInformation_mr_IN.java,
4005         gnu/java/locale/LocaleInformation_mt_MT.java,
4006         gnu/java/locale/LocaleInformation_nl_BE.java,
4007         gnu/java/locale/LocaleInformation_nl_NL.java,
4008         gnu/java/locale/LocaleInformation_nn_NO.java,
4009         gnu/java/locale/LocaleInformation_no_NO.java,
4010         gnu/java/locale/LocaleInformation_oc_FR.java,
4011         gnu/java/locale/LocaleInformation_pl_PL.java,
4012         gnu/java/locale/LocaleInformation_pt_BR.java,
4013         gnu/java/locale/LocaleInformation_pt_PT.java,
4014         gnu/java/locale/LocaleInformation_ro_RO.java,
4015         gnu/java/locale/LocaleInformation_ru_RU.java,
4016         gnu/java/locale/LocaleInformation_ru_UA.java,
4017         gnu/java/locale/LocaleInformation_se_NO.java,
4018         gnu/java/locale/LocaleInformation_sk_SK.java,
4019         gnu/java/locale/LocaleInformation_sl_SI.java,
4020         gnu/java/locale/LocaleInformation_sq_AL.java,
4021         gnu/java/locale/LocaleInformation_sr_YU.java,
4022         gnu/java/locale/LocaleInformation_sv_FI.java,
4023         gnu/java/locale/LocaleInformation_sv_SE.java,
4024         gnu/java/locale/LocaleInformation_ta_IN.java,
4025         gnu/java/locale/LocaleInformation_te_IN.java,
4026         gnu/java/locale/LocaleInformation_tg_TJ.java,
4027         gnu/java/locale/LocaleInformation_tl_PH.java,
4028         gnu/java/locale/LocaleInformation_tr_TR.java,
4029         gnu/java/locale/LocaleInformation_uk_UA.java,
4030         gnu/java/locale/LocaleInformation_ur_PK.java,
4031         gnu/java/locale/LocaleInformation_uz_UZ.java,
4032         gnu/java/locale/LocaleInformation_vi_VN.java,
4033         gnu/java/locale/LocaleInformation_yi_US.java,
4034         gnu/java/locale/LocaleInformation_zh_CN.java,
4035         gnu/java/locale/LocaleInformation_zh_HK.java,
4036         gnu/java/locale/LocaleInformation_zh_SG.java,
4037         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4038         info; from Classpath.
4039
4040         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4041         isPaintPending): New methods.
4042         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4043         setMaximizedBounds): New methods.
4044         (beginLayout, endLayout, isPaintPending): Likewise.
4045         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4046         (requestFocus): Likewise.
4047         (isObscured): Likewise.
4048         (canDetermineObscurity): Likewise.
4049         (coalescePaintEvent): Likewise.
4050         (updateCursorImmediately): Likewise.
4051         (createVolatileImage): Likewise.
4052         (handlesWheelScrolling): Likewise.
4053         (createBuffers): Likewise.
4054         (getBackBuffer): Likewise.
4055         (flip): Likewise.
4056         (destroyBuffers): Likewise.
4057
4058         * Makefile.in: Rebuilt.
4059         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4060         RobotPeer.java.
4061         * gnu/java/awt/GLightweightPeer.java,
4062         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4063         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4064         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4065         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4066         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4067         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4068         java/awt/dnd/peer/DragSourceContextPeer.java,
4069         java/awt/dnd/peer/DropTargetContextPeer.java,
4070         java/awt/peer/ButtonPeer.java,
4071         java/awt/peer/CheckboxMenuItemPeer.java,
4072         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4073         java/awt/peer/ComponentPeer.java,
4074         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4075         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4076         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4077         java/awt/peer/MenuBarPeer.java,
4078         java/awt/peer/MenuComponentPeer.java,
4079         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4080         java/awt/peer/PopupMenuPeer.java,
4081         java/awt/peer/ScrollPanePeer.java,
4082         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4083         java/awt/peer/TextComponentPeer.java,
4084         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4085         New versions from Classpath.
4086         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4087         * java/awt/peer/RobotPeer.java: Likewise.
4088
4089 2003-03-01  Mark Wielaard  <mark@klomp.org>
4090
4091         * java/io/ObjectInputStream.java: Reindent.
4092         * java/io/ObjectOutputStream.java: Likewise.
4093
4094 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4095
4096         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4097         jvalue for each argument. Simplify.
4098         * testsuite/libjava.jni/calls.c (docall),
4099         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4100         misalignment.
4101
4102 2003-02-28  Mark Wielaard  <mark@klomp.org>
4103
4104         * Makefile.am (nat_source_files): Remove
4105         java/io/natObjectOutputStream.cc.
4106         * Makefile.in: Regenerated.
4107         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4108         * java/io/ObjectStreamField.java (typename): New field.
4109         (ObjectStreamField(String, Class)): Initialize new field.
4110         (ObjectStreamField(String, String)): New Constructor.
4111         (getTypeCode): Use new field.
4112         (getTypeString): Use new field.
4113         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4114         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4115         Handle reading of Proxy classes. Never drain(), just write
4116         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4117         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4118         (flush): Call flush(), not just drain().
4119         (writeBoolean): Always use blockDataOutput.
4120         (writeByte): Likewise.
4121         (writeShort): Likewise.
4122         (writeChar): Likewise.
4123         (writeInt): Likewise.
4124         (writeLong): Likewise.
4125         (writeFloat): Likewise.
4126         (writeDouble): Likewise.
4127         (writeBytes): Likewise.
4128         (putfield (put(String,Object))): Throw IllegalArgumentException if
4129         field cannot be found.
4130         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4131         (writeArraySizeAndElements): Write byte[] in one go.
4132         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4133         set BlockDataMode to false.
4134         (annotateProxyClass): New method.
4135         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4136         (getField): No longer native.
4137         (getMethod): Likewise.
4138         (setBlockDataMode): Always drain() on switch, return old mode.
4139         (static): New static code block.
4140         * java/io/natObjectOutputStream.cc: Removed.
4141         * java/io/ObjectInputStream.java (getField): No longer native.
4142         (getMethod): Likewise.
4143         (readObject): Remember and reset old BlockDataMode. Track whether
4144         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4145         TC_LONGSTRING.
4146         (defaultReadObject): Set BlockDataMode to false during readFields.
4147         (resolveClass): Create new SecurityManager if necessary.
4148         Use Class.forName() if null ClassLoader found.
4149         (read(byte[],int,int): Copy remaining bytes to data before calling
4150         readNextBlock().
4151         (readFields): Set and reset BlockDataMode on call_read_method.
4152         Catch NoSuchFieldErrors.
4153         (setBlockDataMode): Return old mode.
4154         (static): New static code block.
4155         * java/io/natObjectInputStream.cc (getField): Removed.
4156         (getMethod): Likewise.
4157
4158 2003-02-27  Michael Koch  <konqueror@gmx.de>
4159
4160         * java/beans/Beans.java,
4161         java/beans/FeatureDescriptor.java
4162         java/beans/PropertyEditorManager.java:
4163         Reformated to GNU style.
4164
4165 2003-02-25  Michael Koch  <konqueror@gmx.de>
4166
4167         * gnu/java/nio/MappedByteFileBuffer.java,
4168         gnu/java/nio/natMappedByteFileBuffer.cc:
4169         New files, both are not compiled yet to get not noncompiling CVS.
4170
4171 2003-02-24  Tom Tromey  <tromey@redhat.com>
4172
4173         * java/util/prefs/AbstractPreferences.java (isUserNode):
4174         Implemented.
4175
4176 2003-02-24  Tom Tromey  <tromey@redhat.com>
4177
4178         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4179         Deprecate.
4180         * java/lang/Thread.java (resume): Deprecate.
4181         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4182         in @deprecated.
4183
4184 2003-02-23  Tom Tromey  <tromey@redhat.com>
4185
4186         * Makefile.in: Rebuilt.
4187         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4188
4189 2003-02-23  Tom Tromey  <tromey@redhat.com>
4190
4191         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4192         libraries): Removed.
4193         (add_library): Removed.
4194         (_load): Don't call add_library.
4195         (loadLibraryInternal): Likewise.
4196         (init): Likewise.
4197         (lookup_data): New struct.
4198         (find_symbol): New function.
4199         (_Jv_FindSymbolInExecutable): Use it.
4200
4201 2002-02-21  Anthony Green  <green@redhat.com>
4202
4203         * java/lang/Thread.java (Thread): New constructor taking stack
4204         size parameter (ignored for now).
4205         * Many methods: Merged GNU Classpath documentation.
4206
4207         * java/lang/Class.java (finalize): throws a Throwable.
4208
4209 2003-02-21  Mark Wielaard  <mark@klomp.org>
4210
4211         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4212         argument is null.
4213
4214 2003-02-21  Mark Wielaard  <mark@klomp.org>
4215
4216         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4217         then 65535 chars throw IllegalArgumentException.
4218
4219 2003-02-21  Mark Wielaard  <mark@klomp.org>
4220
4221         * java/util/zip/ZipFile.java (finalize): New method.
4222
4223 2003-02-21  Michael Koch  <konqueror@gmx.de>
4224
4225         * gnu/java/nio/natSocketChannelImpl.cc:
4226         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4227         <cato@df.lth.se> for pointing to it.
4228
4229 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4230
4231         * java/math/BigInteger.java (euclidInv): Take result array as an
4232         argument.  Updated all callers.
4233         (modInverse): Removed unused variables.
4234
4235 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4236
4237         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4238         config.status.
4239         * configure: Rebuilt.
4240
4241 2003-02-19  Michael Koch  <konqueror@gmx.de>
4242
4243         * gnu/java/nio/natSocketChannelImpl.cc:
4244         Added support for platforms without network support.
4245
4246 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4247
4248         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4249         after config.h.  Use <> for consistency.
4250         * java/lang/natObject.cc: Likewise.
4251         * java/lang/natRuntime.cc: Likewise.
4252         * java/lang/natSystem.cc: Likewise.
4253         * java/util/natTimeZone.cc: Likewise.
4254         * win32.cc: Likewise.
4255         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4256         listen, write, read): Undef to avoid interference from OS macros.
4257
4258 2003-02-19  Michael Koch  <konqueror@gmx.de>
4259
4260         * gnu/java/nio/ByteBufferImpl.java
4261         (ByteBufferImpl): Renamed two variables.
4262         * gnu/java/nio/CharBufferImpl.java
4263         (CharBufferImpl): Renamed two variables.
4264         * gnu/java/nio/DoubleBufferImpl.java
4265         (DoubleBufferImpl): Renamed two variables.
4266         * gnu/java/nio/FloatBufferImpl.java
4267         (FloatBufferImpl): Renamed two variables.
4268         * gnu/java/nio/IntBufferImpl.java
4269         (IntBufferImpl): Renamed two variables.
4270         * gnu/java/nio/LongBufferImpl.java
4271         (LongBufferImpl): Renamed two variables.
4272         * gnu/java/nio/ShortBufferImpl.java
4273         (ShortBufferImpl): Renamed two variables.
4274         * java/nio/CharBuffer.java
4275         (wrap): Fixed arguments to CharBufferImpl constructor.
4276         (hasArray): Only not read-only buffers have backing arrays.
4277         (length): Documentation added.
4278         (subSequence): Documentation added.
4279         * java/nio/DoubleBuffer.java
4280         (hasArray): Only not read-only buffers have backing arrays.
4281         * java/nio/FloatBuffer.java
4282         (hasArray): Only not read-only buffers have backing arrays.
4283         * java/nio/IntBuffer.java
4284         (hasArray): Only not read-only buffers have backing arrays.
4285         * java/nio/LongBuffer.java
4286         (hasArray): Only not read-only buffers have backing arrays.
4287         * java/nio/ShortBuffer.java
4288         (hasArray): Only not read-only buffers have backing arrays.
4289         
4290 2003-02-19  Michael Koch  <konqueror@gmx.de>
4291
4292         * javax/accessibility/AccessibleContext.java
4293         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4294
4295 2003-02-19  Michael Koch  <konqueror@gmx.de>
4296
4297         * java/awt/ScrollPaneAdjustable.java: Reformated.
4298
4299 2003-02-19  Michael Koch <konqueror@gmx.de>
4300
4301         * gnu/awt/j2d/Graphics2DImpl.java
4302         (getFontRenderContext): New method.
4303         (drawGlyphVector): New method.
4304         * java/awt/Graphics2D.java
4305         (getFontRenderContext): New abstract method.
4306         (drawGlyphVector): New abstract method.
4307         
4308 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4309
4310         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4311         if necessary.
4312         
4313         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4314         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4315         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4319         (setFont, gtkSetFont): add.
4320         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4321         Propagate font to peer.  (setFont): add FIXME comment.
4322
4323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4324         (gtkTextGetSize): fix height, width computation.
4325
4326         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4327         Make X font name a bit less bogus.
4328
4329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4330         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4331
4332         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4333         (processAdjustmentEvent): Adjust value.
4334
4335         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4336         logic errors.
4337
4338         * java/awt/Component.java (setVisible, show, hide): Call show and
4339         hide methods in subclasses.
4340         (getPreferredSize): don't set prefSize before we have peer.
4341
4342         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4343         Guess (0,0) if we don't have peer.
4344
4345
4346 2003-02-18  Michael Koch  <konqueror@gmx.de>
4347
4348         * java/nio/channels/FileChannel.java
4349         (toString): New implementation, added documentation.
4350         (map): Added exception documentation.
4351         (size): Added exception documentation.
4352         (write): New methods, documentation work.
4353         (read): New methods, documentation work.
4354         (implCloseChannel): Rewrote exception documentation.
4355         (force): Throws IOException, added documentation.
4356         (lock): New methods.
4357         (tryLock): New methods.
4358         (position): New methods.
4359         (transferTo): New method.
4360         (transferFrom): New method.
4361         (truncate): New method.
4362         * java/nio/channels/spi/SelectorProvider.java
4363         (provider): Implemented.
4364         * Makefile.am
4365         (ordinary_java_source_files): Added the following files:
4366         gnu/java/nio/DatagramChannelImpl.java
4367         gnu/java/nio/FileChannelImpl.java
4368         gnu/java/nio/PipeImpl.java
4369         gnu/java/nio/SelectionKeyImpl.java
4370         gnu/java/nio/SelectorImpl.java
4371         gnu/java/nio/SelectorProviderImpl.java
4372         gnu/java/nio/ServerSocketChannelImpl.java
4373         gnu/java/nio/SocketChannelImpl.java
4374         java/nio/channels/FileLock.java
4375         (nat_java_source_files): Added the following files:
4376         gnu/java/nio/natFileChannelImpl.cc
4377         gnu/java/nio/natSelectorImpl.cc
4378         gnu/java/nio/natSocketChannelImpl.cc
4379         * Makefile.in: Regenerated.
4380
4381 2003-02-17  Tom Tromey  <tromey@redhat.com>
4382
4383         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4384         * java/awt/image/ImageFilter.java: Likewise.
4385
4386 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4387
4388         * java/math/BigInteger.java (euclidInv): Return array of
4389         `BigInteger's.  Changed all callers.
4390
4391 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4392
4393         * java/util/Properties.java (store): Move the code formerly in
4394         list(), into this method.
4395         (list (PrintStream)): Just call list (PrintWriter) with a 
4396         PrintWriter object constructed from the given PrintStream object.
4397         (list (PrintWriter)): Emulate the output of Properties.list()
4398         as found in JDK 1.3/1.4.
4399
4400 2003-02-17  Michael Koch  <konqueror@gmx.de>
4401
4402         * java/net/DatagramSocket.java
4403         (connect): Merged with classpath.
4404         (disconnect): Merged documentation with classpath.
4405         (receice): Merged documentation with classpath.
4406         (send): Merged documentation with classpath.
4407         
4408 2003-02-17  Michael Koch  <konqueror@gmx.de>
4409
4410         * java/awt/dnd/DragSourceContext.java
4411         (addDragSourceListener): Added documentation.
4412         * java/awt/dnd/DragSourceDragEvent.java
4413         (serialVersionUID): New member variable.
4414         (getDropAction): Reformated.
4415         * java/awt/dnd/DragSourceDropEvent.java
4416         (serialVersionUID): New member variable.
4417         (dropSuccess): Renamed from success for serialization issues.
4418         * java/awt/dnd/DragSourceEvent.java
4419         (serialVersionUID): New member variable.
4420         * java/awt/dnd/DropTarget.java
4421         (serialVersionUID): New member variable.
4422         (DropTarget): Implemented, documentation reworked.
4423         (setComponent): Documentation added.
4424         (getComponent): Documentation added.
4425         (setDefaultActions): Documentation added.
4426         (getDefaultActions): Documentation added.
4427         (addDropTargetListener): Documentation added.
4428         * java/awt/dnd/DropTargetContext.java
4429         (DropTargetContext): Documentation added.
4430         (TransferableProxy.TransferableProxy): New method.
4431         (dropComplete): Fixed documentation.
4432         (getTransferable): Fixed documentation.
4433         (createTransferableProxy): Implemented.
4434         * java/awt/dnd/DropTargetDragEvent.java
4435         (DropTargetDragEvent): Documentation added.
4436         (serialVersionUID): New member variable.
4437         (DropTargetDragEvent): Throw exceptions, documentation added.
4438         (acceptDrag): Implemented.
4439         (getCurrentDataFlavors): Implemented.3yy
4440         (getCurrentDataFlavorsAsList): Implemented.
4441         (isDataFlavorSupported): Implemented.
4442         (rejectDrag): Implemented.
4443         * java/awt/dnd/DropTargetDropEvent.java
4444         (DropTargetDropEvent): Documentation added.
4445         (serialVersionUID): New member variable.
4446         (actions): Renamed from srcActions for serialization issues.
4447         (isLocalTx): Renamed from isLocalTx for serialization issues.
4448         (DropTargetDropEvent): New implementation, throw exceptions,
4449         documentation added.
4450         (getCurrentDataFlavors): Implemented.
4451         (getCurrentDataFlavorsAsList): Implemented.
4452         (isDataFlavorSupported): Implemented.
4453         (getSourceActions): Implemented.
4454         (getDropAction): Implemented.
4455         (getTransferable): Implemented.
4456         (acceptDrop): Implemented.
4457         (rejectDrop): Implemented.
4458         * java/awt/dnd/DropTargetListener.java
4459         (drop): Fixed documentation.
4460         * java/awt/dnd/MouseDragGestureRecognizer.java
4461         (MouseDragGestureRecognizer): Documentation added.
4462
4463 2003-02-17  Michael Koch  <konqueror@gmx.de>
4464
4465         * java/awt/font/FontRenderContext.java,
4466         java/awt/font/ShapeGraphicAttribute.java,
4467         java/awt/font/MultipleMaster.java,
4468         java/awt/font/TransformAttribute.java,
4469         java/awt/font/GlyphJustificationInfo.java,
4470         java/awt/font/LineBreakMeasurer.java,
4471         java/awt/font/TextMeasurer.java,
4472         java/awt/font/TextLayout.java,
4473         java/awt/font/LineMetrics.java,
4474         java/awt/font/TextAttribute.java,
4475         java/awt/font/GlyphMetrics.java,
4476         java/awt/font/OpenType.java,
4477         java/awt/font/GlyphVector.java,
4478         java/awt/font/GraphicAttribute.java,
4479         java/awt/font/ImageGraphicAttribute.java,
4480         java/awt/font/NumericShaper.java: New files.
4481         * Makefile.am
4482         (awt_java_source_files): Added the following files:
4483         java/awt/font/FontRenderContext.java
4484         java/awt/font/ShapeGraphicAttribute.java
4485         java/awt/font/MultipleMaster.java
4486         java/awt/font/TransformAttribute.java
4487         java/awt/font/GlyphJustificationInfo.java
4488         java/awt/font/LineBreakMeasurer.java
4489         java/awt/font/TextMeasurer.java
4490         java/awt/font/TextLayout.java
4491         java/awt/font/LineMetrics.java
4492         java/awt/font/TextAttribute.java
4493         java/awt/font/GlyphMetrics.java
4494         java/awt/font/OpenType.java
4495         java/awt/font/GlyphVector.java
4496         java/awt/font/GraphicAttribute.java
4497         java/awt/font/ImageGraphicAttribute.java
4498         java/awt/font/NumericShaper.java
4499         * Makefile.in: Regenerated.
4500
4501 2003-02-17  Michael Koch  <konqueror@gmx.de>
4502
4503         * java/awt/print/Paper.java
4504         (Paper): Implements Cloneable.
4505         * java/awt/print/PrinterJob.java
4506         (setJobName): Return value must be void.
4507         (print): Throws PrinterException.
4508         
4509 2003-02-16  Tom Tromey  <tromey@redhat.com>
4510
4511         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4512         variable.
4513
4514 2003-02-15  Michael Koch  <konqueror@gmx.de>
4515
4516         * java/awt/datatransfer/DataFlavor.java
4517         (isRepresentationClassByteBuffer): Removed try-catch block.
4518         (isRepresentationClassCharBuffer): Removed try-catch block.
4519         (isRepresentationClassReader): Removed try-catch block.
4520
4521 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4522
4523         * java/nio/charset/Charset.java
4524         (isRegistered): Fixed method args and implementation.
4525         * java/nio/charset/CharsetEncoder.java
4526         (unmappableCharacterAction): New method.
4527
4528 2003-02-15  Michael Koch  <konqueror@gmx.de>
4529
4530         * java/awt/CheckboxMenuItem.java
4531         (CheckBoxMenuItem): Dont implement Serializable.
4532         (getListeners): New method,
4533         (getItemListeners): New method.
4534         * java/awt/Choice.java
4535         (getListeners): New method,
4536         (getItemListeners): New method.
4537         * java/awt/Container.java
4538         (getListeners): Added exception documentation.
4539         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4540         (getFocusTraversalKeys): Added documentation.
4541         (areFocusTraversalKeysSet): Added documentation.
4542         (applyComponentOrientation): Added documentation.
4543         * java/awt/ContainerOrderFocusTraversalPolicy.java
4544         (implicitDownCycleTraversal): Renamed from downCycle for
4545         serialization.
4546         (ContainerOrderFocusTraversalPolicy): Added documentation.
4547         (accept): Reformated.
4548         * java/awt/Dialog.java
4549         (Dialog): Dont implement Serializable.
4550         (Dialog): Added documentation.
4551         * java/awt/Font.java
4552         (Font): Dont use absolute class name.
4553         * java/awt/Frame.java
4554         (Frame): Font implement Serializable.
4555         * java/awt/List.java
4556         (getListeners): New method,
4557         (getActionListeners): New method.       
4558         (getItemListeners): New method.
4559         * java/awt/Menu.java
4560         (countItems): New deprecated method.
4561         * java/awt/Scrollbar.java
4562         (getListeners): New method,
4563         (getAdjustmentListeners): New method,
4564         * java/awt/TextComponent.java
4565         (getListeners): New method,
4566         (getTextListeners): New method,
4567         * java/awt/TextField.java
4568         (getListeners): New method,
4569         (getActionListeners): New method.       
4570         * java/awt/Window.java
4571         (windowFocusListener): New member variable.
4572         (windowStateListener): New member variable.
4573         (getWindowFocusListeners): New method.
4574         (getWindowStateListeners): New method.
4575         (addWindowFocusListener): New method.
4576         (addWindowStateListener): New method.
4577         (removeWindowFocusListener): New method.
4578         (removeWindowStateListener): New method.
4579         * java/awt/datatransfer/DataFlavor.java
4580         (isRepresentationClassByteBuffer): New method.
4581         (isRepresentationClassCharBuffer): New method.
4582         (isRepresentationClassReader): New method.
4583
4584 2003-02-14  Mark Wielaard  <mark@klomp.org>
4585
4586         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4587         zero when there is an exponent and the significant is zero.
4588         (divide): Always set scale to newScale even in special ZERO case.
4589
4590 2003-02-14  Tom Tromey  <tromey@redhat.com>
4591
4592         * java/lang/System.java (properties): Use Properties.clone.
4593         (setProperties): Likewise.
4594
4595 2003-02-14  Michael Koch  <konqueror@gmx.de>
4596
4597         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4598         * gnu/java/nio/ServerSocketChannelImpl.java
4599         (SocketAccept): Removed.
4600         (accept): Commented out use of SocketAccept.
4601
4602 2003-02-13  Tom Tromey  <tromey@redhat.com>
4603
4604         * verify.cc (state::seen_subrs): New field.
4605         (state::state): Initialize it.
4606         (state::clean_subrs): New method.
4607         (state::~state): Call it.
4608         (state::copy): Copy subroutine list.
4609         (state::add_subr): New method.
4610         (state::merge): Only register a change if the current subroutine
4611         hasn't yet been noted.
4612
4613 2003-02-13  Mark Wielaard  <mark@klomp.org>
4614
4615         * java/io/InputStreamReader.java (getEncoding): Return null when
4616         closed.
4617         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4618
4619 2003-02-13  Mark Wielaard  <mark@klomp.org>
4620  
4621         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4622         is zero.
4623
4624 2003-02-13  Mark Wielaard  <mark@klomp.org>
4625
4626         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4627         next byte cannot be buffered.
4628
4629 2003-02-13  Michael Koch  <konqueror@gmx.de>
4630  
4631         * java/awt/Label.java
4632         (Label): Don't implement Serializable directly.
4633         (addNotify): Fixed typo in documentation.
4634         * java/awt/List.java
4635         (List): Don't implement Serializable directly.
4636         * java/awt/PopupMenu.java
4637         (PopupMenu): Don't implement Serializable directly.
4638         * java/awt/ScrollPane.java
4639         (ScrollPane): Don't implement Serializable directly.
4640         * java/awt/Scrollbar.java
4641         (Scrollbar): Don't implement Serializable directly.
4642         * java/awt/TextArea.java
4643         (preferredSize): Fixed method arguments.
4644         * java/awt/TextField.java
4645         (TextField): Don't implement Serializable directly.
4646         * java/awt/color/ICC_ColorSpace.java
4647         (fromCIOXYZ): Documentation added.
4648         (getMinValue): Documentation added.
4649         (getMaxValue): Documentation added.
4650         * java/awt/datatransfer/DataFlavor.java
4651         (isMimeTypeEqual): May not be final.
4652         (clone): Throws CloneNotSupportedException.
4653         (getReaderForText): Don't throws UnsupportedEncodingException.
4654
4655 2003-02-13  Michael Koch  <konqueror@gmx.de>
4656  
4657         * gnu/java/awt/peer/gtk/GdkGraphics.java
4658         (drawString): New stubbed method.
4659         * java/awt/Graphics.java
4660         (drawString): New method.
4661
4662 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4663
4664         PR libgcj/9271:
4665         * java/security/SecureRandom.java (next): Avoid bias in results.
4666
4667 2003-02-13  Michael  <konqueror@gmx.de>
4668
4669         * gnu/java/nio/FileChannelImpl.java
4670         (lengthInternal): Must be native.
4671         (size): Check if channel is already closed.
4672         (implCloseChannel): Reformated.
4673         (read): w was unused, removed it.
4674         (read): Removed.
4675         (read): New method.
4676         (write): New method.
4677         (map): Check arguments.
4678         (force): Throws IOException, check if channel is closed.
4679         (transferTo): New method.
4680         (transferFrom): New method.
4681         (lock): New method.
4682         (tryLock): New method.
4683         (position): New method.
4684         (truncate): New method.
4685         (nio_mmap_file): Uncommented.
4686         (nio_munmap_file): Uncommented.
4687         (nio_msync): Uncommented.
4688         * gnu/java/nio/natFileChannelImpl.cc: New file.
4689         
4690 2003-02-13  Michael Koch  <konqueror@gmx.de>
4691
4692         * java/nio/ByteBuffer.java
4693         (endian): New member variable.
4694         (get): New methods.
4695         (equals): New method.
4696         (compareTo): New method.
4697         (order): New methods.
4698         (compact): New method.
4699         (isDirect): New method.
4700         (slice): New method.
4701         (duplicate): New method.
4702         (asReadOnlyBuffer): New method.
4703         (asCharBuffer): New method.
4704         (asDoubleBuffer): New method.
4705         (asFloatBuffer): New method.
4706         (asIntBuffer): New method.
4707         (asLongBuffer): New method.
4708         (asShortBuffer): New method.
4709         (get*): New methods.
4710         (put*): New methods.
4711         (toString): New method.
4712         * java/nio/CharBuffer.java
4713         (CharBuffer): Implement Comparable instead of Cloneable.
4714         (get): May not be final.
4715         (put): May not be final.
4716         
4717 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4718
4719         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4720         lastIndexOf( ) instead of indexOf( ) to find the colon before
4721         the line number, because Win32 file names might contain a 
4722         drive letter and a colon at the start of an absolute path.
4723
4724 2003-02-13  Michael Koch  <konqueror@gmx.de>
4725
4726         * gnu/java/nio/natSocketChannelImpl.cc
4727         (SocketConnect): This is not implemented yet.
4728         (SocketBind): This is not implemented yet.
4729
4730 2003-02-13  Michael Koch  <konqueror@gmx.de>
4731
4732         * gnu/java/nio/natByteBufferImpl.cc,
4733         gnu/java/nio/natCharBufferImpl.cc,
4734         gnu/java/nio/natDoubleBufferImpl.cc,
4735         gnu/java/nio/natFloatBufferImpl.cc,
4736         gnu/java/nio/natIntBufferImpl.cc,
4737         gnu/java/nio/natLongBufferImpl.cc,
4738         gnu/java/nio/natShortBufferImpl.cc:
4739         Added copyright and license.
4740         * java/nio/DoubleBuffer.java,
4741         java/nio/FloatBuffer.java,
4742         java/nio/IntBuffer.java,
4743         java/nio/LongBuffer.java,
4744         java/nio/ShortBuffer.java
4745         (array): Throw exceptions.
4746         (arrayOffset): Throw exceptions.
4747
4748 2003-02-13  Michael Koch  <konqueror@gmx.de>
4749  
4750         * gnu/java/util/prefs/FileBasedFactory.java,
4751         gnu/java/util/prefs/MemmoryBasedFactory.java,
4752         gnu/java/util/prefs/MemoryBasedPreferences.java,
4753         gnu/java/util/prefs/NodeReader.java,
4754         gnu/java/util/prefs/NodeWriter.java,
4755         java/util/prefs/AbstractPreferences.java,
4756         java/util/prefs/BackingStoreException.java,
4757         java/util/prefs/InvalidPreferencesFormatException.java,
4758         java/util/prefs/NodeChangeEvent.java,
4759         java/util/prefs/NodeChangeListener.java,
4760         java/util/prefs/PreferenceChangeEvent.java,
4761         java/util/prefs/PreferenceChangeListener.java,
4762         java/util/prefs/Preferences.java,
4763         java/util/prefs/PreferencesFactory.java:
4764         New files, all merged from classpath.
4765         * Makefile.am
4766         (ordinary_java_source_files): Added the following files:
4767         gnu/java/util/prefs/FileBasedFactory.java,
4768         gnu/java/util/prefs/MemmoryBasedFactory.java,
4769         gnu/java/util/prefs/MemoryBasedPreferences.java,
4770         gnu/java/util/prefs/NodeReader.java,
4771         gnu/java/util/prefs/NodeWriter.java,
4772         (core_java_source_files): Added the following files:
4773         java/util/prefs/AbstractPreferences.java,
4774         java/util/prefs/BackingStoreException.java,
4775         java/util/prefs/InvalidPreferencesFormatException.java,
4776         java/util/prefs/NodeChangeEvent.java,
4777         java/util/prefs/NodeChangeListener.java,
4778         java/util/prefs/PreferenceChangeEvent.java,
4779         java/util/prefs/PreferenceChangeListener.java,
4780         java/util/prefs/Preferences.java,
4781         java/util/prefs/PreferencesFactory.java
4782         * Makefile.in: Regenerated.
4783  
4784 2003-02-13  Michael Koch  <konqueror@gmx.de>
4785
4786         * java/net/NetPermission.java
4787         (NetPermission): Make doucmentation match the method declaration.
4788         * java/net/NetworkInterface.java
4789         (equals): Reformated for GNU coding style.
4790         * java/net/ServerSocket.java: Merged with classpath.
4791         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4792         * java/net/SocketImpl.java
4793         (localPort): Merged with classpath (initialize with -1).
4794         * java/net/SocketPermission.java: Merged with classpath (reindented).
4795         * java/net/URLDecoder.java: Merged with classpath (reindented).
4796
4797 2003-02-13  Michael Koch  <konqueror@gmx.de>
4798
4799         * java/awt/GridBagConstraints.java
4800         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4801         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4802         * java/awt/KeyboardFocusManager.java
4803         (setGlobalCurrentFocusCycleRoot): Must be public.
4804         * java/awt/MenuComponent.java
4805         (MenuComponent): Must be public.
4806         * java/awt/Toolkit.java:
4807         Added some empty lines to make documentation more readable.
4808         (getFontPeer): Added @deprecated.
4809         (getColorModel): Added exception documentation.
4810         (getProperty): Fixed documentation.
4811  
4812 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4813
4814         * configure.host (alpha*-*): Default to -mieee.
4815         * configure.in (IEEESPEC): New.
4816         * libgcj.spec.in (jc1): Add IEEESPEC.
4817         * configure: Rebuild.
4818
4819 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4820
4821         * include/win32.h: Include ws2tcpip.h instead of
4822         winsock.h to obtain definition of the socklen_t type.
4823         Remove IP_TOS definition - not needed with ws2tcpip.h
4824         (_Jv_connect): Correct slight formatting error.
4825
4826 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4827
4828         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4829         size of the arguments for a JNI function. For Win32,
4830         modify to search for all forms of possible exported
4831         names of an stdcall JNI function.
4832         (_Jv_JNIMethod::call): Modify to calculate the size
4833         of the arguments passed to a JNI function and pass
4834         it to _Jv_LookupJNIMethod.
4835
4836 2003-02-12  Michael Koch  <konqueror@gmx.de>
4837
4838         * java/nio/channels/Channels.java: New file.
4839         * Makefile.am
4840         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4841         * Makefile.in: Regenerated.
4842
4843 2003-02-12  Michael Koch  <konqueror@gmx.de>
4844
4845         * java/nio/ByteBuffer.java
4846         (allocate): Implemented.
4847         (wrap): Implemented.
4848         * java/nio/CharBuffer.java:
4849         Some documentation added and reworked.
4850         (endian): Removed.
4851         (allocate): Implemented.
4852         (wrap): Implemented.
4853         (array): Throw exceptions.
4854         (arrayOffset): Throw exceptions.
4855         (toString): Implemented.
4856         (length): Implemented.
4857         (put): Implemented.
4858         (charAt): Implemented.
4859
4860 2003-02-11  John Leuner  <jewel@debian.org>
4861
4862         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4863         reads from end of file.
4864
4865 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4866
4867         * java/io/natFileDescriptorWin32.cc 
4868         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4869         returns with Win32 error code ERROR_BROKEN_PIPE.
4870
4871 2003-02-11  Michael Koch  <konqueror@gmx.de>
4872
4873         * Makefile.in
4874         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4875
4876 2003-02-11  Michael Koch  <konqueror@gmx.de>
4877
4878         * gnu/java/nio/ByteBufferImpl.java:
4879         Reformated and removed some code.
4880         (backing_buffer): Removed.      
4881         (array_offset): Removed.
4882         (ro): Renamed to readOnly.
4883         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4884         * gnu/java/nio/CharBufferImpl.java:
4885         Reformated and removed some code.
4886         (array_offset): Removed.
4887         (ro): Renamed to readOnly.
4888         (CharBufferImpl): Use parent constructor, initialize readOnly.
4889         (inc_pos): Removed.
4890         (order): New method.
4891         * gnu/java/nio/DoubleBufferImpl.java:
4892         Reformated and removed some code.
4893         (array_offset): Removed.
4894         (ro): Renamed to readOnly.
4895         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4896         (inc_pos): Removed.
4897         (order): New method.
4898         * gnu/java/nio/FloatBufferImpl.java:
4899         Reformated and removed some code.
4900         (array_offset): Removed.
4901         (ro): Renamed to readOnly.
4902         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4903         (inc_pos): Removed.
4904         (order): New method.
4905         * gnu/java/nio/IntBufferImpl.java:
4906         Reformated and removed some code.
4907         (array_offset): Removed.
4908         (ro): Renamed to readOnly.
4909         (IntBufferImpl): Use parent constructor, initialize readOnly.
4910         (inc_pos): Removed.
4911         (order): New method.
4912         * gnu/java/nio/LongBufferImpl.java:
4913         Reformated and removed some code.
4914         (array_offset): Removed.
4915         (ro): Renamed to readOnly.
4916         (LongBufferImpl): Use parent constructor, initialize readOnly.
4917         (inc_pos): Removed.
4918         (order): New method.
4919         * gnu/java/nio/ShortBufferImpl.java:
4920         Reformated and removed some code.
4921         (array_offset): Removed.
4922         (ro): Renamed to readOnly.
4923         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4924         (inc_pos): Removed.
4925         (order): New method.
4926         * Makefile.am
4927         (ordinary_java_source_files): Added the following files:
4928         gnu/java/nio/ByteBufferImpl.java
4929         gnu/java/nio/CharBufferImpl.java
4930         gnu/java/nio/DoubleBufferImpl.java
4931         gnu/java/nio/FloatBufferImpl.java
4932         gnu/java/nio/IntBufferImpl.java
4933         gnu/java/nio/LongBufferImpl.java
4934         gnu/java/nio/ShortBufferImpl.java
4935         java/nio/DoubleBuffer.java
4936         java/nio/FloatBuffer.java
4937         java/nio/IntBuffer.java
4938         java/nio/LongBuffer.java
4939         java/nio/ShortBuffer.java
4940         (nat_source_files): Added the following files:
4941         gnu/java/nio/natByteBufferImpl.cc
4942         gnu/java/nio/natCharBufferImpl.cc
4943         gnu/java/nio/natDoubleBufferImpl.cc
4944         gnu/java/nio/natFloatBufferImpl.cc
4945         gnu/java/nio/natIntBufferImpl.cc
4946         gnu/java/nio/natLongBufferImpl.cc
4947         gnu/java/nio/natShortBufferImpl.cc
4948         * Makefile.in: Regenerated.
4949
4950 2003-02-11  Michael Koch  <konqueror@gmx.de>
4951
4952         * gnu/java/nio/natCharBufferImpl.cc
4953         (nio_cast): Removed.
4954         (nio_put_*): Removed.
4955         (nio_get_*): Removed.
4956         * gnu/java/nio/natDoubleBufferImpl.cc
4957         (nio_cast): Removed.
4958         (nio_put_*): Removed.
4959         (nio_get_*): Removed.
4960         * gnu/java/nio/natFloatBufferImpl.cc
4961         (nio_cast): Removed.
4962         (nio_put_*): Removed.
4963         (nio_get_*): Removed.
4964         * gnu/java/nio/natIntBufferImpl.cc
4965         (nio_cast): Removed.
4966         (nio_put_*): Removed.
4967         (nio_get_*): Removed.
4968         * gnu/java/nio/natLongBufferImpl.cc
4969         (nio_cast): Removed.
4970         (nio_put_*): Removed.
4971         (nio_get_*): Removed.
4972         * gnu/java/nio/natShortBufferImpl.cc
4973         (nio_cast): Removed.
4974         (nio_put_*): Removed.
4975         (nio_get_*): Removed.
4976         * gnu/java/nio/SelectorProviderImpl.java
4977         (openDatagramChannel): Throws IOException.
4978         (openPipe): Throws IOException.
4979         (openSelector): Throws IOException.
4980         (openServerSocketChannel): Throws IOException.
4981         (openSocketChannel): Throws IOException.
4982         * gnu/java/nio/ServerSocketChannelImpl.java
4983         (ServerSocketChannelImpl): Throws IOException.
4984         (implCloseSelectableChannel): Throws IOException.
4985         (implConfigureBlocking): Throws IOException.
4986         * java/nio/ByteBuffer.java
4987         (readOnly): Removed.
4988         (hasArray): Use isReadOnly() instead of readOnly.
4989         (array): Use isReadOnly() instead of readOnly.
4990         (arrayOffset): Use isReadOnly() instead of readOnly.
4991         * java/nio/CharBuffer.java
4992         (CharBuffer): Implements Cloneable and CharSequence.
4993
4994 2003-02-11  Michael Koch  <konqueror@gmx.de>
4995
4996         * java/nio/DoubleBuffer.java
4997         (DoubleBuffer): Implements Comparable.
4998         (endian): Removed.
4999         (array_offset): New member variable.
5000         (DoubleBuffer): New constuctor.
5001         (get): May not be final.
5002         (put): May not be final.
5003         (arrayOffset): Implemented.
5004         (order): Made abstract.
5005         (order): Removed.
5006         (as*Buffer): Removed.
5007         (get*): Removed.
5008         (put*): Removed.
5009         * java/nio/FloatBuffer.java
5010         (FloatBuffer): Implements Comparable.
5011         (endian): Removed.
5012         (array_offset): New member variable.
5013         (FloatBuffer): New constuctor.
5014         (get): May not be final.
5015         (put): May not be final.
5016         (arrayOffset): Implemented.
5017         (order): Made abstract.
5018         (order): Removed.
5019         (as*Buffer): Removed.
5020         (get*): Removed.
5021         (put*): Removed.
5022         * java/nio/IntBuffer.java
5023         (IntBuffer): Implements Comparable.
5024         (endian): Removed.
5025         (array_offset): New member variable.
5026         (IntBuffer): New constuctor.
5027         (get): May not be final.
5028         (put): May not be final.
5029         (arrayOffset): Implemented.
5030         (order): Made abstract.
5031         (order): Removed.
5032         (as*Buffer): Removed.
5033         (get*): Removed.
5034         (put*): Removed.
5035         * java/nio/LongBuffer.java
5036         (LongBuffer): Implements Comparable.
5037         (endian): Removed.
5038         (array_offset): New member variable.
5039         (LongBuffer): New constuctor.
5040         (get): May not be final.
5041         (put): May not be final.
5042         (arrayOffset): Implemented.
5043         (order): Made abstract.
5044         (order): Removed.
5045         (as*Buffer): Removed.
5046         (get*): Removed.
5047         (put*): Removed.
5048         * java/nio/ShortBuffer.java
5049         (ShortBuffer): Implements Comparable.
5050         (endian): Removed.
5051         (array_offset): New member variable.
5052         (ShortBuffer): New constuctor.
5053         (get): May not be final.
5054         (put): May not be final.
5055         (arrayOffset): Implemented.
5056         (order): Made abstract.
5057         (order): Removed.
5058         (as*Buffer): Removed.
5059         (get*): Removed.
5060         (put*): Removed.
5061
5062 2003-02-11   Michael Koch  <konqueror@gmx.de>
5063
5064         * java/nio/channels/SelectionKey.java
5065         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5066         values.
5067
5068 2003-02-11  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/nio/channels/DatagramChannel.java
5071         (write): Throws IOException.
5072         (connect): Throws IOException.
5073         (disconnect): Throws IOException.
5074         (read): Throws IOException.
5075         (receive): Throws IOException.
5076         (send): Throws IOException.
5077         * java/nio/channels/Pipe.java
5078         (open): Throws IOException.
5079         * java/nio/channels/SelectableChannel.java
5080         (configureBlocking): Throws IOException.
5081         * java/nio/channels/ServerSocketChannel.java
5082         (accept): Throws IOException.
5083         * java/nio/channels/SocketChannel.java
5084         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5085         GatheringByteChannel.
5086         (read): Throws IOException.
5087         (write): Throws IOException.
5088         (finishConnect): Throws IOException.
5089         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5090         (end): Throws AsynchronousCloseException.
5091         * java/nio/channels/spi/AbstractSelectableChannel.java
5092         (configureBlocking): Throws IOException.
5093         (implCloseChannel): Throws IOException.
5094         (implCloseSelectableChannel): Throws IOException.
5095         (implConfigureBlocking): Throws IOException.
5096         * java/nio/channels/spi/SelectorProvider.java
5097         (openDatagramChannel): Throws IOException.
5098         (openPipe): Throws IOException.
5099         (openSelector): Throws IOException.
5100         (openServerSocketChannel): Throws IOException.
5101         (openSocketChannel): Throws IOException.
5102
5103 2003-02-11  Michael Koch  <konqueror@gmx.de>
5104
5105         * gnu/java/nio/FileLockImpl.java,
5106         java/nio/channels/FileLock.java: New files.
5107
5108 2003-02-11  Michael Koch  <konqueror@gmx.de>
5109
5110         * java/nio/charset/IllegalCharsetNameException.java
5111         (serialVersionUID): New member variable.
5112         (charsetName): New member variable.
5113         (IllegalCharsetException): New implementation.
5114         (getCharsetName): New implementation.
5115         * java/nio/charset/UnsupportedCharsetException.java
5116         (serialVersionUID): New member variable.
5117         (charsetName): New member variable.
5118         (UnsupportedCharsetException): New implementation.
5119         (getCharsetName): New implementation.
5120
5121 2003-02-10  Tom Tromey  <tromey@redhat.com>
5122
5123         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5124         (ex): Renamed from sqlException.
5125
5126 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5127
5128         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5129         method used to ensure seeding has occurred and that a specific 
5130         seed can be set and used.
5131
5132 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5133
5134         * java/lang/Win32Process.java (destroy): Declare as native.
5135         (hasExited): New native method.
5136         (exitValue): Define.
5137         (getErrorStream): Likewise.
5138         (getInputStream): Likewise.
5139         (getOutputStream): Likewise.
5140         (waitFor): Declare as native.
5141         (startProcess): New native method.
5142         (cleanup): Likewise.
5143         (ConcreteProcess): Define.
5144         (outputStream, inputStream, errorStream): New members.
5145         (procHandle, exitCode): Likewise.
5146
5147         * java/lang/natWin32Process.cc
5148         (java::lang::ConcreteProcess::cleanup): Define.
5149         (java::lang::ConcreteProcess::destroy): Likewise.
5150         (java::lang::ConcreteProcess::hasExited): Likewise.
5151         (java::lang::ConcreteProcess::waitFor): Likewise.
5152         (new_string): Likewise.
5153         (java::lang::ConcreteProcess::startProcess): Likewise.
5154
5155 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5156
5157         * java/math/BigInteger.java:
5158         Updated notice to include years 2002 and 3.
5159         Added 2 private (int) arrays with values from the HAC (Handbook of
5160         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5161         and t[] that contains nbr. of tests --used in isProbablePrime().
5162
5163         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5164
5165         * java/math/BigInteger.java (make(int[],int), add(int,int),
5166         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5167         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5168         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5169         make(long).
5170
5171         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5172         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5173         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5174         BIs and returns void.
5175         (modInverse(BI)): Use new signatures of euclidInv().
5176
5177         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5178         static small primes instead of remainder().
5179         Use pre-computed max nbr of trials based on bitlength of BI to test.
5180         Use pre-computed small primes for the trial tests instead of random
5181         numbers.
5182
5183         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5184         not used.
5185
5186         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5187         invoacation of MPN.chars_per_word().  not used.
5188
5189         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5190         local var and used where needed.
5191
5192         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5193         Combined declaration with initialisation of locals.
5194         Removed unused var.
5195
5196         * java/math/BigInteger.java: Style changes
5197         (pow(int)): Removed 'else' keyword.
5198         (toString(int)): idem.
5199         (doubleValue()): idem.
5200         (bitLength()): idem.
5201         (equals(Object)): Use static methods name in same class w/o prepending
5202         class name.
5203         (doubleValue()): idem.
5204         (setNegative(BI)): idem.
5205         (negate()): idem.
5206         (and(BI,int)): idem.
5207         (and(BI)): idem.
5208         (gcd(BI)): idem.
5209         (byteArrayToIntArray()): Removed casting to (int). this is
5210         std. behaviour.
5211         (canonicalize()): idem.
5212         (alloc(int)): Always instantiate a new BI.
5213
5214 2003-02-10  Tom Tromey  <tromey@redhat.com>
5215
5216         * java/sql/Timestamp.java (compareTo(Object)): New method.
5217         (compareTo(Timestamp)): Likewise.
5218         (serialVersionUID): Updated.
5219
5220 2003-02-07  Mark Wielaard  <mark@klomp.org>
5221
5222         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5223         when verify is true.
5224         (JarFile(File, boolean)): Likewise.
5225         (manifestRead): Set manifestRead field correctly.
5226
5227 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5228
5229         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5230         tests; see patch #1016 on Savannah.
5231
5232 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5233
5234         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5235         (toString): do not return Strings starting with . and - erroneously.
5236         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5237         DiagBigDecimal.
5238
5239 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5240
5241         * java/beans/PropertyDescriptor.java
5242         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5243         methods.
5244         (PropertyDescriptor(String, Class, String, String)): Likewise.
5245         (PropertyDescriptor(String, Method, Method): Factor out getter and
5246         setter method sanity checks into new method.
5247         (findMethods): Don't do parameter sanity checking of get method here.
5248         (checkMethods): New method.
5249
5250 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5251
5252         * java/beans/PropertyDescriptor.java: Reformat.
5253
5254 2003-02-04  Tom Tromey  <tromey@redhat.com>
5255
5256         * java/io/PipedOutputStream.java (flush): Declare as throwing
5257         IOException.
5258         (close): Likewise.
5259         * java/io/PipedWriter.java (close): Declare as throwing
5260         IOException.
5261         * java/io/StringWriter.java (close): Declare as throwing
5262         IOException.
5263
5264 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5265
5266         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5267         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5268         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5269         "_JNI_OnLoad@8" (MSVC).
5270
5271 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5272
5273         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5274         convention on Win32 to invoke native JNI methods.
5275
5276 2003-02-03  Andrew Haley  <aph@redhat.com>
5277
5278         * configure.host (x86_64): Enable interpreter.
5279
5280 2003-02-03  Andrew Haley  <aph@redhat.com>
5281
5282         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5283         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5284         * configure.in (BACKTRACESPEC): New.
5285         * configure: Regenerate.
5286
5287 2003-02-02  Tom Tromey  <tromey@redhat.com>
5288
5289         * configure: Rebuilt.
5290         * configure.in (TOOLKIT) [xlib]: Set correctly.
5291
5292         * Makefile.in: Rebuilt.
5293         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5294         libstdc++.
5295
5296 2003-01-31  Mark WIelaard  <mark@klomp.org>
5297
5298         * Makefile.in: Rebuilt.
5299         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5300
5301 2003-01-31  Tom Tromey  <tromey@redhat.com>
5302
5303         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5304         cast to element type.
5305         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5306         (_Jv_JNI_GetObjectArrayElement): Likewise.
5307
5308         * Makefile.in: Rebuilt.
5309         * Makefile.am (cond_x_ltlibrary): Renamed library to
5310         lib-gnu-awt-xlib.la.
5311         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5312         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5313         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5314         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5315         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5316         (lib_gnu_awt_xlib_la_LINK): Likewise.
5317         (install-exec-hook): Removed.
5318         (lib-gnu-awt-xlib.la): Renamed.
5319
5320 2003-01-31  Tom Tromey  <tromey@redhat.com>
5321
5322         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5323         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5324         aclocal.m4 and lost in some merge.
5325
5326         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5327         Don't try to find graphics configuration.
5328         * java/awt/Toolkit.java (default_toolkit_name): Use new
5329         Configuration entry.
5330         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5331         New global.
5332         * configure: Rebuilt.
5333         * configure.in (TOOLKIT): New subst.
5334         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5335         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5336         directory.  Make output directories for .c files.
5337         * Makefile.in: Rebuilt.
5338         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5339         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5340         (all_java_source_files): Added new sources.
5341         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5342         (gtk_c_files): New macro.
5343         (gtk_c_source_files): New macro.
5344         (cond_gtk_ltlibrary): New macro.
5345         ($(gtk_c_files)): New target.
5346         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5347         (gtk_awt_peer_sources): New macro.
5348         (gtk_c_headers): New macro.
5349         ($(gtk_c_headers)): New target.
5350         (ACLOCAL_AMFLAGS): New macro.
5351         * gtk.m4, glib.m4, libart.m4: New files.
5352         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5353         gnu/java/awt/peer/gtk/GdkGraphics.java,
5354         gnu/java/awt/peer/gtk/GtkArg.java,
5355         gnu/java/awt/peer/gtk/GtkArgList.java,
5356         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5357         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5358         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5359         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5360         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5361         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5362         gnu/java/awt/peer/gtk/GtkClipboard.java,
5363         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5364         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5365         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5366         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5367         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5368         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5369         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5370         gnu/java/awt/peer/gtk/GtkImage.java,
5371         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5372         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5373         gnu/java/awt/peer/gtk/GtkListPeer.java,
5374         gnu/java/awt/peer/gtk/GtkMainThread.java,
5375         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5376         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5377         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5378         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5379         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5380         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5381         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5382         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5383         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5384         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5385         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5386         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5387         gnu/java/awt/peer/gtk/GtkToolkit.java,
5388         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5389         gnu/java/awt/peer/gtk/TestAWT.java,
5390         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5392         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5407         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5418         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5419         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5420         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5421         jni/classpath/native_state.c, jni/classpath/native_state.h,
5422         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5423
5424 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5425
5426         * java/util/Properties.java (load): Ignore backslash before EOF.
5427
5428 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5429
5430         * java/lang/natClass.cc (initializeClass): Check tables when
5431         (state == JV_STATE_IN_PROGRESS).
5432         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5433         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5434         interpreted classes.
5435         (linkClass0): Use _Jv_WaitForState.
5436
5437 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5438
5439         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5440         object when finished.
5441
5442 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5443
5444         * libjava/configure.host: Disable can_unwind_signal on darwin.
5445
5446 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5447
5448         Fixes PR java/9254:
5449         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5450         additionally containing id of the owner thread as well as
5451         the number of nested times the thread has acquired the mutex.
5452         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5453         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5454         (_Jv_MutexUnlock): Check if really the owner thread, reset
5455         owner thread id to 0 before leaving, if leaving for the last
5456         time.
5457         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5458         refcount.
5459         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5460         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5461         the passed mutex.
5462         Pass handle of the broadcast event, instead of a pointer to it
5463         in Win32 ResetEvent( ) call.
5464         Remove incorrect return values.
5465         (_Jv_CondDestroy): Close both event handles and delete
5466         critical section.
5467         (_Jv_CondNotify): Check if really the owner thread.
5468         (_Jv_CondNotifyAll): Check if really the owner thread.
5469         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5470         (really_start): Use SetEvent( ) to signal daemon_cond.
5471         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5472         WaitForSingleObject( ) instead to wait for daemon_cond to be
5473         signalled.
5474
5475 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5476
5477         * configure.in: Specifically define HAVE_BACKTRACE if building
5478         for MinGW.
5479         * include/win32.h: Remove HAVE_BACKTRACE definition.
5480         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5481         * configure: Rebuilt.
5482
5483 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5484
5485         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5486         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5487         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5488         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5489         * Makefile.in, configure: Rebuilt.
5490
5491 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5492
5493         Fixes PR java/9253:
5494         * java/io/natFileWin32.cc (performList): Append only "*.*"
5495         if the canonical file path already has a "\" at the end.
5496
5497 2003-01-24  Tom Tromey  <tromey@redhat.com>
5498
5499         * defineclass.cc (handleMethodsEnd): Precompute code for static
5500         method.
5501         (handleCodeAttribute): Likewise.
5502         * resolve.cc (ncode): Use run_class for unsynchronized static
5503         methods.
5504         * include/java-interp.h (class _Jv_InterpMethod): Declare
5505         run_class.
5506         * interpret.cc (run_synch_class): Initialize class.
5507         (run) [insn_invokestatic]: Don't initialize class.
5508         [insn_anewarray]: Likewise.
5509         [insn_multianewarray]: Likewise.
5510         (run_class): New function.
5511
5512 2003-01-24  Tom Tromey  <tromey@redhat.com>
5513
5514         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5515         comment.
5516
5517 2003-01-22  Andrew Haley  <aph@redhat.com>
5518
5519         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5520         * configure.host (CHECKREFSPEC): Define for x86_64.
5521
5522 2003-01-21  Tom Tromey  <tromey@redhat.com>
5523
5524         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5525         search at 2, not 3.
5526
5527 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5528
5529         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5530         looking at any characters.
5531         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5532         be used.
5533         (isAbsolute): Check path's length as well.
5534
5535 2003-01-17  Mark Wielaard  <mark@klomp.org>
5536
5537         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5538         (nat_source_files): Add natVMObjectStreamClass.cc.
5539         * Makefile.in: Regenerated.
5540         * gcj/javaprims.h (namespace java): Regenerated.
5541         * java/io/ObjectStreamClass.java (getClassUID): Call
5542         VMObjectStreamClass.hasClassInitializer().
5543         (hasClassInitializer): Removed.
5544         * java/io/VMObjectStreamClass.java: New class.
5545         * java/io/natVMObjectStreamClass.cc: New file.
5546         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5547
5548 2003-01-16  Mark Wielaard  <mark@klomp.org>
5549
5550         * java/net/SocketImpl.java (toString): Don't explicitly call
5551         toString() on possible null address.
5552
5553 2003-01-16  Michael Koch  <konqueror@gmx.de>
5554
5555         * java/net/MulticastSocket.java
5556         (setInterface): Reindented.
5557
5558 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5559
5560         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5561         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5562         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5563         translateY arguments.  Implement.
5564         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5565         down translation arguments.
5566         (drawPolyline, drawPolygon): Fix incorrect tests.
5567         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5568         translateX and translateY arguments.
5569
5570 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5571
5572         * Makefile.in: Rebuilt.
5573         * Makefile.am (xlib_includes): New macro.
5574         (INCLUDES): Use it.
5575
5576 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5577
5578         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5579         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5580         16-bit display mode.
5581
5582 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5583
5584         * java/awt/CardLayout.java (show): Rewrote.
5585         (gotoComponent): Removed `target' argument.  Simplified code.
5586         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5587         Changed all callers.
5588         (NONE): Removed.
5589         
5590 2003-01-14  Michael Koch  <konqueror@gmx.de>
5591
5592         * java/net/InetSocketAddress.java
5593         (serialVersionUID): New member variable.
5594         * java/net/NetPermission.java
5595         (NetPermission): Dont implement java.io.Serialization directly.
5596         * java/net/SocketAddress.java:
5597         (serialVersionUID): Documentation added.
5598         
5599 2003-01-14  Michael Koch  <konqueror@gmx.de>
5600
5601         * java/awt/Label.java
5602         (Label): Implements javax.accessibility.Accessible;
5603         * java/awt/List.java
5604         (List): Implements javax.accessibility.Accessible;
5605         * java/awt/ScrollPane.java
5606         (ScrollPane): Implements javax.accessibility.Accessible;
5607         * java/awt/Scrollbar.java
5608         (Scrollbar): Implements javax.accessibility.Accessible;
5609         * java/awt/TextComponent.java
5610         (setCaretPosition): Throw exception, documentation added.
5611         * java/awt/Toolkit.java:
5612         Added some newlines in method documentations.
5613         (createButton): Exception documentation added.
5614         (createTextField): Exception documentation added.
5615         (createLabel): Exception documentation added.
5616         (createList): Exception documentation added.
5617         (createCheckbox): Exception documentation added.
5618         (createScrollbar): Exception documentation added.
5619         (createScrollPane): Exception documentation added.
5620         (createTextArea): Exception documentation added.
5621         (createChoice): Exception documentation added.
5622         (createFrame): Exception documentation added.
5623         (createWindow): Exception documentation added.
5624         (createDialog): Exception documentation added.
5625         (createMenuBar): Exception documentation added.
5626         (createMenu): Exception documentation added.
5627         (createMenuItem): Exception documentation added.
5628         (createFileDialog): Exception documentation added.
5629         (createCheckboxMenuItem): Exception documentation added.
5630         (loadSystemColors): Exception documentation added.
5631         (setDynamicLayout): Exception documentation added.
5632         (isDynamicLayoutSet): Exception documentation added.
5633         (isDynamicLayoutActive): Exception documentation added.
5634         (getScreenSize): Exception documentation added.
5635         (getScreenResolution): Exception documentation added.
5636         (getScreenInsets): Exception documentation added.
5637         (getColorModel): Exception documentation added.
5638         (getSystemClipboard): Exception documentation added.
5639         (getSystemSelection): Exception documentation added.
5640         (getMenuShortcutKeyMask): Exception documentation added.
5641         (getSystemEventQueue): Exception documentation added.
5642         * java/awt/Window.java:
5643         Reindented some code.
5644         (Window): Centralized implementation, documentation added.
5645         (finalize): Documentation added.
5646         (hide): Fixed typo in comment.
5647         (getWindowListeners): Documentation added.
5648         * java/awt/color/ColorSpace.java
5649         (toRGB): Documentation added.
5650         * java/awt/color/ICC_ColorSpace.java
5651         (ICC_ColorSpace): Documentation added.
5652         (toRGB): Throw exception, documentation added.
5653         (fromRGB): Throw exception, documentation added.
5654         (toCIEXYZ): Documentation added.
5655         (fromCIEXYZ): Documentation added.
5656         (getMinValue): Documentation added.
5657         (getMaxValue): Documentation added.
5658         * java/awt/geom/Dimension2D.java
5659         (clone): Documentation added.
5660         * java/awt/geom/GeneralPath.java
5661         (clone): Documentation added.
5662         * java/awt/geom/Line2D.java
5663         (clone): Documentation added.
5664         * java/awt/geom/QuadCurve2D.java
5665         (clone): Documentation added.
5666         * java/awt/image/ColorModel.java
5667         (ColorModel): Throw exception, documentation added.
5668         * java/awt/image/ImageFilter.java
5669         (clone): Doesnt throw CloneNotSupportedException.
5670
5671 2003-01-14  Andrew Haley  <aph@redhat.com>
5672
5673         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5674         in a try block.
5675
5676 2003-01-10  Andrew Haley  <aph@redhat.com>
5677
5678         * include/dwarf2-signal.h: Remove x86_64.
5679         * configure.host (x86_64 DIVIDESPEC): Remove.
5680         * include/x86_64-signal.h: New file.
5681         * configure.in: Regenerate.
5682
5683 2003-01-10  Michael Koch  <konqueror@gmx.de>
5684
5685         * java/net/DatagramSocket.java
5686         (ch): Description added.
5687         (remotePort): Initialize with -1.
5688         (connect): Doesnt throws SocketException.
5689         * java/net/MulticastSocket.java
5690         (setInterface): Merge with Classpath.
5691         * java/net/ServerSocket.java
5692         (closed): New member variable.
5693         (bind): Check if socket is closed.
5694         (close): Close an associated channel too, set new value to closed.
5695         (isBound): Reindented.
5696         (isClosed): Implemented.
5697         * java/net/Socket.java
5698         (closed): New member variable.
5699         (bind): Check if socket is closed.
5700         (connect): Check if socket is closed.
5701         (close): Close an associated channel too, set new value to closed.
5702         (isClosed): Implemented.
5703
5704 2003-01-10  Michael Koch  <konqueror@gmx.de>
5705
5706         * java/awt/DisplayMode.java
5707         (equals): Fixed argument type and implementation.
5708
5709 2003-01-07  Tom Tromey  <tromey@redhat.com>
5710
5711         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5712         JV_HASH_SYNCHRONIZATION.
5713         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5714         JV_HASH_SYNCHRONIZATION.
5715
5716 2003-01-07  Michael Koch  <konqueror@gmx.de>
5717  
5718         * java/net/DatagramSocket.java:
5719         Added classpath license info.
5720         (DatagramSocket): Merged description with classpath.
5721         (close): Merged description with classpath.
5722         (getChannel): Merged description with classpath.
5723         (getInetAddress): Merged description with classpath.
5724         (getPort): Merged description with classpath.
5725         (getLocalAddress): Merged description with classpath.
5726         (getLocalPort): Merged description with classpath.
5727         (getSoTimeout): Merged description with classpath.
5728         (setSoTimeout): Merged description with classpath.
5729         (getSendBufferSize): Merged description with classpath.
5730         (setSendBufferSize): Merged description with classpath.
5731         (getReceiveBufferSize): Merged description with classpath.
5732         (setReceiveBufferSize): Merged description with classpath.
5733         
5734 2003-01-04  Tom Tromey  <tromey@redhat.com>
5735
5736         * java/awt/List.java: Merged with Classpath.
5737
5738 2003-01-03  Mark Wielaard  <mark@klomp.org>
5739
5740         * java/io/FileDescriptor.java (position): New private field.
5741         * java/io/natFileDescriptorPosix.cc (write): Up position.
5742         (setLength): Use and set position.
5743         (seek): Set position.
5744         (getFilePointer): Return position.
5745         (read): Up position.
5746
5747 2003-01-03  Mark Wielaard  <mark@klomp.org>
5748
5749         Merge with Classpath:
5750         * java/io/ObjectStreamClass.java (lookup): Split method and call
5751         lookupForClassObject().
5752         (lookupForClassObject): New method.
5753         (isProxyClass): New field.
5754         (setClass): Set isProxyClass, add object to classLookupTable, set
5755         superClass and calculateOffsets.
5756         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5757         and not a proxy class.
5758         (setFields): Set accessible true for serialPersistentFields.
5759         (getClassUID): Same for suid. And check if suid is of type long.
5760         (hasClassInitializer): Don't throw NoSuchMethodError.
5761
5762 2003-01-03  Mark Wielaard  <mark@klomp.org>
5763
5764         * java/io/FileInputStream.java (finalize): Don't explicitly
5765         finalize FileDescriptor.
5766
5767 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5768
5769         * configure.host (sparc*-*): Enable bytecode interpreter.
5770
5771 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5772
5773         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5774         Don't throw RemoteException.
5775         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5776         throw RemoteException.
5777
5778 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5779
5780         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5781         proxyHost): New static fields.
5782         (<clinit>): Initialize new fields.
5783         (connect): Use proxy if necessary.
5784         (usingProxy): Implement.
5785
5786 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5787
5788         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5789         (TreeIterator.remove): Prefer IllegalStateException over
5790         ConcurrentModificationException, to match Sun.
5791
5792 2002-12-22  Anthony Green  <green@redhat.com>
5793
5794         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5795
5796 2003-01-02  Mark Wielaard  <mark@klomp.org>
5797
5798         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5799         public.
5800         (HTTP_USE_PROXY): Add field.
5801         (getResponseVals): Only set responseCode when not yet explicitly
5802         set by subclass.
5803
5804 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5805             Mark Wielaard  <mark@klomp.org>
5806
5807         * java/util/zip/ZipFile.java (entries): Now HashMap.
5808         (readLeShort(DataInput, byte[])): Read from given byte array.
5809         (readLeInt(DataInput, byte[]): Likewise.
5810         (readLeShort(byte[] b, int off)): New method.
5811         (readLeInt(byte[] b, int off)): Likewise.
5812         (readEntries): Use byte arrays to read info in bigger chunks.
5813         (getEntries): Return HashMap.
5814         (getEntry): Use HashMap.
5815         (locBuf): New private field.
5816         (checkLocalHeader): Use locBuf to read info in one chunk.
5817         (getInputStream): Use entries HashMap, wrap PartialInputStream
5818         in BufferedInputStream.
5819         (ZipEntryEnumeration): Use HashMap and Interator.
5820
5821 2003-01-02  Mark Wielaard  <mark@klomp.org>
5822             Jeroen Frijters  <jeroen@sumatra.nl>
5823
5824         * java/net/URLClassLoader.java (Resource.getCodeSource):
5825         Fix check certs == null.
5826         (getCanonicalFileURL): Removed method.
5827         (JarURLLoader): Don't call removed method.
5828         (FileURLLoader): Likewise.
5829         (FileURLLoader.getResource): Don't canonicalize file name.
5830
5831 2003-01-01  Tom Tromey  <tromey@redhat.com>
5832
5833         * Makefile.in: Rebuilt.
5834         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5835         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5836         java/awt/BufferCapabilities.java, java/awt/Button.java,
5837         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5838         java/awt/Container.java, java/awt/Cursor.java,
5839         java/awt/EventQueue.java, java/awt/FileDialog.java,
5840         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5841         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5842         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5843         java/awt/Scrollbar.java, java/awt/TextArea.java,
5844         java/awt/TextField.java, java/awt/color/CMMException.java,
5845         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5846         java/awt/color/ProfileDataException.java,
5847         java/awt/datatransfer/Clipboard.java,
5848         java/awt/datatransfer/DataFlavor.java,
5849         java/awt/datatransfer/FlavorMap.java,
5850         java/awt/datatransfer/SystemFlavorMap.java,
5851         java/awt/dnd/DragGestureEvent.java,
5852         java/awt/dnd/DragGestureRecognizer.java,
5853         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5854         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5855         java/awt/im/InputMethodHighlight.java,
5856         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5857         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5858
5859         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5860         `op' to BufferedImageOp.
5861
5862 2002-12-31  Tom Tromey  <tromey@redhat.com>
5863
5864         Fix for PR libgcj/7416:
5865         * javax/naming/InitialContext.java (init): Use
5866         gnu.classpath.home.url.
5867         * java/security/Security.java: Use new properties.
5868         (loadProviders): Accept base url; use it.
5869         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5870         gnu.classpath.home.url.
5871         (gnu.classpath.home.url): Define.
5872         (gnu.classpath.vm.shortname): Likewise.
5873
5874 2002-12-31  Tom Tromey  <tromey@redhat.com>
5875             Ranjit Mathew  <rmathew@hotmail.com>
5876
5877         Fix for PR libgcj/8997:
5878         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5879         Include platform.h.
5880         * include/posix.h (_Jv_platform_usleep): New function.
5881         * include/win32.h (_Jv_platform_usleep): New function.
5882
5883 2002-12-29  Tom Tromey  <tromey@redhat.com>
5884
5885         * gcj/javaprims.h: Updated.
5886         * scripts/classes.pl (scan): Removed stray semicolon.
5887
5888 2002-12-30  Mark Wielaard  <mark@klomp.org>
5889
5890         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5891         if zero or smaller.
5892
5893 2002-12-30  Mark Wielaard  <mark@klomp.org>
5894
5895         * java/util/Properties (formatForOutput): Don't fall through to
5896         default case after escaping character.
5897
5898 2002-12-30  Mark Wielaard  <mark@klomp.org>
5899
5900         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5901         against count.
5902
5903 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5904
5905         * boehm.cc: Remove stray semicolon.
5906         * interpret.cc: Likewise.
5907         * prims.cc: Likewise.
5908         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5909         earlier to ensure default arguments are processed.
5910         * gcj/array.h (JArray): Add forward declaration.
5911         (elements): Likewise.
5912         * gcj/javaprim.h: Remove stray semicolons.
5913         * include/bohm-gc.h: Likewise.
5914         * include/jni.h: Likewise.
5915         * include/jvm.h: Likewise.
5916         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5917         
5918 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5919
5920         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5921         of catch_type.
5922         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5923         idt tables after initializing superclass.
5924         * java/lang/natClassLoader.cc (uaddr): New typedef.
5925         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5926         if they are constant pool indicies.  Don't link vtable, otable yet.
5927
5928 2002-12-21  Anthony Green  <green@redhat.com>
5929
5930         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5931         libraries.
5932         * Makefile.in: Rebuilt.
5933
5934 2002-12-19  Anthony Green  <green@redhat.com>
5935
5936         * Makefile.am (ordinary_java_source_files): Add
5937         org/xml/sax/helpers/NewInstance.java.
5938         * Makefile.in: Rebuilt.
5939         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5940         org/xml/sax/helpers/package.html: New files.
5941         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5942         http://www.saxproject.org.
5943
5944 2002-12-19  Andrew Haley  <aph@redhat.com>
5945
5946         * java/util/natResourceBundle.cc: Include
5947         ArrayIndexOutOfBoundsException.h.
5948         (getCallingClassLoader): Don't put upper bound on stack search.
5949         Catch ArrayIndexOutOfBoundsException.
5950
5951 2002-12-19  Tom Tromey  <tromey@redhat.com>
5952
5953         * libtool-version: Increased `current'.
5954
5955 2002-12-19  Tom Tromey  <tromey@redhat.com>
5956
5957         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5958         comment.
5959         * java/lang/ClassLoader.java (defineClass): Use chained
5960         exception when rethrowing.
5961         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5962         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5963         constants.
5964         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5965         (_Jv_PrepareClass): Use it.
5966         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5967         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5968         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5969         (Class): _Jv_PrepareMissingMethods now friend.
5970         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5971         Record `NULL' for system class loader.
5972         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5973         system class loader.
5974         (_Jv_FindClassInCache): Likewise.
5975         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5976         (_Jv_FindClass): Special case system class loader.
5977         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5978         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5979         vtable slots.
5980         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5981         in a final class.
5982         (_getDeclaredMethod): Don't return synthetic methods.
5983         (getDeclaredMethods): Likewise.
5984         (_getMethod): Likewise.
5985         (_getMethods): Likewise.
5986
5987 2002-12-18  Raif Naffah  <raif@fl.net.au>
5988
5989         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5990         canonical form after divide().
5991         (modInverse): Likewise.
5992
5993 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5994             Mark Wielaard  <mark@klomp.org>
5995
5996         * java/security/SecurityRandom (digest): Removed field.
5997         (SecureRandom): Check all providers for case-insensitive SecureRandom
5998         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5999         if necessary.
6000         (getInstance(String,Provider,boolean): New method.
6001         (getInstance(String)): Use new method.
6002         (getInstance(String,String)): Likewise.
6003         (getInstance(String,Provider)): Likewise.
6004
6005 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6006
6007         * java/security/Security.java (loadProviders): Increment i only once.
6008
6009 2002-12-12  Mark Wielaard  <mark@klomp.org>
6010
6011         * java/lang/ClassLoader.java (resolveClass0): Transform
6012         ClassNotFoundException to NoClassDefFoundError. Transform all other
6013         throwables to LinkageError.
6014
6015 2002-12-11  Tom Tromey  <tromey@redhat.com>
6016
6017         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6018
6019         * java/lang/ClassLoader.java (loadedClasses): New field.
6020         (defineClass): Fixed indentation.  Put new class in
6021         loadedClasses.
6022         (findLoadedClass): Implement here.
6023         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6024
6025 2002-12-10  Tom Tromey  <tromey@redhat.com>
6026
6027         * Makefile.in: Rebuilt.
6028         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6029         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6030         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6031         * java/lang/natClassLoader.cc
6032         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6033
6034 2002-12-10  Mark Wielaard  <mark@klomp.org>
6035             Tom Tromey  <tromey@redhat.com>
6036
6037         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6038         (JarURLLoader): Use it.
6039         (FileURLLoader): Likewise.
6040         (JarURLResource.getURL): Use chained exception.
6041         (FileResource.getURL): Likewise.
6042         (FileURLLoader.getResource): Use canonical file name.
6043         (addURL): Indentation fix.
6044
6045 2002-12-10  Tom Tromey  <tromey@redhat.com>
6046
6047         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6048         From Laurent Bardet <l.bardet@magic.fr>.
6049
6050 2002-12-09  Tom Tromey  <tromey@redhat.com>
6051
6052         * include/win32.h (_Jv_platform_solib_prefix): New define.
6053         (_Jv_platform_solib_suffix): Likewise.
6054         * include/posix.h (_Jv_platform_solib_prefix): New define.
6055         (_Jv_platform_solib_suffix): Likewise.
6056         * java/lang/natRuntime.cc: Include StackTrace.h.
6057         (_load): Use findLibrary and new platform defines.
6058         (nativeGetLibname): Use new platform defines.
6059
6060         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6061         `t' won't be null.
6062
6063 2002-12-08  Mark Wielaard  <mark@klomp.org>
6064
6065         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6066         cache remote jar files.
6067         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6068         add File.separator to URL when it is a directory.
6069         * java/lang/ClassLoader.java: Add Classpath javadoc.
6070         (parent): final.
6071         (getParent): Add (disabled) security check.
6072         (findLibrary): New default method.
6073         * java/net/JarURLConnection.java (getManifest): Implement.
6074         (getInputStream): Only create InputStream when entry exists.
6075         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6076         when they exist.
6077         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6078
6079 2002-12-08  Mark Wielaard  <mark@klomp.org>
6080
6081         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6082         (lastDefaultLocale): New field.
6083         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6084         resourceBundleCache.
6085
6086 2002-12-06  Mark Wielaard  <mark@klomp.org>
6087
6088         * java/net/InetAddress.java (toString): Use hostname when not null,
6089         don't do an explicit reverse getHostName() lookup.
6090         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6091         NullPointerException.
6092
6093 2002-12-06  Tom Tromey  <tromey@redhat.com>
6094
6095         * include/java-interp.h (class _Jv_InterpMethod): Added
6096         JV_MARKOBJ_DECL.
6097         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6098         mark `prepared' field of interpreted method.
6099         * interpret.cc (compile): Use _Jv_AllocBytes.
6100
6101 2002-12-05  Andrew Haley  <aph@redhat.com>
6102
6103         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6104         #ifdef (HAVE_BACKTRACE) around the whole function body.
6105
6106 2002-12-05  Tom Tromey  <tromey@redhat.com>
6107
6108         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6109         * resolve.cc: Don't include AbstractMethodError.h.
6110         (_Jv_abstractMethodError): Removed.
6111         * defineclass.cc (handleMethodsBegin): Initialize method index to
6112         -1.
6113         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6114         method index for "new" final method.
6115         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6116         isVirtualMethod.  Added `flags' argument.
6117         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6118         class.
6119
6120 2002-12-04  Tom Tromey  <tromey@redhat.com>
6121
6122         * java/net/SocketPermission.java (hashCode): Rewrote.
6123
6124 2002-12-04  Tom Tromey  <tromey@redhat.com>
6125
6126         * Makefile.in: Rebuilt.
6127         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6128         natResourceBundle.
6129         * java/util/ResourceBundle.java (Security): Removed.
6130         (getCallingClassLoader): Now native.
6131         * java/util/natResourceBundle.cc: New file.
6132         * java/lang/natVMSecurityManager.cc: New file.
6133         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6134
6135 2002-12-03  Mark Wielaard  <mark@klomp.org>
6136
6137         * java/util/jar/JarFile.java (manifest): Not final.
6138         (manifestRead): New field.
6139         (JarFile): Don't read Manifest in constructor.
6140         (getManifest): New method.
6141         (JarEnumeration.nextElement): Use new method.
6142         (getEntry): Likewise.
6143         * java/util/zip/ZipFile.java (name): Final.
6144         (raf): Likewsie.
6145         (entries): Change type to Hashtable.
6146         (closed): New field.
6147         (ZipFile): Don't read enties in constructor.
6148         (readEntries): Use Hashtable.
6149         (close): Set new close flag and set entries to null inside
6150         synchronized block.
6151         (entries): Contruct enumeration using new getEntries() method and
6152         entries Hashtable.
6153         (getEntryIndex): Removed.
6154         (getEntries): New method.
6155         (getEntry): Use new getEntries() method and entries Hastable.
6156         (getInputStream): Likewise.
6157         (size): Return getEntries().size().
6158         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6159         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6160         (time): Removed
6161         (dostime): New field.
6162         (zipFileIndex): Removed.
6163         (ZipEntry(ZipEntry)): Copy dostime.
6164         (setDOSTime): Now final and doesn't convert dos time.
6165         (getDOSTime): Likewise.
6166         (setTime): Convert dos time.
6167         (getTime): Likewise.
6168         (getCalendar): New method.
6169         (setExtra): Use setTime().
6170         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6171
6172 2002-12-03  Tom Tromey  <tromey@redhat.com>
6173
6174         * java/lang/Character.java (forDigit): Formatting fix.
6175
6176 2002-12-03  Raif Naffah  <raif@fl.net.au>
6177
6178         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6179         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6180         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6181
6182 2002-12-03  Andrew Haley  <aph@redhat.com>
6183
6184         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6185         _Jv_PushClass.
6186         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6187         (_Jv_PopClass): New.
6188         (_Jv_PushClass): New.
6189         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6190         discover the ClassLoader of our caller.
6191         (_Jv_CheckArrayStore): Don't check that a class is assignment
6192         compatible with Object.
6193         * java/lang/natVMTHrowable.cc: Delete.
6194         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6195         java.lang.VMThrowable.
6196         (StackTrace(), StackTrace(int)): New constructors.
6197         (classAt, methodAt, update, methodAtAddress): New methods.
6198         (map): New field.
6199         * java/lang/VMThrowable.java: Use StackTrace instead of
6200         natVMTHrowable.
6201         * java/lang/Class.h (getClassLoaderInternal): New.
6202         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6203         Be friendly with gnu::gcj::runtime::StackTrace.
6204         (Object.chain): New field.
6205         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6206         gnu::gcj::runtime::StackTrace.
6207         * gnu/gcj/runtime/natStackTrace.cc: New file.
6208         * gnu/gcj/runtime/MethodRef.java: New file.
6209         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6210         instead of getClassLoader().
6211         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6212         java::lang::VMThrowable.
6213         * Makefile.am (core_java_source_files): Add MethodRef.java,
6214         StackTrace.java.
6215         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6216         * Makefile.in: Rebuild.
6217
6218 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6219
6220         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6221         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6222         yes also for sh-linux* and sh[34]*-linux*.
6223         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6224         set SIGNAL_HANDLER to use DWARF2 exception for them.
6225         * configure: Regenerate.
6226
6227 2002-12-02  Tom Tromey  <tromey@redhat.com>
6228
6229         * jni.cc: Added `name' argument.
6230         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6231         `const char *' argument.
6232         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6233
6234 2002-12-01  Tom Tromey  <tromey@redhat.com>
6235
6236         Bug compatibility, for PR libgcj/8738:
6237         * java/io/CharArrayWriter.java (close): Do nothing.
6238         (flush): Likewise.
6239         (reset): Don't touch `closed'.
6240         (write(int)): Don't throw IOException.
6241         (write(char[],int,int)): Likewise.
6242         (write(String,int,int)): Likewise.
6243         (closed): Removed.
6244
6245 2002-12-01  Mark Wielaard  <mark@klomp.org>
6246
6247         * java/lang/SecurityManager.java: Remerge comments, indenting and
6248         checkXXX methods with Classpath.
6249
6250 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6251
6252         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6253         getNormalizedComponents): Fix calculation which was using one too
6254         many bits in the unnormalized format.
6255
6256 2002-11-29  Gary Benson  <gbenson@redhat.com>
6257
6258         For PR libgcj/8759:
6259         * java/beans/Introspector.java (flushCaches): New method.
6260         (flushFromCaches): Likewise.
6261
6262 2002-11-29  Michael Koch <konqueror@gmx.de>
6263
6264         * java/nio/channels/DatagramChannel.java
6265         (open): Added exception documentation.
6266         (write): Added exception documentation.
6267         (connect): Added exception documentation.
6268         (disconnect): Added exception documentation.
6269         (isConnected): Added exception documentation.
6270         (read): Added exception documentation.
6271         (receive): Added exception documentation.
6272         (send): Added exception documentation.
6273         (validOps): Added exception documentation.
6274         * java/nio/channels/SocketChannel.java
6275         (open): Added exception documentation.
6276         (read): Added exception documentation.
6277         (write): Added exception documentation.
6278         (connect): Added exception documentation.
6279         (finishConnect): Added exception documentation.
6280
6281 2002-11-29  Michael Koch <konqueror@gmx.de>
6282
6283         * gnu/java/nio/DatagramChannelImpl:
6284         (fd): New member variable to store file descriptor of socket.
6285         * gnu/java/nio/SelectionKeyImpl.java:
6286         (ops): Removed.
6287         (readyOps): New member variable.
6288         (interestOps): New member variable.
6289         (readyOps): Implemented.
6290         (readyOps): New method to set member variable readyOps.
6291         (interestOps): Replaced ops by interestOps.
6292         * gnu/java/nio/SelectorImpl.java:
6293         (SelectorImpl): Initialize key sets.
6294         (select): Call select with -1 instead of Long.MAX_VALUE).
6295         (java_do_select): Make it a native method.
6296         (getFDsAsArray): New helper method.
6297         (select): Remove canceled keys, give only interested file discriptors
6298         to java_do_select, set ready ops.
6299         (add): No need to initialize keys set here.
6300         (add_selected): No need to initialize selected set here.
6301         (deregisterCanceledKeys): New helper method.
6302         (register): Set interest ops, set attachments, added handling of datagram
6303         channels.
6304         * gnu/java/nio/ServerSocketChannelImpl:
6305         (SocketAccept): Renamed from NioSocketAccept.
6306         (implConfigureBlocking): Implemented.
6307         (accept): Use SocketAccept instead of NioSocketAccept.
6308         * gnu/java/nio/SocketChannelImpl:
6309         Reactivate native methods.
6310
6311 2002-11-29  Michael Koch <konqueror@gmx.de>
6312
6313         * gnu/java/nio/natByteBufferImpl.cc,
6314         gnu/java/nio/natCharBufferImpl.cc,
6315         gnu/java/nio/natDoubleBufferImpl.cc,
6316         gnu/java/nio/natFloatBufferImpl.cc,
6317         gnu/java/nio/natIntBufferImpl.cc,
6318         gnu/java/nio/natLongBufferImpl.cc,
6319         gnu/java/nio/natSelectorImpl.cc,
6320         gnu/java/nio/natServerSocketChannelImpl.cc,
6321         gnu/java/nio/natShortBufferImpl.cc,
6322         gnu/java/nio/natSocketChannelImpl.cc:
6323         New files that implement native functionalities.
6324
6325 2002-11-29  Michael Koch <konqueror@gmx.de>
6326
6327         * gnu/java/nio/ByteBufferImpl.java
6328         (ByteBufferImpl): Moved position() after limit.
6329         (nio_*): Use native implementation.
6330         * gnu/java/nio/CharBufferImpl.java:
6331         Reformated.
6332         (endian): New member variable string endianess of buffer.
6333         (CharBufferImpl): Moved position() after limit.
6334         (nio_*): Use native implementation.
6335         (subSequence): Implemented.
6336         * gnu/java/nio/DoubleBufferImpl.java
6337         (DoubleBufferImpl): Moved position() after limit.
6338         (nio_*): Use native implementation.
6339         * gnu/java/nio/FloatBufferImpl.java
6340         Reformated.
6341         (FloatBufferImpl): Moved position() after limit.
6342         (nio_*): Use native implementation.
6343         * gnu/java/nio/IntBufferImpl.java
6344         Added needed imports, Reformated.
6345         (IntBufferImpl): Moved position() after limit.
6346         (nio_*): Use native implementation.
6347         * gnu/java/nio/LongBufferImpl.java
6348         Reformated.
6349         (LongBufferImpl): Moved position() after limit.
6350         (nio_*): Use native implementation.
6351         * gnu/java/nio/ShortBufferImpl.java
6352         Reformated.
6353         (ShortBufferImpl): Moved position() after limit.
6354         (nio_*): Use native implementation.
6355
6356 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6357
6358         * java/util/Locale.java (toString): Improve efficiency if country
6359         and variant are both empty.
6360
6361 2002-11-26  Tom Tromey  <tromey@redhat.com>
6362
6363         * verify.cc (pop_init_ref): New method.
6364         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6365         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6366         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6367         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6368         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6369         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6370         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6371         let `this' argument be uninitialized.  Don't let `null' be passed
6372         as `this' to construtor.
6373
6374 2002-11-26  Mark Wielaard  <mark@klomp.org>
6375
6376         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6377         * javax/transaction/HeuristicMixedException.java: Likewise.
6378         * javax/transaction/HeuristicRollbackException.java: Likewise.
6379         * javax/transaction/InvalidTransactionException.java: Likewise.
6380         * javax/transaction/NotSupportedException.java: Likewise.
6381         * javax/transaction/RollbackException.java: Likewise.
6382         * javax/transaction/Status.java: Likewise.
6383         * javax/transaction/Synchronization.java: Likewise.
6384         * javax/transaction/SystemException.java: Likewise.
6385         * javax/transaction/Transaction.java: Likewise.
6386         * javax/transaction/TransactionManager.java: Likewise.
6387         * javax/transaction/TransactionRequiredException.java: Likewise.
6388         * javax/transaction/TransactionRolledbackException.java: Likewise.
6389         * javax/transaction/UserTransaction.java: Likewise.
6390         * javax/transaction/xa/XAException.java: Likewise.
6391         * javax/transaction/xa/XAResource.java: Likewise.
6392         * javax/transaction/xa/Xid.java: Likewise.
6393
6394 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6395
6396         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6397         define.
6398         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6399         * include/posix.h (socklen_t): Define if not already defined.
6400
6401 2002-11-25  Tom Tromey  <tromey@redhat.com>
6402
6403         * verify.cc (type::compatible): Backed out broken change.
6404
6405         * verify.cc (type::compatible): Check initialization status
6406         first.
6407         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6408         Don't use NULLCHECK.
6409
6410 2002-11-23  H.J. Lu <hjl@gnu.org>
6411
6412         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6413         Include ../config/accross.m4.
6414         * aclocal.m4; Rebuild.
6415         * configure: Likewise.
6416
6417 2002-11-23  Mark Wielaard  <mark@klomp.org>
6418
6419         * javax/naming/AuthenticationException.java: Update copyright header.
6420         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6421         * javax/naming/Binding.java: Likewise.
6422         * javax/naming/CannotProceedException.java: Likewise.
6423         * javax/naming/CommunicationException.java: Likewise.
6424         * javax/naming/CompositeName.java: Likewise.
6425         * javax/naming/CompoundName.java: Likewise.
6426         * javax/naming/ConfigurationException.java: Likewise.
6427         * javax/naming/Context.java: Likewise.
6428         * javax/naming/ContextNotEmptyException.java: Likewise.
6429         * javax/naming/InitialContext.java: Likewise.
6430         * javax/naming/InsufficientResourcesException.java: Likewise.
6431         * javax/naming/InterruptedNamingException.java: Likewise.
6432         * javax/naming/LimitExceededException.java: Likewise.
6433         * javax/naming/LinkException.java: Likewise.
6434         * javax/naming/LinkLoopException.java: Likewise.
6435         * javax/naming/LinkRef.java: Likewise.
6436         * javax/naming/MalformedLinkException.java: Likewise.
6437         * javax/naming/NameAlreadyBoundException.java: Likewise.
6438         * javax/naming/NameClassPair.java: Likewise.
6439         * javax/naming/NameNotFoundException.java: Likewise.
6440         * javax/naming/NameParser.java: Likewise.
6441         * javax/naming/NamingEnumeration.java: Likewise.
6442         * javax/naming/NamingSecurityException.java: Likewise.
6443         * javax/naming/NoInitialContextException.java: Likewise.
6444         * javax/naming/NoPermissionException.java: Likewise.
6445         * javax/naming/NotContextException.java: Likewise.
6446         * javax/naming/OperationNotSupportedException.java: Likewise.
6447         * javax/naming/PartialResultException.java: Likewise.
6448         * javax/naming/Reference.java: Likewise.
6449         * javax/naming/Referenceable.java: Likewise.
6450         * javax/naming/ReferralException.java: Likewise.
6451         * javax/naming/ServiceUnavailableException.java: Likewise.
6452         * javax/naming/SizeLimitExceededException.java: Likewise.
6453         * javax/naming/TimeLimitExceededException.java: Likewise.
6454         * javax/naming/directory/Attribute.java: Likewise.
6455         * javax/naming/directory/AttributeInUseException.java: Likewise.
6456         * javax/naming/directory/AttributeModificationException.java: Likewise.
6457         * javax/naming/directory/Attributes.java: Likewise.
6458         * javax/naming/directory/BasicAttribute.java: Likewise.
6459         * javax/naming/directory/BasicAttributes.java: Likewise.
6460         * javax/naming/directory/DirContext.java: Likewise.
6461         * javax/naming/directory/InitialDirContext.java: Likewise.
6462         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6463         Likewise.
6464         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6465         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6466         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6467         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6468         * javax/naming/directory/ModificationItem.java: Likewise.
6469         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6470         * javax/naming/directory/SchemaViolationException.java: Likewise.
6471         * javax/naming/directory/SearchControls.java: Likewise.
6472         * javax/naming/directory/SearchResult.java: Likewise.
6473         * javax/naming/event/EventContext.java: Likewise.
6474         * javax/naming/event/EventDirContext.java: Likewise.
6475         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6476         * javax/naming/event/NamingEvent.java: Likewise.
6477         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6478         * javax/naming/event/NamingListener.java: Likewise.
6479         * javax/naming/event/ObjectChangeListener.java: Likewise.
6480         * javax/naming/ldap/Control.java: Likewise.
6481         * javax/naming/ldap/ControlFactory.java: Likewise.
6482         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6483         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6484         * javax/naming/ldap/HasControls.java: Likewise.
6485         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6486         * javax/naming/ldap/LdapContext.java: Likewise.
6487         * javax/naming/ldap/LdapReferralException.java: Likewise.
6488         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6489         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6490         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6491         * javax/naming/spi/DirObjectFactory.java: Likewise.
6492         * javax/naming/spi/DirStateFactory.java: Likewise.
6493         * javax/naming/spi/DirectoryManager.java: Likewise.
6494         * javax/naming/spi/InitialContextFactory.java: Likewise.
6495         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6496         * javax/naming/spi/NamingManager.java: Likewise.
6497         * javax/naming/spi/ObjectFactory.java: Likewise.
6498         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6499         * javax/naming/spi/ResolveResult.java: Likewise.
6500         * javax/naming/spi/Resolver.java: Likewise.
6501         * javax/naming/spi/StateFactory.java: Likewise.
6502
6503         * javax/naming/spi/NamingManager.java (ofb): Package private.
6504
6505 2002-11-21  Mark Wielaard  <mark@klomp.org>
6506
6507         * java/net/URL.java: Merge with Classpath (partly).
6508         * java/net/URLStreamHandler: Merge with Classpath.
6509
6510 2002-11-22  Michael Koch <konqueror@gmx.de>
6511
6512         * include/posix.h:
6513         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6514         * include/win32.h:
6515         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6516         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6517
6518 2002-11-21  Michael Koch <konqueror@gmx.de>
6519
6520         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6521         Only the new network functions should be in it.
6522
6523 2002-11-21  Michael Koch <konqueror@gmx.de>
6524
6525         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6526         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6527
6528 2002-11-21  Michael Koch <konqueror@gmx.de>
6529
6530         * java/nio/channels/AsynchronousCloseException.java,
6531         java/nio/channels/CancelledKeyException.java,
6532         java/nio/channels/ClosedByInterruptException.java,
6533         java/nio/channels/ConnectionPendingException.java,
6534         java/nio/channels/FileLockInterruptionException.java,
6535         java/nio/channels/IllegalSelectorException.java,
6536         java/nio/channels/NoConnectionPendingException.java,
6537         java/nio/channels/NonReadableChannelException.java,
6538         java/nio/channels/NonWritableChannelException.java,
6539         java/nio/channels/NotYetBoundException.java,
6540         java/nio/channels/NotYetConnectedException.java,
6541         java/nio/channels/OverlappingFileLockException.java,
6542         java/nio/channels/UnresolvedAddressException.java,
6543         java/nio/channels/UnsupportedAddressTypeException.java:
6544         New files.
6545         * Makefile.am (ordinary_java_source_files): Added new files.
6546         * Makefile.in: Regenerated.
6547
6548 2002-11-21  Michael Koch <konqueror@gmx.de>
6549
6550         * include/posix.h
6551         (_Jv_socket): New method.
6552         (_Jv_connect): New method.
6553         (_Jv_close): New method.
6554         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6555         (_Jv_bind): New method.
6556         (_Jv_listen): New method.
6557         (_Jv_write): New method.
6558         (_Jv_read): New method.
6559         * include/win32.h
6560         (_Jv_socket): New method.
6561         (_Jv_connect): New method.
6562         (_Jv_close): New method.
6563         (_Jv_bind): New method.
6564         (_Jv_listen): New method.
6565         (_Jv_write): New method.
6566         (_Jv_read): New method.
6567         * java/net/natNetworkInterface.cc:
6568         Include platform.h, removed inclusion of socket.h
6569         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6570         ::close() by _Jv_close().
6571         * java/net/natPlainDatagramSocketImpl.cc:
6572         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6573         added some new lines to make code more readable.
6574         (create): Replaced ::socket() by _Jv_socket().
6575         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6576         * java/net/natPlainSocketImpl.cc:
6577         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6578         removed include of socket.h, removed some windows defines
6579         (now in include/win32.h).
6580         (create): Replaced ::socket() by _Jv_socket().
6581         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6582         (write): Replaced ::read by _Jv_write().
6583         (read): Replaced ::read by _Jv_read().
6584
6585 2002-11-20  Michael Koch <konqueror@gmx.de>
6586
6587         * Makefile.am (ordinary_java_source_files):
6588         Added java/nio/channels/FileChannel.java.
6589         * Makefile.in: Regenerated.
6590
6591 2002-11-20  Michael Koch <konqueror@gmx.de>
6592
6593         * java/io/FileInputStream.java
6594         (getChannel): New method.
6595         * java/io/FileOutputStream.java
6596         (getChannel): New method.
6597         * java/net/ServerSocket.java
6598         (bind): Removed duplicate code and called another bind method instead.
6599         * java/nio/channels/SelectionKey.java
6600         (isValid): Removed wrong exception documentation.
6601         * java/nio/channels/ServerSocketChannel.java
6602         (accept): Added exception documentation.
6603         (open): Fixed typo, added exception documentation.
6604         * java/nio/channels/spi/AbstractSelectableChannel.java
6605         (implCloseChannel): Added exception documentation.
6606         (add): Reformated.
6607         (register): Added exception documentation.
6608
6609 2002-11-20  Andreas Jaeger  <aj@suse.de>
6610
6611         * configure: Regenerated with new libtool.m4.
6612
6613 2002-11-19  Tom Tromey  <tromey@redhat.com>
6614
6615         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6616         `referent'.
6617         (finalize_referred_to_object): Don't modify `referent' or `copy'
6618         fields.
6619         (add_to_hash): Correctly set `n->next' when updating list.
6620         * java/lang/ref/Reference.java (enqueue): Return false if already
6621         enqueued.
6622
6623 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6624
6625         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6626         to function and function pointer declarations in accordance with
6627         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6628         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6629         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6630         JNI function definitions.
6631
6632 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6633
6634         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6635         that was causing CoderResults to be cached, not WeakReferences
6636         to CoderResults.
6637
6638 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6639
6640         * java/security/KeyStore.java (getInstance): Fix
6641         comment and throw IllegalArgumentException if
6642         given provider is null.
6643         (getInstance): New method for jdk1.4 compatibility.
6644
6645 2002-11-18  Michael Koch <konqueror@gmx.de>
6646
6647         * java/net/PlainSocketImpl.java: Fix imports.
6648
6649 2002-11-18  Michael Koch <konqueror@gmx.de>
6650
6651         * java/nio/channels/SelectionKey.java
6652         (isValid): Added exception documentation.
6653         * java/nio/channels/Selector.java
6654         (open): Declare "throws IOException".
6655
6656 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6657
6658         * java/nio/charset/Charset.java
6659         (<clinit>): New method.
6660         (encode): Synchronize use of cached encoder object.
6661         (decode): Synchronize use of cached encoder object.
6662
6663 2002-11-18  Michael Koch <konqueror@gmx.de>
6664
6665         * gnu/java/nio/ByteBufferImpl.java,
6666         gnu/java/nio/CharBufferImpl.java,
6667         gnu/java/nio/DatagramChannelImpl.java,
6668         gnu/java/nio/DoubleBufferImpl.java,
6669         gnu/java/nio/FileChannelImpl.java,
6670         gnu/java/nio/FloatBufferImpl.java,
6671         gnu/java/nio/IntBufferImpl.java,
6672         gnu/java/nio/LongBufferImpl.java,
6673         gnu/java/nio/PipeImpl.java,
6674         gnu/java/nio/SelectionKeyImpl.java,
6675         gnu/java/nio/SelectorImpl.java,
6676         gnu/java/nio/SelectorProviderImpl.java,
6677         gnu/java/nio/ServerSocketChannelImpl.java,
6678         gnu/java/nio/ShortBufferImpl.java,
6679         gnu/java/nio/SocketChannelImpl.java,
6680         java/nio/DoubleBuffer.java,
6681         java/nio/FloatBuffer.java,
6682         java/nio/IntBuffer.java,
6683         java/nio/LongBuffer.java,
6684         java/nio/ShortBuffer.java,
6685         java/nio/channels/FileChannel.java: New files.
6686
6687 2002-11-18  Michael Koch <konqueror@gmx.de>
6688
6689         * Makefile.am (ordinary_java_source_files):
6690         Added java/nio/ReadOnlyBufferException.java and
6691         java/nio/channels/ClosedSelectorException.java.
6692         * Makefile.in: Regenerated.
6693
6694 2002-11-18  Michael Koch <konqueror@gmx.de>
6695
6696         * java/net/PlainSocketImpl.java: Reworked imports.
6697         * java/net/ServerSocket.java
6698         (ServerSocket): Create socket.
6699         * java/net/SocketAddress.java: Documentation added.
6700         * java/net/natPlainSocketImpl.cc: Reindented.
6701         * java/nio/ReadOnlyBufferException.java: New file
6702         * java/nio/channels/ClosedChannelException.java: Documentation added.
6703         * java/nio/channels/ClosedSelectorException.java: New file.
6704
6705 2002-11-17  Mark Wielaard  <mark@klomp.org>
6706
6707         * java/net/HttpURLConnection.java ((getPermission): Take port
6708         into consideration.
6709         (getErrorStream): Implement.
6710
6711 2002-11-17  Mark Wielaard  <mark@klomp.org>
6712
6713         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6714
6715 2002-11-16  Mark Wielaard  <mark@klomp.org>
6716
6717         Integrate work by Raif S. Naffah (raif@fl.net.au)
6718         * java/security/DummyKeyPairGenerator.java (clone): New method.
6719         * java/security/DummyMessageDigest.java (clone): New method.
6720         (engineUpdate): Now public.
6721         (engineReset): Likewise.
6722         (engineDigest): Likewise.
6723         (engineGetDigestLength): New method.
6724         * java/security/DummySignature.java (clone): New method.
6725         * java/security/KeyPairGenerator.java (provider): Now package private.
6726         (getInstance(String)): Use getInstance(String,Provider).
6727         (getInstance(String,String): Use getInstance(String,Provider)
6728         (getInstance(String,Provider): New method.
6729         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6730         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6731         * java/security/MessageDigest.java (provider): Now package private.
6732         (getInstance(String): Use getInstance(String,Provider).
6733         (getInstance(String,String): Use getInstance(String,Provider)
6734         (getInstance(String,Provider): New method.
6735         * java/security/Provider.java (toCanonicalKey): New method.
6736         (get): New method that uses toCanonicalKey().
6737         (put): Use toCanonicalKey().
6738         (remove): Likewise.
6739         * java/security/Security.java (insertProviderAt): Provider index is one
6740         based, not zero based.
6741         (addProvider): Likewise.
6742         (removeProvider): Likewise.
6743         * java/security/Signature.java (provider): Now package private.
6744         (getInstance(String)): Use getInstance(String,Provider).
6745         (getInstance(String,String): Use getInstance(String,Provider)
6746         (getInstance(String,Provider): New method.
6747         (getInstance(String,String,Provider): Don't cast DummySignature.
6748
6749 2002-11-15  Tom Tromey  <tromey@redhat.com>
6750
6751         For PR libgcj/8593:
6752         * java/util/zip/GZIPInputStream.java (read): Check file size.
6753         Look in inflater for remaining input bytes.
6754         (read4): Added buf and offset arguments.
6755
6756 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6757
6758         * java/applet/AppletContext.java: Fix typo and remove redundant
6759         modifiers.
6760
6761 2002-11-14  Tom Tromey  <tromey@redhat.com>
6762
6763         * java/lang/natRuntime.cc (insertSystemProperties): Set
6764         gnu.classpath.home.
6765
6766 2002-11-13  Michael Koch <konqueror@gmx.de>
6767
6768         * java/nio/ByteBuffer.java
6769         (allocate): New method.
6770         (wrap): New method.
6771         (put): New method.
6772         (get): New method.
6773
6774 2002-11-13  Michael Koch <konqueror@gmx.de>
6775
6776         * java/nio/channels/AlreadyConnectedException.java:
6777         Removed unneeded import.
6778         (AlreadyConnectedException): Documentation added.
6779         * java/nio/channels/Pipe.java
6780         (SinkChannel.SinkChannel): Documentation added.
6781         (SinkChannel.validOps): New method.
6782         (SourceChannel.SourceChannel): Documentation added.
6783         (SourceChannel.validOps): New method.
6784         (Pipe): Documentation added.
6785         (open): Documentation added.
6786         (SinkChannel.channel): Documentation added.
6787         (SourceChannel.channel): Documentation added.
6788         * java/nio/channel/SelectableChannel.java
6789         (SelectableChannel): Documentation added.
6790         (blockingLock): Documentation added.
6791         (configureBlocking):Documentation added.
6792         (isBlocking):Documentation added.
6793         (isRegistered):Documentation added.
6794         (keyFor):Documentation added.
6795         (provider):Documentation added.
6796         (register): Documentation added.
6797         (validOps): Documentation added.
6798         * jaba/nio/channels/SelectionKey.java
6799         (SelectionKey): Documentation added.
6800         (attach): Documentation added.
6801         (attachment): Documentation added.
6802         (isAcceptable): Documentation added.
6803         (isConnetable): Documentation added.
6804         (isReadable): Documentation added.
6805         (isWritable): Documentation added.
6806         (cancel): Documentation added.
6807         (channel): Documentation added.
6808         (interestOps): Documentation added.
6809         (isValid): Documentation added.
6810         (readyOps): Documentation added.
6811         (selector): Documentation added.
6812         * jaba/nio/channels/Selector.java
6813         (Selector): Documentation added.
6814         (open): Documentation added.
6815         (close): Documentation added.
6816         (isOpen): Documentation added.
6817         (keys): Documentation added.
6818         (provider): Documentation added.
6819         (select): Documentation added.
6820         (selectedKeys): Documentation added.
6821         (selectNow): Documentation added.
6822         (wakeup): Documentation added.
6823         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6824         (AbstractInterruptibleChannel): Documentation added.
6825         (opened): Default to true;
6826         (begin): Documentation added.
6827         (close): Set opened to false, documentation added.
6828         (isOpen): Documentation added.
6829         * java/nio/channels/spi/AbstractSelectionKey.java
6830         (AbstractSelectionKey): Documentation added.
6831         (cancel): Documentation added.
6832         (isValid): Documentation added.
6833         * java/nio/channels/spi/AbstractSelector.java
6834         (AbstractSelector): Documentation added.
6835         (begin): Documentation added.
6836         (close): Documentation added.
6837         (isOpen): Documentation added.
6838         (deregister): Documentation added.
6839         (end): Documentation added.
6840         (provider): Documentation added.
6841         (implCloseSelector): Documentation added.
6842         (register): Documentation added.
6843         * java/nio/channels/spi/SelectorProvider.java
6844         (SelectorProvider): Documentation added.
6845         (openDatagramChannel): Documentation added.
6846         (openPipe): Documentation added.
6847         (openSelector): Documentation added.
6848         (openServerSocketChannel): Documentation added.
6849         (openSocketChannel): Documentation added.
6850         (provider): Documentation added.
6851
6852 2002-11-12  Michael Koch <konqueror@gmx.de>
6853
6854         * java/nio/Buffer.java: Implemented.
6855         * java/nio/CharBuffer.java: New file.
6856         * java/nio/InvalidMarkException.java: New file.
6857         * java/nio/channels/DatagramChannel.java: Implemented.
6858         * java/nio/channels/ServerSocketChannel.java: Implemented.
6859         * java/nio/channels/SocketChannel.java: Implemented.
6860         * java/nio/channels/spi/AbstractChannel.java: Removed.
6861         * java/nio/channels/spi/AbstractSelectableChannel.java:
6862         Implemented.
6863         * java/nio/charset/Charset.java:
6864         Merge from Classpath.
6865         * java/nio/charset/CharsetDecoder.java: New file.
6866         * java/nio/charset/CharsetEncoder.java: New file.
6867         * java/nio/charset/CoderResult.java: New file.
6868         * Makefile.am (ordinary_java_source_files): Added new files.
6869         * Makefile.in: Regenerated.
6870
6871 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6872
6873         * gnu/java/nio/charset/ISO_8859_1.java,
6874         gnu/java/nio/charset/Provider.java,
6875         gnu/java/nio/charset/US_ASCII.java,
6876         gnu/java/nio/charset/UTF_16.java,
6877         gnu/java/nio/charset/UTF_16BE.java,
6878         gnu/java/nio/charset/UTF_16Decoder.java,
6879         gnu/java/nio/charset/UTF_16Encoder.java,
6880         gnu/java/nio/charset/UTF_16LE.java,
6881         gnu/java/nio/charset/UTF_8.java: New files.
6882
6883 2002-11-11  Michael Koch <konqueror@gmx.de>
6884
6885         * java/nio/charset/CharacterCodingException.java:
6886         This class must be public.
6887         * java/nio/charset/CoderMalfunctionError.java:
6888         This class must be public.
6889         * java/nio/charset/CodingErrorAction.java:
6890         This class must be public.
6891         * java/nio/charset/IllegalCharsetNameException.java:
6892         This class must be public, better implementation.
6893         * java/nio/charset/MalformedInputException.java:
6894         This class must be public, better implementation.
6895         * java/nio/charset/UnmappableCharacterException.java:
6896         This class must be public, better implementation.
6897         * java/nio/charset/UnsupportedCharsetException.java:
6898         This class must be public, better implementation.
6899
6900 2002-11-11  Michael Koch <konqueror@gmx.de>
6901
6902         * java/nio/BufferOverflowException.java,
6903         java/nio/BufferUnderflowException.java: New file.
6904         * Makefile.am (ordinary_java_source_files):
6905         Added new files.
6906         * Makefile.in: Regenerated.
6907
6908 2002-11-10  Tom Tromey  <tromey@redhat.com>
6909
6910         * java/awt/Container.java (validate): Use tree lock.
6911         (getComponent): Likewise.
6912         (getComponents): Likewise.
6913         (addImpl): Likewise.
6914         (remove): Likewise.
6915         (removeAll): Likewise.
6916         (processEvent): Fixed indentation.
6917         (getComponentAt): Use tree lock.
6918         (findComponentAt): Likewise.
6919         (removeNotify): Likewise.
6920         (isAncestorOf): Likewise.
6921         (list): Likewise.
6922         (visitChildren): Likewise.
6923         (findNextFocusComponent): Likewise.
6924         (addNotifyContainerChildren): Likewise.
6925         (getAccessibleChildrenCount): Likewise.
6926         (getAccessibleChild): Likewise.
6927
6928         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6929         (getSize): Likewise.
6930         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6931         (getSize): Likewise.
6932         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6933         (calcSize): Likewise.
6934         * java/awt/CardLayout.java (getSize): Use tree lock.
6935         (gotoComponent): Likewise.
6936         (layoutContainer): Likewise.
6937
6938         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6939         count is 0.
6940         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6941         count is 0.
6942
6943         * java/io/Externalizable.java, java/io/FilePermission.java,
6944         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6945         java/io/SerializablePermission.java, java/text/Format.java,
6946         java/util/AbstractMap.java, java/util/HashMap.java,
6947         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6948         versions from Classpath.
6949
6950 2002-11-10  Anthony Green  <green@redhat.com>
6951
6952         * java/util/jar/Attributes.java (Name): Fix name check.
6953
6954 2002-11-10  Mark Wielaard  <mark@klomp.org>
6955
6956         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6957         with getName() as message.
6958         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6959         type as message.
6960
6961         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6962         unused.
6963
6964 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6965
6966         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6967         for Win32. JNICALL has been defined to __stdcall to be compatible
6968         with Sun's JDKs.
6969
6970 2002-11-10  Tom Tromey  <tromey@redhat.com>
6971
6972         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6973         (setRows): Check newRows, not rows.
6974
6975         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6976
6977 2002-11-09  Tom Tromey  <tromey@redhat.com>
6978
6979         * java/applet/Applet.java, java/applet/AppletContext.java,
6980         java/applet/AppletStub.java, java/applet/AudioClip.java,
6981         java/awt/CardLayout.java,
6982         java/awt/ContainerOrderFocusTraversalPolicy.java,
6983         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6984         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6985         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6986         java/awt/color/ICC_ColorSpace.java,
6987         java/awt/color/ICC_Profile.java,
6988         java/awt/color/ICC_ProfileGray.java,
6989         java/awt/color/ICC_ProfileRGB.java,
6990         java/awt/datatransfer/DataFlavor.java,
6991         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6992         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6993         New versions from Classpath.
6994         * Makefile.in: Rebuilt.
6995         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6996         ICC_ProfileRGB.
6997
6998         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6999         display policy.
7000
7001         * java/awt/List.java (processEvent): Added missing `else's.
7002
7003         * java/awt/Window.java (show): validate() before showing.  Make
7004         parent displayable.
7005         (isDisplayable): New method.
7006
7007 2002-11-07  Mark Wielaard  <mark@klomp.org>
7008
7009         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7010         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7011
7012         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7013         annotation.
7014         (loadClass): Take String as codebases.
7015         (getClassAnnotation): Use MyClassLoader annotations.
7016         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7017         call exportObject(this).
7018
7019         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7020         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7021         (setAnnotation): Don't set locBytesStream and locStream.
7022         (replaceObject): Removed.
7023         (flush): Don't test locStream.
7024         (getLocBytes): LikeWise.
7025         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7026         (leaseCache): New field.
7027         (dirty): Use leaseCache.
7028         (LeaseRecord): New inner class.
7029         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7030         explicitly call exportObject().
7031         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7032         false to communicate with Sun JDK130.
7033         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7034         * gnu/java/rmi/server/RMIObjectInputStream.java
7035         (UnicastConnectionManager): Removed field.
7036         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7037         Use UnicastServer.getExportedRef().
7038         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7039         (expireTime): Likewise.
7040         (CONNECTION_TIMEOUT): Likewise.
7041         (disconnect): Call sock.close().
7042         (isExpired): New method.
7043         (resetTime): Likewise.
7044         (run): Use do while loop and catch Exception for discardConnection().
7045         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7046         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7047         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7048         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7049         (exportObject): Use refcache.
7050         (unexportObject): Likewise.
7051         (getExportedRef): New method.
7052         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7053         constructor.
7054         (exportObject): Save manager.serverobj.
7055         (getStub): New method.
7056
7057 2002-11-07  Mark Wielaard  <mark@klomp.org>
7058
7059         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7060         (getByte): Likewise.
7061         (getShort): Likewise.
7062         (getInt): Likewise.
7063         (getLong): Likewise.
7064         (getFloat): Likewise.
7065         (getDouble): Likewise.
7066         (get): Likewise.
7067         (setChar): Likewise.
7068         (setByte): Likewise.
7069         (setShort): Likewise.
7070         (setInt): Likewise.
7071         (setLong): Likewise.
7072         (setFloat): Likewise.
7073         (setDouble): Likewise.
7074
7075 2002-11-07  Michael Koch <konqueror@gmx.de>
7076
7077         * java/awt/Choice.java,
7078         java/awt/Container.java,
7079         java/awt/GridBagLayout.java:
7080         Fixed documentation.
7081         * java/awt/peer/ContainerPeer.java:
7082         Reindented.
7083
7084 2002-11-07  Michael Koch <konqueror@gmx.de>
7085
7086         * java/awt/color/ICC_Profile.java:
7087         Added missing constants.
7088         * java/awt/color/ICC_ColorSpace.java
7089         (getMinValue): Added dummy implementation.
7090         (getMaxValue): Added dummy implementation.
7091         * java/awt/datatransfer/DataFlavor.java
7092         (imageFlavor): Added.
7093         (isMimeTypeEqual): Must be final.
7094         (getDefaultRepresentationClass): Must be non-static.
7095         (getDefaultRepresentationClassAsString): Must be non-static.
7096         * java/awt/dnd/DragSourceContext.java
7097         (dragExit): Corrected argument.
7098         (dragDropEnd): Corrected argument.
7099         * java/awt/dnd/DragSourceListener.java.java
7100         (dragExit): Corrected argument.
7101         (dragDropEnd): Corrected argument.
7102         * java/awt/font/TextHitInfo.java
7103         (toString): Added stubbed implementation.
7104         * java/awt/geom/PathIterator.java:
7105         The constants must be static.
7106         * java/awt/image/VolatileImage.java
7107         (IMAGE_INCOMPATIBLE): Fixed typo.
7108         * java/awt/image/renderable/RenderableImage.java
7109         (HINTS_OBSERVED): Must be static.
7110         * java/beans/BeanInfo.java:
7111         Constants must be final.
7112
7113 2002-11-06  Tom Tromey  <tromey@redhat.com>
7114
7115         From svens@it.uu.se.  For PR libgcj/8481.
7116         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7117
7118 2002-11-06  Tom Tromey  <tromey@redhat.com>
7119
7120         * jni.cc (array_from_valist): Assume that jlong won't be
7121         promoted.
7122
7123 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7124
7125         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7126         Return 20.
7127         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7128         Return 16.
7129
7130 2002-11-03  Tom Tromey  <tromey@redhat.com>
7131
7132         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7133         VMClassLoader, not findClass.
7134
7135 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7136
7137         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7138         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7139         _Jv_DetermineVTableIndex, to determine vtable offset.
7140         (_Jv_DetermineVTableIndex): Remove.
7141         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7142
7143         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7144
7145 2002-11-03  Tom Tromey  <tromey@redhat.com>
7146
7147         * java/nio/channels/AlreadyConnectedException.java: Extend
7148         IllegalStateException, per spec.
7149
7150 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7151
7152         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7153
7154 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7155
7156         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7157         size items.
7158
7159 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7160
7161         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7162         initial estimated size to avoid enlarge buffer frequently.
7163
7164 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7165
7166         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7167         ClassLoader when null.
7168         (ProxyType.hashCode): Loader null check no longer needed.
7169         (ProxyType.sameTypes): New method.
7170         (ProxyType.equals): Use new method.
7171
7172 2002-10-31  Mark Wielaard  <mark@klomp.org>
7173
7174         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7175         length of String.
7176         * java/net/URLEncoder.java (encode): Likewise.
7177
7178 2002-10-31  Mark Wielaard  <mark@klomp.org>
7179
7180         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7181         when stream is closed.
7182         (closeEntry): Likewise.
7183         (read): Likewise.
7184         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7185         ZipException when no entry active.
7186         (closeEntry): Likewise.
7187         (write): Likewise.
7188
7189 2002-11-02  Tom Tromey  <tromey@redhat.com>
7190
7191         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7192         * java/lang/natClass.cc (initializeClass): Don't return just
7193         because self==thread.
7194
7195         For PR java/8415:
7196         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7197         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7198
7199 2002-11-02  Andreas Schwab  <schwab@suse.de>
7200
7201         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7202         pass GCJFLAGS.
7203         (FLAGS_TO_PASS): Define.
7204         * Makefile.in: Regenerated.
7205
7206 2002-11-01  Michael Koch  <konqueror@gmx.de>
7207
7208         * java/nio/ByteOrder.java: New file.
7209         * java/nio/channels/DatagramChannel.java:
7210         (DatagramChannel): New constructor.
7211         * java/nio/channels/Pipe.java: New file.
7212         * java/nio/channels/SelectableChannel.java: New file.
7213         * java/nio/channels/SelectionKey.java: New file.
7214         * java/nio/channels/Selector.java: New file.
7215         * java/nio/channels/ServerSocketChannel.java
7216         (ServerSocketChannel): New constructor.
7217         * java/nio/channels/SocketChannel.java
7218         (SocketChannel): New constructor.
7219         * java/nio/channels/Pipe.java: New file.
7220         * java/nio/channels/spi/AbstractChannel.java: New file.
7221         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7222         * java/nio/channels/spi/AbstractSelectableChannel.java:
7223         License added
7224         (AbstractSelectableChannel): New stubbed method.
7225         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7226         * java/nio/channels/spi/AbstractSelector.java: New file.
7227         * java/nio/channels/spi/SelectorProvider.java: New file.
7228         * java/nio/charset/Charset.java: New file.
7229         * java/nio/charset/CoderMalfunctionError.java: New file.
7230         * java/nio/charset/CodingErrorAction.java: New file.
7231         * java/nio/charset/spi/CharsetProvider.java
7232         (charsetForName): Uncommented.
7233         * Makefile.am (java_native_source_files): Added new files.
7234         * Makefile.in: Regenerated.
7235
7236 2002-11-01  Michael Koch  <konqueror@gmx.de>
7237
7238         * java/net/InetAddress.java:
7239         (isAnyLocalAddress): Implemented.
7240         (isLoopbackAddress): Implemented, comment added.
7241         (isLinkLocalAddress): Implemented, documentation added.
7242         (isSiteLocalAddress): Implemented, documentation added.
7243         (isMCGlobal): Implemented, documentation added.
7244         (isMCNodeLocal): Implemented, documentation added.
7245         (isMCLinkLocal): Implemented, documentation added.
7246         (isMCSiteLocal): Implemented, documentation added.
7247         (isMCOrgLocal): Implemented, documentation added.
7248         (getHostName): Documentation added.
7249         (getCanonicalHostName): Implemented, documentation added.
7250         (getAddress): Documentation added.
7251         (hashCode): Documentation added.
7252         (equals): Documentation added.
7253         (toString): Fixed implementation.
7254         (getByAddress): Use Inet4Address and Inet6Address.
7255         (lookup): New linewrap.
7256         (getByName): SecurityManager check added, support Inet4Address and
7257         Inet6address, comments added.
7258         (getAllByName): SecurityManager check added, comments added.
7259         * java/net/Inet6Address.java:
7260         (Inet6Address): Initialize parent class with addr instead of null.
7261         * java/net/URL.java
7262         (equals): Documentation added.
7263         (getFile): Documentation added.
7264         (hashCode): Documentation added.
7265         * java/net/natInetAddress.cc:
7266         (aton): Fix IPv6 support.
7267         * java/net/natPlainDatagramSocketImpl.cc:
7268         (peek): Throw PortUnreachableException when suitable.
7269         (peekData): Throw PortUnreachableException when suitable.
7270         (send): Throw PortUnreachableException when suitable.
7271         (receive): Throw PortUnreachableException when suitable.
7272
7273 2002-10-27  Mark Wielaard  <mark@klomp.org>
7274
7275         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7276         argument.
7277         (readLeShort): Likewise and use byte[].
7278         (readLeInt): Likewise.
7279         (readEntries): Use new versions of methods and use byte[] for reading
7280         a complete zip entry. Add ZipFile name to exceptions.
7281         (entries): Add ZipFile name to exceptions.
7282         (getEntry): Likewise.
7283         (checkLocalHeader): Use new versions of methods and add ZipFile name
7284         to exceptions.
7285
7286 2002-10-31  Mark Anderson  <mark@panonet.net>
7287
7288         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7289         added
7290
7291 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7292
7293         * configure.in: Disable hash sync when not using threads.
7294         * configure: Regenerated.
7295
7296 2002-10-24  Tom Tromey  <tromey@redhat.com>
7297
7298         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7299         (_Jv_FindSymbolInExecutable): Removed argument name.
7300         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7301         java.library.path is set.
7302
7303         * gij.cc (help): Document --showversion.
7304         (version): Don't exit.
7305         (main): Handle --showversion.  Exit if --version given.
7306
7307 2002-10-23  Tom Tromey  <tromey@redhat.com>
7308
7309         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7310         (array_from_valist): Correctly handle promotion for jint, jlong,
7311         jfloat, and jdouble.
7312
7313 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7314
7315         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7316         GetFileAttributesEx( ) to find file length and modification times,
7317         as the latter is not present on Windows 95.
7318
7319 2002-10-21  Michael Koch  <konqueror@gmx.de>
7320
7321         * java/net/URL.java
7322         (URL): Activate SecurityManager checks.
7323         (equals): Use URLStreamHandler implementation instead of doing it
7324         alone. This allows special protocol stream handlers to change default
7325         behaviour.
7326         (hashCode): Use URLStreamHandler implementation instead of doing it
7327         alone. This allows special protocol stream handlers to change default
7328         behaviour.
7329         * java/net/URLStreamHandler.java
7330         (equals): Implemented default URL equality check.
7331         (hostsEqual): Implemented default URL equality check.
7332         (hashCode): Implemented default URL hashCode algorithm.
7333         * java/net/natPlainDatagramSocketImpl.cc:
7334         No lines longer then 80 characters.
7335
7336 2002-10-20  Adam Megacz <adam@xwt.org>
7337
7338         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7339         * configure.in: enabled hash sync on Win32
7340         * include/win32-threads.h (_Jv_ThreadId_t): added.
7341         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7342         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7343         removed some posix-isms, use Thread::sleep() instead of usleep,
7344         added code to clear bottom three bits if platform has a broken
7345         linker.
7346         * include/win32-threads.h (_Jv_ThreadId_t): added.
7347
7348 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7349
7350         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7351         runtime property "gnu.gcj.progname" containing the name used to
7352         invoke the current Java program (similar to argv[0] for C
7353         programs).
7354
7355 2002-10-15  Tom Tromey  <tromey@redhat.com>
7356
7357         Fix for PR libgcj/8234:
7358         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7359         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7360
7361 2002-10-13  Mark Wielaard  <mark@klomp.org>
7362
7363         * mauve-libgcj: Enable Mauve tests that compile now.
7364
7365 2002-10-11  Mark Wielaard  <mark@klomp.org>
7366
7367         Fix for PR libgcj/8142
7368         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7369         loading native modules.
7370
7371 2002-10-10  Michael Koch  <konqueror@gmx.de>
7372
7373         * javax/swing/AbstractListModel.java
7374         (getListDataListeners): New stubbed method.
7375         javax/swing/DefaultBoundedRangeModel.java
7376         (getChangeListeners): New stubbed method.
7377         javax/swing/DefaultSingleSelectionModel.java
7378         (getChangeListeners): New stubbed method.
7379
7380 2002-10-10  Michael Koch  <konqueror@gmx.de>
7381
7382         * gcj/.cvsignore: New file to ignore files generated during build.
7383         * include/.cvsignore: New file to ignore files generated during build.
7384
7385 2002-10-10  Michael Koch  <konqueror@gmx.de>
7386
7387         * java/net/HttpURLConnection.java
7388         (getPermission): New method.
7389         (getErrorStream): New stub method.
7390         (getHeaderFieldDate): New stub method.
7391         * java/net/Inet4Address.java:
7392         (isLinkLocalAddress): Typo fixed.
7393         * java/net/InetAddress.java:
7394         (readResolve): New stubbed method (for serialization).
7395         (isAnyLocalAddress): New stubbed method.
7396         (isLoopbackAddress): New stubbed method.
7397         (isLinkLocalAddress): New stubbed method.
7398         (isSiteLocalAddress): New stubbed method.
7399         (isMCGlobal): New stubbed method.
7400         (isMCNodeGlobal): New stubbed method.
7401         (isMCLinkLocal): New stubbed method.
7402         (isMCSiteLocal): New stubbed method.
7403         (isMCOrgLocal): New stubbed method.
7404         (getCanonicalHostName): New stubbed method.
7405         (getByAddress): Create instances of Inet4Address/Inet6Address,
7406         instead of InetAddress, documentation added.
7407         * java/net/MulticastSocket.java
7408         (getInterface): Removed FIXME.
7409         (getNetworkInterface): New method.
7410         (setNetworkInterface): New method.
7411         * java/net/NetworkInterface.java:
7412         (toString): Use property "line.separator" instead of "\n".
7413         * java/net/URLConnection.java
7414         (getContent): New stubbed method.
7415         * java/net/URLStreamHandler.java:
7416         (equals): New stubbed method.
7417         (hostsEqual): New stubbed method.
7418         (hashCode): New stubbed method.
7419         * java/net/natNetworkInterface.cc:
7420         (getRealNetworkInterfaces): Create Inet4Address object
7421         instead of InetAddress.
7422
7423 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7424
7425         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7426         unsigned long temporary to implement insn_iushr shifts.
7427
7428 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7429
7430         * configure.host [s390*-*]: Enable Java interpreter.
7431         Enable hash synchronization.  Add sysdeps dir.
7432         * sysdep/s390/locks.h: New file.
7433
7434 2002-10-06  Mark Wielaard  <mark@klomp.org>
7435
7436         * java/lang/Thread.java (setDaemon): Check startable_flag,
7437         not isAlive().
7438
7439 2002-10-07  Michael Koch  <konqueror@gmx.de>
7440
7441         * java/nio/Buffer.java: New stub file.
7442         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7443         of class Charset.
7444         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7445         * Makefile.in: Regenerated.
7446
7447 2002-10-07  Michael Koch  <konqueror@gmx.de>
7448
7449         * java/nio/ByteBuffer.java:
7450         removed import of not commited class.
7451
7452 2002-10-07  Michael Koch  <konqueror@gmx.de>
7453
7454         * java/nio/ByteBuffer.java,
7455         java/nio/MappedByteBuffer.java:
7456         New files, forgot to add these dummies.
7457         * Makefile.am (java_native_source_files): Added new files.
7458         * Makefile.in: Regenerated.
7459
7460 2002-10-07  Michael Koch  <konqueror@gmx.de>
7461
7462         * java/nio/channels/AlreadyConnectedException.java,
7463         java/nio/channels/ClosedChannelException.java,
7464         java/nio/channels/ReadableByteChannel.java,
7465         java/nio/channels/InterruptibleChannel.java,
7466         java/nio/channels/Channel.java,
7467         java/nio/channels/ByteChannel.java,
7468         java/nio/channels/GatheringByteChannel.java,
7469         java/nio/channels/ScatteringByteChannel.java,
7470         java/nio/channels/WritableByteChannel.java,
7471         java/nio/charset/CharacterCodingException.java,
7472         java/nio/charset/IllegalCharsetNameException.java,
7473         java/nio/charset/MalformedInputException.java,
7474         java/nio/charset/UnmappableCharacterException.java,
7475         java/nio/charset/UnsupportedCharsetException.java,
7476         java/nio/charset/spi/CharsetProvider.java: New file.
7477         These files are exceptions or interfaces,
7478         no real or abstract classes.
7479         * Makefile.am (java_native_source_files): Added new files.
7480         * Makefile.in: Regenerated.
7481
7482 2002-10-05  Michael Koch  <konqueror@gmx.de>
7483
7484         * java/net/InetAddress.java
7485         (getByAddress): Fixed documentation.
7486         (getByAddress): New method.
7487         * java/net/Inet4Address.java: New file.
7488         * java/net/URL.java
7489         (URL): Documentation added.
7490         (getContent): Documentation added.
7491         (getContent): New stubbed method.
7492         (getQuery): New method.
7493         (openConnection): Documentation added.
7494         (openStream): Documentation added.
7495         (setURLStreamHandlerFactory): Documentation added.
7496         * java/net/URI.java: New stub file.
7497         * Makefile.am
7498         (java_native_source_files): Added java/net/Inet4Address.java,
7499         java/net/Inet6Address.java and java/net/URI.java.
7500         * Makefile.in: Regenerated.
7501
7502 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7503
7504         * java/lang/ProtectionDomain.java (linesep): Remove field.
7505         (toString): Use System.getProperty("line.separator").
7506
7507 2002-10-04  Michael Koch  <konqueror@gmx.de>
7508
7509         * java/security/Identity.java: Added serialVersionUID.
7510         * java/security/KeyPair.java: Added serialVersionUID.
7511         * java/security/Provider.java: Added serialVersionUID.
7512         * java/security/SecureRandom.java: Added serialVersionUID.
7513         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7514         * java/security/SignedObject.java: Added serialVersionUID.
7515         * java/security/cert/Certificate.java: Added serialVersionUID.
7516
7517 2002-10-04  Mark Wielaard <mark@klomp.org>
7518
7519         * java/security/Security.java: Use java.home or gnu.classpath.home
7520         to load providers.
7521         (loadProviders): Extra dir argument.
7522         (getProvider): Return null when not found.
7523
7524 2002-10-04  Mark Wielaard  <mark@klomp.org>
7525
7526         * java/lang/Throwable.java: Remerge with Classpath.
7527
7528 2002-10-04  Michael Koch  <konqueror@gmx.de>
7529
7530         * java/net/InetAddress.java:
7531         (isMulticastAddress): Added documentation.
7532         (getHostAddress): Added documentation.
7533         (toString): Added documentation.
7534         (getByAddress): Fixed documentation.
7535         (getByName): Added documentation.
7536         (getAllByName): Added documentation.
7537         (getLocalHost): Added documentation.
7538
7539 2002-10-04  Michael Koch  <konqueror@gmx.de>
7540
7541         * java/beans/beancontext/BeanContextChildSupport.java:
7542         Added serialVersionUID.
7543         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7544         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7545         * javax/naming/Name.java: Added serialVersionUID.
7546
7547 2002-10-03  Adam Megacz <adam@xwt.org>
7548
7549         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7550         some functionality that isn't supported yet on WIN32.
7551
7552 2002-10-03  Tom Tromey  <tromey@redhat.com>
7553
7554         * Makefile.in: Rebuilt.
7555         * Makefile.am (awt_java_source_files): Added new files.
7556
7557 2002-10-03  Michael Koch  <konqueror@gmx.de>
7558
7559         * java/net/InetAddress.java
7560         (class InetAddress): Removed final keyword.
7561         (equals): Fixed typo.
7562         (getByAddress): New method.
7563
7564 2002-10-03  Michael Koch  <konqueror@gmx.de>
7565
7566         * java/awt/dnd/Autoscroll.java:
7567         New file, merge from Classpath.
7568         * java/awt/dnd/DragSourceAdapter.java:
7569         (dragExit): Fixed typos in argument type.
7570         (dragDropEnd): Fixed typos in argument type.
7571         * java/awt/dnd/DragSourceDropEvent.java:
7572         New file, merge from Classpath.
7573         * java/awt/dnd/DropTarget.java:
7574         Added stubs, merge from Classpath.
7575         * java/awt/dnd/DropTargetAdapter.java:
7576         New file, merge from Classpath.
7577         * java/awt/dnd/DropTargetContext.java:
7578         New file, merge from Classpath.
7579         * java/awt/dnd/DropTargetDragEvent.java:
7580         New file, merge from Classpath.
7581         * java/awt/dnd/DropTargetDropEvent.java:
7582         New file, merge from Classpath.
7583         * java/awt/dnd/DropTargetEvent.java:
7584         New file, merge from Classpath.
7585         * java/awt/dnd/DropTargetListener.java:
7586         New file, merge from Classpath.
7587         * java/awt/dnd/MouseDragGestureRecognizer.java:
7588         New file, merge from Classpath.
7589         * java/awt/dnd/peer/DropTargetContextPeer.java:
7590         New file, merge from Classpath.
7591
7592 2002-10-03  Michael Koch  <konqueror@gmx.de>
7593
7594         * java/net/DatagramPacket.java
7595         (setLength): Fixed typo and be HTML-aware.
7596         * java/net/InetSocketAddress.java
7597         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7598         (equals): Added comment about equality of InetSocketAddress objects.
7599         * java/net/ServerSocket.java
7600         (accept): Added checks.
7601         (isClosed): New stubbed method.
7602         * java/net/SocketOptions.java: Reindention.
7603         * java/net/SocketPermission
7604         (SocketPermission): Documentation fixed.
7605
7606 2002-10-03  Michael Koch  <konqueror@gmx.de>
7607
7608         * java/net/DatagramSocket.java
7609         (receive): Check with SecurityManager AFTER the packet is received,
7610         check if connected to multicast address, documentation added.
7611         (send): Only check SecurityManager if connected, check address of
7612         packet to send.
7613         (connect): Implemented, documentation added.
7614         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7615         * java/net/InetSocketAddress.java
7616         (whole file): Reindented.
7617         (hostname): New attribute.
7618         (InetSocketAddress): Initialize new attribute.
7619         (getAddress): Documentation added.
7620         (getHostName): Documentation added.
7621         (getPort): Documentation added.
7622         (hashCode): Documentation added.
7623         (isUnresolved): Documentation added.
7624         (toString): Conform to output of JDK 1.4.1, documentation added.
7625         * java/net/MulticastSocket.java
7626         (joinGroup): Removed FIXME, documentation added.
7627         (leaveGroup): Removed FIXME, documentation added.
7628         (send): Documentation added.
7629         * java/net/Socket.java
7630         (inputShutdown): New variable.
7631         (outputShutdown): New variable.
7632         (Socket): Initialize new variables.
7633         (getRemoteSocketAddress): Check if connected.
7634         (shutdownInput): Set new variable.
7635         (shutdownOutput): Set new variable.
7636         (isConnected): New method.
7637         (isClosed): New method.
7638         (isInputShutdown): New method.
7639         (isOutputShutdown): New method.
7640         * java/net/URLStreamHandler.java
7641         (URLStreamHandler): New method.
7642         (openConnection): Added documentation.
7643         (parseURL): Added documentation.
7644         (getHostAddress): New method.
7645         (getDefaultPort): New method.
7646
7647 2002-10-02  Tom Tromey  <tromey@redhat.com>
7648
7649         * java/rmi/activation/ActivationDesc.java,
7650         java/rmi/activation/ActivationGroupDesc.java,
7651         java/rmi/activation/ActivationGroupID.java,
7652         java/rmi/activation/ActivationID.java: New versions from
7653         Classpath.
7654
7655 2002-09-30  Bo Thorsen  <bo@suse.de>
7656
7657         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7658
7659 2002-09-30  Tom Tromey  <tromey@redhat.com>
7660
7661         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7662         from Classpath.
7663         * Makefile.in: Rebuilt.
7664         * Makefile.am (rmi_java_source_files): Added new files.
7665         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7666         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7667         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7668         Classpath.
7669         * gnu/java/rmi/dgc/DGCImpl.java,
7670         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7671         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7672         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7673         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7674         gnu/java/rmi/server/RMIHashes.java,
7675         gnu/java/rmi/server/RMIObjectInputStream.java,
7676         gnu/java/rmi/server/RMIObjectOutputStream.java,
7677         gnu/java/rmi/server/UnicastConnection.java,
7678         gnu/java/rmi/server/UnicastConnectionManager.java,
7679         gnu/java/rmi/server/UnicastRef.java,
7680         gnu/java/rmi/server/UnicastServer.java,
7681         gnu/java/rmi/server/UnicastServerRef.java,
7682         java/rmi/MarshalledObject.java,
7683         java/rmi/server/RMIClassLoader.java,
7684         java/rmi/server/RemoteObject.java,
7685         java/rmi/server/UnicastRemoteObject.java,
7686         java/security/SecureClassLoader.java: Merged from Classpath.
7687
7688 2002-09-29  Anthony Green  <green@redhat.com>
7689
7690         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7691         Imported from GNU Classpath.
7692         * java/lang/reflect/natProxy.cc: New file.
7693         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7694         from GNU Classpath.
7695         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7696         Classpath.
7697         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7698         Classpath.
7699         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7700         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7701         New statics.
7702         * gcj/javaprims.h ("Java"): Add new classes.
7703         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7704         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7705         java/lang/reflect/Proxy$$ProxyType.h): And this.
7706         (inner_nat_headers): Add these new headers.
7707         (ordinary_java_source_files): Add new files.
7708         (nat_source_files): Add new file.
7709         * Makefile.in: Rebuilt.
7710
7711 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7712
7713         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7714         a single configuration.
7715
7716 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7717
7718         * java/util/TimeZone.java (getDSTSavings): New method.
7719         Fixes PR libgcj/7786.
7720
7721 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7722
7723         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7724         to see if `the_method == 0' before looking up vtable index.
7725         Fixes PR libgcj/7709.
7726
7727 2002-09-25  Tom Tromey  <tromey@redhat.com>
7728
7729         * java/lang/natClassLoader.cc:
7730         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7731         * resolve.cc: Include NoClassDefFoundError.h, not
7732         ClassNotFoundException.h.
7733         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7734
7735         * defineclass.cc: Don't include ClassNotFoundException.h.
7736
7737         * resolve.cc: Include StringBuffer.
7738         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7739
7740         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7741         allocated but not initialized.
7742
7743 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7744
7745         Fix for PR libgcj/7766:
7746         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7747         (getNextEntry): Set it.
7748         (closeEntry): Likewise.
7749         (read): Likewise.
7750         (close): Likewise.
7751         (available): Use it.
7752
7753 2002-09-25  Michael Koch  <konqueror@gmx.de>
7754
7755         * java/net/DatagramSocket.java
7756         (DatagramSocket): Initialize new instance variables.
7757         (close): Reset new instance variables.
7758         (getLocalAddress): Remove unneeded SecurityManager usage.
7759         (getLocalPort): Check if socket is already bound.
7760         (isConnected): New method.
7761         (getInetAddress): Implemented.
7762         (getPort): Better Implementation, documentation fixed.
7763         (getRemoteSocketAddress): New method.
7764         * java/net/JarURLConnection.java
7765         (element): Typo fixed.
7766         (getMainAttributes): New method.
7767         (getAttributes): New method (stub only).
7768         (getManifest): New method (stub only).
7769         * java/net/NetPermission.java: Added serialVersionsUID.
7770         * java/net/Socket.java
7771         (connect): Check blocking mode of associated channel,
7772         documentation added.
7773         (getLocalSocketAddress): Better implementation.
7774         (getRemoteSocketAddress): Implemented.
7775         (isBound): New method.
7776         (setSendBufferSize): Documentation added.
7777         * java/net/SocketAddress.java: Added serialVersionsUID.
7778         * java/net/SocketPermission.java: Added serialVersionsUID.
7779         * java/net/URL.java
7780         (URL): Wrap for shorter lines, initialize new instance variables,
7781         documentation added.
7782         (equals): Check new instance variables too.
7783         (getContent): Documentation added.
7784         (getPath): Documentation added.
7785         (getAuthority): New method.
7786         (getHost): Documentation added.
7787         (getPort): Documentation added.
7788         (getDefaultPort): New method.
7789         (getProtocol): Documentation added.
7790         (getUserInfo): Documentation added.
7791         (set): Initialize new instance variables, documentation added.
7792         * java/net/URLStreamHandler.java
7793         (setURL): New method.
7794         * java/net/natPlainDatagramSocketImpl.cc
7795         (connect): Fix exception name.
7796         (disconnect): Fix exception name.
7797
7798 2002-09-25  Michael Koch  <konqueror@gmx.de>
7799
7800         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7801         * java/nio/channels/DatagramChannel.java:
7802         extends AbstractSelectableChannel
7803         * java/nio/channels/ServerSocketChannel.java:
7804         extends AbstractSelectableChannel
7805         * java/nio/channels/SocketChannel.java:
7806         extends AbstractSelectableChannel
7807         * Makefile.am (ordinary_java_source_files):
7808         java/nio/channels/spi/AbstractSelectableChannel.java added.
7809         * Makefile.in: Regenerated.
7810
7811 2002-09-25  Michael Koch  <konqueror@gmx.de>
7812
7813         * java/net/DatagramSocket.java
7814         (DatagramSocket): Exception documentation added.
7815         (bind): Exception documentation added, addded SecurityManager check,
7816         added SocketAddress type check.
7817         (getSoTimeout): Check impl.
7818         (receive): Fix SecurityManager check, check impl, documentation added.
7819         (send): Check channel mode, documentation added.
7820         (connect): New method.
7821         (disconnect): Implemented.
7822         (getLocalSocketAddress): New method.
7823         (getReceiveBufferSize): Check impl.
7824         (setReuseAddress): Check impl.
7825         (getReuseAddress): Check impl.
7826         (setBroadcast): Check impl.
7827         (getBroadcast): Check impl.
7828         (setTrafficClass): Check impl, Documentation cleared.
7829         (getTrafficClass): Check impl.
7830         (getSendBufferSize): Check impl.
7831         (setReceiveBufferSize): Check impl, documentation added.
7832         (setSendBufferSize): Documentation added.
7833         (setDatagramSocketImplFactory): New method.
7834         * java/net/HttpURLConnection.java
7835         (HTTP_INTERNAL_ERROR): The correct code is 500.
7836         (HTTP_NOT_IMPLEMENTED): Added new constant.
7837         (setFollowRedirects): Documentation added.
7838         (getInstanceFollowRedirects): New method.
7839         (setInstanceFollowRedirects): New method.
7840         (setRequestMethod): Documentation added.
7841         (getResponseCode): Documentation added.
7842         (getResponseMessage): Documentation added.
7843         * java/net/JarURLConnection.java
7844         (JarURLConnection): protected since JDK 1.4.
7845         (getJarEntry): java.io.IOException to IOException, documentation added.
7846         (getJarFile): Documentation added.
7847         * java/net/ServerSocket.java
7848         (ServerSocket): Private to public, exception added.
7849         (ServerSocket): java.io.IOException to IOException, documentation added.
7850         (bind): Check socket address type, documentation added.
7851         (bind): java.io.IOException to IOException, documentation added.
7852         (accept): Documentation added.
7853         (implAccept): Check ch is not non-blocking, documentation added.
7854         (setSoTimeout): Documentation fixed.
7855         (setReceiveBufferSize): Documentation added.
7856         * java/net/Socket.java
7857         (Socket): Documentation added.
7858         (bind): Documentation added.
7859         (connect): Check socket address type, documentation added.
7860         (getRemoteSocketAddress): New method.
7861         (getLocalSocketAddress): New method.
7862         (setSoLinger): Documentation added.
7863         (getReuseAddress): New method.
7864         (setReuseAddress): New method.
7865         (getTrafficClass): New method.
7866         (setTrafficClass): New method.
7867         * java/net/URLStreamHandler.java
7868         (openConnection): java.io.IOException to IOException.
7869         (parseURL): Documentation added.
7870         (sameFile): public to protected, documentation added.
7871         (setURL): Documentation added.
7872         * java/nio/IllegalBlockingModeException.java: New file.
7873         * Makefile.am (ordinary_java_source_files):
7874         added java/nio/IllegalBlockingModeException.java
7875         * Makefile.in: Regenerated.
7876
7877 2002-09-25  Michael Koch  <konqueror@gmx.de>
7878
7879         * java/net/DatagramPacket
7880         (DatagramPacket): Exception documentation added.
7881         (setData): Likewise.
7882         (setSocketAddress): Likewise.
7883         * java/net/DatagramSocketImpl.java
7884         (peek): Documentation addded.
7885         (peekData): Documentation addded.
7886         (send): Documentation addded.
7887         (receive): Documentation addded.
7888         (connect): New method.
7889         (disconnect): New method.
7890         (joinGroup): New abstract method.
7891         (leaveGroup): New abstract method.
7892         * java/net/InetSocketAddress.java
7893         (InetSocketAddress): Documentation added.
7894         (equals): final keyword added.
7895         (getAddress): final keyword added.
7896         (getHostName): final keyword added.
7897         (getPort): final keyword added.
7898         (hashCode): final keyword added.
7899         (isUnresolved): final keyword added.
7900         * java/net/MulticastSocket.java
7901         (MulticastSocket): Documentation added.
7902         (MulticastSocket): New method.
7903         (joinGroup): Documentation added.
7904         (joinGroup): New method.
7905         (leaveGroup): Documentation added.
7906         (leaveGroup): New method.
7907         (send): Documentation added.
7908         * java/net/NetworkInterface.java
7909         (getByName): Documentation added.
7910         (getByInetAddress): Documentation added.
7911         (getNetworkInterfaces): Documentation added.
7912         * java/net/PlainDatagramSocketImpl.java
7913         (connect): New method.
7914         (disconnect): New method.
7915         * java/net/SocketImpl.java
7916         (create): Documentation added.
7917         (shutdownInput): Convert public to protected, as it always was.
7918         (shutdownOutput): Convert public to protected, as it always was.
7919         * java/net/SocketOptions.java
7920         (whole file): Reintented.
7921         * java/net/URLClassLoader.java
7922         (URLClassLoader): SecurityManager check added, documentation added.
7923         (findResources): Documentation added.
7924         (findClass): Documentation added.
7925         (newInstance): More correct method arguments.
7926         * java/net/URLConnection.java
7927         (connect): Documentation added.
7928         (getContent): Documentation added.
7929         (getPermission): Documentation added.
7930         (getInputStream): Documentation added.
7931         (getOutputStream): Documentation added.
7932         (setDoInput): Throw correct exception, documentation added.
7933         (setDoOutput): Throw correct exception, documentation added.
7934         (setAllowUserInteraction): Throw correct exception, documentation added.
7935         (setUseCaches): Throw correct exception, documentation added.
7936         (setIfModifiedSince): Throw correct exception, documentation added.
7937         (setRequestProperty): Throw exception, documentation added.
7938         (addRequestProperty): Throw exception, documentation added.
7939         (getRequestProperty): Throw exception, documentation added.
7940         (getRequestProperties): Documentation added.
7941         (setContentHandlerFactory): Documentation added.
7942         (guessContentTypeFromName): protected to public.
7943         (setFileNameMap): Documentation added.
7944         * java/net/URLDecoder.java
7945         (URLDecoder): New method.
7946         (decode): Documentation added.
7947         (whole file): Reindented.
7948         * java/net/URLEncoder.java
7949         (encode): Documentation added.
7950         * java/net/natPlainDatagramSocketImpl.cc
7951         (connect): New method.
7952         (disconnect): New method.
7953         * javax/naming/RefAddr:
7954         (addrType): addrType was never final.
7955         (equals): Fix typo in method name.
7956         * javax/naming/BinaryRefAddr:
7957         (equals): Fix typo in method name.
7958
7959 2002-09-22  Tom Tromey  <tromey@redhat.com>
7960
7961         Fix for PR libgcj/6576:
7962         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7963         didn't find a given bundle.
7964         (getBundle): Don't require base bundle.
7965         (setParent): Removed old comment.
7966         (tryLocalBundle): Try components even if preceding components were
7967         empty.
7968
7969 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7970
7971         * Makefile.am (all-multi): Fix multilib parallel build.
7972
7973 2002-09-21  Michael Koch  <konqueror@gmx.de>
7974
7975         * java/net/Socket.java
7976         (sendUrgentData): New method.
7977         (getChannel): New method.
7978         * java/net/ServerSocket.java
7979         (getChannel): New method.
7980         (isBound): New method.
7981         * java/net/DatagramSocket.java
7982         (DatagramSocket): Two new methods.
7983         (bind): New method.
7984         (getChannel): New method.
7985         (isBound): New method.
7986         (send): Added newline to to make shorter lines.
7987         * java/net/PlainDatagramSocketImpl.java
7988         (mcastGrp): Added argument.
7989         (join): Use new mcastGrp.
7990         (leave): Use new mcastGrp.
7991         (joinGroup): New method.
7992         (leaveGroup): New method.
7993         * java/net/natPlainDatagramSocketImpl.cc
7994         (mcastGrp): Added argument, no yet really implemented.
7995         (getOption): Added newline for shorter lines.
7996         * java/net/natPlainSocketImpl.cc
7997         (read, setOption, getOption): Added newline for shorter lines.
7998
7999 2002-09-19  Tom Tromey  <tromey@redhat.com>
8000
8001        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8002        newly-created exception.
8003
8004 2002-09-18  Michael Koch  <konqueror@gmx.de>
8005
8006         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8007         java/util/regex/PatternSyntaxException.java:
8008         Merge with classpath, new files.
8009         * Makefile.am (core_java_source_files):
8010         Added java/util/regex/Matcher.java,
8011         java/util/regex/Pattern.java,
8012         java/util/regex/PatternSyntaxException.java
8013         * Makefile.in: Regenerated.
8014         * include/config.h.in: Added HAVE_NET_IF_H.
8015         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8016         Removed #if 0 ... #endif.
8017
8018 2002-09-17  Michael Koch  <konqueror@gmx.de>
8019
8020         * java/net/natNetworkInterface.cc:
8021         Removed unneed and yet wrong includes.
8022
8023 2002-09-17  Michael Koch  <konqueror@gmx.de>
8024
8025         * java/net/NetworkInterface.java: New file.
8026         * java/net/natNetworkInterface.java: New file.
8027         * configure.in: Added check for net/if.h.
8028         * configure: Regenerated.
8029         * Makefile.am
8030         (ordinary_java_source_files): Added NetworkInterface.java.
8031         (nat_source_files): Added natNetworkInterface.cc.
8032         * Makefile.in: Regenerated.
8033
8034 2002-09-16  Tom Tromey  <tromey@redhat.com>
8035
8036         * java/net/URLClassLoader.java (findClass): Code source for a
8037         class from a jar is not necessarily a jar: URL.
8038
8039 2002-09-16  Michael Koch  <konqueror@gmx.de>
8040
8041         * java/lang/AssertionError.java:
8042         Merge with classpath, fixes HTML.
8043         * java/rmi/server/LogStream.java:
8044         Merge with classpath, fixes some constants.
8045         * java/net/server/RemoteServer.java:
8046         Merge with classpath, adds serialVersionUID.
8047         * javax/naming/BinaryRefAddr.java:
8048         Merge with classpath, s/equal/equals/.
8049         * javax/naming/NamingException.java:
8050         Merge with classpath, fixed typo.
8051         * javax/naming/RefAddr.java:
8052         Merge with classpath, s/equal/equals/.
8053         * java/awt/Toolkit.java:
8054         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8055         and typo fixed.
8056
8057 2002-09-15  Adam Megacz <adam@xwt.org>
8058
8059         * java/net/natPlainSocketImpl.cc: fixed typo.
8060
8061 2002-09-15  Adam Megacz <adam@xwt.org>
8062
8063         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8064         which don't work on Win32 (yet).
8065
8066 2002-09-14  Adam Megacz <adam@xwt.org>
8067
8068         * java/net/natPlainDatagramSocket.cc: removed #include
8069         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8070         * include/win32.h: included definition for IP_TOS to satisfy
8071         natPlainDatagramSocket.cc
8072
8073 2002-09-13  Michael Koch  <konqueror@gmx.de>
8074
8075         * java/net/DatagramPacket.java (DatagramPacket):
8076         Added linebreak for 80 chars per line.
8077         * java/net/JarURLConection.java
8078         (getInputStreami, getJarEntry): Likewise.
8079         * java/net/SocketPErmission.java
8080         (SocketPermission class docu, implies): Likewise.
8081         * java/net/URLClassLoader.java (findResources): Likewise.
8082         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8083
8084 2002-09-13  Michael Koch  <konqueror@gmx.de>
8085
8086         * java/nio/channels/DatagramChannel.java,
8087         java/nio/channels/ServerSocketChannel.java
8088         java/nio/channels/SocketChannel.java:
8089         New dummy files to make java.net fully JDK 1.4 compatible
8090         * Makefile.am (ordinary_java_source_files): Added
8091         java/net/DatagramSocketImplFactory.java (long forgotten),
8092         java/nio/SocketChannel.java,
8093         java/nio/ServerSocketChannel.java,
8094         java/nio/DatagramChannel.java
8095         * Makefile.in: Regenrated.
8096
8097 2002-09-12  Michael Koch  <konqueror@gmx.de>
8098
8099         * java/net/DatagramSocketImpl.java
8100         (peekData): New method.
8101         * java/net/PlainDatagramSocketImpl.java
8102         (peekData): New method.
8103         * java/net/natPlainDatagramSocketImpl.cc
8104         (peekData): New method.
8105         * java/net/URLConnection
8106         (getPermission): New method.
8107         (addRequestProperty): New method.
8108         (getRequestProperties): New method.
8109         (guessContentTypeFromStream): New method, not really implemented.
8110         (URLConnection): Added/updated documentation.
8111         (connect): Added/updated documentation.
8112         (getURL): Added/updated documentation.
8113         (getContentLength): Added/updated documentation.
8114         (getContentType: Added/updated documentation.
8115         (getContentEncoding): Added/updated documentation.
8116         (getExpiration): Added/updated documentation.
8117         (getDate): Added/updated documentation.
8118         (getLastModified): Added/updated documentation.
8119         (getHeaderField): Added/updated documentation.
8120         (getHeaderFields): Added/updated documentation.
8121         (getHeaderFieldInt): Added/updated documentation.
8122         (getHeaderFieldDate): Added/updated documentation.
8123         (getHeaderFieldKey): Added/updated documentation.
8124         (getContent): Added/updated documentation.
8125         (getInputStream): Added/updated documentation.
8126         (getOutputStream): Added/updated documentation.
8127         (toString): Added/updated documentation.
8128         (setDoInput): Added/updated documentation.
8129         (getDoInput): Added/updated documentation.
8130         (setDoOutput): Added/updated documentation.
8131         (getDoOutput): Added/updated documentation.
8132         (setAllowUserInteraction): Added/updated documentation.
8133         (getAllowUserInteraction): Added/updated documentation.
8134         (setDefaultAllowUserInteraction): Added/updated documentation.
8135         (getDefaultAllowUserInteraction): Added/updated documentation.
8136         (setUseCaches): Added/updated documentation.
8137         (getUseCaches): Added/updated documentation.
8138         (setIfModifiedSince): Added/updated documentation.
8139         (getIfModifiedSince): Added/updated documentation.
8140         (getDefaultUseCaches): Added/updated documentation.
8141         (setDefaultUseCaches): Added/updated documentation.
8142         (setRequestProperty): Added/updated documentation.
8143         (getRequestProperty): Added/updated documentation.
8144         (setDefaultRequestProperty): Added/updated documentation.
8145         (getDefaultRequestProperty): Added/updated documentation.
8146         (setContentHandlerFactory): Added/updated documentation.
8147         (guessContentTypeFromName): Added/updated documentation.
8148         (getFileNameMap): Added/updated documentation.
8149         (setFileNameMap): Added/updated documentation.
8150
8151 2002-09-11  Michael Koch  <konqueror@gmx.de>
8152
8153         * java/net/Socket.java
8154         (Socket): protected to public (since JDK 1.4). Added @specnote.
8155         (bind): New method.
8156         (connect): Two new methods.
8157         (getKeepalive): Get correct socket option.
8158         (setKeepalive): Set correct socket option.
8159         (getOOBInline): New method.
8160         (setOOBInline): New method.
8161         * java/net/ServerSocket.java
8162         (bind): Two new methods.
8163         (getInetAddress): Reimplemented, catch exception.
8164         (getLocalSocketAddress): New method.
8165         (setReuseAddress): New method.
8166         (getReuseAdress): New method.
8167         (setReceiveBufferSize): New method.
8168         (getReceiveBufferSize): New method.
8169         (toString): Made string JDK 1.4 compliant.
8170
8171 2002-09-10  Michael Koch  <konqueror@gmx.de>
8172
8173         * java/net/SocketImpl.java
8174         (connect): New method.
8175         (supportsUrgentData): New method.
8176         (sendUrgentData): New method.
8177         * java/net/PlainSocketImpl.java
8178         (connect): One new method and two new implementation.
8179         (sendUrgentData): New method.
8180         * java/natPlainSocketImpl.cc
8181         (connect): Arguments changed, added support for timeouts.
8182         (getOption): Another __java_boolean to jboolean.
8183
8184 2002-09-07  Adam Megacz <adam@xwt.org>
8185
8186         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8187         definition of IP_TOS.
8188
8189 2002-09-04  Michael Koch  <konqueror@gmx.de>
8190
8191         * java/net/DatagramSocket.java
8192         (DatagramSocket): Added documentation.
8193         (close): Likewise.
8194         (getLocalAddress): Likewise.
8195         (getLocalPort): Likewise.
8196         (receive): Likewise.
8197         (send): Likewise.
8198         (setSoTimeout): Likewise.
8199         (connect): New method.
8200         (disconnect): New method.
8201         (getInetAddress): New method (FIXME)
8202         (getPort): New method.
8203         (setReuseAddress): New method.
8204         (getReuseAddress): New method.
8205         (setBroadcast): New method.
8206         (getBroadcast): New method.
8207         (setTrafficClass): New method.
8208         (getTrafficClass): New method.
8209         * java/net/MulticastSocket.java):
8210         (getTTL): Added @see in documentation.
8211         (setTTL): Added @see in documentation.
8212         (setLoopbackMode): New method.
8213         (getLoopbackMode): New method.
8214         * java/net/PlainSocketImpl.java:
8215         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8216         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8217         * java/net/PlainDatagramSocketImpl.java
8218         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8219         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8220         * java/net/natPlainSocketImpl.cc
8221         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8222         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8223         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8224         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8225         This should also fix SO_KEEPALIVE
8226         * java/net/natPlainDatagramSocketImpl.cc
8227         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8228         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8229         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8230         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8231
8232 2002-09-04  Michael Koch  <konqueror@gmx.de>
8233
8234         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8235         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8236         IP_MULTICAST_LOOP, IP_TOS
8237
8238 2002-09-03  Tom Tromey  <tromey@redhat.com>
8239
8240         * java/lang/Class.h (_getDeclaredMethod): Declare.
8241         (_getMethod): Now private.
8242         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8243         getDeclaredMethod.  Now returns NULL on failure.
8244         * java/lang/Class.java (_getDeclaredMethod): Declare.
8245         (getDeclaredMethod): No longer native; implements access checks.
8246
8247 2002-09-01  Mark Wielaard  <mark@klomp.org>
8248
8249         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8250         (sanitizeStack): Correctly reset unknown and interpreter counters,
8251         detect interpreter runtime frames.
8252         (demangleInterpreterMethod): New method.
8253         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8254         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8255         filling in addrs[].
8256
8257 2002-09-02  Michael Koch  <konqueror@gmx.de>
8258
8259         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8260         re-indented documentation.
8261
8262 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8263
8264         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8265         public, per 1.4 spec.  Fixes PR libgcj/7785.
8266
8267 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8268
8269         * Makefile.in: Rebuilt.
8270         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8271
8272 2002-08-29  Tom Tromey  <tromey@redhat.com>
8273
8274         * java/net/JarURLConnection.java (getCertificates): New method
8275         from Classpath.
8276         * java/net/URLClassLoader.java (URLClassLoader): Extends
8277         SecureClassLoader.
8278         (definePackage): New method from Classpath.
8279         (getPermissions): Likewise.
8280         (newInstance): Likewise.
8281         (findClass): Construct CodeSource for new class (from Classpath).
8282         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8283         methods.
8284         * java/net/URL.java (getUserInfo): New method.
8285         (set(String,String,int,String,String,String,String,String)): New
8286         method.
8287         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8288         (shutdownInput, shutdownOutput): Declare.
8289         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8290         Define.
8291         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8292         (getOption): Likewise.
8293         (shutdownInput): New method.
8294         (shutdownOutput): Likewise.
8295         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8296         keepalive.
8297         (getOption): Likewise.
8298         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8299         * java/net/Socket.java (setKeepAlive): New method.
8300         (getKeepAlive): Likewise.
8301         (shutdownInput, shutdownOutput): New methods.
8302
8303 2002-08-29  Michael Koch  <konqueror@gmx.de>
8304
8305         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8306         new methods are:
8307         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8308           address),
8309         DatagramPacket(byte[] buf, int length, SocketAddress address),
8310         void setSocketAddress(SocketAddress address)
8311         public SocketAddress getSocketAddress()
8312
8313 2002-08-29  Tom Tromey  <tromey@redhat.com>
8314
8315         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8316         ftruncate is missing.
8317         * configure, include/config.h.in: Rebuilt.
8318         * acconfig.h (HAVE_FTRUNCATE): Mention.
8319         * configure.in: Check for ftruncate.
8320
8321 2002-08-29  Tom Tromey  <tromey@redhat.com>
8322
8323         * include/jvm.h (struct _Jv_frame_info): New structure.
8324         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8325         java-interp.h.
8326         (lookupInterp): New method.
8327         (getAddrAsString): Use _Jv_frame_info.
8328         (dladdrLookup): Likewise.
8329         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8330         interpreted frame.
8331         (lookupInterp): Declare.
8332         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8333         (fillInStackTrace): Collect information on interpreted frames.
8334         Use _Jv_frame_info.
8335         * interpret.cc: Include Thread.h.
8336         (run): Create and push _Jv_MethodChain object.
8337         (_Jv_EndOfInterpreter): New global.
8338         * java/lang/Thread.java (interp_frame): New field.
8339         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8340         Include NameFinder.h.
8341
8342 2002-08-28  Tom Tromey  <tromey@redhat.com>
8343
8344         * java/lang/Class.h: Include Package.h.
8345         (Class::getProtectionDomain): Declare.
8346         (Class::getPackage): Declare.
8347
8348 2002-08-28  Michael Koch <konqueror@gmx.de>
8349
8350         * java/net/InetSocketAddress.java: Added some documentation and argument
8351         checks for the port numbers.
8352         * java/net/DatagramSocketImplFactory.java: New file.
8353
8354 2002-08-28  Michael Koch <konqueror@gmx.de>
8355
8356         * java/net/Authenticator.java: added some documentation.
8357
8358 2002-08-27  Tom Tromey  <tromey@redhat.com>
8359
8360         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8361         class.
8362         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8363
8364 2002-08-27  Michael Koch <konqueror@gmx.de>
8365
8366         * java/net/BindException.java,
8367         java/net/JarURLConnection.java,
8368         java/net/FileNameMap.java,
8369         java/net/HttpURLConnection.java,
8370         java/net/InetSocketAddress.java,
8371         java/net/DatagramPacket.java,
8372         java/net/DatagramSocket.java,
8373         java/net/DatagramSocketImpl.java,
8374         java/net/MulticastSocket.java,
8375         java/net/PasswordAuthentication.java,
8376         java/net/ServerSocket.java,
8377         java/net/Socket.java,
8378         java/net/URLClassLoader.java,
8379         java/net/URLConnection.java: add/update of some @since/@deprecated
8380
8381 2002-08-27  Tony Kimball <alk@pobox.com>
8382             Tom Tromey  <tromey@redhat.com>
8383
8384         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8385         define.
8386         (::close): Removed.
8387         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8388         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8389         (::close): Removed.
8390         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8391         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8392
8393 2002-08-25  Adam Megacz <adam@xwt.org>
8394
8395         * include/win32.h (getcwd): copied function declaration as
8396         temporary fix for header confusion.
8397
8398 2002-08-24  Mark Wielaard <mark@klomp.org>
8399
8400         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8401         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8402         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8403         and natNameFinder.cc.
8404         * Makefile.in: Regenerate.
8405         * prims.cc: Use trace_enabled from VMThrowable.
8406         * name-finder.cc: Removed.
8407         * gcj/javaprims.h: Add class VMThrowable.
8408         * gnu/gcj/runtime/NameFinder.java: New file.
8409         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8410         * include/name-finder.h: Removed.
8411         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8412         method stackTraceString().
8413         (printStackTrace (PrintWriter)): Likewise.
8414         (stackTraceString): Complete rewrite of old printStackTrace using
8415         StringBuffer.
8416         (stackTraceStringBuffer): New helper method for stackTraceString().
8417         (fillInStackTrace): Delegate to VMTrowable.
8418         (getStackTrace): Likewise.
8419         (getStackTrace0): Removed.
8420         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8421         (setStackTrace): Copy given array.
8422         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8423         * java/lang/VMThrowable.java: New class.
8424         * java/lang/natVMThrowable.cc: New file.
8425
8426 2003-08-23  Michael Koch  <konqueror@gmx.de>
8427
8428         * java/net/URLConnection.java,
8429         java/netJarURLConnection.java,
8430         gnu/gcj/protocol/core/Connection.java,
8431         gnu/gcj/protocol/file/Connection.java,
8432         gnu/gcj/protocol/http/Connection.java: Added implementation of
8433         getHeaderFields().
8434
8435 2002-08-22  Tom Tromey  <tromey@redhat.com>
8436
8437         * gij.cc (help): Document -cp and -classpath.
8438         (main): Handle -classpath.
8439
8440 2002-08-21  Tom Tromey  <tromey@redhat.com>
8441
8442         * Makefile.in: Rebuilt.
8443         * Makefile.am (ordinary_java_source_files): Added
8444         SocketAddress.java, InetSocketAddress.java.
8445         * java/net/PortUnreachableException.java: Merged with Classpath.
8446         * java/net/SocketTimeoutException.java: Likewise.
8447         * java/net/URISyntaxException.java: Likewise.
8448         * java/net/SocketAddress.java: New class from Classpath.
8449         * java/net/InetSocketAddress.java: Likewise.
8450
8451 2003-08-21  Michael Koch  <konqueror@gmx.de>
8452
8453         * java/net/Authenticator.java: updated JDK 1.4
8454         * java/net/ContentHandler.java: updated JDK 1.4
8455
8456 2002-08-20  Michael Koch  <konqueror@gmx.de>
8457
8458         * java/net/URISyntaxException.java: New file.
8459         * java/net/SocketTimeoutException.java: New file.
8460         * java/net/PortUnreachableException.java: New file.
8461         * Makefile.am: Updated.
8462         * Makefile.in: Rebuilt.
8463
8464 2002-08-18  Mark Wielaard  <mark@klomp.org>
8465
8466         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8467         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8468         MessageDigestSpi (fixes Classpath bug #783).
8469
8470 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8471
8472         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8473         (startProcess): Allocate path for chdir in async-signal-safe way.
8474
8475 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8476
8477         Fix for PR libgcj/7570 and PR libgcj/7578:
8478         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8479         (startProcess): Handle new `dir' argument.
8480         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8481         argument.
8482         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8483         argument.
8484         (startProcess): Likewise.
8485         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8486         argument.
8487         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8488         (exec): Don't create new environment if ENV==null.  Pass DIR to
8489         execInternal.
8490         * java/lang/natRuntime.cc: Include java/io/File.h.
8491         (execInternal): Added `dir' argument.
8492
8493 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8494
8495         * java/io/RandomAccessFile.java (skipBytes): Return number of
8496         bytes skipped.
8497
8498 2002-08-01  Mark Wielaard  <mark@klomp.org>
8499
8500         Reenable patch since shared library troubles on powerpc are solved:
8501         * gnu/java/security/provider/Gnu.java: Reference all implementation
8502         classes by using Class.getName().
8503         * gnu/java/security/der/DEREncodingException.java,
8504         gnu/java/security/provider/DERReader.java,
8505         gnu/java/security/provider/DERWriter.java,
8506         gnu/java/security/provider/DSAKeyPairGenerator.java,
8507         gnu/java/security/provider/DSAParameterGenerator.java,
8508         gnu/java/security/provider/DSAParameters.java,
8509         gnu/java/security/provider/DSASignature.java,
8510         gnu/java/security/provider/GnuDSAPrivateKey.java,
8511         gnu/java/security/provider/GnuDSAPublicKey.java,
8512         gnu/java/security/provider/MD5.java,
8513         gnu/java/security/util/Prime.java: New classes
8514         * Makefile.am (ordinary_java_source_files): Add above files.
8515         * Makefile.in: Regenerate.
8516         * gnu/java/security/provider/DefaultPolicy.java
8517         (getPermissions): Don't maintain static class variable of Permissions.
8518         * gnu/java/security/provider/SHA.java
8519         (engineUpdate): algorithm change.
8520         (engineDigest): algorithm change.
8521
8522 2002-08-09  Mark Wielaard  <mark@klomp.org>
8523
8524         * java/awt/image/MemoryImageSource.java: Change constructor to take
8525         int[] not byte[].
8526         * java/awt/Graphics2D.java: Uncomment methods that can now be
8527         compiled.
8528         * java/awt/GridBagLayout.java: New stub implementation.
8529         * javax/swing/text/html/HTML.java: Stub implementation.
8530         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8531         implementation.
8532
8533         * Makefile.am: Add new files.
8534         * Makefile.in: Rebuilt.
8535
8536 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8537
8538         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8539         methods in Graphics2D.
8540
8541 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8542
8543         AWT/Swing merge from GNU Classpath.
8544
8545         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8546         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8547         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8548         java/awt/color/ProfileDataException.java,
8549         java/awt/CompositeContext.java, java/awt/Composite.java,
8550         java/awt/ContainerOrderFocusTraversalPolicy.java,
8551         java/awt/datatransfer/FlavorTable.java,
8552         java/awt/DefaultFocusTraversalPolicy.java,
8553         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8554         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8555         java/awt/dnd/DragGestureListener.java,
8556         java/awt/dnd/DragGestureRecognizer.java,
8557         java/awt/dnd/DragSourceAdapter.java,
8558         java/awt/dnd/DragSourceContext.java,
8559         java/awt/dnd/DragSourceDragEvent.java,
8560         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8561         java/awt/dnd/DragSourceListener.java,
8562         java/awt/dnd/DragSourceMotionListener.java,
8563         java/awt/dnd/DropTarget.java,
8564         java/awt/dnd/InvalidDnDOperationException.java,
8565         java/awt/dnd/peer/DragSourceContextPeer.java,
8566         java/awt/event/AWTEventListenerProxy.java,
8567         java/awt/event/MouseWheelEvent.java,
8568         java/awt/event/MouseWheelListener.java,
8569         java/awt/event/WindowFocusListener.java,
8570         java/awt/event/WindowStateListener.java,
8571         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8572         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8573         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8574         java/awt/geom/FlatteningPathIterator.java,
8575         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8576         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8577         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8578         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8579         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8580         java/awt/image/ImagingOpException.java,
8581         java/awt/image/RasterFormatException.java,
8582         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8583         java/awt/image/VolatileImage.java,
8584         java/awt/image/WritableRenderedImage.java,
8585         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8586         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8587         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8588         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8589         java/awt/PageAttributes.java, java/awt/print/Book.java,
8590         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8591         java/awt/print/Paper.java, java/awt/print/Printable.java,
8592         java/awt/print/PrinterAbortException.java,
8593         java/awt/print/PrinterException.java,
8594         java/awt/print/PrinterGraphics.java,
8595         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8596         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8597         java/awt/Stroke.java, java/awt/TexturePaint.java,
8598         javax/accessibility/AccessibleAction.java,
8599         javax/accessibility/AccessibleBundle.java,
8600         javax/accessibility/AccessibleComponent.java,
8601         javax/accessibility/AccessibleContext.java,
8602         javax/accessibility/AccessibleEditableText.java,
8603         javax/accessibility/AccessibleExtendedComponent.java,
8604         javax/accessibility/AccessibleExtendedTable.java,
8605         javax/accessibility/AccessibleHyperlink.java,
8606         javax/accessibility/AccessibleHypertext.java,
8607         javax/accessibility/AccessibleIcon.java,
8608         javax/accessibility/Accessible.java,
8609         javax/accessibility/AccessibleKeyBinding.java,
8610         javax/accessibility/AccessibleRelation.java,
8611         javax/accessibility/AccessibleRelationSet.java,
8612         javax/accessibility/AccessibleResourceBundle.java,
8613         javax/accessibility/AccessibleRole.java,
8614         javax/accessibility/AccessibleSelection.java,
8615         javax/accessibility/AccessibleState.java,
8616         javax/accessibility/AccessibleStateSet.java,
8617         javax/accessibility/AccessibleTable.java,
8618         javax/accessibility/AccessibleTableModelChange.java,
8619         javax/accessibility/AccessibleText.java,
8620         javax/accessibility/AccessibleValue.java,
8621         javax/swing/AbstractAction.java,
8622         javax/swing/AbstractButton.java,
8623         javax/swing/AbstractCellEditor.java,
8624         javax/swing/AbstractListModel.java,
8625         javax/swing/AbstractSet.java, javax/swing/Action.java,
8626         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8627         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8628         javax/swing/border/CompoundBorder.java,
8629         javax/swing/border/EmptyBorder.java,
8630         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8631         javax/swing/border/LineBorder.java,
8632         javax/swing/border/MatteBorder.java,
8633         javax/swing/border/TitledBorder.java,
8634         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8635         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8636         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8637         javax/swing/CellRendererPane.java,
8638         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8639         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8640         javax/swing/colorchooser/ColorSelectionModel.java,
8641         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8642         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8643         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8644         javax/swing/DefaultBoundedRangeModel.java,
8645         javax/swing/DefaultButtonModel.java,
8646         javax/swing/DefaultCellEditor.java,
8647         javax/swing/DefaultCellRenderer.java,
8648         javax/swing/DefaultComboBoxModel.java,
8649         javax/swing/DefaultDesktopManager.java,
8650         javax/swing/DefaultFocusManager.java,
8651         javax/swing/DefaultListCellRenderer.java,
8652         javax/swing/DefaultListModel.java,
8653         javax/swing/DefaultListSelectionModel.java,
8654         javax/swing/DefaultSingleSelectionModel.java,
8655         javax/swing/DesktopManager.java,
8656         javax/swing/event/AncestorEvent.java,
8657         javax/swing/event/AncestorListener.java,
8658         javax/swing/event/CaretEvent.java,
8659         javax/swing/event/CaretListener.java,
8660         javax/swing/event/CellEditorListener.java,
8661         javax/swing/event/ChangeEvent.java,
8662         javax/swing/event/ChangeListener.java,
8663         javax/swing/event/DocumentEvent.java,
8664         javax/swing/event/DocumentListener.java,
8665         javax/swing/event/EventListenerList.java,
8666         javax/swing/event/HyperlinkEvent.java,
8667         javax/swing/event/HyperlinkListener.java,
8668         javax/swing/event/InternalFrameAdapter.java,
8669         javax/swing/event/InternalFrameEvent.java,
8670         javax/swing/event/InternalFrameListener.java,
8671         javax/swing/event/ListDataEvent.java,
8672         javax/swing/event/ListDataListener.java,
8673         javax/swing/event/ListSelectionEvent.java,
8674         javax/swing/event/ListSelectionListener.java,
8675         javax/swing/event/MenuDragMouseEvent.java,
8676         javax/swing/event/MenuDragMouseListener.java,
8677         javax/swing/event/MenuEvent.java,
8678         javax/swing/event/MenuKeyEvent.java,
8679         javax/swing/event/MenuKeyListener.java,
8680         javax/swing/event/MenuListener.java,
8681         javax/swing/event/MouseInputAdapter.java,
8682         javax/swing/event/MouseInputListener.java,
8683         javax/swing/event/PopupMenuEvent.java,
8684         javax/swing/event/PopupMenuListener.java,
8685         javax/swing/event/SwingPropertyChangeSupport.java,
8686         javax/swing/event/TableColumnModelEvent.java,
8687         javax/swing/event/TableColumnModelListener.java,
8688         javax/swing/event/TableModelEvent.java,
8689         javax/swing/event/TableModelListener.java,
8690         javax/swing/event/TreeExpansionEvent.java,
8691         javax/swing/event/TreeExpansionListener.java,
8692         javax/swing/event/TreeModelEvent.java,
8693         javax/swing/event/TreeModelListener.java,
8694         javax/swing/event/TreeSelectionEvent.java,
8695         javax/swing/event/TreeSelectionListener.java,
8696         javax/swing/event/TreeWillExpandListener.java,
8697         javax/swing/event/UndoableEditEvent.java,
8698         javax/swing/event/UndoableEditListener.java,
8699         javax/swing/filechooser/FileFilter.java,
8700         javax/swing/filechooser/FileSystemView.java,
8701         javax/swing/filechooser/FileView.java,
8702         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8703         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8704         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8705         javax/swing/JApplet.java, javax/swing/JButton.java,
8706         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8707         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8708         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8709         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8710         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8711         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8712         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8713         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8714         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8715         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8716         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8717         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8718         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8719         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8720         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8721         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8722         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8723         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8724         javax/swing/JToolTip.java, javax/swing/JTree.java,
8725         javax/swing/JViewport.java, javax/swing/JWindow.java,
8726         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8727         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8728         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8729         javax/swing/MenuSelectionManager.java,
8730         javax/swing/MutableComboBoxModel.java,
8731         javax/swing/OverlayLayout.java,
8732         javax/swing/plaf/ActionMapUIResource.java,
8733         javax/swing/plaf/basic/BasicBorders.java,
8734         javax/swing/plaf/basic/BasicButtonUI.java,
8735         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8736         javax/swing/plaf/basic/BasicDefaults.java,
8737         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8738         javax/swing/plaf/basic/BasicIconFactory.java,
8739         javax/swing/plaf/basic/BasicLabelUI.java,
8740         javax/swing/plaf/basic/BasicListUI.java,
8741         javax/swing/plaf/basic/BasicLookAndFeel.java,
8742         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8743         javax/swing/plaf/basic/BasicPanelUI.java,
8744         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8745         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8746         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8747         javax/swing/plaf/basic/BasicTextUI.java,
8748         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8749         javax/swing/plaf/basic/BasicTreeUI.java,
8750         javax/swing/plaf/basic/BasicViewportUI.java,
8751         javax/swing/plaf/BorderUIResource.java,
8752         javax/swing/plaf/ButtonUI.java,
8753         javax/swing/plaf/ColorChooserUI.java,
8754         javax/swing/plaf/ColorUIResource.java,
8755         javax/swing/plaf/ComboBoxUI.java,
8756         javax/swing/plaf/ComponentInputMapUIResource.java,
8757         javax/swing/plaf/ComponentUI.java,
8758         javax/swing/plaf/DesktopIconUI.java,
8759         javax/swing/plaf/DesktopPaneUI.java,
8760         javax/swing/plaf/DimensionUIResource.java,
8761         javax/swing/plaf/FileChooserUI.java,
8762         javax/swing/plaf/FontUIResource.java,
8763         javax/swing/plaf/IconUIResource.java,
8764         javax/swing/plaf/InputMapUIResource.java,
8765         javax/swing/plaf/InsetsUIResource.java,
8766         javax/swing/plaf/InternalFrameUI.java,
8767         javax/swing/plaf/LabelUI.java,
8768         javax/swing/plaf/ListUI.java,
8769         javax/swing/plaf/MenuBarUI.java,
8770         javax/swing/plaf/MenuItemUI.java,
8771         javax/swing/plaf/OptionPaneUI.java,
8772         javax/swing/plaf/PanelUI.java,
8773         javax/swing/plaf/PopupMenuUI.java,
8774         javax/swing/plaf/ProgressBarUI.java,
8775         javax/swing/plaf/RootPaneUI.java,
8776         javax/swing/plaf/ScrollBarUI.java,
8777         javax/swing/plaf/ScrollPaneUI.java,
8778         javax/swing/plaf/SeparatorUI.java,
8779         javax/swing/plaf/SliderUI.java,
8780         javax/swing/plaf/SplitPaneUI.java,
8781         javax/swing/plaf/TabbedPaneUI.java,
8782         javax/swing/plaf/TableHeaderUI.java,
8783         javax/swing/plaf/TableUI.java,
8784         javax/swing/plaf/TextUI.java,
8785         javax/swing/plaf/ToolBarUI.java,
8786         javax/swing/plaf/ToolTipUI.java,
8787         javax/swing/plaf/TreeUI.java,
8788         javax/swing/plaf/UIResource.java,
8789         javax/swing/plaf/ViewportUI.java,
8790         javax/swing/ProgressMonitorInputStream.java,
8791         javax/swing/ProgressMonitor.java,
8792         javax/swing/Renderer.java,
8793         javax/swing/RepaintManager.java,
8794         javax/swing/RootPaneContainer.java,
8795         javax/swing/Scrollable.java,
8796         javax/swing/ScrollPaneConstants.java,
8797         javax/swing/ScrollPaneLayout.java,
8798         javax/swing/SingleSelectionModel.java,
8799         javax/swing/SizeRequirements.java,
8800         javax/swing/SizeSequence.java,
8801         javax/swing/SwingConstants.java,
8802         javax/swing/SwingUtilities.java,
8803         javax/swing/table/AbstractTableModel.java,
8804         javax/swing/table/DefaultTableCellRenderer.java,
8805         javax/swing/table/DefaultTableColumnModel.java,
8806         javax/swing/table/DefaultTableModel.java,
8807         javax/swing/table/TableCellEditor.java,
8808         javax/swing/table/TableCellRenderer.java,
8809         javax/swing/table/TableColumn.java,
8810         javax/swing/table/TableColumnModel.java,
8811         javax/swing/table/TableModel.java,
8812         javax/swing/text/AbstractDocument.java,
8813         javax/swing/text/AttributeSet.java,
8814         javax/swing/text/BadLocationException.java,
8815         javax/swing/text/Caret.java,
8816         javax/swing/text/CharacterIterator.java,
8817         javax/swing/text/ComponentView.java,
8818         javax/swing/text/DefaultCaret.java,
8819         javax/swing/text/DefaultEditorKit.java,
8820         javax/swing/text/Document.java,
8821         javax/swing/text/EditorKit.java,
8822         javax/swing/text/Element.java,
8823         javax/swing/text/GapContent.java,
8824         javax/swing/text/JTextComponent.java,
8825         javax/swing/text/Keymap.java,
8826         javax/swing/text/MutableAttributeSet.java,
8827         javax/swing/text/PlainDocument.java,
8828         javax/swing/text/PlainEditorKit.java,
8829         javax/swing/text/Position.java,
8830         javax/swing/text/Segment.java,
8831         javax/swing/text/StyledDocument.java,
8832         javax/swing/text/StyledEditorKit.java,
8833         javax/swing/text/Style.java,
8834         javax/swing/text/TextAction.java,
8835         javax/swing/text/ViewFactory.java,
8836         javax/swing/text/View.java,
8837         javax/swing/Timer.java,
8838         javax/swing/ToggleButtonModel.java,
8839         javax/swing/ToolTipManager.java,
8840         javax/swing/tree/AbstractLayoutCache.java,
8841         javax/swing/tree/DefaultMutableTreeNode.java,
8842         javax/swing/tree/DefaultTreeCellEditor.java,
8843         javax/swing/tree/DefaultTreeCellRenderer.java,
8844         javax/swing/tree/DefaultTreeModel.java,
8845         javax/swing/tree/DefaultTreeSelectionModel.java,
8846         javax/swing/tree/ExpandVetoException.java,
8847         javax/swing/tree/FixedHeightLayoutCache.java,
8848         javax/swing/tree/MutableTreeNode.java,
8849         javax/swing/tree/RowMapper.java,
8850         javax/swing/tree/TreeCellEditor.java,
8851         javax/swing/tree/TreeCellRenderer.java,
8852         javax/swing/tree/TreeModel.java,
8853         javax/swing/tree/TreeNode.java,
8854         javax/swing/tree/TreePath.java,
8855         javax/swing/tree/TreeSelectionModel.java,
8856         javax/swing/tree/VariableHeightLayoutCache.java,
8857         javax/swing/UIDefaults.java,
8858         javax/swing/UIManager.java,
8859         javax/swing/undo/AbstractUndoableEdit.java,
8860         javax/swing/undo/CannotRedoException.java,
8861         javax/swing/undo/CannotUndoException.java,
8862         javax/swing/undo/CompoundEdit.java,
8863         javax/swing/undo/StateEditable.java,
8864         javax/swing/undo/StateEdit.java,
8865         javax/swing/undo/UndoableEdit.java,
8866         javax/swing/undo/UndoableEditSupport.java,
8867         javax/swing/undo/UndoManager.java,
8868         javax/swing/UnsupportedLookAndFeelException.java,
8869         javax/swing/ViewportLayout.java,
8870         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8871
8872         * java/awt/ActiveEvent.java,
8873         java/awt/Adjustable.java, java/awt/AWTError.java,
8874         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8875         java/awt/AWTException.java, java/awt/AWTPermission.java,
8876         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8877         java/awt/Color.java, java/awt/Component.java,
8878         java/awt/ComponentOrientation.java, java/awt/Container.java,
8879         java/awt/datatransfer/MimeTypeParseException.java,
8880         java/awt/datatransfer/Transferable.java,
8881         java/awt/datatransfer/UnsupportedFlavorException.java,
8882         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8883         java/awt/event/ActionListener.java,
8884         java/awt/event/AdjustmentEvent.java,
8885         java/awt/event/AdjustmentListener.java,
8886         java/awt/event/AWTEventListener.java,
8887         java/awt/event/ComponentAdapter.java,
8888         java/awt/event/ComponentEvent.java,
8889         java/awt/event/ComponentListener.java,
8890         java/awt/event/ContainerAdapter.java,
8891         java/awt/event/ContainerEvent.java,
8892         java/awt/event/ContainerListener.java,
8893         java/awt/event/FocusAdapter.java,
8894         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8895         java/awt/event/HierarchyBoundsAdapter.java,
8896         java/awt/event/HierarchyBoundsListener.java,
8897         java/awt/event/HierarchyEvent.java,
8898         java/awt/event/HierarchyListener.java,
8899         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8900         java/awt/event/InputMethodListener.java,
8901         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8902         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8903         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8904         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8905         java/awt/event/MouseListener.java,
8906         java/awt/event/MouseMotionAdapter.java,
8907         java/awt/event/MouseMotionListener.java,
8908         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8909         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8910         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8911         java/awt/event/WindowListener.java, java/awt/Font.java,
8912         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8913         java/awt/geom/Ellipse2D.java,
8914         java/awt/geom/IllegalPathStateException.java,
8915         java/awt/geom/Line2D.java,
8916         java/awt/geom/NoninvertibleTransformException.java,
8917         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8918         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8919         java/awt/geom/RoundRectangle2D.java,
8920         java/awt/GraphicsConfiguration.java,
8921         java/awt/IllegalComponentStateException.java,
8922         java/awt/image/IndexColorModel.java,
8923         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8924         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8925         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8926         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8927         java/awt/MenuItem.java, java/awt/PaintContext.java,
8928         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8929         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8930         java/awt/PrintJob.java, java/awt/Rectangle.java,
8931         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8932         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8933         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8934
8935         * java/awt/im/spi/InputMethod.java,
8936         java/awt/im/spi/InputMethodContext.java,
8937         java/awt/im/spi/InputMethodDescriptor.java,
8938         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8939         java/awt/image/renderable/ParameterBlock.java,
8940         java/awt/image/renderable/RenderContext.java,
8941         java/awt/image/renderable/RenderableImage.java,
8942         java/awt/image/renderable/RenderableImageOp.java,
8943         java/awt/image/renderable/RenderableImageProducer.java,
8944         java/awt/image/renderable/RenderedImageFactory.java: New files from
8945         classpath.
8946
8947         * gnu/java/awt/EventModifier.java,
8948         gnu/java/awt/image/ImageDecoder.java,
8949         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8950
8951         * gnu/awt/xlib/XGraphicsConfiguration.java,
8952         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8953         API.
8954
8955         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8956         GNU Classpath.
8957
8958         * Makefile.am: Add new files.
8959         * Makefile.in: Rebuilt.
8960
8961 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8962
8963         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8964         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8965         findResource, getResources, findResources): Add javadoc from classpath.
8966         (getSystemResources): Implemented.
8967
8968 2002-08-01  Mark Wielaard  <mark@klomp.org>
8969
8970         Revert patch that breaks libgcj shared library on powerpc:
8971         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8972         implementation classes by using Class.getName(). Uses Strings again.
8973         * gnu/java/security/der/DEREncodingException.java,
8974         gnu/java/security/provider/DERReader.java,
8975         gnu/java/security/provider/DERWriter.java,
8976         gnu/java/security/provider/DSAKeyPairGenerator.java,
8977         gnu/java/security/provider/DSAParameterGenerator.java,
8978         gnu/java/security/provider/DSAParameters.java,
8979         gnu/java/security/provider/DSASignature.java,
8980         gnu/java/security/provider/GnuDSAPrivateKey.java,
8981         gnu/java/security/provider/GnuDSAPublicKey.java,
8982         gnu/java/security/provider/MD5.java,
8983         gnu/java/security/util/Prime.java: Removed.
8984         * Makefile.am (ordinary_java_source_files): Remove above files.
8985         * Makefile.in: Regenerate.
8986         * gnu/java/security/provider/DefaultPolicy.java
8987         (getPermissions): Revert to maintaining static class variable of
8988         Permissions.
8989         * gnu/java/security/provider/SHA.java
8990         (engineUpdate): Revert algorithm change.
8991         (engineDigest): Revert algorithm change.
8992
8993 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8994
8995         * configure.host: Add SH support.
8996         * sysdep/sh/locks.h: New file.
8997
8998 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8999
9000         * java/awt/Frame.java (Frame): Remove println calls.
9001
9002 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9003
9004         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9005         * configure: Rebuilt.
9006
9007 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9008
9009         * sysdep/powerpc/locks.h: Formatting.
9010         (_LARX): Define.
9011         (_STCX): Define.
9012         (compare_and_swap): Use _LARX and _STCX.
9013         (compare_and_swap_release): Likewise.
9014
9015 2002-07-26  Tom Tromey  <tromey@redhat.com>
9016
9017         * java/net/Authenticator.java: New version from Classpath.
9018         * java/net/DatagramSocketImpl.java: New version from Classpath.
9019
9020 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9021
9022         * configure.host: Add powerpc64*-* entry.
9023
9024 2002-07-26  Tom Tromey  <tromey@redhat.com>
9025
9026         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9027         fcntl.h.
9028
9029 2002-07-24  Tom Tromey  <tromey@redhat.com>
9030
9031         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9032         argument to _load.
9033
9034 2002-07-24  Tom Tromey  <tromey@redhat.com>
9035             Tony Kimball <alk@pobox.com>
9036
9037         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9038         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9039         * java/io/RandomAccessFile.java (setLength): New method.
9040         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9041         * java/io/FileDescriptor.java (setLength): New method.
9042
9043 2002-07-24  Mark Wielaard  <mark@klomp.org>
9044
9045         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9046         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9047         field call setAccessible(true).
9048         (setByteField): Likewise.
9049         (setCharField): Likewise.
9050         (setDoubleField): Likewise.
9051         (setFloatField): Likewise.
9052         (setIntField): Likewise.
9053         (setLongField): Likewise.
9054         (setShortField): Likewise.
9055         (setObjectField): Likewise.
9056
9057 2002-07-24  Tom Tromey  <tromey@redhat.com>
9058
9059         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9060         use toString() to format array element.
9061
9062 2002-07-23  Mark Wielaard  <mark@klomp.org>
9063
9064         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9065         MessageDigestSpi (fixes Classpath bug #783).
9066
9067 2002-07-21  Mark Wielaard  <mark@klomp.org>
9068
9069         * gnu/java/security/provider/Gnu.java: Reference all implementation
9070         classes by using Class.getName().
9071
9072 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9073
9074         * java/lang/ieeefp.h: Add x86-64 support.
9075         * configure.in: Likewise.
9076         * configure.host: Likewise.
9077         * configure: Regenerated.
9078         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9079
9080 2002-07-16  Mark Wielaard  <mark@klomp.org>
9081
9082         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9083         (whitespaceChars): call resetChar().
9084
9085 2002-07-15  Tom Tromey  <tromey@redhat.com>
9086
9087         * Makefile.in: Rebuilt.
9088         * Makefile.am (awt_java_source_files): Added new files.
9089         * java/beans/ExceptionListener.java: Merged with Classpath.
9090         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9091         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9092         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9093         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9094         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9095         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9096         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9097
9098 2002-07-14  Mark Wielaard  <mark@klomp.org>
9099
9100         * gnu/java/security/der/DEREncodingException.java,
9101         gnu/java/security/provider/DERReader.java,
9102         gnu/java/security/provider/DERWriter.java,
9103         gnu/java/security/provider/DSAKeyPairGenerator.java,
9104         gnu/java/security/provider/DSAParameterGenerator.java,
9105         gnu/java/security/provider/DSAParameters.java,
9106         gnu/java/security/provider/DSASignature.java,
9107         gnu/java/security/provider/GnuDSAPrivateKey.java,
9108         gnu/java/security/provider/GnuDSAPublicKey.java,
9109         gnu/java/security/provider/MD5.java,
9110         gnu/java/security/util/Prime.java: New files from Classpath.
9111         * Makefile.am (ordinary_java_source_files): Add new files.
9112         * Makefile.in: Regenerate.
9113
9114 2002-07-14  C. Brian Jones <cbj@gnu.org>
9115
9116         * gnu/java/security/provider/DefaultPolicy.java
9117         (getPermissions): do not maintain static class variable of
9118         Permissions
9119         * gnu/java/security/provider/SHA.java
9120         (engineUpdate): algorithm change
9121         (engineDigest): algorithm change
9122
9123 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9124
9125         For PR libgcj/7292:
9126         * java/lang/Character.java (toString(char)): Now static.
9127
9128 2002-07-12  Mark Wielaard  <mark@klomp.org>
9129
9130         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9131         (getStackTrace0): new method.
9132         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9133         (printStackTrace(PrintWriter)): replace with pure java implementation.
9134         (printRawStackTrace): removed.
9135         (getStackTrace0): new method.
9136         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9137         * gcj/javaprims.h: regenerate class list.
9138         * include/name-finder.h (lookup): new returns StackTraceElement*.
9139         (method_name, file_name): fields removed.
9140         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9141         (~_Jv_name_finder): close new descriptors.
9142         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9143         (createStackTraceElement): new method.
9144         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9145
9146 2002-07-10  Tom Tromey  <tromey@redhat.com>
9147
9148         * configure: Rebuilt.
9149         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9150
9151 2002-07-08  Mark Wielaard  <mark@klomp.org>
9152
9153         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9154         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9155         java.sql.DatabaseMetaData.TestJdbc20
9156
9157 2002-07-05  Tony Kimball  <alk@pobox.com>
9158
9159         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9160
9161 2002-07-04  Tom Tromey  <tromey@redhat.com>
9162             Jeff Sturm  <jsturm@one-point.com>
9163
9164         Fix for PR libgcj/7060:
9165         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9166         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9167         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9168         * java/lang/Class.java (getMethod): New Java implementation;
9169         complies with spec.
9170         (_getMethod): New native method.
9171
9172 2002-07-02  Tom Tromey  <tromey@redhat.com>
9173             David Hovemeyer  <daveho@cs.umd.edu>
9174
9175         * java/text/ChoiceFormat.java
9176         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9177         in check loop.
9178         * java/text/MessageFormat.java
9179         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9180         to MessageFormat.
9181
9182 2002-07-01  Tom Tromey  <tromey@redhat.com>
9183
9184         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9185         StringTokenizer on null string.  For PR libgcj/7180.
9186         From daveho@cs.umd.edu.
9187
9188 2002-06-24  Tom Tromey  <tromey@redhat.com>
9189
9190         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9191         (IntegerClass): Likewise.
9192         * java/lang/natClass.cc (CloneableClass): Removed.
9193         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9194         ConstructorClass): Likewise.
9195         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9196         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9197         SerializableClass): Likewise.
9198         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9199         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9200         LongClass, FloatClass, DoubleClass): Likewise.
9201
9202         * verify.cc (branch_prepass): Updated for change to exception
9203         handler type.
9204         (verify_instructions_0): Likewise.
9205         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9206         (handleExceptionTableEntry): Updated for change to exception
9207         handler type.
9208         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9209         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9210         (union _Jv_InterpPC): New.
9211         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9212         (class _Jv_InterpMethod): Added new `prepared' field.
9213         (class _Jv_InterpMethod): Added `compile' method.  Removed
9214         `continue1' and `find_exception'.  Changed arguments to `run'.
9215         * interpret.cc (union insn_slot): New.
9216         (find_exception): Removed.
9217         (run_normal): Removed most logic.
9218         (run_synch_object): Likewise; also, use JvSynchronize.
9219         (run_synch_class): Likewise.
9220         (run): Removed.
9221         (continue1): Renamed as `run'.  Compile bytecode if required.
9222         Add new code to allow refinement of direct-threaded code at
9223         runtime.  Handle exceptions.
9224         (SAVE_PC): Removed.
9225         (compile): New method.
9226         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9227         (NULLARRAYCHECK): Don't use SAVE_PC.
9228         (pc_t): New typedef.
9229         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9230         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9231
9232 2002-06-23  Tom Tromey  <tromey@redhat.com>
9233
9234         * configure: Rebuilt.
9235         * configure.in (INTERPRETER): New subst.
9236         (AM_RUNTESTFLAGS): Don't subst.
9237
9238         * Makefile.in: Rebuilt.
9239         * Makefile.am ($(srcdir)/java/lang/Object.h,
9240         $(srcdir)/java/lang/Class.h): Added dummy targets.
9241
9242 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9243
9244         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9245
9246         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9247         java/sql/Savepoint.java: New files.
9248         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9249         java/sql/Blob.java, java/sql/CallableStatement.java,
9250         java/sql/Clob.java, java/sql/Connection.java,
9251         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9252         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9253         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9254         java/sql/Ref.java, java/sql/ResultSet.java,
9255         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9256         java/sql/SQLException.java, java/sql/SQLInput.java,
9257         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9258         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9259         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9260         (JDK 1.4) specification.
9261         * javax/sql/ConnectionEvent.java,
9262         javax/sql/ConnectionEventListener.java,
9263         javax/sql/ConnectionPoolDataSource.java,
9264         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9265         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9266         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9267         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9268         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9269         javax/sql/XADataSource.java: New files.
9270         * Makefile.am: Add new files.
9271         * Makefile.in: Rebuilt.
9272
9273 2002-06-20  Tom Tromey  <tromey@redhat.com>
9274
9275         For PR libgcj/7073:
9276         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9277         exists.
9278         * defineclass.cc (handleClassBegin): Superclass for interface is
9279         `null'.
9280
9281 2002-06-18  Tom Tromey  <tromey@redhat.com>
9282
9283         * gcj/javaprims.h: Updated class declaration list.
9284         * Makefile.in: Rebuilt.
9285         * Makefile.am (core_java_source_files): Removed
9286         BasicMapEntry.java.
9287         * java/util/BasicMapEntry.java: Removed.
9288
9289 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9290
9291         * java/net/natPlainDatagramSocketImpl.cc (receive):
9292         Check bounds of argument to FD_SET.
9293         (setOption): Throw exception if socket is closed.
9294
9295         * java/net/natPlainSocketImpl.cc (accept, read):
9296         Check bounds of argument to FD_SET.
9297         (setOption): Throw exception if socket is closed.
9298
9299 2002-06-18  Tom Tromey  <tromey@redhat.com>
9300
9301         * gcj/javaprims.h: Updated class declaration list.
9302         * Makefile.in: Rebuilt.
9303         * Makefile.am (core_java_source_files): Added
9304         PropertyPermissionCollection.java.
9305         * java/lang/Thread.java (group, name): Now package-private.
9306         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9307         * java/util/AbstractList.java: Likewise.
9308         * java/util/AbstractMap.java: Likewise.
9309         * java/util/Calendar.java: Likewise.
9310         * java/util/Collections.java: Likewise.
9311         * java/util/HashMap.java: Likewise.
9312         * java/util/Hashtable.java: Likewise.
9313         * java/util/LinkedHashMap.java: Likewise.
9314         * java/util/LinkedList.java: Likewise.
9315         * java/util/List.java: Likewise.
9316         * java/util/ListResourceBundle.java: Likewise.
9317         * java/util/Map.java: Likewise.
9318         * java/util/Observable.java: Likewise.
9319         * java/util/Properties.java: Likewise.
9320         * java/util/PropertyPermission.java: Likewise.
9321         * java/util/PropertyPermissionCollection.java: Likewise.
9322         * java/util/PropertyResourceBundle.java: Likewise.
9323         * java/util/Random.java: Likewise.
9324         * java/util/SimpleTimeZone.java: Likewise.
9325         * java/util/StringTokenizer.java: Likewise.
9326         * java/util/TimerTask.java: Likewise.
9327         * java/util/TreeMap.java: Likewise.
9328         * java/util/WeakHashMap.java: Likewise.
9329         * java/util/jar/Attributes.java: Likewise.
9330         * java/util/jar/JarException.java: Likewise.
9331         * java/util/jar/Manifest.java: Likewise.
9332
9333 2002-06-17  Tom Tromey  <tromey@redhat.com>
9334
9335         * gcj/javaprims.h: Updated class declaration list.
9336         * Makefile.in: Rebuilt.
9337         * Makefile.am (core_java_source_files): Added new file.
9338         * java/util/EventListenerProxy.java: New file.
9339         * java/util/EventListener.java: Re-merge with Classpath.
9340         * java/util/EventObject.java: Re-merge with Classpath.
9341
9342 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9343
9344         * java/lang/ClassNotFoundException.java: New Classpath version.
9345
9346 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9347
9348         * java/rmi/activation/ActivateFailedException.java: Remerge from
9349         Classpath version.
9350         * java/rmi/activation/ActivationException.java: Ditto.
9351         * java/rmi/activation/UnknownGroupException.java: Ditto.
9352         * java/rmi/activation/UnknownObjectException.java: Ditto.
9353         * java/rmi/server/ExportException: Ditto.
9354         * java/rmi/server/ServerCloneException: Ditto.
9355         * java/rmi/server/ServerNotActiveException: Ditto.
9356         * java/rmi/server/SkeletonMismatchException: Ditto.
9357         * java/rmi/server/SkeletonNotFoundException: Ditto.
9358         * java/rmi/server/SocketSecurityException: Ditto.
9359
9360 2002-06-16  Tom Tromey  <tromey@redhat.com>
9361
9362         * gcj/javaprims.h: Updated class declaration list.
9363
9364         * java/io/LineNumberInputStream.java: Merged with Classpath.
9365
9366         * java/lang/RuntimeException.java: Re-merge with Classpath.
9367         * java/util/ArrayList.java: Likewise.
9368         * java/util/Arrays.java: Likewise.
9369         * java/util/BitSet.java: Likewise.
9370         * java/util/Dictionary.java: Likewise.
9371         * java/util/IdentityHashMap.java: Likewise.
9372         * java/util/MissingResourceException.java: Likewise.
9373         * java/util/Observer.java: Likewise.
9374         * java/util/TooManyListenersException.java: Likewise.
9375         * java/util/zip/DataFormatException.java: Likewise.
9376         * java/util/zip/ZipException.java: Likewise.
9377
9378 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9379
9380         * java/rmi/AccessException.java: Remerge from Classpath.
9381         * java/rmi/AlreadyBoundException.java: Ditto.
9382         * java/rmi/ConnectException.java: Ditto.
9383         * java/rmi/ConnectIOException.java: Ditto.
9384         * java/rmi/MarshalException.java: Ditto.
9385         * java/rmi/NoSuchObjectException.java: Ditto.
9386         * java/rmi/NotBoundException.java: Ditto.
9387         * java/rmi/RemoteException.java: Ditto.
9388         * java/rmi/RMISecurityException.java: Ditto.
9389         * java/rmi/ServerError.java: Ditto.
9390         * java/rmi/ServerException.java: Ditto.
9391         * java/rmi/ServerRuntimeException.java: Ditto.
9392         * java/rmi/StubNotFoundException.java: Ditto.
9393         * java/rmi/UnexpectedExcpetion.java: Ditto.
9394         * java/rmi/UnknownHostException.java: Ditto.
9395         * java/rmi/UnmarshalException.java: Ditto.
9396
9397 2002-06-15  Tom Tromey  <tromey@redhat.com>
9398
9399         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9400         * java/lang/ArithmeticException.java: Likewise.
9401         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9402         * java/lang/ArrayStoreException.java: Likewise.
9403         * java/lang/Byte.java: Likewise.
9404         * java/lang/CharSequence.java: Likewise.
9405         * java/lang/ClassCastException.java: Likewise.
9406         * java/lang/ClassCircularityError.java: Likewise.
9407         * java/lang/ClassFormatError.java: Likewise.
9408         * java/lang/CloneNotSupportedException.java: Likewise.
9409         * java/lang/Cloneable.java: Likewise.
9410         * java/lang/Comparable.java: Likewise.
9411         * java/lang/Compiler.java: Likewise.
9412         * java/lang/Error.java: Likewise.
9413         * java/lang/ExceptionInInitializerError.java: Likewise.
9414         * java/lang/IllegalAccessError.java: Likewise.
9415         * java/lang/IllegalAccessException.java: Likewise.
9416         * java/lang/IllegalArgumentException.java: Likewise.
9417         * java/lang/IllegalMonitorStateException.java: Likewise.
9418         * java/lang/IllegalStateException.java: Likewise.
9419         * java/lang/IllegalThreadStateException.java: Likewise.
9420         * java/lang/IncompatibleClassChangeError.java: Likewise.
9421         * java/lang/IndexOutOfBoundsException.java: Likewise.
9422         * java/lang/InheritableThreadLocal.java: Likewise.
9423         * java/lang/InstantiationError.java: Likewise.
9424         * java/lang/InstantiationException.java: Likewise.
9425         * java/lang/InternalError.java: Likewise.
9426         * java/lang/InterruptedException.java: Likewise.
9427         * java/lang/LinkageError.java: Likewise.
9428         * java/lang/NegativeArraySizeException.java: Likewise.
9429         * java/lang/NoClassDefFoundError.java: Likewise.
9430         * java/lang/NoSuchFieldError.java: Likewise.
9431         * java/lang/NoSuchFieldException.java: Likewise.
9432         * java/lang/NoSuchMethodError.java: Likewise.
9433         * java/lang/NoSuchMethodException.java: Likewise.
9434         * java/lang/NullPointerException.java: Likewise.
9435         * java/lang/NumberFormatException.java: Likewise.
9436         * java/lang/OutOfMemoryError.java: Likewise.
9437         * java/lang/Process.java: Likewise.
9438         * java/lang/Runnable.java: Likewise.
9439         * java/lang/RuntimePermission.java: Likewise.
9440         * java/lang/SecurityException.java: Likewise.
9441         * java/lang/Short.java: Likewise.
9442         * java/lang/StackOverflowError.java: Likewise.
9443         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9444         * java/lang/ThreadDeath.java: Likewise.
9445         * java/lang/ThreadLocal.java: Likewise.
9446         * java/lang/UnknownError.java: Likewise.
9447         * java/lang/UnsatisfiedLinkError.java: Likewise.
9448         * java/lang/UnsupportedClassVersionError.java: Likewise.
9449         * java/lang/UnsupportedOperationException.java: Likewise.
9450         * java/lang/VerifyError.java: Likewise.
9451         * java/lang/VirtualMachineError.java: Likewise.
9452         * java/lang/reflect/InvocationTargetException.java: Likewise.
9453         * java/net/BindException.java: Likewise.
9454         * java/net/ConnectException.java: Likewise.
9455         * java/net/MalformedURLException.java: Likewise.
9456         * java/net/NoRouteToHostException.java: Likewise.
9457         * java/net/ProtocolException.java: Likewise.
9458         * java/net/SocketException.java: Likewise.
9459         * java/net/UnknownHostException.java: Likewise.
9460         * java/net/UnknownServiceException.java: Likewise.
9461
9462         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9463         * java/io/CharConversionException.java: Likewise.
9464         * java/io/EOFException.java: Likewise.
9465         * java/io/FileNotFoundException.java: Likewise.
9466         * java/io/IOException.java: Likewise.
9467         * java/io/InterruptedIOException.java: Likewise.
9468         * java/io/InvalidClassException.java: Likewise.
9469         * java/io/InvalidObjectException.java: Likewise.
9470         * java/io/NotActiveException.java: Likewise.
9471         * java/io/NotSerializableException.java: Likewise.
9472         * java/io/ObjectStreamException.java: Likewise.
9473         * java/io/ObjectStreamConstants.java: Likewise.
9474         * java/io/OptionalDataException.java: Likewise.
9475         * java/io/PipedInputStream.java: Likewise.
9476         * java/io/PushbackInputStream.java: Likewise.
9477         * java/io/StreamCorruptedException.java: Likewise.
9478         * java/io/SyncFailedException.java: Likewise.
9479         * java/io/UTFDataFormatException.java: Likewise.
9480         * java/io/UnsupportedEncodingException.java: Likewise.
9481         * java/io/WriteAbortedException.java: Likewise.
9482
9483 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9484
9485         * java/text/ChoiceFormat.java: Update comments from Classpath.
9486         * java/text/ParseException.java (serialVersionUID): New
9487         field from Classpath.
9488         * java/text/ParseException.java: Update formatting & comments
9489         from Classpath.
9490
9491 2002-06-15  Tom Tromey  <tromey@redhat.com>
9492
9493         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9494         been read but none output by inflater.
9495         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9496         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9497         is_finished.
9498         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9499         version.
9500         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9501         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9502         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9503         version.
9504         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9505
9506 2002-06-13  Tom Tromey  <tromey@redhat.com>
9507
9508         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9509         true and OFFSET!=0.
9510         * java/lang/String.java (String(char[],int,int,boolean): New
9511         constructor.
9512         * java/lang/Long.java: Imported new version from Classpath.
9513         * java/lang/Number.java: Likewise.
9514         * java/lang/Integer.java: Likewise.
9515         * java/lang/Long.java: Likewise.
9516         * java/lang/Float.java: Likewise.
9517         * java/lang/Boolean.java: Likewise.
9518         * java/lang/Double.java: Likewise.
9519         * java/lang/Void.java: Likewise.
9520
9521 2002-06-12  Tom Tromey  <tromey@redhat.com>
9522
9523         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9524         Fixes PR libgcj/6652.
9525
9526 2002-06-10  Tom Tromey  <tromey@redhat.com>
9527
9528         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9529         (Class::getPackagePortion): Likewise.
9530         * java/lang/Class.java (desiredAssertionStatus): New method from
9531         Classpath.
9532         (getPackagePortion): Likewise.
9533         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9534         packageAssertionStatus, classAssertionStatus): New methods from
9535         Classpath.
9536         * java/lang/ClassLoader.java (defaultAssertionStatus,
9537         systemPackageAssertionStatus, packageAssertionStatus,
9538         systemClassAssertionStatus, classAssertionStatus): New fields from
9539         Classpath.
9540         (setDefaultAssertionStatus, setPackageAssertionStatus,
9541         setClassAssertionStatus, clearAssertionStatus): New methods from
9542         Classpath.
9543         * Makefile.in: Rebuilt.
9544         * Makefile.am (core_java_source_files): Added AssertionError.java.
9545         * java/lang/AssertionError.java: New from Classpath.
9546
9547 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9548
9549         * configure.host: Disable hash synchronization and slow_pthread_self
9550         for cygwin.
9551
9552 2002-06-06  Adam Megacz <adam@xwt.org>
9553
9554         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9555         locking, just like the Sun JVM does.
9556
9557 2002-06-05  H.J. Lu  (hjl@gnu.org)
9558
9559         * Makefile.am (libgcj_convenience.la): Revert the last change.
9560         (libgcj.la): Likewise.
9561         * Makefile.in: Regenerated.
9562
9563 2002-06-04  H.J. Lu  (hjl@gnu.org)
9564
9565         * Makefile.am (libgcj_convenience.la): New target.
9566         (libgcj.la): Depend on libgcj_convenience.la.
9567         * Makefile.in: Regenerated.
9568
9569 2002-06-04  H.J. Lu  (hjl@gnu.org)
9570
9571         * configure.in (--with-newlib): New option:
9572         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9573         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9574         Linux.
9575         * configure: Regenerated.
9576
9577 2002-06-04  Tom Tromey  <tromey@redhat.com>
9578
9579         * java/util/natTimeZone.cc: Include <stdio.h>.
9580
9581 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9582
9583         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9584         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9585         Set SIGNAL_HANDLER=include/s390-linux.h.
9586         * configure: Regenerate.
9587         * include/s390-linux.h: New file.
9588
9589 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9590
9591         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9592         not "stackTrace".
9593
9594 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9595
9596         Merge JDK 1.4 java.security changes from classpath.
9597
9598         * java/security/AccessControlException.java: Merge from Classpath.
9599         * java/security/AccessController.java: Likewise.
9600         * java/security/AllPermission.java: Likewise.
9601         * java/security/BasicPermission.java: Likewise.
9602         * java/security/Certificate.java: Likewise.
9603         * java/security/CodeSource.java: Likewise.
9604         * java/security/DigestException.java: Likewise.
9605         * java/security/DigestOutputStream.java: Likewise.
9606         * java/security/DomainCombiner.java: Likewise.
9607         * java/security/GeneralSecurityException.java: Likewise.
9608         * java/security/Guard.java: Likewise.
9609         * java/security/GuardedObject.java: Likewise.
9610         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9611         * java/security/InvalidKeyException.java: Likewise.
9612         * java/security/InvalidParameterException.java: Likewise.
9613         * java/security/Key.java: Likewise.
9614         * java/security/KeyException.java: Likewise.
9615         * java/security/KeyManagementException.java: Likewise.
9616         * java/security/KeyStoreException.java: Likewise.
9617         * java/security/MessageDigest.java: Likewise.
9618         * java/security/NoSuchAlgorithmException.java: Likewise.
9619         * java/security/NoSuchProviderException.java: Likewise.
9620         * java/security/Permission.java: Likewise.
9621         * java/security/PermissionCollection.java: Likewise.
9622         * java/security/Permissions.java: Likewise.
9623         * java/security/Policy.java: Likewise.
9624         * java/security/Principal.java: Likewise.
9625         * java/security/PrivateKey.java: Likewise.
9626         * java/security/PrivilegedAction.java: Likewise.
9627         * java/security/PrivilegedActionException.java: Likewise.
9628         * java/security/PrivilegedExceptionAction.java: Likewise.
9629         * java/security/ProtectionDomain.java: Likewise.
9630         * java/security/ProviderException.java: Likewise.
9631         * java/security/PublicKey.java: Likewise.
9632         * java/security/SecureClassLoader.java: Likewise.
9633         * java/security/SecurityPermission.java: Likewise.
9634         * java/security/SignatureException.java: Likewise.
9635         * java/security/UnrecoverableKeyException.java: Likewise.
9636         * java/security/UnresolvedPermission.java: Likewise.
9637         * java/security/acl/AclNotFoundException.java: Likewise.
9638         * java/security/acl/LastOwnerException.java: Likewise.
9639         * java/security/acl/NotOwnerException.java: Likewise.
9640         * java/security/cert/CRLException.java: Likewise.
9641         * java/security/cert/CertificateEncodingException.java: Likewise.
9642         * java/security/cert/CertificateException.java: Likewise.
9643         * java/security/cert/CertificateExpiredException.java: Likewise.
9644         * java/security/cert/CertificateFactory.java: Likewise.
9645         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9646         * java/security/cert/CertificateParsingException.java: Likewise.
9647         * java/security/spec/InvalidKeySpecException.java: Likewise.
9648         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9649
9650         * java/security/cert/CertPath.java: New file.
9651         * java/security/cert/CertPathBuilderException.java: New file.
9652         * java/security/cert/CertPathValidatorException.java: New file.
9653         * java/security/cert/CertStoreException.java: New file.
9654
9655         * Makefile.am: Add new CertPath classes.
9656         * Makefile.in: Rebuilt.
9657
9658         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9659
9660 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9661
9662         Merge JDK 1.4 exception chaining support from classpath.
9663
9664         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9665         (stackTraceBytes): Rename from stackTrace.
9666         * java/lang/Exception.java: Merge from classpath.
9667         * java/lang/StackTraceElement: New file from classpath.
9668         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9669         * Makefile.am: Add StackTraceElement.
9670         * Makefile.in: Rebuilt.
9671
9672 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9673
9674         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9675         they build first.
9676         * Makefile.in: Rebuilt.
9677
9678 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9679
9680         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9681         * configure.in: Likewise.
9682         * aclocal.m4: Regenerate.
9683         * configure: Regenerate.
9684
9685 2002-05-13  Tom Tromey  <tromey@redhat.com>
9686
9687         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9688         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9689         Include platform.h.
9690
9691         Fixes PR libgcj/6389:
9692         * Makefile.in: Rebuilt.
9693         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9694         * java/util/natTimeZone.cc: New file.
9695         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9696         * java/lang/System.java: Merged with Classpath.
9697         * java/lang/Runtime.java: Merged with Classpath.
9698         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9699         security check.
9700         (setIn0): Renamed from setIn; don't run security check.
9701         (setOut0): Renamed from setOut; don't run security check.
9702         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9703         init_properties): Moved to natRuntime.cc.
9704         Moved many includes to natRuntime.cc.
9705         (isWordsBigEndian): New method.
9706         * java/lang/natRuntime.cc: Include Long.h, also other includes
9707         previously in natSystem.cc.
9708         (maxMemory): New function.
9709         (exitInternal): Renamed from `_exit'.
9710         (exit): Removed.
9711         (init): Don't set finalize_on_exit.
9712         (exitInternal): Use `finalizeOnExit'.
9713         (file_encoding, getpwuid_adaptor): New functions from
9714         natSystem.cc.
9715         (insertSystemProperties): New method, renamed from
9716         System::init_properties.  Don't set user.timezone.
9717         (_load): Don't call checkLink.
9718         (execInternal): New method.
9719         (availableProcessors): Likewise.
9720         (nativeGetLibname): Likewise.
9721
9722 2002-05-11  Mark Wielaard  <mark@klomp.org>
9723
9724         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9725         space characters.
9726         (previous_internal): Likewise.
9727
9728 2002-05-09  Tom Tromey  <tromey@redhat.com>
9729
9730         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9731
9732         * java/util/ResourceBundle.java: New version from Classpath.
9733         * java/util/Locale.java: Likewise.
9734
9735 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9736
9737         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9738         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9739         LD_LIBRARY_PATH.
9740
9741 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9742
9743         * libjava/Makefile.am (all_java_source_files): New variable.
9744         (all_java_class_files): Likewise.
9745         .java.class: New rule.
9746         (CLEANFILES): Remove tmp-list.
9747         * libjava/Makefile.in: Regenerated.
9748
9749 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9750
9751         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9752         Append .exe to executable names.  Fix for cygwin.
9753
9754 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9755
9756         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9757         script entry, and set LD to it when configuring multilibs.
9758         * configure: Rebuilt.
9759
9760 2002-05-07  Tom Tromey  <tromey@redhat.com>
9761
9762         * java/lang/natString.cc (unintern): Fixed typo.
9763
9764 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9765
9766         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9767         with -no-install on *-*-cygwin*.
9768
9769 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9770
9771         * testsuite/lib/libjava.exp (test_libjava_from_source):
9772         Add comment explaining last patch
9773
9774 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9775
9776         * testsuite/lib/libjava.exp (test_libjava_from_source):
9777         Append .exe to executable names.  If no suffix is present,
9778         then ".exe" is added by default on win32.  Harmless
9779         elsewhere so always do it.
9780
9781 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9782             Tom Tromey  <tromey@redhat.com>
9783
9784         * java/lang/natSystem.cc (getSystemTimeZone): Use
9785         HAVE_UNDERSCORE_TIMEZONE.
9786         * include/config.h.in: Rebuilt.
9787         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9788         * aclocal.m4, configure: Rebuilt.
9789         * acinclude.m4: Run AC_EXEEXT.
9790         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9791         Add test for `_timezone'.
9792
9793 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9794
9795         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9796         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9797         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9798         * Makefile.in: Rebuilt.
9799
9800 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9801
9802         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9803         use sigaction instead of __libc_sigaction.
9804
9805 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9806
9807         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9808         (libjava_init): Use it to find libgcj.spec.
9809         (libjava_arguments): Likewise.
9810
9811 2002-05-02  David S. Miller  <davem@redhat.com>
9812
9813         PR bootstrap/6525
9814         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9815         __libc_sigaction on Sparc.
9816
9817 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9818
9819         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9820         sys/filio.h, if present.
9821
9822 2002-04-30  Tom Tromey  <tromey@redhat.com>
9823
9824         * java/io/BufferedReader.java (fill): Handle case where markPos
9825         point to ignored \n.  Fixes PR libgcj/6301.
9826
9827 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9828
9829         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9830
9831 2002-04-29  Adam King <aking@dreammechanics.com>
9832
9833         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9834         of file in APPEND mode.
9835
9836 2002-04-25  David S. Miller  <davem@redhat.com>
9837
9838         PR target/6422
9839         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9840         program counter to next program counter minus 8.  Update
9841         comments in this macro to explain why.
9842
9843 2002-04-26  Tom Tromey  <tromey@redhat.com>
9844
9845         * verify.cc (construct_primitive_array_type) [void_type]: New
9846         case.
9847         (branch_prepass): Added dummy entries for unused instruction
9848         values.
9849         (verify_instructions_0): Likewise.
9850         * interpret.cc (continue1): Comment fix.
9851         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9852         * Makefile.in: Rebuilt.
9853         * Makefile.am: Added -Wswitch-enum.
9854
9855 2002-04-24  Tom Tromey  <tromey@redhat.com>
9856
9857         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9858         correct length of UTF-8 encoded name.  Strip leading `/'.
9859         (_Jv_RegisterResource): Use _Jv_Malloc.
9860
9861 2002-04-23  Adam Megacz <adam@xwt.org>
9862
9863         * win32.cc, include/win32.cc (backtrace): Added this function
9864         because Win32 does not supply it.
9865
9866 2002-04-21  David S. Miller  <davem@redhat.com>
9867
9868         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9869         magic instruction reading sequence.
9870
9871 2002-04-21  Mark Wielaard  <mark@klomp.org>
9872
9873         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9874
9875 2002-04-19  David S. Miller  <davem@redhat.com>
9876
9877         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9878         arg.
9879         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9880         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9881         on Sparc too.
9882         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9883         for 64-bit sparc.
9884         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9885         * sysdeps/sparc/locks.h: New file.
9886         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9887         on all sparc Solaris configurations.  Set to
9888         include/dwarf2-signal.h on sparc Linux.
9889         * configure: Regenerate
9890         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9891
9892 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9893
9894         * configure: Rebuilt.
9895         * configure.in (backtrace): Function doesn't work on IA-64.
9896
9897 2002-04-17  Adam King <aking@dreammechanics.com>
9898
9899         * java/io/File.java (normalizePath): Add Win32 support for auto
9900         conversion of a '/' path separator to Win32's '\' separator.
9901
9902 2002-04-16  Tom Tromey  <tromey@redhat.com>
9903
9904         Fix for PR libgcj/6081:
9905         * Makefile.in: Rebuilt.
9906         * Makefile.am (install-data-local): Use GNU make trick to avoid
9907         shell limit.
9908
9909 2002-04-16  Adam King <aking@dreammechanics.com>
9910             Tom Tromey  <tromey@redhat.com>
9911
9912         * java/io/natFileWin32.cc (performList): Return the correct array
9913         type.  Don't duplicate the creation of a File since it's already
9914         done earlier in the method and the existing code would cause a
9915         ArrayStoreException.  Don't use fixed-size array.
9916         (_access, _stat, attr, getCanonicalPath, performMkdir,
9917         performRenameTo): Don't use fixed-size array.
9918         (getCanonicalPath): Use throw, not _Jv_Throw.
9919
9920 2002-04-15  DJ Delorie  <dj@redhat.com>
9921
9922         * configure.in: Allow building in $srcdir.
9923         * configure: Regenerated.
9924
9925 2002-04-14  Mark Wielaard <mark@klomp.org>
9926
9927         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9928         * java/net/natSocketImpl.cc (close): Likewise.
9929
9930 2002-04-14  Mark Wielaard <mark@klomp.org>
9931
9932         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9933
9934 2002-04-13  Adam King <aking@dreammechanics.com>
9935
9936         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9937         the f/F/d/D modifiers.
9938
9939 2002-04-12  Anthony Green  <green@redhat.com>
9940
9941         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9942         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9943         * Makefile.in: Rebuilt.
9944         * configure.in: Substitute gcc_version.
9945         * configure: Rebuilt.
9946
9947 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9948
9949         * configure.host: Set can_unwind_signal on hosts which support it.
9950         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9951         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9952         exceptions and can_unwind_signal isn't set.
9953         * configure: Rebuilt.
9954
9955 2002-04-11  Tom Tromey  <tromey@redhat.com>
9956
9957         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9958
9959 2002-04-11  Adam King <aking@dreammechanics.com>
9960             Tom Tromey  <tromey@redhat.com>
9961
9962         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9963         _Jv_ThrowNullPointerException): Mark as noreturn.
9964         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9965         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9966         fixes.
9967
9968 2002-04-10  Tom Tromey  <tromey@redhat.com>
9969
9970         * Makefile.in: Rebuilt.
9971         * Makefile.am (java/lang/Thread.h): Mark
9972         _Jv_AttachCurrentThreadAsDaemon as friend.
9973         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9974         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9975         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9976         function.
9977         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9978         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9979         (_Jv_JNI_InvokeFunctions): Added
9980         _Jv_JNI_AttachCurrentThreadAsDaemon.
9981         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9982         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9983         (JNI_CreateJavaVM): Likewise.
9984         (_Jv_JNI_AttachCurrentThread): Likewise.
9985         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9986         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9987         (_Jv_JNIFunctions): Initialize new fields.
9988         (_Jv_JNI_NewDirectByteBuffer): New function.
9989         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9990         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9991         * include/jni.h (JNI_VERSION_1_4): New macro.
9992         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9993         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9994         (JNINativeInterface::NewDirectByteBuffer): New field.
9995         (JNINativeInterface::GetDirectBufferAddress): New field.
9996         (JNINativeInterface::GetDirectBufferCapacity): New field.
9997         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9998         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9999         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10000
10001 2002-04-09  Tom Tromey  <tromey@redhat.com>
10002
10003         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10004
10005 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10006
10007         Fix for PR libgcj/6187:
10008         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10009         distance.
10010
10011 2002-04-07  Mark Wielaard <mark@klomp.org>
10012
10013         * java/util/AbstractMap.java (putAll): Use entrySet size.
10014         (toString): Explicitly use getKey() and getValue().
10015
10016 2002-04-07  Mark Wielaard <mark@klomp.org>
10017
10018         * java/util/Hashtable.java (contains): Remove NullPointer check.
10019         (containsValue): Add NullPointer check.
10020         (remove): Always throw NullPointerException when key
10021         is null.
10022
10023 2002-04-07  Adam King <aking@dreammechanics.com>
10024
10025         * java/lang/natSystem.cc (init_properties): Call new function
10026         _Jv_platform_initProperties.
10027         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10028         support for the System properties os.name, os.arch, os.version,
10029         user.name, user.home, and user.dir.
10030         * include/posix.h, include/win32.h, posix.cc: New function
10031         _Jv_platform_initProperties.
10032
10033 2002-04-06  Mark Wielaard <mark@klomp.org>
10034
10035         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10036
10037 2002-04-06  Mark Wielaard <mark@klomp.org>
10038
10039         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10040         all of the remaining elements.
10041         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10042         (removeRange): If toIndex == fromIndex do
10043         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10044         (removeAll): Always throw NullPointerException when collection is
10045         null.
10046         (retrainAll): Likewise.
10047
10048 2002-04-05  Mark Wielaard <mark@klomp.org>
10049
10050         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10051         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10052
10053 2002-04-05  Adam Megacz <adam@xwt.org>
10054
10055         * exception.cc (abort): added static modifier
10056
10057 2002-04-04  Adam Megacz <adam@xwt.org>
10058
10059         * include/win32.h (_Jv_platform_close_on_exec): added inline
10060         modifier.
10061
10062 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10063
10064         * configure.host: Add case statement to support generic port
10065         properties.  Add *-*-freebsd* section.
10066
10067 2002-04-04  Mark Wielaard  <mark@klomp.org>
10068
10069         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10070         test.
10071         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10072         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10073         that depend on awt code and BufferedByteOutputStream.interrupt.
10074
10075 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10076
10077         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10078         incorrect "hi" value when count > 40.
10079
10080 2002-04-03  Mark Wielaard  <mark@klomp.org>
10081
10082         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10083         ordering.
10084
10085 2002-04-02  Tom Tromey  <tromey@redhat.com>
10086
10087         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10088         not `0'.
10089
10090 2002-04-02  Mark Wielaard  <mark@klomp.org>
10091
10092         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10093         list of testsuite crashers.
10094
10095 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10096
10097         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10098         when resizing table.
10099
10100 2002-04-01  Mark Wielaard  <mark@klomp.org>
10101
10102         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10103         NegativeArraySizeException
10104         (clear(int)): Use sign extended shift.
10105         (flip(int)): Likewise.
10106         (get(int)): Likewise.
10107         (nextClearBit(int)): Likewise.
10108         (nextSetBit(int)): Likewise.
10109         (set(int)): Likewise.
10110
10111 2002-04-01  Mark Wielaard  <mark@klomp.org>
10112
10113         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10114         that can be compiled now and add testsuite crashers to ignore list.
10115
10116 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10117
10118         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10119
10120         * libgcj.spec.in: Override libgcc, not lib.
10121         * libgcj-test.spec.in: Likewise.
10122
10123 2002-03-29  Tom Tromey  <tromey@redhat.com>
10124
10125         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10126         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10127
10128 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10129
10130         * java/net/PlainDatagramSocketImpl.java
10131         (close): Use native implementation.
10132         (finalize): New method.
10133
10134         * java/net/PlainSocketImpl.java (finalize): New method.
10135
10136         * java/net/natPlainDatagramSocketImpl.cc
10137         (java/io/FileDescriptor.h): Don't include.
10138         (close): Implement method here.
10139         (create): Don't assign fd.
10140
10141         * java/net/natPlainSocketImpl.cc
10142         (java/io/FileDescriptor.h): Don't include.
10143         (create): Don't assign fd.
10144         (accept): Likewise.
10145         (close): Synchronize.
10146
10147 2002-03-27  Richard Henderson  <rth@redhat.com>
10148
10149         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10150
10151 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10152
10153         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10154         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10155         instead of syscall on IA-64.
10156         Add FIXME comment.
10157
10158 2002-03-27  Anthony Green  <green@redhat.com>
10159
10160         * libgcj.spec.in: Add CHECKREFSPEC.
10161         * configure.in: Ditto.
10162         * configure.host: Ditto.  Check references for xscale-elf.
10163         * configure: Rebuilt.
10164
10165 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10166
10167         * include/dwarf2-signal.h: Temporarily back out last change.
10168
10169 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10170
10171         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10172
10173 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10174
10175         * configure.in, configure: enable dwarf2-exception-style
10176         exception handling on IA-64.
10177         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10178         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10179         Add FIXME comment.
10180
10181 2002-03-25  Tom Tromey  <tromey@redhat.com>
10182
10183         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10184         (jv_convert_LDFLAGS): Likewise.
10185         (gij_LDFLAGS): Likewise.
10186         (rmic_LDFLAGS): Likewise.
10187         (rmiregistry_LDFLAGS): Likewise.
10188         * configure.in (THREADLDFLAGS): New subst; set correctly for
10189         *BSD.
10190
10191 2002-03-25  Tom Tromey  <tromey@redhat.com>
10192
10193         For PR libgcj/5303:
10194         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10195         and --version.
10196         (help): New method.
10197         (version): Likewise.
10198         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10199         "GNU".
10200         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10201         "GNU".
10202
10203 2002-03-25  Tom Tromey  <tromey@redhat.com>
10204
10205         * java/awt/Component.java (processEvent): Check ComponentEvent
10206         after KeyEvent.
10207
10208 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10209
10210         * java/io/PushbackReader.java: Reformat.
10211
10212         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10213         calculate correct number of bytes skipped.
10214
10215         Based on patch from Intel's ORP team:
10216         * java/io/PushbackInputStream.java (available): Calculate correct
10217         number of bytes in buffer.
10218         (read): Remove redundant bound check. Return bytes from both the
10219         buffer and the stream.
10220
10221 2002-03-24  Tom Tromey  <tromey@redhat.com>
10222
10223         * java/awt/TextComponent.java (TextComponent): Editable by
10224         default.
10225
10226         * java/awt/MenuItem.java (eventMask): No longer private.
10227         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10228         superclass if we didn't handle event.
10229         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10230         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10231         * java/awt/Choice.java (dispatchEventImpl): New method.
10232         * java/awt/List.java (dispatchEventImpl): New method.
10233         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10234         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10235         * java/awt/TextField.java (dispatchEventImpl): New method.
10236
10237 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10238
10239         * java/beans/IntrospectionException.java: Update to 1.4.
10240         * java/beans/PropertyVetoException.java: Ditto.
10241
10242 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10243
10244         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10245         Arrays.equals instead of ArrayHelper.equalsArray.
10246
10247 2002-03-24  C. Brian Jones <cbj@gnu.org>
10248
10249         * java/beans/Introspector.java: added new static final fields
10250         introduced in 1.2, lots of other updates remain to be done
10251
10252 2002-03-24  C. Brian Jones <cbj@gnu.org>
10253
10254         * java/beans/Introspector.java: reformatting
10255
10256 2002-03-24  C. Brian Jones <cbj@gnu.org>
10257
10258         * java/beans/Introspector.java: default beanInfoSearchPath will
10259         not include sun.beans.infos given we provide no such package and
10260         the API doesn't really require it; gnu.java.beans.info is the
10261         default.
10262
10263 2002-03-24  Mark Wielaard  <mark@klomp.org>
10264
10265         Thanks to Orp developers
10266         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10267         switch TRUE and FALSE return values.
10268
10269 2002-03-23  Tom Tromey  <tromey@redhat.com>
10270
10271         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10272         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10273
10274 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10275
10276         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10277         MONTH entry.  Fixes PR libgcj/6045.
10278
10279 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10280
10281         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10282
10283 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10284
10285         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10286         not release_set.
10287         * sysdep/powerpc/locks.h (write_barrier): New function.
10288         * sysdep/i386/locks.h (write_barrier): New function.
10289
10290 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10291
10292         * include/jni.h Use correct C comments.
10293
10294 2002-03-18  Tom Tromey  <tromey@redhat.com>
10295
10296         * include/jni.h (JNIIMPORT): New macro.
10297         (JNIEXPORT): Likewise.
10298         (JNICALL): Likewise.
10299
10300 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10301
10302         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10303         systems.
10304
10305 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10306
10307         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10308         INIT_SEGV: Use old_i386_kernel_sigaction.
10309         INIT_FP: Likewise.
10310
10311 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10312
10313         * java/lang/natSystem.cc (init_properties): Update VM version
10314         properties.
10315         * configure.in: Set GCJVERSION.
10316         * acconfig.h: Add GCJVERSION.
10317         * configure: Rebuilt.
10318         * include/config.h.in: Rebuilt.
10319
10320 2002-03-17  Anthony Green  <green@redhat.com>
10321
10322         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10323
10324 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10325
10326         Build a single libgcj.so, without separate gc and zlib libraries.
10327         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10328         SYS_ZLIBS if system zlib is used.
10329         * configure: Rebuilt.
10330         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10331         * Makefile.in: Rebuilt.
10332         * libtool-version: Increment .so version number.
10333
10334         * Makefile.am: Escape quotes in echo.
10335         * Makefile.in: Rebuilt.
10336
10337 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10338
10339         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10340         * Makefile.in: Rebuilt.
10341
10342 2002-03-15  Anthony Green  <green@redhat.com>
10343
10344         * configure.host (FILE): New macro for specifing File
10345         implementation.
10346         * configure: Rebuilt.
10347         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10348
10349 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10350
10351         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10352         already implicitly brought in from libgcj.la.
10353         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10354         * Makefile.in: Rebuilt.
10355
10356 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10357
10358         * THANKS: Fix punctuation, alphabetization.
10359
10360 2002-03-15  Tom Tromey  <tromey@redhat.com>
10361             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10362
10363         Fix for PR libgcj/5944.
10364         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10365
10366 2002-03-15  Anthony Green  <green@redhat.com>
10367
10368         * configure.in (tool_include_dir): Define.
10369         * configure: Rebuilt.
10370         * gcj/Makefile.am: Install libgcj-config.h relative to
10371         tool_include_dir.
10372         * gcj/Makefile: Rebuilt.
10373         * gcj/libgcj-config.h: Add warning comment.
10374
10375 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10376
10377         * configure.host (powerpc*-darwin*): Enable interpreter.
10378
10379 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10380
10381         * include/posix.h: Add multiple include header protection.
10382         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10383
10384 2002-03-10  Adam Megacz <adam@xwt.org>
10385
10386         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10387
10388 2002-03-10  Tom Tromey  <tromey@redhat.com>
10389
10390         * java/awt/GridLayout.java (layoutContainer): Handle case where
10391         there are no items in container.
10392
10393         * java/lang/Win32Process.java: Added comment.
10394         * include/posix.h (_Jv_platform_close_on_exec): New function.
10395         Include fcntl.h.
10396         * include/win32.h (_Jv_platform_close_on_exec): New function.
10397         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10398         flag.
10399         (accept): Likewise.
10400         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10401         close-on-exec flag.
10402         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10403         flag.
10404
10405 2002-03-09  Tom Tromey  <tromey@redhat.com>
10406
10407         * verify.cc (state::NO_STACK): New constant.
10408         (state::is_unmerged_ret_state): Handle case where stacktop is
10409         NO_STACK.
10410         (state::merge): Handle NO_STACK merges.
10411         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10412         for instruction following jsr.
10413         (stacktop, stackdepth): Removed unused variables.
10414         (pop_jump): Ignore case where all remaining states are skipped.
10415
10416 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10417
10418         * java/awt/ImageMediaEntry: Removed.
10419         * java/awt/MediaEntry: Removed.
10420
10421 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10422
10423         Hashtable synchronization for PowerPC.
10424         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10425         slow_pthread_self. Set up symlink for sysdeps directory.
10426         * configure: Rebuild.
10427         * configure.host: Document more shell variables. Set sysdeps_dir
10428         for most platforms. Set slow_pthread_self for i686. Set
10429         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10430         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10431         that memory barrier is emitted where required.
10432         * prims.cc: 64-bit align static primitive class instances.
10433         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10434         read_barrier() to enforce ordering of reads.
10435         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10436         primitives for PowerPC.
10437         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10438         moved from natObject.cc.
10439         * sysdep/alpha/locks.h: Likewise.
10440         * sysdep/ia64/locks.h: Likewise.
10441         * sysdep/generic/locks.h: Likewise.
10442         * java/lang/natObject.cc: Move thread synchronization primitives to
10443         system-dependent headers.
10444
10445 2002-03-09  Adam Megacz  <adam@xwt.org>
10446
10447         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10448         bytes read and no failure code returned.
10449
10450 2002-03-09  Adam Megacz  <adam@xwt.org>
10451
10452         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10453         definitions to simulate -mthreads.
10454
10455 2002-03-09  Adam Megacz  <adam@xwt.org>
10456
10457         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10458         avoid precision loss.
10459
10460 2002-03-09  Per Bothner  <per@bothner.com>
10461
10462         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10463         * gnu/gcj/xlib/XImage.java:  Likewise.
10464         * gnu/gcj/xlib/XColor.java:  Likewise.
10465
10466 2002-03-09  Adam Megacz  <adam@xwt.org>
10467
10468         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10469         IOException so that Throwable.printStackTrace fails correctly.
10470
10471 2002-03-08  Adam Megacz  <adam@xwt.org>
10472
10473         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10474         fixed.
10475
10476 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10477
10478         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10479         truncated to int.
10480
10481 2002-03-08  Tom Tromey  <tromey@redhat.com>
10482
10483         * include/jni.h: Include stdio.h.
10484
10485 2002-03-08  Tom Tromey  <tromey@redhat.com>
10486
10487         * posix.cc (internal_gettimeofday): New function.
10488         (_Jv_select): Use it.
10489
10490 2002-03-07  Adam Megacz  <adam@xwt.org>
10491
10492         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10493         WIN32, and added thunks for read(), write(), and close().
10494         * java/net/natPlainSocketImpl.cc (accept, read, read):
10495         Disabled timeouts on WIN32 pending discussion.
10496
10497 2002-03-07  Adam Megacz  <adam@xwt.org>
10498
10499         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10500         returns jlong. Added implementation
10501         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10502         returns jlong.
10503         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10504         returns jlong.
10505         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10506         returns jlong.
10507         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10508         _Jv_platform_gettimeofday signature.
10509
10510 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10511
10512         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10513         (read): Call recv() directly, not _Jv_recv().
10514
10515 2002-03-06  Tom Tromey  <tromey@redhat.com>
10516
10517         * java/io/natFileDescriptorEcos.cc (init): Don't use
10518         GetStdHandle.
10519         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10520         is negative.
10521         (init): Don't use GetStdHandle.
10522
10523         * include/config.h.in: Rebuilt.
10524         * configure: Rebuilt.
10525         * Makefile.in: Rebuilt.
10526
10527 2002-03-06  Adam Megacz  <adam@xwt.org>
10528
10529         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10530         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10531         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10532         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10533
10534 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10535
10536         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10537         the code for generating include/java-chartables.h.
10538         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10539         merge with Classpath.
10540         * scripts/unicode-muncher.pl: Copy from Classpath.
10541         * scritps/MakeCharTables.java: New file.
10542         * gnu/gcj/convert/Blocks-3.txt: New file.
10543         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10544         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10545         * gnu/java/lang/CharData.java: Copy from Classpath.
10546         * Makefile.am (ordinary_java_source_files): Add
10547         gnu/java/lang/CharData.java.
10548         * configure.in: Remove --enable-fast-character option.
10549         * java/lang/Character.java: Merge algorithms and Javadoc with
10550         Classpath.
10551         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10552         efficiently.
10553         * include/java-chardecomp.h: Regenerate.
10554         * include/java-chartables.h: Regenerate.
10555
10556 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10557
10558         * java/awt/MediaTracker.java: Implemented.
10559         * Makefile.am: Add MediaTracker.
10560         * Makefile.in: Rebuilt.
10561
10562 2002-03-05  Tom Tromey  <tromey@redhat.com>
10563
10564         * java/lang/natPosixProcess.cc (fail): Removed.
10565         (startProcess): Simplified error-handling.  Preserve
10566         LD_LIBRARY_PATH across exec.
10567
10568         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10569         AbstractMethodError.
10570
10571 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10572
10573         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10574         * Makefile.in: Rebuilt.
10575
10576 2002-03-03 Mark Wielaard <mark@klomp.org>
10577
10578         * java/util/Timer (TaskQueue.stop): set elements to zero.
10579
10580 2002-02-28  Anthony Green  <green@redhat.com>
10581
10582         * java/lang/reflect/natMethod.cc (result): Add void* element.
10583         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10584         constructor test.
10585
10586 2002-02-27  Adam Megacz <adam@xwt.org>
10587
10588         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10589         '#undef STRICT'.
10590
10591 2002-02-26  Tom Tromey  <tromey@redhat.com>
10592
10593         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10594         * gij.cc (version): Use __VERSION__.
10595         * include/config.h.in: Rebuilt.
10596         * acconfig.h (GCJVERSION): Removed.
10597         * configure: Rebuilt.
10598         * configure.in (GCJVERSION): Removed.
10599
10600 2002-02-26  Andreas Schwab  <schwab@suse.de>
10601
10602         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10603         glibcpp_CXX, since libjava uses even another CXX.
10604         * aclocal.m4, configure: Regenerated.
10605
10606 2002-02-26  Tom Tromey  <tromey@redhat.com>
10607
10608         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10609         `1'.
10610
10611 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10612
10613         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10614         dependency tracking for .java files.
10615         * Makefile.in: Rebuilt.
10616
10617 2002-02-24  Adam Megacz  <adam@xwt.org>
10618
10619         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10620         typo. Sorry.
10621
10622 2002-02-24  Adam Megacz  <adam@xwt.org>
10623
10624         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10625         for Win32, changed #ifdefs to check WIN32 instead of the
10626         (now-obsolete) USE_WINSOCK, and removed support for socket
10627         timeouts on Win32 pending further discussion.
10628
10629 2002-02-24  Adam Megacz  <adam@xwt.org>
10630
10631         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10632         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10633         delete
10634
10635 2002-02-24  Adam Megacz  <adam@xwt.org>
10636
10637         * java/lang/Win32Process.java: Created a dummy class to allow
10638         build process to run to completion.
10639
10640 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10641
10642         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10643         Define ffi_result union for ffi_call result.  Cast
10644         ffi_result members to jvalue.
10645
10646 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10647
10648         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10649         * testsuite/Makefile.in: Likewise.
10650
10651 2002-02-20  Per Bothner  <per@bothner.com>
10652
10653         * java/net/URL.java (getPath):  New JDK 1.3 method.
10654
10655         * java/net/URLStreamHandler.java (parseURL):
10656         It is wrong to prepend '/' to the file part of a relative url.
10657
10658         * java/net/URLStreamHandler.java (parseURL):
10659         Minor optizations - append '/' rather than "/".
10660
10661         * java/net/URLStreamHandler.java (parseURL):
10662         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10663         We probably should canonicalize for a context-relative url, though.
10664         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10665         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10666         (sameFile):  New method.  Uses canonicalizeFilename.
10667
10668 2002-02-22  Tom Tromey  <tromey@redhat.com>
10669
10670         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10671         java.vendor and java.vm.vendor.
10672         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10673         recent copyright date.
10674         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10675         * gij.cc (version): Print `Inc'.
10676
10677 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10678
10679         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10680         * aclocal.m4, configure: Rebuilt.
10681
10682 2002-02-20  Per Bothner  <per@bothner.com>
10683
10684         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10685         and/or output streams immediately here, instead of using File.exists.
10686         (inputStream, outputStream):  New fields to save open streams.
10687         (getInputStream, getOutputStream):  Use already-opened streams.
10688
10689 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10690
10691         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10692         Use it.
10693         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10694         * aclocal.m4, configure, Makefile.in: Rebuilt.
10695
10696 2002-02-19  Tom Tromey  <tromey@redhat.com>
10697
10698         Fix for PR libgcj/5696:
10699         * verify.cc (is_assignable_from_slow): Never call
10700         _Jv_IsAssignableFrom.
10701         (verify_instructions_0): Added new debug statement.
10702         (state::print): Print information about whether local has
10703         changed.
10704         (state::merge): Don't call note_variable when merging locals.
10705         (state::set_exception): Removed old FIXME comment.
10706
10707 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10708
10709         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10710         enable SO_BROADCAST.
10711
10712 2002-02-18  Jason Merrill  <jason@redhat.com>
10713
10714         * name-finder.cc (toHex): Use word mode, not long long.
10715
10716         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10717
10718 2002-02-15  Tom Tromey  <tromey@redhat.com>
10719
10720         Fix for PR libgcj/5695:
10721         * verify.cc (is_assignable_from_slow): Check to see if target is
10722         an Object before checking to see if source is an interface.
10723         (verify_instructions_0) [op_invokeinterface]: Handle case where
10724         we're making an interface call on Object.
10725
10726 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10727
10728         * Makefile.in: Rebuilt with Eric's change below.
10729
10730         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10731         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10732         Removed functions which are now implemented in Math.java.
10733
10734 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10735
10736         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10737         * Makefile.am (core_java_source_files): Add
10738         java/lang/StrictMath.java.
10739         * java/lang/Math.java: Merge with Classpath.
10740         * java/lang/StrictMath.java: New file - merge with Classpath.
10741
10742 2002-02-14  Mark Wielaard  <mark@klomp.org>
10743
10744         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10745         package as a workaround for gcj 3.0.x
10746
10747 2002-02-14  Mark Wielaard <mark@klomp.org>
10748
10749         * java/security/BasicPermission.java: extends with fully qualified
10750         classname as workaround for gcj 3.0.4.
10751
10752 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10753
10754         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10755         around gcj bug of wrong emitted qualifier for inherited method.
10756         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10757         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10758         constructor to reduce amount of emitted bytecode. While this
10759         happens to work around a jikes 1.15 bug, it is still a useful
10760         patch even for correct compilers.
10761         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10762         * gnu/java/rmi/server/UnicastRemoteCall.java
10763         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10764
10765 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10766
10767         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10768         * java/net/SocketImpl.java: Ditto.
10769         * java/rmi/server/RMIClassLoader.java: Ditto.
10770         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10771
10772 2002-02-14  Mark Wielaard <mark@klomp.org>
10773
10774         Thanks to Takashi Okamoto
10775         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10776         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10777         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10778
10779 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10780
10781         Fix for PR libgcj/5670:
10782         * verify.cc (is_assignable_from_slow): If `source' is interface,
10783         recursively look for merge with `target'.
10784
10785 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10786
10787         * include/jni.h: Fix typo.
10788
10789 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10790
10791         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10792         correctly.
10793
10794 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10795
10796         Fix for PR libgcj/5671:
10797         * verify.cc (state::merge): Handle case where we're merging
10798         against an interface.
10799
10800 2002-02-12  Tom Tromey  <tromey@redhat.com>
10801
10802         * exception.cc (std::abort): Mark as noreturn.
10803
10804 2002-02-12  Adam Megacz <adam@xwt.org>
10805
10806         * java/lang/Win32Process.java: Filled in a placeholder
10807         implementation so Win32 will build.
10808
10809 2002-02-12  Adam Megacz <adam@xwt.org>
10810
10811         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10812         * java/io/natFile.cc: Removed from repository.
10813         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10814
10815 2002-02-12  Adam Megacz <adam@xwt.org>
10816
10817         * win32.cc: Added two #includes to make win32.cc compile.
10818
10819 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10820
10821         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10822         declarations.
10823         (_Jv_InitGC): Don't bother locking, as this is always called from a
10824         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10825
10826 2002-02-11  Adam Megacz <adam@xwt.org>
10827
10828         * include/win32.h: Added _Jv_platform_gettimeofday.
10829         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10830
10831 2002-02-11  Adam Megacz <adam@xwt.org>
10832
10833         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10834         Added #undef STRICT to make windows.h and
10835         java/lang/reflect/Modifier.h cooperate.
10836
10837 2002-02-11  Adam Megacz <adam@xwt.org>
10838
10839         * java/io/natFileWin32.cc: Created a placeholder class with lots
10840         of FIXMEs.
10841
10842 2002-02-11  Adam Megacz <adam@xwt.org>
10843
10844         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10845         std::abort() to simply abort(). Also added "fake" std::abort() so
10846         we can #include unwind-pe.h without having to link against
10847         libstdc++-v3.
10848
10849 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10850
10851         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10852
10853 2002-02-08  Tom Tromey  <tromey@redhat.com>
10854
10855         * interpret.cc (convert): New function.
10856         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10857         convert.
10858         Include Long.h.
10859
10860 2002-02-08  Anthony Green  <green@redhat.com>
10861
10862         * configure.host: Add support for xscale-elf embedded target.
10863
10864 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10865
10866         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10867         dereferenced.
10868         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10869         frame.
10870
10871 2002-02-07  Tom Tromey  <tromey@redhat.com>
10872
10873         * java/io/natFile.cc (_access): Use __builtin_alloca.
10874         (_stat): Likewise.
10875         (attr): Likewise.
10876         (getCanonicalPath): Likewise.
10877         (performList): Likewise.
10878         (performMkdir): Likewise.
10879         (performSetReadOnly): Likewise.
10880         (performRenameTo): Likewise.
10881         (performSetLastModified): Likewise.
10882         (performCreate): Likewise.
10883         (performDelete): Likewise.
10884
10885 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10886
10887         * HACKING: Fix URL for the automake-gcj.
10888
10889 2002-02-07  Tom Tromey  <tromey@redhat.com>
10890
10891         * java/lang/natThrowable.cc: Updated copyright.
10892         * java/io/natFileWin32.cc: Updated copyright.
10893         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10894         * win32-threads.cc: Updated copyright.
10895         * name-finder.cc: Updated copyright.
10896         * include/name-finder.h: Updated copyright.
10897
10898         * include/name-finder.h: Conditionally include sys/wait.h.
10899         * include/config.h.in: Rebuilt.
10900
10901         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10902         Size buffer based on real size of string.
10903         (_stat): Likewise.
10904         (attr): Likewise.
10905         (getCanonicalPath): Likewise.
10906         (performList): Likewise.
10907         (performMkdir): Likewise.
10908         (performSetReadOnly): Likewise.
10909         (unixroot): Removed.
10910         (performRenameTo): Likewise.
10911         (performSetLastModified): Likewise.
10912         (performCreate): Likewise.
10913         (performDelete): Likewise.
10914         (performListRoots): Always return new array.
10915
10916         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10917         * win32.cc (win32_exception_handler): Now static.
10918         * include/win32.h (_Jv_platform_initialize): Declare.
10919         (win32_exception_handler): Don't declare.
10920         * java/lang/natSystem.cc (currentTimeMillis): Use
10921         _Jv_platform_gettimeofday.
10922         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10923         (_Jv_select): Use new name.
10924         (_Jv_platform_initialize): New function.
10925         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10926         _Jv_gettimeofday.
10927         (_Jv_platform_initialize): Declare.
10928
10929         * configure: Rebuilt.
10930         * configure.in: Removed unnecessary parens.
10931
10932 2002-02-06  Adam Megacz <adam@xwt.org>
10933
10934        * configure.in: Changed mingw) to *mingw*).
10935        * win32.cc: Created this file.
10936        * win32.h: Created this file.
10937        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10938        win32_exception_handler from prims.cc to win32.cc, added
10939        header in win32.h.
10940        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10941        longer needed now that we have platform.h
10942
10943 2002-02-06  Adam Megacz <adam@xwt.org>
10944
10945         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10946         use uint<n>_t instead of LONG and BYTE
10947
10948 2002-02-06  Adam Megacz <adam@xwt.org>
10949
10950         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10951
10952 2002-02-06  Anthony Green  <green@redhat.com>
10953
10954         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10955         Implement missing method stubs.
10956         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10957         targets.
10958         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10959         concept of timezones.
10960         (init_properties): Don't refer to _Jv_Environment_Properties
10961         when this feature is not available.
10962         * include/config.h.in: Rebuilt.
10963         * acconfig.h: Add DISABLE_MAIN_ARGS.
10964         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10965         * configure: Rebuilt.
10966         * configure.in: Add --disable-main-args option.  Test for
10967           opendir function.  Replace AC_CHECK_SIZEOF with
10968           AC_COMPILE_CHECK_SIZEOF.
10969         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10970         * aclocal.m4: Rebuilt.
10971         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10972
10973 2002-02-06  Tom Tromey  <tromey@redhat.com>
10974
10975         * verify.cc (require_array_type): If argument is a null array of
10976         references, return null as the element type.
10977
10978 2002-02-06  Mark Wielaard  <mark@klomp.org>
10979
10980         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10981         duplicate of a wide type.
10982
10983 2002-02-06  Tom Tromey  <tromey@redhat.com>
10984
10985         * verify.cc (type::isnull): New method.
10986         (require_array_type): Handle case where array is null.
10987         (verify_instructions_0) [op_arraylength]: Likewise.
10988
10989 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10990
10991         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10992         Symlink PLATFORMH to platform.h.
10993         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10994         PLATFORMOBJS.
10995         * java/lang/natSystem.cc: #include platform.h not posix.h.
10996         * Makefile.in: Rebuilt with libgcj automake.
10997         * configure: Rebuilt.
10998
10999 2002-02-05  Richard Henderson  <rth@redhat.com>
11000
11001         * Makefile.in: Undo munging last change.
11002
11003 2002-02-04  Adam Megacz <adam@xwt.org>
11004
11005         * win32.cc: Created it.
11006         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11007         which is set to posix.cc or win32.cc.
11008         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11009
11010 2002-02-04  Adam Megacz <adam@xwt.org>
11011
11012         * configure.in: Corrected mingw case branches; added * before
11013         and after.
11014
11015 2002-02-04  Adam Megacz <adam@xwt.org>
11016
11017         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11018         if compiling for win32
11019
11020 2002-02-04  Adam Megacz <adam@xwt.org>
11021
11022         * win32-threads.cc: #undef STRICT after gc.h inclusion
11023
11024 2002-02-02  Tom Tromey  <tromey@redhat.com>
11025
11026         * Makefile.in: Rebuilt.
11027
11028 2002-02-02  Jason Merrill  <jason@redhat.com>
11029
11030         * Makefile.am (clean-nat): New target.
11031
11032 2002-02-02  Tom Tromey  <tromey@redhat.com>
11033
11034         * java/io/natFile.cc: Removed old "FIXME" comments.
11035
11036 2002-02-01  Tom Tromey  <tromey@redhat.com>
11037
11038         * java/lang/natPosixProcess.cc (myclose): New function.
11039         (fail): Use it.
11040         (startProcess): Likewise.
11041
11042 2002-02-01  Adam Megacz <adam@xwt.org>
11043
11044         * prims.cc: Added #undef STRICT after #include<windows.h>.
11045
11046 2002-02-01  Adam Megacz <adam@xwt.org>
11047
11048         * prims.cc
11049         (_Jv_CreateJavaVM): We now use WIN32 instead of
11050         USE_WIN32_SIGNALLING and USE_WINSOCK.
11051         (win32_exception_handler): Now throws an exception out of
11052         the signal handler; assumes SJLJ.
11053
11054 2002-02-01  Adam Megacz <adam@xwt.org>
11055
11056         * win32-threads.cc:
11057         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11058         wait() algorithm to make it safe.
11059         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11060         Added lazy creation of Win32 Events for better performance
11061         (really_start): This now uses GC_CreateThread so boehm-gc
11062         knows about new threads even when statically linked.
11063
11064 2002-02-01  Adam Megacz <adam@xwt.org>
11065
11066         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11067         enable safer wait() algorithm.
11068         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11069         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11070         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11071         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11072         instead of mutex.
11073         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11074
11075 2002-02-01  Adam Megacz <adam@xwt.org>
11076
11077         * configure.in: Added support for mingw.
11078         * java/lang/Win32Process.java: Created as empty file.
11079         * java/lang/natWin32Process.cc: Created as empty file.
11080
11081 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11082
11083         PR java/4972
11084         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11085         for libiconv in LIBICONV variable.
11086         * configure: Regenerated.
11087
11088 2002-01-31  Tom Tromey  <tromey@redhat.com>
11089
11090         * verify.cc (state::enter_subroutine): New method.
11091         (handle_jsr_insn): Use it.
11092         (state::merge): When processing a `ret', correctly use
11093         subroutine's state to determine which local variables have
11094         changed.
11095         (push_exception_jump): Don't let stack overflow.
11096
11097 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11098
11099         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11100         --version output.
11101
11102 2002-01-30  Tom Tromey  <tromey@redhat.com>
11103
11104         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11105         parameter for `recv' return type.
11106
11107         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11108         (state::merge): ... not here.
11109         (subr_entry_info): New structure.
11110         (entry_points): New field.
11111         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11112         entry_points.
11113
11114 2002-01-29  Tom Tromey  <tromey@redhat.com>
11115
11116         * java/awt/List.java (addNotify): Correctly check to see if peer
11117         does not exist.
11118
11119         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11120         to compute height of each cell, and number of columns to compute
11121         width of each cell.
11122         * java/awt/Window.java (getOwnedWindows): Don't return null.
11123         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11124         of component.  Increment x using horizontal gap, not vertical
11125         gap.
11126
11127 2002-01-28  Tom Tromey  <tromey@redhat.com>
11128
11129         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11130         `nargs' byte is number of words, not number of arguments.
11131
11132 2002-01-27  Tom Tromey  <tromey@redhat.com>
11133
11134         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11135         (when): Likewise.
11136         * java/awt/event/InputEvent.java (modifiers, when): Now
11137         package-private.
11138
11139         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11140         and to-do list.
11141         (state::merge): Use current class' class loader.
11142         (state::print): Print subroutine.
11143         (state::merge): Don't look at subroutine of unmerged `ret'.
11144
11145 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11146
11147         * nogc.cc: Remove warnings.
11148         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11149         New functions.
11150
11151 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11152
11153         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11154         int, int):  Remove empty "if" statement to work around compiler bug.
11155         (newPixels(int[], ColorModel, int, int): Likewise.
11156
11157 2002-01-25  Per Bothner  <per@bothner.com>
11158
11159         * verify.cc (verify_fail):  Change from being a top-level function
11160         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11161         Pass the current verifier to type: and state: methods as needed,
11162         for better error messages, and for resolve.
11163         (resolve):  Pass current class's loader for Class.forName and
11164         _Jv_FindClassFromSignature, rather than using the default loader.
11165         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11166         (get_type_val_for_signature):  Make non-static.
11167         (various methods):  Pass start_PC implicitly, not explicitly.
11168
11169 2002-01-25  Tom Tromey  <tromey@redhat.com>
11170
11171         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11172         loop termination condition.
11173         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11174         width.
11175
11176 2002-01-24  Tom Tromey  <tromey@redhat.com>
11177
11178         * java/awt/Shape.java: Merged with Classpath.
11179         * java/awt/Scrollbar.java: Merged with Classpath.
11180
11181         * java/awt/Container.java (addNotify): Unconditionally call
11182         addNotifyContainerChildren and superclass addNotify.
11183
11184         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11185         getAlpha, not getBlue.
11186
11187 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11188
11189         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11190
11191         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11192         (grabPixels(long)): Wait to be notified that the ImageProducer has
11193         completed.
11194
11195 2002-01-24  Per Bothner  <per@bothner.com>
11196
11197         * verify.cc (is_assignable_from_slow): If target is an interface,
11198         we must still check the source's superclass before giving up.
11199
11200 2002-01-24  Tom Tromey  <tromey@redhat.com>
11201
11202         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11203
11204 2002-01-23  Tom Tromey  <tromey@redhat.com>
11205
11206         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11207         `else'.
11208
11209         * Makefile.in: Rebuilt.
11210         * Makefile.am (awt_java_source_files): Added new files.
11211         * java/awt/Toolkit.java: Merged with Classpath.
11212         * java/awt/PrintGraphics.java: New file from Classpath.
11213         * java/awt/PrintJob.java: New file from Classpath.
11214         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11215         * java/awt/datatransfer/ClipboardOwner.java: New file from
11216         Classpath.
11217         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11218         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11219         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11220         Classpath.
11221         * java/awt/datatransfer/StringSelection.java: New file from
11222         Classpath.
11223         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11224         Classpath.
11225         * java/awt/datatransfer/Transferable.java: New file from
11226         Classpath.
11227         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11228         from Classpath.
11229
11230         * Makefile.in: Rebuilt.
11231         * Makefile.am (awt_java_source_files): Added new files.
11232         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11233         Classpath.
11234         * java/awt/image/CropImageFilter.java: New file from Classpath.
11235         * java/awt/image/FilteredImageSource.java: New file from
11236         Classpath.
11237         * java/awt/image/ImageFilter.java: New file from Classpath.
11238         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11239         * java/awt/image/PixelGrabber.java: New file from Classpath.
11240         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11241         * java/awt/image/ReplicateScaleFilter.java: New file from
11242         Classpath.
11243         * java/awt/image/ImageProducer.java: Replaced with Classpath
11244         version.
11245         * java/awt/image/ImageObserver.java: Replaced with Classpath
11246         version.
11247         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11248         version.
11249         * java/awt/GridBagConstraints.java (clone): Catch
11250         CloneNotSupportedException.
11251
11252 2002-01-23  Per Bothner  <per@bothner.com>
11253
11254         * java/lang/reflect/natField.cc (setAddr):  New function.
11255         Calls getAddr and then checks that the field isn't final.
11256         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11257         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11258         (set):  Call setAddr before check that new value has right type,
11259         to better match specified semantics.
11260
11261 2002-01-22  Tom Tromey  <tromey@redhat.com>
11262
11263         * java/awt/TextField.java: Replaced with Classpath version.
11264         * java/awt/TextArea.java: Replaced with Classpath version.
11265         * java/awt/TextComponent.java: Replaced with Classpath version.
11266
11267         * java/awt/GridBagConstraints.java: Updated copyright.
11268
11269 2002-01-22  Mark Wielaard <mark@klomp.org>
11270
11271         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11272         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11273         java/awt/Dialog.java java/awt/FileDialog.java
11274         java/awt/Font.java java/awt/FontMetrics.java
11275         java/awt/Image.java java/awt/ImageMediaEntry.java
11276         java/awt/Insets.java java/awt/List.java
11277         java/awt/MediaEntry.java java/awt/MediaTracker.java
11278         java/awt/Menu.java java/awt/MenuBar.java
11279         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11280         java/awt/PaintContext.java java/awt/Panel.java
11281         java/awt/PopupMenu.java java/awt/SystemColor.java
11282         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11283         java/awt/peer/CheckboxMenuItemPeer.java
11284         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11285         java/awt/peer/ComponentPeer.java
11286         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11287         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11288         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11289         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11290         java/awt/peer/MenuBarPeer.java
11291         java/awt/peer/MenuComponentPeer.java
11292         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11293         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11294         java/awt/peer/ScrollPanePeer.java
11295         java/awt/peer/ScrollbarPeer.java
11296         java/awt/peer/TextAreaPeer.java
11297         java/awt/peer/TextComponentPeer.java
11298         java/awt/peer/TextFieldPeer.java
11299         java/awt/peer/WindowPeer.java: Add license clarification.
11300
11301 2002-01-22  Mark Wielaard <mark@klomp.org>
11302
11303         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11304         gnu/gcj/runtime/StringBuffer.java
11305         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11306         gnu/java/awt/ComponentDataBlitOp.java
11307         gnu/java/awt/GLightweightPeer.java
11308         gnu/java/beans/BeanInfoEmbryo.java
11309         gnu/java/beans/EmptyBeanInfo.java
11310         gnu/java/beans/ExplicitBeanInfo.java
11311         gnu/java/beans/IntrospectionIncubator.java
11312         gnu/java/beans/editors/ColorEditor.java
11313         gnu/java/beans/editors/FontEditor.java
11314         gnu/java/beans/editors/NativeBooleanEditor.java
11315         gnu/java/beans/editors/NativeByteEditor.java
11316         gnu/java/beans/editors/NativeDoubleEditor.java
11317         gnu/java/beans/editors/NativeFloatEditor.java
11318         gnu/java/beans/editors/NativeIntEditor.java
11319         gnu/java/beans/editors/NativeLongEditor.java
11320         gnu/java/beans/editors/NativeShortEditor.java
11321         gnu/java/beans/editors/StringEditor.java
11322         gnu/java/beans/info/ComponentBeanInfo.java
11323         gnu/java/io/ClassLoaderObjectInputStream.java
11324         gnu/java/io/NullOutputStream.java
11325         gnu/java/io/ObjectIdentityWrapper.java
11326         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11327         gnu/java/lang/reflect/TypeSignature.java
11328         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11329         gnu/java/locale/Calendar_en.java
11330         gnu/java/locale/Calendar_nl.java
11331         gnu/java/locale/LocaleInformation.java
11332         gnu/java/locale/LocaleInformation_de.java
11333         gnu/java/locale/LocaleInformation_en.java
11334         gnu/java/locale/LocaleInformation_nl.java
11335         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11336         gnu/java/rmi/registry/RegistryImpl.java
11337         gnu/java/rmi/rmic/Compile_gcj.java
11338         gnu/java/rmi/rmic/Compiler.java
11339         gnu/java/rmi/rmic/CompilerProcess.java
11340         gnu/java/rmi/rmic/RMIC.java
11341         gnu/java/rmi/rmic/TabbedWriter.java
11342         gnu/java/rmi/server/ProtocolConstants.java
11343         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11344         gnu/java/rmi/server/RMIHashes.java
11345         gnu/java/rmi/server/RMIObjectInputStream.java
11346         gnu/java/rmi/server/RMIObjectOutputStream.java
11347         gnu/java/rmi/server/UnicastConnection.java
11348         gnu/java/rmi/server/UnicastConnectionManager.java
11349         gnu/java/rmi/server/UnicastRef.java
11350         gnu/java/rmi/server/UnicastRemoteCall.java
11351         gnu/java/rmi/server/UnicastRemoteStub.java
11352         gnu/java/rmi/server/UnicastServer.java
11353         gnu/java/rmi/server/UnicastServerRef.java
11354         gnu/java/security/provider/DefaultPolicy.java
11355         gnu/java/security/provider/Gnu.java
11356         gnu/java/security/provider/SHA.java
11357         gnu/java/security/provider/SHA1PRNG.java
11358         gnu/java/text/BaseBreakIterator.java
11359         gnu/java/text/CharacterBreakIterator.java
11360         gnu/java/text/LineBreakIterator.java
11361         gnu/java/text/SentenceBreakIterator.java
11362         gnu/java/text/WordBreakIterator.java
11363         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11364         java/applet/AppletContext.java java/applet/AppletStub.java
11365         java/applet/AudioClip.java java/awt/AWTError.java
11366         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11367         java/awt/AWTException.java java/awt/AWTPermission.java
11368         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11369         java/awt/Button.java java/awt/Canvas.java
11370         java/awt/CardLayout.java java/awt/Checkbox.java
11371         java/awt/CheckboxGroup.java java/awt/Component.java
11372         java/awt/ComponentOrientation.java java/awt/Container.java
11373         java/awt/Dimension.java java/awt/Event.java
11374         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11375         java/awt/FlowLayout.java java/awt/Frame.java
11376         java/awt/Graphics.java java/awt/Graphics2D.java
11377         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11378         java/awt/IllegalComponentStateException.java
11379         java/awt/ItemSelectable.java java/awt/Label.java
11380         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11381         java/awt/MenuComponent.java java/awt/MenuItem.java
11382         java/awt/Paint.java java/awt/Point.java
11383         java/awt/Rectangle.java java/awt/RenderingHints.java
11384         java/awt/Transparency.java java/awt/Window.java
11385         java/awt/color/ColorSpace.java
11386         java/awt/color/ICC_ColorSpace.java
11387         java/awt/color/ICC_Profile.java
11388         java/awt/event/HierarchyBoundsAdapter.java
11389         java/awt/event/HierarchyBoundsListener.java
11390         java/awt/event/HierarchyEvent.java
11391         java/awt/event/HierarchyListener.java
11392         java/awt/geom/AffineTransform.java
11393         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11394         java/awt/geom/IllegalPathStateException.java
11395         java/awt/geom/Line2D.java
11396         java/awt/geom/NoninvertibleTransformException.java
11397         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11398         java/awt/geom/Rectangle2D.java
11399         java/awt/geom/RectangularShape.java
11400         java/awt/geom/RoundRectangle2D.java
11401         java/awt/image/BufferedImage.java
11402         java/awt/image/ColorModel.java
11403         java/awt/image/ComponentColorModel.java
11404         java/awt/image/ComponentSampleModel.java
11405         java/awt/image/DataBuffer.java
11406         java/awt/image/DataBufferByte.java
11407         java/awt/image/DataBufferInt.java
11408         java/awt/image/DataBufferUShort.java
11409         java/awt/image/DirectColorModel.java
11410         java/awt/image/PackedColorModel.java
11411         java/awt/image/Raster.java java/awt/image/RasterOp.java
11412         java/awt/image/SampleModel.java
11413         java/awt/image/SinglePixelPackedSampleModel.java
11414         java/awt/image/WritableRaster.java
11415         java/beans/AppletInitializer.java
11416         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11417         java/beans/Beans.java java/beans/Customizer.java
11418         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11419         java/beans/FeatureDescriptor.java
11420         java/beans/IndexedPropertyDescriptor.java
11421         java/beans/IntrospectionException.java
11422         java/beans/Introspector.java java/beans/MethodDescriptor.java
11423         java/beans/ParameterDescriptor.java
11424         java/beans/PropertyChangeEvent.java
11425         java/beans/PropertyChangeListener.java
11426         java/beans/PropertyChangeSupport.java
11427         java/beans/PropertyDescriptor.java
11428         java/beans/PropertyEditor.java
11429         java/beans/PropertyEditorManager.java
11430         java/beans/PropertyEditorSupport.java
11431         java/beans/PropertyVetoException.java
11432         java/beans/SimpleBeanInfo.java
11433         java/beans/VetoableChangeListener.java
11434         java/beans/VetoableChangeSupport.java
11435         java/beans/Visibility.java
11436         java/beans/beancontext/BeanContext.java
11437         java/beans/beancontext/BeanContextChild.java
11438         java/beans/beancontext/BeanContextChildComponentProxy.java
11439         java/beans/beancontext/BeanContextChildSupport.java
11440         java/beans/beancontext/BeanContextContainerProxy.java
11441         java/beans/beancontext/BeanContextEvent.java
11442         java/beans/beancontext/BeanContextMembershipEvent.java
11443         java/beans/beancontext/BeanContextMembershipListener.java
11444         java/beans/beancontext/BeanContextProxy.java
11445         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11446         java/beans/beancontext/BeanContextServiceProvider.java
11447         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11448         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11449         java/beans/beancontext/BeanContextServiceRevokedListener.java
11450         java/beans/beancontext/BeanContextServices.java
11451         java/beans/beancontext/BeanContextServicesListener.java
11452         java/io/BufferedInputStream.java
11453         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11454         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11455         java/io/ByteArrayOutputStream.java
11456         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11457         java/io/CharConversionException.java java/io/DataInput.java
11458         java/io/DataInputStream.java java/io/DataOutput.java
11459         java/io/EOFException.java java/io/Externalizable.java
11460         java/io/FileFilter.java java/io/FileNotFoundException.java
11461         java/io/FilePermission.java java/io/FileReader.java
11462         java/io/FileWriter.java java/io/FilenameFilter.java
11463         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11464         java/io/FilterReader.java java/io/FilterWriter.java
11465         java/io/IOException.java java/io/InputStream.java
11466         java/io/InterruptedIOException.java
11467         java/io/InvalidClassException.java
11468         java/io/InvalidObjectException.java
11469         java/io/NotActiveException.java
11470         java/io/NotSerializableException.java java/io/ObjectInput.java
11471         java/io/ObjectInputStream.java
11472         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11473         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11474         java/io/ObjectStreamConstants.java
11475         java/io/ObjectStreamException.java
11476         java/io/ObjectStreamField.java
11477         java/io/OptionalDataException.java java/io/OutputStream.java
11478         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11479         java/io/PipedReader.java java/io/PipedWriter.java
11480         java/io/PrintWriter.java java/io/PushbackInputStream.java
11481         java/io/PushbackReader.java java/io/Reader.java
11482         java/io/SequenceInputStream.java java/io/Serializable.java
11483         java/io/SerializablePermission.java
11484         java/io/StreamCorruptedException.java
11485         java/io/StreamTokenizer.java
11486         java/io/StringBufferInputStream.java java/io/StringReader.java
11487         java/io/StringWriter.java java/io/SyncFailedException.java
11488         java/io/UTFDataFormatException.java
11489         java/io/UnsupportedEncodingException.java
11490         java/io/WriteAbortedException.java java/io/Writer.java
11491         java/lang/AbstractMethodError.java
11492         java/lang/ArithmeticException.java
11493         java/lang/ArrayIndexOutOfBoundsException.java
11494         java/lang/ArrayStoreException.java java/lang/Boolean.java
11495         java/lang/Byte.java java/lang/CharSequence.java
11496         java/lang/ClassCastException.java
11497         java/lang/ClassCircularityError.java
11498         java/lang/ClassFormatError.java
11499         java/lang/ClassNotFoundException.java
11500         java/lang/CloneNotSupportedException.java
11501         java/lang/Cloneable.java java/lang/Comparable.java
11502         java/lang/Compiler.java java/lang/Double.java
11503         java/lang/Error.java java/lang/Exception.java
11504         java/lang/ExceptionInInitializerError.java
11505         java/lang/Float.java java/lang/IllegalAccessError.java
11506         java/lang/IllegalAccessException.java
11507         java/lang/IllegalArgumentException.java
11508         java/lang/IllegalMonitorStateException.java
11509         java/lang/IllegalStateException.java
11510         java/lang/IllegalThreadStateException.java
11511         java/lang/IncompatibleClassChangeError.java
11512         java/lang/IndexOutOfBoundsException.java
11513         java/lang/InheritableThreadLocal.java
11514         java/lang/InstantiationError.java
11515         java/lang/InstantiationException.java java/lang/Integer.java
11516         java/lang/InternalError.java
11517         java/lang/InterruptedException.java
11518         java/lang/LinkageError.java java/lang/Long.java
11519         java/lang/NegativeArraySizeException.java
11520         java/lang/NoClassDefFoundError.java
11521         java/lang/NoSuchFieldError.java
11522         java/lang/NoSuchFieldException.java
11523         java/lang/NoSuchMethodError.java
11524         java/lang/NoSuchMethodException.java
11525         java/lang/NullPointerException.java java/lang/Number.java
11526         java/lang/NumberFormatException.java
11527         java/lang/OutOfMemoryError.java java/lang/Package.java
11528         java/lang/Process.java java/lang/Runnable.java
11529         java/lang/RuntimeException.java
11530         java/lang/RuntimePermission.java
11531         java/lang/SecurityException.java
11532         java/lang/SecurityManager.java java/lang/Short.java
11533         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11534         java/lang/StringIndexOutOfBoundsException.java
11535         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11536         java/lang/ThreadLocal.java java/lang/UnknownError.java
11537         java/lang/UnsatisfiedLinkError.java
11538         java/lang/UnsupportedClassVersionError.java
11539         java/lang/UnsupportedOperationException.java
11540         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11541         java/lang/Void.java java/lang/ref/PhantomReference.java
11542         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11543         java/lang/ref/SoftReference.java
11544         java/lang/ref/WeakReference.java
11545         java/lang/reflect/AccessibleObject.java
11546         java/lang/reflect/InvocationTargetException.java
11547         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11548         java/lang/reflect/ReflectPermission.java
11549         java/math/BigDecimal.java java/math/BigInteger.java
11550         java/net/Authenticator.java java/net/BindException.java
11551         java/net/ConnectException.java java/net/ContentHandler.java
11552         java/net/ContentHandlerFactory.java
11553         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11554         java/net/FileNameMap.java java/net/MalformedURLException.java
11555         java/net/MulticastSocket.java java/net/NetPermission.java
11556         java/net/NoRouteToHostException.java
11557         java/net/PasswordAuthentication.java
11558         java/net/ProtocolException.java java/net/ServerSocket.java
11559         java/net/Socket.java java/net/SocketException.java
11560         java/net/SocketImpl.java java/net/SocketImplFactory.java
11561         java/net/SocketOptions.java java/net/SocketPermission.java
11562         java/net/URLDecoder.java java/net/URLEncoder.java
11563         java/net/URLStreamHandlerFactory.java
11564         java/net/UnknownHostException.java
11565         java/net/UnknownServiceException.java
11566         java/rmi/AccessException.java
11567         java/rmi/AlreadyBoundException.java
11568         java/rmi/ConnectException.java
11569         java/rmi/ConnectIOException.java
11570         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11571         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11572         java/rmi/NotBoundException.java
11573         java/rmi/RMISecurityException.java
11574         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11575         java/rmi/RemoteException.java java/rmi/ServerError.java
11576         java/rmi/ServerException.java
11577         java/rmi/ServerRuntimeException.java
11578         java/rmi/StubNotFoundException.java
11579         java/rmi/UnexpectedException.java
11580         java/rmi/UnknownHostException.java
11581         java/rmi/UnmarshalException.java
11582         java/rmi/activation/Activatable.java
11583         java/rmi/activation/ActivateFailedException.java
11584         java/rmi/activation/ActivationDesc.java
11585         java/rmi/activation/ActivationException.java
11586         java/rmi/activation/ActivationGroup.java
11587         java/rmi/activation/ActivationGroupDesc.java
11588         java/rmi/activation/ActivationGroupID.java
11589         java/rmi/activation/ActivationID.java
11590         java/rmi/activation/ActivationInstantiator.java
11591         java/rmi/activation/ActivationMonitor.java
11592         java/rmi/activation/ActivationSystem.java
11593         java/rmi/activation/Activator.java
11594         java/rmi/activation/UnknownGroupException.java
11595         java/rmi/activation/UnknownObjectException.java
11596         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11597         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11598         java/rmi/registry/Registry.java
11599         java/rmi/registry/RegistryHandler.java
11600         java/rmi/server/ExportException.java
11601         java/rmi/server/LoaderHandler.java
11602         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11603         java/rmi/server/Operation.java
11604         java/rmi/server/RMIClassLoader.java
11605         java/rmi/server/RMIClientSocketFactory.java
11606         java/rmi/server/RMIFailureHandler.java
11607         java/rmi/server/RMIServerSocketFactory.java
11608         java/rmi/server/RMISocketFactory.java
11609         java/rmi/server/RemoteCall.java
11610         java/rmi/server/RemoteObject.java
11611         java/rmi/server/RemoteRef.java
11612         java/rmi/server/RemoteServer.java
11613         java/rmi/server/RemoteStub.java
11614         java/rmi/server/ServerCloneException.java
11615         java/rmi/server/ServerNotActiveException.java
11616         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11617         java/rmi/server/SkeletonMismatchException.java
11618         java/rmi/server/SkeletonNotFoundException.java
11619         java/rmi/server/SocketSecurityException.java
11620         java/rmi/server/UID.java
11621         java/rmi/server/UnicastRemoteObject.java
11622         java/rmi/server/Unreferenced.java
11623         java/security/AccessControlContext.java
11624         java/security/AccessControlException.java
11625         java/security/AccessController.java
11626         java/security/AlgorithmParameterGenerator.java
11627         java/security/AlgorithmParameterGeneratorSpi.java
11628         java/security/AlgorithmParameters.java
11629         java/security/AlgorithmParametersSpi.java
11630         java/security/AllPermission.java
11631         java/security/BasicPermission.java
11632         java/security/Certificate.java java/security/CodeSource.java
11633         java/security/DigestException.java
11634         java/security/DigestInputStream.java
11635         java/security/DigestOutputStream.java
11636         java/security/DomainCombiner.java
11637         java/security/DummyKeyPairGenerator.java
11638         java/security/DummyMessageDigest.java
11639         java/security/DummySignature.java
11640         java/security/GeneralSecurityException.java
11641         java/security/Guard.java java/security/GuardedObject.java
11642         java/security/Identity.java java/security/IdentityScope.java
11643         java/security/InvalidAlgorithmParameterException.java
11644         java/security/InvalidKeyException.java
11645         java/security/InvalidParameterException.java
11646         java/security/Key.java java/security/KeyException.java
11647         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11648         java/security/KeyManagementException.java
11649         java/security/KeyPair.java java/security/KeyPairGenerator.java
11650         java/security/KeyPairGeneratorSpi.java
11651         java/security/KeyStore.java
11652         java/security/KeyStoreException.java
11653         java/security/KeyStoreSpi.java
11654         java/security/MessageDigest.java
11655         java/security/MessageDigestSpi.java
11656         java/security/NoSuchAlgorithmException.java
11657         java/security/NoSuchProviderException.java
11658         java/security/Permission.java
11659         java/security/PermissionCollection.java
11660         java/security/Permissions.java java/security/Policy.java
11661         java/security/Principal.java java/security/PrivateKey.java
11662         java/security/PrivilegedAction.java
11663         java/security/PrivilegedActionException.java
11664         java/security/PrivilegedExceptionAction.java
11665         java/security/ProtectionDomain.java
11666         java/security/Provider.java
11667         java/security/ProviderException.java
11668         java/security/PublicKey.java
11669         java/security/SecureClassLoader.java
11670         java/security/SecureRandom.java
11671         java/security/SecureRandomSpi.java java/security/Security.java
11672         java/security/SecurityPermission.java
11673         java/security/Signature.java
11674         java/security/SignatureException.java
11675         java/security/SignatureSpi.java
11676         java/security/SignedObject.java java/security/Signer.java
11677         java/security/UnrecoverableKeyException.java
11678         java/security/UnresolvedPermission.java
11679         java/security/acl/Acl.java java/security/acl/AclEntry.java
11680         java/security/acl/AclNotFoundException.java
11681         java/security/acl/Group.java
11682         java/security/acl/LastOwnerException.java
11683         java/security/acl/NotOwnerException.java
11684         java/security/acl/Owner.java java/security/acl/Permission.java
11685         java/security/cert/CRL.java
11686         java/security/cert/CRLException.java
11687         java/security/cert/Certificate.java
11688         java/security/cert/CertificateEncodingException.java
11689         java/security/cert/CertificateException.java
11690         java/security/cert/CertificateExpiredException.java
11691         java/security/cert/CertificateFactory.java
11692         java/security/cert/CertificateFactorySpi.java
11693         java/security/cert/CertificateNotYetValidException.java
11694         java/security/cert/CertificateParsingException.java
11695         java/security/cert/X509CRL.java
11696         java/security/cert/X509CRLEntry.java
11697         java/security/cert/X509Certificate.java
11698         java/security/cert/X509Extension.java
11699         java/security/interfaces/DSAKey.java
11700         java/security/interfaces/DSAKeyPairGenerator.java
11701         java/security/interfaces/DSAParams.java
11702         java/security/interfaces/DSAPrivateKey.java
11703         java/security/interfaces/DSAPublicKey.java
11704         java/security/interfaces/RSAKey.java
11705         java/security/interfaces/RSAPrivateCrtKey.java
11706         java/security/interfaces/RSAPrivateKey.java
11707         java/security/interfaces/RSAPublicKey.java
11708         java/security/spec/AlgorithmParameterSpec.java
11709         java/security/spec/DSAParameterSpec.java
11710         java/security/spec/DSAPrivateKeySpec.java
11711         java/security/spec/DSAPublicKeySpec.java
11712         java/security/spec/EncodedKeySpec.java
11713         java/security/spec/InvalidKeySpecException.java
11714         java/security/spec/InvalidParameterSpecException.java
11715         java/security/spec/KeySpec.java
11716         java/security/spec/PKCS8EncodedKeySpec.java
11717         java/security/spec/RSAKeyGenParameterSpec.java
11718         java/security/spec/RSAPrivateCrtKeySpec.java
11719         java/security/spec/RSAPrivateKeySpec.java
11720         java/security/spec/RSAPublicKeySpec.java
11721         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11722         java/sql/BatchUpdateException.java java/sql/Blob.java
11723         java/sql/CallableStatement.java java/sql/Clob.java
11724         java/sql/Connection.java java/sql/DataTruncation.java
11725         java/sql/DatabaseMetaData.java java/sql/Date.java
11726         java/sql/Driver.java java/sql/DriverManager.java
11727         java/sql/DriverPropertyInfo.java
11728         java/sql/PreparedStatement.java java/sql/Ref.java
11729         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11730         java/sql/SQLData.java java/sql/SQLException.java
11731         java/sql/SQLInput.java java/sql/SQLOutput.java
11732         java/sql/SQLWarning.java java/sql/Statement.java
11733         java/sql/Struct.java java/sql/Time.java
11734         java/sql/Timestamp.java java/sql/Types.java
11735         java/text/Annotation.java
11736         java/text/AttributedCharacterIterator.java
11737         java/text/AttributedString.java
11738         java/text/AttributedStringIterator.java
11739         java/text/BreakIterator.java java/text/CharacterIterator.java
11740         java/text/ChoiceFormat.java java/text/Collator.java
11741         java/text/DateFormat.java java/text/DateFormatSymbols.java
11742         java/text/DecimalFormat.java
11743         java/text/DecimalFormatSymbols.java
11744         java/text/FieldPosition.java java/text/Format.java
11745         java/text/MessageFormat.java java/text/NumberFormat.java
11746         java/text/ParseException.java java/text/ParsePosition.java
11747         java/text/SimpleDateFormat.java
11748         java/text/StringCharacterIterator.java
11749         java/util/AbstractCollection.java java/util/AbstractList.java
11750         java/util/AbstractMap.java
11751         java/util/AbstractSequentialList.java
11752         java/util/AbstractSet.java java/util/ArrayList.java
11753         java/util/Arrays.java java/util/BasicMapEntry.java
11754         java/util/BitSet.java java/util/Calendar.java
11755         java/util/Collection.java java/util/Collections.java
11756         java/util/Comparator.java
11757         java/util/ConcurrentModificationException.java
11758         java/util/Date.java java/util/Dictionary.java
11759         java/util/EmptyStackException.java java/util/Enumeration.java
11760         java/util/EventListener.java java/util/EventObject.java
11761         java/util/GregorianCalendar.java java/util/HashMap.java
11762         java/util/HashSet.java java/util/Hashtable.java
11763         java/util/IdentityHashMap.java java/util/Iterator.java
11764         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11765         java/util/LinkedList.java java/util/List.java
11766         java/util/ListIterator.java java/util/ListResourceBundle.java
11767         java/util/Locale.java java/util/Map.java
11768         java/util/MissingResourceException.java
11769         java/util/NoSuchElementException.java
11770         java/util/Observable.java java/util/Observer.java
11771         java/util/Properties.java java/util/PropertyPermission.java
11772         java/util/PropertyResourceBundle.java java/util/Random.java
11773         java/util/RandomAccess.java java/util/ResourceBundle.java
11774         java/util/Set.java java/util/SimpleTimeZone.java
11775         java/util/SortedMap.java java/util/SortedSet.java
11776         java/util/Stack.java java/util/StringTokenizer.java
11777         java/util/TimeZone.java java/util/Timer.java
11778         java/util/TimerTask.java
11779         java/util/TooManyListenersException.java
11780         java/util/TreeMap.java java/util/TreeSet.java
11781         java/util/Vector.java java/util/WeakHashMap.java
11782         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11783         java/util/jar/JarException.java java/util/jar/JarFile.java
11784         java/util/jar/JarInputStream.java
11785         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11786         java/util/zip/Adler32.java java/util/zip/CRC32.java
11787         java/util/zip/CheckedInputStream.java
11788         java/util/zip/CheckedOutputStream.java
11789         java/util/zip/Checksum.java
11790         java/util/zip/DataFormatException.java
11791         java/util/zip/Deflater.java
11792         java/util/zip/DeflaterOutputStream.java
11793         java/util/zip/GZIPInputStream.java
11794         java/util/zip/GZIPOutputStream.java
11795         java/util/zip/Inflater.java
11796         java/util/zip/InflaterInputStream.java
11797         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11798         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11799         java/util/zip/ZipInputStream.java
11800         java/util/zip/ZipOutputStream.java
11801         javax/naming/BinaryRefAddr.java
11802         javax/naming/InvalidNameException.java javax/naming/Name.java
11803         javax/naming/NamingException.java javax/naming/RefAddr.java
11804         javax/naming/StringRefAddr.java: Add license clarification.
11805
11806 2002-01-22  Tom Tromey  <tromey@redhat.com>
11807
11808         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11809         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11810         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11811         version.
11812         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11813         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11814         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11815         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11816         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11817         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11818         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11819         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11820         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11821         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11822         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11823         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11824         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11825         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11826         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11827         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11828         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11829         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11830         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11831         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11832         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11833         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11834         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11835         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11836         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11837         (minimumSize, preferredSize, reshape): Likewise.
11838         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11839         getColorModel): New methods.
11840         * java/awt/PopupMenu.java: Merged with Classpath.
11841         * java/awt/MenuBar.java: Merged with Classpath.
11842         * java/awt/SystemColor.java: Replace with Classpath version.
11843         * java/awt/Panel.java: Merged with Classpath.
11844         * java/awt/PaintContext.java: Updated copyright.
11845         * java/awt/MenuShortcut.java: Merged with Classpath.
11846         * java/awt/MenuContainer.java: Merged with Classpath.
11847         * java/awt/Menu.java: Merged with Classpath.
11848         * java/awt/MediaEntry.java: New file from Classpath.
11849         * java/awt/MediaTracker.java: New file from Classpath.
11850         * java/awt/List.java: Merged with Classpath version.
11851         * java/awt/Insets.java: Merged with Classpath version.
11852         * java/awt/ImageMediaEntry.java: New file from Classpath.
11853         * java/awt/Image.java: Replaced with Classpath version.
11854         * java/awt/FontMetrics.java: Merged with Classpath version.
11855         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11856         constant.
11857         * java/awt/Font.java: Merged with Classpath version.
11858         * java/awt/Dialog.java: Merged with Classpath version.
11859         * java/awt/Color.java: Merged with Classpath version.
11860         * java/awt/Choice.java: Merged with Classpath version.
11861         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11862         * java/awt/Adjustable.java: Replace with Classpath version.
11863         * java/awt/MenuItem.java (paramString): Don't include class name
11864         or brackets.  Call superclass paramString.
11865         * java/awt/MenuComponent.java (toString): Call paramString.
11866         (paramString): Compute string; don't call toString.
11867         * java/awt/Label.java (paramString): Don't include class name
11868         or brackets.  Call superclass paramString.
11869         * java/awt/Checkbox.java (paramString): Don't include class name
11870         or brackets.  Call superclass paramString.
11871         * java/awt/Button.java (paramString): Don't include class name or
11872         brackets.  Call superclass paramString.
11873         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11874
11875 2002-01-20  Andreas Schwab  <schwab@suse.de>
11876
11877         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11878         function and of parameter recv_func to ssize_t, as specified by
11879         POSIX.
11880
11881 2002-01-19  Per Bothner  <per@bothner.com>
11882
11883         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11884         uncompressed_size in readiness for next entry.
11885
11886 2002-01-18  Tom Tromey  <tromey@redhat.com>
11887
11888         * java/net/natPlainSocketImpl.cc: Include
11889         IllegalArgumentException.h.
11890         (_Jv_recv): New template function.
11891         (BooleanClass): Removed.
11892         (read): Use _Jv_recv.
11893         (setOption): Use Boolean::class$.  Throw exception if object is
11894         not Boolean or Integer.
11895
11896 2002-01-17  Tom Tromey  <tromey@redhat.com>
11897
11898         * java/awt/MenuComponent.java: Merged with Classpath.
11899         * java/awt/MenuItem.java: Merged with Classpath.
11900         * java/awt/Button.java: Merged with Classpath.
11901
11902         * java/awt/ActiveEvent.java: Updated copyright.
11903
11904         * java/awt/AWTError.java: Replaced with Classpath version.
11905         * java/awt/AWTException.java: Replaced with Classpath version.
11906         * java/awt/IllegalComponentStateException.java: Replaced with
11907         Classpath version.
11908
11909 2002-01-16  Tom Tromey  <tromey@redhat.com>
11910
11911         * java/awt/Canvas.java (serialVersionUID): New constant.
11912         Updated copyright.  Added javadoc from Classpath.
11913         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11914
11915         * java/awt/CheckboxGroup.java: Merged with Classpath.
11916         * java/awt/Checkbox.java: Merged with Classpath.
11917
11918         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11919         Classpath.
11920         * java/awt/Point.java: Updated copyright.
11921
11922         * java/awt/Point.java (toString): Use getClass().getName().
11923         Added javadoc.
11924
11925         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11926         commented code.
11927         (hash): Correctly compute initial value for `h'.
11928
11929         * java/awt/Label.java: Merged with Classpath.
11930
11931 2002-01-15  Tom Tromey  <tromey@redhat.com>
11932
11933         * java/awt/AWTPermission.java: Updated copyright.
11934
11935         * java/awt/LayoutManager2.java: Merged with Classpath.
11936         * java/awt/LayoutManager.java: Merged with Classpath.
11937         * java/awt/GridLayout.java: Updated copyright and javadoc.
11938         (getSize): Use `parent.ncomponents'.  Handle insets.
11939         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11940         there are fewer children than columns.  Correctly compute size of
11941         each cell in the grid.  Handle case where there isn't enough
11942         space.
11943         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11944         all users.
11945         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11946         before calling setVisible() on it.  Last item is `num - 1', not
11947         `num'.
11948         (layoutContainer): Hoist invariants out of loop.
11949
11950         Start of AWT merge with Classpath:
11951         * Makefile.in: Rebuilt.
11952         * Makefile.am (awt_java_source_files): Reference files in
11953         gnu/java/awt, not gnu/gcj/awt.
11954         * java/awt/image/BufferedImage.java: Updated copyright.
11955         * java/awt/image/ComponentColorModel.java: Updated copyright.
11956         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11957         * java/awt/image/DataBuffer.java: Updated copyright.
11958         * java/awt/image/DataBufferByte.java: Updated copyright.
11959         * java/awt/image/DataBufferInt.java: Updated copyright.
11960         * java/awt/image/DataBufferUShort.java: Updated copyright.
11961         * java/awt/image/IndexColorModel.java: Updated copyright.
11962         * java/awt/image/PackedColorModel.java: Updated copyright.
11963         * java/awt/image/Raster.java: Updated copyright.
11964         * java/awt/image/RasterOp.java: Updated copyright.
11965         * java/awt/image/SampleModel.java: Updated copyright.
11966         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11967         * java/awt/image/WritableRaster.java: Updated copyright.
11968         * java/awt/color/ColorSpace.java: Updated copyright.
11969         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11970         * java/awt/color/ICC_Profile.java: Updated copyright.
11971         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11972         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11973         * java/awt/event/HierarchyEvent.java: Updated copyright.
11974         * java/awt/event/HierarchyListener.java: Updated copyright.
11975         * java/awt/geom/AffineTransform.java: Updated copyright.
11976         * java/awt/geom/Dimension2D.java: Updated copyright.
11977         * java/awt/geom/Ellipse2D.java: Updated copyright.
11978         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11979         * java/awt/geom/Line2D.java: Updated copyright.
11980         * java/awt/geom/NoninvertibleTransformException.java: Updated
11981         copyright.
11982         * java/awt/geom/PathIterator.java: Updated copyright.
11983         * java/awt/geom/Point2D.java: Updated copyright.
11984         * java/awt/geom/Rectangle2D.java: Updated copyright.
11985         * java/awt/geom/RectangularShape.java: Updated copyright.
11986         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11987         * java/awt/Toolkit.java: Updated import for file moves.
11988         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11989         Classpath.
11990         (hashCode): New method from Classpath.
11991         * java/awt/Graphics2D.java: Updated copyright.
11992         * java/awt/Transparency.java: Updated copyright.
11993         * java/awt/Paint.java: Updated copyright.
11994         * java/awt/Graphics.java: New version from Classpath.
11995         * java/awt/EventDispatchThread.java: Updated copyright.
11996         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11997         children.
11998         (gotoComponent): Wrap around on next/previous.
11999         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12000         * gnu/gcj/awt/Buffers.java: Removed.
12001         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12002         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12003         * gnu/java/awt/BitMaskExtent.java: Added.
12004         * gnu/java/awt/Buffers.java: Added.
12005         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12006         * gnu/java/awt/GLightweightPeer.java: Added.
12007         * java/awt/geom/Line2D.java (clone): Ignore
12008         CloneNotSupportedException.
12009         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12010         * java/awt/Frame.java: Merged with Classpath.
12011         * java/awt/RenderingHints.java: Copyright update.
12012         * java/awt/Paint.java: Copyright update.
12013         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12014         * java/awt/image/ColorModel.java: Merged with Classpath.
12015         * java/awt/Window.java (show): New Implementation from Classpath.
12016         (isShowing): Use super.isShowing().
12017         * java/awt/EventQueue.java: Merged with Classpath.
12018         * java/awt/AWTEventMulticaster.java (save): Throw
12019         RuntimeException.
12020         (saveInternal): Likewise.
12021         * java/awt/AWTEvent.java: Now implements Serializable.
12022         * java/awt/Event.java: Copyright update.
12023         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12024         * java/awt/image/BufferedImage.java: Copyright update.
12025         * java/awt/GraphicsConfiguration.java: Copyright update.
12026         * java/awt/Component.java: (addNotify): Don't call
12027         addNotifyContainerChildren().
12028         (addNotifyContainerChildren): Removed.
12029         (setPeer): New method from Classpath.
12030         (setTreeLock): Likewise.
12031         (setVisible): Rewrote.
12032         (show): Use it.
12033         (hide): Likewise.
12034         (validate): Set `valid'.
12035         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12036         (createImage(ImageProducer)): Likewise.
12037         (prepareImage): Likewise.
12038         * java/awt/Container.java (addImpl): Handle case where constraint
12039         is not a String.  Post event via system event queue.
12040         (remove): Post event via system event queue.
12041         (validateTree): Only validate child if it is invalid.
12042         (getAlignmentX): Call super method as default.
12043         (getAlignmentY): Likewise.
12044         (addContainerListener): Now synchronized.
12045         (removeContainerListener): Likewise.
12046         (addNotifyContainerChildren): Now private.
12047         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12048         @author.
12049         * java/awt/FlowLayout.java (serialVersionUID): New field.
12050         (setAlignment): Better exception message.
12051         (layoutContainer): Don't compute component's preferred size unless
12052         we're going to use it.
12053         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12054         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12055         (firstLine, lastLine, firstItem, lastItem): New fields.
12056         (addLayoutComponent): Handle case where constraints is null.
12057         Also, handle relative locations.
12058         (removeLayoutComponent): Handle relative locations.
12059         (MIN, MAX, PREF): New constants.
12060         (calcCompSize): New method.
12061         (calcSize): New method.
12062         (minimumLayoutSize): Use it.
12063         (preferredLayoutSize): Likewise.
12064         (maximumLayoutSize): Likewise.
12065         (toString): Include more information.
12066         (setBounds): New method.
12067         (layoutContainer): Use libgcj implementation; extended to handle
12068         relative locations.
12069
12070 2002-01-15  Tom Tromey  <tromey@redhat.com>
12071
12072         * java/lang/Float.java (equals): Preserve old code.
12073         * java/lang/Double.java (equals): Preserve old code.
12074
12075 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12076
12077         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12078         * java/lang/Float.java (equals, compare): Ditto.
12079
12080 2002-01-13  Mark Wielaard  <mark@klomp.org>
12081
12082         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12083         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12084         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12085         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12086
12087 2002-01-11  Mark Wielaard  <mark@klomp.org>
12088
12089         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12090         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12091         InetAddress.
12092         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12093         * java/net/Socket.java: Merge with Classpath.
12094         * java/net/ServerSocket.java: Likewise.
12095
12096 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12097
12098         * interpret.cc (NULLARRAYCHECK): New macro.
12099         (SAVE_PC): Just store `pc'.
12100         (find_exception): Subtract one from `pc' here.
12101         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12102         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12103         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12104         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12105         don't call SAVE_PC.
12106         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12107         call SAVE_PC.
12108
12109 2002-01-11  Tom Tromey  <tromey@redhat.com>
12110
12111         * java/lang/natSystem.cc (init_properties): Only look for default
12112         locale if LC_MESSAGES is defined.
12113         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12114         * configure.in: Call AM_LC_MESSAGES.
12115         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12116
12117 2002-01-10  Tom Tromey  <tromey@redhat.com>
12118
12119         For PR libgcj/5303:
12120         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12121         --version.  Recognize GNU-style long options.  Print GNU-style
12122         error messages.
12123         (usage): Print GNU-style help.  Exit with status 0.
12124         (error): New method.
12125         (run): Print error message if no class names found.
12126         (main): Don't print usage on error.
12127
12128 2002-01-09  Tom Tromey  <tromey@redhat.com>
12129
12130         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12131         property.
12132         (help, version): Use println(), not println("").
12133
12134         For PR libgcj/5303:
12135         * gnu/gcj/convert/Convert.java (error): Program is called
12136         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12137         -1.
12138         (main): Handle --help and --version.
12139         (help): New method.
12140         (version): Likewise.
12141
12142 2002-01-08  Tom Tromey  <tromey@redhat.com>
12143
12144         * Makefile.in: Rebuilt.
12145         * Makefile.am (ordinary_java_source_files): Added new files.
12146         * gnu/java/locale/LocaleInformation.java: Extend
12147         LocaleInformation_en.
12148         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12149         and time/date formats.
12150         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12151         generated.
12152         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12153         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12154         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12155         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12156         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12157         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12158         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12159         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12160         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12161         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12162         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12163         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12164         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12165         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12166         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12167         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12168         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12169         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12170         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12171         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12172         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12173         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12174         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12175         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12176         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12177         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12178         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12179         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12180         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12181         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12182         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12183         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12184         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12185         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12186         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12187         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12188         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12189         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12190         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12191         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12192         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12193         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12194         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12195         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12196         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12197         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12198         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12199         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12200         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12201         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12202         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12203         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12204         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12205         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12206         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12207         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12208         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12209         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12210         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12211         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12212         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12213         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12214         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12215         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12216         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12217         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12218         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12219         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12220         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12221         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12222         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12223         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12224         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12225         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12226         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12227         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12228         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12229         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12230         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12231         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12232         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12233         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12234         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12235         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12236         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12237         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12238         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12239         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12240         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12241         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12242         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12243         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12244         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12245         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12246         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12247         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12248         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12249         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12250         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12251         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12252         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12253         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12254         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12255         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12256         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12257         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12258         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12259         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12260         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12261         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12262         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12263         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12264         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12265         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12266         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12267         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12268         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12269         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12270         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12271         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12272         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12273         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12274         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12275         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12276         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12277         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12278         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12279         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12280         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12281         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12282
12283         For PR libgcj/5031:
12284         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12285         choose default locale.
12286
12287         * Makefile.in: Rebuilt.
12288         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12289
12290 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12291
12292         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12293         sockets.
12294         (close): New function closes the socket.
12295         (write): New functions for output to socket.
12296         (read): New functions for reading from socket.
12297         * java/net/PlainSocketImpl.java: Glue for new timeout
12298         implementation.
12299         (write): Call the native impl.
12300         (read): Likewise.
12301         (getInputStream): Get a stream to read from the socket.
12302         (getOutputStream): Get a stream to write to the socket.
12303
12304 2002-01-08  Tom Tromey  <tromey@redhat.com>
12305
12306         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12307
12308 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12309
12310         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12311         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12312
12313 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12314
12315         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12316         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12317         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12318         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12319         insn_bastore, insn_castore, insn_sastore]: Use it.
12320         (continue1) [insn_arraylength]: Check for null array.
12321
12322 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12323
12324         * configure, include/config.h.in: Rebuilt.
12325         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12326         * configure.in: Call AC_STRUCT_TIMEZONE.
12327
12328 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12329
12330         * configure.host: Disable the interpreter for Darwin.
12331
12332 2002-01-04  Tom Tromey  <tromey@redhat.com>
12333
12334         * java/lang/Thread.java (stop): No longer synchronized.
12335         (start): Likewise.
12336
12337 2002-01-02  Tom Tromey  <tromey@redhat.com>
12338
12339         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12340         patch.
12341
12342 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12343
12344         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12345         PPC Darwin, not for all of Darwin.